1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-22 18:35:09 +00:00
Commit Graph

110739 Commits

Author SHA1 Message Date
Reuben Thomas
f6bfc06324 Fix docstring buglet in remember.el 2013-04-27 00:55:06 +01:00
Paul Eggert
f780d632f2 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
2013-04-26 12:31:09 -07:00
Leo Liu
ff7210d55b * progmodes/octave.el (octave-sync-function-file-names): Fix last
change.
2013-04-27 01:11:04 +08:00
Leo Liu
e55d3b0408 * progmodes/octave.el (octave-sync-function-file-names): New function.
(octave-mode): Use it in before-save-hook.
2013-04-27 00:44:38 +08:00
Stefan Monnier
140ef50c04 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo.
Fixes: debbugs:14274
2013-04-26 10:47:07 -04:00
Stefan Monnier
e53052d3bf * lisp/progmodes/octave.el (octave-smie-forward-token): Properly skip
\n and comment, even if it's not an implicit ;.

Fixes: debbugs:14218
2013-04-26 10:34:26 -04:00
Katsumi Yamaoka
57829a28c8 lisp/gnus/mail-source.el (mail-source-fetch-pop, mail-source-check-pop): Fix again 2013-04-26 13:56:37 +00:00
Katsumi Yamaoka
03fdf5caa8 lisp/gnus/mail-source.el (mail-source-fetch-pop, mail-source-check-pop): Fix last change 2013-04-26 10:36:36 +00:00
Katsumi Yamaoka
9b7382d618 lisp/gnus/mail-source.el (mail-source-fetch-pop, mail-source-check-pop): Don't set the MAILHOST environment variable permanently (Bug#14271) 2013-04-26 10:22:07 +00:00
Glenn Morris
967f2fbb34 * lisp/gnus/message.el (message-bury): Revert 2013-03-18 change.
Fixes: debbugs:14117
2013-04-26 00:59:32 -07:00
Glenn Morris
af80458d7e Merge from emacs-24; up to 2012-12-27T08:21:08Z!rgm@gnu.org 2013-04-26 00:34:54 -07:00
Glenn Morris
9fc02c2f82 Add missing reftex-label-ignored-macros-and-environments :version tag 2013-04-26 00:31:27 -07:00
Glenn Morris
e6ea1f6c9b 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
2013-04-26 00:25:45 -07:00
Leo Liu
070ccca42d * 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.
2013-04-26 12:16:37 +08:00
Andrew Cohen
9eb45973fc lisp/gnus/gnus-msg.el (gnus-inews-insert-gcc): Re-order conditional to work for string values of 'gcc-self 2013-04-26 02:08:43 +00:00
Paul Eggert
9d1c5fb6ca * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~. 2013-04-25 14:20:17 -07:00
Bastien Guerry
c034abda39 * 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.
2013-04-25 19:39:44 +02:00
Leo Liu
584ea27747 * 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.
2013-04-26 00:23:56 +08:00
Stefan Monnier
1693b06af5 * 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.
2013-04-25 12:07:33 -04:00
Leo Liu
be64c05d81 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.
2013-04-25 22:51:08 +08:00
Tassilo Horn
d79d37bd13 * textmodes/reftex-vars.el
(reftex-label-ignored-macros-and-environments): New defcustom.

* textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
2013-04-25 14:01:09 +02:00
Stefan Monnier
ced3fc5d2f * 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
2013-04-24 23:25:34 -04:00
Glenn Morris
1c141dad87 * lisp/vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case. 2013-04-24 20:53:18 -04:00
Andrew Cohen
f0a9703029 lisp/gnus/nnir.el (nnir-close-group): Make sure we are in the right group 2013-04-24 22:07:21 +00:00
Andrew Cohen
60ad477923 lisp/gnus/gnus-sum.el (gnus-summary-insert-articles): Force dependencies update with newly retrieved headers 2013-04-24 22:06:56 +00:00
Paul Eggert
0a2da075e5 Spelling fix. 2013-04-24 14:02:44 -07:00
Stefan Monnier
5058062aa4 * 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
2013-04-24 16:44:45 -04:00
Eli Zaretskii
6139439fac Fix "make info" in doc/lispintro on MS-Windows.
doc/lispintro/makefile.w32-in (INFO_OPTS): Add "-I$(emacsdir)" to fix last
 commit.
