]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
* vc/vc-git.el (vc-git-checkin): When operating on the whole tree
[gnu-emacs] / lisp / ChangeLog
1 2014-06-29 Andreas Schwab <schwab@linux-m68k.org>
2
3 * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
4 pass "-a".
5
6 2014-06-29 Glenn Morris <rgm@gnu.org>
7
8 * cus-edit.el (help):
9 * finder.el (finder-known-keywords):
10 * help.el (help-for-help-internal):
11 * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
12 (ediff-redraw-registry-buffer):
13 * vc/ediff-ptch.el (ediff-patch-file-internal):
14 Doc fixes re "online" help. (Bug#17803)
15
16 * progmodes/idlwave.el (idlwave): Update url-link for custom group.
17 (idlwave-mode): Doc URL update.
18
19 2014-06-27 Stephen Berman <stephen.berman@gmx.net>
20
21 * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
22 account for file-wide setting of todo-top-priorities-overrides.
23 Make code a bit cleaner.
24
25 2014-06-27 Leo Liu <sdl.web@gmail.com>
26
27 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
28
29 2014-06-27 Glenn Morris <rgm@gnu.org>
30
31 * net/eww.el (eww-mode) <eww-current-title>: Make local. (Bug#17860)
32
33 2014-06-26 Stephen Berman <stephen.berman@gmx.net>
34
35 * calendar/todo-mode.el (todo-prefix-overlays): If there is no
36 category-wide setting of todo-top-priorities-overrides, check for
37 a file-wide setting and fontify accordingly.
38
39 2014-06-26 Glenn Morris <rgm@gnu.org>
40
41 * subr.el (read-passwd): Warn about batch mode. (Bug#17839)
42
43 2014-06-26 Daiki Ueno <ueno@gnu.org>
44
45 * emacs-lisp/package.el (package--check-signature):
46 If package-check-signature is allow-unsigned, don't signal error when
47 we can't verify signature because of missing public key
48 (backport for bug#17625).
49
50 2014-06-26 Glenn Morris <rgm@gnu.org>
51
52 * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
53 Remove outdated declaration.
54
55 * emacs-lisp/authors.el (authors-valid-file-names)
56 (authors-renamed-files-alist): Additions.
57
58 2014-06-25 Leo Liu <sdl.web@gmail.com>
59
60 * textmodes/picture.el (picture-set-tab-stops):
61 * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
62 (ruler-mode-ruler): Fix to work with nil tab-stop-list.
63
64 * progmodes/asm-mode.el (asm-calculate-indentation):
65 Use indent-next-tab-stop.
66
67 * indent.el (indent-accumulate-tab-stops): New function.
68
69 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
70
71 * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
72 (package-desc-status): Obey it.
73
74 2014-06-25 Stephen Berman <stephen.berman@gmx.net>
75
76 * calendar/todo-mode.el: Fix two bugs.
77 (todo-insert-item--basic): If user cancels item insertion to
78 another category before setting priority, show original category
79 whether it is in the same or a different file.
80 (todo-set-item-priority): After selecting category, instead of
81 moving point to top, which extends an active region, restore it.
82
83 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
84
85 * help-fns.el (describe-function-1): Check file-name is a string before
86 calling help-fns--autoloaded-p (bug#17564).
87
88 2014-06-24 Juri Linkov <juri@jurta.org>
89
90 * desktop.el (desktop-auto-save-enable)
91 (desktop-auto-save-disable): New functions.
92 (desktop-save-mode, desktop-auto-save-timeout): Use them.
93 (desktop-read): Disable the autosave before loading the desktop,
94 and enable afterwards. (Bug#17351)
95
96 2014-06-24 Stefan Monnier <monnier@iro.umontreal.ca>
97
98 Fix some indentation problem with \; and pipes (bug#17842).
99 * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
100 (sh-smie--default-forward-token, sh-smie--default-backward-token):
101 New functions.
102 (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
103 (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
104 (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
105
106 2014-06-24 Eli Zaretskii <eliz@gnu.org>
107
108 * international/fontset.el (script-representative-chars):
109 Add representative characters for scripts added in Unicode 7.0.
110 (otf-script-alist): Synchronize with the latest registry of OTF
111 script tags.
112
113 * international/characters.el (char-script-table): Update for
114 scripts added and codepoint ranges changed in Unicode 7.0.
115
116 2014-06-23 Leo Liu <sdl.web@gmail.com>
117
118 * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
119 tab-stop-list to nil. (Bug#16381)
120
121 * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
122 (indent-rigidly-left-to-tab-stop)
123 (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
124 (move-to-tab-stop): Change callers.
125
126 2014-06-22 Eli Zaretskii <eliz@gnu.org>
127
128 * skeleton.el (skeleton-insert): Yet another fix of the doc string
129 wrt behavior of \n as the first/last element of a skeleton.
130
131 2014-06-22 Michael Albinus <michael.albinus@gmx.de>
132
133 * net/tramp-adb.el (tramp-adb-handle-process-file):
134 * net/tramp-sh.el (tramp-sh-handle-process-file):
135 * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
136 the output buffer when DISPLAY is non-nil. (Bug#17815)
137
138 2014-06-21 Glenn Morris <rgm@gnu.org>
139
140 * play/landmark.el (landmark-move-down, landmark-move-up):
141 Fix 2007-10-20 change - preserve horizontal position.
142
143 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
144
145 Fix completion retrieval parsing (bug#17209).
146 * progmodes/python.el (python-mode):
147 (python-util-strip-string): New function.
148 (python-shell-completion-get-completions): Use it.
149
150 2014-06-21 Eli Zaretskii <eliz@gnu.org>
151
152 * skeleton.el (skeleton-insert): Fix last change.
153
154 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
155
156 Enhancements for outline integration (bug#17796).
157 * progmodes/python.el (python-mode): Properly set
158 outline-heading-end-regexp so that comments after colons for
159 defuns are supported.
160
161 2014-06-21 Eli Zaretskii <eliz@gnu.org>
162
163 * skeleton.el (skeleton-insert): Doc fix.
164
165 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
166
167 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
168 (smie-config-guess): Use smie-config-local so the rules are obeyed
169 (bug#17818).
170
171 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
172 since it's already done inside the loop (bug#17819).
173
174 2014-06-20 Martin Rudalics <rudalics@gmx.at>
175
176 * mouse.el (mouse-drag-line): Re-remove code initially removed
177 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
178 (Bug#17819).
179
180 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
181
182 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
183 align with the surrounding parent (bug#17721).
184
185 2014-06-20 Eli Zaretskii <eliz@gnu.org>
186
187 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
188 locally to nil.
189 (texinfo-insert-block, texinfo-insert-@end)
190 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
191 local setting of skeleton-end-newline by adding an explicit \n to
192 the skeletons where appropriate. (Bug#17801)
193
194 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
195
196 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
197 (smie-indent--hanging-p): Use it.
198 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
199
200 2014-06-20 Leo Liu <sdl.web@gmail.com>
201
202 * simple.el (read-quoted-char): Don't let help chars pop up help
203 buffer. (Bug#16617)
204
205 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
206
207 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
208 for | (bug#17621).
209
210 2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
211
212 * xt-mouse.el (xterm-mouse-translate-1): Fix last change (bug#17776).
213 (xterm-mouse--read-event-sequence-1000): Drop unknown events instead of
214 burping.
215
216 2014-06-18 Eli Zaretskii <eliz@gnu.org>
217
218 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
219 and later. (Bug#17790)
220
221 2014-06-18 Juri Linkov <juri@jurta.org>
222
223 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
224 to `soft'. (Bug#17554)
225
226 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
227
228 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
229 (bug#17737).
230
231 2014-06-16 Dmitry Gutov <dgutov@yandex.ru>
232
233 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
234 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
235
236 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
237
238 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
239 `unread-command-events'.
240
241 2014-06-14 Glenn Morris <rgm@gnu.org>
242
243 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
244 Replace delete-duplicates and mapcan by cl- versions throughout.
245 And cl-macroexpand-all by macroexpand-all.
246 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
247
248 2014-06-14 Eli Zaretskii <eliz@gnu.org>
249
250 * subr.el (posn-col-row): Doc fix. (Bug#17768)
251
252 2014-06-14 Juri Linkov <juri@jurta.org>
253
254 * bindings.el: Put `ascii-character' property on keypad keys
255 mapped to characters. (Bug#17759)
256
257 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
258
259 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
260 bumping forward into a closing paren (bug#17761).
261
262 * term/xterm.el (xterm--version-handler): Work around for OSX
263 Terminal.app (bug#17607).
264
265 2014-06-08 Glenn Morris <rgm@gnu.org>
266
267 * startup.el (initial-buffer-choice): Doc fix.
268 Reset :version (adding an option does not merit a :version bump).
269
270 * bookmark.el (bookmark-load):
271 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
272
273 2014-06-06 Juri Linkov <juri@jurta.org>
274
275 * desktop.el: Activate auto-saving on window configuration changes.
276 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
277 `desktop-auto-save-set-timer' to/from `window-configuration-change-hook'.
278 (desktop-auto-save-set-timer): Change REPEAT arg of
279 `run-with-idle-timer' from t to nil.
280 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
281
282 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
283
284 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
285 vc-hg-command (bug#17570).
286
287 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
288
289 * international/mule-cmds.el (ucs-names): Add special entry for BEL
290 (bug#17702).
291
292 2014-06-06 Glenn Morris <rgm@gnu.org>
293
294 * startup.el (window-setup-hook): Doc fix.
295
296 2014-06-05 Glenn Morris <rgm@gnu.org>
297
298 * emacs-lisp/package.el (package-check-signature)
299 (package-unsigned-archives): Doc fixes.
300
301 2014-06-03 Martin Rudalics <rudalics@gmx.at>
302
303 * window.el (display-buffer-use-some-window): Don't make window
304 used smaller than it was before (Bug#17671).
305
306 2014-06-03 Eli Zaretskii <eliz@gnu.org>
307
308 * menu-bar.el (menu-bar-open): Fix last change: use the PC
309 'redisplay' instead of '(sit-for 0)'.
310
311 2014-06-03 Michael Albinus <michael.albinus@gmx.de>
312
313 * net/tramp.el (tramp-ssh-controlmaster-options): Improve search
314 regexp. (Bug#17653)
315
316 2014-06-03 Glenn Morris <rgm@gnu.org>
317
318 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
319
320 2014-06-02 Eli Zaretskii <eliz@gnu.org>
321
322 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
323
324 2014-06-01 Eli Zaretskii <eliz@gnu.org>
325
326 * simple.el (keyboard-quit): Force update of mode lines, to remove
327 the "Def" indicator, if we were defining a macro. (Bug#17615)
328
329 2014-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
330
331 * minibuffer.el (minibuffer-force-complete-and-exit):
332 Obey minibuffer-default (bug#17545).
333
334 * progmodes/js.el (js-indent-line): Don't mix columns and chars
335 (bug#17619).
336
337 2014-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
338
339 * subr.el (set-transient-map): Don't wait for some "nested"
340 transient-map to finish if we're only supposed to be active for
341 the next command (bug#17642).
342
343 2014-05-31 Leo Liu <sdl.web@gmail.com>
344
345 * emacs-lisp/gv.el (window-buffer, window-display-table)
346 (window-dedicated-p, window-hscroll, window-point, window-start):
347 Fix gv-expander. (Bug#17630)
348
349 2014-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
350
351 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
352 clicks (bug#17633).
353
354 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
355 for the single comma, since ", " is *very* common in normal French text
356 (bug#17643).
357
358 2014-05-30 Glenn Morris <rgm@gnu.org>
359
360 * emacs-lisp/package.el (package-check-signature)
361 (package-unsigned-archives): Fix :version.
362
363 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
364
365 * subr.el (sit-for): Don't run input-methods (bug#15614).
366
367 2014-05-28 Glenn Morris <rgm@gnu.org>
368
369 * cus-start.el: Fix some :version numbers.
370
371 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
372
373 * simple.el (deactivate-mark): Set mark-active to nil even if
374 deactivation is done via setting transient-mark-mode to nil,
375 since one is buffer-local and the other is global.
376
377 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
378 there can't be more than 2 arguments (bug#17584).
379
380 2014-05-27 Glenn Morris <rgm@gnu.org>
381
382 * simple.el (filter-buffer-substring-functions)
383 (filter-buffer-substring-function, buffer-substring-filters)
384 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
385
386 * minibuffer.el (completion-in-region-functions, completion-in-region)
387 (completion--in-region): Doc fixes.
388
389 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
390 (expand-abbrev, abbrev--default-expand): Doc fixes.
391
392 2014-05-26 Paul Eggert <eggert@cs.ucla.edu>
393
394 Include sources used to create macuvs.h.
395 * international/README: Refer to the Unicode Terms of Use rather
396 than copying it bodily here, as that simplifies maintenance.
397
398 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
399
400 * cus-face.el (custom-face-attributes): Add :distant-foreground.
401
402 2014-05-25 Martin Rudalics <rudalics@gmx.at>
403
404 * window.el (window--dump-frame): Remove interactive
405 specification.
406
407 2014-05-23 Glenn Morris <rgm@gnu.org>
408
409 * hippie-exp.el (he-line-search-regexp):
410 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
411
412 2014-05-23 Stephen Berman <stephen.berman@gmx.net>
413
414 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
415 to avoid errors when trying to create or visit a file foo.todo
416 located outside to todo-directory, and to allow having such files
417 without them being tied to Todo mode (bug#17482).
418 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
419 (todo-archive-done-item, todo-find-filtered-items-file)
420 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
421 (todo-category-completions, todo-read-category): When visiting a
422 Todo file, make sure we're in the right mode and the buffer local
423 variables are set.
424 (todo-make-categories-list, todo-reset-nondiary-marker)
425 (todo-reset-done-string, todo-reset-comment-string):
426 After processing all Todo files, kill the buffers of those files that
427 weren't being visited before the processing.
428 (todo-display-as-todo-file, todo-add-to-buffer-list)
429 (todo-visit-files-commands): Comment out.
430 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
431 (auto-mode-alist): Remove add-to-list calls making Todo file
432 extensions unrestrictedly tied to Todo modes.
433
434 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
435
436 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
437 (advice-function-member-p): Tell it to check both names and functions
438 (bug#17531).
439 (advice--add-function): Adjust call accordingly.
440
441 2014-05-23 Stephen Berman <stephen.berman@gmx.net>
442
443 * calendar/todo-mode.el: Miscellaneous bug fixes.
444 (todo-delete-file): When deleting an archive but not its todo
445 file, make sure to update the todo file's category sexp.
446 (todo-move-category): Keep the moved category's name unless the
447 file moved to already has a category with that name. If the
448 numerically last category of the source file was moved, make the
449 first category current to avoid selecting a nonexisting category.
450 (todo-merge-category): Fix implementation to make merging to a
451 category in another file work as documented. Eliminate now
452 insufficient and unnecessary renaming of archive category, correct
453 document string accordingly, and clarify it. If the numerically
454 last category of the source file was merged, make the first
455 category current to avoid selecting a nonexisting category.
456 (todo-archive-done-item): When there are marked items and point
457 happens to be on an unmarked item, ignore the latter. Don't leave
458 point below last item after archiving marked items.
459 (todo-unarchive-items): Fix logic to ensure unarchiving an item
460 from an archive with only one category deletes the archive only
461 when the category is empty after unarchiving. Make sure the todo
462 file's category sexp is updated.
463 (todo-read-file-name): Allow an existing file name even when it is
464 not required (todo-move-category needs this to work as documented).
465 (todo-add-file): Call todo-validate-name to reject the name of an
466 existing todo file (needed due to fix in todo-read-file-name).
467 (todo-reset-nondiary-marker): Also reset in filtered items files.
468 (todo-reset-done-string, todo-reset-comment-string): Also reset in
469 regexp filtered items files.
470 (todo-reset-highlight-item): Also reset in filtered items files.
471 Fix incorrect variable reference in document string.
472
473 2014-05-22 Glenn Morris <rgm@gnu.org>
474
475 * window.el (window--dump-frame): Avoid error in --without-x builds.
476
477 2014-05-21 Glenn Morris <rgm@gnu.org>
478
479 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
480
481 2014-05-21 Eli Zaretskii <eliz@gnu.org>
482
483 * frame.el (set-frame-font): Doc fix.
484
485 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
486
487 2014-05-21 Dmitry Gutov <dgutov@yandex.ru>
488
489 * emacs-lisp/package.el (package--download-one-archive):
490 Use `write-region' instead of `save-buffer' to avoid running various
491 hooks. (Bug#17155)
492 (describe-package-1): Same. Insert newline at the end of the
493 buffer if appropriate.
494
495 2014-05-20 Juri Linkov <juri@jurta.org>
496
497 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
498 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
499 Add more modifiers: meta, control, shift, hyper, super, alt.
500 (Bug#17439)
501
502 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
503 to allow changing its value with `set-variable'.
504
505 2014-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
506
507 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
508 #; comments.
509 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
510 New functions.
511 (scheme-mode-variables): Set syntax-propertize-function instead of
512 font-lock-syntactic-face-function.
513 (scheme-font-lock-syntactic-face-function): Delete.
514
515 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
516
517 2014-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
518
519 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
520 (bug#17392).
521
522 2014-05-17 Michael Albinus <michael.albinus@gmx.de>
523
524 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
525 for a temporary file name.
526
527 2014-05-17 Eli Zaretskii <eliz@gnu.org>
528
529 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
530
531 2014-05-16 Michael Albinus <michael.albinus@gmx.de>
532
533 * net/dbus.el (dbus-init-bus, dbus-call-method)
534 (dbus-call-method-asynchronously, dbus-send-signal)
535 (dbus-method-return-internal, dbus-method-error-internal):
536 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
537
538 2014-05-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
539
540 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
541 methods which do not have a doc string. (Bug#17490)
542
543 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
544 Stefan Monnier <monnier@iro.umontreal.ca>
545
546 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
547 suffix (bug#15419).
548
549 2014-05-14 Glenn Morris <rgm@gnu.org>
550
551 * vc/emerge.el (emerge-temp-file-prefix):
552 Make pointless option obsolete.
553 (emerge-temp-file-mode): Make non-functional option obsolete.
554
555 2014-05-13 Michael Albinus <michael.albinus@gmx.de>
556
557 * net/browse-url.el (browse-url):
558 Use `unhandled-file-name-directory' when setting `default-directory',
559 in order to circumvent stalled remote connections. (Bug#17425)
560
561 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
562
563 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
564 into autoloading just because of a silly indirection.
565
566 2014-05-11 Santiago Payà i Miralta <santiagopim@gmail.com> (tiny change)
567
568 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
569
570 2014-05-11 Glenn Morris <rgm@gnu.org>
571
572 * emacs-lisp/find-gc.el: Move to ../admin.
573
574 2014-05-10 Glenn Morris <rgm@gnu.org>
575
576 * printing.el (pr-version):
577 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
578
579 * net/browse-url.el (browse-url-mosaic):
580 Create /tmp/Mosaic.PID as a private file.
581
582 2014-05-10 Stefan Monnier <monnier@iro.umontreal.ca>
583
584 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
585 (advice--member-p): If name is given, only compare the name.
586 (advice--remove-function): Don't stop at the first match.
587 (advice--normalize-place): New function.
588 (add-function, remove-function): Use it.
589 (advice--add-function): Pass the name, if any, to
590 advice--remove-function.
591
592 2014-05-09 Philipp Rumpf <prumpf@gmail.com> (tiny change)
593
594 * electric.el (electric-indent-post-self-insert-function): Don't use
595 `pos' after modifying the buffer (bug#17449).
596
597 2014-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
598
599 * subr.el (function-put): Add function.
600
601 2014-05-09 Stephen Berman <stephen.berman@gmx.net>
602
603 * calendar/todo-mode.el (todo-insert-item-from-calendar):
604 Correct argument list to conform to todo-insert-item--basic.
605
606 2014-05-09 Glenn Morris <rgm@gnu.org>
607
608 * files.el (cd-absolute): Test if directory is accessible
609 rather than executable. (Bug#17330)
610
611 * progmodes/compile.el (recompile):
612 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
613
614 2014-05-08 Juri Linkov <juri@jurta.org>
615
616 * dired.el (dired-check-switches, dired-switches-recursive-p):
617 New functions. (Bug#17218)
618 (dired-switches-escape-p, dired-move-to-end-of-filename):
619 Use `dired-check-switches'.
620 (dired-insert-old-subdirs, dired-build-subdir-alist)
621 (dired-sort-R-check): Use `dired-switches-recursive-p'.
622
623 2014-05-08 Glenn Morris <rgm@gnu.org>
624
625 * net/browse-url.el (browse-url-mosaic):
626 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
627 This is CVE-2014-3423.
628
629 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
630
631 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
632 (xterm-mouse--read-event-sequence-1000): Return nil if something
633 looks fishy.
634 (xterm-mouse-event): Propagate it.
635 (xterm-mouse-translate-1): Handle it.
636
637 2014-05-07 Stephen Berman <stephen.berman@gmx.net>
638
639 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
640 four slots of the parameter list are filled, make sure to pass it
641 to the argument list of todo-insert-item--basic.
642
643 2014-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
644
645 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
646 Add optional `seen' argument to detect and break infinite loops.
647
648 2014-05-06 Eli Zaretskii <eliz@gnu.org>
649
650 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
651 (trace-unsafe, trace-use-tree): Make parentheses style be
652 according to Emacs style.
653
654 2014-05-06 Michael Albinus <michael.albinus@gmx.de>
655
656 * net/tramp-sh.el (tramp-remote-process-environment):
657 Remove HISTFILE and HISTSIZE; it's too late to set them here.
658 Add :version entry.
659 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
660 Add "HISTFILE=/dev/null" to the shell's env arguments. Do not send
661 extra "PSx=..." commands.
662 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
663 (Bug#17295)
664
665 (tramp-uudecode): Replace the hard-coded temporary file name by a
666 format specifier.
667 (tramp-remote-coding-commands): Enhance docstring.
668 (tramp-find-inline-encoding): Replace "%t" by a temporary file
669 name. (Bug#17415)
670 This is CVE-2014-3424.
671
672 2014-05-06 Glenn Morris <rgm@gnu.org>
673
674 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
675 (find-gc-source-files): Update some names.
676 (trace-call-tree): Simplify and update.
677 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
678 This is CVE-2014-3422.
679
680 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
681
682 * minibuffer.el (completion--try-word-completion): Revert fix for
683 Bug#15980 (bug#17375).
684
685 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
686 Always store button numbers in the same way in xterm-mouse-last;
687 Don't burp is xterm-mouse-last is not set as expected.
688 Never return negative indices.
689
690 2014-05-05 Dmitry Gutov <dgutov@yandex.ru>
691
692 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
693 Backtrack one char if the global/char-literal var matcher hits
694 inside a string. The next char could be the beginning of an
695 expression expansion.
696
697 2014-05-05 Glenn Morris <rgm@gnu.org>
698
699 * help-fns.el (describe-function-1): Test for an autoload before a
700 macro, since `macrop' works on autoloads. (Bug#17410)
701
702 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
703
704 * electric.el (electric-indent-functions-without-reindent): Add yaml.
705
706 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
707 Make sure the new point we return is within the new string (bug#17239).
708
709 2014-05-03 Eli Zaretskii <eliz@gnu.org>
710
711 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
712
713 2014-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
714
715 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
716 Use nil rather than `default' for the "default" appearance (bug#17388).
717 * vc/ediff-util.el (ediff-inferior-compare-regions)
718 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
719 a misleading `default' value when it's really a boolean.
720 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
721 overlay is not visible.
722
723 2014-05-02 Stephen Berman <stephen.berman@gmx.net>
724
725 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
726 (todo-menu): Uncomment and update.
727
728 2014-05-02 Stephen Berman <stephen.berman@gmx.net>
729
730 * calendar/todo-mode.el: Reimplement item editing to have the same
731 basic user interface as item insertion, and make small UI and
732 larger internal improvements to the latter.
733 (todo-insert-item): Add reference to the Todo mode user manual to
734 the documentation string.
735 (todo-insert-item--basic): Rename from todo-basic-insert-item and
736 adjust all callers. Change signature to combine diary and
737 nonmarking arguments. Incorporate functionality of deleted item
738 copying command and add error checking. Remove detailed
739 descriptions of the arguments from the documentation string, since
740 this is treated in the Todo mode user manual.
741 (todo-copy-item, todo-edit-multiline-item)
742 (todo-edit-done-item-comment, todo-edit-item-header)
743 (todo-edit-item-time, todo-edit-item-date-from-calendar)
744 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
745 (todo-edit-item-date-year, todo-edit-item-date-month)
746 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
747 Remove.
748 (todo-edit-item): Reimplement as wrapper command for
749 todo-edit-item--next-key and make it distinguish done and not done
750 todo items.
751 (todo-edit-item--text): New function, replacing old command
752 todo-edit-item and incorporating deleted commands
753 todo-edit-multiline-item and todo-edit-done-item-comment.
754 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
755 Use only numeric value of prefix argument. Remove detailed
756 descriptions of the arguments from the documentation string, since
757 this is treated in the Todo mode user manual.
758 (todo-edit-item--diary-inclusion): New function, replacing old
759 command todo-edit-item-diary-inclusion and incorporating and fixing
760 functionality of deleted command todo-edit-item-diary-nonmarking,
761 making sure to remove todo-nondiary-marker when adding
762 diary-nonmarking-symbol.
763 (todo-edit-category-diary-inclusion): Make sure to delete
764 diary-nonmarking-symbol when adding todo-nondiary-marker.
765 (todo-edit-category-diary-nonmarking): Fix indentation.
766 (todo-insert-item--parameters): Group diary and nonmarking
767 parameters together.
768 (todo-insert-item--apply-args): Adjust to signature of
769 todo-insert-item--basic and incorporate copy parameter.
770 Make small code improvements.
771 (todo-insert-item--next-param): Improve prompt and adjust it to
772 new parameter grouping. Remove obsolete code.
773 (todo-edit-item--param-key-alist)
774 (todo-edit-item--date-param-key-alist)
775 (todo-edit-done-item--param-key-alist): New defconsts.
776 (todo-edit-item--prompt): New variable.
777 (todo-edit-item--next-key): New function.
778 (todo-key-bindings-t): Bind "e" to todo-edit-item.
779 Remove bindings of deleted commands.
780
781 2014-05-02 Leo Liu <sdl.web@gmail.com>
782
783 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
784
785 2014-05-01 Glenn Morris <rgm@gnu.org>
786
787 * allout-widgets.el (allout-widgets-tally)
788 (allout-decorate-item-guides):
789 * menu-bar.el (menu-bar-positive-p):
790 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
791 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
792 * progmodes/js.el (js--inside-param-list-p)
793 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
794 * progmodes/prolog.el (region-exists-p):
795 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
796 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
797 Doc fixes (replace `iff').
798
799 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
800
801 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
802
803 2014-04-30 Eli Zaretskii <eliz@gnu.org>
804
805 * dired.el (dired-initial-position-hook, dired-initial-position):
806 Doc string fixes.
807
808 2014-04-29 Glenn Morris <rgm@gnu.org>
809
810 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
811
812 2014-04-27 Matthias Dahl <matthias.dahl@binary-island.eu>
813
814 * faces.el (face-spec-recalc): Apply X resources only after the
815 defface spec has been applied. Thus, X resources are no longer
816 overriden by the defface spec which also fixes issues on win32 where
817 the toolbar coloring was wrong because it is set through X resources
818 and was (wrongfully) overriden. (Bug#16694)
819
820 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
821
822 * textmodes/rst.el (electric-pair-pairs): Declare.
823 (rst-mode): Set it (bug#17131).
824
825 2014-04-27 Juri Linkov <juri@jurta.org>
826
827 * desktop.el (desktop-value-to-string): Let-bind `print-length'
828 and `print-level' to nil. (Bug#17351)
829
830 2014-04-25 Nicolas Richard <theonewiththeevillook@yahoo.fr>
831
832 * battery.el (battery-update): Handle the case where battery
833 status is "N/A" (bug#17319).
834
835 2014-04-24 Eli Zaretskii <eliz@gnu.org>
836
837 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
838 Use equal-including-properties to compare help-echo strings (bug#17331).
839
840 2014-04-24 Leo Liu <sdl.web@gmail.com>
841
842 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
843 Fix syntax for @. (Bug#17325)
844
845 2014-04-24 Daniel Colascione <dancol@dancol.org>
846
847 * emacs-lisp/cl.el (gv): Require gv early to break eager
848 macro-expansion cycles.
849
850 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
851
852 * simple.el (region-active-p): Check there's a mark (bug#17324).
853
854 * simple.el (completion-list-mode-map): Use choose-completion for the
855 mouse binding as well (bug#17302).
856 (completion-list-mode, completion-setup-function): Adjust docstring and
857 echo area message accordingly.
858 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
859 calling convention of choose-completion.
860 * comint.el (comint-dynamic-list-completions):
861 * term.el (term-dynamic-list-completions): Accept choose-completion.
862
863 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
864 &, |, +, - and * can't be a division (bug#17317).
865
866 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
867
868 * term/xterm.el (xterm--version-handler): Don't use modern xterm
869 features on gnome-terminal (bug#16988).
870
871 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
872
873 * dired.el (dired-insert-set-properties): Do not consider
874 subdirectory headings and empty lines to be information that
875 `dired-hide-details-mode' should hide. (Bug#17228)
876
877 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
878
879 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
880 Remove test messages.
881 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
882 and `target' twice.
883
884 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
885
886 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
887 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
888
889 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
890
891 2014-04-21 Michael Albinus <michael.albinus@gmx.de>
892
893 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
894 Set "IFS=" when using read builtin, in order to preserve spaces in
895 the file name. Add test messages for hunting a bug on hydra.
896 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
897
898 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
899
900 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
901 Don't prettify a word within a symbol.
902
903 2014-04-20 Michael Albinus <michael.albinus@gmx.de>
904
905 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
906 possible.
907
908 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
909
910 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
911 assignments such as "case=hello" (bug#17297).
912
913 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
914
915 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
916 Do not autoload.
917 (tramp-file-name-handler, tramp-completion-file-name-handler):
918 Revert patch from 2014-04-10, it isn't necessary anymore.
919 (tramp-autoload-file-name-handler)
920 (tramp-register-autoload-file-name-handlers): New defuns.
921 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
922 (tramp-register-file-name-handlers): Remove also
923 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
924 Do not autoload its invocation, but eval it after loading of 'tramp.
925
926 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
927
928 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
929
930 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
931
932 * nxml/nxml-mode.el (nxml-fontify-matcher): Make sure propertization
933 was done (bug#17264).
934 * nxml/xmltok.el (xmltok-scan-after-comment-open): Extend unclosed
935 comment to EOB.
936
937 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
938 here-documents (bug#17262).
939
940 2014-04-16 Eli Zaretskii <eliz@gnu.org>
941
942 * term/pc-win.el (x-list-fonts, x-get-selection-value):
943 Provide doc strings, as required by snarf-documentation.
944
945 2014-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
946
947 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
948 arg of overlays-at. Use `invisible-p'.
949
950 * obsolete/lucid.el (extent-at):
951 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
952 overlays-at.
953 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
954
955 2014-04-14 João Távora <joaotavora@gmail.com>
956
957 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
958 links. (Bug#17217).
959
960 2014-04-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
961
962 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
963 Use mapc to loop over a vector. (Bug#17257).
964
965 2014-04-13 Michael Albinus <michael.albinus@gmx.de>
966
967 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
968 patch, there are new problems with file names containing spaces.
969 Get rid of backticks. (Bug#17238)
970
971 2014-04-13 João Távora <joaotavora@gmail.com>
972
973 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
974 possible bug.
975
976 2014-04-13 Eli Zaretskii <eliz@gnu.org>
977
978 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
979 (blink-cursor-mode): Mention customization variables and the
980 effect of 'blink-cursor-blinks'.
981
982 2014-04-12 Barry O'Reilly <gundaetiapo@gmail.com>
983
984 * simple.el (undo): Prevent insertion of identity mapping into
985 undo-equiv-table so as undo-only does not inf loop in the presence
986 of consecutive nils in undo list.
987
988 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
989
990 * faces.el (make-face): Deprecate optional argument as it is no
991 longer needed/used since the conditional X resources handling
992 has been pushed down to make-face-x-resource-internal itself.
993 (make-empty-face): Don't pass optional argument to make-face.
994
995 2014-04-12 Eli Zaretskii <eliz@gnu.org>
996
997 * international/characters.el <standard-case-table>: Add entries
998 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
999 Set category of Coptic characters be 'g' (Greek).
1000
1001 2014-04-12 Leo Liu <sdl.web@gmail.com>
1002
1003 * progmodes/octave.el (completion-table-with-cache): Define if not
1004 available.
1005 (octave-goto-function-definition)
1006 (octave-sync-function-file-names)
1007 (octave-find-definition-default-filename): Backquote upattern for
1008 compatibility.
1009
1010 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
1011
1012 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
1013 name twice due to backticks. (Bug#17238)
1014
1015 2014-04-11 Glenn Morris <rgm@gnu.org>
1016
1017 * term/w32-win.el (x-win-suspend-error):
1018 * term/x-win.el (x-win-suspend-error): Sync docs.
1019
1020 2014-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
1021
1022 Ediff's overlay priorities cause more trouble than they solve.
1023 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
1024 (ediff-highest-priority): Remove function (bug#17234).
1025 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
1026 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
1027 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
1028 overlay priorities.
1029
1030 2014-04-10 Feng Li <fengli@gmail.com> (tiny change)
1031
1032 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
1033 entry; use symbol boundaries to avoid mis-matches.
1034
1035 2014-04-10 Michael Albinus <michael.albinus@gmx.de>
1036
1037 * net/tramp.el (tramp-file-name-handler)
1038 (tramp-completion-file-name-handler): Avoid recursive loading.
1039
1040 * net/tramp-sh.el (tramp-make-copy-program-file-name):
1041 Quote result also locally.
1042
1043 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
1044
1045 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
1046 Module methods. (Bug#17216)
1047
1048 2014-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
1049
1050 * help.el (describe-bindings): Fix buffer handling (bug#17210).
1051 (describe-bindings-internal): Mark obsolete.
1052
1053 2014-04-07 João Távora <joaotavora@gmail.com>
1054
1055 * elec-pair.el:
1056 (electric-pair--syntax-ppss): When inside comments parse from
1057 comment beginning.
1058 (electric-pair--balance-info): Fix typo in comment.
1059 (electric-pair--in-unterminated-string-p): Delete.
1060 (electric-pair--unbalanced-strings-p): New function.
1061 (electric-pair-string-bound-function): New var.
1062 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
1063 according to `electric-pair--in-unterminated-string-p'
1064
1065 2014-04-07 João Távora <joaotavora@gmail.com>
1066
1067 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
1068 Inhibit quote pairing if point-max is inside an unterminated string.
1069 (electric-pair--looking-at-unterminated-string-p): Delete.
1070 (electric-pair--in-unterminated-string-p): New function.
1071
1072 2014-04-07 Glenn Morris <rgm@gnu.org>
1073
1074 * shell.el (shell-directory-tracker):
1075 Go back to just ignoring failures. (Bug#17159)
1076
1077 2014-04-06 João Távora <joaotavora@gmail.com>
1078
1079 Fix `electric-pair-delete-adjacent-pairs' in modes binding
1080 backspace. (bug#16981)
1081 * elec-pair.el (electric-pair-backward-delete-char): Delete.
1082 (electric-pair-backward-delete-char-untabify): Delete.
1083 (electric-pair-mode-map): Bind backspace to a menu item filtering
1084 a new `electric-pair-delete-pair' command.
1085 (electric-pair-delete-pair): New command.
1086
1087 2014-04-06 João Távora <joaotavora@gmail.com>
1088
1089 * progmodes/python.el (python-electric-pair-string-delimiter):
1090 Fix triple-quoting electricity. (Bug#17192)
1091
1092 2014-04-06 João Távora <joaotavora@gmail.com>
1093
1094 * elec-pair.el (electric-pair-post-self-insert-function):
1095 Don't skip whitespace when `electric-pair-text-pairs' and
1096 `electric-pair-pairs' were used. syntax to
1097 electric-pair--skip-whitespace. (Bug#17183)
1098
1099 2014-04-06 Eli Zaretskii <eliz@gnu.org>
1100
1101 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
1102 "<F>". (Bug#17199)
1103
1104 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
1105
1106 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
1107 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
1108
1109 2014-04-05 Glenn Morris <rgm@gnu.org>
1110
1111 * help.el (view-lossage): Doc tweak.
1112
1113 2014-04-05 Matthias Dahl <matthias.dahl@binary-island.eu>
1114
1115 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
1116 only when inhibit-x-resources is nil, and do that earlier in the
1117 function. Doc fix. (Bug#16694)
1118 (face-spec-choose): Accept additional optional argument, whose
1119 value is returned if no matching attributes are found.
1120 (face-spec-recalc): Use the new optional argument when calling
1121 face-spec-choose. (Bug#16378)
1122 (make-face-x-resource-internal): Do nothing when
1123 inhibit-x-resources is non-nil. Don't touch the default face if
1124 reversed video is given--as was done in previous versions of Emacs.
1125 (face-set-after-frame-default): Don't call
1126 make-face-x-resource-internal here. (Bug#16434)
1127
1128 2014-04-04 Tassilo Horn <tsdh@gnu.org>
1129
1130 * doc-view.el (doc-view-bookmark-jump):
1131 Use `bookmark-after-jump-hook' to jump to the right page after the
1132 buffer is shown in a window. (bug#16090)
1133
1134 2014-04-04 Eli Zaretskii <eliz@gnu.org>
1135
1136 * international/characters.el (mirroring): Fix last change:
1137 instead of loading uni-mirrored.el explicitly, do that implicitly
1138 by creating the 'mirroring' uniprop table. This avoids announcing
1139 the loading of uni-mirrored.el.
1140
1141 2014-04-04 Glenn Morris <rgm@gnu.org>
1142
1143 * files.el (buffer-stale--default-function)
1144 (buffer-stale-function, revert-buffer--default):
1145 * autorevert.el (auto-revert-buffers): Doc tweaks.
1146
1147 2014-04-03 Eli Zaretskii <eliz@gnu.org>
1148
1149 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
1150
1151 2014-04-03 Glenn Morris <rgm@gnu.org>
1152
1153 * files.el (make-backup-file-name-function)
1154 (make-backup-file-name, make-backup-file-name--default-function)
1155 (make-backup-file-name-1, find-backup-file-name)
1156 (revert-buffer-function, revert-buffer-insert-file-contents-function)
1157 (buffer-stale--default-function, buffer-stale-function)
1158 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
1159 (revert-buffer, revert-buffer--default)
1160 (revert-buffer-insert-file-contents--default-function):
1161 Doc fixes related to defaults no longer being nil.
1162 (make-backup-file-name-function): Bump :version.
1163 Restore nil as a valid but deprecated custom type.
1164
1165 2014-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
1166
1167 * progmodes/perl-mode.el (perl-syntax-propertize-function): Handle $'
1168 used as a variable (bug#17174).
1169
1170 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
1171
1172 * progmodes/perl-mode.el (perl-indent-new-calculate):
1173 Handle forward-sexp failure (bug#16985).
1174 (perl-syntax-propertize-function): Add "foreach" and "for" statement
1175 modifiers introducing expressions (bug#17116).
1176
1177 2014-04-02 Glenn Morris <rgm@gnu.org>
1178
1179 * menu-bar.el (menu-bar-file-menu):
1180 * vc/ediff.el (ediff-current-file):
1181 Update for revert-buffer-function no longer being nil by default.
1182
1183 * simple.el (command-execute): Respect nil disabled-command-function.
1184
1185 2014-04-01 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1186
1187 * simple.el (command-execute): Do not execute the command when it
1188 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
1189
1190 2014-03-29 Juri Linkov <juri@jurta.org>
1191
1192 * dired-aux.el (dired-compress-file): Don't use string-match-p
1193 because its match data is used afterwards.
1194
1195 2014-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
1196
1197 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
1198 0 like nil.
1199
1200 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
1201
1202 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1203 Highlight special globals with font-lock-builtin-face. (Bug#17057)
1204
1205 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1206 Don't propertize `?' or `!' as symbol constituent when after
1207 colon. (Bug#17097)
1208
1209 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
1210
1211 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
1212 which is no longer needed and causes trouble in GTK builds (bug#17046).
1213
1214 * emacs-lisp/package-x.el (package--archive-contents-from-url):
1215 Use url-insert-file-contents; package-handle-response no longer exists.
1216
1217 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
1218
1219 * emacs-lisp/package.el: Fix bug#16733 (again).
1220 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
1221 (url-http-target-url): Remove unused declarations.
1222 (package-handle-response): Remove.
1223 (package--with-work-buffer): Use url-insert-file-contents and simplify.
1224 (package--download-one-archive): Use current-buffer instead of
1225 dynamic binding of `buffer'.
1226 (describe-package-1): Do not decode readme-string.
1227
1228 2014-03-25 Barry O'Reilly <gundaetiapo@gmail.com>
1229
1230 * simple.el (primitive-undo): Correction to 2014-03-24 change.
1231
1232 2014-03-25 Michael Albinus <michael.albinus@gmx.de>
1233
1234 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
1235
1236 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
1237 from 2014-03-07, it decreases performance unnecessarily. Let-bind
1238 `remote-file-name-inhibit-cache' to nil in the second pass.
1239 (tramp-find-executable): Do not call "which" on SunOS.
1240 (tramp-send-command-and-check): Fix docstring.
1241 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
1242 check whether source directory has set the sticky bit.
1243
1244 2014-03-24 Barry O'Reilly <gundaetiapo@gmail.com>
1245
1246 * simple.el (primitive-undo): Only process marker adjustments
1247 validated against their corresponding (TEXT . POS). Issue warning
1248 for lone marker adjustments in undo history. (Bug#16818)
1249 (undo-make-selective-list): Add marker adjustments to selective
1250 undo list based on whether their corresponding (TEXT . POS) is in
1251 the region. Remove variable adjusted-markers, which was unused
1252 and only non nil during undo-make-selective-list.
1253 (undo-elt-in-region): Return nil when passed a marker adjustment
1254 and explain in function doc.
1255
1256 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
1257
1258 * emacs-lisp/package.el (package--add-to-archive-contents):
1259 Include already installed and built-in packages in
1260 `package-archive-contents'.
1261 (package-install): Don't include already installed packages in the
1262 options during interactive invocation. (Bug#16762)
1263
1264 2014-03-24 Daniel Colascione <dancol@dancol.org>
1265
1266 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
1267 instead of cl-loop search function.
1268
1269 2014-03-24 Juanma Barranquero <lekktu@gmail.com>
1270
1271 * frameset.el (frameset--initial-params): Fix typo in parameter name.
1272
1273 2014-03-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1274
1275 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
1276
1277 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
1278
1279 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
1280 Match special global variables without curlies, too.
1281 (ruby-font-lock-keywords): Simplify the matcher for special global
1282 variables. Don't require a non-word character after the variable.
1283 (Bug#17057)
1284
1285 2014-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
1286
1287 * simple.el (redisplay-highlight-region-function): Increase priority of
1288 overlay to make sure boundaries are visible (bug#15899).
1289
1290 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
1291
1292 * frameset.el (frameset-restore): Compare display strings with equal.
1293
1294 * frame.el (make-frame): Don't quote display name in error message,
1295 it is already a string.
1296
1297 2014-03-23 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1298
1299 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
1300 the password.
1301
1302 2014-03-23 Dmitry Gutov <dgutov@yandex.ru>
1303
1304 * emacs-lisp/package.el (package-show-package-list): If the buffer
1305 is already displayed in another window, switch to that window.
1306
1307 2014-03-21 Daniel Colascione <dancol@dancol.org>
1308
1309 * mail/emacsbug.el (report-emacs-bug): Include memory usage
1310 information in bug reports.
1311
1312 2014-03-23 Daniel Colascione <dancol@dancol.org>
1313
1314 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
1315 list to look for keyword arguments instead of `memq', fixing
1316 (Bug#3647) --- unfortunately, only for freshly-compiled code.
1317 Please make bootstrap.
1318
1319 2014-03-23 Richard Stallman <rms@gnu.org>
1320
1321 * battery.el (battery-linux-sysfs): Search for each field
1322 from the beginning of the buffer.
1323
1324 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
1325
1326 * emacs-lisp/package.el (package-desc): Use the contents of the
1327 quoted form, not its cdr. (Bug#16873)
1328
1329 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
1330
1331 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
1332 benefit of doc.c; change parameter profile to match the X function.
1333
1334 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
1335
1336 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
1337 and `tramp-copy-env'.
1338
1339 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
1340 (tramp-maybe-open-connection): Handle `tramp-login-env'.
1341
1342 2014-03-21 Glenn Morris <rgm@gnu.org>
1343
1344 * electric.el (electric-indent-post-self-insert-function): Add doc.
1345
1346 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
1347
1348 * emacs-lisp/package.el (package-compute-transaction):
1349 Use `version-list-<=' to compare the requirement version against
1350 the version of package already to be installed. Update the error
1351 message. (Bug#16826)
1352
1353 * progmodes/ruby-mode.el (ruby-smie-rules):
1354 Add indentation rule for ` @ '. (Bug#17050)
1355
1356 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
1357
1358 * align.el (align-regexp): Remove superfluous backslash.
1359
1360 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
1361 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
1362 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
1363 Fix docstring typos.
1364 (ffap-next): Use C-u in docstring.
1365 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
1366 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
1367 Remove superfluous backslashes.
1368 (ffap-string-at-point): Reflow docstring.
1369
1370 * server.el (server-host): Reflow docstring.
1371 (server-unload-function): Fix docstring typo.
1372 (server-eval-at): Remove superfluous backslash.
1373
1374 * skeleton.el (skeleton-insert): Remove superfluous backslash.
1375 (skeleton-insert): Doc fix.
1376 (skeleton-insert): Reflow docstring.
1377
1378 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
1379 (tty-color-approximate, tty-color-by-index, tty-color-values)
1380 (tty-color-desc): Remove superfluous backslashes.
1381
1382 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
1383
1384 * electric.el (electric-newline-and-maybe-indent): New command.
1385 Bind it globally to C-j.
1386 (electric-indent-mode): Don't mess with the global map any more.
1387 Don't drop the post-self-insert-hook is some buffer is still using it
1388 (bug#16770).
1389
1390 * bindings.el (global-map): Remove C-j binding.
1391
1392 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
1393 the docstring of functions advised before dumping (bug#16993).
1394
1395 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
1396
1397 * ps-print.el (ps-generate-postscript-with-faces):
1398 Explicitly deactivate the mark (bug#16866).
1399 * simple.el (deactivate-mark): Update region highlight.
1400
1401 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
1402
1403 * emacs-lisp/package.el (describe-package-1):
1404 Decode commentary (bug#16733).
1405
1406 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
1407
1408 * custom.el (defcustom): Doc fix: recommend avoiding destructive
1409 modification of the value argument of :set (bug#16755).
1410
1411 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1412
1413 * simple.el (newline-and-indent): Do autofill (bug#17031).
1414
1415 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
1416
1417 * newcomment.el (comment-normalize-vars): Only add escaping check
1418 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
1419 (comment-beginning): Use `narrow-to-region' instead of moving back
1420 one character.
1421 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
1422 (comment-start-skip): Update the docstring.
1423
1424 2014-03-18 Richard Stallman <rms@gnu.org>
1425
1426 * dired.el (dired-display-file): Force use of other window.
1427
1428 2014-03-18 Daniel Colascione <dancol@dancol.org>
1429
1430 * startup.el (tty-handle-args): Remove debug message from 2007.
1431
1432 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
1433
1434 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
1435 (advice--make-interactive-form): Use it to avoid (auto)loading function.
1436 (advice--make-1, advice-add, advice-remove):
1437 Remove braindead :advice-pending hack.
1438
1439 2014-03-17 Glenn Morris <rgm@gnu.org>
1440
1441 * calendar/calendar.el (calendar-generate-month): Apply weekend
1442 face to the right days; fixes 2013-08-06 change. (Bug#17028)
1443
1444 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
1445
1446 * net/tramp.el (tramp-action-out-of-band): Read pending output.
1447 (tramp-call-process): Trace also DESTINATION.
1448
1449 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1450 Quote file names when they are local. Remove superfluous trace.
1451
1452 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
1453
1454 * newcomment.el (comment-beginning): If `comment-start-skip'
1455 doesn't match, move back one char and try again. (Bug#16971)
1456
1457 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1458 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
1459 Set `comment-start-skip' to a simpler value that doesn't try to
1460 check if the semicolon is escaped (this is handled by
1461 `syntax-ppss' now). (Bug#16971)
1462
1463 * progmodes/scheme.el (scheme-mode-variables): Same.
1464
1465 2014-03-16 Martin Rudalics <rudalics@gmx.at>
1466
1467 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
1468 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
1469 current (Bug#16816, Bug#17007).
1470 (with-current-buffer-window): New macro doing the same as
1471 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
1472 * help.el (help-print-return-message): Warn in doc-string to not
1473 use this in `with-help-window'.
1474 (describe-bindings-internal): Call `describe-buffer-bindings'
1475 from within help buffer. See Juanma's scenario in (Bug#16816).
1476 (with-help-window): Update doc-string.
1477 * dired.el (dired-mark-pop-up):
1478 * files.el (save-buffers-kill-emacs):
1479 * register.el (register-preview): Use `with-current-buffer-window'
1480 instead of `with-temp-buffer-window'.
1481
1482 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
1483
1484 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
1485 Implement inserting into current buffer, documented in their docstrings.
1486 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
1487 (rst-section-tree-point, rst-forward-section, rst-indent)
1488 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
1489 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
1490 (rst-font-lock-handle-adornment-pre-match-form)
1491 (rst-repeat-last-character): Reflow docstrings.
1492 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
1493 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
1494 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
1495 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
1496 Fix docstring typos.
1497 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
1498 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
1499 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
1500
1501 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
1502
1503 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
1504 for compatibility with other ports.
1505 (ns-initialize-window-system): Use it. It is set in term/common-win.el
1506 from the -xrm command line argument, but in the Nextstep port its value
1507 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
1508
1509 * progmodes/python.el (defconst, python-syntax-count-quotes)
1510 (python-indent-region, python-indent-shift-right)
1511 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
1512 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
1513 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
1514 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
1515 (inferior-python-mode, python-shell-make-comint, run-python-internal)
1516 (python-shell-buffer-substring, python-shell-send-buffer)
1517 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
1518 (python-completion-complete-at-point, python-fill-docstring-style)
1519 (python-eldoc-function, python-imenu-format-item-label)
1520 (python-imenu-format-parent-item-label)
1521 (python-imenu-format-parent-item-jump-label)
1522 (python-imenu--build-tree, python-imenu-create-index)
1523 (python-imenu-create-flat-index): Fix docstring typos.
1524 (python-indent-context, python-shell-prompt-regexp, run-python):
1525 Remove superfluous backslashes.
1526 (python-indent-line, python-nav-beginning-of-defun)
1527 (python-shell-get-buffer, python-shell-get-process)
1528 (python-info-current-defun, python-info-current-line-comment-p)
1529 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
1530 (python-indent-post-self-insert-function, python-shell-send-file)
1531 (python-shell-completion-get-completions)
1532 (python-shell-completion-complete-or-indent)
1533 (python-eldoc--get-doc-at-point): Reflow docstrings.
1534
1535 2014-03-14 Glenn Morris <rgm@gnu.org>
1536
1537 * emacs-lisp/package.el (package-menu-mode-map):
1538 Replace use of obsolete function alias. Tweak menu item text.
1539
1540 * info.el (Info-finder-find-node):
1541 Ignore the `emacs' metapackage. (Bug#10813)
1542
1543 * finder.el (finder-list-matches): Include unversioned packages
1544 in the result of a keyword search.
1545
1546 * finder.el (finder--builtins-descriptions): New constant.
1547 (finder-compile-keywords): Use finder--builtins-descriptions.
1548
1549 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
1550
1551 * simple.el (blink-matching-paren): Describe the new value,
1552 `jump', enabling the old behavior.
1553 (blink-matching-open): Use that value. (Bug#17008)
1554
1555 2014-03-14 Glenn Morris <rgm@gnu.org>
1556
1557 * finder.el (finder-no-scan-regexp): Add leim-list.
1558 (finder-compile-keywords):
1559 Don't skip files with same basename. (Bug#14010)
1560 * Makefile.in (setwins_finder): New, excluding leim.
1561 (finder-data): Use setwins_finder.
1562
1563 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
1564 (help-function-arglist, help-make-usage): Move from here...
1565 * help.el (help-split-fundoc, help-add-fundoc-usage)
1566 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
1567 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
1568
1569 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
1570
1571 * net/socks.el (socks, socks-override-functions)
1572 (socks-find-services-entry):
1573 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
1574 (hif-find-ifdef-block):
1575 * progmodes/modula2.el (m2-indent): Fix docstring typos.
1576
1577 * net/tls.el (tls-program): Reflow docstring.
1578
1579 * progmodes/pascal.el (pascal-mode-abbrev-table)
1580 (pascal-imenu-generic-expression, pascal-auto-endcomments)
1581 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
1582 (pascal-outline-mode): Fix docstring typos.
1583 (pascal-mode): Let define-derived-mode document mode hook.
1584 (pascal-uncomment-area): Reflow.
1585 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
1586
1587 * progmodes/opascal.el (opascal-compound-block-indent)
1588 (opascal-case-label-indent): Fix docstring typos.
1589 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
1590
1591 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
1592
1593 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1594 Fontify multiple adjacent negation chars. (Bug#17004)
1595
1596 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
1597
1598 * emacs-lisp/package.el (package--prepare-dependencies):
1599 Accept requirements without explicit version (bug#14941).
1600
1601 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
1602
1603 * register.el (register-separator, copy-to-register): Doc fixes.
1604 (register-preview-default): Remove unnecessary call to concat.
1605
1606 * frameset.el (frameset-restore): When checking for a visible frame,
1607 use the action map instead of calling visible-frame-list.
1608
1609 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
1610
1611 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
1612
1613 2014-03-12 Martin Rudalics <rudalics@gmx.at>
1614
1615 * window.el (fit-frame-to-buffer): Get maximum width from
1616 display's width instead of height.
1617
1618 2014-03-12 Glenn Morris <rgm@gnu.org>
1619
1620 * desktop.el (desktop-restore-frames)
1621 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
1622 (desktop-restore-reuses-frames): Doc tweaks.
1623
1624 * electric.el (electric-indent-mode): Doc fix.
1625
1626 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
1627
1628 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
1629 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
1630 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
1631 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
1632 (cvs-dired-use-hook): Fix docstring typos.
1633 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
1634 Doc fixes.
1635
1636 * vc/pcvs-defs.el (cvs-auto-remove-handled)
1637 (cvs-auto-remove-directories, cvs-default-ignore-marks)
1638 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
1639 (cvs-execute-single-dir): Fix docstring typos.
1640
1641 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
1642 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
1643
1644 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
1645
1646 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
1647 Fix docstring typos.
1648
1649 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
1650
1651 * frameset.el (frameset--jump-to-register): Add autoload; it could be
1652 called from jump-to-register after unloading the frameset package.
1653
1654 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1655
1656 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
1657 (bug#16975). Deactivate the mark before setting it to nil.
1658 (activate-mark): Do nothing if region is already active.
1659
1660 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
1661
1662 * frameset.el (frameset--target-display): Remove definition; declare.
1663 (frameset-save, frameset-restore): Let-bind frameset--target-display.
1664
1665 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1666
1667 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
1668 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
1669 when the advice is pending.
1670 (advice-remove): Remove this marker when not needed any more.
1671
1672 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
1673
1674 * frameset.el: Separate options for reusing frames and cleaning up.
1675 (frameset--reuse-list): Remove definition; declare.
1676 (frameset--action-map): Declare.
1677 (frameset--find-frame-if): Doc fix.
1678 (frameset--restore-frame): Cache frame action.
1679 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
1680 how to clean up the frame list after restoring. Remove cleaning
1681 options from REUSE-FRAMES. Change all keyword values to symbols.
1682 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
1683
1684 * desktop.el (desktop-restore-forces-onscreen)
1685 (desktop-restore-reuses-frames): Use non-keyword values.
1686 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
1687
1688 2014-03-10 Glenn Morris <rgm@gnu.org>
1689
1690 * files.el (find-file): Doc fix: update info node name.
1691
1692 * emacs-lisp/advice.el (ad-add-advice, defadvice):
1693 Doc fix: remove references to deleted info nodes.
1694
1695 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
1696
1697 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
1698 Do not add `nil' to the environment, when there's no remote `locale'.
1699 (tramp-find-inline-encoding): Check, that the remote host has
1700 installed perl, before sending scripts.
1701
1702 2014-03-10 Leo Liu <sdl.web@gmail.com>
1703
1704 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1705 Clear eldoc-last-message. (Bug#16920)
1706
1707 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
1708
1709 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
1710 (bug#14430).
1711
1712 2014-03-09 Juri Linkov <juri@jurta.org>
1713
1714 * ansi-color.el (ansi-color-names-vector): Copy default colors
1715 from `xterm-standard-colors' that look well on the default white
1716 background (and also on the black background) to avoid illegible
1717 color combinations like yellow-on-white and white-on-white.
1718 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
1719
1720 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
1721
1722 * frameset.el (frameset-restore): When no frame is visible, do not
1723 generate a list of frames, just make visible the selected one.
1724
1725 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
1726
1727 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
1728 it only contains the repository root. (Bug#16897)
1729
1730 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
1731
1732 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
1733 only when `remote-file-name-inhibit-cache' is nil.
1734 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
1735
1736 2014-03-06 Martin Rudalics <rudalics@gmx.at>
1737
1738 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
1739 Fix doc-strings.
1740 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
1741 fit-frame-to-buffer variable. Fix doc-string.
1742 (fit-window-to-buffer): Set ONLY argument in call of
1743 fit-frame-to-buffer. Fix doc-string.
1744
1745 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
1746
1747 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
1748 (tramp-action-password): Clear password cache if needed.
1749 (tramp-read-passwd): Do not clear password cache.
1750
1751 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
1752 cache unless it is the first password request.
1753
1754 2014-03-06 Glenn Morris <rgm@gnu.org>
1755
1756 * simple.el (newline): Doc tweak.
1757
1758 * emacs-lisp/shadow.el (load-path-shadows-find):
1759 Ignore dir-locals. (Bug#12357)
1760
1761 2014-03-05 Glenn Morris <rgm@gnu.org>
1762
1763 * files.el (interpreter-mode-alist):
1764 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
1765
1766 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
1767
1768 * frameset.el (frameset--initial-params): Filter out null entries.
1769
1770 2014-03-05 Martin Rudalics <rudalics@gmx.at>
1771
1772 * window.el (window-min-height, window-min-width):
1773 Rewrite doc-strings.
1774 (window-body-size): Add PIXELWISE argument to make it consistent
1775 with its callees.
1776
1777 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
1778
1779 * finder.el (finder-mode-map, finder-mode-syntax-table):
1780 Revert part of 2014-02-28 change.
1781
1782 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
1783
1784 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
1785 (eww-setup-buffer): Clear next/prev/etc more reliably.
1786 (eww-textarea-map): [tab] doesn't work on tty.
1787 Reported by Mario Lang.
1788
1789 * net/shr.el (shr-map): Ditto.
1790
1791 2014-03-04 Glenn Morris <rgm@gnu.org>
1792
1793 * minibuffer.el (completion-hilit-commonality):
1794 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
1795
1796 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
1797
1798 * hilit-chg.el (hilit-chg-unload-function): New function.
1799 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
1800 (hilit-chg-map-changes): Prefer cardinal number to digit.
1801 (hilit-chg-display-changes): Reflow docstring.
1802 (highlight-changes-rotate-faces): Remove superfluous backslash.
1803
1804 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
1805
1806 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
1807 `tramp-send-command-and-check'.
1808
1809 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
1810
1811 * hexl.el (hexl-address-region, hexl-ascii-region)
1812 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
1813 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
1814 (hexl-forward-word, hexl-previous-line, hexl-next-line):
1815 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
1816 (hexl-mode): Doc fix.
1817 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
1818 (hexl-mode-ruler): Fix typos in docstrings.
1819
1820 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
1821 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
1822 Remove superfluous backslashes.
1823 (strokes-last-stroke, strokes-global-map, strokes-mode):
1824 Reflow docstrings.
1825 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
1826 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
1827 (strokes-distance-squared, strokes-global-set-stroke)
1828 (strokes-global-set-stroke-string): Doc fixes.
1829 (strokes-help): Fix typos; reflow docstring.
1830
1831 2014-03-04 Martin Rudalics <rudalics@gmx.at>
1832
1833 * window.el (window-in-direction): Fix doc-string.
1834
1835 2014-03-04 Glenn Morris <rgm@gnu.org>
1836
1837 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
1838 Explicit error if no grammar.
1839 (smie-config-save): Doc fix. Fix quote typo.
1840
1841 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
1842
1843 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
1844 electric-indent-mode-hook if we obey electric-indent-mode.
1845 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
1846 decide whether we obey electric-indent-mode.
1847 (c-change-set-fl-decl-start, c-extend-after-change-region):
1848 Silence warnings.
1849 (c-electric-indent-mode-hook): Assume we do want to obey
1850 electric-indent-mode.
1851
1852 * electric.el (electric-indent-mode-has-been-called): Remove.
1853 (electric-indent-mode): Fix accordingly.
1854
1855 * files.el (hack-local-variables): Mention file name in warning.
1856
1857 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
1858
1859 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
1860
1861 * bindings.el: Add comment describing why C-d binds to `delete-char'.
1862 * simple.el (delete-forward-char): Mark as interactive-only.
1863
1864 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
1865
1866 * icomplete.el (icomplete-completions):
1867 Follow-up to 2014-03-01 change.
1868
1869 * icomplete.el: Miscellaneous doc fixes.
1870 Use Icomplete everywhere instead of icomplete for consistency.
1871 (icomplete-max-delay-chars): Fix typo.
1872 (icomplete-mode): Use \[].
1873 (icomplete-tidy, icomplete-exhibit): Reflow.
1874 (icomplete-minibuffer-setup-hook, icomplete-completions):
1875 Remove superfluous backlashes.
1876
1877 * ido.el: Miscellaneous doc fixes.
1878 Use Ido everywhere instead of ido or `ido' for consistency.
1879 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
1880 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
1881 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
1882 (ido-separator): Extract obsolescence info from docstring and declare
1883 with make-obsolete-variable.
1884 (ido-minibuffer-setup-hook): Simplify example.
1885 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
1886 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
1887 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
1888 (ido-everywhere): Reflow docstring.
1889 (ido-toggle-vc): Doc fix.
1890 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
1891 of long list of keybindings.
1892
1893 2014-03-03 Glenn Morris <rgm@gnu.org>
1894
1895 * frame.el (display-pixel-height, display-pixel-width)
1896 (display-mm-dimensions-alist, display-mm-height)
1897 (display-mm-width): Doc tweaks.
1898
1899 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
1900
1901 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
1902 case of undo in region.
1903
1904 2014-03-02 Martin Rudalics <rudalics@gmx.at>
1905
1906 * window.el (fit-window-to-buffer): Fix argument in window-size
1907 call when window is horizontally combined.
1908
1909 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
1910
1911 * icomplete.el (icomplete-completions): Use string-width.
1912 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
1913
1914 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
1915
1916 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1917 Highlight regexp options. (Bug#16914)
1918
1919 2014-03-01 Martin Rudalics <rudalics@gmx.at>
1920
1921 * window.el (window--max-delta-1): Round down when calculating
1922 how many lines/columns we can get from a window.
1923
1924 2014-03-01 Glenn Morris <rgm@gnu.org>
1925
1926 * isearch.el (search-invisible): Doc fix.
1927
1928 * minibuffer.el (completion-hilit-commonality):
1929 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
1930 * comint.el (comint-dynamic-list-completions): Doc fix.
1931 * comint.el (comint-dynamic-list-completions):
1932 * filecache.el (file-cache-minibuffer-complete):
1933 * tempo.el (tempo-display-completions):
1934 * eshell/em-hist.el (eshell-list-history):
1935 Replace use of obsolete argument of display-completion-list.
1936
1937 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
1938
1939 * icomplete.el (icomplete-completions):
1940 Revert back to using "..." when ?… cannot be displayed.
1941
1942 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
1943
1944 * finder.el (finder-unload-function): New function.
1945
1946 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
1947
1948 * dframe.el (dframe-detach):
1949 * find-dired.el (find-dired, find-name-dired):
1950 * finder.el (finder-mode-map, finder-mode-syntax-table)
1951 (finder-headmark, finder-select, finder-mouse-select):
1952 Fix docstring typos.
1953
1954 2014-02-28 Martin Rudalics <rudalics@gmx.at>
1955
1956 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
1957 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
1958 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
1959 Fix doc-string based on a suggestion by Nicolas Richard
1960 <theonewiththeevillook@yahoo.fr>.
1961 * help.el (with-help-window): Fix doc-string.
1962
1963 2014-02-28 Ivan Kanis <ivan@kanis.fr>
1964
1965 * net/shr.el (shr-image-animate): New option.
1966 (shr-put-image): Respect shr-image-animate.
1967
1968 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
1969
1970 * net/tramp-adb.el (tramp-adb-parse-device-names):
1971 Use `accept-process-output'.
1972 (tramp-adb-handle-file-truename): Cache the localname only.
1973 (tramp-adb-handle-make-directory)
1974 (tramp-adb-handle-delete-directory): Flush file properties correctly.
1975 (tramp-adb-handle-set-file-modes): Do not raise an error when file
1976 modes cannot be changed.
1977
1978 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
1979 file properties of symlinks.
1980
1981 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
1982
1983 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
1984 required/optional fields to match development biblatex. (Bug#16781)
1985
1986 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
1987
1988 * saveplace.el (toggle-save-place):
1989 Fix argument handling. (Bug#16673)
1990
1991 2014-02-28 Glenn Morris <rgm@gnu.org>
1992
1993 * minibuffer.el (completions-first-difference)
1994 (completions-common-part, completion-hilit-commonality): Doc fixes.
1995
1996 2014-02-28 Karl Berry <karl@gnu.org>
1997
1998 * info.el (Info-mode-map): Add H for describe-mode,
1999 to synchronize with standalone Info.
2000
2001 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
2002
2003 * progmodes/sql.el (sql-interactive-mode):
2004 Avoid setting global comint-input-ring-separator. (Bug#16814)
2005
2006 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
2007
2008 * net/dbus.el (dbus--init-bus): Declare function.
2009 (dbus-path-local, dbus-interface-local): New defconst.
2010 (dbus-init-bus): Use them.
2011 (dbus-return-values-table): Extend doc.
2012 (dbus-handle-bus-disconnect): Extend error message.
2013
2014 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
2015
2016 * subr.el (y-or-n-p): Fix double space issue in message.
2017
2018 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
2019
2020 * net/tramp.el (tramp-call-process): Improve trace message.
2021 (tramp-handle-insert-file-contents): Trace error case.
2022
2023 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
2024 <insert-directory>: Use `tramp-handle-insert-directory'.
2025 (tramp-adb-handle-insert-directory): Remove function.
2026 (tramp-adb-send-command-and-check): New defun, replacing
2027 `tramp-adb-command-exit-status'. Change all callees.
2028 (tramp-adb-handle-file-attributes)
2029 (tramp-adb-handle-directory-files-and-attributes): Use it.
2030 (tramp-adb-ls-output-name-less-p):
2031 Use `directory-listing-before-filename-regexp'.
2032 (tramp-adb-handle-delete-directory): Flush also file properties of
2033 the truename of directory.
2034 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
2035 (tramp-adb-handle-file-local-copy): Make the local copy readable.
2036 (tramp-adb-handle-write-region): Implement APPEND.
2037 (tramp-adb-handle-rename-file): Make it more robust. Flush file
2038 properties correctly.
2039 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
2040 variables. Check for connected devices only when needed.
2041
2042 2014-02-27 Glenn Morris <rgm@gnu.org>
2043
2044 * minibuffer.el (completion-table-dynamic)
2045 (completion-table-with-cache): Doc fixes.
2046
2047 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
2048 (completing-read-multiple): Doc fixes.
2049
2050 2014-02-27 Daniel Colascione <dancol@dancol.org>
2051
2052 * minibuffer.el (completion--nth-completion): Fix indentation.
2053
2054 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
2055 explicit tramp path is empty.
2056
2057 2014-02-27 Glenn Morris <rgm@gnu.org>
2058
2059 * emacs-lisp/crm.el (completing-read-multiple):
2060 Empower help-enable-auto-load.
2061
2062 2014-02-26 Glenn Morris <rgm@gnu.org>
2063
2064 * startup.el (command-line): Don't init the tty in daemon mode.
2065
2066 Avoid calling tty-setup-hook twice, eg if a term file
2067 explicitly calls tty-run-terminal-initialization. (Bug#16859)
2068 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
2069 (tty-create-frame-with-faces): Use it.
2070 * startup.el (command-line): Pass run-hook argument
2071 to tty-run-terminal-initialization.
2072
2073 * dired.el (dired-restore-desktop-buffer): Demote errors;
2074 eg in case a glob match fails. (Bug#16884)
2075
2076 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
2077
2078 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
2079 error from `read-from-string'. (Bug#16850)
2080
2081 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
2082 result of `completing-read' in the interactive form. (Bug#16854)
2083
2084 2014-02-25 Glenn Morris <rgm@gnu.org>
2085
2086 * image.el (image-animate, image-animate-timeout):
2087 Stop animating images in dead buffers. (Bug#16878)
2088
2089 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
2090
2091 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
2092 Doc fixes.
2093 * startup.el (term-setup-hook): Doc fix. Make obsolete.
2094 * term/sun.el (sun-raw-prefix-hooks):
2095 Use tty-setup-hook instead of term-setup-hook.
2096 (terminal-init-sun): Construct message from bytecomp plist.
2097 * term/wyse50.el (enable-arrow-keys): Doc fix.
2098
2099 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
2100
2101 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
2102 Fix docstring typos.
2103
2104 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
2105
2106 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
2107
2108 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2109
2110 * minibuffer.el (completion--try-word-completion):
2111 Fix error when completing M-x commands (bug#16808).
2112
2113 2014-02-24 Leo Liu <sdl.web@gmail.com>
2114
2115 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
2116
2117 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
2118
2119 * apropos.el (apropos-print): Avoid formatting error when
2120 apropos-do-all and apropos-compact-layout are both t.
2121
2122 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
2123
2124 * apropos.el (apropos-property, apropos-all-words-regexp)
2125 (apropos-true-hit, apropos-variable, apropos-print):
2126 Fix docstring typos, and remove obsolete comment.
2127
2128 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
2129
2130 * net/tramp-sh.el (tramp-sh-handle-file-truename):
2131 Preserve trailing "/". (Bug#16851)
2132
2133 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
2134
2135 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
2136 after `=>' (bug#16811).
2137 (ruby-smie-rules): Handle the inconsistent second element of the
2138 list returned by `smie-indent--parent'.
2139 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
2140 method call.
2141
2142 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
2143
2144 * elec-pair.el (electric-pair-text-syntax-table)
2145 (electric-pair-syntax-info, electric-pair--syntax-ppss)
2146 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
2147 (electric-pair--looking-at-unterminated-string-p): Doc fix.
2148 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
2149
2150 2014-02-22 Glenn Morris <rgm@gnu.org>
2151
2152 * imenu.el (imenu--generic-function): Doc fix.
2153
2154 * register.el (frame-configuration-to-register): Make obsolete.
2155
2156 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
2157
2158 * desktop.el (desktop-save-buffer-p): Do not fail when
2159 desktop-files-not-to-save is nil. Return t for true result
2160 as the doc says.
2161
2162 2014-02-22 Daniel Colascione <dancol@dancol.org>
2163
2164 * net/secrets.el (secrets-create-item, secrets-search-items):
2165 Check that attribute values are strings, avoiding the construction
2166 of invalid dbus messages.
2167
2168 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2169
2170 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
2171 defun-declarations-alist.
2172
2173 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
2174
2175 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
2176 (bug#16829).
2177
2178 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2179
2180 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
2181 (whitespace-newline, whitespace-trailing, whitespace-line)
2182 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
2183 (whitespace-space-after-tab): Fix typo in docstrings.
2184
2185 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
2186
2187 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
2188
2189 * electric.el (electric-indent-functions-without-reindent):
2190 Add `yaml-indent-line'.
2191
2192 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2193
2194 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
2195 It has done nothing for years; should be removed after the release.
2196
2197 * simple.el (choose-completion): Fix docstring typo.
2198 (read-quoted-char-radix): Remove unneeded * in docstring.
2199 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
2200 Don't escape parentheses unnecessarily in docstrings.
2201
2202 2014-02-21 Martin Rudalics <rudalics@gmx.at>
2203
2204 Fix handling of window-min-height/-width (Bug#16738).
2205 * window.el (window--dump-window, window--dump-frame):
2206 New functions.
2207 (window--min-size-1): Account for window dividers.
2208 When window-resize-pixelwise is nil, delay rounding till after the
2209 sum of the window components has been calculated.
2210 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
2211 nil make sure at least one text line and two text columns remain
2212 fully visible.
2213 (window-resize): Signal an error when window-resize-apply fails.
2214 (window--resize-child-windows): Fix calculation of by how many
2215 pixels a window can still be shrunk via window-new-normal.
2216 (adjust-window-trailing-edge): Call window--resizable with
2217 correct TRAIL argument.
2218
2219 (with-temp-buffer-window): Don't evaluate BODY within
2220 with-current-buffer (Bug#16816).
2221
2222 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
2223
2224 * net/tramp.el (tramp-check-cached-permissions):
2225 Call `file-attributes' with `suffix' being a symbol but a string.
2226
2227 2014-02-21 Daniel Colascione <dancol@dancol.org>
2228
2229 * net/dbus.el (dbus-init-bus-1): Declare new subr.
2230 (dbus-init-bus): New function: call into dbus-init-bus-1
2231 and installs a handler for the disconnect signal.
2232 (dbus-call-method): Rewrite to look for result in cons.
2233 (dbus-call-method-handler): Store result in cons.
2234 (dbus-check-event): Recognize events with nil sender as valid.
2235 (dbus-handle-bus-disconnect): New function. React to bus
2236 disconnection signal by synthesizing dbus error for each
2237 pending synchronous or asynchronous call.
2238 (dbus-notice-synchronous-call-errors): New function.
2239 (dbus-handle-event): Raise errors directly only when `dbus-debug'
2240 is true, not all the time.
2241
2242 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2243
2244 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
2245 Remove obsolescence declarations, these variables do not exist anymore.
2246
2247 * savehist.el (savehist-save-minibuffer-history)
2248 (savehist-additional-variables, savehist-file, savehist-mode-hook)
2249 (savehist-save-hook, savehist-coding-system, savehist-loaded)
2250 (savehist-load, savehist-install, savehist-autosave): Fix typos;
2251 mostly, refer to "Savehist mode" when talking about the mode,
2252 and not the function.
2253
2254 * saveplace.el (save-place): Remove redundant info in docstring.
2255 (save-place-forget-unreadable-files, toggle-save-place)
2256 (save-place-forget-unreadable-files, save-place-dired-hook):
2257 Fix typos and remove unneeded backslashes.
2258
2259 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
2260
2261 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
2262 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
2263
2264 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
2265 <insert-directory>: Use `tramp-handle-insert-directory'.
2266 (tramp-gvfs-handle-insert-directory): Remove function.
2267
2268 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2269 Call `tramp-handle-insert-directory'.
2270
2271 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
2272
2273 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
2274 before the start of buffer/region (bug#16799).
2275
2276 2014-02-20 Glenn Morris <rgm@gnu.org>
2277
2278 * isearch.el (search-invisible): Doc fix.
2279
2280 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
2281
2282 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
2283 (bug#16657).
2284
2285 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
2286
2287 * frameset.el (frameset-restore): Delay removing an old frame's
2288 duplicate id until the new frame has been correctly created.
2289
2290 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
2291
2292 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
2293 (tramp-check-cached-permissions): Call `file-attributes' if the
2294 cache is empty.
2295
2296 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
2297 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
2298
2299 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
2300 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
2301 (tramp-gvfs-maybe-open-connection): Set always connection
2302 properties, even if target is mounted already.
2303
2304 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
2305 Set tramp-autoload cookie.
2306 (tramp-get-remote-touch): New defun.
2307 (tramp-sh-handle-set-file-times): Use it.
2308 (tramp-sh-handle-directory-files-and-attributes):
2309 Use `tramp-handle-directory-files-and-attributes' if neither stat
2310 nor perl are available on the remote host.
2311
2312 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
2313 "/". Write long listing only when "l" belongs to the switches.
2314
2315 * net/trampver.el: Update release number.
2316
2317 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
2318
2319 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
2320
2321 2014-02-19 Martin Rudalics <rudalics@gmx.at>
2322
2323 * window.el (window-state-put): Allow WINDOW to refer to an
2324 internal window (Bug#16793).
2325
2326 2014-02-19 Glenn Morris <rgm@gnu.org>
2327
2328 * textmodes/remember.el: Move provide statement to end.
2329 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
2330 (remember-notes): Doc fixes.
2331
2332 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
2333
2334 * delsel.el (delete-char): Restore incorrectly erased property
2335 (bug#16795).
2336
2337 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
2338
2339 * frameset.el (frameset--restore-frame): When a frame is being reused
2340 and its root window is not alive, delete all the frame's windows before
2341 restoring the window state. This works around the issue in bug#16793.
2342
2343 2014-02-18 Glenn Morris <rgm@gnu.org>
2344
2345 * textmodes/remember.el (remember-data-directory)
2346 (remember-directory-file-name-format, remember-store-in-files)
2347 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
2348 (remember-notes-save-and-bury-buffer)
2349 (remember-notes--kill-buffer-query): Doc fixes.
2350
2351 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
2352
2353 2014-02-17 Alan Mackenzie <acm@muc.de>
2354
2355 Connect electric-indent-mode up with CC Mode. Bug #15478.
2356 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
2357 to electric-indent-{,local-}-mode.
2358 (c-basic-common-init): Set electric-indent-inhibit.
2359 Initialise c-electric-flag from electric-indent-mode.
2360 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
2361 New hook functions which propagate electric-indent-mode to CC mode.
2362
2363 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
2364 hit, toggle electric-indent-local-mode.
2365
2366 * electric.el (electric-indent-mode-has-been-called):
2367 New variable.
2368
2369 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
2370
2371 * frameset.el (frameset-cfg-id): New function.
2372 (frameset--reuse-frame, frameset-restore): Use it.
2373 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
2374
2375 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
2376
2377 * ido.el (ido-file-internal): Remove unused var `d'.
2378 Use \` for to match BoS. Fit within 80n columns.
2379
2380 2014-02-17 Daniel Colascione <dancol@dancol.org>
2381
2382 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
2383 dbus-call-method check for completion using a busy-wait loop with
2384 gradual backoff.
2385
2386 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
2387
2388 Sync with Tramp 2.2.9.
2389
2390 * net/trampver.el: Update release number.
2391
2392 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
2393
2394 * ido.el (ido-file-internal): Don't add the name of an existing
2395 directory twice. (Bug#16747)
2396
2397 2014-02-16 Glenn Morris <rgm@gnu.org>
2398
2399 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
2400 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
2401
2402 2014-02-15 Michael R. Mauger <michael@mauger.com>
2403
2404 * progmodes/sql.el: Version 3.4
2405 (sql-oracle-options): New default value ("-L").
2406 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
2407 (sql-placeholders-filter): Correct placeholder pattern.
2408 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
2409 (sql-login-delay): New variable.
2410 (sql-product-interactive): Use it.
2411
2412 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
2413
2414 * frameset.el (frameset--jump-to-register): Check that buffer is live
2415 (bug#16749).
2416
2417 2014-02-15 Glenn Morris <rgm@gnu.org>
2418
2419 * info.el (info-initialize): Revert 2014-01-10 change.
2420
2421 2014-02-14 Glenn Morris <rgm@gnu.org>
2422
2423 * replace.el (map-query-replace-regexp)
2424 (read-regexp-defaults-function, read-regexp): Doc fixes.
2425
2426 * dired.el (dired-read-regexp):
2427 * faces.el (list-faces-display):
2428 * misearch.el (multi-isearch-read-matching-buffers)
2429 (multi-isearch-read-matching-files):
2430 * play/cookie1.el (cookie-apropos):
2431 * progmodes/grep.el (grep-read-regexp): Doc fixes.
2432
2433 * textmodes/remember.el (remember): Use frameset-to-register
2434 rather than frame-configuration-to-register.
2435
2436 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
2437
2438 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
2439 incorrect keybinding.
2440
2441 2014-02-13 Daniel Colascione <dancol@dancol.org>
2442
2443 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
2444 when adding overlays so that line numbers from compiler match line
2445 numbers we use.
2446
2447 2014-02-13 Glenn Morris <rgm@gnu.org>
2448
2449 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
2450
2451 * jit-lock.el (jit-lock-mode): Doc fix.
2452
2453 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
2454
2455 * apropos.el (apropos-read-pattern): When the user passes an empty
2456 string, give a more helpful error message than "Wrong type
2457 argument: stringp, nil".
2458
2459 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
2460
2461 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
2462
2463 2014-02-13 Glenn Morris <rgm@gnu.org>
2464
2465 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
2466
2467 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
2468
2469 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
2470 shift-select commands.
2471
2472 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
2473
2474 * progmodes/js.el (js-indent-line): Don't widen.
2475 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
2476
2477 2014-02-12 Glenn Morris <rgm@gnu.org>
2478
2479 * icomplete.el (icomplete): Add info-link to defgroup.
2480 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
2481 (icomplete-minibuffer-map, icomplete-mode)
2482 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
2483
2484 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
2485 (package-menu-filter): Rename from package-menu-filter-interactive.
2486 Doc fix.
2487
2488 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
2489
2490 * frameset.el (frameset--jump-to-register): Select the required
2491 window and buffer before restoring position (bug#16696).
2492
2493 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
2494
2495 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
2496
2497 2014-02-10 Glenn Morris <rgm@gnu.org>
2498
2499 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
2500
2501 2014-02-10 Eli Zaretskii <eliz@gnu.org>
2502
2503 * w32-common-fns.el (x-get-selection): Doc fix.
2504 * select.el (x-get-selection): Doc fix. (Bug#15109)
2505
2506 * face-remap.el (face-remap-add-relative)
2507 (face-remap-remove-relative, face-remap-reset-base)
2508 (face-remap-set-base): Call force-mode-line-update to redisplay
2509 the current buffer due to potential change in faces. (Bug#16709)
2510
2511 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
2512
2513 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
2514 script more robustly.
2515
2516 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
2517
2518 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
2519
2520 * simple.el (choose-completion): Doc fix (bug#14160).
2521
2522 * subr.el (event-start): Say what a nil EVENT value means.
2523
2524 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
2525 (bug#14197).
2526
2527 * progmodes/grep.el (find-program): Doc fix (bug#14289).
2528
2529 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
2530
2531 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
2532
2533 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
2534 predicate function (bug#15455).
2535
2536 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
2537
2538 * ielm.el (inferior-emacs-lisp-mode): Instead of
2539 `comment-use-global-state', set `comment-use-syntax'.
2540
2541 2014-02-10 Glenn Morris <rgm@gnu.org>
2542
2543 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
2544
2545 2014-02-09 Alan Mackenzie <acm@muc.de>
2546
2547 Fix c-invalidate-state-cache on narrowed buffers.
2548 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
2549 Widen when setting and clearing the CPP delimiter properties.
2550
2551 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
2552
2553 * help.el (describe-bindings): Doc fix (bug#9888).
2554
2555 * files.el (save-buffer): Use ARG as the parameter name for
2556 consistency (bug#10346).
2557 (save-buffer): Clarify the 0 argument (bug#10346).
2558
2559 * cus-edit.el (customize-apropos): Fix error string.
2560 (custom-buffer-create): Doc fix (bug#11122).
2561 (custom-sort-items): Doc fix (bug#11121).
2562
2563 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
2564
2565 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
2566 (icomplete-simple-completing-p): Mention the previous variable.
2567
2568 * font-lock.el (font-lock-value-in-major-mode): Clarify the
2569 meaning of the parameter (bug#12282).
2570
2571 * files.el (find-file-noselect): Clarify prompt when changing
2572 readedness (bug#13261).
2573 (locate-file): Suffixes aren't returned, so don't say that they
2574 are (bug#12674).
2575 (backup-inhibited): Doc clarification (bug#12525).
2576
2577 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
2578 before we actually start to delete things (bug#16331).
2579
2580 * subr.el (event-start): Doc fix (bug#14228).
2581 (event-end): Ditto.
2582
2583 2014-02-09 Glenn Morris <rgm@gnu.org>
2584
2585 * emacs-lisp/warnings.el (lwarn):
2586 Empower help-enable-auto-load. (Bug#15940)
2587
2588 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
2589
2590 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
2591 (Bug#16690)
2592
2593 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
2594
2595 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2596 Insert output at end of buffer. (Bug#16120)
2597
2598 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
2599
2600 * simple.el (choose-completion-string-functions): Document new
2601 calling convention (bug#14153).
2602 (execute-extended-command): Clarify doc string (bug#13373).
2603
2604 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
2605
2606 * find-dired.el (find-name-dired): Doc fix (bug#14290).
2607 (find-grep-dired): Doc fix (bug#14288).
2608
2609 2014-02-08 Juri Linkov <juri@jurta.org>
2610
2611 * isearch.el (isearch-quote-char): Check character validity
2612 like in `quoted-insert' (bug#16677).
2613
2614 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
2615
2616 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
2617
2618 * isearch.el (isearch-hide-immediately): Doc clarification
2619 (bug#14723).
2620
2621 * simple.el (line-move): Document utility function used many
2622 places in the Emacs sources (bug#14843).
2623
2624 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
2625 (dired-prev-marked-file): Doc fix (bug#14855).
2626 (dired-up-directory): Doc fix (bug#14848).
2627
2628 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
2629
2630 * files.el (file-relative-name): Doc fix (bug#15159).
2631
2632 * fringe.el (fringe-styles): Doc fix (bug#15239).
2633
2634 * isearch.el (isearch-filter-predicate): Documentation typo fix
2635 (bug#15474).
2636
2637 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
2638
2639 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
2640
2641 * replace.el (replace-match-maybe-edit): Doc clarification
2642 (bug#15632).
2643
2644 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
2645
2646 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
2647
2648 2014-02-08 Glenn Morris <rgm@gnu.org>
2649
2650 * help-fns.el (describe-variable):
2651 Check {file,dir}-local-variables-alist, and buffer-file-name,
2652 in the correct buffer.
2653
2654 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
2655
2656 * help-fns.el (describe-variable): Fix the case where
2657 a value is directory-local with no dir-locals file. (Bug#16635)
2658
2659 2014-02-08 Glenn Morris <rgm@gnu.org>
2660
2661 * abbrev.el (edit-abbrevs-mode):
2662 Derive from fundamental-mode. (Bug#16682)
2663
2664 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
2665
2666 * simple.el (quoted-insert): Check character validity (bug#16677).
2667
2668 2014-02-07 Juri Linkov <juri@jurta.org>
2669
2670 * desktop.el (desktop-read): Claim the lock when the owner is not
2671 the current process. (Bug#16157)
2672
2673 2014-02-07 Juri Linkov <juri@jurta.org>
2674
2675 * desktop.el (desktop-buffers-not-to-save): Change default from nil
2676 to "\\` ". (Bug#16651)
2677
2678 2014-02-07 Juri Linkov <juri@jurta.org>
2679
2680 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
2681 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
2682 (desktop-auto-save-cancel-timer): New function with some code from
2683 `desktop-auto-save-set-timer'.
2684 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
2685 Instead of setting `desktop-save-mode' to nil, call
2686 `desktop-save-mode' with arg 0. (Bug#16630)
2687
2688 2014-02-07 Glenn Morris <rgm@gnu.org>
2689
2690 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
2691 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
2692 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
2693
2694 * obsolete/iswitchb.el: Move to obsolete/.
2695 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
2696 since obsolete/ is not scanned for autoloads.
2697 * emacs-lisp/authors.el (authors-valid-file-names):
2698 Add iswitchb.el.
2699
2700 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
2701 Disable now non-functional find-file-hook.
2702
2703 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
2704
2705 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
2706 instead of ";" in order to avoid additional prompts. Let heredoc
2707 scripts read from tty. (Bug#16582)
2708 (tramp-send-command): No special handling of heredocs, it isn't
2709 necessary anymore.
2710
2711 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
2712
2713 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
2714 with a space (bug#16664). Limit the symbols considered to the ones
2715 that are bound or fbound (bug#16646).
2716
2717 2014-02-06 Glenn Morris <rgm@gnu.org>
2718
2719 * epa.el (epa-mail-aliases): Doc fix.
2720
2721 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
2722
2723 * emacs-lisp/lisp.el (lisp-completion-at-point):
2724 Use `completion-table-merge' instead of `completion-table-in-turn'
2725 (bug#16604).
2726
2727 * minibuffer.el (completion-table-merge): New function.
2728
2729 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
2730
2731 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
2732 (tramp-sh-handle-set-file-acl)
2733 (tramp-sh-handle-start-file-process)
2734 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
2735 (tramp-find-executable, tramp-send-command): Use it.
2736
2737 2014-02-05 Glenn Morris <rgm@gnu.org>
2738
2739 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
2740
2741 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
2742
2743 * progmodes/python.el (python-shell-send-string)
2744 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
2745
2746 2014-02-04 Anders Lindgren <andlind@gmail.com>
2747
2748 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
2749 the names (bug#16620).
2750
2751 2014-02-03 Martin Rudalics <rudalics@gmx.at>
2752
2753 * faces.el (window-divider): New default value. Rewrite doc-string.
2754 (window-divider-first-pixel, window-divider-last-pixel): New faces.
2755
2756 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
2757
2758 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
2759 `protected' and `public' can also be called without arguments.
2760
2761 2014-02-03 Glenn Morris <rgm@gnu.org>
2762
2763 * register.el (window-configuration-to-register)
2764 (frame-configuration-to-register): Unadvertise unused argument.
2765 * frameset.el (frameset-to-register): Remove unused argument.
2766
2767 * frameset.el (frameset-to-register):
2768 * kmacro.el (kmacro-to-register):
2769 * register.el (increment-register):
2770 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
2771 (calc-append-to-register, calc-prepend-to-register):
2772 * play/gametree.el (gametree-layout-to-register)
2773 (gametree-apply-register-layout):
2774 * textmodes/picture.el (picture-clear-rectangle-to-register)
2775 (picture-yank-rectangle-from-register):
2776 * vc/emerge.el (emerge-combine-versions-register):
2777 Use register-read-with-preview to read registers.
2778
2779 2014-02-03 João Távora <joaotavora@gmail.com>
2780
2781 * elec-pair.el (electric-pair-backward-delete-char): Don't error
2782 when at beginning of (possibly narrowed) buffer.
2783
2784 2014-02-02 Daniel Colascione <dancol@dancol.org>
2785
2786 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
2787 Also try to display local help from just before point.
2788
2789 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
2790
2791 c-parse-state. Don't "append-lower-brace-pair" in certain
2792 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
2793 recognised as a comment.
2794
2795 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
2796 as well as normal comment starter.
2797 (c-parse-state-get-strategy): Extra return possibility
2798 'back-and-forward.
2799 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
2800 return value list to indicate replacement of a brace-pair cons
2801 with its car.
2802 (c-parse-state-1): With 'back-and-forward, only call
2803 c-append-lower-brace-pair-to state-cache when cons-separated.
2804
2805 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
2806
2807 * term/ns-win.el (ns-suspend-error): New function.
2808 (ns-initialize-window-system): Add ns-suspend-error to
2809 suspend-hook (Bug#16612).
2810
2811 2014-02-02 Daniel Colascione <dancol@dancol.org>
2812
2813 * progmodes/cc-defs.el (c-find-assignment-for-mode):
2814 Make loading cc-mode silent.
2815
2816 2014-02-02 Daniel Colascione <dancol@dancol.org>
2817
2818 * comint.el (comint-prompt-read-only): Change doc to suggest
2819 remap keybinding.
2820
2821 2014-02-02 Glenn Morris <rgm@gnu.org>
2822
2823 * register.el (register-read-with-preview, point-to-register)
2824 (window-configuration-to-register, frame-configuration-to-register)
2825 (jump-to-register, number-to-register, view-register, insert-register)
2826 (copy-to-register, append-to-register, prepend-to-register)
2827 (copy-rectangle-to-register): Doc fixes.
2828
2829 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
2830
2831 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
2832 * emacs-lisp/find-func.el (find-function-C-source): Idem.
2833 * emacs-lisp/nadvice.el (advice--cd*r): New function.
2834 * help-fns.el (describe-function-1): Use it.
2835
2836 2014-02-02 Glenn Morris <rgm@gnu.org>
2837
2838 * register.el (register-preview-default): New function,
2839 split from register-preview.
2840 (register-preview-function): Rename from register-preview-functions,
2841 make it not a hook.
2842 (register-preview): Use register-preview-function.
2843 (register-read-with-preview): Error on non-character event. (Bug#16595)
2844
2845 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
2846
2847 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
2848 `:' before binary operators (bug#16609). Don't check for `:'
2849 before `[' and `(', or their syntax status. A percent literal
2850 can't end with either.
2851 (ruby-font-lock-keywords): For built-ins that require arguments,
2852 check that they're followed by something that looks like argument
2853 (bug#16610).
2854
2855 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
2856
2857 * subr.el (butlast): Document what an omitted N means (bug#13437).
2858 (nbutlast): Ditto.
2859
2860 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
2861
2862 * net/shr.el (shr-generic): Make into a defsubst to make the stack
2863 depth shallower (bug#16587).
2864 (shr-tag-svg): Respect `shr-inhibit-images'.
2865 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
2866
2867 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
2868
2869 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
2870 (ruby-smie-grammar): Make "." right-associative. Make its priority
2871 lower than the ternary and all binary operators.
2872 (ruby-smie-rules): Indent "(" relative to the first non-"."
2873 parent, or the first "." parent at indentation.
2874 Use `ruby-align-chained-calls' for indentation of "." tokens.
2875 (Bug#16593)
2876
2877 2014-01-31 Juri Linkov <juri@jurta.org>
2878
2879 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
2880 from `make-hash-table'.
2881
2882 * textmodes/ispell.el (ispell-init-process): Change message format
2883 to be consistent with other messages.
2884
2885 2014-01-31 Glenn Morris <rgm@gnu.org>
2886
2887 * delsel.el (delete-selection-mode): Doc fix.
2888
2889 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
2890 (trace-function-background): Doc fixes.
2891
2892 * ido.el (ido-use-virtual-buffers): Doc fix.
2893 Reset :version, since the default value has not changed.
2894
2895 * register.el (register-preview-delay, register-read-with-preview):
2896 Doc fixes.
2897
2898 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
2899 do not mess with mail-buffer position (fixes 2009-11-03 change).
2900 * progmodes/cc-mode.el (c-submit-bug-report):
2901 Check auto-fill-mode is bound. (Bug#16592)
2902
2903 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
2904
2905 * startup.el (fancy-splash-image-file): New function,
2906 split from fancy-splash-head.
2907 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
2908 so that we are both using the same image. (Bug#16574)
2909
2910 2014-01-30 Glenn Morris <rgm@gnu.org>
2911
2912 * simple.el (eval-expression): Doc fix.
2913
2914 * hexl.el (hexl-mode-hook):
2915 * ielm.el (ielm-mode-hook):
2916 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
2917 (lisp-interaction-mode-hook):
2918 * progmodes/cfengine.el (cfengine3-documentation-function):
2919 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
2920
2921 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2922
2923 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
2924 is a symbol (bug#16584).
2925
2926 2014-01-30 Glenn Morris <rgm@gnu.org>
2927
2928 * help.el (help-for-help-internal): Add "P" to text.
2929
2930 2014-01-29 Glenn Morris <rgm@gnu.org>
2931
2932 * simple.el (just-one-space, cycle-spacing): Doc fixes.
2933
2934 2014-01-28 Martin Rudalics <rudalics@gmx.at>
2935
2936 * window.el (fit-frame-to-buffer): Fix calculations for margins and
2937 height constraints.
2938
2939 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
2940
2941 * progmodes/hideif.el: Extend to full CPP expression syntax.
2942 (hif-token-alist): Add missing tokens.
2943 (hif-token-regexp): Add support for float/octal/hex immediates.
2944 (hif-string-literal-regexp): New const.
2945 (hif-tokenize): Recognize strings and float/octal/hex immediates.
2946 (hif-exprlist): New function.
2947 (hif-parse-if-exp): Use it.
2948 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
2949 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
2950 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
2951 (hif-logxor, hif-comma): New functions.
2952
2953 2014-01-28 Glenn Morris <rgm@gnu.org>
2954
2955 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
2956
2957 * indent.el (tab-stop-list): Doc fix. Add :version.
2958
2959 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
2960 (cvs-append-to-ignore): Add compatibility alias.
2961
2962 2014-01-27 Glenn Morris <rgm@gnu.org>
2963
2964 * dired.el (dired-hide-details-mode): Don't autoload it,
2965 since it cannot be used outside Dired buffers anyway.
2966
2967 * emulation/cua-base.el (cua-mode): Doc fix.
2968
2969 * dired.el (dired-hide-details-hide-symlink-targets)
2970 (dired-hide-details-hide-information-lines)
2971 (dired-hide-details-mode): Doc fixes.
2972
2973 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
2974 * strokes.el (strokes-file): Doc fix. Bump :version.
2975 (strokes-help): Doc fix.
2976 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
2977 * emulation/viper.el (viper): Doc fix for custom group.
2978 (top-level): Remove oh-so-no-longer-relevant text about vip.
2979 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
2980
2981 * ido.el (ido-save-directory-list-file):
2982 * saveplace.el (save-place-file):
2983 * calendar/timeclock.el (timeclock-file):
2984 * net/quickurl.el (quickurl-url-file):
2985 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
2986 * progmodes/idlwave.el (idlwave-config-directory):
2987 * textmodes/remember.el (remember-data-file):
2988 Bump :version.
2989
2990 2014-01-26 Glenn Morris <rgm@gnu.org>
2991
2992 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
2993 Doc fix. Make obsolete.
2994 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
2995
2996 * sort.el (delete-duplicate-lines): Doc fix.
2997
2998 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2999
3000 * progmodes/ada-mode.el (ada):
3001 * woman.el (woman): Link to info manual and Commentary section.
3002
3003 * progmodes/flymake.el (flymake):
3004 * nxml/nxml-mode.el (nxml):
3005 * net/eww.el (eww):
3006 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
3007 * htmlfontify.el (htmlfontify):
3008 * ses.el (ses):
3009 * epa.el (epa):
3010 * ido.el (ido): Link to info manual.
3011
3012 2014-01-25 Leo Liu <sdl.web@gmail.com>
3013
3014 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
3015
3016 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
3017
3018 * net/shr.el (shr-tag-img): Prefer the title over the alt text
3019 (bug#16537).
3020
3021 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
3022
3023 * net/eww.el (eww-download-callback):
3024 Fix reference to eww-download-directory.
3025
3026 * emacs-lisp/bytecomp.el (byte-compile-file):
3027 Remove unused local variable `file-name'.
3028
3029 2014-01-24 Glenn Morris <rgm@gnu.org>
3030
3031 * woman.el (woman-default-faces, woman-monochrome-faces):
3032 Fix obsolescence specification.
3033
3034 * subr.el (with-demoted-errors): Doc fix.
3035
3036 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
3037
3038 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
3039 (cl--macroexp-fboundp): New function.
3040 (cl--make-type-test): Use it.
3041
3042 2014-01-23 Glenn Morris <rgm@gnu.org>
3043
3044 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
3045 * simple.el (eval-expression): Doc fixes.
3046
3047 2014-01-22 Glenn Morris <rgm@gnu.org>
3048
3049 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
3050
3051 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
3052
3053 * emacs-lisp/package.el: Write files silently.
3054 (package-autoload-ensure-default-file, package--write-file-no-coding)
3055 (package-generate-description-file, package--download-one-archive)
3056 (package-install-from-archive): Tell `write-region' to stay quiet.
3057 (package-menu-mode, package-menu--print-info): Omit the Archive column
3058 if there's only one archive.
3059 (package-all-keywords, package--has-keyword-p): Remove dead code.
3060
3061 2014-01-22 Glenn Morris <rgm@gnu.org>
3062
3063 * version.el (emacs-bzr-version-bzr): Fix typo.
3064
3065 * version.el (emacs-repository-get-version):
3066 Check either .bzr or .git, but not both.
3067 Make the git case actually use the DIR argument, and return nil
3068 rather than the empty string.
3069 Avoid error if .git exists but the git executable is not found.
3070
3071 2014-01-22 Martin Rudalics <rudalics@gmx.at>
3072
3073 Fixes in window size functions around Bug#16430 and Bug#16470.
3074 * window.el (window-total-size, window-size): New argument ROUND.
3075 (window--min-delta-1, window-min-delta, window--max-delta-1):
3076 Be more conservative when calculating the numbers of lines or
3077 columns a window can shrink (Bug#16430).
3078 (fit-window-to-buffer): Simplify code.
3079 * term.el (term-window-width): Call window-body-width again.
3080
3081 2014-01-22 Glenn Morris <rgm@gnu.org>
3082
3083 * image.el (image-format-suffixes): Doc fix.
3084
3085 * international/quail.el (quail-define-package): Doc fix.
3086
3087 * emacs-lisp/authors.el (authors-valid-file-names)
3088 (authors-renamed-files-alist): Additions.
3089
3090 * vc/vc-git.el (vc-git-print-log): Remove --follow;
3091 reverts 2014-01-09 change. (Bug#16422)
3092
3093 * calc/calc-embed.el (thing-at-point-looking-at):
3094 * emacs-lisp/map-ynp.el (x-popup-dialog):
3095 * obsolete/lmenu.el (x-popup-dialog):
3096 * emacs-lisp/package.el (url-recreate-url):
3097 * mail/mailclient.el (clipboard-kill-ring-save):
3098 * subr.el (x-popup-dialog): Update declaration.
3099 * mail/rmail.el (rmail-mime-message-p):
3100 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
3101
3102 2014-01-21 Daniel Colascione <dancol@dancol.org>
3103
3104 * progmodes/sh-script.el (sh--inside-noncommand-expression):
3105 Correctly detect when we're inside an arithmetic expansion form
3106 containing nested parenthesis.
3107 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
3108 to detect cases where we shouldn't expand "<<" to a heredoc
3109 skeleton.
3110
3111 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
3112
3113 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
3114 (eldoc--message-command-p): New function.
3115 (eldoc-display-message-p): Use it.
3116 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
3117 message is not automatically erased for us.
3118 (eldoc-print-current-symbol-info): Erase previous message, if any.
3119
3120 2014-01-21 Tassilo Horn <tsdh@gnu.org>
3121
3122 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
3123 specify it's an interactive function.
3124
3125 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
3126 Fix regex used for scanning for citation keys which failed for
3127 citations with optional arguments.
3128
3129 2014-01-21 Leo Liu <sdl.web@gmail.com>
3130
3131 * simple.el (read--expression): Don't enable eldoc-mode.
3132
3133 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
3134
3135 * simple.el (move-beginning-of-line): Make sure we don't move forward
3136 (bug#16497).
3137
3138 2014-01-20 Juri Linkov <juri@jurta.org>
3139
3140 * saveplace.el (toggle-save-place, save-place-to-alist)
3141 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
3142 'dired-mode) before checking for dired-directory. (Bug#16477)
3143
3144 2014-01-20 Juri Linkov <juri@jurta.org>
3145
3146 * indent.el (indent-line-to): Use backward-to-indentation
3147 instead of back-to-indentation. (Bug#16461)
3148
3149 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
3150
3151 Revert some of the CANNOT_DUMP fix (Bug#16494).
3152 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
3153 but fixing this can wait until after the next release.
3154 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
3155
3156 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
3157
3158 * eshell/esh-mode.el (eshell-password-prompt-regexp):
3159 Use `password-word-equivalents'.
3160 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
3161 to t. (Bug#5664, Bug#13124)
3162
3163 2014-01-19 Alan Mackenzie <acm@muc.de>
3164
3165 Bind open-paren-in-column-0-is-defun-start to nil at some entry
3166 points.
3167 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
3168 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
3169 * progmodes/cc-mode.el (c-before-change, c-after-change)
3170 (c-font-lock-fontify-region): Bind it here.
3171
3172 2014-01-19 Martin Rudalics <rudalics@gmx.at>
3173
3174 * term.el (term-window-width): Call window-text-width instead of
3175 window-width (Bug#16470).
3176
3177 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
3178
3179 * simple.el (password-word-equivalents): Remove duplicates.
3180 Sort, to make this easier next time.
3181 Downcase. Omit ": " after "jelszó".
3182
3183 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
3184
3185 * term/common-win.el (saved-region-selection): Defvar it.
3186 (x-select-text): Set saved-region-selection (Bug#16382).
3187
3188 2014-01-18 Glenn Morris <rgm@gnu.org>
3189
3190 * emacs-lisp/authors.el (authors-aliases)
3191 (authors-renamed-files-alist): Add some entries.
3192
3193 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
3194
3195 * net/tramp.el (tramp-password-prompt-regexp):
3196 Use `password-word-equivalents' if available.
3197 (tramp-action-password, tramp-process-one-action)
3198 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
3199
3200 2014-01-17 Chong Yidong <cyd@gnu.org>
3201
3202 * simple.el (password-word-equivalents): New defcustom.
3203 * comint.el (comint-password-prompt-regexp): Use it. Bump version
3204 to 24.4.
3205 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
3206 to t. (Bug#13124)
3207
3208 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
3209
3210 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
3211 (ruby-align-to-stmt-keywords): Change the default value.
3212 Use `ruby-alignable-keywords' to generate the possible customization
3213 choices.
3214 (ruby-smie-rules): Instead of using a hardcoded list of alignable
3215 keywords, check against the value of `ruby-alignable-keywords'
3216 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
3217
3218 2014-01-17 Glenn Morris <rgm@gnu.org>
3219
3220 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
3221
3222 Make M-x authors return zero *Authors Errors* from current logs.
3223 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
3224 (authors-ignored-files): Add some entries, remove others.
3225 (authors-ambiguous-files, authors-valid-file-names):
3226 Add some entries.
3227 (authors-renamed-files-alist): Add, remove, and adjust entries.
3228 (authors-renamed-files-regexps): Add some entries.
3229 Remove some very broad ones. Make some entries `lax'.
3230 (authors-lax-changelogs): New constant.
3231 (authors-disambiguate-file-name): Treat top-level specially.
3232 (authors-lax-changelog-p): New function.
3233 (authors-canonical-file-name): Check file as written against
3234 authors-valid-file-names. Do not special-case etc/.
3235 Handle `lax' logs and authors-renamed-files-regexps elements.
3236
3237 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
3238
3239 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
3240 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
3241 callers.
3242
3243 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3244
3245 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
3246 Assume we're already in the proper buffer.
3247 Inspired by Anders Lindgren <andlind@gmail.com>.
3248 (follow-post-command-hook): Call it from the right buffer.
3249 (follow-comint-scroll-to-bottom): Adjust call.
3250 (follow-all-followers): Use get-buffer-window-list.
3251
3252 2014-01-15 Daniel Colascione <dancol@dancol.org>
3253
3254 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
3255 `buffer-file-name' in interactive-form so that we don't leave
3256 pathless file names in `file-name-history'.
3257
3258 2014-01-15 Juri Linkov <juri@jurta.org>
3259
3260 * indent.el (indent-rigidly): Set deactivate-mark to nil
3261 in transient indentation mode. (Bug#16438)
3262
3263 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
3264
3265 * emacs-lisp/package.el (package-desc-keywords): New function
3266 (Bug#16222).
3267 (describe-package-1, package-all-keywords)
3268 (package--has-keyword-p): Use it.
3269
3270 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3271
3272 * simple.el (define-alternatives): When creating the
3273 COMMAND-alternatives variable, assign COMMAND as its definition
3274 name so that `describe-variable' can relocate it.
3275
3276 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
3277
3278 * font-lock.el (font-lock-keywords): Fix typo in docstring
3279 (bug#16307).
3280
3281 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3282
3283 * ispell.el (ispell-region): Reset `in-comment' for new line
3284 instead of wrongly reset `add-coment' (bug#13577).
3285
3286 2014-01-14 Daiki Ueno <ueno@gnu.org>
3287
3288 * epa-file.el (epa-file-write-region): Encode the region according
3289 to `buffer-file-format'. Problem reported at:
3290 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
3291
3292 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
3293
3294 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
3295 so it applies in the right buffer (bug#16410).
3296
3297 2014-01-13 Daniel Colascione <dancol@dancol.org>
3298
3299 * textmodes/rst.el (rst-define-key): Provide deprecated
3300 keybindings through named functions instead of anonymous ones so
3301 that "??" doesn't appear in describe-mode output.
3302
3303 2014-01-13 Bastien Guerry <bzg@gnu.org>
3304
3305 * simple.el (define-alternatives): Call the selected command
3306 interactively. When setting `COMMAND--implementation' for the
3307 first time, tell the user how to chose another implementation.
3308 Enhance the docstring.
3309
3310 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3311
3312 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
3313 (log-edit--match-first-line): New function.
3314 (log-edit-font-lock-keywords): Use it.
3315 (log-edit-mode): Make jit-lock-defer-multiline work.
3316
3317 2014-01-13 Bastien Guerry <bzg@gnu.org>
3318
3319 * rect.el (rectangle-mark-mode): When the region is not active,
3320 display a message saying that the mark as been set and that
3321 rectangle mode is in use.
3322 (rectangle--highlight-for-redisplay): Only put an overlay with a
3323 visible vertical bar when (display-graphic-p) is non-nil.
3324 This partially fixes Bug#16403.
3325
3326 2014-01-13 Juri Linkov <juri@jurta.org>
3327
3328 * info.el (Info-find-file): Go to DIR before displaying the error
3329 about a nonexistent file if no previous Info file is visited.
3330 Use `user-error' instead of `error' for "Info file %s does not exist".
3331 (Info-find-node-2): In case of a nonexistent node in unwind forms
3332 go to the Top node if there is no previous node to revert to.
3333 (Bug#16405)
3334
3335 2014-01-13 Martin Rudalics <rudalics@gmx.at>
3336
3337 fit-frame/window-to-buffer code fixes including one for Bug#14096.
3338 * window.el (fit-frame-to-buffer): Fix doc-string.
3339 Respect window-min-height/-width. Fit pixelwise when
3340 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
3341 when avoiding that frame goes partially off-screen.
3342 (fit-window-to-buffer): Respect window-min-height/-width
3343 (Bug#14096).
3344
3345 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3346
3347 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
3348 after an empty line.
3349
3350 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
3351
3352 * net/shr.el (shr-render-region): Autoload.
3353
3354 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
3355
3356 * net/eww.el (eww-download-directory): Rename from
3357 `eww-download-path' (Bug#16419).
3358
3359 2014-01-12 Leo Liu <sdl.web@gmail.com>
3360
3361 * dired-x.el (dired-mode-map): Fix last change.
3362
3363 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
3364
3365 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
3366
3367 Spelling fixes.
3368 * emacs-lisp/generic.el (generic--normalize-comments):
3369 Rename from generic--normalise-comments. All uses changed.
3370 * play/bubbles.el (bubbles--neighborhood-score)
3371 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
3372 (bubbles--neighborhood-available)
3373 (bubbles--update-neighborhood-score):
3374 Rename from names with 'neighbourhood'. All uses changed.
3375
3376 2014-01-12 Leo Liu <sdl.web@gmail.com>
3377
3378 Re-implement the feature of showing eldoc info after editing.
3379 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
3380 (eldoc-edit-message-commands): New function.
3381 (eldoc-print-after-edit): New variable.
3382 (eldoc-pre-command-refresh-echo-area): Emit message only by
3383 eldoc-message-commands.
3384 (eldoc-mode): Restrict eldoc-message-commands to editing commands
3385 if eldoc-print-after-edit is set. (Bug#16346)
3386 * simple.el (read--expression): Enable eldoc-mode.
3387 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
3388
3389 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
3390 Eric S. Raymond <esr@thyrsus.com>
3391
3392 * version.el (emacs-repository-get-version): Enhance so the
3393 function works correctly in either a Bazaar or Git repo.
3394
3395 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
3396
3397 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
3398 Goes with removal of the joke manpages from /etc.
3399
3400 2014-01-10 Kenichi Handa <handa@gnu.org>
3401
3402 * mail/rmail.el (rmail-get-coding-system):
3403 Check rmail-get-coding-function before "funcall"ing it.
3404
3405 2014-01-10 Glenn Morris <rgm@gnu.org>
3406
3407 * emacs-lisp/authors.el (authors-fixed-entries):
3408 Update for files that no longer exist.
3409
3410 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
3411
3412 * version.el (emacs-bzr-get-version): Restore compatibilty with
3413 24.3 (Tested).
3414
3415 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
3416
3417 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
3418 and Podfile.
3419
3420 2014-01-10 Eli Zaretskii <eliz@gnu.org>
3421
3422 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
3423
3424 2014-01-10 Chong Yidong <cyd@gnu.org>
3425
3426 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
3427
3428 2014-01-10 Anders Lindgren <andlind@gmail.com>
3429
3430 * follow.el (follow-cache-command-list): Include right-char and
3431 left-char.
3432
3433 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
3434
3435 Spelling fixes.
3436 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
3437 * woman.el (woman-mark-horizontal-position):
3438 Rename from woman-mark-horizonal-position. Use changed.
3439
3440 2014-01-10 Glenn Morris <rgm@gnu.org>
3441
3442 * info.el (info-initialize): If running uninstalled, ensure our
3443 own info files are always found first, even if INFOPATH is set.
3444
3445 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
3446
3447 2014-01-09 David Engster <deng@randomsample.de>
3448
3449 * emacs-lisp/eieio-custom.el:
3450 * emacs-lisp/eieio-opt.el: Set generated autoload file to
3451 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
3452 * emacs-lisp/eieio.el: Regenerate autoloads.
3453
3454 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
3455
3456 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
3457 following renames. (Bug#8756)
3458
3459 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
3460
3461 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
3462 (bug#16382).
3463 (activate-mark): Add `no-tmm' argument.
3464 (set-mark, push-mark-command): Use it instead of running
3465 activate-mark-hook by hand.
3466
3467 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
3468
3469 In preparation for the move to git, sanitize out some
3470 Bazaar-specific names.
3471
3472 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
3473
3474 * version.el (emacs-bzr-version): Name changed to
3475 emacs-repository-version. Obsolete-variable alias made.
3476 * loadup.el: Follow through on this name change.
3477 * mail/emacsbug.el (report-emacs-bug): Factor out any
3478 assumption about the version control system in use.
3479
3480 2014-01-08 David Engster <deng@randomsample.de>
3481
3482 * help-fns.el (help-fns-describe-function-functions):
3483 New variable to call functions for augmenting help buffers.
3484 (describe-function-1): Remove explicit calls to
3485 `help-fns--compiler-macro', `help-fns--parent-mode' and
3486 `help-fns--obsolete'. Put them in above new variable instead, and
3487 call them through `run-hook-with-args'.
3488 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
3489 `eieio-describe-class'. Not meant for interactive use anymore,
3490 but to augment existing help buffers. Remove optional second
3491 argument. Create proper button for file location.
3492 Rewrite function to use `insert' instead of `princ' and `prin1' where
3493 possible.
3494 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
3495 (eieio-method-def, eieio-class-def): Move further up.
3496 (describe-method, describe-generic, eieio-describe-method):
3497 Remove aliases.
3498 (eieio-help-constructor, eieio-help-generic): Rename from
3499 `eieio-describe-constructor' and `eieio-describe-generic', resp.
3500 Rewrite to use `insert' in the current buffer and use proper help
3501 buttons.
3502 (eieio-help-find-method-definition)
3503 (eieio-help-find-class-definition): Also accept symbols as
3504 arguments.
3505 (eieio-help-mode-augmentation-maybee): Remove.
3506 (eieio-describe-class-sb): Use `describe-function'.
3507 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
3508 Add `eieio-help-generic' and `eieio-help-constructor'.
3509
3510 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
3511
3512 Spelling fixes.
3513 * language/china-util.el (hz-ascii-designation):
3514 Rename from hz-ascii-designnation.
3515 (hz-ascii-designation): Rename from hz-ascii-designnation.
3516 All uses changed.
3517
3518 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3519
3520 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
3521 package-alist.
3522
3523 2014-01-08 Bastien Guerry <bzg@gnu.org>
3524
3525 * emacs-lisp/package.el (package-delete):
3526 Correctly delete the package from package-alist.
3527
3528 2014-01-08 Daiki Ueno <ueno@gnu.org>
3529
3530 * emacs-lisp/package.el (url-recreate-url): Declare.
3531 (url-http-target-url): Declare.
3532 (package-handle-response): Include requested URL in the error message.
3533 (package--check-signature): Don't re-signal errors from
3534 package--with-work-buffer. Suggested by Stefan Monnier.
3535
3536 2014-01-07 Bastien Guerry <bzg@gnu.org>
3537
3538 * minibuffer.el (completion--try-word-completion): When both a
3539 hyphen and a space are possible candidates for the character
3540 following a word, display both candidates. (Bug#15980)
3541
3542 2014-01-07 Martin Rudalics <rudalics@gmx.at>
3543
3544 * window.el (balance-windows-2): While rounding don't give a
3545 window more than the remainder. Bug#16351, bug#16383.
3546
3547 2014-01-07 Glenn Morris <rgm@gnu.org>
3548
3549 * menu-bar.el (menu-bar-help-extra-packages): Remove.
3550 (menu-bar-help-menu): Use view-external-packages instead.
3551
3552 2014-01-07 Bastien Guerry <bzg@gnu.org>
3553
3554 * emacs-lisp/package.el (package-delete): Also delete the package
3555 name from `package-alist', not its description only.
3556
3557 2014-01-07 Glenn Morris <rgm@gnu.org>
3558
3559 * help.el (view-external-packages):
3560 * menu-bar.el (menu-bar-help-extra-packages):
3561 Visit efaq.info rather than etc/MORE.STUFF.
3562
3563 2014-01-07 Juri Linkov <juri@jurta.org>
3564
3565 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
3566 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
3567
3568 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
3569 that shadows RET. (Bug#16342)
3570
3571 2014-01-07 Chong Yidong <cyd@gnu.org>
3572
3573 * isearch.el (isearch-yank-char, isearch-yank-word)
3574 (isearch-yank-line): Doc fix.
3575
3576 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
3577
3578 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
3579 * emacs-lisp/elint.el (elint-find-builtins):
3580 * emacs-lisp/eldoc.el (eldoc-symbol-function):
3581 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
3582 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
3583 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
3584 * apropos.el (apropos-safe-documentation):
3585 * subr.el (symbol-file): Remove redundant fboundp.
3586 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
3587
3588 2014-01-06 Bastien Guerry <bzg@gnu.org>
3589
3590 * hl-line.el (global-hl-line-overlay): Make a local variable.
3591 (global-hl-line-overlays): New variable to store all overlays.
3592 (global-hl-line-mode): Don't delete overlays from the current
3593 buffer when `global-hl-line-sticky-flag' is non-nil.
3594 (global-hl-line-highlight): Add new overlays to
3595 `global-hl-line-overlays'.
3596 (global-hl-line-unhighlight-all): New function to delete all
3597 overlays when turning off `global-hl-line-mode'.
3598 This fixes Bug#16183.
3599
3600 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
3601
3602 * subr.el (set-transient-map): Fix nested case and docstring.
3603
3604 2014-01-06 Tassilo Horn <tsdh@gnu.org>
3605
3606 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
3607 `Texinfo' entry.
3608
3609 2014-01-06 Daniel Colascione <dancol@dancol.org>
3610
3611 Fix defun navigation in vc log view.
3612
3613 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
3614 like `beginning-of-defun'.
3615 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
3616 log-view-end-of-defun to log-view-end-of-defun-1. Replace
3617 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
3618 (log-view-extract-comment): Call `log-view-current-entry' directly
3619 instead of relying on broken `log-view-beginning-of-defun' behavior.
3620
3621 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
3622
3623 Spelling fixes.
3624 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
3625 * emacs-lisp/debug.el (cancel-debug-on-entry):
3626 * epg.el (epg-error-to-string):
3627 * files.el (recover-file):
3628 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
3629 * mail/emacsbug.el (report-emacs-bug-hook):
3630 * mail/sendmail.el (mail-recover):
3631 * ses.el (ses-yank-resize):
3632 * term/ns-win.el (ns-print-buffer):
3633 Spelling fixes in diagnostics, mostly for "canceled" with one L.
3634 * epg.el (epg-key-capability-alist): Rename from misspelled version.
3635 All uses changed.
3636 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
3637
3638 2014-01-06 Leo Liu <sdl.web@gmail.com>
3639
3640 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
3641 to avoid shadowing global key. (Bug#16354)
3642
3643 2014-01-06 Daniel Colascione <dancol@dancol.org>
3644
3645 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
3646 rst-mode.
3647
3648 2014-01-05 Martin Rudalics <rudalics@gmx.at>
3649
3650 * window.el (balance-windows): Add mising t to fix Bug#16351.
3651
3652 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3653
3654 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
3655 (bug#16285).
3656 (shr-insert): If we have a word that's longer than `shr-width',
3657 break after it anyway. Otherwise we'll do no breaking once we get
3658 such a long word.
3659
3660 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3661
3662 * net/eww.el (eww): Support single/double quote for search.
3663 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
3664 (eww-history-quit): Delete and use quit-window.
3665 (eww-history-kill): Delete, because it doesn't work well and
3666 not necessary.
3667 (eww-history-mode-map): Delete some keys and add easy-menu.
3668
3669 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
3670
3671 Fix misspelling of 'chinese' in rx (Bug#16237).
3672 * emacs-lisp/rx.el (rx-categories): Correct spelling of
3673 chinese-two-byte.
3674
3675 Change subword regexps back to vars (Bug#16296).
3676 * progmodes/subword.el (subword-forward-regexp)
3677 (subword-backward-regexp): Change these back to variables.
3678
3679 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
3680
3681 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
3682 syntax-begin-function (bug#16247).
3683
3684 2014-01-03 Chong Yidong <cyd@gnu.org>
3685
3686 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
3687 (advice--docstring): Delete variable.
3688 (advice--make-1): Leave the docstring empty.
3689 (advice-add): Use function-documentation for advised docstring.
3690
3691 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
3692 Ignore function-documentation property when getting documentation.
3693 (ad-activate-advised-definition): Use function-documentation
3694 generate the docstring.
3695 (ad-make-advised-definition): Don't call
3696 ad-make-advised-definition-docstring.
3697 (ad-make-advised-definition-docstring, ad-advised-definition-p):
3698 Delete functions.
3699
3700 * progmodes/sql.el (sql-help): Use function-documentation instead
3701 of dynamic-docstring-function property. No need to autoload now.
3702 (sql--help-docstring): New variable.
3703 (sql--make-help-docstring): Use it.
3704
3705 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
3706
3707 * ielm.el (ielm-tab): Retarget.
3708 (ielm-map): Use ielm-tab for tab.
3709 (ielm-complete-filename): Use comint-filename-completion.
3710 (ielm-complete-symbol): Remove.
3711 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
3712 remove ielm-tab from completion-at-point-functions (bug#16224).
3713
3714 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
3715 Beware signals raised by predicates (bug#16201).
3716
3717 2014-01-02 Richard Stallman <rms@gnu.org>
3718
3719 * dired-aux.el (dired-do-print): Handle printer-name.
3720
3721 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
3722 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
3723 (rmail-epa-decrypt): Turn off mime processing.
3724
3725 * mail/rmail.el (rmail-make-in-reply-to-field):
3726 Add parens in message-id.
3727
3728 * mail/rmail.el (rmail-get-coding-function): Variable.
3729 (rmail-get-coding-system): Use it.
3730
3731 2013-12-31 Eli Zaretskii <eliz@gnu.org>
3732
3733 * international/mule-conf.el: Unify the charset indian-is13194.
3734 (indian-is13194): Specify unify-map.
3735
3736 2013-12-31 Leo Liu <sdl.web@gmail.com>
3737
3738 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
3739
3740 2013-12-30 Daniel Colascione <dancol@dancol.org>
3741
3742 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
3743 of printing a useless when we resume from sleep.
3744
3745 * progmodes/sh-script.el
3746 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
3747 in indentation code. (Bug#16233)
3748
3749 2013-12-28 João Távora <joaotavora@gmail.com>
3750
3751 * elec-pair.el (electric-pair-post-self-insert-function):
3752 Don't open extra newlines at beginning of buffer. (Bug#16272)
3753
3754 2013-12-28 Eli Zaretskii <eliz@gnu.org>
3755
3756 * frame.el (window-system-for-display): Don't allow to create a
3757 GUI frame from a -nw session on MS-Windows. (Bug#14739)
3758
3759 2013-12-28 Glenn Morris <rgm@gnu.org>
3760
3761 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
3762 Update callers.
3763
3764 * apropos.el (apropos-match-face):
3765 * calculator.el (calculator-displayer):
3766 * dabbrev.el (dabbrev-search-these-buffers-only):
3767 * face-remap.el (buffer-face-mode-face):
3768 * simple.el (yank-handled-properties):
3769 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
3770 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
3771 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
3772 (hashcash-double-spend-database):
3773 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
3774 (ruby-deep-indent-paren-style):
3775 * textmodes/flyspell.el (flyspell-auto-correct-binding):
3776 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
3777 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
3778 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
3779 Specify custom types.
3780
3781 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
3782 * bookmark.el (bookmark-bmenu-use-header-line):
3783 * doc-view.el (doc-view-scale-internally):
3784 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
3785 * register.el (register-preview-delay):
3786 * net/shr.el (shr-bullet):
3787 * progmodes/cfengine.el (cfengine-cf-promises)
3788 (cfengine-parameters-indent):
3789 * progmodes/octave.el (inferior-octave-error-regexp-alist):
3790 * textmodes/reftex-vars.el (reftex-label-regexps):
3791 * vc/log-edit.el (log-edit-setup-add-author): Add version.
3792
3793 * net/tls.el (tls-certtool-program): Fix default value.
3794
3795 * desktop.el (desktop-restore-in-current-display):
3796 * newcomment.el (comment-empty-lines):
3797 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
3798 (idlwave-pad-keyword):
3799 * progmodes/tcl.el (tcl-tab-always-indent):
3800 * textmodes/reftex-vars.el (reftex-index-default-tag):
3801 * elec-pair.el (electric-pair-skip-whitespace):
3802 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
3803
3804 * emacs-lisp/authors.el (authors-ignored-files)
3805 (authors-valid-file-names, authors-renamed-files-alist): Additions.
3806
3807 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
3808
3809 * shell.el (shell-dynamic-complete-command): Doc fix.
3810 (shell--command-completion-data): Shell completion now matches
3811 executable filenames from the current buffer's directory, on
3812 systems in which this behavior is the default (windows-nt, ms-dos).
3813
3814 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
3815
3816 * net/shr.el (shr-insert): Don't infloop if the width is zero.
3817
3818 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
3819
3820 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
3821 (bug#16251).
3822
3823 * electric.el: Move all electric-pair-* to elec-pair.el.
3824 * elec-pair.el: New file, split from electric.el.
3825
3826 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
3827
3828 * net/shr.el (shr-find-fill-point): Don't try to fill if the
3829 indentation level is larger than the width, because that will
3830 infloop.
3831 (shr-insert): Fill repeatedly long texts, so that Japanese is
3832 formatted correctly (bug#16263).
3833 (shr-find-fill-point): Off by one error in comparison with the
3834 indentation.
3835
3836 2013-12-26 João Távora <joaotavora@gmail.com>
3837
3838 * electric.el (electric-pair-mode): More flexible engine for skip-
3839 and inhibit predicates, new options for pairing-related functionality.
3840 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
3841 if that keeps or improves their balance in buffers.
3842 (electric-pair-delete-adjacent-pairs): Delete the pair when
3843 backspacing over adjacent matched delimiters.
3844 (electric-pair-open-extra-newline): Open extra newline when
3845 inserting newlines between adjacent matched delimiters.
3846 (electric--sort-post-self-insertion-hook):
3847 Sort post-self-insert-hook according to priority values when
3848 minor-modes are activated.
3849 * simple.el (newline-and-indent): Call newline with interactive
3850 set to t.
3851 (blink-paren-post-self-insert-function): Set priority to 100.
3852 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3853 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
3854 comments. Locally set electric-pair-skip-whitespace to 'chomp and
3855 electric-pair-open-newline-between-pairs to nil.
3856
3857 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
3858
3859 * progmodes/python.el: Use lexical-binding.
3860 (python-nav-beginning-of-defun): Stop searching ASAP.
3861
3862 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
3863
3864 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
3865 Fix interactive spec. Doc fix. (Bug#15754)
3866
3867 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
3868
3869 * emacs-lisp/byte-run.el (eval-when-compile):
3870 * progmodes/cc-defs.el (cc-eval-when-compile):
3871 Fix edebug spec (bug#16184).
3872
3873 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
3874
3875 * net/shr.el (shr-visit-file): Remove debugging function.
3876 (shr-insert): Don't infloop if we can't find a good place to break
3877 the line (bug#16256).
3878
3879 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
3880
3881 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
3882 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
3883 python-nav-lisp-forward-sexp-safe.
3884 (python-nav--forward-sexp): New argument SAFE allows switching
3885 forward sexp movement behavior for parens.
3886 (python-nav-forward-sexp): Throw errors on unterminated parens
3887 (Bug#16191).
3888 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
3889 (python-nav-backward-sexp-safe): New functions.
3890 (python-shell-buffer-substring):
3891 Use `python-nav-forward-sexp-safe'.
3892
3893 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
3894
3895 * net/shr.el (shr-find-fill-point): Don't break lines before a
3896 quotation mark.
3897 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
3898 (shr-find-fill-point): Remove the special checks for the quotation
3899 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
3900
3901 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3902
3903 * net/eww.el (eww-form-textarea): Use a different face for
3904 textareas than text input since they have different keymaps
3905 (bug#16142).
3906
3907 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
3908
3909 * progmodes/python.el (python-nav-beginning-of-statement):
3910 Speed up (Bug#15295).
3911
3912 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
3913
3914 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
3915 the window configuration.
3916
3917 2013-12-24 Eli Zaretskii <eliz@gnu.org>
3918
3919 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
3920 we run on MS-Windows or MS-DOS.
3921
3922 2013-12-24 Martin Rudalics <rudalics@gmx.at>
3923
3924 * window.el (balance-windows-area): Call window-size instead of
3925 window-height and window-width. Bug#16241.
3926
3927 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
3928
3929 * net/eww.el (eww-bookmark-quit): Remove.
3930 (eww-bookmark-browse): Restore the window configuration when you
3931 choose a bookmark (bug#16144).
3932
3933 2013-12-24 Daniel Colascione <dancol@dancol.org>
3934
3935 * icomplete.el: Remove redundant :group arguments to `defcustom'
3936 throughout.
3937 (icomplete-show-matches-on-no-input): New customizable variable.
3938 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
3939 we have something to show.
3940 (icomplete-exhibit): Compute completions even if we have no user input.
3941
3942 2013-12-23 Daniel Colascione <dancol@dancol.org>
3943
3944 * icomplete.el: Move `provide' to end of file.
3945
3946 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
3947
3948 * net/gnutls.el (gnutls-verify-error): Add version tag.
3949
3950 2013-12-23 Chong Yidong <cyd@gnu.org>
3951
3952 * subr.el (set-transient-map): Rename from
3953 set-temporary-overlay-map. Doc fix.
3954
3955 * face-remap.el (text-scale-adjust):
3956 * indent.el (indent-rigidly):
3957 * kmacro.el (kmacro-call-macro):
3958 * minibuffer.el (minibuffer-force-complete):
3959 * repeat.el (repeat):
3960 * simple.el (universal-argument--mode):
3961 * calendar/todo-mode.el (todo-insert-item--next-param):
3962 * progmodes/f90.el (f90-abbrev-start): Callers changed.
3963
3964 * indent.el (indent-rigidly): Use substitute-command-keys.
3965
3966 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3967
3968 * net/eww.el (eww-tag-select): Add text-property to jump to next
3969 select field.
3970 (eww): Add non-supported ftp error.
3971
3972 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
3973
3974 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
3975 comments. Handle electric indent after typing `?' and `!'.
3976
3977 2013-12-22 Chong Yidong <cyd@gnu.org>
3978
3979 * faces.el (face-spec-recalc): If the theme specs are not
3980 applicable to a frame, fall back on the defface spec.
3981 This prevents themes from obliterating faces on low-color terminals.
3982
3983 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
3984
3985 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
3986 after `{'. We need it after block openers, and it doesn't seem
3987 to hurt after hash openers.
3988
3989 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
3990
3991 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
3992 extracted from `ruby-smie-rules'.
3993 (ruby--electric-indent-chars): New variable.
3994 (ruby--electric-indent-p): New function.
3995 (ruby-mode): Use `electric-indent-functions' instead of
3996 `electric-indent-chars'.
3997
3998 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
3999
4000 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
4001 docstring.
4002 (ruby-smie-rules): Indent plus one level after `=>'.
4003
4004 2013-12-21 Richard Stallman <rms@gnu.org>
4005
4006 * simple.el (newline): Doc fix.
4007
4008 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4009
4010 * net/eww.el (eww-list-histories, eww-list-histories)
4011 (eww-history-browse, eww-history-quit, eww-history-kill)
4012 (eww-history-mode-map, eww-history-mode): New command and
4013 functions to list browser histories.
4014 (eww-form-text): Support text form with disabled
4015 and readonly attributes.
4016 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
4017
4018 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4019
4020 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
4021 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
4022 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
4023 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
4024 Use `user-error'.
4025 (eww-bookmark-mode-map): Add menu.
4026 (eww-render, eww-mode): Use `setq-local'.
4027 (eww-tool-bar-map): New variable.
4028 (eww-mode): Set `tool-bar-map'.
4029 (eww-view-source): Check for `html-mode' with `fboundp'.
4030
4031 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4032
4033 * net/shr.el (shr--extract-best-source): Don't bug out on audio
4034 elements with text inside. Also remove debugging.
4035
4036 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
4037
4038 * cus-start.el (all): Add ns-use-srgb-colorspace.
4039
4040 2013-12-21 Chong Yidong <cyd@gnu.org>
4041
4042 * custom.el (custom-theme-recalc-face): Do nothing if the face is
4043 undefined. Thus, theme settings for undefined faces do not take
4044 effect until the faces are defined with defface, the same as with
4045 theme variables.
4046
4047 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
4048 (face-spec-reset-face): Don't assign extra properties in temacs.
4049 (face-spec-recalc): Apply X resources too.
4050
4051 2013-12-21 Chong Yidong <cyd@gnu.org>
4052
4053 * faces.el (face-spec-set):
4054 * cus-face.el (custom-theme-set-faces, custom-set-faces):
4055 * custom.el (defface): Doc fixes (Bug#16203).
4056
4057 * indent.el (indent-rigidly-map): Add docstring, and move commands
4058 into named functions.
4059 (indent-rigidly-left, indent-rigidly-right)
4060 (indent-rigidly-left-to-tab-stop)
4061 (indent-rigidly-right-to-tab-stop): New functions. Decide on
4062 indentation direction based on bidi direction, and accumulate
4063 sequential commands in a single undo boundary.
4064 (indent-rigidly--pop-undo): New utility function.
4065
4066 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
4067
4068 * faces.el (read-face-name): Require crm.el when using crm-separator.
4069
4070 2013-12-20 Daniel Colascione <dancol@dancol.org>
4071
4072 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
4073 so that we don't reflow comments into the shebang line.
4074
4075 2013-12-20 Juri Linkov <juri@jurta.org>
4076
4077 * saveplace.el (save-place-to-alist): Add `dired-filename' as
4078 a position when `dired-directory' is non-nil. Check integer
4079 positions with `integerp'.
4080 (toggle-save-place, save-places-to-alist): Add check for
4081 `dired-directory'.
4082 (save-place-find-file-hook): Check integer positions with
4083 `integerp'.
4084 (save-place-dired-hook): Use `dired-goto-file' when
4085 `dired-filename' is found in the assoc list. Check integer
4086 positions with `integerp'.
4087 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
4088
4089 * dired.el (dired-initial-position-hook): Rename back from
4090 `dired-initial-point-hook'.
4091 (dired-initial-position): Rename `dired-initial-point-hook' to
4092 `dired-initial-position-hook'.
4093 (dired-file-name-at-point): Doc fix. (Bug#15329)
4094
4095 2013-12-20 Juri Linkov <juri@jurta.org>
4096
4097 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
4098 (read-regexp-suggestions): New function.
4099 (read-regexp): Use `read-regexp-defaults-function' to get default values.
4100 Use `read-regexp-suggestions'. Add non-empty default to history
4101 for empty input.
4102 (occur-read-regexp-defaults-function): Remove function.
4103 (occur-read-primary-args): Use `regexp-history-last' instead of
4104 `occur-read-regexp-defaults-function'.
4105
4106 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
4107 (hi-lock-line-face-buffer, hi-lock-face-buffer)
4108 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
4109 `hi-lock-read-regexp-defaults-function'. Doc fix.
4110 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
4111 with `find-tag-default-as-symbol-regexp'. Doc fix.
4112 (hi-lock-read-regexp-defaults): Remove function.
4113 (hi-lock-regexp-okay): Add check for null.
4114
4115 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
4116 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
4117
4118 * subr.el (find-tag-default-as-symbol-regexp): New function.
4119 (find-tag-default-as-regexp): Move symbol regexp formatting to
4120 `find-tag-default-as-symbol-regexp'.
4121
4122 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
4123
4124 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
4125 (Bug#14179)
4126
4127 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
4128
4129 * calendar/todo-mode.el: New implementation of item insertion
4130 commands and key bindings.
4131 (todo-key-prompt): New face.
4132 (todo-insert-item): New command.
4133 (todo-insert-item--parameters): New defconst, replacing defvar
4134 todo-insertion-commands-args-genlist.
4135 (todo-insert-item--param-key-alist): New defconst, replacing
4136 defvar todo-insertion-commands-arg-key-list.
4137 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
4138 (todo-insert-item--argsleft, todo-insert-item--apply-args)
4139 (todo-insert-item--next-param): New functions.
4140 (todo-insert-item--args, todo-insert-item--argleft)
4141 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
4142 New variables.
4143 (todo-key-bindings-t): Change binding of "i" from
4144 todo-insertion-map to todo-insert-item.
4145 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
4146 (todo-insertion-command-name, todo-insertion-commands-names)
4147 (todo-define-insertion-command, todo-insertion-commands)
4148 (todo-insertion-key-bindings, todo-insertion-map): Remove.
4149
4150 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
4151
4152 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
4153 (todo-toggle-item-highlighting): Use eval-and-compile instead of
4154 eval-when-compile.
4155 (todo-move-category): Allow choosing a non-existing todo file to
4156 move the category to, and create that file.
4157 (todo-default-priority): New user option.
4158 (todo-set-item-priority): Use it.
4159 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
4160 (desktop-restore-file-buffer): Declare.
4161 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
4162 (todo-modes-set-2): Locally set desktop-save-buffer to
4163 todo-desktop-save-buffer.
4164 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
4165 (auto-mode-alist): Add autoload cookie.
4166
4167 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
4168
4169 * emacs-lisp/subr-x.el: Renamed from helpers.el.
4170 helpers.el was a poor choice of name.
4171 (string-remove-prefix): New function.
4172 (string-remove-suffix): New function.
4173
4174 2013-12-20 Martin Rudalics <rudalics@gmx.at>
4175
4176 Fix assignment for new window total sizes.
4177 * window.el (window--pixel-to-size): Remove function.
4178 (window--pixel-to-total-1, window--pixel-to-total):
4179 Fix calculation of new total sizes.
4180
4181 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
4182
4183 * comint.el (comint-output-filter): Fix rear-nonsticky property
4184 placement (Bug#16010).
4185
4186 2013-12-20 Chong Yidong <cyd@gnu.org>
4187
4188 * faces.el (read-color): Minor fix for completion function.
4189
4190 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
4191
4192 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
4193 New option. (Bug#16182)
4194 (ruby-smie--indent-to-stmt-p): Use it.
4195 (ruby-smie-rules): Revert the logic in the handling of `when'.
4196 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
4197 (ruby-deep-arglist, ruby-deep-indent-paren)
4198 (ruby-deep-indent-paren-style): Update docstrings to note that the
4199 vars don't have any effect with SMIE.
4200
4201 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
4202
4203 * calc/calc.el (calc-enter, calc-pop): Use the variable
4204 `calc-context-sensitive-enter'.
4205
4206 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
4207
4208 * net/shr.el (shr-insert): Protect against infloops in degenerate
4209 tables.
4210
4211 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4212
4213 * progmodes/octave.el (octave): Add link to manual and octave
4214 homepage.
4215 (octave-mode-menu): Link to octave-mode manual.
4216
4217 2013-12-20 Leo Liu <sdl.web@gmail.com>
4218
4219 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
4220 insertion using skeleton-end-newline. (Bug#16138)
4221
4222 2013-12-20 Juri Linkov <juri@jurta.org>
4223
4224 * replace.el (occur-engine): Use `add-face-text-property'
4225 to add the face property to matches and titles. (Bug#14645)
4226
4227 * hi-lock.el (hi-green): Use lighter color "light green" closer to
4228 the palette of other hi-lock colors.
4229 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
4230
4231 2013-12-19 Juri Linkov <juri@jurta.org>
4232
4233 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
4234 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
4235 (minibuffer-history-symbol): Move variable declaration closer to
4236 its usage.
4237
4238 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
4239 (Bug#14785)
4240
4241 2013-12-19 Juri Linkov <juri@jurta.org>
4242
4243 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
4244 New function.
4245 (log-edit-hook): Add it to :options. (Bug#16170)
4246
4247 2013-12-19 Juri Linkov <juri@jurta.org>
4248
4249 * simple.el (eval-expression-print-format): Don't check for
4250 command names and the last command. Always display additional
4251 formats of the integer result in the echo area, and insert them
4252 to the current buffer only with a zero prefix arg.
4253 Display character when char-displayable-p is non-nil.
4254 (eval-expression): With a zero prefix arg, set `print-length' and
4255 `print-level' to nil, and insert the integer values from
4256 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
4257
4258 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
4259 `eval-last-sexp-arg-internal'. Doc fix.
4260 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
4261 `eval-last-sexp-print-value'. Doc fix.
4262 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
4263 Set `print-length' and `print-level' to nil when arg is zero.
4264 (eval-last-sexp): Doc fix.
4265 (eval-defun-2): Print the integer values from
4266 `eval-expression-print-format' at the end.
4267
4268 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
4269 values from `eval-expression-print-format' at the end.
4270
4271 * ielm.el (ielm-eval-input): Print the integer
4272 values from `eval-expression-print-format' at the end.
4273
4274 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
4275
4276 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
4277 2013-12-11T19:01:44Z!tzz@lifelogs.com.
4278
4279 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
4280
4281 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
4282 (hl-line-highlight, global-hl-line-highlight): Use it.
4283 (hl-line-overlay): Use defvar-local.
4284
4285 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
4286
4287 * term/ns-win.el: Require dnd.
4288 (global-map): Remove drag items.
4289 (ns-insert-text, ns-set-foreground-at-mouse)
4290 (ns-set-background-at-mouse):
4291 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
4292 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
4293 New functions.
4294
4295 2013-12-19 Glenn Morris <rgm@gnu.org>
4296
4297 * emacs-lisp/ert.el (ert-select-tests):
4298 Fix string/symbol mixup. (Bug#16121)
4299
4300 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
4301
4302 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
4303 keywords to their parent.
4304
4305 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
4306
4307 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
4308 first arg to be a string (fixed dead code), or an operator symbol.
4309 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
4310 operator symbols.
4311 (ruby-smie-rules): Remove parent token check in the `.' clause, it
4312 did nothing. Don't respond to `(:after ".")', it will be called
4313 with :before anyway. Remove the ` @ ' rule, it didn't seem to
4314 change anything. Only return indentation for binary operators
4315 when they are hanging. De-dent opening paren when its parent is
4316 `.', otherwise it looks bad when the dot is not at bol or eol
4317 (bug#16182).
4318
4319 2013-12-19 Juri Linkov <juri@jurta.org>
4320
4321 * replace.el (query-replace-read-args): Split a non-negative arg
4322 and a negative arg into separate elements.
4323 (query-replace, query-replace-regexp, replace-string)
4324 (replace-regexp): Add arg `backward'. Doc fix.
4325 (replace-match-maybe-edit): When new arg `backward' is non-nil,
4326 move point to the beginning of the match.
4327 (replace-search, replace-highlight): Use new arg `backward'
4328 to set the value of `isearch-forward'.
4329 (perform-replace): Add arg `backward' and use it to perform
4330 replacement backward. (Bug#14979)
4331
4332 * isearch.el (isearch-query-replace): Use a negative prefix arg
4333 to call `perform-replace' with a non-nil arg `backward'.
4334
4335 2013-12-18 Juri Linkov <juri@jurta.org>
4336
4337 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
4338 to the default list. Move `log-edit-show-files' to the end.
4339 Add more available functions to options.
4340 (log-edit): Move default specific settings to
4341 `log-edit-insert-message-template'. Don't move point.
4342 (log-edit-insert-message-template): New function.
4343 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
4344 (Bug#16170)
4345
4346 2013-12-18 Juri Linkov <juri@jurta.org>
4347
4348 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
4349 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
4350
4351 2013-12-18 Leo Liu <sdl.web@gmail.com>
4352
4353 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
4354 (Bug#16186)
4355
4356 2013-12-18 Eli Zaretskii <eliz@gnu.org>
4357
4358 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
4359 formats for displaying file sizes when the -s switch is given.
4360 Instead, compute a separate format for displaying the size in
4361 blocks, which is displayed in addition to the "regular" size.
4362 When -h is given in addition to -s, produce size in blocks in
4363 human-readable form as well. (Bug#16179)
4364
4365 2013-12-18 Tassilo Horn <tsdh@gnu.org>
4366
4367 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
4368 Reference tables with ~\ref{...} instead of only \ref{...}.
4369
4370 2013-12-18 Chong Yidong <cyd@gnu.org>
4371
4372 * cus-edit.el (custom-magic-alist): Fix "themed" description
4373 (Bug#14348).
4374
4375 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
4376 is non-nil, do not create a new entry in the symbol's theme-value
4377 or theme-face property; update theme-settings only (Bug#14664).
4378 (custom-available-themes): Doc fix.
4379
4380 * cus-theme.el (custom-new-theme-mode-map): Add bindings
4381 (Bug#15674).
4382
4383 * replace.el (occur-engine): Avoid infloop (Bug#7593).
4384
4385 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
4386
4387 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
4388 (Bug#13914).
4389
4390 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
4391
4392 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
4393
4394 2013-12-18 Glenn Morris <rgm@gnu.org>
4395
4396 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
4397 * cus-start.el (load-prefer-newer): New option.
4398
4399 2013-12-18 Le Wang <l26wang@gmail.com>
4400
4401 * comint.el (comint-previous-matching-input-from-input):
4402 Retain point (Bug#13404).
4403
4404 2013-12-18 Chong Yidong <cyd@gnu.org>
4405
4406 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
4407
4408 2013-12-18 Glenn Morris <rgm@gnu.org>
4409
4410 * mail/emacsbug.el (report-emacs-bug):
4411 Only mention enable-multibyte-characters if non-standard.
4412
4413 2013-12-17 Juri Linkov <juri@jurta.org>
4414
4415 * arc-mode.el (archive-extract-by-file): Check if directory exists
4416 before deletion to not show irrelevant errors if it doesn't exist.
4417
4418 2013-12-17 Juri Linkov <juri@jurta.org>
4419
4420 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
4421 (Bug#14751)
4422
4423 * net/eww.el (browse-web): Add alias to `eww'.
4424 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
4425 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
4426
4427 * net/browse-url.el (browse-url-browser-function): Move `eww'
4428 closer to similar functions.
4429
4430 * startup.el (fancy-startup-screen, fancy-about-screen):
4431 Set browse-url-browser-function to eww-browse-url locally.
4432 (Bug#14751)
4433
4434 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
4435
4436 * window.el (window--pixel-to-total): Remove unused `mini' var.
4437 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
4438 (split-window): Remove unused `new' var.
4439 (window--display-buffer): Remove unused `frame' and `delta' vars.
4440 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
4441 and display-width'.
4442
4443 2013-12-17 Martin Rudalics <rudalics@gmx.at>
4444
4445 * dired.el (dired-mark-pop-up):
4446 * register.el (register-preview): Don't bind
4447 split-height-threshold here since it's now done in
4448 display-buffer-below-selected.
4449
4450 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
4451
4452 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
4453 xterm-rgb-convert-to-16bit.
4454 (rxvt-register-default-colors): Standardize with
4455 xterm-register-default-colors (Bug#14078).
4456
4457 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
4458
4459 * simple.el (kill-region): Pass mark first, then point, so that
4460 kill-append works right (Bug#12819).
4461 (copy-region-as-kill, kill-ring-save): Likewise.
4462
4463 2013-12-17 Leo Liu <sdl.web@gmail.com>
4464
4465 * net/rcirc.el (rcirc-add-face):
4466 * eshell/em-prompt.el (eshell-emit-prompt):
4467 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
4468 (Bug#16167)
4469
4470 2013-12-17 Chong Yidong <cyd@gnu.org>
4471
4472 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
4473 Suggested by Xue Fuqiao.
4474
4475 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
4476
4477 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
4478
4479 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
4480
4481 * net/shr.el (shr-insert-document): Remove unused var
4482 `shr-preliminary-table-render'.
4483 (shr-rescale-image): Remove unused arg `force'.
4484 (shr-put-image): Update calls accordingly.
4485 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
4486
4487 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
4488
4489 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
4490 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
4491 :close-all, to see which indentation method to use (Bug#16116).
4492 (smie-rules-function): Document the method :close-all.
4493
4494 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4495
4496 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
4497
4498 * net/eww.el (eww-display-html): If we can't find the anchor we're
4499 looking for, then go to point-min.
4500
4501 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
4502
4503 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
4504 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
4505 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
4506 Expand dir too, in case it's relative.
4507
4508 2013-12-16 Juri Linkov <juri@jurta.org>
4509
4510 * desktop.el (desktop-auto-save-timeout): Change default to
4511 `auto-save-timeout'. Doc fix.
4512 (desktop-save): Skip the timestamp in desktop-saved-frameset
4513 when checking for auto-save changes.
4514 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
4515 `desktop-auto-save' is called repeatedly by the idle timer.
4516 (desktop-auto-save-set-timer): Replace `run-with-timer' with
4517 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
4518 (Bug#15331)
4519
4520 2013-12-16 Juri Linkov <juri@jurta.org>
4521
4522 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
4523 (Bug#16035)
4524 (isearch-pre-command-hook): Check `this-command' for symbolp.
4525
4526 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
4527
4528 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
4529
4530 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
4531
4532 * progmodes/cfengine.el (cfengine3--current-word): Remove.
4533 (cfengine3--current-function): Bring in the current-function
4534 functionality from `cfengine3--current-word'.
4535 (cfengine3-completion-function): Bring in the
4536 bounds-of-current-word functionality from
4537 `cfengine3--current-word'.
4538
4539 2013-12-16 Martin Rudalics <rudalics@gmx.at>
4540
4541 * window.el (display-buffer-below-selected):
4542 Bind split-height-threshold to 0 as suggested by Juri Linkov.
4543
4544 2013-12-16 Leo Liu <sdl.web@gmail.com>
4545
4546 * progmodes/compile.el (compile-goto-error): Do not push-mark.
4547 Remove NOMSG arg and all uses changed.
4548
4549 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
4550
4551 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
4552 (cua--deactivate-rectangle): Don't deactivate the mark.
4553 (cua-set-rectangle-mark): Don't set mark-active since
4554 cua--activate-rectangle already does it for us.
4555 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
4556 non-rectangular region.
4557
4558 * emulation/cua-base.el (cua-repeat-replace-region):
4559 Use with-current-buffer.
4560
4561 * net/gnutls.el: Use cl-lib.
4562 (gnutls-negotiate): `mapcan' -> cl-mapcan.
4563
4564 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
4565
4566 * emacs-lisp/package.el (package-built-in-p): Support both
4567 built-in and the package.el converted package descriptions.
4568 (package-show-package-list): Allow keywords.
4569 (package-keyword-button-action): Use it instead of
4570 `finder-list-matches'.
4571 (package-menu-filter-interactive): Interactive filtering (by
4572 keyword) function.
4573 (package-menu--generate): Support keywords and change keymappings
4574 and headers when they are given.
4575 (package--has-keyword-p): Helper function.
4576 (package-menu--refresh): Use it.
4577 (package--mapc): Helper function.
4578 (package-all-keywords): Use it.
4579 (package-menu-mode-map): Set up menu items and keybindings to
4580 provide a filtering UI.
4581
4582 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
4583
4584 * net/gnutls.el (gnutls-verify-error): New defcustom to control
4585 the behavior when a certificate fails validation. Defaults to
4586 old behavior: never abort, just warn.
4587 (gnutls-negotiate): Use it.
4588
4589 2013-12-14 Martin Rudalics <rudalics@gmx.at>
4590
4591 * window.el (display-buffer-below-selected): Never split window
4592 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
4593
4594 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
4595
4596 * emacs-lisp/package.el (package--prepare-dependencies): New function.
4597 (package-buffer-info): Use it (bug#15108).
4598
4599 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
4600
4601 * icomplete.el (icomplete-completions): Make sure the prefix is already
4602 displayed elsewhere before hiding it (bug#16219).
4603
4604 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
4605
4606 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
4607 open-paren tokens when preceded by a open-paren, too.
4608 (ruby-smie-rules): Handle virtual indentation after open-paren
4609 tokens specially. If there is code between it and eol, return the
4610 column where is starts (Bug#16118).
4611
4612 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
4613
4614 * progmodes/cfengine.el: Fix `add-hook' doc.
4615 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
4616 (cfengine3--current-word): Fix parameters.
4617 (cfengine3-make-syntax-cache): Simplify further.
4618 (cfengine3-completion-function, cfengine3--current-function):
4619 Use `assq' for symbols.
4620 (cfengine3--current-function): Fix `cfengine3--current-word' call.
4621
4622 2013-12-13 Glenn Morris <rgm@gnu.org>
4623
4624 * loadup.el (load-path): Warn if site-load or site-init changes it.
4625 No more need to reset it when bootstrapping.
4626
4627 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
4628
4629 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
4630 locations for cf-promises.
4631 (cfengine-mode-syntax-functions-regex): New caching variable.
4632 (cfengine3-fallback-syntax): Fallback syntax for cases where
4633 cf-promises doesn't run.
4634 (cfengine3--current-word): Reimplement using
4635 `cfengine-mode-syntax-functions-regex'.
4636 (cfengine3-completion-function, cfengine3--current-function):
4637 Use `cfengine3-make-syntax-cache' directly.
4638 (cfengine3-clear-syntax-cache): New function.
4639 (cfengine3-make-syntax-cache): Simplify and create
4640 `cfengine-mode-syntax-functions-regex' on demand.
4641 (cfengine3-format-function-docstring): Don't call
4642 `cfengine3-make-syntax-cache' explicitly.
4643
4644 2013-12-13 Martin Rudalics <rudalics@gmx.at>
4645
4646 Fix windmove-find-other-window broken after pixelwise resizing
4647 (Bug#16017).
4648 * windmove.el (windmove-other-window-loc): Revert change from
4649 2013-12-04.
4650 (windmove-find-other-window): Call window-in-direction.
4651 * window.el (window-in-direction): New arguments SIGN, WRAP and
4652 MINI to emulate original windmove-find-other-window behavior.
4653
4654 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
4655
4656 * simple.el (blink-matching--overlay): New variable.
4657 (blink-matching-open): Instead of moving point, highlight the
4658 matching paren with an overlay
4659 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
4660
4661 * faces.el (paren-showing-faces, show-paren-match)
4662 (show-paren-mismatch): Move from paren.el.
4663
4664 2013-12-13 Leo Liu <sdl.web@gmail.com>
4665
4666 * indent.el (indent-region): Disable progress reporter in
4667 minibuffer. (Bug#16108)
4668
4669 * bindings.el (visual-order-cursor-movement): Fix version.
4670
4671 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4672
4673 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
4674 Also match after beginning of line.
4675 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
4676 files. Thanks to Russell Sim. (Bug#15378)
4677
4678 2013-12-13 Juri Linkov <juri@jurta.org>
4679
4680 * simple.el <Keypad support>: Remove key bindings duplicated
4681 with bindings.el. (Bug#14397)
4682
4683 2013-12-13 Juri Linkov <juri@jurta.org>
4684
4685 * comint.el (comint-mode-map): Replace `delete-char' with
4686 `delete-forward-char'. (Bug#16109)
4687
4688 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
4689
4690 * progmodes/python.el (python-indent-calculate-indentation):
4691 Fix de-denters cornercase. (Bug#15731)
4692
4693 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
4694
4695 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
4696 (advice--make): Pay attention to `depth'.
4697 (advice--make-1): Don't autoload commands eagerly.
4698 * emacs-lisp/elp.el (elp-instrument-function):
4699 * emacs-lisp/trace.el (trace-function-internal):
4700 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
4701
4702 * iswitchb.el (iswitchb-mode): Don't belittle ido.
4703
4704 2013-12-12 Eli Zaretskii <eliz@gnu.org>
4705
4706 * term/w32-win.el (w32-handle-dropped-file):
4707 * startup.el (normal-top-level):
4708 * net/browse-url.el (browse-url-file-url):
4709 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
4710 decode file names using 'utf-8' rather than
4711 file-name-coding-system.
4712
4713 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
4714
4715 * progmodes/python.el (python-indent-context)
4716 (python-indent-calculate-indentation): Fix auto-identation
4717 behavior for comment blocks. (Bug#15916)
4718
4719 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4720
4721 * progmodes/python.el (python-indent-calculate-indentation):
4722 When determining indentation, don't treat "return", "pass", etc., as
4723 operators when they are just string constituents. (Bug#15812)
4724
4725 2013-12-12 Juri Linkov <juri@jurta.org>
4726
4727 * uniquify.el (uniquify-buffer-name-style): Change default to
4728 `post-forward-angle-brackets'.
4729
4730 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
4731 `uniquify'. Change default to `post-forward-angle-brackets'.
4732
4733 2013-12-11 Glenn Morris <rgm@gnu.org>
4734
4735 * emacs-lisp/package.el (finder-list-matches):
4736 Autoload rather than falsely declaring.
4737
4738 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
4739
4740 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
4741 (eww-mode-map): Use them.
4742
4743 2013-12-11 Martin Rudalics <rudalics@gmx.at>
4744
4745 * window.el (display-buffer-in-side-window): Fix doc-string
4746 (Bug#16115).
4747
4748 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
4749
4750 * vc/vc-git.el: Silence byte-compiler warnings.
4751 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
4752 (log-edit-set-header): Declare.
4753
4754 2013-12-11 Eli Zaretskii <eliz@gnu.org>
4755
4756 * Makefile.in (custom-deps, finder-data): Run output file names
4757 through unmsys--file-name. (Bug#16099)
4758
4759 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
4760
4761 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
4762 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
4763
4764 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
4765 instead of deleting the selection "by hand" (bug#16098).
4766 Rely on insert-for-yank to yank rectangles.
4767 (cua-highlight-region-shift-only): Mark obsolete.
4768 (cua-mode): Don't enable/disable transient-mark-mode,
4769 shift-select-mode (cua-mode works both with and without them), and
4770 pc-selection-mode (obsolete).
4771 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
4772 (cua--deactivate-rectangle): Deactivate it.
4773
4774 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
4775 (delete-selection-helper): Make sure yank starts at the top of the
4776 deleted region.
4777 (minibuffer-keyboard-quit): Use region-active-p.
4778
4779 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
4780
4781 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
4782 to `delete' (bug#16109).
4783
4784 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4785
4786 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
4787 info manual and show keybindings and set `:group' keyword.
4788
4789 2013-12-11 Juri Linkov <juri@jurta.org>
4790
4791 * delsel.el (delete-active-region): Let-bind `this-command'
4792 to prevent `kill-region' from changing its original value.
4793 (delete-selection-helper): Handle `overwrite-mode' for the type
4794 `kill' exactly the same way as for the type `t'.
4795 (insert-char, quoted-insert, reindent-then-newline-and-indent):
4796 Support more commands. (Bug#13312)
4797
4798 2013-12-11 Juri Linkov <juri@jurta.org>
4799
4800 * bindings.el: Map kp keys to non-kp keys systematically
4801 with basic modifiers control, meta and shift. (Bug#14397)
4802
4803 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4804
4805 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
4806 "Close browser" menu items. Fix wrong function of "List
4807 bookmarks".
4808
4809 2013-12-11 Juri Linkov <juri@jurta.org>
4810
4811 * misearch.el (multi-isearch-buffers): Set the value of
4812 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
4813 arg of isearch-forward to t.
4814 (multi-isearch-buffers-regexp): Set the value of
4815 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
4816 arg of isearch-forward-regexp to t.
4817 (multi-isearch-files): Set the value of
4818 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
4819 arg of isearch-forward to t.
4820 (multi-isearch-files-regexp): Set the value of
4821 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
4822 arg of isearch-forward-regexp to t. (Bug#16035)
4823
4824 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
4825 arg of isearch-forward to t.
4826 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
4827 arg of isearch-forward-regexp to t.
4828 (dired-isearch-filter-filenames): Remove unnecessary check for
4829 `dired-isearch-filenames'.
4830
4831 * comint.el (comint-history-isearch-backward):
4832 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
4833 (comint-history-isearch-backward-regexp):
4834 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
4835
4836 2013-12-10 Eli Zaretskii <eliz@gnu.org>
4837
4838 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
4839 unmsys--file-name. (Bug#16099)
4840
4841 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
4842
4843 * emacs-lisp/package.el (package-keyword-button-action):
4844 Remove finder.el require dependency.
4845
4846 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
4847
4848 * emacs-lisp/package.el: Require finder.el.
4849 (describe-package-1): Add keyword buttons.
4850 (package-make-button): New convenience function.
4851 (package-keyword-button-action): Keyword button action using
4852 `finder-list-matches'.
4853
4854 2013-12-09 Eli Zaretskii <eliz@gnu.org>
4855
4856 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
4857 last commit.
4858
4859 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
4860
4861 * autorevert.el (auto-revert-notify-add-watch): Do not handle
4862 symlinked files.
4863
4864 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
4865
4866 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
4867 after the end of a percent literal.
4868
4869 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
4870
4871 * progmodes/ruby-mode.el (ruby-forward-string): Document.
4872 Handle caret-delimited strings (Bug#16079).
4873
4874 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
4875
4876 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
4877 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
4878 `ruby-parse-partial' (Bug#16078).
4879
4880 2013-12-09 Leo Liu <sdl.web@gmail.com>
4881
4882 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
4883
4884 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
4885
4886 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
4887 (js-switch-indent-offset): New option.
4888 (js--proper-indentation): Use it. And handle the case when
4889 "default" is actually a key in an object literal.
4890 (js--same-line): New function.
4891 (js--multi-line-declaration-indentation): Use it.
4892 (js--indent-in-array-comp, js--array-comp-indentation):
4893 New functions.
4894 (js--proper-indentation): Use them, to handle array comprehension
4895 continuations.
4896
4897 2013-12-08 Leo Liu <sdl.web@gmail.com>
4898
4899 * progmodes/flymake.el (flymake-highlight-line): Re-write.
4900 (flymake-make-overlay): Remove arg MOUSE-FACE.
4901 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
4902
4903 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4904
4905 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
4906 New function.
4907 (redisplay-highlight-region-function): Use it.
4908
4909 * emulation/cua-base.el (cua--explicit-region-start)
4910 (cua--last-region-shifted): Remove.
4911 (cua--deactivate): Use deactivate-mark.
4912 (cua--pre-command-handler-1): Don't handle shift-selection.
4913 (cua--post-command-handler-1): Don't change transient-mark-mode.
4914 (cua--select-keymaps): Use region-active-p rather than
4915 cua--explicit-region-start or cua--last-region-shifted.
4916 (cua-mode): Enable shift-select-mode.
4917
4918 2013-12-08 Leo Liu <sdl.web@gmail.com>
4919
4920 * progmodes/flymake.el (flymake-popup-current-error-menu):
4921 Rename from flymake-display-err-menu-for-current-line. Reimplement.
4922 (flymake-posn-at-point-as-event, flymake-popup-menu)
4923 (flymake-make-emacs-menu): Remove. (Bug#16077)
4924
4925 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4926
4927 * rect.el (rectangle-mark-mode): Activate mark even if
4928 transient-mark-mode is off (bug#16066).
4929 (rectangle--highlight-for-redisplay): Fix boundary condition when point
4930 is > mark and at bolp.
4931
4932 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
4933 (region-extract-function): Use it.
4934 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
4935 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
4936 Delete functions.
4937 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
4938 kill-ring-save, kill-region, delete-char, delete-forward-char.
4939 Ignore self-insert-iso.
4940
4941 * emulation/cua-gmrk.el (cua--init-global-mark):
4942 Ignore `self-insert-iso'.
4943
4944 * emulation/cua-base.el (cua--prefix-copy-handler)
4945 (cua--prefix-cut-handler): Rely on region-extract-function rather than
4946 checking cua--rectangle.
4947 (cua-delete-region): Use region-extract-function.
4948 (cua-replace-region): Delete function.
4949 (cua-copy-region, cua-cut-region): Obey region-extract-function.
4950 (cua--pre-command-handler-1): Don't do the delete-selection thing.
4951 (cua--self-insert-char-p): Ignore `self-insert-iso'.
4952 (cua--init-keymaps): Don't remap delete-selection commands.
4953 (cua-mode): Use delete-selection-mode instead of rolling our own
4954 (bug#16085).
4955
4956 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
4957 Obey region-extract-function.
4958
4959 Make registers and delete-selection-mode work on rectangles.
4960 * register.el (describe-register-1): Don't modify the register's value.
4961 (copy-to-register): Obey region-extract-function.
4962 * delsel.el (delete-active-region): Obey region-extract-function.
4963
4964 2013-12-08 Leo Liu <sdl.web@gmail.com>
4965
4966 * progmodes/flymake.el (flymake, flymake-error-bitmap)
4967 (flymake-warning-bitmap, flymake-fringe-indicator-position)
4968 (flymake-compilation-prevents-syntax-check)
4969 (flymake-start-syntax-check-on-newline)
4970 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
4971 (flymake-start-syntax-check-on-find-file, flymake-log-level)
4972 (flymake-xml-program, flymake-master-file-dirs)
4973 (flymake-master-file-count-limit)
4974 (flymake-allowed-file-name-masks): Relocate.
4975 (flymake-makehash, flymake-float-time)
4976 (flymake-replace-regexp-in-string, flymake-split-string)
4977 (flymake-get-temp-dir): Remove.
4978 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
4979 (flymake-current-row, flymake-selected-frame)
4980 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
4981 related functions. (Bug#16077)
4982
4983 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
4984
4985 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
4986
4987 2013-12-07 Tassilo Horn <tsdh@gnu.org>
4988
4989 * help-fns.el (describe-function-1): Use new advice-* functions
4990 rather than old ad-* functions. Fix function type description and
4991 source links for advised functions and subrs.
4992
4993 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4994
4995 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
4996
4997 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
4998
4999 * progmodes/compile.el (compilation-start):
5000 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
5001
5002 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
5003 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
5004
5005 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5006
5007 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5008 Touch up the last change.
5009
5010 2013-12-06 Leo Liu <sdl.web@gmail.com>
5011
5012 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
5013 (inferior-octave-startup): Always use "octave> " for prompt.
5014 (octave-goto-function-definition)
5015 (octave-sync-function-file-names)
5016 (octave-find-definition-default-filename): Remove redundant backquotes.
5017
5018 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5019
5020 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
5021 syntax for `?'.
5022 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
5023 where appropriate already.
5024 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
5025 end of method names (Bug#15874).
5026
5027 2013-12-06 Juri Linkov <juri@jurta.org>
5028
5029 * isearch.el (isearch--saved-overriding-local-map):
5030 New internal variable.
5031 (isearch-mode): Set it to the initial value of
5032 `overriding-terminal-local-map'.
5033 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
5034 with `isearch--saved-overriding-local-map'. (Bug#16035)
5035
5036 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5037
5038 * progmodes/octave.el (inferior-octave-completion-table):
5039 Turn back into function, use `completion-table-with-cache'
5040 (Bug#11906). Update all references.
5041
5042 * minibuffer.el (completion-table-with-cache): New function.
5043
5044 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
5045
5046 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
5047
5048 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
5049
5050 * net/eww.el (eww-current-source): New variable to store page
5051 source.
5052 (eww-display-html, eww-mode, eww-save-history)
5053 (eww-restore-history): Use it.
5054 (eww-view-source): New command to view page source.
5055 Opportunistically uses `html-mode' to highlight the buffer.
5056 (eww-mode-map): Install it.
5057
5058 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
5059
5060 * net/dbus.el (dbus-unregister-service)
5061 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
5062 Fix docstring.
5063 (dbus-unregister-service): Skip :serial entries in
5064 `dbus-registered-objects-table'.
5065 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
5066
5067 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
5068
5069 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
5070 around keywords with extra `split-string' argument.
5071
5072 2013-12-04 Martin Rudalics <rudalics@gmx.at>
5073
5074 * windmove.el (windmove-other-window-loc): Handle navigation
5075 between windows (excluding the minibuffer window - Bug#16017).
5076
5077 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
5078
5079 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
5080 in D-Bus type syntax.
5081 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
5082 preserve unibyte strings. (Bug#16048)
5083
5084 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
5085
5086 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
5087 Call force-mode-line-update is the proper buffer (bug#16042).
5088
5089 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
5090
5091 * vc/log-edit.el (log-edit-add-new-comment): Rename to
5092 `log-edit-remember-comment', make argument optional. Adjust all
5093 callers.
5094 (log-edit-mode): Add `log-edit-remember-comment' to
5095 `kill-buffer-hook' locally.
5096 (log-edit-kill-buffer): Don't remember comment explicitly since
5097 the buffer is killed anyway.
5098
5099 2013-12-04 Juri Linkov <juri@jurta.org>
5100
5101 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
5102 add-hook and remove-hook for multi-buffer search. (Bug#16035)
5103
5104 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
5105
5106 * notifications.el (notifications-close-notification): Call the
5107 D-Bus method with ID being a `:uint32'. (Bug#16030)
5108
5109 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
5110
5111 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
5112
5113 2013-12-03 Juri Linkov <juri@jurta.org>
5114
5115 * progmodes/compile.el (compilation-start): Rename window alist
5116 entry `no-display-ok' to `allow-no-window'.
5117
5118 * simple.el (shell-command): Add window alist entry
5119 `allow-no-window' to `display-buffer'.
5120 (async-shell-command): Doc fix.
5121
5122 * window.el (display-buffer-no-window): New action function.
5123 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
5124
5125 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5126
5127 * vc/log-edit.el (log-edit-set-header): Extract from
5128 `log-edit-toggle-header'.
5129 (log-edit-extract-headers): Separate the summary, when extracted
5130 from header, from the rest of the message with an empty line.
5131
5132 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
5133 line, if present, to the Summary header.
5134
5135 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5136
5137 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
5138 in current-buffer (bug#16029).
5139
5140 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
5141
5142 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
5143 (debugger-mode-map): Bind it.
5144 (debugger--backtrace-base): New function.
5145 (debugger-eval-expression): Use it.
5146 (debugger-frame-number): Skip local vars when present.
5147 (debugger--locals-visible-p, debugger--insert-locals)
5148 (debugger--show-locals, debugger--hide-locals): New functions.
5149
5150 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
5151
5152 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
5153 "LC_ALL".
5154 (tramp-get-remote-locale): New defun.
5155 (tramp-open-connection-setup-interactive-shell): Use it.
5156
5157 2013-12-02 Leo Liu <sdl.web@gmail.com>
5158
5159 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
5160
5161 * progmodes/sh-script.el (sh-shell-process):
5162 * progmodes/octave.el (inferior-octave-process-live-p):
5163 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
5164 (gdb-inferior-io-sentinel):
5165 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
5166
5167 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5168
5169 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
5170 `save-selected-window' to `log-edit-hide-buf'. This makes
5171 `log-edit-show-files' idempotent.
5172 (log-edit-show-files): Mark the new window as dedicated.
5173
5174 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5175
5176 * vc/log-edit.el (log-edit-mode-map): Add binding for
5177 `log-edit-kill-biffer'.
5178 (log-edit-hide-buf): Add a FIXME comment.
5179 (log-edit-add-new-comment): New function, extracted from
5180 `log-edit-done'.
5181 (log-edit-done, log-edit-add-to-changelog): Use it.
5182 (log-edit-kill-buffer): New command.
5183
5184 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5185
5186 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
5187 instead of killing the buffer.
5188
5189 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
5190
5191 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
5192
5193 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5194
5195 * net/eww.el (eww-form-checkbox-selected-symbol)
5196 (eww-form-checkbox-symbol): New customizable variable.
5197 (eww-form-checkbox, eww-toggle-checkbox):
5198 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
5199
5200 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
5201 (shr--get-media-pref, shr--extract-best-source): New function.
5202 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
5203 no :src tag was specified.
5204
5205 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
5206 (eww-render): Handle `eww-use-external-browser-for-content-type'.
5207 Use \\` to match beginning of string instead of ^.
5208 (eww-browse-with-external-browser): Provide optional URL parameter.
5209 (eww-render): Set `eww-current-title' back to "".
5210
5211 * net/shr.el (shr-tag-video): Display content for video if no
5212 poster is available.
5213 (shr-tag-audio): Add support for <audio> tag.
5214
5215 * net/eww.el (eww-text-input-types): New const.
5216 (eww-process-text-input): Treat input types in
5217 `eww-text-input-types' as text.
5218
5219 * net/shr.el (shr-tag-table): Fix comment typo.
5220
5221 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5222
5223 * net/eww.el (eww-follow-link): New command to avoid reloading
5224 pages when we follow #target links (bug#15243).
5225 (eww-quit): Special mode buffers shouldn't query before exiting.
5226
5227 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5228
5229 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
5230 forms.
5231
5232 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5233
5234 * net/eww.el (eww-restore-history): Update the window title after
5235 moving in the history.
5236 (eww-current-dom): New variable used to save the current DOM.
5237
5238 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
5239
5240 * vc/log-edit.el (log-edit-mode-map): Add binding for
5241 `log-edit-beginning-of-line'.
5242 (log-edit-setup-add-author): New user option.
5243 (log-edit-beginning-of-line): New command.
5244 (log-edit): Move major mode call above the contents setup so that
5245 the local variable values are already applied.
5246 (log-edit): Only insert "Author: " when
5247 `log-edit-setup-add-author' is non-nil.
5248 (log-edit): When SETUP is non-nil, position point after ": "
5249 instead of point-min.
5250
5251 2013-12-01 Glenn Morris <rgm@gnu.org>
5252
5253 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
5254
5255 2013-11-30 Eli Zaretskii <eliz@gnu.org>
5256
5257 * startup.el (fancy-splash-frame): On MS-Windows, trigger
5258 redisplay to make sure the initial frame gets a chance to become
5259 visible. (Bug#16014)
5260
5261 2013-11-30 Martin Rudalics <rudalics@gmx.at>
5262
5263 Support resizing frames and windows pixelwise.
5264 * cus-start.el (frame-resize-pixelwise)
5265 (window-resize-pixelwise): New entries.
5266 * emacs-lisp/debug.el (debug): Use window-total-height instead
5267 of window-total-size.
5268 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
5269 * help.el (describe-bindings-internal): Use help-buffer as
5270 argument for with-help-window.
5271 (temp-buffer-max-width): New option.
5272 (resize-temp-buffer-window, help-window-setup)
5273 (with-help-window): Rewrite.
5274 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
5275 dragging dividers.
5276 * window.el (frame-char-size, window-min-pixel-height)
5277 (window-safe-min-pixel-height, window-safe-min-pixel-width)
5278 (window-min-pixel-width, window-safe-min-pixel-size)
5279 (window-combination-p, window-safe-min-size)
5280 (window-resizable-p, window--size-to-pixel)
5281 (window--pixel-to-size, window--resize-apply-p): New functions.
5282 (window-safe-min-height): Fix doc-string.
5283 (window-size, window-min-size, window--min-size-1)
5284 (window-sizable, window-sizable-p, window--min-delta-1)
5285 (window-min-delta, window--max-delta-1, window-max-delta)
5286 (window--resizable, window--resizable-p, window-resizable)
5287 (window-full-height-p, window-full-width-p, window-at-side-p)
5288 (window--in-direction-2, window-in-direction)
5289 (window--resize-reset-1, window--resize-mini-window)
5290 (window-resize, window-resize-no-error)
5291 (window--resize-child-windows-normal)
5292 (window--resize-child-windows, window--resize-siblings)
5293 (window--resize-this-window, window--resize-root-window)
5294 (window--resize-root-window-vertically)
5295 (adjust-window-trailing-edge, enlarge-window, shrink-window)
5296 (maximize-window, minimize-window, delete-window)
5297 (quit-restore-window, window-split-min-size, split-window)
5298 (balance-windows-2, balance-windows)
5299 (balance-windows-area-adjust, balance-windows-area)
5300 (window--state-get-1, window-state-get, window--state-put-1)
5301 (window--state-put-2, window-state-put)
5302 (display-buffer-record-window, window--display-buffer):
5303 Make functions handle pixelwise sizing of windows.
5304 (display-buffer--action-function-custom-type)
5305 (display-buffer-fallback-action):
5306 Add display-buffer-in-previous-window.
5307 (display-buffer-use-some-window): Resize window to height it had
5308 before.
5309 (fit-window-to-buffer-horizontally): New option.
5310 (fit-frame-to-buffer): Describe new values.
5311 (fit-frame-to-buffer-bottom-margin): Replace with
5312 fit-frame-to-buffer-margins.
5313 (window--sanitize-margin): New function.
5314 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
5315 using window-text-pixel-size.
5316
5317 2013-11-30 Glenn Morris <rgm@gnu.org>
5318
5319 * emacs-lisp/bytecomp.el (byte-compile-form):
5320 Make the `interactive-only' warning like the `obsolete' one.
5321 * comint.el (comint-run):
5322 * files.el (insert-file-literally, insert-file):
5323 * replace.el (replace-string, replace-regexp):
5324 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
5325 (goto-line, insert-buffer, next-line, previous-line):
5326 Tweak `interactive-only' spec.
5327
5328 Stop keeping (most) generated cedet grammar files in the repository.
5329 * Makefile.in (semantic): New.
5330 (compile-main): Depend on semantic.
5331
5332 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5333
5334 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
5335 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
5336
5337 * uniquify.el (uniquify-buffer-name-style): Change default.
5338
5339 * loadup.el: Preload "uniquify".
5340
5341 * time.el (display-time-update): Update all mode lines (bug#15999).
5342
5343 * electric.el (electric-indent-mode): Enable by default.
5344 * loadup.el: Preload "electric".
5345
5346 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
5347
5348 * emacs-lisp/helpers.el (string-empty-p): New function.
5349 (string-blank-p): New function.
5350
5351 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
5352
5353 * imenu.el (imenu--index-alist): Add missing dot to the docstring
5354 (Bug#14029).
5355
5356 2013-11-29 Andreas Politz <politza@fh-trier.de>
5357 * imenu.el (imenu--subalist-p): Don't error on non-conses and
5358 allow non-lambda lists as functions.
5359 (imenu--in-alist): Don't recurse into non-subalists.
5360 (imenu): Don't pass function itself as an argument (Bug#14029).
5361
5362 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5363
5364 * progmodes/python.el (python-mode-map): Remove binding for ":".
5365 (python-indent-electric-colon): Remove command.
5366 (python-indent-post-self-insert-function): Integrate the previous code
5367 of python-indent-electric-colon. Make it conditional on
5368 electric-indent-mode.
5369 (python-mode): Add ?: to electric-indent-chars.
5370 Move python-indent-post-self-insert-function to the end of
5371 post-self-insert-hook.
5372
5373 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
5374
5375 * doc-view.el (doc-view-goto-page): Update mode-line.
5376
5377 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
5378
5379 2013-11-27 Glenn Morris <rgm@gnu.org>
5380
5381 * international/charprop.el, international/uni-bidi.el:
5382 * international/uni-category.el, international/uni-combining.el:
5383 * international/uni-comment.el, international/uni-decimal.el:
5384 * international/uni-decomposition.el, international/uni-digit.el:
5385 * international/uni-lowercase.el, international/uni-mirrored.el:
5386 * international/uni-name.el, international/uni-numeric.el:
5387 * international/uni-old-name.el, international/uni-titlecase.el:
5388 * international/uni-uppercase.el:
5389 Remove generated files from VCS repository.
5390
5391 2013-11-27 Eli Zaretskii <eliz@gnu.org>
5392
5393 * filenotify.el (file-notify-add-watch): Don't special-case
5394 w32notify when computing the directory to watch.
5395
5396 2013-11-27 Glenn Morris <rgm@gnu.org>
5397
5398 Make bootstrap without generated uni-*.el files possible again.
5399 * loadup.el: Update command-line-args checking for unidata-gen.
5400 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
5401 * composite.el, international/characters.el:
5402 Handle unicode tables being undefined.
5403
5404 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
5405 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
5406 (compile-main): Depend on leim rule.
5407 (leim): New rule.
5408 * loadup.el: Move leim-list.el to leim/ subdirectory.
5409 * startup.el (normal-top-level): No more leim directory.
5410 * international/ja-dic-cnv.el (skkdic-convert):
5411 Disable version-control and autoloads in output files.
5412 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
5413 Disable version-control and autoloads in output files.
5414 * leim/quail: Move here from ../leim.
5415 * leim/quail/hangul.el (hangul-input-method-activate):
5416 Add autoload cookie.
5417 (generated-autoload-load-name): Set file-local value.
5418 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
5419 (generated-autoload-load-name): Set file-local value.
5420
5421 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
5422
5423 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
5424 (eww-add-bookmark): Ask confirmation when add to bookmarks.
5425 (eww-quit): Ask confirmation before quitting eww.
5426
5427 2013-11-26 Eli Zaretskii <eliz@gnu.org>
5428
5429 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
5430 reading output from Diff on MS-Windows and MS-DOS.
5431
5432 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
5433
5434 * emacs-lisp/helpers.el (string-reverse): New function.
5435
5436 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
5437
5438 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
5439 names on MS Windows, like "/[::1]:".
5440
5441 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
5442 SWITCHES.
5443
5444 2013-11-26 Glenn Morris <rgm@gnu.org>
5445
5446 * progmodes/python.el (python-indent-guess-indent-offset):
5447 Avoid corner-case error. (Bug#15975)
5448
5449 Preload leim-list.el. (Bug#4789)
5450 * loadup.el: Load leim-list.el when found.
5451 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
5452
5453 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
5454
5455 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
5456
5457 * emacs-lisp/helpers.el (string-join): New function.
5458
5459 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
5460
5461 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5462 Mark as obsolete and replace it with a symbol property.
5463 (byte-compile-form): Use new 'interactive-only property.
5464 * comint.el, files.el, replace.el, simple.el:
5465 Apply new 'interactive-only properly.
5466
5467 2013-11-25 Martin Rudalics <rudalics@gmx.at>
5468
5469 * window.el (display-buffer-at-bottom): Make sure that
5470 split-window-sensibly creates the new window on bottom
5471 (Bug#15961).
5472
5473 2013-11-23 David Kastrup <dak@gnu.org>
5474
5475 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
5476 on the conflict markers when available.
5477 (smerge--get-marker): New function.
5478 (smerge-end-re, smerge-base-re): Add subgroup.
5479
5480 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
5481
5482 * frame.el (handle-focus-in, handle-focus-out): Add missing
5483 interactive spec.
5484
5485 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
5486
5487 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
5488 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
5489
5490 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
5491
5492 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
5493 (gomoku--last-pos): New var.
5494 (gomoku--intangible-chars): New const.
5495 (gomoku--intangible): New function.
5496 (gomoku-mode): Use it. Derive from special-mode.
5497 (gomoku-move-up): Adjust line count.
5498 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
5499 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
5500 Simplify accordingly.
5501
5502 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
5503 Remove blink-cursor code.
5504 (blink-cursor-timer-function, blink-cursor-suspend):
5505 Don't special-case GUIs.
5506 (blink-cursor-mode): Use focus-in/out-hook.
5507
5508 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
5509
5510 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
5511 work when annotation is invisible (Bug#13886).
5512
5513 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
5514
5515 * json.el (json-alist-p): Only return non-nil if the alist has
5516 simple keys (Bug#13518).
5517
5518 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
5519
5520 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
5521 when control-statement is the first statement in a buffer (Bug#15956).
5522
5523 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
5524
5525 * imenu.el (imenu-generic-skip-comments-and-strings):
5526 New option (Bug#15560).
5527 (imenu--generic-function): Use it.
5528
5529 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
5530
5531 * minibuffer.el (completion--in-region-1): Scroll the correct window.
5532 (Bug#13898)
5533
5534 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
5535
5536 * emacs-lisp/helpers.el: Add some string helpers.
5537 (string-trim-left): Removes leading whitespace.
5538 (string-trim-right): Removes trailing whitespace.
5539 (string-trim): Removes leading and trailing whitespace.
5540
5541 * subr.el (string-suffix-p): New function.
5542
5543 2013-11-23 Glenn Morris <rgm@gnu.org>
5544
5545 * progmodes/python.el (python-shell-send-file):
5546 Add option to delete file when done. (Bug#15647)
5547 (python-shell-send-string, python-shell-send-region): Use it.
5548
5549 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
5550
5551 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
5552 to set buffer-read-only to t, never to nil. (Bug#15938)
5553
5554 * textmodes/tex-mode.el (latex-noindent-environments):
5555 Add safe-local-variable property. (Bug#15936)
5556
5557 2013-11-23 Glenn Morris <rgm@gnu.org>
5558
5559 * textmodes/enriched.el (enriched-mode): Doc fix.
5560 * emacs-lisp/authors.el (authors-renamed-files-alist):
5561 Add enriched.doc -> enriched.txt.
5562
5563 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
5564
5565 2013-11-22 Leo Liu <sdl.web@gmail.com>
5566
5567 * progmodes/octave.el (inferior-octave-startup): Spit out error
5568 message.
5569
5570 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
5571
5572 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
5573 Improve docstring.
5574 Add :version.
5575 (ruby-encoding-magic-comment-style): Add :version.
5576
5577 2013-11-22 Leo Liu <sdl.web@gmail.com>
5578
5579 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
5580 (Bug#15076)
5581 (octave-help-mode): Adapt to change to help-mode-finish to use
5582 derived-mode-p on 2013-09-17.
5583 (inferior-octave-prompt): Also match octave-gui.
5584 (octave-kill-process): Don't ask twice. (Bug#10564)
5585
5586 2013-11-22 Leo Liu <sdl.web@gmail.com>
5587
5588 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
5589 (inferior-octave-startup, inferior-octave-check-process)
5590 (inferior-octave-track-window-width-change)
5591 (octave-completion-at-point, octave-eldoc-function): Use it.
5592 (octave-kill-process): Provide confirmation. (Bug#10564)
5593
5594 2013-11-21 Leo Liu <sdl.web@gmail.com>
5595
5596 * progmodes/octave.el (octave-mode, inferior-octave-mode):
5597 Fix obsolete variable comment-use-global-state.
5598
5599 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5600
5601 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
5602 Add `octave-source-file'.
5603 (octave-source-file): New function. (Bug#15935)
5604
5605 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
5606
5607 * net/eww.el (eww-local-regex): New variable.
5608 (eww): Use it to detect localhost and similar.
5609
5610 2013-11-21 Leo Liu <sdl.web@gmail.com>
5611
5612 Add completion for command `ag'.
5613 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
5614 (pcomplete/ag): New function.
5615 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
5616
5617 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5618
5619 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
5620 (bug#14646).
5621 (make-obsolete): Remove interactive spec.
5622
5623 2013-11-21 Glenn Morris <rgm@gnu.org>
5624
5625 * startup.el (command-line-1): Use path-separator with -L.
5626
5627 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
5628
5629 * emacs-lisp/package.el (describe-package-1): Add package archive
5630 to shown fields.
5631
5632 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
5633
5634 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
5635 Change default to "# encoding: %s" to differentiate it from the
5636 default Ruby encoding comment template.
5637
5638 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
5639
5640 * ses.el (ses-mode): Doc fix. (Bug#14748)
5641
5642 2013-11-20 Leo Liu <sdl.web@gmail.com>
5643
5644 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
5645
5646 2013-11-19 Dan Nicolaescu <dann@gnu.org>
5647
5648 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
5649 when rebase or bisect are in progress.
5650
5651 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
5652
5653 * filenotify.el (file-notify-add-watch): Doc fix.
5654
5655 2013-11-19 Leo Liu <sdl.web@gmail.com>
5656
5657 * obsolete/rcompile.el: Mark obsolete.
5658
5659 * progmodes/compile.el (compilation-start)
5660 (compilation-goto-locus, compilation-find-file):
5661 Pass no-display-ok and handle nil value from display-buffer.
5662 (Bug#13594)
5663
5664 * window.el (display-buffer-alist, display-buffer): Document the
5665 new parameter no-display-ok. Return either a window or nil
5666 but never a non-window value.
5667
5668 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
5669
5670 * electric.el (electric-indent-mode-map): Remove.
5671 (electric-indent-mode): Change the global-map instead (bug#15915).
5672
5673 * textmodes/text-mode.el (paragraph-indent-minor-mode):
5674 Use add-function.
5675
5676 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
5677
5678 * emacs-lisp/nadvice.el (remove-function): Align with
5679 add-function's behavior.
5680
5681 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
5682 (gdb--string-regexp): New constant.
5683 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
5684 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
5685 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
5686 submatch 1.
5687 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
5688 Adjust use accordingly.
5689 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
5690
5691 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
5692
5693 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
5694 interpolation curlies (Bug#15914).
5695
5696 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
5697
5698 * calc/calc.el (calc-context-sensitive-enter): New variable.
5699 (calc-enter): Use `calc-context-sensitive-enter'.
5700
5701 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
5702
5703 * progmodes/cfengine.el: Version bump.
5704 (cfengine-cf-promises): New defcustom to locate cf-promises.
5705 (cfengine3-vartypes): Add new "data" type.
5706 (cfengine3--current-word): New function to get current name-like
5707 word or its bounds.
5708 (cfengine3--current-function): New function to look up a CFEngine
5709 function's definition.
5710 (cfengine3-format-function-docstring): New function.
5711 (cfengine3-make-syntax-cache): New function.
5712 (cfengine3-documentation-function): New function: ElDoc glue.
5713 (cfengine3-completion-function): New function: completion glue.
5714 (cfengine3-mode): Set `compile-command',
5715 `eldoc-documentation-function', and add to
5716 `completion-at-point-functions'.
5717
5718 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
5719
5720 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
5721 `tramp-current-connection'.
5722
5723 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
5724
5725 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
5726 nil/self/true/false with "end of symbol".
5727
5728 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
5729
5730 * subr.el (version-regexp-alist): Fix a typo.
5731
5732 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
5733
5734 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
5735 "en_US.utf8" and "LC_CTYPE" to "".
5736 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
5737 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
5738
5739 2013-11-15 Leo Liu <sdl.web@gmail.com>
5740
5741 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
5742
5743 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5744
5745 * progmodes/gud.el (ctl-x-map):
5746 Remove C-x SPC binding. (Bug#12342)
5747 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
5748
5749 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
5750
5751 * subr.el (version-regexp-alist):
5752 Recognize hg, svn and darcs versions as snapshot versions.
5753
5754 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
5755 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
5756 (ruby--encoding-comment-required-p): Extract from
5757 `ruby-mode-set-encoding'.
5758 (ruby-mode-set-encoding): Add the ability to always insert an
5759 utf-8 encoding comment. Fix and simplify coding comment update
5760 logic.
5761
5762 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
5763
5764 * net/tramp-gvfs.el (top): Run init code only when
5765 `tramp-gvfs-enabled' is not nil.
5766 (tramp-gvfs-enabled): Check also :system bus.
5767
5768 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5769
5770 Sync with upstream verilog-mode revision 78e66ba.
5771 * progmodes/verilog-mode.el (verilog-end-of-defun)
5772 (verilog-type-completion, verilog-get-list): Remove unused funcs.
5773 (verilog-get-end-of-defun): Remove unused argument.
5774 (verilog-comment-depth): Remove unused local `e'.
5775 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
5776 Don't pass arg to verilog-get-end-of-defun.
5777
5778 2013-11-14 Glenn Morris <rgm@gnu.org>
5779
5780 * obsolete/assoc.el (aget): Prefix dynamic variable.
5781
5782 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
5783
5784 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5785
5786 * widget.el, hfy-cmap.el: Remove bogus package version number.
5787
5788 2013-11-13 Glenn Morris <rgm@gnu.org>
5789
5790 * replace.el (replace-eval-replacement):
5791 Try to give more helpful error message. (Bug#15836)
5792
5793 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
5794 (archive-7z-update): Avoid custom type mismatches.
5795
5796 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
5797
5798 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
5799
5800 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
5801 address can be empty.
5802
5803 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
5804 Accept nil SWITCHES.
5805 (tramp-gvfs-handle-write-region): Implement APPEND.
5806
5807 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
5808
5809 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
5810 binary "|" operator and closing block args delimiter.
5811 Remove FIXME comment referring to Ruby 1.8-only syntax.
5812 (ruby-smie--implicit-semi-p): Not after "|" operator.
5813 (ruby-smie--closing-pipe-p): New function.
5814 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
5815 (ruby-smie-rules): Indent after "|".
5816
5817 2013-11-12 Glenn Morris <rgm@gnu.org>
5818
5819 * ps-print.el (ps-face-attribute-list):
5820 Handle anonymous faces. (Bug#15827)
5821
5822 2013-11-12 Martin Rudalics <rudalics@gmx.at>
5823
5824 * window.el (display-buffer-other-frame): Fix doc-string.
5825 (Bug#15868)
5826
5827 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5828
5829 * subr.el (force-mode-line-update): Delete, move to buffer.c.
5830
5831 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
5832
5833 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
5834 (tramp-sh-handle-file-local-copy): Don't write a message when
5835 saving temporary files.
5836
5837 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
5838 both directories are remote.
5839 (tramp-smb-handle-directory-files): Do not return double entries.
5840 Do not expand full file names.
5841 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
5842 (tramp-smb-handle-write-region): Implement APPEND.
5843 (tramp-smb-get-stat-capability): Fix a stupid bug.
5844
5845 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5846
5847 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
5848
5849 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5850
5851 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
5852 throwing error over malformed let/let* (bug#15814).
5853
5854 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5855
5856 * iswitchb.el (iswitchb-mode): Mark obsolete.
5857
5858 2013-11-11 Glenn Morris <rgm@gnu.org>
5859
5860 * international/uni-bidi.el, international/uni-category.el:
5861 * international/uni-name.el, international/uni-numeric.el:
5862 Regenerate for Unicode 6.3.0.
5863
5864 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
5865
5866 * net/tramp.el (tramp-methods):
5867 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
5868 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
5869
5870 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
5871
5872 * progmodes/sh-script.el (sh-font-lock-keywords-var):
5873 Force highlighting text after Summary keyword in doc face for rpm.
5874
5875 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
5876
5877 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
5878 available and the word has no wildcards, append one to the grep pattern.
5879 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
5880 (ispell-complete-word): Call `ispell-lookup-words' with the value
5881 independent of `ispell-look-p'.
5882
5883 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
5884
5885 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
5886 Not after "||".
5887 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
5888 their parent.
5889
5890 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5891
5892 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
5893 (ruby-font-lock-keywords): Use backquote.
5894
5895 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
5896
5897 * progmodes/ruby-mode.el (ruby-smie--forward-token)
5898 (ruby-smie--backward-token): Only consider full-string matches.
5899
5900 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
5901
5902 * faces.el (describe-face): Add distant-foreground.
5903
5904 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
5905
5906 * progmodes/ruby-mode.el: Improve encoding comment handling.
5907 (ruby-encoding-magic-comment-style): New option.
5908 (ruby-custom-encoding-magic-comment-template): New option.
5909 (ruby--insert-coding-comment, ruby--detect-encoding):
5910 New functions extracted from `ruby-mode-set-encoding'.
5911 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
5912 to control the style of the auto-inserted encoding comment.
5913
5914 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
5915
5916 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
5917 Use `smie-backward-sexp' with token argument.
5918
5919 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
5920
5921 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
5922 Remove instrumentation code.
5923
5924 2013-11-08 Glenn Morris <rgm@gnu.org>
5925
5926 * progmodes/autoconf.el (autoconf-mode):
5927 Tweak comment-start-skip. (Bug#15822)
5928
5929 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5930
5931 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
5932 at bobp (bug#15826).
5933 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
5934
5935 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
5936
5937 * man.el (Man-start-calling): New macro, extracted from
5938 Man-getpage-in-background.
5939 (Man-getpage-in-background): Use it.
5940 (Man-update-manpage): New command.
5941 (Man-mode-map): Bind it.
5942
5943 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
5944
5945 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
5946 of "and", "or", "&&" and "||".
5947 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
5948 argument. Prohibit opening curly brace because it could only be a
5949 block opener in that position.
5950 (ruby-smie--forward-token, ruby-smie--backward-token):
5951 Separate "|" from "&" or "*" going after it. That can happen in block
5952 arguments.
5953 (ruby-smie--indent-to-stmt): New function, seeks the end of
5954 previous statement or beginning of buffer.
5955 (ruby-smie-rules): Use it.
5956 (ruby-smie-rules): Check if there's a ":" before a curly block
5957 opener candidate; if there is, it's a hash.
5958
5959 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
5960
5961 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
5962 (cl--block-wrapper): Fix last accidental change.
5963
5964 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
5965
5966 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
5967 Instrument, in order to hunt failure on hydra.
5968
5969 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5970
5971 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
5972 malformed bindings form (bug#15814).
5973
5974 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
5975
5976 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
5977 "." compared to " @ ". This incidentally fixes some indentation
5978 examples with "do".
5979 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
5980 (ruby-smie-grammar): New tokens: "and" and "or".
5981 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
5982 Exclude "and" and "or". Remove "do" in order to work around token
5983 priorities.
5984 (ruby-smie-rules): Add all infix tokens. Handle the case of
5985 beginning-of-buffer.
5986
5987 2013-11-06 Glenn Morris <rgm@gnu.org>
5988
5989 * Makefile.in (setwins_almost, setwins_for_subdirs):
5990 Avoid accidental matches.
5991
5992 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
5993
5994 * menu-bar.el (popup-menu): Use key-binding.
5995
5996 2013-11-06 Eli Zaretskii <eliz@gnu.org>
5997
5998 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
5999 menus, support also the menus produced by minor modes.
6000 (Bug#15817)
6001
6002 2013-11-06 Leo Liu <sdl.web@gmail.com>
6003
6004 * thingatpt.el (thing-at-point-looking-at): Add optional arg
6005 DISTANCE to bound the search. All uses changed. (Bug#15808)
6006
6007 2013-11-06 Glenn Morris <rgm@gnu.org>
6008
6009 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
6010 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
6011 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
6012
6013 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6014
6015 * electric.el (electric-indent-just-newline): New command.
6016 (electric-indent-mode-map): New keymap.
6017 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
6018 Re-add :group which weren't redundant.
6019
6020 * electric.el (electric-indent-local-mode): New minor mode.
6021 (electric-indent-functions-without-reindent): New var.
6022 (electric-indent-post-self-insert-function): Use it.
6023 * emacs-lisp/gv.el (buffer-local-value): Add setter.
6024
6025 2013-11-05 Eli Zaretskii <eliz@gnu.org>
6026
6027 * international/quail.el (quail-help): Be more explicit about the
6028 meaning of the labels shown on the keys. (Bug#15800)
6029
6030 * startup.el (normal-top-level): Load the subdirs.el files before
6031 setting the locale environment. (Bug#15805)
6032
6033 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
6034
6035 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
6036 via arguments so as to get the right ones (bug#15418).
6037
6038 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
6039
6040 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
6041
6042 Fix problems found while writing a test suite.
6043
6044 * net/tramp-compat.el (tramp-compat-load): New defun.
6045 * net/tramp.el (tramp-handle-load): Use it.
6046
6047 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
6048 "(numberp ok-if-already-exists)" correctly.
6049
6050 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
6051
6052 * international/characters.el (glyphless-char-display-control):
6053 Add usage note.
6054
6055 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
6056
6057 * progmodes/python.el (python-mode):
6058 * progmodes/scheme.el (scheme-mode):
6059 * progmodes/prolog.el (prolog-mode):
6060 * progmodes/ruby-mode.el (ruby-mode):
6061 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
6062 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
6063
6064 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6065
6066 * rect.el (rectangle--highlight-for-redisplay):
6067 * emacs-lisp/smie.el (smie--next-indent-change):
6068 Use buffer-chars-modified-tick.
6069
6070 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
6071
6072 * electric.el (electric-indent-post-self-insert-function):
6073 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
6074
6075 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
6076
6077 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
6078
6079 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6080
6081 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
6082 (bug#15786).
6083
6084 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6085
6086 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
6087
6088 * progmodes/python.el: Fix up last change.
6089 (python-shell--save-temp-file): New function.
6090 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
6091 `string' comes from the current buffer.
6092 (python-shell-send-string-no-output): Remove `msg' arg.
6093 (python--use-fake-loc): New var.
6094 (python-shell-buffer-substring): Obey it. Try to compensate for the
6095 extra coding line added by python-shell--save-temp-file.
6096 (python-shell-send-region): Use python-shell--save-temp-file and
6097 python-shell-send-file directly. Add `nomain' argument.
6098 (python-shell-send-buffer): Use python-shell-send-region.
6099 (python-electric-pair-string-delimiter): New function.
6100 (python-mode): Use it.
6101
6102 2013-11-04 Eli Zaretskii <eliz@gnu.org>
6103
6104 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
6105 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
6106 environment and decoding all of the default-directory's to here
6107 from command-line.
6108 (command-line): Decode also argv[0].
6109
6110 * loadup.el: Error out if default-directory is a multibyte string
6111 when we are dumping.
6112
6113 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
6114
6115 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
6116
6117 * emacs-lisp/package.el (package-menu-mode)
6118 (package-menu--print-info, package-menu--archive-predicate):
6119 Add Archive column to package list.
6120
6121 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
6122
6123 Fix problems found while writing a test suite.
6124
6125 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
6126 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
6127 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
6128 to nil when running original file name handler. Otherwise,
6129 there are problems with constructs like "$$FOO".
6130
6131 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
6132 for `localname'.
6133
6134 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
6135
6136 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
6137
6138 * subr.el (version<, version<=, version=):
6139 Update docstrings with information for snapshot versions.
6140
6141 * helpers.el: New library for misc helper functions.
6142 (hash-table-keys): New function returning a list of hash keys.
6143 (hash-table-values): New function returning a list of hash values.
6144
6145 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
6146
6147 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6148 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
6149
6150 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
6151
6152 * textmodes/fill.el (fill-single-char-nobreak-p): New function
6153 checking whether point is after a 1-letter word.
6154
6155 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6156
6157 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
6158 Don't infloop when expanding region over `multiline' syntax-type that
6159 begins a line (bug#15778).
6160
6161 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6162
6163 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
6164 Make it into a proper minor mode.
6165 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
6166 (rectangle-mark-mode-map): New keymap.
6167 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
6168
6169 2013-11-04 Glenn Morris <rgm@gnu.org>
6170
6171 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
6172
6173 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
6174
6175 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
6176 (ruby-smie-rules): Use smie-rule-parent instead.
6177
6178 * emacs-lisp/smie.el (smie-rule-parent): Always call
6179 smie-indent-virtual rather than only for hanging tokens.
6180 (smie--next-indent-change): New helper command.
6181
6182 2013-11-03 Glenn Morris <rgm@gnu.org>
6183
6184 * Makefile.in (abs_srcdir): Remove.
6185 (emacs): Unset EMACSLOADPATH.
6186
6187 2013-11-02 Glenn Morris <rgm@gnu.org>
6188
6189 * Makefile.in (EMACS): Use a relative filename.
6190 (abs_top_builddir): Remove.
6191 (custom-deps, finder-data, autoloads): Use --chdir.
6192
6193 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
6194
6195 Use relative filenames in TAGS files.
6196 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
6197 (lisptagsfiles4, TAGS): Use relative file names.
6198 (TAGS-LISP): Remove.
6199 (maintainer-clean): No more TAGS-LISP file.
6200
6201 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
6202 (lisptagsfiles4): Use absolute filenames again.
6203 (TAGS, TAGS-LISP): Not everything needs to run in one line.
6204 Remove all *loaddefs files, not just the first. Remove esh-groups.
6205 (maintainer-clean): Delete TAGS, TAGS-LISP.
6206
6207 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6208
6209 * emacs-lisp/package.el (package-version-join):
6210 Recognize snapshot versions.
6211
6212 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6213
6214 * subr.el (version-regexp-alist): Add support for snapshot versions.
6215
6216 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
6217
6218 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
6219 New function, replacement for `smie-rule-parent' for when we want to
6220 skip over our direct parent if it's an assignment token..
6221 (ruby-smie-rules): Use it.
6222
6223 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
6224
6225 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
6226 unconditionally. Remove now unnecessary forward declarations.
6227 Remove XEmacs-specific setup.
6228 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
6229 (ruby-font-lock-syntactic-keywords)
6230 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
6231 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
6232 (ruby-here-doc-end-syntax): Remove.
6233 (ruby-mode): Don't check whether `syntax-propertize-rules' is
6234 defined as function.
6235
6236 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6237
6238 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
6239
6240 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
6241
6242 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
6243 table and abbrev table, `define-derived-mode' does that for us
6244 anyway.
6245
6246 2013-11-01 Glenn Morris <rgm@gnu.org>
6247
6248 * Makefile.in: Remove manual mh-e dependencies (writing .elc
6249 files is atomic for some time, so no parallel compilation issues).
6250
6251 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
6252
6253 * faces.el (face-x-resources): Add :distant-foreground.
6254 (region): Use :distant-foreground for gtk and ns.
6255
6256 2013-11-01 Tassilo Horn <tsdh@gnu.org>
6257
6258 Allow multiple bibliographies when BibLaTeX is used rather than
6259 BibTeX.
6260 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
6261 (reftex-locate-bibliography-files): Us it.
6262
6263 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
6264
6265 * image.el (image-type-header-regexps): Fix the 'pbm' part to
6266 allow comments in pbm files.
6267
6268 * term/w32-win.el (dynamic-library-alist): Support newer versions
6269 of libjpeg starting with v7: look only for the DLL from the
6270 version against which Emacs was built.
6271 Support versions of libpng beyond 1.4.x.
6272 Support libtiff v4.x.
6273
6274 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
6275
6276 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
6277 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
6278 Add property :safe.
6279 (ruby-deep-arglist): Add property :type.
6280
6281 2013-10-31 Glenn Morris <rgm@gnu.org>
6282
6283 * Makefile.in (custom-deps, finder-data): No need to setq the target
6284 variables, we are in the right directory and the defaults work fine.
6285
6286 2013-10-30 Glenn Morris <rgm@gnu.org>
6287
6288 * Makefile.in (autoloads): Do not use abs_lisp.
6289
6290 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6291 `newline' does not respect `standard-output', so use `princ'.
6292
6293 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
6294
6295 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
6296 * buff-menu.el (Buffer-menu--unmark): New function.
6297 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
6298
6299 2013-10-30 Glenn Morris <rgm@gnu.org>
6300
6301 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
6302
6303 * emacs-lisp/package.el (lm-homepage): Declare.
6304
6305 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
6306 Fix doc typos.
6307
6308 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
6309
6310 * Makefile.in (finder-data, autoloads, update-subdirs)
6311 (compile-main, compile-clean, compile-always, bootstrap-clean):
6312 Check return value of cd.
6313 (compile-calc): Remove.
6314
6315 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
6316
6317 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
6318
6319 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
6320 (byte-compile-and-folded): New function.
6321 (=, <, >, <=, >=): Use it.
6322
6323 * dos-w32.el (minibuffer-history-case-insensitive-variables)
6324 (path-separator, null-device, buffer-file-coding-system)
6325 (lpr-headers-switches): Check system-type before modifying them.
6326 (find-buffer-file-type-coding-system): Mark obsolete.
6327 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
6328 find-file-not-found-set-buffer-file-coding-system.
6329 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
6330 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
6331 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
6332 (w32-direct-print-region-helper, w32-direct-print-region-function)
6333 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
6334 * startup.el (normal-top-level-add-subdirs-to-load-path):
6335 * ps-print.el (ps-print-region-function):
6336 * lpr.el (print-region-function): Use new name.
6337
6338 * subr.el (custom-declare-variable-early): Remove function.
6339 (custom-declare-variable-list): Remove var.
6340 (error, user-error): Remove `while' loop.
6341 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
6342 (user-emacs-directory-warning, locate-user-emacs-file):
6343 Move to files.el.
6344 * simple.el (read-quoted-char-radix, read-quoted-char):
6345 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
6346 Move from subr.el.
6347 * custom.el (custom-declare-variable-list): Don't process
6348 custom-declare-variable-list.
6349
6350 * progmodes/python.el (python-shell-get-buffer): New function.
6351 (python-shell-get-process): Use it.
6352 (python-shell-send-string): Always use utf-8 and add a cookie to tell
6353 Python which encoding was used. Don't split-string since we only care
6354 about the first line. Return the temp-file, if applicable.
6355 (python-shell-send-region): Tell compile.el how to turn locations in
6356 the temp-file into locations in the source buffer.
6357
6358 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
6359
6360 * subr.el (undefined): Add missing behavior from the C code for
6361 unbound keys.
6362
6363 * rect.el: Use lexical-binding. Add new rectangular region support.
6364 (rectangle-mark): New command.
6365 (rectangle--region): New var.
6366 (deactivate-mark-hook): Reset rectangle--region.
6367 (rectangle--extract-region, rectangle--insert-for-yank)
6368 (rectangle--highlight-for-redisplay)
6369 (rectangle--unhighlight-for-redisplay): New functions.
6370 (region-extract-function, redisplay-unhighlight-region-function)
6371 (redisplay-highlight-region-function): Use them to handle
6372 rectangular region.
6373 * simple.el (region-extract-function): New var.
6374 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
6375 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
6376 (kill-region): Replace obsolete `yank-handler' arg with `region'.
6377 (copy-region-as-kill, kill-ring-save): Add `region' argument.
6378 (redisplay-unhighlight-region-function)
6379 (redisplay-highlight-region-function): New vars.
6380 (redisplay--update-region-highlight): New function.
6381 (pre-redisplay-function): Use it.
6382 (exchange-point-and-mark): Don't deactivate the mark before
6383 reactivate-it anyway.
6384 * comint.el (comint-kill-region): Remove yank-handler argument.
6385 * delsel.el (delete-backward-char, backward-delete-char-untabify)
6386 (delete-char): Remove property, since it's now part of their
6387 default behavior.
6388 (self-insert-iso): Remove property since this command doesn't exist.
6389
6390 * emacs-lisp/package.el (package--download-one-archive)
6391 (describe-package-1): Don't query the user about final newline.
6392
6393 2013-10-29 Daniel Colascione <dancol@dancol.org>
6394
6395 * net/tramp.el (tramp-methods): Document new functionality.
6396 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
6397 tramp-hostname-checker if method provides one instead of scanning
6398 argument list for "%h" to decide hostname acceptability.
6399
6400 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
6401
6402 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
6403 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
6404 Handle COPY-CONTENTS. (Bug#15737)
6405
6406 2013-10-28 Daiki Ueno <ueno@gnu.org>
6407
6408 * epa-file.el
6409 (epa-file-cache-passphrase-for-symmetric-encryption):
6410 Document that this option has no effect with GnuPG 2.0 (bug#15552).
6411
6412 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
6413
6414 * image.el (defimage, image-load-path): Doc fixes.
6415
6416 2013-10-27 Alan Mackenzie <acm@muc.de>
6417
6418 Indent statements in macros following "##" correctly.
6419 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
6420 Modify the "#" arm of a cond form to handle "#" and "##" operators.
6421
6422 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6423
6424 * linum.el (linum-update-window): Fix boundary test (bug#13446).
6425
6426 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
6427
6428 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
6429 after `=' is probably a new expression.
6430
6431 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6432
6433 * man.el (man-imenu-title): New option.
6434 (Man-mode-map): Add menu. (Bug#15722)
6435 (Man-mode): Add imenu to menu.
6436
6437 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
6438
6439 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
6440 specific in what the first arg can be: a non-keyword word,
6441 string/regexp/percent literal opener, opening paren, or unary
6442 operator followed directly by word.
6443
6444 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6445
6446 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
6447 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
6448 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
6449 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
6450 Remove vars, they do not apply any more.
6451 (prolog-mode-abbrev-table): Remove redundant declaration.
6452 (prolog-upper-case-string, prolog-lower-case-string): Remove.
6453 (prolog-use-smie): Remove.
6454 (prolog-smie-rules): Add indentation rule for the if-then-else layout
6455 supported by prolog-electric-if-then-else-flag.
6456 (prolog-mode-variables, prolog-menu): Use setq-local.
6457 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
6458 Remove binding to `Backspace' since this key doesn't exist anyway.
6459 Remove bindings for electric self-inserting keys.
6460 (prog-mode): Assume it's defined.
6461 (prolog-post-self-insert): New function.
6462 (prolog-mode): Use it.
6463 (prolog-indent-line, prolog-indent-level)
6464 (prolog-find-indent-of-matching-paren)
6465 (prolog-indentation-level-of-line, prolog-goto-comment-column)
6466 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
6467 (prolog-goto-next-paren, prolog-in-string-or-comment)
6468 (prolog-tokenize, prolog-inside-mline-comment)
6469 (prolog-find-start-of-mline-comment): Remove functions.
6470 (prolog-find-unmatched-paren, prolog-clause-end)
6471 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
6472 (prolog-electric--if-then-else): Rename from
6473 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
6474 (prolog-tokenize-searchkey): Remove const.
6475 (prolog-clause-info): Use forward-sexp.
6476 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
6477 (prolog-electric-if-then-else): Remove commands.
6478 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
6479 for use in post-self-insert-hook.
6480 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
6481 for use in post-self-insert-hook.
6482 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
6483 for use in post-self-insert-hook.
6484 (prolog-electric--underscore): Rename from prolog-electric--underscore;
6485 adapt it for use in post-self-insert-hook.
6486
6487 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
6488
6489 * emacs-lisp/ert.el (ert-run-tests-interactively):
6490 Use `completing-read'. (Bug#9756)
6491
6492 2013-10-25 Eli Zaretskii <eliz@gnu.org>
6493
6494 * simple.el (line-move): Call line-move-1 instead of
6495 line-move-visual when the current window hscroll is zero, but
6496 temporary-goal-column indicates we will need to hscroll as result
6497 of the movement. (Bug#15712)
6498
6499 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
6500
6501 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
6502 capitalization. Use :visible instead of :active.
6503 Fix `ruby-indent-exp' reference. Add menu items for the generic
6504 commands that are used with SMIE.
6505 (ruby-do-end-to-brace): Insert space after `{'.
6506
6507 2013-10-25 John Anthony <john@jo.hnanthony.com>
6508
6509 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
6510
6511 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
6512
6513 2013-10-25 Glenn Morris <rgm@gnu.org>
6514
6515 * vc/vc.el (vc-print-log): Don't use a working revision unless
6516 one was explicitly specified. (Bug#15322)
6517
6518 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6519
6520 * subr.el (add-to-list): Preserve return value in compiler-macro
6521 (bug#15692).
6522
6523 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6524
6525 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
6526 result. Ask user to retry using '-all' flag. (Bug#15701)
6527
6528 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6529
6530 * emacs-lisp/smie.el: New smie-config system.
6531 (smie-config): New defcustom.
6532 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
6533 (smie-config-guess, smie-config-save): New commands.
6534 (smie-config--mode-local, smie-config--buffer-local)
6535 (smie-config--trace, smie-config--modefuns): New vars.
6536 (smie-config--advice, smie-config--mode-hook)
6537 (smie-config--setter, smie-config-local, smie-config--get-trace)
6538 (smie-config--guess-value, smie-config--guess): New functions.
6539 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
6540 text properties. Treat "string fence" syntax like string syntax.
6541
6542 * progmodes/sh-script.el (sh-use-smie): Change default.
6543 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
6544 (sh-var-value): Simplify by CSE.
6545 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
6546 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
6547 is used.
6548 (sh-guess-basic-offset): Use cl-incf.
6549 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
6550
6551 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
6552
6553 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
6554 (bug#15699).
6555
6556 2013-10-24 Glenn Morris <rgm@gnu.org>
6557
6558 * Makefile.in (abs_top_srcdir): Remove.
6559 (update-subdirs): Use relative path to update-subdirs.
6560
6561 2013-10-24 Eli Zaretskii <eliz@gnu.org>
6562
6563 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
6564 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
6565 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
6566 Call unmsys--file-name before expand-file-name, not after it.
6567
6568 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
6569
6570 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
6571 (ert-test-skipped): New error.
6572 (ert-skip, ert-stats-skipped): New defuns.
6573 (ert--skip-unless): New macro.
6574 (ert-test-skipped): New struct.
6575 (ert--run-test-debugger, ert-test-result-type-p)
6576 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
6577 (ert--stats-set-test-and-result, ert-char-for-test-result)
6578 (ert-string-for-test-result, ert-run-tests-batch)
6579 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
6580 Handle skipped tests. (Bug#9803)
6581
6582 2013-10-24 Glenn Morris <rgm@gnu.org>
6583
6584 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
6585
6586 * Makefile.in (abs_top_srcdir): New, set by configure.
6587 (update-subdirs): Correct build-aux location.
6588
6589 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
6590
6591 * vc/vc.el (vc-print-root-log): Always set `default-directory'
6592 value, whether we could auto-deduce `backend', or not.
6593
6594 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
6595 with parameters" example. Simplify the "is it block or is it
6596 hash" check, but also make it more thorough.
6597
6598 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
6599
6600 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
6601
6602 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
6603
6604 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
6605 { if it is hanging.
6606
6607 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
6608 :before ";".
6609
6610 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
6611
6612 * progmodes/compile.el (compilation-directory-matcher)
6613 (compilation-page-delimiter):
6614 Support GNU Make-4.0 directory quoting. (Bug#15678)
6615
6616 2013-10-23 Leo Liu <sdl.web@gmail.com>
6617
6618 * ido.el (ido-tidy): Handle read-only text.
6619
6620 2013-10-23 Glenn Morris <rgm@gnu.org>
6621
6622 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
6623 (emacs, compile, compile-always):
6624 Quote entities that might contain whitespace.
6625 (custom-deps, finder-data, autoloads): Use abs_lisp.
6626 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
6627 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
6628 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
6629
6630 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
6631
6632 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
6633 Use `following-char'.
6634
6635 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
6636
6637 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
6638 * progmodes/ruby-mode.el (ruby-smie-rules):
6639 Remove corresponding workaround. Fix indentation rule of ";" so it
6640 also applies when ";" is the parent.
6641
6642 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
6643
6644 * frame.el (display-screens, display-pixel-height)
6645 (display-pixel-width, display-mm-width, display-backing-store)
6646 (display-save-under, display-planes, display-color-cells)
6647 (display-visual-class, display-monitor-attributes-list):
6648 Mention the optional ‘display’ argument in doc strings.
6649
6650 2013-10-22 Michael Gauland <mikelygee@amuri.net>
6651
6652 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
6653 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
6654
6655 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
6656
6657 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
6658 TODO. Add "." after " @ ".
6659 (ruby-smie--at-dot-call): New function. Checks if point at method
6660 call with explicit target.
6661 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
6662 to the method name tokens when it precedes them.
6663 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
6664 (ruby-smie-rules): Add rule for indentation before and after "."
6665 token.
6666
6667 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
6668
6669 * textmodes/remember.el (remember-diary-extract-entries):
6670 Avoid add-to-list.
6671
6672 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
6673 an instruction.
6674
6675 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
6676
6677 * progmodes/ruby-mode.el (ruby-smie-grammar):
6678 Add (almost) all infix operators.
6679 (ruby-smie--implicit-semi-p): Add new operator chars.
6680
6681 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
6682 `smie-down-list'.
6683 (ruby-smie--args-separator-p): Check that there's no newline
6684 between method call and its arguments.
6685
6686 2013-10-20 Alan Mackenzie <acm@muc.de>
6687
6688 Allow comma separated lists after Java "implements".
6689
6690 * progmodes/cc-engine.el (c-backward-over-enum-header):
6691 Parse commas.
6692 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
6693 from a "disallowed" list in enum fontification.
6694
6695 2013-10-20 Johan Bockgård <bojohan@gnu.org>
6696
6697 * startup.el (default-frame-background-mode): Remove unused defvar.
6698
6699 * progmodes/verilog-mode.el (verilog-mode): Don't set
6700 comment-indent-function globally.
6701
6702 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
6703
6704 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
6705 Move Info menu item creation to ns-win.el.
6706
6707 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
6708 in menu bar.
6709
6710 * menu-bar.el: Move GNUstep specific menus...
6711
6712 * term/ns-win.el (ns-initialize-window-system): ... to here.
6713
6714 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6715
6716 * simple.el (newline): Only run post-self-insert-hook when
6717 called interactively.
6718
6719 2013-10-19 Johan Bockgård <bojohan@gnu.org>
6720
6721 * icomplete.el (icomplete-with-completion-tables): Add :version.
6722
6723 2013-10-19 Alan Mackenzie <acm@muc.de>
6724
6725 Fix fontification bugs with constructors and const.
6726
6727 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
6728 CASE 2) Remove the check for the absence of a suffix construct
6729 after a function declaration with only types (no identifiers) in
6730 the parentheses. Also, accept a function declaration with just a
6731 type inside the parentheses, if this type can be positively
6732 recognised as such, or if a prefix keyword like "explicit" nails
6733 down the construct as a declaration.
6734
6735 2013-10-19 Eli Zaretskii <eliz@gnu.org>
6736
6737 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
6738 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
6739 the problem whereby selecting a menu item that leads to a
6740 minibuffer prompt moves the cursor out of the minibuffer window,
6741 making it hard to type at the prompt. Suggested by Stefan Monnier
6742 <monnier@iro.umontreal.ca>.
6743
6744 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
6745
6746 * menu-bar.el: Don't make Services menu.
6747
6748 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6749
6750 * ffap.el: Handle "/usr/include/c++/<version>" directories.
6751 (ffap-alist): Use ffap-c++-mode for c++-mode.
6752 (ffap-c++-path): New variable.
6753 (ffap-c++-mode): New function.
6754
6755 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
6756
6757 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
6758
6759 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
6760
6761 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
6762 introduced on 2013-09-08, which results in an infinite loop
6763 requesting a password.
6764
6765 2013-10-18 Glenn Morris <rgm@gnu.org>
6766
6767 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
6768
6769 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
6770
6771 Sync with upstream verilog-mode revision 1a6ecec7.
6772 * progmodes/verilog-mode.el (verilog-mode-version): Update.
6773 (verilog-mode-release-date): Remove.
6774 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
6775 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
6776 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
6777 (verilog-auto-tieoff-ignore-regexp)
6778 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
6779 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
6780 (verilog-signals-with, verilog-dir-cache-preserving)
6781 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
6782 Doc fixes.
6783 (verilog-case-fold): New option, to control case folding in
6784 regexp searches, bug597.
6785 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
6786 (verilog-string-match-fold, verilog-in-paren-count)
6787 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
6788 (verilog-at-close-struct-p): New functions.
6789 (verilog-beg-block-re-ordered, verilog-extended-case-re)
6790 (verilog-forward-sexp, verilog-set-auto-endcomments)
6791 (verilog-leap-to-case-head): Handle "unique0" case.
6792 (verilog-in-constraint-re): New constant.
6793 (verilog-keywords, verilog-type-font-keywords):
6794 Add some SystemVerilog 1800-2012 keywords.
6795 (verilog-label-be): Remove unimplemented argument, bug669.
6796 (verilog-batch-execute-func): When batch expanding clear
6797 create-lockfiles to prevent spurious user locks when a file ends
6798 up not changing.
6799 (verilog-calculate-indent, verilog-calc-1)
6800 (verilog-at-close-constraint-p, verilog-at-constraint-p)
6801 (verilog-do-indent): Fix indentation of nested constraints
6802 and structures.
6803 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
6804 (verilog-auto-inst-param): Use verilog-string-match-fold.
6805 (verilog-read-inst-module-matcher):
6806 Fix AUTOINST on gate primitives with #1.
6807 (verilog-read-decls): Fix double-declaring user-defined typed signals.
6808 Reads all user-defined typed variables.
6809 (verilog-read-defines): Fix reading definitions inside comments, bug647.
6810 (verilog-signals-matching-regexp)
6811 (verilog-signals-not-matching-regexp, verilog-auto):
6812 Respect verilog-case-fold.
6813 (verilog-diff-report): Fix line count.
6814 (verilog-auto-assign-modport): Remove unused local `modi'.
6815 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
6816 better handle multidimensional arrays.
6817 Fix packed array ports misadding bit index in AUTOINST, bug637.
6818 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
6819 to not double-declare existing outputs and inputs, respectively.
6820 (verilog-template-map): Bind U to verilog-sk-uvm-component.
6821 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
6822 (verilog-sk-uvm-component): New skeleton.
6823 (verilog-submit-bug-report): Add verilog-case-fold,
6824 remove verilog-mode-release-date.
6825
6826 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
6827
6828 * subr.el (sit-for): Call (input-pending-p t) so as to behave
6829 as before.
6830
6831 2013-10-18 Reuben Thomas <rrt@sc3d.org>
6832
6833 * textmodes/remember.el (remember): Set buffer-offer-save in
6834 remember buffers (bug#13566).
6835
6836 2013-10-18 Daniel Colascione <dancol@dancol.org>
6837
6838 When evaluating forms in ielm, direct standard output to ielm
6839 buffer. Add new ielm-return-for-effect command. Remove trailing
6840 whitespace throughout.
6841
6842 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
6843 (ielm-return-for-effect): New command.
6844 (ielm-send-input): Accept optional `for-effect' parameter.
6845 (ielm-eval-input): Accept optional `for-effect' parameter.
6846 Bind `standard-output' to stream we create using
6847 `ielm-standard-output-impl'. Suppress printing result when
6848 `for-effect'.
6849 (ielm-standard-output-impl): New function.
6850 (inferior-emacs-lisp-mode): Explain new features in documentation.
6851
6852 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
6853
6854 Code cleanup.
6855
6856 * net/tramp.el (tramp-debug-message): Do not check for connection
6857 buffer.
6858 (tramp-message): Use "vector" connection property.
6859
6860 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
6861 (tramp-equal-remote, tramp-eshell-directory-change)
6862 * net/tramp-adb.el (tramp-adb-handle-copy-file)
6863 (tramp-adb-handle-rename-file)
6864 * net/tramp-cmds.el (tramp-list-remote-buffers)
6865 (tramp-cleanup-connection, tramp-cleanup-this-connection)
6866 * net/tramp-compat.el (tramp-compat-process-running-p)
6867 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
6868 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
6869 (tramp-gvfs-handle-rename-file)
6870 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
6871 (tramp-set-file-uid-gid)
6872 * net/tramp-smb.el (tramp-smb-handle-copy-file)
6873 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
6874 of `file-remote-p'.
6875
6876 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
6877 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
6878 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
6879 (tramp-gw-open-network-stream): Suppress unrelated traces.
6880
6881 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
6882 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
6883 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6884 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
6885 connection property.
6886
6887 * net/tramp-cache.el (top): Suppress traces when reading
6888 persistency file.
6889
6890 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6891 Refactor common code. Improve debug message.
6892 (tramp-maybe-open-connection)
6893 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
6894 connection buffer too early.
6895
6896 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
6897 from `tramp-smb-actions-with-acl'.
6898 (tramp-smb-actions-set-acl): New defconst.
6899 (tramp-smb-handle-copy-directory)
6900 (tramp-smb-action-get-acl): New defun, renamed from
6901 `tramp-smb-action-with-acl'.
6902 (tramp-smb-action-set-acl): New defun.
6903 (tramp-smb-handle-set-file-acl): Rewrite.
6904
6905 2013-10-17 Glenn Morris <rgm@gnu.org>
6906
6907 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
6908
6909 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
6910
6911 * skeleton.el (skeleton-newline): Remove.
6912 (skeleton-internal-1): Use (insert "\n") instead.
6913
6914 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
6915 let-bindings.
6916
6917 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
6918 forward-sexp-function while we redo its job (bug#15613).
6919
6920 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
6921
6922 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
6923 represented by lists.
6924
6925 2013-10-16 Glenn Morris <rgm@gnu.org>
6926
6927 * tmm.el (tmm--history): New dynamic variable.
6928 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
6929
6930 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
6931
6932 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
6933 (tramp-smb-errors): Add error messages.
6934 (tramp-smb-actions-with-acl): New defconst.
6935 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
6936 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
6937 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
6938 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
6939 (tramp-smb-get-stat-capability): Fix tests.
6940
6941 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
6942
6943 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
6944 (bug#15580).
6945
6946 2013-10-16 Glenn Morris <rgm@gnu.org>
6947
6948 * ansi-color.el (ansi-color-drop-regexp):
6949 Add 1J, 1K, 2K. (Bug#15617)
6950
6951 * files.el (hack-local-variables--warned-lexical): New.
6952 (hack-local-variables):
6953 Warn about misplaced lexical-binding. (Bug#15616)
6954
6955 * net/eww.el (eww-render): Always set eww-current-url,
6956 and update header line. (Bug#15622)
6957 (eww-display-html): ... Rather than just doing it here.
6958
6959 2013-10-15 Eli Zaretskii <eliz@gnu.org>
6960
6961 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
6962 menu navigations commands.
6963
6964 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
6965
6966 * progmodes/subword.el (subword-capitalize): Be careful when
6967 the search for [[:alpha:]] fails (bug#15580).
6968
6969 2013-10-14 Eli Zaretskii <eliz@gnu.org>
6970
6971 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
6972 to commands that scroll the menu.
6973
6974 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
6975
6976 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
6977 Handle methods ending with `?' and `!'.
6978
6979 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
6980
6981 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
6982 `japanese-cp932' to `cp932' to fix the problem where saving a
6983 source file written in Shift_JIS twice would end up having
6984 `coding: japanese-cp932' which Ruby could not recognize.
6985 (ruby-mode-set-encoding): Add support for encodings mapped to nil
6986 in `ruby-encoding-map'.
6987 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
6988 doesn't need to be explicitly declared in magic comment.
6989 (ruby-encoding-map): Add type declaration for better customize UI.
6990
6991 2013-10-13 Glenn Morris <rgm@gnu.org>
6992
6993 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
6994 Occur buffers are read-only. http://bugs.debian.org/720775
6995
6996 * emacs-lisp/authors.el (authors-fixed-entries):
6997 Comment out old alpha stuff.
6998
6999 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
7000
7001 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
7002 to `after-save-hook' instead of `before-save-hook'.
7003 (ruby-mode-set-encoding): Use the value of coding system used to
7004 write the file. Call `basic-save-buffer-1' after modifying the
7005 buffer.
7006
7007 2013-10-13 Alan Mackenzie <acm@muc.de>
7008
7009 Fix indentation/fontification of Java enum with
7010 "implements"/generic.
7011
7012 * progmodes/cc-engine.el (c-backward-over-enum-header):
7013 Extracted from the three other places and enhanced to handle generics.
7014 (c-inside-bracelist-p): Uses new function above.
7015 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
7016 function above.
7017 (c-font-lock-enum-tail): Uses new function above.
7018
7019 2013-10-13 Kenichi Handa <handa@gnu.org>
7020
7021 * international/mule-cmds.el (select-safe-coding-system): Remove a
7022 superfluous condition in chekcing whether a coding system is safe
7023 or not.
7024
7025 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
7026
7027 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
7028
7029 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
7030
7031 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
7032
7033 2013-10-13 Glenn Morris <rgm@gnu.org>
7034
7035 * menu-bar.el (menu-bar-update-buffers):
7036 Unify Buffers menu prompt string. (Bug#15576)
7037
7038 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
7039
7040 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
7041 Add some entries.
7042 (authors-fixed-entries): Use accented form of name.
7043
7044 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7045
7046 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
7047 method calls (bug#15594).
7048 (ruby-smie--args-separator-p): New function.
7049 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
7050 recognize paren-free method calls.
7051
7052 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
7053 internals of universal-argument.
7054
7055 2013-10-11 Eli Zaretskii <eliz@gnu.org>
7056
7057 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
7058 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
7059 dropped menu on second mouse click on the menu bar.
7060
7061 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7062
7063 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
7064 (explicit-shell-file-name): Declare.
7065 (sh--vars-before-point, sh--cmd-completion-table): New functions.
7066 (sh-completion-at-point-function): New function.
7067 (sh-mode): Use it.
7068 (sh-smie--keyword-p): Remove unused argument.
7069 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
7070 vars.
7071 (sh-set-shell): Always setup SMIE, even if we use the
7072 old indentation code.
7073
7074 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
7075
7076 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
7077 cases of ? and =.
7078 (ruby-smie-rules): Simplify the "do" rule. The cases when the
7079 predicate would return nil are almost non-existent.
7080 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
7081
7082 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
7083 cache also after commands that modify the buffer but don't move
7084 point.
7085
7086 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7087
7088 * env.el (substitute-env-in-file-name): New function.
7089 (substitute-env-vars): Extend the meaning of the optional arg.
7090
7091 2013-10-10 Eli Zaretskii <eliz@gnu.org>
7092
7093 * term/w32-win.el (dynamic-library-alist): Define separate lists
7094 of GIF DLLs for versions before and after 5.0.0 of giflib.
7095 (Bug#15531)
7096
7097 2013-10-10 João Távora <joaotavora@gmail.com>
7098
7099 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
7100 not locked, use last revision and current source as
7101 defaults. (Bug#15569)
7102
7103 2013-10-10 Masatake YAMATO <yamato@redhat.com>
7104
7105 * menu-bar.el (menu-bar-open): Don't use popup-menu if
7106 menu-bar is hidden.
7107
7108 2013-10-10 Martin Rudalics <rudalics@gmx.at>
7109
7110 * window.el (pop-to-buffer-same-window): Fix doc-string.
7111 (Bug#15492)
7112
7113 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7114
7115 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
7116
7117 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
7118
7119 * calendar/icalendar.el (icalendar-import-file):
7120 Fix interactive spec. (Bug#15482)
7121
7122 2013-10-10 Glenn Morris <rgm@gnu.org>
7123
7124 * desktop.el (desktop-save): Default to saving in .emacs.d,
7125 since PWD is no longer in desktop-path by default. (Bug#15319)
7126
7127 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
7128 now that text mode has a menu with the same entry.
7129 (menu-bar-text-mode-auto-fill): Remove now unused func.
7130 * textmodes/text-mode.el (text-mode-map):
7131 Use auto-fill help text from menu-bar.el.
7132
7133 2013-10-10 John Anthony <john@jo.hnanthony.com>
7134
7135 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
7136
7137 2013-10-09 Juri Linkov <juri@jurta.org>
7138
7139 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
7140 instead of this-command-keys. Add universal-argument-more and
7141 universal-argument-minus to the list of prefix commands. (Bug#15568)
7142
7143 2013-10-09 Glenn Morris <rgm@gnu.org>
7144
7145 * vc/vc-svn.el (vc-svn-create-repo):
7146 Expand paths in file://... url. (Bug#15446)
7147
7148 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
7149 Add some entries.
7150 (authors): Remove unused local variables.
7151
7152 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7153
7154 * profiler.el: Create a more coherent calltree from partial backtraces.
7155 (profiler-format): Hide the tail with `invisible' so that C-s can still
7156 find the hidden elements.
7157 (profiler-calltree-depth): Don't recurse so enthusiastically.
7158 (profiler-function-equal): New hash-table-test.
7159 (profiler-calltree-build-unified): New function.
7160 (profiler-calltree-build): Use it.
7161 (profiler-report-make-name-part): Indent the calltree less.
7162 (profiler-report-mode): Add visibility specs for profiler-format.
7163 (profiler-report-expand-entry, profiler-report-toggle-entry):
7164 Expand the whole subtree when provided with a prefix arg.
7165
7166 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
7167
7168 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
7169 iuwu-mod token.
7170 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
7171 hanging iuwu-mod token.
7172 (ruby-smie--forward-token): Do not include a dot after a token in
7173 that token.
7174 (ruby-smie--backward-token): Likewise.
7175
7176 2013-10-08 Juri Linkov <juri@jurta.org>
7177
7178 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
7179 to isearch-other-control-char.
7180 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
7181 and isearch-post-command-hook to post-command-hook.
7182 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
7183 and isearch-post-command-hook from post-command-hook.
7184 (isearch-unread-key-sequence)
7185 (isearch-reread-key-sequence-naturally)
7186 (isearch-lookup-scroll-key, isearch-other-control-char)
7187 (isearch-other-meta-char): Remove functions.
7188 (isearch-pre-command-hook, isearch-post-command-hook):
7189 New functions based on isearch-other-meta-char rewritten
7190 relying on the new behavior of overriding-terminal-local-map
7191 that does not replace the local keymaps any more. (Bug#15200)
7192
7193 2013-10-08 Eli Zaretskii <eliz@gnu.org>
7194
7195 Support menus on text-mode terminals.
7196 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
7197 functionality.
7198
7199 * tooltip.el (tooltip-mode): Don't error out on TTYs.
7200
7201 * menu-bar.el (popup-menu, popup-menu-normalize-position):
7202 Move here from mouse.el.
7203 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
7204 and arrow keys.
7205 (tty-menu-navigation-map): New map for TTY menu navigation.
7206
7207 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
7208
7209 * frame.el (display-mouse-p): Report text-mode mouse as available
7210 on w32.
7211 (display-popup-menus-p): Report availability if mouse is
7212 available; don't condition on window-system.
7213
7214 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
7215 (tty-menu-selected-face): New faces.
7216
7217 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7218
7219 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
7220 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
7221 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
7222 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
7223 New constants.
7224 (lisp-mode-variables): New `elisp' argument.
7225 (emacs-lisp-mode): Use it.
7226 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
7227 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
7228
7229 * indent.el: Use lexical-binding.
7230 (indent-region): Add progress reporter.
7231 (tab-stop-list): Make it implicitly extend to infinity by repeating the
7232 last step.
7233 (indent--next-tab-stop): New function to implement this behavior.
7234 (tab-to-tab-stop, move-to-tab-stop): Use it.
7235
7236 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
7237
7238 * indent.el (indent-rigidly--current-indentation): New function.
7239 (indent-rigidly-map): New var.
7240 (indent-rigidly): Use it to provide interactive mode (bug#8196).
7241
7242 2013-10-08 Bastien Guerry <bzg@gnu.org>
7243
7244 * register.el (insert-register): Fix 2013-10-07 change.
7245
7246 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7247
7248 * progmodes/perl-mode.el: Use lexical-binding.
7249 Remove redundant :group args.
7250 (perl-nochange): Change default to be closer to other major modes's
7251 standard behavior.
7252 (perl-indent-line): Don't consider text on current line as a
7253 valid beginning of function from which to indent.
7254
7255 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
7256 with more than one argument (bug#15538).
7257
7258 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
7259
7260 * vc/pcvs.el: Use lexical-binding.
7261 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
7262 environment of `eval'.
7263 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
7264 than a list of expressions. Adjust callers.
7265 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
7266
7267 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
7268
7269 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
7270 case of the dot in a chained method call being on the following line.
7271
7272 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7273
7274 * electric.el (electric-indent-inhibit): New var.
7275 (electric-indent-post-self-insert-function): Use it.
7276 * progmodes/python.el (python-mode): Set it.
7277
7278 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
7279 open braces.
7280
7281 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
7282
7283 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
7284 (css-mode): Use electric-indent-chars.
7285
7286 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
7287 (font-lock-beg, font-lock-end): Move before first use.
7288 (nxml-mode): Use syntax-propertize-function.
7289 (nxml-after-change, nxml-after-change1): Adjust accordingly.
7290 (nxml-extend-after-change-region): Remove.
7291 * nxml/xmltok.el: Use lexical-binding.
7292 (xmltok-save): Use `declare'.
7293 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
7294 * nxml/nxml-util.el: Use lexical-binding.
7295 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
7296 Use `declare'.
7297 * nxml/nxml-ns.el: Use lexical-binding.
7298 (nxml-ns-save): Use `declare'.
7299 (nxml-ns-prefixes-for): Avoid add-to-list.
7300 * nxml/rng-match.el: Use lexical-binding.
7301 (rng--ipattern): Use cl-defstruct.
7302 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
7303 (rng-cons-group-after, rng-subst-group-after)
7304 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
7305 Use closures instead of `(lambda...).
7306
7307 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
7308
7309 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
7310 of BEG and END.
7311
7312 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7313 Use `tramp-handle-insert-file-contents'.
7314 (tramp-gvfs-handle-insert-file-contents): Remove function.
7315
7316 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
7317 Use `save-restriction' in order to keep markers.
7318
7319 * net/trampver.el: Update release number.
7320
7321 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7322
7323 * progmodes/compile.el (compilation-parse-errors):
7324 Use compilation--put-prop.
7325 (compilation--ensure-parse): Check compilation-multiline.
7326
7327 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
7328
7329 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
7330 lexical-binding.
7331
7332 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
7333
7334 * progmodes/ruby-mode.el: Fix recently added tests.
7335 (ruby-smie-grammar): Add - and +.
7336 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
7337 (ruby-smie--backward-id): New functions.
7338 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
7339 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
7340 any more.
7341
7342 2013-10-07 Leo Liu <sdl.web@gmail.com>
7343
7344 * register.el (register-preview-delay)
7345 (register-preview-functions): New variables.
7346 (register-read-with-preview, register-preview)
7347 (register-describe-oneline): New functions.
7348 (point-to-register, window-configuration-to-register)
7349 (frame-configuration-to-register, jump-to-register)
7350 (number-to-register, view-register, insert-register)
7351 (copy-to-register, append-to-register, prepend-to-register)
7352 (copy-rectangle-to-register): Use register-read-with-preview to
7353 read register. (Bug#15525)
7354
7355 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
7356
7357 * net/network-stream.el (network-stream-open-starttls): Don't add
7358 --insecure if it's already present, because that gnutls-cli
7359 rejects getting that parameter twice.
7360
7361 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
7362
7363 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
7364 keyword, too.
7365
7366 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
7367
7368 * newcomment.el (comment-use-global-state): Change default value
7369 to t, mark obsolete (Bug#15251).
7370 (comment-beginning): In addition to `comment-to-syntax', check the
7371 value of `comment-use-global-state'.
7372
7373 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7374
7375 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
7376 (ruby-comment-column): Follow the global default, by default.
7377 (ruby-smie-grammar): Add assignment syntax.
7378 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
7379 open-paren, a comma, or a \.
7380 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
7381 and line continuations.
7382 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
7383 followed by implicit semi-colons. Add rule for string concatenation
7384 and for indentation at BOB.
7385 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
7386
7387 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
7388 calling next-sexp, since next-token may have skipped chars which
7389 next-sexp doesn't know should be skipped!
7390
7391 2013-10-05 Leo Liu <sdl.web@gmail.com>
7392
7393 * progmodes/octave.el (octave-send-region):
7394 Call compilation-forget-errors.
7395
7396 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
7397
7398 * vc/vc-svn.el (vc-svn-find-admin-dir):
7399 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
7400 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
7401 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
7402 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
7403
7404 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
7405
7406 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
7407
7408 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
7409
7410 * subr.el (read-passwd): Hide chars even when called within a context
7411 where after-change-functions is disabled (bug#15501).
7412 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
7413 until we removed ourself from overriding-terminal-local-map.
7414
7415 2013-10-04 Leo Liu <sdl.web@gmail.com>
7416
7417 * progmodes/octave.el (inferior-octave-mode):
7418 Call compilation-forget-errors.
7419
7420 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
7421
7422 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
7423
7424 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
7425
7426 * net/secrets.el (secrets-create-collection): Add optional
7427 argument ALIAS. Use proper Label keyword. Append ALIAS as
7428 dbus-call-method argument. (Bug#15516)
7429
7430 2013-10-04 Leo Liu <sdl.web@gmail.com>
7431
7432 * progmodes/octave.el (inferior-octave-error-regexp-alist)
7433 (inferior-octave-compilation-font-lock-keywords): New variables.
7434 (compilation-error-regexp-alist)
7435 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
7436 (inferior-octave-mode): Use compilation-shell-minor-mode.
7437
7438 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
7439
7440 * minibuffer.el (completion--replace): Be careful that `end' might be
7441 a marker.
7442
7443 2013-10-03 Daiki Ueno <ueno@gnu.org>
7444
7445 Add support for package signature checking.
7446 * emacs-lisp/package.el (url-http-file-exists-p)
7447 (epg-make-context, epg-context-set-home-directory)
7448 (epg-verify-string, epg-context-result-for)
7449 (epg-signature-status, epg-signature-to-string)
7450 (epg-check-configuration, epg-configuration)
7451 (epg-import-keys-from-file): Declare.
7452 (package-check-signature): New user option.
7453 (package-unsigned-archives): New user option.
7454 (package-desc): Add `signed' field.
7455 (package-load-descriptor): Set `signed' field if .signed file exists.
7456 (package--archive-file-exists-p): New function.
7457 (package--check-signature): New function.
7458 (package-install-from-archive): Check package signature.
7459 (package--download-one-archive): Check archive signature.
7460 (package-delete): Remove .signed file.
7461 (package-import-keyring): New command.
7462 (package-refresh-contents): Import default keyring.
7463 (package-desc-status): Add "unsigned" status.
7464 (describe-package-1, package-menu--print-info)
7465 (package-menu-mark-delete, package-menu--find-upgrades)
7466 (package-menu--status-predicate): Support "unsigned" status.
7467
7468 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7469
7470 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
7471 the new compilation scheme using the new byte-codes.
7472
7473 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
7474 (byte-pophandler): New byte codes.
7475 (byte-goto-ops): Adjust accordingly.
7476 (byte-compile--use-old-handlers): New var.
7477 (byte-compile-catch): Use new byte codes depending on
7478 byte-compile--use-old-handlers.
7479 (byte-compile-condition-case--old): Rename from
7480 byte-compile-condition-case.
7481 (byte-compile-condition-case--new): New function.
7482 (byte-compile-condition-case): New function that dispatches depending
7483 on byte-compile--use-old-handlers.
7484 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
7485 when we can.
7486
7487 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
7488 Optimize under `condition-case' and `catch' if
7489 byte-compile--use-old-handlers is nil.
7490 (disassemble-offset): Handle new bytecodes.
7491
7492 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7493
7494 * subr.el (error): Use `declare'.
7495 (decode-char, encode-char): Use advertised-calling-convention instead
7496 of the docstring to discourage use of the `restriction' arg.
7497
7498 2013-10-03 Daiki Ueno <ueno@gnu.org>
7499
7500 * epg.el (epg-verify-file): Add a comment saying that it does not
7501 notify verification error as a return value nor a signal.
7502 (epg-verify-string): Ditto.
7503
7504 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
7505
7506 * progmodes/compile.el (compilation-start): Try globbing the arg to
7507 `cd' (bug#15417).
7508
7509 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
7510
7511 Sync with Tramp 2.2.8.
7512
7513 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
7514 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
7515 * net/trampver.el: Update release number.
7516
7517 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
7518
7519 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
7520 and default-process-coding-system for darwin only.
7521
7522 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
7523
7524 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
7525
7526 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
7527
7528 * vc/vc-git.el (vc-git-grep): Disable pager.
7529
7530 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
7531
7532 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
7533 Use :url instead of :homepage, as per
7534 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
7535
7536 * newcomment.el (comment-beginning): When `comment-use-syntax' is
7537 non-nil, use `syntax-ppss' (Bug#15251).
7538
7539 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7540
7541 * progmodes/octave.el (inferior-octave-startup-file):
7542 Prefer ~/.emacs.d/init_octave.m.
7543
7544 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
7545
7546 * emacs-lisp/package.el (package-desc-from-define):
7547 Accept additional arguments as plist, convert them to an alist and store
7548 them in the `extras' slot.
7549 (package-generate-description-file): Convert extras alist back to
7550 plist and append to the `define-package' form arguments.
7551 (package--alist-to-plist): New function.
7552 (package--ac-desc): Add `extras' slot.
7553 (package--add-to-archive-contents): Check if the archive-contents
7554 vector is long enough, and if it is, pass its `extras' slot value
7555 to `package-desc-create'.
7556 (package-buffer-info): Call `lm-homepage', pass the returned value
7557 to `package-desc-from-define'.
7558 (describe-package-1): Render the homepage button (Bug#13291).
7559
7560 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7561 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
7562
7563 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
7564
7565 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
7566 and default-process-coding-system to utf-8-unix (Bug#15402).
7567
7568 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
7569
7570 * subr.el (looking-back): Do not recommend using looking-back.
7571
7572 2013-09-28 Alan Mackenzie <acm@muc.de>
7573
7574 Fix indentation/fontification of Java enum with "implements".
7575
7576 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
7577 regexp which matches "implements", etc., in Java.
7578 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
7579 specifier clauses coming after "enum".
7580 * progmodes/cc-fonts.el (c-font-lock-declarations)
7581 (c-font-lock-enum-tail): Check for extra specifier clauses coming
7582 after "enum".
7583
7584 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
7585
7586 * faces.el (region): Change ns_selection_color to
7587 ns_selection_fg_color, add ns_selection_bg_color.
7588
7589 2013-09-28 Leo Liu <sdl.web@gmail.com>
7590
7591 * progmodes/octave.el (inferior-octave-completion-table)
7592 (inferior-octave-completion-at-point): Minor tweaks.
7593
7594 * textmodes/ispell.el (ispell-lookup-words): Rename from
7595 lookup-words. (Bug#15460)
7596 (lookup-words): Obsolete.
7597 (ispell-complete-word, ispell-command-loop): All uses changed.
7598
7599 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7600
7601 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
7602 (octave-mode-menu): Add octave-send-buffer.
7603 (octave-send-buffer): New function.
7604
7605 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7606
7607 * progmodes/octave.el (octave-mode-map): Add key binding for
7608 octave-lookfor.
7609 (octave-mode-menu): Add octave-lookfor.
7610 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
7611 octave-lookfor.
7612 (octave-lookfor): New function.
7613
7614 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
7615
7616 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
7617 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
7618 its convention.
7619 (cl--loop-set-iterator-function): New function.
7620 (cl-loop): Adjust accordingly, so as not to use cl-subst.
7621 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
7622 Bind `it' with `let' instead of substituting it with `cl-subst'.
7623 (cl--unused-var-p): New function.
7624 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
7625 Eliminate some unused variable warnings (bug#15326).
7626
7627 2013-09-27 Tassilo Horn <tsdh@gnu.org>
7628
7629 * doc-view.el (doc-view-scale-reset): Rename from
7630 `doc-view-reset-zoom-level'.
7631 (doc-view-scale-adjust): New command.
7632 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
7633 `doc-view-scale-adjust'.
7634
7635 2013-09-26 Tassilo Horn <tsdh@gnu.org>
7636
7637 * doc-view.el (doc-view-reset-zoom-level): New command.
7638 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
7639 zoom commands (bug#15466).
7640
7641 2013-09-26 Kenichi Handa <handa@gnu.org>
7642
7643 * international/quail.el (quail-help): Make it not a command.
7644
7645 2013-09-26 Leo Liu <sdl.web@gmail.com>
7646
7647 * minibuffer.el (completion-all-sorted-completions): Make args
7648 optional as they are.
7649
7650 2013-09-25 Daniel Colascione <dancol@dancol.org>
7651
7652 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
7653 specs are and that they're not evaluated.
7654
7655 2013-09-24 Sam Steingold <sds@gnu.org>
7656
7657 * midnight.el (clean-buffer-list-kill-regexps)
7658 (clean-buffer-list-kill-buffer-names): Update for the new Man
7659 buffer naming which includes the object name.
7660
7661 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7662
7663 * eshell/esh-cmd.el (eshell--sep-terms): New var.
7664 (eshell-parse-command, eshell-parse-pipeline): Use it since
7665 eshell-separate-commands requires a dynamic scoped var.
7666 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
7667
7668 2013-09-23 Leo Liu <sdl.web@gmail.com>
7669
7670 * autoinsert.el (auto-insert-alist): Make the value of
7671 lexical-binding match its file setting.
7672
7673 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
7674
7675 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
7676
7677 * autoarg.el (autoarg-kp-digit-argument):
7678 * electric.el (Electric-command-loop):
7679 * kmacro.el (kmacro-step-edit-insert):
7680 Do not set universal-argument-num-events.
7681
7682 2013-09-22 Leo Liu <sdl.web@gmail.com>
7683
7684 * files.el (interpreter-mode-alist): Add octave.
7685
7686 2013-09-21 Alan Mackenzie <acm@muc.de>
7687
7688 C++: fontify identifier in declaration following "public:" correctly.
7689 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
7690 to match "public", etc.
7691 (c-decl-prefix-re): Add ":" into the C++ value.
7692 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
7693 bit. Add a check for a ":" preceded by "public", etc.
7694
7695 2013-09-21 Eli Zaretskii <eliz@gnu.org>
7696
7697 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
7698 recognized by GDB 7.5 and later.
7699
7700 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
7701
7702 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
7703
7704 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7705
7706 * subr.el (internal--call-interactively): New const.
7707 (called-interactively-p): Use it (bug#3984).
7708
7709 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
7710
7711 * vc/pcvs.el (cvs-mode-ignore):
7712 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
7713 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
7714
7715 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7716
7717 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
7718 (eshell-ls-orig-insert-directory): Remove.
7719 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
7720 (eshell-ls-use-in-dired): Use advice-add/remove.
7721 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
7722 Add `orig-fun' arg for use in :around advice.
7723 Make it check (redundantly) eshell-ls-use-in-dired.
7724
7725 2013-09-19 Glenn Morris <rgm@gnu.org>
7726
7727 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
7728
7729 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
7730
7731 * emacs-lisp/eieio.el (class-parent): Undo previous change.
7732
7733 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
7734
7735 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
7736 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
7737 (tramp-get-remote-python): New defuns.
7738 (tramp-get-remote-uid-with-perl)
7739 (tramp-get-remote-gid-with-perl): New defuns. Perl code
7740 contributed by yary <not.com@gmail.com> (tiny change).
7741 (tramp-get-remote-uid-with-python)
7742 (tramp-get-remote-gid-with-python): New defuns. Python code
7743 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
7744 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
7745
7746 2013-09-19 Glenn Morris <rgm@gnu.org>
7747
7748 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
7749
7750 * eshell/em-unix.el (eshell-remove-entries):
7751 Rename argument to avoid name-clash with global `top-level'.
7752
7753 * eshell/esh-proc.el (eshell-kill-process-function):
7754 Remove eshell-reset-after-proc from eshell-kill-hook if present.
7755 (eshell-reset-after-proc): Remove unused arg `proc'.
7756
7757 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
7758 (directory-files-and-attributes): Mark unused arg.
7759
7760 * eshell/em-unix.el (eshell-remove-entries):
7761 Remove unused arg `path'. Update callers.
7762
7763 * eshell/em-hist.el (eshell-hist-parse-arguments):
7764 Remove unused arg `silent'. Update callers.
7765
7766 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
7767 Fix (f)boundp mix-up.
7768
7769 * eshell/em-smart.el (eshell-smart-scroll-window)
7770 (eshell-disable-after-change):
7771 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
7772
7773 2013-09-18 Alan Mackenzie <acm@muc.de>
7774
7775 Fix fontification of type when followed by "const".
7776 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
7777 "known" types from fontification.
7778
7779 2013-09-18 Glenn Morris <rgm@gnu.org>
7780
7781 * emacs-lisp/chart.el (x-display-color-cells): Declare.
7782 (chart-face-list): Drop Emacsen without display-color-p.
7783
7784 * net/eww.el (libxml-parse-html-region): Declare.
7785 (eww-display-html): Explicit error if no libxml2 support.
7786
7787 * doc-view.el (doc-view-mode): Silence --without-x compilation.
7788
7789 * image.el (image-type-from-buffer, image-multi-frame-p):
7790 Remove --without-x warning/error.
7791
7792 * mouse.el (mouse-yank-primary):
7793 * term.el (term-mouse-paste):
7794 Reorder to silence --without-x compilation.
7795
7796 * mpc.el (doc-view-mode): Silence --without-x compilation.
7797
7798 * mail/rmailmm.el (rmail-mime-set-bulk-data):
7799 Silence --without-x compilation.
7800
7801 * progmodes/gud.el (gud-find-file, gud-mode):
7802 Silence --without-x compilation.
7803 (tooltip-mode): Declare.
7804
7805 * wdired.el (dired-backup-overwrite): Remove declaration.
7806 (wdired-mode-map): Add doc string.
7807
7808 * custom.el (x-get-resource): Declare.
7809
7810 * eshell/em-glob.el (ange-cache):
7811 * eshell/em-unix.el (ange-cache): Declare.
7812
7813 * faces.el (x-display-list, x-open-connection, x-get-resource):
7814 Declare.
7815
7816 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
7817 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
7818 Declare.
7819
7820 * frame.el (x-display-grayscale-p, x-display-name): Declare.
7821
7822 * net/gnutls.el (gnutls-log-level): Declare.
7823
7824 * net/shr.el (image-size, image-animate): Declare.
7825
7826 * simple.el (font-info): Declare.
7827
7828 * subr.el (x-popup-dialog): Declare.
7829
7830 * term/common-win.el (x-select-enable-primary)
7831 (x-last-selected-text-primary, x-last-selected-text-clipboard):
7832 Declare.
7833
7834 * term/ns-win.el (x-handle-args): Declare.
7835
7836 * term/x-win.el (x-select-enable-clipboard): Declare.
7837
7838 * term/w32-win.el (create-default-fontset): Declare.
7839
7840 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
7841 Declare.
7842
7843 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
7844 (fit-frame-to-buffer): Explicit error if --without-x.
7845 (mouse-autoselect-window-select): Silence compiler.
7846
7847 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
7848
7849 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
7850 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
7851 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
7852 * eshell/esh-util.el (eshell-sublist):
7853 Remove unused local variables.
7854
7855 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
7856
7857 * textmodes/two-column.el: Make 2C-split work for --without-x.
7858 (scroll-bar-columns): Autoload.
7859 (top-level): Require fringe when compiling.
7860
7861 2013-09-18 Leo Liu <sdl.web@gmail.com>
7862
7863 * subr.el (add-hook): Robustify to handle closure as well.
7864
7865 2013-09-17 Glenn Morris <rgm@gnu.org>
7866
7867 * simple.el (messages-buffer-mode-map): Unbind "g".
7868
7869 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
7870
7871 * help-mode.el (help-mode-finish): Use derived-mode-p.
7872 Remove obsolete highlighting.
7873
7874 * play/life.el (life-mode): Use define-derived-mode. Derive from
7875 special-mode.
7876 (life): Let-bind inhibit-read-only.
7877 (life-setup): Avoid `setq'. Use `life-mode'.
7878
7879 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
7880 which should not be needed any more.
7881 (package-menu-refresh, package-menu-describe-package): Use user-error.
7882
7883 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
7884 (eshell-post-rewrite-command-hook): Make obsolete.
7885 (eshell-parse-command): Simplify.
7886 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
7887 (eshell--cmd): Declare.
7888 (eshell-parse-pipeline): Remove unused var `final-p'.
7889 Pass a dynvar to eshell-post-rewrite-command-hook.
7890 Implement the new eshell-post-rewrite-command-function.
7891 (eshell-invoke-directly): Remove unused arg `input'.
7892 * eshell/esh-io.el (eshell-io-initialize):
7893 Use eshell-post-rewrite-command-function (bug#15399).
7894 (eshell--apply-redirections): Rename from eshell-apply-redirections;
7895 adjust to new calling convention.
7896 (eshell-create-handles): Rename args to avoid clashing with dynvar
7897 `standard-output'.
7898
7899 2013-09-17 Glenn Morris <rgm@gnu.org>
7900
7901 * simple.el (messages-buffer-mode): New major mode.
7902 (messages-buffer): New function.
7903 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
7904 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
7905 (ert-run-test): Use `messages-buffer' function.
7906 (ert--force-message-log-buffer-truncation): Ignore read-only.
7907 * help.el (view-echo-area-messages): Use `messages-buffer' function.
7908 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
7909
7910 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
7911
7912 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
7913
7914 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
7915
7916 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
7917
7918 * icomplete.el (icomplete-in-buffer): New var.
7919 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
7920 vars and replace them with functions.
7921 (icomplete-minibuffer-setup): Adjust accordingly.
7922 (icomplete--completion-table, icomplete--completion-predicate)
7923 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
7924 New functions.
7925 (icomplete-forward-completions, icomplete-backward-completions)
7926 (icomplete-simple-completing-p, icomplete-exhibit)
7927 (icomplete-completions): Use them.
7928 (icomplete--in-region-buffer): New var.
7929 (icomplete--in-region-setup): New function.
7930 (icomplete-mode): Use it.
7931
7932 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
7933 (bug#15379).
7934 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
7935 return args and options.
7936 (eshell-eval-using-options): Use the new return value of
7937 eshell--do-opts to set the options's vars in their scope.
7938 (eshell--set-option): Rename from eshell-set-option.
7939 Add arg `opt-vals'.
7940 (eshell--process-option): Rename from eshell-process-option.
7941 Add arg `opt-vals'.
7942 (eshell--process-args): Use an `opt-vals' alist to store the options's
7943 values during their processing and return them additionally to the
7944 remaining args.
7945
7946 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
7947
7948 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
7949 continuation character an operator, as far as indentation is
7950 concerned (Bug#15369).
7951
7952 2013-09-15 Martin Rudalics <rudalics@gmx.at>
7953
7954 * window.el (window--state-put-2): Don't process buffer state
7955 when buffer doesn't exist any more (Bug#15382).
7956
7957 2013-09-15 Glenn Morris <rgm@gnu.org>
7958
7959 * eshell/em-unix.el (eshell/rm):
7960 Make -f ignore missing files. (Bug#15373)
7961
7962 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
7963 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
7964 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
7965
7966 2013-09-14 Glenn Morris <rgm@gnu.org>
7967
7968 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
7969
7970 2013-09-13 Glenn Morris <rgm@gnu.org>
7971
7972 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
7973 (dired-guess-default): Make `file' available in the env. (Bug#15363)
7974
7975 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
7976
7977 * frame.el (x-focus-frame): Mark as declared in frame.c.
7978
7979 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
7980
7981 * ls-lisp.el: Use advice-add.
7982 (original-insert-directory): Remove.
7983 (ls-lisp--insert-directory): Rename from insert-directory; add
7984 `orig-fun' argument.
7985 (insert-directory): Advise.
7986
7987 2013-09-13 Eli Zaretskii <eliz@gnu.org>
7988
7989 * term.el (term-emulate-terminal): Decode the command string
7990 before passing it to term-command-hook. (Bug#15337)
7991
7992 2013-09-13 Glenn Morris <rgm@gnu.org>
7993
7994 * eshell/esh-util.el (ange-cache): Move declaration earlier.
7995
7996 * eshell/esh-ext.el (eshell-search-path): Declare.
7997
7998 * eshell/em-prompt.el (eshell/pwd): Autoload it.
7999 Otherwise an error occurs if eshell-dirs module not loaded.
8000
8001 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
8002
8003 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
8004
8005 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
8006 `tramp-check-proper-host'. Check for a valid method name.
8007
8008 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8009 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8010 * net/tramp-sh.el (tramp-maybe-open-connection):
8011 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
8012
8013 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
8014 also for hash values.
8015
8016 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8017
8018 * term/ns-win.el (parameters): Don't declare as dynamic.
8019 (before-make-frame-hook): Don't add ineffective function.
8020
8021 * eshell/*.el: Use lexical-binding (bug#15231).
8022
8023 2013-09-12 Kenichi Handa <handa@gnu.org>
8024
8025 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
8026
8027 2013-09-12 Glenn Morris <rgm@gnu.org>
8028
8029 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
8030 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
8031
8032 * subr.el (do-after-load-evaluation): Also give compiler warnings
8033 when obsolete files are used (except by obsolete files).
8034
8035 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
8036 in the status output, assume `filename' is the first. (Bug#15322)
8037
8038 * vc/vc.el (vc-deduce-fileset): Doc fix.
8039
8040 * calc/calc-help.el (Info-goto-node):
8041 * progmodes/cperl-mode.el (Info-find-node):
8042 * vc/ediff.el (Info-goto-node): Update declarations.
8043
8044 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
8045
8046 * vc/vc-bzr.el (vc-compilation-mode): Declare.
8047 (vc-bzr-pull): Require vc-dispatcher.
8048 * vc/vc-git.el (vc-compilation-mode): Declare.
8049 (vc-git-pull): Require vc-dispatcher.
8050
8051 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
8052
8053 * progmodes/octave.el (help-button-action): Declare.
8054
8055 * shell.el (shell-directory-tracker): Output error as a message
8056 rather than just returning it as a string.
8057 (shell-process-pushd): Remove useless use of message.
8058
8059 * dframe.el (dframe-timer-fn):
8060 * files.el (dir-locals-read-from-file):
8061 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
8062 (mpc-format):
8063 * reveal.el (reveal-post-command):
8064 * saveplace.el (load-save-place-alist-from-file):
8065 * shell.el (shell-resync-dirs):
8066 * w32-common-fns.el (x-get-selection-value):
8067 * emacs-lisp/copyright.el (copyright-find-copyright):
8068 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
8069 * emulation/tpu-edt.el (tpu-copy-keyfile):
8070 * play/bubbles.el (bubbles--mark-neighbourhood):
8071 * progmodes/executable.el
8072 (executable-make-buffer-file-executable-if-script-p):
8073 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
8074
8075 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8076
8077 Cleanup Eshell to rely less on dynamic scoping.
8078 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
8079 last-value, and ext-command here. Bind `args' closer to `body'.
8080 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
8081 (eshell--args): Declare new dynamic var.
8082 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
8083 last-value, and ext-command. Pass `args' to `body'.
8084 (eshell-process-args): Bind eshell--args.
8085 (eshell-set-option): Use eshell--args.
8086 * eshell/eshell.el (eshell): Use derived-mode-p.
8087 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
8088 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
8089 (eshell-glob-function): Declare.
8090 * eshell/esh-util.el: Require cl-lib.
8091 (eshell-read-hosts-file): Avoid add-to-list.
8092 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
8093 `err'.
8094 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
8095 Declare.
8096 (eshell/diff): Remove unused var `err'.
8097 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
8098 `killflag'.
8099 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
8100 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
8101 first use.
8102 * eshell/em-glob.el (eshell-glob-matches, message-shown):
8103 Move declaration before first use.
8104 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
8105 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
8106 rely on cl-return.
8107
8108 2013-09-12 Glenn Morris <rgm@gnu.org>
8109
8110 * term/ns-win.el (global-map): Remove binding for ispell-next,
8111 deleted 1999-05-29. (Bug#15357)
8112
8113 2013-09-11 Glenn Morris <rgm@gnu.org>
8114
8115 * echistory.el (electric-command-history): Remove call to deleted func.
8116
8117 * play/landmark.el (landmark-mode): Fix typos.
8118
8119 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
8120 Check cvs-sort-ignore-file is bound.
8121
8122 * savehist.el: No need for cl when compiling on Emacs.
8123
8124 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8125
8126 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
8127 (bug#15338).
8128 (eshell-self-insert-command, eshell-send-invisible):
8129 Remove unused argument.
8130 (eshell-handle-control-codes): Remove unused var `orig'.
8131 Avoid delete-backward-char.
8132
8133 * files.el (set-auto-mode): Simplify a bit further.
8134
8135 2013-09-11 Glenn Morris <rgm@gnu.org>
8136
8137 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
8138 (set-auto-mode): Don't regexp-quote elements.
8139 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
8140 * progmodes/cc-mode.el (interpreter-mode-alist):
8141 * progmodes/ruby-mode.el (interpreter-mode-alist):
8142 Revert previous change.
8143
8144 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8145
8146 * play/snake.el (snake-mode):
8147 * play/mpuz.el (mpuz-mode):
8148 * play/landmark.el (lm-mode):
8149 * play/blackbox.el (blackbox-mode):
8150 * play/5x5.el (5x5-mode):
8151 * obsolete/options.el (Edit-options-mode):
8152 * net/quickurl.el (quickurl-list-mode):
8153 * net/newst-treeview.el (newsticker-treeview-mode):
8154 * mail/rmailsum.el (rmail-summary-mode):
8155 * mail/mspools.el (mspools-mode):
8156 * locate.el (locate-mode):
8157 * ibuffer.el (ibuffer-mode):
8158 * emulation/ws-mode.el (wordstar-mode):
8159 * emacs-lisp/debug.el (debugger-mode):
8160 * array.el (array-mode):
8161 * net/eudc.el (eudc-mode): Use define-derived-mode.
8162 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
8163 Move initialization into declaration.
8164 (mairix-searches-mode): Use define-derived-mode.
8165 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
8166 (eudc-edit-hotlist): Use dolist.
8167 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
8168 (Man-mode): Use define-derived-mode.
8169 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
8170 (Info-edit-mode): Use define-derived-mode.
8171 (Info-cease-edit): Use Info-mode.
8172 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
8173 into declaration.
8174 (eshell-mode): Use define-derived-mode.
8175 * chistory.el (command-history-mode-map): Rename from
8176 command-history-map.
8177 (command-history-mode): Use define-derived-mode.
8178 (Command-history-setup): Remove function.
8179 * calc/calc.el (calc-trail-mode-map): New var.
8180 (calc-trail-mode): Use define-derived-mode.
8181 (calc-trail-buffer): Set calc-main-buffer manually.
8182 * bookmark.el (bookmark-insert-annotation): New function.
8183 (bookmark-edit-annotation): Use it.
8184 (bookmark-edit-annotation-mode): Make it a proper major mode.
8185 (bookmark-send-edited-annotation): Use derived-mode-p.
8186 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
8187 closer to its ideal place. Use \' to match EOS.
8188
8189 * profiler.el (profiler-calltree-find): Use function-equal.
8190
8191 2013-09-10 Glenn Morris <rgm@gnu.org>
8192
8193 * files.el (interpreter-mode-alist): Convert to regexps.
8194 (set-auto-mode): Adapt for this. (Bug#15306)
8195 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
8196 Comment out unused variable.
8197 * progmodes/cc-mode.el (interpreter-mode-alist):
8198 * progmodes/python.el (interpreter-mode-alist):
8199 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
8200 * progmodes/sh-script.el (sh-set-shell):
8201 No longer use interpreter-mode-alist to get list of shells.
8202
8203 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
8204
8205 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
8206
8207 * simple.el: Use set-temporary-overlay-map for universal-argument.
8208 (universal-argument-map): Don't use default-bindings (bug#15317).
8209 Bind switch-frame explicitly. Replace universal-argument-minus with
8210 a conditional binding.
8211 (universal-argument-num-events, saved-overriding-map): Remove.
8212 (restore-overriding-map): Remove.
8213 (universal-argument--mode): Rename from save&set-overriding-map,
8214 and rewrite.
8215 (universal-argument, universal-argument-more, negative-argument)
8216 (digit-argument): Adjust accordingly.
8217 (universal-argument-minus): Remove.
8218 (universal-argument-other-key): Remove.
8219
8220 * subr.el (with-demoted-errors): Add `format' argument.
8221
8222 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
8223
8224 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
8225 `tramp-cleanup-connection'.
8226
8227 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
8228 parameters KEEP-DEBUG and KEEP-PASSWORD.
8229
8230 * net/tramp.el (tramp-file-name-handler):
8231 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8232 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
8233 (tramp-maybe-open-connection):
8234 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
8235 Use `tramp-cleanup-connection'.
8236
8237 * net/tramp-sh.el (tramp-maybe-open-connection):
8238 Catch 'uname-changed inside the progress reporter.
8239
8240 2013-09-10 Glenn Morris <rgm@gnu.org>
8241
8242 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
8243
8244 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
8245 returns "alternate access method" in mode (eg "-rw-r--r--.").
8246
8247 2013-09-08 Glenn Morris <rgm@gnu.org>
8248
8249 * saveplace.el (load-save-place-alist-from-file):
8250 Demote errors. (Bug#15305)
8251
8252 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
8253
8254 Improve compatibility with older Emacsen, and XEmacs.
8255
8256 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
8257 only if it is bound. It isn't for XEmacs.
8258 (with-tramp-progress-reporter): Do not let-bind `result'.
8259 This yields to scoping errors in XEmacs.
8260 (tramp-handle-make-auto-save-file-name): New function, moved from
8261 tramp-sh.el.
8262
8263 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
8264 for `make-auto-save-file-name'.
8265 (tramp-adb--gnu-switches-to-ash):
8266 Use `tramp-compat-replace-regexp-in-string'.
8267
8268 * net/tramp-cache.el (tramp-cache-print): Call
8269 `substring-no-properties' only if it is bound. It isn't for XEmacs.
8270
8271 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
8272 bound. It isn't for XEmacs.
8273
8274 * net/tramp-compat.el (tramp-compat-copy-file):
8275 Catch `wrong-number-of-arguments' error.
8276 (tramp-compat-replace-regexp-in-string): New defun.
8277
8278 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
8279 for `make-auto-save-file-name'.
8280 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
8281 `copy-file'.
8282 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
8283 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
8284 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
8285
8286 * net/tramp-gw.el (tramp-gw-open-network-stream):
8287 Use `tramp-compat-replace-regexp-in-string'.
8288
8289 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8290 Call `tramp-handle-make-auto-save-file-name'.
8291 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
8292 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8293 (tramp-sh-file-inotifywait-process-filter):
8294 Use `tramp-compat-replace-regexp-in-string'.
8295 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
8296
8297 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
8298 for `make-auto-save-file-name'.
8299 (tramp-smb-handle-copy-directory):
8300 Call `tramp-compat-replace-regexp-in-string'.
8301 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
8302 (tramp-smb-handle-copy-file): Improve error message.
8303 (tramp-smb-handle-rename-file): Rename directly only in case
8304 `newname' does not exist yet. This is a restriction of smbclient.
8305 (tramp-smb-maybe-open-connection): Rerun the function only when
8306 `auth-sources' is non-nil.
8307
8308 2013-09-08 Kenichi Handa <handa@gnu.org>
8309
8310 * international/characters.el: Set category "^" (Combining) for
8311 more characters.
8312
8313 2013-09-07 Alan Mackenzie <acm@muc.de>
8314
8315 Correctly fontify Java class constructors.
8316 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
8317 in Java Mode.
8318 (c-recognize-typeless-decls): Set the Java value to t.
8319 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
8320 While handling a "(", add a check for, effectively, Java, and handle a
8321 "typeless" declaration there.
8322
8323 2013-09-07 Roland Winkler <winkler@gnu.org>
8324
8325 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
8326 field subtitle for entry type book.
8327
8328 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8329
8330 * minibuffer.el: Make minibuffer-complete call completion-in-region
8331 rather than other way around.
8332 (completion--some, completion-pcm--find-all-completions):
8333 Don't delay signals when debugging.
8334 (minibuffer-completion-contents): Beware fields within the
8335 minibuffer contents.
8336 (completion-all-sorted-completions): Use defvar-local.
8337 (completion--do-completion, completion--cache-all-sorted-completions)
8338 (completion-all-sorted-completions, minibuffer-force-complete):
8339 Add args `beg' and `end'.
8340 (completion--in-region-1): New fun, extracted from minibuffer-complete.
8341 (minibuffer-complete): Use completion-in-region.
8342 (completion-complete-and-exit): New fun, extracted from
8343 minibuffer-complete-and-exit.
8344 (minibuffer-complete-and-exit): Use it.
8345 (completion--complete-and-exit): Rename from
8346 minibuffer--complete-and-exit.
8347 (completion-in-region--single-word): New function, extracted from
8348 minibuffer-complete-word.
8349 (minibuffer-complete-word): Use it.
8350 (display-completion-list): Make `common-substring' argument obsolete.
8351 (completion--in-region): Call completion--in-region-1 instead of
8352 minibuffer-complete.
8353 (completion-help-at-point): Pass boundaries to
8354 minibuffer-completion-help as args rather than via an overlay.
8355 (completion-pcm--string->pattern): Use `any-delim'.
8356 (completion-pcm--optimize-pattern): New function.
8357 (completion-pcm--pattern->regex): Handle `any-delim'.
8358 * icomplete.el (icomplete-forward-completions)
8359 (icomplete-backward-completions, icomplete-completions):
8360 Adjust calls to completion-all-sorted-completions and
8361 completion--cache-all-sorted-completions.
8362 (icomplete-with-completion-tables): Default to t.
8363 * emacs-lisp/crm.el (crm--current-element): Rename from
8364 crm--select-current-element. Don't put an overlay but return the
8365 boundaries instead.
8366 (crm--completion-command): Take two new args to bind to the boundaries.
8367 (crm-completion-help): Adjust accordingly.
8368 (crm-complete): Use completion-in-region.
8369 (crm-complete-word): Use completion-in-region--single-word.
8370 (crm-complete-and-exit): Use completion-complete-and-exit.
8371
8372 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8373
8374 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
8375 than dynamically.
8376
8377 2013-09-06 Juri Linkov <juri@jurta.org>
8378
8379 * info.el (Info-display-images-node): When image file doesn't exist
8380 display text version of the image if it's provided in the Info file.
8381 Otherwise, display the location of missing image from SRC attribute.
8382 Add help-echo text property from ALT attribute. (Bug#15279)
8383
8384 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8385
8386 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
8387 (edit-abbrevs-mode): Use define-derived-mode.
8388
8389 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
8390 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
8391 that it's defined.
8392 (epa-key-list-mode, epa-key-mode, epa-info-mode):
8393 Use define-derived-mode.
8394
8395 * epg.el (epg-start-encrypt): Minor CSE simplification.
8396
8397 2013-09-06 William Xu <william.xwl@gmail.com>
8398
8399 * arc-mode.el: Add support for 7za (bug#15264).
8400 (archive-7z-program): New var.
8401 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
8402 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
8403 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
8404
8405 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
8406
8407 Remove URL syntax.
8408
8409 * net/tramp.el (tramp-syntax, tramp-prefix-format)
8410 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
8411 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
8412 (tramp-postfix-host-format, tramp-file-name-regexp)
8413 (tramp-completion-file-name-regexp)
8414 (tramp-completion-dissect-file-name)
8415 (tramp-handle-substitute-in-file-name): Remove 'url case.
8416 (tramp-file-name-regexp-url)
8417 (tramp-completion-file-name-regexp-url): Remove constants.
8418
8419 2013-09-06 Glenn Morris <rgm@gnu.org>
8420
8421 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
8422
8423 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
8424
8425 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
8426 keywords" below "here-doc beginnings" (Bug#15270).
8427
8428 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
8429
8430 * subr.el (pop): Use `car-safe'.
8431 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
8432 to detect unused `pop' return value.
8433
8434 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
8435 var `block-regexp'.
8436 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
8437 (python-fill-string): Remove unused var `marker'.
8438 (python-skeleton-add-menu-items): Remove unused var `items'.
8439
8440 * international/mule-cmds.el: Require CL.
8441 (find-coding-systems-for-charsets): Avoid add-to-list.
8442 (sanitize-coding-system-list): New function, extracted from
8443 select-safe-coding-system-interactively.
8444 (select-safe-coding-system-interactively): Use it.
8445 (read-input-method-name): Accept symbols for `default'.
8446
8447 * emacs-lisp/advice.el (defadvice): Add indent rule.
8448
8449 2013-09-05 Daniel Hackney <dan@haxney.org>
8450
8451 * dired-x.el:
8452 * net/ange-ftp.el:
8453 * net/browse-url.el:
8454 * net/dbus.el:
8455 * net/eudc.el:
8456 * net/eudcb-ldap.el:
8457 * net/eww.el:
8458 * net/imap.el:
8459 * printing.el:
8460 * vc/ediff-diff.el:
8461 * vc/ediff-init.el:
8462 * vc/ediff-merg.el:
8463 * vc/ediff-mult.el:
8464 * vc/ediff-util.el:
8465 * vc/ediff-wind.el:
8466 * vc/ediff.el:
8467 * vc/emerge.el:
8468 * vc/pcvs.el:
8469 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
8470 byte compiler. Remove some unused let-bound variables.
8471
8472 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
8473
8474 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
8475 a "ref-cell", since it gets better optimized (bug#14883).
8476
8477 2013-09-05 Glenn Morris <rgm@gnu.org>
8478
8479 * progmodes/cc-awk.el (c-forward-sws): Declare.
8480
8481 2013-09-04 Glenn Morris <rgm@gnu.org>
8482
8483 * generic-x.el [rul-generic-mode]: Require cc-mode.
8484 (c++-mode-syntax-table): Declare.
8485 (rul-generic-mode-syntax-table): Init in the defvar.
8486
8487 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
8488
8489 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
8490 (vc-do-command, vc-set-async-update):
8491 * vc/vc-mtn.el (vc-mtn-dir-status):
8492 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
8493 (vc-hg-pull, vc-hg-merge-branch):
8494 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
8495 (vc-git-merge-branch):
8496 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
8497 (vc-cvs-dir-status-files):
8498 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
8499 (vc-bzr-dir-status-files):
8500 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
8501 * vc/vc-annotate.el: Use lexical-binding.
8502 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
8503 (vc-sentinel-movepoint): Declare.
8504 (vc-annotate): Don't use `goto-line'.
8505 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
8506 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
8507 (vc-sentinel-movepoint): Declare.
8508 * vc/vc-svn.el: Use lexical-binding.
8509 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
8510 * vc/vc-sccs.el:
8511 * vc/vc-rcs.el: Use lexical-binding.
8512
8513 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
8514 `deleted'. Don't drop errors silently.
8515
8516 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
8517
8518 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
8519
8520 * vc/vc.el (vc-ignore): Rewrite.
8521 (vc-default-ignore): New function.
8522 (vc-default-ignore-completion-table): Use find-ignore-file.
8523
8524 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
8525 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
8526 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
8527 Remove. Most code moved to vc.el.
8528
8529 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
8530
8531 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
8532 * net/tramp-smb.el (tramp-smb-get-file-entries):
8533 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
8534 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
8535
8536 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
8537 Update call to it.
8538 (eww-change-select): Remove unused var `properties'.
8539 (eww-make-unique-file-name): Remove unused var `base'.
8540
8541 * finder.el (finder-compile-keywords): Don't mess with windows.
8542
8543 * calculator.el (calculator-funcall): Fix typo in last change.
8544
8545 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
8546
8547 * emacs-lisp/package.el (package-activate-1): Don't let a missing
8548 <pkg>-autoloads.el file stop us.
8549
8550 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
8551 warnings, and factor out common code.
8552
8553 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
8554
8555 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
8556 two-character operators and whether the character preceding them
8557 changes their meaning (Bug#15208).
8558
8559 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
8560
8561 Format code sent to Python shell for robustness.
8562 * progmodes/python.el (python-shell-buffer-substring):
8563 New function.
8564 (python-shell-send-region, python-shell-send-buffer): Use it.
8565
8566 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
8567
8568 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
8569 * net/tramp.el (tramp-user-error): ... here.
8570 (tramp-find-method, tramp-check-proper-host)
8571 (tramp-dissect-file-name, tramp-debug-message)
8572 (tramp-handle-shell-command):
8573 * net/tramp-adb.el (tramp-adb-handle-shell-command):
8574 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
8575
8576 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
8577
8578 2013-09-02 Martin Rudalics <rudalics@gmx.at>
8579
8580 * avoid.el (mouse-avoidance-point-position)
8581 (mouse-avoidance-too-close-p): Handle case where posn-at-point
8582 returns nil.
8583
8584 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
8585
8586 * progmodes/python.el (python-shell-completion-get-completions):
8587 Drop use of deleted `comint-last-prompt-overlay'.
8588 (python-nav-if-name-main): New command.
8589
8590 2013-09-01 Glenn Morris <rgm@gnu.org>
8591
8592 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
8593 Avoid leading space in $wins. Otherwise the sed command used by
8594 eg compile-main ends up containing "/*.el". (Bug#15170)
8595
8596 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
8597
8598 2013-08-30 Glenn Morris <rgm@gnu.org>
8599
8600 * emacs-lisp/bytecomp.el (byte-recompile-directory):
8601 Fix is-this-a-directory logic. (Bug#15220)
8602
8603 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
8604
8605 * textmodes/css-mode.el: Use SMIE.
8606 (css-smie-grammar): New var.
8607 (css-smie--forward-token, css-smie--backward-token)
8608 (css-smie-rules): New functions.
8609 (css-mode): Use them.
8610 (css-navigation-syntax-table): Remove var.
8611 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
8612 (css-indent-calculate, css-indent-line): Remove functions.
8613
8614 Misc changes to reduce use of `(lambda...); and other cleanups.
8615 * cus-edit.el: Use lexical-binding.
8616 (customize-push-and-save, customize-apropos)
8617 (custom-buffer-create-internal): Use closures.
8618 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
8619 * progmodes/ada-xref.el: Use setq.
8620 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
8621 * dframe.el: Use lexical-binding.
8622 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
8623 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
8624 * descr-text.el: Use lexical-binding.
8625 (describe-text-widget, describe-text-sexp, describe-property-list):
8626 Use closures.
8627 * comint.el (comint-history-isearch-push-state): Use a closure.
8628 * calculator.el: Use lexical-binding.
8629 (calculator-number-to-string): Make it work with lexical-binding.
8630 (calculator-funcall): Same and use cl-letf.
8631
8632 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
8633 (lisp--company-doc-string, lisp--company-location): New functions.
8634 (lisp-completion-at-point): Use them to improve Company support.
8635
8636 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
8637 params of lambda expressions.
8638 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
8639 (ruby-smie--opening-pipe-p): New function.
8640 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
8641 symbols and matched |...| for formal params.
8642 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
8643 from being treated as hanging. Handle "rescue".
8644
8645 2013-08-29 Glenn Morris <rgm@gnu.org>
8646
8647 * progmodes/cc-engine.el (c-pull-open-brace):
8648 Move definition before use.
8649
8650 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
8651
8652 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
8653 are immutable. Don't use `unsafe' any more.
8654 (cl--defsubst-expand): Don't substitute at the same time as keeping
8655 a residual unused let-binding. Don't use `unsafe' any more.
8656
8657 2013-08-29 Glenn Morris <rgm@gnu.org>
8658
8659 * calendar/cal-china.el (calendar-chinese-year-cache):
8660 Recenter on 2015.
8661
8662 * nxml/nxml-util.el (nxml-debug-clear-inside):
8663 Use cl-loop rather than loop.
8664
8665 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
8666
8667 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
8668
8669 2013-08-28 Glenn Morris <rgm@gnu.org>
8670
8671 * progmodes/antlr-mode.el: No need to require cc-mode twice.
8672
8673 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
8674
8675 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
8676
8677 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8678
8679 * simple.el (repeat-complex-command--called-interactively-skip):
8680 New function.
8681 (repeat-complex-command): Use it (bug#14136).
8682
8683 * progmodes/cc-mode.el: Minor cleanup of var declarations.
8684 (c-define-abbrev-table): Add `doc' argument.
8685 (c-mode-abbrev-table, c++-mode-abbrev-table)
8686 (objc-mode-abbrev-table, java-mode-abbrev-table)
8687 (idl-mode-abbrev-table, pike-mode-abbrev-table)
8688 (awk-mode-abbrev-table): Use it.
8689 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
8690 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
8691 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
8692 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
8693 Move initialization into the declaration; and remove any
8694 autoload cookie.
8695
8696 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
8697 and dynamic let binding.
8698
8699 * vc/smerge-mode.el: Remove redundant :group args.
8700
8701 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
8702 to load-path.
8703
8704 2013-08-28 Juri Linkov <juri@jurta.org>
8705
8706 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
8707 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
8708 (isearch-other-meta-char): Handle an undefined shifted printing
8709 character by downshifting it. (Bug#15200)
8710
8711 2013-08-28 Juri Linkov <juri@jurta.org>
8712
8713 * isearch.el (isearch-search): Change regexp error message for
8714 non-regexp searches. (Bug#15166)
8715
8716 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
8717
8718 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
8719 for portability to hosts where /bin/sh has problems.
8720
8721 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8722
8723 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
8724
8725 2013-08-27 Juri Linkov <juri@jurta.org>
8726
8727 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
8728 in the keyboard macro. (Bug#15126)
8729
8730 2013-08-27 Juri Linkov <juri@jurta.org>
8731
8732 * isearch.el (isearch-quote-char): Comment out converting unibyte
8733 to multibyte, thus syncing with its `quoted-insert' counterpart.
8734 (Bug#15166)
8735
8736 2013-08-27 Martin Rudalics <rudalics@gmx.at>
8737
8738 * window.el (display-buffer-use-some-window): Add missing
8739 argument in call of get-largest-window (Bug#15185).
8740 Reported by Stephen Leake.
8741
8742 2013-08-27 Glenn Morris <rgm@gnu.org>
8743
8744 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
8745
8746 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
8747
8748 * progmodes/python.el (python-font-lock-keywords): Don't return nil
8749 from a matcher-function unless there's no more matches (bug#15161).
8750
8751 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
8752
8753 * minibuffer.el: Revert change from 2013-08-20.
8754
8755 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
8756 with text property `tramp-default', if appropriate.
8757 (tramp-check-proper-host): New defun.
8758 (tramp-dissect-file-name): Do not check hostname. Revert change
8759 of 2013-03-18.
8760 (tramp-backtrace): Make VEC-OR-PROC optional.
8761
8762 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8763 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8764 * net/tramp-sh.el (tramp-maybe-open-connection):
8765 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
8766 Apply `tramp-check-proper-host'.
8767
8768 2013-08-26 Tassilo Horn <tsdh@gnu.org>
8769
8770 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
8771 lambda expression in order to have `describe-variable' display it.
8772
8773 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
8774
8775 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
8776 BUF can be optional. (Bug#15186)
8777
8778 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
8779
8780 * progmodes/flymake.el (flymake-get-real-file-name-function):
8781 Fix broken customization. (Bug#15184)
8782
8783 2013-08-25 Alan Mackenzie <acm@muc.de>
8784
8785 Improve indentation of bracelists defined by macros (without "=").
8786
8787 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
8788 expansion begins with "{", regard it as bracelist when it doesn't
8789 contain a ";".
8790
8791 Parse C++ inher-intro when there's a template split over 2 lines.
8792
8793 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
8794 rigorously the search for "class" etc. followed by ":".
8795
8796 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
8797 random languages a regexp which never matches rather than nil.
8798
8799 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
8800
8801 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
8802 (c-awk-regexp-one-line-possibly-open-char-list-re)
8803 (c-awk-one-line-possibly-open-regexp-re)
8804 (c-awk-one-line-non-syn-ws*-re): Remove.
8805 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
8806 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
8807 (c-awk-space*-unclosed-regexp-/-re): New constants.
8808 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
8809 aren't regexp delimiters.
8810
8811 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
8812 handling for a rare situation in AWK Mode involving unterminated
8813 strings/regexps.
8814
8815 2013-08-23 Glenn Morris <rgm@gnu.org>
8816
8817 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
8818
8819 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
8820
8821 * files.el (create-file-buffer): If the result would begin with
8822 spaces, prepend a "|" instead of removing them. (Bug#15162)
8823
8824 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8825
8826 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
8827 text-properties (bug#15155).
8828
8829 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
8830 exist any more.
8831 (calc-keypad-redraw): Remove unused var `pad'.
8832 (calc-keypad-press): Remove unused var `menu'.
8833
8834 2013-08-23 Martin Rudalics <rudalics@gmx.at>
8835
8836 * window.el (display-buffer-pop-up-frame):
8837 Call pop-up-frame-function with BUFFER current so `make-frame' will
8838 use it as the new frame's buffer (Bug#15133).
8839
8840 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8841
8842 * calendar/timeclock.el: Minor cleanups.
8843 (timeclock-ask-before-exiting, timeclock-use-display-time):
8844 Use `symbol'.
8845 (timeclock-modeline-display): Define as alias before the
8846 actual definition.
8847 (timeclock-mode-line-display): Use define-minor-mode.
8848 (timeclock-day-list-template): Make it a function, add an argument.
8849 (timeclock-day-list-required, timeclock-day-list-length)
8850 (timeclock-day-list-debt, timeclock-day-list-span)
8851 (timeclock-day-list-break): Adjust calls accordingly.
8852
8853 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
8854
8855 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
8856 Use read--expression so that completion works again.
8857
8858 2013-08-21 Sam Steingold <sds@gnu.org>
8859
8860 Add rudimentary inferior shell interaction
8861 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
8862 (sh-set-shell): Reset it.
8863 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
8864 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
8865
8866 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
8867
8868 * align.el: Use lexical-binding.
8869 (align-region): Simplify accordingly.
8870
8871 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
8872
8873 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
8874
8875 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
8876 `non-essential' up.
8877
8878 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
8879
8880 * net/tramp.el:
8881 * net/tramp-adb.el:
8882 * net/tramp-cmds.el:
8883 * net/tramp-ftp.el:
8884 * net/tramp-gvfs.el:
8885 * net/tramp-gw.el:
8886 * net/tramp-sh.el: Don't wrap external variable declarations by
8887 `eval-when-compile'.
8888
8889 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
8890
8891 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
8892 now that Emacs supports ImageMagick animations.
8893
8894 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
8895
8896 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
8897 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
8898
8899 2013-08-16 Martin Rudalics <rudalics@gmx.at>
8900
8901 * window.el (mouse-autoselect-window-select): Do autoselect when
8902 mouse pointer is on margin.
8903
8904 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
8905
8906 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
8907
8908 2013-08-16 Glenn Morris <rgm@gnu.org>
8909
8910 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
8911 Handle "Remote Directory" response of some clients. (Bug#15058)
8912
8913 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
8914 Tweak warning. (Bug#14926)
8915
8916 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
8917 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
8918
8919 * image-mode.el (image-mode-map): Add menu items to reverse,
8920 increase, decrease, reset animation speed.
8921 (image--set-speed, image-increase-speed, image-decrease-speed)
8922 (image-reverse-speed, image-reset-speed): New functions.
8923 (image-mode-map): Add bindings for speed commands.
8924
8925 * image.el (image-animate-get-speed, image-animate-set-speed):
8926 New functions.
8927 (image-animate-timeout): Respect image :speed property.
8928
8929 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8930
8931 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
8932 previous line (bug#15101).
8933 (debugger-eval-expression, debugger-record-expression):
8934 Use read--expression (bug#15102).
8935
8936 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
8937
8938 Remove byte compiler warnings, visible when compiling with
8939 `byte-compile-force-lexical-warnings' set to t.
8940
8941 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
8942 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
8943 (tramp-handle-unhandled-file-name-directory)
8944 (tramp-handle-file-notify-add-watch, tramp-action-login)
8945 (tramp-action-succeed, tramp-action-permission-denied)
8946 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
8947 arguments with "_".
8948
8949 * net/tramp-adb.el (tramp-adb-parse-device-names)
8950 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
8951 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
8952 (tramp-adb-handle-file-truename): Remove unused arguments.
8953
8954 * net/tramp-cache.el (tramp-flush-directory-property)
8955 (tramp-flush-connection-property, tramp-list-connections)
8956 (tramp-parse-connection-properties): Prefix unused arguments with "_".
8957
8958 * net/tramp-compat.el (tramp-compat-make-temp-file):
8959 Rename FILENAME to F.
8960
8961 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
8962 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
8963 (tramp-zeroconf-parse-workstation-device-names)
8964 (tramp-zeroconf-parse-webdav-device-names)
8965 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
8966
8967 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
8968 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
8969
8970 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
8971 arguments.
8972 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
8973 (tramp-sh-handle-insert-file-contents-literally)
8974 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
8975 with "_".
8976 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
8977 Remove unused variables.
8978
8979 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
8980 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
8981 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
8982
8983 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
8984 Make them a defconst.
8985 (tramp-uuencode-region): Remove unused variable.
8986
8987 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
8988
8989 * frameset.el (frameset--prop-setter): New function.
8990 (frameset-prop): Add gv-setter declaration.
8991 (frameset-filter-minibuffer): Deal with the case that the minibuffer
8992 parameter was already set in FILTERED. Doc fix.
8993 (frameset--record-minibuffer-relationships): Allow saving a
8994 minibufferless frame without its corresponding minibuffer frame.
8995 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
8996 frame, if the frame id matches.
8997 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
8998 frames before orphaned ones.
8999 (frameset-restore): Warn about orphaned windows, instead of error out.
9000
9001 2013-08-14 Martin Rudalics <rudalics@gmx.at>
9002
9003 * window.el (window-make-atom): Don't overwrite parameter
9004 already present.
9005 (display-buffer-in-atom-window): Handle special case where we
9006 split an already atomic window.
9007 (window--major-non-side-window, display-buffer-in-side-window)
9008 (window--side-check): Ignore minibuffer window when walking
9009 window tree.
9010 (window-deletable-p): Return 'frame only if no other frame uses
9011 our minibuffer window.
9012 (record-window-buffer): Run buffer-list-update-hook.
9013 (split-window): Make sure window--check-frame won't destroy an
9014 existing atomic window in case the new window gets nested
9015 inside.
9016 (display-buffer-at-bottom): Ignore minibuffer window when
9017 walking window tree. Don't split a side window.
9018 (pop-to-buffer): Don't set-buffer here, the select-window call
9019 should do that.
9020 (mouse-autoselect-window-select): Autoselect only if we are in the
9021 text portion of the window.
9022
9023 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9024
9025 * net/shr.el (shr-parse-image-data): New function to grab both the
9026 data itself and the Content-Type.
9027 (shr-put-image): Use it.
9028
9029 * net/eww.el (eww-display-image): Ditto.
9030
9031 * image.el (image-content-type-suffixes): New variable.
9032
9033 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
9034
9035 * progmodes/python.el (python-imenu--build-tree)
9036 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
9037
9038 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
9039
9040 * simple.el (backward-word): Mention the optional argument.
9041
9042 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9043
9044 * frameset.el (frameset--make): Rename constructor from make-frameset.
9045 (frameset-p, frameset-valid-p): Don't autoload.
9046 (frameset-valid-p): Use normal accessors.
9047
9048 2013-08-13 Glenn Morris <rgm@gnu.org>
9049
9050 * progmodes/compile.el (compile-command): Tweak example in doc.
9051 * obsolete/scribe.el (scribe-mode):
9052 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
9053
9054 * mail/feedmail.el (feedmail-confirm-outgoing)
9055 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
9056
9057 * cus-start.el (truncate-partial-width-windows): Fix type.
9058
9059 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
9060
9061 * net/shr.el (shr-table-horizontal-line): Fix custom type.
9062
9063 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9064
9065 * emacs-lisp/timer.el (timer--time-setter): New function.
9066 (timer--time): Use it as gv-setter.
9067
9068 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
9069 setter is not a symbol.
9070
9071 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
9072
9073 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
9074 if sending fails. This makes debugging easier.
9075
9076 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
9077
9078 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
9079 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
9080 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
9081
9082 2013-08-12 Eli Zaretskii <eliz@gnu.org>
9083
9084 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
9085
9086 2013-08-12 Glenn Morris <rgm@gnu.org>
9087
9088 * format.el (format-annotate-function):
9089 Handle read-only text properties in the source. (Bug#14887)
9090
9091 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9092
9093 * net/eww.el (eww-display-html): Ignore coding system errors.
9094 One web site uses "utf-8lias" as the coding system.
9095
9096 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
9097
9098 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
9099
9100 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
9101
9102 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
9103 (tutorial--detailed-help): Remove unused local variables.
9104 (tutorial--save-tutorial-to): Use ignore-errors.
9105 (help-with-tutorial): Use looking-at-p.
9106
9107 * view.el (view-buffer-other-window, view-buffer-other-frame):
9108 Mark unused arguments.
9109
9110 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
9111 (woman-select-symbol-fonts, woman, woman-find-file)
9112 (woman-insert-file-contents, woman-non-underline-faces):
9113 Use string-match-p.
9114 (woman1-unquote): Move declaration.
9115
9116 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
9117 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
9118 argument. Remove unused local variable.
9119 (xml-parse-elem-type): Use string-match-p.
9120 (xml-substitute-numeric-entities): Use ignore-errors.
9121
9122 * calculator.el (calculator): Mark unused argument.
9123 (calculator-paste, calculator-quit, calculator-integer-p):
9124 Use ignore-errors.
9125 (calculator-string-to-number, calculator-decimal, calculator-exp)
9126 (calculator-op-or-exp): Use string-match-p.
9127
9128 * dired.el (dired-buffer-more-recently-used-p): Declare.
9129 (dired-insert-set-properties, dired-insert-old-subdirs):
9130 Use ignore-errors.
9131
9132 * dired-aux.el (dired-compress): Use ignore-errors.
9133 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
9134 (dired-do-async-shell-command, dired-do-shell-command)
9135 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
9136 (dired-insert-subdir-validate): Use string-match-p.
9137 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
9138 (dired-add-entry): Use string-match-p, looking-at-p.
9139 (dired-insert-subdir-newpos): Remove unused local variable.
9140
9141 * filenotify.el (file-notify-callback): Remove unused local variable.
9142
9143 * filesets.el (filesets-error): Mark unused argument.
9144 (filesets-which-command-p, filesets-filter-dir-names)
9145 (filesets-directory-files, filesets-get-external-viewer)
9146 (filesets-ingroup-get-data): Use string-match-p.
9147
9148 * find-file.el (ff-other-file-name, ff-other-file-name)
9149 (ff-find-the-other-file, ff-cc-hh-converter):
9150 Remove unused local variables.
9151 (ff-get-file-name): Use string-match-p.
9152 (ff-all-dirs-under): Use ignore-errors.
9153
9154 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
9155 (follow-select-if-visible): Remove unused local variable.
9156
9157 * forms.el (read-file-filter): Move declaration.
9158 (forms--make-format, forms--make-parser, forms-insert-record):
9159 Quote function with #'.
9160 (forms--update): Use string-match-p. Quote function with #'.
9161
9162 * help-mode.el (help-dir-local-var-def): Mark unused argument.
9163 (help-make-xrefs): Use looking-at-p.
9164 (help-xref-on-pp): Use looking-at-p, ignore-errors.
9165
9166 * ibuffer.el (ibuffer-ext-visible-p): Declare.
9167 (ibuffer-confirm-operation-on): Use string-match-p.
9168
9169 * msb.el (msb-item-handler, msb-dired-item-handler):
9170 Mark unused arguments.
9171
9172 * ses.el (ses-decode-cell-symbol)
9173 (ses-kill-override): Remove unused local variable.
9174 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
9175 (ses-load): Use ignore-errors, looking-at-p.
9176 (ses-jump-safe): Use ignore-errors.
9177 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
9178
9179 * tabify.el (untabify, tabify): Mark unused arguments.
9180
9181 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
9182 Mark unused argument.
9183 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
9184 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
9185
9186 * emacs-lisp/timer.el (timer--time): Define setter with
9187 gv-define-setter to avoid deprecation warning.
9188
9189 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
9190 (*record-cmpl-statistics-p*): Remove (was commented out).
9191 (cmpl-statistics-block): Remove (body was commented out).
9192 All callers changed.
9193 (add-completions-from-buffer, load-completions-from-file):
9194 Remove unused variables.
9195
9196 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
9197
9198 * filecache.el (file-cache-delete-file-list):
9199 Print message only when told so.
9200 (file-cache-files-matching): Use #' in mapconcat argument.
9201
9202 * ffap.el (ffap-url-at-point): Fix reference to variable
9203 thing-at-point-default-mail-uri-scheme.
9204
9205 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
9206
9207 * subr.el (define-error): New function.
9208 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
9209 error-file-not-found and define with define-error.
9210 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
9211 and define with define-error.
9212 * userlock.el (file-locked, file-supersession):
9213 * simple.el (mark-inactive):
9214 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
9215 * progmodes/ada-mode.el (ada-mode-errors):
9216 * play/life.el (life-extinct):
9217 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
9218 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
9219 * nxml/rng-util.el (rng-error):
9220 * nxml/rng-uri.el (rng-uri-error):
9221 * nxml/rng-match.el (rng-compile-error):
9222 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
9223 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
9224 * nxml/nxml-rap.el (nxml-scan-error):
9225 * nxml/nxml-outln.el (nxml-outline-error):
9226 * net/soap-client.el (soap-error):
9227 * net/gnutls.el (gnutls-error):
9228 * net/ange-ftp.el (ftp-error):
9229 * mpc.el (mpc-proc-error):
9230 * json.el (json-error, json-readtable-error, json-unknown-keyword)
9231 (json-number-format, json-string-escape, json-string-format)
9232 (json-key-format, json-object-format):
9233 * jka-compr.el (compression-error):
9234 * international/quail.el (quail-error):
9235 * international/kkc.el (kkc-error):
9236 * emacs-lisp/ert.el (ert-test-failed):
9237 * calc/calc.el (calc-error, inexact-result, math-overflow)
9238 (math-underflow):
9239 * bookmark.el (bookmark-error-no-filename):
9240 * epg.el (epg-error): Define with define-error.
9241
9242 * time.el (display-time-event-handler)
9243 (display-time-next-load-average): Don't call sit-for since it seems
9244 unnecessary (bug#15045).
9245
9246 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
9247 Use #' instead of ' to quote functions.
9248 (checkdoc-output-mode): Use setq-local.
9249 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
9250 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
9251 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
9252 (checkdoc-ispell, checkdoc-ispell-current-buffer)
9253 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
9254 (checkdoc-ispell-message-text, checkdoc-ispell-start)
9255 (checkdoc-ispell-continue, checkdoc-ispell-comments)
9256 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
9257
9258 * ido.el (ido-completion-help): Fix up compiler warning.
9259
9260 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
9261
9262 * frameset.el (frameset-p): Add autoload cookie.
9263 (frameset--jump-to-register): New function, based on code moved from
9264 register.el.
9265 (frameset-to-register): Move from register.el. Adapt to `registerv'.
9266
9267 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
9268 (frameset-restore, frameset-save, frameset-session-filter-alist):
9269 Remove declarations.
9270 (register-alist): Doc fix.
9271 (frameset-to-register): Move to frameset.el.
9272 (jump-to-register, describe-register-1): Remove frameset-specific code.
9273
9274 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9275
9276 * allout-widgets.el (allout-widgets-pre-command-business)
9277 (allout-widgets-post-command-business)
9278 (allout-widgets-after-change-handler)
9279 (allout-decorate-item-and-context, allout-set-boundary-marker)
9280 (allout-body-modification-handler)
9281 (allout-graphics-modification-handler): Mark ignored arguments.
9282 (allout-widgets-post-command-business)
9283 (allout-widgets-exposure-change-processor)
9284 (allout-widgets-exposure-undo-processor)
9285 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
9286 (allout-parse-item-at-point, allout-decorate-item-guides)
9287 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
9288 * allout.el (epa-passphrase-callback-function): Declare.
9289 (allout-overlay-insert-in-front-handler)
9290 (allout-overlay-interior-modification-handler)
9291 (allout-isearch-end-handler, allout-chart-siblings)
9292 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
9293 (allout-yank-processing, allout-process-exposed)
9294 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
9295 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9296 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
9297 (lisp-indent-defform): Mark ignored arguments.
9298 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
9299 (calculate-lisp-indent): Remove unused variables.
9300 * international/characters.el (indian-2-column, arabic-2-column)
9301 (tibetan): Mark ignored arguments.
9302 (use-cjk-char-width-table): Mark ignored arguments.
9303 Remove unused variables.
9304 * international/fontset.el (build-default-fontset-data)
9305 (x-compose-font-name, create-fontset-from-fontset-spec):
9306 Mark ignored arguments.
9307 (fontset-plain-name): Remove unused variables.
9308 * international/mule.el (charset-id, charset-bytes, generic-char-p)
9309 (keyboard-coding-system): Mark ignored arguments.
9310 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
9311 * help.el (resize-temp-buffer-window):
9312 * window.el (display-buffer-in-major-side-window)
9313 (display-buffer-in-side-window, display-buffer-in-previous-window):
9314 Remove unused variables.
9315 * isearch.el (isearch-forward-symbol):
9316 * version.el (emacs-bzr-version-bzr):
9317 * international/mule-cmds.el (current-language-environment):
9318 * term/common-win.el (x-handle-iconic, x-handle-geometry)
9319 (x-handle-display):
9320 * term/pc-win.el (x-list-fonts, x-display-planes)
9321 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
9322 (x-server-version, x-display-screens, x-display-mm-height)
9323 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
9324 (x-selection-owner-p, x-own-selection-internal)
9325 (x-disown-selection-internal, x-get-selection-internal)
9326 (msdos-initialize-window-system):
9327 * term/tty-colors.el (tty-color-alist, tty-color-clear):
9328 * term/x-win.el (x-handle-no-bitmap-icon):
9329 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
9330 (vc-default-find-file-hook, vc-default-extra-menu):
9331 Mark ignored arguments.
9332
9333 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9334
9335 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
9336 break-condition in the context of the debugged code (bug#12685).
9337
9338 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
9339
9340 * comint.el:
9341 Do not use an overlay to highlight the last prompt. (Bug#14744)
9342 (comint-mode): Make comint-last-prompt buffer local.
9343 (comint-last-prompt): New variable.
9344 (comint-last-prompt-overlay): Remove. Superseded by
9345 comint-last-prompt.
9346 (comint-snapshot-last-prompt, comint-output-filter):
9347 Use comint-last-prompt.
9348
9349 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9350
9351 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
9352 (frameset-save): Check validity of the resulting frameset.
9353
9354 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
9355
9356 * ido.el (ido-record-command): Add doc string.
9357
9358 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9359
9360 * frameset.el (frameset): Do not disable creation of the default
9361 frameset-p predicate. Doc fix.
9362 (frameset-valid-p): New function, copied from the old predicate-p.
9363 Add additional checks.
9364 (frameset-restore): Check with frameset-valid-p.
9365 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
9366 (frameset-name, frameset-description, frameset-properties)
9367 (frameset-states): Add docstring.
9368 (frameset-session-filter-alist, frameset-persistent-filter-alist)
9369 (frameset-filter-alist): Doc fixes.
9370
9371 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9372
9373 * frameset.el (frameset-p, frameset-prop): Doc fixes.
9374
9375 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9376
9377 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
9378 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
9379 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
9380 (byte-compile-normal-call): Remove obsolescence check.
9381
9382 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9383
9384 * frameset.el (frameset-restore): Doc fix.
9385
9386 * register.el (frameset-frame-id, frameset-frame-with-id)
9387 (frameset-p, frameset-restore, frameset-save): Declare.
9388 (register-alist): Document framesets.
9389 (frameset-session-filter-alist): Declare.
9390 (frameset-to-register): New function.
9391 (jump-to-register): Implement jumping to framesets. Doc fix.
9392 (describe-register-1): Describe framesets.
9393
9394 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
9395
9396 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
9397
9398 * desktop.el (desktop-save-frameset): Use new frameset-save args.
9399 Use lexical-binding.
9400
9401 * frameset.el (frameset): Use type vector, not list (incompatible
9402 change). Do not declare a new constructor, use the default one.
9403 Upgrade suggested properties `app', `name' and `desc' to slots `app',
9404 `name' and `description', respectively, and add read-only slot
9405 `timestamp'. Doc fixes.
9406 (frameset-copy, frameset-persistent-filter-alist)
9407 (frameset-filter-alist, frameset-switch-to-gui-p)
9408 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
9409 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
9410 (frameset-filter-iconified, frameset-keep-original-display-p):
9411 Doc fixes.
9412 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
9413 Rename from frameset-filter-(save|restore)-param. All callers changed.
9414 Doc fix.
9415 (frameset-p): Adapt to change to vector and be more thorough.
9416 Change arg name to OBJECT. Doc fix.
9417 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
9418 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
9419 All callers changed.
9420 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
9421 All callers changed.
9422 (frameset--record-minibuffer-relationships): Rename from
9423 frameset--process-minibuffer-frames. All callers changed.
9424 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
9425 Use new default constructor (again). Doc fix.
9426 (frameset--find-frame-if): Rename from `frameset--find-frame'.
9427 All callers changed.
9428 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
9429 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
9430 Doc fix.
9431 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
9432 PARAMETERS and WINDOW-STATE, respectively.
9433 (frameset-restore): Add new keyword argument PREDICATE.
9434 Reset frameset--target-display to nil. Doc fix.
9435
9436 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
9437
9438 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
9439 (bat-mode): Use it.
9440 (bat-mode-syntax-table): Mark \n as end-of-comment.
9441 (bat-font-lock-keywords): Remove comment rule.
9442
9443 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
9444 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
9445
9446 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
9447 (byte-compile-callargs-warn): Use `push'.
9448 (byte-compile-arglist-warn): Ignore higher-order "calls".
9449 (byte-compile-file-form-autoload): Use `pcase'.
9450 (byte-compile-function-form): If quoting a symbol, check that it exists.
9451
9452 2013-08-07 Eli Zaretskii <eliz@gnu.org>
9453
9454 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
9455 and add a few popular commands found in batch files.
9456 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
9457 (dos-mode): Doc fixes.
9458
9459 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
9460
9461 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
9462 (dos-mode): Use setq-local. Add space after "rem".
9463 (dos-mode-syntax-table): Don't use "w" for symbol chars.
9464 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
9465
9466 2013-08-07 Arni Magnusson <arnima@hafro.is>
9467
9468 * progmodes/dos.el: New file.
9469 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
9470 dos-mode.
9471
9472 2013-08-06 Glenn Morris <rgm@gnu.org>
9473
9474 * calendar/calendar.el: Add new faces, and day-header-array.
9475 (calendar-weekday-header, calendar-weekend-header)
9476 (calendar-month-header): New faces.
9477 (calendar-day-header-construct): New function.
9478 (calendar-day-header-width): Also :set calendar-day-header-array.
9479 (calendar-american-month-header, calendar-european-month-header)
9480 (calendar-iso-month-header): Use calendar- faces.
9481 (calendar-generate-month):
9482 Use calendar-day-header-array for day headers; apply faces to them.
9483 (calendar-mode): Check calendar-font-lock-keywords non-nil.
9484 (calendar-abbrev-construct): Add optional maxlen argument.
9485 (calendar-day-name-array): Doc fix.
9486 (calendar-day-name-array, calendar-abbrev-length)
9487 (calendar-day-abbrev-array):
9488 Also :set calendar-day-header-array, and maybe redraw.
9489 (calendar-day-header-array): New option. (Bug#15007)
9490 (calendar-font-lock-keywords): Set to nil and make obsolete.
9491 (calendar-day-name): Add option to use header array.
9492
9493 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9494
9495 * net/shr.el (shr-render-td): Remove debugging.
9496 (shr-render-td): Make width computation consistent by defaulting
9497 all zero-width columns to 10 characters. This may not be optimal,
9498 but it's at least consistent.
9499 (shr-make-table-1): Redo last change to fix the real problem in
9500 colspan handling.
9501
9502 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
9503
9504 * files.el (cache-long-line-scans):
9505 Make obsolete alias to `cache-long-scans'.
9506
9507 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
9508
9509 * frameset.el (frameset, frameset-filter-alist)
9510 (frameset-filter-params, frameset-save, frameset--reuse-frame)
9511 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
9512 (frameset-compute-pos): Rename from frameset--compute-pos,
9513 and add docstring.
9514 (frameset-move-onscreen): Use frameset-compute-pos.
9515 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
9516
9517 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
9518 Fix typos in docstrings.
9519
9520 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
9521
9522 * frame.el (get-other-frame): Tiny cleanup.
9523
9524 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
9525
9526 * vc/vc.el (vc-default-ignore-completion-table):
9527 Silence byte-compiler warning.
9528
9529 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
9530 slot, which can indeed be nil.
9531 (frameset-live-filter-alist, frameset-persistent-filter-alist):
9532 Move entry for `left' from persistent to live filter alist.
9533 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
9534 Doc fixes.
9535 (frameset-filter-params): When restoring a frame, copy items added to
9536 `filtered', to avoid unwittingly modifying the original parameters.
9537 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
9538 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
9539
9540 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
9541 to use looking-at-p instead of looking-at. (Bug#15028)
9542
9543 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
9544
9545 Revert introduction of isearch-filter-predicates (bug#14714).
9546 Rely on add-function instead.
9547 * isearch.el (isearch-filter-predicates): Rename it back to
9548 isearch-filter-predicate.
9549 (isearch-message-prefix): Use advice-function-mapc and advice
9550 properties to get the isearch-message-prefix.
9551 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
9552 instead of run-hook-with-args-until-failure.
9553 (isearch-filter-visible): Not obsolete any more.
9554 * loadup.el: Preload nadvice.
9555 * replace.el (perform-replace): Revert to funcall
9556 instead of run-hook-with-args-until-failure.
9557 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
9558 * dired-aux.el (dired-isearch-filenames-mode): Rename from
9559 dired-isearch-filenames-toggle; make it into a proper minor mode.
9560 Use add/remove-function.
9561 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
9562 Call the minor-mode rather than add/remove-hook.
9563 (dired-isearch-filter-filenames):
9564 Remove isearch-message-prefix property.
9565 * info.el (Info--search-loop): New function, extracted from Info-search.
9566 Funcall isearch-filter-predicate instead of
9567 run-hook-with-args-until-failure isearch-filter-predicates.
9568 (Info-search): Use it.
9569 (Info-mode): Use isearch-filter-predicate instead of
9570 isearch-filter-predicates.
9571
9572 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
9573
9574 Do not call to `selected-window' where it is assumed by default.
9575 Affected functions are `window-minibuffer-p', `window-dedicated-p',
9576 `window-hscroll', `window-width', `window-height', `window-buffer',
9577 `window-frame', `window-start', `window-point', `next-window'
9578 and `window-display-table'.
9579 * abbrev.el (abbrev--default-expand):
9580 * bs.el (bs--show-with-configuration):
9581 * buff-menu.el (Buffer-menu-mouse-select):
9582 * calc/calc.el (calc):
9583 * calendar/calendar.el (calendar-generate-window):
9584 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
9585 (diary-make-entry):
9586 * comint.el (send-invisible, comint-dynamic-complete-filename)
9587 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
9588 * completion.el (complete):
9589 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
9590 * disp-table.el (describe-current-display-table):
9591 * doc-view.el (doc-view-insert-image):
9592 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
9593 * ehelp.el (with-electric-help):
9594 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
9595 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
9596 * emacs-lisp/helper.el (Helper-help-scroller):
9597 * emulation/cua-base.el (cua--post-command-handler-1):
9598 * eshell/esh-mode.el (eshell-output-filter):
9599 * ffap.el (ffap-gnus-wrapper):
9600 * help-macro.el (make-help-screen):
9601 * hilit-chg.el (highlight-compare-buffers):
9602 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
9603 * hl-line.el (global-hl-line-highlight):
9604 * icomplete.el (icomplete-simple-completing-p):
9605 * isearch.el (isearch-done):
9606 * jit-lock.el (jit-lock-stealth-fontify):
9607 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
9608 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
9609 * mpc.el (mpc-tagbrowser, mpc):
9610 * net/rcirc.el (rcirc-any-buffer):
9611 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
9612 * play/landmark.el (landmark-max-width, landmark-max-height):
9613 * play/zone.el (zone):
9614 * progmodes/compile.el (compilation-goto-locus):
9615 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
9616 * progmodes/etags.el (find-tag-other-window):
9617 * progmodes/fortran.el (fortran-column-ruler):
9618 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
9619 * progmodes/verilog-mode.el (verilog-point-text):
9620 * reposition.el (reposition-window):
9621 * rot13.el (toggle-rot13-mode):
9622 * server.el (server-switch-buffer):
9623 * shell.el (shell-dynamic-complete-command)
9624 (shell-dynamic-complete-environment-variable):
9625 * simple.el (insert-buffer, set-selective-display)
9626 (delete-completion-window):
9627 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
9628 (speedbar-recenter):
9629 * startup.el (fancy-splash-head):
9630 * textmodes/ispell.el (ispell-command-loop):
9631 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
9632 * tutorial.el (help-with-tutorial):
9633 * vc/add-log.el (add-change-log-entry):
9634 * vc/compare-w.el (compare-windows):
9635 * vc/ediff-help.el (ediff-indent-help-message):
9636 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
9637 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
9638 (ediff-setup-control-frame):
9639 * vc/emerge.el (emerge-position-region):
9640 * vc/pcvs-util.el (cvs-bury-buffer):
9641 * window.el (walk-windows, mouse-autoselect-window-select):
9642 * winner.el (winner-set-conf, winner-undo): Related users changed.
9643
9644 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
9645
9646 * frameset.el (frameset--set-id): Doc fix.
9647 (frameset-frame-id, frameset-frame-id-equal-p)
9648 (frameset-locate-frame-id): New functions.
9649 (frameset--process-minibuffer-frames, frameset--reuse-frame)
9650 (frameset-restore): Use them.
9651
9652 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
9653
9654 Do not call to `selected-frame' where it is assumed by default.
9655 Affected functions are `raise-frame', `redraw-frame',
9656 `frame-first-window', `frame-terminal' and `delete-frame'.
9657 * calendar/appt.el (appt-disp-window):
9658 * epg.el (epg-wait-for-completion):
9659 * follow.el (follow-delete-other-windows-and-split)
9660 (follow-avoid-tail-recenter):
9661 * international/mule.el (set-terminal-coding-system):
9662 * mail/rmail.el (rmail-mail-return):
9663 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
9664 * progmodes/f90.el (f90-add-imenu-menu):
9665 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
9666 * server.el (server-switch-buffer):
9667 * simple.el (delete-completion-window):
9668 * talk.el (talk):
9669 * term/xterm.el (terminal-init-xterm-modify-other-keys)
9670 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
9671 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
9672 * vc/ediff.el (ediff-documentation): Related users changed.
9673 * frame.el (selected-terminal): Remove the leftover.
9674
9675 2013-08-05 Glenn Morris <rgm@gnu.org>
9676
9677 * calendar/calendar.el (calendar-generate-month):
9678 Fix for calendar-column-width != 1 + calendar-day-digit-width.
9679 (calendar-generate-month, calendar-font-lock-keywords):
9680 Fix for calendar-day-header-width > length of any day name.
9681
9682 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
9683
9684 * desktop.el (desktop-clear): Use new name of sort predicate.
9685
9686 * frameset.el (frameset): Add docstring. Move :version property to its
9687 own `version' slot.
9688 (frameset-copy): Rename from copy-frameset.
9689 (frameset-p): Check more thoroughly.
9690 (frameset-prop): Do not check for :version, which is no longer a prop.
9691 (frameset-live-filter-alist, frameset-persistent-filter-alist):
9692 Use new :never value instead of t.
9693 (frameset-filter-alist): Expand and clarify docstring.
9694 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
9695 (frameset-filter-minibuffer, frameset-filter-save-param)
9696 (frameset-filter-restore-param, frameset-filter-iconified):
9697 Add pointer to docstring of frameset-filter-alist.
9698 (frameset-filter-params): Rename filter values to be more meaningful:
9699 :never instead of t, and reverse the meanings of :save and :restore.
9700 (frameset--process-minibuffer-frames): Clarify error message.
9701 (frameset-save): Avoid unnecessary and confusing call to framep.
9702 Use new BOA constructor for framesets.
9703 (frameset--reuse-list): Doc fix.
9704 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
9705 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
9706 (frameset-minibufferless-first-p): Doc fix.
9707 Rename from frameset-sort-frames-for-deletion.
9708 (frameset-restore): Doc fixes. Use new function names.
9709 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
9710
9711 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
9712
9713 * desktop.el (desktop-restore-forces-onscreen)
9714 (desktop-restore-reuses-frames): Document :keyword constant values.
9715 (desktop-filter-parameters-alist): Remove, now identical to
9716 frameset-filter-alist.
9717 (desktop--filter-tty*): Remove, moved to frameset.el.
9718 (desktop-save-frameset, desktop-restore-frameset):
9719 Do not pass :filters argument.
9720
9721 * frameset.el (frameset-live-filter-alist)
9722 (frameset-persistent-filter-alist): New variables.
9723 (frameset-filter-alist): Use them. Add autoload cookie.
9724 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
9725 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
9726 `frameset--id' (it's supposed to be internal to frameset.el).
9727 (frameset--process-minibuffer-frames): Ditto. Doc fix.
9728 (frameset--initial-params): New function.
9729 (frameset--get-frame): Use it. Doc fix.
9730 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
9731 Accept :all, not 'all.
9732 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
9733 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
9734 with fbound symbols. Fix frame id matching, and remove matching ids if
9735 the frame being restored is deleted. Obey :delete.
9736
9737 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
9738
9739 * subr.el (macrop): New function.
9740 (text-clone--maintaining): New var.
9741 (text-clone--maintain): Rename from text-clone-maintain. Use it
9742 instead of inhibit-modification-hooks.
9743
9744 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
9745 a proxy, so as handle autoloads and redefinitions of the target.
9746 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
9747
9748 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
9749 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
9750 (pcase--mutually-exclusive-p): New function.
9751 (pcase--split-consp): Use it.
9752 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
9753 mutually exclusive with the current predicate.
9754
9755 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
9756 (edebug-macrop): Remove. Use `macrop' instead.
9757 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
9758 (ad-macro-p):
9759 * eshell/esh-cmd.el (eshell-macrop):
9760 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
9761
9762 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
9763
9764 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
9765 (advice-mapc): New function, using it.
9766 (advice-function-member-p): New function.
9767 (advice--normalize): Store the cdr in advice--saved-rewrite since
9768 that's the part that will be changed.
9769 (advice--symbol-function): New function.
9770 (advice-remove): Handle removal before the function is defined.
9771 Adjust to new advice--saved-rewrite.
9772 (advice-member-p): Use advice-function-member-p and
9773 advice--symbol-function.
9774
9775 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
9776
9777 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
9778 (frameset-filter-minibuffer): Doc fix.
9779 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
9780 (frameset--set-id, frameset--process-minibuffer-frames)
9781 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
9782 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
9783
9784 * desktop.el (desktop-clear): Only delete frames when called
9785 interactively and desktop-restore-frames is non-nil. Doc fix.
9786 (desktop-read): Set desktop-saved-frameset to nil.
9787
9788 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
9789
9790 * vc/vc.el (vc-ignore): Rewrite.
9791 (vc-default-ignore-completion-table, vc--read-lines)
9792 (vc--add-line, vc--remove-regexp): New functions.
9793
9794 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
9795 (vc-svn-ignore-completion-table): New function.
9796
9797 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
9798 (vc-hg-ignore-completion-table)
9799 (vc-hg-find-ignore-file): New functions.
9800
9801 * vc/vc-git.el (vc-git-ignore): Rewrite.
9802 (vc-git-ignore-completion-table)
9803 (vc-git-find-ignore-file): New functions.
9804
9805 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
9806
9807 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
9808 (vc-bzr-ignore-completion-table)
9809 (vc-bzr-find-ignore-file): New functions.
9810
9811 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
9812
9813 * frameset.el (frameset-prop): New function and setter.
9814 (frameset-save): Do not modify frame list passed by the caller.
9815
9816 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9817
9818 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
9819
9820 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
9821
9822 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
9823 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
9824
9825 * custom.el (custom-initialize-default, custom-initialize-set)
9826 (custom-initialize-reset, custom-initialize-changed): Affect the
9827 toplevel-default-value (bug#6275, bug#14586).
9828 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
9829 for bug#6275.
9830
9831 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
9832
9833 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
9834 Add cl-def* expressions.
9835
9836 * frameset.el (frameset-filter-params): Fix order of arguments.
9837
9838 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
9839
9840 Move code related to saving frames to frameset.el.
9841 * desktop.el: Require frameset.
9842 (desktop-restore-frames): Doc fix.
9843 (desktop-restore-reuses-frames): Rename from
9844 desktop-restoring-reuses-frames.
9845 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
9846 (desktop-clear): Clear frames too.
9847 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
9848 (desktop--filter-tty*, desktop-save, desktop-read):
9849 Use frameset functions.
9850 (desktop-before-saving-frames-functions, desktop--filter-*-color)
9851 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
9852 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
9853 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
9854 (desktop--process-minibuffer-frames, desktop-save-frames)
9855 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
9856 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
9857 (desktop--sort-states, desktop-restoring-frames-p)
9858 (desktop-restore-frames): Remove. Most code moved to frameset.el.
9859 (desktop-restoring-frameset-p, desktop-restore-frameset)
9860 (desktop--check-dont-save, desktop-save-frameset): New functions.
9861 (desktop--app-id): New constant.
9862 (desktop-first-buffer, desktop-buffer-ok-count)
9863 (desktop-buffer-fail-count): Move before first use.
9864 * frameset.el: New file.
9865
9866 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
9867
9868 * files.el: Use lexical-binding.
9869 (dir-locals-read-from-file): Remove unused `err' variable.
9870 (hack-dir-local-variables--warned-coding): New var.
9871 (hack-dir-local-variables): Use it to avoid repeated warnings.
9872 (make-backup-file-name--default-function): New function.
9873 (make-backup-file-name-function): Use it as default.
9874 (buffer-stale--default-function): New function.
9875 (buffer-stale-function): Use it as default.
9876 (revert-buffer-insert-file-contents--default-function): New function.
9877 (revert-buffer-insert-file-contents-function): Use it as default.
9878 (insert-directory): Avoid add-to-list.
9879
9880 * autorevert.el (auto-revert-handler): Simplify.
9881 Use buffer-stale--default-function.
9882
9883 2013-08-01 Tassilo Horn <tsdh@gnu.org>
9884
9885 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
9886
9887 * whitespace.el (whitespace-ensure-local-variables): New function.
9888 (whitespace-cleanup-region): Call it.
9889 (whitespace-turn-on): Call it.
9890
9891 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
9892
9893 Complete file name handlers.
9894
9895 * net/tramp.el (tramp-handle-set-visited-file-modtime)
9896 (tramp-handle-verify-visited-file-modtime)
9897 (tramp-handle-file-notify-rm-watch): New functions.
9898 (tramp-call-process): Do not bind `default-directory'.
9899
9900 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9901 Order alphabetically.
9902 <access-file, add-name-to-file, dired-call-process>:
9903 <dired-compress-file, file-acl, file-notify-rm-watch>:
9904 <file-ownership-preserved-p, file-selinux-context>:
9905 <make-directory-internal, make-symbolic-link, set-file-acl>:
9906 <set-file-selinux-context, set-visited-file-modtime>:
9907 <verify-visited-file-modtime>: Add handler.
9908 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
9909
9910 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
9911 <file-notify-add-watch, file-notify-rm-watch>:
9912 <set-file-times, set-visited-file-modtime>:
9913 <verify-visited-file-modtime>: Add handler.
9914 (with-tramp-gvfs-error-message)
9915 (tramp-gvfs-handle-set-visited-file-modtime)
9916 (tramp-gvfs-fuse-file-name): Remove.
9917 (tramp-gvfs-handle-file-notify-add-watch)
9918 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
9919 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
9920
9921 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9922 Order alphabetically.
9923 <file-notify-rm-watch>: Use default Tramp handler.
9924 <executable-find>: Remove private handler.
9925 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
9926 `default-directory'.
9927 (tramp-sh-handle-executable-find)
9928 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
9929 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9930 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
9931 Do not use `format' in `tramp-message'.
9932
9933 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
9934 <file-notify-rm-watch, set-visited-file-modtime>:
9935 <verify-visited-file-modtime>: Add handler.
9936 (tramp-smb-call-winexe): Do not bind `default-directory'.
9937
9938 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
9939
9940 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
9941
9942 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
9943
9944 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
9945 use it.
9946 (log-view-diff-changeset): Same.
9947 (log-view-diff-common): Call backend command `previous-revision'
9948 to find out the previous revision, in both cases. Swap the
9949 variables `to' and `fr', so that `fr' usually refers to the
9950 earlier revision (Bug#14989).
9951
9952 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
9953
9954 * ibuf-ext.el (ibuffer-filter-by-filename):
9955 Make it work with dired buffers too.
9956
9957 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
9958
9959 * emacs-lisp/re-builder.el (reb-color-display-p):
9960 * files.el (save-buffers-kill-terminal):
9961 * net/browse-url.el (browse-url):
9962 * server.el (server-save-buffers-kill-terminal):
9963 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
9964 Prefer nil to selected-frame for the first arg of frame-parameter.
9965
9966 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
9967
9968 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
9969
9970 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
9971
9972 * minibuffer.el (completion--twq-all): Try and preserve each
9973 completion's case choice (bug#14907).
9974
9975 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9976
9977 * net/network-stream.el (open-network-stream): Mention the new
9978 :nogreeting parameter.
9979 (network-stream-open-starttls): Use the :nogreeting parameter
9980 (bug#14938).
9981
9982 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
9983
9984 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
9985 more natural than popping.
9986
9987 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
9988 (shr-urlify): Highlight under mouse.
9989
9990 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
9991
9992 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
9993
9994 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
9995
9996 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
9997 buffer for output.
9998
9999 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
10000 point-min==1. Fix search string. Fix parentheses missing.
10001
10002 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
10003 assume point-min==1. Fix search string. Fix parentheses missing.
10004
10005 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
10006
10007 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
10008 buffer for output.
10009
10010 2013-07-29 Eli Zaretskii <eliz@gnu.org>
10011
10012 * frame.el (frame-notice-user-settings): Avoid inflooping when the
10013 initial frame is minibuffer-less. (Bug#14841)
10014
10015 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
10016
10017 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
10018 option.
10019
10020 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10021 (tramp-maybe-open-connection): Use it.
10022
10023 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
10024
10025 * desktop.el (desktop--make-frame): Include `minibuffer' in the
10026 minimal set of parameters passed when creating a frame, because
10027 the minibuffer status of a frame cannot be changed later.
10028
10029 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
10030
10031 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
10032 replace-regexp-in-string and inadvertent omissions in previous change.
10033 (todo-filter-items): Ensure only file names are comma-separated in
10034 name of filtered items buffer.
10035
10036 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
10037
10038 * desktop.el: Optionally force offscreen frames back onscreen.
10039 (desktop-restoring-reuses-frames): New option.
10040 (desktop--compute-pos, desktop--move-onscreen): New functions.
10041 (desktop--make-frame): Use desktop--move-onscreen.
10042
10043 2013-07-27 Alan Mackenzie <acm@muc.de>
10044
10045 Fontify a Java generic method as a function.
10046 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
10047 value to t.
10048
10049 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
10050
10051 * calendar/todo-mode.el: Add command to rename todo files.
10052 (todo-rename-file): New command.
10053 (todo-key-bindings-t): Add key binding for it. Change the
10054 bindings of todo-filter-regexp-items(-multifile) to use `x'
10055 instead of `r', since the latter is better suited to the new
10056 renaming command.
10057
10058 2013-07-27 Alan Mackenzie <acm@muc.de>
10059
10060 Make Java try-with-resources statement parse properly.
10061 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
10062 (c-block-stmt-1-2-key): New language constants/variables.
10063 * progmodes/cc-engine.el (c-beginning-of-statement-1)
10064 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
10065 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
10066 with c-block-stmt-1-2-key.
10067
10068 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
10069
10070 * desktop.el (desktop--make-frame): Apply most frame parameters after
10071 creating the frame to force (partially or totally) offscreen frames to
10072 be restored as such.
10073
10074 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
10075
10076 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
10077 (Bug#14948)
10078
10079 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10080
10081 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
10082 `base' arg of backtrace-frame.
10083
10084 2013-07-26 Eli Zaretskii <eliz@gnu.org>
10085
10086 * simple.el (list-processes): Doc fix.
10087
10088 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
10089
10090 * desktop.el (desktop--select-frame):
10091 Try harder to reuse existing frames.
10092
10093 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10094
10095 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
10096 (edebug-eval): Use backtrace-eval.
10097 (edebug--display, edebug--recursive-edit): Don't let-bind the
10098 edebug-outer-* vars that keep track of variables we locally let-bind.
10099 (edebug-outside-excursion): Don't restore outside values of locally
10100 let-bound vars.
10101 (edebug--display): Use user-error.
10102 (cl-lexical-debug, cl-debug-env): Remove.
10103
10104 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
10105
10106 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
10107 are restored to be sure that they are visible before deleting any
10108 remaining ones.
10109
10110 2013-07-26 Matthias Meulien <orontee@gmail.com>
10111
10112 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
10113 vc-print-root-log. (Bug#14948)
10114
10115 2013-07-26 Richard Stallman <rms@gnu.org>
10116
10117 Add aliases for encrypting mail.
10118 * epa.el (epa-mail-aliases): New option.
10119 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
10120 Bind inhibit-read-only so read-only text doesn't ruin everything.
10121 (epa-mail-default-recipients): New subroutine broken out.
10122 Handle epa-mail-aliases.
10123
10124 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10125
10126 Add support for lexical variables to the debugger's `e' command.
10127 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
10128 vars, except for debugger-outer-match-data.
10129 (debugger-frame-number): Move check for "on a function call" from
10130 callers into it. Add `skip-base' argument.
10131 (debugger-frame, debugger-frame-clear): Simplify accordingly.
10132 (debugger-env-macro): Only reset the state stored in non-variables,
10133 i.e. current-buffer and match-data.
10134 (debugger-eval-expression): Rewrite using backtrace-eval.
10135 * subr.el (internal--called-interactively-p--get-frame): Remove.
10136 (called-interactively-p):
10137 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
10138 `base' arg of backtrace-frame instead.
10139
10140 2013-07-26 Glenn Morris <rgm@gnu.org>
10141
10142 * align.el (align-regexp): Doc fix. (Bug#14857)
10143 (align-region): Explicit error if subexpression missing/does not match.
10144
10145 * simple.el (global-visual-line-mode):
10146 Do not duplicate the mode lighter. (Bug#14858)
10147
10148 2013-07-25 Martin Rudalics <rudalics@gmx.at>
10149
10150 * window.el (display-buffer): In display-buffer bind
10151 split-window-keep-point to t, bug#14829.
10152
10153 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
10154
10155 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
10156 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
10157 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
10158 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10159 Change accordingly.
10160 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10161 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
10162
10163 2013-07-25 Glenn Morris <rgm@gnu.org>
10164
10165 * dired-x.el (dired-mark-extension): Convert comment to doc string.
10166
10167 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
10168
10169 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
10170 parameter to modify-frame-parameters if the value has not changed;
10171 this is a workaround for bug#14949.
10172 (desktop--make-frame): On cl-delete-if call, check parameter name,
10173 not full parameter.
10174
10175 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10176
10177 * vc/vc.el (vc-ignore): New function.
10178
10179 * vc/vc-svn.el (vc-svn-ignore): New function.
10180
10181 * vc/vc-hg.el (vc-hg-ignore): New function.
10182
10183 * vc/vc-git.el (vc-git-ignore): New function.
10184
10185 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
10186 (vc-dir-ignore): New function.
10187
10188 * vc/vc-cvs.el (vc-cvs-ignore): New function.
10189 (cvs-append-to-ignore): Move here from pcvs.el.
10190
10191 * vc/vc-bzr.el (vc-bzr-ignore): New function.
10192
10193 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
10194
10195 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
10196
10197 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
10198 (desktop-restore-frames): Warn when deleting an existing frame failed.
10199
10200 2013-07-24 Glenn Morris <rgm@gnu.org>
10201
10202 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
10203
10204 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
10205
10206 * filenotify.el (file-notify-supported-p):
10207 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
10208 Remove functions.
10209
10210 * autorevert.el (auto-revert-use-notify)
10211 (auto-revert-notify-add-watch):
10212 * net/tramp.el (tramp-file-name-for-operation):
10213 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10214 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10215 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10216 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
10217 Remove `file-notify-supported-p' entry.
10218
10219 2013-07-24 Glenn Morris <rgm@gnu.org>
10220
10221 * printing.el: Replace all uses of deleted ps-windows-system,
10222 ps-lp-system, ps-flatten-list with lpr- versions.
10223
10224 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
10225
10226 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
10227 checked with memq (bug#14935).
10228
10229 * files.el (revert-buffer-function): Use a non-nil default.
10230 (revert-buffer-preserve-modes): Declare var to
10231 provide access to the `preserve-modes' argument.
10232 (revert-buffer): Let-bind it.
10233 (revert-buffer--default): New function, extracted from revert-buffer.
10234
10235 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
10236
10237 * lpr.el: Signal print errors more prominently.
10238 (print-region-function): Don't default to nil.
10239 (lpr-print-region): New function, extracted from print-region-1.
10240 Check lpr's return value and signal an error in case of problem.
10241 (print-region-1): Use it.
10242 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
10243 versions instead.
10244 (ps-printer-name): Default to nil.
10245 (ps-printer-name-option): Default to lpr-printer-switch.
10246 (ps-print-region-function): Don't default to nil.
10247 (ps-postscript-code-directory): Simplify default.
10248 (ps-do-despool): Use lpr-print-region to properly check the outcome.
10249 (ps-string-list, ps-eval-switch, ps-flatten-list)
10250 (ps-flatten-list-1): Remove.
10251 (ps-multibyte-buffer): Avoid setq.
10252 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
10253 (print-region-function, ps-print-region-function): Don't set them here.
10254
10255 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
10256
10257 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
10258 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
10259 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
10260 (ido-decorations): Doc fix.
10261
10262 * ansi-color.el: Fix old URL.
10263
10264 2013-07-23 Michael R. Mauger <michael@mauger.com>
10265
10266 * progmodes/sql.el: Version 3.3
10267 (sql-product-alist): Improve oracle :prompt-cont-regexp.
10268 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
10269 (sql-interactive-remove-continuation-prompt): Rewrite, use
10270 functions above. Fix continuation prompt and complete output line
10271 handling.
10272 (sql-redirect-one, sql-execute): Use `read-only-mode' on
10273 redirected output buffer.
10274 (sql-mode): Restore deleted code (Bug#13591).
10275
10276 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
10277
10278 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
10279
10280 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
10281
10282 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
10283
10284 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10285 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10286 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
10287
10288 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
10289
10290 * desktop.el (desktop-clear): Simplify; remove useless checks
10291 against invalid buffer names.
10292 (desktop-list*): Use cl-list*.
10293 (desktop-buffer-info, desktop-create-buffer): Simplify.
10294
10295 2013-07-23 Leo Liu <sdl.web@gmail.com>
10296
10297 * bookmark.el (bookmark-make-record): Restore NAME as a default
10298 value. (Bug#14933)
10299
10300 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
10301
10302 * emacs-lisp/autoload.el (autoload--setup-output): New function,
10303 extracted from autoload--insert-text.
10304 (autoload--insert-text): Remove.
10305 (autoload--print-cookie-text): New function, extracted from
10306 autoload--insert-cookie-text.
10307 (autoload--insert-cookie-text): Remove.
10308 (autoload-generate-file-autoloads): Adjust calls accordingly.
10309
10310 * winner.el (winner-hook-installed-p): Remove.
10311 (winner-mode): Simplify accordingly.
10312
10313 * subr.el (add-to-list): Fix compiler-macro when `append' is
10314 not constant. Don't use `cl-member' for the base case.
10315
10316 * progmodes/subword.el: Fix boundary case (bug#13758).
10317 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
10318 own group.
10319 (subword-backward-regexp): Make it a constant.
10320 (subword-forward-internal): Don't treat a trailing capital as the
10321 beginning of a word.
10322
10323 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
10324
10325 * emacs-lisp/package.el (package-menu-mode): Don't modify the
10326 global value of tabulated-list-revert-hook (bug#14930).
10327
10328 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
10329
10330 * desktop.el: Require 'cl-lib.
10331 (desktop-before-saving-frames-functions): New hook.
10332 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
10333 for frames being saved. Rename from desktop--save-minibuffer-frames.
10334 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
10335 Do not save frames with non-nil `desktop-dont-save' parameter.
10336 Filter out deleted frames.
10337 (desktop--find-frame): Use cl-find-if.
10338 (desktop--select-frame): Use cl-(first|second|third) to access values
10339 of desktop-mini.
10340 (desktop--make-frame): Use cl-delete-if.
10341 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
10342 (desktop-restore-frames): Use cl-(first|second|third) to access values
10343 of desktop-mini. Look for visible frame at the end, not while
10344 restoring frames.
10345
10346 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
10347 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
10348 Use string-match-p, looking-at-p (bug#14927).
10349
10350 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
10351
10352 * desktop.el (desktop-saved-frame-states):
10353 Rename from desktop--saved-states; all users changed.
10354 (desktop-save-frames): Rename from desktop--save-frames.
10355 Do not save state to desktop file.
10356 (desktop-save): Save desktop-saved-frame-states to desktop file
10357 and reset to nil.
10358 (desktop-restoring-frames-p): New function.
10359 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
10360 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
10361 buffer-lists when restoring frames. Suggested by Martin Rudalics.
10362
10363 * desktop.el: Correctly restore iconified frames.
10364 (desktop--filter-iconified-position): New function.
10365 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
10366
10367 2013-07-20 Glenn Morris <rgm@gnu.org>
10368
10369 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
10370 Let `message' do the formatting.
10371 (def-gdb-preempt-display-buffer): Add explicit format.
10372
10373 * image-dired.el (image-dired-track-original-file):
10374 Use with-current-buffer.
10375 (image-dired-track-thumbnail): Use with-current-buffer.
10376 Avoid changing point of wrong window.
10377
10378 * image-dired.el (image-dired-track-original-file):
10379 Avoid changing point of wrong window. (Bug#14909)
10380
10381 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
10382
10383 * progmodes/gdb-mi.el (gdb-done-or-error):
10384 Guard against "%" in gdb output. (Bug#14127)
10385
10386 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
10387
10388 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
10389 (Bug#14826)
10390
10391 * international/mule.el (coding-system-iso-2022-flags): Fix last
10392 change.
10393
10394 2013-07-20 Kenichi Handa <handa@gnu.org>
10395
10396 * international/mule.el (coding-system-iso-2022-flags):
10397 Add `8-bit-level-4'. (Bug#8522)
10398
10399 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10400
10401 * net/shr.el (shr-mouse-browse-url): New command and keystroke
10402 (bug#14815).
10403
10404 * net/eww.el (eww-process-text-input): Allow inputting when the
10405 point is at the start of the line, as the properties aren't
10406 front-sticky.
10407
10408 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
10409 degenerate widths.
10410
10411 2013-07-19 Richard Stallman <rms@gnu.org>
10412
10413 * epa.el (epa-popup-info-window): Doc fix.
10414
10415 * subr.el (split-string): New arg TRIM.
10416
10417 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
10418
10419 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
10420 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
10421
10422 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
10423
10424 * filenotify.el (file-notify--library): Rename from
10425 `file-notify-support'. Do not autoload. Adapt all uses.
10426 (file-notify-supported-p): New defun.
10427
10428 * autorevert.el (auto-revert-use-notify):
10429 Use `file-notify-supported-p' instead of `file-notify-support'.
10430 Adapt docstring.
10431 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
10432
10433 * net/tramp.el (tramp-file-name-for-operation):
10434 Add `file-notify-supported-p'.
10435
10436 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
10437 New defun.
10438 (tramp-sh-file-name-handler-alist): Add it as handler for
10439 `file-notify-supported-p '.
10440
10441 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10442 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10443 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
10444 Add `ignore' as handler for `file-notify-*' functions.
10445
10446 2013-07-17 Eli Zaretskii <eliz@gnu.org>
10447
10448 * simple.el (line-move-partial, line-move): Don't start vscroll or
10449 scroll-up if the current line is not taller than the window.
10450 (Bug#14881)
10451
10452 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
10453
10454 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
10455 highlight question marks in the method names as strings.
10456 (ruby-block-beg-keywords): Inline.
10457 (ruby-font-lock-keyword-beg-re): Extract from
10458 `ruby-font-lock-keywords'.
10459
10460 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
10461
10462 * frame.el (blink-cursor-blinks): New defcustom.
10463 (blink-cursor-blinks-done): New defvar.
10464 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
10465 (blink-cursor-timer-function): Check if number of blinks has been
10466 done on X and NS.
10467 (blink-cursor-suspend, blink-cursor-check): New defuns.
10468
10469 2013-07-15 Glenn Morris <rgm@gnu.org>
10470
10471 * edmacro.el (edmacro-format-keys): Fix previous change.
10472
10473 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
10474
10475 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
10476 The hack didn't work outside English locales anyway.
10477
10478 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
10479
10480 * simple.el (define-alternatives): Rename from alternatives-define,
10481 per RMS' suggestion.
10482
10483 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
10484
10485 * desktop.el (desktop-restore-frames): Change default to t.
10486 (desktop-restore-in-current-display): Now offer more options.
10487 (desktop-restoring-reuses-frames): New customization option.
10488 (desktop--saved-states): Doc fix.
10489 (desktop-filter-parameters-alist): New variable, renamed and expanded
10490 from desktop--excluded-frame-parameters.
10491 (desktop--target-display): New variable.
10492 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
10493 (desktop--filter-tty*, desktop--filter-*-color)
10494 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
10495 (desktop--filter-save-desktop-parm)
10496 (desktop-restore-in-original-display-p): New functions.
10497 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
10498 (desktop--save-minibuffer-frames): New function, inspired by a similar
10499 function from Martin Rudalics.
10500 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
10501 (desktop--restore-in-this-display-p): Remove.
10502 (desktop--find-frame): Rename from desktop--find-frame-in-display
10503 and add predicate argument.
10504 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
10505 (desktop--reuse-list): New variable.
10506 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
10507 New functions.
10508 (desktop--restore-frames): Add support for "minibuffer-special" frames.
10509
10510 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
10511
10512 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
10513
10514 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
10515
10516 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
10517 Highlight conversion methods on Kernel.
10518
10519 2013-07-13 Alan Mackenzie <acm@muc.de>
10520
10521 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
10522 and comment it out. This out-commenting enables certain C++
10523 declarations to be parsed correctly.
10524
10525 2013-07-13 Eli Zaretskii <eliz@gnu.org>
10526
10527 * international/mule.el (define-coding-system): Doc fix.
10528
10529 * simple.el (default-font-height): Don't call font-info if the
10530 frame's default font didn't change since the frame was created.
10531 (Bug#14838)
10532
10533 2013-07-13 Leo Liu <sdl.web@gmail.com>
10534
10535 * ido.el (ido-read-file-name): Guard against non-symbol value.
10536
10537 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
10538
10539 * progmodes/python.el (python-imenu--build-tree): Fix corner case
10540 in nested defuns.
10541
10542 2013-07-13 Leo Liu <sdl.web@gmail.com>
10543
10544 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
10545 ido-set-matches call. (Bug#6852)
10546
10547 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
10548
10549 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
10550 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
10551 Ruby 2.0.
10552 (ruby-font-lock-keywords): Distinguish calls to functions with
10553 module-like names from module references. Highlight character
10554 literals.
10555
10556 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
10557
10558 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
10559 (gdb-send): Handle continued commands. (Bug#14847)
10560
10561 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
10562
10563 * desktop.el (desktop--v2s): Remove unused local variable.
10564 (desktop-save-buffer): Make defvar-local; adjust docstring.
10565 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
10566 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
10567
10568 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
10569
10570 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
10571
10572 2013-07-12 Eli Zaretskii <eliz@gnu.org>
10573
10574 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
10575 (Bug#14842)
10576
10577 2013-07-12 Glenn Morris <rgm@gnu.org>
10578
10579 * doc-view.el: Require cl-lib at runtime too.
10580 (doc-view-remove-if): Remove.
10581 (doc-view-search-next-match, doc-view-search-previous-match):
10582 Use cl-remove-if.
10583
10584 * edmacro.el: Require cl-lib at runtime too.
10585 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
10586 (edmacro-mismatch, edmacro-subseq): Remove.
10587
10588 * shadowfile.el: Require cl-lib.
10589 (shadow-remove-if): Remove.
10590 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
10591 Use cl-remove-if.
10592
10593 * wid-edit.el: Require cl-lib.
10594 (widget-choose): Use cl-remove-if.
10595 (widget-remove-if): Remove.
10596
10597 * progmodes/ebrowse.el: Require cl-lib at runtime too.
10598 (ebrowse-delete-if-not): Remove.
10599 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
10600 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
10601 Use cl-delete-if-not.
10602
10603 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
10604
10605 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
10606 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
10607
10608 2013-07-12 Leo Liu <sdl.web@gmail.com>
10609
10610 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
10611
10612 2013-07-11 Glenn Morris <rgm@gnu.org>
10613
10614 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
10615 (edebug-gensym-index, edebug-gensym):
10616 Remove reimplementation of cl-gensym.
10617 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
10618
10619 * thumbs.el: Require cl-lib at run-time too.
10620 (thumbs-gensym-counter, thumbs-gensym):
10621 Remove reimplementation of cl-gensym.
10622 (thumbs-temp-file): Use cl-gensym.
10623
10624 * emacs-lisp/ert.el: Require cl-lib at runtime too.
10625 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
10626 (ert--intersection, ert--set-difference, ert--set-difference-eq)
10627 (ert--union, ert--gensym-counter, ert--gensym-counter)
10628 (ert--coerce-to-vector, ert--remove*, ert--string-position)
10629 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
10630 (ert-make-test-unbound, ert--expand-should-1)
10631 (ert--expand-should, ert--should-error-handle-error)
10632 (should-error, ert--explain-equal-rec)
10633 (ert--plist-difference-explanation, ert-select-tests)
10634 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
10635 Use cl-lib functions rather than reimplementations.
10636
10637 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
10638
10639 * net/tramp.el (tramp-methods): Extend docstring.
10640 (tramp-connection-timeout): New defcustom.
10641 (tramp-error-with-buffer): Reset timestamp only when appropriate.
10642 (with-tramp-progress-reporter): Simplify.
10643 (tramp-process-actions): Improve messages.
10644
10645 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10646 * net/tramp-sh.el (tramp-maybe-open-connection):
10647 Use `tramp-connection-timeout'.
10648 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
10649 (Bug#14808)
10650
10651 2013-07-11 Leo Liu <sdl.web@gmail.com>
10652
10653 * ido.el (ido-read-file-name): Conform to the requirements of
10654 read-file-name. (Bug#11861)
10655 (ido-read-directory-name): Conform to the requirements of
10656 read-directory-name.
10657
10658 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
10659
10660 * subr.el (delay-warning): New function.
10661
10662 2013-07-10 Eli Zaretskii <eliz@gnu.org>
10663
10664 * simple.el (default-line-height): New function.
10665 (line-move-partial, line-move): Use it instead of computing the
10666 line height inline.
10667 (line-move-partial): Always compute ROWH. If the last line is
10668 partially-visible, but its text is completely visible, allow
10669 cursor to enter such a partially-visible line.
10670
10671 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
10672
10673 Improve error messages. (Bug#14808)
10674
10675 * net/tramp.el (tramp-current-connection): New defvar, moved from
10676 tramp-sh.el.
10677 (tramp-message-show-progress-reporter-message): Remove, not
10678 needed anymore.
10679 (tramp-error-with-buffer): Show message in minibuffer.
10680 Discard input before waiting. Reset connection timestamp.
10681 (with-tramp-progress-reporter): Improve messages.
10682 (tramp-process-actions): Use progress reporter. Delete process in
10683 case of error. Improve messages.
10684
10685 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
10686 Call `tramp-error-with-buffer' with vector and buffer.
10687 (tramp-current-connection): Remove.
10688 (tramp-maybe-open-connection): The car of
10689 `tramp-current-connection' are the first 3 slots of the vector.
10690
10691 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
10692
10693 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
10694 inside continued strings.
10695
10696 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
10697
10698 Timestamp fixes for undo (Bug#14824).
10699 * files.el (clear-visited-file-modtime): Move here from fileio.c.
10700
10701 2013-07-10 Leo Liu <sdl.web@gmail.com>
10702
10703 * files.el (require-final-newline): Allow safe local value.
10704 (Bug#14834)
10705
10706 2013-07-09 Leo Liu <sdl.web@gmail.com>
10707
10708 * ido.el (ido-read-directory-name): Handle fallback.
10709 (ido-read-file-name): Update DIR to ido-current-directory.
10710 (Bug#1516)
10711 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
10712
10713 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
10714
10715 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
10716 "autoload". Remove "warn lower camel case" section, previously
10717 commented out. Highlight negation char. Do not highlight the
10718 target in singleton method definitions.
10719
10720 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
10721
10722 * faces.el (tty-setup-hook): Declare the hook.
10723
10724 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
10725 and detect when a guard/pred depends on local vars (bug#14773).
10726 (pcase--u1): Adjust caller.
10727
10728 2013-07-08 Eli Zaretskii <eliz@gnu.org>
10729
10730 * simple.el (line-move-partial, line-move): Account for
10731 line-spacing.
10732 (line-move-partial): Avoid setting vscroll when the last
10733 partially-visible line in window is of default height.
10734
10735 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
10736
10737 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
10738 been used a while.
10739
10740 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
10741
10742 * subr.el (read-quoted-char): Remove unused local variable `char'.
10743
10744 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
10745
10746 * vc/ediff.el (ediff-version): Version update.
10747 (ediff-files-command, ediff3-files-command, ediff-merge-command)
10748 (ediff-merge-with-ancestor-command, ediff-directories-command)
10749 (ediff-directories3-command, ediff-merge-directories-command)
10750 (ediff-merge-directories-with-ancestor-command): New functions.
10751 All are command-line interfaces to ediff: to facilitate calling
10752 Emacs with the appropriate ediff functions invoked.
10753
10754 * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
10755 New function.
10756 (viper-save-kill-buffer): Check if buffer is modified.
10757
10758 * emulation/viper.el (viper-version): Version update.
10759 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
10760
10761 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
10762
10763 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
10764 * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
10765 (viper-intercept-ESC-key): Simplify.
10766 * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
10767 don't use kbd.
10768 * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
10769 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
10770 (viper-setup-ESC-to-escape): New functions.
10771 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
10772 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
10773
10774 2013-07-07 Eli Zaretskii <eliz@gnu.org>
10775
10776 * simple.el (default-font-height, window-screen-lines):
10777 New functions.
10778 (line-move, line-move-partial): Use them instead of
10779 frame-char-height and window-text-height. This makes scrolling
10780 text smoother when the buffer's default face uses a font that is
10781 different from the frame's default font.
10782
10783 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
10784
10785 * files.el (write-file): Do not display confirm dialog for NS,
10786 it does its own dialog, which can't be canceled (Bug#14578).
10787
10788 2013-07-06 Eli Zaretskii <eliz@gnu.org>
10789
10790 * simple.el (line-move-partial): Adjust the row returned by
10791 posn-at-point for the current window-vscroll. (Bug#14567)
10792
10793 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
10794
10795 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
10796 (tramp-sh-file-inotifywait-process-filter): Handle file names with
10797 spaces.
10798
10799 2013-07-06 Martin Rudalics <rudalics@gmx.at>
10800
10801 * window.el (window-state-put-stale-windows): New variable.
10802 (window--state-put-2): Save list of windows without matching buffer.
10803 (window-state-put): Remove "bufferless" windows if possible.
10804
10805 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
10806
10807 * simple.el (alternatives-define): Remove leftover :group keyword.
10808 Tweak docstring.
10809
10810 2013-07-06 Leo Liu <sdl.web@gmail.com>
10811
10812 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
10813 (ido-enable-virtual-buffers): New variable.
10814 (ido-buffer-internal, ido-toggle-virtual-buffers)
10815 (ido-make-buffer-list): Use it.
10816 (ido-exhibit): Support turning on and off virtual buffers
10817 automatically.
10818
10819 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
10820
10821 * simple.el (alternatives-define): New macro.
10822
10823 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
10824
10825 * subr.el (read-quoted-char): Use read-key.
10826 (sit-for): Let read-event decode tty input (bug#14782).
10827
10828 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
10829
10830 * calendar/todo-mode.el: Add handling of file deletion, both by
10831 mode command and externally. Fix various related bugs.
10832 Clarify Commentary and improve some documentation strings and code.
10833 (todo-delete-file): New command.
10834 (todo-check-file): New function.
10835 (todo-show): Handle external deletion of the file we're trying to
10836 show (bug#14688). Replace called-interactively-p by an optional
10837 prefix argument to avoid problematic interaction with catch form
10838 when byte compiled (bug#14702).
10839 (todo-quit): Handle external deletion of the archive's todo file.
10840 Make sure the buffer that was visiting the archive file is still
10841 live before trying to bury it.
10842 (todo-category-completions): Handle external deletion of any
10843 category completion files.
10844 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
10845 of todo files, in case of external deletion.
10846 (todo-add-file): Replace unnecessary setq by let-binding.
10847 (todo-find-archive): Check whether there are any archives.
10848 Replace unnecessary setq by let-binding.
10849 (todo-archive-done-item): Use find-file-noselect to get the
10850 archive buffer whether or not the archive already exists.
10851 Remove superfluous code. Use file size instead of buffer-file-name to
10852 check if the archive is new; if it is, update list of archives.
10853 (todo-default-todo-file): Allow nil to be a valid value for when
10854 there are no todo files.
10855 (todo-reevaluate-default-file-defcustom): Use corrected definition
10856 of todo-default-todo-file.
10857 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
10858 (todo-delete-category, todo-show-categories-table)
10859 (todo-category-number): Clarify comment.
10860 (todo-filter-items): Clarify documentation string.
10861 (todo-show-current-file, todo-display-as-todo-file)
10862 (todo-reset-and-enable-done-separator): Tweak documentation string.
10863 (todo-done-separator): Make separator length window-width, since
10864 bug#2749 is now fixed.
10865
10866 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
10867
10868 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
10869 Support both "gvfs-monitor-dir" and "inotifywait".
10870 (tramp-sh-file-inotifywait-process-filter): Rename from
10871 `tramp-sh-file-notify-process-filter'.
10872 (tramp-sh-file-gvfs-monitor-dir-process-filter)
10873 (tramp-get-remote-gvfs-monitor-dir): New defuns.
10874
10875 2013-07-05 Leo Liu <sdl.web@gmail.com>
10876
10877 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
10878
10879 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10880
10881 * frame.el (display-pixel-height, display-pixel-width)
10882 (display-mm-height, display-mm-width): Mention behavior on
10883 multi-monitor setups in docstrings.
10884 (w32-display-monitor-attributes-list): Declare function.
10885 (display-monitor-attributes-list): Use it.
10886
10887 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
10888
10889 * filenotify.el: New package.
10890
10891 * autorevert.el (top): Require filenotify.el.
10892 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
10893 instead.
10894 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
10895 (auto-revert-notify-handler): Use `file-notify-*' functions.
10896
10897 * subr.el (file-notify-handle-event): Move function to filenotify.el.
10898
10899 * net/tramp.el (tramp-file-name-for-operation):
10900 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
10901
10902 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
10903 for `file-notify-add-watch' and `file-notify-rm-watch'.
10904 (tramp-process-sentinel): Improve trace.
10905 (tramp-sh-handle-file-notify-add-watch)
10906 (tramp-sh-file-notify-process-filter)
10907 (tramp-sh-handle-file-notify-rm-watch)
10908 (tramp-get-remote-inotifywait): New defuns.
10909
10910 2013-07-03 Juri Linkov <juri@jurta.org>
10911
10912 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
10913 call of `occur-read-primary-args' to interactive spec.
10914
10915 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
10916 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
10917
10918 2013-07-03 Matthias Meulien <orontee@gmail.com>
10919
10920 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
10921 `Buffer-menu-multi-occur'. Add it to the menu.
10922 (Buffer-menu-mode): Document it in docstring.
10923 (Buffer-menu-multi-occur): New command. (Bug#14673)
10924
10925 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
10926
10927 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
10928 keywords and built-ins.
10929
10930 2013-07-03 Glenn Morris <rgm@gnu.org>
10931
10932 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
10933
10934 Make info-xref checks case-sensitive by default
10935 * info.el (Info-find-node, Info-find-in-tag-table)
10936 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
10937 Add option for exact case matching of nodes.
10938 * info-xref.el (info-xref): New custom group.
10939 (info-xref-case-fold): New option.
10940 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
10941
10942 2013-07-03 Leo Liu <sdl.web@gmail.com>
10943
10944 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
10945
10946 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
10947
10948 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
10949 middle of block statement initially, lower the depth. Remove
10950 FIXME comment, not longer valid. Remove middle of block statement
10951 detection, no need to do that anymore since we've been using
10952 `ruby-parse-region' here.
10953
10954 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
10955
10956 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
10957
10958 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
10959
10960 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
10961
10962 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
10963
10964 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
10965 (desktop-restore-in-current-display): New customization option.
10966 (desktop--excluded-frame-parameters): Add `font'.
10967 (desktop--save-frames): Rename from desktop--save-windows.
10968 (desktop--restore-in-this-display-p): New function.
10969 (desktop--make-full-frame): Remove unwanted width/height from
10970 full(width|height) frames.
10971 (desktop--restore-frames): Rename from desktop--restore-windows.
10972 Obey desktop-restore-current-display. Do not delete old frames or
10973 select a new frame unless we were able to restore at least one frame.
10974
10975 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
10976
10977 * files.el (find-file-noselect): Simplify conditional expression.
10978
10979 * textmodes/remember.el (remember-append-to-file):
10980 Don't mix `find-buffer-visiting' and `get-file-buffer'.
10981
10982 Add `remember-notes' function to store random notes across Emacs
10983 restarts.
10984 * textmodes/remember.el (remember-data-file): Add :set callback to
10985 affect notes buffer (if any).
10986 (remember-notes): New command.
10987 (remember-notes-buffer-name, bury-remember-notes-on-kill):
10988 New defcustoms for the `remember-notes' function.
10989 (remember-notes-save-and-bury-buffer): New command.
10990 (remember-notes-mode-map): New variable.
10991 (remember-mode): New minor mode.
10992 (remember-notes--kill-buffer-query): New function.
10993 * startup.el (initial-buffer-choice): Add notes to custom type.
10994
10995 2013-06-30 Eli Zaretskii <eliz@gnu.org>
10996
10997 * bindings.el (right-char, left-char): Don't call sit-for, this is
10998 no longer needed. Use arithmetic comparison only for numerical
10999 arguments.
11000
11001 * international/mule-cmds.el (select-safe-coding-system):
11002 Handle the case of FROM being a string correctly. (Bug#14755)
11003
11004 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11005
11006 * net/shr.el (shr-make-table-1): Add a sanity check that allows
11007 progression on degenerate tables.
11008 (shr-rescale-image): ImageMagick animated images currently don't work.
11009
11010 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
11011
11012 Some fixes and improvements for desktop frame restoration.
11013 It is still experimental and disabled by default.
11014 * desktop.el (desktop--save-windows): Put the selected frame at
11015 the head of the list.
11016 (desktop--make-full-frame): New function.
11017 (desktop--restore-windows): Try to re-select the frame that was
11018 selected upon saving. Do not abort if some frames fail to restore,
11019 just show an error message and continue. Set up maximized frames
11020 so they have default non-maximized dimensions.
11021
11022 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
11023
11024 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
11025 Don't start heredoc inside a string or comment.
11026
11027 2013-06-29 Eli Zaretskii <eliz@gnu.org>
11028
11029 * bindings.el (visual-order-cursor-movement): New defcustom.
11030 (right-char, left-char): Provide visual-order cursor motion by
11031 calling move-point-visually. Update the doc strings.
11032
11033 2013-06-28 Kenichi Handa <handa@gnu.org>
11034
11035 * international/mule.el (define-coding-system): New coding system
11036 properties :inhibit-null-byte-detection,
11037 :inhibit-iso-escape-detection, and :prefer-utf-8.
11038 (set-buffer-file-coding-system): If :charset-list property of
11039 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
11040 appropriate for setting.
11041
11042 * international/mule-cmds.el (select-safe-coding-system):
11043 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
11044 multibyte characters, return utf-8 (or one of its siblings).
11045
11046 * international/mule-conf.el (prefer-utf-8): New coding system.
11047 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
11048 files.
11049
11050 2013-06-28 Ivan Kanis <ivan@kanis.fr>
11051
11052 * net/shr.el (shr-render-region): New function.
11053
11054 * net/eww.el: Autoload `eww-browse-url'.
11055
11056 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
11057
11058 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11059 Adapt to `package-desc-version' being a list.
11060 Use `package--ac-desc-version' to retrieve version from a package
11061 archive element.
11062
11063 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
11064
11065 New experimental feature to save&restore window and frame setup.
11066 * desktop.el (desktop-save-windows): New defcustom.
11067 (desktop--saved-states): New var.
11068 (desktop--excluded-frame-parameters): New defconst.
11069 (desktop--filter-frame-parms, desktop--find-frame-in-display)
11070 (desktop--restore-windows, desktop--save-windows): New functions.
11071 (desktop-save): Call `desktop--save-windows'.
11072 (desktop-read): Call `desktop--restore-windows'.
11073
11074 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11075
11076 * net/shr.el (add-face-text-property): Remove compat definition.
11077
11078 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
11079
11080 * info.el (Info-try-follow-nearest-node): Move search for footnote
11081 above search for node name to prevent missing a footnote (bug#14717).
11082
11083 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
11084
11085 * obsolete/otodo-mode.el: Add obsolescence info to file header.
11086
11087 2013-06-27 Leo Liu <sdl.web@gmail.com>
11088
11089 * net/eww.el (eww-read-bookmarks): Check file size.
11090
11091 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11092
11093 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
11094 advice--pending if newdef is nil or an autoload (bug#13820).
11095 (advice-mapc): New function.
11096
11097 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11098
11099 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
11100 probably.
11101 (eww-mode-map): Add a menu bar.
11102 (eww-add-bookmark): New command.
11103 (eww-bookmark-mode): New mode and commands.
11104 (eww-add-bookmark): Remove newlines from the title.
11105 (eww-bookmark-browse): Don't bug out if it's the only window.
11106
11107 2013-06-26 Glenn Morris <rgm@gnu.org>
11108
11109 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
11110 (hfy-size): Handle ttys. (Bug#14668)
11111
11112 * info-xref.el: Update for Texinfo 5 change in *note format.
11113 (info-xref-node-re, info-xref-note-re): New constants.
11114 (info-xref-check-buffer): Use info-xref-note-re.
11115
11116 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11117
11118 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
11119
11120 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
11121 nil terminate the loop (bug#14718).
11122
11123 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11124
11125 * net/eww.el: Rework history traversal. When going forward/back,
11126 put these actions into the history, too, so that they can be
11127 replayed.
11128 (eww-render): Move the history reset to the correct buffer.
11129
11130 2013-06-25 Juri Linkov <juri@jurta.org>
11131
11132 * files-x.el (modify-dir-local-variable): Change the header comment
11133 in the file with directory local variables. (Bug#14692)
11134
11135 * files-x.el (read-file-local-variable-value): Add `default'.
11136 (Bug#14710)
11137
11138 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11139
11140 * net/eww.el (eww-make-unique-file-name): Create a unique file
11141 name before saving to entering `y' accidentally asynchronously.
11142
11143 2013-06-25 Ivan Kanis <ivan@kanis.fr>
11144
11145 * net/eww.el (eww-download): New command and keystroke.
11146
11147 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11148
11149 * net/eww.el (eww-copy-page-url): Change name of command.
11150
11151 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
11152 be more consistent with Info and dired.
11153
11154 * net/eww.el (eww-mode-map): Ditto.
11155
11156 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11157
11158 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
11159 packages from archives.
11160 (package-archive-contents): Change format; include obsolete packages.
11161 (package-desc): Use `dir' to mark builtin packages.
11162 (package--from-builtin): Set the `dir' field to `builtin'.
11163 (generated-autoload-file, version-control): Declare.
11164 (package-compute-transaction): Change first arg and return value to be
11165 lists of package-descs. Adjust to new package-archive-contents format.
11166 (package--add-to-archive-contents): Adjust to new
11167 package-archive-contents format.
11168 (package-download-transaction): Arg is now a list of package-descs.
11169 (package-install): If `pkg' is a package name, pass it as
11170 a requirement, so it is subject to the usual (e.g. disabled) checks.
11171 (describe-package): Accept package-desc as well.
11172 (describe-package-1): Describe a specific package-desc. Add links to
11173 other package-descs for the same package name.
11174 (package-menu-describe-package): Pass the actual package-desc.
11175 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
11176 works correctly.
11177 (package-desc-status): New function.
11178 (package-menu--refresh): New function, extracted
11179 from package-menu--generate.
11180 (package-menu--generate): Use it.
11181 (package-delete): Update package-alist.
11182 (package-menu-execute): Don't call package-initialize.
11183
11184 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
11185 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
11186 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
11187 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
11188 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
11189 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
11190
11191 2013-06-25 Martin Rudalics <rudalics@gmx.at>
11192
11193 * window.el (window--state-get-1): Workaround for bug#14527.
11194 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
11195
11196 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11197
11198 * net/eww.el (eww-back-url): Implement the history by stashing all
11199 the data into a list.
11200 (eww-forward-url): Allow going forward in the history, too.
11201
11202 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11203
11204 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
11205 for values and use read--expression for expressions (bug#14710).
11206 (read-file-local-variable): Avoid setq.
11207 (read-file-local-variable-mode): Use minor-mode-list.
11208
11209 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11210
11211 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
11212 for DOI URLs.
11213
11214 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11215
11216 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
11217 Update imenu-support when dialect changes.
11218
11219 2013-06-25 Leo Liu <sdl.web@gmail.com>
11220
11221 * ido.el (ido-read-internal): Allow forward slash on windows.
11222
11223 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
11224
11225 * net/eww.el (eww): Start of strings is \\`, not ^.
11226
11227 2013-06-24 Ivan Kanis <ivan@kanis.fr>
11228
11229 * net/shr.el (shr-browse-url): Fix interactive spec.
11230
11231 * net/eww.el (eww): Add a trailing slash to domain names.
11232
11233 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
11234
11235 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
11236
11237 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
11238
11239 * net/shr.el (shr-browse-url): Use an external browser if given a
11240 prefix.
11241
11242 * net/eww.el (eww-external-browser): Move to shr.
11243
11244 2013-06-24 Ivan Kanis <ivan@kanis.fr>
11245
11246 * net/eww.el (eww): Work more correctly for file: URLs.
11247 (eww-detect-charset): Allow quoted charsets.
11248 (eww-yank-page-url): New command and keystroke.
11249
11250 2013-06-24 Daiki Ueno <ueno@gnu.org>
11251
11252 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
11253 file name of gpg executable.
11254 (epg-context-program): New function.
11255 (epg-context-home-directory): New function.
11256 (epg-context-set-program): New function.
11257 (epg-context-set-home-directory): New function.
11258 (epg--start): Use `epg-context-program' instead of
11259 'epg-gpg-program'.
11260 (epg--list-keys-1): Likewise.
11261
11262 2013-06-24 Leo Liu <sdl.web@gmail.com>
11263
11264 * ido.el (ido-read-internal): Fix bug#14620.
11265
11266 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
11267
11268 * faces.el (face-documentation): Simplify.
11269 (read-face-attribute, tty-find-type, x-resolve-font-name):
11270 Use `string-match-p'.
11271 (list-faces-display): Use `string-match-p'. Simplify.
11272 (face-spec-recalc): Check face to avoid face alias loops.
11273 (read-color): Use `string-match-p' and non-capturing parenthesis.
11274
11275 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
11276
11277 * net/shr.el (shr-rescale-image): Use the new
11278 :max-width/:max-height functionality.
11279
11280 2013-06-23 Ivan Kanis <ivan@kanis.fr>
11281
11282 * net/eww.el (eww-search-prefix): New variable.
11283 (eww): Use it.
11284 (eww-external-browser): New variable.
11285 (eww-mode-map): New keystroke.
11286 (eww-browse-with-external-browser): New command.
11287
11288 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
11289
11290 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
11291
11292 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
11293 Don't skip aligning the next header field when padding is 0;
11294 otherwise, field width is not respected unless the title is as
11295 wide as the field.
11296
11297 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11298
11299 * emacs-lisp/package.el (package-el-version): Remove.
11300 (package-process-define-package): Fix inf-loop.
11301 (package-install): Allow symbols as arguments again.
11302
11303 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
11304
11305 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
11306 add some more keyword-like methods.
11307 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
11308
11309 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
11310
11311 * bs.el (bs-buffer-show-mark): Make defvar-local.
11312 (bs-mode): Use setq-local.
11313
11314 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
11315 (emacs-lock--try-unlocking): Make defvar-local.
11316
11317 2013-06-22 Glenn Morris <rgm@gnu.org>
11318
11319 * play/cookie1.el (cookie-apropos): Minor simplification.
11320
11321 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
11322
11323 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
11324
11325 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
11326 `regexp-opt', it breaks the build during dumping.
11327
11328 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
11329
11330 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11331 Highlight keyword-like methods on Kernel and Module with
11332 font-lock-builtin-face.
11333 (auto-mode-alist): Consolidate different entries into one regexp
11334 and add more *file-s.
11335
11336 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
11337
11338 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
11339
11340 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
11341 (diary-entry): Use it in the action of this button type instead of
11342 diary-goto-entry.
11343
11344 * calendar/todo-mode.el: New version.
11345 (todo-add-category): Append new category to end of file and give
11346 it the highest number, instead of putting it at the beginning and
11347 giving it 0. Incorporate noninteractive functionality.
11348 (todo-forward-category): Adapt to 1-based category numbering.
11349 Allow skipping over archived categories.
11350 (todo-backward-category): Derive from todo-forward-category.
11351 (todo-backward-item, todo-forward-item): Make noninteractive and
11352 delegate interactive part to new commands. Make sensitive to done items.
11353 (todo-categories): Make value an alist of category names and
11354 vectors of item counts.
11355 (todo-category-beg): Make a defconst.
11356 (todo-category-number): Use 1 instead of 0 as initial value.
11357 (todo-category-select): Make sensitive to overlays, optional item
11358 highlighting and done items.
11359 (todo-delete-item): Make sensitive to overlays and marked and done items.
11360 (todo-edit-item): Make sensitive to overlays and editing of
11361 date/time header optional. Add format checks.
11362 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
11363 no-op if point is not on an item. Advertise using todo-edit-quit.
11364 (todo-edit-mode): Make sensitive to new format, font-locking, and
11365 multiple todo files.
11366 (todo-insert-item, todo-insert-item-here): Derive from
11367 todo-basic-insert-item and extend functionality.
11368 (todo-item-end, todo-item-start): Make sensitive to done items.
11369 (todo-item-string): Don't return text properties. Restore point.
11370 (todo-jump-to-category): Make sensitive to multiple todo files and
11371 todo archives. Use extended category completion.
11372 (todo-lower-item, todo-raise-item): Rename to *-priority and
11373 derive from todo-set-item-priority.
11374 (todo-mode): Derive from special-mode. Make sensitive to new
11375 format, font-locking and multiple todo files. Make read-only.
11376 (todo-mode-map): Don't suppress digit keys, so they can supply
11377 prefix arguments. Add many new key bindings.
11378 (todo-prefix): Insert as an overlay instead of file text.
11379 Change semantics from diary date expression to purely visual mark.
11380 (todo-print): Rename to todo-print-buffer. Make buffer display
11381 features printable. Remove option to restrict number of items
11382 printed. Add option to print to file.
11383 (todo-print-function): Rename to todo-print-buffer-function.
11384 (todo-quit): Extend to handle exiting new todo modes.
11385 (todo-remove-item): Make sensitive to overlays.
11386 (todo-save): Extend to buffers of filtered items.
11387 (todo-show): Make sensitive to done items, multiple todo files and
11388 new todo modes. Offer to convert legacy todo file before creating
11389 first new todo file.
11390 (todo-show-priorities): Rename to todo-top-priorities.
11391 Change semantics of value 0.
11392 (todo-top-priorities): Rename to todo-filter-top-priorities,
11393 derive from todo-filter-items and extend functionality.
11394 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
11395 and extend functionality to other types of filtered items.
11396 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
11397 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
11398 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
11399 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
11400 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
11401 (todo-edit-mode-hook, todo-entry-prefix-function)
11402 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
11403 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
11404 (todo-initials, todo-insert-threshold, todo-item-string-start)
11405 (todo-line-string, todo-menu, todo-mode-hook)
11406 (todo-more-important-p, todo-previous-answer, todo-previous-line)
11407 (todo-print-priorities, todo-remove-separator)
11408 (todo-save-top-priorities-too, todo-string-count-lines)
11409 (todo-string-multiline-p, todo-time-string-format)
11410 (todo-tmp-buffer-name): Remove.
11411 (todo-add-file, todo-archive-done-item, todo-choose-archive)
11412 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
11413 (todo-edit-category-diary-inclusion)
11414 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
11415 (todo-edit-file, todo-edit-item-date-day)
11416 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
11417 (todo-edit-item-date-month, todo-edit-item-date-to-today)
11418 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
11419 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
11420 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
11421 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
11422 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
11423 (todo-filter-top-priorities-multifile, todo-find-archive)
11424 (todo-find-filtered-items-file, todo-go-to-source-item)
11425 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
11426 (todo-jump-to-archive-category, todo-lower-category)
11427 (todo-mark-category, todo-marked-item-p, todo-merge-category)
11428 (todo-move-category, todo-move-item, todo-next-button)
11429 (todo-next-item, todo-padded-string, todo-powerset)
11430 (todo-previous-button, todo-previous-item)
11431 (todo-print-buffer-to-file, todo-raise-category)
11432 (todo-rename-category, todo-repair-categories-sexp, todo-search)
11433 (todo-set-category-number, todo-set-item-priority)
11434 (todo-set-top-priorities-in-category)
11435 (todo-set-top-priorities-in-file, todo-show-categories-table)
11436 (todo-sort-categories-alphabetically-or-numerically)
11437 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
11438 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
11439 (todo-toggle-item-header, todo-toggle-item-highlighting)
11440 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
11441 (todo-toggle-view-done-items, todo-toggle-view-done-only)
11442 (todo-unarchive-items, todo-unmark-category): New commands.
11443 (todo-absolute-file-name, todo-add-to-buffer-list)
11444 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
11445 (todo-basic-insert-item, todo-category-completions)
11446 (todo-category-number, todo-category-string-matcher-1)
11447 (todo-category-string-matcher-2, todo-check-filtered-items-file)
11448 (todo-check-format, todo-clear-matches)
11449 (todo-comment-string-matcher, todo-convert-legacy-date-time)
11450 (todo-current-category, todo-date-string-matcher)
11451 (todo-define-insertion-command, todo-diary-expired-matcher)
11452 (todo-diary-goto-entry, todo-diary-item-p)
11453 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
11454 (todo-display-categories, todo-display-sorted, todo-done-item-p)
11455 (todo-done-item-section-p, todo-done-separator)
11456 (todo-done-string-matcher, todo-files, todo-filter-items)
11457 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
11458 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
11459 (todo-insert-category-line, todo-insert-item-from-calendar)
11460 (todo-insert-sort-button, todo-insert-with-overlays)
11461 (todo-insertion-command-name, todo-insertion-key-bindings)
11462 (todo-label-to-key, todo-longest-category-name-length)
11463 (todo-make-categories-list, todo-mode-external-set)
11464 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
11465 (todo-modes-set-3, todo-multiple-filter-files)
11466 (todo-nondiary-marker-matcher, todo-prefix-overlays)
11467 (todo-read-category, todo-read-date, todo-read-dayname)
11468 (todo-read-file-name, todo-read-time)
11469 (todo-reevaluate-category-completions-files-defcustom)
11470 (todo-reevaluate-default-file-defcustom)
11471 (todo-reevaluate-filelist-defcustoms)
11472 (todo-reevaluate-filter-files-defcustom)
11473 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
11474 (todo-reset-done-separator, todo-reset-done-separator-string)
11475 (todo-reset-done-string, todo-reset-global-current-todo-file)
11476 (todo-reset-highlight-item, todo-reset-nondiary-marker)
11477 (todo-reset-prefix, todo-set-categories)
11478 (todo-set-date-from-calendar, todo-set-show-current-file)
11479 (todo-set-top-priorities, todo-short-file-name)
11480 (todo-show-current-file, todo-sort, todo-time-string-matcher)
11481 (todo-total-item-counts, todo-update-buffer-list)
11482 (todo-update-categories-display, todo-update-categories-sexp)
11483 (todo-update-count, todo-validate-name, todo-y-or-n-p):
11484 New functions.
11485 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
11486 New major modes.
11487 (todo-categories, todo-display, todo-edit, todo-faces)
11488 (todo-filtered): New defgroups.
11489 (todo-archived-only, todo-button, todo-category-string, todo-date)
11490 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
11491 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
11492 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
11493 (todo-add-item-if-new-category, todo-always-add-time-string)
11494 (todo-categories-align, todo-categories-archived-label)
11495 (todo-categories-category-label, todo-categories-diary-label)
11496 (todo-categories-done-label, todo-categories-number-separator)
11497 (todo-categories-todo-label, todo-categories-totals-label)
11498 (todo-category-completions-files, todo-completion-ignore-case)
11499 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
11500 (todo-done-separator-string, todo-done-string)
11501 (todo-files-function, todo-filter-done-items, todo-filter-files)
11502 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
11503 (todo-initial-category, todo-initial-file, todo-item-mark)
11504 (todo-legacy-date-time-regexp, todo-mode-line-function)
11505 (todo-nondiary-marker, todo-number-prefix)
11506 (todo-print-buffer-function, todo-show-current-file)
11507 (todo-show-done-only, todo-show-first, todo-show-with-done)
11508 (todo-skip-archived-categories, todo-top-priorities-overrides)
11509 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
11510 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
11511 New defcustoms.
11512 (todo-category-done, todo-date-pattern, todo-date-string-start)
11513 (todo-diary-items-buffer, todo-done-string-start)
11514 (todo-filtered-items-buffer, todo-item-start)
11515 (todo-month-abbrev-array, todo-month-name-array)
11516 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
11517 (todo-top-priorities-buffer): New defconsts.
11518 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
11519 (todo-categories-with-marks, todo-category-string-face)
11520 (todo-comment-face, todo-comment-string, todo-current-todo-file)
11521 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
11522 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
11523 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
11524 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
11525 (todo-font-lock-keywords, todo-global-current-todo-file)
11526 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
11527 (todo-insertion-commands-args)
11528 (todo-insertion-commands-args-genlist)
11529 (todo-insertion-commands-names, todo-insertion-map)
11530 (todo-key-bindings-t, todo-key-bindings-t+a)
11531 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
11532 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
11533 (todo-nondiary-face, todo-print-buffer, todo-time-face)
11534 (todo-visited): New variables.
11535
11536 2013-06-21 Glenn Morris <rgm@gnu.org>
11537
11538 * play/cookie1.el (cookie-apropos): Add optional display argument.
11539 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
11540 (psychoanalyze-pinhead): Use cookie-doctor.
11541
11542 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
11543
11544 * emacs-lisp/package.el (tar-get-file-descriptor)
11545 (tar--extract): Declare.
11546
11547 2013-06-21 Eduard Wiebe <usenet@pusto.de>
11548
11549 Extend flymake's warning predicate to be a function (bug#14217).
11550 * progmodes/flymake.el (flymake-warning-predicate): New.
11551 (flymake-parse-line): Use it.
11552 (flymake-warning-re): Make obsolete alias to
11553 `flymake-warning-predicate'.
11554
11555 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11556
11557 * emacs-lisp/package.el (package-alist): Include obsolete packages.
11558 (package-obsolete-list): Remove.
11559 (package-activate): Remove min-version argument. Add `force' argument.
11560 Adjust to new package-alist format.
11561 (package-mark-obsolete): Remove.
11562 (package-unpack): Force reload of the package's autoloads.
11563 (package-installed-p): Check builtins if the installed package is not
11564 recent enough.
11565 (package-initialize): Don't reset package-obsolete-list.
11566 Don't specify which package version to activate.
11567 (package-process-define-package, describe-package-1)
11568 (package-menu--generate): Adjust to new package-alist format.
11569
11570 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
11571
11572 * allout-widgets.el (allout-widgets-mode-off)
11573 (allout-widgets-mode-on, allout-widgets-pre-command-business)
11574 (allout-widgets-post-command-business)
11575 (allout-widgets-after-copy-or-kill-function)
11576 (allout-widgets-after-undo-function, allout-test-range-overlaps)
11577 (allout-decorate-item-and-context)
11578 (allout-graphics-modification-handler): Fix typos in docstrings.
11579 (allout-get-or-create-parent-widget): Use `looking-at-p'.
11580
11581 * cmuscheme.el (scheme-start-file): Doc fix.
11582 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
11583 (scheme-input-filter): Use `string-match-p'.
11584
11585 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
11586
11587 * dired-x.el: Use Dired consistently in docstrings.
11588
11589 * dired.el: Use Dired consistently in docstrings.
11590 (dired-readin, dired-mode): Use `setq-local'.
11591 (dired-switches-alist): Make defvar-local.
11592 (dired-buffers-for-dir): Use `zerop'.
11593 (dired-safe-switches-p, dired-switches-escape-p)
11594 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
11595 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
11596 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
11597 (dired-goto-next-nontrivial-file): Use `string-match-p'.
11598 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
11599 (dired-toggle-marks, dired-mark-files-containing-regexp)
11600 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
11601 (dired-flag-auto-save-files, dired-flag-backup-files):
11602 Use `looking-at-p'.
11603 (dired-mark-files-regexp, dired-build-subdir-alist):
11604 Use `string-match-p', `looking-at-p'.
11605
11606 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
11607 (direct-print-region-helper): Use `string-match-p'.
11608
11609 2013-06-21 Leo Liu <sdl.web@gmail.com>
11610
11611 * comint.el (comint-redirect-results-list-from-process):
11612 Fix infinite loop.
11613
11614 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11615
11616 * net/eww.el (eww-update-header-line-format): Quote % characters.
11617
11618 2013-06-21 Glenn Morris <rgm@gnu.org>
11619
11620 * play/cookie1.el (cookie): New custom group.
11621 (cookie-file): New option.
11622 (cookie-check-file): New function.
11623 (cookie): Make it interactive. Make start and end messages optional.
11624 Interactively, display the result. Default to cookie-file.
11625 (cookie-insert): Default to cookie-file.
11626 (cookie-snarf): Make start and end messages optional.
11627 Default to cookie-file. Use with-temp-buffer.
11628 (cookie-read): Rename from read-cookie.
11629 Make start and end messages optional. Default to cookie-file.
11630 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
11631 Do not autoload it.
11632 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
11633 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
11634
11635 2013-06-21 Leo Liu <sdl.web@gmail.com>
11636
11637 * progmodes/octave.el (octave-mode): Backward compatibility fix.
11638
11639 2013-06-21 Glenn Morris <rgm@gnu.org>
11640
11641 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
11642
11643 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11644 Daniel Hackney <dan@haxney.org>
11645
11646 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
11647 Consolidate the single-file vs tarball code.
11648 (package-desc-suffix): New function.
11649 (package-desc-full-name): Don't bother inlining it.
11650 (package-load-descriptor): Return the new package-desc.
11651 (package-mark-obsolete): Remove unused arg `package'.
11652 (package-unpack): Make it work for single files as well.
11653 Make it update package-alist.
11654 (package--make-autoloads-and-stuff): Rename from
11655 package--make-autoloads-and-compile. Don't compile any more.
11656 (package--compile): New function.
11657 (package-generate-description-file): New function, extracted from
11658 package-unpack-single.
11659 (package-unpack-single): Remove.
11660 (package--with-work-buffer): Add indentation and debugging info.
11661 (package-download-single): Remove.
11662 (package-install-from-archive): Rename from package-download-tar, make
11663 it take a pkg-desc, and make it work for single files as well.
11664 (package-download-transaction): Simplify.
11665 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
11666 external tar program.
11667 (package-install-from-buffer): Remove `pkg-desc' argument.
11668 Use package-tar-file-info for tar-mode buffers.
11669 (package-install-file): Simplify accordingly.
11670 (package-archive-base): Change to take a pkg-desc.
11671 * tar-mode.el (tar--check-descriptor): New function, extracted from
11672 tar-get-descriptor.
11673 (tar-get-descriptor): Use it.
11674 (tar-get-file-descriptor): New function.
11675 (tar--extract): New function, extracted from tar-extract.
11676 (tar--extract): Use it.
11677 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
11678 case the summary uses non-ascii. Adjust to new calling convention of
11679 package-tar-file-info.
11680
11681 2013-06-21 Leo Liu <sdl.web@gmail.com>
11682
11683 * comint.el (comint-redirect-results-list-from-process):
11684 Fix random delay. (Bug#14681)
11685
11686 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
11687
11688 * profiler.el (profiler-format-number): Use log, not log10.
11689
11690 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
11691
11692 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
11693
11694 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
11695
11696 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
11697 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
11698 yet available.
11699 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
11700 (AUTOGENEL): ... here.
11701 * emacs-lisp/cl-macs.el (cl--sublis): New function.
11702 (cl--defsubst-expand): Use it.
11703
11704 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
11705
11706 * subr.el (log10): Move here from C code, and declare as obsolete.
11707 All uses of (log10 X) replaced with (log X 10).
11708
11709 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
11710
11711 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
11712 Declare with `defvar-local'.
11713 (tabulated-list-use-header-line, tabulated-list-entries)
11714 (tabulated-list-padding, tabulated-list-printer)
11715 (tabulated-list-sort-key): Declare with `defvar-local'.
11716 (tabulated-list-init-header, tabulated-list-print-fake-header):
11717 Use `setq-local'.
11718
11719 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
11720
11721 * arc-mode.el (archive-mode): Add `archive-write-file' to
11722 `write-contents-functions' also for remote files. (Bug#14652)
11723
11724 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
11725
11726 * cus-edit.el (custom-commands): Fix typos.
11727 (custom-display): Fix tooltip text.
11728 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
11729 Fix typos in docstrings.
11730 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
11731 (custom-unlispify-menu-entry, custom-magic-value-create)
11732 (custom-add-see-also, custom-group-value-create): Use ?\s.
11733 (custom-guess-type, customize-apropos, editable-field)
11734 (custom-face-value-create): Use `string-match-p'.
11735 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
11736
11737 * custom.el (custom-load-symbol): Use `string-match-p'.
11738
11739 * ansi-color.el: Convert to lexical binding.
11740 (ansi-colors): Fix URL.
11741 (ansi-color-context, ansi-color-context-region): Use defvar-local.
11742 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
11743 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
11744
11745 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11746
11747 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
11748
11749 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
11750
11751 2013-06-19 Tom Tromey <tromey@redhat.com>
11752
11753 * net/eww.el (eww-top-url): Remove.
11754 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
11755 (eww-render): Set new variables. Don't set eww-top-url.
11756 (eww-handle-link): Handle "prev", "home", and "contents".
11757 Downcase the rel text.
11758 (eww-top-url): Choose best top URL.
11759
11760 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11761
11762 * net/eww.el: Rewrite to implement form elements "by hand" instead of
11763 relying in widget.el. Using widget.el leads to too many
11764 user interface inconsistencies.
11765 (eww-self-insert): Implement entering commands in text fields.
11766 (eww-process-text-input): New function to make text input field editing
11767 work.
11768 (eww-submit): Rewrite to use the new-style form methods.
11769 (eww-select-display): Display the correct selected item.
11770 (eww-change-select): Implement changing the select value.
11771 (eww-toggle-checkbox): Implement radio/checkboxes.
11772 (eww-update-field): Fix compilation error.
11773 (eww-tag-textarea): Implement <textarea>.
11774
11775 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
11776 we don't shadow mode-specific bindings.
11777
11778 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
11779 nothing to push.
11780
11781 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
11782
11783 2013-06-19 Glenn Morris <rgm@gnu.org>
11784
11785 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
11786
11787 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
11788
11789 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
11790 not needed.
11791
11792 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
11793
11794 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11795
11796 * net/browse-url.el (browse-url-browser-function):
11797 `eww-browse-url' has the right calling signature, `eww' does not.
11798
11799 2013-06-19 Glenn Morris <rgm@gnu.org>
11800
11801 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
11802 Only eval autoloaded macros.
11803 (byte-compile-autoload): Only give the macro warning for macros.
11804
11805 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
11806 (ps-underlined-faces): Declare.
11807
11808 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
11809 (speedbar-add-supported-extension): Declare.
11810
11811 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
11812 Don't include a date stamp in the header of the generated file;
11813 it leads to needless differences between output files.
11814
11815 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
11816
11817 * net/secrets.el (secrets-struct-secret-content-type):
11818 Replace check of introspection data by a test call of "CreateItem".
11819 Some servers do not offer introspection.
11820
11821 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
11822
11823 * electric.el (electric-pair-mode): Improve interaction with
11824 electric-layout-mode.
11825 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
11826 (electric-pair-syntax): Use text-mode-syntax-table in comments
11827 and strings.
11828 (electric-pair--insert): New function.
11829 (electric-pair-post-self-insert-function): Use it and
11830 electric--after-char-pos.
11831
11832 2013-06-19 Leo Liu <sdl.web@gmail.com>
11833
11834 * progmodes/octave.el (octave-help): Fix regexp.
11835
11836 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
11837
11838 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
11839 (shr-table-horizontal-line): Allow nil as a value, and change the
11840 default.
11841 (shr-insert-table-ruler): Respect the nil value.
11842
11843 2013-06-18 Tom Tromey <tromey@barimba>
11844
11845 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
11846 New defvars.
11847 (eww-open-file): New defun.
11848 (eww-render): Initialize new variables.
11849 (eww-display-html): Handle "link" and "a".
11850 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
11851 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
11852 (eww-back-url): Rename from eww-previous-url.
11853 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
11854 New defuns.
11855
11856 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
11857
11858 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
11859 Distinguish ternary operator tokens from slash symbol and slash
11860 char literal.
11861
11862 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
11863
11864 Convert symbol prettification into minor mode and global minor mode.
11865
11866 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
11867 `prog-prettify-symbols', and make a local defvar instead of defcustom.
11868 (prettify-symbols--keywords): Rename from
11869 `prog-prettify-symbols-alist' and make a local defvar.
11870 (prettify-symbols--compose-symbol): Rename from
11871 `prog--prettify-font-lock-compose-symbol'.
11872 (prettify-symbols--make-keywords): Rename from
11873 `prog-prettify-font-lock-symbols-keywords' and simplify.
11874 (prog-prettify-install): Remove.
11875 (prettify-symbols-mode): New minor mode, based on
11876 `prog-prettify-install'.
11877 (turn-on-prettify-symbols-mode): New function.
11878 (global-prettify-symbols-mode): New globalized minor mode.
11879
11880 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
11881 * progmodes/cfengine.el (cfengine3-mode):
11882 * progmodes/perl-mode.el (perl-mode): Don't call
11883 `prog-prettify-install'; set `prettify-symbols-alist' instead.
11884
11885 2013-06-18 Juri Linkov <juri@jurta.org>
11886
11887 * files-x.el (modify-file-local-variable-message): New function.
11888 (modify-file-local-variable)
11889 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
11890 and call `modify-file-local-variable-message' when it's non-nil.
11891 (add-file-local-variable, delete-file-local-variable)
11892 (add-file-local-variable-prop-line)
11893 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
11894 and use it. (Bug#9820)
11895
11896 2013-06-18 Juri Linkov <juri@jurta.org>
11897
11898 * emulation/vi.el (vi-shell-op):
11899 * emulation/vip.el (vip-execute-com, ex-command):
11900 * emulation/viper-cmd.el (viper-exec-bang):
11901 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
11902 the call of `shell-command-on-region'. (Bug#14637)
11903
11904 * simple.el (shell-command-on-region): Doc fix.
11905
11906 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
11907
11908 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
11909 (bug#14633).
11910
11911 2013-06-18 Glenn Morris <rgm@gnu.org>
11912
11913 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
11914
11915 * newcomment.el (comment-search-forward, comment-search-backward):
11916 Doc fix. (Bug#14376)
11917
11918 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
11919
11920 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
11921 (buffer-face-mode-invoke): Doc fix.
11922
11923 2013-06-18 Matthias Meulien <orontee@gmail.com>
11924
11925 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
11926 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
11927
11928 2013-06-18 Glenn Morris <rgm@gnu.org>
11929
11930 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
11931 Replace obsolete function generic-make-keywords with its expansion.
11932
11933 * progmodes/python.el (ffap-alist): Declare.
11934
11935 * textmodes/reftex.el (bibtex-mode-map): Declare.
11936
11937 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
11938
11939 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
11940 (package-unpack, package-unpack-single): Return the pkg-dir.
11941 (package-download-transaction): Use it to update package-alist.
11942
11943 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11944
11945 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
11946 possible choice.
11947
11948 2013-06-17 Juri Linkov <juri@jurta.org>
11949
11950 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
11951
11952 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
11953
11954 * emacs-lisp/package.el (package-load-descriptor):
11955 Remove `with-syntax-table' call, `read' doesn't need it.
11956 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
11957
11958 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
11959
11960 * startup.el (command-line): Expand package name returned by
11961 `package--description-file' (bug#14639).
11962
11963 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
11964
11965 * emacs-lisp/package.el (package-load-descriptor): Do not call
11966 `emacs-lisp-mode', just use its syntax table.
11967
11968 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
11969
11970 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
11971 `font-lock-extra-managed-props' if any prettifying keyword is added.
11972 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
11973 (prog-mode): Use `setq-local'.
11974
11975 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
11976
11977 * international/characters.el (standard-case-table): Set syntax of ?»
11978 and ?« to punctuation.
11979
11980 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
11981
11982 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
11983 Save relevant match data before calling `syntax-ppss' (bug#14595).
11984
11985 2013-06-15 Juri Linkov <juri@jurta.org>
11986
11987 * files-x.el (modify-file-local-variable-prop-line): Add local
11988 variables to the end of the existing comment on the first line.
11989 Use `file-auto-mode-skip' to skip interpreter magic line,
11990 and also skip XML declaration.
11991
11992 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11993
11994 * startup.el (package--builtin-versions): New var.
11995 (package-subdirectory-regexp): Remove.
11996 (package--description-file): Hard code its value instead.
11997
11998 * emacs-lisp/package.el: Don't activate packages older than builtin.
11999 (package-obsolete-list): Rename from package-obsolete-alist, and make
12000 it into a simple list of package-desc.
12001 (package-strip-version): Remove.
12002 (package-built-in-p): Use package--builtin-versions.
12003 (package-mark-obsolete): Simplify.
12004 (package-process-define-package): Mark it obsolete if older than the
12005 builtin version.
12006 (package-handle-response): Use line-end-position.
12007 (package-read-archive-contents, package--download-one-archive):
12008 Simplify.
12009 (package--add-to-archive-contents): Skip if older than the builtin or
12010 installed version.
12011 (package-menu-describe-package): Fix last change.
12012 (package-list-unversioned): New var.
12013 (package-menu--generate): Use it.
12014
12015 * emacs-lisp/autoload.el: Manage package--builtin-versions.
12016 (autoload--insert-text, autoload--insert-cookie-text): New functions.
12017 (autoload-builtin-package-versions): New variable.
12018 (autoload-generate-file-autoloads): Use them.
12019 Remove the list of autoloaded functions/macros from the
12020 (autoload...) comments.
12021
12022 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
12023
12024 2013-06-15 Eli Zaretskii <eliz@gnu.org>
12025
12026 * simple.el (line-move-partial): Don't jump to the next screen
12027 line as soon as it becomes visible. Instead, continue enlarging
12028 the vscroll until the portion of a tall screen line that's left on
12029 display is about the height of the frame's default font.
12030 (Bug#14567)
12031
12032 2013-06-15 Glenn Morris <rgm@gnu.org>
12033
12034 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
12035 compilation-error-regexp-alist void, or local while let-bound.
12036
12037 * progmodes/make-mode.el (makefile-mode-syntax-table):
12038 Treat "=" as punctuation. (Bug#14614)
12039
12040 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
12041
12042 * help-fns.el (describe-variable):
12043 Add extra line for permanent-local variables.
12044
12045 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
12046
12047 * progmodes/scheme.el (scheme-font-lock-keywords-2):
12048 Add export, import, library. (Bug#9164)
12049 (library): Set indent function.
12050
12051 2013-06-14 Glenn Morris <rgm@gnu.org>
12052
12053 * term/xterm.el (xterm--query):
12054 Stop after first matching handler. (Bug#14615)
12055
12056 2013-06-14 Ivan Kanis <ivan@kanis.fr>
12057
12058 Add support for dired in saveplace.
12059 * dired.el (dired-initial-position-hook): New variable.
12060 (dired-initial-position): Call hook to place cursor position.
12061 * saveplace.el (save-place-to-alist): Add dired position.
12062 (save-place-dired-hook): New function.
12063
12064 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
12065
12066 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
12067 through a symbol rather than letrec.
12068
12069 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
12070 (package-desc): Add `dir' field.
12071 (package-desc-full-name): New function.
12072 (package-load-descriptor): Combine the two arguments. Don't use `load'.
12073 (package-maybe-load-descriptor): Remove.
12074 (package-load-all-descriptors): Just call package-load-descriptor.
12075 (package--disabled-p): New function.
12076 (package-desc-vers, package-desc-doc): Remove aliases.
12077 (package--dir): Remove function.
12078 (package-activate): Check if a package is disabled.
12079 (package-process-define-package): New function, extracted from
12080 define-package.
12081 (define-package): Turn into a place holder.
12082 (package-unpack-single, package-tar-file-info):
12083 Use package--description-file.
12084 (package-compute-transaction): Use package--disabled-p.
12085 (package-download-transaction): Don't call
12086 package-maybe-load-descriptor since they're all loaded anyway.
12087 (package-install): Change argument to be a pkg-desc.
12088 (package-delete): Use a single pkg-desc argument.
12089 (describe-package-1): Use package-desc-dir instead of package--dir.
12090 Use package-desc property instead of package-symbol.
12091 (package-install-button-action): Adjust accordingly.
12092 (package--push): Rewrite.
12093 (package-menu--print-info): Adjust accordingly. Change the ID format
12094 to be a pkg-desc.
12095 (package-menu-describe-package, package-menu-get-status)
12096 (package-menu--find-upgrades, package-menu-mark-upgrades)
12097 (package-menu-execute, package-menu--name-predicate):
12098 Adjust accordingly.
12099 * startup.el (package--description-file): New function.
12100 (command-line): Use it.
12101 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12102 Use package-desc-version.
12103
12104 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
12105 (byte-compile-preprocess): Use it.
12106 (byte-compile-file-form-defalias): Try a bit harder to use macros we
12107 can't quite recognize.
12108 (byte-compile-add-to-list): Remove.
12109 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
12110 (cconv-closure-convert): Add assertion.
12111
12112 * emacs-lisp/map-ynp.el: Use lexical-binding.
12113 (map-y-or-n-p): Remove unused vars `tail' and `object'.
12114 Factor out some repeated code.
12115
12116 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12117
12118 * subr.el (with-eval-after-load): New macro.
12119 (eval-after-load): Allow form to be a function.
12120 take advantage of lexical-binding.
12121 (do-after-load-evaluation): Use dolist and adjust to new format.
12122 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
12123
12124 2013-06-13 Juri Linkov <juri@jurta.org>
12125
12126 * replace.el (perform-replace): Display "symbol " and other search
12127 modes from `isearch-message-prefix' in the *Help* buffer.
12128
12129 * isearch.el (isearch-query-replace): Add " symbol" and other
12130 possible search modes from `isearch-message-prefix' to the prompt.
12131 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
12132 when reading a regexp to collect.
12133
12134 2013-06-13 Juri Linkov <juri@jurta.org>
12135
12136 * isearch.el (word-search-regexp): Match whitespace if the search
12137 string begins or ends in whitespace. The LAX arg is applied to
12138 both ends of the search string. Use `regexp-quote' and explicit
12139 \< and \> instead of \b. Use \` and \' instead of ^ and $.
12140 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
12141 boundaries are replaced with symbol boundaries, and characters
12142 between symbols match non-word non-symbol syntax. (Bug#14602)
12143
12144 2013-06-13 Juri Linkov <juri@jurta.org>
12145
12146 * isearch.el (isearch-del-char): Don't exceed the length of
12147 `isearch-string' by the prefix arg. (Bug#14563)
12148
12149 2013-06-13 Juri Linkov <juri@jurta.org>
12150
12151 * isearch.el (isearch-yank-word, isearch-yank-line)
12152 (isearch-char-by-name, isearch-quote-char)
12153 (isearch-printing-char, isearch-process-search-char):
12154 Add optional count prefix arg. (Bug#14563)
12155
12156 * international/isearch-x.el
12157 (isearch-process-search-multibyte-characters):
12158 Add optional count prefix arg.
12159
12160 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12161
12162 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
12163 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
12164 lexical-binding.
12165
12166 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
12167
12168 * subr.el (set-temporary-overlay-map): Add on-exit argument.
12169
12170 2013-06-13 Glenn Morris <rgm@gnu.org>
12171
12172 * startup.el (tty-handle-args):
12173 Don't just discard "--" and anything after. (Bug#14608)
12174
12175 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
12176
12177 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
12178
12179 Implement changes in Secret Service API. Make it backward compatible.
12180 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
12181 (secrets-create-item): Use it. Prefix properties with interface.
12182
12183 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
12184
12185 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
12186 (term-emulate-terminal): Respect term-suppress-hard-newline.
12187
12188 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
12189
12190 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
12191 Only remove a `thumb-file' overlay. (Bug#14548)
12192
12193 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
12194
12195 * mail/reporter.el (reporter-submit-bug-report):
12196 Handle missing package-name. (Bug#14600)
12197
12198 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12199
12200 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
12201 (reftex-citation-prompt, reftex-default-bibliography)
12202 (reftex-bib-or-thebib, reftex-get-bibfile-list)
12203 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
12204 (reftex-bib-sort-author, reftex-bib-sort-year)
12205 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
12206 (reftex-extract-bib-entries-from-thebibliography)
12207 (reftex-get-bibkey-default, reftex-get-bib-names)
12208 (reftex-parse-bibtex-entry, reftex-get-bib-field)
12209 (reftex-format-bib-entry, reftex-parse-bibitem)
12210 (reftex-format-bibitem, reftex-do-citation)
12211 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
12212 (reftex-restrict-bib-matches, reftex-extract-bib-file)
12213 (reftex-insert-bib-matches, reftex-format-citation)
12214 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
12215 (reftex-create-bibtex-file): Add docstrings, mostly by converting
12216 existing comments into docstrings.
12217
12218 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
12219
12220 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
12221
12222 2013-06-12 Andreas Schwab <schwab@suse.de>
12223
12224 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
12225 for auto-save files.
12226
12227 2013-06-12 Glenn Morris <rgm@gnu.org>
12228
12229 * ido.el (ido-delete-ignored-files): Remove.
12230 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
12231 Go back to calling ido-ignore-item-p directly.
12232
12233 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
12234
12235 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
12236
12237 * ido.el (ido-delete-ignored-files): New function,
12238 split from ido-make-file-list-1.
12239 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
12240 (ido-make-file-list-1): Use ido-delete-ignored-files.
12241
12242 2013-06-12 Leo Liu <sdl.web@gmail.com>
12243
12244 * progmodes/octave.el (inferior-octave-startup)
12245 (inferior-octave-completion-table)
12246 (inferior-octave-track-window-width-change)
12247 (octave-eldoc-function-signatures, octave-help)
12248 (octave-find-definition): Use single quoted strings.
12249 (inferior-octave-startup-args): Change default value.
12250 (inferior-octave-startup): Do not hard code "-i" and
12251 "--no-line-editing".
12252 (inferior-octave-resync-dirs): Add optional arg NOERROR.
12253 (inferior-octave-directory-tracker): Use it.
12254 (octave-goto-function-definition): Robustify.
12255 (octave-help): Support highlighting operators in 'See also'.
12256 (octave-find-definition): Find subfunctions only in Octave mode.
12257
12258 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12259
12260 * help-fns.el (help-fns--compiler-macro): If the handler function is
12261 named, then put a link to it.
12262 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
12263 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
12264 (cl-typep): Use it.
12265 (cl-eval-when): Simplify debug spec.
12266 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
12267 compiler-macro function instead of setting `compiler-macro-file'.
12268
12269 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
12270
12271 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
12272 * vc/vc-hooks.el (vc-stay-local): Doc fix.
12273
12274 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12275 Daniel Hackney <dan@haxney.org>
12276
12277 First part of Daniel Hackney's patch to package.el.
12278 * emacs-lisp/package.el: Use defstruct.
12279 (package-desc): New, main struct.
12280 (package--bi-desc, package--ac-desc): New structs, used to describe the
12281 format in external files.
12282 (package-desc-vers): Replace with package-desc-version accessor.
12283 (package-desc-doc): Replace with package-desc-summary accessor.
12284 (package-activate-1): Remove `package' arg since the pkg-vec now
12285 includes the name.
12286 (define-package): Use package-desc-from-define.
12287 (package-unpack-single): Change file-name arg to be a symbol.
12288 (package--add-to-archive-contents): Use package-desc-create and new
12289 accessor functions to package--ac-desc.
12290 (package-buffer-info, package-tar-file-info): Return a package-desc.
12291 (package-install-from-buffer): Remove `type' argument. Change pkg-info
12292 arg to be a package-desc.
12293 (package-install-file): Adjust accordingly. Use \' to match EOS.
12294 (package--from-builtin): New function.
12295 (describe-package-1, package-menu--generate): Use it.
12296 (package--make-autoloads-and-compile): Change name arg to be a symbol.
12297 (package-generate-autoloads): Idem and return the name of the file.
12298 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12299 Change pkg-info arg to be a package-desc.
12300 Use package-make-ac-desc.
12301 (package-upload-file): Use \' to match EOS.
12302 * finder.el (finder-compile-keywords): Use package-make-builtin.
12303
12304 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12305
12306 * vc/vc.el (vc-deduce-fileset): Change error message.
12307 (vc-read-backend): New function.
12308 (vc-next-action): Use it.
12309
12310 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
12311
12312 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
12313 (prolog-font-lock-keywords): Use regexp-opt instead.
12314 Don't manually highlight strings.
12315 (prolog-mode-variables): Simplify comment-start-skip.
12316 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
12317
12318 * emacs-lisp/generic.el (generic--normalise-comments)
12319 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
12320 (generic-mode-set-comments): Use them.
12321 (generic-bracket-support): Use setq-local.
12322 (generic-make-keywords-list): Declare obsolete.
12323
12324 2013-06-11 Glenn Morris <rgm@gnu.org>
12325
12326 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12327 Prettify after setting font-lock-defaults. (Bug#14574)
12328
12329 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
12330
12331 * replace.el (query-replace, occur-read-regexp-defaults-function)
12332 (replace-search):
12333 * subr.el (declare-function, number-sequence, local-set-key)
12334 (substitute-key-definition, locate-user-emacs-file)
12335 (with-silent-modifications, split-string, eval-after-load):
12336 Fix typos, remove unneeded backslashes and reflow some docstrings.
12337
12338 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12339
12340 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
12341 default for Elisp files.
12342
12343 2013-06-11 Glenn Morris <rgm@gnu.org>
12344
12345 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
12346 although define-derived-mode was doing this anyway. (Bug#14583)
12347
12348 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
12349
12350 * allout.el (allout-encryption-plaintext-sanitization-regexps):
12351 Fix make-variable-buffer-local call to refer to the correct variable.
12352
12353 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
12354
12355 * eshell/em-term.el (eshell-visual-commands)
12356 (eshell-visual-subcommands, eshell-visual-options):
12357 Add summary line to docstrings. Add cross-references.
12358
12359 2013-06-10 Glenn Morris <rgm@gnu.org>
12360
12361 * epa.el (epa-read-file-name): New function. (Bug#14510)
12362 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
12363
12364 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
12365
12366 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
12367 output redirection to be ignored with visual commands.
12368
12369 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
12370
12371 * eshell/em-term.el (eshell-visual-command-p): New function.
12372 (eshell-term-initialize): Move long lambda to separate function
12373 eshell-visual-command-p.
12374 * eshell/em-dirs.el (eshell-dirs-initialize):
12375 * eshell/em-script.el (eshell-script-initialize):
12376 Add missing #' to lambda.
12377
12378 2013-06-08 Leo Liu <sdl.web@gmail.com>
12379
12380 * progmodes/octave.el (octave-add-log-current-defun): New function.
12381 (octave-mode): Set add-log-current-defun-function.
12382 (octave-goto-function-definition): Do not move point if not found.
12383 (octave-find-definition): Enhance to try subfunctions first.
12384
12385 2013-06-08 Glenn Morris <rgm@gnu.org>
12386
12387 * emacs-lisp/bytecomp.el (byte-compile-char-before)
12388 (byte-compile-backward-char, byte-compile-backward-word):
12389 Improve previous change, to handle non-explicit nil.
12390
12391 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12392
12393 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
12394 (smie--opener/closer-at-point): New function.
12395 (smie--matching-block-data): Use it. Don't match from right after an
12396 opener or right before a closer. Obey smie-blink-matching-inners.
12397 Don't signal a mismatch for repeated inners like "switch..case..case".
12398
12399 2013-06-07 Leo Liu <sdl.web@gmail.com>
12400
12401 * progmodes/octave.el (octave-mode): Set comment-use-global-state
12402 to t. (Bug#14303)
12403 (octave-function-header-regexp): Fix. (Bug#14570)
12404 (octave-help-mode-finish-hook, octave-help-mode-finish):
12405 Remove. Just use temp-buffer-show-hook.
12406
12407 * newcomment.el (comment-search-backward): Revert last change.
12408 (Bug#14434)
12409
12410 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
12411
12412 2013-06-07 Eli Zaretskii <eliz@gnu.org>
12413
12414 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
12415 through xargs, to avoid failure due to MS-Windows limitations on
12416 command-line length.
12417
12418 2013-06-06 Glenn Morris <rgm@gnu.org>
12419
12420 * font-lock.el (lisp-font-lock-keywords-2):
12421 Treat user-error like error.
12422
12423 * emacs-lisp/bytecomp.el (byte-compile-char-before)
12424 (byte-compile-backward-char, byte-compile-backward-word):
12425 Handle explicit nil arguments. (Bug#14565)
12426
12427 2013-06-05 Alan Mackenzie <acm@muc.de>
12428
12429 * isearch.el (isearch-allow-prefix): New user option.
12430 (isearch-other-meta-char): Don't exit isearch when a prefix
12431 argument is typed whilst `isearch-allow-prefix' is non-nil.
12432 (Bug#9706)
12433
12434 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12435
12436 * autorevert.el (auto-revert-notify-handler): Use memq.
12437 Hide assertion failure.
12438
12439 * skeleton.el: Use cl-lib.
12440 (skeleton-further-elements): Use defvar-local.
12441 (skeleton-insert): Use cl-progv.
12442
12443 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
12444
12445 * progmodes/prog-mode.el (prog-prettify-symbols)
12446 (prog-prettify-install): Update docstrings.
12447
12448 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12449
12450 * simple.el: Move all the prog-mode code to prog-mode.el.
12451 * progmodes/prog-mode.el: New file.
12452 * loadup.el: Add prog-mode.el.
12453
12454 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
12455
12456 * simple.el (prog-prettify-symbols): Add version.
12457 (prog-prettify-install): Add convenience function to prettify symbols.
12458
12459 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
12460 (perl--augmented-font-lock-keywords-1)
12461 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
12462 variables and use it.
12463
12464 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
12465 (cfengine3-mode): Remove unneeded variable and use it.
12466
12467 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
12468 (lisp--augmented-font-lock-keywords-1)
12469 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
12470 Remove unneeded variables and use it.
12471
12472 2013-06-05 João Távora <joaotavora@gmail.com>
12473
12474 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
12475 to point when opening the connection. (Bug#14380)
12476
12477 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12478
12479 * subr.el (load-history-regexp, load-history-filename-element)
12480 (eval-after-load, after-load-functions, do-after-load-evaluation)
12481 (eval-next-after-load, display-delayed-warnings)
12482 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
12483 definition of save-match-data.
12484 (overriding-local-map): Remove accidental obsolescence declaration.
12485
12486 * emacs-lisp/edebug.el (edebug-result): Move before first use.
12487
12488 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
12489
12490 Generalize symbol prettify support to prog-mode and implement it
12491 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
12492 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
12493 (prog--prettify-font-lock-compose-symbol)
12494 (prog-prettify-font-lock-symbols-keywords): New variables and
12495 functions to support symbol prettification.
12496 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
12497 (lisp--augmented-font-lock-keywords-1)
12498 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
12499 (lisp--prettify-symbols-alist): Implement prettify of lambda.
12500 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
12501 (cfengine3--prettify-symbols-alist, cfengine3-mode):
12502 Implement prettify of -> => :: strings.
12503 * progmodes/perl-mode.el (perl-prettify-symbols)
12504 (perl--font-lock-compose-symbol)
12505 (perl--font-lock-symbols-keywords): Move to prog-mode.
12506 (perl--prettify-symbols-alist): Prettify -> => :: strings.
12507 (perl-font-lock-keywords-1)
12508 (perl-font-lock-keywords-2): Remove explicit prettify support.
12509 (perl--augmented-font-lock-keywords)
12510 (perl--augmented-font-lock-keywords-1)
12511 (perl--augmented-font-lock-keywords-2, perl-mode):
12512 Implement prettify support.
12513
12514 2013-06-05 Leo Liu <sdl.web@gmail.com>
12515
12516 Re-implement SMIE matching block highlight using
12517 show-paren-data-function. (Bug#14395)
12518 * emacs-lisp/smie.el (smie-matching-block-highlight)
12519 (smie--highlight-matching-block-overlay)
12520 (smie--highlight-matching-block-lastpos)
12521 (smie-highlight-matching-block)
12522 (smie-highlight-matching-block-mode): Remove.
12523 (smie--matching-block-data-cache): New variable.
12524 (smie--matching-block-data): New function.
12525 (smie-setup): Use smie--matching-block-data for
12526 show-paren-data-function.
12527
12528 * progmodes/octave.el (octave-mode-menu): Fix.
12529 (octave-find-definition): Skip garbage lines.
12530
12531 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12532
12533 Fix compilation error with simultaneous dynamic+lexical scoping.
12534 Add warning when a defvar appears after the first let-binding.
12535 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
12536 (byte-compile-close-variables): Initialize it.
12537 (byte-compile--declare-var): New function.
12538 (byte-compile-file-form-defvar)
12539 (byte-compile-file-form-define-abbrev-table)
12540 (byte-compile-file-form-custom-declare-variable): Use it.
12541 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
12542 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
12543 (byte-compile-bind): Handle dynamic bindings that shadow
12544 lexical bindings.
12545 (byte-compile-unbind): Make arg non-optional.
12546 (byte-compile-let): Simplify.
12547 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
12548 (cconv--analyse-function, cconv-analyse-form): Populate it.
12549 Protect byte-compile-bound-variables to limit the scope of defvars.
12550 (cconv-analyse-form): Add missing rule for (defvar <foo>).
12551 Remove unneeded rule for `declare'.
12552
12553 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
12554 so as to avoid depending on cl-adjoin at run-time.
12555 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
12556
12557 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
12558 (macroexp--warn-and-return): Use it.
12559
12560 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12561
12562 * subr.el: Convert to lexical binding.
12563 (overriding-local-map): Make obsolete.
12564 (add-to-list): Doc fix. Add compiler macro.
12565 (read-key): Swap values of local maps.
12566
12567 2013-06-05 Leo Liu <sdl.web@gmail.com>
12568
12569 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
12570
12571 2013-06-04 Leo Liu <sdl.web@gmail.com>
12572
12573 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
12574 (compilation-auto-jump): Suppress the "Mark set" message to give
12575 way to exit message.
12576
12577 2013-06-04 Alan Mackenzie <acm@muc.de>
12578
12579 Remove faulty optimisation from indentation calculation.
12580 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
12581 search limit based on 2000 characters back from indent-point.
12582
12583 2013-06-03 Tassilo Horn <tsdh@gnu.org>
12584
12585 * eshell/em-term.el (cl-lib): Require `cl-lib'.
12586
12587 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
12588
12589 * emacs-lisp/lisp.el: Use lexical-binding.
12590 (lisp--local-variables-1, lisp--local-variables): New functions.
12591 (lisp--local-variables-completion-table): New var.
12592 (lisp-completion-at-point): Use it complete let-bound vars.
12593
12594 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
12595 eagerly (bug#14422).
12596
12597 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
12598
12599 * autorevert.el (auto-revert-notify-enabled)
12600 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
12601 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
12602 (auto-revert-notify-handler): Handle also gfilenotify.
12603
12604 * subr.el (file-notify-handle-event): New defun. Replacing ...
12605 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
12606 Remove.
12607
12608 2013-06-03 Juri Linkov <juri@jurta.org>
12609
12610 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
12611 `M-s h .'. (Bug#14427)
12612
12613 * hi-lock.el (highlight-symbol-at-point): New alias for the new
12614 command `hi-lock-face-symbol-at-point'.
12615 (hi-lock-face-symbol-at-point): New command.
12616 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
12617 (hi-lock-menu): Add `highlight-symbol-at-point'.
12618 (hi-lock-mode): Doc fix.
12619
12620 * isearch.el (isearch-forward-symbol-at-point): New command.
12621 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
12622 (isearch-highlight-regexp): Add a regexp which matches
12623 words/symbols for word/symbol mode.
12624
12625 * subr.el (find-tag-default-bounds): New function with the body
12626 mostly moved from `find-tag-default'.
12627 (find-tag-default): Move most code to `find-tag-default-bounds',
12628 call it and apply `buffer-substring-no-properties' afterwards.
12629
12630 2013-06-03 Tassilo Horn <tsdh@gnu.org>
12631
12632 * eshell/em-term.el (eshell-term-initialize):
12633 Use `cl-intersection' rather than `intersection'.
12634
12635 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
12636
12637 * vc/log-view.el: Doc fix.
12638 (log-view-mode-map): Copy keymap from `special-mode-map'.
12639
12640 2013-06-02 Eric Ludlam <zappo@gnu.org>
12641
12642 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
12643 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
12644 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
12645 (eieio-unbound, eieio-default-superclass)
12646 (eieio--define-field-accessors, method-static, method-before)
12647 (method-primary, method-after, method-num-lists)
12648 (method-generic-before, method-generic-primary)
12649 (method-generic-after, method-num-slots)
12650 (eieio-specialized-key-to-generic-key)
12651 (eieio--check-type, class-v, class-p)
12652 (eieio-class-name, define-obsolete-function-alias)
12653 (eieio-class-parents-fast, eieio-class-children-fast)
12654 (same-class-fast-p, class-constructor, generic-p)
12655 (generic-primary-only-p, generic-primary-only-one-p)
12656 (class-option-assoc, class-option, eieio-object-p)
12657 (class-abstract-p, class-method-invocation-order)
12658 (eieio-defclass-autoload-map, eieio-defclass-autoload)
12659 (eieio-class-un-autoload, eieio-defclass)
12660 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
12661 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
12662 (eieio--defgeneric-init-form, eieio-defgeneric-form)
12663 (eieio-defgeneric-reset-generic-form)
12664 (eieio-defgeneric-form-primary-only)
12665 (eieio-defgeneric-reset-generic-form-primary-only)
12666 (eieio-defgeneric-form-primary-only-one)
12667 (eieio-defgeneric-reset-generic-form-primary-only-one)
12668 (eieio-unbind-method-implementations)
12669 (eieio--defmethod, eieio--typep)
12670 (eieio-perform-slot-validation, eieio-validate-slot-value)
12671 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
12672 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
12673 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
12674 (eieio-slot-name-index, eieio-class-slot-name-index)
12675 (eieio-set-defaults, eieio-initarg-to-attribute)
12676 (eieio-attribute-to-initarg, eieio-c3-candidate)
12677 (eieio-c3-merge-lists, eieio-class-precedence-c3)
12678 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
12679 (eieio-class-precedence-list, eieio-generic-call-methodname)
12680 (eieio-generic-call-arglst, eieio-generic-call-key)
12681 (eieio-generic-call-next-method-list)
12682 (eieio-pre-method-execution-functions, eieio-generic-call)
12683 (eieio-generic-call-primary-only, eieiomt-method-list)
12684 (eieiomt-optimizing-obarray, eieiomt-install)
12685 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
12686 (eieio-generic-form, eieio-defmethod, make-obsolete)
12687 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
12688 (defclass): Remove `eval-and-compile' from macro.
12689 (call-next-method, shared-initialize): Instead of using
12690 `scoped-class' variable, use new eieio--scoped-class, and
12691 eieio--with-scoped-class.
12692 (initialize-instance): Rename local variable 'scoped-class' to
12693 'this-class' to remove ambiguitity from old global.
12694
12695 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
12696 eieio.el.
12697 (eieio--scoped-class-stack): New variable.
12698 (eieio--scoped-class): New fcn.
12699 (eieio--with-scoped-class): New scoping macro.
12700 (eieio-defclass): Use pushnew instead of add-to-list.
12701 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
12702 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
12703 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
12704 `scoped-class' variable, use new eieio--scoped-class, and
12705 eieio--with-scoped-class.
12706
12707 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
12708
12709 2013-06-02 Tassilo Horn <tsdh@gnu.org>
12710
12711 * eshell/esh-ext.el (eshell-external-command): Pass args to
12712 `eshell-find-interpreter'.
12713 (eshell-find-interpreter): Add new second parameter ARGS.
12714
12715 * eshell/em-script.el (eshell-script-initialize): Add second arg
12716 to the function added as MATCH to `eshell-interpreter-alist'.
12717
12718 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
12719 the function added as MATCH to `eshell-interpreter-alist'.
12720
12721 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
12722 (eshell-visual-options): New defcustom.
12723 (eshell-escape-control-x): Adapt docstring.
12724 (eshell-term-initialize): Test `eshell-visual-subcommands' and
12725 `eshell-visual-options' in addition to `eshell-visual-commands'.
12726 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
12727
12728 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
12729
12730 * progmodes/python.el (python-indent-block-enders): Add break,
12731 continue and raise keywords.
12732
12733 2013-06-01 Glenn Morris <rgm@gnu.org>
12734
12735 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
12736
12737 Plain (f)boundp silences compilation warnings since Emacs 22.1.
12738 * progmodes/cc-cmds.el (delete-forward-p):
12739 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
12740 * progmodes/cc-engine.el (buffer-syntactic-context):
12741 * progmodes/cc-fonts.el (face-property-instance):
12742 * progmodes/cc-mode.el (set-keymap-parents):
12743 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
12744 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
12745 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
12746 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
12747 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
12748
12749 * progmodes/cc-vars.el (other): Emacs has this widget since
12750 at least 21.1, so don't (re)define it.
12751
12752 * eshell/em-cmpl.el (eshell-cmpl-initialize):
12753 Replace the obsolete alias pcomplete-arg-quote-list.
12754
12755 2013-06-01 Leo Liu <sdl.web@gmail.com>
12756
12757 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
12758 punctuation syntax.
12759 (inferior-octave-minimal-columns)
12760 (inferior-octave-last-column-width): New variables.
12761 (inferior-octave-track-window-width-change): New function.
12762 (inferior-octave-mode): Adjust column width so that Octave output,
12763 for example from 'ls', can fit into the window nicely.
12764
12765 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
12766
12767 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
12768 Highlight expansions inside regexp literals.
12769
12770 2013-05-31 Glenn Morris <rgm@gnu.org>
12771
12772 * obsolete/sym-comp.el (symbol-complete):
12773 Replace obsolete completion-annotate-function.
12774
12775 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
12776
12777 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
12778
12779 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
12780 New function, checks if point is inside a literal that allows
12781 expression expansion.
12782 (ruby-syntax-propertize-expansion): Use it.
12783 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
12784 around the body.
12785
12786 2013-05-30 Juri Linkov <juri@jurta.org>
12787
12788 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
12789 to "\M-si".
12790 (isearch-invisible): New variable.
12791 (isearch-forward): Doc fix.
12792 (isearch-mode): Set `isearch-invisible'
12793 to the value of `search-invisible'.
12794 (isearch-toggle-case-fold): Doc fix.
12795 (isearch-toggle-invisible): New command.
12796 (isearch-query-replace): Let-bind `search-invisible'
12797 to the value of `isearch-invisible'.
12798 (isearch-search): Use `isearch-invisible' instead of
12799 `search-invisible'. Let-bind `search-invisible'
12800 to the value of `isearch-invisible'. (Bug#11378)
12801
12802 2013-05-30 Juri Linkov <juri@jurta.org>
12803
12804 * replace.el (perform-replace): Avoid `isearch-range-invisible'
12805 call when `query-flag' is nil and `search-invisible' is non-nil.
12806 (Bug#11746)
12807
12808 2013-05-30 Glenn Morris <rgm@gnu.org>
12809
12810 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
12811
12812 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
12813 (cc-require): Suppress spurious "noruntime" warnings.
12814 (cc-require-when-compile): Use fboundp, for sake of compiler.
12815
12816 * progmodes/cc-mode.el: Move load of cc-vars before that of
12817 cc-langs (which in turn loads cc-vars), to quieten compiler.
12818
12819 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12820
12821 * paren.el: Simplify the code.
12822 (show-paren-mode): Always start the timer.
12823 (show-paren--idle-timer): Rename from show-paren-idle-timer.
12824 (show-paren--overlay, show-paren--overlay-1): Rename from
12825 show-paren-overlay and show-paren-overlay-1, and initialize to an
12826 overlay rather than to nil.
12827 (show-paren-function): Misc cleanup and simplifications.
12828
12829 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12830
12831 * paren.el (show-paren-data-function): New hook.
12832 (show-paren--default): New function, extracted from show-paren-function.
12833 (show-paren-function): Use show-paren-data-function.
12834
12835 2013-05-30 Glenn Morris <rgm@gnu.org>
12836
12837 * ielm.el (ielm-map, ielm-complete-symbol):
12838 Use completion-at-point rather than obsolete functions.
12839 (inferior-emacs-lisp-mode): Doc fix.
12840 Set completion-at-point-functions, rather than
12841 comint-dynamic-complete-functions.
12842
12843 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
12844 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
12845 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
12846
12847 * image.el (image-animated-p): Tweak definition.
12848
12849 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
12850 (rlogin-process-connection-type): Tweak default. Add set-after.
12851 (rlogin-host): Doc fix.
12852 (rlogin): Tweak prompt.
12853 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
12854
12855 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
12856 * progmodes/tcl.el (inferior-tcl-mode-map):
12857 Use completion-at-point rather than obsolete alias.
12858
12859 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
12860
12861 * minibuffer.el (read-file-name-completion-ignore-case):
12862 Move before completion--in-region, for eager macro expansion.
12863
12864 2013-05-29 Juri Linkov <juri@jurta.org>
12865
12866 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
12867 for total count of matching lines. Add `global-matches' for total
12868 count of matches. Rename `matches' to `lines' for count of
12869 matching lines. Add `matches' for count of matches.
12870 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
12871 to `prev-line' for line number of prev match endpt.
12872 Increment `matches' for every match. Print the number of
12873 matching lines in the header.
12874 (occur-context-lines): Rename `lines' to `curr-line'.
12875 Rename `prev-lines' to `prev-line'. (Bug#14017)
12876
12877 2013-05-29 Juri Linkov <juri@jurta.org>
12878
12879 * replace.el (perform-replace): Add `skip-read-only-count',
12880 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
12881 Increment them for corresponding conditions and report the number
12882 of skipped occurrences in the final message. (Bug#11746)
12883 (query-replace, query-replace-regexp, query-replace-regexp-eval)
12884 (replace-string, replace-regexp): Doc fix.
12885
12886 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
12887
12888 * emacs-lisp/trace.el (trace--read-args): Provide a default.
12889
12890 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
12891 prog-mode-map (bug#14504).
12892
12893 2013-05-29 Leo Liu <sdl.web@gmail.com>
12894
12895 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
12896 (octave-help): Small simplification.
12897
12898 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
12899 off the highlight first.
12900
12901 2013-05-29 Glenn Morris <rgm@gnu.org>
12902
12903 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
12904 Handle idlwave-last-system-routine-info-cons-cell being nil.
12905
12906 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
12907 (idlwave-write-paths): Simplify via with-temp-buffer.
12908
12909 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
12910 * emulation/cua-rect.el: Also load cua-base at run time.
12911
12912 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
12913 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
12914 (cperl-imenu-on-info): Require imenu.
12915
12916 2013-05-28 Alan Mackenzie <acm@muc.de>
12917
12918 Handle "capitalised keywords" correctly.
12919 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
12920
12921 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
12922
12923 * eshell/em-unix.el: Add -r option to cp.
12924
12925 2013-05-28 Glenn Morris <rgm@gnu.org>
12926
12927 * vc/vc-arch.el (vc-exec-after): Declare.
12928 (vc-switches): Autoload.
12929 * vc/vc-bzr.el: No need to require vc when compiling.
12930 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
12931 (vc-resynch-buffer, vc-dir-refresh): Declare.
12932 (vc-setup-buffer, vc-switches): Autoload.
12933 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
12934 (vc-resynch-buffer): Declare.
12935 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
12936 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
12937 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
12938 (grep-read-regexp, grep-read-files, grep-expand-template)
12939 (vc-dir-refresh): Declare.
12940 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
12941 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
12942 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
12943 * vc/vc-mtn.el (vc-exec-after): Declare.
12944 (vc-switches): Autoload.
12945 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
12946 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
12947 (vc-file-tree-walk): Declare.
12948 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
12949 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
12950 (vc-tag-precondition, vc-rename-master): Autoload.
12951 * vc/vc-svn.el (vc-exec-after): Declare.
12952 (vc-switches, vc-setup-buffer): Autoload.
12953 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
12954 Autoload.
12955 (vc-resynch-buffer): Declare.
12956
12957 * obsolete/fast-lock.el (byte-compile-warnings):
12958 Don't warn about obsolete features in this obsolete file.
12959
12960 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
12961 Move definition before use.
12962
12963 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
12964 (dun-unix-verbs): Remove dun-zippy.
12965 (dun-zippy): Remove function.
12966
12967 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
12968
12969 2013-05-27 Juri Linkov <juri@jurta.org>
12970
12971 * replace.el (replace-search): New function with code moved out
12972 from `perform-replace'.
12973 (replace-highlight, replace-dehighlight): Move function definitions
12974 up closer to `replace-search'. (Bug#11746)
12975
12976 2013-05-27 Juri Linkov <juri@jurta.org>
12977
12978 * replace.el (perform-replace): Ignore invisible matches.
12979 In addition to checking `query-replace-skip-read-only', also
12980 filter out matches by calling `run-hook-with-args-until-failure'
12981 on `isearch-filter-predicates', and also check `search-invisible'
12982 for t or call `isearch-range-invisible'.
12983 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
12984
12985 2013-05-27 Juri Linkov <juri@jurta.org>
12986
12987 * isearch.el (isearch-filter-predicates): Rename from
12988 `isearch-filter-predicate'. Doc fix. (Bug#11378)
12989 (isearch-message-prefix): Display text from the property
12990 `isearch-message-prefix' of the currently active filters.
12991 (isearch-search): Don't compare `isearch-filter-predicate' with
12992 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
12993 on `isearch-filter-predicates'. Also check `search-invisible' for t
12994 or call `isearch-range-invisible'.
12995 (isearch-filter-visible): Make obsolete.
12996 (isearch-lazy-highlight-search):
12997 Call `run-hook-with-args-until-failure' on
12998 `isearch-filter-predicates' and use `isearch-range-invisible'.
12999
13000 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
13001 `isearch-filter-predicates' instead of `funcall'ing
13002 `isearch-filter-predicate'.
13003 (Info-mode): Set `Info-isearch-filter' to
13004 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
13005
13006 * dired-aux.el (dired-isearch-filter-predicate-orig):
13007 Remove variable.
13008 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
13009 (dired-isearch-filenames-end): Add and remove
13010 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
13011 instead of changing the value of `isearch-filter-predicate'.
13012 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
13013 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
13014 Put property `isearch-message-prefix' to "filename " on
13015 `dired-isearch-filter-filenames'.
13016
13017 * wdired.el (wdired-change-to-wdired-mode):
13018 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
13019 locally instead of changing `isearch-filter-predicate'.
13020 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
13021
13022 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
13023
13024 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
13025 return the commit hash (Bug#14459). Also set the
13026 `vc-git-detached' property.
13027 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
13028 (vc-git-mode-line-string): Use the same help-echo format whether
13029 in detached mode or not, because we know the actual revision now.
13030 When in detached mode, shorten the revision to 7 chars.
13031
13032 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13033
13034 * emacs-lisp/easy-mmode.el (define-minor-mode):
13035 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
13036 mode hook and provide a docstring.
13037
13038 2013-05-27 Alan Mackenzie <acm@muc.de>
13039
13040 Remove spurious syntax-table text properties inserted by C-y.
13041 * progmodes/cc-mode.el (c-after-change): Also clear hard
13042 syntax-table property with value nil.
13043
13044 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
13045
13046 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
13047 when reading the events; the buffer layout shall not be changed.
13048
13049 2013-05-27 Leo Liu <sdl.web@gmail.com>
13050
13051 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
13052 New variable.
13053 (inferior-octave-directory-tracker): Automatically re-sync
13054 default-directory.
13055 (octave-help): Improve handling of 'See also'.
13056
13057 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13058
13059 * doc-view.el: Minor naming convention tweaks.
13060 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
13061
13062 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
13063 even if there's no `display' property yet (bug#14435).
13064
13065 2013-05-25 Eli Zaretskii <eliz@gnu.org>
13066
13067 * subr.el (unmsys--file-name): Rename from reveal-filename.
13068
13069 * Makefile.in (custom-deps, finder-data, autoloads)
13070 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
13071 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
13072 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
13073
13074 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13075
13076 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
13077 error-completion on the first 2 args of condition-case (bug#14446).
13078 Don't burp at EOB.
13079
13080 2013-05-25 Leo Liu <sdl.web@gmail.com>
13081
13082 * comint.el (comint-previous-matching-input): Do not flood the
13083 *Messages* buffer with trivial messages.
13084
13085 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13086
13087 * progmodes/flymake.el (flymake-nop): Don't return a string.
13088 (flymake-set-at): Fix typo.
13089
13090 * simple.el (read--expression): New function, extracted from
13091 eval-expression. Set completion-at-point-functions (bug#14465).
13092 (eval-expression, eval-minibuffer): Use it.
13093
13094 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
13095
13096 * progmodes/flymake.el (flymake-save-buffer-in-file)
13097 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
13098 (flymake-selected-frame, flymake-log, flymake-ins-after)
13099 (flymake-set-at, flymake-get-buildfile-from-cache)
13100 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
13101 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
13102 Refine the doc string.
13103 (flymake-get-file-name-mode-and-masks): Reformat.
13104 (flymake-get-real-file-name-function): Fix a minor bug.
13105
13106 2013-05-24 Juri Linkov <juri@jurta.org>
13107
13108 * progmodes/grep.el (grep-mode-font-lock-keywords):
13109 Support =linenumber= format used by git-grep for lines with
13110 function names. (Bug#13549)
13111
13112 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13113
13114 * progmodes/octave.el (octave-smie-rules): Return nil rather than
13115 0 after a semi-colon; it works better for smie-auto-fill.
13116 (octave--indent-new-comment-line): New function.
13117 (octave-indent-new-comment-line): Use it (indirectly).
13118 (octave-mode): Don't disable smie-auto-fill. Use add-function to
13119 modify comment-line-break-function.
13120
13121 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
13122 (smie-setup): Use add-function to set it.
13123
13124 2013-05-24 Sam Steingold <sds@gnu.org>
13125
13126 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
13127 argument (before the `interactive' argument).
13128
13129 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13130
13131 * image-mode.el (image-mode-winprops): Add winprops to
13132 image-mode-winprops-alist before running
13133 image-mode-new-window-functions.
13134 * doc-view.el (doc-view-new-window-function): Don't delay
13135 doc-view-goto-page via timers (bug#14435).
13136
13137 2013-05-24 Tassilo Horn <tsdh@gnu.org>
13138
13139 * doc-view.el: Integrate with desktop.el. (Bug#14435)
13140 (doc-view-desktop-save-buffer): New function.
13141 (doc-view-restore-desktop-buffer): New function.
13142 (desktop-buffer-mode-handlers):
13143 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
13144 handler.
13145 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
13146 `desktop-save-buffer' function.
13147
13148 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
13149
13150 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
13151 (tramp-gvfs-file-name-handler): Raise a user error when
13152 `tramp-gvfs-enabled' is nil.
13153 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
13154 Do not raise a user error when loading package. (Bug#14447)
13155
13156 * net/xesam.el: Move to obsolete/.
13157
13158 2013-05-24 Glenn Morris <rgm@gnu.org>
13159
13160 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
13161
13162 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
13163
13164 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
13165 (Info-find-node, Man-getpage-in-background): Declare.
13166
13167 * mail/unrmail.el (unrmail):
13168 Replace obsolete detect-coding-with-priority.
13169
13170 * net/socks.el (socks-split-string): Use this rather than split-string.
13171 (socks-nslookup-host): Update for above change.
13172 (dynamic-choice, s5-dynamic-choice-match)
13173 (s5-dynamic-choice-match-inline, s5-widget-value-create):
13174 Comment out unused code.
13175
13176 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
13177 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
13178 (gud-tooltip-echo-area): Make obsolete.
13179 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
13180
13181 * progmodes/js.el (js--optimize-arglist): Declare.
13182
13183 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
13184
13185 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
13186 (ediff-window-C): Declare.
13187
13188 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
13189 Tweak requires to silence compiler.
13190
13191 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
13192 (he-search-string, he-tried-table, he-expand-list)
13193 (he-init-string, he-string-member, he-substitute-string)
13194 (he-reset-string): Declare.
13195
13196 * obsolete/options.el (list-options): Use custom-variable-p,
13197 rather than obsolete alias.
13198
13199 2013-05-23 Sam Steingold <sds@gnu.org>
13200
13201 * simple.el (shell-command-on-region): Pass the `replace' argument
13202 down to `call-process-region' to comply with the doc as reported on
13203 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
13204
13205 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13206
13207 * emacs-lisp/smie.el (smie-indent-forward-token)
13208 (smie-indent-backward-token): Handle string tokens (bug#14381).
13209
13210 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13211
13212 * ielm.el (ielm-menu): New menu.
13213 (inferior-emacs-lisp-mode): Set comment-start.
13214
13215 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13216
13217 * textmodes/reftex.el (reftex-ref-style-toggle):
13218 Fix deactivate action.
13219
13220 * textmodes/reftex-vars.el (reftex-ref-style-alist):
13221 Add cleveref macros.
13222
13223 * textmodes/reftex-parse.el
13224 (reftex-locate-bibliography-files): Accept options for
13225 bibliography commands.
13226 * textmodes/reftex-vars.el (reftex-bibliography-commands):
13227 Add addbibresource. Basic Biblatex support.
13228
13229 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
13230
13231 * net/tramp-gvfs.el (top):
13232 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
13233 when loading package. (Bug#14447)
13234
13235 2013-05-23 Glenn Morris <rgm@gnu.org>
13236
13237 * progmodes/js.el: No need to load comint when compiling.
13238 (ring-insert, comint-send-string, comint-send-input)
13239 (comint-last-input-end, ido-chop): Declare.
13240
13241 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
13242 * vc/ediff-mult.el: Adjust requires.
13243 (ediff-directories-internal, ediff-directory-revisions-internal)
13244 (ediff-patch-file-internal): Declare.
13245 * vc/ediff-ptch.el: Adjust requires.
13246 (ediff-use-last-dir, ediff-buffers-internal): Declare.
13247 (ediff-find-file): Autoload.
13248 * vc/ediff-util.el: No need to load ediff when compiling.
13249 (ediff-regions-internal): Declare.
13250 * vc/ediff-wind.el: Adjust requires.
13251 (ediff-compute-toolbar-width): Define when compiling.
13252 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
13253 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
13254 (dired-get-filename, dired-get-marked-files)
13255 (ediff-last-dir-patch, ediff-patch-default-directory)
13256 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
13257 (ediff-patch-buffer-internal): Declare.
13258
13259 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
13260 (ispell-process, ispell-buffer-local-words, lm-summary)
13261 (lm-section-start, lm-section-end): Declare.
13262 (checkdoc-ispell-init): Simplify.
13263
13264 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
13265 (he-string-member, he-reset-string, he-substitute-string): Declare.
13266
13267 * eshell/em-ls.el: Adjust requires.
13268 (eshell-glob-regexp): Declare.
13269 * eshell/em-tramp.el: Adjust requires.
13270 (eshell-parse-command): Autoload.
13271 * eshell/em-xtra.el: Adjust requires.
13272 (eshell-parse-command): Autoload.
13273 * eshell/esh-ext.el: Adjust requires.
13274 (eshell-parse-command, eshell-close-handles): Autoload.
13275 * eshell/esh-io.el: Adjust requires.
13276 (eshell-output-filter): Autoload.
13277 * eshell/esh-util.el: No need to load tramp when compiling.
13278 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
13279 Declare.
13280 (eshell-parse-ange-ls): Require ange-ftp and tramp.
13281 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
13282 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
13283 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
13284 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
13285 * eshell/esh-opt.el, eshell/esh-proc.el:
13286 * eshell/esh-var.el: Adjust requires.
13287 * eshell/eshell.el: Do not require esh-util twice.
13288 (eshell-add-input-to-history): Declare.
13289 (eshell-command): Check history module is active before using it.
13290
13291 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
13292
13293 2013-05-22 Leo Liu <sdl.web@gmail.com>
13294
13295 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
13296
13297 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
13298
13299 * autorevert.el (auto-revert-notify-add-watch)
13300 (auto-revert-notify-handler): Add `attrib' for the inotify case,
13301 it indicates changes in file modification time.
13302
13303 2013-05-22 Glenn Morris <rgm@gnu.org>
13304
13305 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
13306 Always delete the autoloaded function from the noruntime and
13307 unresolved functions lists.
13308
13309 * allout.el: No need to load epa, epg, overlay when compiling.
13310 (epg-context-set-passphrase-callback, epg-list-keys)
13311 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
13312 (epg-key-user-id-list): Declare.
13313
13314 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
13315 (viper-set-parsing-style-toggling-macro)
13316 (viper-set-emacs-state-searchstyle-macros):
13317 Use called-interactively-p on Emacs.
13318 (viper-looking-back): Make it an obsolete alias. Update callers.
13319 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
13320 Use looking-back rather than viper-looking-back.
13321 (viper-tmp-insert-at-eob, viper-enlarge-region)
13322 (viper-read-string-with-history, viper-register-to-point)
13323 (viper-append-to-register, viper-change-state-to-vi)
13324 (viper-backward-char-carefully, viper-forward-char-carefully)
13325 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
13326 (viper-change-state-to-emacs): Declare.
13327 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
13328 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
13329 * emulation/viper-mous.el: Do not load viper-cmd.
13330 (viper-backward-char-carefully, viper-forward-char-carefully)
13331 (viper-forward-word, viper-adjust-window): Declare.
13332
13333 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
13334
13335 * progmodes/idlw-help.el (idlwave-help-fontify):
13336 Use called-interactively-p.
13337
13338 * term/w32console.el (w32-get-console-codepage)
13339 (w32-get-console-output-codepage): Declare.
13340
13341 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
13342 Remove unnecessary declarations.
13343 (dframe-message): Doc fix.
13344
13345 * info.el (dframe-select-attached-frame, dframe-current-frame):
13346 Declare.
13347
13348 * speedbar.el (speedbar-message): Make it an obsolete alias.
13349 Update all callers.
13350 (speedbar-with-attached-buffer)
13351 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
13352 (speedbar-with-writable): Use backquote.
13353 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
13354 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
13355 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
13356 rather than speedbar- aliases.
13357 * mail/rmail.el: Load dframe rather than speedbar when compiling.
13358 (speedbar-make-specialized-keymap, speedbar-insert-button)
13359 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
13360 (speedbar-do-function-pointer): Declare.
13361 (rmail-speedbar-button, rmail-speedbar-find-file)
13362 (rmail-speedbar-move-message):
13363 Use dframe-with-attached-buffer rather than speedbar- alias.
13364 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
13365 (dframe-message, speedbar-make-specialized-keymap)
13366 (speedbar-add-expansion-list, speedbar-mode-functions-list)
13367 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
13368 (speedbar-insert-button, dframe-select-attached-frame)
13369 (dframe-maybee-jump-to-attached-frame)
13370 (speedbar-change-initial-expansion-list)
13371 (speedbar-previously-used-expansion-list-name): Declare.
13372 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
13373 Use dframe-message, dframe-with-attached-buffer rather than
13374 speedbar- aliases.
13375 (gud-sentinel): Silence compiler.
13376 * progmodes/vhdl-mode.el (speedbar-refresh)
13377 (speedbar-do-function-pointer, speedbar-add-supported-extension)
13378 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
13379 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
13380 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
13381 (speedbar-file-lists, speedbar-make-tag-line)
13382 (speedbar-line-directory, speedbar-goto-this-file)
13383 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
13384 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
13385 (speedbar-make-button, speedbar-reset-scanners)
13386 (speedbar-files-item-info, speedbar-line-text)
13387 (speedbar-find-file-in-frame, speedbar-set-timer)
13388 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
13389 (speedbar-with-writable): Do not (re)define it.
13390 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
13391 rather than speedbar- alias.
13392
13393 2013-05-21 Leo Liu <sdl.web@gmail.com>
13394
13395 * progmodes/octave.el (octave-mode-menu): Update and re-organize
13396 menu items.
13397 (octave-mode): Tweak fill-nobreak-predicate.
13398 (inferior-octave-startup): Check process to avoid infinite loop.
13399 (inferior-octave): Pop to buffer first to show abornmal process
13400 exit information.
13401
13402 2013-05-21 Glenn Morris <rgm@gnu.org>
13403
13404 * printing.el (pr-menu-bar): Define when compiling.
13405
13406 2013-05-21 Leo Liu <sdl.web@gmail.com>
13407
13408 * progmodes/octave.el (octave-auto-fill): Remove.
13409 (octave-indent-new-comment-line): Improve.
13410 (octave-mode): Use auto fill mode through
13411 comment-line-break-function and fill-nobreak-predicate.
13412 (octave-goto-function-definition): Support DEFUN_DLD.
13413 (octave-beginning-of-defun): Small tweak.
13414 (octave-help): Show parent directory.
13415
13416 2013-05-21 Glenn Morris <rgm@gnu.org>
13417
13418 * files.el (dired-unmark):
13419 * progmodes/gud.el (gdb-input): Update declarations.
13420
13421 * calculator.el (electric, ehelp): No need to load when compiling.
13422 (Electric-command-loop, electric-describe-mode): Declare.
13423
13424 * doc-view.el (doc-view-current-converter-processes): Move before use.
13425
13426 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13427 Move MODE-set-explicitly definition before use.
13428
13429 * international/mule-diag.el (mule-diag):
13430 Don't use obsolete window-system-version.
13431
13432 * mail/feedmail.el (smtpmail): No need to load when compiling.
13433 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
13434
13435 * mail/mail-utils.el (rfc822): No need to load when compiling.
13436 (rfc822-addresses): Autoload it.
13437 (mail-strip-quoted-names): Trivial simplification.
13438
13439 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
13440 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
13441
13442 * net/snmp-mode.el (tempo): Don't duplicate requires.
13443
13444 * progmodes/prolog.el (info): No need to load when compiling.
13445 (comint): Require before shell requires it.
13446 (Info-goto-node): Autoload it.
13447 (Info-follow-nearest-node): Declare.
13448 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
13449
13450 * textmodes/artist.el (picture-mode-exit): Declare.
13451
13452 * textmodes/reftex-parse.el (reftex-parse-from-file):
13453 Trivial rewrite so the compiler can parse it better.
13454
13455 2013-05-20 Leo Liu <sdl.web@gmail.com>
13456
13457 * progmodes/octave.el (octave-help-mode-map)
13458 (octave-help-mode-finish-hook): New variables.
13459 (octave-help-mode, octave-help-mode-finish): New functions.
13460 (octave-help): Use octave-help-mode.
13461
13462 2013-05-20 Glenn Morris <rgm@gnu.org>
13463
13464 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
13465
13466 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
13467
13468 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
13469 start at point, so that expansion starting right after opening
13470 slash in a regexp is recognized.
13471 (ruby-syntax-before-regexp-re): New defvar, extracted from
13472 ruby-syntax-propertize-function. Since the value of this regexp
13473 is looked up at runtime now, we should be able to turn
13474 `ruby-syntax-methods-before-regexp' into a defcustom later.
13475 (ruby-syntax-propertize-function): Split regexp matching into two
13476 parts, for opening and closing slashes. That allows us to skip
13477 over string interpolations and support multiline regexps.
13478 Don't call `ruby-syntax-propertize-expansions', instead use another rule
13479 for them, which calls `ruby-syntax-propertize-expansion'.
13480 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
13481 call to `ruby-syntax-propertize-function'.
13482 (ruby-syntax-propertize-expansion): Extracted from
13483 `ruby-syntax-propertize-expansions'. Handles one expansion.
13484 (ruby-syntax-propertize-percent-literal): Leave point right after
13485 the percent symbol, so that the expression expansion rule can
13486 propertize the contents.
13487 (ruby-syntax-propertize-heredoc): Leave point at bol following the
13488 heredoc openers.
13489 (ruby-syntax-propertize-expansions): Remove.
13490
13491 2013-05-18 Juri Linkov <juri@jurta.org>
13492
13493 * man.el (Man-default-man-entry): Remove `-' from the end
13494 of the default value. (Bug#14400)
13495
13496 2013-05-18 Glenn Morris <rgm@gnu.org>
13497
13498 * comint.el (comint-password-prompt-regexp):
13499 Allow "password for XXX" where XXX contains colons (eg https://...).
13500
13501 2013-05-18 Leo Liu <sdl.web@gmail.com>
13502
13503 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
13504 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
13505 (octave-source-directories): Don't check process.
13506 (octave-source-directories, octave-find-definition): Doc fix.
13507
13508 2013-05-18 Glenn Morris <rgm@gnu.org>
13509
13510 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
13511 Remove backspace/delete bindings. (Bug#14392)
13512
13513 * cus-dep.el (custom-make-dependencies): Sort the output.
13514 (custom-versions-load-alist): Convert comment to doc.
13515
13516 2013-05-17 Leo Liu <sdl.web@gmail.com>
13517
13518 * newcomment.el (comment-search-backward): Stricter in finding
13519 comment start. (Bug#14303)
13520
13521 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
13522 (octave-comment-start-skip): Properly anchored.
13523
13524 2013-05-17 Leo Liu <sdl.web@gmail.com>
13525
13526 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
13527 Clean up when turned off. (Bug#14395)
13528 (smie--highlight-matching-block-overlay): No longer buffer-local.
13529 (smie-highlight-matching-block): Adjust.
13530
13531 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
13532
13533 Doc string fix for "nanoseconds" (Bug#14406).
13534 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
13535 Fix doc string typo that had "nanoseconds" instead of "microseconds".
13536
13537 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
13538
13539 * calc/calc-units.el (math-extract-units): Preserve powers
13540 of units.
13541
13542 2013-05-17 Leo Liu <sdl.web@gmail.com>
13543
13544 * subr.el (delete-consecutive-dups): New function.
13545 * ido.el (ido-set-matches-1): Use it.
13546 * progmodes/octave.el (inferior-octave-completion-table): Use it.
13547 * ido.el (ido-remove-consecutive-dups): Remove.
13548
13549 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13550
13551 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
13552 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
13553 regexp-opt's `words'.
13554
13555 2013-05-16 Leo Liu <sdl.web@gmail.com>
13556
13557 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
13558 (smie--highlight-matching-block-overlay)
13559 (smie--highlight-matching-block-lastpos)
13560 (smie--highlight-matching-block-timer): New variables.
13561 (smie-highlight-matching-block): New function.
13562 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
13563 (smie-setup): Conditionally enable smie-blink-matching-open.
13564
13565 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
13566
13567 Sync with upstream verilog-mode r840.
13568 * progmodes/verilog-mode.el (verilog-mode-version)
13569 (verilog-mode-release-date): Update.
13570 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
13571 (verilog-sig-tieoff): Fix string error on
13572 AUTORESET with colon define, bug594. Reported by Andrew Hou.
13573 (verilog-read-decls): Fix parameters confusing
13574 AUTOINST interfaces, bug565. Reported by Leith Johnson.
13575
13576 2013-05-16 Eli Zaretskii <eliz@gnu.org>
13577
13578 * subr.el (reveal-filename): New function.
13579
13580 * loadup.el: Compute Emacs executable versions on MS-Windows,
13581 where executables have the .exe extension. Add a hard link
13582 emacs-XX.YY.ZZ.exe on MS-Windows.
13583
13584 * Makefile.in (XARGS_LIMIT): New variable.
13585 (custom-deps, finder-data, autoloads)
13586 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
13587 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
13588 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
13589 (compile-main): Limit xargs according to $(XARGS_LIMIT).
13590
13591 2013-05-16 Leo Liu <sdl.web@gmail.com>
13592
13593 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
13594 (octave-mode-menu, octave-mode-map): Remove its uses.
13595
13596 2013-05-16 Reto Zimmermann <reto@gnu.org>
13597
13598 Sync with upstream vhdl mode v3.34.2.
13599 * progmodes/vhdl-mode.el: Use `push' throughout.
13600 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
13601 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
13602 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
13603 (vhdl-actual-generic-name): New option to derive actual generic name.
13604 (vhdl-port-paste-signals): Replace formal by actual generics.
13605 (vhdl-beautify): New name for old group vhdl-align. Update users.
13606 (vhdl-beautify-options): New option.
13607 (vhdl-last-input-event): New compat alias. Use throughout.
13608 (vhdl-goto-line): Replace user level function `goto-line'.
13609 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
13610 vhdl-fix-statement-buffer.
13611 (vhdl-create-mode-menu): Add some entries.
13612 (vhdl-align-region-groups): Respect vhdl-beautify-options.
13613 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
13614 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
13615 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
13616 to force statements on one line.
13617 (vhdl-remove-trailing-spaces-region):
13618 New, split from vhdl-remove-trailing-spaces.
13619 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
13620 Respect vhdl-beautify-options.
13621 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
13622 (vhdl-update-sensitivity-list): Not add with index if exists without.
13623 Not include array index with signal. Ignore keywords in comments.
13624 (vhdl-get-visible-signals): Regexp tweaks.
13625 (vhdl-template-component-inst): Handle empty library.
13626 (vhdl-template-type): Add template for 'enum' type.
13627 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
13628 Use vhdl-replace-string.
13629 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
13630 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
13631 (vhdl-speedbar-initialize): Update for above name change.
13632 (vhdl-compose-wire-components): Fix in handling of constants.
13633 (vhdl-error-regexp-emacs-alist): New variable.
13634 (vhdl-error-regexp-add-emacs): New function;
13635 adds support for new compile.el (Emacs 22+)
13636 (vhdl-generate-makefile-1): Change target order for single lib. units.
13637 Allow use of absolute file names.
13638
13639 2013-05-16 Leo Liu <sdl.web@gmail.com>
13640
13641 * simple.el (prog-indent-sexp): Indent enclosing defun.
13642
13643 2013-05-15 Glenn Morris <rgm@gnu.org>
13644
13645 * cus-start.el (show-trailing-whitespace): Move to editing basics.
13646 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
13647 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
13648 (whitespace-highlight): Move to whitespace group.
13649
13650 * comint.el (comint-source):
13651 * pcmpl-linux.el (pcmpl-linux):
13652 * shell.el (shell-faces):
13653 * eshell/esh-opt.el (eshell-opt):
13654 * international/ccl.el (ccl): Remove empty custom groups.
13655
13656 * completion.el (dynamic-completion-mode):
13657 * jit-lock.el (jit-lock-debug-mode):
13658 * minibuffer.el (completion-in-region-mode):
13659 * type-break.el (type-break-mode-line-message-mode)
13660 (type-break-query-mode):
13661 * emulation/tpu-edt.el (tpu-edt-mode):
13662 * progmodes/subword.el (global-subword-mode, global-superword-mode):
13663 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
13664 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
13665
13666 * term/xterm.el (xterm): Change parent group to terminals.
13667
13668 * master.el (master): Remove empty custom group.
13669 (master-mode): Remove unused :group argument.
13670 * textmodes/refill.el (refill): Remove empty custom group.
13671 (refill-mode): Remove unused :group argument.
13672
13673 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
13674
13675 * cus-dep.el: Provide a feature.
13676 (custom-make-dependencies): Ignore dotfiles (dir-locals).
13677 Don't mistakenly ignore files whose basenames match a basename
13678 from preloaded-file-list (eg cedet/ede/simple.el).
13679 Add a fallback method for getting :group.
13680
13681 2013-05-15 Juri Linkov <juri@jurta.org>
13682
13683 * isearch.el (isearch-char-by-name): Rename from
13684 `isearch-insert-char-by-name'. Doc fix.
13685 (isearch-forward): Mention `isearch-char-by-name' in
13686 the docstring. (Bug#13348)
13687
13688 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
13689 `exit-minibuffer' instead of
13690 `isearch-nonincremental-exit-minibuffer'.
13691 (isearch-edit-string): Remove mention of
13692 `isearch-nonincremental-exit-minibuffer' from docstring.
13693 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
13694 (isearch-forward-exit-minibuffer)
13695 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
13696
13697 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
13698
13699 * loadup.el: Just use unversioned DOC.
13700
13701 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
13702 literals as extending to EOB.
13703 (nxml-last-fontify-end): Remove unused variable.
13704 (nxml-after-change1): Use with-silent-modifications.
13705 (nxml-extend-after-change-region): Simplify.
13706 (nxml-extend-after-change-region1): Remove function.
13707 (nxml-after-change1): Don't adjust for dependent regions.
13708 (nxml-fontify-matcher): Simplify.
13709 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
13710 (xmltok-add-dependent): Remove function.
13711 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
13712 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
13713 (xmltok-scan-prolog-after-processing-instruction-open): Treat
13714 unclosed <[[, <?, comment, and other literals as extending to EOB.
13715 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
13716 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
13717 Remove functions.
13718 (rng-do-some-validation-1): Don't mark dependent regions.
13719 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
13720 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
13721 (nxml-clear-dependent-regions): Remove functions.
13722 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
13723 (nxml-ensure-scan-up-to-date):
13724 Don't clear&mark dependent regions.
13725
13726 2013-05-15 Leo Liu <sdl.web@gmail.com>
13727
13728 * progmodes/octave.el (octave-goto-function-definition):
13729 Improve and fix callers.
13730
13731 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
13732
13733 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
13734 the setter (bug#14387).
13735
13736 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
13737 surrounding group (bug#14402).
13738
13739 2013-05-14 Juri Linkov <juri@jurta.org>
13740
13741 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
13742 (Bug#14390)
13743
13744 2013-05-14 Glenn Morris <rgm@gnu.org>
13745
13746 * progmodes/f90.el (f90-imenu-generic-expression):
13747 Fix typo in 2013-05-08 change. (Bug#14402)
13748
13749 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
13750
13751 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
13752 Remove signals for which replies are never received.
13753
13754 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
13755
13756 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
13757 (gdb-handler-alist, gdb-handler-number): Remove variables.
13758 (gdb-handler-list): New variable.
13759 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
13760 (gdb-pending-handler-p, gdb-handle-reply)
13761 (gdb-remove-all-pending-triggers): New functions.
13762 (gdb-discard-unordered-replies): New defcustom.
13763 (gdb-handler): New defstruct.
13764 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
13765 instead of gdb-pending-triggers. Update docstring.
13766 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
13767 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
13768 (gdb-var-update-handler, def-gdb-auto-update-trigger)
13769 (def-gdb-auto-update-handler, gdb-get-changed-registers)
13770 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
13771 (gdb-frame-handler): Pending triggers are now automatically managed.
13772 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
13773 Remove argument.
13774 (gdb-input): Automatically handles pending triggers. Update docstring.
13775 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
13776 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
13777 Update comments.
13778 (gdb-done-or-error): Now use gdb-handle-reply.
13779
13780 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
13781
13782 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
13783 gdb-debug-log.
13784
13785 2013-05-14 Glenn Morris <rgm@gnu.org>
13786
13787 * subr.el (user-emacs-directory-warning): New option.
13788 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
13789
13790 2013-05-14 Leo Liu <sdl.web@gmail.com>
13791
13792 * progmodes/octave.el (octave-font-lock-keywords): Fix error
13793 during redisplay.
13794 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
13795 (octave-font-lock-texinfo-comment): Fix invalid search bound
13796 error: wrong side of point.
13797
13798 2013-05-14 Glenn Morris <rgm@gnu.org>
13799
13800 * progmodes/flymake.el (flymake-xml-program): New option.
13801 (flymake-xml-init): Use it.
13802
13803 * term/xterm.el: Provide a feature.
13804
13805 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
13806
13807 2013-05-13 Glenn Morris <rgm@gnu.org>
13808
13809 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
13810 Add compat aliases as a hack workaround. (Bug#14384)
13811
13812 2013-05-13 Leo Liu <sdl.web@gmail.com>
13813
13814 * progmodes/octave.el (octave-indent-comment): Fix indentation for
13815 ###, and %!.
13816 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
13817 C-M-q.
13818 (octave-comment-start-skip): Include %!.
13819 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
13820
13821 2013-05-12 Leo Liu <sdl.web@gmail.com>
13822
13823 * progmodes/octave.el (inferior-octave-startup): Store the value
13824 of __octave_srcdir__ for octave-source-directories.
13825 (inferior-octave-check-process): New function refactored out of
13826 inferior-octave-send-list-and-digest.
13827 (octave-source-directories)
13828 (octave-find-definition-filename-function): New variables.
13829 (octave-source-directories)
13830 (octave-find-definition-default-filename): New functions.
13831 (octave-find-definition): Improve to find functions implemented in C++.
13832
13833 2013-05-12 Glenn Morris <rgm@gnu.org>
13834
13835 * calendar/diary-lib.el (diary-outlook-format-1):
13836 Don't include dayname in the output. (Bug#14349)
13837
13838 2013-05-11 Glenn Morris <rgm@gnu.org>
13839
13840 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
13841
13842 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
13843 Treat cc-provide like provide.
13844
13845 2013-05-11 Kevin Ryde <user42@zip.com.au>
13846
13847 * cus-dep.el (custom-make-dependencies):
13848 Use generated-autoload-load-name for the sake of files such
13849 such cedet/semantic/bovine/c.el, where the base file name
13850 is not in load-path. (Bug#5277)
13851
13852 2013-05-11 Glenn Morris <rgm@gnu.org>
13853
13854 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
13855 Provide features.
13856
13857 2013-05-11 Leo Liu <sdl.web@gmail.com>
13858
13859 * progmodes/octave.el (octave-indent-comment): Improve.
13860 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
13861 (octave-eldoc-function-signatures, octave-eldoc-function):
13862 New functions.
13863 (octave-mode, inferior-octave-mode): Add eldoc support.
13864
13865 2013-05-11 Richard Stallman <rms@gnu.org>
13866
13867 * epa.el (epa-decrypt-file): Take output file name as argument
13868 and read it using `interactive'.
13869
13870 2013-05-11 Leo Liu <sdl.web@gmail.com>
13871
13872 * progmodes/octave.el (octave-beginning-of-line)
13873 (octave-end-of-line): Check before using up-list because it jumps
13874 out of more syntactic contructs since moving to smie.
13875 (octave-indent-comment): New function.
13876 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
13877 (octave-begin-keywords, octave-end-keywords)
13878 (octave-reserved-words, octave-smie-bnf-table)
13879 (octave-smie-rules): Add new keywords from Octave 3.6.4.
13880
13881 2013-05-11 Glenn Morris <rgm@gnu.org>
13882
13883 * faces.el (internal-face-x-get-resource):
13884 * frame.el (ns-display-monitor-attributes-list):
13885 * calc/calc-aent.el (math-to-radians-2):
13886 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
13887 Fix declarations.
13888
13889 * calc/calc-menu.el: Make it loadable in isolation.
13890
13891 * net/eudcb-bbdb.el: Make it loadable without bbdb.
13892 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
13893 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
13894 (eudc-bbdb-query-internal): Require 'bbdb.
13895
13896 * lpr.el (lpr-headers-switches):
13897 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
13898
13899 * progmodes/sql.el (sql-login-params): Fix and improve :type.
13900
13901 * emulation/edt-mapper.el: In batch mode, error rather than hang.
13902
13903 * term.el (term-set-escape-char): Make it idempotent.
13904
13905 2013-05-10 Leo Liu <sdl.web@gmail.com>
13906
13907 * progmodes/octave.el (inferior-octave-completion-table):
13908 No longer a function and all uses changed. Use cache to speed up
13909 completion due to bug#11906.
13910 (octave-beginning-of-defun): Re-write to be more general.
13911
13912 2013-05-10 Glenn Morris <rgm@gnu.org>
13913
13914 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
13915
13916 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
13917
13918 * comint.el (comint-redirect-send-command-to-process): Use :around
13919 rather than :override for comint-redirect-filter.
13920 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
13921 Call it instead of comint-redirect-original-filter-function (which
13922 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
13923
13924 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
13925
13926 * frame.el (display-monitor-attributes-list): Add NS case.
13927 (ns-display-monitor-attributes-list): Declare.
13928
13929 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
13930
13931 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
13932
13933 2013-05-09 Glenn Morris <rgm@gnu.org>
13934
13935 * international/fontset.el (vertical-centering-font-regexp):
13936 Set standard-value.
13937
13938 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
13939
13940 * bookmark.el (bookmark-search-delay):
13941 * cus-start.el (vertical-centering-font-regexp):
13942 * ps-mule.el (ps-mule-font-info-database-default):
13943 * ps-print.el (ps-default-fg, ps-default-bg):
13944 * type-break.el (type-break-good-break-interval):
13945 * whitespace.el (whitespace-indentation-regexp)
13946 (whitespace-space-after-tab-regexp):
13947 * emacs-lisp/testcover.el (testcover-1value-functions)
13948 (testcover-noreturn-functions, testcover-progn-functions)
13949 (testcover-prog1-functions):
13950 * emulation/viper-init.el (viper-emacs-state-cursor-color):
13951 * eshell/em-glob.el (eshell-glob-translate-alist):
13952 * play/tetris.el (tetris-tty-colors):
13953 * progmodes/cpp.el (cpp-face-default-list):
13954 * progmodes/flymake.el (flymake-allowed-file-name-masks):
13955 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
13956 (idlwave-help-browser-generic-args):
13957 * progmodes/make-mode.el (makefile-special-targets-list):
13958 * progmodes/python.el (python-shell-virtualenv-path):
13959 * progmodes/verilog-mode.el (verilog-active-low-regexp)
13960 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
13961 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
13962 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
13963 * textmodes/reftex-vars.el (reftex-format-label-function):
13964 * textmodes/remember.el (remember-diary-file): Fix custom types.
13965
13966 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
13967 Add :version.
13968
13969 2013-05-09 Leo Liu <sdl.web@gmail.com>
13970
13971 * progmodes/octave.el (inferior-octave-completion-at-point):
13972 Restore file completion. (Bug#14300)
13973 (inferior-octave-startup): Fix incorrect highlighting for the
13974 first prompt.
13975
13976 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13977
13978 * progmodes/ruby-mode.el: First cut at SMIE support.
13979 (ruby-use-smie): New var.
13980 (ruby-smie-grammar): New constant.
13981 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
13982 (ruby-smie--forward-token, ruby-smie--backward-token)
13983 (ruby-smie-rules): New functions.
13984 (ruby-mode-variables): Setup SMIE if applicable.
13985
13986 2013-05-08 Eli Zaretskii <eliz@gnu.org>
13987
13988 * simple.el (line-move-visual): Signal beginning/end of buffer
13989 only if vertical-motion moved less than it was requested. Avoids
13990 silly incorrect error messages when there are display strings with
13991 multiple newlines at EOL.
13992
13993 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13994
13995 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
13996 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
13997 (prolog-char-quote-workaround):
13998 * progmodes/cperl-mode.el (cperl-under-as-char):
13999 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
14000 Mark as obsolete.
14001 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
14002 their declaration.
14003 (vhdl-mode-syntax-table-init): Remove.
14004
14005 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
14006 last change.
14007
14008 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
14009 syntax for "_".
14010 (ld-script-font-lock-keywords):
14011 Change regexps to use things like \_< and \_>.
14012
14013 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
14014 Change all regexps to use things like \_< and \_>.
14015
14016 * progmodes/autoconf.el (autoconf-definition-regexp)
14017 (autoconf-font-lock-keywords, autoconf-current-defun-function):
14018 Handle a _ with symbol syntax.
14019 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
14020
14021 * progmodes/ada-mode.el (ada-mode-abbrev-table):
14022 Consolidate declaration.
14023 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
14024 the declaration.
14025 (ada-create-syntax-table): Remove.
14026 (ada-capitalize-word): Don't mess with the syntax of "_" since it
14027 already has the right syntax nowadays.
14028 (ada-goto-next-word): Don't change the syntax of "_".
14029
14030 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
14031 with-wrapper-hook.
14032
14033 2013-05-08 Sam Steingold <sds@gnu.org>
14034
14035 * thingatpt.el (thing-at-point): Accept optional second argument
14036 NO-PROPERTIES to strip the text properties from the return value.
14037 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
14038 to `thing-at-point' instead of stripping the properties ourselves.
14039 Also, when `thing-at-point' fails to find a url, prepend "http://"
14040 to the filename at point on the assumption that the user is
14041 pointing at something like gnu.org/gnu.
14042
14043 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
14044
14045 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
14046 * faces.el (crm-separator):
14047 Silence byte-compiler.
14048
14049 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
14050 (tool-bar-map): Remove unneeded defvars.
14051
14052 2013-05-08 Leo Liu <sdl.web@gmail.com>
14053
14054 Re-work a fix for bug#10994 based on Le Wang's patch.
14055 * ido.el (ido-remove-consecutive-dups): New helper.
14056 (ido-completing-read): Use it.
14057 (ido-chop): Revert fix for bug#10994.
14058
14059 2013-05-08 Adam Spiers <emacs@adamspiers.org>
14060
14061 * cus-edit.el (custom-save-variables):
14062 Pretty-print long values. (Bug#14187)
14063
14064 2013-05-08 Glenn Morris <rgm@gnu.org>
14065
14066 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
14067 (m4-mode-syntax-table): Init in the defvar.
14068 (m4-mode-abbrev-table): Let define-derived-mode define it.
14069
14070 2013-05-08 Tom Tromey <tromey@redhat.com>
14071
14072 * progmodes/m4-mode.el (m4-mode-syntax-table):
14073 Do not treat "_" as word constituent. (Bug#14167)
14074
14075 2013-05-07 Glenn Morris <rgm@gnu.org>
14076
14077 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
14078 Remove explicit eshell-isearch-cancel-map.
14079
14080 * progmodes/f90.el (f90-smart-end-names): New option.
14081 (f90-smart-end): Doc fix.
14082 (f90-end-block-optional-name): New constant.
14083 (f90-block-match): Respect f90-smart-end-names.
14084
14085 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14086
14087 * progmodes/octave.el (octave-smie-forward-token): Be more careful
14088 about implicit semi-colons (bug#14218).
14089
14090 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
14091
14092 * frame.el (display-monitor-attributes-list)
14093 (frame-monitor-attributes): New functions.
14094
14095 2013-05-06 Leo Liu <sdl.web@gmail.com>
14096
14097 * progmodes/octave.el (octave-syntax-propertize-function): Change
14098 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
14099 (octave-font-lock-keywords): Use octave-operator-regexp.
14100 (octave-completion-at-point): Rename from
14101 octave-completion-at-point-function.
14102 (inferior-octave-directory-tracker): Robustify.
14103 (octave-text-functions): Remove and fix its uses. No such things
14104 any more.
14105
14106 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14107
14108 * emacs-lisp/trace.el (trace--display-buffer): New function.
14109 (trace-make-advice): Use it.
14110
14111 2013-05-06 Juri Linkov <juri@jurta.org>
14112
14113 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
14114 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
14115 Doc fix.
14116 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
14117 in the help string. (Bug#12985)
14118
14119 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
14120
14121 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
14122
14123 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14124
14125 * progmodes/perl-mode.el: Add support for here documents.
14126 (perl-syntax-propertize-function): Match here-doc markers.
14127 (perl-syntax-propertize-special-constructs): Find their end.
14128 (perl-imenu-generic-expression): Use [:alnum:].
14129
14130 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
14131 (advice--add-function): Refresh the advice if already present
14132 (bug#14317).
14133
14134 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
14135
14136 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
14137
14138 2013-05-06 Glenn Morris <rgm@gnu.org>
14139
14140 * w32-fns.el (w32-charset-info-alist): Declare.
14141
14142 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
14143 of its defcustom properties.
14144 (eshell-cmpl-initialize): No need to load pcomplete.
14145
14146 * generic-x.el: No need to require comint when compiling.
14147
14148 * net/eudc-export.el: Make it loadable without bbdb.
14149 (top-level): Use require rather than load-library.
14150 (eudc-create-bbdb-record, eudc-bbdbify-phone)
14151 (eudc-batch-export-records-to-bbdb)
14152 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
14153 Require bbdb.
14154
14155 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14156
14157 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
14158 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
14159 some tweaks, instead.
14160
14161 2013-05-05 Leo Liu <sdl.web@gmail.com>
14162
14163 * progmodes/octave.el (octave-font-lock-keywords)
14164 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
14165 (inferior-octave-send-list-and-digest): Improve error message.
14166 (octave-mode, inferior-octave-mode): Use setq-local.
14167 (octave-help): Set info-lookup-mode.
14168
14169 2013-05-05 Richard Stallman <rms@gnu.org>
14170
14171 * vc/compare-w.el (compare-windows-whitespace):
14172 Treat no-break space as whitespace.
14173
14174 * mail/rmailsum.el (rmail-summary-rmail-update):
14175 Detect empty summary and don't change selected message.
14176 (rmail-summary-goto-msg): Likewise.
14177
14178 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
14179 Doc fixes, rename args.
14180
14181 2013-05-05 Alan Mackenzie <acm@muc.de>
14182
14183 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
14184
14185 2013-05-05 Juri Linkov <juri@jurta.org>
14186
14187 * info.el (Info-read-subfile): Use (point-min) instead of (point)
14188 to not add the length of the summary segment to the return value.
14189 (Bug#14125)
14190
14191 2013-05-05 Leo Liu <sdl.web@gmail.com>
14192
14193 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
14194 (inferior-octave-output-filter): Remove.
14195 (octave-send-region, inferior-octave-startup): Fix callers.
14196 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
14197 (octave-binary-file-extensions): New user variable.
14198 (octave-find-definition): Confirm if opening binary files.
14199 (octave-help-file): Use octave-find-definition to get the binary
14200 confirmation.
14201 (octave-help): Adjust for octave-help-file change.
14202
14203 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14204
14205 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
14206 Merge the two entries that handle function definitions.
14207 (pascal--syntax-propertize): New const.
14208 (pascal-mode): Use it. Use setq-local.
14209
14210 2013-05-04 Glenn Morris <rgm@gnu.org>
14211
14212 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
14213 (diary-from-outlook): Respect diary-from-outlook-function.
14214
14215 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14216
14217 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
14218 Move the declaration from C.
14219 (read-minibuffer, eval-minibuffer): Move from C.
14220 (completion-setup-function): Avoid minibuffer-completion-contents.
14221
14222 2013-05-03 Leo Liu <sdl.web@gmail.com>
14223
14224 * progmodes/octave.el (octave-font-lock-keywords): Do not
14225 dehighlight 'end' in comments or strings.
14226 (octave-completing-read, octave-goto-function-definition):
14227 New helpers.
14228 (octave-help-buffer): New user variable.
14229 (octave-help-file, octave-help-function): New button types.
14230 (octave-help): New command and bind it to C-h ;.
14231 (octave-find-definition): New command and bind it to M-.
14232 (user-error): Alias to error if not defined.
14233
14234 2013-05-02 Leo Liu <sdl.web@gmail.com>
14235
14236 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
14237 for \. (bug#14332)
14238 (octave-font-lock-keywords): Include [ and {.
14239
14240 2013-05-02 Leo Liu <sdl.web@gmail.com>
14241
14242 * progmodes/octave.el (inferior-octave-startup-file): Change default.
14243 (inferior-octave): Remove calling comint-mode and return the buffer.
14244 (inferior-octave-startup): Cosmetic changes.
14245
14246 2013-05-02 Leo Liu <sdl.web@gmail.com>
14247
14248 * progmodes/octave.el (octave-syntax-propertize-function):
14249 Include the case when ' is at line beginning. (Bug#14336)
14250
14251 2013-05-02 Glenn Morris <rgm@gnu.org>
14252
14253 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
14254 * desktop.el (vc-dir-mode): Just autoload it here.
14255
14256 2013-05-02 Alan Mackenzie <acm@muc.de>
14257
14258 Eliminate variable c-standard-font-lock-fontify-region-function.
14259 * progmodes/cc-mode.el
14260 (c-standard-font-lock-fontify-region-function): Remove.
14261 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
14262
14263 2013-05-01 Leo Liu <sdl.web@gmail.com>
14264
14265 * progmodes/octave.el: Compatible with older emacs-24 releases.
14266 (inferior-octave-has-built-in-variables): Remove. Built-in
14267 variables were removed from Octave in 2007.
14268 (inferior-octave-startup): Fix uses.
14269 (comint-line-beginning-position): Remove compatibility code for
14270 emacs 21.
14271
14272 2013-05-01 Juri Linkov <juri@jurta.org>
14273
14274 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
14275
14276 2013-05-01 Juri Linkov <juri@jurta.org>
14277
14278 * comint.el (comint-previous-matching-input): Don't print message
14279 "History item: %d" when `isearch-mode' is active.
14280 (comint-history-isearch-message): Print message "History item: %d"
14281 when `comint-input-ring-index' is not empty and this function is
14282 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
14283
14284 2013-05-01 Leo Liu <sdl.web@gmail.com>
14285
14286 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
14287 definitions. Use completion-at-point to insert keywords.
14288 (octave-abbrev-start): Remove.
14289 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
14290
14291 2013-04-30 Leo Liu <sdl.web@gmail.com>
14292
14293 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
14294 change.
14295
14296 2013-04-30 Alan Mackenzie <acm@muc.de>
14297
14298 Handle arbitrarily long C++ member initialisation lists.
14299 * progmodes/cc-engine.el (c-back-over-member-initializers):
14300 new function.
14301 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
14302 (most) member init lists.
14303
14304 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14305
14306 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
14307 variable.
14308
14309 2013-04-30 Leo Liu <sdl.web@gmail.com>
14310
14311 * progmodes/octave.el (octave-variables): Remove. No builtin
14312 variables any more. All converted to functions.
14313 (octave-font-lock-keywords, octave-completion-at-point-function):
14314 Fix uses.
14315 (octave-font-lock-texinfo-comment): New user variable.
14316 (octave-texinfo-font-lock-keywords): New variable for texinfo
14317 comment block.
14318 (octave-function-comment-block): New face.
14319 (octave-font-lock-texinfo-comment): New function.
14320 (octave-mode): Font lock texinfo comment block.
14321
14322 2013-04-29 Leo Liu <sdl.web@gmail.com>
14323
14324 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
14325 indexing expression.
14326 (octave-continuation-string): Do not use \.
14327 (inferior-octave-complete-impossible): Remove.
14328 (inferior-octave-completion-table)
14329 (inferior-octave-completion-at-point): Remove its uses.
14330 (inferior-octave-startup): completion_matches was introduced to
14331 Octave in 1996 so safe to assume it.
14332 (octave-function-file-comment): Improve to follow how Octave does it.
14333 (octave-update-function-file-comment): Tweak.
14334
14335 2013-04-29 Leo Liu <sdl.web@gmail.com>
14336
14337 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
14338 (inferior-octave-startup): Remove inferior-octave-startup-hook.
14339 (octave-function-file-comment): Fix typo.
14340 (octave-sync-function-file-names): Use read-char-choice.
14341
14342 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
14343
14344 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
14345 to t for the less important warnings.
14346
14347 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
14348
14349 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
14350
14351 2013-04-27 Glenn Morris <rgm@gnu.org>
14352
14353 * vc/log-view.el (log-view-current-entry):
14354 Treat "---" separator lines as part of the following rev. (Bug#14169)
14355
14356 2013-04-27 Juri Linkov <juri@jurta.org>
14357
14358 * subr.el (read-number): Doc fix about using it by interactive
14359 code letter `n'. (Bug#14254)
14360
14361 2013-04-27 Juri Linkov <juri@jurta.org>
14362
14363 * desktop.el (desktop-auto-save-timeout): New option.
14364 (desktop-file-checksum): New variable.
14365 (desktop-save): Add optional arg `auto-save' and don't auto-save
14366 if nothing changed.
14367 (desktop-auto-save-timer): New variable.
14368 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
14369 (after-init-hook): Call `desktop-auto-save-set-timer'.
14370 Suggested by Reuben Thomas <rrt@sc3d.org> in
14371 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
14372
14373 2013-04-27 Leo Liu <sdl.web@gmail.com>
14374
14375 * progmodes/octave.el (octave-function-file-p)
14376 (octave-skip-comment-forward, octave-function-file-comment)
14377 (octave-update-function-file-comment): New functions.
14378 (octave-mode-map): Bind C-c ; to
14379 octave-update-function-file-comment.
14380 (octave-mode-menu): Add octave-update-function-file-comment.
14381 (octave-mode, inferior-octave-mode): Fix doc-string.
14382 (octave-insert-defun): Conform to Octave's coding convention.
14383 (Bug#14285)
14384
14385 * files.el (basic-save-buffer): Don't let errors in
14386 before-save-hook prevent saving buffer.
14387
14388 2013-04-20 Roland Winkler <winkler@gnu.org>
14389
14390 * faces.el (read-face-name): Use completing-read if arg multiple
14391 is nil.
14392
14393 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
14394
14395 * ls-lisp.el (ls-lisp-insert-directory): If no files are
14396 displayed, move point to after the totals line.
14397 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
14398 for the details.
14399
14400 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
14401
14402 * emacs-lisp/package.el (package-autoload-ensure-default-file):
14403 Add current dir to the load-path.
14404 (package-generate-autoloads): Don't rely on
14405 autoload-ensure-default-file.
14406
14407 2013-04-26 Reuben Thomas <rrt@sc3d.org>
14408
14409 * textmodes/remember.el (remember-store-in-files): Document that
14410 the file name format is passed to `format-time-string'.
14411
14412 2013-04-26 Leo Liu <sdl.web@gmail.com>
14413
14414 * progmodes/octave.el (octave-sync-function-file-names): New function.
14415 (octave-mode): Use it in before-save-hook.
14416
14417 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
14418
14419 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
14420 (bug#14274).
14421
14422 * progmodes/octave.el (octave-smie-forward-token): Properly skip
14423 \n and comment, even if it's not an implicit ; (bug#14218).
14424
14425 2013-04-26 Glenn Morris <rgm@gnu.org>
14426
14427 * subr.el (read-number): Once more use `read' rather than
14428 `string-to-number', to trap non-numeric input. (Bug#14254)
14429
14430 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
14431
14432 * emacs-lisp/syntax.el (syntax-propertize-multiline):
14433 Use `syntax-multiline' text property consistently instead of
14434 `font-lock-multiline'. (Bug#14237)
14435
14436 2013-04-26 Glenn Morris <rgm@gnu.org>
14437
14438 * emacs-lisp/shadow.el (list-load-path-shadows):
14439 No longer necessary to check for duplicate simple.el, since
14440 2012-07-07 change to init_lread to not include installation lisp
14441 directories in load-path when running uninstalled. (Bug#14270)
14442
14443 2013-04-26 Leo Liu <sdl.web@gmail.com>
14444
14445 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
14446 (octave-mode, inferior-octave-mode): Use setq-local.
14447 (octave-not-in-string-or-comment-p): Rename to
14448 octave-in-string-or-comment-p.
14449 (octave-in-comment-p, octave-in-string-p)
14450 (octave-in-string-or-comment-p): Replace defsubst with defun.
14451
14452 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
14453
14454 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
14455
14456 2013-04-25 Bastien Guerry <bzg@gnu.org>
14457
14458 * textmodes/remember.el (remember-data-directory)
14459 (remember-directory-file-name-format): Fix custom types.
14460
14461 2013-04-25 Leo Liu <sdl.web@gmail.com>
14462
14463 * progmodes/octave.el (octave-completion-at-point-function):
14464 Make use of inferior octave process.
14465 (octave-initialize-completions): Remove.
14466 (inferior-octave-completion-table): New function.
14467 (inferior-octave-completion-at-point): Use it.
14468 (octave-completion-alist): Remove.
14469
14470 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14471
14472 * progmodes/opascal.el: Use font-lock and syntax-propertize.
14473 (opascal-mode-syntax-table): New var.
14474 (opascal-literal-kind, opascal-is-literal-end)
14475 (opascal-literal-token-at): Rewrite.
14476 (opascal--literal-start-re, opascal-font-lock-keywords)
14477 (opascal--syntax-propertize): New constants.
14478 (opascal-font-lock-defaults): Adjust.
14479 (opascal-mode): Use them. Set comment-<foo> variables as well.
14480 (delphi-comment-face, opascal-comment-face, delphi-string-face)
14481 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
14482 (delphi-other-face, opascal-other-face): Remove face variables.
14483 (opascal-save-state): Remove macro.
14484 (opascal-fontifying-progress-step): Remove constant.
14485 (opascal--ignore-changes): Remove var.
14486 (opascal-set-token-property, opascal-parse-next-literal)
14487 (opascal-is-stable-literal, opascal-complete-literal)
14488 (opascal-is-literal-start, opascal-face-of)
14489 (opascal-parse-region, opascal-parse-region-until-stable)
14490 (opascal-fontify-region, opascal-after-change)
14491 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
14492 (opascal-debug-parse-region, opascal-debug-parse-window)
14493 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
14494 (opascal-debug-fontify-buffer): Remove.
14495 (opascal-debug-mode-map): Adjust accordingly.
14496
14497 2013-04-25 Leo Liu <sdl.web@gmail.com>
14498
14499 Merge octave-mod.el and octave-inf.el into octave.el with some
14500 cleanups.
14501 * progmodes/octave.el: New file renamed from octave-mod.el.
14502 * progmodes/octave-inf.el: Merged into octave.el.
14503 * progmodes/octave-mod.el: Renamed to octave.el.
14504
14505 2013-04-25 Tassilo Horn <tsdh@gnu.org>
14506
14507 * textmodes/reftex-vars.el
14508 (reftex-label-ignored-macros-and-environments): New defcustom.
14509
14510 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
14511
14512 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14513
14514 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
14515 (smie-indent-keyword): Improve the check to ensure that the next
14516 comment is really on the same line.
14517 (smie-indent-comment): Don't align with a subsequent closer (or eob).
14518
14519 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
14520 semi-colons if the line is not otherwise empty (bug#14218).
14521
14522 2013-04-25 Glenn Morris <rgm@gnu.org>
14523
14524 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
14525
14526 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
14527
14528 * progmodes/opascal.el (opascal-set-token-property): Rename from
14529 opascal-set-text-properties and only set `token' (bug#14134).
14530 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
14531 (opascal-literal-text-properties): Remove.
14532 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
14533 Adjust callers.
14534
14535 2013-04-24 Reuben Thomas <rrt@sc3d.org>
14536
14537 * textmodes/remember.el (remember-handler-functions): Add an
14538 option for a new handler `remember-store-in-files'.
14539 (remember-data-directory, remember-directory-file-name-format):
14540 New options.
14541 (remember-store-in-files): New function to store remember notes
14542 as separate files within a directory.
14543
14544 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
14545
14546 * progmodes/compile.el (compilation-next-error-function):
14547 Pass "formats" to compilation-find-file (bug#11777).
14548
14549 2013-04-24 Glenn Morris <rgm@gnu.org>
14550
14551 * vc/vc-bzr.el (vc-bzr-print-log):
14552 * vc/vc-hg.el (vc-hg-print-log):
14553 * vc/vc-svn.el (vc-svn-print-log):
14554 Fix START-REVISION with LIMIT != 1. (Bug#14168)
14555
14556 * vc/vc-bzr.el (vc-bzr-print-log):
14557 * vc/vc-cvs.el (vc-cvs-print-log):
14558 * vc/vc-git.el (vc-git-print-log):
14559 * vc/vc-hg.el (vc-hg-print-log):
14560 * vc/vc-mtn.el (vc-mtn-print-log):
14561 * vc/vc-rcs.el (vc-rcs-print-log):
14562 * vc/vc-sccs.el (vc-sccs-print-log):
14563 * vc/vc-svn.el (vc-svn-print-log):
14564 * vc/vc.el (vc-print-log-internal): Doc fixes.
14565
14566 2013-04-23 Glenn Morris <rgm@gnu.org>
14567
14568 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
14569 Remove venerable code attempting to avoid substitute-command-keys.
14570
14571 2013-04-23 Tassilo Horn <tsdh@gnu.org>
14572
14573 * textmodes/reftex-vars.el (reftex-label-regexps):
14574 Call `reftex-compile-variables' after changes to this variable.
14575
14576 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
14577
14578 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
14579 Use lexical-binding.
14580 (jit-lock-force-redisplay): Use markers, check buffer's continued
14581 existence and beware narrowed buffers.
14582 (jit-lock-fontify-now): Adjust call accordingly.
14583
14584 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
14585
14586 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
14587 to avoid misleading the user.
14588
14589 2013-04-22 Leo Liu <sdl.web@gmail.com>
14590
14591 * info-look.el: Prefer latex2e.info. (Bug#14240)
14592
14593 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
14594
14595 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
14596
14597 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
14598 * net/tramp.el (tramp-call-process): ... here.
14599 (tramp-set-completion-function, tramp-parse-putty):
14600 * net/tramp-adb.el (tramp-adb-execute-adb-command):
14601 * net/tramp-gvfs.el (tramp-gvfs-send-command):
14602 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
14603 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
14604 (tramp-call-local-coding-command): Use `tramp-call-process'
14605 instead of `tramp-compat-call-process'.
14606
14607 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
14608 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
14609 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
14610 (tramp-find-inline-compress): Improve traces.
14611 (tramp-maybe-send-script): Check for Perl binary.
14612 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
14613
14614 2013-04-22 Daiki Ueno <ueno@gnu.org>
14615
14616 * epg.el (epg-context-pinentry-mode): New function.
14617 (epg-context-set-pinentry-mode): New function.
14618 (epg--start): Pass --pinentry-mode option to gpg command.
14619
14620 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
14621
14622 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
14623 `comint-dynamic-complete' is obsolete since 24.1, replaced by
14624 `completion-at-point'. (Bug#13774)
14625
14626 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
14627 default key binding for `describe-distribution' has been moved to
14628 `C-h C-o'. (Bug#13970)
14629
14630 2013-04-21 Glenn Morris <rgm@gnu.org>
14631
14632 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
14633 Add doc strings.
14634 (vc-print-log): Clarify interactive prompt.
14635
14636 2013-04-20 Glenn Morris <rgm@gnu.org>
14637
14638 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
14639 No longer include timestamp etc information.
14640
14641 2013-04-20 Roland Winkler <winkler@gnu.org>
14642
14643 * faces.el (read-face-name): Bug fix, return just one face if arg
14644 multiple is nil. (Bug#14209)
14645
14646 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14647
14648 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
14649 (remove-function): Autoload.
14650
14651 * comint.el (comint-redirect-original-filter-function): Remove.
14652 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
14653 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
14654 (vc-cvs-annotate-command):
14655 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
14656 * progmodes/prolog.el (prolog-consult-compile):
14657 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
14658 Use add/remove-function instead.
14659 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
14660 (gud-tooltip-process-output, gud-tooltip-tips):
14661 Use add/remove-function instead.
14662 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
14663 (scheme-interaction-mode, exit-scheme-interaction-mode):
14664 Use add/remove-function instead.
14665
14666 * vc/vc-dispatcher.el: Use lexical-binding.
14667 (vc--process-sentinel): Rename from vc-process-sentinel.
14668 Change last arg to be the code to run. Don't use vc-previous-sentinel
14669 and vc-sentinel-commands any more.
14670 (vc-exec-after): Allow code to be a function. Use add/remove-function.
14671 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
14672
14673 2013-04-19 Masatake YAMATO <yamato@redhat.com>
14674
14675 * progmodes/sh-script.el (sh-imenu-generic-expression):
14676 Handle function names with a single character. (Bug#14111)
14677
14678 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
14679
14680 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
14681 for subroutines defined in an eval (bug#14182).
14682
14683 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14684
14685 * bookmark.el (bookmark-completing-read): Improve handling of empty
14686 string (bug#14176).
14687
14688 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
14689
14690 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
14691
14692 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
14693
14694 New faster Imenu implementation (bug#14058).
14695 * progmodes/python.el:
14696 (python-imenu-prev-index-position):
14697 (python-imenu-format-item-label-function)
14698 (python-imenu-format-parent-item-label-function)
14699 (python-imenu-format-parent-item-jump-label-function):
14700 New vars.
14701 (python-imenu-format-item-label)
14702 (python-imenu-format-parent-item-label)
14703 (python-imenu-format-parent-item-jump-label)
14704 (python-imenu--put-parent, python-imenu--build-tree)
14705 (python-imenu-create-index, python-imenu-create-flat-index)
14706 (python-util-popn): New functions.
14707 (python-mode): Set imenu-create-index-function to
14708 python-imenu-create-index.
14709
14710 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
14711
14712 * winner.el (winner-active-region): Use region-active-p, activate-mark
14713 and deactivate-mark (bug#14225).
14714
14715 * simple.el (deactivate-mark): Don't inline it.
14716
14717 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
14718
14719 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
14720
14721 2013-04-18 Tassilo Horn <tsdh@gnu.org>
14722
14723 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
14724 file extensions from the archive-mode entry in order to prefer
14725 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
14726
14727 2013-04-18 Leo Liu <sdl.web@gmail.com>
14728
14729 * bindings.el (help-event-list): Add ?\?.
14730
14731 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
14732
14733 * subr.el (with-wrapper-hook): Declare obsolete.
14734 * simple.el (filter-buffer-substring-function): New hook.
14735 (filter-buffer-substring): Use it.
14736 (filter-buffer-substring-functions): Mark obsolete.
14737 * minibuffer.el (completion-in-region-function): New hook.
14738 (completion-in-region): Use it.
14739 (completion-in-region-functions): Mark obsolete.
14740 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
14741 * abbrev.el (abbrev-expand-function): New hook.
14742 (expand-abbrev): Use it.
14743 (abbrev-expand-functions): Mark obsolete.
14744 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
14745 and :filter-return.
14746
14747 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
14748
14749 * progmodes/python.el (python-nav--syntactically): Fix cornercases
14750 and do not care about match data.
14751
14752 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
14753
14754 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
14755 completion tables when completing error conditions and
14756 `declare' arguments.
14757 (lisp-complete-symbol, field-complete): Mark as obsolete.
14758 (check-parens): Unmatched parens are user errors.
14759 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
14760
14761 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
14762
14763 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
14764 command changed buffer (ie. `flyspell-pre-buffer' is not current
14765 buffer), which prevents making decisions based on invalid value of
14766 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
14767 cause an error when `flyspell-pre-point' was nil after switching
14768 buffers.
14769 (flyspell-post-command-hook): No longer needs to change buffers when
14770 checking pre-word. While at it remove unnecessary progn.
14771
14772 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
14773
14774 * textmodes/ispell.el (ispell-add-per-file-word-list):
14775 Fix `flyspell-correct-word-before-point' error when accepting
14776 words and `coment-padding' is an integer by using
14777 `comment-normalize-vars' (Bug #14214).
14778
14779 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
14780
14781 New defun movement commands.
14782 * progmodes/python.el (python-nav--syntactically)
14783 (python-nav--forward-defun, python-nav-backward-defun)
14784 (python-nav-forward-defun): New functions.
14785
14786 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
14787
14788 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
14789 (python-syntax-context): Use named compiler-macro for backwards
14790 compatibility with Emacs 24.x.
14791
14792 2013-04-17 Leo Liu <sdl.web@gmail.com>
14793
14794 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
14795 octave-hide-process-buffer.
14796
14797 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
14798
14799 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
14800 (bug#14216).
14801
14802 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
14803
14804 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
14805 Fix adjustment of offset when receiving incomplete responses from GDB
14806 (bug#14129).
14807
14808 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
14809
14810 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
14811 python-mode-abbrev-table.
14812 (python-skeleton-define): Adjust accordingly.
14813 (python-mode-abbrev-table): New table that inherits from it so that
14814 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
14815
14816 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
14817 (abbrev-symbol): Use it.
14818 (abbrev--before-point): Use it since we already handle inheritance.
14819
14820 2013-04-16 Leo Liu <sdl.web@gmail.com>
14821
14822 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
14823 binding to info-lookup-symbol.
14824
14825 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
14826
14827 * minibuffer.el (completion--twq-all):
14828 * term/ns-win.el (ns-initialize-window-system):
14829 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
14830
14831 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
14832
14833 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
14834 global bindings.
14835
14836 * doc-view.el (doc-view-start-process): Handle url-handler directories.
14837
14838 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
14839
14840 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
14841 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
14842 to nil.
14843 (ruby-end-of-defun): Remove the unused arg, change the docstring
14844 to reflect that this function is only used as the value of
14845 `end-of-defun-function'.
14846 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
14847 to reflect an earlier change that beginning/end-of-defun functions
14848 jump between methods in a class definition, as well as top-level
14849 functions.
14850
14851 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14852
14853 * minibuffer.el (minibuffer-complete): Don't just scroll
14854 a *Completions* that's been iconified.
14855 (minibuffer-force-complete): Make sure repetitions do cycle when going
14856 through completion-in-region -> minibuffer-complete.
14857
14858 2013-04-15 Alan Mackenzie <acm@muc.de>
14859
14860 Correct the placement of c-cpp-delimiters when there're #s not at
14861 col 0.
14862
14863 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
14864 place a submatch around the #.
14865 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
14866 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
14867 on the #, not BOL.
14868
14869 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14870
14871 * emacs-lisp/nadvice.el: Properly test names when adding advice.
14872 (advice--member-p): New arg `name'.
14873 (advice--add-function, advice-member-p): Use it (bug#14202).
14874
14875 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
14876
14877 Reformulate java imenu-generic-expression.
14878 The old expression contained ill formed regexps.
14879
14880 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
14881 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
14882 (cc-imenu-java-method-arg-regexp): New defconsts.
14883 (cc-imenu-java-build-type-args-regex): New defun.
14884 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
14885 handling of spaces in the regexp.
14886
14887 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14888
14889 * textmodes/ispell.el (ispell-command-loop): Remove
14890 flyspell highlight of a word when ispell accepts it (bug #14178).
14891
14892 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
14893
14894 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
14895 uses code from the previous `ange-ftp-run-real-handler'.
14896 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
14897 only in case that function exist. This is needed for proper
14898 unloading of Tramp.
14899
14900 2013-04-15 Tassilo Horn <tsdh@gnu.org>
14901
14902 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
14903
14904 * textmodes/reftex.el (reftex-compile-variables): Use it.
14905
14906 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14907
14908 * files.el (normal-mode): Only use default major-mode if no other mode
14909 was specified.
14910
14911 * emacs-lisp/trace.el (trace-values): New function.
14912
14913 * files.el: Allow : in local variables (bug#14089).
14914 (hack-local-variable-regexp): New var.
14915 (hack-local-variables-prop-line, hack-local-variables): Use it.
14916
14917 2013-04-13 Roland Winkler <winkler@gnu.org>
14918
14919 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
14920 data before it gets modified by bibtex-beginning-of-entry.
14921
14922 2013-04-13 Roland Winkler <winkler@gnu.org>
14923
14924 * textmodes/bibtex.el (bibtex-url): Doc fix.
14925
14926 2013-04-13 Roland Winkler <winkler@gnu.org>
14927
14928 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
14929 does not visit a BibTeX file, exclude it from the list of buffers
14930 returned by bibtex-initialize.
14931
14932 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
14933
14934 * window.el (split-window): Remove interactive form, since as a
14935 command this function is a special case of split-window-below.
14936 Correct doc string.
14937
14938 2013-04-12 Roland Winkler <winkler@gnu.org>
14939
14940 * faces.el (read-face-name): Do not override value of arg default.
14941 Allow single faces and strings as default values. Remove those
14942 elements from return value that are not faces.
14943 (describe-face): Simplify.
14944 (face-at-point): New optional args thing and multiple so that this
14945 function can provide the same functionality previously provided by
14946 read-face-name.
14947 (make-face-bold, make-face-unbold, make-face-italic)
14948 (make-face-unitalic, make-face-bold-italic, invert-face)
14949 (modify-face, read-face-and-attribute): Use face-at-point.
14950
14951 * cus-edit.el (customize-face, customize-face-other-window)
14952 * cus-theme.el (custom-theme-add-face)
14953 * face-remap.el (buffer-face-set)
14954 * facemenu.el (facemenu-set-face): Use face-at-point.
14955
14956 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
14957
14958 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
14959
14960 2013-04-10 Tassilo Horn <tsdh@gnu.org>
14961
14962 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
14963 off leading { and trailing } from field values.
14964
14965 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
14966
14967 * emacs-lisp/timer.el (timer--check): New function.
14968 (timer--time, timer-set-function, timer-event-handler): Use it.
14969 (timer-set-idle-time): Simplify.
14970 (timer--activate): CSE.
14971 (timer-event-handler): Give more info in error message.
14972 (internal-timer-start-idle): New function, moved from C.
14973
14974 * mpc.el (mpc-proc): Add `restart' argument.
14975 (mpc-proc-cmd): Use it.
14976 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
14977 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
14978 less often.
14979
14980 2013-04-10 Masatake YAMATO <yamato@redhat.com>
14981
14982 * progmodes/sh-script.el: Implement `sh-mode' own
14983 `add-log-current-defun-function' (bug#14112).
14984 (sh-current-defun-name): New function.
14985 (sh-mode): Use the function.
14986
14987 2013-04-09 Bastien Guerry <bzg@gnu.org>
14988
14989 * simple.el (choose-completion-string): Fix docstring (bug#14163).
14990
14991 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
14992
14993 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
14994
14995 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
14996 timer (bug#14156).
14997
14998 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
14999
15000 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
15001 declaration.
15002
15003 2013-04-07 Leo Liu <sdl.web@gmail.com>
15004
15005 * pcmpl-x.el: New file.
15006
15007 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
15008
15009 Do not set x-display-name until X connection is established.
15010 This is needed to prevent from weird situation described at
15011 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
15012 * frame.el (make-frame): Set x-display-name after call to
15013 window system initialization function, not before.
15014 * term/x-win.el (x-initialize-window-system): Add optional
15015 display argument and use it.
15016 * term/w32-win.el (w32-initialize-window-system):
15017 * term/ns-win.el (ns-initialize-window-system):
15018 * term/pc-win.el (msdos-initialize-window-system):
15019 Add compatible optional display argument.
15020
15021 2013-04-06 Eli Zaretskii <eliz@gnu.org>
15022
15023 * files.el (normal-backup-enable-predicate): On MS-Windows and
15024 MS-DOS compare truenames of temporary-file-directory and of the
15025 file, so that 8+3 aliases (usually found in $TEMP on Windows)
15026 don't fail comparison by compare-strings. Also, compare file
15027 names case-insensitively on MS-Windows and MS-DOS.
15028
15029 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15030
15031 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
15032 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
15033
15034 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
15035
15036 * whitespace.el (whitespace-color-on, whitespace-color-off):
15037 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
15038
15039 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
15040
15041 * ispell.el (ispell-set-spellchecker-params):
15042 Really set `ispell-args' for all equivs.
15043
15044 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15045
15046 * ido.el (ido-completions): Use extra elements of ido-decorations
15047 (bug#14143).
15048 (ido-decorations): Update docstring.
15049
15050 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
15051
15052 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
15053 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
15054 nil during initialization, in order not to miss changes since the
15055 file was opened. (Bug#14140)
15056
15057 2013-04-05 Leo Liu <sdl.web@gmail.com>
15058
15059 * kmacro.el (kmacro-call-macro): Fix bug#14135.
15060
15061 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
15062
15063 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
15064
15065 2013-04-04 Glenn Morris <rgm@gnu.org>
15066
15067 * electric.el (electric-pair-inhibit-predicate): Add :version.
15068
15069 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15070
15071 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
15072 when a package is required several times (bug#14082).
15073
15074 2013-04-04 Roland Winkler <winkler@gnu.org>
15075
15076 * faces.el (read-face-name): Behave as promised by the docstring.
15077 Assume that arg default is a list of faces.
15078 (describe-face): Call read-face-name with list of default faces.
15079
15080 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15081
15082 * bookmark.el: Fix deletion of bookmarks (bug#13972).
15083 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
15084 (bookmark-bmenu-execute-deletions): Only skip first line if it's
15085 the header.
15086 (bookmark-exit-hook-internal): Save even if list is empty.
15087
15088 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
15089
15090 * emacs-lisp/package.el (package-pinned-packages): New var.
15091 (package--add-to-archive-contents): Obey it (bug#14118).
15092
15093 2013-04-03 Alan Mackenzie <acm@muc.de>
15094
15095 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
15096 Also adapt to the new values of element 7 of a parse state.
15097
15098 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
15099 parameter `not-in-delimiter'. Handle being inside comment opener.
15100 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
15101 character in case we're typing a '*' after a '/'.
15102 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
15103 instead by passing the parameter to c-state-pp-to-literal.
15104
15105 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
15106 for elt. 7 of a parse state.
15107
15108 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
15109
15110 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
15111 * international/latin1-disp.el, international/mule-util.el:
15112 * language/cyril-util.el, language/european.el, language/ind-util.el:
15113 * language/lao-util.el, language/thai.el, language/tibet-util.el:
15114 * language/tibetan.el, language/viet-util.el:
15115 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
15116
15117 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
15118
15119 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
15120 (electric-pair-post-self-insert-function): Use it.
15121 (electric-pair-default-inhibit): New function, extracted from
15122 electric-pair-post-self-insert-function.
15123
15124 2013-03-31 Roland Winkler <winkler@gnu.org>
15125
15126 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
15127
15128 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
15129
15130 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
15131
15132 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
15133
15134 Un-indent after "pass" and "return" statements (Bug#13888)
15135 * progmodes/python.el (python-indent-block-enders): New var.
15136 (python-indent-calculate-indentation): Use it.
15137
15138 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
15139
15140 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
15141 defun. Defining it as defalias could introduce too eager
15142 byte-compiler optimization. (Bug#14030)
15143
15144 2013-03-30 Chong Yidong <cyd@gnu.org>
15145
15146 * iswitchb.el (iswitchb-read-buffer): Fix typo.
15147
15148 2013-03-30 Leo Liu <sdl.web@gmail.com>
15149
15150 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
15151 (kmacro-execute-from-register): Pass the keyboard macro to
15152 kmacro-call-macro or repeating won't work correctly.
15153
15154 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
15155
15156 * progmodes/subword.el: Back to using `forward-symbol'.
15157
15158 * subr.el (forward-whitespace, forward-symbol)
15159 (forward-same-syntax): Move from thingatpt.el.
15160
15161 2013-03-29 Leo Liu <sdl.web@gmail.com>
15162
15163 * kmacro.el (kmacro-to-register): New command.
15164 (kmacro-execute-from-register): New function.
15165 (kmacro-keymap): Bind to 'x'. (Bug#14071)
15166
15167 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
15168
15169 * mpc.el: Use defvar-local and setq-local.
15170 (mpc--proc-connect): Connection failures are not bugs.
15171 (mpc-mode-map): `follow-link' only applies to the buffer's content.
15172 (mpc-volume-map): Bind to the up-events.
15173
15174 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
15175
15176 * progmodes/subword.el (superword-mode): Use `forward-sexp'
15177 instead of `forward-symbol'.
15178
15179 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
15180
15181 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
15182 (edebug--recursive-edit): Use it.
15183 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
15184 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
15185
15186 2013-03-28 Leo Liu <sdl.web@gmail.com>
15187
15188 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
15189
15190 2013-03-27 Eli Zaretskii <eliz@gnu.org>
15191
15192 * facemenu.el (list-colors-callback): New defvar.
15193 (list-colors-redisplay): New function.
15194 (list-colors-display): Install list-colors-redisplay as the
15195 revert-buffer-function. (Bug#14063)
15196
15197 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
15198
15199 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
15200 and suffixes don't overlap (bug#14061).
15201
15202 * case-table.el: Use lexical-binding.
15203 (case-table-get-table): New function.
15204 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
15205
15206 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
15207
15208 * progmodes/subword.el: Add `superword-mode' to do word motion
15209 over symbol_words (parallels and leverages `subword-mode' which
15210 does word motion inside MixedCaseWords).
15211
15212 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
15213
15214 * eshell/em-unix.el: Move su and sudo to...
15215 * eshell/em-tramp.el: ...Eshell tramp module.
15216
15217 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15218
15219 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
15220 Change return value to be a sexp. Delay `get-buffer' to after
15221 restoring the desktop (bug#13951).
15222
15223 2013-03-26 Leo Liu <sdl.web@gmail.com>
15224
15225 * register.el: Move semantic tag handling back to
15226 cedet/semantic/senator.el. (Bug#14052)
15227
15228 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15229
15230 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
15231 into the prompt either (bug#13963).
15232
15233 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
15234
15235 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
15236 part of "(error-foo)".
15237
15238 2013-03-24 Juri Linkov <juri@jurta.org>
15239
15240 * replace.el (list-matching-lines-prefix-face): New defcustom.
15241 (occur-1): Pass `list-matching-lines-prefix-face' to the function
15242 `occur-engine' if `face-differs-from-default-p' returns t.
15243 (occur-engine): Add `,' inside backquote construct to evaluate
15244 `prefix-face'. Propertize the prefix with the `prefix-face' face.
15245 Pass `prefix-face' to the functions `occur-context-lines' and
15246 `occur-engine-add-prefix'.
15247 (occur-engine-add-prefix, occur-context-lines): Add optional arg
15248 `prefix-face' and propertize the prefix with `prefix-face'.
15249 (Bug#14017)
15250
15251 2013-03-24 Leo Liu <sdl.web@gmail.com>
15252
15253 * nxml/rng-valid.el (rng-validate-while-idle)
15254 (rng-validate-quick-while-idle): Guard against deleted buffer.
15255 (Bug#13999)
15256
15257 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
15258 is the last entry in kill-buffer-hook.
15259
15260 * files.el (kill-buffer-hook): Doc fix.
15261
15262 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
15263
15264 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
15265 Make it safe-local.
15266
15267 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
15268
15269 2013-03-23 Leo Liu <sdl.web@gmail.com>
15270
15271 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
15272 Remove.
15273
15274 * nxml/rng-valid.el (rng-validate-mode)
15275 (rng-after-change-function, rng-do-some-validation):
15276 * nxml/rng-maint.el (rng-validate-buffer):
15277 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
15278 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
15279 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
15280 (nxml-extend-after-change-region): Use with-silent-modifications.
15281
15282 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
15283 timer-idle-list.
15284
15285 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
15286 (rng-next-error-1, rng-previous-error-1): Do not let-bind
15287 timer-idle-list. (Bug#13999)
15288
15289 2013-03-23 Juri Linkov <juri@jurta.org>
15290
15291 * info.el (info-index-match): New face.
15292 (Info-index, Info-apropos-matches): Add a nested subgroup to the
15293 main pattern and add text properties with the new face to matches
15294 in index entries relative to the beginning of the index entry.
15295 (Bug#14015)
15296
15297 2013-03-21 Eric Ludlam <zappo@gnu.org>
15298
15299 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
15300 Inhibit read only while inserting objects.
15301
15302 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
15303
15304 * progmodes/cfengine.el: Update docs to mention
15305 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
15306 symbol motion. Remove "_" from the word syntax.
15307
15308 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
15309
15310 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
15311 syntax for both `cfengine2-mode' and `cfengine3-mode'.
15312
15313 2013-03-20 Juri Linkov <juri@jurta.org>
15314
15315 * info.el (Info-next-reference-or-link)
15316 (Info-prev-reference-or-link): New functions.
15317 (Info-next-reference, Info-prev-reference): Use them.
15318 (Info-try-follow-nearest-node): Handle footnote navigation.
15319 (Info-fontify-node): Fontify footnotes. (Bug#13989)
15320
15321 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
15322
15323 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
15324 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
15325
15326 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
15327
15328 Suppress unnecessary non-ASCII chatter during build process.
15329 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
15330 (batch-skkdic-convert): Suppress most of the chatter.
15331 It's not needed so much now that machines are faster,
15332 and its non-ASCII component was confusing; see Dmitry Gutov in
15333 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
15334
15335 2013-03-20 Leo Liu <sdl.web@gmail.com>
15336
15337 * ido.el (ido-chop): Fix bug#10994.
15338
15339 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
15340
15341 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
15342 Remove vars.
15343 (whitespace-color-on, whitespace-color-off):
15344 Use `font-lock-fontify-buffer' (Bug#13817).
15345
15346 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
15347
15348 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
15349 remapping in mode-line.
15350 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
15351
15352 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
15353
15354 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
15355 value for `whitespace-line' face (Bug#13875).
15356 (whitespace-font-lock-keywords): Change description.
15357 (whitespace-color-on): Don't save `font-lock-keywords' value, save
15358 the constructed keywords instead.
15359 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
15360
15361 2013-03-19 Leo Liu <sdl.web@gmail.com>
15362
15363 * progmodes/compile.el (compilation-display-error): New command.
15364 (compilation-mode-map, compilation-minor-mode-map): Bind it to
15365 C-o. (Bug#13992)
15366
15367 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
15368
15369 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
15370
15371 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
15372
15373 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
15374
15375 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
15376
15377 * net/tramp-compat.el (tramp-compat-user-error): New defun.
15378
15379 * net/tramp-adb.el (tramp-adb-handle-shell-command):
15380 * net/tramp-gvfs.el (top):
15381 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
15382 (tramp-handle-shell-command): Use it.
15383 (tramp-dissect-file-name): Raise an error when hostname is a
15384 method name, and neither method nor user is specified.
15385
15386 * net/trampver.el: Update release number.
15387
15388 2013-03-18 Leo Liu <sdl.web@gmail.com>
15389
15390 Make sure eldoc can be turned off properly.
15391 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
15392 eldoc-mode.
15393 (eldoc-display-message-p): Revert last change.
15394 (eldoc-display-message-no-interference-p)
15395 (eldoc-print-current-symbol-info): Tweak.
15396
15397 2013-03-18 Tassilo Horn <tsdh@gnu.org>
15398
15399 * doc-view.el (doc-view-new-window-function): Check the new window
15400 overlay's display property instead the char property of the
15401 buffer's first char. Use `with-selected-window' instead of
15402 `save-window-excursion' with `select-window'.
15403 (doc-view-document->bitmap): Check the current doc-view overlay's
15404 display property instead the char property of the buffer's first char.
15405
15406 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
15407
15408 Automate the build of ja-dic.el (Bug#13984).
15409 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
15410 from the input, rather than assume that it's been done for us by the
15411 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
15412 the current date into a ja-dic.el comment, as that complicates
15413 regression testing.
15414
15415 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
15416
15417 * whitespace.el: Fix double evaluation.
15418 (whitespace-space, whitespace-hspace, whitespace-tab)
15419 (whitespace-newline, whitespace-trailing, whitespace-line)
15420 (whitespace-space-before-tab, whitespace-indentation)
15421 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
15422 obsolete defvars.
15423 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
15424 (whitespace-color-on): Use a single font-lock-add-keywords call.
15425 Fix double-evaluation of face variables.
15426
15427 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
15428
15429 * net/tramp-adb.el (tramp-adb-parse-device-names):
15430 Use `start-process' instead of `call-process'. Otherwise, the
15431 function might be blocked under MS Windows. (Bug#13299)
15432
15433 2013-03-17 Leo Liu <sdl.web@gmail.com>
15434
15435 Extend eldoc to display info in the mode-line. (Bug#13978)
15436 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
15437 (eldoc-mode-line-string): New variable.
15438 (eldoc-minibuffer-message): New function.
15439 (eldoc-message-function): New variable.
15440 (eldoc-message): Use it.
15441 (eldoc-display-message-p)
15442 (eldoc-display-message-no-interference-p):
15443 Support eldoc-post-insert-mode.
15444
15445 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
15446 (eval-expression): Run it.
15447
15448 2013-03-17 Roland Winkler <winkler@gnu.org>
15449
15450 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
15451 strings in the list of return values.
15452
15453 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
15454
15455 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
15456 radix before checking for HMS forms.
15457
15458 2013-03-16 Leo Liu <sdl.web@gmail.com>
15459
15460 * progmodes/scheme.el: Add indentation and font-locking for λ.
15461 (Bug#13975)
15462
15463 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
15464
15465 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
15466 token before point (bug#13942).
15467
15468 2013-03-16 Leo Liu <sdl.web@gmail.com>
15469
15470 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
15471
15472 2013-03-16 Eli Zaretskii <eliz@gnu.org>
15473
15474 * startup.el (command-line-normalize-file-name): Fix handling of
15475 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
15476 <xfq.free@gmail.com> in
15477 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
15478
15479 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
15480
15481 Sync with Tramp 2.2.7.
15482
15483 * net/trampver.el: Update release number.
15484
15485 2013-03-14 Tassilo Horn <tsdh@gnu.org>
15486
15487 * doc-view.el: Fix bug#13887.
15488 (doc-view-insert-image): Don't modify overlay associated to
15489 non-live windows, and implement horizontal centering of image in
15490 case it's smaller than the window.
15491 (doc-view-new-window-function): Force redisplay of new windows on
15492 doc-view buffers.
15493
15494 2013-03-13 Karl Fogel <kfogel@red-bean.com>
15495
15496 * saveplace.el (save-place-alist-to-file): Don't sort
15497 `save-place-alist', just pretty-print it (bug#13882).
15498
15499 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
15500
15501 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
15502 Check whether `default-file-name-coding-system' is bound.
15503 It isn't in XEmacs.
15504
15505 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
15506
15507 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
15508 backquotes for `obsolete' (bug#13929).
15509
15510 * international/mule.el (find-auto-coding): Include file name in
15511 obsolescence warning (bug#13922).
15512
15513 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
15514
15515 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
15516 for CFEngine 3-specific indentation.
15517 (cfengine3-indent-line): Use it. Fix up category regex.
15518 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
15519
15520 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15521
15522 * type-break.el (type-break-file-name):
15523 * textmodes/remember.el (remember-data-file):
15524 * strokes.el (strokes-file):
15525 * shadowfile.el (shadow-initialize):
15526 * saveplace.el (save-place-file):
15527 * ps-bdf.el (bdf-cache-file):
15528 * progmodes/idlwave.el (idlwave-config-directory):
15529 * net/quickurl.el (quickurl-url-file):
15530 * international/kkc.el (kkc-init-file-name):
15531 * ido.el (ido-save-directory-list-file):
15532 * emulation/viper.el (viper-custom-file-name):
15533 * emulation/vip.el (vip-startup-file):
15534 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
15535 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
15536
15537 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
15538
15539 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
15540 * language/thai-word.el: Switch to UTF-8.
15541
15542 See ChangeLog.16 for earlier changes.
15543
15544 ;; Local Variables:
15545 ;; coding: utf-8
15546 ;; End:
15547
15548 Copyright (C) 2011-2014 Free Software Foundation, Inc.
15549
15550 This file is part of GNU Emacs.
15551
15552 GNU Emacs is free software: you can redistribute it and/or modify
15553 it under the terms of the GNU General Public License as published by
15554 the Free Software Foundation, either version 3 of the License, or
15555 (at your option) any later version.
15556
15557 GNU Emacs is distributed in the hope that it will be useful,
15558 but WITHOUT ANY WARRANTY; without even the implied warranty of
15559 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15560 GNU General Public License for more details.
15561
15562 You should have received a copy of the GNU General Public License
15563 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.