1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-27 16:51:06 -07:00
Commit graph

57842 commits

Author SHA1 Message Date
Jürgen Hötzel
1a82330cc5 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
(No device connected, invalid device name). (Bug #13299)
2012-12-31 16:29:23 +01:00
Martin Rudalics
27fcfe3101 Once more fix resizing of rmail summary window.
* window.el (window-resizable--p): Rename to window-resizable-p.
(window-resize-no-error): New function.

* mail/rmail.el (rmail-maybe-display-summary): Restore behavior
broken in fix from 2012-12-28.
2012-12-31 12:35:13 +01:00
Glenn Morris
393e7ee044 Auto-commit of loaddefs files. 2012-12-31 06:20:58 -05:00
Stefan Monnier
96c052a5d1 * lisp/subr.el (special-form-p): Don't signal errors on undef aliases. 2012-12-30 23:43:35 -05:00
Jay Belanger
fd1f1603a4 * calc/calc-forms.el (math-parse-date): Try using
`math-parse-iso-date' when it looks like it might be needed.  Allow
times of 24:00. 
(math-parse-date-validate, math-parse-iso-date-validate):  Allow times
of 24:00.
2012-12-30 20:58:57 -06:00
Glenn Morris
d5e5e7b411 Merge from emacs-24; up to 2012-12-05T00:13:56Z!yamaoka@jpl.org 2012-12-30 10:09:01 -08:00
Glenn Morris
5c56088065 Auto-commit of loaddefs files. 2012-12-30 07:23:26 -05:00
Michael Albinus
4f752957f1 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
Return `t' on success.

* net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add
handler for `set-file-selinux-context'.
2012-12-30 11:58:13 +01:00
Glenn Morris
8db39aebe8 mairix.el fix for bug#13294
* lisp/net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
Remove unnecessary/buggy autoloads (missing interactive). 
(rmail-summary-displayed, rmail-summary): Declare.
(mairix-rmail-display): Just require rmail.
2012-12-29 19:28:52 -08:00
Lars Magne Ingebrigtsen
4d1d3f07a4 lisp/gnus/nnfolder.el: Allow regenerating recursive nnfolder names 2012-12-29 23:18:05 +00:00
Michael Albinus
eff2eb5812 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
(tramp-sh-handle-set-file-acl): Return `t' on success.
2012-12-29 20:11:11 +01:00
Andreas Schwab
3748b103ab Fix changelog 2012-12-29 16:16:37 +01:00
Eli Zaretskii
7e56b10316 Fix last commit.
lisp/files.el (basic-save-buffer): If set-file-extended-attributes
 fails, fall back on set-file-modes.

Fixes: debbugs:13298
2012-12-29 16:58:41 +02:00
Eli Zaretskii
ccad023bc3 Fix bug #13298 with failed backups by falling back on set-file-modes.
src/fileio.c (Fset_file_selinux_context, Fset_file_acl): Return t if
 file's SELinux context or ACLs successfully set, nil otherwise.

 lisp/files.el (backup-buffer-copy, basic-save-buffer-2): If
 set-file-extended-attributes fails, fall back on set-file-modes
 instead of signaling an error.

 doc/lispref/files.texi (Changing Files): Document the return values of
 set-file-selinux-context and set-file-acl.
2012-12-29 16:32:36 +02:00
Fabián Ezequiel Gallina
ccb1c17e8b * progmodes/python.el: Support other commands triggering
python-indent-line so indentation cycling continues to work.
(python-indent-trigger-commands): New defcustom.
(python-indent-line): Use it.
2012-12-29 09:57:49 -03:00
Fabián Ezequiel Gallina
16768034b2 * progmodes/python.el (python-shell-send-region): Add blank lines
for non sent code so backtraces remain correct.
2012-12-29 09:33:33 -03:00
Chong Yidong
3c94d7a636 * emacs-lisp/package.el (package-untar-buffer): Improve integrity check for tarball contents. 2012-12-29 19:06:10 +08:00
Fabián Ezequiel Gallina
66164d2f17 * progmodes/python.el: Remove cl dependency.
(python-syntax-count-quotes): Replace incf call.
(python-fill-string): Replace setf call.
2012-12-29 08:04:55 -03:00
Matt Fidler
af39894ab4 * emacs-lisp/package.el (package-untar-buffer): Handle problematic tarfile content listings.
Fixes: debbugs:13136
2012-12-29 18:26:14 +08:00
Mark Lillibridge
bb709253f3 Fix bug #9521 with forwarding MIME messages in Rmail.
lisp/mail/rmailmm.el (rmail-insert-mime-forwarded-message): Insert
 the undecoded text of the message being forwarded.
2012-12-29 10:50:27 +02:00
Michael Albinus
3ee24a3b32 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
integers, if they are real numbers.  (Bug#13282)
2012-12-29 00:09:13 -08:00
Lars Ingebrigtsen
af9bf0ca60 Backport gnus-msg fix from trunk
* lisp/gnus/gnus-msg.el (gnus-summary-resend-message):
Don't bug out on non-string posting styles.

Fixes: debbugs:13285
2012-12-29 00:05:17 -08:00
Chong Yidong
43ebd12b9a Fix ChangeLog entry for last commit. 2012-12-29 14:14:55 +08:00
Damien Cassou
761231d1d2 * info.el (info-other-window): New arg, for consistency with info. 2012-12-29 14:14:00 +08:00
Martin Rudalics
bf48a7151d Simplify and fix last fix of rmail-maybe-display-summary. 2012-12-28 15:35:33 +01:00
Lars Ingebrigtsen
b9989bfa7e lisp/gnus/nntp.el (nntp-open-connection): Fix nntp connection problems with the Typhoon server 2012-12-28 12:26:54 +00:00
Martin Rudalics
7c3e220a6e Rewrite rmail-maybe-display-summary (Bug#13066).
* mail/rmail.el (rmail-maybe-display-summary): Rewrite
(Bug#13066).
2012-12-28 11:24:04 +01:00
Andreas Schwab
361828b5db * epg.el (epg--start): Modify process-environment locally. 2012-12-28 10:49:59 +01:00
Daiki Ueno
23bd348c3f epg: Support pinentry-curses 2012-12-28 12:51:20 +09:00
Wolfgang Jenkner
19693cc174 Gnus: Avoid `Invalid face reference: nil' messages 2012-12-27 22:51:46 +00:00
Juri Linkov
313f39aa03 * lisp/info.el (Info-file-completions): New variable.
(Info-read-node-name-1): Complete node names in the Info file
when a file name is given.  Call `Info-build-node-completions'
with a file name.
(Info-build-node-completions): Add new arg `file'.  When it is
non-nil, visit it in a temporary buffer and cache its completions in
`Info-current-file-completions'.  Move most of the function body to
`Info-build-node-completions-1'.
(Info-build-node-completions-1): New function with the body from
`Info-build-node-completions'.

Fixes: debbugs:12456
2012-12-27 22:42:02 +02:00
Juri Linkov
a45b76475e * lisp/frame.el (frame-maximization-style): Remove user option.
(cycle-frame-maximized): Remove function.
(toggle-frame-maximized): Rewrite and bind to M-<f10>.
(toggle-frame-fullscreen): New command bound to <f11> instead of
`toggle-frame-maximized'.
http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
2012-12-27 22:09:45 +02:00
Sam Steingold
bcdfbc0e96 fix last patch 2012-12-27 14:58:04 -05:00
Michael Albinus
10ffd0be89 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
* net/tramp-adb.el (tramp-adb-file-name-handler-alist):
* net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
* net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
for `file-accessible-directory-p'.  (Bug#13275)
2012-12-27 20:00:57 +01:00
Sam Steingold
fd146719cb * lisp/progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
continuations, see <http://stackoverflow.com/questions/3582436>.
2012-12-27 11:33:06 -05:00
Lars Ingebrigtsen
e06151b396 lisp/gnus/gnus-msg.el (gnus-summary-resend-message): Don't bug out on non-string posting styles (bug#13285) 2012-12-27 14:58:36 +00:00
Andreas Schwab
541aff54ba lisp/gnus/mml2015.el (mml2015-epg-key-image): separate attribute stream from stderr 2012-12-27 14:44:01 +00:00
Glenn Morris
c88943a2a4 ChangeLog fix
remove dupe, mark tiny change by author without assignment
http://orgmode.org/w/?p=org-mode.git;a=patch;h=ae87b6e5f2a143bb69ab512515dc85b41ff0cd1e
2012-12-27 00:25:30 -08:00
Glenn Morris
82e2a1f054 Merge from emacs-24; up to 2012-12-03T21:07:47Z!eggert@cs.ucla.edu 2012-12-27 00:21:08 -08:00
Glenn Morris
e1da740354 * plstore.el (plstore-passphrase-callback-function): Fix file/buffer typo.
Fixes: debbugs:13264
2012-12-27 00:11:33 -08:00
Vitalie Spinu
c34339f3a2 Cleanup comint-postoutput-scroll-to-bottom (Bug#13248).
* comint.el (comint-adjust-window-point): New function.
(comint-postoutput-scroll-to-bottom): Call
comint-adjust-window-point (Bug#13248).
2012-12-27 08:33:47 +01:00
Gnus developers
da42d41a90 Merge changes made in Gnus master
2012-12-26  Katsumi Yamaoka  <yamaoka@jpl.org>
* mml2015.el (mml2015-epg-key-image): Use mm-set-buffer-multibyte.

2012-12-25  Adam Sjøgren  <asjo@koldfront.dk>
* mml2015.el (mml2015-epg-key-image): use --attribute-fd rather than
  temporary file to get PGP key image. Pass no-show-photos when extracting
  image to avoid having it pop up twice.

2012-12-26  Lars Ingebrigtsen  <larsi@gnus.org>
 * gnus-art.el (gnus-article-treat-types): Include text/html as parts
 eligible for treatment.
2012-12-26 22:30:58 +00:00
Dmitry Gutov
78269b95cf * lisp/progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
Rakefile regexp.
(auto-mode-alist): Associate .gemspec files with ruby-mode
(https://bugs.ruby-lang.org/issues/5453).
2012-12-26 23:52:56 +04:00
Dmitry Gutov
db590ef6e3 * lisp/progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
"module" and "def" to have indentation before them.  Regression
  from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).

* test/automated/ruby-mode-tests.el
  (ruby-indent-after-block-in-continued-expression): New test.
2012-12-26 20:45:19 +04:00
Jürgen Hötzel
bd8c13f9fa * net/tramp-adb.el (tramp-adb-get-ls-command): New defun. Suppress
coloring, if possible (required for BusyBox based systems like
CynagenMod).
(tramp-adb-handle-file-attributes)
(tramp-adb-handle-insert-directory)
(tramp-adb-handle-file-name-all-completions): Use it.
(tramp-adb-get-toolbox): New defun.  Check for remote shell
implementation (BusyBox or Toolbox).
2012-12-26 17:22:18 +01:00
Lars Ingebrigtsen
2e05152022 Merge changes made in Gnus master
gnus-util.el (gnus-goto-colon): Move to the beginning of the visual
  lines.  This makes summary commands with hidden threads work more
  reliably.
gnus-cite.el (gnus-article-hide-citation-maybe): Leave an expansion
  button to mark the hidden citations (bug#9395).
2012-12-26 13:58:54 +00:00
Daiki Ueno
f1c9aabc18 Move photo ID display code from epg.el to gnus/mml2015.el.
2012-12-26  Daiki Ueno  <ueno@gnu.org>
* mml2015.el (mml2015-epg-signature-to-string): New function.
(mml2015-epg-verify-result-to-string): New function.
(mml2015-epg-decrypt, mml2015-epg-clear-decrypt, mml2015-epg-verify)
(mml2015-epg-clear-verify): Use mml2015-epg-verify-result-to-string
instead of epg-verify-result-to-string.
(epg-signature-key-id, epg-signature-to-string): Autoload.
(epg-verify-result-to-string): Remove autoload.

2012-12-25  Adam Sjøgren  <asjo@koldfront.dk>
* mml2015.el (mml2015-epg-key-image): New function, to retrieve photo
ID image from GPG public key.
(mml2015-epg-key-image-to-string): New function.
2012-12-26 13:20:21 +09:00
Katsumi Yamaoka
7073eb6178 lisp/gnus/ChangeLog: Fix wrongly adjusted dates 2012-12-25 23:38:16 +00:00
Adam Sjøgren
23dab7dca6 Display images from gpg signatures
* epg.el (epg-signature-to-string): Use new functions
epg-key-image, epg-key-image-to-string to find and display image
from key.
2012-12-25 23:49:35 +01:00
Leo Liu
ecfb998c17 lisp/gnus/plstore.el (plstore-passphrase-callback-function): Fix error when
error when plstore-cache-passphrase-for-symmetric-encryption is set
  (bug#13264).
2012-12-25 22:23:10 +00:00