1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-17 17:58:46 +00:00
Commit Graph

58559 Commits

Author SHA1 Message Date
Leo Liu
d74a158186 * progmodes/octave.el (user-error): Alias to error if not defined. 2013-05-03 15:52:17 +08:00
Leo Liu
d4d0f9b31a * progmodes/octave.el (octave-completing-read)
(octave-goto-function-definition): New helpers.
(octave-help-buffer): New user variable.
(octave-help-file, octave-help-function): New button types.
(octave-help): New command and bind it to C-h ;.
(octave-find-definition): New command and bind it to M-.
2013-05-03 15:22:26 +08:00
Leo Liu
b54f978b83 * progmodes/octave.el (octave-font-lock-keywords): Do not
dehighlight 'end' in comments or strings.
2013-05-03 12:47:08 +08:00
Leo Liu
271350180c * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
for \. 
(octave-font-lock-keywords): Include [ and {.

Fixes: debbugs:14332
2013-05-03 07:03:00 +08:00
Leo Liu
0d634d3a3c * progmodes/octave.el (inferior-octave-startup-file): Change default.
(inferior-octave): Remove calling comint-mode and return the buffer.
(inferior-octave-startup): Cosmetic changes.
2013-05-03 05:34:53 +08:00
Leo Liu
b4c8295e81 * progmodes/octave.el (octave-syntax-propertize-function): Include
the case when ' is at line beginning.

Fixes: debbugs:14336
2013-05-03 05:27:16 +08:00
Glenn Morris
f12ad6ecd9 * lisp/vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
* lisp/desktop.el (vc-dir-mode): Just autoload it here.
2013-05-02 13:47:39 -04:00
Alan Mackenzie
30cac1e0e4 Eliminate variable c-standard-font-lock-fontify-region-function.
* progmodes/cc-mode.el
        (c-standard-font-lock-fontify-region-function): Remove.
        (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
2013-05-02 11:18:18 +00:00
Leo Liu
2640d52e4e * progmodes/octave.el: Compatible with older emacs-24 releases. 2013-05-02 01:25:03 +08:00
Leo Liu
d8ef28b19d * 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.
2013-05-02 00:42:18 +08:00
Glenn Morris
9d02d82f21 Auto-commit of loaddefs files. 2013-05-01 06:17:34 -04:00
Juri Linkov
ac63ec89d8 * lisp/isearch.el (isearch-forward, isearch-mode): Doc fix.
Fixes: debbugs:13923
2013-05-01 11:10:12 +03:00
Juri Linkov
9e9be37c18 * 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
2013-05-01 11:05:05 +03:00
Leo Liu
9b92c13baa * 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.
2013-05-01 14:13:20 +08:00
Katsumi Yamaoka
8b7ab1721d lisp/gnus/ChangeLog: Add Bug# 2013-05-01 00:37:07 +00:00
Katsumi Yamaoka
469a1a32a4 gnus-util.el (gnus-emacs-completing-read): Fix a filter for XEmacs 2013-05-01 00:29:13 +00:00
Leo Liu
b12d33d7e4 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
change.
2013-05-01 00:27:36 +08:00
Alan Mackenzie
3d1c39faa4 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.
2013-04-30 16:19:14 +00:00
Rüdiger Sonderfeld
5147fc1773 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
variable.
2013-04-30 23:20:46 +08:00
Leo Liu
5b78d7fcc7 * 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.
2013-04-30 22:23:03 +08:00
Leo Liu
38d8527bab * 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.
2013-04-30 04:09:18 +08:00
Leo Liu
2ec12cb0f0 * 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.
2013-04-29 12:37:36 +08:00
Jay Belanger
6eaed04808 * calc/calc.el (math-normalize): Don't set `math-normalize-error' to t
for the less important warnings.
2013-04-28 11:39:10 -05:00
Julien Danjou
4afd650a58 lisp/gnus/sieve-manage.el (sieve-manage-authenticator-alist): Update the sieve port to "sieve" now that it has an official IANA port assigned 2013-04-27 23:57:29 +00:00
Darren Hoo
3ffa2d4f29 * lisp/isearch.el (isearch-fail-pos): Check for empty `cmds'.
Fixes: debbugs:14268
2013-04-28 01:03:42 +03:00
David Engster
201dbb588d * 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).
2013-04-27 23:45:37 +02:00
Glenn Morris
7365d35ddb * gnus/gnus.el (gnus-list-debbugs): Use require rather than autoload.
Fixes: debbugs:14262
2013-04-27 14:32:17 -07:00
Glenn Morris
685c9501cd * vc/log-view.el (log-view-current-entry):
Treat "---" separator lines as part of the following rev.

Fixes: debbugs:14169
2013-04-27 14:29:00 -07:00
Juri Linkov
0208ede7ab * 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
2013-04-28 00:12:17 +03:00
Juri Linkov
5db9dace2d * 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>.
2013-04-27 23:55:00 +03:00
Leo Liu
b7260dd49c * 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
2013-04-28 01:07:01 +08:00
Roland Winkler
c46da66964 read-face-name: Use completing-read if arg multiple is nil 2013-04-27 12:01:17 -05:00
Ingo Lohmar
a81ee1eb7b 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.
2013-04-27 19:55:29 +03:00
Stefan Monnier
4fac34cee9 * 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.
2013-04-27 09:32:53 -04:00
Bastien Guerry
d40ab5cfd9 lisp/ChangeLog: Tiny ChangeLog formatting fix. 2013-04-27 08:38:41 +02:00
Reuben Thomas
f6bfc06324 Fix docstring buglet in remember.el 2013-04-27 00:55:06 +01: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