bpt/emacs.git
12 years agoBump version to 24.0.93.
Chong Yidong [Sun, 29 Jan 2012 15:46:05 +0000 (23:46 +0800)]
Bump version to 24.0.93.
Regenerate AUTHORS and ldefs-boot.el.

12 years ago* lisp/frame.el (window-system-default-frame-alist): Doc fix.
Chong Yidong [Sun, 29 Jan 2012 14:22:51 +0000 (22:22 +0800)]
* lisp/frame.el (window-system-default-frame-alist): Doc fix.

12 years agoFix an instance of dynamic-setting.el clobbering the default face.
Chong Yidong [Sun, 29 Jan 2012 13:55:09 +0000 (21:55 +0800)]
Fix an instance of dynamic-setting.el clobbering the default face.

* lisp/dynamic-setting.el (font-setting-change-default-font): Don't
change the default face if SET-FONT argument is non-nil.

Fixes: debbugs:9982

12 years agotest/automated/icalendar-tests: Fix broken test
Ulf Jasper [Sun, 29 Jan 2012 12:28:20 +0000 (13:28 +0100)]
test/automated/icalendar-tests: Fix broken test

2012-01-29  Ulf Jasper  <ulf.jasper@web.de>

* automated/icalendar-tests.el (icalendar-import-non-recurring):
Fix broken test, caused by missing trailing blank.

12 years ago* lisp/custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
Samuel Bronson [Sun, 29 Jan 2012 10:01:20 +0000 (18:01 +0800)]
* lisp/custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).

12 years ago* doc/lispref/syntax.texi (Syntax Class Table): Tweak description of newline char...
Chong Yidong [Sun, 29 Jan 2012 07:35:58 +0000 (15:35 +0800)]
* doc/lispref/syntax.texi (Syntax Class Table): Tweak description of newline char syntax.

Fixes: debbugs:9619

12 years agoFix wholenump/natnump description in Lisp manual.
Chong Yidong [Sun, 29 Jan 2012 07:25:22 +0000 (15:25 +0800)]
Fix wholenump/natnump description in Lisp manual.

* doc/lispref/numbers.texi (Predicates on Numbers): Fix
wholenump/natnump description.

Fixes: debbugs:10189

12 years agoFix pdb path handling.
Syver Enstad [Sun, 29 Jan 2012 07:06:54 +0000 (15:06 +0800)]
Fix pdb path handling.

* progmodes/gud.el (pdb): Give pdb full paths, to allow setting
breakpoints in files outside current directory.

* lisp/progmodes/python.el: Require ansi-color at top-level.

Fixes: debbugs:6098

12 years agoMake Emacs Lisp mode use emacs-lisp-mode-abbrev-table.
Chong Yidong [Sun, 29 Jan 2012 04:45:51 +0000 (12:45 +0800)]
Make Emacs Lisp mode use emacs-lisp-mode-abbrev-table.