2013-04-24 22:06:20 +03:00
Glenn Morris
e5271cf20c * subr.el (read-number): Once more use `read'
rather than `string-to-number', to trap non-numeric input.

Fixes: debbugs:14254
2013-04-24 10:31:43 -07:00
Tassilo Horn
5a52e09b9b * themes/tsdh-dark-theme.el (tsdh-dark): Add ido faces and remove
:box from outline faces.
2013-04-24 18:50:14 +02:00
Kenichi Handa
ec5098562a coding.c (decode_coding_iso_2022): When an invalid escape sequence is encountered, reset the invocation and designation status to the safest one. 2013-04-25 00:09:49 +09:00
Bastien Guerry
1ffefcf908 * 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.
2013-04-24 16:35:59 +02:00
Magnus Henoch
4391916c58 * lisp/progmodes/compile.el (compilation-next-error-function):
Pass "formats" to compilation-find-file.

Fixes: debbugs:11777
2013-04-24 09:50:22 -04:00
Glenn Morris
3b8fe7527b * vc/vc-bzr.el (vc-bzr-print-log): Improve START-REVISION with LIMIT != 1.
Fixes: debbugs:14168
2013-04-24 01:13:52 -07:00
Glenn Morris
90b4237a6b 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
2013-04-24 00:59:29 -07:00
Glenn Morris
bb7cdf58f6 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.
2013-04-24 00:52:00 -07:00
Glenn Morris
6933cefc48 Remove old comments about making various formats (use Makefile instead) 2013-04-23 21:09:00 -04:00
Glenn Morris
09b98a01c1 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).
2013-04-23 20:58:23 -04:00
Xue Fuqiao
edbf456935 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.
2013-04-24 06:26:40 +08:00
Glenn Morris
b46a056ef2 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.
2013-04-23 17:51:40 -04:00
Glenn Morris
b02b54814a * doc/lispref/internals.texi (Writing Emacs Primitives): Remove obvious example.
Tweak other to avoid overly long line.
2013-04-23 11:57:44 -07:00
Tassilo Horn
6eca2e74f9 Fix recursive load issue with reftex.el and reftex-vars.el. 2013-04-23 19:07:49 +02:00
Tassilo Horn
92c519507b * textmodes/reftex.el (reftex-compile-variables): Add autoload
cookie.
2013-04-23 17:23:59 +02:00
Tassilo Horn
0aecf71872 * textmodes/reftex-vars.el (reftex-label-regexps): Call
`reftex-compile-variables' after changes to this variable.
2013-04-23 17:18:58 +02:00
Stefan Monnier
117f94cf10 * 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.
2013-04-23 08:29:14 -04:00
Stefan Monnier
1d829c64d2 * lisp/minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
to avoid misleading the user.
2013-04-23 08:27:06 -04:00
Xue Fuqiao
2325c82f63 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)
2013-04-23 08:43:07 +08:00
Leo Liu
72d548a9d7 * info-look.el: Prefer latex2e.info.
Fixes: debbugs:14240
2013-04-22 22:41:32 +08:00
Erik Charlebois
70203c2ec1 * lisp/emacs-lisp/syntax.el (syntax-propertize-multiline):
Use `syntax-multiline' text property consistently instead of
`font-lock-multiline'..

Fixes: debbugs:14237
2013-04-22 10:11:37 -04:00
Michael Albinus
d08536296c * 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.
2013-04-22 12:26:09 +02:00