Ted Zlatanov [Tue, 15 May 2012 08:52:15 +0000 (04:52 -0400)]
add url-util.el test file
* automated/url-util-tests.el: New file to test
lisp/url/url-util.el. Only `url-build-query-string' and
`url-parse-query-string' are tested right now.
Ted Zlatanov [Tue, 15 May 2012 08:47:38 +0000 (04:47 -0400)]
add url-build-query-string and improve url-parse-query-string as per bug#8706
* url/url-util.el (url-build-query-string): New function.
(url-parse-query-string): Allow that '=' is not required and split
URL parameters on ';', not just '&'.
Stefan Merten [Mon, 14 May 2012 20:39:14 +0000 (22:39 +0200)]
(rst-re-alist): Fix loading (bug#11462).
Glenn Morris [Mon, 14 May 2012 16:33:11 +0000 (09:33 -0700)]
Make a self-contained ns build able to find its own libexec directory
Ref: http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00298.html
* src/nsterm.m (ns_init_paths):
Put "libexec" before "bin", for the sake of init_callproc_1.
Glenn Morris [Mon, 14 May 2012 16:23:11 +0000 (09:23 -0700)]
* src/nsterm.m (ns_init_paths): Fix typo ("libexec" not "lib-exec").
Glenn Morris [Mon, 14 May 2012 16:11:24 +0000 (09:11 -0700)]
ChangeLog merge fixes
Julien Danjou [Mon, 14 May 2012 15:42:23 +0000 (17:42 +0200)]
Fix a regression in erc-dcc
* erc-dcc.el (erc-dcc-handle-ctcp-send): Fix a regression
introduced on 2011-11-28 when fixing quoted filenames matching,
the regex group was not corrected.
Paul Eggert [Mon, 14 May 2012 15:22:29 +0000 (08:22 -0700)]
* keyboard.c (kbd_buffer_get_event) [!HAVE_DBUS]: Omit unused local.
Paul Eggert [Mon, 14 May 2012 15:11:10 +0000 (08:11 -0700)]
* unexaix.c: Port to more-recent AIX compilers.
(report_error, report_error_1, make_hdr, copy_sym)
(mark_x, adjust_lnnoptrs, unrelocate_symbols):
Make arguments const char *, not char *, to avoid violations of C
standard and to fix some AIX warnings reported by Gilles Pion.
Chong Yidong [Mon, 14 May 2012 11:59:28 +0000 (19:59 +0800)]
Merge from emacs-24; up to 2012-04-22T13:58:00Z!cyd@gnu.org
Stefan Merten [Mon, 14 May 2012 09:31:08 +0000 (11:31 +0200)]
(rst-re-alist): Fix loading (bug#11462).
Lars Magne Ingebrigtsen [Mon, 14 May 2012 07:56:04 +0000 (09:56 +0200)]
Make URL redirection work again.
The previous changes would make redirection fail, since the expansion
would end up with URLs that looked like "http:www.bing.com/hello".
* url-expand.el (url-default-expander): Copy over the fullness of
the new URL object based on the definition URL object.
Michael Albinus [Mon, 14 May 2012 07:05:03 +0000 (09:05 +0200)]
* keyboard.c (kbd_buffer_get_event): Read special events also in
batch mode. (Bug#11415)
Wolfgang Jenkner [Mon, 14 May 2012 05:19:46 +0000 (01:19 -0400)]
* lisp/image-mode.el: Fit to width/height for rotated images.
(image-transform-scale, image-transform-right-angle-fudge): New vars.
(image-transform-width, image-transform-fit-width): New functions.
(image-transform-properties): Use them.
(image-transform-check-size): New function.
(image-toggle-display-image): Use it (for testing).
(image-transform-set-rotation): Reduce angle mod 360.
Delete obsolete comment.
Fixes: debbugs:11431
Wolfgang Jenkner [Mon, 14 May 2012 05:15:59 +0000 (01:15 -0400)]
* lisp/image-mode.el: Fix scaling.
(image-transform-resize): Doc fix.
(image-transform-properties): Default scale is 1 and height should
be an integer.
Fixes: debbugs:11399
Glenn Morris [Mon, 14 May 2012 00:27:21 +0000 (17:27 -0700)]
New defcustoms need :version tags. They don't need "*" in the doc.
Teemu Likonen [Sun, 13 May 2012 18:51:14 +0000 (20:51 +0200)]
Allow specifying the erc timestamp format
* erc-backend.el (erc-server-timestamp-format): New variable to
allow specifying the timestamp format.
Fixes: debbugs:10779
Eli Zaretskii [Sun, 13 May 2012 18:22:35 +0000 (21:22 +0300)]
Fix bug #11464 with pos-visible-in-window-p and R2L text in L2R paragraph.
src/xdisp.c (pos_visible_p): Don't report a position visible when move_it_to
stopped at the last line of window, which happens to be scanned
backwards by the bidi iteration.
Stefan Monnier [Sun, 13 May 2012 16:04:37 +0000 (12:04 -0400)]
*** empty log message ***
Eli Zaretskii [Sun, 13 May 2012 15:35:13 +0000 (18:35 +0300)]
Fix bug #11417 with infloop when left-fringe/right-fringe spec is used on TTY.
src/xdisp.c (handle_stop): Don't call get_overlay_strings_1 if we
already have overlays loaded.
(handle_single_display_spec): Before returning without displaying
fringe bitmap, synchronize the bidi iterator with the main display
iterator, by calling iterate_out_of_display_property.
(iterate_out_of_display_property): Detect buffer iteration by
testing that it->string is a Lisp string.
(get_next_display_element): When the current object is exhausted,
and there's something on it->stack, call set_iterator_to_next to
proceed with what's on the stack, instead of returning zero.
(set_iterator_to_next): If called at the end of a Lisp string,
proceed to consider_string_end without incrementing string
position. Don't increment display vector index past the end of
the display vector.
Chong Yidong [Sun, 13 May 2012 14:23:45 +0000 (22:23 +0800)]
Adapt Electric Buffer Menu to recent Buffer Menu changes.
* lisp/ebuff-menu.el (electric-buffer-list): Put electric buffer menu
command descriptions in this docstring, instead of the docstring
of electric-buffer-menu-mode. Code cleanups.
(electric-buffer-menu-mode): Use define-derived-mode. Rename from
Electric-buffer-menu-mode.
(electric-buffer-update-highlight): Minor code cleanup.
* lisp/emacs-lisp/tabulated-list.el (tabulated-list-format)
(tabulated-list-entries, tabulated-list-padding)
(tabulated-list-sort-key): Make permanent-local.
Fixes: debbugs:11455
Glenn Morris [Sun, 13 May 2012 10:23:39 +0000 (06:23 -0400)]
Auto-commit of loaddefs files.
Glenn Morris [Sun, 13 May 2012 10:18:50 +0000 (06:18 -0400)]
Auto-commit of generated files.
Chong Yidong [Sun, 13 May 2012 09:16:46 +0000 (17:16 +0800)]
Backport fix for Bug#11382 from trunk
Michael Albinus [Sun, 13 May 2012 09:05:04 +0000 (11:05 +0200)]
* net/dbus.el (dbus-call-method): Restore events not from D-Bus. (Bug#11447)
Stefan Monnier [Sun, 13 May 2012 03:05:06 +0000 (23:05 -0400)]
Move define-obsolete-variable-alias before the var's definition.
* lisp/vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
* lisp/tooltip.el (tooltip-hook):
* lisp/textmodes/reftex-toc.el (reftex-toc-map):
* lisp/textmodes/reftex-sel.el (reftex-select-label-map)
(reftex-select-bib-map):
* lisp/textmodes/reftex-index.el (reftex-index-map)
(reftex-index-phrases-map):
* lisp/speedbar.el (speedbar-syntax-table, speedbar-key-map):
* lisp/progmodes/meta-mode.el (meta-mode-map):
* lisp/novice.el (disabled-command-hook):
* lisp/loadhist.el (unload-hook-features-list):
* lisp/frame.el (blink-cursor):
* lisp/files.el (find-file-not-found-hooks, write-file-hooks)
(write-contents-hooks):
* lisp/emulation/tpu-edt.el (GOLD-map):
* lisp/emacs-lock.el (emacs-lock-from-exiting):
* lisp/emacs-lisp/generic.el (generic-font-lock-defaults):
* lisp/emacs-lisp/chart.el (chart-map):
* lisp/dos-fns.el (register-name-alist):
* lisp/dired-x.el (dired-omit-files-p):
* lisp/desktop.el (desktop-enable):
* lisp/cus-edit.el (custom-mode-hook):
* lisp/buff-menu.el (buffer-menu-mode-hook):
* lisp/bookmark.el (bookmark-read-annotation-text-func)
(bookmark-exit-hooks):
* lisp/allout.el (allout-mode-deactivate-hook)
(allout-exposure-change-hook, allout-structure-added-hook)
(allout-structure-deleted-hook, allout-structure-shifted-hook):
* lisp/dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
(dirtrack-debug): Move call to define-obsolete-variable-alias so it
comes before the corresponding variable's definition.
Andreas Schwab [Sat, 12 May 2012 19:00:30 +0000 (21:00 +0200)]
* cc-mode.texi: Avoid space before macro in 4th argument of cross
reference commands.
Glenn Morris [Sat, 12 May 2012 18:10:37 +0000 (11:10 -0700)]
Remove trailing / from $ns_appbindir
* configure.in (ns_appbindir): Remove trailing "/".
* src/ns.mk: Update for ns_appbindir no longer having trailing "/".
Glenn Morris [Sat, 12 May 2012 18:04:06 +0000 (11:04 -0700)]
* doc/misc/Makefile.in (mostlyclean): Add still more TeX intermediates.
Glenn Morris [Sat, 12 May 2012 18:03:18 +0000 (11:03 -0700)]
* .bzrignore, doc/misc/Makefile.in (mostlyclean): Add more TeX intermediates.
Andreas Schwab [Sat, 12 May 2012 17:23:16 +0000 (19:23 +0200)]
* Makefile.in (gnus.dvi): Use $@ instead of $*.dvi.
Glenn Morris [Sat, 12 May 2012 16:44:01 +0000 (09:44 -0700)]
Make doc/misc/Makefile.in look more like the other doc Makefiles
* doc/misc/Makefile.in:
Use explicit $srcdir in all dependencies.
Remove cd $srcdir from rules.
(VPATH): Remove.
(infodir): Set to an absolute path.
(INFO_TARGETS): Use short names.
(mkinfodir): infodir is now absolute.
(echo-info, maintainer-clean): Update for new format of INFO_TARGETS.
Chong Yidong [Sat, 12 May 2012 15:04:11 +0000 (23:04 +0800)]
Fix mouse links in new Buffer Menu.
* buff-menu.el (Buffer-menu-mouse-select): Restore function.
(Buffer-menu-mode-map): Bind it.
(Buffer-menu--pretty-name): Add a mouse-face property.
Fixes: debbugs:11459
Chong Yidong [Sat, 12 May 2012 14:28:04 +0000 (22:28 +0800)]
* buff-menu.el (Buffer-menu-buffer+size-width): Doc fix.
Fixes: debbugs:11454
Eli Zaretskii [Sat, 12 May 2012 13:05:12 +0000 (16:05 +0300)]
Update src/lisp.mk as required by 2012-05-07T20:48:41Z!monnier@iro.umontreal.ca.
src/lisp.mk (lisp): Add newcomment.elc.
Glenn Morris [Sat, 12 May 2012 10:17:24 +0000 (06:17 -0400)]
Auto-commit of generated files.
Glenn Morris [Sat, 12 May 2012 02:05:05 +0000 (22:05 -0400)]
* doc/misc/Makefile.in (.SUFFIXES): Disable implicit rules.
Fixes previous change.
Glenn Morris [Sat, 12 May 2012 01:32:19 +0000 (21:32 -0400)]
* doc/misc/Makefile.in (info.info): Rename from info, to avoid duplication.
Glenn Morris [Sat, 12 May 2012 01:19:47 +0000 (21:19 -0400)]
Don't use build-aux/install-sh -d directly
* leim/Makefile.in (MKDIR_P): New, set by configure.
(install): Use $MKDIR_P.
* lib-src/Makefile.in (MKDIR_P): New, set by configure.
($(DESTDIR)${archlibdir}): Use $MKDIR_P.
Glenn Morris [Sat, 12 May 2012 00:57:48 +0000 (20:57 -0400)]
Let configure test for a suitable mkdir -p
* configure.in (AC_PROG_MKDIR_P): Call it, to set MKDIR_P.
(MKDEPDIR): Use $MKDIR_P.
* Makefile.in (MKDIR_P): New, set by configure.
(mkdir): Use $MKDIR_P.
* doc/emacs/Makefile.in (MKDIR_P): New, set by configure.
(mkinfodir): Use $MKDIR_P.
* doc/lispintro/Makefile.in (MKDIR_P): New, set by configure.
(mkinfodir): Use $MKDIR_P.
* doc/lispref/Makefile.in (MKDIR_P): New, set by configure.
(mkinfodir): Use $MKDIR_P.
* doc/misc/Makefile.in (MKDIR_P): New, set by configure.
(mkinfodir): Use $MKDIR_P.
* src/Makefile.in (MKDIR_P): New, set by configure.
* src/ns.mk (${ns_appdir}, ${ns_appbindir}Emacs): Use $MKDIR_P.
Stefan Monnier [Fri, 11 May 2012 20:05:19 +0000 (16:05 -0400)]
* lisp/progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
(prolog-upper-case-string, prolog-lower-case-string)
(prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
(prolog-use-smie, prolog-smie-grammar): New vars.
(prolog-smie-forward-token, prolog-smie-backward-token)
(prolog-smie-rules): New funs.
(prolog-comment-indent): Remove.
(prolog-mode-variables): Use default comment indentation instead.
Setup SMIE.
(prolog-build-case-strings, prolog-set-atom-regexps): Remove.
(prolog-mode): Don't call them any more.
(prolog-electric-colon, prolog-electric-dash)
(prolog-edit-menu-insert-move): Use indent-according-to-mode.
Stefan Monnier [Fri, 11 May 2012 17:31:30 +0000 (13:31 -0400)]
* lisp/dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
Glenn Morris [Fri, 11 May 2012 17:13:18 +0000 (13:13 -0400)]
* Makefile.in (install-arch-indep): Remove dead code.
./lisp/simpl.ele never exists in the _build_ directory,
the Lisp files are always in the _source_ directory.
Even if they were not, it would be wrong to install just
*.el and *.elc, since there are subdirectories in lisp/.
Stefan Monnier [Fri, 11 May 2012 17:11:03 +0000 (13:11 -0400)]
* lisp/minibuffer.el (completion--twq-all): Again, allow case differences.
Stefan Monnier [Fri, 11 May 2012 15:05:03 +0000 (11:05 -0400)]
* lisp/term.el: Move keymap initialization code to be more idiomatic.
(term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
(term-terminal-menu): Move initialization into declaration.
(term-escape-char): Let the user set it in her .emacs.
Stefan Monnier [Fri, 11 May 2012 14:24:50 +0000 (10:24 -0400)]
* lisp/progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
Provide SMIE-based indentation (not enabled by default yet).
(sh-mode-map): Don't bind electric keys.
Use electric-pair-mode instead of skeleton-pair.
(sh-assignment-regexp): Fit within 80 columns.
(sh-indent-supported): Specify actual shell name instead of boolean.
(sh--maybe-here-document): New fun, from sh-maybe-here-document.
(sh-maybe-here-document): Use it. Make obsolete.
(sh-electric-here-document-mode) New minor mode.
(sh-mode): Use it. Don't set sh-indent-supported-here here.
(sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
(sh-smie--sh-operators-back-re, sh-indent-after-continuation)
(sh-smie-rc-grammar, sh-use-smie): New vars.
(sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
(sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
(sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
(sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
(sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
(sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
(sh-set-shell): Use smie-setup if requested.
Eli Zaretskii [Fri, 11 May 2012 14:05:06 +0000 (17:05 +0300)]
Fix display when left-fringe/right-fringe display spec is invalid.
src/xdisp.c (handle_single_display_spec): Return 1 for left-margin
and right-margin display specs even if the spec is invalid or we
are on a TTY, and thus unable to display on the fringes. That's
because the text with the property will not be displayed anyway,
so we need to signal to the caller that this is a "replacing"
display spec. This fixes display when the spec is invalid or we
are on a TTY.
Stefan Monnier [Fri, 11 May 2012 13:13:09 +0000 (09:13 -0400)]
* lisp/term.el (term-set-escape-char): Properly set term-escape-char.
Stefan Monnier [Fri, 11 May 2012 12:40:43 +0000 (08:40 -0400)]
* net/rlogin.el (rlogin-mode-map): Fix last change.
Glenn Morris [Fri, 11 May 2012 08:10:52 +0000 (01:10 -0700)]
* Makefile.in (install-arch-indep): Use INSTALL_DATA for the DOC file.
Glenn Morris [Fri, 11 May 2012 07:51:31 +0000 (00:51 -0700)]
* Makefile.in (install-arch-indep): There are no more Makefile.c files.
Paul Eggert [Fri, 11 May 2012 06:39:26 +0000 (23:39 -0700)]
Remove unused function hourglass_started.
* dispextern.h (hourglass_started):
* w32fns.c (hourglass_started):
* xdisp.c (hourglass_started): Remove.
Juanma Barranquero [Thu, 10 May 2012 14:34:43 +0000 (16:34 +0200)]
src/makefile.w32-in: Update dependencies.
Glenn Morris [Thu, 10 May 2012 10:17:25 +0000 (06:17 -0400)]
Auto-commit of generated files.
Chong Yidong [Thu, 10 May 2012 06:27:12 +0000 (14:27 +0800)]
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
Paul Eggert [Thu, 10 May 2012 05:27:24 +0000 (22:27 -0700)]
* xgselect.c (xg_select): Put maxfds+1 into a var.
This is slightly clearer, and pacifies Ubuntu 12.04 gcc.
Paul Eggert [Thu, 10 May 2012 05:00:53 +0000 (22:00 -0700)]
* sound.c (DEFAULT_ALSA_SOUND_DEVICE): Define only if HAVE_ALSA.
Glenn Morris [Thu, 10 May 2012 03:40:20 +0000 (20:40 -0700)]
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.
Glenn Morris [Thu, 10 May 2012 02:57:10 +0000 (19:57 -0700)]
* loading.texi (Loading Non-ASCII): Multibyte sessions no longer exist.
Glenn Morris [Thu, 10 May 2012 02:54:07 +0000 (19:54 -0700)]
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.
Glenn Morris [Thu, 10 May 2012 02:46:58 +0000 (19:46 -0700)]
Simply leim install rule for ns case
* leim/Makefile.in (MV_DIRS): Remove.
(install): Simplify the --with-ns case.
Glenn Morris [Thu, 10 May 2012 02:40:38 +0000 (19:40 -0700)]
State that --prefix has no effect for a default --with-ns build.
Glenn Morris [Thu, 10 May 2012 00:58:16 +0000 (20:58 -0400)]
Document new create-lockfiles option
Dave Abrahams [Thu, 10 May 2012 00:55:57 +0000 (20:55 -0400)]
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
Paul Eggert [Thu, 10 May 2012 00:27:32 +0000 (17:27 -0700)]
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.
Michael Albinus [Wed, 9 May 2012 21:13:43 +0000 (23:13 +0200)]
* 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.
Paul Eggert [Wed, 9 May 2012 19:44:19 +0000 (12:44 -0700)]
* unexaix.c (make_hdr): Fix typo in prototype.
This bug broke the build on AIX. Problem reported by Gilles Pion.
Jason L. Wright [Wed, 9 May 2012 19:12:20 +0000 (21:12 +0200)]
* 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
Paul Eggert [Wed, 9 May 2012 17:51:30 +0000 (10:51 -0700)]
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.
Stefan Monnier [Wed, 9 May 2012 17:20:24 +0000 (13:20 -0400)]
* lisp/shell.el (shell-parse-pcomplete-arguments):
Obey pcomplete-arg-quote-list inside double-quoted args as well.
Fixes: debbugs:11348
Paul Eggert [Wed, 9 May 2012 15:07:46 +0000 (08:07 -0700)]
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.
Chong Yidong [Wed, 9 May 2012 12:39:40 +0000 (20:39 +0800)]
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
Chong Yidong [Wed, 9 May 2012 12:20:26 +0000 (20:20 +0800)]
* url-util.el (url--allowed-chars): Use upper-case for percent-encoding.
Chong Yidong [Wed, 9 May 2012 08:33:48 +0000 (16:33 +0800)]
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
Glenn Morris [Wed, 9 May 2012 03:30:51 +0000 (20:30 -0700)]
Yet more ChangeLog merge fixes
Glenn Morris [Wed, 9 May 2012 03:23:20 +0000 (20:23 -0700)]
ChangeLog merge fix
Glenn Morris [Wed, 9 May 2012 03:11:41 +0000 (20:11 -0700)]
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.
Glenn Morris [Wed, 9 May 2012 03:06:08 +0000 (20:06 -0700)]
Merge from emacs-24; up to 2012-04-21T14:12:27Z!sdl.web@gmail.com
Juanma Barranquero [Wed, 9 May 2012 00:57:18 +0000 (02:57 +0200)]
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.
Juanma Barranquero [Wed, 9 May 2012 00:45:34 +0000 (02:45 +0200)]
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.
Juanma Barranquero [Wed, 9 May 2012 00:29:00 +0000 (02:29 +0200)]
lisp/eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
Glenn Morris [Tue, 8 May 2012 19:39:29 +0000 (15:39 -0400)]
Move part of previous clean rule change to mostlyclean
* doc/lispref/Makefile.in (mostlyclean): Add some more vol1/2 items.
Eli Zaretskii [Tue, 8 May 2012 19:09:38 +0000 (22:09 +0300)]
Fix a typo in last commit of src/ChangeLog.
Glenn Morris [Tue, 8 May 2012 17:23:09 +0000 (13:23 -0400)]
* lisp/files.el (auto-mode-alist): Treat ".make" like ".mk".
Stefan Monnier [Tue, 8 May 2012 15:19:18 +0000 (11:19 -0400)]
* 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.
Stefan Monnier [Tue, 8 May 2012 14:19:08 +0000 (10:19 -0400)]
* 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.
Stefan Monnier [Tue, 8 May 2012 14:11:47 +0000 (10:11 -0400)]
* lisp/subr.el (defvar-local): Add debug spec and doc-string position.
Glenn Morris [Tue, 8 May 2012 07:18:18 +0000 (00:18 -0700)]
Remove doc/lispref/two.el
* doc/lispref/two.el: Remove; unused since creation of two-volume.make.
* make-dist: No more doc/lispref/*.el.
Glenn Morris [Tue, 8 May 2012 06:44:18 +0000 (23:44 -0700)]
FOR-RELEASE comment
Glenn Morris [Tue, 8 May 2012 06:38:27 +0000 (23:38 -0700)]
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.
Glenn Morris [Tue, 8 May 2012 02:01:28 +0000 (22:01 -0400)]
* doc/lispref/Makefile.in (clean): Add some more vol1/2 items.
Glenn Morris [Tue, 8 May 2012 01:57:08 +0000 (21:57 -0400)]
doc/lispref/two-volume.make small fix
* doc/lispref/two-volume.make (emacsdir): New.
(tex): Add directory with emacsver.texi to TEXINPUTS.
Glenn Morris [Tue, 8 May 2012 01:50:17 +0000 (21:50 -0400)]
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.
Glenn Morris [Tue, 8 May 2012 01:41:05 +0000 (21:41 -0400)]
* lisp/play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
Aaron S. Hawley [Tue, 8 May 2012 01:25:52 +0000 (21:25 -0400)]
* progmodes/make-mode.el (makefile-browse): Remove unnecessary interactive.
Fixes: debbugs:11324
Stefan Monnier [Tue, 8 May 2012 00:27:13 +0000 (20:27 -0400)]
* shell.el (shell-completion-vars): Fix last change.
Fixes: debbugs:11348
Glenn Morris [Mon, 7 May 2012 23:02:28 +0000 (19:02 -0400)]
* doc/misc/forms.texi (Long Example): Update for changed location of files.
Glenn Morris [Mon, 7 May 2012 22:53:17 +0000 (18:53 -0400)]
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.
Glenn Morris [Mon, 7 May 2012 22:40:58 +0000 (18:40 -0400)]
Fix NEWS typo
Glenn Morris [Mon, 7 May 2012 21:45:34 +0000 (17:45 -0400)]
Also apply previous change to file locals at the end of the file