* lisp/emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table): Define
and use in Emacs Lisp mode.
(lisp-mode-abbrev-table): Add doc.
(lisp-mode-variables): Don't set local-abbrev-table.
(lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.

Fixes: debbugs:9360

12 years agoFix require error when using srecode-insert.
David Engster [Sun, 29 Jan 2012 04:21:29 +0000 (12:21 +0800)]
Fix require error when using srecode-insert.

* lisp/cedet/srecode/insert.el: Require srecode/filters.
* lisp/cedet/srecode/filters.el: Drop two requires.

Fixes: debbugs:9967

12 years ago* etc/NEWS: Typo fix.
Glenn Morris [Sun, 29 Jan 2012 03:17:53 +0000 (19:17 -0800)]
* etc/NEWS: Typo fix.

12 years ago* etc/NEWS: Minor libxml changes.
Glenn Morris [Sun, 29 Jan 2012 03:16:54 +0000 (19:16 -0800)]
* etc/NEWS: Minor libxml changes.

12 years ago* doc/lispref/files.texi (Changing Files): Remove part of previous change.
Glenn Morris [Sun, 29 Jan 2012 03:11:45 +0000 (19:11 -0800)]
* doc/lispref/files.texi (Changing Files): Remove part of previous change.

12 years agoMinor NEWS cleanup, mainly for "Installation Changes" section.
Glenn Morris [Sun, 29 Jan 2012 03:08:15 +0000 (19:08 -0800)]
Minor NEWS cleanup, mainly for "Installation Changes" section.

* etc/NEWS: Reorder items.
Standardize new --with-libfoo type configure options.
Don't say precisely which library versions are needed - it tends to
change and people who care can look at configure.
Move new Hebrew tutorial entry to "Internationalization changes" section.
Small tidy up for imagemagick and gnutls entries.

* src/gnutls.c (syms_of_gnutls): More doc (from etc/NEWS).

12 years agoDocument SELinux support.
Glenn Morris [Sun, 29 Jan 2012 02:49:57 +0000 (18:49 -0800)]
Document SELinux support.

* doc/lispref/files.texi (Changing Files): Document SELinux support.
* etc/NEWS: Markup.

12 years ago* doc/lispref/windows.texi (Window Sizes): Fix typo.
Glenn Morris [Sun, 29 Jan 2012 01:50:40 +0000 (17:50 -0800)]
* doc/lispref/windows.texi (Window Sizes): Fix typo.

12 years agomm-view.el (mm-display-inline-fontify): Bind `font-lock-support-mode' instead of...
Lars Ingebrigtsen [Sun, 29 Jan 2012 00:28:05 +0000 (00:28 +0000)]
mm-view.el (mm-display-inline-fontify): Bind `font-lock-support-mode' instead of setting it locally, since the latter doesn't seem to have any effect (most of the time).

12 years agoFix undefined @value reference
Andreas Schwab [Sat, 28 Jan 2012 19:16:02 +0000 (20:16 +0100)]
Fix undefined @value reference

* emacs-lisp-intro.texi (Top): Move setting of COUNT-WORDS outside
of @menu. (Bug#10628)

12 years agoFix formatting of cc-mode manual
Andreas Schwab [Sat, 28 Jan 2012 19:16:02 +0000 (20:16 +0100)]
Fix formatting of cc-mode manual

* cc-mode.texi: Always @defindex ss.
(Config Basics): Fix argument of @itemize.
(Macro Backslashes): Add @code around index entry.

12 years agolisp/textmodes/bibtex.el: minor doc fix
Roland Winkler [Sat, 28 Jan 2012 18:25:03 +0000 (12:25 -0600)]
lisp/textmodes/bibtex.el: minor doc fix

12 years agolisp/textmodes/bibtex.el: allow bibtex-dialect as file-local variable (Bug#10254)
Roland Winkler [Sat, 28 Jan 2012 18:06:10 +0000 (12:06 -0600)]
lisp/textmodes/bibtex.el: allow bibtex-dialect as file-local variable (Bug#10254)

12 years ago* lisp/simple.el (deactivate-mark): Doc fix (Bug#8614).
Chong Yidong [Sat, 28 Jan 2012 14:29:29 +0000 (22:29 +0800)]
* lisp/simple.el (deactivate-mark): Doc fix (Bug#8614).

12 years agoQuote file name commands in eshell.
Chong Yidong [Sat, 28 Jan 2012 13:58:46 +0000 (21:58 +0800)]
Quote file name commands in eshell.

* lisp/eshell/esh-arg.el (eshell-quote-argument): New function.

* lisp/eshell/esh-ext.el (eshell-invoke-batch-file):
* lisp/eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
first arg to eshell-parse-command.

Fixes: debbugs:10523

12 years ago* display.texi (Fringe Indicators): Clarify fringe-indicator-alist doc.
Chong Yidong [Sat, 28 Jan 2012 13:47:42 +0000 (21:47 +0800)]
* display.texi (Fringe Indicators): Clarify fringe-indicator-alist doc.

Fixes: debbugs:8568

12 years ago* net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
Drew Adams [Sat, 28 Jan 2012 11:26:29 +0000 (12:26 +0100)]
* net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
`default-directory' is non-nil.

12 years agoFix bug #9924 with long display of system-configuration-options in emacsbug.el.
Eli Zaretskii [Sat, 28 Jan 2012 10:49:17 +0000 (12:49 +0200)]
Fix bug #9924 with long display of system-configuration-options in emacsbug.el.

 lisp/mail/emacsbug.el (report-emacs-bug): Fill the potentially long
 line that displays system-configuration-options.

12 years agoFix bug #10129: add positional information to "C-u C-x =".
Drew Adams [Sat, 28 Jan 2012 10:27:28 +0000 (12:27 +0200)]
Fix bug #10129: add positional information to "C-u C-x =".

 lisp/descr-text.el (describe-char): Show information about POS, in
 addition to information about the character at POS.  Improve and
 update the doc string.  Change "code point" to "code point in
 charset", to avoid confusion with the character's Unicode code
 point shown above that.

12 years agoFix character display by "C-u C-x =" in presence of display properties.
Eli Zaretskii [Sat, 28 Jan 2012 09:52:24 +0000 (11:52 +0200)]
Fix character display by "C-u C-x =" in presence of display properties.

 lisp/descr-text.el (describe-char): Show the raw character, not only
 its display form at POS.  Suggested by Kenichi Handa <handa@m17n.org>.
 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
 for the reasons.

12 years agoFix last commit.
Chong Yidong [Sat, 28 Jan 2012 09:50:52 +0000 (17:50 +0800)]
Fix last commit.

12 years agoFix M-x package-install failure if no archive has been fetched yet.
Phil Hagelberg [Sat, 28 Jan 2012 09:49:29 +0000 (17:49 +0800)]
Fix M-x package-install failure if no archive has been fetched yet.

* emacs-lisp/package.el (package-install): Run
package-refresh-contents if there is no archive yet.

Fixes: debbugs:97978

12 years agoFix package.el dependency handling so that `require' calls work.
Chong Yidong [Sat, 28 Jan 2012 08:14:24 +0000 (16:14 +0800)]
Fix package.el dependency handling so that `require' calls work.

* lisp/emacs-lisp/package.el (package-maybe-load-descriptor): New
function, split from package-maybe-load-descriptor.
(package-maybe-load-descriptor): Use it.
(package-download-transaction): Fully load required packages
inside the loop, so that `require' calls work.
(package-install): No need to call package-initialize now.

Fixes: debbugs:10593

12 years agoMark tooltip-use-echo-area as obsolete.
Chong Yidong [Sat, 28 Jan 2012 05:02:02 +0000 (13:02 +0800)]
Mark tooltip-use-echo-area as obsolete.

* lisp/tooltip.el (tooltip-mode): Doc fix.
(tooltip-use-echo-area): Mark as obsolete.

Fixes: debbugs:6595

12 years ago* doc/emacs/frames.texi (Input Focus): Fix doc for select-frame-set-input-focus.
Chong Yidong [Sat, 28 Jan 2012 04:26:33 +0000 (12:26 +0800)]
* doc/emacs/frames.texi (Input Focus): Fix doc for select-frame-set-input-focus.
Clarify role of NORECORD arg to select-frame.

12 years ago* doc/emacs/files.texi (Filesets): Fix typos.
Chong Yidong [Sat, 28 Jan 2012 04:12:47 +0000 (12:12 +0800)]
* doc/emacs/files.texi (Filesets): Fix typos.

12 years ago* doc/lispref/text.texi (Transposition): We don't use transpose-region as an internal...
Chong Yidong [Sat, 28 Jan 2012 03:56:20 +0000 (11:56 +0800)]
* doc/lispref/text.texi (Transposition): We don't use transpose-region as an internal subroutine.

Fixes: debbugs:3249

12 years ago* doc/lispref/modes.texi (Example Major Modes): Update Lisp example code
Chong Yidong [Sat, 28 Jan 2012 03:49:22 +0000 (11:49 +0800)]
* doc/lispref/modes.texi (Example Major Modes): Update Lisp example code
to current sources.  Delete the old non-derived-major-mode
example, which has diverged badly from current sources.

* lisp/text-mode.el (text-mode): Minor tweak to make the mirrored
manual node nicer.

12 years ago* lisp/frame.el (set-cursor-color): Doc fix.
Chong Yidong [Sat, 28 Jan 2012 03:21:04 +0000 (11:21 +0800)]
* lisp/frame.el (set-cursor-color): Doc fix.

* doc/emacs/display.texi (Faces): Add xref to Colors node.

Fixes: debbugs:352

12 years ago* src/s/gnu.h: Define POSIX_SIGNALS.
Chong Yidong [Sat, 28 Jan 2012 03:11:41 +0000 (11:11 +0800)]
* src/s/gnu.h: Define POSIX_SIGNALS.

Fixes: debbugs:10552

12 years ago* minibuf.c (syms_of_minibuf): Doc fix.
Chong Yidong [Sat, 28 Jan 2012 03:04:55 +0000 (11:04 +0800)]
* minibuf.c (syms_of_minibuf): Doc fix.

Fixes: debbugs:10550

12 years ago* lisp/cus-edit.el (customize-unsaved, customize-saved): Doc fix.
Chong Yidong [Sat, 28 Jan 2012 02:56:35 +0000 (10:56 +0800)]
* lisp/cus-edit.el (customize-unsaved, customize-saved): Doc fix.

Fixes: debbugs:10541

12 years agoPaperwork has arrived for Dave Abrahams, so remove "(tiny change)".
Lars Ingebrigtsen [Sat, 28 Jan 2012 02:28:36 +0000 (02:28 +0000)]
Paperwork has arrived for Dave Abrahams, so remove "(tiny change)".

12 years agoMerge changes made in Gnus trunk
Gnus developers [Sat, 28 Jan 2012 02:25:57 +0000 (02:25 +0000)]
Merge changes made in Gnus trunk

shr.el (shr-browse-url): Fix the name of the `browse-url-mail' function call.
gnus-demon.el (gnus-demon-run-callback, gnus-demon-init): Convert to seconds, and make the repeat clause with HH:MM specs work as documented.

12 years ago* mail/rmail.el (rmail-mail-return): Only switch to live buffers.
Chong Yidong [Sat, 28 Jan 2012 02:01:05 +0000 (10:01 +0800)]
* mail/rmail.el (rmail-mail-return): Only switch to live buffers.

12 years ago* lisp/mail/rmail.el (rmail-start-mail): Add send-action again.
Chong Yidong [Sat, 28 Jan 2012 01:58:27 +0000 (09:58 +0800)]
* lisp/mail/rmail.el (rmail-start-mail): Add send-action again.
(rmail-mail-return): Switch to NEWBUF only if it is non-nil.

Fixes: debbugs:10625

12 years ago* cus-edit.el (custom-buffer-create-internal): Fix search button action.
Chong Yidong [Sat, 28 Jan 2012 01:17:42 +0000 (09:17 +0800)]
* cus-edit.el (custom-buffer-create-internal): Fix search button action.

Fixes: debbugs:10542

12 years ago* dired.el (dired-mark-files-regexp): Include any subdirectory components.
Eduard Wiebe [Fri, 27 Jan 2012 21:40:44 +0000 (13:40 -0800)]
* dired.el (dired-mark-files-regexp): Include any subdirectory components.

Fixes: debbugs:10445

12 years ago* etc/NEWS: --no-site-lisp (presumably) does not work for Nextstep builds.
Glenn Morris [Fri, 27 Jan 2012 21:19:13 +0000 (13:19 -0800)]
* etc/NEWS: --no-site-lisp (presumably) does not work for Nextstep builds.

This is due to their use of EMACSLOADPATH; see
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=6401#48
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=10208#25

12 years agopcmpl-ssh-known-hosts tiny change
Mike Lamb [Fri, 27 Jan 2012 21:14:16 +0000 (13:14 -0800)]
pcmpl-ssh-known-hosts tiny change

* lisp/pcmpl-unix.el (pcmpl-ssh-known-hosts): Handle [host]:port syntax.

Fixes: debbugs:10533

12 years agodoc/lispref/makefile.w32-in small fixes
Glenn Morris [Fri, 27 Jan 2012 21:03:56 +0000 (13:03 -0800)]
doc/lispref/makefile.w32-in small fixes

* doc/lispref/makefile.w32-in (texinputdir): Fix (presumed) typo.
(VERSION, manual): Remove, unused.

12 years agoMerge changes made in Gnus trunk
Lars Ingebrigtsen [Fri, 27 Jan 2012 14:32:25 +0000 (14:32 +0000)]
Merge changes made in Gnus trunk

gnus-start.el (gnus-get-unread-articles): Clear out "early" methods so that previous errors don't prohibit getting new news.
nnimap.el (nnimap-retrieve-group-data-early): Ditto.
nntp.el (nntp-retrieve-group-data-early): Ditto.

12 years agoMajor update of TUTORIAL.fr and tiny fix to TUTORIAL.
Bastien Guerry [Fri, 27 Jan 2012 11:05:51 +0000 (12:05 +0100)]
Major update of TUTORIAL.fr and tiny fix to TUTORIAL.

12 years ago* xml.el (xml-parse-tag): Fix parsing of comments.
Alex Harsanyi [Fri, 27 Jan 2012 08:46:10 +0000 (16:46 +0800)]
* xml.el (xml-parse-tag): Fix parsing of comments.

Fixes: debbugs:10405

12 years agoMinor clarification in Lisp manual about pre/post-command-hook.
Chong Yidong [Fri, 27 Jan 2012 08:35:51 +0000 (16:35 +0800)]
Minor clarification in Lisp manual about pre/post-command-hook.

* doc/lispref/commands.texi (Command Overview): Minor clarification (Bug#10384).

12 years agoDoc fixes for buffers.texi and text.texi in Emacs manual.
Dani Moncayo [Fri, 27 Jan 2012 08:19:19 +0000 (16:19 +0800)]
Doc fixes for buffers.texi and text.texi in Emacs manual.

* doc/emacs/buffers.texi (Select Buffer): Clarify explanation of switching
to new buffers.  Fix description of next-buffer and
previous-buffer (Bug#10334).
(Misc Buffer): Add xref to View Mode.

* doc/emacs/text.texi (Fill Commands): Fix description of
sentence-end-double-space.

12 years agognus-sum.el (gnus-summary-mode): Fix last change.
Katsumi Yamaoka [Fri, 27 Jan 2012 03:36:45 +0000 (03:36 +0000)]
gnus-sum.el (gnus-summary-mode): Fix last change.

12 years agognus-sum.el (gnus-summary-mode): Comment fix.
Katsumi Yamaoka [Thu, 26 Jan 2012 23:24:06 +0000 (23:24 +0000)]
gnus-sum.el (gnus-summary-mode): Comment fix.

12 years agoMerge changes made in Gnus trunk.
Gnus developers [Thu, 26 Jan 2012 23:03:28 +0000 (23:03 +0000)]
Merge changes made in Gnus trunk.

gnus-sum.el (gnus-summary-mode): Don't make bidi-paragraph-direction bound in old Emacsen and XEmacsen.
gnus.el (gnus-group-find-parameter): Check for liveness of the buffer, not of the string which is its name.
gnus-sum.el (gnus-summary-move-article): Don't propagate marks to non-server-marks groups.
 (gnus-group-make-articles-read): Ditto.
gnus-srvr.el (gnus-server-prepare): Use it to avoid showing ephemeral methods (bug#9676).
gnus.el (gnus-method-ephemeral-p): New function.

12 years agont/README.W32, nt/INSTALL: Update the URL for GnuTLS binaries.
Eli Zaretskii [Thu, 26 Jan 2012 21:37:32 +0000 (23:37 +0200)]
nt/README.W32, nt/INSTALL: Update the URL for GnuTLS binaries.

12 years ago* src/keyboard.c (Vecho_keystrokes): Document zero value.
Chong Yidong [Thu, 26 Jan 2012 16:09:35 +0000 (00:09 +0800)]
* src/keyboard.c (Vecho_keystrokes): Document zero value.

Fixes: debbugs:10503

12 years agoDocument negative repeat counts for search-forward and search-backward.
Chong Yidong [Thu, 26 Jan 2012 15:48:27 +0000 (23:48 +0800)]
Document negative repeat counts for search-forward and search-backward.

* doc/lispref/searching.texi (String Search): Document negative repeat count.

* src/search.c (Fsearch_forward, Fsearch_backward): Document negative
repeat counts (Bug#10507).

12 years agoAuto-commit of loaddefs files.
Glenn Morris [Thu, 26 Jan 2012 11:18:28 +0000 (06:18 -0500)]
Auto-commit of loaddefs files.

12 years agoMerge changes made in Gnus trunk
Lars Ingebrigtsen [Thu, 26 Jan 2012 10:43:01 +0000 (10:43 +0000)]
Merge changes made in Gnus trunk

nnimap.el (nnir-search-thread): Autoload to avoid a compilation warning.
gnus-sum.el (gnus-summary-line-format-alist): Don't try to macroexpand the nnir things, since they haven't been defined yet, and nnir requires gnus-sum.

12 years agognus-sum.el (gnus-summary-mode): Force paragraph direction to be left-to-right.
Katsumi Yamaoka [Thu, 26 Jan 2012 10:38:22 +0000 (10:38 +0000)]
gnus-sum.el (gnus-summary-mode): Force paragraph direction to be left-to-right.

12 years agoDoc fix for lexical-binding being in line one.
Glenn Morris [Thu, 26 Jan 2012 06:30:49 +0000 (22:30 -0800)]
Doc fix for lexical-binding being in line one.

Ref http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00543.html

* doc/lispref/variables.texi (Using Lexical Binding):
Mention that lexical-binding should be set in the first line.

* src/lread.c (syms_of_lread): Doc fix.

* lisp/emacs-lisp/tabulated-list.el, lisp/progmodes/f90.el:
Move lexical-binding file-local to line one.

* etc/NEWS: lexical-binding should be ine the first line.

12 years agoUse ctl-x-map in place of C-x (bug#10566)
Glenn Morris [Thu, 26 Jan 2012 02:32:56 +0000 (21:32 -0500)]
Use ctl-x-map in place of C-x (bug#10566)

For an example of the problems NOT doing this might cause, see eg
http://lists.gnu.org/archive/html/bug-gnu-emacs/2006-07/msg00000.html
Eg after:
  (global-set-key (kbd "C-u") ctl-x-map)
  (global-set-key (kbd "C-x") 'universal-argument)
just loading dired-x.el or term.el would give an error.

* lisp/dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
* lisp/term.el (term-raw-escape-map): Use Control-X-prefix.
* lisp/vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map.

12 years agoFurther `declare' clarifications
Lars Ingebrigtsen [Thu, 26 Jan 2012 00:02:02 +0000 (01:02 +0100)]
Further `declare' clarifications

* macros.texi (Defining Macros): Don't claim that `declare' only
affects Edebug and indentation.

12 years ago* macros.texi (Defining Macros): Slight `declare' fixup.
Lars Ingebrigtsen [Wed, 25 Jan 2012 23:55:44 +0000 (00:55 +0100)]
* macros.texi (Defining Macros): Slight `declare' fixup.

12 years ago* doc/lispref/makefile.w32-in (texinputdir): Copy previous Makefile.in change.
Glenn Morris [Wed, 25 Jan 2012 21:50:12 +0000 (16:50 -0500)]
* doc/lispref/makefile.w32-in (texinputdir): Copy previous Makefile.in change.

12 years ago* doc/lispref/Makefile.in (ENVADD): Add $emacsdir. (Bug#10603)
Glenn Morris [Wed, 25 Jan 2012 21:42:37 +0000 (16:42 -0500)]
* doc/lispref/Makefile.in (ENVADD): Add $emacsdir.  (Bug#10603)

12 years agoIgnore fixed-sizeness when getting a window's state.
Martin Rudalics [Wed, 25 Jan 2012 14:52:10 +0000 (15:52 +0100)]
Ignore fixed-sizeness when getting a window's state.

* window.el (window-state-get, window--state-get-1): Don't deal
with fixed-sizeness of windows.  Simplify code.

12 years agoIn window states don't deal with the mark.
Jérémy Compostella [Wed, 25 Jan 2012 14:28:01 +0000 (15:28 +0100)]
In window states don't deal with the mark.

* window.el (window--state-get-1, window--state-put-2): Don't
save and restore the mark.

12 years agodired-goto-file fix for some `ls -b' escapes.
Glenn Morris [Wed, 25 Jan 2012 08:20:24 +0000 (00:20 -0800)]
dired-goto-file fix for some `ls -b' escapes.

* lisp/dired.el (dired-goto-file):
Handle some of the more common characters that `ls -b' escapes.

Fixes: debbugs:10596

12 years agoUpdate TUTORIAL.sv.
Mats Lidell [Wed, 25 Jan 2012 06:12:10 +0000 (14:12 +0800)]
Update TUTORIAL.sv.

12 years agoMerge from emacs-23 branch
Chong Yidong [Wed, 25 Jan 2012 05:55:01 +0000 (13:55 +0800)]
Merge from emacs-23 branch

12 years agoTweak custom-variable-p and user-variable-p docs.
Chong Yidong [Wed, 25 Jan 2012 05:48:11 +0000 (13:48 +0800)]
Tweak custom-variable-p and user-variable-p docs.

* lisp/custom.el (custom-variable-p): Doc fix.

* src/eval.c (Fuser_variable_p): Doc fix; mention custom-variable-p.

12 years agocompile/grep fix for bug#10594
Glenn Morris [Wed, 25 Jan 2012 02:01:22 +0000 (21:01 -0500)]
compile/grep fix for bug#10594

* lisp/progmodes/compile.el (compilation-next-error-function):
Respect compilation-first-column in the "*compilation*" buffer.
* lisp/progmodes/grep.el (grep-first-column): New variable.

12 years ago* lisp/vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
Glenn Morris [Wed, 25 Jan 2012 00:07:04 +0000 (19:07 -0500)]
* lisp/vc/vc.el (vc-modify-change-comment): Scoping fix.  (Bug#10513)

12 years ago* lisp/pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
Glenn Morris [Tue, 24 Jan 2012 18:10:39 +0000 (13:10 -0500)]
* lisp/pcmpl-gnu.el (pcomplete/tar): Handle " - ".  (Bug#10457)

12 years agoUpdate Variables chapter of Lisp manual to handle lexical binding.
Chong Yidong [Tue, 24 Jan 2012 16:08:00 +0000 (00:08 +0800)]
Update Variables chapter of Lisp manual to handle lexical binding.

* doc/lispref/variables.texi (Variables, Local Variables, Void Variables):
Edit to make the descriptions less specific to dynamic binding.
(Local Variables): Default max-specpdl-size is now 1300.
(Defining Variables): Edits for lexical scoping.  Delete
information about starting docstrings with *.  De-document
user-variable-p.
(Tips for Defining): Remove an unimportant discussion of quitting
in the middle of a load.
(Accessing Variables, Setting Variables): Discuss lexical binding.
(Variable Scoping): Rewrite.
(Scope, Extent, Impl of Scope): Nodes deleted.
(Dynamic Binding): New node, with material from Scope, Extent, and
Impl of Scope nodes.
(Dynamic Binding Tips): Rename from Using Scoping.
(Lexical Binding): Rewrite.
(Using Lexical Binding): Rename from Converting to Lexical
Binding.  Convert to subsection.

* doc/lispref/customize.texi (Variable Definitions): Add custom-variable-p.
Move user-variable-p documentation here.

12 years agocolor.el: Add saturate, lighten functions.
Julien Danjou [Tue, 24 Jan 2012 12:06:51 +0000 (12:06 +0000)]
color.el: Add saturate, lighten functions.

12 years agoFix rcs and sccs create-tag commands.
Glenn Morris [Tue, 24 Jan 2012 08:22:50 +0000 (00:22 -0800)]
Fix rcs and sccs create-tag commands.

* lisp/vc/vc-rcs.el (vc-rcs-create-tag):
* lisp/vc/vc-sccs.el (vc-sccs-create-tag):
Fix argument spec to be what vc-create-tag expects.

Fixes: debbugs:10515

12 years agoSpelling fix.
Paul Eggert [Mon, 23 Jan 2012 19:44:28 +0000 (11:44 -0800)]
Spelling fix.

12 years agoReplace vc-dired references in comments with vc-dir.
Glenn Morris [Mon, 23 Jan 2012 08:45:59 +0000 (00:45 -0800)]
Replace vc-dired references in comments with vc-dir.

12 years ago* pcl-cvs.texi (About PCL-CVS): Refer to vc-dir rather than vc-dired.
Glenn Morris [Mon, 23 Jan 2012 08:38:22 +0000 (00:38 -0800)]
* pcl-cvs.texi (About PCL-CVS): Refer to vc-dir rather than vc-dired.

12 years ago* lisp/eshell/esh-util.el (pcomplete/ssh): Remove alias. (tiny change)
Mike Lamb [Mon, 23 Jan 2012 08:18:22 +0000 (00:18 -0800)]
* lisp/eshell/esh-util.el (pcomplete/ssh): Remove alias.  (tiny change)
There is a better pcomplete/ssh defined in pcmpl-unix.el.

Fixes: debbugs:10548

12 years agoHandle comments in eshell-read-hosts-file (tiny change)
Mike Lamb [Mon, 23 Jan 2012 08:12:10 +0000 (00:12 -0800)]
Handle comments in eshell-read-hosts-file (tiny change)

* lisp/eshell/esh-util.el (eshell-read-hosts-file): Skip comment lines.

Fixes: debbugs:10549

12 years agoFix last change.
Chong Yidong [Mon, 23 Jan 2012 06:54:20 +0000 (14:54 +0800)]
Fix last change.

12 years ago* doc/emacs/anti.texi (Antinews): Add Emacs 24 antinews.
Chong Yidong [Mon, 23 Jan 2012 06:52:18 +0000 (14:52 +0800)]
* doc/emacs/anti.texi (Antinews): Add Emacs 24 antinews.

12 years agoUpdate several Lisp manual chapters.
Chong Yidong [Mon, 23 Jan 2012 04:23:50 +0000 (12:23 +0800)]
Update several Lisp manual chapters.

* doc/lispref/eval.texi (Intro Eval, Symbol Forms): Minor tweaks for
correctness with lexical scoping.
(Eval): Copyedits.

* doc/lispref/sequences.texi (Sequence Functions): Don't repeat the
introduction already given in the parent.
(Vectors): Copyedits.
(Rings): Move from lists.texi.  Note that this is specific to the
ring package.

* doc/lispref/lists.texi (Cons Cells): Copyedits.
(List Elements): Mention push.
(List Variables): Mention pop.
(Rings): Move to sequences.texi.

* doc/lispref/strings.texi (Text Comparison): Minor qualification.

* doc/lispref/symbols.texi (Definitions, Symbol Components): Mention variable
scoping issues.
(Plists and Alists): Copyedits.

12 years agolisp/subr.el: Rework previous change.
Juanma Barranquero [Mon, 23 Jan 2012 02:10:36 +0000 (03:10 +0100)]
lisp/subr.el: Rework previous change.

* lisp/subr.el (display-delayed-warnings): Doc fix.
  (collapse-delayed-warnings): New function to collapse identical
  adjacent warnings.
  (delayed-warnings-hook): Add it.

12 years agolisp/subr.el (display-delayed-warnings): Collapse identical adjacent messages.
Juanma Barranquero [Mon, 23 Jan 2012 01:10:50 +0000 (02:10 +0100)]
lisp/subr.el (display-delayed-warnings): Collapse identical adjacent messages.

12 years ago* net/tramp.el (tramp-action-login): Set connection property "login-as".
Michael Albinus [Sun, 22 Jan 2012 12:55:36 +0000 (13:55 +0100)]
* net/tramp.el (tramp-action-login): Set connection property "login-as".

* net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
properties, when "login-as" is set.

* net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
(tramp-default-user-alist): Don't add "pscp".
(tramp-do-copy-or-rename-file-out-of-band): Use connection
property "login-as", if set.  (Bug#10530)

12 years agomm-decode.el (mm-interactively-view-part): Fix prompt.
Lars Magne Ingebrigtsen [Sun, 22 Jan 2012 00:54:58 +0000 (00:54 +0000)]
mm-decode.el (mm-interactively-view-part): Fix prompt.

12 years agoEmacs Lisp manual updates.
Chong Yidong [Sat, 21 Jan 2012 16:04:55 +0000 (00:04 +0800)]
Emacs Lisp manual updates.

* doc/lispref/intro.texi (A Sample Function Description): Special notation
used for macros too.

* doc/lispref/objects.texi (Ctl-Char Syntax, Other Char Bits): Copyedits.
(Symbol Type): Add xref for keyword symbols.
(Sequence Type): Clarify differences between sequence types.
(Cons Cell Type): Add "linked list" index entry.
(Non-ASCII in Strings): Copyedits.
(Equality Predicates): Symbols with same name need not be eq.

* doc/lispref/numbers.texi (Float Basics): Document isnan, copysign, frexp and
ldexp.  Move float-e and float-pi to Math Functions node.

12 years ago* net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
Michael Albinus [Sat, 21 Jan 2012 16:02:53 +0000 (17:02 +0100)]
* net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
"plink1" and "psftp".  (Bug#10530)

12 years agoMake second arg of copysign non-optional.
Chong Yidong [Sat, 21 Jan 2012 15:52:46 +0000 (23:52 +0800)]
Make second arg of copysign non-optional.

* src/floatfns.c (Fcopysign): Make the second argument non-optional,
since nil is not allowed anyway.

12 years agoUpdate TUTORIAL.bg.
Ognyan Kulev [Sat, 21 Jan 2012 14:58:38 +0000 (22:58 +0800)]
Update TUTORIAL.bg.

12 years agomerge trunk
Kenichi Handa [Sat, 21 Jan 2012 11:36:42 +0000 (20:36 +0900)]
merge trunk

12 years ago* process.c (read_process_output): Use p instead of XPROCESS (proc).
Andreas Schwab [Sat, 21 Jan 2012 10:54:19 +0000 (11:54 +0100)]
* process.c (read_process_output): Use p instead of XPROCESS (proc).
(send_process): Likewise.

12 years agoFix windmove-reference-loc miscalculation.
Jérémy Compostella [Sat, 21 Jan 2012 10:02:34 +0000 (11:02 +0100)]
Fix windmove-reference-loc miscalculation.