1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-16 09:50:25 +00:00
Commit Graph

115109 Commits

Author SHA1 Message Date
Glenn Morris
ce0ef8febf * doc/misc/cl.texi (Blocks and Exits): Tweak earlier change. 2014-02-02 23:26:59 -08:00
Dmitry Antipov
34baf96c31 * print.c (Fexternal_debugging_output): Add cast to pacify
--enable-gcc-warnings.
2014-02-03 11:05:28 +04:00
Glenn Morris
be445cf2ab Some doc for desktop-auto-save-timeout
* doc/emacs/misc.texi (Saving Emacs Sessions):
Mention desktop-auto-save-timeout.

* lisp/desktop.el (desktop-save-mode): Doc fix.

* etc/NEWS: Related edit.
2014-02-02 19:12:29 -08:00
Glenn Morris
f16a3d523a * doc/misc/cl.texi (Blocks and Exits): Mention cl-tagbody.
* etc/NEWS: Related edit.
2014-02-02 18:58:13 -08:00
Glenn Morris
eb9b8ff6af * etc/NEWS: Mention register-read-with-preview. 2014-02-02 17:03:11 -08:00
Glenn Morris
6a6b8e405e Be more consistent in using register-read-with-preview to read registers
* frameset.el (frameset-to-register):
* kmacro.el (kmacro-to-register):
* register.el (increment-register):
* calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
(calc-append-to-register, calc-prepend-to-register):
* play/gametree.el (gametree-layout-to-register)
(gametree-apply-register-layout):
* textmodes/picture.el (picture-clear-rectangle-to-register)
(picture-yank-rectangle-from-register):
* vc/emerge.el (emerge-combine-versions-register):
Use register-read-with-preview to read registers.

* cedet/semantic/senator.el (senator-copy-tag-to-register):
Use register-read-with-preview, if available.

