1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-05 03:20:39 -08:00
Commit graph

105467 commits

Author SHA1 Message Date
Paul Eggert
53f7d2c04e Remove unused function hourglass_started.
* dispextern.h (hourglass_started):
* w32fns.c (hourglass_started):
* xdisp.c (hourglass_started): Remove.
2012-05-10 23:39:26 -07:00
Juanma Barranquero
75aafb17a6 src/makefile.w32-in: Update dependencies. 2012-05-10 16:34:43 +02:00
Glenn Morris
ff4a64740d Auto-commit of generated files. 2012-05-10 06:17:25 -04:00
Chong Yidong
9f9aa0448a Cleanups and improvements for FFAP and URL.
* ffap.el (ffap-url-unwrap-local): Make it work right.
Use url-generic-parse-url, and handle host names and Windows
filenames properly.
(ffap-url-unwrap-remote): Use url-generic-parse-url.
(ffap-url-unwrap-remote): Accept list values, specifying a list of
URL schemes to work on.
(ffap--toggle-read-only): New function.
(ffap-read-only, ffap-read-only-other-window)
(ffap-read-only-other-frame): Use it.
(ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
necessary for ffap-url-unwrap-remote.

* url-parse.el (url-path-and-query, url-port-if-non-default): New
functions.
(url-generic-parse-url): Don't set the portspec slot if it is not
specified; that is what `url-port' is for.
(url-port): Only require the scheme to be specified to call
url-scheme-get-property.

* url-util.el (url-encode-url): Use url-path-and-query.

* url-vars.el (url-mime-charset-string): Load mm-util lazily.

Fixes: debbugs:9131
2012-05-10 14:27:12 +08:00
Paul Eggert
97107e2e53 * xgselect.c (xg_select): Put maxfds+1 into a var.
This is slightly clearer, and pacifies Ubuntu 12.04 gcc.
2012-05-09 22:27:24 -07:00
Paul Eggert
12959e8ec2 * sound.c (DEFAULT_ALSA_SOUND_DEVICE): Define only if HAVE_ALSA. 2012-05-09 22:00:53 -07:00
Glenn Morris
ff57c2ec02 Install self-contained ns leim files directly to their final destination
This is instead of installing them first in one place, then moving them.
It also fixes the previous change, which was incorrect for
the -disable-ns-self-contained case.

* configure.in (LEIM_INSTALLDIR): New output variable.

* leim/Makefile.in: (install_prefix): New.
(LEIM_INSTALLDIR): New, set by configure.
(install): Use LEIM_INSTALLDIR.
2012-05-09 20:40:20 -07:00
Glenn Morris
51b1e0596d * loading.texi (Loading Non-ASCII): Multibyte sessions no longer exist. 2012-05-09 19:57:10 -07:00
Glenn Morris
b8a82b6930 Update doc for obsolescence of "unibyte: t"
* doc/emacs/mule.texi (Disabling Multibyte):
* doc/lispref/loading.texi (Loading Non-ASCII):
Replace the obsolete "unibyte: t" with "coding: raw-text".
* etc/NEWS: Related markup.
2012-05-09 19:54:07 -07:00
Glenn Morris
234d8d6682 Simply leim install rule for ns case
* leim/Makefile.in (MV_DIRS): Remove.
(install): Simplify the --with-ns case.
2012-05-09 19:46:58 -07:00
Glenn Morris
ec8145a2d9 State that --prefix has no effect for a default --with-ns build. 2012-05-09 19:40:38 -07:00
Glenn Morris
dc0f75c82c Document new create-lockfiles option 2012-05-09 20:58:16 -04:00
Dave Abrahams
836d29b370 Add the option to not create lockfiles
* src/filelock.c (syms_of_filelock): New boolean create-lockfiles.
(lock_file): If create_lockfiles is 0, do nothing.

* lisp/cus-start.el (create-lockfiles): Add it.

Fixes: debbugs:11227
2012-05-09 20:55:57 -04:00
Paul Eggert
db5a300303 etags: pacify gcc -Wstack-protector on Ubuntu 12.04 x86
* etags.c: Include <stdarg.h>.
(error): Declare as printf-style, as that's what it really is.
All uses changed.
(add_regex): Use single char rather than array-of-one char.
2012-05-09 17:27:32 -07:00
Michael Albinus
5cb6795418 * dbusbind.c (xd_registered_buses): New internal Lisp object.
Rename all occurences of Vdbus_registered_buses to xd_registered_buses.
(syms_of_dbusbind): Remove declaration of Vdbus_registered_buses.
Initialize xd_registered_buses.
2012-05-09 23:13:43 +02:00
Paul Eggert
297834cdf3 * unexaix.c (make_hdr): Fix typo in prototype.
This bug broke the build on AIX.  Problem reported by Gilles Pion.
2012-05-09 12:44:19 -07:00
Jason L. Wright
8633b1f456 * mail/smtpmail.el (smtpmail-send-command): Send the command and
the following \r\n using a single `process-send-string', since the
Lotus SMTP server refuses to accept any commands if they are sent
with two `process-send-string's.

Fixes: debbugs:11444
2012-05-09 21:12:20 +02:00
Paul Eggert
b263a6b03b Untag more efficiently if USE_LSB_TAG.
This is based on a proposal by YAMAMOTO Mitsuharu in
<http://lists.gnu.org/archive/html/emacs-devel/2008-01/msg01876.html>.
For an admittedly artificial (nth 8000 longlist) benchmark on
Fedora 15 x86-64, this yields a 25% CPU speedup.  Also, it shrinks
Emacs's overall text size by 1%.
* lisp.h (XUNTAG): New macro.
(XCONS, XVECTOR, XSTRING, XSYMBOL, XFLOAT, XMISC, XPROCESS, XWINDOW)
(XTERMINAL, XSUBR, XBUFFER, XCHAR_TABLE, XSUB_CHAR_TABLE, XBOOL_VECTOR)
(XSETTYPED_PSEUDOVECTOR, XHASH_TABLE, TYPED_PSEUDOVECTORP): Use it.
* eval.c (Fautoload):
* font.h (XFONT_SPEC, XFONT_ENTITY, XFONT_OBJECT):
* frame.h (XFRAME): Use XUNTAG.
2012-05-09 10:51:30 -07:00
Stefan Monnier
fe263b8f57 * lisp/shell.el (shell-parse-pcomplete-arguments):
Obey pcomplete-arg-quote-list inside double-quoted args as well.

Fixes: debbugs:11348
2012-05-09 13:20:24 -04:00
Paul Eggert
3478ec4554 Port recent dbusbind.c changes to 32-bit --with-wide-int.
* dbusbind.c (xd_append_arg, xd_retrieve_arg, Fdbus_message_internal):
Remove unportable assumptions about print widths of types like
dbus_uint32_t.
(xd_get_connection_address, Fdbus_init_bus): Cast Emacs integer to
intptr_t when converting between pointer and integer, to avoid GCC
warnings about wrong width.
2012-05-09 08:07:46 -07:00
Chong Yidong
00fd78ed4f Encoding fix for browse-url-encode-url.
* lisp/net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
(browse-url-encode-url): Encode spaces and quotes.

Fixes: debbugs:6300
2012-05-09 20:39:40 +08:00
Chong Yidong
bdac2d37fa * url-util.el (url--allowed-chars): Use upper-case for percent-encoding. 2012-05-09 20:20:26 +08:00
Chong Yidong
ce7b18ec41 Improve RFC 3986 conformance of url package.
Fix 2012-04-10 change to url.el.

* url-http.el (url-http-create-request): Ignore obsolete
attributes slot of url-object.

* url-parse.el: Improve RFC 3986 conformance.
(url-generic-parse-url): Do not populate the ATTRIBUTES slot,
since this is not reliable for general RFC 3986 URIs.  Keep the
whole path and query inside the FILENAME slot.  Improve docstring.
(url-recreate-url-attributes): Mark as obsolete.
(url-recreate-url): Handle missing scheme and userinfo.

* url-util.el (url-encode-url): New function for URL quoting.
(url-encoding-table, url-host-allowed-chars)
(url-path-allowed-chars): New constants.
(url--allowed-chars): New helper function.
(url-hexify-string): Use them.

* url-vars.el (url-nonrelative-link): Make the regexp stricter.

* url.el (url-retrieve-internal): Use url-encode-url.

Fixes: debbugs:7017
2012-05-09 16:33:48 +08:00
Glenn Morris
66b03a53a3 Yet more ChangeLog merge fixes 2012-05-08 20:30:51 -07:00
Glenn Morris
482276b8ce ChangeLog merge fix 2012-05-08 20:23:20 -07:00
Glenn Morris
5b6eebcf2b Remove the need for lispref vol1.texi and vol2.texi
* vol1.texi, vol2.texi: Remove files.
* elisp.texi: Add VOL1,2 conditionals equivalent to vol1,2.texi
* two-volume.make: Use elisp.texi as input rather than vol1,2.texi.
2012-05-08 20:11:41 -07:00
Glenn Morris
666b903b91 Merge from emacs-24; up to 2012-04-21T14:12:27Z!sdl.web@gmail.com 2012-05-08 20:06:08 -07:00
Juanma Barranquero
8f6b6da8ec lisp/textmodes/rst.el: Silence byte-compiler warnings.
(rst-re-alist, rst-reset-section-caches): Move around.
(rst-re): Use `characterp', not `char-valid-p'.
(font-lock-beg, font-lock-end): Declare.
2012-05-09 02:57:18 +02:00
Juanma Barranquero
4824146aa8 lisp/progmodes/idlw-shell.el: Cleanup after 2012-05-04T05:14:14Z!cyd@gnu.org.
(specs): Remove reference to deleted variable
`idlwave-shell-activate-alt-keybindings' and simplify.
2012-05-09 02:45:34 +02:00
Juanma Barranquero
b499d8d02c lisp/eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change. 2012-05-09 02:29:00 +02:00
Glenn Morris
0a454caf05 Move part of previous clean rule change to mostlyclean
* doc/lispref/Makefile.in (mostlyclean): Add some more vol1/2 items.
2012-05-08 15:39:29 -04:00
Eli Zaretskii
2fed268919 Fix a typo in last commit of src/ChangeLog. 2012-05-08 22:09:38 +03:00
Glenn Morris
ad89bb83f7 * lisp/files.el (auto-mode-alist): Treat ".make" like ".mk". 2012-05-08 13:23:09 -04:00
Stefan Monnier
49ed9c8e75 * lisp/vc/log-edit.el: Add GNU coding standards highlighting.
(log-edit-font-lock-gnu-style)
(log-edit-font-lock-gnu-keywords): New vars.
(log-edit-font-lock-keywords): New fun.
(log-edit-mode): Don't fold case in font-lock.
(log-edit-font-lock-keywords): Do not assume case-folding.
* .dir-locals.el (log-edit-mode): Enable gnu-style checks.
2012-05-08 11:19:18 -04:00
Stefan Monnier
07d00b5611 * lisp/imenu.el: Misc cleanup. Make docstrings out of comments.
Use lexical-binding.
(imenu--index-alist, imenu--last-menubar-index-alist)
(imenu-menubar-modified-tick): Use defvar-local.
(imenu--split-menu): Remove unused var.
(imenu--cleanup-seen): Declare as global.
(imenu--cleanup): Use dolist.
2012-05-08 10:19:08 -04:00
Stefan Monnier
8bba5a75f0 * lisp/subr.el (defvar-local): Add debug spec and doc-string position. 2012-05-08 10:11:47 -04:00
Glenn Morris
5122804afc Remove doc/lispref/two.el
* doc/lispref/two.el: Remove; unused since creation of two-volume.make.

* make-dist: No more doc/lispref/*.el.
2012-05-08 00:18:18 -07:00
Glenn Morris
e286668674 FOR-RELEASE comment 2012-05-07 23:44:18 -07:00
Glenn Morris
ca4b98faff Stop keeping 3 copies of the lispref menu structure for no reason
vol1.texi and vol2.texi are only used to generate TeX output, and this
constructs its own table of contents and does not use the @menu stuff.

* vol1.texi, vol2.texi: No need to keep menus in these files.
* elisp.texi, anti.texi: Comments.
2012-05-07 23:38:27 -07:00
Glenn Morris
e6afe47b27 * doc/lispref/Makefile.in (clean): Add some more vol1/2 items. 2012-05-07 22:01:28 -04:00
Glenn Morris
143d9dd80e doc/lispref/two-volume.make small fix
* doc/lispref/two-volume.make (emacsdir): New.
(tex): Add directory with emacsver.texi to TEXINPUTS.
2012-05-07 21:57:08 -04:00
Glenn Morris
c052c904ff Remove no-byte-compile setting from some lisp/language files.
Same comments as per 2012-05-01T06:59:34Z!rgm@gnu.org, for lisp/term:

  Not that compiling these will bring any noticeable speed benefit, but
  there's really no reason not to compile them.  The extra disk space
  and build time is negligible, and it might reveal use of obsolete
  functions, bugs, etc.
2012-05-07 21:50:17 -04:00
Glenn Morris
5075bdb576 * lisp/play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388) 2012-05-07 21:41:05 -04:00
Aaron S. Hawley
06f679a794 * progmodes/make-mode.el (makefile-browse): Remove unnecessary interactive.
Fixes: debbugs:11324
2012-05-07 21:25:52 -04:00
Stefan Monnier
1cb51c12e4 * shell.el (shell-completion-vars): Fix last change.
Fixes: debbugs:11348
2012-05-07 20:27:13 -04:00
Glenn Morris
6f0652af03 * doc/misc/forms.texi (Long Example): Update for changed location of files. 2012-05-07 19:02:28 -04:00
Glenn Morris
af8630f410 Move some forms.el example files to etc/forms directory
* etc/forms/README: New.

* etc/forms/forms-d2.dat: Move to etc/forms/ subdirectory.

* etc/forms/forms-d2.el, etc/forms/forms-pass.el: Move here from ../lisp.

* lisp/forms.el: Related comment change.
2012-05-07 18:53:17 -04:00
Glenn Morris
57699e3735 Fix NEWS typo 2012-05-07 18:40:58 -04:00
Glenn Morris
fdcbcff225 Also apply previous change to file locals at the end of the file 2012-05-07 17:45:34 -04:00
Glenn Morris
037945709a * lisp/international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
* etc/NEWS: Edits.

Ref: http://lists.gnu.org/archive/html/emacs-devel/2012-04/msg00434.html
2012-05-07 17:26:08 -04:00