1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-22 13:40:44 -08:00
Commit graph

59462 commits

Author SHA1 Message Date
Glenn Morris
fd3a9a6b37 * lisp/calendar/diary-lib.el (diary-from-outlook-function): New variable.
(diary-from-outlook): Respect diary-from-outlook-function.

* doc/emacs/calendar.texi (Importing Diary):
Mention diary-from-outlook-function.

* etc/NEWS: Mention this.
2013-05-04 16:55:57 -07:00
Andrew Cohen
f4c7b20fc1 gnus-sum.el (gnus-read-header): Ensure groups are prefixed when entering into the registry 2013-05-04 22:38:05 +00:00
Thierry Volpiatto
998768afd2 * lisp/gnus/message.el (message-bury): Make `buffer' optional.
(message-send-and-exit): Don't pass `buf' so as to hide the buffer.

Fixes: debbugs:14085
2013-05-04 15:34:19 -04:00
Stefan Monnier
30c7e54299 * lisp/simple.el (read-expression-map): Use completion-at-point.
Move the declaration from C.
(read-minibuffer, eval-minibuffer): Move from C.
(completion-setup-function): Avoid minibuffer-completion-contents.
* src/minibuf.c (Fread_minibuffer, Feval_minibuffer): Move to Elisp.
(syms_of_minibuf): Adjust accodingly.
* src/lread.c (Fread):
* src/callint.c (Fcall_interactively): Adjust calls accordingly.

Fixes: debbugs:14255
2013-05-04 15:27:41 -04:00
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
Joakim Verona
3b2a9bcfc0 trunk versions tha were missed earlier 2013-05-02 22:28:36 +02: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
Joakim Verona
8d5d86c8d2 auto upstream 2013-05-02 08:30:51 +02:00
Eli Zaretskii
b1cb82edff Merge from trunk. 2013-05-01 20:47:50 +03:00
Leo Liu
2640d52e4e * progmodes/octave.el: Compatible with older emacs-24 releases. 2013-05-02 01:25:03 +08:00
Eli Zaretskii
9c1a130611 Merge from trunk. 2013-05-01 20:12:42 +03: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
Joakim Verona
f100923315 auto upstream 2013-05-01 08:29:51 +02: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
Joakim Verona
7a1bee4a71 auto upstream 2013-04-30 08:31:50 +02: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
Joakim Verona
4e3a566de7 auto upstream 2013-04-28 08:30:52 +02: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
Joakim Verona
06f6571ea6 auto upstream 2013-04-27 08:32:21 +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