* lisp/xt-mouse.el (xterm-mouse-translate-1): Fix last change.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
bc2fb4fd
SM
12014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * xt-mouse.el (xterm-mouse-translate-1): Fix last change (bug#17776).
4 (xterm-mouse--read-event-sequence-1000): Drop unknown events instead of
5 burping.
6
b86b15b2
EZ
72014-06-18 Eli Zaretskii <eliz@gnu.org>
8
9 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
10 and later. (Bug#17790)
11
d35b443a
JL
122014-06-18 Juri Linkov <juri@jurta.org>
13
14 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
15 to `soft'. (Bug#17554)
16
c18add24
SM
172014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
18
19 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
20 (bug#17737).
21
6a7faa16
DG
222014-06-16 Dmitry <dgutov@yandex.ru>
23
24 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
25 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
26
2c7bf3ce
MA
272014-06-15 Michael Albinus <michael.albinus@gmx.de>
28
29 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
30 `unread-command-events'.
31
cd7d4e9b
GM
322014-06-14 Glenn Morris <rgm@gnu.org>
33
34 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
35 Replace delete-duplicates and mapcan by cl- versions throughout.
36 And cl-macroexpand-all by macroexpand-all.
37 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
38
859488bf
EZ
392014-06-14 Eli Zaretskii <eliz@gnu.org>
40
41 * subr.el (posn-col-row): Doc fix. (Bug#17768)
42
5be5f285
JL
432014-06-14 Juri Linkov <juri@jurta.org>
44
45 * bindings.el: Put `ascii-character' property on keypad keys
46 mapped to characters. (Bug#17759)
47
40be983b
SM
482014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
49
bf26b463
SM
50 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
51 bumping forward into a closing paren (bug#17761).
52
40be983b
SM
53 * term/xterm.el (xterm--version-handler): Work around for OSX
54 Terminal.app (bug#17607).
55
99d8aedf
GM
562014-06-08 Glenn Morris <rgm@gnu.org>
57
6d069b1b
GM
58 * startup.el (initial-buffer-choice): Doc fix.
59 Reset :version (adding an option does not merit a :version bump).
60
99d8aedf
GM
61 * bookmark.el (bookmark-load):
62 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
63
7f118009
JL
642014-06-06 Juri Linkov <juri@jurta.org>
65
66 * desktop.el: Activate auto-saving on window configuration changes.
67 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
68 `desktop-auto-save-set-timer' to/from `window-configuration-change-hook'.
69 (desktop-auto-save-set-timer): Change REPEAT arg of
70 `run-with-idle-timer' from t to nil.
71 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
72
f4be80b7
SPM
732014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
74
75 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
76 vc-hg-command (bug#17570).
77
28b83297
SM
782014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
79
80 * international/mule-cmds.el (ucs-names): Add special entry for BEL
81 (bug#17702).
82
b8379803
GM
832014-06-06 Glenn Morris <rgm@gnu.org>
84
85 * startup.el (window-setup-hook): Doc fix.
86
e1b3f35f
GM
872014-06-05 Glenn Morris <rgm@gnu.org>
88
89 * emacs-lisp/package.el (package-check-signature)
90 (package-unsigned-archives): Doc fixes.
91
4a52a98a
MR
922014-06-03 Martin Rudalics <rudalics@gmx.at>
93
94 * window.el (display-buffer-use-some-window): Don't make window
95 used smaller than it was before (Bug#17671).
96
0016fa11
EZ
972014-06-03 Eli Zaretskii <eliz@gnu.org>
98
99 * menu-bar.el (menu-bar-open): Fix last change: use the PC
100 'redisplay' instead of '(sit-for 0)'.
101
a336b2ea
MA
1022014-06-03 Michael Albinus <michael.albinus@gmx.de>
103
104 * net/tramp.el (tramp-ssh-controlmaster-options): Improve search
105 regexp. (Bug#17653)
106
910dc8d3
GM
1072014-06-03 Glenn Morris <rgm@gnu.org>
108
109 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
110
33590869
EZ
1112014-06-02 Eli Zaretskii <eliz@gnu.org>
112
113 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
114
082c97e8
EZ
1152014-06-01 Eli Zaretskii <eliz@gnu.org>
116
117 * simple.el (keyboard-quit): Force update of mode lines, to remove
118 the "Def" indicator, if we were defining a macro. (Bug#17615)
119
ffa8a2db
SM
1202014-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
121
08c0f626
SM
122 * minibuffer.el (minibuffer-force-complete-and-exit):
123 Obey minibuffer-default (bug#17545).
124
ffa8a2db
SM
125 * progmodes/js.el (js-indent-line): Don't mix columns and chars
126 (bug#17619).
127
8889b935
SM
1282014-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
129
130 * subr.el (set-transient-map): Don't wait for some "nested"
131 transient-map to finish if we're only supposed to be active for
132 the next command (bug#17642).
133
e41682ae
LL
1342014-05-31 Leo Liu <sdl.web@gmail.com>
135
136 * emacs-lisp/gv.el (window-buffer, window-display-table)
137 (window-dedicated-p, window-hscroll, window-point, window-start):
138 Fix gv-expander. (Bug#17630)
139
90cd9b13
SM
1402014-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
141
3a73c34c
SM
142 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
143 clicks (bug#17633).
144
90cd9b13
SM
145 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
146 for the single comma, since ", " is *very* common in normal French text
147 (bug#17643).
148
ab84733c
GM
1492014-05-30 Glenn Morris <rgm@gnu.org>
150
151 * emacs-lisp/package.el (package-check-signature)
152 (package-unsigned-archives): Fix :version.
153
2f8165f4
SM
1542014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
155
156 * subr.el (sit-for): Don't run input-methods (bug#15614).
157
18348234
GM
1582014-05-28 Glenn Morris <rgm@gnu.org>
159
160 * cus-start.el: Fix some :version numbers.
161
53bc1e29
SM
1622014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
163
18348234
GM
164 * simple.el (deactivate-mark): Set mark-active to nil even if
165 deactivation is done via setting transient-mark-mode to nil,
166 since one is buffer-local and the other is global.
9828d523 167
53bc1e29
SM
168 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
169 there can't be more than 2 arguments (bug#17584).
170
e38a5ebe
GM
1712014-05-27 Glenn Morris <rgm@gnu.org>
172
e9e341bb
GM
173 * simple.el (filter-buffer-substring-functions)
174 (filter-buffer-substring-function, buffer-substring-filters)
175 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
176
4a12fa5c
GM
177 * minibuffer.el (completion-in-region-functions, completion-in-region)
178 (completion--in-region): Doc fixes.
179
e38a5ebe
GM
180 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
181 (expand-abbrev, abbrev--default-expand): Doc fixes.
182
cf2f54c4
PE
1832014-05-26 Paul Eggert <eggert@cs.ucla.edu>
184
185 Include sources used to create macuvs.h.
186 * international/README: Refer to the Unicode Terms of Use rather
187 than copying it bodily here, as that simplifies maintenance.
188
12ddce55
AS
1892014-05-25 Andreas Schwab <schwab@linux-m68k.org>
190
191 * cus-face.el (custom-face-attributes): Add :distant-foreground.
192
f408fbe4
MR
1932014-05-25 Martin Rudalics <rudalics@gmx.at>
194
195 * window.el (window--dump-frame): Remove interactive
196 specification.
197
486eebac
GM
1982014-05-23 Glenn Morris <rgm@gnu.org>
199
200 * hippie-exp.el (he-line-search-regexp):
201 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
202
903204bb
SB
2032014-05-23 Stephen Berman <stephen.berman@gmx.net>
204
205 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
206 to avoid errors when trying to create or visit a file foo.todo
207 located outside to todo-directory, and to allow having such files
208 without them being tied to Todo mode (bug#17482).
209 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
210 (todo-archive-done-item, todo-find-filtered-items-file)
211 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
212 (todo-category-completions, todo-read-category): When visiting a
213 Todo file, make sure we're in the right mode and the buffer local
214 variables are set.
215 (todo-make-categories-list, todo-reset-nondiary-marker)
08c0f626
SM
216 (todo-reset-done-string, todo-reset-comment-string):
217 After processing all Todo files, kill the buffers of those files that
903204bb
SB
218 weren't being visited before the processing.
219 (todo-display-as-todo-file, todo-add-to-buffer-list)
220 (todo-visit-files-commands): Comment out.
221 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
222 (auto-mode-alist): Remove add-to-list calls making Todo file
223 extensions unrestrictedly tied to Todo modes.
224
15ad4013
SM
2252014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
226
227 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
228 (advice-function-member-p): Tell it to check both names and functions
229 (bug#17531).
230 (advice--add-function): Adjust call accordingly.
231
982ccf03
SB
2322014-05-23 Stephen Berman <stephen.berman@gmx.net>
233
234 * calendar/todo-mode.el: Miscellaneous bug fixes.
235 (todo-delete-file): When deleting an archive but not its todo
236 file, make sure to update the todo file's category sexp.
237 (todo-move-category): Keep the moved category's name unless the
238 file moved to already has a category with that name. If the
239 numerically last category of the source file was moved, make the
240 first category current to avoid selecting a nonexisting category.
241 (todo-merge-category): Fix implementation to make merging to a
242 category in another file work as documented. Eliminate now
243 insufficient and unnecessary renaming of archive category, correct
244 document string accordingly, and clarify it. If the numerically
245 last category of the source file was merged, make the first
246 category current to avoid selecting a nonexisting category.
247 (todo-archive-done-item): When there are marked items and point
248 happens to be on an unmarked item, ignore the latter. Don't leave
249 point below last item after archiving marked items.
250 (todo-unarchive-items): Fix logic to ensure unarchiving an item
251 from an archive with only one category deletes the archive only
252 when the category is empty after unarchiving. Make sure the todo
253 file's category sexp is updated.
254 (todo-read-file-name): Allow an existing file name even when it is
255 not required (todo-move-category needs this to work as documented).
256 (todo-add-file): Call todo-validate-name to reject the name of an
257 existing todo file (needed due to fix in todo-read-file-name).
258 (todo-reset-nondiary-marker): Also reset in filtered items files.
259 (todo-reset-done-string, todo-reset-comment-string): Also reset in
260 regexp filtered items files.
261 (todo-reset-highlight-item): Also reset in filtered items files.
262 Fix incorrect variable reference in document string.
263
bcba2d85
GM
2642014-05-22 Glenn Morris <rgm@gnu.org>
265
266 * window.el (window--dump-frame): Avoid error in --without-x builds.
267
fb4ca841
GM
2682014-05-21 Glenn Morris <rgm@gnu.org>
269
270 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
271
13a83f05
EZ
2722014-05-21 Eli Zaretskii <eliz@gnu.org>
273
274 * frame.el (set-frame-font): Doc fix.
275
276 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
277
b0df8b95
DG
2782014-05-21 Dmitry Gutov <dgutov@yandex.ru>
279
08c0f626
SM
280 * emacs-lisp/package.el (package--download-one-archive):
281 Use `write-region' instead of `save-buffer' to avoid running various
b0df8b95
DG
282 hooks. (Bug#17155)
283 (describe-package-1): Same. Insert newline at the end of the
284 buffer if appropriate.
285
a2115113
JL
2862014-05-20 Juri Linkov <juri@jurta.org>
287
288 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
289 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
290 Add more modifiers: meta, control, shift, hyper, super, alt.
291 (Bug#17439)
292
2614b25f
JL
293 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
294 to allow changing its value with `set-variable'.
295
7b952d61
SM
2962014-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
297
0a5cfeee
SM
298 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
299 #; comments.
300 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
301 New functions.
302 (scheme-mode-variables): Set syntax-propertize-function instead of
303 font-lock-syntactic-face-function.
304 (scheme-font-lock-syntactic-face-function): Delete.
305
7b952d61
SM
306 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
307
08a2434e
SM
3082014-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
309
310 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
311 (bug#17392).
312
43425aec
MA
3132014-05-17 Michael Albinus <michael.albinus@gmx.de>
314
315 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
316 for a temporary file name.
317
1e046d37
EZ
3182014-05-17 Eli Zaretskii <eliz@gnu.org>
319
320 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
321
1bafb1de
MA
3222014-05-16 Michael Albinus <michael.albinus@gmx.de>
323
324 * net/dbus.el (dbus-init-bus, dbus-call-method)
325 (dbus-call-method-asynchronously, dbus-send-signal)
e8cbb768 326 (dbus-method-return-internal, dbus-method-error-internal):
1bafb1de
MA
327 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
328
ec264fbb
NR
3292014-05-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
330
331 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
332 methods which do not have a doc string. (Bug#17490)
333
34cba8e8
SB
3342014-05-14 Stephen Berman <stephen.berman@gmx.net>
335 Stefan Monnier <monnier@iro.umontreal.ca>
336
337 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
338 suffix (bug#15419).
339
a5d09243
GM
3402014-05-14 Glenn Morris <rgm@gnu.org>
341
342 * vc/emerge.el (emerge-temp-file-prefix):
343 Make pointless option obsolete.
344 (emerge-temp-file-mode): Make non-functional option obsolete.
345
e95b937a
MA
3462014-05-13 Michael Albinus <michael.albinus@gmx.de>
347
348 * net/browse-url.el (browse-url):
349 Use `unhandled-file-name-directory' when setting `default-directory',
350 in order to circumvent stalled remote connections. (Bug#17425)
351
97100b43
SM
3522014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
353
354 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
355 into autoloading just because of a silly indirection.
356
0add0959
SPM
3572014-05-11 Santiago Payà i Miralta <santiagopim@gmail.com> (tiny change)
358
359 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
360
e7caef59
GM
3612014-05-11 Glenn Morris <rgm@gnu.org>
362
363 * emacs-lisp/find-gc.el: Move to ../admin.
364
8c6699ab
GM
3652014-05-10 Glenn Morris <rgm@gnu.org>
366
6b45ef35
GM
367 * printing.el (pr-version):
368 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
369
8c6699ab
GM
370 * net/browse-url.el (browse-url-mosaic):
371 Create /tmp/Mosaic.PID as a private file.
372
5d03fb43
SM
3732014-05-10 Stefan Monnier <monnier@iro.umontreal.ca>
374
375 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
376 (advice--member-p): If name is given, only compare the name.
377 (advice--remove-function): Don't stop at the first match.
378 (advice--normalize-place): New function.
379 (add-function, remove-function): Use it.
380 (advice--add-function): Pass the name, if any, to
381 advice--remove-function.
382
3ebdceaf
PR
3832014-05-09 Philipp Rumpf <prumpf@gmail.com> (tiny change)
384
385 * electric.el (electric-indent-post-self-insert-function): Don't use
386 `pos' after modifying the buffer (bug#17449).
387
a3eda656
SM
3882014-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
389
390 * subr.el (function-put): Add function.
391
472c15bf
SB
3922014-05-09 Stephen Berman <stephen.berman@gmx.net>
393
394 * calendar/todo-mode.el (todo-insert-item-from-calendar):
395 Correct argument list to conform to todo-insert-item--basic.
396
bb1f4b8f
GM
3972014-05-09 Glenn Morris <rgm@gnu.org>
398
2651ed05
GM
399 * files.el (cd-absolute): Test if directory is accessible
400 rather than executable. (Bug#17330)
401
bb1f4b8f
GM
402 * progmodes/compile.el (recompile):
403 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
404
c055a50b
JL
4052014-05-08 Juri Linkov <juri@jurta.org>
406
407 * dired.el (dired-check-switches, dired-switches-recursive-p):
408 New functions. (Bug#17218)
409 (dired-switches-escape-p, dired-move-to-end-of-filename):
410 Use `dired-check-switches'.
411 (dired-insert-old-subdirs, dired-build-subdir-alist)
412 (dired-sort-R-check): Use `dired-switches-recursive-p'.
413
4049faae
GM
4142014-05-08 Glenn Morris <rgm@gnu.org>
415
416 * net/browse-url.el (browse-url-mosaic):
417 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
418 This is CVE-2014-3423.
419
b406487f
SM
4202014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
421
422 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
423 (xterm-mouse--read-event-sequence-1000): Return nil if something
424 looks fishy.
425 (xterm-mouse-event): Propagate it.
426 (xterm-mouse-translate-1): Handle it.
427
1ddb2150
SB
4282014-05-07 Stephen Berman <stephen.berman@gmx.net>
429
430 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
431 four slots of the parameter list are filled, make sure to pass it
432 to the argument list of todo-insert-item--basic.
433
5e87fcb1
SM
4342014-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
435
436 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
437 Add optional `seen' argument to detect and break infinite loops.
438
c5d670f5
EZ
4392014-05-06 Eli Zaretskii <eliz@gnu.org>
440
441 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
442 (trace-unsafe, trace-use-tree): Make parentheses style be
443 according to Emacs style.
444
3e59ead1
MA
4452014-05-06 Michael Albinus <michael.albinus@gmx.de>
446
5e87fcb1
SM
447 * net/tramp-sh.el (tramp-remote-process-environment):
448 Remove HISTFILE and HISTSIZE; it's too late to set them here.
449 Add :version entry.
450 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
e95b937a 451 Add "HISTFILE=/dev/null" to the shell's env arguments. Do not send
3e59ead1
MA
452 extra "PSx=..." commands.
453 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
454 (Bug#17295)
455
23e19cf2
MA
456 (tramp-uudecode): Replace the hard-coded temporary file name by a
457 format specifier.
458 (tramp-remote-coding-commands): Enhance docstring.
459 (tramp-find-inline-encoding): Replace "%t" by a temporary file
460 name. (Bug#17415)
a9fd3545 461 This is CVE-2014-3424.
23e19cf2 462
0c4decae
GM
4632014-05-06 Glenn Morris <rgm@gnu.org>
464
465 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
466 (find-gc-source-files): Update some names.
467 (trace-call-tree): Simplify and update.
468 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
a9fd3545 469 This is CVE-2014-3422.
0c4decae 470
c22f24f6
SM
4712014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
472
bf67c3f7
SM
473 * minibuffer.el (completion--try-word-completion): Revert fix for
474 Bug#15980 (bug#17375).
475
c22f24f6
SM
476 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
477 Always store button numbers in the same way in xterm-mouse-last;
478 Don't burp is xterm-mouse-last is not set as expected.
479 Never return negative indices.
480
4dd3c4d5
DG
4812014-05-05 Dmitry Gutov <dgutov@yandex.ru>
482
483 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
484 Backtrack one char if the global/char-literal var matcher hits
485 inside a string. The next char could be the beginning of an
486 expression expansion.
487
6da8d069
GM
4882014-05-05 Glenn Morris <rgm@gnu.org>
489
490 * help-fns.el (describe-function-1): Test for an autoload before a
491 macro, since `macrop' works on autoloads. (Bug#17410)
492
dccb0688
SM
4932014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
494
e6025d72
SM
495 * electric.el (electric-indent-functions-without-reindent): Add yaml.
496
dccb0688
SM
497 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
498 Make sure the new point we return is within the new string (bug#17239).
499
74a9022a
EZ
5002014-05-03 Eli Zaretskii <eliz@gnu.org>
501
502 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
503
e6cf6ca0
SM
5042014-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
505
506 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
507 Use nil rather than `default' for the "default" appearance (bug#17388).
508 * vc/ediff-util.el (ediff-inferior-compare-regions)
509 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
510 a misleading `default' value when it's really a boolean.
511 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
512 overlay is not visible.
513
7bd9ce64
SB
5142014-05-02 Stephen Berman <stephen.berman@gmx.net>
515
516 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
517 (todo-menu): Uncomment and update.
518
aed4b12d
SB
5192014-05-02 Stephen Berman <stephen.berman@gmx.net>
520
521 * calendar/todo-mode.el: Reimplement item editing to have the same
522 basic user interface as item insertion, and make small UI and
523 larger internal improvements to the latter.
524 (todo-insert-item): Add reference to the Todo mode user manual to
525 the documentation string.
526 (todo-insert-item--basic): Rename from todo-basic-insert-item and
527 adjust all callers. Change signature to combine diary and
528 nonmarking arguments. Incorporate functionality of deleted item
529 copying command and add error checking. Remove detailed
530 descriptions of the arguments from the documentation string, since
531 this is treated in the Todo mode user manual.
532 (todo-copy-item, todo-edit-multiline-item)
533 (todo-edit-done-item-comment, todo-edit-item-header)
534 (todo-edit-item-time, todo-edit-item-date-from-calendar)
535 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
536 (todo-edit-item-date-year, todo-edit-item-date-month)
537 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
538 Remove.
539 (todo-edit-item): Reimplement as wrapper command for
540 todo-edit-item--next-key and make it distinguish done and not done
541 todo items.
542 (todo-edit-item--text): New function, replacing old command
543 todo-edit-item and incorporating deleted commands
544 todo-edit-multiline-item and todo-edit-done-item-comment.
545 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
546 Use only numeric value of prefix argument. Remove detailed
547 descriptions of the arguments from the documentation string, since
548 this is treated in the Todo mode user manual.
549 (todo-edit-item--diary-inclusion): New function, replacing old
550 command todo-edit-item-diary-inclusion and incorporating and fixing
551 functionality of deleted command todo-edit-item-diary-nonmarking,
552 making sure to remove todo-nondiary-marker when adding
553 diary-nonmarking-symbol.
554 (todo-edit-category-diary-inclusion): Make sure to delete
555 diary-nonmarking-symbol when adding todo-nondiary-marker.
556 (todo-edit-category-diary-nonmarking): Fix indentation.
557 (todo-insert-item--parameters): Group diary and nonmarking
558 parameters together.
559 (todo-insert-item--apply-args): Adjust to signature of
560 todo-insert-item--basic and incorporate copy parameter.
561 Make small code improvements.
562 (todo-insert-item--next-param): Improve prompt and adjust it to
563 new parameter grouping. Remove obsolete code.
564 (todo-edit-item--param-key-alist)
565 (todo-edit-item--date-param-key-alist)
566 (todo-edit-done-item--param-key-alist): New defconsts.
567 (todo-edit-item--prompt): New variable.
568 (todo-edit-item--next-key): New function.
5e87fcb1
SM
569 (todo-key-bindings-t): Bind "e" to todo-edit-item.
570 Remove bindings of deleted commands.
aed4b12d 571
157e8cfd
LL
5722014-05-02 Leo Liu <sdl.web@gmail.com>
573
574 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
575
d136f184
GM
5762014-05-01 Glenn Morris <rgm@gnu.org>
577
578 * allout-widgets.el (allout-widgets-tally)
579 (allout-decorate-item-guides):
580 * menu-bar.el (menu-bar-positive-p):
581 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
582 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
583 * progmodes/js.el (js--inside-param-list-p)
584 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
585 * progmodes/prolog.el (region-exists-p):
586 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
587 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
588 Doc fixes (replace `iff').
589
4ec0cf9c
SM
5902014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
591
592 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
593
72962dd8
EZ
5942014-04-30 Eli Zaretskii <eliz@gnu.org>
595
596 * dired.el (dired-initial-position-hook, dired-initial-position):
597 Doc string fixes.
598
9a3f71f7
GM
5992014-04-29 Glenn Morris <rgm@gnu.org>
600
601 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
602
bc6953b3
MD
6032014-04-27 Matthias Dahl <matthias.dahl@binary-island.eu>
604
605 * faces.el (face-spec-recalc): Apply X resources only after the
2cfb51ef 606 defface spec has been applied. Thus, X resources are no longer
bc6953b3
MD
607 overriden by the defface spec which also fixes issues on win32 where
608 the toolbar coloring was wrong because it is set through X resources
609 and was (wrongfully) overriden. (Bug#16694)
610
4f5fa755
SM
6112014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
612
613 * textmodes/rst.el (electric-pair-pairs): Declare.
614 (rst-mode): Set it (bug#17131).
615
8e554df0
JL
6162014-04-27 Juri Linkov <juri@jurta.org>
617
618 * desktop.el (desktop-value-to-string): Let-bind `print-length'
619 and `print-level' to nil. (Bug#17351)
620
0507406b
NR
6212014-04-25 Nicolas Richard <theonewiththeevillook@yahoo.fr>
622
623 * battery.el (battery-update): Handle the case where battery
624 status is "N/A" (bug#17319).
625
bc0650fd
EZ
6262014-04-24 Eli Zaretskii <eliz@gnu.org>
627
0507406b
NR
628 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
629 Use equal-including-properties to compare help-echo strings (bug#17331).
bc0650fd 630
00104e59
LL
6312014-04-24 Leo Liu <sdl.web@gmail.com>
632
633 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
634 Fix syntax for @. (Bug#17325)
635
543e3c63
DC
6362014-04-24 Daniel Colascione <dancol@dancol.org>
637
638 * emacs-lisp/cl.el (gv): Require gv early to break eager
639 macro-expansion cycles.
640
c0868451
SM
6412014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
642
05452dc4
SM
643 * simple.el (region-active-p): Check there's a mark (bug#17324).
644
0e8a9331
SM
645 * simple.el (completion-list-mode-map): Use choose-completion for the
646 mouse binding as well (bug#17302).
647 (completion-list-mode, completion-setup-function): Adjust docstring and
648 echo area message accordingly.
649 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
650 calling convention of choose-completion.
651 * comint.el (comint-dynamic-list-completions):
652 * term.el (term-dynamic-list-completions): Accept choose-completion.
653
c0868451
SM
654 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
655 &, |, +, - and * can't be a division (bug#17317).
656
f7e0450a
SM
6572014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
658
659 * term/xterm.el (xterm--version-handler): Don't use modern xterm
660 features on gnome-terminal (bug#16988).
661
f2df692c
MH
6622014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
663
664 * dired.el (dired-insert-set-properties): Do not consider
665 subdirectory headings and empty lines to be information that
666 `dired-hide-details-mode' should hide. (Bug#17228)
667
14828a95
MA
6682014-04-22 Michael Albinus <michael.albinus@gmx.de>
669
670 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
671 Remove test messages.
672 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
673 and `target' twice.
674
622eef68
SM
6752014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
676
9c104369
SM
677 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
678 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
679
622eef68
SM
680 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
681
505fa2ab
MA
6822014-04-21 Michael Albinus <michael.albinus@gmx.de>
683
622eef68
SM
684 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
685 Set "IFS=" when using read builtin, in order to preserve spaces in
505fa2ab
MA
686 the file name. Add test messages for hunting a bug on hydra.
687 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
688
f0ffb9b7
SM
6892014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
690
691 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
692 Don't prettify a word within a symbol.
693
feb5d8a4
MA
6942014-04-20 Michael Albinus <michael.albinus@gmx.de>
695
696 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
697 possible.
698
fe36068f
SM
6992014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
700
701 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
702 assignments such as "case=hello" (bug#17297).
703
ce8c5107
MA
7042014-04-18 Michael Albinus <michael.albinus@gmx.de>
705
706 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
707 Do not autoload.
708 (tramp-file-name-handler, tramp-completion-file-name-handler):
709 Revert patch from 2014-04-10, it isn't necessary anymore.
710 (tramp-autoload-file-name-handler)
711 (tramp-register-autoload-file-name-handlers): New defuns.
712 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
713 (tramp-register-file-name-handlers): Remove also
714 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
715 Do not autoload its invocation, but eval it after loading of 'tramp.
716
717 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
718
719 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
720
c76a7a5c
SM
7212014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
722
b262bde3
SM
723 * nxml/nxml-mode.el (nxml-fontify-matcher): Make sure propertization
724 was done (bug#17264).
725 * nxml/xmltok.el (xmltok-scan-after-comment-open): Extend unclosed
726 comment to EOB.
727
c76a7a5c
SM
728 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
729 here-documents (bug#17262).
730
bf6b4923
EZ
7312014-04-16 Eli Zaretskii <eliz@gnu.org>
732
c76a7a5c
SM
733 * term/pc-win.el (x-list-fonts, x-get-selection-value):
734 Provide doc strings, as required by snarf-documentation.
bf6b4923 735
20fa59a0
SM
7362014-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
737
738 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
739 arg of overlays-at. Use `invisible-p'.
740
741 * obsolete/lucid.el (extent-at):
742 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
743 overlays-at.
744 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
745
f596f897
JT
7462014-04-14 João Távora <joaotavora@gmail.com>
747
748 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
749 links. (Bug#17217).
750
a73b9dda
YM
7512014-04-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
752
753 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
754 Use mapc to loop over a vector. (Bug#17257).
755
f2d164a4
MA
7562014-04-13 Michael Albinus <michael.albinus@gmx.de>
757
758 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
759 patch, there are new problems with file names containing spaces.
760 Get rid of backticks. (Bug#17238)
761
498d3768
JT
7622014-04-13 João Távora <joaotavora@gmail.com>
763
764 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
765 possible bug.
766
83451189
EZ
7672014-04-13 Eli Zaretskii <eliz@gnu.org>
768
769 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
770 (blink-cursor-mode): Mention customization variables and the
771 effect of 'blink-cursor-blinks'.
772
175a3a51
BR
7732014-04-12 Barry O'Reilly <gundaetiapo@gmail.com>
774
775 * simple.el (undo): Prevent insertion of identity mapping into
776 undo-equiv-table so as undo-only does not inf loop in the presence
777 of consecutive nils in undo list.
778
5f91455c
MD
7792014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
780
781 * faces.el (make-face): Deprecate optional argument as it is no
782 longer needed/used since the conditional X resources handling
783 has been pushed down to make-face-x-resource-internal itself.
784 (make-empty-face): Don't pass optional argument to make-face.
785
ac387dd1
EZ
7862014-04-12 Eli Zaretskii <eliz@gnu.org>
787
788 * international/characters.el <standard-case-table>: Add entries
789 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
204db02a 790 Set category of Coptic characters be 'g' (Greek).
ac387dd1 791
2e611da6
LL
7922014-04-12 Leo Liu <sdl.web@gmail.com>
793
794 * progmodes/octave.el (completion-table-with-cache): Define if not
795 available.
796 (octave-goto-function-definition)
797 (octave-sync-function-file-names)
798 (octave-find-definition-default-filename): Backquote upattern for
799 compatibility.
800
f628e17c
MA
8012014-04-11 Michael Albinus <michael.albinus@gmx.de>
802
803 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
804 name twice due to backticks. (Bug#17238)
805
fd492166
GM
8062014-04-11 Glenn Morris <rgm@gnu.org>
807
808 * term/w32-win.el (x-win-suspend-error):
809 * term/x-win.el (x-win-suspend-error): Sync docs.
810
e46561a2
SM
8112014-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
812
813 Ediff's overlay priorities cause more trouble than they solve.
814 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
815 (ediff-highest-priority): Remove function (bug#17234).
816 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
817 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
818 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
819 overlay priorities.
820
39764caa
FL
8212014-04-10 Feng Li <fengli@gmail.com> (tiny change)
822
823 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
824 entry; use symbol boundaries to avoid mis-matches.
825
bcbb83a9
MA
8262014-04-10 Michael Albinus <michael.albinus@gmx.de>
827
828 * net/tramp.el (tramp-file-name-handler)
829 (tramp-completion-file-name-handler): Avoid recursive loading.
830
831 * net/tramp-sh.el (tramp-make-copy-program-file-name):
832 Quote result also locally.
833
0122b24d
DG
8342014-04-09 Dmitry Gutov <dgutov@yandex.ru>
835
836 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
837 Module methods. (Bug#17216)
838
5b9925ae
SM
8392014-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
840
841 * help.el (describe-bindings): Fix buffer handling (bug#17210).
842 (describe-bindings-internal): Mark obsolete.
843
190f899a
JT
8442014-04-07 João Távora <joaotavora@gmail.com>
845
846 * elec-pair.el:
847 (electric-pair--syntax-ppss): When inside comments parse from
848 comment beginning.
849 (electric-pair--balance-info): Fix typo in comment.
850 (electric-pair--in-unterminated-string-p): Delete.
851 (electric-pair--unbalanced-strings-p): New function.
852 (electric-pair-string-bound-function): New var.
853 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
854 according to `electric-pair--in-unterminated-string-p'
855
528c33b5
JT
8562014-04-07 João Távora <joaotavora@gmail.com>
857
5b9925ae
SM
858 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
859 Inhibit quote pairing if point-max is inside an unterminated string.
860 (electric-pair--looking-at-unterminated-string-p): Delete.
528c33b5
JT
861 (electric-pair--in-unterminated-string-p): New function.
862
a9c921e6
GM
8632014-04-07 Glenn Morris <rgm@gnu.org>
864
865 * shell.el (shell-directory-tracker):
866 Go back to just ignoring failures. (Bug#17159)
867
be411138
JT
8682014-04-06 João Távora <joaotavora@gmail.com>
869
870 Fix `electric-pair-delete-adjacent-pairs' in modes binding
871 backspace. (bug#16981)
872 * elec-pair.el (electric-pair-backward-delete-char): Delete.
873 (electric-pair-backward-delete-char-untabify): Delete.
874 (electric-pair-mode-map): Bind backspace to a menu item filtering
875 a new `electric-pair-delete-pair' command.
876 (electric-pair-delete-pair): New command.
877
7aecc2f6
JT
8782014-04-06 João Távora <joaotavora@gmail.com>
879
5b9925ae
SM
880 * progmodes/python.el (python-electric-pair-string-delimiter):
881 Fix triple-quoting electricity. (Bug#17192)
7aecc2f6 882
89f20f76
JT
8832014-04-06 João Távora <joaotavora@gmail.com>
884
5b9925ae
SM
885 * elec-pair.el (electric-pair-post-self-insert-function):
886 Don't skip whitespace when `electric-pair-text-pairs' and
89f20f76 887 `electric-pair-pairs' were used. syntax to
7aecc2f6 888 electric-pair--skip-whitespace. (Bug#17183)
89f20f76 889
c8e7f832
EZ
8902014-04-06 Eli Zaretskii <eliz@gnu.org>
891
892 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
893 "<F>". (Bug#17199)
894
0beb7fb7
SM
8952014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
896
897 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
898 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
899
50ea0f87
GM
9002014-04-05 Glenn Morris <rgm@gnu.org>
901
902 * help.el (view-lossage): Doc tweak.
903
89980eae 9042014-04-05 Matthias Dahl <matthias.dahl@binary-island.eu>
eb7a03cc
MD
905
906 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
907 only when inhibit-x-resources is nil, and do that earlier in the
908 function. Doc fix. (Bug#16694)
fdafd487
MD
909 (face-spec-choose): Accept additional optional argument, whose
910 value is returned if no matching attributes are found.
911 (face-spec-recalc): Use the new optional argument when calling
912 face-spec-choose. (Bug#16378)
f5e4494c
MD
913 (make-face-x-resource-internal): Do nothing when
914 inhibit-x-resources is non-nil. Don't touch the default face if
0beb7fb7 915 reversed video is given--as was done in previous versions of Emacs.
f5e4494c
MD
916 (face-set-after-frame-default): Don't call
917 make-face-x-resource-internal here. (Bug#16434)
eb7a03cc 918
3ccd4eaf
TH
9192014-04-04 Tassilo Horn <tsdh@gnu.org>
920
0beb7fb7
SM
921 * doc-view.el (doc-view-bookmark-jump):
922 Use `bookmark-after-jump-hook' to jump to the right page after the
3ccd4eaf
TH
923 buffer is shown in a window. (bug#16090)
924
b7cf27ed
EZ
9252014-04-04 Eli Zaretskii <eliz@gnu.org>
926
927 * international/characters.el (mirroring): Fix last change:
928 instead of loading uni-mirrored.el explicitly, do that implicitly
929 by creating the 'mirroring' uniprop table. This avoids announcing
930 the loading of uni-mirrored.el.
931
8a1d24b1
GM
9322014-04-04 Glenn Morris <rgm@gnu.org>
933
934 * files.el (buffer-stale--default-function)
935 (buffer-stale-function, revert-buffer--default):
936 * autorevert.el (auto-revert-buffers): Doc tweaks.
937
bbab1c4f
EZ
9382014-04-03 Eli Zaretskii <eliz@gnu.org>
939
940 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
941
d738ebdc
GM
9422014-04-03 Glenn Morris <rgm@gnu.org>
943
944 * files.el (make-backup-file-name-function)
945 (make-backup-file-name, make-backup-file-name--default-function)
946 (make-backup-file-name-1, find-backup-file-name)
947 (revert-buffer-function, revert-buffer-insert-file-contents-function)
948 (buffer-stale--default-function, buffer-stale-function)
949 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
950 (revert-buffer, revert-buffer--default)
951 (revert-buffer-insert-file-contents--default-function):
952 Doc fixes related to defaults no longer being nil.
953 (make-backup-file-name-function): Bump :version.
954 Restore nil as a valid but deprecated custom type.
955
062e286b
SM
9562014-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
957
958 * progmodes/perl-mode.el (perl-syntax-propertize-function): Handle $'
959 used as a variable (bug#17174).
960
66f50b12
SM
9612014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
962
963 * progmodes/perl-mode.el (perl-indent-new-calculate):
964 Handle forward-sexp failure (bug#16985).
8a7fd442
SM
965 (perl-syntax-propertize-function): Add "foreach" and "for" statement
966 modifiers introducing expressions (bug#17116).
66f50b12 967
c7510f6e
GM
9682014-04-02 Glenn Morris <rgm@gnu.org>
969
0b908bf2
GM
970 * menu-bar.el (menu-bar-file-menu):
971 * vc/ediff.el (ediff-current-file):
972 Update for revert-buffer-function no longer being nil by default.
973
c7510f6e
GM
974 * simple.el (command-execute): Respect nil disabled-command-function.
975
6116a727
NR
9762014-04-01 Nicolas Richard <theonewiththeevillook@yahoo.fr>
977
978 * simple.el (command-execute): Do not execute the command when it
979 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
980
8778eb5e
JL
9812014-03-29 Juri Linkov <juri@jurta.org>
982
983 * dired-aux.el (dired-compress-file): Don't use string-match-p
984 because its match data is used afterwards.
985
929c0500
SM
9862014-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
987
988 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
989 0 like nil.
990
42ebc34e
DG
9912014-03-27 Dmitry Gutov <dgutov@yandex.ru>
992
929c0500
SM
993 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
994 Highlight special globals with font-lock-builtin-face. (Bug#17057)
8de64bb8 995
42ebc34e
DG
996 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
997 Don't propertize `?' or `!' as symbol constituent when after
998 colon. (Bug#17097)
999
b1c870c9
JB
10002014-03-27 Juanma Barranquero <lekktu@gmail.com>
1001
857ba6ec
JB
1002 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
1003 which is no longer needed and causes trouble in GTK builds (bug#17046).
1004
b1c870c9
JB
1005 * emacs-lisp/package-x.el (package--archive-contents-from-url):
1006 Use url-insert-file-contents; package-handle-response no longer exists.
1007
196716cf
JB
10082014-03-26 Juanma Barranquero <lekktu@gmail.com>
1009
1010 * emacs-lisp/package.el: Fix bug#16733 (again).
1011 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
1012 (url-http-target-url): Remove unused declarations.
1013 (package-handle-response): Remove.
1014 (package--with-work-buffer): Use url-insert-file-contents and simplify.
1015 (package--download-one-archive): Use current-buffer instead of
1016 dynamic binding of `buffer'.
1017 (describe-package-1): Do not decode readme-string.
1018
657e54f7
BR
10192014-03-25 Barry O'Reilly <gundaetiapo@gmail.com>
1020
1021 * simple.el (primitive-undo): Correction to 2014-03-24 change.
1022
1f73d6c6
MA
10232014-03-25 Michael Albinus <michael.albinus@gmx.de>
1024
1025 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
1026
1027 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
1028 from 2014-03-07, it decreases performance unnecessarily. Let-bind
1029 `remote-file-name-inhibit-cache' to nil in the second pass.
1030 (tramp-find-executable): Do not call "which" on SunOS.
1031 (tramp-send-command-and-check): Fix docstring.
08cf935b
MA
1032 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
1033 check whether source directory has set the sticky bit.
1f73d6c6 1034
37ea8275
BR
10352014-03-24 Barry O'Reilly <gundaetiapo@gmail.com>
1036
1037 * simple.el (primitive-undo): Only process marker adjustments
1038 validated against their corresponding (TEXT . POS). Issue warning
1039 for lone marker adjustments in undo history. (Bug#16818)
1040 (undo-make-selective-list): Add marker adjustments to selective
1041 undo list based on whether their corresponding (TEXT . POS) is in
1042 the region. Remove variable adjusted-markers, which was unused
1043 and only non nil during undo-make-selective-list.
1044 (undo-elt-in-region): Return nil when passed a marker adjustment
1045 and explain in function doc.
1046
3e2377ce
DG
10472014-03-24 Dmitry Gutov <dgutov@yandex.ru>
1048
1049 * emacs-lisp/package.el (package--add-to-archive-contents):
1050 Include already installed and built-in packages in
1051 `package-archive-contents'.
1052 (package-install): Don't include already installed packages in the
1053 options during interactive invocation. (Bug#16762)
1054
544ab460
DC
10552014-03-24 Daniel Colascione <dancol@dancol.org>
1056
1057 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
1058 instead of cl-loop search function.
1059
c3561529
JB
10602014-03-24 Juanma Barranquero <lekktu@gmail.com>
1061
1062 * frameset.el (frameset--initial-params): Fix typo in parameter name.
1063
74be1649
NR
10642014-03-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1065
1066 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
1067
c2d6c639
DG
10682014-03-24 Dmitry Gutov <dgutov@yandex.ru>
1069
1070 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
1071 Match special global variables without curlies, too.
1072 (ruby-font-lock-keywords): Simplify the matcher for special global
1073 variables. Don't require a non-word character after the variable.
1074 (Bug#17057)
1075
f6614a47
SM
10762014-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
1077
1078 * simple.el (redisplay-highlight-region-function): Increase priority of
1079 overlay to make sure boundaries are visible (bug#15899).
1080
3ea2c781
JB
10812014-03-23 Juanma Barranquero <lekktu@gmail.com>
1082
ee79b33f
JB
1083 * frameset.el (frameset-restore): Compare display strings with equal.
1084
3ea2c781
JB
1085 * frame.el (make-frame): Don't quote display name in error message,
1086 it is already a string.
1087
f1e06f7b
TV
10882014-03-23 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1089
1090 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
1091 the password.
1092
2614c1af
DG
10932014-03-23 Dmitry Gutov <dgutov@yandex.ru>
1094
1095 * emacs-lisp/package.el (package-show-package-list): If the buffer
1096 is already displayed in another window, switch to that window.
1097
a41475e1
DC
10982014-03-21 Daniel Colascione <dancol@dancol.org>
1099
1100 * mail/emacsbug.el (report-emacs-bug): Include memory usage
1101 information in bug reports.
1102
7eab98da
DC
11032014-03-23 Daniel Colascione <dancol@dancol.org>
1104
1105 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
1106 list to look for keyword arguments instead of `memq', fixing
1107 (Bug#3647) --- unfortunately, only for freshly-compiled code.
1108 Please make bootstrap.
1109
9e37f3b9
RS
11102014-03-23 Richard Stallman <rms@gnu.org>
1111
1112 * battery.el (battery-linux-sysfs): Search for each field
1113 from the beginning of the buffer.
1114
1197f2e6
DG
11152014-03-22 Dmitry Gutov <dgutov@yandex.ru>
1116
1117 * emacs-lisp/package.el (package-desc): Use the contents of the
1118 quoted form, not its cdr. (Bug#16873)
1119
aac06179
JB
11202014-03-22 Juanma Barranquero <lekktu@gmail.com>
1121
1122 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
1123 benefit of doc.c; change parameter profile to match the X function.
1124
1e92a8a3
MA
11252014-03-21 Michael Albinus <michael.albinus@gmx.de>
1126
1127 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
1128 and `tramp-copy-env'.
1129
1130 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
1131 (tramp-maybe-open-connection): Handle `tramp-login-env'.
1132
78540c42
GM
11332014-03-21 Glenn Morris <rgm@gnu.org>
1134
1135 * electric.el (electric-indent-post-self-insert-function): Add doc.
1136
1fc8f655
DG
11372014-03-21 Dmitry Gutov <dgutov@yandex.ru>
1138
dcf78667
DG
1139 * emacs-lisp/package.el (package-compute-transaction):
1140 Use `version-list-<=' to compare the requirement version against
1141 the version of package already to be installed. Update the error
1142 message. (Bug#16826)
1143
1fc8f655
DG
1144 * progmodes/ruby-mode.el (ruby-smie-rules):
1145 Add indentation rule for ` @ '. (Bug#17050)
1146
dada060d
JB
11472014-03-21 Juanma Barranquero <lekktu@gmail.com>
1148
1149 * align.el (align-regexp): Remove superfluous backslash.
1150
1151 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
1152 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
1153 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
1154 Fix docstring typos.
1155 (ffap-next): Use C-u in docstring.
1156 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
1157 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
1158 Remove superfluous backslashes.
1159 (ffap-string-at-point): Reflow docstring.
1160
1161 * server.el (server-host): Reflow docstring.
1162 (server-unload-function): Fix docstring typo.
1163 (server-eval-at): Remove superfluous backslash.
1164
1165 * skeleton.el (skeleton-insert): Remove superfluous backslash.
1166 (skeleton-insert): Doc fix.
1167 (skeleton-insert): Reflow docstring.
1168
1169 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
1170 (tty-color-approximate, tty-color-by-index, tty-color-values)
1171 (tty-color-desc): Remove superfluous backslashes.
1172
049fac7c
SM
11732014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
1174
494ec1e7
SM
1175 * electric.el (electric-newline-and-maybe-indent): New command.
1176 Bind it globally to C-j.
1177 (electric-indent-mode): Don't mess with the global map any more.
1178 Don't drop the post-self-insert-hook is some buffer is still using it
1179 (bug#16770).
66f50b12 1180
494ec1e7
SM
1181 * bindings.el (global-map): Remove C-j binding.
1182
049fac7c
SM
1183 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
1184 the docstring of functions advised before dumping (bug#16993).
1185
f15ec1ba 11862014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
6a72e405
SH
1187
1188 * ps-print.el (ps-generate-postscript-with-faces):
1189 Explicitly deactivate the mark (bug#16866).
1190 * simple.el (deactivate-mark): Update region highlight.
1191
f88bdc45
JB
11922014-03-19 Juanma Barranquero <lekktu@gmail.com>
1193
1194 * emacs-lisp/package.el (describe-package-1):
1195 Decode commentary (bug#16733).
1196
6b88e570
JB
11972014-03-18 Juanma Barranquero <lekktu@gmail.com>
1198
1199 * custom.el (defcustom): Doc fix: recommend avoiding destructive
1200 modification of the value argument of :set (bug#16755).
1201
ac9b4703
SM
12022014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1203
1204 * simple.el (newline-and-indent): Do autofill (bug#17031).
1205
2b7858ec
DG
12062014-03-18 Dmitry Gutov <dgutov@yandex.ru>
1207
1208 * newcomment.el (comment-normalize-vars): Only add escaping check
1209 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
1210 (comment-beginning): Use `narrow-to-region' instead of moving back
1211 one character.
1212 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
1213 (comment-start-skip): Update the docstring.
1214
11eff3ae
RS
12152014-03-18 Richard Stallman <rms@gnu.org>
1216
1217 * dired.el (dired-display-file): Force use of other window.
1218
07f44fdb
JB
12192014-03-18 Daniel Colascione <dancol@dancol.org>
1220
1221 * startup.el (tty-handle-args): Remove debug message from 2007.
1222
12232014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
adbfe42c
SM
1224
1225 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
1226 (advice--make-interactive-form): Use it to avoid (auto)loading function.
1227 (advice--make-1, advice-add, advice-remove):
1228 Remove braindead :advice-pending hack.
1229
61debe4a
GM
12302014-03-17 Glenn Morris <rgm@gnu.org>
1231
1232 * calendar/calendar.el (calendar-generate-month): Apply weekend
1233 face to the right days; fixes 2013-08-06 change. (Bug#17028)
1234
8273986b
MA
12352014-03-17 Michael Albinus <michael.albinus@gmx.de>
1236
1237 * net/tramp.el (tramp-action-out-of-band): Read pending output.
1238 (tramp-call-process): Trace also DESTINATION.
1239
1240 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1241 Quote file names when they are local. Remove superfluous trace.
1242
4f8aeb84
DG
12432014-03-17 Dmitry Gutov <dgutov@yandex.ru>
1244
218feefc
DG
1245 * newcomment.el (comment-beginning): If `comment-start-skip'
1246 doesn't match, move back one char and try again. (Bug#16971)
1247
6c187ef5
SM
1248 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1249 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
4f8aeb84
DG
1250 Set `comment-start-skip' to a simpler value that doesn't try to
1251 check if the semicolon is escaped (this is handled by
1252 `syntax-ppss' now). (Bug#16971)
1253
1254 * progmodes/scheme.el (scheme-mode-variables): Same.
1255
b92631bf
MR
12562014-03-16 Martin Rudalics <rudalics@gmx.at>
1257
1258 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
1259 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
1260 current (Bug#16816, Bug#17007).
1261 (with-current-buffer-window): New macro doing the same as
1262 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
1263 * help.el (help-print-return-message): Warn in doc-string to not
1264 use this in `with-help-window'.
1265 (describe-bindings-internal): Call `describe-buffer-bindings'
1266 from within help buffer. See Juanma's scenario in (Bug#16816).
1267 (with-help-window): Update doc-string.
1268 * dired.el (dired-mark-pop-up):
1269 * files.el (save-buffers-kill-emacs):
1270 * register.el (register-preview): Use `with-current-buffer-window'
1271 instead of `with-temp-buffer-window'.
1272
57348c4d
JB
12732014-03-16 Juanma Barranquero <lekktu@gmail.com>
1274
1275 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
1276 Implement inserting into current buffer, documented in their docstrings.
1277 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
1278 (rst-section-tree-point, rst-forward-section, rst-indent)
1279 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
1280 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
1281 (rst-font-lock-handle-adornment-pre-match-form)
1282 (rst-repeat-last-character): Reflow docstrings.
1283 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
1284 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
1285 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
1286 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
1287 Fix docstring typos.
1288 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
1289 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
1290 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
1291
fd16b061
JB
12922014-03-15 Juanma Barranquero <lekktu@gmail.com>
1293
a2403e3d
JB
1294 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
1295 for compatibility with other ports.
1296 (ns-initialize-window-system): Use it. It is set in term/common-win.el
1297 from the -xrm command line argument, but in the Nextstep port its value
1298 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
1299
fd16b061
JB
1300 * progmodes/python.el (defconst, python-syntax-count-quotes)
1301 (python-indent-region, python-indent-shift-right)
1302 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
1303 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
1304 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
1305 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
1306 (inferior-python-mode, python-shell-make-comint, run-python-internal)
1307 (python-shell-buffer-substring, python-shell-send-buffer)
1308 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
1309 (python-completion-complete-at-point, python-fill-docstring-style)
1310 (python-eldoc-function, python-imenu-format-item-label)
1311 (python-imenu-format-parent-item-label)
1312 (python-imenu-format-parent-item-jump-label)
1313 (python-imenu--build-tree, python-imenu-create-index)
1314 (python-imenu-create-flat-index): Fix docstring typos.
1315 (python-indent-context, python-shell-prompt-regexp, run-python):
1316 Remove superfluous backslashes.
1317 (python-indent-line, python-nav-beginning-of-defun)
1318 (python-shell-get-buffer, python-shell-get-process)
1319 (python-info-current-defun, python-info-current-line-comment-p)
1320 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
1321 (python-indent-post-self-insert-function, python-shell-send-file)
1322 (python-shell-completion-get-completions)
1323 (python-shell-completion-complete-or-indent)
1324 (python-eldoc--get-doc-at-point): Reflow docstrings.
1325
e94807f0
GM
13262014-03-14 Glenn Morris <rgm@gnu.org>
1327
88103345
GM
1328 * emacs-lisp/package.el (package-menu-mode-map):
1329 Replace use of obsolete function alias. Tweak menu item text.
1330
f2dd4ba8
GM
1331 * info.el (Info-finder-find-node):
1332 Ignore the `emacs' metapackage. (Bug#10813)
1333
ac0f82ef
GM
1334 * finder.el (finder-list-matches): Include unversioned packages
1335 in the result of a keyword search.
1336
e94807f0
GM
1337 * finder.el (finder--builtins-descriptions): New constant.
1338 (finder-compile-keywords): Use finder--builtins-descriptions.
1339
50d434d1
DG
13402014-03-14 Dmitry Gutov <dgutov@yandex.ru>
1341
1342 * simple.el (blink-matching-paren): Describe the new value,
1343 `jump', enabling the old behavior.
1344 (blink-matching-open): Use that value. (Bug#17008)
1345
56759cf1
GM
13462014-03-14 Glenn Morris <rgm@gnu.org>
1347
459d74ef
GM
1348 * finder.el (finder-no-scan-regexp): Add leim-list.
1349 (finder-compile-keywords):
1350 Don't skip files with same basename. (Bug#14010)
1351 * Makefile.in (setwins_finder): New, excluding leim.
1352 (finder-data): Use setwins_finder.
1353
56759cf1
GM
1354 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
1355 (help-function-arglist, help-make-usage): Move from here...
1356 * help.el (help-split-fundoc, help-add-fundoc-usage)
1357 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
1358 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
1359
7644aa97
JB
13602014-03-14 Juanma Barranquero <lekktu@gmail.com>
1361
1362 * net/socks.el (socks, socks-override-functions)
fd16b061 1363 (socks-find-services-entry):
7644aa97
JB
1364 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
1365 (hif-find-ifdef-block):
1366 * progmodes/modula2.el (m2-indent): Fix docstring typos.
1367
1368 * net/tls.el (tls-program): Reflow docstring.
1369
1370 * progmodes/pascal.el (pascal-mode-abbrev-table)
1371 (pascal-imenu-generic-expression, pascal-auto-endcomments)
1372 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
1373 (pascal-outline-mode): Fix docstring typos.
1374 (pascal-mode): Let define-derived-mode document mode hook.
1375 (pascal-uncomment-area): Reflow.
1376 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
1377
1378 * progmodes/opascal.el (opascal-compound-block-indent)
1379 (opascal-case-label-indent): Fix docstring typos.
1380 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
1381
1f44df94
DG
13822014-03-13 Dmitry Gutov <dgutov@yandex.ru>
1383
07f44fdb
JB
1384 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1385 Fontify multiple adjacent negation chars. (Bug#17004)
1f44df94 1386
0d71dfb3
TW
13872014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
1388
1389 * emacs-lisp/package.el (package--prepare-dependencies):
1390 Accept requirements without explicit version (bug#14941).
1391
d27a1a7b
JB
13922014-03-12 Juanma Barranquero <lekktu@gmail.com>
1393
a5765a3d
JB
1394 * register.el (register-separator, copy-to-register): Doc fixes.
1395 (register-preview-default): Remove unnecessary call to concat.
1396
d27a1a7b
JB
1397 * frameset.el (frameset-restore): When checking for a visible frame,
1398 use the action map instead of calling visible-frame-list.
1399
08dfa0b7
JB
14002014-03-12 Jonas Bernoulli <jonas@bernoul.li>
1401
1402 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
1403
8960529e
MR
14042014-03-12 Martin Rudalics <rudalics@gmx.at>
1405
1406 * window.el (fit-frame-to-buffer): Get maximum width from
1407 display's width instead of height.
1408
8a51e8e4
GM
14092014-03-12 Glenn Morris <rgm@gnu.org>
1410
46456005
GM
1411 * desktop.el (desktop-restore-frames)
1412 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
1413 (desktop-restore-reuses-frames): Doc tweaks.
1414
8a51e8e4
GM
1415 * electric.el (electric-indent-mode): Doc fix.
1416
5983b317
JB
14172014-03-12 Juanma Barranquero <lekktu@gmail.com>
1418
1419 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
1420 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
1421 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
1422 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
1423 (cvs-dired-use-hook): Fix docstring typos.
1424 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
1425 Doc fixes.
1426
1427 * vc/pcvs-defs.el (cvs-auto-remove-handled)
1428 (cvs-auto-remove-directories, cvs-default-ignore-marks)
1429 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
1430 (cvs-execute-single-dir): Fix docstring typos.
1431
1432 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
1433 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
1434
1435 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
1436
1437 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
1438 Fix docstring typos.
1439
13c00cf0
JB
14402014-03-12 Juanma Barranquero <lekktu@gmail.com>
1441
1442 * frameset.el (frameset--jump-to-register): Add autoload; it could be
1443 called from jump-to-register after unloading the frameset package.
1444
536a17e3
SM
14452014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1446
1447 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
1448 (bug#16975). Deactivate the mark before setting it to nil.
1449 (activate-mark): Do nothing if region is already active.
1450
baf8d0ac
JB
14512014-03-11 Juanma Barranquero <lekktu@gmail.com>
1452
1453 * frameset.el (frameset--target-display): Remove definition; declare.
1454 (frameset-save, frameset-restore): Let-bind frameset--target-display.
1455
1ea22560
SM
14562014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1457
1458 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
1459 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
1460 when the advice is pending.
1461 (advice-remove): Remove this marker when not needed any more.
1462
4538c058
JB
14632014-03-11 Juanma Barranquero <lekktu@gmail.com>
1464
1465 * frameset.el: Separate options for reusing frames and cleaning up.
1466 (frameset--reuse-list): Remove definition; declare.
1467 (frameset--action-map): Declare.
1468 (frameset--find-frame-if): Doc fix.
1469 (frameset--restore-frame): Cache frame action.
1470 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
1471 how to clean up the frame list after restoring. Remove cleaning
1472 options from REUSE-FRAMES. Change all keyword values to symbols.
1473 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
1474
1475 * desktop.el (desktop-restore-forces-onscreen)
1476 (desktop-restore-reuses-frames): Use non-keyword values.
1477 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
1478
ba1a5c78
GM
14792014-03-10 Glenn Morris <rgm@gnu.org>
1480
776aa432
GM
1481 * files.el (find-file): Doc fix: update info node name.
1482
ba1a5c78
GM
1483 * emacs-lisp/advice.el (ad-add-advice, defadvice):
1484 Doc fix: remove references to deleted info nodes.
1485
183d706e
MA
14862014-03-10 Michael Albinus <michael.albinus@gmx.de>
1487
1488 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
1489 Do not add `nil' to the environment, when there's no remote `locale'.
1490 (tramp-find-inline-encoding): Check, that the remote host has
1491 installed perl, before sending scripts.
1492
6f0f96e7
LL
14932014-03-10 Leo Liu <sdl.web@gmail.com>
1494
536a17e3
SM
1495 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1496 Clear eldoc-last-message. (Bug#16920)
6f0f96e7 1497
ca70fe78
SM
14982014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
1499
1500 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
1501 (bug#14430).
1502
eb67db41
JL
15032014-03-09 Juri Linkov <juri@jurta.org>
1504
1505 * ansi-color.el (ansi-color-names-vector): Copy default colors
1506 from `xterm-standard-colors' that look well on the default white
1507 background (and also on the black background) to avoid illegible
8cf07e5a 1508 color combinations like yellow-on-white and white-on-white.
eb67db41
JL
1509 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
1510
e7db5447
JB
15112014-03-08 Juanma Barranquero <lekktu@gmail.com>
1512
1513 * frameset.el (frameset-restore): When no frame is visible, do not
1514 generate a list of frames, just make visible the selected one.
1515
f0a4c8d7
DG
15162014-03-08 Dmitry Gutov <dgutov@yandex.ru>
1517
1518 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
1519 it only contains the repository root. (Bug#16897)
1520
e50772e3
MA
15212014-03-07 Michael Albinus <michael.albinus@gmx.de>
1522
1523 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
1524 only when `remote-file-name-inhibit-cache' is nil.
1525 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
1526
cac0a1d6
MR
15272014-03-06 Martin Rudalics <rudalics@gmx.at>
1528
1529 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
1530 Fix doc-strings.
1531 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
1532 fit-frame-to-buffer variable. Fix doc-string.
1533 (fit-window-to-buffer): Set ONLY argument in call of
1534 fit-frame-to-buffer. Fix doc-string.
1535
fa965cbf
MA
15362014-03-06 Michael Albinus <michael.albinus@gmx.de>
1537
1538 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
1539 (tramp-action-password): Clear password cache if needed.
1540 (tramp-read-passwd): Do not clear password cache.
1541
1542 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
1543 cache unless it is the first password request.
1544
c94e6ee4
GM
15452014-03-06 Glenn Morris <rgm@gnu.org>
1546
03bc753e
GM
1547 * simple.el (newline): Doc tweak.
1548
c94e6ee4
GM
1549 * emacs-lisp/shadow.el (load-path-shadows-find):
1550 Ignore dir-locals. (Bug#12357)
1551
bd2d43dc
GM
15522014-03-05 Glenn Morris <rgm@gnu.org>
1553
1554 * files.el (interpreter-mode-alist):
1555 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
1556
9284000e
JB
15572014-03-05 Juanma Barranquero <lekktu@gmail.com>
1558
1559 * frameset.el (frameset--initial-params): Filter out null entries.
1560
e1a2cb1c
MR
15612014-03-05 Martin Rudalics <rudalics@gmx.at>
1562
27821a89
JB
1563 * window.el (window-min-height, window-min-width):
1564 Rewrite doc-strings.
e1a2cb1c
MR
1565 (window-body-size): Add PIXELWISE argument to make it consistent
1566 with its callees.
1567
6bf67038
JB
15682014-03-05 Juanma Barranquero <lekktu@gmail.com>
1569
1570 * finder.el (finder-mode-map, finder-mode-syntax-table):
1571 Revert part of 2014-02-28 change.
1572
90f04e4c
LI
15732014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
1574
1575 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
1576 (eww-setup-buffer): Clear next/prev/etc more reliably.
27821a89
JB
1577 (eww-textarea-map): [tab] doesn't work on tty.
1578 Reported by Mario Lang.
6952100d
LI
1579
1580 * net/shr.el (shr-map): Ditto.
90f04e4c 1581
3106d59b
GM
15822014-03-04 Glenn Morris <rgm@gnu.org>
1583
1584 * minibuffer.el (completion-hilit-commonality):
1585 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
1586
f604dfdc
JB
15872014-03-04 Juanma Barranquero <lekktu@gmail.com>
1588
1589 * hilit-chg.el (hilit-chg-unload-function): New function.
1590 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
1591 (hilit-chg-map-changes): Prefer cardinal number to digit.
1592 (hilit-chg-display-changes): Reflow docstring.
1593 (highlight-changes-rotate-faces): Remove superfluous backslash.
1594
5dc65319
MA
15952014-03-04 Michael Albinus <michael.albinus@gmx.de>
1596
1597 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
1598 `tramp-send-command-and-check'.
1599
4242d21d
JB
16002014-03-04 Juanma Barranquero <lekktu@gmail.com>
1601
b01fa838
JB
1602 * hexl.el (hexl-address-region, hexl-ascii-region)
1603 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
1604 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
1605 (hexl-forward-word, hexl-previous-line, hexl-next-line):
1606 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
1607 (hexl-mode): Doc fix.
1608 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
1609 (hexl-mode-ruler): Fix typos in docstrings.
1610
4242d21d
JB
1611 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
1612 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
1613 Remove superfluous backslashes.
1614 (strokes-last-stroke, strokes-global-map, strokes-mode):
1615 Reflow docstrings.
1616 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
1617 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
1618 (strokes-distance-squared, strokes-global-set-stroke)
1619 (strokes-global-set-stroke-string): Doc fixes.
1620 (strokes-help): Fix typos; reflow docstring.
1621
87132570
MR
16222014-03-04 Martin Rudalics <rudalics@gmx.at>
1623
1624 * window.el (window-in-direction): Fix doc-string.
1625
d82e752c
GM
16262014-03-04 Glenn Morris <rgm@gnu.org>
1627
1628 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
1629 Explicit error if no grammar.
1630 (smie-config-save): Doc fix. Fix quote typo.
1631
62528af0
SM
16322014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
1633
8d4901dc
SM
1634 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
1635 electric-indent-mode-hook if we obey electric-indent-mode.
1636 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
1637 decide whether we obey electric-indent-mode.
1638 (c-change-set-fl-decl-start, c-extend-after-change-region):
1639 Silence warnings.
1640 (c-electric-indent-mode-hook): Assume we do want to obey
1641 electric-indent-mode.
1642
1643 * electric.el (electric-indent-mode-has-been-called): Remove.
1644 (electric-indent-mode): Fix accordingly.
1645
092c12b2
SM
1646 * files.el (hack-local-variables): Mention file name in warning.
1647
62528af0
SM
1648 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
1649
5b87d0d9
MN
16502014-03-04 Michal Nazarewicz <mina86@mina86.com>
1651
20f39add 1652 * bindings.el: Add comment describing why C-d binds to `delete-char'.
5b87d0d9
MN
1653 * simple.el (delete-forward-char): Mark as interactive-only.
1654
542a3840
JB
16552014-03-03 Juanma Barranquero <lekktu@gmail.com>
1656
f2d2402e
GM
1657 * icomplete.el (icomplete-completions):
1658 Follow-up to 2014-03-01 change.
d11320e5
JB
1659
1660 * icomplete.el: Miscellaneous doc fixes.
1661 Use Icomplete everywhere instead of icomplete for consistency.
1662 (icomplete-max-delay-chars): Fix typo.
1663 (icomplete-mode): Use \[].
1664 (icomplete-tidy, icomplete-exhibit): Reflow.
1665 (icomplete-minibuffer-setup-hook, icomplete-completions):
1666 Remove superfluous backlashes.
1667
1668 * ido.el: Miscellaneous doc fixes.
1669 Use Ido everywhere instead of ido or `ido' for consistency.
1670 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
1671 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
1672 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
1673 (ido-separator): Extract obsolescence info from docstring and declare
1674 with make-obsolete-variable.
1675 (ido-minibuffer-setup-hook): Simplify example.
1676 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
1677 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
1678 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
1679 (ido-everywhere): Reflow docstring.
1680 (ido-toggle-vc): Doc fix.
1681 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
1682 of long list of keybindings.
1683
7ebd57e9
GM
16842014-03-03 Glenn Morris <rgm@gnu.org>
1685
1686 * frame.el (display-pixel-height, display-pixel-width)
1687 (display-mm-dimensions-alist, display-mm-height)
1688 (display-mm-width): Doc tweaks.
1689
35e951cd 16902014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
e3d090b4
BR
1691
1692 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
1693 case of undo in region.
1694
b923819c
MR
16952014-03-02 Martin Rudalics <rudalics@gmx.at>
1696
1697 * window.el (fit-window-to-buffer): Fix argument in window-size
1698 call when window is horizontally combined.
1699
b6e443c5
JB
17002014-03-02 Juanma Barranquero <lekktu@gmail.com>
1701
1702 * icomplete.el (icomplete-completions): Use string-width.
35e951cd 1703 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
b6e443c5 1704
1850913d
DG
17052014-03-01 Dmitry Gutov <dgutov@yandex.ru>
1706
35e951cd
JB
1707 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1708 Highlight regexp options. (Bug#16914)
1850913d 1709
04b577b6
MR
17102014-03-01 Martin Rudalics <rudalics@gmx.at>
1711
1712 * window.el (window--max-delta-1): Round down when calculating
1713 how many lines/columns we can get from a window.
1714
b829360f
GM
17152014-03-01 Glenn Morris <rgm@gnu.org>
1716
2501c912
GM
1717 * isearch.el (search-invisible): Doc fix.
1718
b829360f
GM
1719 * minibuffer.el (completion-hilit-commonality):
1720 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
1721 * comint.el (comint-dynamic-list-completions): Doc fix.
1722 * comint.el (comint-dynamic-list-completions):
1723 * filecache.el (file-cache-minibuffer-complete):
1724 * tempo.el (tempo-display-completions):
1725 * eshell/em-hist.el (eshell-list-history):
1726 Replace use of obsolete argument of display-completion-list.
1727
9a155058
JB
17282014-03-01 Juanma Barranquero <lekktu@gmail.com>
1729
1730 * icomplete.el (icomplete-completions):
1731 Revert back to using "..." when ?… cannot be displayed.
1732
53f6cda8
JB
17332014-02-28 Juanma Barranquero <lekktu@gmail.com>
1734
1735 * finder.el (finder-unload-function): New function.
1736
43977c23
JB
17372014-02-28 Juanma Barranquero <lekktu@gmail.com>
1738
1739 * dframe.el (dframe-detach):
1740 * find-dired.el (find-dired, find-name-dired):
1741 * finder.el (finder-mode-map, finder-mode-syntax-table)
1742 (finder-headmark, finder-select, finder-mouse-select):
1743 Fix docstring typos.
1744
9dda75ad
MR
17452014-02-28 Martin Rudalics <rudalics@gmx.at>
1746
1747 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
27821a89
JB
1748 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
1749 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
1750 Fix doc-string based on a suggestion by Nicolas Richard
1751 <theonewiththeevillook@yahoo.fr>.
9dda75ad
MR
1752 * help.el (with-help-window): Fix doc-string.
1753
8a73034e
IK
17542014-02-28 Ivan Kanis <ivan@kanis.fr>
1755
b70257b0
GM
1756 * net/shr.el (shr-image-animate): New option.
1757 (shr-put-image): Respect shr-image-animate.
8a73034e 1758
245aa73e
MA
17592014-02-28 Michael Albinus <michael.albinus@gmx.de>
1760
1761 * net/tramp-adb.el (tramp-adb-parse-device-names):
1762 Use `accept-process-output'.
1763 (tramp-adb-handle-file-truename): Cache the localname only.
1764 (tramp-adb-handle-make-directory)
1765 (tramp-adb-handle-delete-directory): Flush file properties correctly.
1766 (tramp-adb-handle-set-file-modes): Do not raise an error when file
1767 modes cannot be changed.
1768
1769 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
1770 file properties of symlinks.
1771
48e15d64
PS
17722014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
1773
1774 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
1775 required/optional fields to match development biblatex. (Bug#16781)
1776
65b77347
AS
17772014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
1778
1779 * saveplace.el (toggle-save-place):
1780 Fix argument handling. (Bug#16673)
1781
5e618aba
GM
17822014-02-28 Glenn Morris <rgm@gnu.org>
1783
1784 * minibuffer.el (completions-first-difference)
1785 (completions-common-part, completion-hilit-commonality): Doc fixes.
1786
6deb314e
KB
17872014-02-28 Karl Berry <karl@gnu.org>
1788
1789 * info.el (Info-mode-map): Add H for describe-mode,
1790 to synchronize with standalone Info.
1791
289996f5
EL
17922014-02-28 Emilio C. Lopes <eclig@gmx.net>
1793
1794 * progmodes/sql.el (sql-interactive-mode):
1795 Avoid setting global comint-input-ring-separator. (Bug#16814)
1796
79fc1191
MA
17972014-02-27 Michael Albinus <michael.albinus@gmx.de>
1798
1799 * net/dbus.el (dbus--init-bus): Declare function.
1800 (dbus-path-local, dbus-interface-local): New defconst.
1801 (dbus-init-bus): Use them.
1802 (dbus-return-values-table): Extend doc.
1803 (dbus-handle-bus-disconnect): Extend error message.
1804
298520df
JB
18052014-02-27 Juanma Barranquero <lekktu@gmail.com>
1806
1807 * subr.el (y-or-n-p): Fix double space issue in message.
1808
c22c1614
MA
18092014-02-27 Michael Albinus <michael.albinus@gmx.de>
1810
1811 * net/tramp.el (tramp-call-process): Improve trace message.
1812 (tramp-handle-insert-file-contents): Trace error case.
1813
1814 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
1815 <insert-directory>: Use `tramp-handle-insert-directory'.
1816 (tramp-adb-handle-insert-directory): Remove function.
1817 (tramp-adb-send-command-and-check): New defun, replacing
1818 `tramp-adb-command-exit-status'. Change all callees.
1819 (tramp-adb-handle-file-attributes)
1820 (tramp-adb-handle-directory-files-and-attributes): Use it.
35e951cd
JB
1821 (tramp-adb-ls-output-name-less-p):
1822 Use `directory-listing-before-filename-regexp'.
c22c1614
MA
1823 (tramp-adb-handle-delete-directory): Flush also file properties of
1824 the truename of directory.
1825 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
1826 (tramp-adb-handle-file-local-copy): Make the local copy readable.
1827 (tramp-adb-handle-write-region): Implement APPEND.
1828 (tramp-adb-handle-rename-file): Make it more robust. Flush file
1829 properties correctly.
1830 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
1831 variables. Check for connected devices only when needed.
1832
d9263618
GM
18332014-02-27 Glenn Morris <rgm@gnu.org>
1834
ea7826ba
GM
1835 * minibuffer.el (completion-table-dynamic)
1836 (completion-table-with-cache): Doc fixes.
1837
d9263618
GM
1838 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
1839 (completing-read-multiple): Doc fixes.
1840
eff3168a
DC
18412014-02-27 Daniel Colascione <dancol@dancol.org>
1842
51f213c3
DC
1843 * minibuffer.el (completion--nth-completion): Fix indentation.
1844
eff3168a
DC
1845 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
1846 explicit tramp path is empty.
1847
b77cfcd7
GM
18482014-02-27 Glenn Morris <rgm@gnu.org>
1849
1850 * emacs-lisp/crm.el (completing-read-multiple):
1851 Empower help-enable-auto-load.
1852
9577b569
GM
18532014-02-26 Glenn Morris <rgm@gnu.org>
1854
259887e8
GM
1855 * startup.el (command-line): Don't init the tty in daemon mode.
1856
1d491ef2
GM
1857 Avoid calling tty-setup-hook twice, eg if a term file
1858 explicitly calls tty-run-terminal-initialization. (Bug#16859)
1859 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
1860 (tty-create-frame-with-faces): Use it.
1861 * startup.el (command-line): Pass run-hook argument
1862 to tty-run-terminal-initialization.
1863
9577b569
GM
1864 * dired.el (dired-restore-desktop-buffer): Demote errors;
1865 eg in case a glob match fails. (Bug#16884)
1866
40ff7f86
DG
18672014-02-26 Dmitry Gutov <dgutov@yandex.ru>
1868
b2388336
DG
1869 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
1870 error from `read-from-string'. (Bug#16850)
1871
40ff7f86
DG
1872 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
1873 result of `completing-read' in the interactive form. (Bug#16854)
1874
98bd6b32
GM
18752014-02-25 Glenn Morris <rgm@gnu.org>
1876
f086804c
GM
1877 * image.el (image-animate, image-animate-timeout):
1878 Stop animating images in dead buffers. (Bug#16878)
1879
c107155e
GM
1880 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
1881
9577b569
GM
1882 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
1883 Doc fixes.
98bd6b32
GM
1884 * startup.el (term-setup-hook): Doc fix. Make obsolete.
1885 * term/sun.el (sun-raw-prefix-hooks):
1886 Use tty-setup-hook instead of term-setup-hook.
1887 (terminal-init-sun): Construct message from bytecomp plist.
1888 * term/wyse50.el (enable-arrow-keys): Doc fix.
1889
9c9e18e8
JB
18902014-02-24 Juanma Barranquero <lekktu@gmail.com>
1891
1892 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
1893 Fix docstring typos.
1894
c848881f
MA
18952014-02-24 Michael Albinus <michael.albinus@gmx.de>
1896
1897 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
1898
0e38ae05
NR
18992014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1900
1901 * minibuffer.el (completion--try-word-completion):
1902 Fix error when completing M-x commands (bug#16808).
1903
8ee4c296
LL
19042014-02-24 Leo Liu <sdl.web@gmail.com>
1905
1906 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
1907
7d4bd627
JB
19082014-02-24 Juanma Barranquero <lekktu@gmail.com>
1909
1910 * apropos.el (apropos-print): Avoid formatting error when
1911 apropos-do-all and apropos-compact-layout are both t.
1912
e918e27f
JB
19132014-02-23 Juanma Barranquero <lekktu@gmail.com>
1914
1915 * apropos.el (apropos-property, apropos-all-words-regexp)
1916 (apropos-true-hit, apropos-variable, apropos-print):
1917 Fix docstring typos, and remove obsolete comment.
1918
85c01f80
MA
19192014-02-23 Michael Albinus <michael.albinus@gmx.de>
1920
1921 * net/tramp-sh.el (tramp-sh-handle-file-truename):
1922 Preserve trailing "/". (Bug#16851)
1923
62f95022
DG
19242014-02-23 Dmitry Gutov <dgutov@yandex.ru>
1925
1926 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
1927 after `=>' (bug#16811).
dfdb365c
DG
1928 (ruby-smie-rules): Handle the inconsistent second element of the
1929 list returned by `smie-indent--parent'.
1930 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
1931 method call.
62f95022 1932
025f2c81
JB
19332014-02-23 Juanma Barranquero <lekktu@gmail.com>
1934
1935 * elec-pair.el (electric-pair-text-syntax-table)
1936 (electric-pair-syntax-info, electric-pair--syntax-ppss)
1937 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
1938 (electric-pair--looking-at-unterminated-string-p): Doc fix.
1939 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
1940
123c84f9
GM
19412014-02-22 Glenn Morris <rgm@gnu.org>
1942
612c3e46
GM
1943 * imenu.el (imenu--generic-function): Doc fix.
1944
123c84f9
GM
1945 * register.el (frame-configuration-to-register): Make obsolete.
1946
e59fa9ad
JB
19472014-02-22 Juanma Barranquero <lekktu@gmail.com>
1948
1949 * desktop.el (desktop-save-buffer-p): Do not fail when
1950 desktop-files-not-to-save is nil. Return t for true result
1951 as the doc says.
1952
4e652634
DC
19532014-02-22 Daniel Colascione <dancol@dancol.org>
1954
27821a89 1955 * net/secrets.el (secrets-create-item, secrets-search-items):
35e951cd
JB
1956 Check that attribute values are strings, avoiding the construction
1957 of invalid dbus messages.
4e652634 1958
f35affb6
JB
19592014-02-21 Juanma Barranquero <lekktu@gmail.com>
1960
1961 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
1962 defun-declarations-alist.
1963
3d136b1b
SM
19642014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
1965
1966 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
1967 (bug#16829).
1968
612ddfc0
JB
19692014-02-21 Juanma Barranquero <lekktu@gmail.com>
1970
1971 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
1972 (whitespace-newline, whitespace-trailing, whitespace-line)
1973 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
1974 (whitespace-space-after-tab): Fix typo in docstrings.
1975
c8481b1b
DG
19762014-02-21 Dmitry Gutov <dgutov@yandex.ru>
1977
cb8f50a7
DG
1978 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
1979
c8481b1b
DG
1980 * electric.el (electric-indent-functions-without-reindent):
1981 Add `yaml-indent-line'.
1982
bed5126f
JB
19832014-02-21 Juanma Barranquero <lekktu@gmail.com>
1984
34b71457
JB
1985 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
1986 It has done nothing for years; should be removed after the release.
1987
bed5126f
JB
1988 * simple.el (choose-completion): Fix docstring typo.
1989 (read-quoted-char-radix): Remove unneeded * in docstring.
1990 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
1991 Don't escape parentheses unnecessarily in docstrings.
1992
8dd3e94f
MR
19932014-02-21 Martin Rudalics <rudalics@gmx.at>
1994
1995 Fix handling of window-min-height/-width (Bug#16738).
3d136b1b
SM
1996 * window.el (window--dump-window, window--dump-frame):
1997 New functions.
1998 (window--min-size-1): Account for window dividers.
1999 When window-resize-pixelwise is nil, delay rounding till after the
8dd3e94f
MR
2000 sum of the window components has been calculated.
2001 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
2002 nil make sure at least one text line and two text columns remain
2003 fully visible.
2004 (window-resize): Signal an error when window-resize-apply fails.
2005 (window--resize-child-windows): Fix calculation of by how many
2006 pixels a window can still be shrunk via window-new-normal.
2007 (adjust-window-trailing-edge): Call window--resizable with
2008 correct TRAIL argument.
2009
2ed94e04
MR
2010 (with-temp-buffer-window): Don't evaluate BODY within
2011 with-current-buffer (Bug#16816).
2012
0e5324c4
MA
20132014-02-21 Michael Albinus <michael.albinus@gmx.de>
2014
2015 * net/tramp.el (tramp-check-cached-permissions):
2016 Call `file-attributes' with `suffix' being a symbol but a string.
2017
48198420
DC
20182014-02-21 Daniel Colascione <dancol@dancol.org>
2019
2020 * net/dbus.el (dbus-init-bus-1): Declare new subr.
2021 (dbus-init-bus): New function: call into dbus-init-bus-1
2022 and installs a handler for the disconnect signal.
2023 (dbus-call-method): Rewrite to look for result in cons.
2024 (dbus-call-method-handler): Store result in cons.
2025 (dbus-check-event): Recognize events with nil sender as valid.
2026 (dbus-handle-bus-disconnect): New function. React to bus
2027 disconnection signal by synthesizing dbus error for each
2028 pending synchronous or asynchronous call.
2029 (dbus-notice-synchronous-call-errors): New function.
2030 (dbus-handle-event): Raise errors directly only when `dbus-debug'
2031 is true, not all the time.
2032
99e15133
JB
20332014-02-21 Juanma Barranquero <lekktu@gmail.com>
2034
e48983a6
JB
2035 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
2036 Remove obsolescence declarations, these variables do not exist anymore.
2037
fdcfd745
JB
2038 * savehist.el (savehist-save-minibuffer-history)
2039 (savehist-additional-variables, savehist-file, savehist-mode-hook)
2040 (savehist-save-hook, savehist-coding-system, savehist-loaded)
2041 (savehist-load, savehist-install, savehist-autosave): Fix typos;
2042 mostly, refer to "Savehist mode" when talking about the mode,
2043 and not the function.
2044
99e15133
JB
2045 * saveplace.el (save-place): Remove redundant info in docstring.
2046 (save-place-forget-unreadable-files, toggle-save-place)
2047 (save-place-forget-unreadable-files, save-place-dired-hook):
2048 Fix typos and remove unneeded backslashes.
2049
f5bee33b
MA
20502014-02-20 Michael Albinus <michael.albinus@gmx.de>
2051
2052 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
2053 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
2054
2055 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
85c01f80 2056 <insert-directory>: Use `tramp-handle-insert-directory'.
f5bee33b
MA
2057 (tramp-gvfs-handle-insert-directory): Remove function.
2058
2059 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2060 Call `tramp-handle-insert-directory'.
2061
ee0761ca
JB
20622014-02-20 Juanma Barranquero <lekktu@gmail.com>
2063
2064 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
2065 before the start of buffer/region (bug#16799).
2066
4d49cc65
GM
20672014-02-20 Glenn Morris <rgm@gnu.org>
2068
2069 * isearch.el (search-invisible): Doc fix.
2070
eee0d650
TK
20712014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
2072
2073 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
2074 (bug#16657).
2075
94e5e202
JB
20762014-02-19 Juanma Barranquero <lekktu@gmail.com>
2077
2078 * frameset.el (frameset-restore): Delay removing an old frame's
2079 duplicate id until the new frame has been correctly created.
2080
50bfdd5d
MA
20812014-02-19 Michael Albinus <michael.albinus@gmx.de>
2082
2083 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
2084 (tramp-check-cached-permissions): Call `file-attributes' if the
2085 cache is empty.
2086
2087 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
afe1e4c8 2088 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
50bfdd5d
MA
2089
2090 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
afe1e4c8 2091 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
50bfdd5d
MA
2092 (tramp-gvfs-maybe-open-connection): Set always connection
2093 properties, even if target is mounted already.
2094
2095 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
2096 Set tramp-autoload cookie.
2097 (tramp-get-remote-touch): New defun.
2098 (tramp-sh-handle-set-file-times): Use it.
2099 (tramp-sh-handle-directory-files-and-attributes):
2100 Use `tramp-handle-directory-files-and-attributes' if neither stat
2101 nor perl are available on the remote host.
2102
2103 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
2104 "/". Write long listing only when "l" belongs to the switches.
2105
2106 * net/trampver.el: Update release number.
2107
f097a3d2
JB
21082014-02-19 Juanma Barranquero <lekktu@gmail.com>
2109
2110 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
2111
8e009b78
MR
21122014-02-19 Martin Rudalics <rudalics@gmx.at>
2113
2114 * window.el (window-state-put): Allow WINDOW to refer to an
2115 internal window (Bug#16793).
2116
95160c90
GM
21172014-02-19 Glenn Morris <rgm@gnu.org>
2118
2119 * textmodes/remember.el: Move provide statement to end.
2120 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
2121 (remember-notes): Doc fixes.
2122
b28df58c
SM
21232014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
2124
2125 * delsel.el (delete-char): Restore incorrectly erased property
2126 (bug#16795).
2127
7108e1c0
JB
21282014-02-18 Juanma Barranquero <lekktu@gmail.com>
2129
2130 * frameset.el (frameset--restore-frame): When a frame is being reused
2131 and its root window is not alive, delete all the frame's windows before
2132 restoring the window state. This works around the issue in bug#16793.
2133
c863b6ad
GM
21342014-02-18 Glenn Morris <rgm@gnu.org>
2135
a73fae1f
GM
2136 * textmodes/remember.el (remember-data-directory)
2137 (remember-directory-file-name-format, remember-store-in-files)
2138 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
2139 (remember-notes-save-and-bury-buffer)
2140 (remember-notes--kill-buffer-query): Doc fixes.
2141
c863b6ad
GM
2142 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
2143
29238d28
AM
21442014-02-17 Alan Mackenzie <acm@muc.de>
2145
2146 Connect electric-indent-mode up with CC Mode. Bug #15478.
b28df58c 2147 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
29238d28 2148 to electric-indent-{,local-}-mode.
b28df58c
SM
2149 (c-basic-common-init): Set electric-indent-inhibit.
2150 Initialise c-electric-flag from electric-indent-mode.
29238d28 2151 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
b28df58c 2152 New hook functions which propagate electric-indent-mode to CC mode.
29238d28
AM
2153
2154 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
b28df58c 2155 hit, toggle electric-indent-local-mode.
29238d28 2156
b28df58c
SM
2157 * electric.el (electric-indent-mode-has-been-called):
2158 New variable.
29238d28 2159
c6463340
JB
21602014-02-17 Juanma Barranquero <lekktu@gmail.com>
2161
2162 * frameset.el (frameset-cfg-id): New function.
2163 (frameset--reuse-frame, frameset-restore): Use it.
2164 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
2165
94912b88
SM
21662014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
2167
2168 * ido.el (ido-file-internal): Remove unused var `d'.
2169 Use \` for to match BoS. Fit within 80n columns.
2170
26ea164c
DC
21712014-02-17 Daniel Colascione <dancol@dancol.org>
2172
2173 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
2174 dbus-call-method check for completion using a busy-wait loop with
2175 gradual backoff.
2176
589d1988 21772014-02-16 Michael Albinus <michael.albinus@gmx.de>
dd7691b7
MA
2178
2179 Sync with Tramp 2.2.9.
2180
2181 * net/trampver.el: Update release number.
2182
17d1b51b
DG
21832014-02-16 Dmitry Gutov <dgutov@yandex.ru>
2184
2185 * ido.el (ido-file-internal): Don't add the name of an existing
2186 directory twice. (Bug#16747)
2187
5bcad689
GM
21882014-02-16 Glenn Morris <rgm@gnu.org>
2189
2190 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
2191 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
2192
21932014-02-15 Michael R. Mauger <michael@mauger.com>
9b0c01f7
MM
2194
2195 * progmodes/sql.el: Version 3.4
2196 (sql-oracle-options): New default value ("-L").
94912b88 2197 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
9b0c01f7 2198 (sql-placeholders-filter): Correct placeholder pattern.
35e951cd 2199 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
9b0c01f7
MM
2200 (sql-login-delay): New variable.
2201 (sql-product-interactive): Use it.
2202
285f1858
JB
22032014-02-15 Juanma Barranquero <lekktu@gmail.com>
2204
2205 * frameset.el (frameset--jump-to-register): Check that buffer is live
2206 (bug#16749).
2207
5d645ea4
GM
22082014-02-15 Glenn Morris <rgm@gnu.org>
2209
2210 * info.el (info-initialize): Revert 2014-01-10 change.
2211
48c4f9b1
GM
22122014-02-14 Glenn Morris <rgm@gnu.org>
2213
b8630261
GM
2214 * replace.el (map-query-replace-regexp)
2215 (read-regexp-defaults-function, read-regexp): Doc fixes.
2216
b2bf2a25
GM
2217 * dired.el (dired-read-regexp):
2218 * faces.el (list-faces-display):
2219 * misearch.el (multi-isearch-read-matching-buffers)
2220 (multi-isearch-read-matching-files):
2221 * play/cookie1.el (cookie-apropos):
2222 * progmodes/grep.el (grep-read-regexp): Doc fixes.
2223
48c4f9b1
GM
2224 * textmodes/remember.el (remember): Use frameset-to-register
2225 rather than frame-configuration-to-register.
2226
2804e0bd
JB
22272014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
2228
2229 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
2230 incorrect keybinding.
2231
0b87142f
DC
22322014-02-13 Daniel Colascione <dancol@dancol.org>
2233
2234 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
2235 when adding overlays so that line numbers from compiler match line
2236 numbers we use.
2237
47a73eb0
GM
22382014-02-13 Glenn Morris <rgm@gnu.org>
2239
8abcfd51
GM
2240 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
2241
47a73eb0
GM
2242 * jit-lock.el (jit-lock-mode): Doc fix.
2243
c9b6b262
JB
22442014-02-13 Juanma Barranquero <lekktu@gmail.com>
2245
2246 * apropos.el (apropos-read-pattern): When the user passes an empty
2247 string, give a more helpful error message than "Wrong type
2248 argument: stringp, nil".
2249
eb4c6947
SM
22502014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
2251
2252 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
2253
0dab5068
GM
22542014-02-13 Glenn Morris <rgm@gnu.org>
2255
2256 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
2257
59075dcf
SM
22582014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
2259
2260 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
2261 shift-select commands.
2262
5af9fbad
DG
22632014-02-12 Dmitry Gutov <dgutov@yandex.ru>
2264
2265 * progmodes/js.el (js-indent-line): Don't widen.
2266 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
2267
a215930c
GM
22682014-02-12 Glenn Morris <rgm@gnu.org>
2269
a8cb4247
GM
2270 * icomplete.el (icomplete): Add info-link to defgroup.
2271 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
2272 (icomplete-minibuffer-map, icomplete-mode)
2273 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
2274
a215930c
GM
2275 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
2276 (package-menu-filter): Rename from package-menu-filter-interactive.
2277 Doc fix.
2278
26c5ecd9
JB
22792014-02-11 Juanma Barranquero <lekktu@gmail.com>
2280
2281 * frameset.el (frameset--jump-to-register): Select the required
2282 window and buffer before restoring position (bug#16696).
2283
fcd58a02
LI
22842014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
2285
2286 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
2287
bacb3380
GM
22882014-02-10 Glenn Morris <rgm@gnu.org>
2289
2290 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
2291
881329dc
EZ
22922014-02-10 Eli Zaretskii <eliz@gnu.org>
2293
02328db9
EZ
2294 * w32-common-fns.el (x-get-selection): Doc fix.
2295 * select.el (x-get-selection): Doc fix. (Bug#15109)
2296
881329dc
EZ
2297 * face-remap.el (face-remap-add-relative)
2298 (face-remap-remove-relative, face-remap-reset-base)
2299 (face-remap-set-base): Call force-mode-line-update to redisplay
2300 the current buffer due to potential change in faces. (Bug#16709)
2301
c7db4c06
MA
23022014-02-10 Michael Albinus <michael.albinus@gmx.de>
2303
2304 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
2305 script more robustly.
2306
6abe4589
LI
23072014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
2308
7602b5c3
LI
2309 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
2310
e3692ee0
LI
2311 * simple.el (choose-completion): Doc fix (bug#14160).
2312
41015524
LI
2313 * subr.el (event-start): Say what a nil EVENT value means.
2314
87c79dcb
LI
2315 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
2316 (bug#14197).
2317
3ab49e2c
LI
2318 * progmodes/grep.el (find-program): Doc fix (bug#14289).
2319
f3c60241
LI
2320 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
2321
3bd1d8a8
LI
2322 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
2323
6abe4589
LI
2324 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
2325 predicate function (bug#15455).
2326
a11463de
DG
23272014-02-10 Dmitry Gutov <dgutov@yandex.ru>
2328
2329 * ielm.el (inferior-emacs-lisp-mode): Instead of
2330 `comment-use-global-state', set `comment-use-syntax'.
2331
2ab0ad85
GM
23322014-02-10 Glenn Morris <rgm@gnu.org>
2333
2334 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
2335
411141fb
AM
23362014-02-09 Alan Mackenzie <acm@muc.de>
2337
2338 Fix c-invalidate-state-cache on narrowed buffers.
2339 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
2340 Widen when setting and clearing the CPP delimiter properties.
2341
d6d5fdf8
LI
23422014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
2343
92c70367
LI
2344 * help.el (describe-bindings): Doc fix (bug#9888).
2345
468ef484
LI
2346 * files.el (save-buffer): Use ARG as the parameter name for
2347 consistency (bug#10346).
7e34193f 2348 (save-buffer): Clarify the 0 argument (bug#10346).
468ef484 2349
fc2b1ffa 2350 * cus-edit.el (customize-apropos): Fix error string.
382fd368 2351 (custom-buffer-create): Doc fix (bug#11122).
1e4a57ac 2352 (custom-sort-items): Doc fix (bug#11121).
fc2b1ffa 2353
790aceec
LI
2354 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
2355
a54a7552 2356 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
c359b7bd 2357 (icomplete-simple-completing-p): Mention the previous variable.
a54a7552 2358
dd163123
LI
2359 * font-lock.el (font-lock-value-in-major-mode): Clarify the
2360 meaning of the parameter (bug#12282).
2361
9e108fe6
LI
2362 * files.el (find-file-noselect): Clarify prompt when changing
2363 readedness (bug#13261).
5a836f58
LI
2364 (locate-file): Suffixes aren't returned, so don't say that they
2365 are (bug#12674).
2356b316 2366 (backup-inhibited): Doc clarification (bug#12525).
9e108fe6 2367
20dda930
LI
2368 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
2369 before we actually start to delete things (bug#16331).
2370
d6d5fdf8
LI
2371 * subr.el (event-start): Doc fix (bug#14228).
2372 (event-end): Ditto.
2373
2abd71e5
GM
23742014-02-09 Glenn Morris <rgm@gnu.org>
2375
2376 * emacs-lisp/warnings.el (lwarn):
2377 Empower help-enable-auto-load. (Bug#15940)
2378
c1b5900b
AS
23792014-02-08 Andreas Schwab <schwab@linux-m68k.org>
2380
2381 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
2382 (Bug#16690)
2383
429b93bd
MA
23842014-02-08 Michael Albinus <michael.albinus@gmx.de>
2385
2386 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2387 Insert output at end of buffer. (Bug#16120)
2388
b772a699
LI
23892014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
2390
18c6aa8c
LI
2391 * simple.el (choose-completion-string-functions): Document new
2392 calling convention (bug#14153).
54dd147a 2393 (execute-extended-command): Clarify doc string (bug#13373).
18c6aa8c 2394
dce8463b
LI
2395 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
2396
b772a699 2397 * find-dired.el (find-name-dired): Doc fix (bug#14290).
8aa76c93 2398 (find-grep-dired): Doc fix (bug#14288).
b772a699 2399
2423c8d5
JL
24002014-02-08 Juri Linkov <juri@jurta.org>
2401
2402 * isearch.el (isearch-quote-char): Check character validity
2403 like in `quoted-insert' (bug#16677).
2404
518f26c2
LI
24052014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
2406
893cc908
LI
2407 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
2408
9165ffc0
LI
2409 * isearch.el (isearch-hide-immediately): Doc clarification
2410 (bug#14723).
2411
6ef4f3ce
LI
2412 * simple.el (line-move): Document utility function used many
2413 places in the Emacs sources (bug#14843).
2414
be58a238 2415 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
8cff064c 2416 (dired-prev-marked-file): Doc fix (bug#14855).
574e477f 2417 (dired-up-directory): Doc fix (bug#14848).
be58a238 2418
dd7aafbb
LI
2419 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
2420
15cb9968
LI
2421 * files.el (file-relative-name): Doc fix (bug#15159).
2422
9788effd
LI
2423 * fringe.el (fringe-styles): Doc fix (bug#15239).
2424
c96411bd
LI
2425 * isearch.el (isearch-filter-predicate): Documentation typo fix
2426 (bug#15474).
2427
ea838c36
LI
2428 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
2429
0d8a4ae7
LI
2430 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
2431
f7a17bb3
LI
2432 * replace.el (replace-match-maybe-edit): Doc clarification
2433 (bug#15632).
2434
1bde5c3b
LI
2435 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
2436
518f26c2
LI
2437 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
2438
dd8e49fd
GM
24392014-02-08 Glenn Morris <rgm@gnu.org>
2440
2441 * help-fns.el (describe-variable):
2442 Check {file,dir}-local-variables-alist, and buffer-file-name,
2443 in the correct buffer.
2444
7e088b29
IL
24452014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
2446
2447 * help-fns.el (describe-variable): Fix the case where
2448 a value is directory-local with no dir-locals file. (Bug#16635)
2449
41a4a82f
GM
24502014-02-08 Glenn Morris <rgm@gnu.org>
2451
2452 * abbrev.el (edit-abbrevs-mode):
2453 Derive from fundamental-mode. (Bug#16682)
2454
e255a703
JB
24552014-02-07 Juanma Barranquero <lekktu@gmail.com>
2456
2457 * simple.el (quoted-insert): Check character validity (bug#16677).
2458
c99cf5ee
JL
24592014-02-07 Juri Linkov <juri@jurta.org>
2460
2461 * desktop.el (desktop-read): Claim the lock when the owner is not
2462 the current process. (Bug#16157)
2463
7d7a68d8
JL
24642014-02-07 Juri Linkov <juri@jurta.org>
2465
2466 * desktop.el (desktop-buffers-not-to-save): Change default from nil
2467 to "\\` ". (Bug#16651)
2468
2b777cd9
JL
24692014-02-07 Juri Linkov <juri@jurta.org>
2470
2471 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
2472 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
2473 (desktop-auto-save-cancel-timer): New function with some code from
2474 `desktop-auto-save-set-timer'.
2475 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
2476 Instead of setting `desktop-save-mode' to nil, call
2477 `desktop-save-mode' with arg 0. (Bug#16630)
2478
60eabbb9
GM
24792014-02-07 Glenn Morris <rgm@gnu.org>
2480
99cf3859
GM
2481 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
2482 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
2483 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
2484
2b568bc9
GM
2485 * obsolete/iswitchb.el: Move to obsolete/.
2486 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
2487 since obsolete/ is not scanned for autoloads.
2488 * emacs-lisp/authors.el (authors-valid-file-names):
2489 Add iswitchb.el.
2490
60eabbb9
GM
2491 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
2492 Disable now non-functional find-file-hook.
2493
629de968
MA
24942014-02-06 Michael Albinus <michael.albinus@gmx.de>
2495
2496 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
2497 instead of ";" in order to avoid additional prompts. Let heredoc
2498 scripts read from tty. (Bug#16582)
2499 (tramp-send-command): No special handling of heredocs, it isn't
2500 necessary anymore.
2501
29127376
SM
25022014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
2503
2504 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
2505 with a space (bug#16664). Limit the symbols considered to the ones
2506 that are bound or fbound (bug#16646).
2507
79b6e0a9
GM
25082014-02-06 Glenn Morris <rgm@gnu.org>
2509
2510 * epa.el (epa-mail-aliases): Doc fix.
2511
a333e4d2
DG
25122014-02-06 Dmitry Gutov <dgutov@yandex.ru>
2513
29127376
SM
2514 * emacs-lisp/lisp.el (lisp-completion-at-point):
2515 Use `completion-table-merge' instead of `completion-table-in-turn'
a333e4d2
DG
2516 (bug#16604).
2517
2518 * minibuffer.el (completion-table-merge): New function.
2519
9a83b32b
MA
25202014-02-05 Michael Albinus <michael.albinus@gmx.de>
2521
2522 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
2523 (tramp-sh-handle-set-file-acl)
2524 (tramp-sh-handle-start-file-process)
2525 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
2526 (tramp-find-executable, tramp-send-command): Use it.
2527
451ea3e6
GM
25282014-02-05 Glenn Morris <rgm@gnu.org>
2529
9a83b32b 2530 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
451ea3e6 2531
dd27d13b
FEG
25322014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
2533
35e951cd 2534 * progmodes/python.el (python-shell-send-string)
dd27d13b
FEG
2535 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
2536
08e41897
AL
25372014-02-04 Anders Lindgren <andlind@gmail.com>
2538
2539 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
2540 the names (bug#16620).
2541
764ec9e5
MR
25422014-02-03 Martin Rudalics <rudalics@gmx.at>
2543
08e41897
AL
2544 * faces.el (window-divider): New default value. Rewrite doc-string.
2545 (window-divider-first-pixel, window-divider-last-pixel): New faces.
764ec9e5 2546
6da8227c
DG
25472014-02-03 Dmitry Gutov <dgutov@yandex.ru>
2548
2549 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
2550 `protected' and `public' can also be called without arguments.
2551
6a6b8e40
GM
25522014-02-03 Glenn Morris <rgm@gnu.org>
2553
7bcbca40
GM
2554 * register.el (window-configuration-to-register)
2555 (frame-configuration-to-register): Unadvertise unused argument.
2556 * frameset.el (frameset-to-register): Remove unused argument.
2557
719d965d 2558 * frameset.el (frameset-to-register):
6a6b8e40
GM
2559 * kmacro.el (kmacro-to-register):
2560 * register.el (increment-register):
2561 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
2562 (calc-append-to-register, calc-prepend-to-register):
2563 * play/gametree.el (gametree-layout-to-register)
2564 (gametree-apply-register-layout):
2565 * textmodes/picture.el (picture-clear-rectangle-to-register)
2566 (picture-yank-rectangle-from-register):
2567 * vc/emerge.el (emerge-combine-versions-register):
2568 Use register-read-with-preview to read registers.
2569
5dca7759
JT
25702014-02-03 João Távora <joaotavora@gmail.com>
2571
2572 * elec-pair.el (electric-pair-backward-delete-char): Don't error
2573 when at beginning of (possibly narrowed) buffer.
2574
709085b9
DC
25752014-02-02 Daniel Colascione <dancol@dancol.org>
2576
c295fc18 2577 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
08e41897 2578 Also try to display local help from just before point.
709085b9 2579
99f7b0a6
AM
25802014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
2581
2582 c-parse-state. Don't "append-lower-brace-pair" in certain
2583 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
2584 recognised as a comment.
2585
2586 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
2587 as well as normal comment starter.
2588 (c-parse-state-get-strategy): Extra return possibility
2589 'back-and-forward.
2590 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
2591 return value list to indicate replacement of a brace-pair cons
2592 with its car.
2593 (c-parse-state-1): With 'back-and-forward, only call
2594 c-append-lower-brace-pair-to state-cache when cons-separated.
2595
f0a10576
JD
25962014-02-02 Jan Djärv <jan.h.d@swipnet.se>
2597
2598 * term/ns-win.el (ns-suspend-error): New function.
2599 (ns-initialize-window-system): Add ns-suspend-error to
2600 suspend-hook (Bug#16612).
2601
b8d552c2
DC
26022014-02-02 Daniel Colascione <dancol@dancol.org>
2603
35e951cd
JB
2604 * progmodes/cc-defs.el (c-find-assignment-for-mode):
2605 Make loading cc-mode silent.
b8d552c2 2606
f2b7d123
DC
26072014-02-02 Daniel Colascione <dancol@dancol.org>
2608
35e951cd
JB
2609 * comint.el (comint-prompt-read-only): Change doc to suggest
2610 remap keybinding.
f2b7d123 2611
4472a196
GM
26122014-02-02 Glenn Morris <rgm@gnu.org>
2613
2614 * register.el (register-read-with-preview, point-to-register)
2615 (window-configuration-to-register, frame-configuration-to-register)
2616 (jump-to-register, number-to-register, view-register, insert-register)
2617 (copy-to-register, append-to-register, prepend-to-register)
2618 (copy-rectangle-to-register): Doc fixes.
2619
70e5a261
SM
26202014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
2621
2622 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
2623 * emacs-lisp/find-func.el (find-function-C-source): Idem.
2624 * emacs-lisp/nadvice.el (advice--cd*r): New function.
2625 * help-fns.el (describe-function-1): Use it.
2626
7c324762
GM
26272014-02-02 Glenn Morris <rgm@gnu.org>
2628
2629 * register.el (register-preview-default): New function,
2630 split from register-preview.
2631 (register-preview-function): Rename from register-preview-functions,
2632 make it not a hook.
2633 (register-preview): Use register-preview-function.
2634 (register-read-with-preview): Error on non-character event. (Bug#16595)
2635
a09beb3d
DG
26362014-02-01 Dmitry Gutov <dgutov@yandex.ru>
2637
2638 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
2639 `:' before binary operators (bug#16609). Don't check for `:'
2640 before `[' and `(', or their syntax status. A percent literal
2641 can't end with either.
68e004e0
DG
2642 (ruby-font-lock-keywords): For built-ins that require arguments,
2643 check that they're followed by something that looks like argument
2644 (bug#16610).
a09beb3d 2645
ed4d2875
LI
26462014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
2647
2648 * subr.el (butlast): Document what an omitted N means (bug#13437).
2649 (nbutlast): Ditto.
2650
dba6e3ec
LI
26512014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
2652
2653 * net/shr.el (shr-generic): Make into a defsubst to make the stack
2654 depth shallower (bug#16587).
cc477daa
LI
2655 (shr-tag-svg): Respect `shr-inhibit-images'.
2656 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
dba6e3ec 2657
e2a67bd0
DG
26582014-01-31 Dmitry Gutov <dgutov@yandex.ru>
2659
2660 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
2661 (ruby-smie-grammar): Make "." right-associative. Make its priority
2662 lower than the ternary and all binary operators.
2663 (ruby-smie-rules): Indent "(" relative to the first non-"."
70e5a261
SM
2664 parent, or the first "." parent at indentation.
2665 Use `ruby-align-chained-calls' for indentation of "." tokens.
e2a67bd0
DG
2666 (Bug#16593)
2667
bd21bf41
JL
26682014-01-31 Juri Linkov <juri@jurta.org>
2669
2670 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
2671 from `make-hash-table'.
2672
2673 * textmodes/ispell.el (ispell-init-process): Change message format
2674 to be consistent with other messages.
2675
b7e615b9
GM
26762014-01-31 Glenn Morris <rgm@gnu.org>
2677
a69ecd19
GM
2678 * delsel.el (delete-selection-mode): Doc fix.
2679
9997d7e3
GM
2680 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
2681 (trace-function-background): Doc fixes.
2682
fbb764b8
GM
2683 * ido.el (ido-use-virtual-buffers): Doc fix.
2684 Reset :version, since the default value has not changed.
2685
da942af1
GM
2686 * register.el (register-preview-delay, register-read-with-preview):
2687 Doc fixes.
2688
b7e615b9
GM
2689 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
2690 do not mess with mail-buffer position (fixes 2009-11-03 change).
2691 * progmodes/cc-mode.el (c-submit-bug-report):
2692 Check auto-fill-mode is bound. (Bug#16592)
2693
0a25002d
DH
26942014-01-31 Darren Hoo <darren.hoo@gmail.com>
2695
2696 * startup.el (fancy-splash-image-file): New function,
2697 split from fancy-splash-head.
2698 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
2699 so that we are both using the same image. (Bug#16574)
2700
ad78f432
GM
27012014-01-30 Glenn Morris <rgm@gnu.org>
2702
6bbc0c84
GM
2703 * simple.el (eval-expression): Doc fix.
2704
ad78f432
GM
2705 * hexl.el (hexl-mode-hook):
2706 * ielm.el (ielm-mode-hook):
2707 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
2708 (lisp-interaction-mode-hook):
20f39add 2709 * progmodes/cfengine.el (cfengine3-documentation-function):
ad78f432
GM
2710 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
2711
7b2f049c
SM
27122014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2713
2714 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
2715 is a symbol (bug#16584).
2716
0c633f13
GM
27172014-01-30 Glenn Morris <rgm@gnu.org>
2718
2719 * help.el (help-for-help-internal): Add "P" to text.
2720
5e61c1ef
GM
27212014-01-29 Glenn Morris <rgm@gnu.org>
2722
2723 * simple.el (just-one-space, cycle-spacing): Doc fixes.
2724
1dcb169c
MR
27252014-01-28 Martin Rudalics <rudalics@gmx.at>
2726
2727 * window.el (fit-frame-to-buffer): Fix calculations for margins and
2728 height constraints.
2729
a9128931
LL
27302014-01-28 Luke Lee <luke.yx.lee@gmail.com>
2731
2732 * progmodes/hideif.el: Extend to full CPP expression syntax.
2733 (hif-token-alist): Add missing tokens.
2734 (hif-token-regexp): Add support for float/octal/hex immediates.
2735 (hif-string-literal-regexp): New const.
2736 (hif-tokenize): Recognize strings and float/octal/hex immediates.
2737 (hif-exprlist): New function.
2738 (hif-parse-if-exp): Use it.
2739 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
2740 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
2741 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
2742 (hif-logxor, hif-comma): New functions.
2743
a22359a7
GM
27442014-01-28 Glenn Morris <rgm@gnu.org>
2745
793ffe81
GM
2746 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
2747
e3bd7eed
GM
2748 * indent.el (tab-stop-list): Doc fix. Add :version.
2749
a22359a7
GM
2750 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
2751 (cvs-append-to-ignore): Add compatibility alias.
2752
52695556 27532014-01-27 Glenn Morris <rgm@gnu.org>
d269bb99 2754
bac524e0
GM
2755 * dired.el (dired-hide-details-mode): Don't autoload it,
2756 since it cannot be used outside Dired buffers anyway.
2757
52695556 2758 * emulation/cua-base.el (cua-mode): Doc fix.
d269bb99 2759
52695556
GM
2760 * dired.el (dired-hide-details-hide-symlink-targets)
2761 (dired-hide-details-hide-information-lines)
2762 (dired-hide-details-mode): Doc fixes.
ece4bae5
GM
2763
2764 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
2765 * strokes.el (strokes-file): Doc fix. Bump :version.
2766 (strokes-help): Doc fix.
2767 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
2768 * emulation/viper.el (viper): Doc fix for custom group.
2769 (top-level): Remove oh-so-no-longer-relevant text about vip.
2770 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
2771
2772 * ido.el (ido-save-directory-list-file):
2773 * saveplace.el (save-place-file):
2774 * calendar/timeclock.el (timeclock-file):
2775 * net/quickurl.el (quickurl-url-file):
2776 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
2777 * progmodes/idlwave.el (idlwave-config-directory):
2778 * textmodes/remember.el (remember-data-file):
2779 Bump :version.
2780
169d6004
GM
27812014-01-26 Glenn Morris <rgm@gnu.org>
2782
de6a923b
GM
2783 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
2784 Doc fix. Make obsolete.
2785 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
2786
169d6004
GM
2787 * sort.el (delete-duplicate-lines): Doc fix.
2788
ed85dee6
RS
27892014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2790
2791 * progmodes/ada-mode.el (ada):
2792 * woman.el (woman): Link to info manual and Commentary section.
2793
2794 * progmodes/flymake.el (flymake):
2795 * nxml/nxml-mode.el (nxml):
2796 * net/eww.el (eww):
2797 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
2798 * htmlfontify.el (htmlfontify):
2799 * ses.el (ses):
2800 * epa.el (epa):
2801 * ido.el (ido): Link to info manual.
2802
e0c67e1d
LL
28032014-01-25 Leo Liu <sdl.web@gmail.com>
2804
2805 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
2806
35408b1a
AS
28072014-01-25 Adam Sjøgren <asjo@koldfront.dk>
2808
2809 * net/shr.el (shr-tag-img): Prefer the title over the alt text
2810 (bug#16537).
2811
76c3fa95
JB
28122014-01-24 Juanma Barranquero <lekktu@gmail.com>
2813
f77c7a99
JB
2814 * net/eww.el (eww-download-callback):
2815 Fix reference to eww-download-directory.
2816
76c3fa95
JB
2817 * emacs-lisp/bytecomp.el (byte-compile-file):
2818 Remove unused local variable `file-name'.
2819
1e548e40
GM
28202014-01-24 Glenn Morris <rgm@gnu.org>
2821
03f3b318
GM
2822 * woman.el (woman-default-faces, woman-monochrome-faces):
2823 Fix obsolescence specification.
2824
1e548e40
GM
2825 * subr.el (with-demoted-errors): Doc fix.
2826
d4f0427b
SM
28272014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
2828
2829 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
2830 (cl--macroexp-fboundp): New function.
2831 (cl--make-type-test): Use it.
2832
1670e27f
GM
28332014-01-23 Glenn Morris <rgm@gnu.org>
2834
2835 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
2836 * simple.el (eval-expression): Doc fixes.
2837
80efa207
GM
28382014-01-22 Glenn Morris <rgm@gnu.org>
2839
2840 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
2841
29afcbab
SM
28422014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
2843
2844 * emacs-lisp/package.el: Write files silently.
2845 (package-autoload-ensure-default-file, package--write-file-no-coding)
2846 (package-generate-description-file, package--download-one-archive)
2847 (package-install-from-archive): Tell `write-region' to stay quiet.
2848 (package-menu-mode, package-menu--print-info): Omit the Archive column
2849 if there's only one archive.
2850 (package-all-keywords, package--has-keyword-p): Remove dead code.
2851
2a5bce4f
GM
28522014-01-22 Glenn Morris <rgm@gnu.org>
2853
edace89f
GM
2854 * version.el (emacs-bzr-version-bzr): Fix typo.
2855
2a5bce4f
GM
2856 * version.el (emacs-repository-get-version):
2857 Check either .bzr or .git, but not both.
2858 Make the git case actually use the DIR argument, and return nil
2859 rather than the empty string.
983664c0 2860 Avoid error if .git exists but the git executable is not found.
2a5bce4f 2861
6cb4da45
MR
28622014-01-22 Martin Rudalics <rudalics@gmx.at>
2863
2864 Fixes in window size functions around Bug#16430 and Bug#16470.
29afcbab
SM
2865 * window.el (window-total-size, window-size): New argument ROUND.
2866 (window--min-delta-1, window-min-delta, window--max-delta-1):
2867 Be more conservative when calculating the numbers of lines or
6cb4da45
MR
2868 columns a window can shrink (Bug#16430).
2869 (fit-window-to-buffer): Simplify code.
2870 * term.el (term-window-width): Call window-body-width again.
2871
cc0f2ece
GM
28722014-01-22 Glenn Morris <rgm@gnu.org>
2873
7b997b14
GM
2874 * image.el (image-format-suffixes): Doc fix.
2875
44e76f9d
GM
2876 * international/quail.el (quail-define-package): Doc fix.
2877
35e951cd 2878 * emacs-lisp/authors.el (authors-valid-file-names)
73c1c6d7 2879 (authors-renamed-files-alist): Additions.
7bfc1caa 2880
85a5f61f
GM
2881 * vc/vc-git.el (vc-git-print-log): Remove --follow;
2882 reverts 2014-01-09 change. (Bug#16422)
2883
cc0f2ece
GM
2884 * calc/calc-embed.el (thing-at-point-looking-at):
2885 * emacs-lisp/map-ynp.el (x-popup-dialog):
2886 * obsolete/lmenu.el (x-popup-dialog):
2887 * emacs-lisp/package.el (url-recreate-url):
2888 * mail/mailclient.el (clipboard-kill-ring-save):
2889 * subr.el (x-popup-dialog): Update declaration.
2890 * mail/rmail.el (rmail-mime-message-p):
2891 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
2892
00d2a6bb
DC
28932014-01-21 Daniel Colascione <dancol@dancol.org>
2894
2895 * progmodes/sh-script.el (sh--inside-noncommand-expression):
2896 Correctly detect when we're inside an arithmetic expansion form
2897 containing nested parenthesis.
c295fc18 2898 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
00d2a6bb
DC
2899 to detect cases where we shouldn't expand "<<" to a heredoc
2900 skeleton.
2901
dd9d2e9d
SM
29022014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
2903
2904 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
2905 (eldoc--message-command-p): New function.
2906 (eldoc-display-message-p): Use it.
2907 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
2908 message is not automatically erased for us.
2909 (eldoc-print-current-symbol-info): Erase previous message, if any.
2910
e7d807ca
TH
29112014-01-21 Tassilo Horn <tsdh@gnu.org>
2912
4ff0a0e5
TH
2913 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
2914 specify it's an interactive function.
2915
dd9d2e9d
SM
2916 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
2917 Fix regex used for scanning for citation keys which failed for
e7d807ca
TH
2918 citations with optional arguments.
2919
87503791
LL
29202014-01-21 Leo Liu <sdl.web@gmail.com>
2921
2922 * simple.el (read--expression): Don't enable eldoc-mode.
2923
6cc750ee
SM
29242014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
2925
2926 * simple.el (move-beginning-of-line): Make sure we don't move forward
2927 (bug#16497).
2928
71f16bda
JL
29292014-01-20 Juri Linkov <juri@jurta.org>
2930
2931 * saveplace.el (toggle-save-place, save-place-to-alist)
2932 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
2933 'dired-mode) before checking for dired-directory. (Bug#16477)
2934
3c5a4839
JL
29352014-01-20 Juri Linkov <juri@jurta.org>
2936
2937 * indent.el (indent-line-to): Use backward-to-indentation
2938 instead of back-to-indentation. (Bug#16461)
2939
f952002e
PE
29402014-01-20 Paul Eggert <eggert@cs.ucla.edu>
2941
2942 Revert some of the CANNOT_DUMP fix (Bug#16494).
2943 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
2944 but fixing this can wait until after the next release.
2945 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
2946
93675500
MA
29472014-01-19 Michael Albinus <michael.albinus@gmx.de>
2948
2949 * eshell/esh-mode.el (eshell-password-prompt-regexp):
2950 Use `password-word-equivalents'.
2951 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
2952 to t. (Bug#5664, Bug#13124)
2953
e3af763f
AM
29542014-01-19 Alan Mackenzie <acm@muc.de>
2955
2956 Bind open-paren-in-column-0-is-defun-start to nil at some entry
2957 points.
2958 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
3fcfc4ee 2959 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
e3af763f
AM
2960 * progmodes/cc-mode.el (c-before-change, c-after-change)
2961 (c-font-lock-fontify-region): Bind it here.
2962
4ff6d92d
MR
29632014-01-19 Martin Rudalics <rudalics@gmx.at>
2964
2965 * term.el (term-window-width): Call window-text-width instead of
2966 window-width (Bug#16470).
2967
9a685cf6
PE
29682014-01-18 Paul Eggert <eggert@cs.ucla.edu>
2969
2970 * simple.el (password-word-equivalents): Remove duplicates.
2971 Sort, to make this easier next time.
2972 Downcase. Omit ": " after "jelszó".
2973
5aa78c2d
JD
29742014-01-18 Jan Djärv <jan.h.d@swipnet.se>
2975
2976 * term/common-win.el (saved-region-selection): Defvar it.
2977 (x-select-text): Set saved-region-selection (Bug#16382).
2978
cabb250c
GM
29792014-01-18 Glenn Morris <rgm@gnu.org>
2980
2981 * emacs-lisp/authors.el (authors-aliases)
2982 (authors-renamed-files-alist): Add some entries.
2983
a1340440
MA
29842014-01-17 Michael Albinus <michael.albinus@gmx.de>
2985
93675500
MA
2986 * net/tramp.el (tramp-password-prompt-regexp):
2987 Use `password-word-equivalents' if available.
a1340440
MA
2988 (tramp-action-password, tramp-process-one-action)
2989 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
2990
681ce5d2
CY
29912014-01-17 Chong Yidong <cyd@gnu.org>
2992
2993 * simple.el (password-word-equivalents): New defcustom.
2994 * comint.el (comint-password-prompt-regexp): Use it. Bump version
2995 to 24.4.
2996 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
2997 to t. (Bug#13124)
2998
fb3d479c
DG
29992014-01-17 Dmitry Gutov <dgutov@yandex.ru>
3000
3001 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
dd9d2e9d
SM
3002 (ruby-align-to-stmt-keywords): Change the default value.
3003 Use `ruby-alignable-keywords' to generate the possible customization
fb3d479c
DG
3004 choices.
3005 (ruby-smie-rules): Instead of using a hardcoded list of alignable
3006 keywords, check against the value of `ruby-alignable-keywords'
3007 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
3008
0d613483
GM
30092014-01-17 Glenn Morris <rgm@gnu.org>
3010
fc23fe2d
GM
3011 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
3012
0d613483 3013 Make M-x authors return zero *Authors Errors* from current logs.
35e951cd 3014 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
0d613483
GM
3015 (authors-ignored-files): Add some entries, remove others.
3016 (authors-ambiguous-files, authors-valid-file-names):
3017 Add some entries.
3018 (authors-renamed-files-alist): Add, remove, and adjust entries.
3019 (authors-renamed-files-regexps): Add some entries.
3020 Remove some very broad ones. Make some entries `lax'.
3021 (authors-lax-changelogs): New constant.
3022 (authors-disambiguate-file-name): Treat top-level specially.
3023 (authors-lax-changelog-p): New function.
3024 (authors-canonical-file-name): Check file as written against
3025 authors-valid-file-names. Do not special-case etc/.
3026 Handle `lax' logs and authors-renamed-files-regexps elements.
3027
2dbf4ffd
DG
30282014-01-16 Dmitry Gutov <dgutov@yandex.ru>
3029
3030 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
39903fd1
DG
3031 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
3032 callers.
2dbf4ffd 3033
87b2a7f2
SM
30342014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3035
3036 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
3037 Assume we're already in the proper buffer.
3038 Inspired by Anders Lindgren <andlind@gmail.com>.
3039 (follow-post-command-hook): Call it from the right buffer.
3040 (follow-comint-scroll-to-bottom): Adjust call.
3041 (follow-all-followers): Use get-buffer-window-list.
3042
93acfb0e
DC
30432014-01-15 Daniel Colascione <dancol@dancol.org>
3044
3045 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
3046 `buffer-file-name' in interactive-form so that we don't leave
3047 pathless file names in `file-name-history'.
3048
ccc6b208
JL
30492014-01-15 Juri Linkov <juri@jurta.org>
3050
3051 * indent.el (indent-rigidly): Set deactivate-mark to nil
3052 in transient indentation mode. (Bug#16438)
3053
5c92e00d
DG
30542014-01-15 Dmitry Gutov <dgutov@yandex.ru>
3055
3056 * emacs-lisp/package.el (package-desc-keywords): New function
3057 (Bug#16222).
3058 (describe-package-1, package-all-keywords)
3059 (package--has-keyword-p): Use it.
3060
dac69660
NR
30612014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3062
3063 * simple.el (define-alternatives): When creating the
3064 COMMAND-alternatives variable, assign COMMAND as its definition
3065 name so that `describe-variable' can relocate it.
3066
8b63edf8
ML
30672014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
3068
3069 * font-lock.el (font-lock-keywords): Fix typo in docstring
3070 (bug#16307).
3071
c6a0b8eb
AM
30722014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3073
3074 * ispell.el (ispell-region): Reset `in-comment' for new line
3075 instead of wrongly reset `add-coment' (bug#13577).
3076
02bf443d
DU
30772014-01-14 Daiki Ueno <ueno@gnu.org>
3078
3079 * epa-file.el (epa-file-write-region): Encode the region according
3080 to `buffer-file-format'. Problem reported at:
3081 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
3082
fd7fde15
SM
30832014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
3084
3085 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
3086 so it applies in the right buffer (bug#16410).
3087
c176054f
DC
30882014-01-13 Daniel Colascione <dancol@dancol.org>
3089
3090 * textmodes/rst.el (rst-define-key): Provide deprecated
3091 keybindings through named functions instead of anonymous ones so
3092 that "??" doesn't appear in describe-mode output.
3093
e3f33e5d
BG
30942014-01-13 Bastien Guerry <bzg@gnu.org>
3095
3096 * simple.el (define-alternatives): Call the selected command
3097 interactively. When setting `COMMAND--implementation' for the
3098 first time, tell the user how to chose another implementation.
3099 Enhance the docstring.
3100
c055d654
SM
31012014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3102
3103 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
3104 (log-edit--match-first-line): New function.
3105 (log-edit-font-lock-keywords): Use it.
3106 (log-edit-mode): Make jit-lock-defer-multiline work.
3107
d791cc3b
BG
31082014-01-13 Bastien Guerry <bzg@gnu.org>
3109
3110 * rect.el (rectangle-mark-mode): When the region is not active,
3111 display a message saying that the mark as been set and that
3112 rectangle mode is in use.
3113 (rectangle--highlight-for-redisplay): Only put an overlay with a
3114 visible vertical bar when (display-graphic-p) is non-nil.
3115 This partially fixes Bug#16403.
3116
3c0c4562
JL
31172014-01-13 Juri Linkov <juri@jurta.org>
3118
3119 * info.el (Info-find-file): Go to DIR before displaying the error
3120 about a nonexistent file if no previous Info file is visited.
3121 Use `user-error' instead of `error' for "Info file %s does not exist".
3122 (Info-find-node-2): In case of a nonexistent node in unwind forms
3123 go to the Top node if there is no previous node to revert to.
3124 (Bug#16405)
3125
25a700d0
MR
31262014-01-13 Martin Rudalics <rudalics@gmx.at>
3127
3128 fit-frame/window-to-buffer code fixes including one for Bug#14096.
c055d654
SM
3129 * window.el (fit-frame-to-buffer): Fix doc-string.
3130 Respect window-min-height/-width. Fit pixelwise when
25a700d0
MR
3131 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
3132 when avoiding that frame goes partially off-screen.
3133 (fit-window-to-buffer): Respect window-min-height/-width
3134 (Bug#14096).
3135
6ae948d8
SM
31362014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3137
3138 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
3139 after an empty line.
3140
6137cb82
SM
31412014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
3142
3143 * net/shr.el (shr-render-region): Autoload.
3144
e6344e17
XF
31452014-01-12 Xue Fuqiao <xfq.free@gmail.com>
3146
3147 * net/eww.el (eww-download-directory): Rename from
3148 `eww-download-path' (Bug#16419).
3149
3b922c70
LL
31502014-01-12 Leo Liu <sdl.web@gmail.com>
3151
3152 * dired-x.el (dired-mode-map): Fix last change.
3153
3154 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
3155
4fa51741
PE
31562014-01-12 Paul Eggert <eggert@cs.ucla.edu>
3157
3158 Spelling fixes.
3159 * emacs-lisp/generic.el (generic--normalize-comments):
3160 Rename from generic--normalise-comments. All uses changed.
35e951cd 3161 * play/bubbles.el (bubbles--neighborhood-score)
4fa51741
PE
3162 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
3163 (bubbles--neighborhood-available)
3164 (bubbles--update-neighborhood-score):
3165 Rename from names with 'neighbourhood'. All uses changed.
3166
9b335362
LL
31672014-01-12 Leo Liu <sdl.web@gmail.com>
3168
3169 Re-implement the feature of showing eldoc info after editing.
3170 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
3171 (eldoc-edit-message-commands): New function.
3172 (eldoc-print-after-edit): New variable.
3173 (eldoc-pre-command-refresh-echo-area): Emit message only by
3174 eldoc-message-commands.
3175 (eldoc-mode): Restrict eldoc-message-commands to editing commands
3176 if eldoc-print-after-edit is set. (Bug#16346)
79b61bcc 3177 * simple.el (read--expression): Enable eldoc-mode.
6137cb82 3178 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
9b335362 3179
e2a095b1
GM
31802014-01-11 Dani Moncayo <dmoncayo@gmail.com>
3181 Eric S. Raymond <esr@thyrsus.com>
9685190b 3182
841a6d0c 3183 * version.el (emacs-repository-get-version): Enhance so the
6137cb82 3184 function works correctly in either a Bazaar or Git repo.
0abf4134 3185
e2a095b1
GM
31862014-01-11 Eric S. Raymond <esr@thyrsus.com>
3187
6137cb82
SM
3188 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
3189 Goes with removal of the joke manpages from /etc.
9685190b 3190
c295fc18 31912014-01-10 Kenichi Handa <handa@gnu.org>
3923e7bd 3192
6137cb82
SM
3193 * mail/rmail.el (rmail-get-coding-system):
3194 Check rmail-get-coding-function before "funcall"ing it.
3923e7bd 3195
d2f16e93
GM
31962014-01-10 Glenn Morris <rgm@gnu.org>
3197
3198 * emacs-lisp/authors.el (authors-fixed-entries):
3199 Update for files that no longer exist.
3200
7e03bb32
ER
32012014-01-10 Eric S. Raymond <esr@thyrsus.com>
3202
3203 * version.el (emacs-bzr-get-version): Restore compatibilty with
d2f16e93 3204 24.3 (Tested).
7e03bb32 3205
dd806710
BB
32062014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
3207
3208 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
3209 and Podfile.
3210
ed6ec139
EZ
32112014-01-10 Eli Zaretskii <eliz@gnu.org>
3212
3213 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
3214
cc33cac9
CY
32152014-01-10 Chong Yidong <cyd@gnu.org>
3216
6137cb82 3217 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
cc33cac9 3218
d9d836b5
AL
32192014-01-10 Anders Lindgren <andlind@gmail.com>
3220
3221 * follow.el (follow-cache-command-list): Include right-char and
3222 left-char.
3223
06827ec8
PE
32242014-01-10 Paul Eggert <eggert@cs.ucla.edu>
3225
3226 Spelling fixes.
3227 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
3228 * woman.el (woman-mark-horizontal-position):
3229 Rename from woman-mark-horizonal-position. Use changed.
3230
458dbf5e
GM
32312014-01-10 Glenn Morris <rgm@gnu.org>
3232
dad6fae7
GM
3233 * info.el (info-initialize): If running uninstalled, ensure our
3234 own info files are always found first, even if INFOPATH is set.
3235
458dbf5e
GM
3236 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
3237
05e0afce
DE
32382014-01-09 David Engster <deng@randomsample.de>
3239
3240 * emacs-lisp/eieio-custom.el:
3241 * emacs-lisp/eieio-opt.el: Set generated autoload file to
3242 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
3243 * emacs-lisp/eieio.el: Regenerate autoloads.
3244
f29778b3
ER
32452014-01-09 Eric S. Raymond <esr@thyrsus.com>
3246
3247 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
fb14cb48 3248 following renames. (Bug#8756)
f29778b3 3249
684d44ef
SM
32502014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
3251
3252 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
3253 (bug#16382).
3254 (activate-mark): Add `no-tmm' argument.
3255 (set-mark, push-mark-command): Use it instead of running
3256 activate-mark-hook by hand.
3257
9475054f
ER
32582014-01-08 Eric S. Raymond <esr@thyrsus.com>
3259
3260 In preparation for the move to git, sanitize out some
3261 Bazaar-specific names.
3262
38942b9c
GM
3263 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
3264
9475054f 3265 * version.el (emacs-bzr-version): Name changed to
689c9ca5 3266 emacs-repository-version. Obsolete-variable alias made.
9475054f 3267 * loadup.el: Follow through on this name change.
a12bf61e 3268 * mail/emacsbug.el (report-emacs-bug): Factor out any
9475054f
ER
3269 assumption about the version control system in use.
3270
0f918d96 32712014-01-08 David Engster <deng@randomsample.de>
abb82152 3272
684d44ef
SM
3273 * help-fns.el (help-fns-describe-function-functions):
3274 New variable to call functions for augmenting help buffers.
abb82152
DE
3275 (describe-function-1): Remove explicit calls to
3276 `help-fns--compiler-macro', `help-fns--parent-mode' and
0f918d96
DE
3277 `help-fns--obsolete'. Put them in above new variable instead, and
3278 call them through `run-hook-with-args'.
3279 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
3280 `eieio-describe-class'. Not meant for interactive use anymore,
3281 but to augment existing help buffers. Remove optional second
684d44ef
SM
3282 argument. Create proper button for file location.
3283 Rewrite function to use `insert' instead of `princ' and `prin1' where
0f918d96
DE
3284 possible.
3285 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
3286 (eieio-method-def, eieio-class-def): Move further up.
684d44ef
SM
3287 (describe-method, describe-generic, eieio-describe-method):
3288 Remove aliases.
0f918d96
DE
3289 (eieio-help-constructor, eieio-help-generic): Rename from
3290 `eieio-describe-constructor' and `eieio-describe-generic', resp.
3291 Rewrite to use `insert' in the current buffer and use proper help
3292 buttons.
3293 (eieio-help-find-method-definition)
3294 (eieio-help-find-class-definition): Also accept symbols as
3295 arguments.
3296 (eieio-help-mode-augmentation-maybee): Remove.
3297 (eieio-describe-class-sb): Use `describe-function'.
684d44ef
SM
3298 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
3299 Add `eieio-help-generic' and `eieio-help-constructor'.
abb82152 3300
136b74c5
PE
33012014-01-08 Paul Eggert <eggert@cs.ucla.edu>
3302
3303 Spelling fixes.
3304 * language/china-util.el (hz-ascii-designation):
3305 Rename from hz-ascii-designnation.
3306 (hz-ascii-designation): Rename from hz-ascii-designnation.
3307 All uses changed.
3308
ec6c7de2
SM
33092014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3310
3311 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
3312 package-alist.
3313
d6262c7c
BG
33142014-01-08 Bastien Guerry <bzg@gnu.org>
3315
4b9e6087
GM
3316 * emacs-lisp/package.el (package-delete):
3317 Correctly delete the package from package-alist.
d6262c7c 3318
0a3eec32
DU
33192014-01-08 Daiki Ueno <ueno@gnu.org>
3320
3321 * emacs-lisp/package.el (url-recreate-url): Declare.
3322 (url-http-target-url): Declare.
4b9e6087 3323 (package-handle-response): Include requested URL in the error message.
0a3eec32
DU
3324 (package--check-signature): Don't re-signal errors from
3325 package--with-work-buffer. Suggested by Stefan Monnier.
3326
68f0bb97
BG
33272014-01-07 Bastien Guerry <bzg@gnu.org>
3328
3329 * minibuffer.el (completion--try-word-completion): When both a
3330 hyphen and a space are possible candidates for the character
3331 following a word, display both candidates. (Bug#15980)
3332
7e1899d7
MR
33332014-01-07 Martin Rudalics <rudalics@gmx.at>
3334
3335 * window.el (balance-windows-2): While rounding don't give a
c295fc18 3336 window more than the remainder. Bug#16351, bug#16383.
7e1899d7 3337
0030ec15
GM
33382014-01-07 Glenn Morris <rgm@gnu.org>
3339
3340 * menu-bar.el (menu-bar-help-extra-packages): Remove.
3341 (menu-bar-help-menu): Use view-external-packages instead.
3342
2b6b4f20
BG
33432014-01-07 Bastien Guerry <bzg@gnu.org>
3344
3345 * emacs-lisp/package.el (package-delete): Also delete the package
3346 name from `package-alist', not its description only.
3347
e9be0a13
GM
33482014-01-07 Glenn Morris <rgm@gnu.org>
3349
3350 * help.el (view-external-packages):
3351 * menu-bar.el (menu-bar-help-extra-packages):
3352 Visit efaq.info rather than etc/MORE.STUFF.
3353
e4f74da9
JL
33542014-01-07 Juri Linkov <juri@jurta.org>
3355
3356 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
3357 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
3358
3359 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
3360 that shadows RET. (Bug#16342)
3361
de7ce2d1
CY
33622014-01-07 Chong Yidong <cyd@gnu.org>
3363
3364 * isearch.el (isearch-yank-char, isearch-yank-word)
3365 (isearch-yank-line): Doc fix.
3366
6bdd9204
SM
33672014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
3368
3369 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
3370 * emacs-lisp/elint.el (elint-find-builtins):
3371 * emacs-lisp/eldoc.el (eldoc-symbol-function):
3372 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
3373 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
3374 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
3375 * apropos.el (apropos-safe-documentation):
3376 * subr.el (symbol-file): Remove redundant fboundp.
3377 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
3378
daccca97
BG
33792014-01-06 Bastien Guerry <bzg@gnu.org>
3380
3381 * hl-line.el (global-hl-line-overlay): Make a local variable.
3382 (global-hl-line-overlays): New variable to store all overlays.
3383 (global-hl-line-mode): Don't delete overlays from the current
3384 buffer when `global-hl-line-sticky-flag' is non-nil.
3385 (global-hl-line-highlight): Add new overlays to
3386 `global-hl-line-overlays'.
3387 (global-hl-line-unhighlight-all): New function to delete all
3388 overlays when turning off `global-hl-line-mode'.
3389 This fixes Bug#16183.
3390
ec00f20f
SM
33912014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
3392
3393 * subr.el (set-transient-map): Fix nested case and docstring.
3394
a0031f97
TH
33952014-01-06 Tassilo Horn <tsdh@gnu.org>
3396
3397 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
3398 `Texinfo' entry.
3399
bf6a77f3
DC
34002014-01-06 Daniel Colascione <dancol@dancol.org>
3401
3402 Fix defun navigation in vc log view.
3403
3404 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
3405 like `beginning-of-defun'.
c295fc18 3406 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
ec00f20f
SM
3407 log-view-end-of-defun to log-view-end-of-defun-1. Replace
3408 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
bf6a77f3 3409 (log-view-extract-comment): Call `log-view-current-entry' directly
ec00f20f 3410 instead of relying on broken `log-view-beginning-of-defun' behavior.
bf6a77f3 3411
d5081c1e
PE
34122014-01-06 Paul Eggert <eggert@cs.ucla.edu>
3413
3414 Spelling fixes.
3415 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
3416 * emacs-lisp/debug.el (cancel-debug-on-entry):
3417 * epg.el (epg-error-to-string):
3418 * files.el (recover-file):
3419 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
3420 * mail/emacsbug.el (report-emacs-bug-hook):
3421 * mail/sendmail.el (mail-recover):
3422 * ses.el (ses-yank-resize):
3423 * term/ns-win.el (ns-print-buffer):
3424 Spelling fixes in diagnostics, mostly for "canceled" with one L.
3425 * epg.el (epg-key-capability-alist): Rename from misspelled version.
3426 All uses changed.
3427 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
3428
53f6b148
LL
34292014-01-06 Leo Liu <sdl.web@gmail.com>
3430
3431 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
3b922c70 3432 to avoid shadowing global key. (Bug#16354)
53f6b148 3433
b82ace2f
DC
34342014-01-06 Daniel Colascione <dancol@dancol.org>
3435
3436 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
3437 rst-mode.
3438
3669b636
MR
34392014-01-05 Martin Rudalics <rudalics@gmx.at>
3440
3441 * window.el (balance-windows): Add mising t to fix Bug#16351.
3442
1a29adc2
LMI
34432014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3444
3445 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
3446 (bug#16285).
3d95a0f4
LMI
3447 (shr-insert): If we have a word that's longer than `shr-width',
3448 break after it anyway. Otherwise we'll do no breaking once we get
3449 such a long word.
1a29adc2 3450
f4018140
KN
34512014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3452
3fcfc4ee 3453 * net/eww.el (eww): Support single/double quote for search.
c295fc18 3454 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
189340f5
KN
3455 (eww-history-quit): Delete and use quit-window.
3456 (eww-history-kill): Delete, because it doesn't work well and
3457 not necessary.
3458 (eww-history-mode-map): Delete some keys and add easy-menu.
f4018140 3459
4e619754
PE
34602014-01-05 Paul Eggert <eggert@cs.ucla.edu>
3461
73dbf960
PE
3462 Fix misspelling of 'chinese' in rx (Bug#16237).
3463 * emacs-lisp/rx.el (rx-categories): Correct spelling of
3464 chinese-two-byte.
3465
4e619754
PE
3466 Change subword regexps back to vars (Bug#16296).
3467 * progmodes/subword.el (subword-forward-regexp)
3468 (subword-backward-regexp): Change these back to variables.
3469
e18b70fc
SM
34702014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
3471
3472 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
3473 syntax-begin-function (bug#16247).
3474
0d53f628
CY
34752014-01-03 Chong Yidong <cyd@gnu.org>
3476
3477 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
3478 (advice--docstring): Delete variable.
3479 (advice--make-1): Leave the docstring empty.
3480 (advice-add): Use function-documentation for advised docstring.
3481
3482 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
3483 Ignore function-documentation property when getting documentation.
3484 (ad-activate-advised-definition): Use function-documentation
3485 generate the docstring.
3486 (ad-make-advised-definition): Don't call
3487 ad-make-advised-definition-docstring.
3488 (ad-make-advised-definition-docstring, ad-advised-definition-p):
3489 Delete functions.
3490
3491 * progmodes/sql.el (sql-help): Use function-documentation instead
3492 of dynamic-docstring-function property. No need to autoload now.
3493 (sql--help-docstring): New variable.
3494 (sql--make-help-docstring): Use it.
3495
6f547583
SM
34962014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
3497
6ef9aed8
SM
3498 * ielm.el (ielm-tab): Retarget.
3499 (ielm-map): Use ielm-tab for tab.
3500 (ielm-complete-filename): Use comint-filename-completion.
3501 (ielm-complete-symbol): Remove.
3502 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
3503 remove ielm-tab from completion-at-point-functions (bug#16224).
3504
6f547583
SM
3505 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
3506 Beware signals raised by predicates (bug#16201).
3507
a574edbe
RS
35082014-01-02 Richard Stallman <rms@gnu.org>
3509
e831604d
RS
3510 * dired-aux.el (dired-do-print): Handle printer-name.
3511
6f547583
SM
3512 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
3513 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
a574edbe
RS
3514 (rmail-epa-decrypt): Turn off mime processing.
3515
3fcfc4ee 3516 * mail/rmail.el (rmail-make-in-reply-to-field):
a574edbe
RS
3517 Add parens in message-id.
3518
3519 * mail/rmail.el (rmail-get-coding-function): Variable.
3520 (rmail-get-coding-system): Use it.
3521
04311a16
KH
35222013-12-31 Eli Zaretskii <eliz@gnu.org>
3523
3524 * international/mule-conf.el: Unify the charset indian-is13194.
3525 (indian-is13194): Specify unify-map.
3526
c8d89778
LL
35272013-12-31 Leo Liu <sdl.web@gmail.com>
3528
3529 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
3530
e63ace37
DC
35312013-12-30 Daniel Colascione <dancol@dancol.org>
3532
9e0bf19a
DC
3533 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
3534 of printing a useless when we resume from sleep.
3535
e63ace37 3536 * progmodes/sh-script.el
c295fc18 3537 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
e63ace37
DC
3538 in indentation code. (Bug#16233)
3539
e9d6c46a
JT
35402013-12-28 João Távora <joaotavora@gmail.com>
3541
6f547583
SM
3542 * elec-pair.el (electric-pair-post-self-insert-function):
3543 Don't open extra newlines at beginning of buffer. (Bug#16272)
e9d6c46a 3544
bf7bea5d
EZ
35452013-12-28 Eli Zaretskii <eliz@gnu.org>
3546
3547 * frame.el (window-system-for-display): Don't allow to create a
3548 GUI frame from a -nw session on MS-Windows. (Bug#14739)
3549
8449dd1f
GM
35502013-12-28 Glenn Morris <rgm@gnu.org>
3551
9c5a5c77
GM
3552 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
3553 Update callers.
3554
3555 * apropos.el (apropos-match-face):
3556 * calculator.el (calculator-displayer):
3557 * dabbrev.el (dabbrev-search-these-buffers-only):
3558 * face-remap.el (buffer-face-mode-face):
3559 * simple.el (yank-handled-properties):
3560 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
3561 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
3562 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
3563 (hashcash-double-spend-database):
3564 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
3565 (ruby-deep-indent-paren-style):
3566 * textmodes/flyspell.el (flyspell-auto-correct-binding):
3567 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
3568 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
3569 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
3570 Specify custom types.
3571
bb098075
GM
3572 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
3573 * bookmark.el (bookmark-bmenu-use-header-line):
3574 * doc-view.el (doc-view-scale-internally):
3575 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
3576 * register.el (register-preview-delay):
3577 * net/shr.el (shr-bullet):
3578 * progmodes/cfengine.el (cfengine-cf-promises)
3579 (cfengine-parameters-indent):
3580 * progmodes/octave.el (inferior-octave-error-regexp-alist):
3581 * textmodes/reftex-vars.el (reftex-label-regexps):
3582 * vc/log-edit.el (log-edit-setup-add-author): Add version.
3583
9c61f806
GM
3584 * net/tls.el (tls-certtool-program): Fix default value.
3585
3586 * desktop.el (desktop-restore-in-current-display):
3587 * newcomment.el (comment-empty-lines):
3588 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
3589 (idlwave-pad-keyword):
3590 * progmodes/tcl.el (tcl-tab-always-indent):
3591 * textmodes/reftex-vars.el (reftex-index-default-tag):
3592 * elec-pair.el (electric-pair-skip-whitespace):
3593 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
3594
8449dd1f
GM
3595 * emacs-lisp/authors.el (authors-ignored-files)
3596 (authors-valid-file-names, authors-renamed-files-alist): Additions.
3597
fdadeb49
JC
35982013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
3599
72140a0f
GM
3600 * shell.el (shell-dynamic-complete-command): Doc fix.
3601 (shell--command-completion-data): Shell completion now matches
3602 executable filenames from the current buffer's directory, on
da5ecfa9 3603 systems in which this behavior is the default (windows-nt, ms-dos).
fdadeb49 3604
e572a7d8
LI
36052013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
3606
3607 * net/shr.el (shr-insert): Don't infloop if the width is zero.
3608
7514d3f8
SM
36092013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
3610
a4151f3b
SM
3611 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
3612 (bug#16251).
3613
7514d3f8
SM
3614 * electric.el: Move all electric-pair-* to elec-pair.el.
3615 * elec-pair.el: New file, split from electric.el.
3616
ac5758d1
LI
36172013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
3618
3619 * net/shr.el (shr-find-fill-point): Don't try to fill if the
3620 indentation level is larger than the width, because that will
3621 infloop.
3622 (shr-insert): Fill repeatedly long texts, so that Japanese is
3623 formatted correctly (bug#16263).
24a6b65e
LI
3624 (shr-find-fill-point): Off by one error in comparison with the
3625 indentation.
ac5758d1 3626
7514d3f8 36272013-12-26 João Távora <joaotavora@gmail.com>
3b8d5131
JT
3628
3629 * electric.el (electric-pair-mode): More flexible engine for skip-
7514d3f8 3630 and inhibit predicates, new options for pairing-related functionality.
3b8d5131
JT
3631 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
3632 if that keeps or improves their balance in buffers.
3633 (electric-pair-delete-adjacent-pairs): Delete the pair when
3634 backspacing over adjacent matched delimiters.
3635 (electric-pair-open-extra-newline): Open extra newline when
3636 inserting newlines between adjacent matched delimiters.
7514d3f8
SM
3637 (electric--sort-post-self-insertion-hook):
3638 Sort post-self-insert-hook according to priority values when
3b8d5131
JT
3639 minor-modes are activated.
3640 * simple.el (newline-and-indent): Call newline with interactive
3641 set to t.
3642 (blink-paren-post-self-insert-function): Set priority to 100.
7514d3f8
SM
3643 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3644 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
3645 comments. Locally set electric-pair-skip-whitespace to 'chomp and
3b8d5131
JT
3646 electric-pair-open-newline-between-pairs to nil.
3647
fbcc63a3
FEG
36482013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
3649
3650 * progmodes/python.el: Use lexical-binding.
3651 (python-nav-beginning-of-defun): Stop searching ASAP.
3652
ed78d16c
XF
36532013-12-25 Xue Fuqiao <xfq.free@gmail.com>
3654
3655 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
3656 Fix interactive spec. Doc fix. (Bug#15754)
3657
38b2c142
KY
36582013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
3659
3660 * emacs-lisp/byte-run.el (eval-when-compile):
55db967f 3661 * progmodes/cc-defs.el (cc-eval-when-compile):
38b2c142
KY
3662 Fix edebug spec (bug#16184).
3663
3c856c14
LI
36642013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
3665
83fa295c 3666 * net/shr.el (shr-visit-file): Remove debugging function.
f7f071dc
LI
3667 (shr-insert): Don't infloop if we can't find a good place to break
3668 the line (bug#16256).
3c856c14 3669
01379221
FEG
36702013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
3671
35e951cd 3672 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
01379221
FEG
3673 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
3674 python-nav-lisp-forward-sexp-safe.
3675 (python-nav--forward-sexp): New argument SAFE allows switching
3676 forward sexp movement behavior for parens.
3677 (python-nav-forward-sexp): Throw errors on unterminated parens
3678 (Bug#16191).
3679 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
3680 (python-nav-backward-sexp-safe): New functions.
7514d3f8
SM
3681 (python-shell-buffer-substring):
3682 Use `python-nav-forward-sexp-safe'.
01379221 3683
99e4926f
LI
36842013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
3685
3686 * net/shr.el (shr-find-fill-point): Don't break lines before a
3687 quotation mark.
c6c20584
LI
3688 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
3689 (shr-find-fill-point): Remove the special checks for the quotation
7514d3f8 3690 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
99e4926f 3691
fec0e828
KN
36922013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3693
3694 * net/eww.el (eww-form-textarea): Use a different face for
3695 textareas than text input since they have different keymaps
3696 (bug#16142).
3697
89c868ad
FEG
36982013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
3699
7514d3f8
SM
3700 * progmodes/python.el (python-nav-beginning-of-statement):
3701 Speed up (Bug#15295).
89c868ad 3702
eeef121a
LI
37032013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
3704
3705 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
3706 the window configuration.
3707
121ea65f
EZ
37082013-12-24 Eli Zaretskii <eliz@gnu.org>
3709
3710 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
3711 we run on MS-Windows or MS-DOS.
3712
18cee9ec
MR
37132013-12-24 Martin Rudalics <rudalics@gmx.at>
3714
3715 * window.el (balance-windows-area): Call window-size instead of
3716 window-height and window-width. Bug#16241.
3717
58f2b9a5
LI
37182013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
3719
3720 * net/eww.el (eww-bookmark-quit): Remove.
3721 (eww-bookmark-browse): Restore the window configuration when you
3722 choose a bookmark (bug#16144).
3723
d64b6308
DC
37242013-12-24 Daniel Colascione <dancol@dancol.org>
3725
3726 * icomplete.el: Remove redundant :group arguments to `defcustom'
3727 throughout.
3728 (icomplete-show-matches-on-no-input): New customizable variable.
3729 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
3730 we have something to show.
7514d3f8 3731 (icomplete-exhibit): Compute completions even if we have no user input.
d64b6308 3732
0da54898
DC
37332013-12-23 Daniel Colascione <dancol@dancol.org>
3734
3735 * icomplete.el: Move `provide' to end of file.
3736
b90aa4f4
TZ
37372013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
3738
3739 * net/gnutls.el (gnutls-verify-error): Add version tag.
3740
8cd22a08
CY
37412013-12-23 Chong Yidong <cyd@gnu.org>
3742
3743 * subr.el (set-transient-map): Rename from
3744 set-temporary-overlay-map. Doc fix.
3745
3746 * face-remap.el (text-scale-adjust):
3747 * indent.el (indent-rigidly):
3748 * kmacro.el (kmacro-call-macro):
3749 * minibuffer.el (minibuffer-force-complete):
3750 * repeat.el (repeat):
3751 * simple.el (universal-argument--mode):
3752 * calendar/todo-mode.el (todo-insert-item--next-param):
3753 * progmodes/f90.el (f90-abbrev-start): Callers changed.
3754
7510b021
CY
3755 * indent.el (indent-rigidly): Use substitute-command-keys.
3756
72140a0f 37572013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
56890ecd
KN
3758
3759 * net/eww.el (eww-tag-select): Add text-property to jump to next
3760 select field.
e9dc713d 3761 (eww): Add non-supported ftp error.
56890ecd 3762
1f87a56c
DG
37632013-12-22 Dmitry Gutov <dgutov@yandex.ru>
3764
3765 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
3766 comments. Handle electric indent after typing `?' and `!'.
3767
dca38cf9
CY
37682013-12-22 Chong Yidong <cyd@gnu.org>
3769
3770 * faces.el (face-spec-recalc): If the theme specs are not
7514d3f8
SM
3771 applicable to a frame, fall back on the defface spec.
3772 This prevents themes from obliterating faces on low-color terminals.
dca38cf9 3773
f2351498
DG
37742013-12-22 Dmitry Gutov <dgutov@yandex.ru>
3775
3776 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
3777 after `{'. We need it after block openers, and it doesn't seem
3778 to hurt after hash openers.
3779
6cddebc1
DG
37802013-12-22 Dmitry Gutov <dgutov@yandex.ru>
3781
3782 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
3783 extracted from `ruby-smie-rules'.
3784 (ruby--electric-indent-chars): New variable.
3785 (ruby--electric-indent-p): New function.
3786 (ruby-mode): Use `electric-indent-functions' instead of
3787 `electric-indent-chars'.
3788
65a1da00
DG
37892013-12-22 Dmitry Gutov <dgutov@yandex.ru>
3790
3791 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
3792 docstring.
3793 (ruby-smie-rules): Indent plus one level after `=>'.
3794
b51ad4cf
RS
37952013-12-21 Richard Stallman <rms@gnu.org>
3796
3797 * simple.el (newline): Doc fix.
3798
72140a0f 37992013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
d49fbfd6 3800
e9dc713d 3801 * net/eww.el (eww-list-histories, eww-list-histories)
d49fbfd6
TZ
3802 (eww-history-browse, eww-history-quit, eww-history-kill)
3803 (eww-history-mode-map, eww-history-mode): New command and
3804 functions to list browser histories.
e9dc713d
JB
3805 (eww-form-text): Support text form with disabled
3806 and readonly attributes.
3807 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
d49fbfd6 3808
5e1901c1
RS
38092013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3810
3811 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
3812 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
3813 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
3814 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
3815 Use `user-error'.
3816 (eww-bookmark-mode-map): Add menu.
3817 (eww-render, eww-mode): Use `setq-local'.
3818 (eww-tool-bar-map): New variable.
3819 (eww-mode): Set `tool-bar-map'.
3820 (eww-view-source): Check for `html-mode' with `fboundp'.
3821
073d5cfd
LMI
38222013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3823
3824 * net/shr.el (shr--extract-best-source): Don't bug out on audio
3825 elements with text inside. Also remove debugging.
3826
41cf3d11
JD
38272013-12-21 Jan Djärv <jan.h.d@swipnet.se>
3828
3829 * cus-start.el (all): Add ns-use-srgb-colorspace.
3830
aac2b673
CY
38312013-12-21 Chong Yidong <cyd@gnu.org>
3832
3833 * custom.el (custom-theme-recalc-face): Do nothing if the face is
3834 undefined. Thus, theme settings for undefined faces do not take
3835 effect until the faces are defined with defface, the same as with
3836 theme variables.
3837
3838 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
3839 (face-spec-reset-face): Don't assign extra properties in temacs.
3840 (face-spec-recalc): Apply X resources too.
3841
bacb0e77
CY
38422013-12-21 Chong Yidong <cyd@gnu.org>
3843
3844 * faces.el (face-spec-set):
3845 * cus-face.el (custom-theme-set-faces, custom-set-faces):
3846 * custom.el (defface): Doc fixes (Bug#16203).
3847
77221051
CY
3848 * indent.el (indent-rigidly-map): Add docstring, and move commands
3849 into named functions.
3850 (indent-rigidly-left, indent-rigidly-right)
3851 (indent-rigidly-left-to-tab-stop)
3852 (indent-rigidly-right-to-tab-stop): New functions. Decide on
3853 indentation direction based on bidi direction, and accumulate
3854 sequential commands in a single undo boundary.
3855 (indent-rigidly--pop-undo): New utility function.
3856
e0eb0550
JB
38572013-12-20 Juanma Barranquero <lekktu@gmail.com>
3858
3859 * faces.el (read-face-name): Require crm.el when using crm-separator.
3860
3282bd2e
DC
38612013-12-20 Daniel Colascione <dancol@dancol.org>
3862
3863 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
3864 so that we don't reflow comments into the shebang line.
3865
1d42e5b6
JL
38662013-12-20 Juri Linkov <juri@jurta.org>
3867
3868 * saveplace.el (save-place-to-alist): Add `dired-filename' as
3869 a position when `dired-directory' is non-nil. Check integer
3870 positions with `integerp'.
3871 (toggle-save-place, save-places-to-alist): Add check for
3872 `dired-directory'.
3873 (save-place-find-file-hook): Check integer positions with
3874 `integerp'.
3875 (save-place-dired-hook): Use `dired-goto-file' when
3876 `dired-filename' is found in the assoc list. Check integer
3877 positions with `integerp'.
3878 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
3879
3880 * dired.el (dired-initial-position-hook): Rename back from
3881 `dired-initial-point-hook'.
3882 (dired-initial-position): Rename `dired-initial-point-hook' to
3883 `dired-initial-position-hook'.
3884 (dired-file-name-at-point): Doc fix. (Bug#15329)
3885
24da7273
JL
38862013-12-20 Juri Linkov <juri@jurta.org>
3887
3888 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
3889 (read-regexp-suggestions): New function.
3890 (read-regexp): Use `read-regexp-defaults-function' to get default values.
3891 Use `read-regexp-suggestions'. Add non-empty default to history
3892 for empty input.
3893 (occur-read-regexp-defaults-function): Remove function.
3894 (occur-read-primary-args): Use `regexp-history-last' instead of
3895 `occur-read-regexp-defaults-function'.
3896
3897 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
3898 (hi-lock-line-face-buffer, hi-lock-face-buffer)
3899 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
3900 `hi-lock-read-regexp-defaults-function'. Doc fix.
3901 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
3902 with `find-tag-default-as-symbol-regexp'. Doc fix.
3903 (hi-lock-read-regexp-defaults): Remove function.
3904 (hi-lock-regexp-okay): Add check for null.
3905
3906 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
3907 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
3908
3909 * subr.el (find-tag-default-as-symbol-regexp): New function.
3910 (find-tag-default-as-regexp): Move symbol regexp formatting to
3911 `find-tag-default-as-symbol-regexp'.
3912
137f57c8
S
39132013-12-20 E Sabof <esabof@gmail.com> (tiny change)
3914
3915 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
3916 (Bug#14179)
3917
f3a66082
SB
39182013-12-20 Stephen Berman <stephen.berman@gmx.net>
3919
3920 * calendar/todo-mode.el: New implementation of item insertion
3921 commands and key bindings.
3922 (todo-key-prompt): New face.
3923 (todo-insert-item): New command.
3924 (todo-insert-item--parameters): New defconst, replacing defvar
3925 todo-insertion-commands-args-genlist.
3926 (todo-insert-item--param-key-alist): New defconst, replacing
3927 defvar todo-insertion-commands-arg-key-list.
3928 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
3929 (todo-insert-item--argsleft, todo-insert-item--apply-args)
3930 (todo-insert-item--next-param): New functions.
3931 (todo-insert-item--args, todo-insert-item--argleft)
3932 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
3933 New variables.
3934 (todo-key-bindings-t): Change binding of "i" from
3935 todo-insertion-map to todo-insert-item.
3936 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
3937 (todo-insertion-command-name, todo-insertion-commands-names)
3938 (todo-define-insertion-command, todo-insertion-commands)
3939 (todo-insertion-key-bindings, todo-insertion-map): Remove.
3940
2f99433b
SB
39412013-12-20 Stephen Berman <stephen.berman@gmx.net>
3942
3943 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
3944 (todo-toggle-item-highlighting): Use eval-and-compile instead of
3945 eval-when-compile.
3946 (todo-move-category): Allow choosing a non-existing todo file to
3947 move the category to, and create that file.
3948 (todo-default-priority): New user option.
3949 (todo-set-item-priority): Use it.
3950 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
3951 (desktop-restore-file-buffer): Declare.
3952 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
3953 (todo-modes-set-2): Locally set desktop-save-buffer to
3954 todo-desktop-save-buffer.
3955 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
3956 (auto-mode-alist): Add autoload cookie.
3957
131e4695
BB
39582013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
3959
3960 * emacs-lisp/subr-x.el: Renamed from helpers.el.
3961 helpers.el was a poor choice of name.
3cbfb935
BB
3962 (string-remove-prefix): New function.
3963 (string-remove-suffix): New function.
131e4695 3964
c44de18d
MR
39652013-12-20 Martin Rudalics <rudalics@gmx.at>
3966
3967 Fix assignment for new window total sizes.
3968 * window.el (window--pixel-to-size): Remove function.
e0eb0550
JB
3969 (window--pixel-to-total-1, window--pixel-to-total):
3970 Fix calculation of new total sizes.
c44de18d 3971
ca65efcc
VS
39722013-12-20 Vitalie Spinu <spinuvit@gmail.com>
3973
3974 * comint.el (comint-output-filter): Fix rear-nonsticky property
3975 placement (Bug#16010).
3976
a9574eb7
CY
39772013-12-20 Chong Yidong <cyd@gnu.org>
3978
3979 * faces.el (read-color): Minor fix for completion function.
3980
b520f210
DG
39812013-12-20 Dmitry Gutov <dgutov@yandex.ru>
3982
e0eb0550
JB
3983 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
3984 New option. (Bug#16182)
b520f210
DG
3985 (ruby-smie--indent-to-stmt-p): Use it.
3986 (ruby-smie-rules): Revert the logic in the handling of `when'.
3987 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
3988 (ruby-deep-arglist, ruby-deep-indent-paren)
3989 (ruby-deep-indent-paren-style): Update docstrings to note that the
3990 vars don't have any effect with SMIE.
3991
26b75b45
JB
39922013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
3993
3994 * calc/calc.el (calc-enter, calc-pop): Use the variable
3995 `calc-context-sensitive-enter'.
3996
cf91cee7
LMI
39972013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
3998
3999 * net/shr.el (shr-insert): Protect against infloops in degenerate
4000 tables.
4001
51d971b4
RS
40022013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4003
4004 * progmodes/octave.el (octave): Add link to manual and octave
4005 homepage.
4006 (octave-mode-menu): Link to octave-mode manual.
4007
8c2e462a
LL
40082013-12-20 Leo Liu <sdl.web@gmail.com>
4009
4010 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
4011 insertion using skeleton-end-newline. (Bug#16138)
4012
501158bc
JL
40132013-12-20 Juri Linkov <juri@jurta.org>
4014
4015 * replace.el (occur-engine): Use `add-face-text-property'
4016 to add the face property to matches and titles. (Bug#14645)
4017
4018 * hi-lock.el (hi-green): Use lighter color "light green" closer to
4019 the palette of other hi-lock colors.
4020 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
4021
50ab1da6
JL
40222013-12-19 Juri Linkov <juri@jurta.org>
4023
4024 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
4025 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
4026 (minibuffer-history-symbol): Move variable declaration closer to
4027 its usage.
4028
4029 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
4030 (Bug#14785)
4031
3d6e95e7
JL
40322013-12-19 Juri Linkov <juri@jurta.org>
4033
4034 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
4035 New function.
4036 (log-edit-hook): Add it to :options. (Bug#16170)
4037
b41594fd
JL
40382013-12-19 Juri Linkov <juri@jurta.org>
4039
4040 * simple.el (eval-expression-print-format): Don't check for
4041 command names and the last command. Always display additional
4042 formats of the integer result in the echo area, and insert them
4043 to the current buffer only with a zero prefix arg.
4044 Display character when char-displayable-p is non-nil.
4045 (eval-expression): With a zero prefix arg, set `print-length' and
4046 `print-level' to nil, and insert the integer values from
4047 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
4048
4049 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
4050 `eval-last-sexp-arg-internal'. Doc fix.
4051 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
4052 `eval-last-sexp-print-value'. Doc fix.
4053 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
4054 Set `print-length' and `print-level' to nil when arg is zero.
4055 (eval-last-sexp): Doc fix.
4056 (eval-defun-2): Print the integer values from
4057 `eval-expression-print-format' at the end.
4058
4059 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
4060 values from `eval-expression-print-format' at the end.
4061
4062 * ielm.el (ielm-eval-input): Print the integer
4063 values from `eval-expression-print-format' at the end.
4064
8f2be364
TZ
40652013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
4066
4067 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
4068 2013-12-11T19:01:44Z!tzz@lifelogs.com.
4069
2230a6e3
SM
40702013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
4071
4072 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
4073 (hl-line-highlight, global-hl-line-highlight): Use it.
4074 (hl-line-overlay): Use defvar-local.
4075
1269a680
JD
40762013-12-19 Jan Djärv <jan.h.d@swipnet.se>
4077
4078 * term/ns-win.el: Require dnd.
4079 (global-map): Remove drag items.
4080 (ns-insert-text, ns-set-foreground-at-mouse)
2230a6e3
SM
4081 (ns-set-background-at-mouse):
4082 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
4083 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
4084 New functions.
1269a680 4085
049638ad
GM
40862013-12-19 Glenn Morris <rgm@gnu.org>
4087
4088 * emacs-lisp/ert.el (ert-select-tests):
4089 Fix string/symbol mixup. (Bug#16121)
4090
ce41edb4
DG
40912013-12-19 Dmitry Gutov <dgutov@yandex.ru>
4092
4093 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
4094 keywords to their parent.
4095
7e1549c9
DG
40962013-12-19 Dmitry Gutov <dgutov@yandex.ru>
4097
4098 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
4099 first arg to be a string (fixed dead code), or an operator symbol.
4100 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
4101 operator symbols.
4102 (ruby-smie-rules): Remove parent token check in the `.' clause, it
4103 did nothing. Don't respond to `(:after ".")', it will be called
4104 with :before anyway. Remove the ` @ ' rule, it didn't seem to
4105 change anything. Only return indentation for binary operators
4106 when they are hanging. De-dent opening paren when its parent is
4107 `.', otherwise it looks bad when the dot is not at bol or eol
4108 (bug#16182).
4109
3ee4cd64
JL
41102013-12-19 Juri Linkov <juri@jurta.org>
4111
4112 * replace.el (query-replace-read-args): Split a non-negative arg
4113 and a negative arg into separate elements.
4114 (query-replace, query-replace-regexp, replace-string)
4115 (replace-regexp): Add arg `backward'. Doc fix.
4116 (replace-match-maybe-edit): When new arg `backward' is non-nil,
4117 move point to the beginning of the match.
4118 (replace-search, replace-highlight): Use new arg `backward'
4119 to set the value of `isearch-forward'.
4120 (perform-replace): Add arg `backward' and use it to perform
4121 replacement backward. (Bug#14979)
4122
4123 * isearch.el (isearch-query-replace): Use a negative prefix arg
4124 to call `perform-replace' with a non-nil arg `backward'.
4125
0cda6b7b
JL
41262013-12-18 Juri Linkov <juri@jurta.org>
4127
4128 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
4129 to the default list. Move `log-edit-show-files' to the end.
4130 Add more available functions to options.
4131 (log-edit): Move default specific settings to
4132 `log-edit-insert-message-template'. Don't move point.
4133 (log-edit-insert-message-template): New function.
4134 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
4135 (Bug#16170)
4136
b216f0a6
JL
41372013-12-18 Juri Linkov <juri@jurta.org>
4138
4139 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
4140 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
4141
1d1c55dc
LL
41422013-12-18 Leo Liu <sdl.web@gmail.com>
4143
e9dc713d
JB
4144 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
4145 (Bug#16186)
1d1c55dc 4146
64e4c76e
EZ
41472013-12-18 Eli Zaretskii <eliz@gnu.org>
4148
4149 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
4150 formats for displaying file sizes when the -s switch is given.
4151 Instead, compute a separate format for displaying the size in
4152 blocks, which is displayed in addition to the "regular" size.
4153 When -h is given in addition to -s, produce size in blocks in
4154 human-readable form as well. (Bug#16179)
4155
b2984e39
TH
41562013-12-18 Tassilo Horn <tsdh@gnu.org>
4157
2230a6e3
SM
4158 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
4159 Reference tables with ~\ref{...} instead of only \ref{...}.
b2984e39 4160
50ff2e06
CY
41612013-12-18 Chong Yidong <cyd@gnu.org>
4162
0081bc84
CY
4163 * cus-edit.el (custom-magic-alist): Fix "themed" description
4164 (Bug#14348).
4165
a7ee9424
CY
4166 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
4167 is non-nil, do not create a new entry in the symbol's theme-value
4168 or theme-face property; update theme-settings only (Bug#14664).
18874304 4169 (custom-available-themes): Doc fix.
a7ee9424 4170
8f942537
CY
4171 * cus-theme.el (custom-new-theme-mode-map): Add bindings
4172 (Bug#15674).
4173
50ff2e06
CY
4174 * replace.el (occur-engine): Avoid infloop (Bug#7593).
4175
83c60f60
KI
41762013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
4177
4178 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
4179 (Bug#13914).
4180
e0eb0550 41812013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
ba874b64
SF
4182
4183 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
4184
1f41ee56
GM
41852013-12-18 Glenn Morris <rgm@gnu.org>
4186
4187 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
123d0143 4188 * cus-start.el (load-prefer-newer): New option.
1f41ee56 4189
e82134b1
LW
41902013-12-18 Le Wang <l26wang@gmail.com>
4191
2230a6e3
SM
4192 * comint.el (comint-previous-matching-input-from-input):
4193 Retain point (Bug#13404).
e82134b1 4194
33f5d4c1
CY
41952013-12-18 Chong Yidong <cyd@gnu.org>
4196
4197 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
4198
ccc9f6dc
GM
41992013-12-18 Glenn Morris <rgm@gnu.org>
4200
4201 * mail/emacsbug.el (report-emacs-bug):
4202 Only mention enable-multibyte-characters if non-standard.
4203
33dd8e95
JL
42042013-12-17 Juri Linkov <juri@jurta.org>
4205
4206 * arc-mode.el (archive-extract-by-file): Check if directory exists
4207 before deletion to not show irrelevant errors if it doesn't exist.
4208
7a409b30
JL
42092013-12-17 Juri Linkov <juri@jurta.org>
4210
4211 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
4212 (Bug#14751)
4213
4214 * net/eww.el (browse-web): Add alias to `eww'.
4215 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
4216 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
4217
4218 * net/browse-url.el (browse-url-browser-function): Move `eww'
4219 closer to similar functions.
4220
4221 * startup.el (fancy-startup-screen, fancy-about-screen):
4222 Set browse-url-browser-function to eww-browse-url locally.
4223 (Bug#14751)
4224
2d6b6005
SM
42252013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
4226
4227 * window.el (window--pixel-to-total): Remove unused `mini' var.
4228 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
4229 (split-window): Remove unused `new' var.
4230 (window--display-buffer): Remove unused `frame' and `delta' vars.
4231 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
4232 and display-width'.
4233
cf2b7efc
MR
42342013-12-17 Martin Rudalics <rudalics@gmx.at>
4235
4236 * dired.el (dired-mark-pop-up):
4237 * register.el (register-preview): Don't bind
4238 split-height-threshold here since it's now done in
4239 display-buffer-below-selected.
4240
ed3af8a7 42412013-12-17 oblique <psyberbits@gmail.com> (tiny change)
4242
4243 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
4244 xterm-rgb-convert-to-16bit.
4245 (rxvt-register-default-colors): Standardize with
4246 xterm-register-default-colors (Bug#14078).
4247
76da3455
DK
42482013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
4249
4250 * simple.el (kill-region): Pass mark first, then point, so that
4251 kill-append works right (Bug#12819).
4252 (copy-region-as-kill, kill-ring-save): Likewise.
4253
2b84d763
LL
42542013-12-17 Leo Liu <sdl.web@gmail.com>
4255
4256 * net/rcirc.el (rcirc-add-face):
4257 * eshell/em-prompt.el (eshell-emit-prompt):
4258 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
4259 (Bug#16167)
4260
e2f6a0bc
CY
42612013-12-17 Chong Yidong <cyd@gnu.org>
4262
4263 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
4264 Suggested by Xue Fuqiao.
4265
35b249a6
DG
42662013-12-17 Dmitry Gutov <dgutov@yandex.ru>
4267
4268 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
4269
e9145444
SM
42702013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
4271
4272 * net/shr.el (shr-insert-document): Remove unused var
4273 `shr-preliminary-table-render'.
4274 (shr-rescale-image): Remove unused arg `force'.
4275 (shr-put-image): Update calls accordingly.
4276 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
4277
5556c0ce
DG
42782013-12-17 Dmitry Gutov <dgutov@yandex.ru>
4279
4280 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
4281 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
4282 :close-all, to see which indentation method to use (Bug#16116).
4283 (smie-rules-function): Document the method :close-all.
4284
11bade0a
LMI
42852013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4286
1c4b1e61
LMI
4287 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
4288
11bade0a
LMI
4289 * net/eww.el (eww-display-html): If we can't find the anchor we're
4290 looking for, then go to point-min.
4291
8fb8c4f3
PE
42922013-12-16 Paul Eggert <eggert@cs.ucla.edu>
4293
4294 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
4295 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
4296 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
4297 Expand dir too, in case it's relative.
4298
6c8e0ae6
JL
42992013-12-16 Juri Linkov <juri@jurta.org>
4300
4301 * desktop.el (desktop-auto-save-timeout): Change default to
4302 `auto-save-timeout'. Doc fix.
4303 (desktop-save): Skip the timestamp in desktop-saved-frameset
4304 when checking for auto-save changes.
4305 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
4306 `desktop-auto-save' is called repeatedly by the idle timer.
4307 (desktop-auto-save-set-timer): Replace `run-with-timer' with
4308 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
4309 (Bug#15331)
4310
2178e858
JL
43112013-12-16 Juri Linkov <juri@jurta.org>
4312
4313 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
4314 (Bug#16035)
4315 (isearch-pre-command-hook): Check `this-command' for symbolp.
4316
39cb42c6
SM
43172013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
4318
4319 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
4320
5b9b750a
TZ
43212013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
4322
4323 * progmodes/cfengine.el (cfengine3--current-word): Remove.
4324 (cfengine3--current-function): Bring in the current-function
4325 functionality from `cfengine3--current-word'.
4326 (cfengine3-completion-function): Bring in the
4327 bounds-of-current-word functionality from
4328 `cfengine3--current-word'.
4329
d144ef06
MR
43302013-12-16 Martin Rudalics <rudalics@gmx.at>
4331
39cb42c6
SM
4332 * window.el (display-buffer-below-selected):
4333 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 4334
a8bbe298
LL
43352013-12-16 Leo Liu <sdl.web@gmail.com>
4336
4337 * progmodes/compile.el (compile-goto-error): Do not push-mark.
4338 Remove NOMSG arg and all uses changed.
4339
2013a2f9
SM
43402013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
4341
4342 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
4343 (cua--deactivate-rectangle): Don't deactivate the mark.
4344 (cua-set-rectangle-mark): Don't set mark-active since
4345 cua--activate-rectangle already does it for us.
4346 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
4347 non-rectangular region.
4348
4349 * emulation/cua-base.el (cua-repeat-replace-region):
4350 Use with-current-buffer.
4351
4352 * net/gnutls.el: Use cl-lib.
4353 (gnutls-negotiate): `mapcan' -> cl-mapcan.
4354
5ae811dd
TZ
43552013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
4356
4357 * emacs-lisp/package.el (package-built-in-p): Support both
4358 built-in and the package.el converted package descriptions.
4359 (package-show-package-list): Allow keywords.
4360 (package-keyword-button-action): Use it instead of
4361 `finder-list-matches'.
4362 (package-menu-filter-interactive): Interactive filtering (by
4363 keyword) function.
4364 (package-menu--generate): Support keywords and change keymappings
4365 and headers when they are given.
4366 (package--has-keyword-p): Helper function.
4367 (package-menu--refresh): Use it.
4368 (package--mapc): Helper function.
4369 (package-all-keywords): Use it.
4370 (package-menu-mode-map): Set up menu items and keybindings to
4371 provide a filtering UI.
4372
31b4827e
TZ
43732013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
4374
4375 * net/gnutls.el (gnutls-verify-error): New defcustom to control
4376 the behavior when a certificate fails validation. Defaults to
4377 old behavior: never abort, just warn.
4378 (gnutls-negotiate): Use it.
4379
f93cc74f
MR
43802013-12-14 Martin Rudalics <rudalics@gmx.at>
4381
4382 * window.el (display-buffer-below-selected): Never split window
4383 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
4384
f77d7d17
TW
43852013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
4386
4387 * emacs-lisp/package.el (package--prepare-dependencies): New function.
4388 (package-buffer-info): Use it (bug#15108).
aa2bddd7 4389
7514d3f8
SM
43902013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
4391
aa2bddd7 4392 * icomplete.el (icomplete-completions): Make sure the prefix is already
7514d3f8 4393 displayed elsewhere before hiding it (bug#16219).
aa2bddd7 4394
276bc333
DG
43952013-12-14 Dmitry Gutov <dgutov@yandex.ru>
4396
4397 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
4398 open-paren tokens when preceded by a open-paren, too.
4399 (ruby-smie-rules): Handle virtual indentation after open-paren
4400 tokens specially. If there is code between it and eol, return the
4401 column where is starts (Bug#16118).
4402
d43957f3
TZ
44032013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
4404
a5c1ac0c 4405 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 4406 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
4407 (cfengine3--current-word): Fix parameters.
4408 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
4409 (cfengine3-completion-function, cfengine3--current-function):
4410 Use `assq' for symbols.
d43957f3
TZ
4411 (cfengine3--current-function): Fix `cfengine3--current-word' call.
4412
06a4f110
GM
44132013-12-13 Glenn Morris <rgm@gnu.org>
4414
4415 * loadup.el (load-path): Warn if site-load or site-init changes it.
4416 No more need to reset it when bootstrapping.
4417
978a5fda
TZ
44182013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
4419
4420 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
4421 locations for cf-promises.
4422 (cfengine-mode-syntax-functions-regex): New caching variable.
4423 (cfengine3-fallback-syntax): Fallback syntax for cases where
4424 cf-promises doesn't run.
4425 (cfengine3--current-word): Reimplement using
4426 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
4427 (cfengine3-completion-function, cfengine3--current-function):
4428 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
4429 (cfengine3-clear-syntax-cache): New function.
4430 (cfengine3-make-syntax-cache): Simplify and create
4431 `cfengine-mode-syntax-functions-regex' on demand.
4432 (cfengine3-format-function-docstring): Don't call
4433 `cfengine3-make-syntax-cache' explicitly.
4434
71e6691e
MR
44352013-12-13 Martin Rudalics <rudalics@gmx.at>
4436
4437 Fix windmove-find-other-window broken after pixelwise resizing
4438 (Bug#16017).
4439 * windmove.el (windmove-other-window-loc): Revert change from
4440 2013-12-04.
4441 (windmove-find-other-window): Call window-in-direction.
4442 * window.el (window-in-direction): New arguments SIGN, WRAP and
4443 MINI to emulate original windmove-find-other-window behavior.
4444
84c73ba0
DG
44452013-12-13 Dmitry Gutov <dgutov@yandex.ru>
4446
4447 * simple.el (blink-matching--overlay): New variable.
4448 (blink-matching-open): Instead of moving point, highlight the
4449 matching paren with an overlay
4450 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
4451
4452 * faces.el (paren-showing-faces, show-paren-match)
4453 (show-paren-mismatch): Move from paren.el.
4454
b9e20952
LL
44552013-12-13 Leo Liu <sdl.web@gmail.com>
4456
4457 * indent.el (indent-region): Disable progress reporter in
4458 minibuffer. (Bug#16108)
4459
4460 * bindings.el (visual-order-cursor-movement): Fix version.
4461
ce030451
FEG
44622013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4463
4464 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
4465 Also match after beginning of line.
4466 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
e9dc713d 4467 files. Thanks to Russell Sim. (Bug#15378)
ce030451 4468
4a9c6865
JL
44692013-12-13 Juri Linkov <juri@jurta.org>
4470
4471 * simple.el <Keypad support>: Remove key bindings duplicated
4472 with bindings.el. (Bug#14397)
4473
2bc170c3
JL
44742013-12-13 Juri Linkov <juri@jurta.org>
4475
4476 * comint.el (comint-mode-map): Replace `delete-char' with
4477 `delete-forward-char'. (Bug#16109)
4478
bc9222c9
FEG
44792013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
4480
aa2bddd7 4481 * progmodes/python.el (python-indent-calculate-indentation):
e9dc713d 4482 Fix de-denters cornercase. (Bug#15731)
bc9222c9 4483
cb3a1380
SM
44842013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
4485
4486 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
4487 (advice--make): Pay attention to `depth'.
4488 (advice--make-1): Don't autoload commands eagerly.
4489 * emacs-lisp/elp.el (elp-instrument-function):
4490 * emacs-lisp/trace.el (trace-function-internal):
4491 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
4492
4493 * iswitchb.el (iswitchb-mode): Don't belittle ido.
4494
01633a17
EZ
44952013-12-12 Eli Zaretskii <eliz@gnu.org>
4496
4497 * term/w32-win.el (w32-handle-dropped-file):
4498 * startup.el (normal-top-level):
4499 * net/browse-url.el (browse-url-file-url):
4500 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
4501 decode file names using 'utf-8' rather than
4502 file-name-coding-system.
4503
09faee72
FEG
45042013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
4505
4506 * progmodes/python.el (python-indent-context)
4507 (python-indent-calculate-indentation): Fix auto-identation
e9dc713d 4508 behavior for comment blocks. (Bug#15916)
09faee72 4509
f4f84024 45102013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 4511
cb3a1380
SM
4512 * progmodes/python.el (python-indent-calculate-indentation):
4513 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
4514 operators when they are just string constituents. (Bug#15812)
4515
d5ccb7be
JL
45162013-12-12 Juri Linkov <juri@jurta.org>
4517
4518 * uniquify.el (uniquify-buffer-name-style): Change default to
4519 `post-forward-angle-brackets'.
4520
4521 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
4522 `uniquify'. Change default to `post-forward-angle-brackets'.
4523
7b3f5679
GM
45242013-12-11 Glenn Morris <rgm@gnu.org>
4525
4526 * emacs-lisp/package.el (finder-list-matches):
4527 Autoload rather than falsely declaring.
4528
f4fe8fdd
TZ
45292013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
4530
4531 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
4532 (eww-mode-map): Use them.
4533
3c29190f
MR
45342013-12-11 Martin Rudalics <rudalics@gmx.at>
4535
4536 * window.el (display-buffer-in-side-window): Fix doc-string
4537 (Bug#16115).
4538
0cd616a2
JB
45392013-12-11 Juanma Barranquero <lekktu@gmail.com>
4540
4541 * vc/vc-git.el: Silence byte-compiler warnings.
4542 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
4543 (log-edit-set-header): Declare.
4544
3ef8e0d1
EZ
45452013-12-11 Eli Zaretskii <eliz@gnu.org>
4546
4547 * Makefile.in (custom-deps, finder-data): Run output file names
4548 through unmsys--file-name. (Bug#16099)
4549
afdadaf7
SM
45502013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
4551
7ae3ae39 4552 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 4553 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 4554
5b4f37ab
SM
4555 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
4556 instead of deleting the selection "by hand" (bug#16098).
4557 Rely on insert-for-yank to yank rectangles.
4558 (cua-highlight-region-shift-only): Mark obsolete.
4559 (cua-mode): Don't enable/disable transient-mark-mode,
4560 shift-select-mode (cua-mode works both with and without them), and
4561 pc-selection-mode (obsolete).
4562 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
4563 (cua--deactivate-rectangle): Deactivate it.
4564
4b72c12b
SM
4565 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
4566 (delete-selection-helper): Make sure yank starts at the top of the
4567 deleted region.
4568 (minibuffer-keyboard-quit): Use region-active-p.
4569
e82af72d
SM
4570 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
4571
afdadaf7
SM
4572 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
4573 to `delete' (bug#16109).
4574
ed4bc201
RS
45752013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4576
4577 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
4578 info manual and show keybindings and set `:group' keyword.
4579
bb8097b9
JL
45802013-12-11 Juri Linkov <juri@jurta.org>
4581
4582 * delsel.el (delete-active-region): Let-bind `this-command'
4583 to prevent `kill-region' from changing its original value.
4584 (delete-selection-helper): Handle `overwrite-mode' for the type
4585 `kill' exactly the same way as for the type `t'.
4586 (insert-char, quoted-insert, reindent-then-newline-and-indent):
4587 Support more commands. (Bug#13312)
4588
c1916ff5
JL
45892013-12-11 Juri Linkov <juri@jurta.org>
4590
4591 * bindings.el: Map kp keys to non-kp keys systematically
4592 with basic modifiers control, meta and shift. (Bug#14397)
4593
7514d3f8 45942013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
b68cf43c
KN
4595
4596 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
4597 "Close browser" menu items. Fix wrong function of "List
4598 bookmarks".
4599
4cc51eaf
JL
46002013-12-11 Juri Linkov <juri@jurta.org>
4601
4602 * misearch.el (multi-isearch-buffers): Set the value of
4603 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
4604 arg of isearch-forward to t.
4605 (multi-isearch-buffers-regexp): Set the value of
4606 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
4607 arg of isearch-forward-regexp to t.
4608 (multi-isearch-files): Set the value of
4609 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
4610 arg of isearch-forward to t.
4611 (multi-isearch-files-regexp): Set the value of
c295fc18 4612 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
4cc51eaf
JL
4613 arg of isearch-forward-regexp to t. (Bug#16035)
4614
4615 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
4616 arg of isearch-forward to t.
4617 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
4618 arg of isearch-forward-regexp to t.
4619 (dired-isearch-filter-filenames): Remove unnecessary check for
4620 `dired-isearch-filenames'.
4621
4622 * comint.el (comint-history-isearch-backward):
4623 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
4624 (comint-history-isearch-backward-regexp):
4625 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
4626
ceac12b7
EZ
46272013-12-10 Eli Zaretskii <eliz@gnu.org>
4628
4629 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
4630 unmsys--file-name. (Bug#16099)
4631
5a565782
TZ
46322013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
4633
cb3a1380
SM
4634 * emacs-lisp/package.el (package-keyword-button-action):
4635 Remove finder.el require dependency.
5a565782 4636
a81fc7ba
TZ
46372013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
4638
4639 * emacs-lisp/package.el: Require finder.el.
4640 (describe-package-1): Add keyword buttons.
4641 (package-make-button): New convenience function.
4642 (package-keyword-button-action): Keyword button action using
e0eb0550 4643 `finder-list-matches'.
a81fc7ba 4644
6aaca951
EZ
46452013-12-09 Eli Zaretskii <eliz@gnu.org>
4646
4647 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
4648 last commit.
4649
a1099a91
MA
46502013-12-09 Michael Albinus <michael.albinus@gmx.de>
4651
4652 * autorevert.el (auto-revert-notify-add-watch): Do not handle
4653 symlinked files.
4654
8212d9c0
DG
46552013-12-09 Dmitry Gutov <dgutov@yandex.ru>
4656
4657 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
4658 after the end of a percent literal.
4659
8f48d131
CD
46602013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
4661
cb3a1380
SM
4662 * progmodes/ruby-mode.el (ruby-forward-string): Document.
4663 Handle caret-delimited strings (Bug#16079).
8f48d131 4664
ff8c9764
DG
46652013-12-09 Dmitry Gutov <dgutov@yandex.ru>
4666
cb3a1380
SM
4667 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
4668 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
4669 `ruby-parse-partial' (Bug#16078).
4670
d64643b4
LL
46712013-12-09 Leo Liu <sdl.web@gmail.com>
4672
4673 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
4674
47e59c66
DG
46752013-12-08 Dmitry Gutov <dgutov@yandex.ru>
4676
4677 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
4678 (js-switch-indent-offset): New option.
4679 (js--proper-indentation): Use it. And handle the case when
4680 "default" is actually a key in an object literal.
4681 (js--same-line): New function.
4682 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
4683 (js--indent-in-array-comp, js--array-comp-indentation):
4684 New functions.
47e59c66
DG
4685 (js--proper-indentation): Use them, to handle array comprehension
4686 continuations.
4687
974ebc9c
LL
46882013-12-08 Leo Liu <sdl.web@gmail.com>
4689
4690 * progmodes/flymake.el (flymake-highlight-line): Re-write.
4691 (flymake-make-overlay): Remove arg MOUSE-FACE.
4692 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
4693
27262e39
SM
46942013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4695
4696 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
4697 New function.
4698 (redisplay-highlight-region-function): Use it.
4699
4700 * emulation/cua-base.el (cua--explicit-region-start)
4701 (cua--last-region-shifted): Remove.
4702 (cua--deactivate): Use deactivate-mark.
4703 (cua--pre-command-handler-1): Don't handle shift-selection.
4704 (cua--post-command-handler-1): Don't change transient-mark-mode.
4705 (cua--select-keymaps): Use region-active-p rather than
4706 cua--explicit-region-start or cua--last-region-shifted.
4707 (cua-mode): Enable shift-select-mode.
4708
6407822c
LL
47092013-12-08 Leo Liu <sdl.web@gmail.com>
4710
27262e39
SM
4711 * progmodes/flymake.el (flymake-popup-current-error-menu):
4712 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
4713 (flymake-posn-at-point-as-event, flymake-popup-menu)
4714 (flymake-make-emacs-menu): Remove. (Bug#16077)
4715
00a2b823
SM
47162013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4717
02033d49
SM
4718 * rect.el (rectangle-mark-mode): Activate mark even if
4719 transient-mark-mode is off (bug#16066).
4720 (rectangle--highlight-for-redisplay): Fix boundary condition when point
4721 is > mark and at bolp.
4722
6f8dfccf
SM
4723 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
4724 (region-extract-function): Use it.
4725 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
4726 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
4727 Delete functions.
4728 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
4729 kill-ring-save, kill-region, delete-char, delete-forward-char.
4730 Ignore self-insert-iso.
4731
4732 * emulation/cua-gmrk.el (cua--init-global-mark):
4733 Ignore `self-insert-iso'.
4734
4735 * emulation/cua-base.el (cua--prefix-copy-handler)
4736 (cua--prefix-cut-handler): Rely on region-extract-function rather than
4737 checking cua--rectangle.
4738 (cua-delete-region): Use region-extract-function.
4739 (cua-replace-region): Delete function.
4740 (cua-copy-region, cua-cut-region): Obey region-extract-function.
4741 (cua--pre-command-handler-1): Don't do the delete-selection thing.
4742 (cua--self-insert-char-p): Ignore `self-insert-iso'.
4743 (cua--init-keymaps): Don't remap delete-selection commands.
4744 (cua-mode): Use delete-selection-mode instead of rolling our own
4745 (bug#16085).
4746
4747 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
4748 Obey region-extract-function.
4749
00a2b823
SM
4750 Make registers and delete-selection-mode work on rectangles.
4751 * register.el (describe-register-1): Don't modify the register's value.
4752 (copy-to-register): Obey region-extract-function.
4753 * delsel.el (delete-active-region): Obey region-extract-function.
4754
a92fa5f1
LL
47552013-12-08 Leo Liu <sdl.web@gmail.com>
4756
4757 * progmodes/flymake.el (flymake, flymake-error-bitmap)
4758 (flymake-warning-bitmap, flymake-fringe-indicator-position)
4759 (flymake-compilation-prevents-syntax-check)
4760 (flymake-start-syntax-check-on-newline)
4761 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
4762 (flymake-start-syntax-check-on-find-file, flymake-log-level)
4763 (flymake-xml-program, flymake-master-file-dirs)
4764 (flymake-master-file-count-limit)
4765 (flymake-allowed-file-name-masks): Relocate.
4766 (flymake-makehash, flymake-float-time)
4767 (flymake-replace-regexp-in-string, flymake-split-string)
4768 (flymake-get-temp-dir): Remove.
4769 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
4770 (flymake-current-row, flymake-selected-frame)
4771 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
4772 related functions. (Bug#16077)
4773
73c8ceea
BB
47742013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
4775
4776 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
4777
faec28d9
TH
47782013-12-07 Tassilo Horn <tsdh@gnu.org>
4779
4780 * help-fns.el (describe-function-1): Use new advice-* functions
4781 rather than old ad-* functions. Fix function type description and
4782 source links for advised functions and subrs.
4783
e330b646
LMI
47842013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4785
00a2b823 4786 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 4787
4803595d
MA
47882013-12-06 Michael Albinus <michael.albinus@gmx.de>
4789
4790 * progmodes/compile.el (compilation-start):
4791 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
4792
4793 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4794 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
4795
fa834a93
DG
47962013-12-06 Dmitry Gutov <dgutov@yandex.ru>
4797
00a2b823
SM
4798 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4799 Touch up the last change.
fa834a93 4800
b2856a6f
LL
48012013-12-06 Leo Liu <sdl.web@gmail.com>
4802
4803 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
4804 (inferior-octave-startup): Always use "octave> " for prompt.
4805 (octave-goto-function-definition)
4806 (octave-sync-function-file-names)
4807 (octave-find-definition-default-filename): Remove redundant backquotes.
4808
af67e79a
DG
48092013-12-06 Dmitry Gutov <dgutov@yandex.ru>
4810
4811 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
4812 syntax for `?'.
4813 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
4814 where appropriate already.
4815 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
4816 end of method names (Bug#15874).
4817
bf093209
JL
48182013-12-06 Juri Linkov <juri@jurta.org>
4819
4820 * isearch.el (isearch--saved-overriding-local-map):
4821 New internal variable.
4822 (isearch-mode): Set it to the initial value of
4823 `overriding-terminal-local-map'.
4824 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
4825 with `isearch--saved-overriding-local-map'. (Bug#16035)
4826
16588fad
DG
48272013-12-06 Dmitry Gutov <dgutov@yandex.ru>
4828
00a2b823
SM
4829 * progmodes/octave.el (inferior-octave-completion-table):
4830 Turn back into function, use `completion-table-with-cache'
16588fad
DG
4831 (Bug#11906). Update all references.
4832
4833 * minibuffer.el (completion-table-with-cache): New function.
4834
bf4906d7
CD
48352013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
4836
4837 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
4838
ff69c18f
TZ
48392013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
4840
4841 * net/eww.el (eww-current-source): New variable to store page
4842 source.
4843 (eww-display-html, eww-mode, eww-save-history)
4844 (eww-restore-history): Use it.
4845 (eww-view-source): New command to view page source.
4846 Opportunistically uses `html-mode' to highlight the buffer.
4847 (eww-mode-map): Install it.
4848
b85eff45
MA
48492013-12-05 Michael Albinus <michael.albinus@gmx.de>
4850
4851 * net/dbus.el (dbus-unregister-service)
4852 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
4853 Fix docstring.
4854 (dbus-unregister-service): Skip :serial entries in
4855 `dbus-registered-objects-table'.
4856 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
4857
39eb0899
TZ
48582013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
4859
4860 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
4861 around keywords with extra `split-string' argument.
4862
456760a5
MR
48632013-12-04 Martin Rudalics <rudalics@gmx.at>
4864
4865 * windmove.el (windmove-other-window-loc): Handle navigation
4866 between windows (excluding the minibuffer window - Bug#16017).
4867
81961e4c
MA
48682013-12-04 Michael Albinus <michael.albinus@gmx.de>
4869
4870 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
4871 in D-Bus type syntax.
4872 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
4873 preserve unibyte strings. (Bug#16048)
4874
8497f938
SM
48752013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
4876
4877 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
4878 Call force-mode-line-update is the proper buffer (bug#16042).
4879
dda61916
DG
48802013-12-04 Dmitry Gutov <dgutov@yandex.ru>
4881
4882 * vc/log-edit.el (log-edit-add-new-comment): Rename to
4883 `log-edit-remember-comment', make argument optional. Adjust all
4884 callers.
4885 (log-edit-mode): Add `log-edit-remember-comment' to
4886 `kill-buffer-hook' locally.
4887 (log-edit-kill-buffer): Don't remember comment explicitly since
4888 the buffer is killed anyway.
4889
c085e5b9
JL
48902013-12-04 Juri Linkov <juri@jurta.org>
4891
4892 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
4893 add-hook and remove-hook for multi-buffer search. (Bug#16035)
4894
e0eb0550 48952013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
d6f2380e
TR
4896
4897 * notifications.el (notifications-close-notification): Call the
81961e4c 4898 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 4899
39fa32d6
KY
49002013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
4901
4902 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
4903
9139632a
JL
49042013-12-03 Juri Linkov <juri@jurta.org>
4905
4906 * progmodes/compile.el (compilation-start): Rename window alist
4907 entry `no-display-ok' to `allow-no-window'.
4908
4909 * simple.el (shell-command): Add window alist entry
4910 `allow-no-window' to `display-buffer'.
4911 (async-shell-command): Doc fix.
4912
4913 * window.el (display-buffer-no-window): New action function.
4914 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
4915
0f457a37
DG
49162013-12-02 Dmitry Gutov <dgutov@yandex.ru>
4917
4918 * vc/log-edit.el (log-edit-set-header): Extract from
4919 `log-edit-toggle-header'.
4920 (log-edit-extract-headers): Separate the summary, when extracted
4921 from header, from the rest of the message with an empty line.
4922
4923 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
4924 line, if present, to the Summary header.
4925
0962f376
SM
49262013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
4927
4928 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
4929 in current-buffer (bug#16029).
4930
f345395c
HE
49312013-12-02 Helmut Eller <eller.helmut@gmail.com>
4932
4933 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
4934 (debugger-mode-map): Bind it.
4935 (debugger--backtrace-base): New function.
4936 (debugger-eval-expression): Use it.
4937 (debugger-frame-number): Skip local vars when present.
4938 (debugger--locals-visible-p, debugger--insert-locals)
4939 (debugger--show-locals, debugger--hide-locals): New functions.
4940
a8a15d9d
MA
49412013-12-02 Michael Albinus <michael.albinus@gmx.de>
4942
4943 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
4944 "LC_ALL".
4945 (tramp-get-remote-locale): New defun.
4946 (tramp-open-connection-setup-interactive-shell): Use it.
4947
0518b057
LL
49482013-12-02 Leo Liu <sdl.web@gmail.com>
4949
4950 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
4951
4952 * progmodes/sh-script.el (sh-shell-process):
4953 * progmodes/octave.el (inferior-octave-process-live-p):
4954 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
4955 (gdb-inferior-io-sentinel):
4956 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
4957
3adc9c6d
DG
49582013-12-02 Dmitry Gutov <dgutov@yandex.ru>
4959
4960 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
4961 `save-selected-window' to `log-edit-hide-buf'. This makes
4962 `log-edit-show-files' idempotent.
4963 (log-edit-show-files): Mark the new window as dedicated.
4964
47e8b74e
DG
49652013-12-02 Dmitry Gutov <dgutov@yandex.ru>
4966
4967 * vc/log-edit.el (log-edit-mode-map): Add binding for
4968 `log-edit-kill-biffer'.
4969 (log-edit-hide-buf): Add a FIXME comment.
4970 (log-edit-add-new-comment): New function, extracted from
4971 `log-edit-done'.
4972 (log-edit-done, log-edit-add-to-changelog): Use it.
4973 (log-edit-kill-buffer): New command.
4974
1f6e1bb0
LMI
49752013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4976
4977 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
4978 instead of killing the buffer.
4979
fb651d15
SM
49802013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4981
4982 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
4983
8feacce0
RS
49842013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4985
fb651d15 4986 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 4987 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
4988 (eww-form-checkbox, eww-toggle-checkbox):
4989 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
4990
e0eb0550 4991 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
fb651d15 4992 (shr--get-media-pref, shr--extract-best-source): New function.
e0eb0550 4993 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
ad9a773c
RS
4994 no :src tag was specified.
4995
fb651d15 4996 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
4997 (eww-render): Handle `eww-use-external-browser-for-content-type'.
4998 Use \\` to match beginning of string instead of ^.
4999 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 5000 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 5001
177948a5
RS
5002 * net/shr.el (shr-tag-video): Display content for video if no
5003 poster is available.
eb2dd24d 5004 (shr-tag-audio): Add support for <audio> tag.
177948a5 5005
e0eb0550 5006 * net/eww.el (eww-text-input-types): New const.
177948a5
RS
5007 (eww-process-text-input): Treat input types in
5008 `eww-text-input-types' as text.
5009
8feacce0
RS
5010 * net/shr.el (shr-tag-table): Fix comment typo.
5011
513562a1
LMI
50122013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5013
5014 * net/eww.el (eww-follow-link): New command to avoid reloading
5015 pages when we follow #target links (bug#15243).
de8a5633 5016 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 5017
9dd99753
KN
50182013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5019
5020 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
5021 forms.
5022
3e9876de
LMI
50232013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5024
5025 * net/eww.el (eww-restore-history): Update the window title after
5026 moving in the history.
ab6dea82 5027 (eww-current-dom): New variable used to save the current DOM.
3e9876de 5028
52789f7f
DG
50292013-12-01 Dmitry Gutov <dgutov@yandex.ru>
5030
5031 * vc/log-edit.el (log-edit-mode-map): Add binding for
5032 `log-edit-beginning-of-line'.
5033 (log-edit-setup-add-author): New user option.
5034 (log-edit-beginning-of-line): New command.
5035 (log-edit): Move major mode call above the contents setup so that
5036 the local variable values are already applied.
5037 (log-edit): Only insert "Author: " when
5038 `log-edit-setup-add-author' is non-nil.
5039 (log-edit): When SETUP is non-nil, position point after ": "
5040 instead of point-min.
5041
2e6710c3
GM
50422013-12-01 Glenn Morris <rgm@gnu.org>
5043
5044 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
5045
fadec31f
EZ
50462013-11-30 Eli Zaretskii <eliz@gnu.org>
5047
5048 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 5049 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
5050 visible. (Bug#16014)
5051
10634b40 50522013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
5053
5054 Support resizing frames and windows pixelwise.
5055 * cus-start.el (frame-resize-pixelwise)
5056 (window-resize-pixelwise): New entries.
5057 * emacs-lisp/debug.el (debug): Use window-total-height instead
5058 of window-total-size.
5059 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
9dda75ad
MR
5060 * help.el (describe-bindings-internal): Use help-buffer as
5061 argument for with-help-window.
880e6158
MR
5062 (temp-buffer-max-width): New option.
5063 (resize-temp-buffer-window, help-window-setup)
5064 (with-help-window): Rewrite.
5065 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
5066 dragging dividers.
5067 * window.el (frame-char-size, window-min-pixel-height)
5068 (window-safe-min-pixel-height, window-safe-min-pixel-width)
5069 (window-min-pixel-width, window-safe-min-pixel-size)
5070 (window-combination-p, window-safe-min-size)
5071 (window-resizable-p, window--size-to-pixel)
5072 (window--pixel-to-size, window--resize-apply-p): New functions.
5073 (window-safe-min-height): Fix doc-string.
5074 (window-size, window-min-size, window--min-size-1)
5075 (window-sizable, window-sizable-p, window--min-delta-1)
5076 (window-min-delta, window--max-delta-1, window-max-delta)
5077 (window--resizable, window--resizable-p, window-resizable)
5078 (window-full-height-p, window-full-width-p, window-at-side-p)
5079 (window--in-direction-2, window-in-direction)
5080 (window--resize-reset-1, window--resize-mini-window)
5081 (window-resize, window-resize-no-error)
5082 (window--resize-child-windows-normal)
5083 (window--resize-child-windows, window--resize-siblings)
5084 (window--resize-this-window, window--resize-root-window)
5085 (window--resize-root-window-vertically)
5086 (adjust-window-trailing-edge, enlarge-window, shrink-window)
5087 (maximize-window, minimize-window, delete-window)
5088 (quit-restore-window, window-split-min-size, split-window)
5089 (balance-windows-2, balance-windows)
5090 (balance-windows-area-adjust, balance-windows-area)
5091 (window--state-get-1, window-state-get, window--state-put-1)
5092 (window--state-put-2, window-state-put)
fb651d15
SM
5093 (display-buffer-record-window, window--display-buffer):
5094 Make functions handle pixelwise sizing of windows.
880e6158 5095 (display-buffer--action-function-custom-type)
fb651d15
SM
5096 (display-buffer-fallback-action):
5097 Add display-buffer-in-previous-window.
880e6158
MR
5098 (display-buffer-use-some-window): Resize window to height it had
5099 before.
5100 (fit-window-to-buffer-horizontally): New option.
5101 (fit-frame-to-buffer): Describe new values.
5102 (fit-frame-to-buffer-bottom-margin): Replace with
5103 fit-frame-to-buffer-margins.
5104 (window--sanitize-margin): New function.
5105 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
5106 using window-text-pixel-size.
5107
f9b697dd
GM
51082013-11-30 Glenn Morris <rgm@gnu.org>
5109
3e2fb4db
GM
5110 * emacs-lisp/bytecomp.el (byte-compile-form):
5111 Make the `interactive-only' warning like the `obsolete' one.
5112 * comint.el (comint-run):
5113 * files.el (insert-file-literally, insert-file):
5114 * replace.el (replace-string, replace-regexp):
5115 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
5116 (goto-line, insert-buffer, next-line, previous-line):
5117 Tweak `interactive-only' spec.
5118
f9b697dd
GM
5119 Stop keeping (most) generated cedet grammar files in the repository.
5120 * Makefile.in (semantic): New.
5121 (compile-main): Depend on semantic.
5122
da048127
SM
51232013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5124
7784b779
SM
5125 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
5126 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
5127
4e36a6a6
SM
5128 * uniquify.el (uniquify-buffer-name-style): Change default.
5129
5130 * loadup.el: Preload "uniquify".
5131
e0ba1308
SM
5132 * time.el (display-time-update): Update all mode lines (bug#15999).
5133
da048127
SM
5134 * electric.el (electric-indent-mode): Enable by default.
5135 * loadup.el: Preload "electric".
5136
015b3b3e
BB
51372013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
5138
5139 * emacs-lisp/helpers.el (string-empty-p): New function.
5140 (string-blank-p): New function.
5141
7efb806d
AP
51422013-11-29 Andreas Politz <politza@hochschule-trier.de>
5143
5144 * imenu.el (imenu--index-alist): Add missing dot to the docstring
5145 (Bug#14029).
5146
c8f0efc2
AP
51472013-11-29 Andreas Politz <politza@fh-trier.de>
5148 * imenu.el (imenu--subalist-p): Don't error on non-conses and
5149 allow non-lambda lists as functions.
5150 (imenu--in-alist): Don't recurse into non-subalists.
5151 (imenu): Don't pass function itself as an argument (Bug#14029).
5152
bd15d9d1
SM
51532013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5154
5155 * progmodes/python.el (python-mode-map): Remove binding for ":".
5156 (python-indent-electric-colon): Remove command.
5157 (python-indent-post-self-insert-function): Integrate the previous code
5158 of python-indent-electric-colon. Make it conditional on
5159 electric-indent-mode.
5160 (python-mode): Add ?: to electric-indent-chars.
5161 Move python-indent-post-self-insert-function to the end of
5162 post-self-insert-hook.
5163
1b10adb6
SM
51642013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
5165
655ab9a3
SM
5166 * doc-view.el (doc-view-goto-page): Update mode-line.
5167
1b10adb6
SM
5168 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
5169
7e3bf78c
GM
51702013-11-27 Glenn Morris <rgm@gnu.org>
5171
5172 * international/charprop.el, international/uni-bidi.el:
5173 * international/uni-category.el, international/uni-combining.el:
5174 * international/uni-comment.el, international/uni-decimal.el:
5175 * international/uni-decomposition.el, international/uni-digit.el:
5176 * international/uni-lowercase.el, international/uni-mirrored.el:
5177 * international/uni-name.el, international/uni-numeric.el:
5178 * international/uni-old-name.el, international/uni-titlecase.el:
5179 * international/uni-uppercase.el:
5180 Remove generated files from VCS repository.
5181
fb6a5d68
EZ
51822013-11-27 Eli Zaretskii <eliz@gnu.org>
5183
5184 * filenotify.el (file-notify-add-watch): Don't special-case
5185 w32notify when computing the directory to watch.
5186
cb6c95a3
GM
51872013-11-27 Glenn Morris <rgm@gnu.org>
5188
20372d0c
GM
5189 Make bootstrap without generated uni-*.el files possible again.
5190 * loadup.el: Update command-line-args checking for unidata-gen.
5191 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
5192 * composite.el, international/characters.el:
5193 Handle unicode tables being undefined.
5194
52d6635f 5195 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
5196 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
5197 (compile-main): Depend on leim rule.
5198 (leim): New rule.
5199 * loadup.el: Move leim-list.el to leim/ subdirectory.
5200 * startup.el (normal-top-level): No more leim directory.
5201 * international/ja-dic-cnv.el (skkdic-convert):
5202 Disable version-control and autoloads in output files.
5203 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
5204 Disable version-control and autoloads in output files.
5205 * leim/quail: Move here from ../leim.
5206 * leim/quail/hangul.el (hangul-input-method-activate):
5207 Add autoload cookie.
5208 (generated-autoload-load-name): Set file-local value.
5209 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
5210 (generated-autoload-load-name): Set file-local value.
5211
7514d3f8 52122013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
e47112ee 5213
e0eb0550 5214 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
7514d3f8 5215 (eww-add-bookmark): Ask confirmation when add to bookmarks.
e0eb0550 5216 (eww-quit): Ask confirmation before quitting eww.
e47112ee 5217
0e2c793f
EZ
52182013-11-26 Eli Zaretskii <eliz@gnu.org>
5219
5220 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
5221 reading output from Diff on MS-Windows and MS-DOS.
5222
447bdcb8
BB
52232013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
5224
5225 * emacs-lisp/helpers.el (string-reverse): New function.
5226
5fbf6856
MA
52272013-11-26 Michael Albinus <michael.albinus@gmx.de>
5228
5229 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
5230 names on MS Windows, like "/[::1]:".
5231
5232 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
5233 SWITCHES.
5234
624780f0
GM
52352013-11-26 Glenn Morris <rgm@gnu.org>
5236
0bf3f0fa
GM
5237 * progmodes/python.el (python-indent-guess-indent-offset):
5238 Avoid corner-case error. (Bug#15975)
5239
624780f0
GM
5240 Preload leim-list.el. (Bug#4789)
5241 * loadup.el: Load leim-list.el when found.
5242 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
5243
4301875e 52442013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
5245
5246 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
5247
4301875e
BB
5248 * emacs-lisp/helpers.el (string-join): New function.
5249
1633a815 52502013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
5251
5252 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5253 Mark as obsolete and replace it with a symbol property.
5254 (byte-compile-form): Use new 'interactive-only property.
5255 * comint.el, files.el, replace.el, simple.el:
5256 Apply new 'interactive-only properly.
5257
00139435
MR
52582013-11-25 Martin Rudalics <rudalics@gmx.at>
5259
5260 * window.el (display-buffer-at-bottom): Make sure that
5261 split-window-sensibly creates the new window on bottom
5262 (Bug#15961).
5263
5f5b128d
DK
52642013-11-23 David Kastrup <dak@gnu.org>
5265
5266 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
5267 on the conflict markers when available.
5268 (smerge--get-marker): New function.
5269 (smerge-end-re, smerge-base-re): Add subgroup.
5270
623891e5
SM
52712013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
5272
5273 * frame.el (handle-focus-in, handle-focus-out): Add missing
5274 interactive spec.
5275
05ca27d8
MA
52762013-11-25 Michael Albinus <michael.albinus@gmx.de>
5277
5278 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
5279 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
5280
511fa0d3
SM
52812013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
5282
e82ad66c
SM
5283 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
5284 (gomoku--last-pos): New var.
5285 (gomoku--intangible-chars): New const.
5286 (gomoku--intangible): New function.
5287 (gomoku-mode): Use it. Derive from special-mode.
5288 (gomoku-move-up): Adjust line count.
5289 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
5290 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
5291 Simplify accordingly.
5292
511fa0d3
SM
5293 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
5294 Remove blink-cursor code.
5295 (blink-cursor-timer-function, blink-cursor-suspend):
5296 Don't special-case GUIs.
5297 (blink-cursor-mode): Use focus-in/out-hook.
5298
6f20dd03
DG
52992013-11-25 Dmitry Gutov <dgutov@yandex.ru>
5300
5301 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
5302 work when annotation is invisible (Bug#13886).
5303
431dec31 53042013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
5305
5306 * json.el (json-alist-p): Only return non-nil if the alist has
5307 simple keys (Bug#13518).
5308
431dec31 53092013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
5310
5311 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
5312 when control-statement is the first statement in a buffer (Bug#15956).
5313
ee4f0261
DG
53142013-11-24 Dmitry Gutov <dgutov@yandex.ru>
5315
5316 * imenu.el (imenu-generic-skip-comments-and-strings):
5317 New option (Bug#15560).
5318 (imenu--generic-function): Use it.
5319
c484f866
JS
53202013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
5321
e9dc713d
JB
5322 * minibuffer.el (completion--in-region-1): Scroll the correct window.
5323 (Bug#13898)
c484f866 5324
41ce6f70
BB
53252013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
5326
b55aea38
BB
5327 * emacs-lisp/helpers.el: Add some string helpers.
5328 (string-trim-left): Removes leading whitespace.
5329 (string-trim-right): Removes trailing whitespace.
5330 (string-trim): Removes leading and trailing whitespace.
5331
41ce6f70
BB
5332 * subr.el (string-suffix-p): New function.
5333
3cfb6af3
GM
53342013-11-23 Glenn Morris <rgm@gnu.org>
5335
5336 * progmodes/python.el (python-shell-send-file):
5337 Add option to delete file when done. (Bug#15647)
5338 (python-shell-send-string, python-shell-send-region): Use it.
5339
c27924b7
IS
53402013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
5341
e1b01c7f
IS
5342 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
5343 to set buffer-read-only to t, never to nil. (Bug#15938)
5344
c27924b7
IS
5345 * textmodes/tex-mode.el (latex-noindent-environments):
5346 Add safe-local-variable property. (Bug#15936)
5347
17e0445b
GM
53482013-11-23 Glenn Morris <rgm@gnu.org>
5349
92f78ea3
GM
5350 * textmodes/enriched.el (enriched-mode): Doc fix.
5351 * emacs-lisp/authors.el (authors-renamed-files-alist):
5352 Add enriched.doc -> enriched.txt.
5353
17e0445b
GM
5354 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
5355
965bb23a
LL
53562013-11-22 Leo Liu <sdl.web@gmail.com>
5357
5358 * progmodes/octave.el (inferior-octave-startup): Spit out error
5359 message.
5360
d19ffd64
BB
53612013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
5362
5363 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
5364 Improve docstring.
15ba2182
BB
5365 Add :version.
5366 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 5367
7a7567d2
LL
53682013-11-22 Leo Liu <sdl.web@gmail.com>
5369
5370 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
5371 (Bug#15076)
8c09f64b
LL
5372 (octave-help-mode): Adapt to change to help-mode-finish to use
5373 derived-mode-p on 2013-09-17.
5374 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 5375 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 5376
724bc265
LL
53772013-11-22 Leo Liu <sdl.web@gmail.com>
5378
5379 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
5380 (inferior-octave-startup, inferior-octave-check-process)
5381 (inferior-octave-track-window-width-change)
5382 (octave-completion-at-point, octave-eldoc-function): Use it.
5383 (octave-kill-process): Provide confirmation. (Bug#10564)
5384
38637cca
LL
53852013-11-21 Leo Liu <sdl.web@gmail.com>
5386
511fa0d3
SM
5387 * progmodes/octave.el (octave-mode, inferior-octave-mode):
5388 Fix obsolete variable comment-use-global-state.
38637cca 5389
06e752b4
RS
53902013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5391
511fa0d3
SM
5392 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
5393 Add `octave-source-file'.
06e752b4
RS
5394 (octave-source-file): New function. (Bug#15935)
5395
7514d3f8 53962013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
604ede6c
TZ
5397
5398 * net/eww.el (eww-local-regex): New variable.
5399 (eww): Use it to detect localhost and similar.
5400
b6ffa04a
LL
54012013-11-21 Leo Liu <sdl.web@gmail.com>
5402
5403 Add completion for command `ag'.
2021a200
LL
5404 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
5405 (pcomplete/ag): New function.
e9dc713d 5406 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 5407
d1a6bccc
SM
54082013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5409
5410 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
5411 (bug#14646).
5412 (make-obsolete): Remove interactive spec.
5413
2df10228
GM
54142013-11-21 Glenn Morris <rgm@gnu.org>
5415
5416 * startup.el (command-line-1): Use path-separator with -L.
5417
86fd16b6
TZ
54182013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
5419
5420 * emacs-lisp/package.el (describe-package-1): Add package archive
5421 to shown fields.
5422
0449d6cd 54232013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
5424
5425 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
5426 Change default to "# encoding: %s" to differentiate it from the
5427 default Ruby encoding comment template.
5428
dc7e8c17 54292013-11-20 era eriksson <era+emacsbugs@iki.fi>
5430
5431 * ses.el (ses-mode): Doc fix. (Bug#14748)
5432
f0cfa5fe
LL
54332013-11-20 Leo Liu <sdl.web@gmail.com>
5434
5435 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
5436
826dc7b6
DN
54372013-11-19 Dan Nicolaescu <dann@gnu.org>
5438
5439 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
5440 when rebase or bisect are in progress.
5441
a6e3a5d5
XF
54422013-11-19 Xue Fuqiao <xfq.free@gmail.com>
5443
5444 * filenotify.el (file-notify-add-watch): Doc fix.
5445
f130cb76
LL
54462013-11-19 Leo Liu <sdl.web@gmail.com>
5447
e0855d7d
LL
5448 * obsolete/rcompile.el: Mark obsolete.
5449
f130cb76 5450 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
5451 (compilation-goto-locus, compilation-find-file):
5452 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
5453 (Bug#13594)
5454
5455 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
5456 new parameter no-display-ok. Return either a window or nil
5457 but never a non-window value.
f130cb76 5458
1f35d401
SM
54592013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
5460
25158c76
SM
5461 * electric.el (electric-indent-mode-map): Remove.
5462 (electric-indent-mode): Change the global-map instead (bug#15915).
5463
5464 * textmodes/text-mode.el (paragraph-indent-minor-mode):
5465 Use add-function.
1f35d401 5466
9bc67baa
SM
54672013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
5468
986545b5
SM
5469 * emacs-lisp/nadvice.el (remove-function): Align with
5470 add-function's behavior.
5471
9bc67baa
SM
5472 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
5473 (gdb--string-regexp): New constant.
5474 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
5475 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
5476 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
5477 submatch 1.
5478 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
5479 Adjust use accordingly.
5480 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
5481
56cd894e
AS
54822013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
5483
5484 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
5485 interpolation curlies (Bug#15914).
5486
014690de
JB
54872013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
5488
5489 * calc/calc.el (calc-context-sensitive-enter): New variable.
5490 (calc-enter): Use `calc-context-sensitive-enter'.
5491
7e26a6c3
TZ
54922013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
5493
5494 * progmodes/cfengine.el: Version bump.
5495 (cfengine-cf-promises): New defcustom to locate cf-promises.
5496 (cfengine3-vartypes): Add new "data" type.
5497 (cfengine3--current-word): New function to get current name-like
5498 word or its bounds.
5499 (cfengine3--current-function): New function to look up a CFEngine
5500 function's definition.
5501 (cfengine3-format-function-docstring): New function.
5502 (cfengine3-make-syntax-cache): New function.
5503 (cfengine3-documentation-function): New function: ElDoc glue.
5504 (cfengine3-completion-function): New function: completion glue.
5505 (cfengine3-mode): Set `compile-command',
5506 `eldoc-documentation-function', and add to
5507 `completion-at-point-functions'.
5508
355204dd
MA
55092013-11-16 Michael Albinus <michael.albinus@gmx.de>
5510
5511 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
5512 `tramp-current-connection'.
5513
43cebc23
DG
55142013-11-15 Dmitry Gutov <dgutov@yandex.ru>
5515
5516 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
5517 nil/self/true/false with "end of symbol".
5518
a3fed6ff
BB
55192013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
5520
5521 * subr.el (version-regexp-alist): Fix a typo.
5522
e675b3e4
MA
55232013-11-15 Michael Albinus <michael.albinus@gmx.de>
5524
5525 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
5526 "en_US.utf8" and "LC_CTYPE" to "".
5527 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
5528 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
5529
a1f03e89
LL
55302013-11-15 Leo Liu <sdl.web@gmail.com>
5531
5532 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
5533
5d9d9451
SM
55342013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5535
58362662
CS
5536 * progmodes/gud.el (ctl-x-map):
5537 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
5538 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
5539
6c1bf086
BB
55402013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
5541
0d5363c4
BB
5542 * subr.el (version-regexp-alist):
5543 Recognize hg, svn and darcs versions as snapshot versions.
5544
4e9fc48c
BB
5545 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
5546 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
5547 (ruby--encoding-comment-required-p): Extract from
5548 `ruby-mode-set-encoding'.
5549 (ruby-mode-set-encoding): Add the ability to always insert an
5550 utf-8 encoding comment. Fix and simplify coding comment update
5551 logic.
6c1bf086 5552
2f7e72f8
MA
55532013-11-14 Michael Albinus <michael.albinus@gmx.de>
5554
5555 * net/tramp-gvfs.el (top): Run init code only when
5556 `tramp-gvfs-enabled' is not nil.
5557 (tramp-gvfs-enabled): Check also :system bus.
5558
0f137a73
SM
55592013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5560
5561 Sync with upstream verilog-mode revision 78e66ba.
5562 * progmodes/verilog-mode.el (verilog-end-of-defun)
5563 (verilog-type-completion, verilog-get-list): Remove unused funcs.
5564 (verilog-get-end-of-defun): Remove unused argument.
5565 (verilog-comment-depth): Remove unused local `e'.
5566 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
5567 Don't pass arg to verilog-get-end-of-defun.
5568
1c276bdd
GM
55692013-11-14 Glenn Morris <rgm@gnu.org>
5570
5571 * obsolete/assoc.el (aget): Prefix dynamic variable.
5572
5573 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
5574
ff6ec81d
SM
55752013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5576
5577 * widget.el, hfy-cmap.el: Remove bogus package version number.
5578
75f777b6
GM
55792013-11-13 Glenn Morris <rgm@gnu.org>
5580
1d43dba1
GM
5581 * replace.el (replace-eval-replacement):
5582 Try to give more helpful error message. (Bug#15836)
5583
ff4b7bd5
GM
5584 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
5585 (archive-7z-update): Avoid custom type mismatches.
5586
75f777b6
GM
5587 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
5588
11151a06
MA
55892013-11-13 Michael Albinus <michael.albinus@gmx.de>
5590
e675b3e4 5591 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
5592 address can be empty.
5593
5594 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
5595 Accept nil SWITCHES.
5596 (tramp-gvfs-handle-write-region): Implement APPEND.
5597
7b08f97e
DG
55982013-11-12 Dmitry Gutov <dgutov@yandex.ru>
5599
5600 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
5601 binary "|" operator and closing block args delimiter.
5602 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
5603 (ruby-smie--implicit-semi-p): Not after "|" operator.
5604 (ruby-smie--closing-pipe-p): New function.
5605 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
5606 (ruby-smie-rules): Indent after "|".
5607
f201cf3a
GM
56082013-11-12 Glenn Morris <rgm@gnu.org>
5609
5610 * ps-print.el (ps-face-attribute-list):
5611 Handle anonymous faces. (Bug#15827)
5612
e6f759f9
MR
56132013-11-12 Martin Rudalics <rudalics@gmx.at>
5614
5615 * window.el (display-buffer-other-frame): Fix doc-string.
5616 (Bug#15868)
5617
ecda65d4
SM
56182013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5619
5620 * subr.el (force-mode-line-update): Delete, move to buffer.c.
5621
7ce8fcc3
MA
56222013-11-11 Michael Albinus <michael.albinus@gmx.de>
5623
5624 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
5625 (tramp-sh-handle-file-local-copy): Don't write a message when
5626 saving temporary files.
5627
5628 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
5629 both directories are remote.
5630 (tramp-smb-handle-directory-files): Do not return double entries.
5631 Do not expand full file names.
5632 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
5633 (tramp-smb-handle-write-region): Implement APPEND.
5634 (tramp-smb-get-stat-capability): Fix a stupid bug.
5635
7818df11
SM
56362013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5637
5638 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
5639
608c2085
NT
56402013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5641
5642 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
5643 throwing error over malformed let/let* (bug#15814).
5644
122a7e46
SM
56452013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5646
5647 * iswitchb.el (iswitchb-mode): Mark obsolete.
5648
766284d9
GM
56492013-11-11 Glenn Morris <rgm@gnu.org>
5650
5651 * international/uni-bidi.el, international/uni-category.el:
5652 * international/uni-name.el, international/uni-numeric.el:
5653 Regenerate for Unicode 6.3.0.
5654
7072a4e9
MA
56552013-11-10 Michael Albinus <michael.albinus@gmx.de>
5656
5657 * net/tramp.el (tramp-methods):
5658 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
5659 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
5660
c9df215b
AS
56612013-11-09 Andreas Schwab <schwab@linux-m68k.org>
5662
608c2085
NT
5663 * progmodes/sh-script.el (sh-font-lock-keywords-var):
5664 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 5665
fa47d796
DG
56662013-11-09 Dmitry Gutov <dgutov@yandex.ru>
5667
5668 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 5669 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
5670 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
5671 (ispell-complete-word): Call `ispell-lookup-words' with the value
5672 independent of `ispell-look-p'.
5673
1629a329
DG
56742013-11-08 Dmitry Gutov <dgutov@yandex.ru>
5675
5676 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
5677 Not after "||".
5678 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
5679 their parent.
5680
ad16897c
SM
56812013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5682
5683 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
5684 (ruby-font-lock-keywords): Use backquote.
5685
ffa2df72
DG
56862013-11-08 Dmitry Gutov <dgutov@yandex.ru>
5687
5688 * progmodes/ruby-mode.el (ruby-smie--forward-token)
5689 (ruby-smie--backward-token): Only consider full-string matches.
5690
5b97b4c0
JD
56912013-11-08 Jan Djärv <jan.h.d@swipnet.se>
5692
5693 * faces.el (describe-face): Add distant-foreground.
5694
71731c03
BB
56952013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
5696
4e9fc48c
BB
5697 * progmodes/ruby-mode.el: Improve encoding comment handling.
5698 (ruby-encoding-magic-comment-style): New option.
5699 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
5700 (ruby--insert-coding-comment, ruby--detect-encoding):
5701 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
5702 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
5703 to control the style of the auto-inserted encoding comment.
71731c03 5704
da3b328d
DG
57052013-11-08 Dmitry Gutov <dgutov@yandex.ru>
5706
ad16897c
SM
5707 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
5708 Use `smie-backward-sexp' with token argument.
da3b328d 5709
1606c2d3
MA
57102013-11-08 Michael Albinus <michael.albinus@gmx.de>
5711
5712 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
5713 Remove instrumentation code.
5714
b0f4c320
GM
57152013-11-08 Glenn Morris <rgm@gnu.org>
5716
5717 * progmodes/autoconf.el (autoconf-mode):
5718 Tweak comment-start-skip. (Bug#15822)
5719
43668fb1
SM
57202013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5721
5722 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
5723 at bobp (bug#15826).
5724 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
5725
daddb3fd
DH
57262013-11-08 Darren Hoo <darren.hoo@gmail.com>
5727
5728 * man.el (Man-start-calling): New macro, extracted from
5729 Man-getpage-in-background.
5730 (Man-getpage-in-background): Use it.
5731 (Man-update-manpage): New command.
5732 (Man-mode-map): Bind it.
5733
1f923923
DG
57342013-11-08 Dmitry Gutov <dgutov@yandex.ru>
5735
5736 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
5737 of "and", "or", "&&" and "||".
5738 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
5739 argument. Prohibit opening curly brace because it could only be a
5740 block opener in that position.
daddb3fd
DH
5741 (ruby-smie--forward-token, ruby-smie--backward-token):
5742 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
5743 arguments.
5744 (ruby-smie--indent-to-stmt): New function, seeks the end of
5745 previous statement or beginning of buffer.
5746 (ruby-smie-rules): Use it.
5747 (ruby-smie-rules): Check if there's a ":" before a curly block
5748 opener candidate; if there is, it's a hash.
5749
3220d527
SM
57502013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
5751
5752 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
5753 (cl--block-wrapper): Fix last accidental change.
5754
1eb1f9e0
MA
57552013-11-07 Michael Albinus <michael.albinus@gmx.de>
5756
5757 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
5758 Instrument, in order to hunt failure on hydra.
5759
e6e4db3c
NT
57602013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5761
5762 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
5763 malformed bindings form (bug#15814).
5764
b420ccfc
DG
57652013-11-07 Dmitry Gutov <dgutov@yandex.ru>
5766
5767 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
5768 "." compared to " @ ". This incidentally fixes some indentation
5769 examples with "do".
e6e4db3c 5770 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
5771 (ruby-smie-grammar): New tokens: "and" and "or".
5772 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
5773 Exclude "and" and "or". Remove "do" in order to work around token
5774 priorities.
5775 (ruby-smie-rules): Add all infix tokens. Handle the case of
5776 beginning-of-buffer.
b420ccfc 5777
6b4ac03e
GM
57782013-11-06 Glenn Morris <rgm@gnu.org>
5779
5780 * Makefile.in (setwins_almost, setwins_for_subdirs):
5781 Avoid accidental matches.
5782
5ca114d1
SM
57832013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
5784
5785 * menu-bar.el (popup-menu): Use key-binding.
5786
f72552bd
EZ
57872013-11-06 Eli Zaretskii <eliz@gnu.org>
5788
5789 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
5790 menus, support also the menus produced by minor modes.
5791 (Bug#15817)
5792
5d5c701e
LL
57932013-11-06 Leo Liu <sdl.web@gmail.com>
5794
5795 * thingatpt.el (thing-at-point-looking-at): Add optional arg
e9dc713d 5796 DISTANCE to bound the search. All uses changed. (Bug#15808)
5d5c701e 5797
0a8b75e2
GM
57982013-11-06 Glenn Morris <rgm@gnu.org>
5799
5800 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
5801 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
5802 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 5803
a35287ea
SM
58042013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
5805
feca4e2d
SM
5806 * electric.el (electric-indent-just-newline): New command.
5807 (electric-indent-mode-map): New keymap.
5808 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
5809 Re-add :group which weren't redundant.
5810
a35287ea
SM
5811 * electric.el (electric-indent-local-mode): New minor mode.
5812 (electric-indent-functions-without-reindent): New var.
5813 (electric-indent-post-self-insert-function): Use it.
5814 * emacs-lisp/gv.el (buffer-local-value): Add setter.
5815
375761b2
EZ
58162013-11-05 Eli Zaretskii <eliz@gnu.org>
5817
9a6ad735
EZ
5818 * international/quail.el (quail-help): Be more explicit about the
5819 meaning of the labels shown on the keys. (Bug#15800)
5820
375761b2
EZ
5821 * startup.el (normal-top-level): Load the subdirs.el files before
5822 setting the locale environment. (Bug#15805)
5823
520a6e4a
SM
58242013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
5825
0acfafef
SM
5826 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
5827 via arguments so as to get the right ones (bug#15418).
5828
520a6e4a
SM
5829 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
5830
15826261
MA
58312013-11-05 Michael Albinus <michael.albinus@gmx.de>
5832
5833 Fix problems found while writing a test suite.
5834
5835 * net/tramp-compat.el (tramp-compat-load): New defun.
5836 * net/tramp.el (tramp-handle-load): Use it.
5837
5838 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
5839 "(numberp ok-if-already-exists)" correctly.
5840
d35f31a4
XF
58412013-11-05 Xue Fuqiao <xfq.free@gmail.com>
5842
5843 * international/characters.el (glyphless-char-display-control):
5844 Add usage note.
5845
ae93bc74
BB
58462013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
5847
520a6e4a
SM
5848 * progmodes/python.el (python-mode):
5849 * progmodes/scheme.el (scheme-mode):
5850 * progmodes/prolog.el (prolog-mode):
5851 * progmodes/ruby-mode.el (ruby-mode):
5852 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
5853 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 5854
0ade65b5
SM
58552013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
5856
a0d5f7a4
SM
5857 * rect.el (rectangle--highlight-for-redisplay):
5858 * emacs-lisp/smie.el (smie--next-indent-change):
5859 Use buffer-chars-modified-tick.
5860
c93f3f5c
SM
5861 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
5862
0ade65b5
SM
5863 * electric.el (electric-indent-post-self-insert-function):
5864 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
5865
ef9dd188
HE
58662013-11-04 Helmut Eller <eller.helmut@gmail.com>
5867
5868 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
5869
306e7308
NT
58702013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5871
5872 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
5873 (bug#15786).
5874
e5afbcac
SM
58752013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
5876
1d01ad41
SM
5877 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
5878
e5afbcac
SM
5879 * progmodes/python.el: Fix up last change.
5880 (python-shell--save-temp-file): New function.
5881 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
5882 `string' comes from the current buffer.
5883 (python-shell-send-string-no-output): Remove `msg' arg.
5884 (python--use-fake-loc): New var.
5885 (python-shell-buffer-substring): Obey it. Try to compensate for the
5886 extra coding line added by python-shell--save-temp-file.
5887 (python-shell-send-region): Use python-shell--save-temp-file and
5888 python-shell-send-file directly. Add `nomain' argument.
5889 (python-shell-send-buffer): Use python-shell-send-region.
5890 (python-electric-pair-string-delimiter): New function.
5891 (python-mode): Use it.
5892
d0065ff1
EZ
58932013-11-04 Eli Zaretskii <eliz@gnu.org>
5894
5895 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
5896 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
5897 environment and decoding all of the default-directory's to here
5898 from command-line.
5899 (command-line): Decode also argv[0].
5900
5901 * loadup.el: Error out if default-directory is a multibyte string
5902 when we are dumping.
5903
5904 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
5905
7397c587
TZ
59062013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
5907
5908 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
5909 (package-menu--print-info, package-menu--archive-predicate):
5910 Add Archive column to package list.
7397c587 5911
b27cc9fc
MA
59122013-11-04 Michael Albinus <michael.albinus@gmx.de>
5913
5914 Fix problems found while writing a test suite.
5915
5916 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
5917 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
5918 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
5919 to nil when running original file name handler. Otherwise,
5920 there are problems with constructs like "$$FOO".
5921
5922 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
5923 for `localname'.
5924
d8c4f18a
BB
59252013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
5926
7b530552
BB
5927 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
5928
5929 * subr.el (version<, version<=, version=):
5930 Update docstrings with information for snapshot versions.
5931
d8c4f18a
BB
5932 * helpers.el: New library for misc helper functions.
5933 (hash-table-keys): New function returning a list of hash keys.
5934 (hash-table-values): New function returning a list of hash values.
5935
dca01b09
DG
59362013-11-04 Dmitry Gutov <dgutov@yandex.ru>
5937
5938 * progmodes/ruby-mode.el (ruby-smie--forward-token)
5939 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
5940
0a749fa0
MN
59412013-11-04 Michal Nazarewicz <mina86@mina86.com>
5942
5943 * textmodes/fill.el (fill-single-char-nobreak-p): New function
5944 checking whether point is after a 1-letter word.
5945
59462013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
5947
5948 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
5949 Don't infloop when expanding region over `multiline' syntax-type that
5950 begins a line (bug#15778).
5951
4aca7145
SM
59522013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
5953
5954 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
5955 Make it into a proper minor mode.
5956 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
5957 (rectangle-mark-mode-map): New keymap.
5958 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
5959
a0833f62
GM
59602013-11-04 Glenn Morris <rgm@gnu.org>
5961
5962 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
5963
e61845c1
SM
59642013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
5965
5966 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
5967 (ruby-smie-rules): Use smie-rule-parent instead.
5968
5969 * emacs-lisp/smie.el (smie-rule-parent): Always call
5970 smie-indent-virtual rather than only for hanging tokens.
5971 (smie--next-indent-change): New helper command.
5972
62942f89
GM
59732013-11-03 Glenn Morris <rgm@gnu.org>
5974
5975 * Makefile.in (abs_srcdir): Remove.
5976 (emacs): Unset EMACSLOADPATH.
5977
b0b9e592
GM
59782013-11-02 Glenn Morris <rgm@gnu.org>
5979
18ba6a33 5980 * Makefile.in (EMACS): Use a relative filename.
8061810d 5981 (abs_top_builddir): Remove.
18ba6a33
GM
5982 (custom-deps, finder-data, autoloads): Use --chdir.
5983
6a8b929e
GM
5984 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
5985
c617f3d0
GM
5986 Use relative filenames in TAGS files.
5987 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
5988 (lisptagsfiles4, TAGS): Use relative file names.
5989 (TAGS-LISP): Remove.
5990 (maintainer-clean): No more TAGS-LISP file.
5991
b0b9e592
GM
5992 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
5993 (lisptagsfiles4): Use absolute filenames again.
5994 (TAGS, TAGS-LISP): Not everything needs to run in one line.
5995 Remove all *loaddefs files, not just the first. Remove esh-groups.
5996 (maintainer-clean): Delete TAGS, TAGS-LISP.
5997
d1c0ea6a
BB
59982013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
5999
e61845c1
SM
6000 * emacs-lisp/package.el (package-version-join):
6001 Recognize snapshot versions.
d1c0ea6a 6002
684d71c6
BB
60032013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6004
6005 * subr.el (version-regexp-alist): Add support for snapshot versions.
6006
3d42b968
DG
60072013-11-02 Dmitry Gutov <dgutov@yandex.ru>
6008
e61845c1
SM
6009 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
6010 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
6011 skip over our direct parent if it's an assignment token..
6012 (ruby-smie-rules): Use it.
6013
7ffd3721
DG
60142013-11-02 Dmitry Gutov <dgutov@yandex.ru>
6015
8449dd1f 6016 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7ffd3721
DG
6017 unconditionally. Remove now unnecessary forward declarations.
6018 Remove XEmacs-specific setup.
6019 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
6020 (ruby-font-lock-syntactic-keywords)
6021 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
6022 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
6023 (ruby-here-doc-end-syntax): Remove.
6024 (ruby-mode): Don't check whether `syntax-propertize-rules' is
6025 defined as function.
6026
a3996a2e
BB
60272013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6028
6029 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
6030
6f9260e8
BB
60312013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
6032
6033 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
6034 table and abbrev table, `define-derived-mode' does that for us
6035 anyway.
6036
6014de84
GM
60372013-11-01 Glenn Morris <rgm@gnu.org>
6038
6039 * Makefile.in: Remove manual mh-e dependencies (writing .elc
6040 files is atomic for some time, so no parallel compilation issues).
6041
3c334c14
JD
60422013-11-01 Jan Djärv <jan.h.d@swipnet.se>
6043
6044 * faces.el (face-x-resources): Add :distant-foreground.
6045 (region): Use :distant-foreground for gtk and ns.
6046
9bc236c8
TH
60472013-11-01 Tassilo Horn <tsdh@gnu.org>
6048
5246583b 6049 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
6050 BibTeX.
6051 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
6052 (reftex-locate-bibliography-files): Us it.
6053
d14c81ee
CB
60542013-11-01 Claudio Bley <claudio.bley@googlemail.com>
6055
0e7690de
CB
6056 * image.el (image-type-header-regexps): Fix the 'pbm' part to
6057 allow comments in pbm files.
6058
d14c81ee
CB
6059 * term/w32-win.el (dynamic-library-alist): Support newer versions
6060 of libjpeg starting with v7: look only for the DLL from the
6061 version against which Emacs was built.
ac1bf374 6062 Support versions of libpng beyond 1.4.x.
019c8218 6063 Support libtiff v4.x.
d14c81ee 6064
983d0df5
BB
60652013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
6066
6067 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
6068 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
6069 Add property :safe.
6070 (ruby-deep-arglist): Add property :type.
6071
47f58d85
GM
60722013-10-31 Glenn Morris <rgm@gnu.org>
6073
6074 * Makefile.in (custom-deps, finder-data): No need to setq the target
6075 variables, we are in the right directory and the defaults work fine.
6076
4f85b479
GM
60772013-10-30 Glenn Morris <rgm@gnu.org>
6078
ca7dd4cd
GM
6079 * Makefile.in (autoloads): Do not use abs_lisp.
6080
4f85b479
GM
6081 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6082 `newline' does not respect `standard-output', so use `princ'.
6083
cf59e41c
AA
60842013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
6085
6086 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
6087 * buff-menu.el (Buffer-menu--unmark): New function.
6088 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
6089
74cf04fb
GM
60902013-10-30 Glenn Morris <rgm@gnu.org>
6091
b040b60e
GM
6092 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
6093
f53d3815
GM
6094 * emacs-lisp/package.el (lm-homepage): Declare.
6095
5413d873
GM
6096 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
6097 Fix doc typos.
6098
cecedb36
GM
6099 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
6100
74cf04fb
GM
6101 * Makefile.in (finder-data, autoloads, update-subdirs)
6102 (compile-main, compile-clean, compile-always, bootstrap-clean):
6103 Check return value of cd.
6104 (compile-calc): Remove.
6105
195ee2f0
SM
61062013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
6107
ae4002ce
SM
6108 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
6109
6110 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
6111 (byte-compile-and-folded): New function.
6112 (=, <, >, <=, >=): Use it.
6113
6114 * dos-w32.el (minibuffer-history-case-insensitive-variables)
6115 (path-separator, null-device, buffer-file-coding-system)
6116 (lpr-headers-switches): Check system-type before modifying them.
6117 (find-buffer-file-type-coding-system): Mark obsolete.
6118 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
6119 find-file-not-found-set-buffer-file-coding-system.
35e951cd 6120 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
ae4002ce 6121 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
35e951cd 6122 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
ae4002ce
SM
6123 (w32-direct-print-region-helper, w32-direct-print-region-function)
6124 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
6125 * startup.el (normal-top-level-add-subdirs-to-load-path):
6126 * ps-print.el (ps-print-region-function):
6127 * lpr.el (print-region-function): Use new name.
6128
53b39e89
SM
6129 * subr.el (custom-declare-variable-early): Remove function.
6130 (custom-declare-variable-list): Remove var.
6131 (error, user-error): Remove `while' loop.
6132 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
6133 (user-emacs-directory-warning, locate-user-emacs-file):
6134 Move to files.el.
6135 * simple.el (read-quoted-char-radix, read-quoted-char):
6136 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
6137 Move from subr.el.
6138 * custom.el (custom-declare-variable-list): Don't process
6139 custom-declare-variable-list.
6140
195ee2f0
SM
6141 * progmodes/python.el (python-shell-get-buffer): New function.
6142 (python-shell-get-process): Use it.
6143 (python-shell-send-string): Always use utf-8 and add a cookie to tell
6144 Python which encoding was used. Don't split-string since we only care
6145 about the first line. Return the temp-file, if applicable.
6146 (python-shell-send-region): Tell compile.el how to turn locations in
6147 the temp-file into locations in the source buffer.
6148
7e3561ee
SM
61492013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
6150
4c9797cb
SM
6151 * subr.el (undefined): Add missing behavior from the C code for
6152 unbound keys.
6153
3472b6c6
SM
6154 * rect.el: Use lexical-binding. Add new rectangular region support.
6155 (rectangle-mark): New command.
6156 (rectangle--region): New var.
6157 (deactivate-mark-hook): Reset rectangle--region.
6158 (rectangle--extract-region, rectangle--insert-for-yank)
6159 (rectangle--highlight-for-redisplay)
6160 (rectangle--unhighlight-for-redisplay): New functions.
6161 (region-extract-function, redisplay-unhighlight-region-function)
6162 (redisplay-highlight-region-function): Use them to handle
6163 rectangular region.
6164 * simple.el (region-extract-function): New var.
6165 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
6166 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
6167 (kill-region): Replace obsolete `yank-handler' arg with `region'.
6168 (copy-region-as-kill, kill-ring-save): Add `region' argument.
6169 (redisplay-unhighlight-region-function)
6170 (redisplay-highlight-region-function): New vars.
6171 (redisplay--update-region-highlight): New function.
6172 (pre-redisplay-function): Use it.
6173 (exchange-point-and-mark): Don't deactivate the mark before
6174 reactivate-it anyway.
6175 * comint.el (comint-kill-region): Remove yank-handler argument.
6176 * delsel.el (delete-backward-char, backward-delete-char-untabify)
6177 (delete-char): Remove property, since it's now part of their
6178 default behavior.
6179 (self-insert-iso): Remove property since this command doesn't exist.
6180
7e3561ee
SM
6181 * emacs-lisp/package.el (package--download-one-archive)
6182 (describe-package-1): Don't query the user about final newline.
6183
b9bef71f
DC
61842013-10-29 Daniel Colascione <dancol@dancol.org>
6185
6186 * net/tramp.el (tramp-methods): Document new functionality.
6187 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
6188 tramp-hostname-checker if method provides one instead of scanning
6189 argument list for "%h" to decide hostname acceptability.
6190
4efc33f0
MA
61912013-10-28 Michael Albinus <michael.albinus@gmx.de>
6192
6193 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
6194 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
6195 Handle COPY-CONTENTS. (Bug#15737)
6196
ed42a877
DU
61972013-10-28 Daiki Ueno <ueno@gnu.org>
6198
6199 * epa-file.el
7e3561ee
SM
6200 (epa-file-cache-passphrase-for-symmetric-encryption):
6201 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 6202
18c9f8a2
XF
62032013-10-27 Xue Fuqiao <xfq.free@gmail.com>
6204
35e951cd 6205 * image.el (defimage, image-load-path): Doc fixes.
18c9f8a2 6206
b1e8e010
AM
62072013-10-27 Alan Mackenzie <acm@muc.de>
6208
6209 Indent statements in macros following "##" correctly.
7e3561ee
SM
6210 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
6211 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 6212
73d40d1e 62132013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
6214
6215 * linum.el (linum-update-window): Fix boundary test (bug#13446).
6216
c8c605ac
DG
62172013-10-27 Dmitry Gutov <dgutov@yandex.ru>
6218
6219 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
6220 after `=' is probably a new expression.
6221
ca7e59d4
RS
62222013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6223
6224 * man.el (man-imenu-title): New option.
6225 (Man-mode-map): Add menu. (Bug#15722)
6226 (Man-mode): Add imenu to menu.
6227
bae91342
DG
62282013-10-26 Dmitry Gutov <dgutov@yandex.ru>
6229
6230 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
6231 specific in what the first arg can be: a non-keyword word,
6232 string/regexp/percent literal opener, opening paren, or unary
6233 operator followed directly by word.
6234
eb89dc14
SM
62352013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6236
6237 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
6238 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
6239 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
6240 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
6241 Remove vars, they do not apply any more.
6242 (prolog-mode-abbrev-table): Remove redundant declaration.
6243 (prolog-upper-case-string, prolog-lower-case-string): Remove.
6244 (prolog-use-smie): Remove.
6245 (prolog-smie-rules): Add indentation rule for the if-then-else layout
6246 supported by prolog-electric-if-then-else-flag.
6247 (prolog-mode-variables, prolog-menu): Use setq-local.
6248 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
6249 Remove binding to `Backspace' since this key doesn't exist anyway.
6250 Remove bindings for electric self-inserting keys.
6251 (prog-mode): Assume it's defined.
6252 (prolog-post-self-insert): New function.
6253 (prolog-mode): Use it.
6254 (prolog-indent-line, prolog-indent-level)
6255 (prolog-find-indent-of-matching-paren)
6256 (prolog-indentation-level-of-line, prolog-goto-comment-column)
6257 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
6258 (prolog-goto-next-paren, prolog-in-string-or-comment)
6259 (prolog-tokenize, prolog-inside-mline-comment)
6260 (prolog-find-start-of-mline-comment): Remove functions.
6261 (prolog-find-unmatched-paren, prolog-clause-end)
6262 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
6263 (prolog-electric--if-then-else): Rename from
6264 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
6265 (prolog-tokenize-searchkey): Remove const.
6266 (prolog-clause-info): Use forward-sexp.
6267 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
6268 (prolog-electric-if-then-else): Remove commands.
6269 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
6270 for use in post-self-insert-hook.
6271 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
6272 for use in post-self-insert-hook.
6273 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
6274 for use in post-self-insert-hook.
6275 (prolog-electric--underscore): Rename from prolog-electric--underscore;
6276 adapt it for use in post-self-insert-hook.
6277
3dab0a83
MA
62782013-10-25 Michael Albinus <michael.albinus@gmx.de>
6279
6280 * emacs-lisp/ert.el (ert-run-tests-interactively):
6281 Use `completing-read'. (Bug#9756)
6282
fbfd0e1d
EZ
62832013-10-25 Eli Zaretskii <eliz@gnu.org>
6284
6285 * simple.el (line-move): Call line-move-1 instead of
6286 line-move-visual when the current window hscroll is zero, but
6287 temporary-goal-column indicates we will need to hscroll as result
6288 of the movement. (Bug#15712)
6289
963ce636
DG
62902013-10-25 Dmitry Gutov <dgutov@yandex.ru>
6291
6292 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
6293 capitalization. Use :visible instead of :active.
6294 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
6295 commands that are used with SMIE.
6296 (ruby-do-end-to-brace): Insert space after `{'.
6297
a0be396a
JA
62982013-10-25 John Anthony <john@jo.hnanthony.com>
6299
f73754c9
JA
6300 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
6301
6302 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 6303
f5bf77df
GM
63042013-10-25 Glenn Morris <rgm@gnu.org>
6305
6306 * vc/vc.el (vc-print-log): Don't use a working revision unless
6307 one was explicitly specified. (Bug#15322)
6308
37241f62
SM
63092013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6310
6311 * subr.el (add-to-list): Preserve return value in compiler-macro
6312 (bug#15692).
6313
6408a65d
RS
63142013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6315
6316 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
6317 result. Ask user to retry using '-all' flag. (Bug#15701)
6318
71e3276b
SM
63192013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6320
6321 * emacs-lisp/smie.el: New smie-config system.
6322 (smie-config): New defcustom.
6323 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
6324 (smie-config-guess, smie-config-save): New commands.
6325 (smie-config--mode-local, smie-config--buffer-local)
6326 (smie-config--trace, smie-config--modefuns): New vars.
6327 (smie-config--advice, smie-config--mode-hook)
6328 (smie-config--setter, smie-config-local, smie-config--get-trace)
6329 (smie-config--guess-value, smie-config--guess): New functions.
6330 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
6331 text properties. Treat "string fence" syntax like string syntax.
6332
6333 * progmodes/sh-script.el (sh-use-smie): Change default.
6334 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
6335 (sh-var-value): Simplify by CSE.
6336 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
6337 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
6338 is used.
6339 (sh-guess-basic-offset): Use cl-incf.
6340 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
6341
60db713e
HE
63422013-10-24 Helmut Eller <eller.helmut@gmail.com>
6343
6344 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
6345 (bug#15699).
6346
8b251df6
GM
63472013-10-24 Glenn Morris <rgm@gnu.org>
6348
6349 * Makefile.in (abs_top_srcdir): Remove.
6350 (update-subdirs): Use relative path to update-subdirs.
6351
6be0e22b
EZ
63522013-10-24 Eli Zaretskii <eliz@gnu.org>
6353
6354 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
6355 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
6356 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
6357 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 6358
50b5b857
MA
63592013-10-24 Michael Albinus <michael.albinus@gmx.de>
6360
6361 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
6362 (ert-test-skipped): New error.
6363 (ert-skip, ert-stats-skipped): New defuns.
6364 (ert--skip-unless): New macro.
6365 (ert-test-skipped): New struct.
6366 (ert--run-test-debugger, ert-test-result-type-p)
6367 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
6368 (ert--stats-set-test-and-result, ert-char-for-test-result)
6369 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 6370 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 6371 Handle skipped tests. (Bug#9803)
50b5b857 6372
6f317c2f
GM
63732013-10-24 Glenn Morris <rgm@gnu.org>
6374
e43817c1
GM
6375 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
6376
6f317c2f
GM
6377 * Makefile.in (abs_top_srcdir): New, set by configure.
6378 (update-subdirs): Correct build-aux location.
6379
369bbf71
DG
63802013-10-24 Dmitry Gutov <dgutov@yandex.ru>
6381
8297b2cf
DG
6382 * vc/vc.el (vc-print-root-log): Always set `default-directory'
6383 value, whether we could auto-deduce `backend', or not.
6384
369bbf71
DG
6385 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
6386 with parameters" example. Simplify the "is it block or is it
6387 hash" check, but also make it more thorough.
6388
d5f1282f
MF
63892013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
6390
6391 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
6392
bc4aaa31
SM
63932013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
6394
03d44565
SM
6395 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
6396 { if it is hanging.
6397
bc4aaa31
SM
6398 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
6399 :before ";".
6400
f493ff19
JB
64012013-10-23 Jed Brown <jed@59A2.org> (tiny change)
6402
6403 * progmodes/compile.el (compilation-directory-matcher)
6404 (compilation-page-delimiter):
6405 Support GNU Make-4.0 directory quoting. (Bug#15678)
6406
c744a3b9
LL
64072013-10-23 Leo Liu <sdl.web@gmail.com>
6408
6409 * ido.el (ido-tidy): Handle read-only text.
6410
b8e3b0a9
GM
64112013-10-23 Glenn Morris <rgm@gnu.org>
6412
6413 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
6414 (emacs, compile, compile-always):
6415 Quote entities that might contain whitespace.
6416 (custom-deps, finder-data, autoloads): Use abs_lisp.
6417 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
6418 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
6419 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
6420
ee4282cd
DG
64212013-10-23 Dmitry Gutov <dgutov@yandex.ru>
6422
bc4aaa31
SM
6423 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
6424 Use `following-char'.
7790a270 6425
ee4282cd 64262013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
6427
6428 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
6429 * progmodes/ruby-mode.el (ruby-smie-rules):
6430 Remove corresponding workaround. Fix indentation rule of ";" so it
6431 also applies when ";" is the parent.
6432
d40a46d7
XF
64332013-10-22 Xue Fuqiao <xfq.free@gmail.com>
6434
6435 * frame.el (display-screens, display-pixel-height)
6436 (display-pixel-width, display-mm-width, display-backing-store)
6437 (display-save-under, display-planes, display-color-cells)
7790a270
SM
6438 (display-visual-class, display-monitor-attributes-list):
6439 Mention the optional ‘display’ argument in doc strings.
d40a46d7 6440
a0f143c9
MG
64412013-10-22 Michael Gauland <mikelygee@amuri.net>
6442
6443 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
6444 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
6445
18cacc39
DG
64462013-10-21 Dmitry Gutov <dgutov@yandex.ru>
6447
6448 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
6449 TODO. Add "." after " @ ".
6450 (ruby-smie--at-dot-call): New function. Checks if point at method
6451 call with explicit target.
6452 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
6453 to the method name tokens when it precedes them.
6454 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
6455 (ruby-smie-rules): Add rule for indentation before and after "."
6456 token.
6457
df74c4be
SM
64582013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
6459
c6dab55f
SM
6460 * textmodes/remember.el (remember-diary-extract-entries):
6461 Avoid add-to-list.
6462
df74c4be
SM
6463 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
6464 an instruction.
6465
8c1ae481
DG
64662013-10-21 Dmitry Gutov <dgutov@yandex.ru>
6467
e9dc713d
JB
6468 * progmodes/ruby-mode.el (ruby-smie-grammar):
6469 Add (almost) all infix operators.
cfef16c0
DG
6470 (ruby-smie--implicit-semi-p): Add new operator chars.
6471
8c1ae481
DG
6472 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
6473 `smie-down-list'.
6474 (ruby-smie--args-separator-p): Check that there's no newline
6475 between method call and its arguments.
6476
87756ca9
AM
64772013-10-20 Alan Mackenzie <acm@muc.de>
6478
6479 Allow comma separated lists after Java "implements".
6480
df74c4be
SM
6481 * progmodes/cc-engine.el (c-backward-over-enum-header):
6482 Parse commas.
87756ca9
AM
6483 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
6484 from a "disallowed" list in enum fontification.
6485
c25f8957
JB
64862013-10-20 Johan Bockgård <bojohan@gnu.org>
6487
df74c4be 6488 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 6489
c25f8957
JB
6490 * progmodes/verilog-mode.el (verilog-mode): Don't set
6491 comment-indent-function globally.
6492
aca5fcdc
JD
64932013-10-20 Jan Djärv <jan.h.d@swipnet.se>
6494
5f161884
JD
6495 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
6496 Move Info menu item creation to ns-win.el.
6497
6498 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
6499 in menu bar.
6500
a6c4680a 6501 * menu-bar.el: Move GNUstep specific menus...
aca5fcdc
JD
6502
6503 * term/ns-win.el (ns-initialize-window-system): ... to here.
6504
914b7f98
SM
65052013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6506
6507 * simple.el (newline): Only run post-self-insert-hook when
6508 called interactively.
6509
846ffe77
JB
65102013-10-19 Johan Bockgård <bojohan@gnu.org>
6511
6512 * icomplete.el (icomplete-with-completion-tables): Add :version.
6513
033f22dd
AM
65142013-10-19 Alan Mackenzie <acm@muc.de>
6515
6516 Fix fontification bugs with constructors and const.
6517
6518 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
6519 CASE 2) Remove the check for the absence of a suffix construct
6520 after a function declaration with only types (no identifiers) in
6521 the parentheses. Also, accept a function declaration with just a
6522 type inside the parentheses, if this type can be positively
6523 recognised as such, or if a prefix keyword like "explicit" nails
6524 down the construct as a declaration.
6525
58ce0cfc
EZ
65262013-10-19 Eli Zaretskii <eliz@gnu.org>
6527
6528 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
6529 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
6530 the problem whereby selecting a menu item that leads to a
6531 minibuffer prompt moves the cursor out of the minibuffer window,
6532 making it hard to type at the prompt. Suggested by Stefan Monnier
6533 <monnier@iro.umontreal.ca>.
6534
50e28e7d
JD
65352013-10-19 Jan Djärv <jan.h.d@swipnet.se>
6536
6537 * menu-bar.el: Don't make Services menu.
6538
7deed4bf
RS
65392013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6540
6541 * ffap.el: Handle "/usr/include/c++/<version>" directories.
6542 (ffap-alist): Use ffap-c++-mode for c++-mode.
6543 (ffap-c++-path): New variable.
6544 (ffap-c++-mode): New function.
6545
7bcb455b
JVJ
65462013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
6547
6548 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
6549
f0ff1cd5
MA
65502013-10-18 Michael Albinus <michael.albinus@gmx.de>
6551
6552 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
6553 introduced on 2013-09-08, which results in an infinite loop
6554 requesting a password.
6555
d64da4b7
GM
65562013-10-18 Glenn Morris <rgm@gnu.org>
6557
6558 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
6559
ea89ff08
WS
65602013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
6561
6562 Sync with upstream verilog-mode revision 1a6ecec7.
6563 * progmodes/verilog-mode.el (verilog-mode-version): Update.
6564 (verilog-mode-release-date): Remove.
6565 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
6566 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
6567 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
6568 (verilog-auto-tieoff-ignore-regexp)
6569 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
6570 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
6571 (verilog-signals-with, verilog-dir-cache-preserving)
6572 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
6573 Doc fixes.
6574 (verilog-case-fold): New option, to control case folding in
6575 regexp searches, bug597.
6576 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
6577 (verilog-string-match-fold, verilog-in-paren-count)
6578 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
6579 (verilog-at-close-struct-p): New functions.
6580 (verilog-beg-block-re-ordered, verilog-extended-case-re)
35e951cd 6581 (verilog-forward-sexp, verilog-set-auto-endcomments)
ea89ff08
WS
6582 (verilog-leap-to-case-head): Handle "unique0" case.
6583 (verilog-in-constraint-re): New constant.
6584 (verilog-keywords, verilog-type-font-keywords):
6585 Add some SystemVerilog 1800-2012 keywords.
6586 (verilog-label-be): Remove unimplemented argument, bug669.
6587 (verilog-batch-execute-func): When batch expanding clear
6588 create-lockfiles to prevent spurious user locks when a file ends
6589 up not changing.
6590 (verilog-calculate-indent, verilog-calc-1)
6591 (verilog-at-close-constraint-p, verilog-at-constraint-p)
6592 (verilog-do-indent): Fix indentation of nested constraints
6593 and structures.
6594 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
6595 (verilog-auto-inst-param): Use verilog-string-match-fold.
6596 (verilog-read-inst-module-matcher):
6597 Fix AUTOINST on gate primitives with #1.
6598 (verilog-read-decls): Fix double-declaring user-defined typed signals.
6599 Reads all user-defined typed variables.
6600 (verilog-read-defines): Fix reading definitions inside comments, bug647.
6601 (verilog-signals-matching-regexp)
6602 (verilog-signals-not-matching-regexp, verilog-auto):
6603 Respect verilog-case-fold.
6604 (verilog-diff-report): Fix line count.
6605 (verilog-auto-assign-modport): Remove unused local `modi'.
6606 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
6607 better handle multidimensional arrays.
6608 Fix packed array ports misadding bit index in AUTOINST, bug637.
6609 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
6610 to not double-declare existing outputs and inputs, respectively.
6611 (verilog-template-map): Bind U to verilog-sk-uvm-component.
6612 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
6613 (verilog-sk-uvm-component): New skeleton.
6614 (verilog-submit-bug-report): Add verilog-case-fold,
6615 remove verilog-mode-release-date.
6616
ef566920
BR
66172013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
6618
a12bf61e 6619 * subr.el (sit-for): Call (input-pending-p t) so as to behave
ef566920
BR
6620 as before.
6621
29df8a0b
RT
66222013-10-18 Reuben Thomas <rrt@sc3d.org>
6623
e0eb0550 6624 * textmodes/remember.el (remember): Set buffer-offer-save in
29df8a0b
RT
6625 remember buffers (bug#13566).
6626
04a19a79
DC
66272013-10-18 Daniel Colascione <dancol@dancol.org>
6628
6629 When evaluating forms in ielm, direct standard output to ielm
6630 buffer. Add new ielm-return-for-effect command. Remove trailing
6631 whitespace throughout.
6632
6633 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
6634 (ielm-return-for-effect): New command.
6635 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
6636 (ielm-eval-input): Accept optional `for-effect' parameter.
6637 Bind `standard-output' to stream we create using
04a19a79
DC
6638 `ielm-standard-output-impl'. Suppress printing result when
6639 `for-effect'.
6640 (ielm-standard-output-impl): New function.
6641 (inferior-emacs-lisp-mode): Explain new features in documentation.
6642
4c1f03ef
MA
66432013-10-17 Michael Albinus <michael.albinus@gmx.de>
6644
6645 Code cleanup.
6646
6647 * net/tramp.el (tramp-debug-message): Do not check for connection
6648 buffer.
6649 (tramp-message): Use "vector" connection property.
6650
6651 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
6652 (tramp-equal-remote, tramp-eshell-directory-change)
6653 * net/tramp-adb.el (tramp-adb-handle-copy-file)
6654 (tramp-adb-handle-rename-file)
6655 * net/tramp-cmds.el (tramp-list-remote-buffers)
6656 (tramp-cleanup-connection, tramp-cleanup-this-connection)
6657 * net/tramp-compat.el (tramp-compat-process-running-p)
6658 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
6659 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
6660 (tramp-gvfs-handle-rename-file)
6661 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
6662 (tramp-set-file-uid-gid)
6663 * net/tramp-smb.el (tramp-smb-handle-copy-file)
6664 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
6665 of `file-remote-p'.
6666
6667 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
6668 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
6669 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
6670 (tramp-gw-open-network-stream): Suppress unrelated traces.
6671
6672 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
6673 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
6674 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6675 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
6676 connection property.
6677
6678 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 6679 persistency file.
4c1f03ef
MA
6680
6681 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6682 Refactor common code. Improve debug message.
6683 (tramp-maybe-open-connection)
6684 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
6685 connection buffer too early.
6686
6687 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
6688 from `tramp-smb-actions-with-acl'.
6689 (tramp-smb-actions-set-acl): New defconst.
6690 (tramp-smb-handle-copy-directory)
6691 (tramp-smb-action-get-acl): New defun, renamed from
6692 `tramp-smb-action-with-acl'.
6693 (tramp-smb-action-set-acl): New defun.
6694 (tramp-smb-handle-set-file-acl): Rewrite.
6695
642eb8b6
GM
66962013-10-17 Glenn Morris <rgm@gnu.org>
6697
6698 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
6699
85527ff3
SM
67002013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
6701
921c1d62
SM
6702 * skeleton.el (skeleton-newline): Remove.
6703 (skeleton-internal-1): Use (insert "\n") instead.
6704
e333fb10
SM
6705 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
6706 let-bindings.
6707
85527ff3
SM
6708 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
6709 forward-sexp-function while we redo its job (bug#15613).
6710
c8722a97
JB
67112013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
6712
6713 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
6714 represented by lists.
6715
7a550bbb
GM
67162013-10-16 Glenn Morris <rgm@gnu.org>
6717
6718 * tmm.el (tmm--history): New dynamic variable.
6719 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
6720
f19da8ad
MA
67212013-10-16 Michael Albinus <michael.albinus@gmx.de>
6722
6723 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
6724 (tramp-smb-errors): Add error messages.
6725 (tramp-smb-actions-with-acl): New defconst.
afe1e4c8 6726 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
f19da8ad
MA
6727 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
6728 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
6729 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
6730 (tramp-smb-get-stat-capability): Fix tests.
6731
a24b9961
DK
67322013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
6733
6734 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
6735 (bug#15580).
6736
62ad85e6
GM
67372013-10-16 Glenn Morris <rgm@gnu.org>
6738
0283d6b0
GM
6739 * ansi-color.el (ansi-color-drop-regexp):
6740 Add 1J, 1K, 2K. (Bug#15617)
6741
012e2f9f
GM
6742 * files.el (hack-local-variables--warned-lexical): New.
6743 (hack-local-variables):
6744 Warn about misplaced lexical-binding. (Bug#15616)
6745
62ad85e6
GM
6746 * net/eww.el (eww-render): Always set eww-current-url,
6747 and update header line. (Bug#15622)
6748 (eww-display-html): ... Rather than just doing it here.
6749
6456c0ea
EZ
67502013-10-15 Eli Zaretskii <eliz@gnu.org>
6751
6752 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
6753 menu navigations commands.
6754
c2de5588
DK
67552013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
6756
6757 * progmodes/subword.el (subword-capitalize): Be careful when
6758 the search for [[:alpha:]] fails (bug#15580).
6759
ccd4a783
EZ
67602013-10-14 Eli Zaretskii <eliz@gnu.org>
6761
6762 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
6763 to commands that scroll the menu.
6764
1eda1d8d
DG
67652013-10-14 Dmitry Gutov <dgutov@yandex.ru>
6766
c2de5588
DK
6767 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
6768 Handle methods ending with `?' and `!'.
1eda1d8d 6769
e70181b8
AM
67702013-10-14 Akinori MUSHA <knu@iDaemons.org>
6771
6772 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
6773 `japanese-cp932' to `cp932' to fix the problem where saving a
6774 source file written in Shift_JIS twice would end up having
6775 `coding: japanese-cp932' which Ruby could not recognize.
6776 (ruby-mode-set-encoding): Add support for encodings mapped to nil
6777 in `ruby-encoding-map'.
6778 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
6779 doesn't need to be explicitly declared in magic comment.
6780 (ruby-encoding-map): Add type declaration for better customize UI.
6781
9148ee92
GM
67822013-10-13 Glenn Morris <rgm@gnu.org>
6783
a5d38e34
GM
6784 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
6785 Occur buffers are read-only. http://bugs.debian.org/720775
6786
9148ee92
GM
6787 * emacs-lisp/authors.el (authors-fixed-entries):
6788 Comment out old alpha stuff.
6789
a9ba094b
DG
67902013-10-13 Dmitry Gutov <dgutov@yandex.ru>
6791
6792 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
6793 to `after-save-hook' instead of `before-save-hook'.
6794 (ruby-mode-set-encoding): Use the value of coding system used to
6795 write the file. Call `basic-save-buffer-1' after modifying the
6796 buffer.
6797
7a068717
AM
67982013-10-13 Alan Mackenzie <acm@muc.de>
6799
6800 Fix indentation/fontification of Java enum with
6801 "implements"/generic.
6802
c2de5588
DK
6803 * progmodes/cc-engine.el (c-backward-over-enum-header):
6804 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
6805 (c-inside-bracelist-p): Uses new function above.
6806 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
6807 function above.
6808 (c-font-lock-enum-tail): Uses new function above.
6809
85b64f02
KH
68102013-10-13 Kenichi Handa <handa@gnu.org>
6811
6812 * international/mule-cmds.el (select-safe-coding-system): Remove a
6813 superfluous condition in chekcing whether a coding system is safe
6814 or not.
6815
fc7f501b
OK
68162013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
6817
6818 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
6819
fdcb2049
AP
68202013-10-13 Andreas Politz <politza@hochschule-trier.de>
6821
6822 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
6823
8c106d17
GM
68242013-10-13 Glenn Morris <rgm@gnu.org>
6825
feab892d
GM
6826 * menu-bar.el (menu-bar-update-buffers):
6827 Unify Buffers menu prompt string. (Bug#15576)
6828
b22d0686
GM
6829 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
6830
8c106d17
GM
6831 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
6832 Add some entries.
6833 (authors-fixed-entries): Use accented form of name.
6834
1b12c797
SM
68352013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6836
650fa7bf 6837 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 6838 method calls (bug#15594).
650fa7bf
SM
6839 (ruby-smie--args-separator-p): New function.
6840 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
6841 recognize paren-free method calls.
6842
1b12c797
SM
6843 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
6844 internals of universal-argument.
6845
029619c8
EZ
68462013-10-11 Eli Zaretskii <eliz@gnu.org>
6847
6848 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
6849 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
6850 dropped menu on second mouse click on the menu bar.
029619c8 6851
dd070019
SM
68522013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6853
6854 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
6855 (explicit-shell-file-name): Declare.
6856 (sh--vars-before-point, sh--cmd-completion-table): New functions.
6857 (sh-completion-at-point-function): New function.
6858 (sh-mode): Use it.
6859 (sh-smie--keyword-p): Remove unused argument.
6860 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
6861 vars.
6862 (sh-set-shell): Always setup SMIE, even if we use the
6863 old indentation code.
6864
0922b826
DG
68652013-10-11 Dmitry Gutov <dgutov@yandex.ru>
6866
b68e2926
DG
6867 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
6868 cases of ? and =.
6869 (ruby-smie-rules): Simplify the "do" rule. The cases when the
6870 predicate would return nil are almost non-existent.
6871 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
6872
0922b826
DG
6873 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
6874 cache also after commands that modify the buffer but don't move
6875 point.
6876
ee041f2d
SM
68772013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
6878
6879 * env.el (substitute-env-in-file-name): New function.
6880 (substitute-env-vars): Extend the meaning of the optional arg.
6881
a5dab159
EZ
68822013-10-10 Eli Zaretskii <eliz@gnu.org>
6883
6884 * term/w32-win.el (dynamic-library-alist): Define separate lists
6885 of GIF DLLs for versions before and after 5.0.0 of giflib.
6886 (Bug#15531)
6887
0449d6cd 68882013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
6889
6890 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
6891 not locked, use last revision and current source as
6892 defaults. (Bug#15569)
6893
2f6e161e
MY
68942013-10-10 Masatake YAMATO <yamato@redhat.com>
6895
6896 * menu-bar.el (menu-bar-open): Don't use popup-menu if
6897 menu-bar is hidden.
6898
6c8413fc
MR
68992013-10-10 Martin Rudalics <rudalics@gmx.at>
6900
6901 * window.el (pop-to-buffer-same-window): Fix doc-string.
6902 (Bug#15492)
6903
20832de0
SM
69042013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
6905
6906 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
6907
c6e8ae77
AC
69082013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
6909
6910 * calendar/icalendar.el (icalendar-import-file):
6911 Fix interactive spec. (Bug#15482)
6912
9db13baf
GM
69132013-10-10 Glenn Morris <rgm@gnu.org>
6914
9271e90e
GM
6915 * desktop.el (desktop-save): Default to saving in .emacs.d,
6916 since PWD is no longer in desktop-path by default. (Bug#15319)
6917
9db13baf
GM
6918 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
6919 now that text mode has a menu with the same entry.
6920 (menu-bar-text-mode-auto-fill): Remove now unused func.
6921 * textmodes/text-mode.el (text-mode-map):
6922 Use auto-fill help text from menu-bar.el.
6923
a0be396a 69242013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
6925
6926 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
6927
2edcd3c7
JL
69282013-10-09 Juri Linkov <juri@jurta.org>
6929
6930 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
6931 instead of this-command-keys. Add universal-argument-more and
6932 universal-argument-minus to the list of prefix commands. (Bug#15568)
6933
574411d0
GM
69342013-10-09 Glenn Morris <rgm@gnu.org>
6935
14afa541
GM
6936 * vc/vc-svn.el (vc-svn-create-repo):
6937 Expand paths in file://... url. (Bug#15446)
6938
574411d0
GM
6939 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
6940 Add some entries.
6941 (authors): Remove unused local variables.
6942
79804536
SM
69432013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
6944
6945 * profiler.el: Create a more coherent calltree from partial backtraces.
6946 (profiler-format): Hide the tail with `invisible' so that C-s can still
6947 find the hidden elements.
6948 (profiler-calltree-depth): Don't recurse so enthusiastically.
6949 (profiler-function-equal): New hash-table-test.
6950 (profiler-calltree-build-unified): New function.
6951 (profiler-calltree-build): Use it.
6952 (profiler-report-make-name-part): Indent the calltree less.
6953 (profiler-report-mode): Add visibility specs for profiler-format.
6954 (profiler-report-expand-entry, profiler-report-toggle-entry):
6955 Expand the whole subtree when provided with a prefix arg.
6956
238150c8
DG
69572013-10-09 Dmitry Gutov <dgutov@yandex.ru>
6958
6959 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
6960 iuwu-mod token.
6961 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
6962 hanging iuwu-mod token.
6963 (ruby-smie--forward-token): Do not include a dot after a token in
6964 that token.
6965 (ruby-smie--backward-token): Likewise.
6966
b0949cc4
JL
69672013-10-08 Juri Linkov <juri@jurta.org>
6968
6969 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
6970 to isearch-other-control-char.
6971 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
6972 and isearch-post-command-hook to post-command-hook.
6973 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
6974 and isearch-post-command-hook from post-command-hook.
6975 (isearch-unread-key-sequence)
6976 (isearch-reread-key-sequence-naturally)
6977 (isearch-lookup-scroll-key, isearch-other-control-char)
6978 (isearch-other-meta-char): Remove functions.
6979 (isearch-pre-command-hook, isearch-post-command-hook):
6980 New functions based on isearch-other-meta-char rewritten
6981 relying on the new behavior of overriding-terminal-local-map
6982 that does not replace the local keymaps any more. (Bug#15200)
6983
4ed77415
EZ
69842013-10-08 Eli Zaretskii <eliz@gnu.org>
6985
6986 Support menus on text-mode terminals.
6987 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
6988 functionality.
6989
6990 * tooltip.el (tooltip-mode): Don't error out on TTYs.
6991
c2de5588
DK
6992 * menu-bar.el (popup-menu, popup-menu-normalize-position):
6993 Move here from mouse.el.
4ed77415
EZ
6994 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
6995 and arrow keys.
6996 (tty-menu-navigation-map): New map for TTY menu navigation.
6997
6998 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
6999
7000 * frame.el (display-mouse-p): Report text-mode mouse as available
7001 on w32.
7002 (display-popup-menus-p): Report availability if mouse is
7003 available; don't condition on window-system.
7004
7005 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
7006 (tty-menu-selected-face): New faces.
7007
b7d5bd82
TL
70082013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7009
06286513
SM
7010 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
7011 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
7012 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
7013 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
7014 New constants.
7015 (lisp-mode-variables): New `elisp' argument.
7016 (emacs-lisp-mode): Use it.
7017 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
7018 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
7019
b7d5bd82
TL
7020 * indent.el: Use lexical-binding.
7021 (indent-region): Add progress reporter.
7022 (tab-stop-list): Make it implicitly extend to infinity by repeating the
7023 last step.
7024 (indent--next-tab-stop): New function to implement this behavior.
7025 (tab-to-tab-stop, move-to-tab-stop): Use it.
7026
70272013-10-08 Teemu Likonen <tlikonen@iki.fi>
7028
7029 * indent.el (indent-rigidly--current-indentation): New function.
7030 (indent-rigidly-map): New var.
7031 (indent-rigidly): Use it to provide interactive mode (bug#8196).
7032
5ea75d23
BG
70332013-10-08 Bastien Guerry <bzg@gnu.org>
7034
f2726fa2 7035 * register.el (insert-register): Fix 2013-10-07 change.
5ea75d23 7036
cc5da1ec
SM
70372013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7038
8ffa1a0b
SM
7039 * progmodes/perl-mode.el: Use lexical-binding.
7040 Remove redundant :group args.
7041 (perl-nochange): Change default to be closer to other major modes's
7042 standard behavior.
7043 (perl-indent-line): Don't consider text on current line as a
7044 valid beginning of function from which to indent.
7045
f2223371
SM
7046 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
7047 with more than one argument (bug#15538).
7048
44256060
SM
7049 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
7050
cc5da1ec
SM
7051 * vc/pcvs.el: Use lexical-binding.
7052 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
7053 environment of `eval'.
7054 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
7055 than a list of expressions. Adjust callers.
7056 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
7057
0ea1599d
DG
70582013-10-07 Dmitry Gutov <dgutov@yandex.ru>
7059
7060 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 7061 case of the dot in a chained method call being on the following line.
0ea1599d 7062
da3e5ebb
SM
70632013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7064
2abb4e65
SM
7065 * electric.el (electric-indent-inhibit): New var.
7066 (electric-indent-post-self-insert-function): Use it.
7067 * progmodes/python.el (python-mode): Set it.
7068
d2e0e795
SM
7069 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
7070 open braces.
7071
7072 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
7073
bdc6b4c8
SM
7074 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
7075 (css-mode): Use electric-indent-chars.
7076
da3e5ebb
SM
7077 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
7078 (font-lock-beg, font-lock-end): Move before first use.
7079 (nxml-mode): Use syntax-propertize-function.
7080 (nxml-after-change, nxml-after-change1): Adjust accordingly.
7081 (nxml-extend-after-change-region): Remove.
7082 * nxml/xmltok.el: Use lexical-binding.
7083 (xmltok-save): Use `declare'.
7084 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
7085 * nxml/nxml-util.el: Use lexical-binding.
7086 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
7087 Use `declare'.
7088 * nxml/nxml-ns.el: Use lexical-binding.
7089 (nxml-ns-save): Use `declare'.
7090 (nxml-ns-prefixes-for): Avoid add-to-list.
7091 * nxml/rng-match.el: Use lexical-binding.
7092 (rng--ipattern): Use cl-defstruct.
7093 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
7094 (rng-cons-group-after, rng-subst-group-after)
7095 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
7096 Use closures instead of `(lambda...).
7097
f8f91d5d
MA
70982013-10-07 Michael Albinus <michael.albinus@gmx.de>
7099
7100 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
7101 of BEG and END.
7102
da3e5ebb
SM
7103 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7104 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
7105 (tramp-gvfs-handle-insert-file-contents): Remove function.
7106
da3e5ebb
SM
7107 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
7108 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
7109
7110 * net/trampver.el: Update release number.
7111
7ccae3b1
SM
71122013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7113
55ca2c0d
SM
7114 * progmodes/compile.el (compilation-parse-errors):
7115 Use compilation--put-prop.
7116 (compilation--ensure-parse): Check compilation-multiline.
7117
731fc3ae
SM
7118 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
7119
da3e5ebb
SM
7120 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
7121 lexical-binding.
a5833280 7122
2e7ba2c2
SM
7123 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
7124
7ccae3b1
SM
7125 * progmodes/ruby-mode.el: Fix recently added tests.
7126 (ruby-smie-grammar): Add - and +.
7127 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
7128 (ruby-smie--backward-id): New functions.
7129 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
7130 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
7131 any more.
7132
85698d63
LL
71332013-10-07 Leo Liu <sdl.web@gmail.com>
7134
7135 * register.el (register-preview-delay)
7136 (register-preview-functions): New variables.
7137 (register-read-with-preview, register-preview)
7138 (register-describe-oneline): New functions.
7139 (point-to-register, window-configuration-to-register)
7140 (frame-configuration-to-register, jump-to-register)
7141 (number-to-register, view-register, insert-register)
7142 (copy-to-register, append-to-register, prepend-to-register)
7143 (copy-rectangle-to-register): Use register-read-with-preview to
7144 read register. (Bug#15525)
7145
3986af6c
DS
71462013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
7147
7148 * net/network-stream.el (network-stream-open-starttls): Don't add
7149 --insecure if it's already present, because that gnutls-cli
7150 rejects getting that parameter twice.
7151
5cd9cda9
DG
71522013-10-06 Dmitry Gutov <dgutov@yandex.ru>
7153
7154 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
7155 keyword, too.
7156
da9ea6d9
DG
71572013-10-05 Dmitry Gutov <dgutov@yandex.ru>
7158
7159 * newcomment.el (comment-use-global-state): Change default value
7160 to t, mark obsolete (Bug#15251).
7161 (comment-beginning): In addition to `comment-to-syntax', check the
7162 value of `comment-use-global-state'.
7163
34d1a133
SM
71642013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7165
7166 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
7167 (ruby-comment-column): Follow the global default, by default.
7168 (ruby-smie-grammar): Add assignment syntax.
7169 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
7170 open-paren, a comma, or a \.
7171 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
7172 and line continuations.
7173 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
7174 followed by implicit semi-colons. Add rule for string concatenation
7175 and for indentation at BOB.
27821a89 7176 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
34d1a133
SM
7177
7178 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
7179 calling next-sexp, since next-token may have skipped chars which
7180 next-sexp doesn't know should be skipped!
7181
6f6ab820
LL
71822013-10-05 Leo Liu <sdl.web@gmail.com>
7183
34d1a133
SM
7184 * progmodes/octave.el (octave-send-region):
7185 Call compilation-forget-errors.
6f6ab820 7186
34ca0f4c
XF
71872013-10-04 Xue Fuqiao <xfq.free@gmail.com>
7188
7189 * vc/vc-svn.el (vc-svn-find-admin-dir):
7190 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
7191 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
7192 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
7193 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
7194
a27c1b72
SM
71952013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
7196
7197 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
7198
258ab3bc
SM
71992013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
7200
7201 * subr.el (read-passwd): Hide chars even when called within a context
7202 where after-change-functions is disabled (bug#15501).
7203 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
7204 until we removed ourself from overriding-terminal-local-map.
7205
939fb29c
LL
72062013-10-04 Leo Liu <sdl.web@gmail.com>
7207
258ab3bc
SM
7208 * progmodes/octave.el (inferior-octave-mode):
7209 Call compilation-forget-errors.
939fb29c 7210
63bd7f35
XF
72112013-10-04 Xue Fuqiao <xfq.free@gmail.com>
7212
7213 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
7214
9e6229fa
MA
72152013-10-04 Michael Albinus <michael.albinus@gmx.de>
7216
7217 * net/secrets.el (secrets-create-collection): Add optional
7218 argument ALIAS. Use proper Label keyword. Append ALIAS as
7219 dbus-call-method argument. (Bug#15516)
7220
1dab32a3
LL
72212013-10-04 Leo Liu <sdl.web@gmail.com>
7222
7223 * progmodes/octave.el (inferior-octave-error-regexp-alist)
7224 (inferior-octave-compilation-font-lock-keywords): New variables.
7225 (compilation-error-regexp-alist)
7226 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
7227 (inferior-octave-mode): Use compilation-shell-minor-mode.
7228
6cad7ba3
JS
72292013-10-04 Jorgen Schaefer <forcer@forcix.cx>
7230
7231 * minibuffer.el (completion--replace): Be careful that `end' might be
7232 a marker.
7233
acbadd00
DU
72342013-10-03 Daiki Ueno <ueno@gnu.org>
7235
7236 Add support for package signature checking.
7237 * emacs-lisp/package.el (url-http-file-exists-p)
7238 (epg-make-context, epg-context-set-home-directory)
7239 (epg-verify-string, epg-context-result-for)
7240 (epg-signature-status, epg-signature-to-string)
7241 (epg-check-configuration, epg-configuration)
7242 (epg-import-keys-from-file): Declare.
7243 (package-check-signature): New user option.
7244 (package-unsigned-archives): New user option.
7245 (package-desc): Add `signed' field.
7246 (package-load-descriptor): Set `signed' field if .signed file exists.
7247 (package--archive-file-exists-p): New function.
7248 (package--check-signature): New function.
7249 (package-install-from-archive): Check package signature.
7250 (package--download-one-archive): Check archive signature.
7251 (package-delete): Remove .signed file.
7252 (package-import-keyring): New command.
7253 (package-refresh-contents): Import default keyring.
7254 (package-desc-status): Add "unsigned" status.
7255 (describe-package-1, package-menu--print-info)
7256 (package-menu-mark-delete, package-menu--find-upgrades)
7257 (package-menu--status-predicate): Support "unsigned" status.
7258
adf2aa61
SM
72592013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7260
7261 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
7262 the new compilation scheme using the new byte-codes.
7263
7264 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
7265 (byte-pophandler): New byte codes.
7266 (byte-goto-ops): Adjust accordingly.
7267 (byte-compile--use-old-handlers): New var.
7268 (byte-compile-catch): Use new byte codes depending on
7269 byte-compile--use-old-handlers.
7270 (byte-compile-condition-case--old): Rename from
7271 byte-compile-condition-case.
7272 (byte-compile-condition-case--new): New function.
7273 (byte-compile-condition-case): New function that dispatches depending
7274 on byte-compile--use-old-handlers.
7275 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
7276 when we can.
7277
7278 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
7279 Optimize under `condition-case' and `catch' if
7280 byte-compile--use-old-handlers is nil.
7281 (disassemble-offset): Handle new bytecodes.
7282
328a8179
SM
72832013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7284
7285 * subr.el (error): Use `declare'.
7286 (decode-char, encode-char): Use advertised-calling-convention instead
7287 of the docstring to discourage use of the `restriction' arg.
7288
15a1e936
DU
72892013-10-03 Daiki Ueno <ueno@gnu.org>
7290
7291 * epg.el (epg-verify-file): Add a comment saying that it does not
7292 notify verification error as a return value nor a signal.
7293 (epg-verify-string): Ditto.
7294
376f862a
KR
72952013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
7296
7297 * progmodes/compile.el (compilation-start): Try globbing the arg to
7298 `cd' (bug#15417).
7299
a2f93a5f
MA
73002013-10-02 Michael Albinus <michael.albinus@gmx.de>
7301
7302 Sync with Tramp 2.2.8.
7303
7304 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
7305 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
7306 * net/trampver.el: Update release number.
7307
0daa0804
JD
73082013-10-01 Jan Djärv <jan.h.d@swipnet.se>
7309
7310 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
7311 and default-process-coding-system for darwin only.
7312
abd1ae34
SM
73132013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
7314
7315 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
7316
be4e325d
MH
73172013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
7318
7319 * vc/vc-git.el (vc-git-grep): Disable pager.
7320
e9155c4a
DG
73212013-10-01 Dmitry Gutov <dgutov@yandex.ru>
7322
494e898b
DG
7323 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
7324 Use :url instead of :homepage, as per
7325 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
7326
e9155c4a
DG
7327 * newcomment.el (comment-beginning): When `comment-use-syntax' is
7328 non-nil, use `syntax-ppss' (Bug#15251).
7329
481a8e0f
RS
73302013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7331
be4e325d
MH
7332 * progmodes/octave.el (inferior-octave-startup-file):
7333 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 7334
056453c6
DG
73352013-09-29 Dmitry Gutov <dgutov@yandex.ru>
7336
be4e325d
MH
7337 * emacs-lisp/package.el (package-desc-from-define):
7338 Accept additional arguments as plist, convert them to an alist and store
7339 them in the `extras' slot.
056453c6
DG
7340 (package-generate-description-file): Convert extras alist back to
7341 plist and append to the `define-package' form arguments.
7342 (package--alist-to-plist): New function.
7343 (package--ac-desc): Add `extras' slot.
7344 (package--add-to-archive-contents): Check if the archive-contents
7345 vector is long enough, and if it is, pass its `extras' slot value
7346 to `package-desc-create'.
7347 (package-buffer-info): Call `lm-homepage', pass the returned value
7348 to `package-desc-from-define'.
7349 (describe-package-1): Render the homepage button (Bug#13291).
7350
be4e325d
MH
7351 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7352 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 7353
832966e5
JD
73542013-09-29 Jan Djärv <jan.h.d@swipnet.se>
7355
7356 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
7357 and default-process-coding-system to utf-8-unix (Bug#15402).
7358
6cfe977d
XF
73592013-09-29 Xue Fuqiao <xfq.free@gmail.com>
7360
7361 * subr.el (looking-back): Do not recommend using looking-back.
7362
38de11bd
AM
73632013-09-28 Alan Mackenzie <acm@muc.de>
7364
7365 Fix indentation/fontification of Java enum with "implements".
7366
7367 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
7368 regexp which matches "implements", etc., in Java.
7369 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
7370 specifier clauses coming after "enum".
7371 * progmodes/cc-fonts.el (c-font-lock-declarations)
7372 (c-font-lock-enum-tail): Check for extra specifier clauses coming
7373 after "enum".
7374
1610938f
JD
73752013-09-28 Jan Djärv <jan.h.d@swipnet.se>
7376
7377 * faces.el (region): Change ns_selection_color to
7378 ns_selection_fg_color, add ns_selection_bg_color.
7379
e090f499
LL
73802013-09-28 Leo Liu <sdl.web@gmail.com>
7381
4d2e94d1
LL
7382 * progmodes/octave.el (inferior-octave-completion-table)
7383 (inferior-octave-completion-at-point): Minor tweaks.
7384
e090f499
LL
7385 * textmodes/ispell.el (ispell-lookup-words): Rename from
7386 lookup-words. (Bug#15460)
7387 (lookup-words): Obsolete.
7388 (ispell-complete-word, ispell-command-loop): All uses changed.
7389
7e138a62
RS
73902013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7391
a12bf61e 7392 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
7e138a62
RS
7393 (octave-mode-menu): Add octave-send-buffer.
7394 (octave-send-buffer): New function.
7395
5af5ed08
RS
73962013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7397
a12bf61e 7398 * progmodes/octave.el (octave-mode-map): Add key binding for
5af5ed08
RS
7399 octave-lookfor.
7400 (octave-mode-menu): Add octave-lookfor.
7401 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
7402 octave-lookfor.
7403 (octave-lookfor): New function.
7404
3b7b2692
SM
74052013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
7406
35e951cd 7407 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
3b7b2692
SM
7408 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
7409 its convention.
7410 (cl--loop-set-iterator-function): New function.
7411 (cl-loop): Adjust accordingly, so as not to use cl-subst.
7412 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
7413 Bind `it' with `let' instead of substituting it with `cl-subst'.
7414 (cl--unused-var-p): New function.
7415 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
7416 Eliminate some unused variable warnings (bug#15326).
7417
529fb53f
TH
74182013-09-27 Tassilo Horn <tsdh@gnu.org>
7419
7420 * doc-view.el (doc-view-scale-reset): Rename from
7421 `doc-view-reset-zoom-level'.
7422 (doc-view-scale-adjust): New command.
7423 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
7424 `doc-view-scale-adjust'.
7425
0550c95a
TH
74262013-09-26 Tassilo Horn <tsdh@gnu.org>
7427
7428 * doc-view.el (doc-view-reset-zoom-level): New command.
7429 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
7430 zoom commands (bug#15466).
7431
6950f152
KH
74322013-09-26 Kenichi Handa <handa@gnu.org>
7433
7434 * international/quail.el (quail-help): Make it not a command.
7435
39587580
LL
74362013-09-26 Leo Liu <sdl.web@gmail.com>
7437
7438 * minibuffer.el (completion-all-sorted-completions): Make args
7439 optional as they are.
7440
00578659
DC
74412013-09-25 Daniel Colascione <dancol@dancol.org>
7442
7443 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
7444 specs are and that they're not evaluated.
7445
0c173878
SS
74462013-09-24 Sam Steingold <sds@gnu.org>
7447
7448 * midnight.el (clean-buffer-list-kill-regexps)
7449 (clean-buffer-list-kill-buffer-names): Update for the new Man
7450 buffer naming which includes the object name.
7451
84998447
SM
74522013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7453
7454 * eshell/esh-cmd.el (eshell--sep-terms): New var.
7455 (eshell-parse-command, eshell-parse-pipeline): Use it since
7456 eshell-separate-commands requires a dynamic scoped var.
7457 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
7458
33215353
LL
74592013-09-23 Leo Liu <sdl.web@gmail.com>
7460
7461 * autoinsert.el (auto-insert-alist): Make the value of
7462 lexical-binding match its file setting.
7463
57b16162
JB
74642013-09-23 Juanma Barranquero <lekktu@gmail.com>
7465
c8af4e67
JB
7466 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
7467
57b16162
JB
7468 * autoarg.el (autoarg-kp-digit-argument):
7469 * electric.el (Electric-command-loop):
7470 * kmacro.el (kmacro-step-edit-insert):
7471 Do not set universal-argument-num-events.
7472
7186ba60
LL
74732013-09-22 Leo Liu <sdl.web@gmail.com>
7474
7475 * files.el (interpreter-mode-alist): Add octave.
7476
ece15004
AM
74772013-09-21 Alan Mackenzie <acm@muc.de>
7478
7479 C++: fontify identifier in declaration following "public:" correctly.
7480 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
7481 to match "public", etc.
7482 (c-decl-prefix-re): Add ":" into the C++ value.
7483 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
7484 bit. Add a check for a ":" preceded by "public", etc.
7485
75d83e22
EZ
74862013-09-21 Eli Zaretskii <eliz@gnu.org>
7487
7488 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
7489 recognized by GDB 7.5 and later.
7490
d052d3bd
XF
74912013-09-21 Xue Fuqiao <xfq.free@gmail.com>
7492
7493 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
7494
31dca772
R
74952013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7496
7497 * subr.el (internal--call-interactively): New const.
7498 (called-interactively-p): Use it (bug#3984).
7499
98ccf24e
XF
75002013-09-20 Xue Fuqiao <xfq.free@gmail.com>
7501
7502 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
7503 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
7504 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 7505
c39cc7d1
SM
75062013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7507
7508 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
7509 (eshell-ls-orig-insert-directory): Remove.
7510 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
7511 (eshell-ls-use-in-dired): Use advice-add/remove.
7512 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
7513 Add `orig-fun' arg for use in :around advice.
7514 Make it check (redundantly) eshell-ls-use-in-dired.
7515
9a0289a2
GM
75162013-09-19 Glenn Morris <rgm@gnu.org>
7517
a2c501b8
GM
7518 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
7519
c440407a
GM
7520 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
7521
9a0289a2
GM
7522 * emacs-lisp/eieio.el (class-parent): Undo previous change.
7523
85e05915
MA
75242013-09-19 Michael Albinus <michael.albinus@gmx.de>
7525
7526 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
7527 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
7528 (tramp-get-remote-python): New defuns.
7529 (tramp-get-remote-uid-with-perl)
7530 (tramp-get-remote-gid-with-perl): New defuns. Perl code
7531 contributed by yary <not.com@gmail.com> (tiny change).
7532 (tramp-get-remote-uid-with-python)
7533 (tramp-get-remote-gid-with-python): New defuns. Python code
7534 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
7535 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
7536
ce503312
GM
75372013-09-19 Glenn Morris <rgm@gnu.org>
7538
f7544773
GM
7539 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
7540
72fd2877
GM
7541 * eshell/em-unix.el (eshell-remove-entries):
7542 Rename argument to avoid name-clash with global `top-level'.
7543
336b5a56
GM
7544 * eshell/esh-proc.el (eshell-kill-process-function):
7545 Remove eshell-reset-after-proc from eshell-kill-hook if present.
7546 (eshell-reset-after-proc): Remove unused arg `proc'.
7547
57a3a53d
GM
7548 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
7549 (directory-files-and-attributes): Mark unused arg.
7550
3261d4af
GM
7551 * eshell/em-unix.el (eshell-remove-entries):
7552 Remove unused arg `path'. Update callers.
7553
8e51b5d0
GM
7554 * eshell/em-hist.el (eshell-hist-parse-arguments):
7555 Remove unused arg `silent'. Update callers.
7556
ce503312
GM
7557 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
7558 Fix (f)boundp mix-up.
7559
7560 * eshell/em-smart.el (eshell-smart-scroll-window)
7561 (eshell-disable-after-change):
336b5a56 7562 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 7563
ee3ce8a7
AM
75642013-09-18 Alan Mackenzie <acm@muc.de>
7565
7566 Fix fontification of type when followed by "const".
7567 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
7568 "known" types from fontification.
7569
ec9177ba
GM
75702013-09-18 Glenn Morris <rgm@gnu.org>
7571
7bb3e768
GM
7572 * emacs-lisp/chart.el (x-display-color-cells): Declare.
7573 (chart-face-list): Drop Emacsen without display-color-p.
7574
5148da15
GM
7575 * net/eww.el (libxml-parse-html-region): Declare.
7576 (eww-display-html): Explicit error if no libxml2 support.
7577
2f68e157
GM
7578 * doc-view.el (doc-view-mode): Silence --without-x compilation.
7579
9019d095
GM
7580 * image.el (image-type-from-buffer, image-multi-frame-p):
7581 Remove --without-x warning/error.
67645389 7582
5f30349b 7583 * mouse.el (mouse-yank-primary):
45069b2e 7584 * term.el (term-mouse-paste):
5f30349b
GM
7585 Reorder to silence --without-x compilation.
7586
cd8edbbe
GM
7587 * mpc.el (doc-view-mode): Silence --without-x compilation.
7588
8a78544e
GM
7589 * mail/rmailmm.el (rmail-mime-set-bulk-data):
7590 Silence --without-x compilation.
7591
12679bfd
GM
7592 * progmodes/gud.el (gud-find-file, gud-mode):
7593 Silence --without-x compilation.
7594 (tooltip-mode): Declare.
30810a05 7595
f0047cb9
GM
7596 * wdired.el (dired-backup-overwrite): Remove declaration.
7597 (wdired-mode-map): Add doc string.
7598
e740f9d2
GM
7599 * custom.el (x-get-resource): Declare.
7600
92d77c89
GM
7601 * eshell/em-glob.el (ange-cache):
7602 * eshell/em-unix.el (ange-cache): Declare.
7603
76e69577
GM
7604 * faces.el (x-display-list, x-open-connection, x-get-resource):
7605 Declare.
7e58af4b
GM
7606
7607 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
7608 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
7609 Declare.
76e69577 7610
4bd4c0af 7611 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 7612
ffb82dbd
GM
7613 * net/gnutls.el (gnutls-log-level): Declare.
7614
986ed135
GM
7615 * net/shr.el (image-size, image-animate): Declare.
7616
e740f9d2
GM
7617 * simple.el (font-info): Declare.
7618
d2f3e9f8
GM
7619 * subr.el (x-popup-dialog): Declare.
7620
047a1a4c
GM
7621 * term/common-win.el (x-select-enable-primary)
7622 (x-last-selected-text-primary, x-last-selected-text-clipboard):
7623 Declare.
7624
f4a1d572
GM
7625 * term/ns-win.el (x-handle-args): Declare.
7626
e843de77
GM
7627 * term/x-win.el (x-select-enable-clipboard): Declare.
7628
5fa89513
GM
7629 * term/w32-win.el (create-default-fontset): Declare.
7630
38702b5b
GM
7631 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
7632 Declare.
7633
e740f9d2
GM
7634 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
7635 (fit-frame-to-buffer): Explicit error if --without-x.
7636 (mouse-autoselect-window-select): Silence compiler.
7637
49a053fc
GM
7638 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
7639
7640 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
7641 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
7642 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 7643 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
7644 Remove unused local variables.
7645
7646 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
7647
ec9177ba
GM
7648 * textmodes/two-column.el: Make 2C-split work for --without-x.
7649 (scroll-bar-columns): Autoload.
7650 (top-level): Require fringe when compiling.
7651
9f25cb77
LL
76522013-09-18 Leo Liu <sdl.web@gmail.com>
7653
7654 * subr.el (add-hook): Robustify to handle closure as well.
7655
2b42da98
GM
76562013-09-17 Glenn Morris <rgm@gnu.org>
7657
7658 * simple.el (messages-buffer-mode-map): Unbind "g".
7659
e8b66a6a
SM
76602013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
7661
9c0ad4f7
SM
7662 * help-mode.el (help-mode-finish): Use derived-mode-p.
7663 Remove obsolete highlighting.
7664
7a806dfb
SM
7665 * play/life.el (life-mode): Use define-derived-mode. Derive from
7666 special-mode.
7667 (life): Let-bind inhibit-read-only.
7668 (life-setup): Avoid `setq'. Use `life-mode'.
7669
96dbf5a8
SM
7670 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
7671 which should not be needed any more.
7672 (package-menu-refresh, package-menu-describe-package): Use user-error.
7673
e8b66a6a
SM
7674 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
7675 (eshell-post-rewrite-command-hook): Make obsolete.
7676 (eshell-parse-command): Simplify.
7677 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
7678 (eshell--cmd): Declare.
7679 (eshell-parse-pipeline): Remove unused var `final-p'.
7680 Pass a dynvar to eshell-post-rewrite-command-hook.
7681 Implement the new eshell-post-rewrite-command-function.
7682 (eshell-invoke-directly): Remove unused arg `input'.
7683 * eshell/esh-io.el (eshell-io-initialize):
7684 Use eshell-post-rewrite-command-function (bug#15399).
7685 (eshell--apply-redirections): Rename from eshell-apply-redirections;
7686 adjust to new calling convention.
7687 (eshell-create-handles): Rename args to avoid clashing with dynvar
7688 `standard-output'.
7689
90582f05
GM
76902013-09-17 Glenn Morris <rgm@gnu.org>
7691
7692 * simple.el (messages-buffer-mode): New major mode.
7693 (messages-buffer): New function.
7694 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
7695 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 7696 (ert-run-test): Use `messages-buffer' function.
90582f05 7697 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
7698 * help.el (view-echo-area-messages): Use `messages-buffer' function.
7699 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 7700
39eb0cb5 77012013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
7702
7703 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
7704
1d42e5b6 7705 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
1f1e06e2 7706
70568a90
SM
77072013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
7708
504a0381
SM
7709 * icomplete.el (icomplete-in-buffer): New var.
7710 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
7711 vars and replace them with functions.
7712 (icomplete-minibuffer-setup): Adjust accordingly.
7713 (icomplete--completion-table, icomplete--completion-predicate)
7714 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
7715 New functions.
7716 (icomplete-forward-completions, icomplete-backward-completions)
7717 (icomplete-simple-completing-p, icomplete-exhibit)
7718 (icomplete-completions): Use them.
7719 (icomplete--in-region-buffer): New var.
7720 (icomplete--in-region-setup): New function.
7721 (icomplete-mode): Use it.
7722
70568a90
SM
7723 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
7724 (bug#15379).
7725 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
7726 return args and options.
7727 (eshell-eval-using-options): Use the new return value of
7728 eshell--do-opts to set the options's vars in their scope.
7729 (eshell--set-option): Rename from eshell-set-option.
7730 Add arg `opt-vals'.
7731 (eshell--process-option): Rename from eshell-process-option.
7732 Add arg `opt-vals'.
7733 (eshell--process-args): Use an `opt-vals' alist to store the options's
7734 values during their processing and return them additionally to the
7735 remaining args.
7736
578c21bc
DG
77372013-09-15 Dmitry Gutov <dgutov@yandex.ru>
7738
7739 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
7740 continuation character an operator, as far as indentation is
7741 concerned (Bug#15369).
7742
c089653d
MR
77432013-09-15 Martin Rudalics <rudalics@gmx.at>
7744
7745 * window.el (window--state-put-2): Don't process buffer state
7746 when buffer doesn't exist any more (Bug#15382).
7747
1e53bb4b
GM
77482013-09-15 Glenn Morris <rgm@gnu.org>
7749
30753242
GM
7750 * eshell/em-unix.el (eshell/rm):
7751 Make -f ignore missing files. (Bug#15373)
7752
1e53bb4b
GM
7753 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
7754 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
7755 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
7756
0d8863b3
GM
77572013-09-14 Glenn Morris <rgm@gnu.org>
7758
7759 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
7760
d3fc6549
GM
77612013-09-13 Glenn Morris <rgm@gnu.org>
7762
7763 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
7764 (dired-guess-default): Make `file' available in the env. (Bug#15363)
7765
fcd42c11
DA
77662013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
7767
7768 * frame.el (x-focus-frame): Mark as declared in frame.c.
7769
7830899f
SM
77702013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
7771
7772 * ls-lisp.el: Use advice-add.
7773 (original-insert-directory): Remove.
7774 (ls-lisp--insert-directory): Rename from insert-directory; add
7775 `orig-fun' argument.
7776 (insert-directory): Advise.
7777
84387cd2
EZ
77782013-09-13 Eli Zaretskii <eliz@gnu.org>
7779
7780 * term.el (term-emulate-terminal): Decode the command string
7781 before passing it to term-command-hook. (Bug#15337)
7782
35ffc6ba
GM
77832013-09-13 Glenn Morris <rgm@gnu.org>
7784
5c3f9bcc
GM
7785 * eshell/esh-util.el (ange-cache): Move declaration earlier.
7786
2ada368a
GM
7787 * eshell/esh-ext.el (eshell-search-path): Declare.
7788
fcef2e13
GM
7789 * eshell/em-prompt.el (eshell/pwd): Autoload it.
7790 Otherwise an error occurs if eshell-dirs module not loaded.
7791
35ffc6ba
GM
7792 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
7793
35c3d36e
MA
77942013-09-13 Michael Albinus <michael.albinus@gmx.de>
7795
7796 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
7797 `tramp-check-proper-host'. Check for a valid method name.
7798
7799 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7800 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7801 * net/tramp-sh.el (tramp-maybe-open-connection):
7802 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
7803
7804 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
7805 also for hash values.
7806
ae5e4c48
SM
78072013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7808
379add74
SM
7809 * term/ns-win.el (parameters): Don't declare as dynamic.
7810 (before-make-frame-hook): Don't add ineffective function.
7811
ae5e4c48
SM
7812 * eshell/*.el: Use lexical-binding (bug#15231).
7813
b5623270
KH
78142013-09-12 Kenichi Handa <handa@gnu.org>
7815
ae5e4c48 7816 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 7817
30213927
GM
78182013-09-12 Glenn Morris <rgm@gnu.org>
7819
be94d713 7820 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 7821 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 7822
44915370
GM
7823 * subr.el (do-after-load-evaluation): Also give compiler warnings
7824 when obsolete files are used (except by obsolete files).
7825
a6ae021f
GM
7826 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
7827 in the status output, assume `filename' is the first. (Bug#15322)
7828
40e64f0c
GM
7829 * vc/vc.el (vc-deduce-fileset): Doc fix.
7830
16d9f896
GM
7831 * calc/calc-help.el (Info-goto-node):
7832 * progmodes/cperl-mode.el (Info-find-node):
7833 * vc/ediff.el (Info-goto-node): Update declarations.
7834
dea01c6e
GM
7835 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
7836
759880bf 7837 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
7838 (vc-bzr-pull): Require vc-dispatcher.
7839 * vc/vc-git.el (vc-compilation-mode): Declare.
7840 (vc-git-pull): Require vc-dispatcher.
7841
08d66420
GM
7842 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
7843
30b626e9
GM
7844 * progmodes/octave.el (help-button-action): Declare.
7845
8c05cb10
GM
7846 * shell.el (shell-directory-tracker): Output error as a message
7847 rather than just returning it as a string.
7848 (shell-process-pushd): Remove useless use of message.
7849
30213927
GM
7850 * dframe.el (dframe-timer-fn):
7851 * files.el (dir-locals-read-from-file):
7852 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
7853 (mpc-format):
7854 * reveal.el (reveal-post-command):
7855 * saveplace.el (load-save-place-alist-from-file):
7856 * shell.el (shell-resync-dirs):
7857 * w32-common-fns.el (x-get-selection-value):
7858 * emacs-lisp/copyright.el (copyright-find-copyright):
7859 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
7860 * emulation/tpu-edt.el (tpu-copy-keyfile):
7861 * play/bubbles.el (bubbles--mark-neighbourhood):
7862 * progmodes/executable.el
7863 (executable-make-buffer-file-executable-if-script-p):
7864 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
7865
d3b049e6
SM
78662013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7867
170266d0
SM
7868 Cleanup Eshell to rely less on dynamic scoping.
7869 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
7870 last-value, and ext-command here. Bind `args' closer to `body'.
7871 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
7872 (eshell--args): Declare new dynamic var.
7873 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
7874 last-value, and ext-command. Pass `args' to `body'.
7875 (eshell-process-args): Bind eshell--args.
7876 (eshell-set-option): Use eshell--args.
7877 * eshell/eshell.el (eshell): Use derived-mode-p.
7878 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
7879 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
7880 (eshell-glob-function): Declare.
7881 * eshell/esh-util.el: Require cl-lib.
7882 (eshell-read-hosts-file): Avoid add-to-list.
7883 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
7884 `err'.
7885 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
7886 Declare.
7887 (eshell/diff): Remove unused var `err'.
7888 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
7889 `killflag'.
7890 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
7891 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
7892 first use.
7893 * eshell/em-glob.el (eshell-glob-matches, message-shown):
7894 Move declaration before first use.
7895 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
7896 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
7897 rely on cl-return.
7898
56834f3b
GM
78992013-09-12 Glenn Morris <rgm@gnu.org>
7900
7901 * term/ns-win.el (global-map): Remove binding for ispell-next,
7902 deleted 1999-05-29. (Bug#15357)
7903
5c91a2b8
GM
79042013-09-11 Glenn Morris <rgm@gnu.org>
7905
da712f22
GM
7906 * echistory.el (electric-command-history): Remove call to deleted func.
7907
512e4cdc
GM
7908 * play/landmark.el (landmark-mode): Fix typos.
7909
d3506ca5
GM
7910 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
7911 Check cvs-sort-ignore-file is bound.
7912
5c91a2b8
GM
7913 * savehist.el: No need for cl when compiling on Emacs.
7914
feeff482
SM
79152013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
7916
656bd483
SM
7917 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
7918 (bug#15338).
d3b049e6
SM
7919 (eshell-self-insert-command, eshell-send-invisible):
7920 Remove unused argument.
656bd483
SM
7921 (eshell-handle-control-codes): Remove unused var `orig'.
7922 Avoid delete-backward-char.
7923
feeff482
SM
7924 * files.el (set-auto-mode): Simplify a bit further.
7925
2a08047a
GM
79262013-09-11 Glenn Morris <rgm@gnu.org>
7927
7928 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
7929 (set-auto-mode): Don't regexp-quote elements.
7930 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
7931 * progmodes/cc-mode.el (interpreter-mode-alist):
7932 * progmodes/ruby-mode.el (interpreter-mode-alist):
7933 Revert previous change.
7934
34675540
SM
79352013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
7936
1b3b87df
SM
7937 * play/snake.el (snake-mode):
7938 * play/mpuz.el (mpuz-mode):
7939 * play/landmark.el (lm-mode):
7940 * play/blackbox.el (blackbox-mode):
7941 * play/5x5.el (5x5-mode):
7942 * obsolete/options.el (Edit-options-mode):
7943 * net/quickurl.el (quickurl-list-mode):
7944 * net/newst-treeview.el (newsticker-treeview-mode):
7945 * mail/rmailsum.el (rmail-summary-mode):
7946 * mail/mspools.el (mspools-mode):
7947 * locate.el (locate-mode):
7948 * ibuffer.el (ibuffer-mode):
7949 * emulation/ws-mode.el (wordstar-mode):
7950 * emacs-lisp/debug.el (debugger-mode):
7951 * array.el (array-mode):
7952 * net/eudc.el (eudc-mode): Use define-derived-mode.
7953 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
7954 Move initialization into declaration.
7955 (mairix-searches-mode): Use define-derived-mode.
7956 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
7957 (eudc-edit-hotlist): Use dolist.
7958 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
7959 (Man-mode): Use define-derived-mode.
7960 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
7961 (Info-edit-mode): Use define-derived-mode.
7962 (Info-cease-edit): Use Info-mode.
7963 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
7964 into declaration.
7965 (eshell-mode): Use define-derived-mode.
7966 * chistory.el (command-history-mode-map): Rename from
7967 command-history-map.
7968 (command-history-mode): Use define-derived-mode.
da712f22 7969 (Command-history-setup): Remove function.
1b3b87df
SM
7970 * calc/calc.el (calc-trail-mode-map): New var.
7971 (calc-trail-mode): Use define-derived-mode.
7972 (calc-trail-buffer): Set calc-main-buffer manually.
7973 * bookmark.el (bookmark-insert-annotation): New function.
7974 (bookmark-edit-annotation): Use it.
7975 (bookmark-edit-annotation-mode): Make it a proper major mode.
7976 (bookmark-send-edited-annotation): Use derived-mode-p.
7977 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
7978 closer to its ideal place. Use \' to match EOS.
7979
34675540
SM
7980 * profiler.el (profiler-calltree-find): Use function-equal.
7981
6a5c15d9
GM
79822013-09-10 Glenn Morris <rgm@gnu.org>
7983
1af4c220
GM
7984 * files.el (interpreter-mode-alist): Convert to regexps.
7985 (set-auto-mode): Adapt for this. (Bug#15306)
7986 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
7987 Comment out unused variable.
7988 * progmodes/cc-mode.el (interpreter-mode-alist):
7989 * progmodes/python.el (interpreter-mode-alist):
7990 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
7991 * progmodes/sh-script.el (sh-set-shell):
7992 No longer use interpreter-mode-alist to get list of shells.
7993
6a5c15d9
GM
7994 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
7995
8c27f5ff
SM
79962013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7997
02ef6c1a 7998 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 7999 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
8000 Bind switch-frame explicitly. Replace universal-argument-minus with
8001 a conditional binding.
8002 (universal-argument-num-events, saved-overriding-map): Remove.
8003 (restore-overriding-map): Remove.
8004 (universal-argument--mode): Rename from save&set-overriding-map,
8005 and rewrite.
8006 (universal-argument, universal-argument-more, negative-argument)
8007 (digit-argument): Adjust accordingly.
8008 (universal-argument-minus): Remove.
8009 (universal-argument-other-key): Remove.
8010
8c27f5ff
SM
8011 * subr.el (with-demoted-errors): Add `format' argument.
8012
6480194c
MA
80132013-09-10 Michael Albinus <michael.albinus@gmx.de>
8014
8015 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
8016 `tramp-cleanup-connection'.
8017
8018 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
8019 parameters KEEP-DEBUG and KEEP-PASSWORD.
8020
8021 * net/tramp.el (tramp-file-name-handler):
8022 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8023 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
8024 (tramp-maybe-open-connection):
8c27f5ff
SM
8025 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
8026 Use `tramp-cleanup-connection'.
6480194c 8027
8c27f5ff
SM
8028 * net/tramp-sh.el (tramp-maybe-open-connection):
8029 Catch 'uname-changed inside the progress reporter.
6480194c 8030
e5e916d8
GM
80312013-09-10 Glenn Morris <rgm@gnu.org>
8032
9a2c9b47
GM
8033 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
8034
e5e916d8
GM
8035 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
8036 returns "alternate access method" in mode (eg "-rw-r--r--.").
8037
144e38fe
GM
80382013-09-08 Glenn Morris <rgm@gnu.org>
8039
8040 * saveplace.el (load-save-place-alist-from-file):
8041 Demote errors. (Bug#15305)
8042
af9ff9e8
MA
80432013-09-08 Michael Albinus <michael.albinus@gmx.de>
8044
8045 Improve compatibility with older Emacsen, and XEmacs.
8046
8047 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
8048 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
8049 (with-tramp-progress-reporter): Do not let-bind `result'.
8050 This yields to scoping errors in XEmacs.
af9ff9e8
MA
8051 (tramp-handle-make-auto-save-file-name): New function, moved from
8052 tramp-sh.el.
8053
8054 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
8055 for `make-auto-save-file-name'.
8c27f5ff
SM
8056 (tramp-adb--gnu-switches-to-ash):
8057 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
8058
8059 * net/tramp-cache.el (tramp-cache-print): Call
8060 `substring-no-properties' only if it is bound. It isn't for XEmacs.
8061
8062 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
8063 bound. It isn't for XEmacs.
8064
8c27f5ff
SM
8065 * net/tramp-compat.el (tramp-compat-copy-file):
8066 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
8067 (tramp-compat-replace-regexp-in-string): New defun.
8068
8069 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
8070 for `make-auto-save-file-name'.
8071 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
8072 `copy-file'.
8073 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
8074 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
8075 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
8076
8c27f5ff
SM
8077 * net/tramp-gw.el (tramp-gw-open-network-stream):
8078 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 8079
8c27f5ff
SM
8080 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8081 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
8082 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
8083 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
8084 (tramp-sh-file-inotifywait-process-filter):
8085 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
8086 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
8087
8088 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
8089 for `make-auto-save-file-name'.
8c27f5ff
SM
8090 (tramp-smb-handle-copy-directory):
8091 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
8092 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
8093 (tramp-smb-handle-copy-file): Improve error message.
8094 (tramp-smb-handle-rename-file): Rename directly only in case
8095 `newname' does not exist yet. This is a restriction of smbclient.
8096 (tramp-smb-maybe-open-connection): Rerun the function only when
8097 `auth-sources' is non-nil.
8098
0ca754d0
KH
80992013-09-08 Kenichi Handa <handa@gnu.org>
8100
e0eb0550 8101 * international/characters.el: Set category "^" (Combining) for
0ca754d0
KH
8102 more characters.
8103
e8dd0787
AM
81042013-09-07 Alan Mackenzie <acm@muc.de>
8105
8106 Correctly fontify Java class constructors.
8107 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
8108 in Java Mode.
8109 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
8110 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
8111 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
8112 "typeless" declaration there.
8113
f2f248e7
RW
81142013-09-07 Roland Winkler <winkler@gnu.org>
8115
8116 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
8117 field subtitle for entry type book.
8118
67982e2b
SM
81192013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8120
8121 * minibuffer.el: Make minibuffer-complete call completion-in-region
8122 rather than other way around.
8123 (completion--some, completion-pcm--find-all-completions):
8124 Don't delay signals when debugging.
8125 (minibuffer-completion-contents): Beware fields within the
8126 minibuffer contents.
8127 (completion-all-sorted-completions): Use defvar-local.
8128 (completion--do-completion, completion--cache-all-sorted-completions)
8129 (completion-all-sorted-completions, minibuffer-force-complete):
8130 Add args `beg' and `end'.
8131 (completion--in-region-1): New fun, extracted from minibuffer-complete.
8132 (minibuffer-complete): Use completion-in-region.
8133 (completion-complete-and-exit): New fun, extracted from
8134 minibuffer-complete-and-exit.
8135 (minibuffer-complete-and-exit): Use it.
8136 (completion--complete-and-exit): Rename from
8137 minibuffer--complete-and-exit.
8138 (completion-in-region--single-word): New function, extracted from
8139 minibuffer-complete-word.
8140 (minibuffer-complete-word): Use it.
8141 (display-completion-list): Make `common-substring' argument obsolete.
8142 (completion--in-region): Call completion--in-region-1 instead of
8143 minibuffer-complete.
8144 (completion-help-at-point): Pass boundaries to
8145 minibuffer-completion-help as args rather than via an overlay.
8146 (completion-pcm--string->pattern): Use `any-delim'.
8147 (completion-pcm--optimize-pattern): New function.
8148 (completion-pcm--pattern->regex): Handle `any-delim'.
8149 * icomplete.el (icomplete-forward-completions)
8150 (icomplete-backward-completions, icomplete-completions):
8151 Adjust calls to completion-all-sorted-completions and
8152 completion--cache-all-sorted-completions.
8153 (icomplete-with-completion-tables): Default to t.
8154 * emacs-lisp/crm.el (crm--current-element): Rename from
8155 crm--select-current-element. Don't put an overlay but return the
8156 boundaries instead.
8157 (crm--completion-command): Take two new args to bind to the boundaries.
8158 (crm-completion-help): Adjust accordingly.
8159 (crm-complete): Use completion-in-region.
8160 (crm-complete-word): Use completion-in-region--single-word.
8161 (crm-complete-and-exit): Use completion-complete-and-exit.
8162
e17d94a5
SM
81632013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8164
8165 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
8166 than dynamically.
8167
96727100
JL
81682013-09-06 Juri Linkov <juri@jurta.org>
8169
8170 * info.el (Info-display-images-node): When image file doesn't exist
8171 display text version of the image if it's provided in the Info file.
8172 Otherwise, display the location of missing image from SRC attribute.
8173 Add help-echo text property from ALT attribute. (Bug#15279)
8174
86cf7329
SM
81752013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8176
8177 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
8178 (edit-abbrevs-mode): Use define-derived-mode.
8179
8180 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
8181 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
8182 that it's defined.
8183 (epa-key-list-mode, epa-key-mode, epa-info-mode):
8184 Use define-derived-mode.
8185
8186 * epg.el (epg-start-encrypt): Minor CSE simplification.
8187
816244a2
WX
81882013-09-06 William Xu <william.xwl@gmail.com>
8189
8190 * arc-mode.el: Add support for 7za (bug#15264).
8191 (archive-7z-program): New var.
8192 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
8193 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
8194 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
8195
1486fa31
MA
81962013-09-06 Michael Albinus <michael.albinus@gmx.de>
8197
8198 Remove URL syntax.
8199
8200 * net/tramp.el (tramp-syntax, tramp-prefix-format)
8201 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
8202 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
8203 (tramp-postfix-host-format, tramp-file-name-regexp)
8204 (tramp-completion-file-name-regexp)
8205 (tramp-completion-dissect-file-name)
8206 (tramp-handle-substitute-in-file-name): Remove 'url case.
8207 (tramp-file-name-regexp-url)
8208 (tramp-completion-file-name-regexp-url): Remove constants.
8209
39785324
GM
82102013-09-06 Glenn Morris <rgm@gnu.org>
8211
8212 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
8213
1f896cb7
DG
82142013-09-05 Dmitry Gutov <dgutov@yandex.ru>
8215
8216 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
8217 keywords" below "here-doc beginnings" (Bug#15270).
8218
c0458e0b
SM
82192013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
8220
8221 * subr.el (pop): Use `car-safe'.
8222 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
8223 to detect unused `pop' return value.
8224
8225 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
8226 var `block-regexp'.
8227 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
8228 (python-fill-string): Remove unused var `marker'.
8229 (python-skeleton-add-menu-items): Remove unused var `items'.
8230
8231 * international/mule-cmds.el: Require CL.
8232 (find-coding-systems-for-charsets): Avoid add-to-list.
8233 (sanitize-coding-system-list): New function, extracted from
8234 select-safe-coding-system-interactively.
8235 (select-safe-coding-system-interactively): Use it.
8236 (read-input-method-name): Accept symbols for `default'.
8237
8238 * emacs-lisp/advice.el (defadvice): Add indent rule.
8239
6c42fc3e
DH
82402013-09-05 Daniel Hackney <dan@haxney.org>
8241
8242 * dired-x.el:
8243 * net/ange-ftp.el:
8244 * net/browse-url.el:
8245 * net/dbus.el:
8246 * net/eudc.el:
8247 * net/eudcb-ldap.el:
8248 * net/eww.el:
8249 * net/imap.el:
8250 * printing.el:
8251 * vc/ediff-diff.el:
8252 * vc/ediff-init.el:
8253 * vc/ediff-merg.el:
8254 * vc/ediff-mult.el:
8255 * vc/ediff-util.el:
8256 * vc/ediff-wind.el:
8257 * vc/ediff.el:
8258 * vc/emerge.el:
8259 * vc/pcvs.el:
8260 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
8261 byte compiler. Remove some unused let-bound variables.
8262
4c528aab
SM
82632013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
8264
8265 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
8266 a "ref-cell", since it gets better optimized (bug#14883).
8267
bd15c390
GM
82682013-09-05 Glenn Morris <rgm@gnu.org>
8269
8270 * progmodes/cc-awk.el (c-forward-sws): Declare.
8271
1c3ac2e5
GM
82722013-09-04 Glenn Morris <rgm@gnu.org>
8273
8274 * generic-x.el [rul-generic-mode]: Require cc-mode.
8275 (c++-mode-syntax-table): Declare.
8276 (rul-generic-mode-syntax-table): Init in the defvar.
8277
52b1cc79
SM
82782013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
8279
c828af56
SM
8280 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
8281 (vc-do-command, vc-set-async-update):
8282 * vc/vc-mtn.el (vc-mtn-dir-status):
8283 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
8284 (vc-hg-pull, vc-hg-merge-branch):
8285 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
8286 (vc-git-merge-branch):
8287 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
8288 (vc-cvs-dir-status-files):
8289 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
8290 (vc-bzr-dir-status-files):
8291 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
8292 * vc/vc-annotate.el: Use lexical-binding.
8293 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
8294 (vc-sentinel-movepoint): Declare.
8295 (vc-annotate): Don't use `goto-line'.
8296 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
8297 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
8298 (vc-sentinel-movepoint): Declare.
8299 * vc/vc-svn.el: Use lexical-binding.
8300 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
8301 * vc/vc-sccs.el:
8302 * vc/vc-rcs.el: Use lexical-binding.
8303
abae272c
SM
8304 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
8305 `deleted'. Don't drop errors silently.
8306
52b1cc79
SM
8307 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
8308
63191d9f
XF
83092013-09-04 Xue Fuqiao <xfq.free@gmail.com>
8310
8311 * vc/vc.el (vc-ignore): Rewrite.
8312 (vc-default-ignore): New function.
8313 (vc-default-ignore-completion-table): Use find-ignore-file.
8314
8315 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
8316 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
8317 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
8318 Remove. Most code moved to vc.el.
8319
9d3f707c
SM
83202013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
8321
abae272c 8322 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
8323 * net/tramp-smb.el (tramp-smb-get-file-entries):
8324 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
8325 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
8326
fde38d49
SM
8327 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
8328 Update call to it.
8329 (eww-change-select): Remove unused var `properties'.
8330 (eww-make-unique-file-name): Remove unused var `base'.
8331
8332 * finder.el (finder-compile-keywords): Don't mess with windows.
8333
84032db7
SM
8334 * calculator.el (calculator-funcall): Fix typo in last change.
8335
724f5e41
SM
8336 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
8337
14b511d4
SM
8338 * emacs-lisp/package.el (package-activate-1): Don't let a missing
8339 <pkg>-autoloads.el file stop us.
8340
9d3f707c 8341 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 8342 warnings, and factor out common code.
9d3f707c 8343
88527bc0
DG
83442013-09-03 Dmitry Gutov <dgutov@yandex.ru>
8345
8346 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
8347 two-character operators and whether the character preceding them
8348 changes their meaning (Bug#15208).
8349
96edb677
FEG
83502013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
8351
8352 Format code sent to Python shell for robustness.
9d3f707c
SM
8353 * progmodes/python.el (python-shell-buffer-substring):
8354 New function.
96edb677
FEG
8355 (python-shell-send-region, python-shell-send-buffer): Use it.
8356
95beaef3
MA
83572013-09-02 Michael Albinus <michael.albinus@gmx.de>
8358
8359 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
8360 * net/tramp.el (tramp-user-error): ... here.
8361 (tramp-find-method, tramp-check-proper-host)
8362 (tramp-dissect-file-name, tramp-debug-message)
8363 (tramp-handle-shell-command):
8364 * net/tramp-adb.el (tramp-adb-handle-shell-command):
8365 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
8366
8367 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
8368
f167c27b
MR
83692013-09-02 Martin Rudalics <rudalics@gmx.at>
8370
8371 * avoid.el (mouse-avoidance-point-position)
8372 (mouse-avoidance-too-close-p): Handle case where posn-at-point
8373 returns nil.
8374
cd16c5f1
FEG
83752013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
8376
8377 * progmodes/python.el (python-shell-completion-get-completions):
8378 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 8379 (python-nav-if-name-main): New command.
cd16c5f1 8380
e73c3a0d
GM
83812013-09-01 Glenn Morris <rgm@gnu.org>
8382
f8ccce03
GM
8383 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
8384 Avoid leading space in $wins. Otherwise the sed command used by
8385 eg compile-main ends up containing "/*.el". (Bug#15170)
8386
e73c3a0d
GM
8387 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
8388
415f808e
GM
83892013-08-30 Glenn Morris <rgm@gnu.org>
8390
8391 * emacs-lisp/bytecomp.el (byte-recompile-directory):
8392 Fix is-this-a-directory logic. (Bug#15220)
8393
f069bba8
SM
83942013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
8395
112798c1
SM
8396 * textmodes/css-mode.el: Use SMIE.
8397 (css-smie-grammar): New var.
8398 (css-smie--forward-token, css-smie--backward-token)
8399 (css-smie-rules): New functions.
8400 (css-mode): Use them.
8401 (css-navigation-syntax-table): Remove var.
8402 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
8403 (css-indent-calculate, css-indent-line): Remove functions.
8404
8405 Misc changes to reduce use of `(lambda...); and other cleanups.
8406 * cus-edit.el: Use lexical-binding.
8407 (customize-push-and-save, customize-apropos)
8408 (custom-buffer-create-internal): Use closures.
8409 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
8410 * progmodes/ada-xref.el: Use setq.
8411 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
8412 * dframe.el: Use lexical-binding.
8413 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
8414 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
8415 * descr-text.el: Use lexical-binding.
8416 (describe-text-widget, describe-text-sexp, describe-property-list):
8417 Use closures.
8418 * comint.el (comint-history-isearch-push-state): Use a closure.
8419 * calculator.el: Use lexical-binding.
8420 (calculator-number-to-string): Make it work with lexical-binding.
8421 (calculator-funcall): Same and use cl-letf.
8422
2da4c3ab
SM
8423 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
8424 (lisp--company-doc-string, lisp--company-location): New functions.
8425 (lisp-completion-at-point): Use them to improve Company support.
8426
f069bba8
SM
8427 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
8428 params of lambda expressions.
8429 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
8430 (ruby-smie--opening-pipe-p): New function.
8431 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
8432 symbols and matched |...| for formal params.
8433 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
8434 from being treated as hanging. Handle "rescue".
8435
6758b6a8
GM
84362013-08-29 Glenn Morris <rgm@gnu.org>
8437
8438 * progmodes/cc-engine.el (c-pull-open-brace):
8439 Move definition before use.
8440
e8dfd197
SM
84412013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
8442
8443 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
8444 are immutable. Don't use `unsafe' any more.
8445 (cl--defsubst-expand): Don't substitute at the same time as keeping
8446 a residual unused let-binding. Don't use `unsafe' any more.
8447
cc585c96
GM
84482013-08-29 Glenn Morris <rgm@gnu.org>
8449
ba579ea6
GM
8450 * calendar/cal-china.el (calendar-chinese-year-cache):
8451 Recenter on 2015.
8452
8201a87e
GM
8453 * nxml/nxml-util.el (nxml-debug-clear-inside):
8454 Use cl-loop rather than loop.
8455
6ee877c7
GM
8456 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
8457
cc585c96
GM
8458 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
8459
27be8d39
GM
84602013-08-28 Glenn Morris <rgm@gnu.org>
8461
397440a1
GM
8462 * progmodes/antlr-mode.el: No need to require cc-mode twice.
8463
2bb762d4
GM
8464 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
8465
27be8d39
GM
8466 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
8467
2d69b99e
SM
84682013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8469
f663baa7
SM
8470 * simple.el (repeat-complex-command--called-interactively-skip):
8471 New function.
8472 (repeat-complex-command): Use it (bug#14136).
8473
dd4f8b74
SM
8474 * progmodes/cc-mode.el: Minor cleanup of var declarations.
8475 (c-define-abbrev-table): Add `doc' argument.
8476 (c-mode-abbrev-table, c++-mode-abbrev-table)
8477 (objc-mode-abbrev-table, java-mode-abbrev-table)
8478 (idl-mode-abbrev-table, pike-mode-abbrev-table)
8479 (awk-mode-abbrev-table): Use it.
8480 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
8481 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
8482 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
8483 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
8484 Move initialization into the declaration; and remove any
8485 autoload cookie.
8486
b58969f7
SM
8487 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
8488 and dynamic let binding.
8489
4021d6a6
SM
8490 * vc/smerge-mode.el: Remove redundant :group args.
8491
2d69b99e
SM
8492 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
8493 to load-path.
8494
274919fd
JL
84952013-08-28 Juri Linkov <juri@jurta.org>
8496
8497 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
8498 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
8499 (isearch-other-meta-char): Handle an undefined shifted printing
8500 character by downshifting it. (Bug#15200)
8501
121f8c95
JL
85022013-08-28 Juri Linkov <juri@jurta.org>
8503
8504 * isearch.el (isearch-search): Change regexp error message for
8505 non-regexp searches. (Bug#15166)
8506
50b13cde
PE
85072013-08-28 Paul Eggert <eggert@cs.ucla.edu>
8508
8509 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
8510 for portability to hosts where /bin/sh has problems.
8511
95888bca
SM
85122013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8513
8514 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
8515
bbe558f1
JL
85162013-08-27 Juri Linkov <juri@jurta.org>
8517
8518 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
8519 in the keyboard macro. (Bug#15126)
8520
26f98a7d
JL
85212013-08-27 Juri Linkov <juri@jurta.org>
8522
8523 * isearch.el (isearch-quote-char): Comment out converting unibyte
8524 to multibyte, thus syncing with its `quoted-insert' counterpart.
8525 (Bug#15166)
8526
7c97d35e
MR
85272013-08-27 Martin Rudalics <rudalics@gmx.at>
8528
8529 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
8530 argument in call of get-largest-window (Bug#15185).
8531 Reported by Stephen Leake.
7c97d35e 8532
a0b5606e 85332013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
8534
8535 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
8536
9e89d835
SM
85372013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
8538
8539 * progmodes/python.el (python-font-lock-keywords): Don't return nil
8540 from a matcher-function unless there's no more matches (bug#15161).
8541
78fc2530
MA
85422013-08-26 Michael Albinus <michael.albinus@gmx.de>
8543
8544 * minibuffer.el: Revert change from 2013-08-20.
8545
8546 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
8547 with text property `tramp-default', if appropriate.
8548 (tramp-check-proper-host): New defun.
8549 (tramp-dissect-file-name): Do not check hostname. Revert change
8550 of 2013-03-18.
8551 (tramp-backtrace): Make VEC-OR-PROC optional.
8552
8553 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8554 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8555 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
8556 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
8557 Apply `tramp-check-proper-host'.
78fc2530 8558
edca97cd
TH
85592013-08-26 Tassilo Horn <tsdh@gnu.org>
8560
8561 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
8562 lambda expression in order to have `describe-variable' display it.
8563
df54bcbd
MA
85642013-08-26 Michael Albinus <michael.albinus@gmx.de>
8565
8566 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
8567 BUF can be optional. (Bug#15186)
8568
eed99101
XF
85692013-08-25 Xue Fuqiao <xfq.free@gmail.com>
8570
8571 * progmodes/flymake.el (flymake-get-real-file-name-function):
8572 Fix broken customization. (Bug#15184)
8573
b5eb9035
AM
85742013-08-25 Alan Mackenzie <acm@muc.de>
8575
8a51e842
AM
8576 Improve indentation of bracelists defined by macros (without "=").
8577
8578 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
8579 expansion begins with "{", regard it as bracelist when it doesn't
8580 contain a ";".
8581
869455d4
AM
8582 Parse C++ inher-intro when there's a template split over 2 lines.
8583
8584 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
8585 rigorously the search for "class" etc. followed by ":".
8586
8587 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
8588 random languages a regexp which never matches rather than nil.
8589
b5eb9035
AM
8590 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
8591
8592 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
8593 (c-awk-regexp-one-line-possibly-open-char-list-re)
8594 (c-awk-one-line-possibly-open-regexp-re)
8595 (c-awk-one-line-non-syn-ws*-re): Remove.
8596 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
8597 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
8598 (c-awk-space*-unclosed-regexp-/-re): New constants.
8599 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
8600 aren't regexp delimiters.
8601
8602 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
8603 handling for a rare situation in AWK Mode involving unterminated
8604 strings/regexps.
8605
61611d54
GM
86062013-08-23 Glenn Morris <rgm@gnu.org>
8607
2d85dc34
GM
8608 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
8609
cb8d2612
GM
8610 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
8611
bb35f42f
GM
8612 * files.el (create-file-buffer): If the result would begin with
8613 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 8614
b9808e77
SM
86152013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8616
e3a66363
SM
8617 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
8618 text-properties (bug#15155).
8619
b9808e77
SM
8620 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
8621 exist any more.
8622 (calc-keypad-redraw): Remove unused var `pad'.
8623 (calc-keypad-press): Remove unused var `menu'.
8624
7fd5f65e
MR
86252013-08-23 Martin Rudalics <rudalics@gmx.at>
8626
b9808e77
SM
8627 * window.el (display-buffer-pop-up-frame):
8628 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
8629 use it as the new frame's buffer (Bug#15133).
8630
8352b530
SM
86312013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8632
8633 * calendar/timeclock.el: Minor cleanups.
8634 (timeclock-ask-before-exiting, timeclock-use-display-time):
8635 Use `symbol'.
8636 (timeclock-modeline-display): Define as alias before the
8637 actual definition.
8638 (timeclock-mode-line-display): Use define-minor-mode.
8639 (timeclock-day-list-template): Make it a function, add an argument.
8640 (timeclock-day-list-required, timeclock-day-list-length)
8641 (timeclock-day-list-debt, timeclock-day-list-span)
8642 (timeclock-day-list-break): Adjust calls accordingly.
8643
9f7b1925
SM
86442013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
8645
8646 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
8647 Use read--expression so that completion works again.
8648
6e50e983
SS
86492013-08-21 Sam Steingold <sds@gnu.org>
8650
8651 Add rudimentary inferior shell interaction
8652 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
8653 (sh-set-shell): Reset it.
9f7b1925
SM
8654 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
8655 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 8656
dbb0d350
SM
86572013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
8658
8659 * align.el: Use lexical-binding.
8660 (align-region): Simplify accordingly.
8661
c88586a9
MA
86622013-08-20 Michael Albinus <michael.albinus@gmx.de>
8663
8664 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
8665
8666 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
8667 `non-essential' up.
8668
f95527c8
MA
86692013-08-17 Michael Albinus <michael.albinus@gmx.de>
8670
8671 * net/tramp.el:
8672 * net/tramp-adb.el:
8673 * net/tramp-cmds.el:
8674 * net/tramp-ftp.el:
8675 * net/tramp-gvfs.el:
8676 * net/tramp-gw.el:
8677 * net/tramp-sh.el: Don't wrap external variable declarations by
8678 `eval-when-compile'.
8679
4b5fe4ee
LMI
86802013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
8681
8682 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
8683 now that Emacs supports ImageMagick animations.
8684
13c366c9
MA
86852013-08-16 Michael Albinus <michael.albinus@gmx.de>
8686
8687 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
8688 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
8689
3dfc5cd6
MR
86902013-08-16 Martin Rudalics <rudalics@gmx.at>
8691
8692 * window.el (mouse-autoselect-window-select): Do autoselect when
8693 mouse pointer is on margin.
8694
4bbb4381
WP
86952013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
8696
8697 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
8698
3a2ddc2d
GM
86992013-08-16 Glenn Morris <rgm@gnu.org>
8700
e8bedf5a
GM
8701 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
8702 Handle "Remote Directory" response of some clients. (Bug#15058)
8703
58c4682f
GM
8704 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
8705 Tweak warning. (Bug#14926)
8706
57953f49
GM
8707 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
8708 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
8709
3a2ddc2d
GM
8710 * image-mode.el (image-mode-map): Add menu items to reverse,
8711 increase, decrease, reset animation speed.
8712 (image--set-speed, image-increase-speed, image-decrease-speed)
8713 (image-reverse-speed, image-reset-speed): New functions.
8714 (image-mode-map): Add bindings for speed commands.
8715
8716 * image.el (image-animate-get-speed, image-animate-set-speed):
8717 New functions.
8718 (image-animate-timeout): Respect image :speed property.
8719
10fa0ed3
SM
87202013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8721
8722 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
8723 previous line (bug#15101).
8724 (debugger-eval-expression, debugger-record-expression):
8725 Use read--expression (bug#15102).
8726
5d89d9d2
MA
87272013-08-15 Michael Albinus <michael.albinus@gmx.de>
8728
8729 Remove byte compiler warnings, visible when compiling with
8730 `byte-compile-force-lexical-warnings' set to t.
8731
8732 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
8733 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
8734 (tramp-handle-unhandled-file-name-directory)
8735 (tramp-handle-file-notify-add-watch, tramp-action-login)
8736 (tramp-action-succeed, tramp-action-permission-denied)
8737 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
8738 arguments with "_".
8739
8740 * net/tramp-adb.el (tramp-adb-parse-device-names)
8741 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
8742 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
8743 (tramp-adb-handle-file-truename): Remove unused arguments.
8744
8745 * net/tramp-cache.el (tramp-flush-directory-property)
8746 (tramp-flush-connection-property, tramp-list-connections)
8747 (tramp-parse-connection-properties): Prefix unused arguments with "_".
8748
10fa0ed3
SM
8749 * net/tramp-compat.el (tramp-compat-make-temp-file):
8750 Rename FILENAME to F.
5d89d9d2
MA
8751
8752 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
8753 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
8754 (tramp-zeroconf-parse-workstation-device-names)
8755 (tramp-zeroconf-parse-webdav-device-names)
8756 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
8757
8758 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
8759 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
8760
8761 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
8762 arguments.
8763 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
8764 (tramp-sh-handle-insert-file-contents-literally)
8765 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
8766 with "_".
8767 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
8768 Remove unused variables.
8769
8770 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
8771 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
8772 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
8773
8774 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
8775 Make them a defconst.
8776 (tramp-uuencode-region): Remove unused variable.
8777
62f33bae
JB
87782013-08-14 Juanma Barranquero <lekktu@gmail.com>
8779
8780 * frameset.el (frameset--prop-setter): New function.
8781 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
8782 (frameset-filter-minibuffer): Deal with the case that the minibuffer
8783 parameter was already set in FILTERED. Doc fix.
8784 (frameset--record-minibuffer-relationships): Allow saving a
8785 minibufferless frame without its corresponding minibuffer frame.
8786 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
8787 frame, if the frame id matches.
8788 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
8789 frames before orphaned ones.
8790 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 8791
c660a885
MR
87922013-08-14 Martin Rudalics <rudalics@gmx.at>
8793
8794 * window.el (window-make-atom): Don't overwrite parameter
8795 already present.
8796 (display-buffer-in-atom-window): Handle special case where we
8797 split an already atomic window.
8798 (window--major-non-side-window, display-buffer-in-side-window)
8799 (window--side-check): Ignore minibuffer window when walking
8800 window tree.
8801 (window-deletable-p): Return 'frame only if no other frame uses
8802 our minibuffer window.
8803 (record-window-buffer): Run buffer-list-update-hook.
8804 (split-window): Make sure window--check-frame won't destroy an
8805 existing atomic window in case the new window gets nested
8806 inside.
8807 (display-buffer-at-bottom): Ignore minibuffer window when
8808 walking window tree. Don't split a side window.
8809 (pop-to-buffer): Don't set-buffer here, the select-window call
8810 should do that.
8811 (mouse-autoselect-window-select): Autoselect only if we are in the
8812 text portion of the window.
8813
8259030d
LMI
88142013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8815
21c58ae2
LMI
8816 * net/shr.el (shr-parse-image-data): New function to grab both the
8817 data itself and the Content-Type.
8818 (shr-put-image): Use it.
8819
8820 * net/eww.el (eww-display-image): Ditto.
8821
8259030d
LMI
8822 * image.el (image-content-type-suffixes): New variable.
8823
ad756449
FEG
88242013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
8825
8826 * progmodes/python.el (python-imenu--build-tree)
8827 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
8828
f73f4ce6
XF
88292013-08-13 Xue Fuqiao <xfq.free@gmail.com>
8830
8831 * simple.el (backward-word): Mention the optional argument.
8832
1f585e65
SM
88332013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
8834
8835 * frameset.el (frameset--make): Rename constructor from make-frameset.
8836 (frameset-p, frameset-valid-p): Don't autoload.
8837 (frameset-valid-p): Use normal accessors.
8838
af1c6c84
GM
88392013-08-13 Glenn Morris <rgm@gnu.org>
8840
55e47f95
GM
8841 * progmodes/compile.el (compile-command): Tweak example in doc.
8842 * obsolete/scribe.el (scribe-mode):
8843 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
8844
f0024d8c
GM
8845 * mail/feedmail.el (feedmail-confirm-outgoing)
8846 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
8847
8848 * cus-start.el (truncate-partial-width-windows): Fix type.
8849
8850 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
8851
af1c6c84
GM
8852 * net/shr.el (shr-table-horizontal-line): Fix custom type.
8853
5514cc4c
SM
88542013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
8855
8856 * emacs-lisp/timer.el (timer--time-setter): New function.
8857 (timer--time): Use it as gv-setter.
8858
8859 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
8860 setter is not a symbol.
8861
7997a2f1
GJ
88622013-08-12 Grégoire Jadi <daimrod@gmail.com>
8863
8864 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
8865 if sending fails. This makes debugging easier.
8866
01f1a9ab
JB
88672013-08-12 Juanma Barranquero <lekktu@gmail.com>
8868
8869 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
8870 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
8871 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
8872
594a4307
EZ
88732013-08-12 Eli Zaretskii <eliz@gnu.org>
8874
8875 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
8876
7a22490f 88772013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
8878
8879 * format.el (format-annotate-function):
8880 Handle read-only text properties in the source. (Bug#14887)
8881
3e41a054
LMI
88822013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8883
5514cc4c
SM
8884 * net/eww.el (eww-display-html): Ignore coding system errors.
8885 One web site uses "utf-8lias" as the coding system.
3e41a054 8886
7ec326db
JB
88872013-08-11 Juanma Barranquero <lekktu@gmail.com>
8888
8889 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
8890
5660113b
JB
88912013-08-10 Juanma Barranquero <lekktu@gmail.com>
8892
9a4ebc74
JB
8893 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
8894 (tutorial--detailed-help): Remove unused local variables.
8895 (tutorial--save-tutorial-to): Use ignore-errors.
8896 (help-with-tutorial): Use looking-at-p.
8897
8898 * view.el (view-buffer-other-window, view-buffer-other-frame):
8899 Mark unused arguments.
8900
8901 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
8902 (woman-select-symbol-fonts, woman, woman-find-file)
8903 (woman-insert-file-contents, woman-non-underline-faces):
8904 Use string-match-p.
8905 (woman1-unquote): Move declaration.
8906
8907 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
8908 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
8909 argument. Remove unused local variable.
8910 (xml-parse-elem-type): Use string-match-p.
8911 (xml-substitute-numeric-entities): Use ignore-errors.
8912
45fdb482
JB
8913 * calculator.el (calculator): Mark unused argument.
8914 (calculator-paste, calculator-quit, calculator-integer-p):
8915 Use ignore-errors.
8916 (calculator-string-to-number, calculator-decimal, calculator-exp)
8917 (calculator-op-or-exp): Use string-match-p.
8918
8919 * dired.el (dired-buffer-more-recently-used-p): Declare.
8920 (dired-insert-set-properties, dired-insert-old-subdirs):
8921 Use ignore-errors.
8922
8923 * dired-aux.el (dired-compress): Use ignore-errors.
8924 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
8925 (dired-do-async-shell-command, dired-do-shell-command)
8926 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
8927 (dired-insert-subdir-validate): Use string-match-p.
8928 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
8929 (dired-add-entry): Use string-match-p, looking-at-p.
8930 (dired-insert-subdir-newpos): Remove unused local variable.
8931
8932 * filenotify.el (file-notify-callback): Remove unused local variable.
8933
8934 * filesets.el (filesets-error): Mark unused argument.
8935 (filesets-which-command-p, filesets-filter-dir-names)
8936 (filesets-directory-files, filesets-get-external-viewer)
8937 (filesets-ingroup-get-data): Use string-match-p.
8938
8939 * find-file.el (ff-other-file-name, ff-other-file-name)
8940 (ff-find-the-other-file, ff-cc-hh-converter):
8941 Remove unused local variables.
8942 (ff-get-file-name): Use string-match-p.
8943 (ff-all-dirs-under): Use ignore-errors.
8944
8945 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
8946 (follow-select-if-visible): Remove unused local variable.
8947
8948 * forms.el (read-file-filter): Move declaration.
8949 (forms--make-format, forms--make-parser, forms-insert-record):
8950 Quote function with #'.
8951 (forms--update): Use string-match-p. Quote function with #'.
8952
8953 * help-mode.el (help-dir-local-var-def): Mark unused argument.
8954 (help-make-xrefs): Use looking-at-p.
8955 (help-xref-on-pp): Use looking-at-p, ignore-errors.
8956
8957 * ibuffer.el (ibuffer-ext-visible-p): Declare.
8958 (ibuffer-confirm-operation-on): Use string-match-p.
8959
8960 * msb.el (msb-item-handler, msb-dired-item-handler):
8961 Mark unused arguments.
8962
8963 * ses.el (ses-decode-cell-symbol)
8964 (ses-kill-override): Remove unused local variable.
8965 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
8966 (ses-load): Use ignore-errors, looking-at-p.
8967 (ses-jump-safe): Use ignore-errors.
8968 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
8969
8970 * tabify.el (untabify, tabify): Mark unused arguments.
8971
8972 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
8973 Mark unused argument.
8974 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
8975 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
8976
c880af52
JB
8977 * emacs-lisp/timer.el (timer--time): Define setter with
8978 gv-define-setter to avoid deprecation warning.
8979
5660113b 8980 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 8981 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
8982 (cmpl-statistics-block): Remove (body was commented out).
8983 All callers changed.
8984 (add-completions-from-buffer, load-completions-from-file):
8985 Remove unused variables.
8986
156aab80
JB
89872013-08-09 Juanma Barranquero <lekktu@gmail.com>
8988
5c5dee78
JB
8989 * filecache.el (file-cache-delete-file-list):
8990 Print message only when told so.
8991 (file-cache-files-matching): Use #' in mapconcat argument.
8992
156aab80
JB
8993 * ffap.el (ffap-url-at-point): Fix reference to variable
8994 thing-at-point-default-mail-uri-scheme.
8995
ad9dcd70
SM
89962013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
8997
54bd972f
SM
8998 * subr.el (define-error): New function.
8999 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
9000 error-file-not-found and define with define-error.
9001 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
9002 and define with define-error.
9003 * userlock.el (file-locked, file-supersession):
9004 * simple.el (mark-inactive):
9005 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
9006 * progmodes/ada-mode.el (ada-mode-errors):
9007 * play/life.el (life-extinct):
9008 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
9009 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
9010 * nxml/rng-util.el (rng-error):
9011 * nxml/rng-uri.el (rng-uri-error):
9012 * nxml/rng-match.el (rng-compile-error):
9013 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
9014 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
9015 * nxml/nxml-rap.el (nxml-scan-error):
9016 * nxml/nxml-outln.el (nxml-outline-error):
9017 * net/soap-client.el (soap-error):
9018 * net/gnutls.el (gnutls-error):
9019 * net/ange-ftp.el (ftp-error):
9020 * mpc.el (mpc-proc-error):
9021 * json.el (json-error, json-readtable-error, json-unknown-keyword)
9022 (json-number-format, json-string-escape, json-string-format)
9023 (json-key-format, json-object-format):
9024 * jka-compr.el (compression-error):
9025 * international/quail.el (quail-error):
9026 * international/kkc.el (kkc-error):
9027 * emacs-lisp/ert.el (ert-test-failed):
9028 * calc/calc.el (calc-error, inexact-result, math-overflow)
9029 (math-underflow):
9030 * bookmark.el (bookmark-error-no-filename):
9031 * epg.el (epg-error): Define with define-error.
9032
0ea9e53a
SM
9033 * time.el (display-time-event-handler)
9034 (display-time-next-load-average): Don't call sit-for since it seems
9035 unnecessary (bug#15045).
9036
b0429158
SM
9037 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
9038 Use #' instead of ' to quote functions.
9039 (checkdoc-output-mode): Use setq-local.
9040 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
9041 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
9042 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
9043 (checkdoc-ispell, checkdoc-ispell-current-buffer)
9044 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
9045 (checkdoc-ispell-message-text, checkdoc-ispell-start)
9046 (checkdoc-ispell-continue, checkdoc-ispell-comments)
9047 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
9048
ad9dcd70
SM
9049 * ido.el (ido-completion-help): Fix up compiler warning.
9050
77187e6f
JB
90512013-08-09 Juanma Barranquero <lekktu@gmail.com>
9052
9053 * frameset.el (frameset-p): Add autoload cookie.
9054 (frameset--jump-to-register): New function, based on code moved from
9055 register.el.
9056 (frameset-to-register): Move from register.el. Adapt to `registerv'.
9057
9058 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
9059 (frameset-restore, frameset-save, frameset-session-filter-alist):
9060 Remove declarations.
9061 (register-alist): Doc fix.
9062 (frameset-to-register): Move to frameset.el.
9063 (jump-to-register, describe-register-1): Remove frameset-specific code.
9064
9d3aa82c
JB
90652013-08-08 Juanma Barranquero <lekktu@gmail.com>
9066
9067 * allout-widgets.el (allout-widgets-pre-command-business)
9068 (allout-widgets-post-command-business)
9069 (allout-widgets-after-change-handler)
9070 (allout-decorate-item-and-context, allout-set-boundary-marker)
9071 (allout-body-modification-handler)
9072 (allout-graphics-modification-handler): Mark ignored arguments.
9073 (allout-widgets-post-command-business)
9074 (allout-widgets-exposure-change-processor)
9075 (allout-widgets-exposure-undo-processor)
9076 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
9077 (allout-parse-item-at-point, allout-decorate-item-guides)
9078 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
9079 * allout.el (epa-passphrase-callback-function): Declare.
9080 (allout-overlay-insert-in-front-handler)
9081 (allout-overlay-interior-modification-handler)
9082 (allout-isearch-end-handler, allout-chart-siblings)
9083 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
9084 (allout-yank-processing, allout-process-exposed)
9085 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 9086 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
9087 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
9088 (lisp-indent-defform): Mark ignored arguments.
9089 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
9090 (calculate-lisp-indent): Remove unused variables.
9091 * international/characters.el (indian-2-column, arabic-2-column)
9092 (tibetan): Mark ignored arguments.
9093 (use-cjk-char-width-table): Mark ignored arguments.
9094 Remove unused variables.
9095 * international/fontset.el (build-default-fontset-data)
9096 (x-compose-font-name, create-fontset-from-fontset-spec):
9097 Mark ignored arguments.
9098 (fontset-plain-name): Remove unused variables.
9099 * international/mule.el (charset-id, charset-bytes, generic-char-p)
9100 (keyboard-coding-system): Mark ignored arguments.
9101 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
9102 * help.el (resize-temp-buffer-window):
9103 * window.el (display-buffer-in-major-side-window)
9104 (display-buffer-in-side-window, display-buffer-in-previous-window):
9105 Remove unused variables.
9106 * isearch.el (isearch-forward-symbol):
9107 * version.el (emacs-bzr-version-bzr):
9108 * international/mule-cmds.el (current-language-environment):
9109 * term/common-win.el (x-handle-iconic, x-handle-geometry)
9110 (x-handle-display):
9111 * term/pc-win.el (x-list-fonts, x-display-planes)
9112 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
9113 (x-server-version, x-display-screens, x-display-mm-height)
9114 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
9115 (x-selection-owner-p, x-own-selection-internal)
9116 (x-disown-selection-internal, x-get-selection-internal)
9117 (msdos-initialize-window-system):
9118 * term/tty-colors.el (tty-color-alist, tty-color-clear):
9119 * term/x-win.el (x-handle-no-bitmap-icon):
9120 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
9121 (vc-default-find-file-hook, vc-default-extra-menu):
9122 Mark ignored arguments.
9123
0ca3f70e
SM
91242013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9125
9126 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
9127 break-condition in the context of the debugged code (bug#12685).
9128
74c5d24c
CS
91292013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
9130
9131 * comint.el:
9132 Do not use an overlay to highlight the last prompt. (Bug#14744)
9133 (comint-mode): Make comint-last-prompt buffer local.
9134 (comint-last-prompt): New variable.
9135 (comint-last-prompt-overlay): Remove. Superseded by
9136 comint-last-prompt.
0ca3f70e
SM
9137 (comint-snapshot-last-prompt, comint-output-filter):
9138 Use comint-last-prompt.
74c5d24c 9139
c03c02ee
JB
91402013-08-08 Juanma Barranquero <lekktu@gmail.com>
9141
a3738d20 9142 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
9143 (frameset-save): Check validity of the resulting frameset.
9144
04263d23
XF
91452013-08-08 Xue Fuqiao <xfq.free@gmail.com>
9146
9147 * ido.el (ido-record-command): Add doc string.
9148
76c5e5ab
JB
91492013-08-08 Juanma Barranquero <lekktu@gmail.com>
9150
9151 * frameset.el (frameset): Do not disable creation of the default
9152 frameset-p predicate. Doc fix.
9153 (frameset-valid-p): New function, copied from the old predicate-p.
9154 Add additional checks.
9155 (frameset-restore): Check with frameset-valid-p.
9156 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
9157 (frameset-name, frameset-description, frameset-properties)
9158 (frameset-states): Add docstring.
f9dbf1cb
JB
9159 (frameset-session-filter-alist, frameset-persistent-filter-alist)
9160 (frameset-filter-alist): Doc fixes.
76c5e5ab 9161
bd0c3c0b
JB
91622013-08-08 Juanma Barranquero <lekktu@gmail.com>
9163
9164 * frameset.el (frameset-p, frameset-prop): Doc fixes.
9165
c735544c
SM
91662013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9167
9168 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
9169 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
9170 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
9171 (byte-compile-normal-call): Remove obsolescence check.
9172
2805a651
JB
91732013-08-08 Juanma Barranquero <lekktu@gmail.com>
9174
3677ffeb
JB
9175 * frameset.el (frameset-restore): Doc fix.
9176
2805a651
JB
9177 * register.el (frameset-frame-id, frameset-frame-with-id)
9178 (frameset-p, frameset-restore, frameset-save): Declare.
9179 (register-alist): Document framesets.
9180 (frameset-session-filter-alist): Declare.
9181 (frameset-to-register): New function.
9182 (jump-to-register): Implement jumping to framesets. Doc fix.
9183 (describe-register-1): Describe framesets.
9184
9185 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
9186
a912c016
JB
91872013-08-07 Juanma Barranquero <lekktu@gmail.com>
9188
9189 * desktop.el (desktop-save-frameset): Use new frameset-save args.
9190 Use lexical-binding.
9191
9192 * frameset.el (frameset): Use type vector, not list (incompatible
9193 change). Do not declare a new constructor, use the default one.
9194 Upgrade suggested properties `app', `name' and `desc' to slots `app',
9195 `name' and `description', respectively, and add read-only slot
9196 `timestamp'. Doc fixes.
9197 (frameset-copy, frameset-persistent-filter-alist)
9198 (frameset-filter-alist, frameset-switch-to-gui-p)
9199 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
9200 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
9201 (frameset-filter-iconified, frameset-keep-original-display-p):
9202 Doc fixes.
9203 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
9204 Rename from frameset-filter-(save|restore)-param. All callers changed.
9205 Doc fix.
9206 (frameset-p): Adapt to change to vector and be more thorough.
9207 Change arg name to OBJECT. Doc fix.
9208 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
9209 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
9210 All callers changed.
9211 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
9212 All callers changed.
9213 (frameset--record-minibuffer-relationships): Rename from
9214 frameset--process-minibuffer-frames. All callers changed.
9215 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
9216 Use new default constructor (again). Doc fix.
c295fc18 9217 (frameset--find-frame-if): Rename from `frameset--find-frame'.
a912c016
JB
9218 All callers changed.
9219 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
9220 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
9221 Doc fix.
9222 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
9223 PARAMETERS and WINDOW-STATE, respectively.
9224 (frameset-restore): Add new keyword argument PREDICATE.
9225 Reset frameset--target-display to nil. Doc fix.
9226
bb41480a
SM
92272013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
9228
f001e98e
SM
9229 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
9230 (bat-mode): Use it.
9231 (bat-mode-syntax-table): Mark \n as end-of-comment.
9232 (bat-font-lock-keywords): Remove comment rule.
9233
7679edb1
SM
9234 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
9235 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
9236
bb41480a
SM
9237 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
9238 (byte-compile-callargs-warn): Use `push'.
9239 (byte-compile-arglist-warn): Ignore higher-order "calls".
9240 (byte-compile-file-form-autoload): Use `pcase'.
9241 (byte-compile-function-form): If quoting a symbol, check that it exists.
9242
cdc1ebb9
EZ
92432013-08-07 Eli Zaretskii <eliz@gnu.org>
9244
9245 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
9246 and add a few popular commands found in batch files.
9247 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
9248 (dos-mode): Doc fixes.
9249
312b1740
SM
92502013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
9251
9252 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
9253 (dos-mode): Use setq-local. Add space after "rem".
9254 (dos-mode-syntax-table): Don't use "w" for symbol chars.
9255 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
9256
400a3178
AM
92572013-08-07 Arni Magnusson <arnima@hafro.is>
9258
9259 * progmodes/dos.el: New file.
9260 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
9261 dos-mode.
9262
3b5c03d3
GM
92632013-08-06 Glenn Morris <rgm@gnu.org>
9264
9265 * calendar/calendar.el: Add new faces, and day-header-array.
9266 (calendar-weekday-header, calendar-weekend-header)
9267 (calendar-month-header): New faces.
9268 (calendar-day-header-construct): New function.
9269 (calendar-day-header-width): Also :set calendar-day-header-array.
9270 (calendar-american-month-header, calendar-european-month-header)
9271 (calendar-iso-month-header): Use calendar- faces.
9272 (calendar-generate-month):
9273 Use calendar-day-header-array for day headers; apply faces to them.
9274 (calendar-mode): Check calendar-font-lock-keywords non-nil.
9275 (calendar-abbrev-construct): Add optional maxlen argument.
9276 (calendar-day-name-array): Doc fix.
9277 (calendar-day-name-array, calendar-abbrev-length)
9278 (calendar-day-abbrev-array):
9279 Also :set calendar-day-header-array, and maybe redraw.
9280 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 9281 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
9282 (calendar-day-name): Add option to use header array.
9283
ec6a2d7a
LMI
92842013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9285
9286 * net/shr.el (shr-render-td): Remove debugging.
9287 (shr-render-td): Make width computation consistent by defaulting
9288 all zero-width columns to 10 characters. This may not be optimal,
9289 but it's at least consistent.
2122cb6d
LMI
9290 (shr-make-table-1): Redo last change to fix the real problem in
9291 colspan handling.
ec6a2d7a 9292
ed4fd9c5
DA
92932013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
9294
0ca3f70e
SM
9295 * files.el (cache-long-line-scans):
9296 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 9297
64e22afe
JB
92982013-08-06 Juanma Barranquero <lekktu@gmail.com>
9299
024b38fc
JB
9300 * frameset.el (frameset, frameset-filter-alist)
9301 (frameset-filter-params, frameset-save, frameset--reuse-frame)
9302 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
9303 (frameset-compute-pos): Rename from frameset--compute-pos,
9304 and add docstring.
9305 (frameset-move-onscreen): Use frameset-compute-pos.
9306 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
9307
64e22afe
JB
9308 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
9309 Fix typos in docstrings.
9310
c8c2aca8
DA
93112013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
9312
9313 * frame.el (get-other-frame): Tiny cleanup.
9314
1d237bba
JB
93152013-08-06 Juanma Barranquero <lekktu@gmail.com>
9316
8951efef
JB
9317 * vc/vc.el (vc-default-ignore-completion-table):
9318 Silence byte-compiler warning.
9319
307764cc 9320 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3fcfc4ee 9321 slot, which can indeed be nil.
307764cc
JB
9322 (frameset-live-filter-alist, frameset-persistent-filter-alist):
9323 Move entry for `left' from persistent to live filter alist.
9324 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
9325 Doc fixes.
9326 (frameset-filter-params): When restoring a frame, copy items added to
9327 `filtered', to avoid unwittingly modifying the original parameters.
9328 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
9329 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
9330
1d237bba
JB
9331 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
9332 to use looking-at-p instead of looking-at. (Bug#15028)
9333
dc6c0eda
SM
93342013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
9335
9336 Revert introduction of isearch-filter-predicates (bug#14714).
9337 Rely on add-function instead.
9338 * isearch.el (isearch-filter-predicates): Rename it back to
9339 isearch-filter-predicate.
9340 (isearch-message-prefix): Use advice-function-mapc and advice
9341 properties to get the isearch-message-prefix.
9342 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
9343 instead of run-hook-with-args-until-failure.
9344 (isearch-filter-visible): Not obsolete any more.
9345 * loadup.el: Preload nadvice.
9346 * replace.el (perform-replace): Revert to funcall
9347 instead of run-hook-with-args-until-failure.
9348 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
9349 * dired-aux.el (dired-isearch-filenames-mode): Rename from
9350 dired-isearch-filenames-toggle; make it into a proper minor mode.
9351 Use add/remove-function.
9352 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
9353 Call the minor-mode rather than add/remove-hook.
9354 (dired-isearch-filter-filenames):
9355 Remove isearch-message-prefix property.
9356 * info.el (Info--search-loop): New function, extracted from Info-search.
9357 Funcall isearch-filter-predicate instead of
9358 run-hook-with-args-until-failure isearch-filter-predicates.
9359 (Info-search): Use it.
9360 (Info-mode): Use isearch-filter-predicate instead of
9361 isearch-filter-predicates.
9362
290d5b58
DA
93632013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
9364
9365 Do not call to `selected-window' where it is assumed by default.
9366 Affected functions are `window-minibuffer-p', `window-dedicated-p',
9367 `window-hscroll', `window-width', `window-height', `window-buffer',
9368 `window-frame', `window-start', `window-point', `next-window'
9369 and `window-display-table'.
9370 * abbrev.el (abbrev--default-expand):
9371 * bs.el (bs--show-with-configuration):
9372 * buff-menu.el (Buffer-menu-mouse-select):
9373 * calc/calc.el (calc):
9374 * calendar/calendar.el (calendar-generate-window):
9375 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
9376 (diary-make-entry):
9377 * comint.el (send-invisible, comint-dynamic-complete-filename)
9378 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
9379 * completion.el (complete):
9380 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
9381 * disp-table.el (describe-current-display-table):
9382 * doc-view.el (doc-view-insert-image):
9383 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
9384 * ehelp.el (with-electric-help):
9385 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
9386 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
9387 * emacs-lisp/helper.el (Helper-help-scroller):
9388 * emulation/cua-base.el (cua--post-command-handler-1):
9389 * eshell/esh-mode.el (eshell-output-filter):
9390 * ffap.el (ffap-gnus-wrapper):
9391 * help-macro.el (make-help-screen):
9392 * hilit-chg.el (highlight-compare-buffers):
9393 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
9394 * hl-line.el (global-hl-line-highlight):
9395 * icomplete.el (icomplete-simple-completing-p):
9396 * isearch.el (isearch-done):
9397 * jit-lock.el (jit-lock-stealth-fontify):
9398 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
a12bf61e 9399 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
290d5b58
DA
9400 * mpc.el (mpc-tagbrowser, mpc):
9401 * net/rcirc.el (rcirc-any-buffer):
9402 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
9403 * play/landmark.el (landmark-max-width, landmark-max-height):
9404 * play/zone.el (zone):
9405 * progmodes/compile.el (compilation-goto-locus):
9406 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
9407 * progmodes/etags.el (find-tag-other-window):
9408 * progmodes/fortran.el (fortran-column-ruler):
9409 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
9410 * progmodes/verilog-mode.el (verilog-point-text):
9411 * reposition.el (reposition-window):
9412 * rot13.el (toggle-rot13-mode):
9413 * server.el (server-switch-buffer):
9414 * shell.el (shell-dynamic-complete-command)
9415 (shell-dynamic-complete-environment-variable):
9416 * simple.el (insert-buffer, set-selective-display)
9417 (delete-completion-window):
9418 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
9419 (speedbar-recenter):
9420 * startup.el (fancy-splash-head):
9421 * textmodes/ispell.el (ispell-command-loop):
9422 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
9423 * tutorial.el (help-with-tutorial):
9424 * vc/add-log.el (add-change-log-entry):
9425 * vc/compare-w.el (compare-windows):
9426 * vc/ediff-help.el (ediff-indent-help-message):
9427 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
9428 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
9429 (ediff-setup-control-frame):
9430 * vc/emerge.el (emerge-position-region):
9431 * vc/pcvs-util.el (cvs-bury-buffer):
9432 * window.el (walk-windows, mouse-autoselect-window-select):
9433 * winner.el (winner-set-conf, winner-undo): Related users changed.
9434
38276e01
JB
94352013-08-05 Juanma Barranquero <lekktu@gmail.com>
9436
9437 * frameset.el (frameset--set-id): Doc fix.
9438 (frameset-frame-id, frameset-frame-id-equal-p)
9439 (frameset-locate-frame-id): New functions.
9440 (frameset--process-minibuffer-frames, frameset--reuse-frame)
9441 (frameset-restore): Use them.
9442
12b4c0ea
DA
94432013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
9444
9445 Do not call to `selected-frame' where it is assumed by default.
9446 Affected functions are `raise-frame', `redraw-frame',
9447 `frame-first-window', `frame-terminal' and `delete-frame'.
9448 * calendar/appt.el (appt-disp-window):
9449 * epg.el (epg-wait-for-completion):
9450 * follow.el (follow-delete-other-windows-and-split)
9451 (follow-avoid-tail-recenter):
9452 * international/mule.el (set-terminal-coding-system):
9453 * mail/rmail.el (rmail-mail-return):
9454 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
9455 * progmodes/f90.el (f90-add-imenu-menu):
9456 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
9457 * server.el (server-switch-buffer):
9458 * simple.el (delete-completion-window):
9459 * talk.el (talk):
9460 * term/xterm.el (terminal-init-xterm-modify-other-keys)
9461 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
9462 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
9463 * vc/ediff.el (ediff-documentation): Related users changed.
9464 * frame.el (selected-terminal): Remove the leftover.
9465
17f25e76
GM
94662013-08-05 Glenn Morris <rgm@gnu.org>
9467
9468 * calendar/calendar.el (calendar-generate-month):
9469 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
9470 (calendar-generate-month, calendar-font-lock-keywords):
9471 Fix for calendar-day-header-width > length of any day name.
17f25e76 9472
063233c3
JB
94732013-08-05 Juanma Barranquero <lekktu@gmail.com>
9474
9475 * desktop.el (desktop-clear): Use new name of sort predicate.
9476
9477 * frameset.el (frameset): Add docstring. Move :version property to its
9478 own `version' slot.
9479 (frameset-copy): Rename from copy-frameset.
9480 (frameset-p): Check more thoroughly.
9481 (frameset-prop): Do not check for :version, which is no longer a prop.
9482 (frameset-live-filter-alist, frameset-persistent-filter-alist):
9483 Use new :never value instead of t.
9484 (frameset-filter-alist): Expand and clarify docstring.
9485 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
9486 (frameset-filter-minibuffer, frameset-filter-save-param)
9487 (frameset-filter-restore-param, frameset-filter-iconified):
9488 Add pointer to docstring of frameset-filter-alist.
9489 (frameset-filter-params): Rename filter values to be more meaningful:
9490 :never instead of t, and reverse the meanings of :save and :restore.
9491 (frameset--process-minibuffer-frames): Clarify error message.
9492 (frameset-save): Avoid unnecessary and confusing call to framep.
9493 Use new BOA constructor for framesets.
9494 (frameset--reuse-list): Doc fix.
9495 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
9496 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
9497 (frameset-minibufferless-first-p): Doc fix.
9498 Rename from frameset-sort-frames-for-deletion.
9499 (frameset-restore): Doc fixes. Use new function names.
9500 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
9501
d5671a82
JB
95022013-08-04 Juanma Barranquero <lekktu@gmail.com>
9503
9504 * desktop.el (desktop-restore-forces-onscreen)
9505 (desktop-restore-reuses-frames): Document :keyword constant values.
9506 (desktop-filter-parameters-alist): Remove, now identical to
9507 frameset-filter-alist.
9508 (desktop--filter-tty*): Remove, moved to frameset.el.
9509 (desktop-save-frameset, desktop-restore-frameset):
9510 Do not pass :filters argument.
9511
9512 * frameset.el (frameset-live-filter-alist)
9513 (frameset-persistent-filter-alist): New variables.
9514 (frameset-filter-alist): Use them. Add autoload cookie.
9515 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
9516 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
9517 `frameset--id' (it's supposed to be internal to frameset.el).
9518 (frameset--process-minibuffer-frames): Ditto. Doc fix.
9519 (frameset--initial-params): New function.
9520 (frameset--get-frame): Use it. Doc fix.
9521 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
9522 Accept :all, not 'all.
9523 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
9524 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
9525 with fbound symbols. Fix frame id matching, and remove matching ids if
9526 the frame being restored is deleted. Obey :delete.
9527
671d5c16
SM
95282013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
9529
9530 * subr.el (macrop): New function.
9531 (text-clone--maintaining): New var.
9532 (text-clone--maintain): Rename from text-clone-maintain. Use it
9533 instead of inhibit-modification-hooks.
9534
9535 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
9536 a proxy, so as handle autoloads and redefinitions of the target.
9537 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
9538
9539 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
9540 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
9541 (pcase--mutually-exclusive-p): New function.
9542 (pcase--split-consp): Use it.
9543 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
9544 mutually exclusive with the current predicate.
9545
9546 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
9547 (edebug-macrop): Remove. Use `macrop' instead.
9548 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
9549 (ad-macro-p):
9550 * eshell/esh-cmd.el (eshell-macrop):
9551 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
9552
1d44e9dc
SM
95532013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
9554
9555 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
9556 (advice-mapc): New function, using it.
9557 (advice-function-member-p): New function.
9558 (advice--normalize): Store the cdr in advice--saved-rewrite since
9559 that's the part that will be changed.
9560 (advice--symbol-function): New function.
9561 (advice-remove): Handle removal before the function is defined.
9562 Adjust to new advice--saved-rewrite.
9563 (advice-member-p): Use advice-function-member-p and
9564 advice--symbol-function.
9565
5414a283
JB
95662013-08-04 Juanma Barranquero <lekktu@gmail.com>
9567
51d30f2c
JB
9568 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
9569 (frameset-filter-minibuffer): Doc fix.
9570 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
9571 (frameset--set-id, frameset--process-minibuffer-frames)
9572 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
9573 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 9574
5414a283
JB
9575 * desktop.el (desktop-clear): Only delete frames when called
9576 interactively and desktop-restore-frames is non-nil. Doc fix.
9577 (desktop-read): Set desktop-saved-frameset to nil.
9578
ab419665
XF
95792013-08-04 Xue Fuqiao <xfq.free@gmail.com>
9580
9581 * vc/vc.el (vc-ignore): Rewrite.
35e951cd 9582 (vc-default-ignore-completion-table, vc--read-lines)
ab419665
XF
9583 (vc--add-line, vc--remove-regexp): New functions.
9584
9585 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
9586 (vc-svn-ignore-completion-table): New function.
9587
9588 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
35e951cd 9589 (vc-hg-ignore-completion-table)
ab419665
XF
9590 (vc-hg-find-ignore-file): New functions.
9591
9592 * vc/vc-git.el (vc-git-ignore): Rewrite.
35e951cd 9593 (vc-git-ignore-completion-table)
ab419665
XF
9594 (vc-git-find-ignore-file): New functions.
9595
9596 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
9597
9598 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
35e951cd 9599 (vc-bzr-ignore-completion-table)
ab419665
XF
9600 (vc-bzr-find-ignore-file): New functions.
9601
2613dea2
JB
96022013-08-03 Juanma Barranquero <lekktu@gmail.com>
9603
9604 * frameset.el (frameset-prop): New function and setter.
9605 (frameset-save): Do not modify frame list passed by the caller.
9606
9c959872
SM
96072013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9608
9609 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
9610
a104f656
SM
96112013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
9612
70122acf
SM
9613 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
9614 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
9615
a104f656
SM
9616 * custom.el (custom-initialize-default, custom-initialize-set)
9617 (custom-initialize-reset, custom-initialize-changed): Affect the
9618 toplevel-default-value (bug#6275, bug#14586).
9619 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
9620 for bug#6275.
9621
f078d570
JB
96222013-08-02 Juanma Barranquero <lekktu@gmail.com>
9623
185e3b5a
JB
9624 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
9625 Add cl-def* expressions.
9626
f078d570
JB
9627 * frameset.el (frameset-filter-params): Fix order of arguments.
9628
9421876d
JB
96292013-08-02 Juanma Barranquero <lekktu@gmail.com>
9630
9631 Move code related to saving frames to frameset.el.
9632 * desktop.el: Require frameset.
9633 (desktop-restore-frames): Doc fix.
9634 (desktop-restore-reuses-frames): Rename from
9635 desktop-restoring-reuses-frames.
9636 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
9637 (desktop-clear): Clear frames too.
9638 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
9639 (desktop--filter-tty*, desktop-save, desktop-read):
9640 Use frameset functions.
9641 (desktop-before-saving-frames-functions, desktop--filter-*-color)
9642 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
9643 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
9644 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
9645 (desktop--process-minibuffer-frames, desktop-save-frames)
9646 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
9647 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
9648 (desktop--sort-states, desktop-restoring-frames-p)
9649 (desktop-restore-frames): Remove. Most code moved to frameset.el.
9650 (desktop-restoring-frameset-p, desktop-restore-frameset)
9651 (desktop--check-dont-save, desktop-save-frameset): New functions.
9652 (desktop--app-id): New constant.
9653 (desktop-first-buffer, desktop-buffer-ok-count)
9654 (desktop-buffer-fail-count): Move before first use.
9655 * frameset.el: New file.
9656
76dc5996
SM
96572013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
9658
9659 * files.el: Use lexical-binding.
9660 (dir-locals-read-from-file): Remove unused `err' variable.
9661 (hack-dir-local-variables--warned-coding): New var.
9662 (hack-dir-local-variables): Use it to avoid repeated warnings.
9663 (make-backup-file-name--default-function): New function.
9664 (make-backup-file-name-function): Use it as default.
9665 (buffer-stale--default-function): New function.
9666 (buffer-stale-function): Use it as default.
9667 (revert-buffer-insert-file-contents--default-function): New function.
9668 (revert-buffer-insert-file-contents-function): Use it as default.
9669 (insert-directory): Avoid add-to-list.
9670
9671 * autorevert.el (auto-revert-handler): Simplify.
9672 Use buffer-stale--default-function.
9673
06d36e2b
TH
96742013-08-01 Tassilo Horn <tsdh@gnu.org>
9675
5f648ab4
TH
9676 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
9677
06d36e2b
TH
9678 * whitespace.el (whitespace-ensure-local-variables): New function.
9679 (whitespace-cleanup-region): Call it.
9680 (whitespace-turn-on): Call it.
9681
a43dc424
MA
96822013-08-01 Michael Albinus <michael.albinus@gmx.de>
9683
9684 Complete file name handlers.
9685
9686 * net/tramp.el (tramp-handle-set-visited-file-modtime)
9687 (tramp-handle-verify-visited-file-modtime)
9688 (tramp-handle-file-notify-rm-watch): New functions.
9689 (tramp-call-process): Do not bind `default-directory'.
9690
44e18199
JB
9691 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9692 Order alphabetically.
afe1e4c8
GM
9693 <access-file, add-name-to-file, dired-call-process>:
9694 <dired-compress-file, file-acl, file-notify-rm-watch>:
9695 <file-ownership-preserved-p, file-selinux-context>:
9696 <make-directory-internal, make-symbolic-link, set-file-acl>:
9697 <set-file-selinux-context, set-visited-file-modtime>:
9698 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
9699 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
9700
9701 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
afe1e4c8
GM
9702 <file-notify-add-watch, file-notify-rm-watch>:
9703 <set-file-times, set-visited-file-modtime>:
9704 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
9705 (with-tramp-gvfs-error-message)
9706 (tramp-gvfs-handle-set-visited-file-modtime)
9707 (tramp-gvfs-fuse-file-name): Remove.
9708 (tramp-gvfs-handle-file-notify-add-watch)
9709 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
9710 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
9711
44e18199
JB
9712 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9713 Order alphabetically.
afe1e4c8
GM
9714 <file-notify-rm-watch>: Use default Tramp handler.
9715 <executable-find>: Remove private handler.
a43dc424
MA
9716 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
9717 `default-directory'.
9718 (tramp-sh-handle-executable-find)
9719 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
9720 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9721 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
9722 Do not use `format' in `tramp-message'.
9723
9724 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
afe1e4c8
GM
9725 <file-notify-rm-watch, set-visited-file-modtime>:
9726 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
9727 (tramp-smb-call-winexe): Do not bind `default-directory'.
9728
7188b515
XF
97292013-08-01 Xue Fuqiao <xfq.free@gmail.com>
9730
9731 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
9732
2412ee1a
DG
97332013-07-31 Dmitry Gutov <dgutov@yandex.ru>
9734
9735 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
9736 use it.
9737 (log-view-diff-changeset): Same.
9738 (log-view-diff-common): Call backend command `previous-revision'
9739 to find out the previous revision, in both cases. Swap the
9740 variables `to' and `fr', so that `fr' usually refers to the
9741 earlier revision (Bug#14989).
9742
5002a754
KRC
97432013-07-31 Kan-Ru Chen <kanru@kanru.info>
9744
9745 * ibuf-ext.el (ibuffer-filter-by-filename):
9746 Make it work with dired buffers too.
9747
44e18199 97482013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
9749
9750 * emacs-lisp/re-builder.el (reb-color-display-p):
9751 * files.el (save-buffers-kill-terminal):
9752 * net/browse-url.el (browse-url):
9753 * server.el (server-save-buffers-kill-terminal):
9754 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
9755 Prefer nil to selected-frame for the first arg of frame-parameter.
9756
aeca3fbb
XF
97572013-07-31 Xue Fuqiao <xfq.free@gmail.com>
9758
9759 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
9760
158bc55c
SB
97612013-07-30 Stephen Berman <stephen.berman@gmx.net>
9762
9763 * minibuffer.el (completion--twq-all): Try and preserve each
9764 completion's case choice (bug#14907).
9765
d50fceab
LMI
97662013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9767
ac38e731
LMI
9768 * net/network-stream.el (open-network-stream): Mention the new
9769 :nogreeting parameter.
9770 (network-stream-open-starttls): Use the :nogreeting parameter
9771 (bug#14938).
9772
1211de50
LMI
9773 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
9774
997798bf
LMI
9775 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
9776 more natural than popping.
9777
d50fceab 9778 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 9779 (shr-urlify): Highlight under mouse.
d50fceab 9780
5c09de04
XF
97812013-07-30 Xue Fuqiao <xfq.free@gmail.com>
9782
207d1d04
XF
9783 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
9784
9785 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
9786
5c09de04
XF
9787 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
9788 buffer for output.
9789
3cd51eaa
XF
9790 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
9791 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 9792
44e18199 9793 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 9794 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
9795
9796 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
9797
9798 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
9799 buffer for output.
9800
35a89bdd
EZ
98012013-07-29 Eli Zaretskii <eliz@gnu.org>
9802
9803 * frame.el (frame-notice-user-settings): Avoid inflooping when the
9804 initial frame is minibuffer-less. (Bug#14841)
9805
78822e94
MA
98062013-07-29 Michael Albinus <michael.albinus@gmx.de>
9807
9808 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
9809 option.
9810
9811 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
9812 (tramp-maybe-open-connection): Use it.
9813
9503c190
JB
98142013-07-28 Juanma Barranquero <lekktu@gmail.com>
9815
9816 * desktop.el (desktop--make-frame): Include `minibuffer' in the
9817 minimal set of parameters passed when creating a frame, because
9818 the minibuffer status of a frame cannot be changed later.
9819
d5a845b4
SB
98202013-07-28 Stephen Berman <stephen.berman@gmx.net>
9821
9822 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
9823 replace-regexp-in-string and inadvertent omissions in previous change.
9824 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 9825 name of filtered items buffer.
d5a845b4 9826
ddeffb17
JB
98272013-07-28 Juanma Barranquero <lekktu@gmail.com>
9828
9829 * desktop.el: Optionally force offscreen frames back onscreen.
9830 (desktop-restoring-reuses-frames): New option.
9831 (desktop--compute-pos, desktop--move-onscreen): New functions.
9832 (desktop--make-frame): Use desktop--move-onscreen.
9833
f5950f7a
AM
98342013-07-27 Alan Mackenzie <acm@muc.de>
9835
9836 Fontify a Java generic method as a function.
9837 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
9838 value to t.
9839
ae43b66a
SB
98402013-07-27 Stephen Berman <stephen.berman@gmx.net>
9841
9842 * calendar/todo-mode.el: Add command to rename todo files.
9843 (todo-rename-file): New command.
9844 (todo-key-bindings-t): Add key binding for it. Change the
9845 bindings of todo-filter-regexp-items(-multifile) to use `x'
9846 instead of `r', since the latter is better suited to the new
9847 renaming command.
9848
5ab78d3d
AM
98492013-07-27 Alan Mackenzie <acm@muc.de>
9850
9851 Make Java try-with-resources statement parse properly.
9852 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
9853 (c-block-stmt-1-2-key): New language constants/variables.
9854 * progmodes/cc-engine.el (c-beginning-of-statement-1)
9855 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
9856 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 9857 with c-block-stmt-1-2-key.
5ab78d3d 9858
d85c4d50
JB
98592013-07-27 Juanma Barranquero <lekktu@gmail.com>
9860
9861 * desktop.el (desktop--make-frame): Apply most frame parameters after
9862 creating the frame to force (partially or totally) offscreen frames to
9863 be restored as such.
9864
e4c467f9
XF
98652013-07-26 Xue Fuqiao <xfq.free@gmail.com>
9866
9867 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 9868 (Bug#14948)
e4c467f9 9869
7ced0d04
SM
98702013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9871
9872 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
9873 `base' arg of backtrace-frame.
9874
fec92060
EZ
98752013-07-26 Eli Zaretskii <eliz@gnu.org>
9876
9877 * simple.el (list-processes): Doc fix.
9878
d58d31fb
JB
98792013-07-26 Juanma Barranquero <lekktu@gmail.com>
9880
9881 * desktop.el (desktop--select-frame):
d85c4d50 9882 Try harder to reuse existing frames.
d58d31fb 9883
53ff3e77
SM
98842013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9885
9886 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
9887 (edebug-eval): Use backtrace-eval.
9888 (edebug--display, edebug--recursive-edit): Don't let-bind the
9889 edebug-outer-* vars that keep track of variables we locally let-bind.
9890 (edebug-outside-excursion): Don't restore outside values of locally
9891 let-bound vars.
9892 (edebug--display): Use user-error.
9893 (cl-lexical-debug, cl-debug-env): Remove.
9894
045f7a53
JB
98952013-07-26 Juanma Barranquero <lekktu@gmail.com>
9896
9897 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
9898 are restored to be sure that they are visible before deleting any
9899 remaining ones.
9900
59070b32
MM
99012013-07-26 Matthias Meulien <orontee@gmail.com>
9902
742a3501
XF
9903 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
9904 vc-print-root-log. (Bug#14948)
59070b32 9905
b1fb3596
RS
99062013-07-26 Richard Stallman <rms@gnu.org>
9907
9908 Add aliases for encrypting mail.
9909 * epa.el (epa-mail-aliases): New option.
9910 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
9911 Bind inhibit-read-only so read-only text doesn't ruin everything.
9912 (epa-mail-default-recipients): New subroutine broken out.
9913 Handle epa-mail-aliases.
9914
56ea7291
SM
99152013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9916
9917 Add support for lexical variables to the debugger's `e' command.
9918 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
9919 vars, except for debugger-outer-match-data.
9920 (debugger-frame-number): Move check for "on a function call" from
9921 callers into it. Add `skip-base' argument.
9922 (debugger-frame, debugger-frame-clear): Simplify accordingly.
9923 (debugger-env-macro): Only reset the state stored in non-variables,
9924 i.e. current-buffer and match-data.
9925 (debugger-eval-expression): Rewrite using backtrace-eval.
9926 * subr.el (internal--called-interactively-p--get-frame): Remove.
9927 (called-interactively-p):
9928 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
9929 `base' arg of backtrace-frame instead.
9930
15ac32d5
GM
99312013-07-26 Glenn Morris <rgm@gnu.org>
9932
8358a09d
GM
9933 * align.el (align-regexp): Doc fix. (Bug#14857)
9934 (align-region): Explicit error if subexpression missing/does not match.
9935
15ac32d5
GM
9936 * simple.el (global-visual-line-mode):
9937 Do not duplicate the mode lighter. (Bug#14858)
9938
f47ad11b
MR
99392013-07-25 Martin Rudalics <rudalics@gmx.at>
9940
9941 * window.el (display-buffer): In display-buffer bind
9942 split-window-keep-point to t, bug#14829.
9943
02530987
JB
99442013-07-25 Juanma Barranquero <lekktu@gmail.com>
9945
9946 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
9947 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
9948 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
9949 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
9950 Change accordingly.
f63ebeb5
JB
9951 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
9952 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 9953
6ccb9cab 99542013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 9955
6ccb9cab 9956 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 9957
cb3a56d2
JB
99582013-07-25 Juanma Barranquero <lekktu@gmail.com>
9959
9960 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
9961 parameter to modify-frame-parameters if the value has not changed;
9962 this is a workaround for bug#14949.
9963 (desktop--make-frame): On cl-delete-if call, check parameter name,
9964 not full parameter.
9965
7aa7fff0
XF
99662013-07-30 Xue Fuqiao <xfq.free@gmail.com>
9967
9968 * vc/vc.el (vc-ignore): New function.
9969
9970 * vc/vc-svn.el (vc-svn-ignore): New function.
9971
9972 * vc/vc-hg.el (vc-hg-ignore): New function.
9973
9974 * vc/vc-git.el (vc-git-ignore): New function.
9975
9976 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
9977 (vc-dir-ignore): New function.
9978
9979 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 9980 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
9981
9982 * vc/vc-bzr.el (vc-bzr-ignore): New function.
9983
9984 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
9985
889acc5c
JB
99862013-07-24 Juanma Barranquero <lekktu@gmail.com>
9987
9988 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
9989 (desktop-restore-frames): Warn when deleting an existing frame failed.
9990
86c40970
GM
99912013-07-24 Glenn Morris <rgm@gnu.org>
9992
9993 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
9994
d5d3c58a
MA
99952013-07-24 Michael Albinus <michael.albinus@gmx.de>
9996
9997 * filenotify.el (file-notify-supported-p):
9998 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
9999 Remove functions.
10000
35e951cd 10001 * autorevert.el (auto-revert-use-notify)
d5d3c58a
MA
10002 (auto-revert-notify-add-watch):
10003 * net/tramp.el (tramp-file-name-for-operation):
10004 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10005 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10006 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10007 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
10008 Remove `file-notify-supported-p' entry.
10009
d100084b
GM
100102013-07-24 Glenn Morris <rgm@gnu.org>
10011
10012 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 10013 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 10014
ac93e56b
SM
100152013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
10016
249eea30
SM
10017 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
10018 checked with memq (bug#14935).
10019
ac93e56b
SM
10020 * files.el (revert-buffer-function): Use a non-nil default.
10021 (revert-buffer-preserve-modes): Declare var to
10022 provide access to the `preserve-modes' argument.
10023 (revert-buffer): Let-bind it.
10024 (revert-buffer--default): New function, extracted from revert-buffer.
10025
2cdeb903
SM
100262013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
10027
10028 * lpr.el: Signal print errors more prominently.
10029 (print-region-function): Don't default to nil.
10030 (lpr-print-region): New function, extracted from print-region-1.
10031 Check lpr's return value and signal an error in case of problem.
10032 (print-region-1): Use it.
10033 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
10034 versions instead.
10035 (ps-printer-name): Default to nil.
10036 (ps-printer-name-option): Default to lpr-printer-switch.
10037 (ps-print-region-function): Don't default to nil.
10038 (ps-postscript-code-directory): Simplify default.
10039 (ps-do-despool): Use lpr-print-region to properly check the outcome.
10040 (ps-string-list, ps-eval-switch, ps-flatten-list)
10041 (ps-flatten-list-1): Remove.
10042 (ps-multibyte-buffer): Avoid setq.
10043 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
10044 (print-region-function, ps-print-region-function): Don't set them here.
10045
73600831
XF
100462013-07-24 Xue Fuqiao <xfq.free@gmail.com>
10047
35e951cd
JB
10048 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
10049 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
10050 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
0e55c076
XF
10051 (ido-decorations): Doc fix.
10052
73600831
XF
10053 * ansi-color.el: Fix old URL.
10054
3d012865
MM
100552013-07-23 Michael R. Mauger <michael@mauger.com>
10056
e903c210 10057 * progmodes/sql.el: Version 3.3
3d012865
MM
10058 (sql-product-alist): Improve oracle :prompt-cont-regexp.
10059 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
10060 (sql-interactive-remove-continuation-prompt): Rewrite, use
10061 functions above. Fix continuation prompt and complete output line
10062 handling.
10063 (sql-redirect-one, sql-execute): Use `read-only-mode' on
10064 redirected output buffer.
10065 (sql-mode): Restore deleted code (Bug#13591).
10066
da77a2e2
JB
100672013-07-23 Juanma Barranquero <lekktu@gmail.com>
10068
10069 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
10070
80ff0c71
MA
100712013-07-23 Michael Albinus <michael.albinus@gmx.de>
10072
10073 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
10074
10075 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10076 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10077 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
10078
b61d71e4
JB
100792013-07-23 Juanma Barranquero <lekktu@gmail.com>
10080
10081 * desktop.el (desktop-clear): Simplify; remove useless checks
10082 against invalid buffer names.
10083 (desktop-list*): Use cl-list*.
10084 (desktop-buffer-info, desktop-create-buffer): Simplify.
10085
c3512092
LL
100862013-07-23 Leo Liu <sdl.web@gmail.com>
10087
10088 * bookmark.el (bookmark-make-record): Restore NAME as a default
10089 value. (Bug#14933)
10090
0ac26976
SM
100912013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
10092
7d22ce18
SM
10093 * emacs-lisp/autoload.el (autoload--setup-output): New function,
10094 extracted from autoload--insert-text.
10095 (autoload--insert-text): Remove.
10096 (autoload--print-cookie-text): New function, extracted from
10097 autoload--insert-cookie-text.
10098 (autoload--insert-cookie-text): Remove.
10099 (autoload-generate-file-autoloads): Adjust calls accordingly.
10100
9b2607e8
SM
10101 * winner.el (winner-hook-installed-p): Remove.
10102 (winner-mode): Simplify accordingly.
10103
c43a8618
SM
10104 * subr.el (add-to-list): Fix compiler-macro when `append' is
10105 not constant. Don't use `cl-member' for the base case.
10106
0ac26976
SM
10107 * progmodes/subword.el: Fix boundary case (bug#13758).
10108 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
10109 own group.
10110 (subword-backward-regexp): Make it a constant.
10111 (subword-forward-internal): Don't treat a trailing capital as the
10112 beginning of a word.
10113
6874724a
AR
101142013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
10115
10116 * emacs-lisp/package.el (package-menu-mode): Don't modify the
10117 global value of tabulated-list-revert-hook (bug#14930).
10118
70f1b5e8
JB
101192013-07-22 Juanma Barranquero <lekktu@gmail.com>
10120
a1c80d9d
JB
10121 * desktop.el: Require 'cl-lib.
10122 (desktop-before-saving-frames-functions): New hook.
10123 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
10124 for frames being saved. Rename from desktop--save-minibuffer-frames.
10125 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
10126 Do not save frames with non-nil `desktop-dont-save' parameter.
10127 Filter out deleted frames.
a1c80d9d
JB
10128 (desktop--find-frame): Use cl-find-if.
10129 (desktop--select-frame): Use cl-(first|second|third) to access values
10130 of desktop-mini.
10131 (desktop--make-frame): Use cl-delete-if.
10132 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
10133 (desktop-restore-frames): Use cl-(first|second|third) to access values
10134 of desktop-mini. Look for visible frame at the end, not while
10135 restoring frames.
10136
70f1b5e8
JB
10137 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
10138 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
10139 Use string-match-p, looking-at-p (bug#14927).
10140
728dc3cc
JB
101412013-07-21 Juanma Barranquero <lekktu@gmail.com>
10142
56bc453c
JB
10143 * desktop.el (desktop-saved-frame-states):
10144 Rename from desktop--saved-states; all users changed.
10145 (desktop-save-frames): Rename from desktop--save-frames.
10146 Do not save state to desktop file.
10147 (desktop-save): Save desktop-saved-frame-states to desktop file
10148 and reset to nil.
10149 (desktop-restoring-frames-p): New function.
10150 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
10151 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
10152 buffer-lists when restoring frames. Suggested by Martin Rudalics.
10153
728dc3cc
JB
10154 * desktop.el: Correctly restore iconified frames.
10155 (desktop--filter-iconified-position): New function.
10156 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
10157
862f1c9c
GM
101582013-07-20 Glenn Morris <rgm@gnu.org>
10159
c4074c9f
GM
10160 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
10161 Let `message' do the formatting.
10162 (def-gdb-preempt-display-buffer): Add explicit format.
10163
d828e5f9
GM
10164 * image-dired.el (image-dired-track-original-file):
10165 Use with-current-buffer.
10166 (image-dired-track-thumbnail): Use with-current-buffer.
10167 Avoid changing point of wrong window.
10168
862f1c9c
GM
10169 * image-dired.el (image-dired-track-original-file):
10170 Avoid changing point of wrong window. (Bug#14909)
10171
f0398ec1 101722013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
10173
10174 * progmodes/gdb-mi.el (gdb-done-or-error):
10175 Guard against "%" in gdb output. (Bug#14127)
10176
1451928f
AS
101772013-07-20 Andreas Schwab <schwab@linux-m68k.org>
10178
763a086d
JB
10179 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
10180 (Bug#14826)
f7a03897 10181
1451928f
AS
10182 * international/mule.el (coding-system-iso-2022-flags): Fix last
10183 change.
10184
99107004
KH
101852013-07-20 Kenichi Handa <handa@gnu.org>
10186
763a086d
JB
10187 * international/mule.el (coding-system-iso-2022-flags):
10188 Add `8-bit-level-4'. (Bug#8522)
99107004 10189
48494e06
LMI
101902013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10191
8ba8eec5
LMI
10192 * net/shr.el (shr-mouse-browse-url): New command and keystroke
10193 (bug#14815).
10194
dfbc66e3
LMI
10195 * net/eww.el (eww-process-text-input): Allow inputting when the
10196 point is at the start of the line, as the properties aren't
10197 front-sticky.
10198
48494e06
LMI
10199 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
10200 degenerate widths.
10201
77c92cb9
RS
102022013-07-19 Richard Stallman <rms@gnu.org>
10203
aec7da77
RS
10204 * epa.el (epa-popup-info-window): Doc fix.
10205
77c92cb9
RS
10206 * subr.el (split-string): New arg TRIM.
10207
945c5bb1
JB
102082013-07-18 Juanma Barranquero <lekktu@gmail.com>
10209
10210 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
10211 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
10212
e06ec67f
MA
102132013-07-18 Michael Albinus <michael.albinus@gmx.de>
10214
c7064f05 10215 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
10216 `file-notify-support'. Do not autoload. Adapt all uses.
10217 (file-notify-supported-p): New defun.
10218
c7064f05
JB
10219 * autorevert.el (auto-revert-use-notify):
10220 Use `file-notify-supported-p' instead of `file-notify-support'.
10221 Adapt docstring.
e06ec67f
MA
10222 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
10223
10224 * net/tramp.el (tramp-file-name-for-operation):
10225 Add `file-notify-supported-p'.
10226
10227 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
10228 New defun.
10229 (tramp-sh-file-name-handler-alist): Add it as handler for
10230 `file-notify-supported-p '.
10231
10232 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10233 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10234 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
10235 Add `ignore' as handler for `file-notify-*' functions.
10236
5dc8a629
EZ
102372013-07-17 Eli Zaretskii <eliz@gnu.org>
10238
10239 * simple.el (line-move-partial, line-move): Don't start vscroll or
10240 scroll-up if the current line is not taller than the window.
10241 (Bug#14881)
10242
77aea2fb
DG
102432013-07-16 Dmitry Gutov <dgutov@yandex.ru>
10244
10245 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
10246 highlight question marks in the method names as strings.
ac72c08d
DG
10247 (ruby-block-beg-keywords): Inline.
10248 (ruby-font-lock-keyword-beg-re): Extract from
10249 `ruby-font-lock-keywords'.
77aea2fb 10250
18c26d81
JD
102512013-07-16 Jan Djärv <jan.h.d@swipnet.se>
10252
10253 * frame.el (blink-cursor-blinks): New defcustom.
10254 (blink-cursor-blinks-done): New defvar.
10255 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
10256 (blink-cursor-timer-function): Check if number of blinks has been
10257 done on X and NS.
10258 (blink-cursor-suspend, blink-cursor-check): New defuns.
10259
da48522e
GM
102602013-07-15 Glenn Morris <rgm@gnu.org>
10261
10262 * edmacro.el (edmacro-format-keys): Fix previous change.
10263
0463c1ef
PE
102642013-07-15 Paul Eggert <eggert@cs.ucla.edu>
10265
10266 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
10267 The hack didn't work outside English locales anyway.
10268
b43f6451
JB
102692013-07-15 Juanma Barranquero <lekktu@gmail.com>
10270
10271 * simple.el (define-alternatives): Rename from alternatives-define,
10272 per RMS' suggestion.
10273
b958c0ad
JB
102742013-07-14 Juanma Barranquero <lekktu@gmail.com>
10275
10276 * desktop.el (desktop-restore-frames): Change default to t.
10277 (desktop-restore-in-current-display): Now offer more options.
10278 (desktop-restoring-reuses-frames): New customization option.
10279 (desktop--saved-states): Doc fix.
10280 (desktop-filter-parameters-alist): New variable, renamed and expanded
10281 from desktop--excluded-frame-parameters.
10282 (desktop--target-display): New variable.
10283 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
10284 (desktop--filter-tty*, desktop--filter-*-color)
10285 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
10286 (desktop--filter-save-desktop-parm)
10287 (desktop-restore-in-original-display-p): New functions.
10288 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
10289 (desktop--save-minibuffer-frames): New function, inspired by a similar
10290 function from Martin Rudalics.
10291 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
10292 (desktop--restore-in-this-display-p): Remove.
10293 (desktop--find-frame): Rename from desktop--find-frame-in-display
10294 and add predicate argument.
10295 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
10296 (desktop--reuse-list): New variable.
10297 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
10298 New functions.
10299 (desktop--restore-frames): Add support for "minibuffer-special" frames.
10300
f6dd8b36
MA
103012013-07-14 Michael Albinus <michael.albinus@gmx.de>
10302
10303 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
10304
2ce3c565
DG
103052013-07-13 Dmitry Gutov <dgutov@yandex.ru>
10306
763a086d
JB
10307 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
10308 Highlight conversion methods on Kernel.
2ce3c565 10309
2cdb7698
AM
103102013-07-13 Alan Mackenzie <acm@muc.de>
10311
10312 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
10313 and comment it out. This out-commenting enables certain C++
10314 declarations to be parsed correctly.
10315
1a67b811
EZ
103162013-07-13 Eli Zaretskii <eliz@gnu.org>
10317
1b796d6b
EZ
10318 * international/mule.el (define-coding-system): Doc fix.
10319
1a67b811
EZ
10320 * simple.el (default-font-height): Don't call font-info if the
10321 frame's default font didn't change since the frame was created.
10322 (Bug#14838)
10323
58fbe886
LL
103242013-07-13 Leo Liu <sdl.web@gmail.com>
10325
10326 * ido.el (ido-read-file-name): Guard against non-symbol value.
10327
1f0480d4
FEG
103282013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
10329
10330 * progmodes/python.el (python-imenu--build-tree): Fix corner case
10331 in nested defuns.
10332
97ead0e5
LL
103332013-07-13 Leo Liu <sdl.web@gmail.com>
10334
10335 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
10336 ido-set-matches call. (Bug#6852)
10337
0880a952
DG
103382013-07-12 Dmitry Gutov <dgutov@yandex.ru>
10339
35e951cd 10340 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
0880a952
DG
10341 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
10342 Ruby 2.0.
10343 (ruby-font-lock-keywords): Distinguish calls to functions with
10344 module-like names from module references. Highlight character
10345 literals.
10346
a7d8babb
SDJ
103472013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
10348
10349 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 10350 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 10351
acfcc8c5
JB
103522013-07-12 Juanma Barranquero <lekktu@gmail.com>
10353
10354 * desktop.el (desktop--v2s): Remove unused local variable.
10355 (desktop-save-buffer): Make defvar-local; adjust docstring.
10356 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
10357 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
10358
051f2775
AS
103592013-07-12 Andreas Schwab <schwab@linux-m68k.org>
10360
10361 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
10362
f24e7572
GM
103632013-07-12 Eli Zaretskii <eliz@gnu.org>
10364
10365 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
10366 (Bug#14842)
10367
539a920c
GM
103682013-07-12 Glenn Morris <rgm@gnu.org>
10369
10370 * doc-view.el: Require cl-lib at runtime too.
10371 (doc-view-remove-if): Remove.
10372 (doc-view-search-next-match, doc-view-search-previous-match):
10373 Use cl-remove-if.
10374
10375 * edmacro.el: Require cl-lib at runtime too.
10376 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
10377 (edmacro-mismatch, edmacro-subseq): Remove.
10378
10379 * shadowfile.el: Require cl-lib.
10380 (shadow-remove-if): Remove.
10381 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
10382 Use cl-remove-if.
10383
10384 * wid-edit.el: Require cl-lib.
10385 (widget-choose): Use cl-remove-if.
10386 (widget-remove-if): Remove.
10387
10388 * progmodes/ebrowse.el: Require cl-lib at runtime too.
10389 (ebrowse-delete-if-not): Remove.
10390 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
10391 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
10392 Use cl-delete-if-not.
10393
1048af7c
JB
103942013-07-12 Juanma Barranquero <lekktu@gmail.com>
10395
10396 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
10397 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
10398
6c0674ee
LL
103992013-07-12 Leo Liu <sdl.web@gmail.com>
10400
10401 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
10402
a19b3c2d
GM
104032013-07-11 Glenn Morris <rgm@gnu.org>
10404
4582a01c
GM
10405 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
10406 (edebug-gensym-index, edebug-gensym):
10407 Remove reimplementation of cl-gensym.
10408 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
10409
10410 * thumbs.el: Require cl-lib at run-time too.
10411 (thumbs-gensym-counter, thumbs-gensym):
10412 Remove reimplementation of cl-gensym.
10413 (thumbs-temp-file): Use cl-gensym.
10414
a19b3c2d
GM
10415 * emacs-lisp/ert.el: Require cl-lib at runtime too.
10416 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
10417 (ert--intersection, ert--set-difference, ert--set-difference-eq)
10418 (ert--union, ert--gensym-counter, ert--gensym-counter)
10419 (ert--coerce-to-vector, ert--remove*, ert--string-position)
10420 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
10421 (ert-make-test-unbound, ert--expand-should-1)
10422 (ert--expand-should, ert--should-error-handle-error)
10423 (should-error, ert--explain-equal-rec)
10424 (ert--plist-difference-explanation, ert-select-tests)
10425 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
10426 Use cl-lib functions rather than reimplementations.
10427
88f6a933
MA
104282013-07-11 Michael Albinus <michael.albinus@gmx.de>
10429
10430 * net/tramp.el (tramp-methods): Extend docstring.
10431 (tramp-connection-timeout): New defcustom.
10432 (tramp-error-with-buffer): Reset timestamp only when appropriate.
10433 (with-tramp-progress-reporter): Simplify.
10434 (tramp-process-actions): Improve messages.
10435
10436 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10437 * net/tramp-sh.el (tramp-maybe-open-connection):
10438 Use `tramp-connection-timeout'.
afe1e4c8 10439 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
88f6a933
MA
10440 (Bug#14808)
10441
a43d577e
LL
104422013-07-11 Leo Liu <sdl.web@gmail.com>
10443
10444 * ido.el (ido-read-file-name): Conform to the requirements of
10445 read-file-name. (Bug#11861)
10446 (ido-read-directory-name): Conform to the requirements of
10447 read-directory-name.
10448
d77974bf
JB
104492013-07-11 Juanma Barranquero <lekktu@gmail.com>
10450
10451 * subr.el (delay-warning): New function.
10452
35cb8a3e
EZ
104532013-07-10 Eli Zaretskii <eliz@gnu.org>
10454
10455 * simple.el (default-line-height): New function.
10456 (line-move-partial, line-move): Use it instead of computing the
10457 line height inline.
10458 (line-move-partial): Always compute ROWH. If the last line is
10459 partially-visible, but its text is completely visible, allow
10460 cursor to enter such a partially-visible line.
10461
525c5c77
MA
104622013-07-10 Michael Albinus <michael.albinus@gmx.de>
10463
10464 Improve error messages. (Bug#14808)
10465
10466 * net/tramp.el (tramp-current-connection): New defvar, moved from
10467 tramp-sh.el.
0ac26976 10468 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 10469 needed anymore.
0ac26976
SM
10470 (tramp-error-with-buffer): Show message in minibuffer.
10471 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
10472 (with-tramp-progress-reporter): Improve messages.
10473 (tramp-process-actions): Use progress reporter. Delete process in
10474 case of error. Improve messages.
10475
763a086d
JB
10476 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
10477 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 10478 (tramp-current-connection): Remove.
525c5c77
MA
10479 (tramp-maybe-open-connection): The car of
10480 `tramp-current-connection' are the first 3 slots of the vector.
10481
c7a4d368
TZ
104822013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
10483
10484 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
10485 inside continued strings.
10486
954b166e
PE
104872013-07-10 Paul Eggert <eggert@cs.ucla.edu>
10488
10489 Timestamp fixes for undo (Bug#14824).
10490 * files.el (clear-visited-file-modtime): Move here from fileio.c.
10491
56973319
LL
104922013-07-10 Leo Liu <sdl.web@gmail.com>
10493
10494 * files.el (require-final-newline): Allow safe local value.
10495 (Bug#14834)
10496
5550a72c
LL
104972013-07-09 Leo Liu <sdl.web@gmail.com>
10498
10499 * ido.el (ido-read-directory-name): Handle fallback.
10500 (ido-read-file-name): Update DIR to ido-current-directory.
10501 (Bug#1516)
c28b9050 10502 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 10503
70c46b28
DG
105042013-07-09 Dmitry Gutov <dgutov@yandex.ru>
10505
10506 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
10507 "autoload". Remove "warn lower camel case" section, previously
10508 commented out. Highlight negation char. Do not highlight the
10509 target in singleton method definitions.
10510
0b64b838
SM
105112013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
10512
7fd72e2c
SM
10513 * faces.el (tty-setup-hook): Declare the hook.
10514
0b64b838
SM
10515 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
10516 and detect when a guard/pred depends on local vars (bug#14773).
10517 (pcase--u1): Adjust caller.
10518
ab49d60b
EZ
105192013-07-08 Eli Zaretskii <eliz@gnu.org>
10520
10521 * simple.el (line-move-partial, line-move): Account for
10522 line-spacing.
701d79aa
EZ
10523 (line-move-partial): Avoid setting vscroll when the last
10524 partially-visible line in window is of default height.
ab49d60b 10525
2d756ae0
LMI
105262013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
10527
10528 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
10529 been used a while.
10530
ed095bd7
JB
105312013-07-07 Juanma Barranquero <lekktu@gmail.com>
10532
10533 * subr.el (read-quoted-char): Remove unused local variable `char'.
10534
f1e6674b
MK
105352013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
10536
584ee3fc
GM
10537 * ediff.el (ediff-version): Version update.
10538 (ediff-files-command, ediff3-files-command, ediff-merge-command)
10539 (ediff-merge-with-ancestor-command, ediff-directories-command)
10540 (ediff-directories3-command, ediff-merge-directories-command)
10541 (ediff-merge-directories-with-ancestor-command): New functions.
10542 All are command-line interfaces to ediff: to facilitate calling
10543 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
10544
10545 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
10546 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 10547
584ee3fc
GM
10548 * viper.el (viper-version): Version update.
10549 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 10550
584ee3fc
GM
105512013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
10552
10553 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
10554 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
10555 (viper-intercept-ESC-key): Simplify.
10556 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
10557 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
10558 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
10559 (viper-setup-ESC-to-escape): New functions.
10560 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
10561 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 10562
9aff9b38
EZ
105632013-07-07 Eli Zaretskii <eliz@gnu.org>
10564
5165d44a
JB
10565 * simple.el (default-font-height, window-screen-lines):
10566 New functions.
9aff9b38
EZ
10567 (line-move, line-move-partial): Use them instead of
10568 frame-char-height and window-text-height. This makes scrolling
10569 text smoother when the buffer's default face uses a font that is
10570 different from the frame's default font.
10571
1afb1d07
JD
105722013-07-06 Jan Djärv <jan.h.d@swipnet.se>
10573
10574 * files.el (write-file): Do not display confirm dialog for NS,
d5081c1e 10575 it does its own dialog, which can't be canceled (Bug#14578).
1afb1d07 10576
23de972a
EZ
105772013-07-06 Eli Zaretskii <eliz@gnu.org>
10578
10579 * simple.el (line-move-partial): Adjust the row returned by
10580 posn-at-point for the current window-vscroll. (Bug#14567)
10581
54a42486
MA
105822013-07-06 Michael Albinus <michael.albinus@gmx.de>
10583
35e951cd 10584 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
54a42486
MA
10585 (tramp-sh-file-inotifywait-process-filter): Handle file names with
10586 spaces.
10587
34ada5f4
MR
105882013-07-06 Martin Rudalics <rudalics@gmx.at>
10589
10590 * window.el (window-state-put-stale-windows): New variable.
10591 (window--state-put-2): Save list of windows without matching buffer.
10592 (window-state-put): Remove "bufferless" windows if possible.
10593
11e03d89
JB
105942013-07-06 Juanma Barranquero <lekktu@gmail.com>
10595
10596 * simple.el (alternatives-define): Remove leftover :group keyword.
10597 Tweak docstring.
10598
3504a4be
LL
105992013-07-06 Leo Liu <sdl.web@gmail.com>
10600
10601 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
10602 (ido-enable-virtual-buffers): New variable.
10603 (ido-buffer-internal, ido-toggle-virtual-buffers)
10604 (ido-make-buffer-list): Use it.
10605 (ido-exhibit): Support turning on and off virtual buffers
10606 automatically.
10607
61e56e2c
JB
106082013-07-06 Juanma Barranquero <lekktu@gmail.com>
10609
10610 * simple.el (alternatives-define): New macro.
10611
321e1a9c
SM
106122013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
10613
10614 * subr.el (read-quoted-char): Use read-key.
10615 (sit-for): Let read-event decode tty input (bug#14782).
10616
d610f6dd
SB
106172013-07-05 Stephen Berman <stephen.berman@gmx.net>
10618
10619 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
10620 mode command and externally. Fix various related bugs.
10621 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
10622 (todo-delete-file): New command.
10623 (todo-check-file): New function.
10624 (todo-show): Handle external deletion of the file we're trying to
10625 show (bug#14688). Replace called-interactively-p by an optional
10626 prefix argument to avoid problematic interaction with catch form
10627 when byte compiled (bug#14702).
10628 (todo-quit): Handle external deletion of the archive's todo file.
10629 Make sure the buffer that was visiting the archive file is still
10630 live before trying to bury it.
10631 (todo-category-completions): Handle external deletion of any
10632 category completion files.
10633 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
10634 of todo files, in case of external deletion.
10635 (todo-add-file): Replace unnecessary setq by let-binding.
10636 (todo-find-archive): Check whether there are any archives.
10637 Replace unnecessary setq by let-binding.
10638 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
10639 archive buffer whether or not the archive already exists.
10640 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
10641 check if the archive is new; if it is, update list of archives.
10642 (todo-default-todo-file): Allow nil to be a valid value for when
10643 there are no todo files.
10644 (todo-reevaluate-default-file-defcustom): Use corrected definition
10645 of todo-default-todo-file.
10646 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
10647 (todo-delete-category, todo-show-categories-table)
10648 (todo-category-number): Clarify comment.
10649 (todo-filter-items): Clarify documentation string.
10650 (todo-show-current-file, todo-display-as-todo-file)
10651 (todo-reset-and-enable-done-separator): Tweak documentation string.
10652 (todo-done-separator): Make separator length window-width, since
10653 bug#2749 is now fixed.
10654
ddbdfd6f
MA
106552013-07-05 Michael Albinus <michael.albinus@gmx.de>
10656
321e1a9c
SM
10657 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
10658 Support both "gvfs-monitor-dir" and "inotifywait".
10659 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
10660 `tramp-sh-file-notify-process-filter'.
10661 (tramp-sh-file-gvfs-monitor-dir-process-filter)
10662 (tramp-get-remote-gvfs-monitor-dir): New defuns.
10663
96eb829a
LL
106642013-07-05 Leo Liu <sdl.web@gmail.com>
10665
10666 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
10667
cf13177e
YM
106682013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10669
10670 * frame.el (display-pixel-height, display-pixel-width)
10671 (display-mm-height, display-mm-width): Mention behavior on
10672 multi-monitor setups in docstrings.
10673 (w32-display-monitor-attributes-list): Declare function.
10674 (display-monitor-attributes-list): Use it.
10675
864c58ca
MA
106762013-07-04 Michael Albinus <michael.albinus@gmx.de>
10677
10678 * filenotify.el: New package.
10679
10680 * autorevert.el (top): Require filenotify.el.
10681 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
10682 instead.
10683 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
10684 (auto-revert-notify-handler): Use `file-notify-*' functions.
10685
10686 * subr.el (file-notify-handle-event): Move function to filenotify.el.
10687
321e1a9c
SM
10688 * net/tramp.el (tramp-file-name-for-operation):
10689 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
10690
10691 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
10692 for `file-notify-add-watch' and `file-notify-rm-watch'.
10693 (tramp-process-sentinel): Improve trace.
10694 (tramp-sh-handle-file-notify-add-watch)
10695 (tramp-sh-file-notify-process-filter)
10696 (tramp-sh-handle-file-notify-rm-watch)
10697 (tramp-get-remote-inotifywait): New defuns.
10698
96673afe
JL
106992013-07-03 Juri Linkov <juri@jurta.org>
10700
10701 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
10702 call of `occur-read-primary-args' to interactive spec.
10703
10704 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
10705 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
10706
924494f4
MM
107072013-07-03 Matthias Meulien <orontee@gmail.com>
10708
10709 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
10710 `Buffer-menu-multi-occur'. Add it to the menu.
10711 (Buffer-menu-mode): Document it in docstring.
10712 (Buffer-menu-multi-occur): New command. (Bug#14673)
10713
56f75efc
DG
107142013-07-03 Dmitry Gutov <dgutov@yandex.ru>
10715
10716 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
10717 keywords and built-ins.
10718
9b057d61
GM
107192013-07-03 Glenn Morris <rgm@gnu.org>
10720
208dee4d
GM
10721 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
10722
9b057d61
GM
10723 Make info-xref checks case-sensitive by default
10724 * info.el (Info-find-node, Info-find-in-tag-table)
10725 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
10726 Add option for exact case matching of nodes.
10727 * info-xref.el (info-xref): New custom group.
10728 (info-xref-case-fold): New option.
10729 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
10730
e01aa29c
LL
107312013-07-03 Leo Liu <sdl.web@gmail.com>
10732
10733 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
10734
3086ca2e
DG
107352013-07-03 Dmitry Gutov <dgutov@yandex.ru>
10736
10737 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
10738 middle of block statement initially, lower the depth. Remove
10739 FIXME comment, not longer valid. Remove middle of block statement
10740 detection, no need to do that anymore since we've been using
10741 `ruby-parse-region' here.
10742
a3b49114
JD
107432013-07-02 Jan Djärv <jan.h.d@swipnet.se>
10744
10745 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
10746
08e5c823 107472013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
10748
10749 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
10750
2addf922
JB
107512013-07-01 Juanma Barranquero <lekktu@gmail.com>
10752
10753 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
10754 (desktop-restore-in-current-display): New customization option.
10755 (desktop--excluded-frame-parameters): Add `font'.
10756 (desktop--save-frames): Rename from desktop--save-windows.
10757 (desktop--restore-in-this-display-p): New function.
10758 (desktop--make-full-frame): Remove unwanted width/height from
10759 full(width|height) frames.
10760 (desktop--restore-frames): Rename from desktop--restore-windows.
10761 Obey desktop-restore-current-display. Do not delete old frames or
10762 select a new frame unless we were able to restore at least one frame.
10763
ef099a94
MN
107642013-06-30 Michal Nazarewicz <mina86@mina86.com>
10765
10766 * files.el (find-file-noselect): Simplify conditional expression.
10767
a12bf61e 10768 * textmodes/remember.el (remember-append-to-file):
ef099a94
MN
10769 Don't mix `find-buffer-visiting' and `get-file-buffer'.
10770
10771 Add `remember-notes' function to store random notes across Emacs
10772 restarts.
3fcfc4ee
JB
10773 * textmodes/remember.el (remember-data-file): Add :set callback to
10774 affect notes buffer (if any).
ef099a94
MN
10775 (remember-notes): New command.
10776 (remember-notes-buffer-name, bury-remember-notes-on-kill):
10777 New defcustoms for the `remember-notes' function.
10778 (remember-notes-save-and-bury-buffer): New command.
10779 (remember-notes-mode-map): New variable.
10780 (remember-mode): New minor mode.
10781 (remember-notes--kill-buffer-query): New function.
10782 * startup.el (initial-buffer-choice): Add notes to custom type.
10783
0865d506
EZ
107842013-06-30 Eli Zaretskii <eliz@gnu.org>
10785
0ba54312
EZ
10786 * bindings.el (right-char, left-char): Don't call sit-for, this is
10787 no longer needed. Use arithmetic comparison only for numerical
10788 arguments.
10789
ef099a94
MN
10790 * international/mule-cmds.el (select-safe-coding-system):
10791 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 10792
2fae38e5
LMI
107932013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10794
10795 * net/shr.el (shr-make-table-1): Add a sanity check that allows
10796 progression on degenerate tables.
ef099a94 10797 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 10798
a47cbd64
JB
107992013-06-30 Juanma Barranquero <lekktu@gmail.com>
10800
10801 Some fixes and improvements for desktop frame restoration.
10802 It is still experimental and disabled by default.
10803 * desktop.el (desktop--save-windows): Put the selected frame at
10804 the head of the list.
10805 (desktop--make-full-frame): New function.
10806 (desktop--restore-windows): Try to re-select the frame that was
10807 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
10808 just show an error message and continue. Set up maximized frames
10809 so they have default non-maximized dimensions.
a47cbd64 10810
6dbafa30
DG
108112013-06-30 Dmitry Gutov <dgutov@yandex.ru>
10812
ef099a94
MN
10813 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
10814 Don't start heredoc inside a string or comment.
6dbafa30 10815
4c672a0f
EZ
108162013-06-29 Eli Zaretskii <eliz@gnu.org>
10817
10818 * bindings.el (visual-order-cursor-movement): New defcustom.
10819 (right-char, left-char): Provide visual-order cursor motion by
10820 calling move-point-visually. Update the doc strings.
10821
50960f36
KH
108222013-06-28 Kenichi Handa <handa@gnu.org>
10823
10824 * international/mule.el (define-coding-system): New coding system
10825 properties :inhibit-null-byte-detection,
10826 :inhibit-iso-escape-detection, and :prefer-utf-8.
10827 (set-buffer-file-coding-system): If :charset-list property of
10828 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
10829 appropriate for setting.
10830
c1ea3abf
JB
10831 * international/mule-cmds.el (select-safe-coding-system):
10832 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
10833 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
10834
10835 * international/mule-conf.el (prefer-utf-8): New coding system.
10836 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
10837 files.
10838
75dbaf9d
IK
108392013-06-28 Ivan Kanis <ivan@kanis.fr>
10840
eadb6068
IK
10841 * net/shr.el (shr-render-region): New function.
10842
75dbaf9d
IK
10843 * net/eww.el: Autoload `eww-browse-url'.
10844
9ea5cf9f
DG
108452013-06-27 Dmitry Gutov <dgutov@yandex.ru>
10846
c1ea3abf
JB
10847 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10848 Adapt to `package-desc-version' being a list.
10849 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
10850 archive element.
10851
39c0e36f
JB
108522013-06-27 Juanma Barranquero <lekktu@gmail.com>
10853
10854 New experimental feature to save&restore window and frame setup.
10855 * desktop.el (desktop-save-windows): New defcustom.
10856 (desktop--saved-states): New var.
10857 (desktop--excluded-frame-parameters): New defconst.
10858 (desktop--filter-frame-parms, desktop--find-frame-in-display)
10859 (desktop--restore-windows, desktop--save-windows): New functions.
10860 (desktop-save): Call `desktop--save-windows'.
10861 (desktop-read): Call `desktop--restore-windows'.
10862
7f13406b
LMI
108632013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
10864
ef099a94 10865 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 10866
1e072639
SB
108672013-06-27 Stephen Berman <stephen.berman@gmx.net>
10868
10869 * info.el (Info-try-follow-nearest-node): Move search for footnote
10870 above search for node name to prevent missing a footnote (bug#14717).
10871
f3e2cbde
SB
108722013-06-27 Stephen Berman <stephen.berman@gmx.net>
10873
10874 * obsolete/otodo-mode.el: Add obsolescence info to file header.
10875
99906aa0
LL
108762013-06-27 Leo Liu <sdl.web@gmail.com>
10877
10878 * net/eww.el (eww-read-bookmarks): Check file size.
10879
539f75f4
SM
108802013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
10881
10882 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
10883 advice--pending if newdef is nil or an autoload (bug#13820).
10884 (advice-mapc): New function.
10885
843571cb
LMI
108862013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10887
10888 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
10889 probably.
23a75d7f 10890 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
10891 (eww-add-bookmark): New command.
10892 (eww-bookmark-mode): New mode and commands.
a285ce99 10893 (eww-add-bookmark): Remove newlines from the title.
47fd571b 10894 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 10895
f2136e1e
GM
108962013-06-26 Glenn Morris <rgm@gnu.org>
10897
eab35f39
GM
10898 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
10899 (hfy-size): Handle ttys. (Bug#14668)
10900
f2136e1e
GM
10901 * info-xref.el: Update for Texinfo 5 change in *note format.
10902 (info-xref-node-re, info-xref-note-re): New constants.
10903 (info-xref-check-buffer): Use info-xref-note-re.
10904
a49ff80c
SM
109052013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
10906
a343d218
SM
10907 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
10908
a49ff80c
SM
10909 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
10910 nil terminate the loop (bug#14718).
10911
8308f184
LMI
109122013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
10913
10914 * net/eww.el: Rework history traversal. When going forward/back,
10915 put these actions into the history, too, so that they can be
10916 replayed.
26bf2b82 10917 (eww-render): Move the history reset to the correct buffer.
8308f184 10918
ec64c273
JL
109192013-06-25 Juri Linkov <juri@jurta.org>
10920
10921 * files-x.el (modify-dir-local-variable): Change the header comment
10922 in the file with directory local variables. (Bug#14692)
10923
e080a9d7
JL
10924 * files-x.el (read-file-local-variable-value): Add `default'.
10925 (Bug#14710)
10926
bfbc93a1
IK
109272013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
10928
10929 * net/eww.el (eww-make-unique-file-name): Create a unique file
10930 name before saving to entering `y' accidentally asynchronously.
10931
109322013-06-25 Ivan Kanis <ivan@kanis.fr>
10933
10934 * net/eww.el (eww-download): New command and keystroke.
10935
16f74f10
LMI
109362013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
10937
a49ff80c 10938 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
10939
10940 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
10941 be more consistent with Info and dired.
10942
10943 * net/eww.el (eww-mode-map): Ditto.
10944
12059709
SM
109452013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
10946
10947 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
10948 packages from archives.
10949 (package-archive-contents): Change format; include obsolete packages.
10950 (package-desc): Use `dir' to mark builtin packages.
10951 (package--from-builtin): Set the `dir' field to `builtin'.
10952 (generated-autoload-file, version-control): Declare.
10953 (package-compute-transaction): Change first arg and return value to be
10954 lists of package-descs. Adjust to new package-archive-contents format.
10955 (package--add-to-archive-contents): Adjust to new
10956 package-archive-contents format.
10957 (package-download-transaction): Arg is now a list of package-descs.
10958 (package-install): If `pkg' is a package name, pass it as
10959 a requirement, so it is subject to the usual (e.g. disabled) checks.
10960 (describe-package): Accept package-desc as well.
10961 (describe-package-1): Describe a specific package-desc. Add links to
10962 other package-descs for the same package name.
10963 (package-menu-describe-package): Pass the actual package-desc.
10964 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
10965 works correctly.
10966 (package-desc-status): New function.
10967 (package-menu--refresh): New function, extracted
10968 from package-menu--generate.
10969 (package-menu--generate): Use it.
10970 (package-delete): Update package-alist.
10971 (package-menu-execute): Don't call package-initialize.
10972
10973 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
10974 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
10975 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
10976 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
10977 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
10978 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
10979
8bbdea0f
MR
109802013-06-25 Martin Rudalics <rudalics@gmx.at>
10981
10982 * window.el (window--state-get-1): Workaround for bug#14527.
10983 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
10984
e82b0991
LMI
109852013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
10986
10987 * net/eww.el (eww-back-url): Implement the history by stashing all
10988 the data into a list.
d3f0f918 10989 (eww-forward-url): Allow going forward in the history, too.
e82b0991 10990
c763842b
SM
109912013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
10992
10993 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
10994 for values and use read--expression for expressions (bug#14710).
10995 (read-file-local-variable): Avoid setq.
10996 (read-file-local-variable-mode): Use minor-mode-list.
10997
bceff189
RW
109982013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10999
864c58ca 11000 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
11001 for DOI URLs.
11002
45f431c6
RW
110032013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11004
864c58ca 11005 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
11006 Update imenu-support when dialect changes.
11007
f42d8237
LL
110082013-06-25 Leo Liu <sdl.web@gmail.com>
11009
11010 * ido.el (ido-read-internal): Allow forward slash on windows.
11011
be549ce6
LMI
110122013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
11013
11014 * net/eww.el (eww): Start of strings is \\`, not ^.
11015
71d4c19d
IK
110162013-06-24 Ivan Kanis <ivan@kanis.fr>
11017
5196f88a
IK
11018 * net/shr.el (shr-browse-url): Fix interactive spec.
11019
71d4c19d
IK
11020 * net/eww.el (eww): Add a trailing slash to domain names.
11021
ae36ca55
JB
110222013-06-24 Juanma Barranquero <lekktu@gmail.com>
11023
11024 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
11025
0ebd92a3
LMI
110262013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
11027
bdaa086b
LMI
11028 * net/shr.el (shr-browse-url): Use an external browser if given a
11029 prefix.
11030
c763842b 11031 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 11032
b89fc156
IK
110332013-06-24 Ivan Kanis <ivan@kanis.fr>
11034
11035 * net/eww.el (eww): Work more correctly for file: URLs.
11036 (eww-detect-charset): Allow quoted charsets.
11037 (eww-yank-page-url): New command and keystroke.
11038
18eb4bca
DU
110392013-06-24 Daiki Ueno <ueno@gnu.org>
11040
11041 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
11042 file name of gpg executable.
11043 (epg-context-program): New function.
11044 (epg-context-home-directory): New function.
11045 (epg-context-set-program): New function.
11046 (epg-context-set-home-directory): New function.
11047 (epg--start): Use `epg-context-program' instead of
11048 'epg-gpg-program'.
11049 (epg--list-keys-1): Likewise.
11050
6c6268c8
LL
110512013-06-24 Leo Liu <sdl.web@gmail.com>
11052
11053 * ido.el (ido-read-internal): Fix bug#14620.
11054
5e400cb3
JB
110552013-06-23 Juanma Barranquero <lekktu@gmail.com>
11056
11057 * faces.el (face-documentation): Simplify.
11058 (read-face-attribute, tty-find-type, x-resolve-font-name):
11059 Use `string-match-p'.
11060 (list-faces-display): Use `string-match-p'. Simplify.
11061 (face-spec-recalc): Check face to avoid face alias loops.
11062 (read-color): Use `string-match-p' and non-capturing parenthesis.
11063
f3f9606c
LMI
110642013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
11065
11066 * net/shr.el (shr-rescale-image): Use the new
11067 :max-width/:max-height functionality.
11068
a3ca09b9
IK
110692013-06-23 Ivan Kanis <ivan@kanis.fr>
11070
11071 * net/eww.el (eww-search-prefix): New variable.
11072 (eww): Use it.
f865b474
IK
11073 (eww-external-browser): New variable.
11074 (eww-mode-map): New keystroke.
11075 (eww-browse-with-external-browser): New command.
a3ca09b9 11076
e854cfc7
IK
11077 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
11078
18bb9e21
JB
110792013-06-23 Juanma Barranquero <lekktu@gmail.com>
11080
11081 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
11082 Don't skip aligning the next header field when padding is 0;
11083 otherwise, field width is not respected unless the title is as
11084 wide as the field.
11085
5b165ade
SM
110862013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11087
11088 * emacs-lisp/package.el (package-el-version): Remove.
11089 (package-process-define-package): Fix inf-loop.
11090 (package-install): Allow symbols as arguments again.
11091
12adebe9
DG
110922013-06-22 Dmitry Gutov <dgutov@yandex.ru>
11093
11094 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
11095 add some more keyword-like methods.
11096 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
11097
388573ee
JB
110982013-06-22 Juanma Barranquero <lekktu@gmail.com>
11099
11100 * bs.el (bs-buffer-show-mark): Make defvar-local.
11101 (bs-mode): Use setq-local.
11102
11103 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
11104 (emacs-lock--try-unlocking): Make defvar-local.
11105
4582a01c 111062013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 11107
2663dd23
GM
11108 * play/cookie1.el (cookie-apropos): Minor simplification.
11109
3d94f3ad
GM
11110 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
11111
f72e2fdb
DG
111122013-06-22 Dmitry Gutov <dgutov@yandex.ru>
11113
11114 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
11115 `regexp-opt', it breaks the build during dumping.
11116
73eab938
DG
111172013-06-21 Dmitry Gutov <dgutov@yandex.ru>
11118
c763842b
SM
11119 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11120 Highlight keyword-like methods on Kernel and Module with
73eab938 11121 font-lock-builtin-face.
5cf8176d
DG
11122 (auto-mode-alist): Consolidate different entries into one regexp
11123 and add more *file-s.
73eab938 11124
d26255f6
SB
111252013-06-21 Stephen Berman <stephen.berman@gmx.net>
11126
11127 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
11128
11129 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
11130 (diary-entry): Use it in the action of this button type instead of
11131 diary-goto-entry.
11132
11133 * calendar/todo-mode.el: New version.
11134 (todo-add-category): Append new category to end of file and give
11135 it the highest number, instead of putting it at the beginning and
11136 giving it 0. Incorporate noninteractive functionality.
11137 (todo-forward-category): Adapt to 1-based category numbering.
11138 Allow skipping over archived categories.
11139 (todo-backward-category): Derive from todo-forward-category.
11140 (todo-backward-item, todo-forward-item): Make noninteractive and
11141 delegate interactive part to new commands. Make sensitive to done items.
11142 (todo-categories): Make value an alist of category names and
11143 vectors of item counts.
11144 (todo-category-beg): Make a defconst.
11145 (todo-category-number): Use 1 instead of 0 as initial value.
11146 (todo-category-select): Make sensitive to overlays, optional item
11147 highlighting and done items.
11148 (todo-delete-item): Make sensitive to overlays and marked and done items.
11149 (todo-edit-item): Make sensitive to overlays and editing of
11150 date/time header optional. Add format checks.
11151 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
11152 no-op if point is not on an item. Advertise using todo-edit-quit.
11153 (todo-edit-mode): Make sensitive to new format, font-locking, and
11154 multiple todo files.
11155 (todo-insert-item, todo-insert-item-here): Derive from
11156 todo-basic-insert-item and extend functionality.
11157 (todo-item-end, todo-item-start): Make sensitive to done items.
11158 (todo-item-string): Don't return text properties. Restore point.
11159 (todo-jump-to-category): Make sensitive to multiple todo files and
11160 todo archives. Use extended category completion.
11161 (todo-lower-item, todo-raise-item): Rename to *-priority and
11162 derive from todo-set-item-priority.
11163 (todo-mode): Derive from special-mode. Make sensitive to new
11164 format, font-locking and multiple todo files. Make read-only.
11165 (todo-mode-map): Don't suppress digit keys, so they can supply
11166 prefix arguments. Add many new key bindings.
11167 (todo-prefix): Insert as an overlay instead of file text.
11168 Change semantics from diary date expression to purely visual mark.
11169 (todo-print): Rename to todo-print-buffer. Make buffer display
11170 features printable. Remove option to restrict number of items
11171 printed. Add option to print to file.
11172 (todo-print-function): Rename to todo-print-buffer-function.
11173 (todo-quit): Extend to handle exiting new todo modes.
11174 (todo-remove-item): Make sensitive to overlays.
11175 (todo-save): Extend to buffers of filtered items.
11176 (todo-show): Make sensitive to done items, multiple todo files and
11177 new todo modes. Offer to convert legacy todo file before creating
11178 first new todo file.
11179 (todo-show-priorities): Rename to todo-top-priorities.
11180 Change semantics of value 0.
11181 (todo-top-priorities): Rename to todo-filter-top-priorities,
11182 derive from todo-filter-items and extend functionality.
11183 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
11184 and extend functionality to other types of filtered items.
11185 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
11186 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
11187 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
11188 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
11189 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
11190 (todo-edit-mode-hook, todo-entry-prefix-function)
11191 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
11192 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
11193 (todo-initials, todo-insert-threshold, todo-item-string-start)
11194 (todo-line-string, todo-menu, todo-mode-hook)
11195 (todo-more-important-p, todo-previous-answer, todo-previous-line)
11196 (todo-print-priorities, todo-remove-separator)
11197 (todo-save-top-priorities-too, todo-string-count-lines)
11198 (todo-string-multiline-p, todo-time-string-format)
11199 (todo-tmp-buffer-name): Remove.
11200 (todo-add-file, todo-archive-done-item, todo-choose-archive)
11201 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
11202 (todo-edit-category-diary-inclusion)
11203 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
11204 (todo-edit-file, todo-edit-item-date-day)
11205 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
11206 (todo-edit-item-date-month, todo-edit-item-date-to-today)
11207 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
11208 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
11209 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
11210 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
11211 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
11212 (todo-filter-top-priorities-multifile, todo-find-archive)
11213 (todo-find-filtered-items-file, todo-go-to-source-item)
11214 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
11215 (todo-jump-to-archive-category, todo-lower-category)
11216 (todo-mark-category, todo-marked-item-p, todo-merge-category)
11217 (todo-move-category, todo-move-item, todo-next-button)
11218 (todo-next-item, todo-padded-string, todo-powerset)
11219 (todo-previous-button, todo-previous-item)
11220 (todo-print-buffer-to-file, todo-raise-category)
11221 (todo-rename-category, todo-repair-categories-sexp, todo-search)
11222 (todo-set-category-number, todo-set-item-priority)
11223 (todo-set-top-priorities-in-category)
11224 (todo-set-top-priorities-in-file, todo-show-categories-table)
11225 (todo-sort-categories-alphabetically-or-numerically)
11226 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
11227 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
11228 (todo-toggle-item-header, todo-toggle-item-highlighting)
11229 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
11230 (todo-toggle-view-done-items, todo-toggle-view-done-only)
11231 (todo-unarchive-items, todo-unmark-category): New commands.
11232 (todo-absolute-file-name, todo-add-to-buffer-list)
11233 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
11234 (todo-basic-insert-item, todo-category-completions)
11235 (todo-category-number, todo-category-string-matcher-1)
11236 (todo-category-string-matcher-2, todo-check-filtered-items-file)
11237 (todo-check-format, todo-clear-matches)
11238 (todo-comment-string-matcher, todo-convert-legacy-date-time)
11239 (todo-current-category, todo-date-string-matcher)
11240 (todo-define-insertion-command, todo-diary-expired-matcher)
11241 (todo-diary-goto-entry, todo-diary-item-p)
11242 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
11243 (todo-display-categories, todo-display-sorted, todo-done-item-p)
11244 (todo-done-item-section-p, todo-done-separator)
11245 (todo-done-string-matcher, todo-files, todo-filter-items)
11246 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
11247 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
11248 (todo-insert-category-line, todo-insert-item-from-calendar)
11249 (todo-insert-sort-button, todo-insert-with-overlays)
11250 (todo-insertion-command-name, todo-insertion-key-bindings)
11251 (todo-label-to-key, todo-longest-category-name-length)
11252 (todo-make-categories-list, todo-mode-external-set)
11253 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
11254 (todo-modes-set-3, todo-multiple-filter-files)
11255 (todo-nondiary-marker-matcher, todo-prefix-overlays)
11256 (todo-read-category, todo-read-date, todo-read-dayname)
11257 (todo-read-file-name, todo-read-time)
11258 (todo-reevaluate-category-completions-files-defcustom)
11259 (todo-reevaluate-default-file-defcustom)
11260 (todo-reevaluate-filelist-defcustoms)
11261 (todo-reevaluate-filter-files-defcustom)
11262 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
11263 (todo-reset-done-separator, todo-reset-done-separator-string)
11264 (todo-reset-done-string, todo-reset-global-current-todo-file)
11265 (todo-reset-highlight-item, todo-reset-nondiary-marker)
11266 (todo-reset-prefix, todo-set-categories)
11267 (todo-set-date-from-calendar, todo-set-show-current-file)
11268 (todo-set-top-priorities, todo-short-file-name)
11269 (todo-show-current-file, todo-sort, todo-time-string-matcher)
11270 (todo-total-item-counts, todo-update-buffer-list)
11271 (todo-update-categories-display, todo-update-categories-sexp)
11272 (todo-update-count, todo-validate-name, todo-y-or-n-p):
11273 New functions.
11274 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
11275 New major modes.
11276 (todo-categories, todo-display, todo-edit, todo-faces)
11277 (todo-filtered): New defgroups.
11278 (todo-archived-only, todo-button, todo-category-string, todo-date)
11279 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
11280 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
11281 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
11282 (todo-add-item-if-new-category, todo-always-add-time-string)
11283 (todo-categories-align, todo-categories-archived-label)
11284 (todo-categories-category-label, todo-categories-diary-label)
11285 (todo-categories-done-label, todo-categories-number-separator)
11286 (todo-categories-todo-label, todo-categories-totals-label)
11287 (todo-category-completions-files, todo-completion-ignore-case)
11288 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
11289 (todo-done-separator-string, todo-done-string)
11290 (todo-files-function, todo-filter-done-items, todo-filter-files)
11291 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
11292 (todo-initial-category, todo-initial-file, todo-item-mark)
11293 (todo-legacy-date-time-regexp, todo-mode-line-function)
11294 (todo-nondiary-marker, todo-number-prefix)
11295 (todo-print-buffer-function, todo-show-current-file)
11296 (todo-show-done-only, todo-show-first, todo-show-with-done)
11297 (todo-skip-archived-categories, todo-top-priorities-overrides)
11298 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
11299 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
11300 New defcustoms.
11301 (todo-category-done, todo-date-pattern, todo-date-string-start)
11302 (todo-diary-items-buffer, todo-done-string-start)
11303 (todo-filtered-items-buffer, todo-item-start)
11304 (todo-month-abbrev-array, todo-month-name-array)
11305 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
11306 (todo-top-priorities-buffer): New defconsts.
11307 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
11308 (todo-categories-with-marks, todo-category-string-face)
11309 (todo-comment-face, todo-comment-string, todo-current-todo-file)
11310 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
11311 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
11312 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
11313 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
11314 (todo-font-lock-keywords, todo-global-current-todo-file)
11315 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
11316 (todo-insertion-commands-args)
11317 (todo-insertion-commands-args-genlist)
11318 (todo-insertion-commands-names, todo-insertion-map)
11319 (todo-key-bindings-t, todo-key-bindings-t+a)
11320 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
11321 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
11322 (todo-nondiary-face, todo-print-buffer, todo-time-face)
11323 (todo-visited): New variables.
11324
cad5d1cb
GM
113252013-06-21 Glenn Morris <rgm@gnu.org>
11326
11327 * play/cookie1.el (cookie-apropos): Add optional display argument.
11328 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
11329 (psychoanalyze-pinhead): Use cookie-doctor.
11330
9e277302
JB
113312013-06-21 Juanma Barranquero <lekktu@gmail.com>
11332
11333 * emacs-lisp/package.el (tar-get-file-descriptor)
11334 (tar--extract): Declare.
11335
c5b0993e
EW
113362013-06-21 Eduard Wiebe <usenet@pusto.de>
11337
11338 Extend flymake's warning predicate to be a function (bug#14217).
11339 * progmodes/flymake.el (flymake-warning-predicate): New.
11340 (flymake-parse-line): Use it.
11341 (flymake-warning-re): Make obsolete alias to
11342 `flymake-warning-predicate'.
11343
a7d2d465
SM
113442013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11345
11346 * emacs-lisp/package.el (package-alist): Include obsolete packages.
11347 (package-obsolete-list): Remove.
11348 (package-activate): Remove min-version argument. Add `force' argument.
11349 Adjust to new package-alist format.
11350 (package-mark-obsolete): Remove.
11351 (package-unpack): Force reload of the package's autoloads.
11352 (package-installed-p): Check builtins if the installed package is not
11353 recent enough.
11354 (package-initialize): Don't reset package-obsolete-list.
11355 Don't specify which package version to activate.
11356 (package-process-define-package, describe-package-1)
11357 (package-menu--generate): Adjust to new package-alist format.
11358
cedf5c9d
JB
113592013-06-21 Juanma Barranquero <lekktu@gmail.com>
11360
11361 * allout-widgets.el (allout-widgets-mode-off)
11362 (allout-widgets-mode-on, allout-widgets-pre-command-business)
11363 (allout-widgets-post-command-business)
11364 (allout-widgets-after-copy-or-kill-function)
11365 (allout-widgets-after-undo-function, allout-test-range-overlaps)
11366 (allout-decorate-item-and-context)
11367 (allout-graphics-modification-handler): Fix typos in docstrings.
11368 (allout-get-or-create-parent-widget): Use `looking-at-p'.
11369
11370 * cmuscheme.el (scheme-start-file): Doc fix.
11371 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
11372 (scheme-input-filter): Use `string-match-p'.
11373
11374 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
11375
11376 * dired-x.el: Use Dired consistently in docstrings.
11377
11378 * dired.el: Use Dired consistently in docstrings.
11379 (dired-readin, dired-mode): Use `setq-local'.
11380 (dired-switches-alist): Make defvar-local.
11381 (dired-buffers-for-dir): Use `zerop'.
11382 (dired-safe-switches-p, dired-switches-escape-p)
11383 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
11384 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
35e951cd 11385 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
cedf5c9d
JB
11386 (dired-goto-next-nontrivial-file): Use `string-match-p'.
11387 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
11388 (dired-toggle-marks, dired-mark-files-containing-regexp)
11389 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
11390 (dired-flag-auto-save-files, dired-flag-backup-files):
11391 Use `looking-at-p'.
11392 (dired-mark-files-regexp, dired-build-subdir-alist):
11393 Use `string-match-p', `looking-at-p'.
11394
11395 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
11396 (direct-print-region-helper): Use `string-match-p'.
11397
aed838b5
LL
113982013-06-21 Leo Liu <sdl.web@gmail.com>
11399
cedf5c9d
JB
11400 * comint.el (comint-redirect-results-list-from-process):
11401 Fix infinite loop.
aed838b5 11402
d80a808f
LMI
114032013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11404
11405 * net/eww.el (eww-update-header-line-format): Quote % characters.
11406
e7a526e3
GM
114072013-06-21 Glenn Morris <rgm@gnu.org>
11408
11409 * play/cookie1.el (cookie): New custom group.
11410 (cookie-file): New option.
11411 (cookie-check-file): New function.
11412 (cookie): Make it interactive. Make start and end messages optional.
11413 Interactively, display the result. Default to cookie-file.
11414 (cookie-insert): Default to cookie-file.
11415 (cookie-snarf): Make start and end messages optional.
11416 Default to cookie-file. Use with-temp-buffer.
11417 (cookie-read): Rename from read-cookie.
11418 Make start and end messages optional. Default to cookie-file.
11419 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 11420 Do not autoload it.
e7a526e3
GM
11421 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
11422 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
11423
62efb35e
LL
114242013-06-21 Leo Liu <sdl.web@gmail.com>
11425
11426 * progmodes/octave.el (octave-mode): Backward compatibility fix.
11427
21e3f963
GM
114282013-06-21 Glenn Morris <rgm@gnu.org>
11429
11430 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
11431
fd846ab4
SM
114322013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11433 Daniel Hackney <dan@haxney.org>
11434
11435 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
11436 Consolidate the single-file vs tarball code.
11437 (package-desc-suffix): New function.
11438 (package-desc-full-name): Don't bother inlining it.
11439 (package-load-descriptor): Return the new package-desc.
11440 (package-mark-obsolete): Remove unused arg `package'.
11441 (package-unpack): Make it work for single files as well.
11442 Make it update package-alist.
11443 (package--make-autoloads-and-stuff): Rename from
11444 package--make-autoloads-and-compile. Don't compile any more.
11445 (package--compile): New function.
11446 (package-generate-description-file): New function, extracted from
11447 package-unpack-single.
11448 (package-unpack-single): Remove.
11449 (package--with-work-buffer): Add indentation and debugging info.
11450 (package-download-single): Remove.
11451 (package-install-from-archive): Rename from package-download-tar, make
11452 it take a pkg-desc, and make it work for single files as well.
11453 (package-download-transaction): Simplify.
11454 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
11455 external tar program.
11456 (package-install-from-buffer): Remove `pkg-desc' argument.
11457 Use package-tar-file-info for tar-mode buffers.
11458 (package-install-file): Simplify accordingly.
11459 (package-archive-base): Change to take a pkg-desc.
11460 * tar-mode.el (tar--check-descriptor): New function, extracted from
11461 tar-get-descriptor.
11462 (tar-get-descriptor): Use it.
11463 (tar-get-file-descriptor): New function.
11464 (tar--extract): New function, extracted from tar-extract.
11465 (tar--extract): Use it.
11466 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
11467 case the summary uses non-ascii. Adjust to new calling convention of
11468 package-tar-file-info.
11469
b7deae5e
LL
114702013-06-21 Leo Liu <sdl.web@gmail.com>
11471
fd846ab4
SM
11472 * comint.el (comint-redirect-results-list-from-process):
11473 Fix random delay. (Bug#14681)
b7deae5e 11474
7a65a0b2
JB
114752013-06-21 Juanma Barranquero <lekktu@gmail.com>
11476
11477 * profiler.el (profiler-format-number): Use log, not log10.
11478
1493c2af
JB
114792013-06-20 Juanma Barranquero <lekktu@gmail.com>
11480
11481 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
11482
aff6371e
SM
114832013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
11484
11485 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
11486 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
11487 yet available.
11488 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
11489 (AUTOGENEL): ... here.
11490 * emacs-lisp/cl-macs.el (cl--sublis): New function.
11491 (cl--defsubst-expand): Use it.
11492
89561f72
PE
114932013-06-20 Paul Eggert <eggert@cs.ucla.edu>
11494
11495 * subr.el (log10): Move here from C code, and declare as obsolete.
11496 All uses of (log10 X) replaced with (log X 10).
11497
47199123
JB
114982013-06-20 Juanma Barranquero <lekktu@gmail.com>
11499
11500 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
11501 Declare with `defvar-local'.
11502 (tabulated-list-use-header-line, tabulated-list-entries)
11503 (tabulated-list-padding, tabulated-list-printer)
11504 (tabulated-list-sort-key): Declare with `defvar-local'.
11505 (tabulated-list-init-header, tabulated-list-print-fake-header):
11506 Use `setq-local'.
11507
4a172eab
MA
115082013-06-20 Michael Albinus <michael.albinus@gmx.de>
11509
47199123
JB
11510 * arc-mode.el (archive-mode): Add `archive-write-file' to
11511 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 11512
5fc0acc0
JB
115132013-06-20 Juanma Barranquero <lekktu@gmail.com>
11514
d5b27848
JB
11515 * cus-edit.el (custom-commands): Fix typos.
11516 (custom-display): Fix tooltip text.
11517 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
11518 Fix typos in docstrings.
11519 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
11520 (custom-unlispify-menu-entry, custom-magic-value-create)
11521 (custom-add-see-also, custom-group-value-create): Use ?\s.
11522 (custom-guess-type, customize-apropos, editable-field)
11523 (custom-face-value-create): Use `string-match-p'.
11524 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
11525
11526 * custom.el (custom-load-symbol): Use `string-match-p'.
11527
a5c581d8
JB
11528 * ansi-color.el: Convert to lexical binding.
11529 (ansi-colors): Fix URL.
11530 (ansi-color-context, ansi-color-context-region): Use defvar-local.
11531 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
11532 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
11533
970ad972
G
115342013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11535
11536 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
11537
11538 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
11539
115402013-06-19 Tom Tromey <tromey@redhat.com>
11541
11542 * net/eww.el (eww-top-url): Remove.
11543 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
11544 (eww-render): Set new variables. Don't set eww-top-url.
11545 (eww-handle-link): Handle "prev", "home", and "contents".
11546 Downcase the rel text.
11547 (eww-top-url): Choose best top URL.
11548
115492013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11550
11551 * net/eww.el: Rewrite to implement form elements "by hand" instead of
11552 relying in widget.el. Using widget.el leads to too many
11553 user interface inconsistencies.
11554 (eww-self-insert): Implement entering commands in text fields.
11555 (eww-process-text-input): New function to make text input field editing
11556 work.
11557 (eww-submit): Rewrite to use the new-style form methods.
11558 (eww-select-display): Display the correct selected item.
11559 (eww-change-select): Implement changing the select value.
11560 (eww-toggle-checkbox): Implement radio/checkboxes.
11561 (eww-update-field): Fix compilation error.
11562 (eww-tag-textarea): Implement <textarea>.
11563
11564 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
11565 we don't shadow mode-specific bindings.
11566
11567 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
11568 nothing to push.
11569
11570 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
11571
4582a01c 115722013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
11573
11574 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
11575
15b263dc
MA
115762013-06-19 Michael Albinus <michael.albinus@gmx.de>
11577
11578 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
11579 not needed.
11580
11581 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
11582
8f5297f7
LMI
115832013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11584
11585 * net/browse-url.el (browse-url-browser-function):
11586 `eww-browse-url' has the right calling signature, `eww' does not.
11587
011c4552
GM
115882013-06-19 Glenn Morris <rgm@gnu.org>
11589
2285bd27
GM
11590 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
11591 Only eval autoloaded macros.
11592 (byte-compile-autoload): Only give the macro warning for macros.
11593
1d653303
GM
11594 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
11595 (ps-underlined-faces): Declare.
11596
bdd779ec
GM
11597 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
11598 (speedbar-add-supported-extension): Declare.
11599
011c4552
GM
11600 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
11601 Don't include a date stamp in the header of the generated file;
11602 it leads to needless differences between output files.
11603
e59dfb0e
MA
116042013-06-19 Michael Albinus <michael.albinus@gmx.de>
11605
c763842b
SM
11606 * net/secrets.el (secrets-struct-secret-content-type):
11607 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 11608 Some servers do not offer introspection.
e59dfb0e 11609
102626e2
SM
116102013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
11611
11612 * electric.el (electric-pair-mode): Improve interaction with
11613 electric-layout-mode.
11614 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
11615 (electric-pair-syntax): Use text-mode-syntax-table in comments
11616 and strings.
11617 (electric-pair--insert): New function.
11618 (electric-pair-post-self-insert-function): Use it and
11619 electric--after-char-pos.
11620
ad528125
LL
116212013-06-19 Leo Liu <sdl.web@gmail.com>
11622
11623 * progmodes/octave.el (octave-help): Fix regexp.
11624
924d6997
G
116252013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
11626
11627 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
11628 (shr-table-horizontal-line): Allow nil as a value, and change the
11629 default.
11630 (shr-insert-table-ruler): Respect the nil value.
11631
116322013-06-18 Tom Tromey <tromey@barimba>
11633
11634 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
11635 New defvars.
11636 (eww-open-file): New defun.
11637 (eww-render): Initialize new variables.
11638 (eww-display-html): Handle "link" and "a".
11639 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
11640 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
11641 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
11642 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
11643 New defuns.
924d6997 11644
d1bbba4f
DG
116452013-06-18 Dmitry Gutov <dgutov@yandex.ru>
11646
11647 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
11648 Distinguish ternary operator tokens from slash symbol and slash
11649 char literal.
11650
14dd22d2
JB
116512013-06-18 Juanma Barranquero <lekktu@gmail.com>
11652
11653 Convert symbol prettification into minor mode and global minor mode.
11654
11655 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
11656 `prog-prettify-symbols', and make a local defvar instead of defcustom.
11657 (prettify-symbols--keywords): Rename from
11658 `prog-prettify-symbols-alist' and make a local defvar.
11659 (prettify-symbols--compose-symbol): Rename from
11660 `prog--prettify-font-lock-compose-symbol'.
11661 (prettify-symbols--make-keywords): Rename from
11662 `prog-prettify-font-lock-symbols-keywords' and simplify.
11663 (prog-prettify-install): Remove.
11664 (prettify-symbols-mode): New minor mode, based on
11665 `prog-prettify-install'.
11666 (turn-on-prettify-symbols-mode): New function.
11667 (global-prettify-symbols-mode): New globalized minor mode.
11668
11669 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
11670 * progmodes/cfengine.el (cfengine3-mode):
11671 * progmodes/perl-mode.el (perl-mode): Don't call
11672 `prog-prettify-install'; set `prettify-symbols-alist' instead.
11673
292c880c
JL
116742013-06-18 Juri Linkov <juri@jurta.org>
11675
11676 * files-x.el (modify-file-local-variable-message): New function.
11677 (modify-file-local-variable)
11678 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
11679 and call `modify-file-local-variable-message' when it's non-nil.
11680 (add-file-local-variable, delete-file-local-variable)
11681 (add-file-local-variable-prop-line)
11682 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
11683 and use it. (Bug#9820)
11684
0950aa27
JL
116852013-06-18 Juri Linkov <juri@jurta.org>
11686
11687 * emulation/vi.el (vi-shell-op):
11688 * emulation/vip.el (vip-execute-com, ex-command):
11689 * emulation/viper-cmd.el (viper-exec-bang):
11690 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
11691 the call of `shell-command-on-region'. (Bug#14637)
11692
11693 * simple.el (shell-command-on-region): Doc fix.
11694
8fbcca16
SM
116952013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
11696
11697 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
11698 (bug#14633).
11699
dd7426ea
GM
117002013-06-18 Glenn Morris <rgm@gnu.org>
11701
4ba54f7d
GM
11702 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
11703
dd7426ea
GM
11704 * newcomment.el (comment-search-forward, comment-search-backward):
11705 Doc fix. (Bug#14376)
11706
58aa805b
JB
117072013-06-18 Juanma Barranquero <lekktu@gmail.com>
11708
11709 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
11710 (buffer-face-mode-invoke): Doc fix.
11711
9a08a617
MM
117122013-06-18 Matthias Meulien <orontee@gmail.com>
11713
11714 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 11715 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 11716
f2f426ca
GM
117172013-06-18 Glenn Morris <rgm@gnu.org>
11718
9445f99b
GM
11719 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
11720 Replace obsolete function generic-make-keywords with its expansion.
11721
e0df2d14
GM
11722 * progmodes/python.el (ffap-alist): Declare.
11723
f2f426ca
GM
11724 * textmodes/reftex.el (bibtex-mode-map): Declare.
11725
f7f9a720
SM
117262013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
11727
11728 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
11729 (package-unpack, package-unpack-single): Return the pkg-dir.
11730 (package-download-transaction): Use it to update package-alist.
11731
57ff04e0
LMI
117322013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11733
11734 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
11735 possible choice.
11736
c048c022
JL
117372013-06-17 Juri Linkov <juri@jurta.org>
11738
11739 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
11740
b5bcaee5
DG
117412013-06-17 Dmitry Gutov <dgutov@yandex.ru>
11742
a020afb9
JB
11743 * emacs-lisp/package.el (package-load-descriptor):
11744 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
11745 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
11746
551e07e5
JB
117472013-06-17 Juanma Barranquero <lekktu@gmail.com>
11748
11749 * startup.el (command-line): Expand package name returned by
11750 `package--description-file' (bug#14639).
11751
d363bffb
DG
117522013-06-17 Dmitry Gutov <dgutov@yandex.ru>
11753
11754 * emacs-lisp/package.el (package-load-descriptor): Do not call
11755 `emacs-lisp-mode', just use its syntax table.
11756
f612933b
JB
117572013-06-17 Juanma Barranquero <lekktu@gmail.com>
11758
11759 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
11760 `font-lock-extra-managed-props' if any prettifying keyword is added.
11761 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
11762 (prog-mode): Use `setq-local'.
11763
db3b7db5
SM
117642013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
11765
11766 * international/characters.el (standard-case-table): Set syntax of ?»
11767 and ?« to punctuation.
11768
f3d674df
JB
117692013-06-16 Juanma Barranquero <lekktu@gmail.com>
11770
11771 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
11772 Save relevant match data before calling `syntax-ppss' (bug#14595).
11773
31489a32
JL
117742013-06-15 Juri Linkov <juri@jurta.org>
11775
11776 * files-x.el (modify-file-local-variable-prop-line): Add local
11777 variables to the end of the existing comment on the first line.
11778 Use `file-auto-mode-skip' to skip interpreter magic line,
11779 and also skip XML declaration.
11780
66bd25ab
SM
117812013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11782
11783 * startup.el (package--builtin-versions): New var.
11784 (package-subdirectory-regexp): Remove.
11785 (package--description-file): Hard code its value instead.
11786
11787 * emacs-lisp/package.el: Don't activate packages older than builtin.
11788 (package-obsolete-list): Rename from package-obsolete-alist, and make
11789 it into a simple list of package-desc.
11790 (package-strip-version): Remove.
11791 (package-built-in-p): Use package--builtin-versions.
11792 (package-mark-obsolete): Simplify.
11793 (package-process-define-package): Mark it obsolete if older than the
11794 builtin version.
11795 (package-handle-response): Use line-end-position.
11796 (package-read-archive-contents, package--download-one-archive):
11797 Simplify.
11798 (package--add-to-archive-contents): Skip if older than the builtin or
11799 installed version.
11800 (package-menu-describe-package): Fix last change.
11801 (package-list-unversioned): New var.
11802 (package-menu--generate): Use it.
11803
11804 * emacs-lisp/autoload.el: Manage package--builtin-versions.
11805 (autoload--insert-text, autoload--insert-cookie-text): New functions.
11806 (autoload-builtin-package-versions): New variable.
11807 (autoload-generate-file-autoloads): Use them.
11808 Remove the list of autoloaded functions/macros from the
11809 (autoload...) comments.
11810
11811 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
11812
9583ec36
EZ
118132013-06-15 Eli Zaretskii <eliz@gnu.org>
11814
11815 * simple.el (line-move-partial): Don't jump to the next screen
11816 line as soon as it becomes visible. Instead, continue enlarging
11817 the vscroll until the portion of a tall screen line that's left on
11818 display is about the height of the frame's default font.
11819 (Bug#14567)
11820
f0100d8a
GM
118212013-06-15 Glenn Morris <rgm@gnu.org>
11822
b86a85ca
GM
11823 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
11824 compilation-error-regexp-alist void, or local while let-bound.
11825
f0100d8a
GM
11826 * progmodes/make-mode.el (makefile-mode-syntax-table):
11827 Treat "=" as punctuation. (Bug#14614)
11828
05e7ce90
JB
118292013-06-15 Juanma Barranquero <lekktu@gmail.com>
11830
11831 * help-fns.el (describe-variable):
11832 Add extra line for permanent-local variables.
11833
12e5e86e
SH
118342013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
11835
11836 * progmodes/scheme.el (scheme-font-lock-keywords-2):
11837 Add export, import, library. (Bug#9164)
11838 (library): Set indent function.
11839
230dcbaf
GM
118402013-06-14 Glenn Morris <rgm@gnu.org>
11841
11842 * term/xterm.el (xterm--query):
11843 Stop after first matching handler. (Bug#14615)
11844
e36b2d20 118452013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
11846
11847 Add support for dired in saveplace.
11848 * dired.el (dired-initial-position-hook): New variable.
11849 (dired-initial-position): Call hook to place cursor position.
11850 * saveplace.el (save-place-to-alist): Add dired position.
11851 (save-place-dired-hook): New function.
11852
0b31660d
SM
118532013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
11854
bf1e6ae8
SM
11855 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
11856 through a symbol rather than letrec.
11857
1b8dff23
SM
11858 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
11859 (package-desc): Add `dir' field.
11860 (package-desc-full-name): New function.
11861 (package-load-descriptor): Combine the two arguments. Don't use `load'.
11862 (package-maybe-load-descriptor): Remove.
11863 (package-load-all-descriptors): Just call package-load-descriptor.
11864 (package--disabled-p): New function.
11865 (package-desc-vers, package-desc-doc): Remove aliases.
11866 (package--dir): Remove function.
11867 (package-activate): Check if a package is disabled.
11868 (package-process-define-package): New function, extracted from
11869 define-package.
11870 (define-package): Turn into a place holder.
11871 (package-unpack-single, package-tar-file-info):
11872 Use package--description-file.
11873 (package-compute-transaction): Use package--disabled-p.
11874 (package-download-transaction): Don't call
11875 package-maybe-load-descriptor since they're all loaded anyway.
11876 (package-install): Change argument to be a pkg-desc.
11877 (package-delete): Use a single pkg-desc argument.
11878 (describe-package-1): Use package-desc-dir instead of package--dir.
11879 Use package-desc property instead of package-symbol.
11880 (package-install-button-action): Adjust accordingly.
11881 (package--push): Rewrite.
11882 (package-menu--print-info): Adjust accordingly. Change the ID format
11883 to be a pkg-desc.
11884 (package-menu-describe-package, package-menu-get-status)
11885 (package-menu--find-upgrades, package-menu-mark-upgrades)
11886 (package-menu-execute, package-menu--name-predicate):
11887 Adjust accordingly.
11888 * startup.el (package--description-file): New function.
11889 (command-line): Use it.
11890 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11891 Use package-desc-version.
11892
0b31660d
SM
11893 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
11894 (byte-compile-preprocess): Use it.
11895 (byte-compile-file-form-defalias): Try a bit harder to use macros we
11896 can't quite recognize.
11897 (byte-compile-add-to-list): Remove.
11898 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
11899 (cconv-closure-convert): Add assertion.
11900
11901 * emacs-lisp/map-ynp.el: Use lexical-binding.
11902 (map-y-or-n-p): Remove unused vars `tail' and `object'.
11903 Factor out some repeated code.
11904
de0503df
SM
119052013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
11906
11907 * subr.el (with-eval-after-load): New macro.
11908 (eval-after-load): Allow form to be a function.
11909 take advantage of lexical-binding.
11910 (do-after-load-evaluation): Use dolist and adjust to new format.
11911 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
11912
bc5c8c5a
JL
119132013-06-13 Juri Linkov <juri@jurta.org>
11914
11915 * replace.el (perform-replace): Display "symbol " and other search
11916 modes from `isearch-message-prefix' in the *Help* buffer.
11917
11918 * isearch.el (isearch-query-replace): Add " symbol" and other
11919 possible search modes from `isearch-message-prefix' to the prompt.
11920 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
11921 when reading a regexp to collect.
11922
a22289f7
JL
119232013-06-13 Juri Linkov <juri@jurta.org>
11924
11925 * isearch.el (word-search-regexp): Match whitespace if the search
11926 string begins or ends in whitespace. The LAX arg is applied to
11927 both ends of the search string. Use `regexp-quote' and explicit
11928 \< and \> instead of \b. Use \` and \' instead of ^ and $.
11929 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
11930 boundaries are replaced with symbol boundaries, and characters
11931 between symbols match non-word non-symbol syntax. (Bug#14602)
11932
cb89acab
JL
119332013-06-13 Juri Linkov <juri@jurta.org>
11934
11935 * isearch.el (isearch-del-char): Don't exceed the length of
11936 `isearch-string' by the prefix arg. (Bug#14563)
11937
6e8cfc81
JL
119382013-06-13 Juri Linkov <juri@jurta.org>
11939
11940 * isearch.el (isearch-yank-word, isearch-yank-line)
11941 (isearch-char-by-name, isearch-quote-char)
11942 (isearch-printing-char, isearch-process-search-char):
11943 Add optional count prefix arg. (Bug#14563)
11944
11945 * international/isearch-x.el
11946 (isearch-process-search-multibyte-characters):
11947 Add optional count prefix arg.
11948
c23d55f4
VS
119492013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
11950
11951 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
11952 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
11953 lexical-binding.
11954
119552013-06-13 Vitalie Spinu <spinuvit@gmail.com>
11956
11957 * subr.el (set-temporary-overlay-map): Add on-exit argument.
11958
ba947bc4
GM
119592013-06-13 Glenn Morris <rgm@gnu.org>
11960
8baeb37a
GM
11961 * startup.el (tty-handle-args):
11962 Don't just discard "--" and anything after. (Bug#14608)
11963
ba947bc4
GM
11964 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
11965
9abefce4
MA
119662013-06-13 Michael Albinus <michael.albinus@gmx.de>
11967
11968 Implement changes in Secret Service API. Make it backward compatible.
11969 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
11970 (secrets-create-item): Use it. Prefix properties with interface.
11971
5755011f
MH
119722013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
11973
11974 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
11975 (term-emulate-terminal): Respect term-suppress-hard-newline.
11976
1261d2da
S
119772013-06-13 E Sabof <esabof@gmail.com> (tiny change)
11978
11979 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
11980 Only remove a `thumb-file' overlay. (Bug#14548)
11981
868490bb
GJ
119822013-06-12 Grégoire Jadi <daimrod@gmail.com>
11983
11984 * mail/reporter.el (reporter-submit-bug-report):
11985 Handle missing package-name. (Bug#14600)
11986
79d7167f
TH
119872013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11988
11989 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
11990 (reftex-citation-prompt, reftex-default-bibliography)
11991 (reftex-bib-or-thebib, reftex-get-bibfile-list)
11992 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
11993 (reftex-bib-sort-author, reftex-bib-sort-year)
11994 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
11995 (reftex-extract-bib-entries-from-thebibliography)
11996 (reftex-get-bibkey-default, reftex-get-bib-names)
11997 (reftex-parse-bibtex-entry, reftex-get-bib-field)
11998 (reftex-format-bib-entry, reftex-parse-bibitem)
11999 (reftex-format-bibitem, reftex-do-citation)
12000 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
12001 (reftex-restrict-bib-matches, reftex-extract-bib-file)
12002 (reftex-insert-bib-matches, reftex-format-citation)
12003 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
12004 (reftex-create-bibtex-file): Add docstrings, mostly by converting
12005 existing comments into docstrings.
12006
5f9dbd7a
XF
120072013-06-12 Xue Fuqiao <xfq.free@gmail.com>
12008
12009 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
12010
94df41ab
AS
120112013-06-12 Andreas Schwab <schwab@suse.de>
12012
12013 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
12014 for auto-save files.
12015
a7f3fecc
GM
120162013-06-12 Glenn Morris <rgm@gnu.org>
12017
001809f6
GM
12018 * ido.el (ido-delete-ignored-files): Remove.
12019 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
12020 Go back to calling ido-ignore-item-p directly.
a7f3fecc 12021
834b5ded
EL
120222013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
12023
08c73ed2
EL
12024 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
12025
834b5ded
EL
12026 * ido.el (ido-delete-ignored-files): New function,
12027 split from ido-make-file-list-1.
12028 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
12029 (ido-make-file-list-1): Use ido-delete-ignored-files.
12030
daabf15a
LL
120312013-06-12 Leo Liu <sdl.web@gmail.com>
12032
12033 * progmodes/octave.el (inferior-octave-startup)
12034 (inferior-octave-completion-table)
12035 (inferior-octave-track-window-width-change)
12036 (octave-eldoc-function-signatures, octave-help)
12037 (octave-find-definition): Use single quoted strings.
12038 (inferior-octave-startup-args): Change default value.
12039 (inferior-octave-startup): Do not hard code "-i" and
12040 "--no-line-editing".
12041 (inferior-octave-resync-dirs): Add optional arg NOERROR.
12042 (inferior-octave-directory-tracker): Use it.
12043 (octave-goto-function-definition): Robustify.
12044 (octave-help): Support highlighting operators in 'See also'.
12045 (octave-find-definition): Find subfunctions only in Octave mode.
12046
cf4e5178
SM
120472013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12048
12049 * help-fns.el (help-fns--compiler-macro): If the handler function is
12050 named, then put a link to it.
12051 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
12052 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
12053 (cl-typep): Use it.
12054 (cl-eval-when): Simplify debug spec.
12055 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
12056 compiler-macro function instead of setting `compiler-macro-file'.
12057
99c81280 120582013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
12059
12060 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
12061 * vc/vc-hooks.el (vc-stay-local): Doc fix.
12062
f56be016
SM
120632013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12064 Daniel Hackney <dan@haxney.org>
12065
12066 First part of Daniel Hackney's patch to package.el.
12067 * emacs-lisp/package.el: Use defstruct.
12068 (package-desc): New, main struct.
12069 (package--bi-desc, package--ac-desc): New structs, used to describe the
12070 format in external files.
12071 (package-desc-vers): Replace with package-desc-version accessor.
12072 (package-desc-doc): Replace with package-desc-summary accessor.
12073 (package-activate-1): Remove `package' arg since the pkg-vec now
12074 includes the name.
12075 (define-package): Use package-desc-from-define.
12076 (package-unpack-single): Change file-name arg to be a symbol.
12077 (package--add-to-archive-contents): Use package-desc-create and new
12078 accessor functions to package--ac-desc.
12079 (package-buffer-info, package-tar-file-info): Return a package-desc.
12080 (package-install-from-buffer): Remove `type' argument. Change pkg-info
12081 arg to be a package-desc.
12082 (package-install-file): Adjust accordingly. Use \' to match EOS.
12083 (package--from-builtin): New function.
12084 (describe-package-1, package-menu--generate): Use it.
12085 (package--make-autoloads-and-compile): Change name arg to be a symbol.
12086 (package-generate-autoloads): Idem and return the name of the file.
12087 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12088 Change pkg-info arg to be a package-desc.
12089 Use package-make-ac-desc.
12090 (package-upload-file): Use \' to match EOS.
12091 * finder.el (finder-compile-keywords): Use package-make-builtin.
12092
31119d63
SM
120932013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12094
931a2762
SM
12095 * vc/vc.el (vc-deduce-fileset): Change error message.
12096 (vc-read-backend): New function.
12097 (vc-next-action): Use it.
12098
5a3eb0c6
SM
12099 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
12100
e3eb1bb7
SM
12101 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
12102 (prolog-font-lock-keywords): Use regexp-opt instead.
12103 Don't manually highlight strings.
12104 (prolog-mode-variables): Simplify comment-start-skip.
12105 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
12106
31119d63
SM
12107 * emacs-lisp/generic.el (generic--normalise-comments)
12108 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
12109 (generic-mode-set-comments): Use them.
12110 (generic-bracket-support): Use setq-local.
12111 (generic-make-keywords-list): Declare obsolete.
12112
7de135d0
GM
121132013-06-11 Glenn Morris <rgm@gnu.org>
12114
12115 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12116 Prettify after setting font-lock-defaults. (Bug#14574)
12117
fa6bc6fd
JB
121182013-06-11 Juanma Barranquero <lekktu@gmail.com>
12119
12120 * replace.el (query-replace, occur-read-regexp-defaults-function)
12121 (replace-search):
12122 * subr.el (declare-function, number-sequence, local-set-key)
12123 (substitute-key-definition, locate-user-emacs-file)
12124 (with-silent-modifications, split-string, eval-after-load):
12125 Fix typos, remove unneeded backslashes and reflow some docstrings.
12126
cf1f9b9a
SM
121272013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12128
12129 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
12130 default for Elisp files.
12131
56602a4b
GM
121322013-06-11 Glenn Morris <rgm@gnu.org>
12133
12134 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
12135 although define-derived-mode was doing this anyway. (Bug#14583)
12136
30ae0b2c
JB
121372013-06-10 Juanma Barranquero <lekktu@gmail.com>
12138
12139 * allout.el (allout-encryption-plaintext-sanitization-regexps):
12140 Fix make-variable-buffer-local call to refer to the correct variable.
12141
fa472906
AG
121422013-06-10 Aidan Gauland <aidalgol@amuri.net>
12143
12144 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
12145 (eshell-visual-subcommands, eshell-visual-options):
12146 Add summary line to docstrings. Add cross-references.
fa472906 12147
ff4871b9
GM
121482013-06-10 Glenn Morris <rgm@gnu.org>
12149
12150 * epa.el (epa-read-file-name): New function. (Bug#14510)
12151 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
12152
04fcf1b0
AG
121532013-06-09 Aidan Gauland <aidalgol@amuri.net>
12154
12155 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
12156 output redirection to be ignored with visual commands.
12157
88b00caa
AG
121582013-06-09 Aidan Gauland <aidalgol@amuri.net>
12159
12160 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
12161 (eshell-term-initialize): Move long lambda to separate function
12162 eshell-visual-command-p.
27821a89 12163 * eshell/em-dirs.el (eshell-dirs-initialize):
e7b41c4c
JB
12164 * eshell/em-script.el (eshell-script-initialize):
12165 Add missing #' to lambda.
88b00caa 12166
fda74125
LL
121672013-06-08 Leo Liu <sdl.web@gmail.com>
12168
12169 * progmodes/octave.el (octave-add-log-current-defun): New function.
12170 (octave-mode): Set add-log-current-defun-function.
12171 (octave-goto-function-definition): Do not move point if not found.
12172 (octave-find-definition): Enhance to try subfunctions first.
12173
467f3b33
GM
121742013-06-08 Glenn Morris <rgm@gnu.org>
12175
12176 * emacs-lisp/bytecomp.el (byte-compile-char-before)
12177 (byte-compile-backward-char, byte-compile-backward-word):
12178 Improve previous change, to handle non-explicit nil.
12179
544badc3
SM
121802013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12181
12182 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
12183 (smie--opener/closer-at-point): New function.
12184 (smie--matching-block-data): Use it. Don't match from right after an
12185 opener or right before a closer. Obey smie-blink-matching-inners.
12186 Don't signal a mismatch for repeated inners like "switch..case..case".
12187
a175bf33
LL
121882013-06-07 Leo Liu <sdl.web@gmail.com>
12189
12190 * progmodes/octave.el (octave-mode): Set comment-use-global-state
12191 to t. (Bug#14303)
ce8209d4
LL
12192 (octave-function-header-regexp): Fix. (Bug#14570)
12193 (octave-help-mode-finish-hook, octave-help-mode-finish):
12194 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
12195
12196 * newcomment.el (comment-search-backward): Revert last change.
12197 (Bug#14434)
12198
12199 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
12200
a822acff
EZ
122012013-06-07 Eli Zaretskii <eliz@gnu.org>
12202
12203 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
12204 through xargs, to avoid failure due to MS-Windows limitations on
12205 command-line length.
12206
961166f5
GM
122072013-06-06 Glenn Morris <rgm@gnu.org>
12208
d0341459
GM
12209 * font-lock.el (lisp-font-lock-keywords-2):
12210 Treat user-error like error.
12211
961166f5
GM
12212 * emacs-lisp/bytecomp.el (byte-compile-char-before)
12213 (byte-compile-backward-char, byte-compile-backward-word):
12214 Handle explicit nil arguments. (Bug#14565)
12215
80fa505f
AM
122162013-06-05 Alan Mackenzie <acm@muc.de>
12217
12218 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 12219 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 12220 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 12221 (Bug#9706)
80fa505f 12222
fccdc796
SM
122232013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12224
12225 * autorevert.el (auto-revert-notify-handler): Use memq.
12226 Hide assertion failure.
12227
12228 * skeleton.el: Use cl-lib.
12229 (skeleton-further-elements): Use defvar-local.
12230 (skeleton-insert): Use cl-progv.
12231
9bfff84b
TZ
122322013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
12233
12234 * progmodes/prog-mode.el (prog-prettify-symbols)
12235 (prog-prettify-install): Update docstrings.
12236
55577e7c
SM
122372013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12238
12239 * simple.el: Move all the prog-mode code to prog-mode.el.
12240 * progmodes/prog-mode.el: New file.
12241 * loadup.el: Add prog-mode.el.
12242
8fc57765
TZ
122432013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
12244
12245 * simple.el (prog-prettify-symbols): Add version.
12246 (prog-prettify-install): Add convenience function to prettify symbols.
12247
12248 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
12249 (perl--augmented-font-lock-keywords-1)
12250 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
12251 variables and use it.
12252
12253 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
12254 (cfengine3-mode): Remove unneeded variable and use it.
12255
12256 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
12257 (lisp--augmented-font-lock-keywords-1)
12258 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
12259 Remove unneeded variables and use it.
12260
650645d5 122612013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
12262
12263 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 12264 to point when opening the connection. (Bug#14380)
28f5da6d 12265
781b4af6
SM
122662013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12267
12268 * subr.el (load-history-regexp, load-history-filename-element)
12269 (eval-after-load, after-load-functions, do-after-load-evaluation)
12270 (eval-next-after-load, display-delayed-warnings)
12271 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
12272 definition of save-match-data.
12273 (overriding-local-map): Remove accidental obsolescence declaration.
12274
12275 * emacs-lisp/edebug.el (edebug-result): Move before first use.
12276
3ca0d0b4
TZ
122772013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
12278
12279 Generalize symbol prettify support to prog-mode and implement it
12280 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
12281 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
12282 (prog--prettify-font-lock-compose-symbol)
12283 (prog-prettify-font-lock-symbols-keywords): New variables and
12284 functions to support symbol prettification.
12285 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
12286 (lisp--augmented-font-lock-keywords-1)
12287 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
12288 (lisp--prettify-symbols-alist): Implement prettify of lambda.
12289 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
12290 (cfengine3--prettify-symbols-alist, cfengine3-mode):
12291 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
12292 * progmodes/perl-mode.el (perl-prettify-symbols)
12293 (perl--font-lock-compose-symbol)
12294 (perl--font-lock-symbols-keywords): Move to prog-mode.
12295 (perl--prettify-symbols-alist): Prettify -> => :: strings.
12296 (perl-font-lock-keywords-1)
12297 (perl-font-lock-keywords-2): Remove explicit prettify support.
12298 (perl--augmented-font-lock-keywords)
12299 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
12300 (perl--augmented-font-lock-keywords-2, perl-mode):
12301 Implement prettify support.
3ca0d0b4 12302
976cb066
LL
123032013-06-05 Leo Liu <sdl.web@gmail.com>
12304
27821a89 12305 Re-implement SMIE matching block highlight using
976cb066
LL
12306 show-paren-data-function. (Bug#14395)
12307 * emacs-lisp/smie.el (smie-matching-block-highlight)
12308 (smie--highlight-matching-block-overlay)
12309 (smie--highlight-matching-block-lastpos)
12310 (smie-highlight-matching-block)
12311 (smie-highlight-matching-block-mode): Remove.
12312 (smie--matching-block-data-cache): New variable.
12313 (smie--matching-block-data): New function.
12314 (smie-setup): Use smie--matching-block-data for
12315 show-paren-data-function.
12316
12317 * progmodes/octave.el (octave-mode-menu): Fix.
12318 (octave-find-definition): Skip garbage lines.
12319
208d0342
SM
123202013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12321
12322 Fix compilation error with simultaneous dynamic+lexical scoping.
12323 Add warning when a defvar appears after the first let-binding.
12324 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
12325 (byte-compile-close-variables): Initialize it.
12326 (byte-compile--declare-var): New function.
12327 (byte-compile-file-form-defvar)
12328 (byte-compile-file-form-define-abbrev-table)
12329 (byte-compile-file-form-custom-declare-variable): Use it.
12330 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
12331 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
12332 (byte-compile-bind): Handle dynamic bindings that shadow
12333 lexical bindings.
12334 (byte-compile-unbind): Make arg non-optional.
12335 (byte-compile-let): Simplify.
12336 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
12337 (cconv--analyse-function, cconv-analyse-form): Populate it.
12338 Protect byte-compile-bound-variables to limit the scope of defvars.
12339 (cconv-analyse-form): Add missing rule for (defvar <foo>).
12340 Remove unneeded rule for `declare'.
12341
12342 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
12343 so as to avoid depending on cl-adjoin at run-time.
12344 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
12345
12346 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
12347 (macroexp--warn-and-return): Use it.
12348
1ac2891e
GM
123492013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12350
a12bf61e 12351 * subr.el: Convert to lexical binding.
1ac2891e
GM
12352 (overriding-local-map): Make obsolete.
12353 (add-to-list): Doc fix. Add compiler macro.
12354 (read-key): Swap values of local maps.
12355
2587b005
LL
123562013-06-05 Leo Liu <sdl.web@gmail.com>
12357
12358 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
12359
f1da3c88
LL
123602013-06-04 Leo Liu <sdl.web@gmail.com>
12361
12362 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
12363 (compilation-auto-jump): Suppress the "Mark set" message to give
12364 way to exit message.
12365
3caa391f
AM
123662013-06-04 Alan Mackenzie <acm@muc.de>
12367
12368 Remove faulty optimisation from indentation calculation.
12369 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
12370 search limit based on 2000 characters back from indent-point.
12371
068922a2
TH
123722013-06-03 Tassilo Horn <tsdh@gnu.org>
12373
12374 * eshell/em-term.el (cl-lib): Require `cl-lib'.
12375
1f8fdd53
SM
123762013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
12377
bbcc4d97
SM
12378 * emacs-lisp/lisp.el: Use lexical-binding.
12379 (lisp--local-variables-1, lisp--local-variables): New functions.
12380 (lisp--local-variables-completion-table): New var.
208d0342 12381 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 12382
1f8fdd53
SM
12383 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
12384 eagerly (bug#14422).
12385
c9628c79
MA
123862013-06-03 Michael Albinus <michael.albinus@gmx.de>
12387
12388 * autorevert.el (auto-revert-notify-enabled)
12389 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
12390 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
12391 (auto-revert-notify-handler): Handle also gfilenotify.
12392
e7b41c4c 12393 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 12394 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 12395 Remove.
c9628c79 12396
e5e4a942
JL
123972013-06-03 Juri Linkov <juri@jurta.org>
12398
12399 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
12400 `M-s h .'. (Bug#14427)
12401
12402 * hi-lock.el (highlight-symbol-at-point): New alias for the new
12403 command `hi-lock-face-symbol-at-point'.
12404 (hi-lock-face-symbol-at-point): New command.
12405 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
12406 (hi-lock-menu): Add `highlight-symbol-at-point'.
12407 (hi-lock-mode): Doc fix.
12408
12409 * isearch.el (isearch-forward-symbol-at-point): New command.
12410 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
12411 (isearch-highlight-regexp): Add a regexp which matches
12412 words/symbols for word/symbol mode.
12413
12414 * subr.el (find-tag-default-bounds): New function with the body
12415 mostly moved from `find-tag-default'.
12416 (find-tag-default): Move most code to `find-tag-default-bounds',
12417 call it and apply `buffer-substring-no-properties' afterwards.
12418
26b3353a
TH
124192013-06-03 Tassilo Horn <tsdh@gnu.org>
12420
781b4af6
SM
12421 * eshell/em-term.el (eshell-term-initialize):
12422 Use `cl-intersection' rather than `intersection'.
26b3353a 12423
51b60f53
XF
124242013-06-02 Xue Fuqiao <xfq.free@gmail.com>
12425
fe054b63 12426 * vc/log-view.el: Doc fix.
d3ffe17c 12427 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 12428
a0eb10b3 124292013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
12430
12431 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
12432 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
12433 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
12434 (eieio-unbound, eieio-default-superclass)
12435 (eieio--define-field-accessors, method-static, method-before)
12436 (method-primary, method-after, method-num-lists)
12437 (method-generic-before, method-generic-primary)
12438 (method-generic-after, method-num-slots)
12439 (eieio-specialized-key-to-generic-key)
12440 (eieio--check-type, class-v, class-p)
12441 (eieio-class-name, define-obsolete-function-alias)
12442 (eieio-class-parents-fast, eieio-class-children-fast)
12443 (same-class-fast-p, class-constructor, generic-p)
12444 (generic-primary-only-p, generic-primary-only-one-p)
12445 (class-option-assoc, class-option, eieio-object-p)
12446 (class-abstract-p, class-method-invocation-order)
12447 (eieio-defclass-autoload-map, eieio-defclass-autoload)
12448 (eieio-class-un-autoload, eieio-defclass)
12449 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
12450 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
12451 (eieio--defgeneric-init-form, eieio-defgeneric-form)
12452 (eieio-defgeneric-reset-generic-form)
12453 (eieio-defgeneric-form-primary-only)
12454 (eieio-defgeneric-reset-generic-form-primary-only)
12455 (eieio-defgeneric-form-primary-only-one)
12456 (eieio-defgeneric-reset-generic-form-primary-only-one)
12457 (eieio-unbind-method-implementations)
12458 (eieio--defmethod, eieio--typep)
12459 (eieio-perform-slot-validation, eieio-validate-slot-value)
12460 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
12461 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
12462 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
12463 (eieio-slot-name-index, eieio-class-slot-name-index)
12464 (eieio-set-defaults, eieio-initarg-to-attribute)
12465 (eieio-attribute-to-initarg, eieio-c3-candidate)
12466 (eieio-c3-merge-lists, eieio-class-precedence-c3)
12467 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
12468 (eieio-class-precedence-list, eieio-generic-call-methodname)
12469 (eieio-generic-call-arglst, eieio-generic-call-key)
12470 (eieio-generic-call-next-method-list)
12471 (eieio-pre-method-execution-functions, eieio-generic-call)
12472 (eieio-generic-call-primary-only, eieiomt-method-list)
12473 (eieiomt-optimizing-obarray, eieiomt-install)
12474 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
12475 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 12476 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
12477 (defclass): Remove `eval-and-compile' from macro.
12478 (call-next-method, shared-initialize): Instead of using
12479 `scoped-class' variable, use new eieio--scoped-class, and
12480 eieio--with-scoped-class.
12481 (initialize-instance): Rename local variable 'scoped-class' to
12482 'this-class' to remove ambiguitity from old global.
12483
12484 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
12485 eieio.el.
4f405069
JB
12486 (eieio--scoped-class-stack): New variable.
12487 (eieio--scoped-class): New fcn.
890f7890
DE
12488 (eieio--with-scoped-class): New scoping macro.
12489 (eieio-defclass): Use pushnew instead of add-to-list.
12490 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
12491 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
12492 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
12493 `scoped-class' variable, use new eieio--scoped-class, and
12494 eieio--with-scoped-class.
12495
12496 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
12497
d105b0e2
TH
124982013-06-02 Tassilo Horn <tsdh@gnu.org>
12499
12500 * eshell/esh-ext.el (eshell-external-command): Pass args to
12501 `eshell-find-interpreter'.
12502 (eshell-find-interpreter): Add new second parameter ARGS.
12503
12504 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 12505 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
12506
12507 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 12508 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
12509
12510 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
12511 (eshell-visual-options): New defcustom.
12512 (eshell-escape-control-x): Adapt docstring.
12513 (eshell-term-initialize): Test `eshell-visual-subcommands' and
12514 `eshell-visual-options' in addition to `eshell-visual-commands'.
12515 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
12516
f46305c8 125172013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
12518
12519 * progmodes/python.el (python-indent-block-enders): Add break,
12520 continue and raise keywords.
12521
d870df21
GM
125222013-06-01 Glenn Morris <rgm@gnu.org>
12523
9133b82e
GM
12524 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
12525
02c992ec 12526 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
12527 * progmodes/cc-cmds.el (delete-forward-p):
12528 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
12529 * progmodes/cc-engine.el (buffer-syntactic-context):
12530 * progmodes/cc-fonts.el (face-property-instance):
12531 * progmodes/cc-mode.el (set-keymap-parents):
12532 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
12533 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
12534 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
12535 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
12536 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 12537
31e7b090
GM
12538 * progmodes/cc-vars.el (other): Emacs has this widget since
12539 at least 21.1, so don't (re)define it.
12540
d870df21
GM
12541 * eshell/em-cmpl.el (eshell-cmpl-initialize):
12542 Replace the obsolete alias pcomplete-arg-quote-list.
12543
c75c93c7
LL
125442013-06-01 Leo Liu <sdl.web@gmail.com>
12545
12546 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
12547 punctuation syntax.
12548 (inferior-octave-minimal-columns)
12549 (inferior-octave-last-column-width): New variables.
12550 (inferior-octave-track-window-width-change): New function.
12551 (inferior-octave-mode): Adjust column width so that Octave output,
12552 for example from 'ls', can fit into the window nicely.
12553
973d1e12
DG
125542013-05-31 Dmitry Gutov <dgutov@yandex.ru>
12555
12556 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
12557 Highlight expansions inside regexp literals.
12558
0888c286
GM
125592013-05-31 Glenn Morris <rgm@gnu.org>
12560
e26aac1f
GM
12561 * obsolete/sym-comp.el (symbol-complete):
12562 Replace obsolete completion-annotate-function.
12563
0888c286
GM
12564 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
12565
19bb8e62
DG
125662013-05-31 Dmitry Gutov <dgutov@yandex.ru>
12567
781b4af6
SM
12568 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
12569 New function, checks if point is inside a literal that allows
19bb8e62
DG
12570 expression expansion.
12571 (ruby-syntax-propertize-expansion): Use it.
12572 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
12573 around the body.
12574
01dea85f
JL
125752013-05-30 Juri Linkov <juri@jurta.org>
12576
12577 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
12578 to "\M-si".
12579 (isearch-invisible): New variable.
12580 (isearch-forward): Doc fix.
12581 (isearch-mode): Set `isearch-invisible'
12582 to the value of `search-invisible'.
12583 (isearch-toggle-case-fold): Doc fix.
12584 (isearch-toggle-invisible): New command.
12585 (isearch-query-replace): Let-bind `search-invisible'
12586 to the value of `isearch-invisible'.
12587 (isearch-search): Use `isearch-invisible' instead of
12588 `search-invisible'. Let-bind `search-invisible'
12589 to the value of `isearch-invisible'. (Bug#11378)
12590
ab1bdce5
JL
125912013-05-30 Juri Linkov <juri@jurta.org>
12592
12593 * replace.el (perform-replace): Avoid `isearch-range-invisible'
12594 call when `query-flag' is nil and `search-invisible' is non-nil.
12595 (Bug#11746)
12596
d6d236e2
GM
125972013-05-30 Glenn Morris <rgm@gnu.org>
12598
8accd027
GM
12599 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
12600
2a8bed1c
GM
12601 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
12602 (cc-require): Suppress spurious "noruntime" warnings.
12603 (cc-require-when-compile): Use fboundp, for sake of compiler.
12604
d6d236e2
GM
12605 * progmodes/cc-mode.el: Move load of cc-vars before that of
12606 cc-langs (which in turn loads cc-vars), to quieten compiler.
12607
9190b35b
SM
126082013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12609
12610 * paren.el: Simplify the code.
12611 (show-paren-mode): Always start the timer.
12612 (show-paren--idle-timer): Rename from show-paren-idle-timer.
12613 (show-paren--overlay, show-paren--overlay-1): Rename from
12614 show-paren-overlay and show-paren-overlay-1, and initialize to an
12615 overlay rather than to nil.
12616 (show-paren-function): Misc cleanup and simplifications.
12617
4f8d1cf6
SM
126182013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12619
12620 * paren.el (show-paren-data-function): New hook.
12621 (show-paren--default): New function, extracted from show-paren-function.
12622 (show-paren-function): Use show-paren-data-function.
12623
02d844b5
GM
126242013-05-30 Glenn Morris <rgm@gnu.org>
12625
d209d4a9
GM
12626 * ielm.el (ielm-map, ielm-complete-symbol):
12627 Use completion-at-point rather than obsolete functions.
12628 (inferior-emacs-lisp-mode): Doc fix.
12629 Set completion-at-point-functions, rather than
12630 comint-dynamic-complete-functions.
12631
2082faa6
GM
12632 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
12633 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
12634 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
12635
dd8620de
GM
12636 * image.el (image-animated-p): Tweak definition.
12637
ceca95b1
GM
12638 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
12639 (rlogin-process-connection-type): Tweak default. Add set-after.
12640 (rlogin-host): Doc fix.
12641 (rlogin): Tweak prompt.
12642 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
12643
ee9f1acc
GM
12644 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
12645 * progmodes/tcl.el (inferior-tcl-mode-map):
12646 Use completion-at-point rather than obsolete alias.
12647
45ce222e
GM
12648 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
12649
02d844b5
GM
12650 * minibuffer.el (read-file-name-completion-ignore-case):
12651 Move before completion--in-region, for eager macro expansion.
12652
ac44d6c1
JL
126532013-05-29 Juri Linkov <juri@jurta.org>
12654
12655 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
12656 for total count of matching lines. Add `global-matches' for total
12657 count of matches. Rename `matches' to `lines' for count of
12658 matching lines. Add `matches' for count of matches.
12659 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
12660 to `prev-line' for line number of prev match endpt.
12661 Increment `matches' for every match. Print the number of
12662 matching lines in the header.
12663 (occur-context-lines): Rename `lines' to `curr-line'.
12664 Rename `prev-lines' to `prev-line'. (Bug#14017)
12665
3c9c9d38
JL
126662013-05-29 Juri Linkov <juri@jurta.org>
12667
12668 * replace.el (perform-replace): Add `skip-read-only-count',
12669 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
12670 Increment them for corresponding conditions and report the number
12671 of skipped occurrences in the final message. (Bug#11746)
12672 (query-replace, query-replace-regexp, query-replace-regexp-eval)
12673 (replace-string, replace-regexp): Doc fix.
12674
33e249a2
SM
126752013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
12676
8e399682
SM
12677 * emacs-lisp/trace.el (trace--read-args): Provide a default.
12678
33e249a2 12679 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 12680 prog-mode-map (bug#14504).
33e249a2 12681
f236dd84
LL
126822013-05-29 Leo Liu <sdl.web@gmail.com>
12683
12684 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
12685 (octave-help): Small simplification.
12686
12687 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
12688 off the highlight first.
12689
3694d13f
GM
126902013-05-29 Glenn Morris <rgm@gnu.org>
12691
03983bdc
GM
12692 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
12693 Handle idlwave-last-system-routine-info-cons-cell being nil.
12694
bc74a74a
GM
12695 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
12696 (idlwave-write-paths): Simplify via with-temp-buffer.
12697
8b394200
GM
12698 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
12699 * emulation/cua-rect.el: Also load cua-base at run time.
12700
3694d13f
GM
12701 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
12702 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
12703 (cperl-imenu-on-info): Require imenu.
12704
336d7284
AM
127052013-05-28 Alan Mackenzie <acm@muc.de>
12706
12707 Handle "capitalised keywords" correctly.
33e249a2 12708 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 12709
cb29c582
AG
127102013-05-28 Aidan Gauland <aidalgol@amuri.net>
12711
781b4af6 12712 * eshell/em-unix.el: Add -r option to cp.
cb29c582 12713
690e44b2
GM
127142013-05-28 Glenn Morris <rgm@gnu.org>
12715
e658d75c
GM
12716 * vc/vc-arch.el (vc-exec-after): Declare.
12717 (vc-switches): Autoload.
12718 * vc/vc-bzr.el: No need to require vc when compiling.
12719 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
12720 (vc-resynch-buffer, vc-dir-refresh): Declare.
12721 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
12722 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
12723 (vc-resynch-buffer): Declare.
12724 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 12725 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
12726 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
12727 (grep-read-regexp, grep-read-files, grep-expand-template)
12728 (vc-dir-refresh): Declare.
12729 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
12730 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
12731 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
12732 * vc/vc-mtn.el (vc-exec-after): Declare.
12733 (vc-switches): Autoload.
12734 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
12735 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
12736 (vc-file-tree-walk): Declare.
712b9732
GM
12737 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
12738 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
12739 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
12740 * vc/vc-svn.el (vc-exec-after): Declare.
12741 (vc-switches, vc-setup-buffer): Autoload.
12742 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
12743 Autoload.
12744 (vc-resynch-buffer): Declare.
12745
98e87fb3
GM
12746 * obsolete/fast-lock.el (byte-compile-warnings):
12747 Don't warn about obsolete features in this obsolete file.
12748
f5379553
GM
12749 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
12750 Move definition before use.
12751
7a20ef83
GM
12752 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
12753 (dun-unix-verbs): Remove dun-zippy.
12754 (dun-zippy): Remove function.
12755
690e44b2
GM
12756 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
12757
3a52ccf7
JL
127582013-05-27 Juri Linkov <juri@jurta.org>
12759
12760 * replace.el (replace-search): New function with code moved out
12761 from `perform-replace'.
12762 (replace-highlight, replace-dehighlight): Move function definitions
12763 up closer to `replace-search'. (Bug#11746)
12764
d289938a
JL
127652013-05-27 Juri Linkov <juri@jurta.org>
12766
12767 * replace.el (perform-replace): Ignore invisible matches.
12768 In addition to checking `query-replace-skip-read-only', also
12769 filter out matches by calling `run-hook-with-args-until-failure'
12770 on `isearch-filter-predicates', and also check `search-invisible'
12771 for t or call `isearch-range-invisible'.
12772 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
12773
66fc57e3
JL
127742013-05-27 Juri Linkov <juri@jurta.org>
12775
12776 * isearch.el (isearch-filter-predicates): Rename from
12777 `isearch-filter-predicate'. Doc fix. (Bug#11378)
12778 (isearch-message-prefix): Display text from the property
12779 `isearch-message-prefix' of the currently active filters.
12780 (isearch-search): Don't compare `isearch-filter-predicate' with
12781 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
12782 on `isearch-filter-predicates'. Also check `search-invisible' for t
12783 or call `isearch-range-invisible'.
12784 (isearch-filter-visible): Make obsolete.
12785 (isearch-lazy-highlight-search):
12786 Call `run-hook-with-args-until-failure' on
12787 `isearch-filter-predicates' and use `isearch-range-invisible'.
12788
12789 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
12790 `isearch-filter-predicates' instead of `funcall'ing
12791 `isearch-filter-predicate'.
12792 (Info-mode): Set `Info-isearch-filter' to
12793 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
12794
12795 * dired-aux.el (dired-isearch-filter-predicate-orig):
12796 Remove variable.
12797 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
12798 (dired-isearch-filenames-end): Add and remove
12799 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
12800 instead of changing the value of `isearch-filter-predicate'.
12801 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
12802 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
12803 Put property `isearch-message-prefix' to "filename " on
12804 `dired-isearch-filter-filenames'.
12805
12806 * wdired.el (wdired-change-to-wdired-mode):
12807 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
12808 locally instead of changing `isearch-filter-predicate'.
12809 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
12810
f1a60a0f
DG
128112013-05-27 Dmitry Gutov <dgutov@yandex.ru>
12812
12813 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
12814 return the commit hash (Bug#14459). Also set the
12815 `vc-git-detached' property.
12816 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
12817 (vc-git-mode-line-string): Use the same help-echo format whether
12818 in detached mode or not, because we know the actual revision now.
12819 When in detached mode, shorten the revision to 7 chars.
12820
7f17cc40
SM
128212013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
12822
12823 * emacs-lisp/easy-mmode.el (define-minor-mode):
12824 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
12825 mode hook and provide a docstring.
12826
25c8401c
AM
128272013-05-27 Alan Mackenzie <acm@muc.de>
12828
12829 Remove spurious syntax-table text properties inserted by C-y.
12830 * progmodes/cc-mode.el (c-after-change): Also clear hard
12831 syntax-table property with value nil.
12832
dde84790
MA
128332013-05-27 Michael Albinus <michael.albinus@gmx.de>
12834
12835 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
12836 when reading the events; the buffer layout shall not be changed.
12837
837fd9af
LL
128382013-05-27 Leo Liu <sdl.web@gmail.com>
12839
12840 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
12841 New variable.
12842 (inferior-octave-directory-tracker): Automatically re-sync
12843 default-directory.
12844 (octave-help): Improve handling of 'See also'.
12845
4fd996b3
SM
128462013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
12847
416f1802
SM
12848 * doc-view.el: Minor naming convention tweaks.
12849 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
12850
4fd996b3
SM
12851 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
12852 even if there's no `display' property yet (bug#14435).
12853
a052ef3b
EZ
128542013-05-25 Eli Zaretskii <eliz@gnu.org>
12855
4fd996b3 12856 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
12857
12858 * Makefile.in (custom-deps, finder-data, autoloads)
12859 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
12860 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
12861 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
12862
c9023370
SM
128632013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
12864
12865 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
12866 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 12867 Don't burp at EOB.
c9023370 12868
24d699fa
LL
128692013-05-25 Leo Liu <sdl.web@gmail.com>
12870
12871 * comint.el (comint-previous-matching-input): Do not flood the
12872 *Messages* buffer with trivial messages.
12873
17e5c0cc
SM
128742013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
12875
12876 * progmodes/flymake.el (flymake-nop): Don't return a string.
12877 (flymake-set-at): Fix typo.
12878
12879 * simple.el (read--expression): New function, extracted from
12880 eval-expression. Set completion-at-point-functions (bug#14465).
12881 (eval-expression, eval-minibuffer): Use it.
12882
5d028165
XF
128832013-05-25 Xue Fuqiao <xfq.free@gmail.com>
12884
12885 * progmodes/flymake.el (flymake-save-buffer-in-file)
12886 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
12887 (flymake-selected-frame, flymake-log, flymake-ins-after)
12888 (flymake-set-at, flymake-get-buildfile-from-cache)
12889 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
12890 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
12891 Refine the doc string.
12892 (flymake-get-file-name-mode-and-masks): Reformat.
12893 (flymake-get-real-file-name-function): Fix a minor bug.
12894
7a1d7ba7
JL
128952013-05-24 Juri Linkov <juri@jurta.org>
12896
12897 * progmodes/grep.el (grep-mode-font-lock-keywords):
12898 Support =linenumber= format used by git-grep for lines with
12899 function names. (Bug#13549)
12900
650cff3d
SM
129012013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
12902
12903 * progmodes/octave.el (octave-smie-rules): Return nil rather than
12904 0 after a semi-colon; it works better for smie-auto-fill.
12905 (octave--indent-new-comment-line): New function.
12906 (octave-indent-new-comment-line): Use it (indirectly).
12907 (octave-mode): Don't disable smie-auto-fill. Use add-function to
12908 modify comment-line-break-function.
12909
12910 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
12911 (smie-setup): Use add-function to set it.
12912
9631677d
SS
129132013-05-24 Sam Steingold <sds@gnu.org>
12914
12915 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
12916 argument (before the `interactive' argument).
12917
50105835
SM
129182013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
12919
12920 * image-mode.el (image-mode-winprops): Add winprops to
12921 image-mode-winprops-alist before running
12922 image-mode-new-window-functions.
12923 * doc-view.el (doc-view-new-window-function): Don't delay
12924 doc-view-goto-page via timers (bug#14435).
12925
57b9823e
TH
129262013-05-24 Tassilo Horn <tsdh@gnu.org>
12927
12928 * doc-view.el: Integrate with desktop.el. (Bug#14435)
12929 (doc-view-desktop-save-buffer): New function.
12930 (doc-view-restore-desktop-buffer): New function.
50105835
SM
12931 (desktop-buffer-mode-handlers):
12932 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
12933 handler.
12934 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
12935 `desktop-save-buffer' function.
12936
91aafa16
MA
129372013-05-24 Michael Albinus <michael.albinus@gmx.de>
12938
12939 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
12940 (tramp-gvfs-file-name-handler): Raise a user error when
12941 `tramp-gvfs-enabled' is nil.
12942 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
12943 Do not raise a user error when loading package. (Bug#14447)
12944
ec076379
MA
12945 * net/xesam.el: Move to obsolete/.
12946
db785726
GM
129472013-05-24 Glenn Morris <rgm@gnu.org>
12948
af5c7606
GM
12949 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
12950
e5d1916a
GM
12951 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
12952
ded62b08
GM
12953 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
12954 (Info-find-node, Man-getpage-in-background): Declare.
12955
9e614a3f
GM
12956 * mail/unrmail.el (unrmail):
12957 Replace obsolete detect-coding-with-priority.
12958
892f8ca3
GM
12959 * net/socks.el (socks-split-string): Use this rather than split-string.
12960 (socks-nslookup-host): Update for above change.
12961 (dynamic-choice, s5-dynamic-choice-match)
12962 (s5-dynamic-choice-match-inline, s5-widget-value-create):
12963 Comment out unused code.
12964
3c291973
GM
12965 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
12966 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
12967 (gud-tooltip-echo-area): Make obsolete.
12968 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
12969
43cc956b
GM
12970 * progmodes/js.el (js--optimize-arglist): Declare.
12971
dab49a3b
GM
12972 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
12973
36b9d085
GM
12974 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
12975 (ediff-window-C): Declare.
12976
e354ae76
GM
12977 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
12978 Tweak requires to silence compiler.
12979
b8e57bf4
GM
12980 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
12981 (he-search-string, he-tried-table, he-expand-list)
12982 (he-init-string, he-string-member, he-substitute-string)
12983 (he-reset-string): Declare.
12984
db785726
GM
12985 * obsolete/options.el (list-options): Use custom-variable-p,
12986 rather than obsolete alias.
12987
b3531901
SS
129882013-05-23 Sam Steingold <sds@gnu.org>
12989
12990 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 12991 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
12992 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
12993
bdda4c66
SM
129942013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12995
12996 * emacs-lisp/smie.el (smie-indent-forward-token)
12997 (smie-indent-backward-token): Handle string tokens (bug#14381).
12998
c43d45f9
TH
129992013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13000
fe1eb856
RS
13001 * ielm.el (ielm-menu): New menu.
13002 (inferior-emacs-lisp-mode): Set comment-start.
96172128 13003
fe1eb856
RS
130042013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13005
a12bf61e 13006 * textmodes/reftex.el (reftex-ref-style-toggle):
fe1eb856
RS
13007 Fix deactivate action.
13008
a12bf61e 13009 * textmodes/reftex-vars.el (reftex-ref-style-alist):
fe1eb856 13010 Add cleveref macros.
074dd971 13011
a12bf61e 13012 * textmodes/reftex-parse.el
c43d45f9
TH
13013 (reftex-locate-bibliography-files): Accept options for
13014 bibliography commands.
a12bf61e 13015 * textmodes/reftex-vars.el (reftex-bibliography-commands):
c43d45f9
TH
13016 Add addbibresource. Basic Biblatex support.
13017
7764286e
MA
130182013-05-23 Michael Albinus <michael.albinus@gmx.de>
13019
13020 * net/tramp-gvfs.el (top):
13021 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
13022 when loading package. (Bug#14447)
13023
d361bc10
GM
130242013-05-23 Glenn Morris <rgm@gnu.org>
13025
8fa23984
GM
13026 * progmodes/js.el: No need to load comint when compiling.
13027 (ring-insert, comint-send-string, comint-send-input)
13028 (comint-last-input-end, ido-chop): Declare.
13029
a5c7df1a
GM
13030 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
13031 * vc/ediff-mult.el: Adjust requires.
13032 (ediff-directories-internal, ediff-directory-revisions-internal)
13033 (ediff-patch-file-internal): Declare.
13034 * vc/ediff-ptch.el: Adjust requires.
13035 (ediff-use-last-dir, ediff-buffers-internal): Declare.
13036 (ediff-find-file): Autoload.
13037 * vc/ediff-util.el: No need to load ediff when compiling.
13038 (ediff-regions-internal): Declare.
13039 * vc/ediff-wind.el: Adjust requires.
13040 (ediff-compute-toolbar-width): Define when compiling.
13041 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
13042 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
13043 (dired-get-filename, dired-get-marked-files)
13044 (ediff-last-dir-patch, ediff-patch-default-directory)
13045 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
13046 (ediff-patch-buffer-internal): Declare.
13047
e2aec513
GM
13048 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
13049 (ispell-process, ispell-buffer-local-words, lm-summary)
13050 (lm-section-start, lm-section-end): Declare.
13051 (checkdoc-ispell-init): Simplify.
13052
e68bbd7c
GM
13053 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
13054 (he-string-member, he-reset-string, he-substitute-string): Declare.
13055
7efe0991
GM
13056 * eshell/em-ls.el: Adjust requires.
13057 (eshell-glob-regexp): Declare.
f87b1284
GM
13058 * eshell/em-tramp.el: Adjust requires.
13059 (eshell-parse-command): Autoload.
13060 * eshell/em-xtra.el: Adjust requires.
13061 (eshell-parse-command): Autoload.
13062 * eshell/esh-ext.el: Adjust requires.
13063 (eshell-parse-command, eshell-close-handles): Autoload.
13064 * eshell/esh-io.el: Adjust requires.
13065 (eshell-output-filter): Autoload.
13066 * eshell/esh-util.el: No need to load tramp when compiling.
13067 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
13068 Declare.
13069 (eshell-parse-ange-ls): Require ange-ftp and tramp.
13070 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
13071 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
13072 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
13073 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
13074 * eshell/esh-opt.el, eshell/esh-proc.el:
13075 * eshell/esh-var.el: Adjust requires.
13076 * eshell/eshell.el: Do not require esh-util twice.
13077 (eshell-add-input-to-history): Declare.
13078 (eshell-command): Check history module is active before using it.
13079
d361bc10
GM
13080 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
13081
85d090a9
LL
130822013-05-22 Leo Liu <sdl.web@gmail.com>
13083
13084 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
13085
5d0acd9d
MA
130862013-05-22 Michael Albinus <michael.albinus@gmx.de>
13087
13088 * autorevert.el (auto-revert-notify-add-watch)
13089 (auto-revert-notify-handler): Add `attrib' for the inotify case,
13090 it indicates changes in file modification time.
13091
0cdffd7d
GM
130922013-05-22 Glenn Morris <rgm@gnu.org>
13093
ca5995ec
GM
13094 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
13095 Always delete the autoloaded function from the noruntime and
13096 unresolved functions lists.
13097
6450907e
GM
13098 * allout.el: No need to load epa, epg, overlay when compiling.
13099 (epg-context-set-passphrase-callback, epg-list-keys)
13100 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
13101 (epg-key-user-id-list): Declare.
13102
9c6906f6
GM
13103 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
13104 (viper-set-parsing-style-toggling-macro)
13105 (viper-set-emacs-state-searchstyle-macros):
13106 Use called-interactively-p on Emacs.
13107 (viper-looking-back): Make it an obsolete alias. Update callers.
13108 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
13109 Use looking-back rather than viper-looking-back.
13110 (viper-tmp-insert-at-eob, viper-enlarge-region)
13111 (viper-read-string-with-history, viper-register-to-point)
13112 (viper-append-to-register, viper-change-state-to-vi)
13113 (viper-backward-char-carefully, viper-forward-char-carefully)
13114 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
13115 (viper-change-state-to-emacs): Declare.
13116 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
13117 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
13118 * emulation/viper-mous.el: Do not load viper-cmd.
13119 (viper-backward-char-carefully, viper-forward-char-carefully)
13120 (viper-forward-word, viper-adjust-window): Declare.
13121
5f70c169
GM
13122 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
13123
b1b7f300
GM
13124 * progmodes/idlw-help.el (idlwave-help-fontify):
13125 Use called-interactively-p.
13126
f6ebbb46
GM
13127 * term/w32console.el (w32-get-console-codepage)
13128 (w32-get-console-output-codepage): Declare.
13129
0cdffd7d
GM
13130 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
13131 Remove unnecessary declarations.
13132 (dframe-message): Doc fix.
13133
13134 * info.el (dframe-select-attached-frame, dframe-current-frame):
13135 Declare.
13136
13137 * speedbar.el (speedbar-message): Make it an obsolete alias.
13138 Update all callers.
13139 (speedbar-with-attached-buffer)
13140 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
13141 (speedbar-with-writable): Use backquote.
13142 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
13143 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
13144 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
13145 rather than speedbar- aliases.
13146 * mail/rmail.el: Load dframe rather than speedbar when compiling.
13147 (speedbar-make-specialized-keymap, speedbar-insert-button)
13148 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
13149 (speedbar-do-function-pointer): Declare.
13150 (rmail-speedbar-button, rmail-speedbar-find-file)
13151 (rmail-speedbar-move-message):
13152 Use dframe-with-attached-buffer rather than speedbar- alias.
13153 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
13154 (dframe-message, speedbar-make-specialized-keymap)
13155 (speedbar-add-expansion-list, speedbar-mode-functions-list)
13156 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
13157 (speedbar-insert-button, dframe-select-attached-frame)
13158 (dframe-maybee-jump-to-attached-frame)
13159 (speedbar-change-initial-expansion-list)
13160 (speedbar-previously-used-expansion-list-name): Declare.
13161 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
13162 Use dframe-message, dframe-with-attached-buffer rather than
13163 speedbar- aliases.
13164 (gud-sentinel): Silence compiler.
13165 * progmodes/vhdl-mode.el (speedbar-refresh)
13166 (speedbar-do-function-pointer, speedbar-add-supported-extension)
13167 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
13168 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
13169 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
13170 (speedbar-file-lists, speedbar-make-tag-line)
13171 (speedbar-line-directory, speedbar-goto-this-file)
13172 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
13173 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
13174 (speedbar-make-button, speedbar-reset-scanners)
13175 (speedbar-files-item-info, speedbar-line-text)
13176 (speedbar-find-file-in-frame, speedbar-set-timer)
13177 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
13178 (speedbar-with-writable): Do not (re)define it.
13179 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
13180 rather than speedbar- alias.
13181
ee44b62a
LL
131822013-05-21 Leo Liu <sdl.web@gmail.com>
13183
13184 * progmodes/octave.el (octave-mode-menu): Update and re-organize
13185 menu items.
13186 (octave-mode): Tweak fill-nobreak-predicate.
13187 (inferior-octave-startup): Check process to avoid infinite loop.
13188 (inferior-octave): Pop to buffer first to show abornmal process
13189 exit information.
13190
640f050f
GM
131912013-05-21 Glenn Morris <rgm@gnu.org>
13192
79458038
GM
13193 * printing.el (pr-menu-bar): Define when compiling.
13194
9cc3e83f
LL
131952013-05-21 Leo Liu <sdl.web@gmail.com>
13196
13197 * progmodes/octave.el (octave-auto-fill): Remove.
13198 (octave-indent-new-comment-line): Improve.
13199 (octave-mode): Use auto fill mode through
4f405069 13200 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 13201 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 13202 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
13203 (octave-help): Show parent directory.
13204
f440830d
GM
132052013-05-21 Glenn Morris <rgm@gnu.org>
13206
13207 * files.el (dired-unmark):
13208 * progmodes/gud.el (gdb-input): Update declarations.
13209
13210 * calculator.el (electric, ehelp): No need to load when compiling.
13211 (Electric-command-loop, electric-describe-mode): Declare.
13212
13213 * doc-view.el (doc-view-current-converter-processes): Move before use.
13214
13215 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13216 Move MODE-set-explicitly definition before use.
13217
13218 * international/mule-diag.el (mule-diag):
13219 Don't use obsolete window-system-version.
13220
13221 * mail/feedmail.el (smtpmail): No need to load when compiling.
13222 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
13223
13224 * mail/mail-utils.el (rfc822): No need to load when compiling.
13225 (rfc822-addresses): Autoload it.
13226 (mail-strip-quoted-names): Trivial simplification.
13227
13228 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
13229 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
13230
13231 * net/snmp-mode.el (tempo): Don't duplicate requires.
13232
13233 * progmodes/prolog.el (info): No need to load when compiling.
13234 (comint): Require before shell requires it.
13235 (Info-goto-node): Autoload it.
13236 (Info-follow-nearest-node): Declare.
13237 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
13238
13239 * textmodes/artist.el (picture-mode-exit): Declare.
13240
13241 * textmodes/reftex-parse.el (reftex-parse-from-file):
13242 Trivial rewrite so the compiler can parse it better.
13243
b4da2cbb
LL
132442013-05-20 Leo Liu <sdl.web@gmail.com>
13245
13246 * progmodes/octave.el (octave-help-mode-map)
13247 (octave-help-mode-finish-hook): New variables.
13248 (octave-help-mode, octave-help-mode-finish): New functions.
13249 (octave-help): Use octave-help-mode.
13250
33c0f65b
GM
132512013-05-20 Glenn Morris <rgm@gnu.org>
13252
13253 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
13254
1a0a0a8a
DG
132552013-05-19 Dmitry Gutov <dgutov@yandex.ru>
13256
13257 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
13258 start at point, so that expansion starting right after opening
13259 slash in a regexp is recognized.
13260 (ruby-syntax-before-regexp-re): New defvar, extracted from
13261 ruby-syntax-propertize-function. Since the value of this regexp
13262 is looked up at runtime now, we should be able to turn
13263 `ruby-syntax-methods-before-regexp' into a defcustom later.
13264 (ruby-syntax-propertize-function): Split regexp matching into two
13265 parts, for opening and closing slashes. That allows us to skip
13266 over string interpolations and support multiline regexps.
13267 Don't call `ruby-syntax-propertize-expansions', instead use another rule
13268 for them, which calls `ruby-syntax-propertize-expansion'.
13269 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
13270 call to `ruby-syntax-propertize-function'.
13271 (ruby-syntax-propertize-expansion): Extracted from
13272 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
13273 (ruby-syntax-propertize-percent-literal): Leave point right after
13274 the percent symbol, so that the expression expansion rule can
13275 propertize the contents.
462388b6
DG
13276 (ruby-syntax-propertize-heredoc): Leave point at bol following the
13277 heredoc openers.
13278 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 13279
c1a6c0a4
JL
132802013-05-18 Juri Linkov <juri@jurta.org>
13281
13282 * man.el (Man-default-man-entry): Remove `-' from the end
13283 of the default value. (Bug#14400)
13284
8051fccd
GM
132852013-05-18 Glenn Morris <rgm@gnu.org>
13286
13287 * comint.el (comint-password-prompt-regexp):
13288 Allow "password for XXX" where XXX contains colons (eg https://...).
13289
5e80b74f
LL
132902013-05-18 Leo Liu <sdl.web@gmail.com>
13291
13292 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 13293 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
13294 (octave-source-directories): Don't check process.
13295 (octave-source-directories, octave-find-definition): Doc fix.
13296
521a54c5
GM
132972013-05-18 Glenn Morris <rgm@gnu.org>
13298
86a94b05
GM
13299 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
13300 Remove backspace/delete bindings. (Bug#14392)
13301
521a54c5
GM
13302 * cus-dep.el (custom-make-dependencies): Sort the output.
13303 (custom-versions-load-alist): Convert comment to doc.
13304
42caeb89
LL
133052013-05-17 Leo Liu <sdl.web@gmail.com>
13306
13307 * newcomment.el (comment-search-backward): Stricter in finding
13308 comment start. (Bug#14303)
13309
13310 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
13311 (octave-comment-start-skip): Properly anchored.
13312
e219dd97
LL
133132013-05-17 Leo Liu <sdl.web@gmail.com>
13314
fe1eb856
RS
13315 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
13316 Clean up when turned off. (Bug#14395)
e219dd97
LL
13317 (smie--highlight-matching-block-overlay): No longer buffer-local.
13318 (smie-highlight-matching-block): Adjust.
13319
dc5dcb4b
PE
133202013-05-17 Paul Eggert <eggert@cs.ucla.edu>
13321
13322 Doc string fix for "nanoseconds" (Bug#14406).
13323 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
13324 Fix doc string typo that had "nanoseconds" instead of "microseconds".
13325
1db165f0
JB
133262013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
13327
13328 * calc/calc-units.el (math-extract-units): Preserve powers
13329 of units.
13330
c7a8fcac
LL
133312013-05-17 Leo Liu <sdl.web@gmail.com>
13332
13333 * subr.el (delete-consecutive-dups): New function.
13334 * ido.el (ido-set-matches-1): Use it.
13335 * progmodes/octave.el (inferior-octave-completion-table): Use it.
13336 * ido.el (ido-remove-consecutive-dups): Remove.
13337
f678b18a
SM
133382013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13339
13340 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
13341 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
13342 regexp-opt's `words'.
13343
ebfe68e8
LL
133442013-05-16 Leo Liu <sdl.web@gmail.com>
13345
13346 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
13347 (smie--highlight-matching-block-overlay)
13348 (smie--highlight-matching-block-lastpos)
13349 (smie--highlight-matching-block-timer): New variables.
13350 (smie-highlight-matching-block): New function.
13351 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
13352 (smie-setup): Conditionally enable smie-blink-matching-open.
13353
bc8bc17d
WS
133542013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
13355
13356 Sync with upstream verilog-mode r840.
13357 * progmodes/verilog-mode.el (verilog-mode-version)
13358 (verilog-mode-release-date): Update.
13359 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
13360 (verilog-sig-tieoff): Fix string error on
13361 AUTORESET with colon define, bug594. Reported by Andrew Hou.
13362 (verilog-read-decls): Fix parameters confusing
13363 AUTOINST interfaces, bug565. Reported by Leith Johnson.
13364
df065a0b
EZ
133652013-05-16 Eli Zaretskii <eliz@gnu.org>
13366
13367 * subr.el (reveal-filename): New function.
13368
13369 * loadup.el: Compute Emacs executable versions on MS-Windows,
13370 where executables have the .exe extension. Add a hard link
13371 emacs-XX.YY.ZZ.exe on MS-Windows.
13372
13373 * Makefile.in (XARGS_LIMIT): New variable.
13374 (custom-deps, finder-data, autoloads)
13375 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
13376 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
13377 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
13378 (compile-main): Limit xargs according to $(XARGS_LIMIT).
13379
2d4bf34b
LL
133802013-05-16 Leo Liu <sdl.web@gmail.com>
13381
13382 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
13383 (octave-mode-menu, octave-mode-map): Remove its uses.
13384
6b9c2d85
RZ
133852013-05-16 Reto Zimmermann <reto@gnu.org>
13386
13387 Sync with upstream vhdl mode v3.34.2.
13388 * progmodes/vhdl-mode.el: Use `push' throughout.
13389 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
13390 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
13391 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
13392 (vhdl-actual-generic-name): New option to derive actual generic name.
13393 (vhdl-port-paste-signals): Replace formal by actual generics.
13394 (vhdl-beautify): New name for old group vhdl-align. Update users.
13395 (vhdl-beautify-options): New option.
13396 (vhdl-last-input-event): New compat alias. Use throughout.
13397 (vhdl-goto-line): Replace user level function `goto-line'.
13398 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
13399 vhdl-fix-statement-buffer.
13400 (vhdl-create-mode-menu): Add some entries.
13401 (vhdl-align-region-groups): Respect vhdl-beautify-options.
13402 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
13403 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
13404 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
13405 to force statements on one line.
13406 (vhdl-remove-trailing-spaces-region):
13407 New, split from vhdl-remove-trailing-spaces.
13408 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
13409 Respect vhdl-beautify-options.
13410 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
13411 (vhdl-update-sensitivity-list): Not add with index if exists without.
13412 Not include array index with signal. Ignore keywords in comments.
13413 (vhdl-get-visible-signals): Regexp tweaks.
13414 (vhdl-template-component-inst): Handle empty library.
13415 (vhdl-template-type): Add template for 'enum' type.
13416 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
13417 Use vhdl-replace-string.
13418 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
13419 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
13420 (vhdl-speedbar-initialize): Update for above name change.
13421 (vhdl-compose-wire-components): Fix in handling of constants.
13422 (vhdl-error-regexp-emacs-alist): New variable.
13423 (vhdl-error-regexp-add-emacs): New function;
13424 adds support for new compile.el (Emacs 22+)
13425 (vhdl-generate-makefile-1): Change target order for single lib. units.
13426 Allow use of absolute file names.
13427
9df4ec5e
LL
134282013-05-16 Leo Liu <sdl.web@gmail.com>
13429
13430 * simple.el (prog-indent-sexp): Indent enclosing defun.
13431
f5ba00a6
GM
134322013-05-15 Glenn Morris <rgm@gnu.org>
13433
ed8be7ff
GM
13434 * cus-start.el (show-trailing-whitespace): Move to editing basics.
13435 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
13436 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
13437 (whitespace-highlight): Move to whitespace group.
13438
13439 * comint.el (comint-source):
13440 * pcmpl-linux.el (pcmpl-linux):
13441 * shell.el (shell-faces):
13442 * eshell/esh-opt.el (eshell-opt):
13443 * international/ccl.el (ccl): Remove empty custom groups.
13444
13445 * completion.el (dynamic-completion-mode):
13446 * jit-lock.el (jit-lock-debug-mode):
13447 * minibuffer.el (completion-in-region-mode):
13448 * type-break.el (type-break-mode-line-message-mode)
13449 (type-break-query-mode):
13450 * emulation/tpu-edt.el (tpu-edt-mode):
13451 * progmodes/subword.el (global-subword-mode, global-superword-mode):
13452 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
13453 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
13454
13455 * term/xterm.el (xterm): Change parent group to terminals.
13456
13457 * master.el (master): Remove empty custom group.
13458 (master-mode): Remove unused :group argument.
13459 * textmodes/refill.el (refill): Remove empty custom group.
13460 (refill-mode): Remove unused :group argument.
13461
13462 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
13463
82a7c41b
GM
13464 * cus-dep.el: Provide a feature.
13465 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
13466 Don't mistakenly ignore files whose basenames match a basename
13467 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 13468 Add a fallback method for getting :group.
f5ba00a6 13469
6d65486d
JL
134702013-05-15 Juri Linkov <juri@jurta.org>
13471
da547b32
JL
13472 * isearch.el (isearch-char-by-name): Rename from
13473 `isearch-insert-char-by-name'. Doc fix.
13474 (isearch-forward): Mention `isearch-char-by-name' in
13475 the docstring. (Bug#13348)
13476
6d65486d
JL
13477 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
13478 `exit-minibuffer' instead of
13479 `isearch-nonincremental-exit-minibuffer'.
13480 (isearch-edit-string): Remove mention of
13481 `isearch-nonincremental-exit-minibuffer' from docstring.
13482 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
13483 (isearch-forward-exit-minibuffer)
13484 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
13485
c9990474
SM
134862013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
13487
6e911150
SM
13488 * loadup.el: Just use unversioned DOC.
13489
c9990474
SM
13490 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
13491 literals as extending to EOB.
13492 (nxml-last-fontify-end): Remove unused variable.
13493 (nxml-after-change1): Use with-silent-modifications.
13494 (nxml-extend-after-change-region): Simplify.
13495 (nxml-extend-after-change-region1): Remove function.
13496 (nxml-after-change1): Don't adjust for dependent regions.
13497 (nxml-fontify-matcher): Simplify.
13498 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
13499 (xmltok-add-dependent): Remove function.
13500 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
13501 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
13502 (xmltok-scan-prolog-after-processing-instruction-open): Treat
13503 unclosed <[[, <?, comment, and other literals as extending to EOB.
13504 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
13505 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
13506 Remove functions.
13507 (rng-do-some-validation-1): Don't mark dependent regions.
13508 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
13509 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
13510 (nxml-clear-dependent-regions): Remove functions.
13511 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
13512 (nxml-ensure-scan-up-to-date):
13513 Don't clear&mark dependent regions.
13514
e3772e98
LL
135152013-05-15 Leo Liu <sdl.web@gmail.com>
13516
c9990474
SM
13517 * progmodes/octave.el (octave-goto-function-definition):
13518 Improve and fix callers.
e3772e98 13519
5ac2eb34
SM
135202013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
13521
c46c57b0
SM
13522 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
13523 the setter (bug#14387).
13524
5ac2eb34
SM
13525 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
13526 surrounding group (bug#14402).
13527
180ed218
JL
135282013-05-14 Juri Linkov <juri@jurta.org>
13529
13530 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
13531 (Bug#14390)
13532
0ac0fecb
GM
135332013-05-14 Glenn Morris <rgm@gnu.org>
13534
13535 * progmodes/f90.el (f90-imenu-generic-expression):
13536 Fix typo in 2013-05-08 change. (Bug#14402)
13537
2e78e6a7
JPG
135382013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
13539
5ac2eb34
SM
13540 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
13541 Remove signals for which replies are never received.
2e78e6a7 13542
53267cca
JPG
135432013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
13544
13545 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
13546 (gdb-handler-alist, gdb-handler-number): Remove variables.
13547 (gdb-handler-list): New variable.
13548 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
13549 (gdb-pending-handler-p, gdb-handle-reply)
13550 (gdb-remove-all-pending-triggers): New functions.
13551 (gdb-discard-unordered-replies): New defcustom.
13552 (gdb-handler): New defstruct.
13553 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
13554 instead of gdb-pending-triggers. Update docstring.
13555 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
13556 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
13557 (gdb-var-update-handler, def-gdb-auto-update-trigger)
13558 (def-gdb-auto-update-handler, gdb-get-changed-registers)
13559 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
13560 (gdb-frame-handler): Pending triggers are now automatically managed.
13561 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
13562 Remove argument.
13563 (gdb-input): Automatically handles pending triggers. Update docstring.
13564 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
13565 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
13566 Update comments.
13567 (gdb-done-or-error): Now use gdb-handle-reply.
13568
d04ce803
JPG
135692013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
13570
13571 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
13572 gdb-debug-log.
13573
0114073a
GM
135742013-05-14 Glenn Morris <rgm@gnu.org>
13575
13576 * subr.el (user-emacs-directory-warning): New option.
13577 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
13578
4d25fd7e
LL
135792013-05-14 Leo Liu <sdl.web@gmail.com>
13580
13581 * progmodes/octave.el (octave-font-lock-keywords): Fix error
13582 during redisplay.
13583 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
13584 (octave-font-lock-texinfo-comment): Fix invalid search bound
13585 error: wrong side of point.
4d25fd7e 13586
27c8b6eb
GM
135872013-05-14 Glenn Morris <rgm@gnu.org>
13588
61aaeb01
GM
13589 * progmodes/flymake.el (flymake-xml-program): New option.
13590 (flymake-xml-init): Use it.
13591
5bf90bc5
GM
13592 * term/xterm.el: Provide a feature.
13593
13594 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 13595
f4c7dfd2
GM
135962013-05-13 Glenn Morris <rgm@gnu.org>
13597
13598 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
13599 Add compat aliases as a hack workaround. (Bug#14384)
13600
2aeb3a1d
LL
136012013-05-13 Leo Liu <sdl.web@gmail.com>
13602
b0e069c2
LL
13603 * progmodes/octave.el (octave-indent-comment): Fix indentation for
13604 ###, and %!.
f5a9432f
LL
13605 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
13606 C-M-q.
b0e069c2
LL
13607 (octave-comment-start-skip): Include %!.
13608 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 13609
30ea8374
LL
136102013-05-12 Leo Liu <sdl.web@gmail.com>
13611
13612 * progmodes/octave.el (inferior-octave-startup): Store the value
13613 of __octave_srcdir__ for octave-source-directories.
13614 (inferior-octave-check-process): New function refactored out of
13615 inferior-octave-send-list-and-digest.
13616 (octave-source-directories)
13617 (octave-find-definition-filename-function): New variables.
13618 (octave-source-directories)
13619 (octave-find-definition-default-filename): New functions.
13620 (octave-find-definition): Improve to find functions implemented in C++.
13621
472a3834
GM
136222013-05-12 Glenn Morris <rgm@gnu.org>
13623
13624 * calendar/diary-lib.el (diary-outlook-format-1):
13625 Don't include dayname in the output. (Bug#14349)
13626
3191b52f
GM
136272013-05-11 Glenn Morris <rgm@gnu.org>
13628
0060ac73
GM
13629 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
13630
3191b52f
GM
13631 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
13632 Treat cc-provide like provide.
13633
e065ba74
KR
136342013-05-11 Kevin Ryde <user42@zip.com.au>
13635
13636 * cus-dep.el (custom-make-dependencies):
13637 Use generated-autoload-load-name for the sake of files such
13638 such cedet/semantic/bovine/c.el, where the base file name
13639 is not in load-path. (Bug#5277)
13640
36f84c37
GM
136412013-05-11 Glenn Morris <rgm@gnu.org>
13642
13643 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
13644 Provide features.
13645
c8730c3a
LL
136462013-05-11 Leo Liu <sdl.web@gmail.com>
13647
13648 * progmodes/octave.el (octave-indent-comment): Improve.
13649 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
13650 (octave-eldoc-function-signatures, octave-eldoc-function):
13651 New functions.
c8730c3a
LL
13652 (octave-mode, inferior-octave-mode): Add eldoc support.
13653
212e29f2
RS
136542013-05-11 Richard Stallman <rms@gnu.org>
13655
13656 * epa.el (epa-decrypt-file): Take output file name as argument
13657 and read it using `interactive'.
13658
083fe0d7
LL
136592013-05-11 Leo Liu <sdl.web@gmail.com>
13660
13661 * progmodes/octave.el (octave-beginning-of-line)
13662 (octave-end-of-line): Check before using up-list because it jumps
13663 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
13664 (octave-indent-comment): New function.
13665 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
13666 (octave-begin-keywords, octave-end-keywords)
13667 (octave-reserved-words, octave-smie-bnf-table)
13668 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 13669
8582e4c4
GM
136702013-05-11 Glenn Morris <rgm@gnu.org>
13671
f20def1f
GM
13672 * faces.el (internal-face-x-get-resource):
13673 * frame.el (ns-display-monitor-attributes-list):
d78abe37 13674 * calc/calc-aent.el (math-to-radians-2):
f20def1f 13675 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 13676 Fix declarations.
f20def1f 13677
445f95e2
GM
13678 * calc/calc-menu.el: Make it loadable in isolation.
13679
13680 * net/eudcb-bbdb.el: Make it loadable without bbdb.
13681 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
13682 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
13683 (eudc-bbdb-query-internal): Require 'bbdb.
13684
99fb2756
GM
13685 * lpr.el (lpr-headers-switches):
13686 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
13687
13688 * progmodes/sql.el (sql-login-params): Fix and improve :type.
13689
0da7ad96
GM
13690 * emulation/edt-mapper.el: In batch mode, error rather than hang.
13691
8582e4c4
GM
13692 * term.el (term-set-escape-char): Make it idempotent.
13693
f71c50d0
LL
136942013-05-10 Leo Liu <sdl.web@gmail.com>
13695
5ac2eb34
SM
13696 * progmodes/octave.el (inferior-octave-completion-table):
13697 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
13698 completion due to bug#11906.
13699 (octave-beginning-of-defun): Re-write to be more general.
13700
d5837773
GM
137012013-05-10 Glenn Morris <rgm@gnu.org>
13702
13703 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
13704
027c0f75
SM
137052013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
13706
13707 * comint.el (comint-redirect-send-command-to-process): Use :around
13708 rather than :override for comint-redirect-filter.
13709 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
13710 Call it instead of comint-redirect-original-filter-function (which
13711 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
13712
4465bfb4
JD
137132013-05-09 Jan Djärv <jan.h.d@swipnet.se>
13714
13715 * frame.el (display-monitor-attributes-list): Add NS case.
13716 (ns-display-monitor-attributes-list): Declare.
13717
2d809ffa 137182013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
13719
13720 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
13721
e54eeb9b
GM
137222013-05-09 Glenn Morris <rgm@gnu.org>
13723
56cd351d
GM
13724 * international/fontset.el (vertical-centering-font-regexp):
13725 Set standard-value.
13726
d84b6108
GM
13727 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
13728
a931698a
GM
13729 * bookmark.el (bookmark-search-delay):
13730 * cus-start.el (vertical-centering-font-regexp):
13731 * ps-mule.el (ps-mule-font-info-database-default):
13732 * ps-print.el (ps-default-fg, ps-default-bg):
13733 * type-break.el (type-break-good-break-interval):
13734 * whitespace.el (whitespace-indentation-regexp)
13735 (whitespace-space-after-tab-regexp):
13736 * emacs-lisp/testcover.el (testcover-1value-functions)
13737 (testcover-noreturn-functions, testcover-progn-functions)
13738 (testcover-prog1-functions):
13739 * emulation/viper-init.el (viper-emacs-state-cursor-color):
13740 * eshell/em-glob.el (eshell-glob-translate-alist):
13741 * play/tetris.el (tetris-tty-colors):
13742 * progmodes/cpp.el (cpp-face-default-list):
13743 * progmodes/flymake.el (flymake-allowed-file-name-masks):
13744 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
13745 (idlwave-help-browser-generic-args):
13746 * progmodes/make-mode.el (makefile-special-targets-list):
13747 * progmodes/python.el (python-shell-virtualenv-path):
13748 * progmodes/verilog-mode.el (verilog-active-low-regexp)
13749 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
13750 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
13751 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
13752 * textmodes/reftex-vars.el (reftex-format-label-function):
13753 * textmodes/remember.el (remember-diary-file): Fix custom types.
13754
e54eeb9b
GM
13755 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
13756 Add :version.
13757
455851dd
LL
137582013-05-09 Leo Liu <sdl.web@gmail.com>
13759
13760 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 13761 Restore file completion. (Bug#14300)
455851dd
LL
13762 (inferior-octave-startup): Fix incorrect highlighting for the
13763 first prompt.
13764
a9e4425b
SM
137652013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13766
13767 * progmodes/ruby-mode.el: First cut at SMIE support.
13768 (ruby-use-smie): New var.
13769 (ruby-smie-grammar): New constant.
13770 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
13771 (ruby-smie--forward-token, ruby-smie--backward-token)
13772 (ruby-smie-rules): New functions.
13773 (ruby-mode-variables): Setup SMIE if applicable.
13774
060ca408
EZ
137752013-05-08 Eli Zaretskii <eliz@gnu.org>
13776
13777 * simple.el (line-move-visual): Signal beginning/end of buffer
13778 only if vertical-motion moved less than it was requested. Avoids
13779 silly incorrect error messages when there are display strings with
13780 multiple newlines at EOL.
13781
1d5963cc
SM
137822013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13783
13784 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
13785 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
13786 (prolog-char-quote-workaround):
13787 * progmodes/cperl-mode.el (cperl-under-as-char):
13788 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
13789 Mark as obsolete.
13790 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
13791 their declaration.
13792 (vhdl-mode-syntax-table-init): Remove.
13793
c9990474
SM
13794 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
13795 last change.
1d5963cc
SM
13796
13797 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
13798 syntax for "_".
13799 (ld-script-font-lock-keywords):
13800 Change regexps to use things like \_< and \_>.
13801
13802 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
13803 Change all regexps to use things like \_< and \_>.
13804
13805 * progmodes/autoconf.el (autoconf-definition-regexp)
13806 (autoconf-font-lock-keywords, autoconf-current-defun-function):
13807 Handle a _ with symbol syntax.
13808 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
13809
c9990474
SM
13810 * progmodes/ada-mode.el (ada-mode-abbrev-table):
13811 Consolidate declaration.
1d5963cc
SM
13812 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
13813 the declaration.
13814 (ada-create-syntax-table): Remove.
13815 (ada-capitalize-word): Don't mess with the syntax of "_" since it
13816 already has the right syntax nowadays.
13817 (ada-goto-next-word): Don't change the syntax of "_".
13818
13819 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
13820 with-wrapper-hook.
13821
72d3cfca
SS
138222013-05-08 Sam Steingold <sds@gnu.org>
13823
13824 * thingatpt.el (thing-at-point): Accept optional second argument
13825 NO-PROPERTIES to strip the text properties from the return value.
13826 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
13827 to `thing-at-point' instead of stripping the properties ourselves.
13828 Also, when `thing-at-point' fails to find a url, prepend "http://"
13829 to the filename at point on the assumption that the user is
13830 pointing at something like gnu.org/gnu.
13831
5cb15713
JB
138322013-05-08 Juanma Barranquero <lekktu@gmail.com>
13833
13834 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
13835 * faces.el (crm-separator):
13836 Silence byte-compiler.
13837
13838 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
13839 (tool-bar-map): Remove unneeded defvars.
13840
ea78b95b
LL
138412013-05-08 Leo Liu <sdl.web@gmail.com>
13842
13843 Re-work a fix for bug#10994 based on Le Wang's patch.
13844 * ido.el (ido-remove-consecutive-dups): New helper.
13845 (ido-completing-read): Use it.
13846 (ido-chop): Revert fix for bug#10994.
13847
dc7466df
AS
138482013-05-08 Adam Spiers <emacs@adamspiers.org>
13849
13850 * cus-edit.el (custom-save-variables):
13851 Pretty-print long values. (Bug#14187)
13852
9ecf672a
GM
138532013-05-08 Glenn Morris <rgm@gnu.org>
13854
13855 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
13856 (m4-mode-syntax-table): Init in the defvar.
13857 (m4-mode-abbrev-table): Let define-derived-mode define it.
13858
3f555be8
TT
138592013-05-08 Tom Tromey <tromey@redhat.com>
13860
13861 * progmodes/m4-mode.el (m4-mode-syntax-table):
13862 Do not treat "_" as word constituent. (Bug#14167)
13863
7cc8ae06
GM
138642013-05-07 Glenn Morris <rgm@gnu.org>
13865
4f58bc06
GM
13866 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
13867 Remove explicit eshell-isearch-cancel-map.
13868
7cc8ae06
GM
13869 * progmodes/f90.el (f90-smart-end-names): New option.
13870 (f90-smart-end): Doc fix.
13871 (f90-end-block-optional-name): New constant.
13872 (f90-block-match): Respect f90-smart-end-names.
13873
ceb57e59
SM
138742013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
13875
13876 * progmodes/octave.el (octave-smie-forward-token): Be more careful
13877 about implicit semi-colons (bug#14218).
13878
4e3f9230
YM
138792013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
13880
13881 * frame.el (display-monitor-attributes-list)
13882 (frame-monitor-attributes): New functions.
13883
203a5572
LL
138842013-05-06 Leo Liu <sdl.web@gmail.com>
13885
13886 * progmodes/octave.el (octave-syntax-propertize-function): Change
13887 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
13888 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 13889 (octave-completion-at-point): Rename from
203a5572
LL
13890 octave-completion-at-point-function.
13891 (inferior-octave-directory-tracker): Robustify.
13892 (octave-text-functions): Remove and fix its uses. No such things
13893 any more.
13894
ee6cff99
SM
138952013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13896
13897 * emacs-lisp/trace.el (trace--display-buffer): New function.
13898 (trace-make-advice): Use it.
13899
32985194
JL
139002013-05-06 Juri Linkov <juri@jurta.org>
13901
13902 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
13903 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
13904 Doc fix.
13905 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
13906 in the help string. (Bug#12985)
13907
a1c700de
KD
139082013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
13909
13910 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
13911
c67c0839
SM
139122013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13913
323885fd
SM
13914 * progmodes/perl-mode.el: Add support for here documents.
13915 (perl-syntax-propertize-function): Match here-doc markers.
13916 (perl-syntax-propertize-special-constructs): Find their end.
13917 (perl-imenu-generic-expression): Use [:alnum:].
13918
c67c0839
SM
13919 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
13920 (advice--add-function): Refresh the advice if already present
13921 (bug#14317).
13922
d491e7a8
IA
139232013-05-06 Ivan Andrus <darthandrus@gmail.com>
13924
13925 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
13926
ddf9925e
GM
139272013-05-06 Glenn Morris <rgm@gnu.org>
13928
7cc3af27
GM
13929 * w32-fns.el (w32-charset-info-alist): Declare.
13930
16e343d6
GM
13931 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
13932 of its defcustom properties.
13933 (eshell-cmpl-initialize): No need to load pcomplete.
13934
7d889a47
GM
13935 * generic-x.el: No need to require comint when compiling.
13936
ddf9925e
GM
13937 * net/eudc-export.el: Make it loadable without bbdb.
13938 (top-level): Use require rather than load-library.
13939 (eudc-create-bbdb-record, eudc-bbdbify-phone)
13940 (eudc-batch-export-records-to-bbdb)
13941 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
13942 Require bbdb.
13943
1e2c18df
SM
139442013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13945
13946 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
13947 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
13948 some tweaks, instead.
13949
02502a5f
LL
139502013-05-05 Leo Liu <sdl.web@gmail.com>
13951
13952 * progmodes/octave.el (octave-font-lock-keywords)
13953 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
13954 (inferior-octave-send-list-and-digest): Improve error message.
13955 (octave-mode, inferior-octave-mode): Use setq-local.
13956 (octave-help): Set info-lookup-mode.
13957
0dc04f42
RS
139582013-05-05 Richard Stallman <rms@gnu.org>
13959
6c54491c
RS
13960 * vc/compare-w.el (compare-windows-whitespace):
13961 Treat no-break space as whitespace.
13962
0dc04f42
RS
13963 * mail/rmailsum.el (rmail-summary-rmail-update):
13964 Detect empty summary and don't change selected message.
13965 (rmail-summary-goto-msg): Likewise.
13966
df8f35df
RS
13967 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
13968 Doc fixes, rename args.
13969
5356e1a3
AM
139702013-05-05 Alan Mackenzie <acm@muc.de>
13971
13972 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
13973
d44014cb
JL
139742013-05-05 Juri Linkov <juri@jurta.org>
13975
13976 * info.el (Info-read-subfile): Use (point-min) instead of (point)
13977 to not add the length of the summary segment to the return value.
13978 (Bug#14125)
13979
c129b51f
LL
139802013-05-05 Leo Liu <sdl.web@gmail.com>
13981
13982 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
13983 (inferior-octave-output-filter): Remove.
13984 (octave-send-region, inferior-octave-startup): Fix callers.
13985 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
13986 (octave-binary-file-extensions): New user variable.
13987 (octave-find-definition): Confirm if opening binary files.
13988 (octave-help-file): Use octave-find-definition to get the binary
13989 confirmation.
13990 (octave-help): Adjust for octave-help-file change.
13991
aa7dab97
SM
139922013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
13993
13994 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
13995 Merge the two entries that handle function definitions.
13996 (pascal--syntax-propertize): New const.
13997 (pascal-mode): Use it. Use setq-local.
13998
fd3a9a6b
GM
139992013-05-04 Glenn Morris <rgm@gnu.org>
14000
14001 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
14002 (diary-from-outlook): Respect diary-from-outlook-function.
14003
30c7e542
SM
140042013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14005
14006 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
14007 Move the declaration from C.
14008 (read-minibuffer, eval-minibuffer): Move from C.
14009 (completion-setup-function): Avoid minibuffer-completion-contents.
14010
b54f978b
LL
140112013-05-03 Leo Liu <sdl.web@gmail.com>
14012
14013 * progmodes/octave.el (octave-font-lock-keywords): Do not
14014 dehighlight 'end' in comments or strings.
30c7e542
SM
14015 (octave-completing-read, octave-goto-function-definition):
14016 New helpers.
d4d0f9b3
LL
14017 (octave-help-buffer): New user variable.
14018 (octave-help-file, octave-help-function): New button types.
14019 (octave-help): New command and bind it to C-h ;.
14020 (octave-find-definition): New command and bind it to M-.
d74a1581 14021 (user-error): Alias to error if not defined.
b54f978b 14022
27135018
LL
140232013-05-02 Leo Liu <sdl.web@gmail.com>
14024
14025 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
14026 for \. (bug#14332)
14027 (octave-font-lock-keywords): Include [ and {.
14028
0d634d3a
LL
140292013-05-02 Leo Liu <sdl.web@gmail.com>
14030
14031 * progmodes/octave.el (inferior-octave-startup-file): Change default.
14032 (inferior-octave): Remove calling comint-mode and return the buffer.
14033 (inferior-octave-startup): Cosmetic changes.
14034
b4c8295e
LL
140352013-05-02 Leo Liu <sdl.web@gmail.com>
14036
30c7e542
SM
14037 * progmodes/octave.el (octave-syntax-propertize-function):
14038 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 14039
f12ad6ec
GM
140402013-05-02 Glenn Morris <rgm@gnu.org>
14041
14042 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
14043 * desktop.el (vc-dir-mode): Just autoload it here.
14044
30cac1e0
AM
140452013-05-02 Alan Mackenzie <acm@muc.de>
14046
14047 Eliminate variable c-standard-font-lock-fontify-region-function.
14048 * progmodes/cc-mode.el
14049 (c-standard-font-lock-fontify-region-function): Remove.
14050 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
14051
d8ef28b1
LL
140522013-05-01 Leo Liu <sdl.web@gmail.com>
14053
2640d52e 14054 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 14055 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 14056 variables were removed from Octave in 2007.
d8ef28b1
LL
14057 (inferior-octave-startup): Fix uses.
14058 (comint-line-beginning-position): Remove compatibility code for
14059 emacs 21.
14060
ac63ec89
JL
140612013-05-01 Juri Linkov <juri@jurta.org>
14062
14063 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
14064
9e9be37c
JL
140652013-05-01 Juri Linkov <juri@jurta.org>
14066
14067 * comint.el (comint-previous-matching-input): Don't print message
14068 "History item: %d" when `isearch-mode' is active.
14069 (comint-history-isearch-message): Print message "History item: %d"
14070 when `comint-input-ring-index' is not empty and this function is
14071 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
14072
9b92c13b
LL
140732013-05-01 Leo Liu <sdl.web@gmail.com>
14074
14075 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
14076 definitions. Use completion-at-point to insert keywords.
14077 (octave-abbrev-start): Remove.
14078 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
14079
b12d33d7
LL
140802013-04-30 Leo Liu <sdl.web@gmail.com>
14081
14082 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
14083 change.
14084
3d1c39fa
AM
140852013-04-30 Alan Mackenzie <acm@muc.de>
14086
14087 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
14088 * progmodes/cc-engine.el (c-back-over-member-initializers):
14089 new function.
3d1c39fa
AM
14090 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
14091 (most) member init lists.
14092
5147fc17
RS
140932013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14094
14095 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
14096 variable.
14097
5b78d7fc
LL
140982013-04-30 Leo Liu <sdl.web@gmail.com>
14099
14100 * progmodes/octave.el (octave-variables): Remove. No builtin
14101 variables any more. All converted to functions.
14102 (octave-font-lock-keywords, octave-completion-at-point-function):
14103 Fix uses.
14104 (octave-font-lock-texinfo-comment): New user variable.
14105 (octave-texinfo-font-lock-keywords): New variable for texinfo
14106 comment block.
14107 (octave-function-comment-block): New face.
14108 (octave-font-lock-texinfo-comment): New function.
14109 (octave-mode): Font lock texinfo comment block.
14110
38d8527b
LL
141112013-04-29 Leo Liu <sdl.web@gmail.com>
14112
14113 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
14114 indexing expression.
14115 (octave-continuation-string): Do not use \.
14116 (inferior-octave-complete-impossible): Remove.
14117 (inferior-octave-completion-table)
14118 (inferior-octave-completion-at-point): Remove its uses.
14119 (inferior-octave-startup): completion_matches was introduced to
14120 Octave in 1996 so safe to assume it.
14121 (octave-function-file-comment): Improve to follow how Octave does it.
14122 (octave-update-function-file-comment): Tweak.
14123
2ec12cb0
LL
141242013-04-29 Leo Liu <sdl.web@gmail.com>
14125
14126 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
14127 (inferior-octave-startup): Remove inferior-octave-startup-hook.
14128 (octave-function-file-comment): Fix typo.
14129 (octave-sync-function-file-names): Use read-char-choice.
14130
6eaed048
JB
141312013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
14132
14133 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
14134 to t for the less important warnings.
14135
3ffa2d4f
DH
141362013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
14137
14138 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
14139
685c9501
GM
141402013-04-27 Glenn Morris <rgm@gnu.org>
14141
14142 * vc/log-view.el (log-view-current-entry):
14143 Treat "---" separator lines as part of the following rev. (Bug#14169)
14144
0208ede7
JL
141452013-04-27 Juri Linkov <juri@jurta.org>
14146
14147 * subr.el (read-number): Doc fix about using it by interactive
14148 code letter `n'. (Bug#14254)
14149
5db9dace
JL
141502013-04-27 Juri Linkov <juri@jurta.org>
14151
14152 * desktop.el (desktop-auto-save-timeout): New option.
14153 (desktop-file-checksum): New variable.
14154 (desktop-save): Add optional arg `auto-save' and don't auto-save
14155 if nothing changed.
14156 (desktop-auto-save-timer): New variable.
14157 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
14158 (after-init-hook): Call `desktop-auto-save-set-timer'.
14159 Suggested by Reuben Thomas <rrt@sc3d.org> in
14160 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
14161
b7260dd4
LL
141622013-04-27 Leo Liu <sdl.web@gmail.com>
14163
14164 * progmodes/octave.el (octave-function-file-p)
14165 (octave-skip-comment-forward, octave-function-file-comment)
14166 (octave-update-function-file-comment): New functions.
14167 (octave-mode-map): Bind C-c ; to
14168 octave-update-function-file-comment.
14169 (octave-mode-menu): Add octave-update-function-file-comment.
14170 (octave-mode, inferior-octave-mode): Fix doc-string.
14171 (octave-insert-defun): Conform to Octave's coding convention.
14172 (Bug#14285)
14173
14174 * files.el (basic-save-buffer): Don't let errors in
14175 before-save-hook prevent saving buffer.
14176
c46da669
RW
141772013-04-20 Roland Winkler <winkler@gnu.org>
14178
14179 * faces.el (read-face-name): Use completing-read if arg multiple
14180 is nil.
14181
a81ee1eb
IL
141822013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
14183
14184 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
14185 displayed, move point to after the totals line.
14186 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
14187 for the details.
14188
4fac34ce
SM
141892013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
14190
14191 * emacs-lisp/package.el (package-autoload-ensure-default-file):
14192 Add current dir to the load-path.
14193 (package-generate-autoloads): Don't rely on
14194 autoload-ensure-default-file.
14195
f6bfc063
RT
141962013-04-26 Reuben Thomas <rrt@sc3d.org>
14197
d40ab5cf
BG
14198 * textmodes/remember.el (remember-store-in-files): Document that
14199 the file name format is passed to `format-time-string'.
f6bfc063 14200
e55d3b04
LL
142012013-04-26 Leo Liu <sdl.web@gmail.com>
14202
14203 * progmodes/octave.el (octave-sync-function-file-names): New function.
14204 (octave-mode): Use it in before-save-hook.
14205
e53052d3
SM
142062013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
14207
140ef50c
SM
14208 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
14209 (bug#14274).
14210
e53052d3
SM
14211 * progmodes/octave.el (octave-smie-forward-token): Properly skip
14212 \n and comment, even if it's not an implicit ; (bug#14218).
14213
af80458d 142142013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
14215
14216 * subr.el (read-number): Once more use `read' rather than
14217 `string-to-number', to trap non-numeric input. (Bug#14254)
14218
af80458d 142192013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
14220
14221 * emacs-lisp/syntax.el (syntax-propertize-multiline):
14222 Use `syntax-multiline' text property consistently instead of
8a621d53 14223 `font-lock-multiline'. (Bug#14237)
70203c2e 14224
e6ea1f6c
GM
142252013-04-26 Glenn Morris <rgm@gnu.org>
14226
14227 * emacs-lisp/shadow.el (list-load-path-shadows):
14228 No longer necessary to check for duplicate simple.el, since
14229 2012-07-07 change to init_lread to not include installation lisp
14230 directories in load-path when running uninstalled. (Bug#14270)
14231
070ccca4
LL
142322013-04-26 Leo Liu <sdl.web@gmail.com>
14233
14234 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
14235 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 14236 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
14237 octave-in-string-or-comment-p.
14238 (octave-in-comment-p, octave-in-string-p)
14239 (octave-in-string-or-comment-p): Replace defsubst with defun.
14240
9d1c5fb6
PE
142412013-04-25 Paul Eggert <eggert@cs.ucla.edu>
14242
14243 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
14244
c034abda
BG
142452013-04-25 Bastien Guerry <bzg@gnu.org>
14246
14247 * textmodes/remember.el (remember-data-directory)
14248 (remember-directory-file-name-format): Fix custom types.
14249
584ea277
LL
142502013-04-25 Leo Liu <sdl.web@gmail.com>
14251
e53052d3
SM
14252 * progmodes/octave.el (octave-completion-at-point-function):
14253 Make use of inferior octave process.
584ea277
LL
14254 (octave-initialize-completions): Remove.
14255 (inferior-octave-completion-table): New function.
14256 (inferior-octave-completion-at-point): Use it.
14257 (octave-completion-alist): Remove.
14258
1693b06a
SM
142592013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14260
14261 * progmodes/opascal.el: Use font-lock and syntax-propertize.
14262 (opascal-mode-syntax-table): New var.
14263 (opascal-literal-kind, opascal-is-literal-end)
14264 (opascal-literal-token-at): Rewrite.
14265 (opascal--literal-start-re, opascal-font-lock-keywords)
14266 (opascal--syntax-propertize): New constants.
14267 (opascal-font-lock-defaults): Adjust.
14268 (opascal-mode): Use them. Set comment-<foo> variables as well.
14269 (delphi-comment-face, opascal-comment-face, delphi-string-face)
14270 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
14271 (delphi-other-face, opascal-other-face): Remove face variables.
14272 (opascal-save-state): Remove macro.
14273 (opascal-fontifying-progress-step): Remove constant.
14274 (opascal--ignore-changes): Remove var.
14275 (opascal-set-token-property, opascal-parse-next-literal)
14276 (opascal-is-stable-literal, opascal-complete-literal)
14277 (opascal-is-literal-start, opascal-face-of)
14278 (opascal-parse-region, opascal-parse-region-until-stable)
14279 (opascal-fontify-region, opascal-after-change)
14280 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
14281 (opascal-debug-parse-region, opascal-debug-parse-window)
14282 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
14283 (opascal-debug-fontify-buffer): Remove.
14284 (opascal-debug-mode-map): Adjust accordingly.
14285
be64c05d
LL
142862013-04-25 Leo Liu <sdl.web@gmail.com>
14287
14288 Merge octave-mod.el and octave-inf.el into octave.el with some
14289 cleanups.
14290 * progmodes/octave.el: New file renamed from octave-mod.el.
14291 * progmodes/octave-inf.el: Merged into octave.el.
14292 * progmodes/octave-mod.el: Renamed to octave.el.
14293
d79d37bd
TH
142942013-04-25 Tassilo Horn <tsdh@gnu.org>
14295
14296 * textmodes/reftex-vars.el
14297 (reftex-label-ignored-macros-and-environments): New defcustom.
14298
14299 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
14300
ced3fc5d
SM
143012013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14302
14303 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
14304 (smie-indent-keyword): Improve the check to ensure that the next
14305 comment is really on the same line.
14306 (smie-indent-comment): Don't align with a subsequent closer (or eob).
14307
14308 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
14309 semi-colons if the line is not otherwise empty (bug#14218).
14310
1c141dad
GM
143112013-04-25 Glenn Morris <rgm@gnu.org>
14312
14313 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
14314
5058062a
SM
143152013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
14316
14317 * progmodes/opascal.el (opascal-set-token-property): Rename from
14318 opascal-set-text-properties and only set `token' (bug#14134).
14319 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
14320 (opascal-literal-text-properties): Remove.
14321 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
14322 Adjust callers.
14323
5db9dace 143242013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
14325
14326 * textmodes/remember.el (remember-handler-functions): Add an
14327 option for a new handler `remember-store-in-files'.
14328 (remember-data-directory, remember-directory-file-name-format):
14329 New options.
14330 (remember-store-in-files): New function to store remember notes
14331 as separate files within a directory.
14332
4391916c
MH
143332013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
14334
14335 * progmodes/compile.el (compilation-next-error-function):
14336 Pass "formats" to compilation-find-file (bug#11777).
14337
bb7cdf58
GM
143382013-04-24 Glenn Morris <rgm@gnu.org>
14339
3b8fe752 14340 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
14341 * vc/vc-hg.el (vc-hg-print-log):
14342 * vc/vc-svn.el (vc-svn-print-log):
14343 Fix START-REVISION with LIMIT != 1. (Bug#14168)
14344
bb7cdf58
GM
14345 * vc/vc-bzr.el (vc-bzr-print-log):
14346 * vc/vc-cvs.el (vc-cvs-print-log):
14347 * vc/vc-git.el (vc-git-print-log):
14348 * vc/vc-hg.el (vc-hg-print-log):
14349 * vc/vc-mtn.el (vc-mtn-print-log):
14350 * vc/vc-rcs.el (vc-rcs-print-log):
14351 * vc/vc-sccs.el (vc-sccs-print-log):
14352 * vc/vc-svn.el (vc-svn-print-log):
14353 * vc/vc.el (vc-print-log-internal): Doc fixes.
14354
b46a056e
GM
143552013-04-23 Glenn Morris <rgm@gnu.org>
14356
14357 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
14358 Remove venerable code attempting to avoid substitute-command-keys.
14359
0aecf718
TH
143602013-04-23 Tassilo Horn <tsdh@gnu.org>
14361
4391916c
MH
14362 * textmodes/reftex-vars.el (reftex-label-regexps):
14363 Call `reftex-compile-variables' after changes to this variable.
0aecf718 14364
117f94cf
SM
143652013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
14366
4391916c 14367 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
14368 Use lexical-binding.
14369 (jit-lock-force-redisplay): Use markers, check buffer's continued
14370 existence and beware narrowed buffers.
14371 (jit-lock-fontify-now): Adjust call accordingly.
14372
1d829c64
SM
143732013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
14374
14375 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
14376 to avoid misleading the user.
14377
72d548a9
LL
143782013-04-22 Leo Liu <sdl.web@gmail.com>
14379
14380 * info-look.el: Prefer latex2e.info. (Bug#14240)
14381
d0853629
MA
143822013-04-22 Michael Albinus <michael.albinus@gmx.de>
14383
14384 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
14385
14386 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 14387 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
14388 (tramp-set-completion-function, tramp-parse-putty):
14389 * net/tramp-adb.el (tramp-adb-execute-adb-command):
14390 * net/tramp-gvfs.el (tramp-gvfs-send-command):
14391 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
14392 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
14393 (tramp-call-local-coding-command): Use `tramp-call-process'
14394 instead of `tramp-compat-call-process'.
14395
14396 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
14397 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
35e951cd 14398 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
7764286e 14399 (tramp-find-inline-compress): Improve traces.
d0853629
MA
14400 (tramp-maybe-send-script): Check for Perl binary.
14401 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
14402
38cc0210
DU
144032013-04-22 Daiki Ueno <ueno@gnu.org>
14404
14405 * epg.el (epg-context-pinentry-mode): New function.
14406 (epg-context-set-pinentry-mode): New function.
14407 (epg--start): Pass --pinentry-mode option to gpg command.
14408
cc641ee1
XF
144092013-04-21 Xue Fuqiao <xfq.free@gmail.com>
14410
02d844b5 14411 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 14412 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 14413 `completion-at-point'. (Bug#13774)
5d4e5c31 14414
cc641ee1
XF
14415 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
14416 default key binding for `describe-distribution' has been moved to
14417 `C-h C-o'. (Bug#13970)
14418
1b42ee43
GM
144192013-04-21 Glenn Morris <rgm@gnu.org>
14420
14421 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
14422 Add doc strings.
14423 (vc-print-log): Clarify interactive prompt.
14424
a6d63d97
GM
144252013-04-20 Glenn Morris <rgm@gnu.org>
14426
14427 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
14428 No longer include timestamp etc information.
14429
d7f5c16f
RW
144302013-04-20 Roland Winkler <winkler@gnu.org>
14431
14432 * faces.el (read-face-name): Bug fix, return just one face if arg
14433 multiple is nil. (Bug#14209)
14434
bcd7a0a4
SM
144352013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14436
14437 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
14438 (remove-function): Autoload.
14439
14440 * comint.el (comint-redirect-original-filter-function): Remove.
14441 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
14442 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
14443 (vc-cvs-annotate-command):
bcd7a0a4
SM
14444 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
14445 * progmodes/prolog.el (prolog-consult-compile):
14446 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
14447 Use add/remove-function instead.
14448 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
14449 (gud-tooltip-process-output, gud-tooltip-tips):
14450 Use add/remove-function instead.
14451 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
14452 (scheme-interaction-mode, exit-scheme-interaction-mode):
14453 Use add/remove-function instead.
14454
14455 * vc/vc-dispatcher.el: Use lexical-binding.
14456 (vc--process-sentinel): Rename from vc-process-sentinel.
14457 Change last arg to be the code to run. Don't use vc-previous-sentinel
14458 and vc-sentinel-commands any more.
14459 (vc-exec-after): Allow code to be a function. Use add/remove-function.
14460 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
14461
e36b2d20 144622013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 14463
bcd7a0a4 14464 * progmodes/sh-script.el (sh-imenu-generic-expression):
27821a89 14465 Handle function names with a single character. (Bug#14111)
4d3268ba 14466
27821a89 144672013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
14468
14469 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
14470 for subroutines defined in an eval (bug#14182).
14471
7d688336
TV
144722013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14473
14474 * bookmark.el (bookmark-completing-read): Improve handling of empty
14475 string (bug#14176).
14476
31dcede0
SM
144772013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
14478
14479 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
14480
adc31213
FEG
144812013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
14482
14483 New faster Imenu implementation (bug#14058).
14484 * progmodes/python.el:
14485 (python-imenu-prev-index-position):
14486 (python-imenu-format-item-label-function)
14487 (python-imenu-format-parent-item-label-function)
14488 (python-imenu-format-parent-item-jump-label-function):
14489 New vars.
14490 (python-imenu-format-item-label)
14491 (python-imenu-format-parent-item-label)
14492 (python-imenu-format-parent-item-jump-label)
14493 (python-imenu--put-parent, python-imenu--build-tree)
14494 (python-imenu-create-index, python-imenu-create-flat-index)
14495 (python-util-popn): New functions.
14496 (python-mode): Set imenu-create-index-function to
14497 python-imenu-create-index.
14498
cdca8255
SM
144992013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
14500
14501 * winner.el (winner-active-region): Use region-active-p, activate-mark
14502 and deactivate-mark (bug#14225).
14503
14504 * simple.el (deactivate-mark): Don't inline it.
14505
beb42340
MA
145062013-04-18 Michael Albinus <michael.albinus@gmx.de>
14507
14508 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
14509
fc7f4d7e
TH
145102013-04-18 Tassilo Horn <tsdh@gnu.org>
14511
14512 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
14513 file extensions from the archive-mode entry in order to prefer
14514 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
14515
29f47822
LL
145162013-04-18 Leo Liu <sdl.web@gmail.com>
14517
14518 * bindings.el (help-event-list): Add ?\?.
14519
d36ed1c8
SM
145202013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
14521
14522 * subr.el (with-wrapper-hook): Declare obsolete.
14523 * simple.el (filter-buffer-substring-function): New hook.
14524 (filter-buffer-substring): Use it.
14525 (filter-buffer-substring-functions): Mark obsolete.
14526 * minibuffer.el (completion-in-region-function): New hook.
14527 (completion-in-region): Use it.
14528 (completion-in-region-functions): Mark obsolete.
14529 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
14530 * abbrev.el (abbrev-expand-function): New hook.
14531 (expand-abbrev): Use it.
14532 (abbrev-expand-functions): Mark obsolete.
14533 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
14534 and :filter-return.
14535
04754d36
FEG
145362013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
14537
14538 * progmodes/python.el (python-nav--syntactically): Fix cornercases
14539 and do not care about match data.
14540
dd8791e9
SM
145412013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
14542
14543 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
14544 completion tables when completing error conditions and
14545 `declare' arguments.
14546 (lisp-complete-symbol, field-complete): Mark as obsolete.
14547 (check-parens): Unmatched parens are user errors.
14548 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
14549
ffe54a13
AM
145502013-04-17 Michal Nazarewicz <mina86@mina86.com>
14551
dd8791e9
SM
14552 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
14553 command changed buffer (ie. `flyspell-pre-buffer' is not current
14554 buffer), which prevents making decisions based on invalid value of
14555 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
14556 cause an error when `flyspell-pre-point' was nil after switching
14557 buffers.
14558 (flyspell-post-command-hook): No longer needs to change buffers when
14559 checking pre-word. While at it remove unnecessary progn.
ffe54a13 14560
ec7e39f2
AM
145612013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
14562
14563 * textmodes/ispell.el (ispell-add-per-file-word-list):
14564 Fix `flyspell-correct-word-before-point' error when accepting
14565 words and `coment-padding' is an integer by using
14566 `comment-normalize-vars' (Bug #14214).
14567
083850a6
FEG
145682013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
14569
14570 New defun movement commands.
14571 * progmodes/python.el (python-nav--syntactically)
14572 (python-nav--forward-defun, python-nav-backward-defun)
14573 (python-nav-forward-defun): New functions.
14574
619ed6e1
FEG
145752013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
14576
14577 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
14578 (python-syntax-context): Use named compiler-macro for backwards
14579 compatibility with Emacs 24.x.
14580
7a1beb6c
LL
145812013-04-17 Leo Liu <sdl.web@gmail.com>
14582
14583 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
14584 octave-hide-process-buffer.
14585
2d3fa3e5
SM
145862013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
14587
14588 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
14589 (bug#14216).
14590
7ce5be54
JPG
145912013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
14592
14593 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
14594 Fix adjustment of offset when receiving incomplete responses from GDB
14595 (bug#14129).
14596
351edece
SM
145972013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
14598
14599 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
14600 python-mode-abbrev-table.
14601 (python-skeleton-define): Adjust accordingly.
14602 (python-mode-abbrev-table): New table that inherits from it so that
14603 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
14604
14605 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
14606 (abbrev-symbol): Use it.
14607 (abbrev--before-point): Use it since we already handle inheritance.
14608
613f9481
LL
146092013-04-16 Leo Liu <sdl.web@gmail.com>
14610
14611 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
14612 binding to info-lookup-symbol.
14613
51646b62
JB
146142013-04-16 Juanma Barranquero <lekktu@gmail.com>
14615
14616 * minibuffer.el (completion--twq-all):
14617 * term/ns-win.el (ns-initialize-window-system):
14618 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
14619
efb3f01d
SM
146202013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
14621
36c0a301
SM
14622 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
14623 global bindings.
14624
efb3f01d
SM
14625 * doc-view.el (doc-view-start-process): Handle url-handler directories.
14626
fb549d64
DG
146272013-04-15 Dmitry Gutov <dgutov@yandex.ru>
14628
14629 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
14630 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
14631 to nil.
14632 (ruby-end-of-defun): Remove the unused arg, change the docstring
14633 to reflect that this function is only used as the value of
14634 `end-of-defun-function'.
14635 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
14636 to reflect an earlier change that beginning/end-of-defun functions
14637 jump between methods in a class definition, as well as top-level
14638 functions.
14639
21e8fe2f
SM
146402013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14641
14642 * minibuffer.el (minibuffer-complete): Don't just scroll
14643 a *Completions* that's been iconified.
14644 (minibuffer-force-complete): Make sure repetitions do cycle when going
14645 through completion-in-region -> minibuffer-complete.
14646
20e527d0
AM
146472013-04-15 Alan Mackenzie <acm@muc.de>
14648
14649 Correct the placement of c-cpp-delimiters when there're #s not at
14650 col 0.
14651
14652 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
14653 place a submatch around the #.
21e8fe2f
SM
14654 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
14655 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
14656 on the #, not BOL.
14657
dabefae5
SM
146582013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14659
14660 * emacs-lisp/nadvice.el: Properly test names when adding advice.
14661 (advice--member-p): New arg `name'.
14662 (advice--add-function, advice-member-p): Use it (bug#14202).
14663
85c9ab64
AM
146642013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
14665
14666 Reformulate java imenu-generic-expression.
14667 The old expression contained ill formed regexps.
14668
14669 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
14670 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
14671 (cc-imenu-java-method-arg-regexp): New defconsts.
14672 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 14673 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
14674 handling of spaces in the regexp.
14675
0f821d99
AM
146762013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14677
14678 * textmodes/ispell.el (ispell-command-loop): Remove
14679 flyspell highlight of a word when ispell accepts it (bug #14178).
14680
eb922adf
MA
146812013-04-15 Michael Albinus <michael.albinus@gmx.de>
14682
14683 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
14684 uses code from the previous `ange-ftp-run-real-handler'.
14685 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
14686 only in case that function exist. This is needed for proper
14687 unloading of Tramp.
14688
4d9a0979
TH
146892013-04-15 Tassilo Horn <tsdh@gnu.org>
14690
14691 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
14692
14693 * textmodes/reftex.el (reftex-compile-variables): Use it.
14694
a829b0dc
SM
146952013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14696
91e8293c
SM
14697 * files.el (normal-mode): Only use default major-mode if no other mode
14698 was specified.
14699
830aed4d
SM
14700 * emacs-lisp/trace.el (trace-values): New function.
14701
a829b0dc
SM
14702 * files.el: Allow : in local variables (bug#14089).
14703 (hack-local-variable-regexp): New var.
14704 (hack-local-variables-prop-line, hack-local-variables): Use it.
14705
7ae9f0fb
RW
147062013-04-13 Roland Winkler <winkler@gnu.org>
14707
14708 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
14709 data before it gets modified by bibtex-beginning-of-entry.
14710
6646e848
RW
147112013-04-13 Roland Winkler <winkler@gnu.org>
14712
14713 * textmodes/bibtex.el (bibtex-url): Doc fix.
14714
147152013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
14716
14717 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
14718 does not visit a BibTeX file, exclude it from the list of buffers
14719 returned by bibtex-initialize.
14720
0aa3616e
SB
147212013-04-13 Stephen Berman <stephen.berman@gmx.net>
14722
14723 * window.el (split-window): Remove interactive form, since as a
14724 command this function is a special case of split-window-below.
14725 Correct doc string.
14726
011cddd6
RW
147272013-04-12 Roland Winkler <winkler@gnu.org>
14728
14729 * faces.el (read-face-name): Do not override value of arg default.
14730 Allow single faces and strings as default values. Remove those
14731 elements from return value that are not faces.
14732 (describe-face): Simplify.
14733 (face-at-point): New optional args thing and multiple so that this
14734 function can provide the same functionality previously provided by
14735 read-face-name.
14736 (make-face-bold, make-face-unbold, make-face-italic)
14737 (make-face-unitalic, make-face-bold-italic, invert-face)
14738 (modify-face, read-face-and-attribute): Use face-at-point.
14739
14740 * cus-edit.el (customize-face, customize-face-other-window)
14741 * cus-theme.el (custom-theme-add-face)
14742 * face-remap.el (buffer-face-set)
14743 * facemenu.el (facemenu-set-face): Use face-at-point.
14744
f24e0036
MA
147452013-04-12 Michael Albinus <michael.albinus@gmx.de>
14746
14747 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
14748
da3cda2d
TH
147492013-04-10 Tassilo Horn <tsdh@gnu.org>
14750
14751 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
14752 off leading { and trailing } from field values.
14753
15e54145
SM
147542013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
14755
78ce603d
SM
14756 * emacs-lisp/timer.el (timer--check): New function.
14757 (timer--time, timer-set-function, timer-event-handler): Use it.
14758 (timer-set-idle-time): Simplify.
14759 (timer--activate): CSE.
14760 (timer-event-handler): Give more info in error message.
14761 (internal-timer-start-idle): New function, moved from C.
14762
15e54145
SM
14763 * mpc.el (mpc-proc): Add `restart' argument.
14764 (mpc-proc-cmd): Use it.
14765 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
14766 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
14767 less often.
14768
7144c627
MY
147692013-04-10 Masatake YAMATO <yamato@redhat.com>
14770
14771 * progmodes/sh-script.el: Implement `sh-mode' own
14772 `add-log-current-defun-function' (bug#14112).
14773 (sh-current-defun-name): New function.
14774 (sh-mode): Use the function.
14775
b39792eb
BG
147762013-04-09 Bastien Guerry <bzg@gnu.org>
14777
14778 * simple.el (choose-completion-string): Fix docstring (bug#14163).
14779
8acdeb71
SM
147802013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
14781
6fcdab68
SM
14782 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
14783
8acdeb71
SM
14784 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
14785 timer (bug#14156).
14786
e3e7b504
NF
147872013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
14788
14789 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
14790 declaration.
14791
201bb296
LL
147922013-04-07 Leo Liu <sdl.web@gmail.com>
14793
14794 * pcmpl-x.el: New file.
14795
ebb19708
DA
147962013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
14797
14798 Do not set x-display-name until X connection is established.
14799 This is needed to prevent from weird situation described at
14800 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
14801 * frame.el (make-frame): Set x-display-name after call to
14802 window system initialization function, not before.
14803 * term/x-win.el (x-initialize-window-system): Add optional
14804 display argument and use it.
14805 * term/w32-win.el (w32-initialize-window-system):
14806 * term/ns-win.el (ns-initialize-window-system):
14807 * term/pc-win.el (msdos-initialize-window-system):
14808 Add compatible optional display argument.
14809
33bb237a
EZ
148102013-04-06 Eli Zaretskii <eliz@gnu.org>
14811
14812 * files.el (normal-backup-enable-predicate): On MS-Windows and
14813 MS-DOS compare truenames of temporary-file-directory and of the
14814 file, so that 8+3 aliases (usually found in $TEMP on Windows)
14815 don't fail comparison by compare-strings. Also, compare file
14816 names case-insensitively on MS-Windows and MS-DOS.
14817
134abf1f
SM
148182013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
14819
14820 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
14821 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
14822
d695cb94
DG
148232013-04-05 Dmitry Gutov <dgutov@yandex.ru>
14824
e3e7b504
NF
14825 * whitespace.el (whitespace-color-on, whitespace-color-off):
14826 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 14827
f4ad7ea1 148282013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
14829
14830 * ispell.el (ispell-set-spellchecker-params):
14831 Really set `ispell-args' for all equivs.
14832
632556e4
SM
148332013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
14834
14835 * ido.el (ido-completions): Use extra elements of ido-decorations
14836 (bug#14143).
14837 (ido-decorations): Update docstring.
14838
2a417372
MA
148392013-04-05 Michael Albinus <michael.albinus@gmx.de>
14840
14841 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
14842 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
14843 nil during initialization, in order not to miss changes since the
14844 file was opened. (Bug#14140)
14845
fc164b0c
LL
148462013-04-05 Leo Liu <sdl.web@gmail.com>
14847
14848 * kmacro.el (kmacro-call-macro): Fix bug#14135.
14849
0ccecc08
JB
148502013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
14851
14852 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
14853
51af1aa2
GM
148542013-04-04 Glenn Morris <rgm@gnu.org>
14855
14856 * electric.el (electric-pair-inhibit-predicate): Add :version.
14857
b208ebc6
SM
148582013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
14859
14860 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
14861 when a package is required several times (bug#14082).
14862
f3d3eaf0
RW
148632013-04-04 Roland Winkler <winkler@gnu.org>
14864
14865 * faces.el (read-face-name): Behave as promised by the docstring.
14866 Assume that arg default is a list of faces.
14867 (describe-face): Call read-face-name with list of default faces.
14868
2575da50
TV
148692013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14870
14871 * bookmark.el: Fix deletion of bookmarks (bug#13972).
14872 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
14873 (bookmark-bmenu-execute-deletions): Only skip first line if it's
14874 the header.
14875 (bookmark-exit-hook-internal): Save even if list is empty.
14876
397703b4
YH
148772013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
14878
14879 * emacs-lisp/package.el (package-pinned-packages): New var.
14880 (package--add-to-archive-contents): Obey it (bug#14118).
14881
691e26ae
AM
148822013-04-03 Alan Mackenzie <acm@muc.de>
14883
8a621d53
JB
14884 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
14885 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
14886
14887 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
14888 parameter `not-in-delimiter'. Handle being inside comment opener.
14889 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
14890 character in case we're typing a '*' after a '/'.
14891 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
14892 instead by passing the parameter to c-state-pp-to-literal.
14893
14894 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
14895 for elt. 7 of a parse state.
14896
4b725a70
PE
148972013-04-01 Paul Eggert <eggert@cs.ucla.edu>
14898
14899 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
14900 * international/latin1-disp.el, international/mule-util.el:
14901 * language/cyril-util.el, language/european.el, language/ind-util.el:
14902 * language/lao-util.el, language/thai.el, language/tibet-util.el:
14903 * language/tibetan.el, language/viet-util.el:
14904 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
14905
15c579f0
SM
149062013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
14907
14908 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
14909 (electric-pair-post-self-insert-function): Use it.
14910 (electric-pair-default-inhibit): New function, extracted from
14911 electric-pair-post-self-insert-function.
14912
a77e2924
RW
149132013-03-31 Roland Winkler <winkler@gnu.org>
14914
14915 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
14916
2bd8a4a8
SM
149172013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
14918
14919 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
14920
8d3655be 149212013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
14922
14923 Un-indent after "pass" and "return" statements (Bug#13888)
14924 * progmodes/python.el (python-indent-block-enders): New var.
14925 (python-indent-calculate-indentation): Use it.
14926
8d3655be 149272013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
14928
14929 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
14930 defun. Defining it as defalias could introduce too eager
14931 byte-compiler optimization. (Bug#14030)
14932
8d3655be 149332013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
14934
14935 * iswitchb.el (iswitchb-read-buffer): Fix typo.
14936
0b1619da
LL
149372013-03-30 Leo Liu <sdl.web@gmail.com>
14938
14939 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
14940 (kmacro-execute-from-register): Pass the keyboard macro to
14941 kmacro-call-macro or repeating won't work correctly.
14942
0b938190
TZ
149432013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
14944
14945 * progmodes/subword.el: Back to using `forward-symbol'.
14946
14947 * subr.el (forward-whitespace, forward-symbol)
14948 (forward-same-syntax): Move from thingatpt.el.
14949
35710234
LL
149502013-03-29 Leo Liu <sdl.web@gmail.com>
14951
14952 * kmacro.el (kmacro-to-register): New command.
14953 (kmacro-execute-from-register): New function.
14954 (kmacro-keymap): Bind to 'x'. (Bug#14071)
14955
efc0bb73
SM
149562013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
14957
14958 * mpc.el: Use defvar-local and setq-local.
14959 (mpc--proc-connect): Connection failures are not bugs.
14960 (mpc-mode-map): `follow-link' only applies to the buffer's content.
14961 (mpc-volume-map): Bind to the up-events.
14962
75a2f981
TZ
149632013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
14964
14965 * progmodes/subword.el (superword-mode): Use `forward-sexp'
14966 instead of `forward-symbol'.
14967
17c781d1
SM
149682013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
14969
14970 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
14971 (edebug--recursive-edit): Use it.
14972 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
14973 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
14974
f67bfbcf
LL
149752013-03-28 Leo Liu <sdl.web@gmail.com>
14976
14977 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
14978
b59f639d
EZ
149792013-03-27 Eli Zaretskii <eliz@gnu.org>
14980
14981 * facemenu.el (list-colors-callback): New defvar.
14982 (list-colors-redisplay): New function.
14983 (list-colors-display): Install list-colors-redisplay as the
14984 revert-buffer-function. (Bug#14063)
14985
f557c1b1
SM
149862013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
14987
b1da2957
SM
14988 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
14989 and suffixes don't overlap (bug#14061).
14990
f557c1b1
SM
14991 * case-table.el: Use lexical-binding.
14992 (case-table-get-table): New function.
14993 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
14994
002668e1
TZ
149952013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
14996
14997 * progmodes/subword.el: Add `superword-mode' to do word motion
14998 over symbol_words (parallels and leverages `subword-mode' which
14999 does word motion inside MixedCaseWords).
15000
73572c72
AG
150012013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
15002
78b8f320 15003 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 15004 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 15005
69b2c07e
SM
150062013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15007
15008 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
15009 Change return value to be a sexp. Delay `get-buffer' to after
15010 restoring the desktop (bug#13951).
15011
08bb5ee2
LL
150122013-03-26 Leo Liu <sdl.web@gmail.com>
15013
15014 * register.el: Move semantic tag handling back to
15015 cedet/semantic/senator.el. (Bug#14052)
15016
8d4c974e
SM
150172013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15018
15019 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
15020 into the prompt either (bug#13963).
15021
b234d92c
SM
150222013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
15023
15024 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
15025 part of "(error-foo)".
15026
ddfa3cb4
JL
150272013-03-24 Juri Linkov <juri@jurta.org>
15028
15029 * replace.el (list-matching-lines-prefix-face): New defcustom.
15030 (occur-1): Pass `list-matching-lines-prefix-face' to the function
15031 `occur-engine' if `face-differs-from-default-p' returns t.
15032 (occur-engine): Add `,' inside backquote construct to evaluate
15033 `prefix-face'. Propertize the prefix with the `prefix-face' face.
15034 Pass `prefix-face' to the functions `occur-context-lines' and
15035 `occur-engine-add-prefix'.
15036 (occur-engine-add-prefix, occur-context-lines): Add optional arg
15037 `prefix-face' and propertize the prefix with `prefix-face'.
15038 (Bug#14017)
15039
7b0e2f85
LL
150402013-03-24 Leo Liu <sdl.web@gmail.com>
15041
15042 * nxml/rng-valid.el (rng-validate-while-idle)
15043 (rng-validate-quick-while-idle): Guard against deleted buffer.
15044 (Bug#13999)
15045
15046 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
15047 is the last entry in kill-buffer-hook.
15048
15049 * files.el (kill-buffer-hook): Doc fix.
15050
b3082f49
DG
150512013-03-23 Dmitry Gutov <dgutov@yandex.ru>
15052
b234d92c
SM
15053 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
15054 Make it safe-local.
bde73d27 15055
b3082f49
DG
15056 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
15057
a320a2db
LL
150582013-03-23 Leo Liu <sdl.web@gmail.com>
15059
7e74b0fb
LL
15060 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
15061 Remove.
15062
15063 * nxml/rng-valid.el (rng-validate-mode)
15064 (rng-after-change-function, rng-do-some-validation):
15065 * nxml/rng-maint.el (rng-validate-buffer):
15066 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
15067 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
15068 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
15069 (nxml-extend-after-change-region): Use with-silent-modifications.
15070
a320a2db
LL
15071 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
15072 timer-idle-list.
15073
15074 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
15075 (rng-next-error-1, rng-previous-error-1): Do not let-bind
15076 timer-idle-list. (Bug#13999)
15077
e38e6780
JL
150782013-03-23 Juri Linkov <juri@jurta.org>
15079
15080 * info.el (info-index-match): New face.
15081 (Info-index, Info-apropos-matches): Add a nested subgroup to the
15082 main pattern and add text properties with the new face to matches
15083 in index entries relative to the beginning of the index entry.
15084 (Bug#14015)
15085
e8cc7880
DE
150862013-03-21 Eric Ludlam <zappo@gnu.org>
15087
39c87140 15088 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
e8cc7880
DE
15089 Inhibit read only while inserting objects.
15090
9bb0d822
TZ
150912013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
15092
15093 * progmodes/cfengine.el: Update docs to mention
15094 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
15095 symbol motion. Remove "_" from the word syntax.
15096
aa703640
TZ
150972013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
15098
15099 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
15100 syntax for both `cfengine2-mode' and `cfengine3-mode'.
15101
afff09d0
JL
151022013-03-20 Juri Linkov <juri@jurta.org>
15103
15104 * info.el (Info-next-reference-or-link)
15105 (Info-prev-reference-or-link): New functions.
15106 (Info-next-reference, Info-prev-reference): Use them.
15107 (Info-try-follow-nearest-node): Handle footnote navigation.
15108 (Info-fontify-node): Fontify footnotes. (Bug#13989)
15109
9a1ff164
SM
151102013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
15111
15112 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
15113 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
15114
2667d15d
PE
151152013-03-20 Paul Eggert <eggert@cs.ucla.edu>
15116
15117 Suppress unnecessary non-ASCII chatter during build process.
15118 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
15119 (batch-skkdic-convert): Suppress most of the chatter.
15120 It's not needed so much now that machines are faster,
15121 and its non-ASCII component was confusing; see Dmitry Gutov in
15122 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
15123
438b0579
LL
151242013-03-20 Leo Liu <sdl.web@gmail.com>
15125
15126 * ido.el (ido-chop): Fix bug#10994.
15127
c128ab07
DG
151282013-03-19 Dmitry Gutov <dgutov@yandex.ru>
15129
15130 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
15131 Remove vars.
9a1ff164
SM
15132 (whitespace-color-on, whitespace-color-off):
15133 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 15134
0e6008c5
SM
151352013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
15136
15137 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
15138 remapping in mode-line.
15139 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
15140
627b52b0
DG
151412013-03-19 Dmitry Gutov <dgutov@yandex.ru>
15142
15143 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
15144 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
15145 (whitespace-font-lock-keywords): Change description.
15146 (whitespace-color-on): Don't save `font-lock-keywords' value, save
15147 the constructed keywords instead.
15148 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 15149
50c3a20b
LL
151502013-03-19 Leo Liu <sdl.web@gmail.com>
15151
15152 * progmodes/compile.el (compilation-display-error): New command.
15153 (compilation-mode-map, compilation-minor-mode-map): Bind it to
15154 C-o. (Bug#13992)
15155
2aa2157b
PE
151562013-03-18 Paul Eggert <eggert@cs.ucla.edu>
15157
15158 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
15159
e477dbfa
JD
151602013-03-18 Jan Djärv <jan.h.d@swipnet.se>
15161
15162 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
15163
64ab82d1
MA
151642013-03-18 Michael Albinus <michael.albinus@gmx.de>
15165
15166 * net/tramp-compat.el (tramp-compat-user-error): New defun.
15167
15168 * net/tramp-adb.el (tramp-adb-handle-shell-command):
15169 * net/tramp-gvfs.el (top):
15170 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
15171 (tramp-handle-shell-command): Use it.
15172 (tramp-dissect-file-name): Raise an error when hostname is a
15173 method name, and neither method nor user is specified.
15174
15175 * net/trampver.el: Update release number.
15176
33cef733
LL
151772013-03-18 Leo Liu <sdl.web@gmail.com>
15178
15179 Make sure eldoc can be turned off properly.
15180 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
15181 eldoc-mode.
15182 (eldoc-display-message-p): Revert last change.
15183 (eldoc-display-message-no-interference-p)
15184 (eldoc-print-current-symbol-info): Tweak.
15185
2167b7b2
TH
151862013-03-18 Tassilo Horn <tsdh@gnu.org>
15187
15188 * doc-view.el (doc-view-new-window-function): Check the new window
15189 overlay's display property instead the char property of the
15190 buffer's first char. Use `with-selected-window' instead of
15191 `save-window-excursion' with `select-window'.
15192 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 15193 display property instead the char property of the buffer's first char.
2167b7b2 15194
982efbcd
PE
151952013-03-18 Paul Eggert <eggert@cs.ucla.edu>
15196
15197 Automate the build of ja-dic.el (Bug#13984).
15198 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
15199 from the input, rather than assume that it's been done for us by the
15200 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
15201 the current date into a ja-dic.el comment, as that complicates
15202 regression testing.
15203
2fcc7665
SM
152042013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
15205
15206 * whitespace.el: Fix double evaluation.
15207 (whitespace-space, whitespace-hspace, whitespace-tab)
15208 (whitespace-newline, whitespace-trailing, whitespace-line)
15209 (whitespace-space-before-tab, whitespace-indentation)
15210 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
15211 obsolete defvars.
15212 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
15213 (whitespace-color-on): Use a single font-lock-add-keywords call.
15214 Fix double-evaluation of face variables.
15215
67c0a6e6
MA
152162013-03-17 Michael Albinus <michael.albinus@gmx.de>
15217
2fcc7665
SM
15218 * net/tramp-adb.el (tramp-adb-parse-device-names):
15219 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 15220 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 15221
69489f1d
LL
152222013-03-17 Leo Liu <sdl.web@gmail.com>
15223
15224 Extend eldoc to display info in the mode-line. (Bug#13978)
15225 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
15226 (eldoc-mode-line-string): New variable.
15227 (eldoc-minibuffer-message): New function.
15228 (eldoc-message-function): New variable.
15229 (eldoc-message): Use it.
15230 (eldoc-display-message-p)
2fcc7665
SM
15231 (eldoc-display-message-no-interference-p):
15232 Support eldoc-post-insert-mode.
69489f1d
LL
15233
15234 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
15235 (eval-expression): Run it.
15236
9c44569e
RW
152372013-03-17 Roland Winkler <winkler@gnu.org>
15238
15239 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
15240 strings in the list of return values.
15241
327f1f6f
JB
152422013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
15243
15244 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
15245 radix before checking for HMS forms.
15246
67ed8fcd
LL
152472013-03-16 Leo Liu <sdl.web@gmail.com>
15248
15249 * progmodes/scheme.el: Add indentation and font-locking for λ.
15250 (Bug#13975)
15251
78be8b64 152522013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
15253
15254 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
15255 token before point (bug#13942).
15256
78be8b64 152572013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 15258
95b43468 15259 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 15260
98e775e6
EZ
152612013-03-16 Eli Zaretskii <eliz@gnu.org>
15262
15263 * startup.el (command-line-normalize-file-name): Fix handling of
15264 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
15265 <xfq.free@gmail.com> in
15266 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
15267
2edd6029
MA
152682013-03-15 Michael Albinus <michael.albinus@gmx.de>
15269
15270 Sync with Tramp 2.2.7.
15271
15272 * net/trampver.el: Update release number.
15273
d35f5864
TH
152742013-03-14 Tassilo Horn <tsdh@gnu.org>
15275
e903c210 15276 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
15277 (doc-view-insert-image): Don't modify overlay associated to
15278 non-live windows, and implement horizontal centering of image in
15279 case it's smaller than the window.
15280 (doc-view-new-window-function): Force redisplay of new windows on
15281 doc-view buffers.
d35f5864 15282
1c4a85ed
KF
152832013-03-13 Karl Fogel <kfogel@red-bean.com>
15284
15285 * saveplace.el (save-place-alist-to-file): Don't sort
15286 `save-place-alist', just pretty-print it (bug#13882).
15287
85b66a21
MA
152882013-03-13 Michael Albinus <michael.albinus@gmx.de>
15289
a020afb9
JB
15290 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
15291 Check whether `default-file-name-coding-system' is bound.
15292 It isn't in XEmacs.
85b66a21 15293
175600da
SM
152942013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
15295
e7f7cb1a
SM
15296 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
15297 backquotes for `obsolete' (bug#13929).
15298
175600da
SM
15299 * international/mule.el (find-auto-coding): Include file name in
15300 obsolescence warning (bug#13922).
15301
ca68a22e
TZ
153022013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
15303
15304 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
15305 for CFEngine 3-specific indentation.
15306 (cfengine3-indent-line): Use it. Fix up category regex.
15307 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
15308
940e5099
SM
153092013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15310
15311 * type-break.el (type-break-file-name):
15312 * textmodes/remember.el (remember-data-file):
15313 * strokes.el (strokes-file):
15314 * shadowfile.el (shadow-initialize):
15315 * saveplace.el (save-place-file):
15316 * ps-bdf.el (bdf-cache-file):
15317 * progmodes/idlwave.el (idlwave-config-directory):
15318 * net/quickurl.el (quickurl-url-file):
15319 * international/kkc.el (kkc-init-file-name):
15320 * ido.el (ido-save-directory-list-file):
15321 * emulation/viper.el (viper-custom-file-name):
15322 * emulation/vip.el (vip-startup-file):
15323 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
15324 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
15325
cc725808
PE
153262013-03-12 Paul Eggert <eggert@cs.ucla.edu>
15327
15328 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
15329 * language/thai-word.el: Switch to UTF-8.
15330
a020afb9 15331See ChangeLog.16 for earlier changes.
e3d51b27
MR
15332
15333;; Local Variables:
15334;; coding: utf-8
e3d51b27
MR
15335;; End:
15336
ba318903 15337 Copyright (C) 2011-2014 Free Software Foundation, Inc.
e3d51b27
MR
15338
15339 This file is part of GNU Emacs.
15340
15341 GNU Emacs is free software: you can redistribute it and/or modify
15342 it under the terms of the GNU General Public License as published by
15343 the Free Software Foundation, either version 3 of the License, or
15344 (at your option) any later version.
15345
15346 GNU Emacs is distributed in the hope that it will be useful,
15347 but WITHOUT ANY WARRANTY; without even the implied warranty of
15348 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15349 GNU General Public License for more details.
15350
15351 You should have received a copy of the GNU General Public License
15352 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.