Chong Yidong
9ccaaa4be7
Fix behavior of string-mark-left-to-right.
...
* lisp/subr.el (string-mark-left-to-right): Search the entire string
for RTL script, not just the terminating character. Doc fix.
2011-08-12 11:43:30 -04:00
Stefan Monnier
6cd18349b8
* lisp/progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
...
New function.
(js--regexp-literal, js-syntax-propertize-function): Remove.
(js-mode): Use js-syntax-propertize to handle multilines.
(js-mode-map): Don't rebind electric keys.
(js-insert-and-indent): Remove.
(js-mode): Setup electric-layout and electric-indent instead.
Fixes: debbugs:9183
2011-08-12 11:32:39 -04:00
Stefan Monnier
a3dae87a1b
* lisp/epa-file.el (epa-file-select-keys): Revert to nil default.
...
Fixes: debbugs:9280
2011-08-12 09:49:45 -04:00
Daiki Ueno
9d5cb6312b
Make epa-file progress message user-friendly.
...
* epa.el (epa-progress-callback-function): Fix the logic of
displaying progress.
* epa-file.el (epa-file-insert-file-contents): Make progress
display more user-friendly.
(epa-file-write-region): Ditto.
2011-08-12 12:30:18 +09:00
Andrew Cohen
fb568e6327
nnimap.el (nnimap-transform-headers): BODYSTRUCTURE for messages of type MESSAGE and subtype RFC822 is slightly different from those of type TEXT.
2011-08-11 22:36:54 +00:00
Chong Yidong
3e26a4a28c
New function `string-mark-left-to-right' for handling LRMs.
...
* lisp/subr.el (string-mark-left-to-right): New function.
* lisp/buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
Use string-mark-left-to-right.
(list-buffers-noselect): Caller changed.
* lisp/emacs-lisp/tabulated-list.el (tabulated-list-print-entry): Use
string-mark-left-to-right.
(tabulated-list-print): Recenter after moving point.
2011-08-10 15:03:56 -04:00
Juri Linkov
ac8cf6e698
* lisp/progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
...
This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org (2011-06-30)
intended by 2011-07-06T15:49:19Z!larsi@gnus.org (2011-07-06).
2011-08-10 21:29:31 +03:00
Chong Yidong
7be1c708c5
Merge from emacs-23 branch
2011-08-09 18:13:11 -04:00
Chong Yidong
8d96c9a4e7
* hi-lock.el (hi-lock-unface-buffer): Fix interactive spec (Bug#7554).
2011-08-09 17:55:34 -04:00
Chong Yidong
839dde5716
* image-dired.el: Don't use find-file for temporary work.
...
(image-dired--with-db-file): New macro.
(image-dired-write-tags, image-dired-remove-tag)
(image-dired-create-gallery-lists, image-dired-write-comments)
(image-dired-get-comment, image-dired-mark-tagged-files)
(image-dired-list-tags, image-dired-gallery-generate): Use it.
(image-dired-gallery-generate): Use insert-file-contents.
Fixes: debbugs:7895
2011-08-08 14:21:32 -04:00
Chong Yidong
37e11a6319
Lisp code shouldn't use set-time-zone-rule except through setenv.
...
* time.el (display-time-world-list, display-time-world-display):
* time-stamp.el (time-stamp-string):
* vc/add-log.el (add-change-log-entry): Use setenv instead of
set-time-zone-rule.
* src/editfns.c (Fset_time_zone_rule): Document relationship with the
setenv function.
Fixes: debbugs:7337
2011-08-08 11:53:35 -04:00
Daiki Ueno
0b4946c419
Format GPG errors (bug#9255).
...
* epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
(epg-error-to-string, epg-errors-to-string): New function.
(epg-wait-for-completion): Reverse errors list.
(epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
(epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
(epg--import-keys-1, epg-receive-keys, epg-delete-keys)
(epg-sign-keys, epg-generate-key-from-file)
(epg-generate-key-from-string): Format errors by using
epg-errors-to-string (bug#9255).
(epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
2011-08-08 16:11:25 +09:00
Chong Yidong
98fdd2b837
* url-http.el (url-http-parse-headers): For HTTP 301/302/307, don't convert to a GET request.
...
Fixes: debbugs:701
2011-08-07 13:48:11 -04:00
Juri Linkov
75bfc66716
Minor doc fixes. Remove duplicate ChangeLog entries.
...
* doc/emacs/dired.texi (Operating on Files): Rewrite according to the fact
that `dired-do-chmod' doesn't use the `chmod' program anymore.
* lisp/faces.el (list-faces-display): Remove extra angle bracket
from `help-mode-map'.
* lisp/info.el (Info-history-toc-nodes): Doc fix.
* lisp/longlines.el (longlines-mode): Doc fix.
* src/editfns.c (Fformat_time_string): Doc fix, add tag `usage:'
to show the arg `TIME' instead of `TIMEVAL'.
2011-08-07 17:14:54 +03:00
Glenn Morris
09ade3a37d
Fix copyrights, licenses, etc in new Org files.
2011-08-06 14:23:50 -07:00
Andrew Cohen
d747b53feb
gnus-sum.el (gnus-summary-refer-article): Warp to article. This allows article-referral to work from an nnir group.
2011-08-05 23:29:17 +00:00
Stefan Monnier
4640dd881c
* lisp/progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
...
of statements and in a few more cases.
Fixes: debbugs:9183
2011-08-05 15:53:46 -04:00
Stefan Monnier
673e08bbd4
* lisp/emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
...
New functions.
(cl-transform-lambda): Use them.
Fixes: debbugs:9239
2011-08-05 12:31:21 -04:00
Martin Rudalics
89b3f01921
Turn some defsubsts into defuns and revert part of last switch-to-buffer fix.
...
* window.el (display-buffer-same-window)
(display-buffer-same-frame, display-buffer-other-window)
(pop-to-buffer-same-window, pop-to-buffer-same-frame)
(pop-to-buffer-other-window)
(pop-to-buffer-same-frame-other-window)
(pop-to-buffer-other-frame): Make them defuns.
(switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
2011-08-05 08:23:23 +02:00
Andrew Cohen
e504613cc6
gnus.el (registry-ignore): Add nnir groups to the ignore-list.
2011-08-04 22:14:04 +00:00
Daiki Ueno
eeec79cbfa
Make sure GPG keys are usable when composing non-MIME messages (bug#8955).
...
* mml1991.el (mml1991-epg-find-usable-key)
(mml1991-epg-find-usable-secret-key): New function.
(mml1991-epg-sign): Check if signing key is usable.
(mml1991-epg-encrypt): Check if encrypting key is usable (bug#8955).
2011-08-04 15:55:53 +09:00
Andrew Cohen
19fe0c2e44
nnir.el (nnir-read-server-parm): Add an argument to restrict to server-variables only. This should fix a bug introduced with commit e1889675b7f4adf057833c5513c9374134c4e053.
...
(nnir-run-query): 'nnir-search-engine should not be set from the global environment.
2011-08-03 22:09:04 +00:00
Stefan Monnier
640c8776f6
* src/keymap.c (Fmake_composed_keymap): Move to subr.el.
...
* lisp/subr.el (make-composed-keymap): Move from C. Change calling
convention, and improve docstring to bring attention to a subtle point.
* lisp/minibuffer.el (completing-read-default): Adjust accordingly.
2011-08-03 17:40:06 -04:00
Michael Albinus
63648a956a
* net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
...
(tramp-open-shell): Use `tramp-shell-quote-argument'.
* net/trampver.el: Update release number.
2011-08-03 21:31:18 +02:00
Glenn Morris
568352e761
Auto-commit of loaddefs files.
2011-08-03 06:20:59 -04:00
Stefan Monnier
b796c9b7f9
* lisp/progmodes/sh-script.el (sh-font-lock-paren): "main" is not "in".
...
Fixes: debbugs:9190
2011-08-02 22:00:22 -04:00
Gnus developers
bca46f6bc6
Merge changes made in Gnus trunk.
...
nnir.el (nnir-search-thread): Position point on referring article line.
(nnir-warp-to-article): Clean up summary buffers.
nnimap.el (nnimap-request-thread): Whitespace fix.
nnimap.el (nnimap-get-groups): Decode "&" correctly.
2011-08-02 22:16:33 +00:00
Lars Magne Ingebrigtsen
e07dd7c340
(sendmail-query-once): Restore the current buffer after querying
...
Fixes: debbugs:9074
2011-08-02 21:43:09 +02:00
Lars Magne Ingebrigtsen
0e6a2bd74e
Use different faces for marked and flagged files in dired
...
Fixes: debbugs:6117
2011-08-02 21:05:04 +02:00
Lars Magne Ingebrigtsen
ce887515f2
dolist doc fix.
...
(dolist): Mention that there's a nil block
2011-08-02 20:49:12 +02:00
Lars Magne Ingebrigtsen
92f2affc50
(ido-mode): Switch off the message if called non-interactively.
2011-08-02 17:59:31 +02:00
Lars Magne Ingebrigtsen
57d5aff0c0
Prefer port smtp over port 587 when sending mail.
...
* mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
before 587, since it appears that that's more likely to work for
more people.
2011-08-02 17:57:35 +02:00
Lars Magne Ingebrigtsen
98cd6c18c5
When running under emacs -q, always refuse to save the customisations, even if the .emacs file doesn't exist.
...
This makes it easier to reproduce testing runs under "emacs -Q" more
reliably.
2011-08-02 17:46:07 +02:00
Lars Magne Ingebrigtsen
b96dec833c
* info.el: Remove the `Info-beginning-of-buffer' function
2011-08-02 17:21:07 +02:00
Lars Magne Ingebrigtsen
2239d7d5ef
Use `starttls-available-p' to see whether starttls.el can be used.
2011-08-02 15:34:05 +02:00
Lars Magne Ingebrigtsen
0f805e429d
(starttls-available-p): Renamed from `starttls-any-program-available' and changed return convention.
2011-08-02 15:30:46 +02:00
Martin Rudalics
d90e2ea0ee
Don't set dedicated status for reused normal windows (Bug#9215).
...
* window.el (display-buffer-in-window): Don't set dedicated status
of window here (Bug#9215).
(display-buffer-pop-up-window, display-buffer-pop-up-frame)
(display-buffer-pop-up-side-window)
(display-buffer-in-side-window): Set dedicated status of window
here.
2011-08-01 20:10:58 +02:00
Stefan Monnier
cca09170ad
* lisp/emacs-lisp/package.el (package-generate-autoloads): Load autoloads
...
before binding generated-autoload-file.
2011-08-01 11:54:09 -04:00
Deniz Dogan
027b979ca0
* lisp/net/rcirc.el (rcirc-handler-333): Clarify docstring.
2011-08-01 14:30:18 +02:00
Glenn Morris
efd33e4246
Auto-commit of loaddefs files.
2011-08-01 06:21:26 -04:00
Gnus developers
93855df97b
Merge changes made in Gnus trunk.
...
nnmaildir.el (nnmaildir-request-accept-article): Don't call `unix-sync' unless it's defined.
gnus-art.el (gnus-article-stop-animations): Use `elt' instead of `aref' for XEmacs compatibiltiy.
spam.el (spam-fetch-field-fast): Rewrite slightly for clarity.
gnus-sum.el (gnus-summary-refer-thread): Since lambdas aren't closures, quote the form properly (bug#9194).
gnus-sum.el (gnus-summary-insert-new-articles): Clean up slightly.
(gnus-summary-insert-new-articles): Protect against servers that are down.
2011-07-31 22:15:44 +00:00
Chong Yidong
811954e3b7
Fix copyrights for javascript and python grammars.
...
Since these grammars were transcribed from the ECMAScript spec (BSD
licensed) and Python sources (PSL) respectively, the copyright and
license notices must be included in these files.
2011-07-30 20:11:05 -04:00
Carsten Dominik
4464a33d9c
Fix regexp for finding code blocks
2011-07-30 18:29:20 +02:00
Michael Albinus
3c7ee4f39a
Sync with Tramp 2.2.2.
...
* net/trampver.el: Update release number.
2011-07-30 16:57:12 +02:00
Glenn Morris
294e60d3a0
Auto-commit of loaddefs files.
2011-07-30 06:18:37 -04:00
Juri Linkov
2cc8e51a1f
* lisp/dired-aux.el (dired-touch-initial): Remove function.
...
(dired-do-chxxx): For op-symbol `touch', set `initial' to the
current time, and `default' to the last modification time of the
current marked file.
Fixes: debbugs:6887
2011-07-30 12:14:58 +03:00
Chong Yidong
b4010ade66
Fix require statement in semantic/grammar.el.
...
* lisp/semantic/grammar.el (semantic-grammar-insert-defanalyzers): Fix
require.
2011-07-29 22:11:31 -04:00
Daniel Dehennin
c843522682
mm-decode.el (mm-dissect-buffer): Add a default content-disposition in mm handle if none is specified.
2011-07-29 09:29:35 +00:00
Reiner Steib
29c8a348c5
Fix my mail address.
2011-07-29 08:47:56 +02:00
Andreas Schwab
29bbcfa705
Fixes: debbugs:6594
...
* lisp/xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
character.
2011-07-28 20:40:28 +02:00