bpt/emacs.git
11 years agoMerge from trunk.
Eli Zaretskii [Wed, 1 May 2013 17:47:50 +0000 (20:47 +0300)]
Merge from trunk.

11 years agoImprove INSTALL.MSYS instructions given feedback from Dani Moncayo.
Eli Zaretskii [Wed, 1 May 2013 17:35:46 +0000 (20:35 +0300)]
Improve INSTALL.MSYS instructions given feedback from Dani Moncayo.

11 years ago* progmodes/octave.el: Compatible with older emacs-24 releases.
Leo Liu [Wed, 1 May 2013 17:25:03 +0000 (01:25 +0800)]
* progmodes/octave.el: Compatible with older emacs-24 releases.

11 years agoMerge from trunk.
Eli Zaretskii [Wed, 1 May 2013 17:12:42 +0000 (20:12 +0300)]
Merge from trunk.

11 years ago* progmodes/octave.el (inferior-octave-has-built-in-variables):
Leo Liu [Wed, 1 May 2013 16:42:18 +0000 (00:42 +0800)]
* progmodes/octave.el (inferior-octave-has-built-in-variables):
Remove.  Buil-in variables were removed from Octave in 2007.
(inferior-octave-startup): Fix uses.
(comint-line-beginning-position): Remove compatibility code for
emacs 21.

11 years agoAuto-commit of loaddefs files.
Glenn Morris [Wed, 1 May 2013 10:17:34 +0000 (06:17 -0400)]
Auto-commit of loaddefs files.

11 years ago* lisp/isearch.el (isearch-forward, isearch-mode): Doc fix.
Juri Linkov [Wed, 1 May 2013 08:10:12 +0000 (11:10 +0300)]
* lisp/isearch.el (isearch-forward, isearch-mode): Doc fix.

Fixes: debbugs:13923

11 years ago* lisp/comint.el (comint-previous-matching-input): Don't print message
Juri Linkov [Wed, 1 May 2013 08:05:05 +0000 (11:05 +0300)]
* lisp/comint.el (comint-previous-matching-input): Don't print message
"History item: %d" when `isearch-mode' is active.
(comint-history-isearch-message): Print message "History item: %d"
when `comint-input-ring-index' is not empty and this function is
called from `isearch-update' with a nil `ellipsis'.

Fixes: debbugs:13223

11 years ago* src/nsfns.m (ns_tooltip): Initialize.
David Reitter [Wed, 1 May 2013 07:02:19 +0000 (00:02 -0700)]
* src/nsfns.m (ns_tooltip): Initialize.

11 years ago* progmodes/octave.el (octave-abbrev-table): Remove abbrev
Leo Liu [Wed, 1 May 2013 06:13:20 +0000 (14:13 +0800)]
* progmodes/octave.el (octave-abbrev-table): Remove abbrev
definitions.  Use completion-at-point to insert keywords.
(octave-abbrev-start): Remove.
(inferior-octave-mode, octave-mode): Use :abbrev-table instead.

11 years agolisp/gnus/ChangeLog: Add Bug#
Katsumi Yamaoka [Wed, 1 May 2013 00:37:07 +0000 (00:37 +0000)]
lisp/gnus/ChangeLog: Add Bug#

11 years agognus-util.el (gnus-emacs-completing-read): Fix a filter for XEmacs
Katsumi Yamaoka [Wed, 1 May 2013 00:29:13 +0000 (00:29 +0000)]
gnus-util.el (gnus-emacs-completing-read): Fix a filter for XEmacs

11 years ago* progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
Leo Liu [Tue, 30 Apr 2013 16:27:36 +0000 (00:27 +0800)]
* progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
change.