* calculator.el, emulation/viper-cmd.el: Comments.
2014-02-02 16:40:49 -08:00
João Távora
5dca7759a7 Fix `electric-pair-backward-delete-char' error at bob
* lisp/elec-pair.el (electric-pair-backward-delete-char): Don't error
when at beginning of (possibly narrowed) buffer.
2014-02-03 00:28:57 +00:00
Daniel Colascione
709085b93d Make help-at-point stuff also look just before point 2014-02-02 14:21:33 -08:00
Alan Mackenzie
99f7b0a6d6 c-parse-state. Don't "append-lower-brace-pair" in certain
circumstances.  Also fix an obscure bug where "\\s!" shouldn't be
recognised as a comment.

* progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
as well as normal comment starter.
(c-parse-state-get-strategy): Extra return possibility
'back-and-forward.
(c-remove-stale-state-cache): Extra element CONS-SEPARATED in
return value list to indicate replacement of a brace-pair cons
with its car.
(c-parse-state-1): With 'back-and-forward, only call
c-append-lower-brace-pair-to state-cache when cons-separated.
2014-02-02 16:28:52 +00:00
Jan Djärv
f0a1057646 Disallow suspend-emacs under NS
* term/ns-win.el (ns-suspend-error): New function.
(ns-initialize-window-system): Add ns-suspend-error to
suspend-hook.

Fixes: debbugs:16612
2014-02-02 15:10:50 +01:00
Martin Rudalics
b41686493e In Fx_create_frame of w32fns.c process frame alpha earlier. (Bug#16619)
* w32fns.c (Fx_create_frame): Process frame alpha earlier.  (Bug#16619)
2014-02-02 14:00:41 +01:00
Daniel Colascione
b8d552c2f0 Make loading cc-mode silent 2014-02-02 02:25:29 -08:00
Daniel Colascione
f2b7d12378 Tweak comint docstring to suggest remap bindings 2014-02-01 23:51:26 -08:00
Glenn Morris
4472a19603 register.el doc fixes
* lisp/register.el (register-read-with-preview, point-to-register)
(window-configuration-to-register, frame-configuration-to-register)
(jump-to-register, number-to-register, view-register, insert-register)
(copy-to-register, append-to-register, prepend-to-register)
(copy-rectangle-to-register): Doc fixes.
2014-02-01 19:42:20 -08:00
Stefan Monnier
70e5a261ac * lisp/help-fns.el (help-C-file-name): Handle advised functions.
* lisp/emacs-lisp/find-func.el (find-function-C-source): Idem.
* lisp/emacs-lisp/nadvice.el (advice--cd*r): New function.
* help-fns.el (describe-function-1): Use it.

Fixes: debbugs:16478
2014-02-01 21:25:05 -05:00
Glenn Morris
65bc4bb587 * doc/misc/efaq-w32.texi (Tramp ssh): Remove deleted tramp methods.
* etc/NEWS: Related edits.
2014-02-01 17:16:18 -08:00
Glenn Morris
7c3247627a register preview fixes
* doc/emacs/regs.texi (Registers): Mention previewing.

* lisp/register.el (register-preview-default): New function,
split from register-preview.
(register-preview-function): Rename from register-preview-functions,
make it not a hook.
(register-preview): Use register-preview-function.
(register-read-with-preview): Error on non-character event. 

* etc/NEWS: Related markup.

Fixes: debbugs:16595
2014-02-01 17:04:08 -08:00
Eli Zaretskii
28e6cee817 Attempt to solve bug #16615 by using a more accurate function prototype.
src/w32fns.c (Ffile_system_info): Use WINAPI in the function
 pointers that get the address of GetDiskFreeSpaceEx.
2014-02-01 22:10:37 +02:00
Dmitry Gutov
68e004e0cd Fix bug#16610
* lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords): For built-ins
that require arguments, check that they're followed by something that
looks like argument.
2014-02-01 19:06:08 +02:00
Dmitry Gutov
a09beb3df2 Fix bug#16609
* lisp/progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
`:' before binary operators.  Don't check for `:'
before `[' and `(', or their syntax status.  A percent literal
can't end with either.
2014-02-01 16:54:58 +02:00
Eli Zaretskii
9ef58a52ac Fix bug #16448 with non-ASCII error messages in batch mode.
src/print.c (Fexternal_debugging_output): If the argument character
 is non-ASCII, encode it with the current locale's encoding before
 writing the result to the terminal.
2014-02-01 13:53:10 +02:00
Glenn Morris
2f31004a73 Auto-commit of loaddefs files. 2014-02-01 06:17:37 -05:00
Eli Zaretskii
cb13e9a842 Fix bug #16558 with w32-shell-execute on remote file names.
src/w32fns.c (Fw32_shell_execute): Don't call file-exists-p for
 DOCUMENT that is a "remote" file name, i.e. a file-handler exists
 for it.
2014-02-01 11:22:51 +02:00
Lars Ingebrigtsen
94304aea88 nnir mark update fix
* nnir.el (nnir-request-update-mark): Don't try to update the source
group if we can't find it (bug#16611).
2014-02-01 00:26:31 -08:00
Lars Ingebrigtsen
ed4d2875a8 Check in forgotten ChangeLog entry from previous nbutlast change 2014-01-31 23:55:57 -08:00
Lars Ingebrigtsen
79278d0313 * subr.el (butlast): Document what an omitted N means.
* subr.el (butlast): Document what an omitted N means.
(nbutlast): Ditto.

Fixes: debbugs:13437
2014-01-31 23:54:29 -08:00
Lars Ingebrigtsen
cc477daa01 Make shr respect privacy when viewing documents with SVG images
(shr-tag-svg): Respect `shr-inhibit-images'.
(shr-dom-to-xml): Respect `shr-blocked-images'.

Fixes: debbugs:15882
2014-01-31 13:44:11 -08:00
Lars Ingebrigtsen
dba6e3ec42 Make shr-generic into a defsusbt to make the stack shallower
* net/shr.el (shr-generic): Make into a defsubst to make the stack
depth shallower.
2014-01-31 13:08:13 -08:00
Dmitry Gutov
2f313daf4a Fixup the documentation for the previous change
* etc/NEWS: Mention `ruby-align-chained-calls'.

* lisp/progmodes/ruby-mode.el (ruby-align-chained-calls): Update the
  docstring and add :version tag.

Fixes: debbugs:16593
2014-01-31 19:33:12 +02:00
Dmitry Gutov
e2a67bd08e Implement user option ruby-align-chained-calls
* lisp/progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
(ruby-smie-grammar): Make "." right-associative.  Make its priority
lower than the ternary and all binary operators.
(ruby-smie-rules): Indent "(" relative to the first non-"."
parent, or the first "." parent at indentation.  Use
`ruby-align-chained-calls' for indentation of "." tokens.

* test/automated/ruby-mode-tests.el (ruby-align-chained-calls):
New test.

Fixes: debbugs:16593
2014-01-31 19:13:49 +02:00
Lars Ingebrigtsen
ec80e68933 lisp/gnus/nnimap.el (nnimap-transform-headers): Partially revert mistakenly checked-in test code from last checkin 2014-01-31 10:13:28 +00:00
Juri Linkov
bd21bf41c0 Misc small fixes.
* doc/lispref/searching.texi (String Search): Incremental word search fixes.

* lisp/sort.el (delete-duplicate-lines): Remove `:weakness 'key'
from `make-hash-table'.

* lisp/textmodes/ispell.el (ispell-init-process): Change message format
to be consistent with other messages.
2014-01-31 11:41:54 +02:00
Lars Ingebrigtsen
579d49fa6e lisp/gnus/nnimap.el (nnimap-transform-headers): Fix Davmail header parsing 2014-01-31 08:33:13 +00:00
Glenn Morris
a69ecd19fe Delete Selection mode doc updates
* lisp/delsel.el (delete-selection-mode): Doc fix.

* doc/misc/efaq.texi (Replacing highlighted text):
Update delete-selection-mode doc.

* etc/NEWS: Related edit.
2014-01-30 23:28:17 -08:00
Glenn Morris
9997d7e3e3 trace.el doc updates
* lisp/emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
(trace-function-background): Doc fixes.

Commentary update for this package now using nadvice.el, not advice.el.

* etc/NEWS: Related edits.
2014-01-30 23:15:54 -08:00
Glenn Morris
23dc6d0ccd * lisp/erc/erc.el (erc-accidental-paste-threshold-seconds): Doc tweak.
* etc/NEWS: Related markup.
2014-01-30 22:39:51 -08:00
Glenn Morris
fbb764b8bc * lisp/ido.el (ido-use-virtual-buffers): Doc fix.
Reset :version, since the default value has not changed.

* etc/NEWS: Related edits.
2014-01-30 22:34:44 -08:00
Glenn Morris
da942af18c Some doc related to register-preview
* lisp/register.el (register-preview-delay, register-read-with-preview):
Doc fixes.

* etc/NEWS: Related edits.
2014-01-30 22:20:29 -08:00
Glenn Morris
f2726fa259 ChangeLog fixes 2014-01-30 21:43:03 -05:00
Glenn Morris
b7e615b9bc Fix for c-submit-bug-report and reporter.el void-variable handling
* lisp/mail/reporter.el (reporter-dump-variable): In case of void-variable,
do not mess with mail-buffer position (fixes 2009-11-03 change).

* lisp/progmodes/cc-mode.el (c-submit-bug-report):
Check auto-fill-mode is bound.

Fixes: debbugs:16592
2014-01-30 21:39:40 -05:00
Darren Hoo
0a25002dc2 Fix for fancy-splash image inconsistency
* lisp/startup.el (fancy-splash-image-file): New function,
split from fancy-splash-head.
(fancy-splash-head, use-fancy-splash-screens-p): Use it,
so that we are both using the same image.

Fixes: debbugs:16574
2014-01-30 20:58:51 -05:00
Gnus developers
4e2b87d871 Misc bugfixes made in Gnus master
2014-01-31 Alex Schroeder <alex@gnu.org> (tiny change)
  * gnus-tut.txt (Message-ID): Typo fix (bug#15556).
2014-01-31 Dave Abrahams <dave@boostpro.com>
  * gnus-salt.el (gnus-tree-highlight-article): Don't move point around
  in the summary buffer (bug#13769).
2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
  * gnus-art.el (gnus-article-setup-buffer): Refresh the summary buffer
  name if we're using a single article buffer. Otherwise, it may point
  to a killed buffer (bug#13756).
2014-01-30 Lars Ingebrigtsen <larsi@gnus.org>
  * nnmail.el (nnmail-split-it): Instead of redoing the search to restore
  the match data, just save and restore it explictly (bug#12375).
  * gnus-sum.el (gnus-summary-read-group-1): Initialize the spam code if
  that's needed.
  * spam.el (spam-initialize): Allow calling repeatedly, but only run the
  the code once (bug#9069).
2014-01-31 01:56:00 +00:00
Eli Zaretskii
a1a04df94c Revert last commit in mouse.el. 2014-01-30 19:42:48 +02:00
Andreas Schwab
507a173f50 Don't ignore SIGPROF in subprocesses
* process.c (create_process): Reset SIGPROF handler in the child.
* callproc.c (call_process): Likewise.
2014-01-30 18:22:30 +01:00
Martin Rudalics
df18345936 In mouse-drag-line obey window-resize-pixelwise (Bug#16594).
* mouse.el (mouse-drag-line): When window-resize-pixelwise is
nil call adjust-window-trailing-edge with suitable arguments
(Bug#16594).
2014-01-30 14:19:19 +01:00
Glenn Morris
b169c4cc37 Auto-commit of loaddefs files. 2014-01-30 06:19:16 -05:00
Glenn Morris
314ff31814 * etc/NEWS: ElDoc related edit.
* lisp/emacs-lisp/eldoc.el: Related commentary.
2014-01-29 23:54:28 -08:00
Glenn Morris
6bbc0c845f * lisp/simple.el (eval-expression): Doc fix.
* etc/NEWS: Add missing entry.
2014-01-29 23:48:06 -08:00
Glenn Morris
ad78f43200 Replace refs to obsolete alias turn-on-eldoc-mode' with eldoc-mode'
* lisp/hexl.el (hexl-mode-hook):
* lisp/ielm.el (ielm-mode-hook):
* lisp/emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
(lisp-interaction-mode-hook):
* lisp/progmodes/cfengine.e (cfengine3-documentation-function):
Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.

* lisp/emacs-lisp/eldoc.el: Same in commentary.
2014-01-29 23:42:57 -08:00
Stefan Monnier
566cb04bdf * eieio-opt.el (eieio-help-generic): Fix last change.
Fixes: debbugs:16584
2014-01-29 23:13:00 -05:00