Joakim Verona
09708f70bd
auto upstream
2013-01-10 00:04:21 +01:00
Elias Pipping
2b541f9a8d
* lisp/doc-view.el: Add support for DjVu.
...
(doc-view-djvu->png-converter-function): New config var.
(doc-view-single-page-converter-function, doc-view--image-type)
(doc-view--image-file-extension): New vars.
(doc-view-mode): Initialize them.
(doc-view-goto-page): Use them.
(doc-view-mode-p): Add support for ddjvu.
(doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
(doc-view-set-up-single-converter): New funs.
(doc-view-pdf/ps->png): Extend for djvu.
(doc-view-document->png): Rename from doc-view-pdf->png.
(doc-view-convert-current-doc): Handle djvu.
(doc-view-insert-image, doc-view-display)
(doc-view-already-converted-p): Don't hardcode png.
(doc-view-set-doc-type): Recognize djvu docs.
Fixes: debbugs:13164
2013-01-09 16:24:42 -05:00
Elias Pipping
85f17e350d
* lisp/doc-view.el: Add support for mupdf converter.
...
(doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
(doc-view-ps->png-converter-function): New config vars.
(doc-view-pdf->png-converter-ghostscript)
(doc-view-ps->png-converter-ghostscript)
(doc-view-pdf->png-converter-mupdf): New functions.
(doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
Fixes: debbugs:13164
2013-01-09 14:48:42 -05:00
Michael Albinus
ccd04887a3
* net/tramp.el (tramp-eshell-directory-change): Check remote-path
...
first in session cache: When `tramp-own-remote-path' is in
`tramp-remote-path', the remote path is only set in the session
cache.
2013-01-09 10:49:27 +01:00
Glenn Morris
fb9f714667
Merge from emacs-24; up to 2012-12-08T12:11:29Z!eliz@gnu.org
2013-01-09 00:30:21 -08:00
Glenn Morris
72dbf62a95
Remove duplicated ChangeLog entry
2013-01-09 00:20:20 -08:00
Paul Eggert
677d5c928c
Spelling fixes.
...
* lisp/net/tramp-adb.el (tramp-adb-get-toolbox):
Fix misspelling of 'unknown'.
2013-01-09 00:17:47 -08:00
Daiki Ueno
b84e3dda5b
* mml-smime.el (epg-sub-key-fingerprint): Autoload.
2013-01-09 14:11:16 +09:00
Glenn Morris
9d4a179053
Remove some obsolete trace.el commentary
2013-01-08 20:01:57 -08:00
Glenn Morris
c5ad92de10
* emacs-lisp/trace.el (trace-function, trace-function-background): Doc fix.
2013-01-08 19:59:10 -08:00
Juri Linkov
39a0786e1b
* lisp/international/mule-cmds.el (read-char-by-name): Move let-binding
...
of completion-ignore-case around completing-read to fix regression
exhibited by the test case `C-x 8 RET *acc TAB' and caused by
`string-match-p' using the nil value of `case-fold-search' and
`completion-ignore-case' in `completion-pcm--all-completions'..
Fixes: debbugs:12615
2013-01-09 02:20:02 +02:00
Juri Linkov
073ca75ba3
* lisp/textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
...
* lisp/progmodes/flymake.el (flymake-errline, flymake-warnline):
Use underline style wave on terminals that support it.
* src/xfaces.c (tty_supports_face_attributes_p): Return 0 for the case
of (supports :underline (:style wave)).
Fixes: debbugs:13000
2013-01-09 01:50:40 +02:00
Joakim Verona
0f9ee7aa0e
auto upstream
2013-01-09 00:03:40 +01:00
Stefan Monnier
4bdc352611
* lisp/emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
...
the predicate returns nil.
2013-01-08 17:26:21 -05:00
Bastien Guerry
04c285b264
Fixes related to the last Org merge.
2013-01-08 23:02:09 +01:00
Stefan Monnier
a464813702
* lisp/simple.el: Use lexical-binding.
...
(primitive-undo): Use pcase.
(minibuffer-history-isearch-push-state): Use a closure.
2013-01-08 15:15:15 -05:00
Aaron S. Hawley
3bace969f3
* lisp/simple.el (primitive-undo): Move from undo.c.
...
* src/undo.c (Fprimitive_undo): Move to simple.el.
(syms_of_undo): Remove declaration for Sprimitive_undo.
* test/automated/undo-tests.el: New file.
2013-01-08 14:13:31 -05:00
Bastien Guerry
2e3c2398e3
Merge Org up to commit 4cac75153. Some ChangeLog formatting fixes.
2013-01-08 19:49:37 +01:00
Stefan Monnier
1c851e98b6
* lisp/vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
...
(cvs-mode-remove-handled): Use it.
Fixes: debbugs:13380
2013-01-08 12:34:35 -05:00
Bastien Guerry
6d3e4c8092
Merge Org (commit c8c217). Fix mistake about updating the wrong ChangeLog.
2013-01-08 16:31:30 +01:00
Stefan Monnier
a731fc1bb0
* lisp/emacs-lisp/nadvice.el (advice--tweak): New function.
...
(advice--remove-function, advice--subst-main): Use it.
* lisp/emacs-lisp/advice.el: Update commentary.
2013-01-08 10:24:56 -05:00
Bastien Guerry
c7cf0ebc24
Merge Org 7.9.3 (commit 31c1aea)
2013-01-08 15:27:18 +01:00
Michael Albinus
2a22c83bb0
* net/tramp-adb.el (tramp-adb-file-name-handler-alist): Remove
...
spurious entry.
2013-01-08 12:02:58 +01:00
Glenn Morris
83c1803a3a
Add some :version tags
...
* gnus/mml-smime.el (mml-smime-sign-with-sender): Add :version.
* net/tramp.el (tramp-default-host-alist): Add :version.
2013-01-07 20:40:09 -08:00
Juri Linkov
8a2e287c26
* lisp/info.el (Info-read-node-name-2): Don't duplicate suffixes for single completion.
...
(info--manual-names): Expand node completions into an explicit list
before appending it to another list. Filter out internal buffers
with the leading space in the buffer name. (Bug#10771)
Fixes: debbugs:12456
2013-01-08 02:28:55 +02:00
Juri Linkov
c6a22ce23d
* lisp/info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
...
that defaults to the Top node.
(Info-goto-node, Info-read-node-name): Doc fix to mention that
the short format (FILENAME) goes to the Top node.
(Info-build-node-completions): Rename arg `file' to `filename'.
* doc/misc/info.texi (Go to node): Mention the abbreviated format
`(FILENAME)' equal to `(FILENAME)Top'.
Fixes: debbugs:13365
2013-01-08 02:11:51 +02:00
Joakim Verona
1c05adeed6
auto upstream
2013-01-08 00:03:39 +01:00
Bastien Guerry
acfe10b71c
Introduce apropos-user-option' and update apropos-variable'. (Bug#13276)
2013-01-07 23:00:55 +01:00
Jürgen Hötzel
62bcf67099
* net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
...
Handle filename correctly, when parsing "source -> target" symlink
output.
(tramp-adb-handle-set-file-times): New defun.
2013-01-07 20:44:48 +01:00
Stefan Monnier
4986fa2175
* lisp/emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
...
advice list when the interactive-spec of ad-Advice-* changes.
2013-01-07 13:03:01 -05:00
Katsumi Yamaoka
3bee311e97
wid-edit.el (widget-default-get): Work for inlined elements (Bug#12670)
2013-01-07 11:24:35 +00:00
Michael Albinus
b49eebcc07
* net/tramp.el (tramp-default-host-alist): New defcustom.
...
(tramp-find-host): Use it.
(tramp-eshell-directory-change): Moved from tramp-sh.el. Add to
`eshell-directory-change-hook'.
* net/tramp-adb.el (top): Add adb specific entry in
`tramp-default-host-alist'.
(tramp-adb-file-name-host): Remove function.
(tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
* net/tramp-sh.el : Move eshell integration code to tramp.el.
2013-01-07 10:25:34 +01:00
Daiki Ueno
38eba8dfc4
lisp/gnus/mml-smime.el: Support signing by sender.
2013-01-07 12:59:02 +09:00
Glenn Morris
06364e6463
* lisp/progmodes/compile.el (compilation-parse-errors): Fix typo.
...
Fixes: debbugs:13369
2013-01-06 17:23:26 -08:00
Vitalie Spinu
236a8f0cc0
comint-send-input tiny change
...
* lisp/comint.el (comint-send-input): Check size of buffer before
waiting for process output, in case already accepted.
Fixes: debbugs:13290
2013-01-06 17:06:39 -08:00
Joakim Verona
be73be611d
auto upstream
2013-01-07 00:03:49 +01:00
Jürgen Hötzel
84f6744ab7
* net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
2013-01-06 22:25:27 +01:00
Michael Albinus
b6cfbcd0fc
* net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
...
consist of mor than one digit.
(tramp-adb-file-name-handler-alist): Use
`tramp-handle-file-exists-p' consistently.
(tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
(tramp-adb-handle-file-exists-p): Remove function.
(tramp-adb-file-name-host): New defun.
(tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
Use it.
(tramp-adb-maybe-open-connection): Set "remote-path" property.
2013-01-06 16:44:18 +01:00
Chong Yidong
58ba7b1b55
Try to handle buffer/file modifications which conflict with VCS locking.
...
* vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
* vc/vc.el (vc-next-action): Detect buffer modifications
conflicting with locking VCS operation.
Fixes: debbugs:11490
2013-01-06 10:58:57 +08:00
Michael Albinus
f4566fe987
* net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
...
(tramp-adb-handle-directory-files-and-attributes): Fix typos.
2013-01-05 14:48:16 +01:00
Michael Albinus
838cf2981c
* net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
...
parsing of ls output using regular expression (handle filenames
with spaces). Use virtual device number.
(tramp-do-parse-file-attributes-with-ls): New defun (Code
cleanup).
2013-01-05 14:41:57 +01:00
Joakim Verona
b18e01b65e
auto upstream
2013-01-05 00:04:41 +01:00
Daiki Ueno
1bd71e9fe1
* epg.el: Silence byte-compiler warnings.
2013-01-05 07:54:08 +09:00
Daiki Ueno
00cd4c1cbd
* epg.el (epg--start): Don't call "tty" program on W32 platforms.
2013-01-05 07:51:52 +09:00
Glenn Morris
0f668a4db4
Merge from emacs-24; up to 2012-12-06T20:16:38Z!monnier@iro.umontreal.ca
2013-01-04 11:22:37 -08:00
Michael Albinus
f99ced353f
* net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
...
non-negative integers. Otherwise, the default values are used.
(tramp-convert-file-attributes): Convert uid and gid to integers.
2013-01-04 10:41:23 +01:00
Wesley Dawson
bdd9367d4e
icomplete-prospects-height fix (tiny change)
...
* icomplete.el (icomplete-completions):
Honor icomplete-prospects-height once more following 2012-11-29 changes.
Fixes: debbugs:13224
2013-01-04 00:20:49 -08:00
Stefan Monnier
c0bd248ccb
* lisp/subr.el (internal--called-interactively-p--get-frame): Find aliases
...
of called-interactively-p as well.
Fixes: debbugs:13237
2013-01-03 22:42:11 -05:00
Stefan Monnier
4a74c81880
* lisp/view.el (view--enable, view--disable): Rename from view-mode-enable
...
and view-mode-disable and assume it's called from view-mode.
(view-mode-enable, view-mode-disable): Redefine as obsolete
compatibility layer above view-mode.
(view-mode-enter): Call `view-mode'.
* lisp/files.el (after-find-file): Call `view-mode'.
2013-01-03 21:53:48 -05:00
Stefan Monnier
96dd18b110
* lisp/doc-view.el (doc-view-scale-internally): New var.
...
(doc-view-enlarge, doc-view-insert-image): Obey it.
2013-01-03 21:45:59 -05:00