1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-14 01:50:22 -08:00
Commit graph

54244 commits

Author SHA1 Message Date
Lars Magne Ingebrigtsen
f5e3c5984b Introduce a new variable to allow controlling the SMTP user name
* mail/smtpmail.el (smtpmail-smtp-user): New variable.
(smtpmail-try-auth-methods): Use it.
2011-08-21 06:11:59 +02:00
Chong Yidong
39eeb2f7c5 Minor fix to last change. 2011-08-20 23:02:39 -04:00
Chong Yidong
2c34e8dad7 Add some docstrings to font-lock.el.
* font-lock.el (font-lock-fontify-region)
(font-lock-unfontify-region, font-lock-default-fontify-buffer)
(font-lock-default-unfontify-buffer)
(font-lock-default-fontify-region)
(font-lock-default-unfontify-region): Add docstrings (Bug#8624).
2011-08-20 23:00:52 -04:00
Chong Yidong
02e5c89e67 Fix to `ant' compile regexp.
* lisp/progmodes/compile.el (compilation-error-regexp-alist-alist):
  Fix 2011-05-09 change to `ant' regexp.
2011-08-20 22:24:07 -04:00
Chong Yidong
ee31aabc4e Fix error in compilation-error-properties.
* lisp/progmodes/compile.el (compilation-error-properties): Fix
confusion between file struct and message struct (Bug#9319).
2011-08-20 22:07:00 -04:00
Chong Yidong
a3f2468a08 Fix for browse-url-firefox on Windows.
* lisp/net/browse-url.el (browse-url-firefox): Don't call
browse-url-firefox-sentinel unless using -remote.

Fixes: debbugs:9328
2011-08-20 21:01:12 -04:00
Glenn Morris
c21a496aed * lisp/tutorial.el (help-with-tutorial): Avoid an error on short screens. 2011-08-20 15:53:00 -07:00
Glenn Morris
59ee05427d Update some tutorial key bindings; ref bug#8739.
* lisp/tutorial.el (tutorial--default-keys): Update some default bindings.

* etc/NEWS: delete-forward-char is not bound to C-d.

* lisp/bindings.el, lisp/windows.el: Comments.
2011-08-20 15:41:41 -07:00
Glenn Morris
8e999f70ab * lisp/files.el (hack-local-variables): Fully ignore case for "mode:". 2011-08-20 15:26:52 -07:00
Alan Mackenzie
e371503373 Resolve invalid use of a regexp in regexp-opt.
cc-fonts.el (c-complex-decl-matchers): Add in special detection for a
java annotation.

cc-engine.el (c-forward-decl-or-cast-1): Add in special detection for a
java annotation.

cc-langs.el (c-prefix-spec-kwds-re): Remove the special handling for
java.
(c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
2011-08-20 22:02:25 +00:00
Chong Yidong
04ed2e9c6a * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix (Bug#9274). 2011-08-20 15:30:53 -04:00
Alan Mackenzie
826cee649d Fontify CPP expressions correctly when starting in the middle of such a
construct.  Mainly for when jit-lock etc. starts a chunk here.

cc-fonts.el (c-font-lock-context): new buffer local variable.
(c-make-font-lock-search-form): new function, extracted from
c-make-font-lock-search-function.
(c-make-font-lock-search-function): Use the above function.
(c-make-font-lock-context-search-function): New function.
(c-cpp-matchers): Enhance the preprocessor expression case with the above
function
(c-font-lock-complex-decl-prepare):  Test for being in a CPP form which
takes an expression.

cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
2011-08-20 14:54:21 +00:00
Alan Mackenzie
b128268e44 Fontify CPP expressions correctly when starting in the middle of such a
construct.  Mainly for when jit-lock etc. starts a chunk here.

cc-fonts.el (c-font-lock-context): new buffer local variable.
(c-make-font-lock-search-form): new function, extracted from
c-make-font-lock-search-function.
(c-make-font-lock-search-function): Use the above function.
(c-make-font-lock-context-search-function): New function.
(c-cpp-matchers): Enhance the preprocessor expression case with the above
function
(c-font-lock-complex-decl-prepare):  Test for being in a CPP form which
takes an expression.

cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
2011-08-20 14:43:33 +00:00
Martin Rudalics
11994f9ba6 Remove some commented-out obsoletion declarations from window.el. 2011-08-20 12:10:05 +02:00
Martin Rudalics
13009bd867 When displaying a buffer don't use or split a side window unless explicitly requested.
* window.el (display-buffer-reuse-window)
(display-buffer-pop-up-window): Don't reuse or split a side
window.
2011-08-20 12:02:04 +02:00
Katsumi Yamaoka
b911cc52c9 lisp/gnus/ChangeLog: Fix last change. 2011-08-20 00:27:04 +00:00
Gnus developers
4d9db491a0 Merge changes made in Gnus trunk.
nnimap.el (nnimap-transform-headers): Protect against (NIL ...) bodystructures (bug#9314).
starttls.el (starttls-any-program-available): Define as obsolete function.
gnus-util.el (gnus-y-or-n-p): Reinstate the message-clearing y-or-n-p versions which Gnus use when appropriate.
gnus-group.el (gnus-group-clear-data): Add a y-or-n query, since it's a pretty destructive command.
nnmail.el (nnmail-extra-headers): Clarify slightly (bug#9302).
message.el (message-fix-before-sending): Make a different warning about NUL characters (bug#9270).
gnus-sum.el (gnus-auto-select-subject): Allow specifying a function from custom (bug#9260).
2011-08-20 00:20:39 +00:00
Glenn Morris
9234ff7fcf files.el fix for bug#9331
* lisp/files.el (hack-local-variables-prop-line, hack-local-variables):
Downcase "Mode:".
2011-08-19 14:23:09 -04:00
Eli Zaretskii
54a1215bcc Fix bidi cursor motion when a line begins with a composed character.
src/xdisp.c (RECORD_MAX_MIN_POS): If the display element comes from
 a composition, take its buffer position from IT->cmp_it.charpos.
2011-08-19 13:18:40 +03:00
Katsumi Yamaoka
f086702702 gnus-art.el (gnus-insert-mime-button, gnus-mime-display-alternative): Make button keymap non-sticky after buttons. 2011-08-19 08:52:18 +00:00
Gnus developers
c7b98a1c19 Merge changes made in Gnus trunk.
nnmairix.el (nnmairix-request-set-mark, nnmairix-goto-original-article): Remove adding of article to registry, since `gnus-registry-add-group' isn't available anymore.
 (nnmairix-determine-original-group-from-registry): Use `gnus-registry-get-id-key' since `gnus-registry-fetch-groups' isn't available anymore.
gnus-spec.el (gnus-lrm-string): Use 8206 instead of ?\x200e to make things work in Emacs 22 and XEmacs, too.
gnus-sum.el (gnus-summary-from-or-to-or-newsgroups): LRM-ify the default From.
gnus-spec.el (gnus-lrm-string-p): New macro.
 (gnus-lrm-string): New constant.
 (gnus-summary-line-format-spec): LRM-ify the from.
 (gnus-tilde-max-form): LRM-ify string chopping.
gnus-ems.el (gnus-string-mark-left-to-right): New function.
2011-08-18 22:12:47 +00:00
Glenn Morris
c7557a0f2c Standardize/fix some Org header comments.
* org-freemind.el: Remove duplicate, incorrect license notice.

* ob-lisp.el: Convert consecutive copyright years to ranges.

* ob-js.el, ob-scheme.el: Standardize license text.

* ob-R.el, ob-clojure.el, ob-exp.el, ob-lisp.el, ob-lob.el, ob-perl.el:
* ob-python.el, ob-ref.el, ob.el:
Put multiple authors on separate lines.
2011-08-18 16:57:10 -04:00
Glenn Morris
cbd209473b Restore clobbered changes to Org copyright years. 2011-08-18 16:41:06 -04:00
Chong Yidong
f635daa1e0 Add L and R categories to standard category table, and use them.
* lisp/international/characters.el: Add L and R categories.

* lisp/subr.el (bidi-string-mark-left-to-right): Rename from
string-mark-left-to-right.  Use category search.

* lisp/buff-menu.el (Buffer-menu-buffer+size): Callers changed.
2011-08-18 11:53:29 -04:00
Juri Linkov
bc987f8b80 * lisp/faces.el (error, warning, success): New faces with definitions
copied from old default values of `font-lock-warning-face',
`compilation-warning', `compilation-info'.

* lisp/font-lock.el (font-lock-warning-face): Inherit from `error'.

* lisp/progmodes/compile.el (compilation-error): Inherit from `error'.
(compilation-warning): Inherit from `warning'.
(compilation-info): Inherit from `success'.

* lisp/dired.el (dired-marked): Inherit from `warning'.
(dired-flagged): Inherit from `error'.

Fixes: debbugs:6117
2011-08-18 14:36:19 +03:00
Lars Magne Ingebrigtsen
4dcb0d7a58 Merge changes made in Gnus trunk.
message.el (message-is-yours-p): Allow disabling canlock checking (bug#9295).
 (message-shoot-gnksa-feet): Add `canlock-verify'.
 (message-auto-save-directory): Use ~/ as the auto-save directory if the message directory isn't writable (bug#9304).
auth-source.el (auth-source-netrc-saver): Make the .authinfo file non-world-readable.
2011-08-17 22:09:19 +00:00
Lars Magne Ingebrigtsen
3e79eb87b7 (auth-source): Require to avoid problems with binding variables.
Also clean up some unused autoloads.

Fixes: debbugs:9298
2011-08-18 00:02:49 +02:00
Lars Magne Ingebrigtsen
57173b965f (network-stream-open-starttls): Support using starttls.el without using gnutls-cli. 2011-08-17 22:50:33 +02:00
Juri Linkov
02b404de99 * lisp/progmodes/grep.el (rgrep): Handle the case when `grep-find-command'
is a cons cell.

Fixes: debbugs:9278
2011-08-17 20:11:49 +03:00
Martin Rudalics
8c9177f2b4 In display-buffer-pop-up-frame make frame with buffer to display current.
* window.el (display-buffer-pop-up-frame): Run frame creation
function with BUFFER current (as special-display-popup-frame
does).  Reported by Drew Adams.
2011-08-17 08:50:31 +02:00
Daiki Ueno
3644a0ab08 Simplify GnuPG group expansion using epg-expand-group.
* epa-mail.el: Simplify GnuPG group expansion using
epg-expand-group.
(epa-mail-group-alist, epa-mail-group-modtime)
(epa-mail-gnupg-conf-file, epa-mail-parse-groups)
(epa-mail-sync-groups, epa-mail-expand-recipient-1)
(epa-mail-expand-recipients-2, epa-mail-expand-recipients):
Remove.
2011-08-17 10:31:05 +09:00
Katsumi Yamaoka
39397fad3a nndraft.el (nndraft-update-unread-articles): Don't send delayed articles. 2011-08-17 00:10:46 +00:00
Feng Li
7c643369dd * calc/calc-ext.el (math-defintegral-2): Remove nested backquote. 2011-08-16 17:33:57 -05:00
Alan Mackenzie
9c4aeabf55 progmodes/cc-engine.el (c-state-cache-non-literal-place): Correct to
avoid the insides of macros.
2011-08-16 20:10:40 +00:00
Bastien Guerry
5b409b390c Fix Org ChangeLog entries and remove arch-tag. 2011-08-16 09:13:02 +02:00
Richard M. Stallman
04963aa8ff epa-mail.el handles GnuPG groups. 2011-08-16 00:04:27 -04:00
Richard M. Stallman
177549d04c Add rmail-epa-decrypt command. 2011-08-15 22:29:15 -04:00
Richard M. Stallman
44fede4d8e Fix previous change. 2011-08-15 22:18:10 -04:00
Richard M. Stallman
fe38beefad Fix previous change. 2011-08-15 22:06:32 -04:00
Richard M. Stallman
3a99bf64df Bug fix for finding coding system. New COPY-FUNCTION feature
for epa-decrypt-region.
2011-08-15 21:40:26 -04:00
Stefan Monnier
934eacb93d * lisp/minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
and "a2b" to "ab" for `prefix'.
2011-08-15 12:10:39 -04:00
Bastien Guerry
5cb0563318 Fix misformatted ChangeLog entries for Org. 2011-08-15 16:56:47 +02:00
Bastien Guerry
d99aebc0c3 lisp/org/ChangeLog: Fix the ChangeLog entry of Ethan Ligon. 2011-08-15 16:34:17 +02:00
Bastien Guerry
d4423e17ee lisp/org/ChangeLog: add "(tiny change)" where required.
Thanks to Glenn Morris for pointing out possible problems.
2011-08-15 16:32:07 +02:00
Glenn Morris
85949b6cb5 Auto-commit of loaddefs files. 2011-08-15 06:21:47 -04:00
Chong Yidong
de148fee1a Minor fix to last change. 2011-08-14 14:13:35 -04:00
Chong Yidong
d024fb4ec9 Avoid deleting ibuffer named filters by default.
* lisp/ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
filter groups.
(ibuffer-included-in-filter-p-1): Use it.  Suggested by Noam
Postavsky.

Fixes: debbugs:8804
2011-08-14 14:08:20 -04:00
Andreas Schwab
1bca59fe75 * lisp/gnus/gnus-score.el (gnus-all-score-files): Use copy-sequence instead of
copy-list.
2011-08-13 10:55:53 +02:00
Juanma Barranquero
62f1ca498c lisp/startup.el (argi): Declare as global variable (bug#9275). 2011-08-12 22:45:45 +02:00
Sam Steingold
29dbb8f772 * lisp/gnus/gnus-score.el (gnus-score-find-alist): Keep the score files already
in the reverse order to avoid modifying the cache with `nreverse'.
(gnus-all-score-files): Do not modify the value returned by
`gnus-score-find-alist' because it lives in a cache variable.
(gnus-current-home-score-file): No need to `nreverse' the return value
of `gnus-score-find-alist', it is already in the correct order.
2011-08-12 14:52:40 -04:00