11 years agoHandle arbitrarily long C++ member initialisation lists.
Alan Mackenzie [Tue, 30 Apr 2013 16:19:14 +0000 (16:19 +0000)]
Handle arbitrarily long C++ member initialisation lists.
        * progmodes/cc-engine.el (c-back-over-member-initializers): new
        function.
        (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
        (most) member init lists.

11 years ago* progmodes/octave.el (inferior-octave-prompt-read-only): New user
Rüdiger Sonderfeld [Tue, 30 Apr 2013 15:20:46 +0000 (23:20 +0800)]
* progmodes/octave.el (inferior-octave-prompt-read-only): New user
variable.

11 years ago* progmodes/octave.el (octave-variables): Remove. No builtin
Leo Liu [Tue, 30 Apr 2013 14:23:03 +0000 (22:23 +0800)]
* progmodes/octave.el (octave-variables): Remove.  No builtin
variables any more.  All converted to functions.
(octave-font-lock-keywords, octave-completion-at-point-function):
Fix uses.
(octave-font-lock-texinfo-comment): New user variable.
(octave-texinfo-font-lock-keywords): New variable for texinfo
comment block.
(octave-function-comment-block): New face.
(octave-font-lock-texinfo-comment): New function.
(octave-mode): Font lock texinfo comment block.

11 years agoAuto-commit of generated files.
Glenn Morris [Tue, 30 Apr 2013 10:17:35 +0000 (06:17 -0400)]
Auto-commit of generated files.

11 years ago* progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
Leo Liu [Mon, 29 Apr 2013 20:09:18 +0000 (04:09 +0800)]
* progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
indexing expression.
(octave-continuation-string): Do not use \.
(inferior-octave-complete-impossible): Remove.
(inferior-octave-completion-table)
(inferior-octave-completion-at-point): Remove its uses.
(inferior-octave-startup): completion_matches was introduced to
Octave in 1996 so safe to assume it.
(octave-function-file-comment): Improve to follow how Octave does it.
(octave-update-function-file-comment): Tweak.

11 years agoMerge from gnulib.
Paul Eggert [Mon, 29 Apr 2013 04:48:30 +0000 (21:48 -0700)]
Merge from gnulib.

This incorporates:
2013-04-28 extern-inline: work around bug in Sun c99

11 years ago* progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
Leo Liu [Mon, 29 Apr 2013 04:37:36 +0000 (12:37 +0800)]
* progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
(inferior-octave-startup): Remove inferior-octave-startup-hook.
(octave-function-file-comment): Fix typo.
(octave-sync-function-file-names): Use read-char-choice.

11 years agoFix bug #14287 with decoding EOL by *-dos coding systems.
Eli Zaretskii [Sun, 28 Apr 2013 18:21:01 +0000 (21:21 +0300)]
Fix bug #14287 with decoding EOL by *-dos coding systems.

 src/coding.c (decode_coding_gap): Don't remove the character before
 a newline unless it's a CR character.

11 years ago* calc/calc.el (math-normalize): Don't set `math-normalize-error' to t
Jay Belanger [Sun, 28 Apr 2013 16:39:10 +0000 (11:39 -0500)]
* calc/calc.el (math-normalize): Don't set `math-normalize-error' to t
for the less important warnings.

11 years ago* dispextern.h (struct face): Move enum face_underline_type
Dan Nicolaescu [Sun, 28 Apr 2013 13:11:16 +0000 (09:11 -0400)]
* dispextern.h (struct face): Move enum face_underline_type
earlier so that bitfields can be in the same word.

11 years ago* nsfns.m (handlePanelKeys): New function.
Jan Djärv [Sun, 28 Apr 2013 09:55:20 +0000 (11:55 +0200)]
* nsfns.m (handlePanelKeys): New function.
(EmacsOpenPanel:performKeyEquivalent:)
(EmacsSavePanel:performKeyEquivalent:): Call handlePanelKeys to handle
arrows/function/control and copy/paste keys.

Fixes: debbugs:14296

11 years agolisp/gnus/sieve-manage.el (sieve-manage-authenticator-alist): Update the sieve port...
Julien Danjou [Sat, 27 Apr 2013 23:57:29 +0000 (23:57 +0000)]
lisp/gnus/sieve-manage.el (sieve-manage-authenticator-alist): Update the sieve port to "sieve" now that it has an official IANA port assigned

11 years ago* lisp/isearch.el (isearch-fail-pos): Check for empty `cmds'.
Darren Hoo [Sat, 27 Apr 2013 22:03:42 +0000 (01:03 +0300)]
* lisp/isearch.el (isearch-fail-pos): Check for empty `cmds'.

Fixes: debbugs:14268

11 years ago* lisp/cedet/semantic/complete.el
David Engster [Sat, 27 Apr 2013 21:45:37 +0000 (23:45 +0200)]
* lisp/cedet/semantic/complete.el
  (semantic-collector-calculate-completions-raw): If `completionslist'
  is not set, refresh the cache if necessary and use it for
  completions.  This fixes the `semantic-collector-buffer-deep'
  collector (bug#14265).

11 years ago* gnus/gnus.el (gnus-list-debbugs): Use require rather than autoload.
Glenn Morris [Sat, 27 Apr 2013 21:32:17 +0000 (14:32 -0700)]
* gnus/gnus.el (gnus-list-debbugs): Use require rather than autoload.

Fixes: debbugs:14262

11 years ago* vc/log-view.el (log-view-current-entry):
Glenn Morris [Sat, 27 Apr 2013 21:29:00 +0000 (14:29 -0700)]
* vc/log-view.el (log-view-current-entry):
Treat "---" separator lines as part of the following rev.

Fixes: debbugs:14169

11 years ago* src/callint.c (Fcall_interactively): Call `Qread_number' for
Juri Linkov [Sat, 27 Apr 2013 21:12:17 +0000 (00:12 +0300)]
* src/callint.c (Fcall_interactively): Call `Qread_number' for
interactive code letter `n' instead of using duplicate code.

* lisp/subr.el (read-number): Doc fix about using it by interactive
code letter `n'.

Fixes: debbugs:14254

11 years ago* lisp/desktop.el (desktop-auto-save-timeout): New option.
Juri Linkov [Sat, 27 Apr 2013 20:55:00 +0000 (23:55 +0300)]
* lisp/desktop.el (desktop-auto-save-timeout): New option.
(desktop-file-checksum): New variable.
(desktop-save): Add optional arg `auto-save' and don't auto-save
if nothing changed.
(desktop-auto-save-timer): New variable.
(desktop-auto-save, desktop-auto-save-set-timer): New functions.
(after-init-hook): Call `desktop-auto-save-set-timer'.
Suggested by Reuben Thomas <rrt@sc3d.org> in
<http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.

11 years agoMerge from gnulib.
Paul Eggert [Sat, 27 Apr 2013 19:30:33 +0000 (12:30 -0700)]
Merge from gnulib.

11 years ago* files.el (basic-save-buffer): Don't let errors in
Leo Liu [Sat, 27 Apr 2013 17:07:01 +0000 (01:07 +0800)]
* files.el (basic-save-buffer): Don't let errors in
before-save-hook prevent saving buffer.

* progmodes/octave.el (octave-function-file-p)
(octave-skip-comment-forward, octave-function-file-comment)
(octave-update-function-file-comment): New functions.
(octave-mode-map): Bind C-c ; to
octave-update-function-file-comment.
(octave-mode-menu): Add octave-update-function-file-comment.
(octave-mode, inferior-octave-mode): Fix doc-string.
(octave-insert-defun): Conform to Octave's coding convention.

Fixes: debbugs:14285

11 years agoread-face-name: Use completing-read if arg multiple is nil
Roland Winkler [Sat, 27 Apr 2013 17:01:17 +0000 (12:01 -0500)]
read-face-name: Use completing-read if arg multiple is nil

11 years agoFix Dired when ls-lisp is used and the -a switch is not used.
Ingo Lohmar [Sat, 27 Apr 2013 16:55:29 +0000 (19:55 +0300)]
Fix Dired when ls-lisp is used and the -a switch is not used.

 lisp/ls-lisp.el (ls-lisp-insert-directory): If no files are
 displayed, move point to after the totals line.  See
 http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
 for the details.

11 years ago* systime.h (make_timeval): Declare as 'const'.
Paul Eggert [Sat, 27 Apr 2013 15:34:28 +0000 (08:34 -0700)]
* systime.h (make_timeval): Declare as 'const'.

11 years agomerge trunk
Kenichi Handa [Sat, 27 Apr 2013 13:35:45 +0000 (22:35 +0900)]
merge trunk

11 years agomerge trunk
Kenichi Handa [Sat, 27 Apr 2013 13:34:02 +0000 (22:34 +0900)]
merge trunk

11 years ago* lisp/emacs-lisp/package.el (package-autoload-ensure-default-file):
Stefan Monnier [Sat, 27 Apr 2013 13:32:53 +0000 (09:32 -0400)]
* lisp/emacs-lisp/package.el (package-autoload-ensure-default-file):
Add current dir to the load-path.
(package-generate-autoloads): Don't rely on autoload-ensure-default-file.

11 years agofont.c (font_open_entity): Always open a font of manageable size.
Kenichi Handa [Sat, 27 Apr 2013 13:32:24 +0000 (22:32 +0900)]
font.c (font_open_entity): Always open a font of manageable size.

11 years agoAuto-commit of generated files.
Glenn Morris [Sat, 27 Apr 2013 10:17:37 +0000 (06:17 -0400)]
Auto-commit of generated files.

11 years agolisp/ChangeLog: Tiny ChangeLog formatting fix.
Bastien Guerry [Sat, 27 Apr 2013 06:38:41 +0000 (08:38 +0200)]
lisp/ChangeLog: Tiny ChangeLog formatting fix.

11 years agoFix docstring buglet in remember.el
Reuben Thomas [Fri, 26 Apr 2013 23:55:06 +0000 (00:55 +0100)]
Fix docstring buglet in remember.el

11 years agoPort better to AIX.
Paul Eggert [Fri, 26 Apr 2013 19:31:09 +0000 (12:31 -0700)]
Port better to AIX.

* configure.ac (CFLAGS): Append -O if the user did not specify CFLAGS,
we did not already infer an optimization option, and -O works.
AIX xlc needs -O, otherwise garbage collection doesn't work.
* src/lisp.h (ENUM_BF) [__IBMC__]: Make it 'unsigned int' here, too,
to pacify AIX xlc.

Fixes: debbugs:14258

11 years ago* progmodes/octave.el (octave-sync-function-file-names): Fix last
Leo Liu [Fri, 26 Apr 2013 17:11:04 +0000 (01:11 +0800)]
* progmodes/octave.el (octave-sync-function-file-names): Fix last
  change.

11 years ago* progmodes/octave.el (octave-sync-function-file-names): New function.
Leo Liu [Fri, 26 Apr 2013 16:44:38 +0000 (00:44 +0800)]
* progmodes/octave.el (octave-sync-function-file-names): New function.
(octave-mode): Use it in before-save-hook.

11 years ago* lisp/emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo.
Stefan Monnier [Fri, 26 Apr 2013 14:47:07 +0000 (10:47 -0400)]
* lisp/emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo.

Fixes: debbugs:14274

11 years ago* lisp/progmodes/octave.el (octave-smie-forward-token): Properly skip
Stefan Monnier [Fri, 26 Apr 2013 14:34:26 +0000 (10:34 -0400)]
* lisp/progmodes/octave.el (octave-smie-forward-token): Properly skip
\n and comment, even if it's not an implicit ;.

Fixes: debbugs:14218

11 years agolisp/gnus/mail-source.el (mail-source-fetch-pop, mail-source-check-pop): Fix again
Katsumi Yamaoka [Fri, 26 Apr 2013 13:56:37 +0000 (13:56 +0000)]
lisp/gnus/mail-source.el (mail-source-fetch-pop, mail-source-check-pop): Fix again

11 years agolisp/gnus/mail-source.el (mail-source-fetch-pop, mail-source-check-pop): Fix last...
Katsumi Yamaoka [Fri, 26 Apr 2013 10:36:36 +0000 (10:36 +0000)]
lisp/gnus/mail-source.el (mail-source-fetch-pop, mail-source-check-pop): Fix last change

11 years agolisp/gnus/mail-source.el (mail-source-fetch-pop, mail-source-check-pop): Don't set...
Katsumi Yamaoka [Fri, 26 Apr 2013 10:22:07 +0000 (10:22 +0000)]
lisp/gnus/mail-source.el (mail-source-fetch-pop, mail-source-check-pop): Don't set the MAILHOST environment variable permanently (Bug#14271)

11 years ago* lisp/gnus/message.el (message-bury): Revert 2013-03-18 change.
Glenn Morris [Fri, 26 Apr 2013 07:59:32 +0000 (00:59 -0700)]
* lisp/gnus/message.el (message-bury): Revert 2013-03-18 change.

Fixes: debbugs:14117

11 years agoMerge from emacs-24; up to 2012-12-27T08:21:08Z!rgm@gnu.org
Glenn Morris [Fri, 26 Apr 2013 07:34:54 +0000 (00:34 -0700)]
Merge from emacs-24; up to 2012-12-27T08:21:08Z!rgm@gnu.org

11 years agoAdd missing reftex-label-ignored-macros-and-environments :version tag
Glenn Morris [Fri, 26 Apr 2013 07:31:27 +0000 (00:31 -0700)]
Add missing reftex-label-ignored-macros-and-environments :version tag

11 years agolist-load-path-shadows simplification
Glenn Morris [Fri, 26 Apr 2013 07:25:45 +0000 (00:25 -0700)]
list-load-path-shadows simplification

* lisp/emacs-lisp/shadow.el (list-load-path-shadows):
No longer necessary to check for duplicate simple.el, since
2012-07-07 change to init_lread to not include installation lisp
directories in load-path when running uninstalled.

Fixes: debbugs:14270

11 years ago* progmodes/octave.el (octave-submit-bug-report): Obsolete.
Leo Liu [Fri, 26 Apr 2013 04:16:37 +0000 (12:16 +0800)]
* progmodes/octave.el (octave-submit-bug-report): Obsolete.
(octave-mode, inferior-octave-mode): Use setq-local.
(octave-not-in-string-or-comment-p): Renamed to
octave-in-string-or-comment-p.
(octave-in-comment-p, octave-in-string-p)
(octave-in-string-or-comment-p): Replace defsubst with defun.

11 years agolisp/gnus/gnus-msg.el (gnus-inews-insert-gcc): Re-order conditional to work for strin...
Andrew Cohen [Fri, 26 Apr 2013 02:08:43 +0000 (02:08 +0000)]
lisp/gnus/gnus-msg.el (gnus-inews-insert-gcc): Re-order conditional to work for string values of 'gcc-self

11 years ago* Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
Paul Eggert [Thu, 25 Apr 2013 21:20:17 +0000 (14:20 -0700)]
* Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.

11 years ago* textmodes/remember.el (remember-data-directory)
Bastien Guerry [Thu, 25 Apr 2013 17:39:44 +0000 (19:39 +0200)]
* textmodes/remember.el (remember-data-directory)
(remember-directory-file-name-format): Fix custom types.

Thanks to Glenn Morris for reporting these problems and for the fixes.

11 years ago* progmodes/octave.el (octave-completion-at-point-function): Make
Leo Liu [Thu, 25 Apr 2013 16:23:56 +0000 (00:23 +0800)]
* progmodes/octave.el (octave-completion-at-point-function): Make
use of inferior octave process.
(octave-initialize-completions): Remove.
(inferior-octave-completion-table): New function.
(inferior-octave-completion-at-point): Use it.
(octave-completion-alist): Remove.

11 years ago* lisp/progmodes/opascal.el: Use font-lock and syntax-propertize.
Stefan Monnier [Thu, 25 Apr 2013 16:07:33 +0000 (12:07 -0400)]
* lisp/progmodes/opascal.el: Use font-lock and syntax-propertize.
(opascal-mode-syntax-table): New var.
(opascal-literal-kind, opascal-is-literal-end)
(opascal-literal-token-at): Rewrite.
(opascal--literal-start-re, opascal-font-lock-keywords)
(opascal--syntax-propertize): New constants.
(opascal-font-lock-defaults): Adjust.
(opascal-mode): Use them.  Set comment-<foo> variables as well.
(delphi-comment-face, opascal-comment-face, delphi-string-face)
(opascal-string-face, delphi-keyword-face, opascal-keyword-face)
(delphi-other-face, opascal-other-face): Remove face variables.
(opascal-save-state): Remove macro.
(opascal-fontifying-progress-step): Remove constant.
(opascal--ignore-changes): Remove var.
(opascal-set-token-property, opascal-parse-next-literal)
(opascal-is-stable-literal, opascal-complete-literal)
(opascal-is-literal-start, opascal-face-of)
(opascal-parse-region, opascal-parse-region-until-stable)
(opascal-fontify-region, opascal-after-change)
(opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
(opascal-debug-parse-region, opascal-debug-parse-window)
(opascal-debug-parse-buffer, opascal-debug-fontify-window)
(opascal-debug-fontify-buffer): Remove.
(opascal-debug-mode-map): Adjust accordingly.

11 years agoMerge octave-mod.el and octave-inf.el into octave.el with some
Leo Liu [Thu, 25 Apr 2013 14:51:08 +0000 (22:51 +0800)]
Merge octave-mod.el and octave-inf.el into octave.el with some
cleanups.

* progmodes/octave.el: New file renamed from octave-mod.el.
* progmodes/octave-inf.el: Merged into octave.el.
* progmodes/octave-mod.el: Renamed to octave.el.

11 years ago* textmodes/reftex-vars.el
Tassilo Horn [Thu, 25 Apr 2013 12:01:09 +0000 (14:01 +0200)]
* textmodes/reftex-vars.el
(reftex-label-ignored-macros-and-environments): New defcustom.

* textmodes/reftex-parse.el (reftex-parse-from-file): Use it.

11 years ago* lisp/progmodes/octave-mod.el (octave-smie-forward-token): Only emit
Stefan Monnier [Thu, 25 Apr 2013 03:25:34 +0000 (23:25 -0400)]
* lisp/progmodes/octave-mod.el (octave-smie-forward-token): Only emit
semi-colons if the line is not otherwise empty.
* lisp/emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
(smie-indent-keyword): Improve the check to ensure that the next
comment is really on the same line.
(smie-indent-comment): Don't align with a subsequent closer (or eob).

Fixes: debbugs:14218

11 years ago* lisp/vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
Glenn Morris [Thu, 25 Apr 2013 00:53:18 +0000 (20:53 -0400)]
* lisp/vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.

11 years agolisp/gnus/nnir.el (nnir-close-group): Make sure we are in the right group
Andrew Cohen [Wed, 24 Apr 2013 22:07:21 +0000 (22:07 +0000)]
lisp/gnus/nnir.el (nnir-close-group): Make sure we are in the right group

11 years agolisp/gnus/gnus-sum.el (gnus-summary-insert-articles): Force dependencies update with...
Andrew Cohen [Wed, 24 Apr 2013 22:06:56 +0000 (22:06 +0000)]
lisp/gnus/gnus-sum.el (gnus-summary-insert-articles): Force dependencies update with newly retrieved headers

11 years agoSpelling fix.
Paul Eggert [Wed, 24 Apr 2013 21:02:44 +0000 (14:02 -0700)]
Spelling fix.

11 years ago* lisp/progmodes/opascal.el (opascal-set-token-property): Rename from
Stefan Monnier [Wed, 24 Apr 2013 20:44:45 +0000 (16:44 -0400)]
* lisp/progmodes/opascal.el (opascal-set-token-property): Rename from
opascal-set-text-properties and only set `token'.
(opascal-literal-text-properties): Remove.
(opascal-parse-next-literal, opascal-debug-unparse-buffer):
Adjust callers.

Fixes: debbugs:14134

11 years agoMerge from trunk.
Eli Zaretskii [Wed, 24 Apr 2013 19:12:03 +0000 (22:12 +0300)]
Merge from trunk.

11 years agoFix "make info" in doc/lispintro on MS-Windows.
Eli Zaretskii [Wed, 24 Apr 2013 19:06:20 +0000 (22:06 +0300)]
Fix "make info" in doc/lispintro on MS-Windows.

 doc/lispintro/makefile.w32-in (INFO_OPTS): Add "-I$(emacsdir)" to fix last
 commit.

11 years ago* subr.el (read-number): Once more use `read'
Glenn Morris [Wed, 24 Apr 2013 17:31:43 +0000 (10:31 -0700)]
* subr.el (read-number): Once more use `read'
rather than `string-to-number', to trap non-numeric input.

Fixes: debbugs:14254

11 years ago* themes/tsdh-dark-theme.el (tsdh-dark): Add ido faces and remove
Tassilo Horn [Wed, 24 Apr 2013 16:50:14 +0000 (18:50 +0200)]
* themes/tsdh-dark-theme.el (tsdh-dark): Add ido faces and remove
:box from outline faces.

11 years agocoding.c (decode_coding_iso_2022): When an invalid escape sequence is encountered...
Kenichi Handa [Wed, 24 Apr 2013 15:09:49 +0000 (00:09 +0900)]
coding.c (decode_coding_iso_2022): When an invalid escape sequence is encountered, reset the invocation and designation status to the safest one.

11 years ago* textmodes/remember.el (remember-handler-functions): Add an
Bastien Guerry [Wed, 24 Apr 2013 14:35:59 +0000 (16:35 +0200)]
* textmodes/remember.el (remember-handler-functions): Add an
option for a new handler `remember-store-in-files'.
(remember-data-directory, remember-directory-file-name-format):
New options.
(remember-store-in-files): New function to store remember notes
as separate files within a directory.

11 years ago* lisp/progmodes/compile.el (compilation-next-error-function):
Magnus Henoch [Wed, 24 Apr 2013 13:50:22 +0000 (09:50 -0400)]
* lisp/progmodes/compile.el (compilation-next-error-function):
Pass "formats" to compilation-find-file.

Fixes: debbugs:11777

11 years ago* vc/vc-bzr.el (vc-bzr-print-log): Improve START-REVISION with LIMIT != 1.
Glenn Morris [Wed, 24 Apr 2013 08:13:52 +0000 (01:13 -0700)]
* vc/vc-bzr.el (vc-bzr-print-log): Improve START-REVISION with LIMIT != 1.

Fixes: debbugs:14168

11 years agovc-hg, vc-svn print-log fixes for start-revision with limit != 1
Glenn Morris [Wed, 24 Apr 2013 07:59:29 +0000 (00:59 -0700)]
vc-hg, vc-svn print-log fixes for start-revision with limit != 1

* vc/vc-hg.el (vc-hg-print-log):
* vc/vc-svn.el (vc-svn-print-log): Fix START-REVISION with LIMIT != 1.

Fixes: debbugs:14168

11 years agoDoc fixes related to vc-print-log
Glenn Morris [Wed, 24 Apr 2013 07:52:00 +0000 (00:52 -0700)]
Doc fixes related to vc-print-log

* vc/vc-bzr.el (vc-bzr-print-log):
* vc/vc-cvs.el (vc-cvs-print-log):
* vc/vc-git.el (vc-git-print-log):
* vc/vc-hg.el (vc-hg-print-log):
* vc/vc-mtn.el (vc-mtn-print-log):
* vc/vc-rcs.el (vc-rcs-print-log):
* vc/vc-sccs.el (vc-sccs-print-log):
* vc/vc-svn.el (vc-svn-print-log):
* vc/vc.el (vc-print-log-internal): Doc fixes.

11 years agoRemove old comments about making various formats (use Makefile instead)
Glenn Morris [Wed, 24 Apr 2013 01:09:00 +0000 (21:09 -0400)]
Remove old comments about making various formats (use Makefile instead)

11 years agoMinor lispintro tweaks
Glenn Morris [Wed, 24 Apr 2013 00:58:23 +0000 (20:58 -0400)]
Minor lispintro tweaks

* doc/lispintro/Makefile.in (emacsdir): New variable..
(MAKEINFO_OPTS, ENVADD): Add $emacsdir.
(srcs): Add emacsver.texi.
(dist): Include emacsver.texi.  Edit emacsdir.

* doc/lispintro/emacs-lisp-intro.texi (emacsver.texi): Include it.
(copying): For non-printed versions, uses Emacs version rather
than that of the printed book.
(Complications, Lisp macro, defvar and asterisk, defcustom): Copyedits.

* doc/lispintro/makefile.w32-in (emacsdir): New variable.
(INFO_SOURCES): Add emacsver.texi.
(ENVADD): Add $emacsdir (and $texinfodir).

11 years agoDoc fix for emacs-lisp-intro.texi.
Xue Fuqiao [Tue, 23 Apr 2013 22:26:40 +0000 (06:26 +0800)]
Doc fix for emacs-lisp-intro.texi.

* doc/lispintro/emacs-lisp-intro.texi (Writing Defuns, Prevent confusion,
  Determining the Element, lambda): Refine the doc about Lisp macros,
  reported by Glenn Morris.

11 years agoRemove some code duplication in startup.el
Glenn Morris [Tue, 23 Apr 2013 21:51:40 +0000 (17:51 -0400)]
Remove some code duplication in startup.el

"If keys have their default meanings, use precomputed string to save
lots of time" implies substitute-command-keys was slow 20+ years ago
when this was originally written.  But we were accidentally using the
"slow" branch for 5 years and no-one complained about speed (bug#13970).

* lisp/startup.el (normal-no-mouse-startup-screen, normal-about-screen):
Remove venerable code attempting to avoid substitute-command-keys.

11 years ago* doc/lispref/internals.texi (Writing Emacs Primitives): Remove obvious example.
Glenn Morris [Tue, 23 Apr 2013 18:57:44 +0000 (11:57 -0700)]
* doc/lispref/internals.texi (Writing Emacs Primitives): Remove obvious example.
Tweak other to avoid overly long line.

11 years agoFix recursive load issue with reftex.el and reftex-vars.el.
Tassilo Horn [Tue, 23 Apr 2013 17:07:49 +0000 (19:07 +0200)]
Fix recursive load issue with reftex.el and reftex-vars.el.

11 years agoDon't use -subsystem=console link option, it is the default.
Eli Zaretskii [Tue, 23 Apr 2013 17:06:09 +0000 (20:06 +0300)]
Don't use -subsystem=console link option, it is the default.

11 years agoMerge from trunk.
Eli Zaretskii [Tue, 23 Apr 2013 17:01:56 +0000 (20:01 +0300)]
Merge from trunk.

11 years ago* textmodes/reftex.el (reftex-compile-variables): Add autoload
Tassilo Horn [Tue, 23 Apr 2013 15:23:59 +0000 (17:23 +0200)]
* textmodes/reftex.el (reftex-compile-variables): Add autoload
cookie.

11 years ago* textmodes/reftex-vars.el (reftex-label-regexps): Call
Tassilo Horn [Tue, 23 Apr 2013 15:18:58 +0000 (17:18 +0200)]
* textmodes/reftex-vars.el (reftex-label-regexps): Call
`reftex-compile-variables' after changes to this variable.

11 years ago* lisp/jit-lock.el: Fix signals in jit-lock-force-redisplay.
Stefan Monnier [Tue, 23 Apr 2013 12:29:14 +0000 (08:29 -0400)]
* lisp/jit-lock.el: Fix signals in jit-lock-force-redisplay.
Use lexical-binding.
(jit-lock-force-redisplay): Use markers, check buffer's continued
existence and beware narrowed buffers.
(jit-lock-fontify-now): Adjust call accordingly.

11 years ago* lisp/minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
Stefan Monnier [Tue, 23 Apr 2013 12:27:06 +0000 (08:27 -0400)]
* lisp/minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
to avoid misleading the user.

11 years agoemacs-lisp-intro.texi fixes.
Xue Fuqiao [Tue, 23 Apr 2013 00:43:07 +0000 (08:43 +0800)]
emacs-lisp-intro.texi fixes.

* doc/lispintro/emacs-lisp-intro.texi (Complications, defvar): Refine the doc about Lisp macros. (http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00618.html)

11 years ago* info-look.el: Prefer latex2e.info.
Leo Liu [Mon, 22 Apr 2013 14:41:32 +0000 (22:41 +0800)]
* info-look.el: Prefer latex2e.info.

Fixes: debbugs:14240

11 years ago* lisp/emacs-lisp/syntax.el (syntax-propertize-multiline):
Erik Charlebois [Mon, 22 Apr 2013 14:11:37 +0000 (10:11 -0400)]
* lisp/emacs-lisp/syntax.el (syntax-propertize-multiline):
Use `syntax-multiline' text property consistently instead of
`font-lock-multiline'..

Fixes: debbugs:14237

11 years ago* net/tramp-compat.el (tramp-compat-call-process): Move function ...
Michael Albinus [Mon, 22 Apr 2013 10:26:09 +0000 (12:26 +0200)]
* net/tramp-compat.el (tramp-compat-call-process): Move function ...
* net/tramp.el (tramp-call-process): ... here
(tramp-set-completion-function, tramp-parse-putty):
* net/tramp-adb.el (tramp-adb-execute-adb-command):
* net/tramp-gvfs.el (tramp-gvfs-send-command):
* net/tramp-sh.el (tramp-sh-handle-set-file-times)
(tramp-set-file-uid-gid, tramp-sh-handle-write-region)
(tramp-call-local-coding-command): Use `tramp-call-process'
instead of `tramp-compat-call-process'.

* net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
(tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
(tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
(tramp-find-inline-compress):Improve traces.
(tramp-maybe-send-script): Check for Perl binary.
(tramp-get-inline-coding): Do not redirect STDOUT for local decoding.

11 years ago* Makefile.in (bootstrap-clean): Remove stamp-h1 too.
Paul Eggert [Mon, 22 Apr 2013 05:18:30 +0000 (22:18 -0700)]
* Makefile.in (bootstrap-clean): Remove stamp-h1 too.

Without this fix, "make distclean" leaves stamp-h1 behind.

11 years ago* make-dist: Do not distribute admin/unidata/Makefile.
Paul Eggert [Mon, 22 Apr 2013 05:08:36 +0000 (22:08 -0700)]
* make-dist: Do not distribute admin/unidata/Makefile.

It is generated by 'configure'.

11 years ago* build-aux/update-subdirs: Don't leave subdirs.el~ behind.
Paul Eggert [Mon, 22 Apr 2013 05:01:33 +0000 (22:01 -0700)]
* build-aux/update-subdirs: Don't leave subdirs.el~ behind.

It messes up 'make distclean', and contains no useful information
because it's a copy of subdirs.el.

11 years agoepg.el: support pinentry mode added in GnuPG 2.1
Daiki Ueno [Mon, 22 Apr 2013 04:53:05 +0000 (13:53 +0900)]
epg.el: support pinentry mode added in GnuPG 2.1

* epg.el (epg-context-pinentry-mode): New function.
(epg-context-set-pinentry-mode): New function.
(epg--start): Pass --pinentry-mode option to gpg command.

11 years agoChangeLog fix
Glenn Morris [Mon, 22 Apr 2013 01:47:58 +0000 (18:47 -0700)]
ChangeLog fix