]> code.delx.au - gnu-emacs/log
gnu-emacs
13 years agoConvert consecutive FSF copyright years to ranges.
Glenn Morris [Tue, 25 Jan 2011 04:08:28 +0000 (20:08 -0800)]
Convert consecutive FSF copyright years to ranges.

13 years ago* README: Add a note about ranges in copyright years.
Glenn Morris [Tue, 25 Jan 2011 04:03:31 +0000 (20:03 -0800)]
* README: Add a note about ranges in copyright years.

(See current maintain.info.)

13 years ago* configure.in: Set CANNOT_DUMP on ia64 hpux (port from emacs-23).
Glenn Morris [Tue, 25 Jan 2011 03:55:12 +0000 (19:55 -0800)]
* configure.in: Set CANNOT_DUMP on ia64 hpux (port from emacs-23).

13 years agoMerge from emacs-23.
Glenn Morris [Tue, 25 Jan 2011 03:47:47 +0000 (19:47 -0800)]
Merge from emacs-23.

Note setting of CANNOT_DUMP on ia64 hpux is still to be merged manually.

13 years agoChangeLog fix: there was no change to ruby-expr-beg.
Glenn Morris [Tue, 25 Jan 2011 03:13:02 +0000 (19:13 -0800)]
ChangeLog fix: there was no change to ruby-expr-beg.

13 years ago* lisp/comint.el (comint-mode): Doc fix. (Bug#7897)
Glenn Morris [Tue, 25 Jan 2011 02:56:03 +0000 (18:56 -0800)]
* lisp/comint.el (comint-mode): Doc fix.  (Bug#7897)

13 years agoMerge changes made in Gnus trunk.
Gnus developers [Mon, 24 Jan 2011 23:38:05 +0000 (23:38 +0000)]
Merge changes made in Gnus trunk.

shr.el: Use defface to create shr-tag-h[1-6] faces to fontify h[1-6] tags.
mml-smime.el (mml-smime-use): Make it a defcustom and default to 'epg if EPG is loaded.
message.texi (IDNA): Explain what it is.
gnus.texi (The Empty Backend): Document nnnil (bug #7653).
gnus-agent.el (gnus-agent-prompt-send-queue): Whitespace fix.
shr.el (shr-expand-newlines): Proof of concept implemantation of boxy backgrounds.
 (shr-expand-newlines): Switch to using overlays to enable kill'n'yank in a more sensible manner.

13 years ago* xdisp.c (handle_fontified_prop): Be careful with font-lock changing
Stefan Monnier [Mon, 24 Jan 2011 22:05:52 +0000 (17:05 -0500)]
* xdisp.c (handle_fontified_prop): Be careful with font-lock changing
the buffer's point-max.

Fixes: debbugs:7876
13 years ago* files.el (file-name-non-special): Only change buffer-file-name after
Stefan Monnier [Mon, 24 Jan 2011 20:34:44 +0000 (15:34 -0500)]
* files.el (file-name-non-special): Only change buffer-file-name after
insert-file-contents if it's `visit'ing the file.

Fixes: debbugs:7854
13 years ago* lisp/progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
Stefan Monnier [Mon, 24 Jan 2011 20:10:04 +0000 (15:10 -0500)]
* lisp/progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
Don't move backward, so as not to fall in an inf-loop.

Fixes: debbugs:7736
13 years ago* lisp/progmodes/ruby-mode.el (ruby-syntax-propertize-function):
Stefan Monnier [Mon, 24 Jan 2011 19:47:46 +0000 (14:47 -0500)]
* lisp/progmodes/ruby-mode.el (ruby-syntax-propertize-function):
Handle ?" and friends differently (e.g. don't use backrefs).

Fixes: debbugs:7735
13 years agoAdding missing ChangeLog entry for rcirc.el change.
Deniz Dogan [Mon, 24 Jan 2011 19:03:23 +0000 (20:03 +0100)]
Adding missing ChangeLog entry for rcirc.el change.

13 years ago* lisp/gnus/nnbabyl: Fix typo in copyright years.
Glenn Morris [Mon, 24 Jan 2011 07:45:22 +0000 (23:45 -0800)]
* lisp/gnus/nnbabyl: Fix typo in copyright years.

13 years ago* calc/calc.el (calc-default-power-reference-level)
Jay Belanger [Mon, 24 Jan 2011 05:08:04 +0000 (23:08 -0600)]
* calc/calc.el (calc-default-power-reference-level)
(calc-default-field-reference-level): New variables.
* calc/calc-units.el (math-standard-units):  Add dB and Np.
(math-logunits): New variable.
(math-extract-logunits, math-logcombine, calcFunc-luplus)
(calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
(calcFunc-fieldlevel, calcFunc-powerlevel, calc-level): New
functions.
(math-find-base-units-rec): Add entry for ln(10).
* calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
(calc-ul-prefix-help): New function.
* calc/calc-ext.el (calc-init-extensions): Autoload new units
functions. Add keybindings for new units functions.

13 years agoMerge: Remove HAVE_RAW_DECL_CHOWN etc. from config.h
Paul Eggert [Mon, 24 Jan 2011 04:55:10 +0000 (20:55 -0800)]
Merge: Remove HAVE_RAW_DECL_CHOWN etc. from config.h

13 years agoRemove HAVE_RAW_DECL_CHOWN etc. from config.h
Paul Eggert [Mon, 24 Jan 2011 04:53:39 +0000 (20:53 -0800)]
Remove HAVE_RAW_DECL_CHOWN etc. from config.h

13 years agognus-html.el (gnus-html-image-fetched): Don't kill the temporary buffer after being...
Lars Ingebrigtsen [Mon, 24 Jan 2011 04:10:19 +0000 (04:10 +0000)]
gnus-html.el (gnus-html-image-fetched): Don't kill the temporary buffer after being called.  It's apparently being killed by url.el, and killing it made point move to end-of-buffer in a random buffer.
shr.el (shr-image-fetched): Ditto.
shr.el (shr-image-fetched): Avoid having point move in the article buffer.
gnus-html.el (gnus-html-image-fetched): Kill the buffer anyway, and fix the bug in url-http.el instead.
shr.el (shr-image-fetched): Ditto.
gravatar.el (gravatar-retrieve): Be silent when retrieving.
gnus-gravatar.el (gnus-gravatar-insert): Don't move point around in the article buffer.
 (gnus-gravatar-insert): Use blank space from the current buffer to avoid breaking text properties.  This makes X-Sent updating work again.
gnus-art.el (gnus-article-read-summary-keys): Don't call disabled commands.

13 years agoBackport copyright fix from trunk.
Glenn Morris [Mon, 24 Jan 2011 02:22:54 +0000 (18:22 -0800)]
Backport copyright fix from trunk.

* lisp/mwheel.el: Fix typo in copyright years.
Duplicate 2002 introduced in CVS r1.35.
2003 is a copyrightable year since Emacs 21.3 was released then.

13 years ago* lisp/mwheel.el: Fix typo in copyright years.
Glenn Morris [Mon, 24 Jan 2011 02:20:34 +0000 (18:20 -0800)]
* lisp/mwheel.el: Fix typo in copyright years.
Duplicate 2002 introduced in CVS r1.35.
2003 is a copyrightable year since Emacs 21.3 was released then.

13 years ago* etc/images/README: Add 2011 to copyright years for (un)checked.xpm.
Glenn Morris [Mon, 24 Jan 2011 01:30:35 +0000 (17:30 -0800)]
* etc/images/README: Add 2011 to copyright years for (un)checked.xpm.

13 years ago* movemail.c (main): Use setregid, as setegid is missing on HP-UX (Bug#6811).
Chong Yidong [Sun, 23 Jan 2011 22:58:52 +0000 (17:58 -0500)]
* movemail.c (main): Use setregid, as setegid is missing on HP-UX (Bug#6811).
Suggested by Peter O'Gorman.

13 years ago* lisp.h (XPNTR): Obey DATA_SEG_BITS in all non-USE_LSB_TAG cases (Bug#6811).
Chong Yidong [Sun, 23 Jan 2011 22:38:13 +0000 (17:38 -0500)]
* lisp.h (XPNTR): Obey DATA_SEG_BITS in all non-USE_LSB_TAG cases (Bug#6811).
Remove unused HAVE_SHM branch.

13 years agoTwo more hunks from the HP-UX patch at Bug#6811.
Peter O'Gorman [Sun, 23 Jan 2011 22:00:22 +0000 (17:00 -0500)]
Two more hunks from the HP-UX patch at Bug#6811.

* configure.in: Add HP-UX on IA64 (Bug#6811).
* src/s/hpux11.h: Set CANNOT_DUMP on IA64 (Bug#6811).

13 years ago* lwlib-Xm.c (xm_update_menu): Avoid a NULL pointer dereference (Bug#7690).
Werner Meisner [Sun, 23 Jan 2011 21:39:37 +0000 (16:39 -0500)]
* lwlib-Xm.c (xm_update_menu): Avoid a NULL pointer dereference (Bug#7690).

13 years ago* loading.texi (Library Search): Document list-load-path-shadows (Bug#7757).
Chong Yidong [Sun, 23 Jan 2011 20:34:12 +0000 (15:34 -0500)]
* loading.texi (Library Search): Document list-load-path-shadows (Bug#7757).

13 years ago* dired.el (dired-revert): Doc fix (Bug#7758).
Chong Yidong [Sun, 23 Jan 2011 20:06:51 +0000 (15:06 -0500)]
* dired.el (dired-revert): Doc fix (Bug#7758).

13 years ago* nsterm.m (x_set_offset): Set dont_constrain to 0 so the call to
Jan Djärv [Sun, 23 Jan 2011 13:28:14 +0000 (14:28 +0100)]
* nsterm.m (x_set_offset): Set dont_constrain to 0 so the call to
setFrameTopLeftPoint is constrained.

13 years agomm-decode.el (mm-inline-media-tests): Change text/org to text/x-org.
Julien Danjou [Sun, 23 Jan 2011 11:21:04 +0000 (11:21 +0000)]
mm-decode.el (mm-inline-media-tests): Change text/org to text/x-org.
mm-uu.el (mm-uu-org-src-code-block-extract): Change text/org to text/x-org.

13 years agoImprove configuration of makeinfo.
Werner LEMBERG [Sun, 23 Jan 2011 10:38:14 +0000 (11:38 +0100)]
Improve configuration of makeinfo.

* Makefile.in (MAKEINFO): Now controlled by `configure'.
(MAKEINFO_OPTS): New variable.  Use it where appropriate.
(ENVADD): Updated.

13 years agoImprove configuration of makeinfo.
Werner LEMBERG [Sun, 23 Jan 2011 10:31:21 +0000 (11:31 +0100)]
Improve configuration of makeinfo.

* Makefile.in (MAKEINFO): Now controlled by `configure'.
(MAKEINFO_OPTS): New variable.  Use it where appropriate.
(ENVADD): New variable to control texi2dvi and texi2pdf.

13 years ago* Makefile.in (MAKEINFO): Now controlled by `configure'.
Werner LEMBERG [Sun, 23 Jan 2011 10:22:21 +0000 (11:22 +0100)]
* Makefile.in (MAKEINFO): Now controlled by `configure'.
(MAKEINFO_OPTS): New variable.  Use it where appropriate.
(ENVADD): New variable to control texi2dvi and texi2pdf.

13 years agoMerge: Check return values of some library calls.
Paul Eggert [Sun, 23 Jan 2011 07:32:08 +0000 (23:32 -0800)]
Merge: Check return values of some library calls.

13 years agoCheck return values of some library calls.
Paul Eggert [Sun, 23 Jan 2011 07:30:19 +0000 (23:30 -0800)]
Check return values of some library calls.

13 years ago* src/image.c: Add cast to fix type clash
Paul Eggert [Sun, 23 Jan 2011 04:34:48 +0000 (20:34 -0800)]
* src/image.c: Add cast to fix type clash

13 years ago* image.c (x_create_bitmap_from_xpm_data): Add cast to fix type clash
Paul Eggert [Sun, 23 Jan 2011 04:33:12 +0000 (20:33 -0800)]
* image.c (x_create_bitmap_from_xpm_data): Add cast to fix type clash

when calling XpmCreatePixmapFromData.

13 years agoMark tiny change.
Glenn Morris [Sun, 23 Jan 2011 03:33:59 +0000 (19:33 -0800)]
Mark tiny change.

13 years agoMark tiny change.
Glenn Morris [Sun, 23 Jan 2011 03:32:41 +0000 (19:32 -0800)]
Mark tiny change.

13 years agoPromote SSDATA macro from gtkutil.c and xsmfns.c to lisp.h.
Paul Eggert [Sun, 23 Jan 2011 02:56:06 +0000 (18:56 -0800)]
Promote SSDATA macro from gtkutil.c and xsmfns.c to lisp.h.

13 years agoRemove outdated paragraph from Lisp manual (Bug#7780).
Chong Yidong [Sun, 23 Jan 2011 01:12:25 +0000 (20:12 -0500)]
Remove outdated paragraph from Lisp manual (Bug#7780).

* doc/lispref/searching.texi (Regexp Special): Remove outdated discussion of
character sets.

13 years agoMerge several fixes from upsteam ruby-mode.
Nobuyoshi Nakada [Sun, 23 Jan 2011 01:02:37 +0000 (20:02 -0500)]
Merge several fixes from upsteam ruby-mode.

* lisp/progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
here-doc which ends with an underscore.
(ruby-mode-set-encoding): Skip shebang line always.
(ruby-mode-map): Bind C-c C-c to comment-region.
(ruby-expr-beg, ruby-font-lock-keywords): Highlight literal hash
key labels as symbols.
(ruby-forward-sexp): Stop after literal hash key labels.
(ruby-font-lock-syntactic-keywords): Highlight regexp after open
bracket.

13 years ago* nt/iconcs/README: Add 2010, 2011 to FSF copyright years.
Glenn Morris [Sun, 23 Jan 2011 00:53:08 +0000 (16:53 -0800)]
* nt/iconcs/README: Add 2010, 2011 to FSF copyright years.

13 years agoMerge chages made in Gnus trunk.
Gnus developers [Sun, 23 Jan 2011 00:34:08 +0000 (00:34 +0000)]
Merge chages made in Gnus trunk.

mailcap.el (mailcap-mime-extensions): Rename text/org to text/x-org.
gnus-draft.el (gnus-group-send-queue): Update the queue group in the group buffer after sending the queue.
gnus-draft.el (gnus-group-send-queue): Really refresh the queue group after sending.
gnus-agent.el (gnus-agent-send-mail): Ditto.
gnus-group.el (gnus-group-refresh-group): New convenience function.
message.el (message-bogus-addresses): Remove commented-out value.
message.el (message-check-recipients): Display the encoded version of the bogus address if they differ.
flow-fill.el (fill-flowed): Make `delete-space' option correspond to "DelSp" parameter in RFC3676.
gnus-sum.el (gnus-summary-move-article): Protect against backends (i.e., nnimap) returning nil as the article number.

13 years agoTweak previous copyright.el change.
Glenn Morris [Sat, 22 Jan 2011 22:18:01 +0000 (14:18 -0800)]
Tweak previous copyright.el change.

* lisp/emacs-lisp/copyright.el (copyright-find-copyright)
(copyright-update, copyright-fix-years):
Do the initial widen and move in copyright-find-copyright.

13 years ago* lisp/emacs-lisp/copyright.el (copyright-fix-years): Use copyright-find-copyright.
Glenn Morris [Sat, 22 Jan 2011 22:13:17 +0000 (14:13 -0800)]
* lisp/emacs-lisp/copyright.el (copyright-fix-years): Use copyright-find-copyright.

13 years agoSome copyright.el updates.
Glenn Morris [Sat, 22 Jan 2011 22:09:09 +0000 (14:09 -0800)]
Some copyright.el updates.

* lisp/emacs-lisp/copyright.el (copyright-find-copyright): New function,
split out from copyright-update-year.
(copyright-update): Don't mess with the GPL version if we don't own the
copyright.  Update license regexp, and remove no longer needed
Esperanto stuff.

13 years ago* lisp/simple.el (do-auto-fill): Give it a doc string.
Glenn Morris [Sat, 22 Jan 2011 21:02:49 +0000 (13:02 -0800)]
* lisp/simple.el (do-auto-fill): Give it a doc string.

13 years agoFix toggling of case-fold-search from re-builder menu (Bug#7650).
Keitaro Miyazaki [Sat, 22 Jan 2011 20:54:27 +0000 (15:54 -0500)]
Fix toggling of case-fold-search from re-builder menu (Bug#7650).
* emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
the correct buffer.

13 years ago* frames.texi (Pop-Up Menus): Document where menu title comes from (Bug#7684).
Chong Yidong [Sat, 22 Jan 2011 20:25:23 +0000 (15:25 -0500)]
* frames.texi (Pop-Up Menus): Document where menu title comes from (Bug#7684).

13 years ago* vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
Chong Yidong [Sat, 22 Jan 2011 20:15:24 +0000 (15:15 -0500)]
* vc/diff.el (diff-sentinel): Doc fix (Bug#7682).

13 years ago* play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
Jari Aalto [Sat, 22 Jan 2011 20:12:51 +0000 (15:12 -0500)]
* play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
(lm): Rename to landmark.
(lm-test-run): Rename to landmark-test-run.

13 years agoDoc fix for make-text-button.
Glenn Morris [Sat, 22 Jan 2011 20:10:17 +0000 (12:10 -0800)]
Doc fix for make-text-button.

* doc/lispref/display.texi (Making Buttons): Mention limitation of text buttons.

* lisp/button.el (make-text-button): Doc fix.  (See bug#7881)

13 years ago* admin/notes/bzrmerge: Comment on skipped revisions.
Glenn Morris [Sat, 22 Jan 2011 19:44:38 +0000 (11:44 -0800)]
* admin/notes/bzrmerge: Comment on skipped revisions.

13 years agoMerge from emacs-23
Glenn Morris [Sat, 22 Jan 2011 19:36:45 +0000 (11:36 -0800)]
Merge from emacs-23

13 years ago* simple.el (line-move-visual): Doc fix (Bug#7594).
Chong Yidong [Sat, 22 Jan 2011 19:29:10 +0000 (14:29 -0500)]
* simple.el (line-move-visual): Doc fix (Bug#7594).

13 years ago* net/rcirc.el (rcirc-kill-buffer-hook): Flush logs.
Giorgos Keramidas [Sat, 22 Jan 2011 16:21:38 +0000 (17:21 +0100)]
* net/rcirc.el (rcirc-kill-buffer-hook): Flush logs.

13 years agoFix last change.
Chong Yidong [Sat, 22 Jan 2011 15:55:08 +0000 (10:55 -0500)]
Fix last change.

13 years agomm-decode.el (mm-preferred-alternative-precedence): Don't bug out on nested related...
Lars Ingebrigtsen [Sat, 22 Jan 2011 12:34:50 +0000 (12:34 +0000)]
mm-decode.el (mm-preferred-alternative-precedence): Don't bug out on nested related parts.
nnfolder.el (nnfolder-request-expire-articles): Return the list of unexpired articles.  This fixes the regression that led expiry marks to disappear from nnfolder groups.

13 years ago* nsterm.m (constrainFrameRect): Only constrain the first time called.
Jan Djärv [Sat, 22 Jan 2011 11:33:32 +0000 (12:33 +0100)]
* nsterm.m (constrainFrameRect): Only constrain the first time called.

13 years agoaclocal.m4: put this file back into repository
Paul Eggert [Sat, 22 Jan 2011 07:18:23 +0000 (23:18 -0800)]
aclocal.m4: put this file back into repository

This way, we don't have to assume that the maintainer has
the automake package installed.  See
<http://lists.gnu.org/archive/html/emacs-devel/2011-01/msg00746.html>.
* .bzrignore: Remove aclocal.m4, undoing the previous change.
* Makefile.in (top_maintainer_clean): Do not remove aclocal.m4,
undoing the previous change.
* aclocal.m4: New file (actually, resurrected).

13 years ago* allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
Ken Manheimer [Sat, 22 Jan 2011 04:41:57 +0000 (23:41 -0500)]
* allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
allout-number-siblings, in keeping with what obtained due to (now-defunct)
allout-keybindings-list.  Ditch repeat binding to (prefixed) ?i.
(allout-before-change-handler): Better expose spots affected by undo.

13 years agoAdd ERT manual to Info dir file.
Chong Yidong [Sat, 22 Jan 2011 04:01:40 +0000 (23:01 -0500)]
Add ERT manual to Info dir file.

13 years ago* man.el (Man-highlight-references0): Use make-button (Bug#7881).
Chong Yidong [Sat, 22 Jan 2011 03:53:06 +0000 (22:53 -0500)]
* man.el (Man-highlight-references0): Use make-button (Bug#7881).

13 years ago* emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in menu item.
Chong Yidong [Sat, 22 Jan 2011 03:03:49 +0000 (22:03 -0500)]
* emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in menu item.

13 years agoUpdate configure
Miles Bader [Sat, 22 Jan 2011 02:46:10 +0000 (11:46 +0900)]
Update configure

13 years agoconfigure.in: Don't zero-out FONTCONFIG_CFLAGS and FONTCONFIG_LIBS
Miles Bader [Sat, 22 Jan 2011 02:45:57 +0000 (11:45 +0900)]
configure.in: Don't zero-out FONTCONFIG_CFLAGS and FONTCONFIG_LIBS
when building with XFT (doing so is incorrect, as Emacs directly uses
fontconfig, and breaks building when using a strict linker).

13 years agoRework 2011-01-15 changes to window.c.
Martin Rudalics [Sat, 22 Jan 2011 02:44:53 +0000 (21:44 -0500)]
Rework 2011-01-15 changes to window.c.

* src/window.c (select_window): New function.
(Fselect_window): Call it.
(inhibit_point_swap): Variable deleted.
(Fset_window_configuration): Call select_window directly.

13 years agoAdd pcomplete support for hosts defined in .ssh/config.
Phil Hagelberg [Sat, 22 Jan 2011 02:20:57 +0000 (21:20 -0500)]
Add pcomplete support for hosts defined in .ssh/config.

* lisp/pcmpl-unix.el (pcmpl-ssh-config-file): New option.
(pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
(pcmpl-ssh-config-hosts): New function.
(pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
pcmpl-ssh-known-hosts.

13 years agoMerge: src/config.in: shrink slightly
Paul Eggert [Sat, 22 Jan 2011 00:13:42 +0000 (16:13 -0800)]
Merge: src/config.in: shrink slightly

13 years agosrc/config.in: shrink slightly
Paul Eggert [Sat, 22 Jan 2011 00:12:10 +0000 (16:12 -0800)]
src/config.in: shrink slightly

* configure.in: Invoke the new gnulib macro gl_ASSERT_NO_GNULIB_TESTS.
This makes src/config.in a bit smaller, by removing identifiers
like GNULIB_TEST_MKTIME that Emacs does not need.
* m4/getopt.m4, m4/gnulib-common.m4, m4/include_next.m4:
* m4/multiarch.m4, m4/stddef_h.m4, m4/time_h.m4, m4/unistd_h.m4:
Sync from gnulib.  This removes a few more unnecessary symbols from
src/config.in, such as AA_APPLE_UNIVERSAL_BUILD and HAVE_STDDEF_H.
* configure, src/config.in: Regenerate.

13 years agognus-art.el (gnus-mime-display-single): Use mm-display-inline rather than mm-insert...
Julien Danjou [Fri, 21 Jan 2011 23:33:46 +0000 (23:33 +0000)]
gnus-art.el (gnus-mime-display-single): Use mm-display-inline rather than mm-insert-inline.

13 years ago* lisp/comint.el (comint-replace-by-expanded-history-before-point): Fix
Roland McGrath [Fri, 21 Jan 2011 20:56:24 +0000 (15:56 -0500)]
* lisp/comint.el (comint-replace-by-expanded-history-before-point): Fix
expansion of !$ and !!:N syntax to pick the indicated word.

Fixes: debbugs:7883
13 years ago* lisp/progmodes/js.el (js--regexp-literal): Count backslashes.
Stefan Monnier [Fri, 21 Jan 2011 20:48:20 +0000 (15:48 -0500)]
* lisp/progmodes/js.el (js--regexp-literal): Count backslashes.

Fixes: debbugs:7882
13 years agoaclocal.m4: tweaks to regenerate more conveniently
Paul Eggert [Fri, 21 Jan 2011 20:23:24 +0000 (12:23 -0800)]
aclocal.m4: tweaks to regenerate more conveniently

This attempts to act better when the source is in a weird state.  See
<http://lists.gnu.org/archive/html/emacs-devel/2011-01/msg00734.html>.
* Makefile.in (am--refresh): Add aclocal.m4, configure, config.in.
* .bzrignore: Add aclocal.m4.

13 years ago* lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
Jari Aalto [Fri, 21 Jan 2011 18:12:32 +0000 (13:12 -0500)]
* lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
Assume foo(bar) is a manpage reference rather than some unquoted symbol.

Fixes: debbugs:7705
13 years ago* lisp/subr.el (shell-quote-argument): Properly quote \n.
Stefan Monnier [Fri, 21 Jan 2011 18:07:41 +0000 (13:07 -0500)]
* lisp/subr.el (shell-quote-argument): Properly quote \n.
Suggested by Flo <sensorflo@gmail.com>.

Fixes: debbugs:7687
13 years ago* gnus-art.el (gnus-button-alist, gnus-button-handle-info-keystrokes):
Stefan Monnier [Fri, 21 Jan 2011 17:38:33 +0000 (12:38 -0500)]
* gnus-art.el (gnus-button-alist, gnus-button-handle-info-keystrokes):
Don't confuse the "ret" of "retrograde" with RET.

13 years agoInclude entries from yesterdays checkins that were in an unsaved buffer.
Ken Manheimer [Fri, 21 Jan 2011 16:36:24 +0000 (11:36 -0500)]
Include entries from yesterdays checkins that were in an unsaved buffer.

13 years agoMake Nextstep port handle multiple screens for resize and move.
Jan Djärv [Fri, 21 Jan 2011 14:19:44 +0000 (15:19 +0100)]
Make Nextstep port handle multiple screens for resize and move.

* nsterm.h (ns_output): Add dont_constrain and zooming.
(EmacsView): Add ns_userRect.

* nsterm.m (keyDown): If ns_right_alternate_modifier is Qleft, check
if ns_alternate_modifier is none.

* nsterm.m (x_set_offset, windowDidMove): When calculating y, use first
screen, not the window screen.
(x_set_window_size): Remove constraints.
Calculate origin.y only if zooming is 0 and without referring to a
screen.
(windowWillResize): Don't modify frameSize.
(windowDidBecomeKey, mouseDown): Set dont_constrain to 1.
(initFrameFromEmacs): Initialize ns_userRect.
(windowShouldZoom): Set zooming to one.  Remove all other code.
(windowWillUseStandardFrame): Move static ns_userRect to EmacsView.
Zero it after restore.
(constrainFrameRect): New method for EmacsWindow.
(mouseDragged): Always post NSWindowDidResizeNotification after call to
windowWillResize.

13 years ago* nsterm.m (keyDown): If ns_right_alternate_modifier is Qleft, check
Jan Djärv [Fri, 21 Jan 2011 08:35:30 +0000 (09:35 +0100)]
* nsterm.m (keyDown): If ns_right_alternate_modifier is Qleft, check
if ns_alternate_modifier is none.

13 years agocompile.el fix for bug#7812
Glenn Morris [Fri, 21 Jan 2011 05:04:45 +0000 (21:04 -0800)]
compile.el fix for bug#7812

* lisp/progmodes/compile.el (compilation-error-regexp-alist):
Fix custom type.

13 years agocalc/calc-undo.el (calc-undo): Autoload it.
Jay Belanger [Fri, 21 Jan 2011 04:54:37 +0000 (22:54 -0600)]
calc/calc-undo.el (calc-undo): Autoload it.
calc/calc-ext.el (calc-init-extensions): Remove keybindings and autoload for `calc-undo'.
calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.

13 years agognus-art.el (gnus-article-remove-images, gnus-article-show-images): Widen article...
Katsumi Yamaoka [Fri, 21 Jan 2011 04:16:57 +0000 (04:16 +0000)]
gnus-art.el (gnus-article-remove-images, gnus-article-show-images): Widen article buffer.

13 years agocalc/calc-prog.el
Jay Belanger [Fri, 21 Jan 2011 03:48:26 +0000 (21:48 -0600)]
calc/calc-prog.el
calc/calc-graph.el
calc/calc-map.el: Change `arglist' to `math-arglist' throughout.

13 years agocalc/calc-ext.el (calc-init-extensions): Map all `undo' keybindings to `calc-undo'.
Štěpán Němec [Fri, 21 Jan 2011 01:04:56 +0000 (19:04 -0600)]
calc/calc-ext.el (calc-init-extensions): Map all `undo' keybindings to `calc-undo'.

13 years agomm-decode.el (mm-inline-media-tests): Add text/x-sh.
Julien Danjou [Thu, 20 Jan 2011 23:43:27 +0000 (23:43 +0000)]
mm-decode.el (mm-inline-media-tests): Add text/x-sh.
gnus-art.el (gnus-mime-inline-part): Use mm-display-inline rather than mm-insert-inline to insert inline part: this respect mm-inline-media-tests displayers.
mm-view.el (mm-display-shell-script-inline): New function.
mm-decode.el (mm-inline-media-tests): Add x-shellscript and x-sh.
mm-uu.el (mm-uu-type-alist): Add org block.
 (mm-uu-org-src-code-block-extract): New function.
mm-view.el (mm-display-org-inline): New function.
mm-decode.el (mm-automatic-display): Add text/org.
mailcap.el (mailcap-mime-extensions): Add .org.

13 years agoDon't mess with *temp*.
Stefan Monnier [Thu, 20 Jan 2011 22:36:12 +0000 (17:36 -0500)]
Don't mess with *temp*.
* lisp/obsolete/spell.el: Move from textmodes/spell.el.
(spell-string):
* lisp/term.el (term-read-input-ring):
* lisp/startup.el (display-startup-echo-area-message):
* lisp/progmodes/antlr-mode.el (antlr-directory-dependencies):
* lisp/gnus/message.el (message-mailer-swallows-blank-line):
* lisp/comint.el (comint-read-input-ring): Use with-temp-buffer.
* lisp/international/mule.el (ctext-pre-write-conversion):
Don't hardcode point-min==1.
* lisp/gnus/mm-util.el (mm-find-buffer-file-coding-system): Don't forget to
kill the temp buffer.

13 years ago(allout-institute-keymap): Use fset instead of reapplying defalias.
Ken Manheimer [Thu, 20 Jan 2011 21:57:15 +0000 (16:57 -0500)]
(allout-institute-keymap): Use fset instead of reapplying defalias.

(allout-hotspot-key-handler): Check for non-control-modified bindings for
hotspot characters if there is no control-modified versions.

13 years agoallout.el: Summary - migrate to defining allout mode using
Ken Manheimer [Thu, 20 Jan 2011 18:13:30 +0000 (13:13 -0500)]
allout.el: Summary - migrate to defining allout mode using
define-minor-mode instead of defun.  Significantly clean-up internal keymap
provisions, refactoring a bit and removing a lot of accumulated cruft.

allout-mode-map is now a keymap by virtue of being an defalias to
allout-mode-map-value, which contains the actual keymap structure.

(allout-mode): Use define-minor-mode rather than defun.  Remove
now-unnecessary minor-mode setup activities from the body.  Specify :keymap
as allout-mode-map so the minor-mode-map-alist entry will be
'(allout-mode . allout-mode-map) - see allout-mode-map-value, below.
Adjust docstring to track changes.
(allout-minor-mode): Remove this defalias, now that we're using
define-minor-mode.
(allout-mode-map): Set value to be 'allout-mode-map.  The actual keymap
is allout-mode-map-value, via defalias.
(allout-mode-map-value): The variable holding the actual mode keymap
structure, by virtue of defalias from allout-mode-map.
(allout-compose-and-institute-keymap): Renamed from allout-bind-keys, and
including the binding-composition functionality of the former
produce-allout-mode-map and allout-setup-mode-map.
(allout-institute-keymap): Take over the "setup" part of the former
allout-setup-mode-map.  Reassign allout-mode-map-value value and update the
defalias.
(allout-command-prefix) (allout-prefixed-keybindings)
(allout-unprefixed-keybindings): Use allout-compose-and-institute-keymap to
process the bindings.
(allout-unprefixed-keybindings): Remove extraneous '?' question marks.
(allout-prefixed-keybindings): Elide binding to (prefixed) \C-h - user can
customize if they want to use that binding.  Bind allout-copy-topic-as-kill
to (prefixed) \M-k.  Bind allout-up-current-level to (prefixed) \C-u.  (I
think i mistakenly elided that, previously, instead of the one for \C-h.)
(allout-hotspot-key-handler): Remove attempt to resolve the key through the
literal key-string lookup on allout-keybindings-list.  That probably hasn't
worked for a Long Time, and removal of allout-keybindings-list further
simplifies the keybindings situation.
(allout-pre-command-business): Use allout-mode-map-value instead of
allout-mode-map.
(allout-preempt-trailing-ctrl-h): Remove.  The user can customize the
bindings if they want to use a keybinding having a trailing \C-h.  No
deprecation needed since this feature was never in a release.
(allout-keybindings-list): Remove.  It's not been useful for a while.  (See
allout-hotspot-key-handler changes, above.)
(produce-allout-mode-map): Remove.  Consolidate into
allout-compose-and-institute-keymap.
(allout-mode-map-adjustments): Remove.  No longer necessary with removal of
allout-preempt-trailing-ctrl-h.
(allout-setup-mode-map): Remove.  Consolidate into
allout-compose-and-institute-keymap and allout-institute-keymap.

13 years ago* lisp/vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
Glenn Morris [Thu, 20 Jan 2011 07:17:22 +0000 (23:17 -0800)]
* lisp/vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.

13 years ago* src/unexmacosx.c: Add comment about include order.
Jan Djärv [Thu, 20 Jan 2011 06:43:04 +0000 (07:43 +0100)]
* src/unexmacosx.c: Add comment about include order.

13 years agoGive read-expression-history a doc.
Glenn Morris [Thu, 20 Jan 2011 06:40:36 +0000 (22:40 -0800)]
Give read-expression-history a doc.

* lisp/simple.el (read-expression-history): Remove, it's in minibuf.c.

* src/minibuf.c (syms_of_minibuf) <read-expression-history>:
Give it a doc string.
* src/globals.h: Add Vread_expression_history.

13 years agoGive kbd-macro-termination-hook a doc.
Glenn Morris [Thu, 20 Jan 2011 06:10:05 +0000 (22:10 -0800)]
Give kbd-macro-termination-hook a doc.

* src/macros.c (syms_of_macros) <kbd-macro-termination-hook>:
Give it a doc string.
* src/globals.h: Add Vkbd_macro_termination_hook.

13 years agoMerge: omit auto-generated aclocal.m4 from repository
Paul Eggert [Thu, 20 Jan 2011 05:02:52 +0000 (21:02 -0800)]
Merge: omit auto-generated aclocal.m4 from repository

13 years agoaclocal.m4: omit auto-generated file from repository
Paul Eggert [Thu, 20 Jan 2011 05:00:40 +0000 (21:00 -0800)]
aclocal.m4: omit auto-generated file from repository

13 years agoRevert changes adding format args to yes-or-no-p and y-or-n-p.
Chong Yidong [Thu, 20 Jan 2011 02:55:36 +0000 (21:55 -0500)]
Revert changes adding format args to yes-or-no-p and y-or-n-p.
See discussion on emacs-devel at
http://lists.gnu.org/archive/html/emacs-devel/2011-01/msg00388.html

* src/fns.c (Fyes_or_no_p): Revert 2011-01-07 change, removing ARGS.

* lisp/subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.

* lisp/files.el (find-alternate-file, basic-save-buffer)
(basic-save-buffer-2, revert-buffer, recover-file)
(kill-buffer-ask, abort-if-file-too-large)
(set-visited-file-name, write-file, backup-buffer)
(basic-save-buffer, save-some-buffers):
* lisp/dired-aux.el (dired-compress-file): Callers changed.

13 years agoMerge from mainline.
Paul Eggert [Wed, 19 Jan 2011 23:58:00 +0000 (15:58 -0800)]
Merge from mainline.

13 years agoMinor Makefile.in tweaks to build from gnulib better.
Paul Eggert [Wed, 19 Jan 2011 23:56:53 +0000 (15:56 -0800)]
Minor Makefile.in tweaks to build from gnulib better.

<http://lists.gnu.org/archive/html/emacs-devel/2011-01/msg00673.html>
* Makefile.in (sync-from-gnulib): Also run autoreconf -I m4.
(top_maintainer_clean): Don't remove aclocal.m4.

13 years ago* make-tarball.txt: Suggest 'autoreconf -I m4 --force'
Paul Eggert [Wed, 19 Jan 2011 23:56:42 +0000 (15:56 -0800)]
* make-tarball.txt: Suggest 'autoreconf -I m4 --force'

rather than doing rm and autoconf by hand.  See
<http://lists.gnu.org/archive/html/emacs-devel/2011-01/msg00673.html>.

13 years agoFix X11 compilation failure.
Paul Eggert [Wed, 19 Jan 2011 23:32:42 +0000 (15:32 -0800)]
Fix X11 compilation failure.

* globals.h (struct emacs_globals): Document f_Vselection_alist.
* xselect.c (Vselection_alist): Remove declaration, moving its
documentation to globals.h.  This fixes a compilation failure
induced by the earlier change to globals.h today.

13 years agognus-art.el (gnus-article-highlight): Remove argument passed to gnus-article-add...
Katsumi Yamaoka [Wed, 19 Jan 2011 22:35:53 +0000 (22:35 +0000)]
gnus-art.el (gnus-article-highlight): Remove argument passed to gnus-article-add-buttons.