* lisp/dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated to `soft'.
[bpt/emacs.git] / lisp / ChangeLog
1 2014-06-18 Juri Linkov <juri@jurta.org>
2
3 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
4 to `soft'. (Bug#17554)
5
6 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7
8 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
9 (bug#17737).
10
11 2014-06-16 Dmitry <dgutov@yandex.ru>
12
13 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
14 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
15
16 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
17
18 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
19 `unread-command-events'.
20
21 2014-06-14 Glenn Morris <rgm@gnu.org>
22
23 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
24 Replace delete-duplicates and mapcan by cl- versions throughout.
25 And cl-macroexpand-all by macroexpand-all.
26 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
27
28 2014-06-14 Eli Zaretskii <eliz@gnu.org>
29
30 * subr.el (posn-col-row): Doc fix. (Bug#17768)
31
32 2014-06-14 Juri Linkov <juri@jurta.org>
33
34 * bindings.el: Put `ascii-character' property on keypad keys
35 mapped to characters. (Bug#17759)
36
37 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
38
39 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
40 bumping forward into a closing paren (bug#17761).
41
42 * term/xterm.el (xterm--version-handler): Work around for OSX
43 Terminal.app (bug#17607).
44
45 2014-06-08 Glenn Morris <rgm@gnu.org>
46
47 * startup.el (initial-buffer-choice): Doc fix.
48 Reset :version (adding an option does not merit a :version bump).
49
50 * bookmark.el (bookmark-load):
51 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
52
53 2014-06-06 Juri Linkov <juri@jurta.org>
54
55 * desktop.el: Activate auto-saving on window configuration changes.
56 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
57 `desktop-auto-save-set-timer' to/from `window-configuration-change-hook'.
58 (desktop-auto-save-set-timer): Change REPEAT arg of
59 `run-with-idle-timer' from t to nil.
60 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
61
62 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
63
64 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
65 vc-hg-command (bug#17570).
66
67 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
68
69 * international/mule-cmds.el (ucs-names): Add special entry for BEL
70 (bug#17702).
71
72 2014-06-06 Glenn Morris <rgm@gnu.org>
73
74 * startup.el (window-setup-hook): Doc fix.
75
76 2014-06-05 Glenn Morris <rgm@gnu.org>
77
78 * emacs-lisp/package.el (package-check-signature)
79 (package-unsigned-archives): Doc fixes.
80
81 2014-06-03 Martin Rudalics <rudalics@gmx.at>
82
83 * window.el (display-buffer-use-some-window): Don't make window
84 used smaller than it was before (Bug#17671).
85
86 2014-06-03 Eli Zaretskii <eliz@gnu.org>
87
88 * menu-bar.el (menu-bar-open): Fix last change: use the PC
89 'redisplay' instead of '(sit-for 0)'.
90
91 2014-06-03 Michael Albinus <michael.albinus@gmx.de>
92
93 * net/tramp.el (tramp-ssh-controlmaster-options): Improve search
94 regexp. (Bug#17653)
95
96 2014-06-03 Glenn Morris <rgm@gnu.org>
97
98 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
99
100 2014-06-02 Eli Zaretskii <eliz@gnu.org>
101
102 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
103
104 2014-06-01 Eli Zaretskii <eliz@gnu.org>
105
106 * simple.el (keyboard-quit): Force update of mode lines, to remove
107 the "Def" indicator, if we were defining a macro. (Bug#17615)
108
109 2014-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
110
111 * minibuffer.el (minibuffer-force-complete-and-exit):
112 Obey minibuffer-default (bug#17545).
113
114 * progmodes/js.el (js-indent-line): Don't mix columns and chars
115 (bug#17619).
116
117 2014-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
118
119 * subr.el (set-transient-map): Don't wait for some "nested"
120 transient-map to finish if we're only supposed to be active for
121 the next command (bug#17642).
122
123 2014-05-31 Leo Liu <sdl.web@gmail.com>
124
125 * emacs-lisp/gv.el (window-buffer, window-display-table)
126 (window-dedicated-p, window-hscroll, window-point, window-start):
127 Fix gv-expander. (Bug#17630)
128
129 2014-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
130
131 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
132 clicks (bug#17633).
133
134 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
135 for the single comma, since ", " is *very* common in normal French text
136 (bug#17643).
137
138 2014-05-30 Glenn Morris <rgm@gnu.org>
139
140 * emacs-lisp/package.el (package-check-signature)
141 (package-unsigned-archives): Fix :version.
142
143 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
144
145 * subr.el (sit-for): Don't run input-methods (bug#15614).
146
147 2014-05-28 Glenn Morris <rgm@gnu.org>
148
149 * cus-start.el: Fix some :version numbers.
150
151 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
152
153 * simple.el (deactivate-mark): Set mark-active to nil even if
154 deactivation is done via setting transient-mark-mode to nil,
155 since one is buffer-local and the other is global.
156
157 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
158 there can't be more than 2 arguments (bug#17584).
159
160 2014-05-27 Glenn Morris <rgm@gnu.org>
161
162 * simple.el (filter-buffer-substring-functions)
163 (filter-buffer-substring-function, buffer-substring-filters)
164 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
165
166 * minibuffer.el (completion-in-region-functions, completion-in-region)
167 (completion--in-region): Doc fixes.
168
169 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
170 (expand-abbrev, abbrev--default-expand): Doc fixes.
171
172 2014-05-26 Paul Eggert <eggert@cs.ucla.edu>
173
174 Include sources used to create macuvs.h.
175 * international/README: Refer to the Unicode Terms of Use rather
176 than copying it bodily here, as that simplifies maintenance.
177
178 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
179
180 * cus-face.el (custom-face-attributes): Add :distant-foreground.
181
182 2014-05-25 Martin Rudalics <rudalics@gmx.at>
183
184 * window.el (window--dump-frame): Remove interactive
185 specification.
186
187 2014-05-23 Glenn Morris <rgm@gnu.org>
188
189 * hippie-exp.el (he-line-search-regexp):
190 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
191
192 2014-05-23 Stephen Berman <stephen.berman@gmx.net>
193
194 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
195 to avoid errors when trying to create or visit a file foo.todo
196 located outside to todo-directory, and to allow having such files
197 without them being tied to Todo mode (bug#17482).
198 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
199 (todo-archive-done-item, todo-find-filtered-items-file)
200 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
201 (todo-category-completions, todo-read-category): When visiting a
202 Todo file, make sure we're in the right mode and the buffer local
203 variables are set.
204 (todo-make-categories-list, todo-reset-nondiary-marker)
205 (todo-reset-done-string, todo-reset-comment-string):
206 After processing all Todo files, kill the buffers of those files that
207 weren't being visited before the processing.
208 (todo-display-as-todo-file, todo-add-to-buffer-list)
209 (todo-visit-files-commands): Comment out.
210 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
211 (auto-mode-alist): Remove add-to-list calls making Todo file
212 extensions unrestrictedly tied to Todo modes.
213
214 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
215
216 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
217 (advice-function-member-p): Tell it to check both names and functions
218 (bug#17531).
219 (advice--add-function): Adjust call accordingly.
220
221 2014-05-23 Stephen Berman <stephen.berman@gmx.net>
222
223 * calendar/todo-mode.el: Miscellaneous bug fixes.
224 (todo-delete-file): When deleting an archive but not its todo
225 file, make sure to update the todo file's category sexp.
226 (todo-move-category): Keep the moved category's name unless the
227 file moved to already has a category with that name. If the
228 numerically last category of the source file was moved, make the
229 first category current to avoid selecting a nonexisting category.
230 (todo-merge-category): Fix implementation to make merging to a
231 category in another file work as documented. Eliminate now
232 insufficient and unnecessary renaming of archive category, correct
233 document string accordingly, and clarify it. If the numerically
234 last category of the source file was merged, make the first
235 category current to avoid selecting a nonexisting category.
236 (todo-archive-done-item): When there are marked items and point
237 happens to be on an unmarked item, ignore the latter. Don't leave
238 point below last item after archiving marked items.
239 (todo-unarchive-items): Fix logic to ensure unarchiving an item
240 from an archive with only one category deletes the archive only
241 when the category is empty after unarchiving. Make sure the todo
242 file's category sexp is updated.
243 (todo-read-file-name): Allow an existing file name even when it is
244 not required (todo-move-category needs this to work as documented).
245 (todo-add-file): Call todo-validate-name to reject the name of an
246 existing todo file (needed due to fix in todo-read-file-name).
247 (todo-reset-nondiary-marker): Also reset in filtered items files.
248 (todo-reset-done-string, todo-reset-comment-string): Also reset in
249 regexp filtered items files.
250 (todo-reset-highlight-item): Also reset in filtered items files.
251 Fix incorrect variable reference in document string.
252
253 2014-05-22 Glenn Morris <rgm@gnu.org>
254
255 * window.el (window--dump-frame): Avoid error in --without-x builds.
256
257 2014-05-21 Glenn Morris <rgm@gnu.org>
258
259 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
260
261 2014-05-21 Eli Zaretskii <eliz@gnu.org>
262
263 * frame.el (set-frame-font): Doc fix.
264
265 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
266
267 2014-05-21 Dmitry Gutov <dgutov@yandex.ru>
268
269 * emacs-lisp/package.el (package--download-one-archive):
270 Use `write-region' instead of `save-buffer' to avoid running various
271 hooks. (Bug#17155)
272 (describe-package-1): Same. Insert newline at the end of the
273 buffer if appropriate.
274
275 2014-05-20 Juri Linkov <juri@jurta.org>
276
277 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
278 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
279 Add more modifiers: meta, control, shift, hyper, super, alt.
280 (Bug#17439)
281
282 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
283 to allow changing its value with `set-variable'.
284
285 2014-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
286
287 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
288 #; comments.
289 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
290 New functions.
291 (scheme-mode-variables): Set syntax-propertize-function instead of
292 font-lock-syntactic-face-function.
293 (scheme-font-lock-syntactic-face-function): Delete.
294
295 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
296
297 2014-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
298
299 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
300 (bug#17392).
301
302 2014-05-17 Michael Albinus <michael.albinus@gmx.de>
303
304 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
305 for a temporary file name.
306
307 2014-05-17 Eli Zaretskii <eliz@gnu.org>
308
309 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
310
311 2014-05-16 Michael Albinus <michael.albinus@gmx.de>
312
313 * net/dbus.el (dbus-init-bus, dbus-call-method)
314 (dbus-call-method-asynchronously, dbus-send-signal)
315 (dbus-method-return-internal, dbus-method-error-internal):
316 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
317
318 2014-05-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
319
320 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
321 methods which do not have a doc string. (Bug#17490)
322
323 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
324 Stefan Monnier <monnier@iro.umontreal.ca>
325
326 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
327 suffix (bug#15419).
328
329 2014-05-14 Glenn Morris <rgm@gnu.org>
330
331 * vc/emerge.el (emerge-temp-file-prefix):
332 Make pointless option obsolete.
333 (emerge-temp-file-mode): Make non-functional option obsolete.
334
335 2014-05-13 Michael Albinus <michael.albinus@gmx.de>
336
337 * net/browse-url.el (browse-url):
338 Use `unhandled-file-name-directory' when setting `default-directory',
339 in order to circumvent stalled remote connections. (Bug#17425)
340
341 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
342
343 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
344 into autoloading just because of a silly indirection.
345
346 2014-05-11 Santiago Payà i Miralta <santiagopim@gmail.com> (tiny change)
347
348 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
349
350 2014-05-11 Glenn Morris <rgm@gnu.org>
351
352 * emacs-lisp/find-gc.el: Move to ../admin.
353
354 2014-05-10 Glenn Morris <rgm@gnu.org>
355
356 * printing.el (pr-version):
357 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
358
359 * net/browse-url.el (browse-url-mosaic):
360 Create /tmp/Mosaic.PID as a private file.
361
362 2014-05-10 Stefan Monnier <monnier@iro.umontreal.ca>
363
364 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
365 (advice--member-p): If name is given, only compare the name.
366 (advice--remove-function): Don't stop at the first match.
367 (advice--normalize-place): New function.
368 (add-function, remove-function): Use it.
369 (advice--add-function): Pass the name, if any, to
370 advice--remove-function.
371
372 2014-05-09 Philipp Rumpf <prumpf@gmail.com> (tiny change)
373
374 * electric.el (electric-indent-post-self-insert-function): Don't use
375 `pos' after modifying the buffer (bug#17449).
376
377 2014-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
378
379 * subr.el (function-put): Add function.
380
381 2014-05-09 Stephen Berman <stephen.berman@gmx.net>
382
383 * calendar/todo-mode.el (todo-insert-item-from-calendar):
384 Correct argument list to conform to todo-insert-item--basic.
385
386 2014-05-09 Glenn Morris <rgm@gnu.org>
387
388 * files.el (cd-absolute): Test if directory is accessible
389 rather than executable. (Bug#17330)
390
391 * progmodes/compile.el (recompile):
392 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
393
394 2014-05-08 Juri Linkov <juri@jurta.org>
395
396 * dired.el (dired-check-switches, dired-switches-recursive-p):
397 New functions. (Bug#17218)
398 (dired-switches-escape-p, dired-move-to-end-of-filename):
399 Use `dired-check-switches'.
400 (dired-insert-old-subdirs, dired-build-subdir-alist)
401 (dired-sort-R-check): Use `dired-switches-recursive-p'.
402
403 2014-05-08 Glenn Morris <rgm@gnu.org>
404
405 * net/browse-url.el (browse-url-mosaic):
406 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
407 This is CVE-2014-3423.
408
409 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
410
411 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
412 (xterm-mouse--read-event-sequence-1000): Return nil if something
413 looks fishy.
414 (xterm-mouse-event): Propagate it.
415 (xterm-mouse-translate-1): Handle it.
416
417 2014-05-07 Stephen Berman <stephen.berman@gmx.net>
418
419 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
420 four slots of the parameter list are filled, make sure to pass it
421 to the argument list of todo-insert-item--basic.
422
423 2014-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
424
425 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
426 Add optional `seen' argument to detect and break infinite loops.
427
428 2014-05-06 Eli Zaretskii <eliz@gnu.org>
429
430 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
431 (trace-unsafe, trace-use-tree): Make parentheses style be
432 according to Emacs style.
433
434 2014-05-06 Michael Albinus <michael.albinus@gmx.de>
435
436 * net/tramp-sh.el (tramp-remote-process-environment):
437 Remove HISTFILE and HISTSIZE; it's too late to set them here.
438 Add :version entry.
439 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
440 Add "HISTFILE=/dev/null" to the shell's env arguments. Do not send
441 extra "PSx=..." commands.
442 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
443 (Bug#17295)
444
445 (tramp-uudecode): Replace the hard-coded temporary file name by a
446 format specifier.
447 (tramp-remote-coding-commands): Enhance docstring.
448 (tramp-find-inline-encoding): Replace "%t" by a temporary file
449 name. (Bug#17415)
450 This is CVE-2014-3424.
451
452 2014-05-06 Glenn Morris <rgm@gnu.org>
453
454 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
455 (find-gc-source-files): Update some names.
456 (trace-call-tree): Simplify and update.
457 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
458 This is CVE-2014-3422.
459
460 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
461
462 * minibuffer.el (completion--try-word-completion): Revert fix for
463 Bug#15980 (bug#17375).
464
465 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
466 Always store button numbers in the same way in xterm-mouse-last;
467 Don't burp is xterm-mouse-last is not set as expected.
468 Never return negative indices.
469
470 2014-05-05 Dmitry Gutov <dgutov@yandex.ru>
471
472 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
473 Backtrack one char if the global/char-literal var matcher hits
474 inside a string. The next char could be the beginning of an
475 expression expansion.
476
477 2014-05-05 Glenn Morris <rgm@gnu.org>
478
479 * help-fns.el (describe-function-1): Test for an autoload before a
480 macro, since `macrop' works on autoloads. (Bug#17410)
481
482 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
483
484 * electric.el (electric-indent-functions-without-reindent): Add yaml.
485
486 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
487 Make sure the new point we return is within the new string (bug#17239).
488
489 2014-05-03 Eli Zaretskii <eliz@gnu.org>
490
491 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
492
493 2014-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
494
495 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
496 Use nil rather than `default' for the "default" appearance (bug#17388).
497 * vc/ediff-util.el (ediff-inferior-compare-regions)
498 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
499 a misleading `default' value when it's really a boolean.
500 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
501 overlay is not visible.
502
503 2014-05-02 Stephen Berman <stephen.berman@gmx.net>
504
505 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
506 (todo-menu): Uncomment and update.
507
508 2014-05-02 Stephen Berman <stephen.berman@gmx.net>
509
510 * calendar/todo-mode.el: Reimplement item editing to have the same
511 basic user interface as item insertion, and make small UI and
512 larger internal improvements to the latter.
513 (todo-insert-item): Add reference to the Todo mode user manual to
514 the documentation string.
515 (todo-insert-item--basic): Rename from todo-basic-insert-item and
516 adjust all callers. Change signature to combine diary and
517 nonmarking arguments. Incorporate functionality of deleted item
518 copying command and add error checking. Remove detailed
519 descriptions of the arguments from the documentation string, since
520 this is treated in the Todo mode user manual.
521 (todo-copy-item, todo-edit-multiline-item)
522 (todo-edit-done-item-comment, todo-edit-item-header)
523 (todo-edit-item-time, todo-edit-item-date-from-calendar)
524 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
525 (todo-edit-item-date-year, todo-edit-item-date-month)
526 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
527 Remove.
528 (todo-edit-item): Reimplement as wrapper command for
529 todo-edit-item--next-key and make it distinguish done and not done
530 todo items.
531 (todo-edit-item--text): New function, replacing old command
532 todo-edit-item and incorporating deleted commands
533 todo-edit-multiline-item and todo-edit-done-item-comment.
534 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
535 Use only numeric value of prefix argument. Remove detailed
536 descriptions of the arguments from the documentation string, since
537 this is treated in the Todo mode user manual.
538 (todo-edit-item--diary-inclusion): New function, replacing old
539 command todo-edit-item-diary-inclusion and incorporating and fixing
540 functionality of deleted command todo-edit-item-diary-nonmarking,
541 making sure to remove todo-nondiary-marker when adding
542 diary-nonmarking-symbol.
543 (todo-edit-category-diary-inclusion): Make sure to delete
544 diary-nonmarking-symbol when adding todo-nondiary-marker.
545 (todo-edit-category-diary-nonmarking): Fix indentation.
546 (todo-insert-item--parameters): Group diary and nonmarking
547 parameters together.
548 (todo-insert-item--apply-args): Adjust to signature of
549 todo-insert-item--basic and incorporate copy parameter.
550 Make small code improvements.
551 (todo-insert-item--next-param): Improve prompt and adjust it to
552 new parameter grouping. Remove obsolete code.
553 (todo-edit-item--param-key-alist)
554 (todo-edit-item--date-param-key-alist)
555 (todo-edit-done-item--param-key-alist): New defconsts.
556 (todo-edit-item--prompt): New variable.
557 (todo-edit-item--next-key): New function.
558 (todo-key-bindings-t): Bind "e" to todo-edit-item.
559 Remove bindings of deleted commands.
560
561 2014-05-02 Leo Liu <sdl.web@gmail.com>
562
563 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
564
565 2014-05-01 Glenn Morris <rgm@gnu.org>
566
567 * allout-widgets.el (allout-widgets-tally)
568 (allout-decorate-item-guides):
569 * menu-bar.el (menu-bar-positive-p):
570 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
571 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
572 * progmodes/js.el (js--inside-param-list-p)
573 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
574 * progmodes/prolog.el (region-exists-p):
575 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
576 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
577 Doc fixes (replace `iff').
578
579 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
580
581 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
582
583 2014-04-30 Eli Zaretskii <eliz@gnu.org>
584
585 * dired.el (dired-initial-position-hook, dired-initial-position):
586 Doc string fixes.
587
588 2014-04-29 Glenn Morris <rgm@gnu.org>
589
590 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
591
592 2014-04-27 Matthias Dahl <matthias.dahl@binary-island.eu>
593
594 * faces.el (face-spec-recalc): Apply X resources only after the
595 defface spec has been applied. Thus, X resources are no longer
596 overriden by the defface spec which also fixes issues on win32 where
597 the toolbar coloring was wrong because it is set through X resources
598 and was (wrongfully) overriden. (Bug#16694)
599
600 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
601
602 * textmodes/rst.el (electric-pair-pairs): Declare.
603 (rst-mode): Set it (bug#17131).
604
605 2014-04-27 Juri Linkov <juri@jurta.org>
606
607 * desktop.el (desktop-value-to-string): Let-bind `print-length'
608 and `print-level' to nil. (Bug#17351)
609
610 2014-04-25 Nicolas Richard <theonewiththeevillook@yahoo.fr>
611
612 * battery.el (battery-update): Handle the case where battery
613 status is "N/A" (bug#17319).
614
615 2014-04-24 Eli Zaretskii <eliz@gnu.org>
616
617 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
618 Use equal-including-properties to compare help-echo strings (bug#17331).
619
620 2014-04-24 Leo Liu <sdl.web@gmail.com>
621
622 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
623 Fix syntax for @. (Bug#17325)
624
625 2014-04-24 Daniel Colascione <dancol@dancol.org>
626
627 * emacs-lisp/cl.el (gv): Require gv early to break eager
628 macro-expansion cycles.
629
630 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
631
632 * simple.el (region-active-p): Check there's a mark (bug#17324).
633
634 * simple.el (completion-list-mode-map): Use choose-completion for the
635 mouse binding as well (bug#17302).
636 (completion-list-mode, completion-setup-function): Adjust docstring and
637 echo area message accordingly.
638 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
639 calling convention of choose-completion.
640 * comint.el (comint-dynamic-list-completions):
641 * term.el (term-dynamic-list-completions): Accept choose-completion.
642
643 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
644 &, |, +, - and * can't be a division (bug#17317).
645
646 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
647
648 * term/xterm.el (xterm--version-handler): Don't use modern xterm
649 features on gnome-terminal (bug#16988).
650
651 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
652
653 * dired.el (dired-insert-set-properties): Do not consider
654 subdirectory headings and empty lines to be information that
655 `dired-hide-details-mode' should hide. (Bug#17228)
656
657 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
658
659 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
660 Remove test messages.
661 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
662 and `target' twice.
663
664 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
665
666 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
667 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
668
669 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
670
671 2014-04-21 Michael Albinus <michael.albinus@gmx.de>
672
673 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
674 Set "IFS=" when using read builtin, in order to preserve spaces in
675 the file name. Add test messages for hunting a bug on hydra.
676 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
677
678 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
679
680 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
681 Don't prettify a word within a symbol.
682
683 2014-04-20 Michael Albinus <michael.albinus@gmx.de>
684
685 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
686 possible.
687
688 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
689
690 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
691 assignments such as "case=hello" (bug#17297).
692
693 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
694
695 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
696 Do not autoload.
697 (tramp-file-name-handler, tramp-completion-file-name-handler):
698 Revert patch from 2014-04-10, it isn't necessary anymore.
699 (tramp-autoload-file-name-handler)
700 (tramp-register-autoload-file-name-handlers): New defuns.
701 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
702 (tramp-register-file-name-handlers): Remove also
703 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
704 Do not autoload its invocation, but eval it after loading of 'tramp.
705
706 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
707
708 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
709
710 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
711
712 * nxml/nxml-mode.el (nxml-fontify-matcher): Make sure propertization
713 was done (bug#17264).
714 * nxml/xmltok.el (xmltok-scan-after-comment-open): Extend unclosed
715 comment to EOB.
716
717 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
718 here-documents (bug#17262).
719
720 2014-04-16 Eli Zaretskii <eliz@gnu.org>
721
722 * term/pc-win.el (x-list-fonts, x-get-selection-value):
723 Provide doc strings, as required by snarf-documentation.
724
725 2014-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
726
727 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
728 arg of overlays-at. Use `invisible-p'.
729
730 * obsolete/lucid.el (extent-at):
731 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
732 overlays-at.
733 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
734
735 2014-04-14 João Távora <joaotavora@gmail.com>
736
737 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
738 links. (Bug#17217).
739
740 2014-04-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
741
742 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
743 Use mapc to loop over a vector. (Bug#17257).
744
745 2014-04-13 Michael Albinus <michael.albinus@gmx.de>
746
747 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
748 patch, there are new problems with file names containing spaces.
749 Get rid of backticks. (Bug#17238)
750
751 2014-04-13 João Távora <joaotavora@gmail.com>
752
753 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
754 possible bug.
755
756 2014-04-13 Eli Zaretskii <eliz@gnu.org>
757
758 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
759 (blink-cursor-mode): Mention customization variables and the
760 effect of 'blink-cursor-blinks'.
761
762 2014-04-12 Barry O'Reilly <gundaetiapo@gmail.com>
763
764 * simple.el (undo): Prevent insertion of identity mapping into
765 undo-equiv-table so as undo-only does not inf loop in the presence
766 of consecutive nils in undo list.
767
768 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
769
770 * faces.el (make-face): Deprecate optional argument as it is no
771 longer needed/used since the conditional X resources handling
772 has been pushed down to make-face-x-resource-internal itself.
773 (make-empty-face): Don't pass optional argument to make-face.
774
775 2014-04-12 Eli Zaretskii <eliz@gnu.org>
776
777 * international/characters.el <standard-case-table>: Add entries
778 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
779 Set category of Coptic characters be 'g' (Greek).
780
781 2014-04-12 Leo Liu <sdl.web@gmail.com>
782
783 * progmodes/octave.el (completion-table-with-cache): Define if not
784 available.
785 (octave-goto-function-definition)
786 (octave-sync-function-file-names)
787 (octave-find-definition-default-filename): Backquote upattern for
788 compatibility.
789
790 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
791
792 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
793 name twice due to backticks. (Bug#17238)
794
795 2014-04-11 Glenn Morris <rgm@gnu.org>
796
797 * term/w32-win.el (x-win-suspend-error):
798 * term/x-win.el (x-win-suspend-error): Sync docs.
799
800 2014-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
801
802 Ediff's overlay priorities cause more trouble than they solve.
803 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
804 (ediff-highest-priority): Remove function (bug#17234).
805 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
806 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
807 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
808 overlay priorities.
809
810 2014-04-10 Feng Li <fengli@gmail.com> (tiny change)
811
812 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
813 entry; use symbol boundaries to avoid mis-matches.
814
815 2014-04-10 Michael Albinus <michael.albinus@gmx.de>
816
817 * net/tramp.el (tramp-file-name-handler)
818 (tramp-completion-file-name-handler): Avoid recursive loading.
819
820 * net/tramp-sh.el (tramp-make-copy-program-file-name):
821 Quote result also locally.
822
823 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
824
825 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
826 Module methods. (Bug#17216)
827
828 2014-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
829
830 * help.el (describe-bindings): Fix buffer handling (bug#17210).
831 (describe-bindings-internal): Mark obsolete.
832
833 2014-04-07 João Távora <joaotavora@gmail.com>
834
835 * elec-pair.el:
836 (electric-pair--syntax-ppss): When inside comments parse from
837 comment beginning.
838 (electric-pair--balance-info): Fix typo in comment.
839 (electric-pair--in-unterminated-string-p): Delete.
840 (electric-pair--unbalanced-strings-p): New function.
841 (electric-pair-string-bound-function): New var.
842 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
843 according to `electric-pair--in-unterminated-string-p'
844
845 2014-04-07 João Távora <joaotavora@gmail.com>
846
847 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
848 Inhibit quote pairing if point-max is inside an unterminated string.
849 (electric-pair--looking-at-unterminated-string-p): Delete.
850 (electric-pair--in-unterminated-string-p): New function.
851
852 2014-04-07 Glenn Morris <rgm@gnu.org>
853
854 * shell.el (shell-directory-tracker):
855 Go back to just ignoring failures. (Bug#17159)
856
857 2014-04-06 João Távora <joaotavora@gmail.com>
858
859 Fix `electric-pair-delete-adjacent-pairs' in modes binding
860 backspace. (bug#16981)
861 * elec-pair.el (electric-pair-backward-delete-char): Delete.
862 (electric-pair-backward-delete-char-untabify): Delete.
863 (electric-pair-mode-map): Bind backspace to a menu item filtering
864 a new `electric-pair-delete-pair' command.
865 (electric-pair-delete-pair): New command.
866
867 2014-04-06 João Távora <joaotavora@gmail.com>
868
869 * progmodes/python.el (python-electric-pair-string-delimiter):
870 Fix triple-quoting electricity. (Bug#17192)
871
872 2014-04-06 João Távora <joaotavora@gmail.com>
873
874 * elec-pair.el (electric-pair-post-self-insert-function):
875 Don't skip whitespace when `electric-pair-text-pairs' and
876 `electric-pair-pairs' were used. syntax to
877 electric-pair--skip-whitespace. (Bug#17183)
878
879 2014-04-06 Eli Zaretskii <eliz@gnu.org>
880
881 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
882 "<F>". (Bug#17199)
883
884 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
885
886 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
887 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
888
889 2014-04-05 Glenn Morris <rgm@gnu.org>
890
891 * help.el (view-lossage): Doc tweak.
892
893 2014-04-05 Matthias Dahl <matthias.dahl@binary-island.eu>
894
895 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
896 only when inhibit-x-resources is nil, and do that earlier in the
897 function. Doc fix. (Bug#16694)
898 (face-spec-choose): Accept additional optional argument, whose
899 value is returned if no matching attributes are found.
900 (face-spec-recalc): Use the new optional argument when calling
901 face-spec-choose. (Bug#16378)
902 (make-face-x-resource-internal): Do nothing when
903 inhibit-x-resources is non-nil. Don't touch the default face if
904 reversed video is given--as was done in previous versions of Emacs.
905 (face-set-after-frame-default): Don't call
906 make-face-x-resource-internal here. (Bug#16434)
907
908 2014-04-04 Tassilo Horn <tsdh@gnu.org>
909
910 * doc-view.el (doc-view-bookmark-jump):
911 Use `bookmark-after-jump-hook' to jump to the right page after the
912 buffer is shown in a window. (bug#16090)
913
914 2014-04-04 Eli Zaretskii <eliz@gnu.org>
915
916 * international/characters.el (mirroring): Fix last change:
917 instead of loading uni-mirrored.el explicitly, do that implicitly
918 by creating the 'mirroring' uniprop table. This avoids announcing
919 the loading of uni-mirrored.el.
920
921 2014-04-04 Glenn Morris <rgm@gnu.org>
922
923 * files.el (buffer-stale--default-function)
924 (buffer-stale-function, revert-buffer--default):
925 * autorevert.el (auto-revert-buffers): Doc tweaks.
926
927 2014-04-03 Eli Zaretskii <eliz@gnu.org>
928
929 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
930
931 2014-04-03 Glenn Morris <rgm@gnu.org>
932
933 * files.el (make-backup-file-name-function)
934 (make-backup-file-name, make-backup-file-name--default-function)
935 (make-backup-file-name-1, find-backup-file-name)
936 (revert-buffer-function, revert-buffer-insert-file-contents-function)
937 (buffer-stale--default-function, buffer-stale-function)
938 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
939 (revert-buffer, revert-buffer--default)
940 (revert-buffer-insert-file-contents--default-function):
941 Doc fixes related to defaults no longer being nil.
942 (make-backup-file-name-function): Bump :version.
943 Restore nil as a valid but deprecated custom type.
944
945 2014-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
946
947 * progmodes/perl-mode.el (perl-syntax-propertize-function): Handle $'
948 used as a variable (bug#17174).
949
950 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
951
952 * progmodes/perl-mode.el (perl-indent-new-calculate):
953 Handle forward-sexp failure (bug#16985).
954 (perl-syntax-propertize-function): Add "foreach" and "for" statement
955 modifiers introducing expressions (bug#17116).
956
957 2014-04-02 Glenn Morris <rgm@gnu.org>
958
959 * menu-bar.el (menu-bar-file-menu):
960 * vc/ediff.el (ediff-current-file):
961 Update for revert-buffer-function no longer being nil by default.
962
963 * simple.el (command-execute): Respect nil disabled-command-function.
964
965 2014-04-01 Nicolas Richard <theonewiththeevillook@yahoo.fr>
966
967 * simple.el (command-execute): Do not execute the command when it
968 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
969
970 2014-03-29 Juri Linkov <juri@jurta.org>
971
972 * dired-aux.el (dired-compress-file): Don't use string-match-p
973 because its match data is used afterwards.
974
975 2014-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
976
977 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
978 0 like nil.
979
980 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
981
982 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
983 Highlight special globals with font-lock-builtin-face. (Bug#17057)
984
985 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
986 Don't propertize `?' or `!' as symbol constituent when after
987 colon. (Bug#17097)
988
989 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
990
991 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
992 which is no longer needed and causes trouble in GTK builds (bug#17046).
993
994 * emacs-lisp/package-x.el (package--archive-contents-from-url):
995 Use url-insert-file-contents; package-handle-response no longer exists.
996
997 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
998
999 * emacs-lisp/package.el: Fix bug#16733 (again).
1000 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
1001 (url-http-target-url): Remove unused declarations.
1002 (package-handle-response): Remove.
1003 (package--with-work-buffer): Use url-insert-file-contents and simplify.
1004 (package--download-one-archive): Use current-buffer instead of
1005 dynamic binding of `buffer'.
1006 (describe-package-1): Do not decode readme-string.
1007
1008 2014-03-25 Barry O'Reilly <gundaetiapo@gmail.com>
1009
1010 * simple.el (primitive-undo): Correction to 2014-03-24 change.
1011
1012 2014-03-25 Michael Albinus <michael.albinus@gmx.de>
1013
1014 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
1015
1016 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
1017 from 2014-03-07, it decreases performance unnecessarily. Let-bind
1018 `remote-file-name-inhibit-cache' to nil in the second pass.
1019 (tramp-find-executable): Do not call "which" on SunOS.
1020 (tramp-send-command-and-check): Fix docstring.
1021 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
1022 check whether source directory has set the sticky bit.
1023
1024 2014-03-24 Barry O'Reilly <gundaetiapo@gmail.com>
1025
1026 * simple.el (primitive-undo): Only process marker adjustments
1027 validated against their corresponding (TEXT . POS). Issue warning
1028 for lone marker adjustments in undo history. (Bug#16818)
1029 (undo-make-selective-list): Add marker adjustments to selective
1030 undo list based on whether their corresponding (TEXT . POS) is in
1031 the region. Remove variable adjusted-markers, which was unused
1032 and only non nil during undo-make-selective-list.
1033 (undo-elt-in-region): Return nil when passed a marker adjustment
1034 and explain in function doc.
1035
1036 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
1037
1038 * emacs-lisp/package.el (package--add-to-archive-contents):
1039 Include already installed and built-in packages in
1040 `package-archive-contents'.
1041 (package-install): Don't include already installed packages in the
1042 options during interactive invocation. (Bug#16762)
1043
1044 2014-03-24 Daniel Colascione <dancol@dancol.org>
1045
1046 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
1047 instead of cl-loop search function.
1048
1049 2014-03-24 Juanma Barranquero <lekktu@gmail.com>
1050
1051 * frameset.el (frameset--initial-params): Fix typo in parameter name.
1052
1053 2014-03-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1054
1055 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
1056
1057 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
1058
1059 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
1060 Match special global variables without curlies, too.
1061 (ruby-font-lock-keywords): Simplify the matcher for special global
1062 variables. Don't require a non-word character after the variable.
1063 (Bug#17057)
1064
1065 2014-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
1066
1067 * simple.el (redisplay-highlight-region-function): Increase priority of
1068 overlay to make sure boundaries are visible (bug#15899).
1069
1070 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
1071
1072 * frameset.el (frameset-restore): Compare display strings with equal.
1073
1074 * frame.el (make-frame): Don't quote display name in error message,
1075 it is already a string.
1076
1077 2014-03-23 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1078
1079 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
1080 the password.
1081
1082 2014-03-23 Dmitry Gutov <dgutov@yandex.ru>
1083
1084 * emacs-lisp/package.el (package-show-package-list): If the buffer
1085 is already displayed in another window, switch to that window.
1086
1087 2014-03-21 Daniel Colascione <dancol@dancol.org>
1088
1089 * mail/emacsbug.el (report-emacs-bug): Include memory usage
1090 information in bug reports.
1091
1092 2014-03-23 Daniel Colascione <dancol@dancol.org>
1093
1094 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
1095 list to look for keyword arguments instead of `memq', fixing
1096 (Bug#3647) --- unfortunately, only for freshly-compiled code.
1097 Please make bootstrap.
1098
1099 2014-03-23 Richard Stallman <rms@gnu.org>
1100
1101 * battery.el (battery-linux-sysfs): Search for each field
1102 from the beginning of the buffer.
1103
1104 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
1105
1106 * emacs-lisp/package.el (package-desc): Use the contents of the
1107 quoted form, not its cdr. (Bug#16873)
1108
1109 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
1110
1111 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
1112 benefit of doc.c; change parameter profile to match the X function.
1113
1114 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
1115
1116 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
1117 and `tramp-copy-env'.
1118
1119 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
1120 (tramp-maybe-open-connection): Handle `tramp-login-env'.
1121
1122 2014-03-21 Glenn Morris <rgm@gnu.org>
1123
1124 * electric.el (electric-indent-post-self-insert-function): Add doc.
1125
1126 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
1127
1128 * emacs-lisp/package.el (package-compute-transaction):
1129 Use `version-list-<=' to compare the requirement version against
1130 the version of package already to be installed. Update the error
1131 message. (Bug#16826)
1132
1133 * progmodes/ruby-mode.el (ruby-smie-rules):
1134 Add indentation rule for ` @ '. (Bug#17050)
1135
1136 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
1137
1138 * align.el (align-regexp): Remove superfluous backslash.
1139
1140 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
1141 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
1142 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
1143 Fix docstring typos.
1144 (ffap-next): Use C-u in docstring.
1145 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
1146 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
1147 Remove superfluous backslashes.
1148 (ffap-string-at-point): Reflow docstring.
1149
1150 * server.el (server-host): Reflow docstring.
1151 (server-unload-function): Fix docstring typo.
1152 (server-eval-at): Remove superfluous backslash.
1153
1154 * skeleton.el (skeleton-insert): Remove superfluous backslash.
1155 (skeleton-insert): Doc fix.
1156 (skeleton-insert): Reflow docstring.
1157
1158 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
1159 (tty-color-approximate, tty-color-by-index, tty-color-values)
1160 (tty-color-desc): Remove superfluous backslashes.
1161
1162 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
1163
1164 * electric.el (electric-newline-and-maybe-indent): New command.
1165 Bind it globally to C-j.
1166 (electric-indent-mode): Don't mess with the global map any more.
1167 Don't drop the post-self-insert-hook is some buffer is still using it
1168 (bug#16770).
1169
1170 * bindings.el (global-map): Remove C-j binding.
1171
1172 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
1173 the docstring of functions advised before dumping (bug#16993).
1174
1175 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
1176
1177 * ps-print.el (ps-generate-postscript-with-faces):
1178 Explicitly deactivate the mark (bug#16866).
1179 * simple.el (deactivate-mark): Update region highlight.
1180
1181 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
1182
1183 * emacs-lisp/package.el (describe-package-1):
1184 Decode commentary (bug#16733).
1185
1186 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
1187
1188 * custom.el (defcustom): Doc fix: recommend avoiding destructive
1189 modification of the value argument of :set (bug#16755).
1190
1191 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1192
1193 * simple.el (newline-and-indent): Do autofill (bug#17031).
1194
1195 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
1196
1197 * newcomment.el (comment-normalize-vars): Only add escaping check
1198 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
1199 (comment-beginning): Use `narrow-to-region' instead of moving back
1200 one character.
1201 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
1202 (comment-start-skip): Update the docstring.
1203
1204 2014-03-18 Richard Stallman <rms@gnu.org>
1205
1206 * dired.el (dired-display-file): Force use of other window.
1207
1208 2014-03-18 Daniel Colascione <dancol@dancol.org>
1209
1210 * startup.el (tty-handle-args): Remove debug message from 2007.
1211
1212 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
1213
1214 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
1215 (advice--make-interactive-form): Use it to avoid (auto)loading function.
1216 (advice--make-1, advice-add, advice-remove):
1217 Remove braindead :advice-pending hack.
1218
1219 2014-03-17 Glenn Morris <rgm@gnu.org>
1220
1221 * calendar/calendar.el (calendar-generate-month): Apply weekend
1222 face to the right days; fixes 2013-08-06 change. (Bug#17028)
1223
1224 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
1225
1226 * net/tramp.el (tramp-action-out-of-band): Read pending output.
1227 (tramp-call-process): Trace also DESTINATION.
1228
1229 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1230 Quote file names when they are local. Remove superfluous trace.
1231
1232 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
1233
1234 * newcomment.el (comment-beginning): If `comment-start-skip'
1235 doesn't match, move back one char and try again. (Bug#16971)
1236
1237 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1238 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
1239 Set `comment-start-skip' to a simpler value that doesn't try to
1240 check if the semicolon is escaped (this is handled by
1241 `syntax-ppss' now). (Bug#16971)
1242
1243 * progmodes/scheme.el (scheme-mode-variables): Same.
1244
1245 2014-03-16 Martin Rudalics <rudalics@gmx.at>
1246
1247 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
1248 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
1249 current (Bug#16816, Bug#17007).
1250 (with-current-buffer-window): New macro doing the same as
1251 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
1252 * help.el (help-print-return-message): Warn in doc-string to not
1253 use this in `with-help-window'.
1254 (describe-bindings-internal): Call `describe-buffer-bindings'
1255 from within help buffer. See Juanma's scenario in (Bug#16816).
1256 (with-help-window): Update doc-string.
1257 * dired.el (dired-mark-pop-up):
1258 * files.el (save-buffers-kill-emacs):
1259 * register.el (register-preview): Use `with-current-buffer-window'
1260 instead of `with-temp-buffer-window'.
1261
1262 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
1263
1264 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
1265 Implement inserting into current buffer, documented in their docstrings.
1266 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
1267 (rst-section-tree-point, rst-forward-section, rst-indent)
1268 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
1269 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
1270 (rst-font-lock-handle-adornment-pre-match-form)
1271 (rst-repeat-last-character): Reflow docstrings.
1272 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
1273 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
1274 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
1275 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
1276 Fix docstring typos.
1277 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
1278 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
1279 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
1280
1281 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
1282
1283 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
1284 for compatibility with other ports.
1285 (ns-initialize-window-system): Use it. It is set in term/common-win.el
1286 from the -xrm command line argument, but in the Nextstep port its value
1287 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
1288
1289 * progmodes/python.el (defconst, python-syntax-count-quotes)
1290 (python-indent-region, python-indent-shift-right)
1291 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
1292 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
1293 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
1294 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
1295 (inferior-python-mode, python-shell-make-comint, run-python-internal)
1296 (python-shell-buffer-substring, python-shell-send-buffer)
1297 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
1298 (python-completion-complete-at-point, python-fill-docstring-style)
1299 (python-eldoc-function, python-imenu-format-item-label)
1300 (python-imenu-format-parent-item-label)
1301 (python-imenu-format-parent-item-jump-label)
1302 (python-imenu--build-tree, python-imenu-create-index)
1303 (python-imenu-create-flat-index): Fix docstring typos.
1304 (python-indent-context, python-shell-prompt-regexp, run-python):
1305 Remove superfluous backslashes.
1306 (python-indent-line, python-nav-beginning-of-defun)
1307 (python-shell-get-buffer, python-shell-get-process)
1308 (python-info-current-defun, python-info-current-line-comment-p)
1309 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
1310 (python-indent-post-self-insert-function, python-shell-send-file)
1311 (python-shell-completion-get-completions)
1312 (python-shell-completion-complete-or-indent)
1313 (python-eldoc--get-doc-at-point): Reflow docstrings.
1314
1315 2014-03-14 Glenn Morris <rgm@gnu.org>
1316
1317 * emacs-lisp/package.el (package-menu-mode-map):
1318 Replace use of obsolete function alias. Tweak menu item text.
1319
1320 * info.el (Info-finder-find-node):
1321 Ignore the `emacs' metapackage. (Bug#10813)
1322
1323 * finder.el (finder-list-matches): Include unversioned packages
1324 in the result of a keyword search.
1325
1326 * finder.el (finder--builtins-descriptions): New constant.
1327 (finder-compile-keywords): Use finder--builtins-descriptions.
1328
1329 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
1330
1331 * simple.el (blink-matching-paren): Describe the new value,
1332 `jump', enabling the old behavior.
1333 (blink-matching-open): Use that value. (Bug#17008)
1334
1335 2014-03-14 Glenn Morris <rgm@gnu.org>
1336
1337 * finder.el (finder-no-scan-regexp): Add leim-list.
1338 (finder-compile-keywords):
1339 Don't skip files with same basename. (Bug#14010)
1340 * Makefile.in (setwins_finder): New, excluding leim.
1341 (finder-data): Use setwins_finder.
1342
1343 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
1344 (help-function-arglist, help-make-usage): Move from here...
1345 * help.el (help-split-fundoc, help-add-fundoc-usage)
1346 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
1347 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
1348
1349 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
1350
1351 * net/socks.el (socks, socks-override-functions)
1352 (socks-find-services-entry):
1353 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
1354 (hif-find-ifdef-block):
1355 * progmodes/modula2.el (m2-indent): Fix docstring typos.
1356
1357 * net/tls.el (tls-program): Reflow docstring.
1358
1359 * progmodes/pascal.el (pascal-mode-abbrev-table)
1360 (pascal-imenu-generic-expression, pascal-auto-endcomments)
1361 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
1362 (pascal-outline-mode): Fix docstring typos.
1363 (pascal-mode): Let define-derived-mode document mode hook.
1364 (pascal-uncomment-area): Reflow.
1365 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
1366
1367 * progmodes/opascal.el (opascal-compound-block-indent)
1368 (opascal-case-label-indent): Fix docstring typos.
1369 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
1370
1371 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
1372
1373 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1374 Fontify multiple adjacent negation chars. (Bug#17004)
1375
1376 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
1377
1378 * emacs-lisp/package.el (package--prepare-dependencies):
1379 Accept requirements without explicit version (bug#14941).
1380
1381 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
1382
1383 * register.el (register-separator, copy-to-register): Doc fixes.
1384 (register-preview-default): Remove unnecessary call to concat.
1385
1386 * frameset.el (frameset-restore): When checking for a visible frame,
1387 use the action map instead of calling visible-frame-list.
1388
1389 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
1390
1391 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
1392
1393 2014-03-12 Martin Rudalics <rudalics@gmx.at>
1394
1395 * window.el (fit-frame-to-buffer): Get maximum width from
1396 display's width instead of height.
1397
1398 2014-03-12 Glenn Morris <rgm@gnu.org>
1399
1400 * desktop.el (desktop-restore-frames)
1401 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
1402 (desktop-restore-reuses-frames): Doc tweaks.
1403
1404 * electric.el (electric-indent-mode): Doc fix.
1405
1406 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
1407
1408 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
1409 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
1410 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
1411 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
1412 (cvs-dired-use-hook): Fix docstring typos.
1413 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
1414 Doc fixes.
1415
1416 * vc/pcvs-defs.el (cvs-auto-remove-handled)
1417 (cvs-auto-remove-directories, cvs-default-ignore-marks)
1418 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
1419 (cvs-execute-single-dir): Fix docstring typos.
1420
1421 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
1422 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
1423
1424 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
1425
1426 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
1427 Fix docstring typos.
1428
1429 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
1430
1431 * frameset.el (frameset--jump-to-register): Add autoload; it could be
1432 called from jump-to-register after unloading the frameset package.
1433
1434 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1435
1436 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
1437 (bug#16975). Deactivate the mark before setting it to nil.
1438 (activate-mark): Do nothing if region is already active.
1439
1440 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
1441
1442 * frameset.el (frameset--target-display): Remove definition; declare.
1443 (frameset-save, frameset-restore): Let-bind frameset--target-display.
1444
1445 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1446
1447 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
1448 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
1449 when the advice is pending.
1450 (advice-remove): Remove this marker when not needed any more.
1451
1452 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
1453
1454 * frameset.el: Separate options for reusing frames and cleaning up.
1455 (frameset--reuse-list): Remove definition; declare.
1456 (frameset--action-map): Declare.
1457 (frameset--find-frame-if): Doc fix.
1458 (frameset--restore-frame): Cache frame action.
1459 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
1460 how to clean up the frame list after restoring. Remove cleaning
1461 options from REUSE-FRAMES. Change all keyword values to symbols.
1462 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
1463
1464 * desktop.el (desktop-restore-forces-onscreen)
1465 (desktop-restore-reuses-frames): Use non-keyword values.
1466 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
1467
1468 2014-03-10 Glenn Morris <rgm@gnu.org>
1469
1470 * files.el (find-file): Doc fix: update info node name.
1471
1472 * emacs-lisp/advice.el (ad-add-advice, defadvice):
1473 Doc fix: remove references to deleted info nodes.
1474
1475 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
1476
1477 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
1478 Do not add `nil' to the environment, when there's no remote `locale'.
1479 (tramp-find-inline-encoding): Check, that the remote host has
1480 installed perl, before sending scripts.
1481
1482 2014-03-10 Leo Liu <sdl.web@gmail.com>
1483
1484 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1485 Clear eldoc-last-message. (Bug#16920)
1486
1487 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
1488
1489 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
1490 (bug#14430).
1491
1492 2014-03-09 Juri Linkov <juri@jurta.org>
1493
1494 * ansi-color.el (ansi-color-names-vector): Copy default colors
1495 from `xterm-standard-colors' that look well on the default white
1496 background (and also on the black background) to avoid illegible
1497 color combinations like yellow-on-white and white-on-white.
1498 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
1499
1500 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
1501
1502 * frameset.el (frameset-restore): When no frame is visible, do not
1503 generate a list of frames, just make visible the selected one.
1504
1505 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
1506
1507 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
1508 it only contains the repository root. (Bug#16897)
1509
1510 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
1511
1512 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
1513 only when `remote-file-name-inhibit-cache' is nil.
1514 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
1515
1516 2014-03-06 Martin Rudalics <rudalics@gmx.at>
1517
1518 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
1519 Fix doc-strings.
1520 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
1521 fit-frame-to-buffer variable. Fix doc-string.
1522 (fit-window-to-buffer): Set ONLY argument in call of
1523 fit-frame-to-buffer. Fix doc-string.
1524
1525 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
1526
1527 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
1528 (tramp-action-password): Clear password cache if needed.
1529 (tramp-read-passwd): Do not clear password cache.
1530
1531 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
1532 cache unless it is the first password request.
1533
1534 2014-03-06 Glenn Morris <rgm@gnu.org>
1535
1536 * simple.el (newline): Doc tweak.
1537
1538 * emacs-lisp/shadow.el (load-path-shadows-find):
1539 Ignore dir-locals. (Bug#12357)
1540
1541 2014-03-05 Glenn Morris <rgm@gnu.org>
1542
1543 * files.el (interpreter-mode-alist):
1544 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
1545
1546 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
1547
1548 * frameset.el (frameset--initial-params): Filter out null entries.
1549
1550 2014-03-05 Martin Rudalics <rudalics@gmx.at>
1551
1552 * window.el (window-min-height, window-min-width):
1553 Rewrite doc-strings.
1554 (window-body-size): Add PIXELWISE argument to make it consistent
1555 with its callees.
1556
1557 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
1558
1559 * finder.el (finder-mode-map, finder-mode-syntax-table):
1560 Revert part of 2014-02-28 change.
1561
1562 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
1563
1564 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
1565 (eww-setup-buffer): Clear next/prev/etc more reliably.
1566 (eww-textarea-map): [tab] doesn't work on tty.
1567 Reported by Mario Lang.
1568
1569 * net/shr.el (shr-map): Ditto.
1570
1571 2014-03-04 Glenn Morris <rgm@gnu.org>
1572
1573 * minibuffer.el (completion-hilit-commonality):
1574 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
1575
1576 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
1577
1578 * hilit-chg.el (hilit-chg-unload-function): New function.
1579 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
1580 (hilit-chg-map-changes): Prefer cardinal number to digit.
1581 (hilit-chg-display-changes): Reflow docstring.
1582 (highlight-changes-rotate-faces): Remove superfluous backslash.
1583
1584 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
1585
1586 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
1587 `tramp-send-command-and-check'.
1588
1589 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
1590
1591 * hexl.el (hexl-address-region, hexl-ascii-region)
1592 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
1593 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
1594 (hexl-forward-word, hexl-previous-line, hexl-next-line):
1595 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
1596 (hexl-mode): Doc fix.
1597 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
1598 (hexl-mode-ruler): Fix typos in docstrings.
1599
1600 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
1601 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
1602 Remove superfluous backslashes.
1603 (strokes-last-stroke, strokes-global-map, strokes-mode):
1604 Reflow docstrings.
1605 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
1606 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
1607 (strokes-distance-squared, strokes-global-set-stroke)
1608 (strokes-global-set-stroke-string): Doc fixes.
1609 (strokes-help): Fix typos; reflow docstring.
1610
1611 2014-03-04 Martin Rudalics <rudalics@gmx.at>
1612
1613 * window.el (window-in-direction): Fix doc-string.
1614
1615 2014-03-04 Glenn Morris <rgm@gnu.org>
1616
1617 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
1618 Explicit error if no grammar.
1619 (smie-config-save): Doc fix. Fix quote typo.
1620
1621 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
1622
1623 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
1624 electric-indent-mode-hook if we obey electric-indent-mode.
1625 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
1626 decide whether we obey electric-indent-mode.
1627 (c-change-set-fl-decl-start, c-extend-after-change-region):
1628 Silence warnings.
1629 (c-electric-indent-mode-hook): Assume we do want to obey
1630 electric-indent-mode.
1631
1632 * electric.el (electric-indent-mode-has-been-called): Remove.
1633 (electric-indent-mode): Fix accordingly.
1634
1635 * files.el (hack-local-variables): Mention file name in warning.
1636
1637 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
1638
1639 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
1640
1641 * bindings.el: Add comment describing why C-d binds to `delete-char'.
1642 * simple.el (delete-forward-char): Mark as interactive-only.
1643
1644 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
1645
1646 * icomplete.el (icomplete-completions):
1647 Follow-up to 2014-03-01 change.
1648
1649 * icomplete.el: Miscellaneous doc fixes.
1650 Use Icomplete everywhere instead of icomplete for consistency.
1651 (icomplete-max-delay-chars): Fix typo.
1652 (icomplete-mode): Use \[].
1653 (icomplete-tidy, icomplete-exhibit): Reflow.
1654 (icomplete-minibuffer-setup-hook, icomplete-completions):
1655 Remove superfluous backlashes.
1656
1657 * ido.el: Miscellaneous doc fixes.
1658 Use Ido everywhere instead of ido or `ido' for consistency.
1659 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
1660 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
1661 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
1662 (ido-separator): Extract obsolescence info from docstring and declare
1663 with make-obsolete-variable.
1664 (ido-minibuffer-setup-hook): Simplify example.
1665 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
1666 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
1667 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
1668 (ido-everywhere): Reflow docstring.
1669 (ido-toggle-vc): Doc fix.
1670 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
1671 of long list of keybindings.
1672
1673 2014-03-03 Glenn Morris <rgm@gnu.org>
1674
1675 * frame.el (display-pixel-height, display-pixel-width)
1676 (display-mm-dimensions-alist, display-mm-height)
1677 (display-mm-width): Doc tweaks.
1678
1679 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
1680
1681 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
1682 case of undo in region.
1683
1684 2014-03-02 Martin Rudalics <rudalics@gmx.at>
1685
1686 * window.el (fit-window-to-buffer): Fix argument in window-size
1687 call when window is horizontally combined.
1688
1689 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
1690
1691 * icomplete.el (icomplete-completions): Use string-width.
1692 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
1693
1694 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
1695
1696 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1697 Highlight regexp options. (Bug#16914)
1698
1699 2014-03-01 Martin Rudalics <rudalics@gmx.at>
1700
1701 * window.el (window--max-delta-1): Round down when calculating
1702 how many lines/columns we can get from a window.
1703
1704 2014-03-01 Glenn Morris <rgm@gnu.org>
1705
1706 * isearch.el (search-invisible): Doc fix.
1707
1708 * minibuffer.el (completion-hilit-commonality):
1709 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
1710 * comint.el (comint-dynamic-list-completions): Doc fix.
1711 * comint.el (comint-dynamic-list-completions):
1712 * filecache.el (file-cache-minibuffer-complete):
1713 * tempo.el (tempo-display-completions):
1714 * eshell/em-hist.el (eshell-list-history):
1715 Replace use of obsolete argument of display-completion-list.
1716
1717 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
1718
1719 * icomplete.el (icomplete-completions):
1720 Revert back to using "..." when ?… cannot be displayed.
1721
1722 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
1723
1724 * finder.el (finder-unload-function): New function.
1725
1726 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
1727
1728 * dframe.el (dframe-detach):
1729 * find-dired.el (find-dired, find-name-dired):
1730 * finder.el (finder-mode-map, finder-mode-syntax-table)
1731 (finder-headmark, finder-select, finder-mouse-select):
1732 Fix docstring typos.
1733
1734 2014-02-28 Martin Rudalics <rudalics@gmx.at>
1735
1736 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
1737 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
1738 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
1739 Fix doc-string based on a suggestion by Nicolas Richard
1740 <theonewiththeevillook@yahoo.fr>.
1741 * help.el (with-help-window): Fix doc-string.
1742
1743 2014-02-28 Ivan Kanis <ivan@kanis.fr>
1744
1745 * net/shr.el (shr-image-animate): New option.
1746 (shr-put-image): Respect shr-image-animate.
1747
1748 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
1749
1750 * net/tramp-adb.el (tramp-adb-parse-device-names):
1751 Use `accept-process-output'.
1752 (tramp-adb-handle-file-truename): Cache the localname only.
1753 (tramp-adb-handle-make-directory)
1754 (tramp-adb-handle-delete-directory): Flush file properties correctly.
1755 (tramp-adb-handle-set-file-modes): Do not raise an error when file
1756 modes cannot be changed.
1757
1758 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
1759 file properties of symlinks.
1760
1761 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
1762
1763 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
1764 required/optional fields to match development biblatex. (Bug#16781)
1765
1766 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
1767
1768 * saveplace.el (toggle-save-place):
1769 Fix argument handling. (Bug#16673)
1770
1771 2014-02-28 Glenn Morris <rgm@gnu.org>
1772
1773 * minibuffer.el (completions-first-difference)
1774 (completions-common-part, completion-hilit-commonality): Doc fixes.
1775
1776 2014-02-28 Karl Berry <karl@gnu.org>
1777
1778 * info.el (Info-mode-map): Add H for describe-mode,
1779 to synchronize with standalone Info.
1780
1781 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
1782
1783 * progmodes/sql.el (sql-interactive-mode):
1784 Avoid setting global comint-input-ring-separator. (Bug#16814)
1785
1786 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
1787
1788 * net/dbus.el (dbus--init-bus): Declare function.
1789 (dbus-path-local, dbus-interface-local): New defconst.
1790 (dbus-init-bus): Use them.
1791 (dbus-return-values-table): Extend doc.
1792 (dbus-handle-bus-disconnect): Extend error message.
1793
1794 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
1795
1796 * subr.el (y-or-n-p): Fix double space issue in message.
1797
1798 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
1799
1800 * net/tramp.el (tramp-call-process): Improve trace message.
1801 (tramp-handle-insert-file-contents): Trace error case.
1802
1803 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
1804 <insert-directory>: Use `tramp-handle-insert-directory'.
1805 (tramp-adb-handle-insert-directory): Remove function.
1806 (tramp-adb-send-command-and-check): New defun, replacing
1807 `tramp-adb-command-exit-status'. Change all callees.
1808 (tramp-adb-handle-file-attributes)
1809 (tramp-adb-handle-directory-files-and-attributes): Use it.
1810 (tramp-adb-ls-output-name-less-p):
1811 Use `directory-listing-before-filename-regexp'.
1812 (tramp-adb-handle-delete-directory): Flush also file properties of
1813 the truename of directory.
1814 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
1815 (tramp-adb-handle-file-local-copy): Make the local copy readable.
1816 (tramp-adb-handle-write-region): Implement APPEND.
1817 (tramp-adb-handle-rename-file): Make it more robust. Flush file
1818 properties correctly.
1819 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
1820 variables. Check for connected devices only when needed.
1821
1822 2014-02-27 Glenn Morris <rgm@gnu.org>
1823
1824 * minibuffer.el (completion-table-dynamic)
1825 (completion-table-with-cache): Doc fixes.
1826
1827 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
1828 (completing-read-multiple): Doc fixes.
1829
1830 2014-02-27 Daniel Colascione <dancol@dancol.org>
1831
1832 * minibuffer.el (completion--nth-completion): Fix indentation.
1833
1834 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
1835 explicit tramp path is empty.
1836
1837 2014-02-27 Glenn Morris <rgm@gnu.org>
1838
1839 * emacs-lisp/crm.el (completing-read-multiple):
1840 Empower help-enable-auto-load.
1841
1842 2014-02-26 Glenn Morris <rgm@gnu.org>
1843
1844 * startup.el (command-line): Don't init the tty in daemon mode.
1845
1846 Avoid calling tty-setup-hook twice, eg if a term file
1847 explicitly calls tty-run-terminal-initialization. (Bug#16859)
1848 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
1849 (tty-create-frame-with-faces): Use it.
1850 * startup.el (command-line): Pass run-hook argument
1851 to tty-run-terminal-initialization.
1852
1853 * dired.el (dired-restore-desktop-buffer): Demote errors;
1854 eg in case a glob match fails. (Bug#16884)
1855
1856 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
1857
1858 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
1859 error from `read-from-string'. (Bug#16850)
1860
1861 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
1862 result of `completing-read' in the interactive form. (Bug#16854)
1863
1864 2014-02-25 Glenn Morris <rgm@gnu.org>
1865
1866 * image.el (image-animate, image-animate-timeout):
1867 Stop animating images in dead buffers. (Bug#16878)
1868
1869 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
1870
1871 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
1872 Doc fixes.
1873 * startup.el (term-setup-hook): Doc fix. Make obsolete.
1874 * term/sun.el (sun-raw-prefix-hooks):
1875 Use tty-setup-hook instead of term-setup-hook.
1876 (terminal-init-sun): Construct message from bytecomp plist.
1877 * term/wyse50.el (enable-arrow-keys): Doc fix.
1878
1879 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
1880
1881 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
1882 Fix docstring typos.
1883
1884 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
1885
1886 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
1887
1888 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1889
1890 * minibuffer.el (completion--try-word-completion):
1891 Fix error when completing M-x commands (bug#16808).
1892
1893 2014-02-24 Leo Liu <sdl.web@gmail.com>
1894
1895 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
1896
1897 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
1898
1899 * apropos.el (apropos-print): Avoid formatting error when
1900 apropos-do-all and apropos-compact-layout are both t.
1901
1902 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
1903
1904 * apropos.el (apropos-property, apropos-all-words-regexp)
1905 (apropos-true-hit, apropos-variable, apropos-print):
1906 Fix docstring typos, and remove obsolete comment.
1907
1908 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
1909
1910 * net/tramp-sh.el (tramp-sh-handle-file-truename):
1911 Preserve trailing "/". (Bug#16851)
1912
1913 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
1914
1915 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
1916 after `=>' (bug#16811).
1917 (ruby-smie-rules): Handle the inconsistent second element of the
1918 list returned by `smie-indent--parent'.
1919 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
1920 method call.
1921
1922 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
1923
1924 * elec-pair.el (electric-pair-text-syntax-table)
1925 (electric-pair-syntax-info, electric-pair--syntax-ppss)
1926 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
1927 (electric-pair--looking-at-unterminated-string-p): Doc fix.
1928 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
1929
1930 2014-02-22 Glenn Morris <rgm@gnu.org>
1931
1932 * imenu.el (imenu--generic-function): Doc fix.
1933
1934 * register.el (frame-configuration-to-register): Make obsolete.
1935
1936 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
1937
1938 * desktop.el (desktop-save-buffer-p): Do not fail when
1939 desktop-files-not-to-save is nil. Return t for true result
1940 as the doc says.
1941
1942 2014-02-22 Daniel Colascione <dancol@dancol.org>
1943
1944 * net/secrets.el (secrets-create-item, secrets-search-items):
1945 Check that attribute values are strings, avoiding the construction
1946 of invalid dbus messages.
1947
1948 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
1949
1950 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
1951 defun-declarations-alist.
1952
1953 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
1954
1955 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
1956 (bug#16829).
1957
1958 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
1959
1960 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
1961 (whitespace-newline, whitespace-trailing, whitespace-line)
1962 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
1963 (whitespace-space-after-tab): Fix typo in docstrings.
1964
1965 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
1966
1967 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
1968
1969 * electric.el (electric-indent-functions-without-reindent):
1970 Add `yaml-indent-line'.
1971
1972 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
1973
1974 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
1975 It has done nothing for years; should be removed after the release.
1976
1977 * simple.el (choose-completion): Fix docstring typo.
1978 (read-quoted-char-radix): Remove unneeded * in docstring.
1979 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
1980 Don't escape parentheses unnecessarily in docstrings.
1981
1982 2014-02-21 Martin Rudalics <rudalics@gmx.at>
1983
1984 Fix handling of window-min-height/-width (Bug#16738).
1985 * window.el (window--dump-window, window--dump-frame):
1986 New functions.
1987 (window--min-size-1): Account for window dividers.
1988 When window-resize-pixelwise is nil, delay rounding till after the
1989 sum of the window components has been calculated.
1990 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
1991 nil make sure at least one text line and two text columns remain
1992 fully visible.
1993 (window-resize): Signal an error when window-resize-apply fails.
1994 (window--resize-child-windows): Fix calculation of by how many
1995 pixels a window can still be shrunk via window-new-normal.
1996 (adjust-window-trailing-edge): Call window--resizable with
1997 correct TRAIL argument.
1998
1999 (with-temp-buffer-window): Don't evaluate BODY within
2000 with-current-buffer (Bug#16816).
2001
2002 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
2003
2004 * net/tramp.el (tramp-check-cached-permissions):
2005 Call `file-attributes' with `suffix' being a symbol but a string.
2006
2007 2014-02-21 Daniel Colascione <dancol@dancol.org>
2008
2009 * net/dbus.el (dbus-init-bus-1): Declare new subr.
2010 (dbus-init-bus): New function: call into dbus-init-bus-1
2011 and installs a handler for the disconnect signal.
2012 (dbus-call-method): Rewrite to look for result in cons.
2013 (dbus-call-method-handler): Store result in cons.
2014 (dbus-check-event): Recognize events with nil sender as valid.
2015 (dbus-handle-bus-disconnect): New function. React to bus
2016 disconnection signal by synthesizing dbus error for each
2017 pending synchronous or asynchronous call.
2018 (dbus-notice-synchronous-call-errors): New function.
2019 (dbus-handle-event): Raise errors directly only when `dbus-debug'
2020 is true, not all the time.
2021
2022 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2023
2024 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
2025 Remove obsolescence declarations, these variables do not exist anymore.
2026
2027 * savehist.el (savehist-save-minibuffer-history)
2028 (savehist-additional-variables, savehist-file, savehist-mode-hook)
2029 (savehist-save-hook, savehist-coding-system, savehist-loaded)
2030 (savehist-load, savehist-install, savehist-autosave): Fix typos;
2031 mostly, refer to "Savehist mode" when talking about the mode,
2032 and not the function.
2033
2034 * saveplace.el (save-place): Remove redundant info in docstring.
2035 (save-place-forget-unreadable-files, toggle-save-place)
2036 (save-place-forget-unreadable-files, save-place-dired-hook):
2037 Fix typos and remove unneeded backslashes.
2038
2039 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
2040
2041 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
2042 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
2043
2044 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
2045 <insert-directory>: Use `tramp-handle-insert-directory'.
2046 (tramp-gvfs-handle-insert-directory): Remove function.
2047
2048 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2049 Call `tramp-handle-insert-directory'.
2050
2051 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
2052
2053 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
2054 before the start of buffer/region (bug#16799).
2055
2056 2014-02-20 Glenn Morris <rgm@gnu.org>
2057
2058 * isearch.el (search-invisible): Doc fix.
2059
2060 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
2061
2062 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
2063 (bug#16657).
2064
2065 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
2066
2067 * frameset.el (frameset-restore): Delay removing an old frame's
2068 duplicate id until the new frame has been correctly created.
2069
2070 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
2071
2072 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
2073 (tramp-check-cached-permissions): Call `file-attributes' if the
2074 cache is empty.
2075
2076 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
2077 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
2078
2079 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
2080 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
2081 (tramp-gvfs-maybe-open-connection): Set always connection
2082 properties, even if target is mounted already.
2083
2084 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
2085 Set tramp-autoload cookie.
2086 (tramp-get-remote-touch): New defun.
2087 (tramp-sh-handle-set-file-times): Use it.
2088 (tramp-sh-handle-directory-files-and-attributes):
2089 Use `tramp-handle-directory-files-and-attributes' if neither stat
2090 nor perl are available on the remote host.
2091
2092 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
2093 "/". Write long listing only when "l" belongs to the switches.
2094
2095 * net/trampver.el: Update release number.
2096
2097 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
2098
2099 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
2100
2101 2014-02-19 Martin Rudalics <rudalics@gmx.at>
2102
2103 * window.el (window-state-put): Allow WINDOW to refer to an
2104 internal window (Bug#16793).
2105
2106 2014-02-19 Glenn Morris <rgm@gnu.org>
2107
2108 * textmodes/remember.el: Move provide statement to end.
2109 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
2110 (remember-notes): Doc fixes.
2111
2112 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
2113
2114 * delsel.el (delete-char): Restore incorrectly erased property
2115 (bug#16795).
2116
2117 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
2118
2119 * frameset.el (frameset--restore-frame): When a frame is being reused
2120 and its root window is not alive, delete all the frame's windows before
2121 restoring the window state. This works around the issue in bug#16793.
2122
2123 2014-02-18 Glenn Morris <rgm@gnu.org>
2124
2125 * textmodes/remember.el (remember-data-directory)
2126 (remember-directory-file-name-format, remember-store-in-files)
2127 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
2128 (remember-notes-save-and-bury-buffer)
2129 (remember-notes--kill-buffer-query): Doc fixes.
2130
2131 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
2132
2133 2014-02-17 Alan Mackenzie <acm@muc.de>
2134
2135 Connect electric-indent-mode up with CC Mode. Bug #15478.
2136 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
2137 to electric-indent-{,local-}-mode.
2138 (c-basic-common-init): Set electric-indent-inhibit.
2139 Initialise c-electric-flag from electric-indent-mode.
2140 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
2141 New hook functions which propagate electric-indent-mode to CC mode.
2142
2143 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
2144 hit, toggle electric-indent-local-mode.
2145
2146 * electric.el (electric-indent-mode-has-been-called):
2147 New variable.
2148
2149 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
2150
2151 * frameset.el (frameset-cfg-id): New function.
2152 (frameset--reuse-frame, frameset-restore): Use it.
2153 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
2154
2155 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
2156
2157 * ido.el (ido-file-internal): Remove unused var `d'.
2158 Use \` for to match BoS. Fit within 80n columns.
2159
2160 2014-02-17 Daniel Colascione <dancol@dancol.org>
2161
2162 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
2163 dbus-call-method check for completion using a busy-wait loop with
2164 gradual backoff.
2165
2166 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
2167
2168 Sync with Tramp 2.2.9.
2169
2170 * net/trampver.el: Update release number.
2171
2172 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
2173
2174 * ido.el (ido-file-internal): Don't add the name of an existing
2175 directory twice. (Bug#16747)
2176
2177 2014-02-16 Glenn Morris <rgm@gnu.org>
2178
2179 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
2180 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
2181
2182 2014-02-15 Michael R. Mauger <michael@mauger.com>
2183
2184 * progmodes/sql.el: Version 3.4
2185 (sql-oracle-options): New default value ("-L").
2186 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
2187 (sql-placeholders-filter): Correct placeholder pattern.
2188 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
2189 (sql-login-delay): New variable.
2190 (sql-product-interactive): Use it.
2191
2192 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
2193
2194 * frameset.el (frameset--jump-to-register): Check that buffer is live
2195 (bug#16749).
2196
2197 2014-02-15 Glenn Morris <rgm@gnu.org>
2198
2199 * info.el (info-initialize): Revert 2014-01-10 change.
2200
2201 2014-02-14 Glenn Morris <rgm@gnu.org>
2202
2203 * replace.el (map-query-replace-regexp)
2204 (read-regexp-defaults-function, read-regexp): Doc fixes.
2205
2206 * dired.el (dired-read-regexp):
2207 * faces.el (list-faces-display):
2208 * misearch.el (multi-isearch-read-matching-buffers)
2209 (multi-isearch-read-matching-files):
2210 * play/cookie1.el (cookie-apropos):
2211 * progmodes/grep.el (grep-read-regexp): Doc fixes.
2212
2213 * textmodes/remember.el (remember): Use frameset-to-register
2214 rather than frame-configuration-to-register.
2215
2216 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
2217
2218 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
2219 incorrect keybinding.
2220
2221 2014-02-13 Daniel Colascione <dancol@dancol.org>
2222
2223 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
2224 when adding overlays so that line numbers from compiler match line
2225 numbers we use.
2226
2227 2014-02-13 Glenn Morris <rgm@gnu.org>
2228
2229 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
2230
2231 * jit-lock.el (jit-lock-mode): Doc fix.
2232
2233 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
2234
2235 * apropos.el (apropos-read-pattern): When the user passes an empty
2236 string, give a more helpful error message than "Wrong type
2237 argument: stringp, nil".
2238
2239 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
2240
2241 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
2242
2243 2014-02-13 Glenn Morris <rgm@gnu.org>
2244
2245 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
2246
2247 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
2248
2249 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
2250 shift-select commands.
2251
2252 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
2253
2254 * progmodes/js.el (js-indent-line): Don't widen.
2255 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
2256
2257 2014-02-12 Glenn Morris <rgm@gnu.org>
2258
2259 * icomplete.el (icomplete): Add info-link to defgroup.
2260 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
2261 (icomplete-minibuffer-map, icomplete-mode)
2262 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
2263
2264 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
2265 (package-menu-filter): Rename from package-menu-filter-interactive.
2266 Doc fix.
2267
2268 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
2269
2270 * frameset.el (frameset--jump-to-register): Select the required
2271 window and buffer before restoring position (bug#16696).
2272
2273 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
2274
2275 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
2276
2277 2014-02-10 Glenn Morris <rgm@gnu.org>
2278
2279 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
2280
2281 2014-02-10 Eli Zaretskii <eliz@gnu.org>
2282
2283 * w32-common-fns.el (x-get-selection): Doc fix.
2284 * select.el (x-get-selection): Doc fix. (Bug#15109)
2285
2286 * face-remap.el (face-remap-add-relative)
2287 (face-remap-remove-relative, face-remap-reset-base)
2288 (face-remap-set-base): Call force-mode-line-update to redisplay
2289 the current buffer due to potential change in faces. (Bug#16709)
2290
2291 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
2292
2293 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
2294 script more robustly.
2295
2296 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
2297
2298 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
2299
2300 * simple.el (choose-completion): Doc fix (bug#14160).
2301
2302 * subr.el (event-start): Say what a nil EVENT value means.
2303
2304 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
2305 (bug#14197).
2306
2307 * progmodes/grep.el (find-program): Doc fix (bug#14289).
2308
2309 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
2310
2311 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
2312
2313 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
2314 predicate function (bug#15455).
2315
2316 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
2317
2318 * ielm.el (inferior-emacs-lisp-mode): Instead of
2319 `comment-use-global-state', set `comment-use-syntax'.
2320
2321 2014-02-10 Glenn Morris <rgm@gnu.org>
2322
2323 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
2324
2325 2014-02-09 Alan Mackenzie <acm@muc.de>
2326
2327 Fix c-invalidate-state-cache on narrowed buffers.
2328 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
2329 Widen when setting and clearing the CPP delimiter properties.
2330
2331 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
2332
2333 * help.el (describe-bindings): Doc fix (bug#9888).
2334
2335 * files.el (save-buffer): Use ARG as the parameter name for
2336 consistency (bug#10346).
2337 (save-buffer): Clarify the 0 argument (bug#10346).
2338
2339 * cus-edit.el (customize-apropos): Fix error string.
2340 (custom-buffer-create): Doc fix (bug#11122).
2341 (custom-sort-items): Doc fix (bug#11121).
2342
2343 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
2344
2345 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
2346 (icomplete-simple-completing-p): Mention the previous variable.
2347
2348 * font-lock.el (font-lock-value-in-major-mode): Clarify the
2349 meaning of the parameter (bug#12282).
2350
2351 * files.el (find-file-noselect): Clarify prompt when changing
2352 readedness (bug#13261).
2353 (locate-file): Suffixes aren't returned, so don't say that they
2354 are (bug#12674).
2355 (backup-inhibited): Doc clarification (bug#12525).
2356
2357 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
2358 before we actually start to delete things (bug#16331).
2359
2360 * subr.el (event-start): Doc fix (bug#14228).
2361 (event-end): Ditto.
2362
2363 2014-02-09 Glenn Morris <rgm@gnu.org>
2364
2365 * emacs-lisp/warnings.el (lwarn):
2366 Empower help-enable-auto-load. (Bug#15940)
2367
2368 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
2369
2370 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
2371 (Bug#16690)
2372
2373 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
2374
2375 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2376 Insert output at end of buffer. (Bug#16120)
2377
2378 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
2379
2380 * simple.el (choose-completion-string-functions): Document new
2381 calling convention (bug#14153).
2382 (execute-extended-command): Clarify doc string (bug#13373).
2383
2384 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
2385
2386 * find-dired.el (find-name-dired): Doc fix (bug#14290).
2387 (find-grep-dired): Doc fix (bug#14288).
2388
2389 2014-02-08 Juri Linkov <juri@jurta.org>
2390
2391 * isearch.el (isearch-quote-char): Check character validity
2392 like in `quoted-insert' (bug#16677).
2393
2394 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
2395
2396 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
2397
2398 * isearch.el (isearch-hide-immediately): Doc clarification
2399 (bug#14723).
2400
2401 * simple.el (line-move): Document utility function used many
2402 places in the Emacs sources (bug#14843).
2403
2404 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
2405 (dired-prev-marked-file): Doc fix (bug#14855).
2406 (dired-up-directory): Doc fix (bug#14848).
2407
2408 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
2409
2410 * files.el (file-relative-name): Doc fix (bug#15159).
2411
2412 * fringe.el (fringe-styles): Doc fix (bug#15239).
2413
2414 * isearch.el (isearch-filter-predicate): Documentation typo fix
2415 (bug#15474).
2416
2417 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
2418
2419 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
2420
2421 * replace.el (replace-match-maybe-edit): Doc clarification
2422 (bug#15632).
2423
2424 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
2425
2426 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
2427
2428 2014-02-08 Glenn Morris <rgm@gnu.org>
2429
2430 * help-fns.el (describe-variable):
2431 Check {file,dir}-local-variables-alist, and buffer-file-name,
2432 in the correct buffer.
2433
2434 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
2435
2436 * help-fns.el (describe-variable): Fix the case where
2437 a value is directory-local with no dir-locals file. (Bug#16635)
2438
2439 2014-02-08 Glenn Morris <rgm@gnu.org>
2440
2441 * abbrev.el (edit-abbrevs-mode):
2442 Derive from fundamental-mode. (Bug#16682)
2443
2444 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
2445
2446 * simple.el (quoted-insert): Check character validity (bug#16677).
2447
2448 2014-02-07 Juri Linkov <juri@jurta.org>
2449
2450 * desktop.el (desktop-read): Claim the lock when the owner is not
2451 the current process. (Bug#16157)
2452
2453 2014-02-07 Juri Linkov <juri@jurta.org>
2454
2455 * desktop.el (desktop-buffers-not-to-save): Change default from nil
2456 to "\\` ". (Bug#16651)
2457
2458 2014-02-07 Juri Linkov <juri@jurta.org>
2459
2460 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
2461 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
2462 (desktop-auto-save-cancel-timer): New function with some code from
2463 `desktop-auto-save-set-timer'.
2464 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
2465 Instead of setting `desktop-save-mode' to nil, call
2466 `desktop-save-mode' with arg 0. (Bug#16630)
2467
2468 2014-02-07 Glenn Morris <rgm@gnu.org>
2469
2470 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
2471 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
2472 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
2473
2474 * obsolete/iswitchb.el: Move to obsolete/.
2475 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
2476 since obsolete/ is not scanned for autoloads.
2477 * emacs-lisp/authors.el (authors-valid-file-names):
2478 Add iswitchb.el.
2479
2480 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
2481 Disable now non-functional find-file-hook.
2482
2483 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
2484
2485 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
2486 instead of ";" in order to avoid additional prompts. Let heredoc
2487 scripts read from tty. (Bug#16582)
2488 (tramp-send-command): No special handling of heredocs, it isn't
2489 necessary anymore.
2490
2491 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
2492
2493 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
2494 with a space (bug#16664). Limit the symbols considered to the ones
2495 that are bound or fbound (bug#16646).
2496
2497 2014-02-06 Glenn Morris <rgm@gnu.org>
2498
2499 * epa.el (epa-mail-aliases): Doc fix.
2500
2501 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
2502
2503 * emacs-lisp/lisp.el (lisp-completion-at-point):
2504 Use `completion-table-merge' instead of `completion-table-in-turn'
2505 (bug#16604).
2506
2507 * minibuffer.el (completion-table-merge): New function.
2508
2509 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
2510
2511 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
2512 (tramp-sh-handle-set-file-acl)
2513 (tramp-sh-handle-start-file-process)
2514 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
2515 (tramp-find-executable, tramp-send-command): Use it.
2516
2517 2014-02-05 Glenn Morris <rgm@gnu.org>
2518
2519 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
2520
2521 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
2522
2523 * progmodes/python.el (python-shell-send-string)
2524 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
2525
2526 2014-02-04 Anders Lindgren <andlind@gmail.com>
2527
2528 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
2529 the names (bug#16620).
2530
2531 2014-02-03 Martin Rudalics <rudalics@gmx.at>
2532
2533 * faces.el (window-divider): New default value. Rewrite doc-string.
2534 (window-divider-first-pixel, window-divider-last-pixel): New faces.
2535
2536 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
2537
2538 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
2539 `protected' and `public' can also be called without arguments.
2540
2541 2014-02-03 Glenn Morris <rgm@gnu.org>
2542
2543 * register.el (window-configuration-to-register)
2544 (frame-configuration-to-register): Unadvertise unused argument.
2545 * frameset.el (frameset-to-register): Remove unused argument.
2546
2547 * frameset.el (frameset-to-register):
2548 * kmacro.el (kmacro-to-register):
2549 * register.el (increment-register):
2550 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
2551 (calc-append-to-register, calc-prepend-to-register):
2552 * play/gametree.el (gametree-layout-to-register)
2553 (gametree-apply-register-layout):
2554 * textmodes/picture.el (picture-clear-rectangle-to-register)
2555 (picture-yank-rectangle-from-register):
2556 * vc/emerge.el (emerge-combine-versions-register):
2557 Use register-read-with-preview to read registers.
2558
2559 2014-02-03 João Távora <joaotavora@gmail.com>
2560
2561 * elec-pair.el (electric-pair-backward-delete-char): Don't error
2562 when at beginning of (possibly narrowed) buffer.
2563
2564 2014-02-02 Daniel Colascione <dancol@dancol.org>
2565
2566 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
2567 Also try to display local help from just before point.
2568
2569 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
2570
2571 c-parse-state. Don't "append-lower-brace-pair" in certain
2572 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
2573 recognised as a comment.
2574
2575 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
2576 as well as normal comment starter.
2577 (c-parse-state-get-strategy): Extra return possibility
2578 'back-and-forward.
2579 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
2580 return value list to indicate replacement of a brace-pair cons
2581 with its car.
2582 (c-parse-state-1): With 'back-and-forward, only call
2583 c-append-lower-brace-pair-to state-cache when cons-separated.
2584
2585 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
2586
2587 * term/ns-win.el (ns-suspend-error): New function.
2588 (ns-initialize-window-system): Add ns-suspend-error to
2589 suspend-hook (Bug#16612).
2590
2591 2014-02-02 Daniel Colascione <dancol@dancol.org>
2592
2593 * progmodes/cc-defs.el (c-find-assignment-for-mode):
2594 Make loading cc-mode silent.
2595
2596 2014-02-02 Daniel Colascione <dancol@dancol.org>
2597
2598 * comint.el (comint-prompt-read-only): Change doc to suggest
2599 remap keybinding.
2600
2601 2014-02-02 Glenn Morris <rgm@gnu.org>
2602
2603 * register.el (register-read-with-preview, point-to-register)
2604 (window-configuration-to-register, frame-configuration-to-register)
2605 (jump-to-register, number-to-register, view-register, insert-register)
2606 (copy-to-register, append-to-register, prepend-to-register)
2607 (copy-rectangle-to-register): Doc fixes.
2608
2609 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
2610
2611 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
2612 * emacs-lisp/find-func.el (find-function-C-source): Idem.
2613 * emacs-lisp/nadvice.el (advice--cd*r): New function.
2614 * help-fns.el (describe-function-1): Use it.
2615
2616 2014-02-02 Glenn Morris <rgm@gnu.org>
2617
2618 * register.el (register-preview-default): New function,
2619 split from register-preview.
2620 (register-preview-function): Rename from register-preview-functions,
2621 make it not a hook.
2622 (register-preview): Use register-preview-function.
2623 (register-read-with-preview): Error on non-character event. (Bug#16595)
2624
2625 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
2626
2627 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
2628 `:' before binary operators (bug#16609). Don't check for `:'
2629 before `[' and `(', or their syntax status. A percent literal
2630 can't end with either.
2631 (ruby-font-lock-keywords): For built-ins that require arguments,
2632 check that they're followed by something that looks like argument
2633 (bug#16610).
2634
2635 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
2636
2637 * subr.el (butlast): Document what an omitted N means (bug#13437).
2638 (nbutlast): Ditto.
2639
2640 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
2641
2642 * net/shr.el (shr-generic): Make into a defsubst to make the stack
2643 depth shallower (bug#16587).
2644 (shr-tag-svg): Respect `shr-inhibit-images'.
2645 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
2646
2647 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
2648
2649 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
2650 (ruby-smie-grammar): Make "." right-associative. Make its priority
2651 lower than the ternary and all binary operators.
2652 (ruby-smie-rules): Indent "(" relative to the first non-"."
2653 parent, or the first "." parent at indentation.
2654 Use `ruby-align-chained-calls' for indentation of "." tokens.
2655 (Bug#16593)
2656
2657 2014-01-31 Juri Linkov <juri@jurta.org>
2658
2659 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
2660 from `make-hash-table'.
2661
2662 * textmodes/ispell.el (ispell-init-process): Change message format
2663 to be consistent with other messages.
2664
2665 2014-01-31 Glenn Morris <rgm@gnu.org>
2666
2667 * delsel.el (delete-selection-mode): Doc fix.
2668
2669 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
2670 (trace-function-background): Doc fixes.
2671
2672 * ido.el (ido-use-virtual-buffers): Doc fix.
2673 Reset :version, since the default value has not changed.
2674
2675 * register.el (register-preview-delay, register-read-with-preview):
2676 Doc fixes.
2677
2678 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
2679 do not mess with mail-buffer position (fixes 2009-11-03 change).
2680 * progmodes/cc-mode.el (c-submit-bug-report):
2681 Check auto-fill-mode is bound. (Bug#16592)
2682
2683 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
2684
2685 * startup.el (fancy-splash-image-file): New function,
2686 split from fancy-splash-head.
2687 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
2688 so that we are both using the same image. (Bug#16574)
2689
2690 2014-01-30 Glenn Morris <rgm@gnu.org>
2691
2692 * simple.el (eval-expression): Doc fix.
2693
2694 * hexl.el (hexl-mode-hook):
2695 * ielm.el (ielm-mode-hook):
2696 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
2697 (lisp-interaction-mode-hook):
2698 * progmodes/cfengine.el (cfengine3-documentation-function):
2699 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
2700
2701 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2702
2703 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
2704 is a symbol (bug#16584).
2705
2706 2014-01-30 Glenn Morris <rgm@gnu.org>
2707
2708 * help.el (help-for-help-internal): Add "P" to text.
2709
2710 2014-01-29 Glenn Morris <rgm@gnu.org>
2711
2712 * simple.el (just-one-space, cycle-spacing): Doc fixes.
2713
2714 2014-01-28 Martin Rudalics <rudalics@gmx.at>
2715
2716 * window.el (fit-frame-to-buffer): Fix calculations for margins and
2717 height constraints.
2718
2719 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
2720
2721 * progmodes/hideif.el: Extend to full CPP expression syntax.
2722 (hif-token-alist): Add missing tokens.
2723 (hif-token-regexp): Add support for float/octal/hex immediates.
2724 (hif-string-literal-regexp): New const.
2725 (hif-tokenize): Recognize strings and float/octal/hex immediates.
2726 (hif-exprlist): New function.
2727 (hif-parse-if-exp): Use it.
2728 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
2729 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
2730 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
2731 (hif-logxor, hif-comma): New functions.
2732
2733 2014-01-28 Glenn Morris <rgm@gnu.org>
2734
2735 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
2736
2737 * indent.el (tab-stop-list): Doc fix. Add :version.
2738
2739 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
2740 (cvs-append-to-ignore): Add compatibility alias.
2741
2742 2014-01-27 Glenn Morris <rgm@gnu.org>
2743
2744 * dired.el (dired-hide-details-mode): Don't autoload it,
2745 since it cannot be used outside Dired buffers anyway.
2746
2747 * emulation/cua-base.el (cua-mode): Doc fix.
2748
2749 * dired.el (dired-hide-details-hide-symlink-targets)
2750 (dired-hide-details-hide-information-lines)
2751 (dired-hide-details-mode): Doc fixes.
2752
2753 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
2754 * strokes.el (strokes-file): Doc fix. Bump :version.
2755 (strokes-help): Doc fix.
2756 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
2757 * emulation/viper.el (viper): Doc fix for custom group.
2758 (top-level): Remove oh-so-no-longer-relevant text about vip.
2759 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
2760
2761 * ido.el (ido-save-directory-list-file):
2762 * saveplace.el (save-place-file):
2763 * calendar/timeclock.el (timeclock-file):
2764 * net/quickurl.el (quickurl-url-file):
2765 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
2766 * progmodes/idlwave.el (idlwave-config-directory):
2767 * textmodes/remember.el (remember-data-file):
2768 Bump :version.
2769
2770 2014-01-26 Glenn Morris <rgm@gnu.org>
2771
2772 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
2773 Doc fix. Make obsolete.
2774 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
2775
2776 * sort.el (delete-duplicate-lines): Doc fix.
2777
2778 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2779
2780 * progmodes/ada-mode.el (ada):
2781 * woman.el (woman): Link to info manual and Commentary section.
2782
2783 * progmodes/flymake.el (flymake):
2784 * nxml/nxml-mode.el (nxml):
2785 * net/eww.el (eww):
2786 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
2787 * htmlfontify.el (htmlfontify):
2788 * ses.el (ses):
2789 * epa.el (epa):
2790 * ido.el (ido): Link to info manual.
2791
2792 2014-01-25 Leo Liu <sdl.web@gmail.com>
2793
2794 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
2795
2796 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
2797
2798 * net/shr.el (shr-tag-img): Prefer the title over the alt text
2799 (bug#16537).
2800
2801 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
2802
2803 * net/eww.el (eww-download-callback):
2804 Fix reference to eww-download-directory.
2805
2806 * emacs-lisp/bytecomp.el (byte-compile-file):
2807 Remove unused local variable `file-name'.
2808
2809 2014-01-24 Glenn Morris <rgm@gnu.org>
2810
2811 * woman.el (woman-default-faces, woman-monochrome-faces):
2812 Fix obsolescence specification.
2813
2814 * subr.el (with-demoted-errors): Doc fix.
2815
2816 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
2817
2818 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
2819 (cl--macroexp-fboundp): New function.
2820 (cl--make-type-test): Use it.
2821
2822 2014-01-23 Glenn Morris <rgm@gnu.org>
2823
2824 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
2825 * simple.el (eval-expression): Doc fixes.
2826
2827 2014-01-22 Glenn Morris <rgm@gnu.org>
2828
2829 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
2830
2831 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
2832
2833 * emacs-lisp/package.el: Write files silently.
2834 (package-autoload-ensure-default-file, package--write-file-no-coding)
2835 (package-generate-description-file, package--download-one-archive)
2836 (package-install-from-archive): Tell `write-region' to stay quiet.
2837 (package-menu-mode, package-menu--print-info): Omit the Archive column
2838 if there's only one archive.
2839 (package-all-keywords, package--has-keyword-p): Remove dead code.
2840
2841 2014-01-22 Glenn Morris <rgm@gnu.org>
2842
2843 * version.el (emacs-bzr-version-bzr): Fix typo.
2844
2845 * version.el (emacs-repository-get-version):
2846 Check either .bzr or .git, but not both.
2847 Make the git case actually use the DIR argument, and return nil
2848 rather than the empty string.
2849 Avoid error if .git exists but the git executable is not found.
2850
2851 2014-01-22 Martin Rudalics <rudalics@gmx.at>
2852
2853 Fixes in window size functions around Bug#16430 and Bug#16470.
2854 * window.el (window-total-size, window-size): New argument ROUND.
2855 (window--min-delta-1, window-min-delta, window--max-delta-1):
2856 Be more conservative when calculating the numbers of lines or
2857 columns a window can shrink (Bug#16430).
2858 (fit-window-to-buffer): Simplify code.
2859 * term.el (term-window-width): Call window-body-width again.
2860
2861 2014-01-22 Glenn Morris <rgm@gnu.org>
2862
2863 * image.el (image-format-suffixes): Doc fix.
2864
2865 * international/quail.el (quail-define-package): Doc fix.
2866
2867 * emacs-lisp/authors.el (authors-valid-file-names)
2868 (authors-renamed-files-alist): Additions.
2869
2870 * vc/vc-git.el (vc-git-print-log): Remove --follow;
2871 reverts 2014-01-09 change. (Bug#16422)
2872
2873 * calc/calc-embed.el (thing-at-point-looking-at):
2874 * emacs-lisp/map-ynp.el (x-popup-dialog):
2875 * obsolete/lmenu.el (x-popup-dialog):
2876 * emacs-lisp/package.el (url-recreate-url):
2877 * mail/mailclient.el (clipboard-kill-ring-save):
2878 * subr.el (x-popup-dialog): Update declaration.
2879 * mail/rmail.el (rmail-mime-message-p):
2880 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
2881
2882 2014-01-21 Daniel Colascione <dancol@dancol.org>
2883
2884 * progmodes/sh-script.el (sh--inside-noncommand-expression):
2885 Correctly detect when we're inside an arithmetic expansion form
2886 containing nested parenthesis.
2887 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
2888 to detect cases where we shouldn't expand "<<" to a heredoc
2889 skeleton.
2890
2891 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
2892
2893 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
2894 (eldoc--message-command-p): New function.
2895 (eldoc-display-message-p): Use it.
2896 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
2897 message is not automatically erased for us.
2898 (eldoc-print-current-symbol-info): Erase previous message, if any.
2899
2900 2014-01-21 Tassilo Horn <tsdh@gnu.org>
2901
2902 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
2903 specify it's an interactive function.
2904
2905 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
2906 Fix regex used for scanning for citation keys which failed for
2907 citations with optional arguments.
2908
2909 2014-01-21 Leo Liu <sdl.web@gmail.com>
2910
2911 * simple.el (read--expression): Don't enable eldoc-mode.
2912
2913 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
2914
2915 * simple.el (move-beginning-of-line): Make sure we don't move forward
2916 (bug#16497).
2917
2918 2014-01-20 Juri Linkov <juri@jurta.org>
2919
2920 * saveplace.el (toggle-save-place, save-place-to-alist)
2921 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
2922 'dired-mode) before checking for dired-directory. (Bug#16477)
2923
2924 2014-01-20 Juri Linkov <juri@jurta.org>
2925
2926 * indent.el (indent-line-to): Use backward-to-indentation
2927 instead of back-to-indentation. (Bug#16461)
2928
2929 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
2930
2931 Revert some of the CANNOT_DUMP fix (Bug#16494).
2932 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
2933 but fixing this can wait until after the next release.
2934 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
2935
2936 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
2937
2938 * eshell/esh-mode.el (eshell-password-prompt-regexp):
2939 Use `password-word-equivalents'.
2940 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
2941 to t. (Bug#5664, Bug#13124)
2942
2943 2014-01-19 Alan Mackenzie <acm@muc.de>
2944
2945 Bind open-paren-in-column-0-is-defun-start to nil at some entry
2946 points.
2947 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
2948 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
2949 * progmodes/cc-mode.el (c-before-change, c-after-change)
2950 (c-font-lock-fontify-region): Bind it here.
2951
2952 2014-01-19 Martin Rudalics <rudalics@gmx.at>
2953
2954 * term.el (term-window-width): Call window-text-width instead of
2955 window-width (Bug#16470).
2956
2957 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
2958
2959 * simple.el (password-word-equivalents): Remove duplicates.
2960 Sort, to make this easier next time.
2961 Downcase. Omit ": " after "jelszó".
2962
2963 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
2964
2965 * term/common-win.el (saved-region-selection): Defvar it.
2966 (x-select-text): Set saved-region-selection (Bug#16382).
2967
2968 2014-01-18 Glenn Morris <rgm@gnu.org>
2969
2970 * emacs-lisp/authors.el (authors-aliases)
2971 (authors-renamed-files-alist): Add some entries.
2972
2973 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
2974
2975 * net/tramp.el (tramp-password-prompt-regexp):
2976 Use `password-word-equivalents' if available.
2977 (tramp-action-password, tramp-process-one-action)
2978 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
2979
2980 2014-01-17 Chong Yidong <cyd@gnu.org>
2981
2982 * simple.el (password-word-equivalents): New defcustom.
2983 * comint.el (comint-password-prompt-regexp): Use it. Bump version
2984 to 24.4.
2985 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
2986 to t. (Bug#13124)
2987
2988 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
2989
2990 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
2991 (ruby-align-to-stmt-keywords): Change the default value.
2992 Use `ruby-alignable-keywords' to generate the possible customization
2993 choices.
2994 (ruby-smie-rules): Instead of using a hardcoded list of alignable
2995 keywords, check against the value of `ruby-alignable-keywords'
2996 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
2997
2998 2014-01-17 Glenn Morris <rgm@gnu.org>
2999
3000 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
3001
3002 Make M-x authors return zero *Authors Errors* from current logs.
3003 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
3004 (authors-ignored-files): Add some entries, remove others.
3005 (authors-ambiguous-files, authors-valid-file-names):
3006 Add some entries.
3007 (authors-renamed-files-alist): Add, remove, and adjust entries.
3008 (authors-renamed-files-regexps): Add some entries.
3009 Remove some very broad ones. Make some entries `lax'.
3010 (authors-lax-changelogs): New constant.
3011 (authors-disambiguate-file-name): Treat top-level specially.
3012 (authors-lax-changelog-p): New function.
3013 (authors-canonical-file-name): Check file as written against
3014 authors-valid-file-names. Do not special-case etc/.
3015 Handle `lax' logs and authors-renamed-files-regexps elements.
3016
3017 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
3018
3019 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
3020 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
3021 callers.
3022
3023 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3024
3025 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
3026 Assume we're already in the proper buffer.
3027 Inspired by Anders Lindgren <andlind@gmail.com>.
3028 (follow-post-command-hook): Call it from the right buffer.
3029 (follow-comint-scroll-to-bottom): Adjust call.
3030 (follow-all-followers): Use get-buffer-window-list.
3031
3032 2014-01-15 Daniel Colascione <dancol@dancol.org>
3033
3034 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
3035 `buffer-file-name' in interactive-form so that we don't leave
3036 pathless file names in `file-name-history'.
3037
3038 2014-01-15 Juri Linkov <juri@jurta.org>
3039
3040 * indent.el (indent-rigidly): Set deactivate-mark to nil
3041 in transient indentation mode. (Bug#16438)
3042
3043 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
3044
3045 * emacs-lisp/package.el (package-desc-keywords): New function
3046 (Bug#16222).
3047 (describe-package-1, package-all-keywords)
3048 (package--has-keyword-p): Use it.
3049
3050 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3051
3052 * simple.el (define-alternatives): When creating the
3053 COMMAND-alternatives variable, assign COMMAND as its definition
3054 name so that `describe-variable' can relocate it.
3055
3056 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
3057
3058 * font-lock.el (font-lock-keywords): Fix typo in docstring
3059 (bug#16307).
3060
3061 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3062
3063 * ispell.el (ispell-region): Reset `in-comment' for new line
3064 instead of wrongly reset `add-coment' (bug#13577).
3065
3066 2014-01-14 Daiki Ueno <ueno@gnu.org>
3067
3068 * epa-file.el (epa-file-write-region): Encode the region according
3069 to `buffer-file-format'. Problem reported at:
3070 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
3071
3072 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
3073
3074 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
3075 so it applies in the right buffer (bug#16410).
3076
3077 2014-01-13 Daniel Colascione <dancol@dancol.org>
3078
3079 * textmodes/rst.el (rst-define-key): Provide deprecated
3080 keybindings through named functions instead of anonymous ones so
3081 that "??" doesn't appear in describe-mode output.
3082
3083 2014-01-13 Bastien Guerry <bzg@gnu.org>
3084
3085 * simple.el (define-alternatives): Call the selected command
3086 interactively. When setting `COMMAND--implementation' for the
3087 first time, tell the user how to chose another implementation.
3088 Enhance the docstring.
3089
3090 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3091
3092 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
3093 (log-edit--match-first-line): New function.
3094 (log-edit-font-lock-keywords): Use it.
3095 (log-edit-mode): Make jit-lock-defer-multiline work.
3096
3097 2014-01-13 Bastien Guerry <bzg@gnu.org>
3098
3099 * rect.el (rectangle-mark-mode): When the region is not active,
3100 display a message saying that the mark as been set and that
3101 rectangle mode is in use.
3102 (rectangle--highlight-for-redisplay): Only put an overlay with a
3103 visible vertical bar when (display-graphic-p) is non-nil.
3104 This partially fixes Bug#16403.
3105
3106 2014-01-13 Juri Linkov <juri@jurta.org>
3107
3108 * info.el (Info-find-file): Go to DIR before displaying the error
3109 about a nonexistent file if no previous Info file is visited.
3110 Use `user-error' instead of `error' for "Info file %s does not exist".
3111 (Info-find-node-2): In case of a nonexistent node in unwind forms
3112 go to the Top node if there is no previous node to revert to.
3113 (Bug#16405)
3114
3115 2014-01-13 Martin Rudalics <rudalics@gmx.at>
3116
3117 fit-frame/window-to-buffer code fixes including one for Bug#14096.
3118 * window.el (fit-frame-to-buffer): Fix doc-string.
3119 Respect window-min-height/-width. Fit pixelwise when
3120 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
3121 when avoiding that frame goes partially off-screen.
3122 (fit-window-to-buffer): Respect window-min-height/-width
3123 (Bug#14096).
3124
3125 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3126
3127 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
3128 after an empty line.
3129
3130 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
3131
3132 * net/shr.el (shr-render-region): Autoload.
3133
3134 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
3135
3136 * net/eww.el (eww-download-directory): Rename from
3137 `eww-download-path' (Bug#16419).
3138
3139 2014-01-12 Leo Liu <sdl.web@gmail.com>
3140
3141 * dired-x.el (dired-mode-map): Fix last change.
3142
3143 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
3144
3145 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
3146
3147 Spelling fixes.
3148 * emacs-lisp/generic.el (generic--normalize-comments):
3149 Rename from generic--normalise-comments. All uses changed.
3150 * play/bubbles.el (bubbles--neighborhood-score)
3151 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
3152 (bubbles--neighborhood-available)
3153 (bubbles--update-neighborhood-score):
3154 Rename from names with 'neighbourhood'. All uses changed.
3155
3156 2014-01-12 Leo Liu <sdl.web@gmail.com>
3157
3158 Re-implement the feature of showing eldoc info after editing.
3159 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
3160 (eldoc-edit-message-commands): New function.
3161 (eldoc-print-after-edit): New variable.
3162 (eldoc-pre-command-refresh-echo-area): Emit message only by
3163 eldoc-message-commands.
3164 (eldoc-mode): Restrict eldoc-message-commands to editing commands
3165 if eldoc-print-after-edit is set. (Bug#16346)
3166 * simple.el (read--expression): Enable eldoc-mode.
3167 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
3168
3169 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
3170 Eric S. Raymond <esr@thyrsus.com>
3171
3172 * version.el (emacs-repository-get-version): Enhance so the
3173 function works correctly in either a Bazaar or Git repo.
3174
3175 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
3176
3177 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
3178 Goes with removal of the joke manpages from /etc.
3179
3180 2014-01-10 Kenichi Handa <handa@gnu.org>
3181
3182 * mail/rmail.el (rmail-get-coding-system):
3183 Check rmail-get-coding-function before "funcall"ing it.
3184
3185 2014-01-10 Glenn Morris <rgm@gnu.org>
3186
3187 * emacs-lisp/authors.el (authors-fixed-entries):
3188 Update for files that no longer exist.
3189
3190 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
3191
3192 * version.el (emacs-bzr-get-version): Restore compatibilty with
3193 24.3 (Tested).
3194
3195 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
3196
3197 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
3198 and Podfile.
3199
3200 2014-01-10 Eli Zaretskii <eliz@gnu.org>
3201
3202 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
3203
3204 2014-01-10 Chong Yidong <cyd@gnu.org>
3205
3206 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
3207
3208 2014-01-10 Anders Lindgren <andlind@gmail.com>
3209
3210 * follow.el (follow-cache-command-list): Include right-char and
3211 left-char.
3212
3213 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
3214
3215 Spelling fixes.
3216 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
3217 * woman.el (woman-mark-horizontal-position):
3218 Rename from woman-mark-horizonal-position. Use changed.
3219
3220 2014-01-10 Glenn Morris <rgm@gnu.org>
3221
3222 * info.el (info-initialize): If running uninstalled, ensure our
3223 own info files are always found first, even if INFOPATH is set.
3224
3225 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
3226
3227 2014-01-09 David Engster <deng@randomsample.de>
3228
3229 * emacs-lisp/eieio-custom.el:
3230 * emacs-lisp/eieio-opt.el: Set generated autoload file to
3231 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
3232 * emacs-lisp/eieio.el: Regenerate autoloads.
3233
3234 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
3235
3236 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
3237 following renames. (Bug#8756)
3238
3239 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
3240
3241 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
3242 (bug#16382).
3243 (activate-mark): Add `no-tmm' argument.
3244 (set-mark, push-mark-command): Use it instead of running
3245 activate-mark-hook by hand.
3246
3247 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
3248
3249 In preparation for the move to git, sanitize out some
3250 Bazaar-specific names.
3251
3252 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
3253
3254 * version.el (emacs-bzr-version): Name changed to
3255 emacs-repository-version. Obsolete-variable alias made.
3256 * loadup.el: Follow through on this name change.
3257 * mail/emacsbug.el (report-emacs-bug): Factor out any
3258 assumption about the version control system in use.
3259
3260 2014-01-08 David Engster <deng@randomsample.de>
3261
3262 * help-fns.el (help-fns-describe-function-functions):
3263 New variable to call functions for augmenting help buffers.
3264 (describe-function-1): Remove explicit calls to
3265 `help-fns--compiler-macro', `help-fns--parent-mode' and
3266 `help-fns--obsolete'. Put them in above new variable instead, and
3267 call them through `run-hook-with-args'.
3268 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
3269 `eieio-describe-class'. Not meant for interactive use anymore,
3270 but to augment existing help buffers. Remove optional second
3271 argument. Create proper button for file location.
3272 Rewrite function to use `insert' instead of `princ' and `prin1' where
3273 possible.
3274 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
3275 (eieio-method-def, eieio-class-def): Move further up.
3276 (describe-method, describe-generic, eieio-describe-method):
3277 Remove aliases.
3278 (eieio-help-constructor, eieio-help-generic): Rename from
3279 `eieio-describe-constructor' and `eieio-describe-generic', resp.
3280 Rewrite to use `insert' in the current buffer and use proper help
3281 buttons.
3282 (eieio-help-find-method-definition)
3283 (eieio-help-find-class-definition): Also accept symbols as
3284 arguments.
3285 (eieio-help-mode-augmentation-maybee): Remove.
3286 (eieio-describe-class-sb): Use `describe-function'.
3287 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
3288 Add `eieio-help-generic' and `eieio-help-constructor'.
3289
3290 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
3291
3292 Spelling fixes.
3293 * language/china-util.el (hz-ascii-designation):
3294 Rename from hz-ascii-designnation.
3295 (hz-ascii-designation): Rename from hz-ascii-designnation.
3296 All uses changed.
3297
3298 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3299
3300 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
3301 package-alist.
3302
3303 2014-01-08 Bastien Guerry <bzg@gnu.org>
3304
3305 * emacs-lisp/package.el (package-delete):
3306 Correctly delete the package from package-alist.
3307
3308 2014-01-08 Daiki Ueno <ueno@gnu.org>
3309
3310 * emacs-lisp/package.el (url-recreate-url): Declare.
3311 (url-http-target-url): Declare.
3312 (package-handle-response): Include requested URL in the error message.
3313 (package--check-signature): Don't re-signal errors from
3314 package--with-work-buffer. Suggested by Stefan Monnier.
3315
3316 2014-01-07 Bastien Guerry <bzg@gnu.org>
3317
3318 * minibuffer.el (completion--try-word-completion): When both a
3319 hyphen and a space are possible candidates for the character
3320 following a word, display both candidates. (Bug#15980)
3321
3322 2014-01-07 Martin Rudalics <rudalics@gmx.at>
3323
3324 * window.el (balance-windows-2): While rounding don't give a
3325 window more than the remainder. Bug#16351, bug#16383.
3326
3327 2014-01-07 Glenn Morris <rgm@gnu.org>
3328
3329 * menu-bar.el (menu-bar-help-extra-packages): Remove.
3330 (menu-bar-help-menu): Use view-external-packages instead.
3331
3332 2014-01-07 Bastien Guerry <bzg@gnu.org>
3333
3334 * emacs-lisp/package.el (package-delete): Also delete the package
3335 name from `package-alist', not its description only.
3336
3337 2014-01-07 Glenn Morris <rgm@gnu.org>
3338
3339 * help.el (view-external-packages):
3340 * menu-bar.el (menu-bar-help-extra-packages):
3341 Visit efaq.info rather than etc/MORE.STUFF.
3342
3343 2014-01-07 Juri Linkov <juri@jurta.org>
3344
3345 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
3346 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
3347
3348 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
3349 that shadows RET. (Bug#16342)
3350
3351 2014-01-07 Chong Yidong <cyd@gnu.org>
3352
3353 * isearch.el (isearch-yank-char, isearch-yank-word)
3354 (isearch-yank-line): Doc fix.
3355
3356 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
3357
3358 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
3359 * emacs-lisp/elint.el (elint-find-builtins):
3360 * emacs-lisp/eldoc.el (eldoc-symbol-function):
3361 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
3362 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
3363 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
3364 * apropos.el (apropos-safe-documentation):
3365 * subr.el (symbol-file): Remove redundant fboundp.
3366 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
3367
3368 2014-01-06 Bastien Guerry <bzg@gnu.org>
3369
3370 * hl-line.el (global-hl-line-overlay): Make a local variable.
3371 (global-hl-line-overlays): New variable to store all overlays.
3372 (global-hl-line-mode): Don't delete overlays from the current
3373 buffer when `global-hl-line-sticky-flag' is non-nil.
3374 (global-hl-line-highlight): Add new overlays to
3375 `global-hl-line-overlays'.
3376 (global-hl-line-unhighlight-all): New function to delete all
3377 overlays when turning off `global-hl-line-mode'.
3378 This fixes Bug#16183.
3379
3380 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
3381
3382 * subr.el (set-transient-map): Fix nested case and docstring.
3383
3384 2014-01-06 Tassilo Horn <tsdh@gnu.org>
3385
3386 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
3387 `Texinfo' entry.
3388
3389 2014-01-06 Daniel Colascione <dancol@dancol.org>
3390
3391 Fix defun navigation in vc log view.
3392
3393 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
3394 like `beginning-of-defun'.
3395 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
3396 log-view-end-of-defun to log-view-end-of-defun-1. Replace
3397 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
3398 (log-view-extract-comment): Call `log-view-current-entry' directly
3399 instead of relying on broken `log-view-beginning-of-defun' behavior.
3400
3401 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
3402
3403 Spelling fixes.
3404 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
3405 * emacs-lisp/debug.el (cancel-debug-on-entry):
3406 * epg.el (epg-error-to-string):
3407 * files.el (recover-file):
3408 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
3409 * mail/emacsbug.el (report-emacs-bug-hook):
3410 * mail/sendmail.el (mail-recover):
3411 * ses.el (ses-yank-resize):
3412 * term/ns-win.el (ns-print-buffer):
3413 Spelling fixes in diagnostics, mostly for "canceled" with one L.
3414 * epg.el (epg-key-capability-alist): Rename from misspelled version.
3415 All uses changed.
3416 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
3417
3418 2014-01-06 Leo Liu <sdl.web@gmail.com>
3419
3420 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
3421 to avoid shadowing global key. (Bug#16354)
3422
3423 2014-01-06 Daniel Colascione <dancol@dancol.org>
3424
3425 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
3426 rst-mode.
3427
3428 2014-01-05 Martin Rudalics <rudalics@gmx.at>
3429
3430 * window.el (balance-windows): Add mising t to fix Bug#16351.
3431
3432 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3433
3434 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
3435 (bug#16285).
3436 (shr-insert): If we have a word that's longer than `shr-width',
3437 break after it anyway. Otherwise we'll do no breaking once we get
3438 such a long word.
3439
3440 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3441
3442 * net/eww.el (eww): Support single/double quote for search.
3443 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
3444 (eww-history-quit): Delete and use quit-window.
3445 (eww-history-kill): Delete, because it doesn't work well and
3446 not necessary.
3447 (eww-history-mode-map): Delete some keys and add easy-menu.
3448
3449 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
3450
3451 Fix misspelling of 'chinese' in rx (Bug#16237).
3452 * emacs-lisp/rx.el (rx-categories): Correct spelling of
3453 chinese-two-byte.
3454
3455 Change subword regexps back to vars (Bug#16296).
3456 * progmodes/subword.el (subword-forward-regexp)
3457 (subword-backward-regexp): Change these back to variables.
3458
3459 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
3460
3461 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
3462 syntax-begin-function (bug#16247).
3463
3464 2014-01-03 Chong Yidong <cyd@gnu.org>
3465
3466 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
3467 (advice--docstring): Delete variable.
3468 (advice--make-1): Leave the docstring empty.
3469 (advice-add): Use function-documentation for advised docstring.
3470
3471 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
3472 Ignore function-documentation property when getting documentation.
3473 (ad-activate-advised-definition): Use function-documentation
3474 generate the docstring.
3475 (ad-make-advised-definition): Don't call
3476 ad-make-advised-definition-docstring.
3477 (ad-make-advised-definition-docstring, ad-advised-definition-p):
3478 Delete functions.
3479
3480 * progmodes/sql.el (sql-help): Use function-documentation instead
3481 of dynamic-docstring-function property. No need to autoload now.
3482 (sql--help-docstring): New variable.
3483 (sql--make-help-docstring): Use it.
3484
3485 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
3486
3487 * ielm.el (ielm-tab): Retarget.
3488 (ielm-map): Use ielm-tab for tab.
3489 (ielm-complete-filename): Use comint-filename-completion.
3490 (ielm-complete-symbol): Remove.
3491 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
3492 remove ielm-tab from completion-at-point-functions (bug#16224).
3493
3494 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
3495 Beware signals raised by predicates (bug#16201).
3496
3497 2014-01-02 Richard Stallman <rms@gnu.org>
3498
3499 * dired-aux.el (dired-do-print): Handle printer-name.
3500
3501 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
3502 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
3503 (rmail-epa-decrypt): Turn off mime processing.
3504
3505 * mail/rmail.el (rmail-make-in-reply-to-field):
3506 Add parens in message-id.
3507
3508 * mail/rmail.el (rmail-get-coding-function): Variable.
3509 (rmail-get-coding-system): Use it.
3510
3511 2013-12-31 Eli Zaretskii <eliz@gnu.org>
3512
3513 * international/mule-conf.el: Unify the charset indian-is13194.
3514 (indian-is13194): Specify unify-map.
3515
3516 2013-12-31 Leo Liu <sdl.web@gmail.com>
3517
3518 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
3519
3520 2013-12-30 Daniel Colascione <dancol@dancol.org>
3521
3522 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
3523 of printing a useless when we resume from sleep.
3524
3525 * progmodes/sh-script.el
3526 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
3527 in indentation code. (Bug#16233)
3528
3529 2013-12-28 João Távora <joaotavora@gmail.com>
3530
3531 * elec-pair.el (electric-pair-post-self-insert-function):
3532 Don't open extra newlines at beginning of buffer. (Bug#16272)
3533
3534 2013-12-28 Eli Zaretskii <eliz@gnu.org>
3535
3536 * frame.el (window-system-for-display): Don't allow to create a
3537 GUI frame from a -nw session on MS-Windows. (Bug#14739)
3538
3539 2013-12-28 Glenn Morris <rgm@gnu.org>
3540
3541 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
3542 Update callers.
3543
3544 * apropos.el (apropos-match-face):
3545 * calculator.el (calculator-displayer):
3546 * dabbrev.el (dabbrev-search-these-buffers-only):
3547 * face-remap.el (buffer-face-mode-face):
3548 * simple.el (yank-handled-properties):
3549 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
3550 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
3551 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
3552 (hashcash-double-spend-database):
3553 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
3554 (ruby-deep-indent-paren-style):
3555 * textmodes/flyspell.el (flyspell-auto-correct-binding):
3556 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
3557 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
3558 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
3559 Specify custom types.
3560
3561 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
3562 * bookmark.el (bookmark-bmenu-use-header-line):
3563 * doc-view.el (doc-view-scale-internally):
3564 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
3565 * register.el (register-preview-delay):
3566 * net/shr.el (shr-bullet):
3567 * progmodes/cfengine.el (cfengine-cf-promises)
3568 (cfengine-parameters-indent):
3569 * progmodes/octave.el (inferior-octave-error-regexp-alist):
3570 * textmodes/reftex-vars.el (reftex-label-regexps):
3571 * vc/log-edit.el (log-edit-setup-add-author): Add version.
3572
3573 * net/tls.el (tls-certtool-program): Fix default value.
3574
3575 * desktop.el (desktop-restore-in-current-display):
3576 * newcomment.el (comment-empty-lines):
3577 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
3578 (idlwave-pad-keyword):
3579 * progmodes/tcl.el (tcl-tab-always-indent):
3580 * textmodes/reftex-vars.el (reftex-index-default-tag):
3581 * elec-pair.el (electric-pair-skip-whitespace):
3582 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
3583
3584 * emacs-lisp/authors.el (authors-ignored-files)
3585 (authors-valid-file-names, authors-renamed-files-alist): Additions.
3586
3587 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
3588
3589 * shell.el (shell-dynamic-complete-command): Doc fix.
3590 (shell--command-completion-data): Shell completion now matches
3591 executable filenames from the current buffer's directory, on
3592 systems in which this behavior is the default (windows-nt, ms-dos).
3593
3594 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
3595
3596 * net/shr.el (shr-insert): Don't infloop if the width is zero.
3597
3598 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
3599
3600 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
3601 (bug#16251).
3602
3603 * electric.el: Move all electric-pair-* to elec-pair.el.
3604 * elec-pair.el: New file, split from electric.el.
3605
3606 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
3607
3608 * net/shr.el (shr-find-fill-point): Don't try to fill if the
3609 indentation level is larger than the width, because that will
3610 infloop.
3611 (shr-insert): Fill repeatedly long texts, so that Japanese is
3612 formatted correctly (bug#16263).
3613 (shr-find-fill-point): Off by one error in comparison with the
3614 indentation.
3615
3616 2013-12-26 João Távora <joaotavora@gmail.com>
3617
3618 * electric.el (electric-pair-mode): More flexible engine for skip-
3619 and inhibit predicates, new options for pairing-related functionality.
3620 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
3621 if that keeps or improves their balance in buffers.
3622 (electric-pair-delete-adjacent-pairs): Delete the pair when
3623 backspacing over adjacent matched delimiters.
3624 (electric-pair-open-extra-newline): Open extra newline when
3625 inserting newlines between adjacent matched delimiters.
3626 (electric--sort-post-self-insertion-hook):
3627 Sort post-self-insert-hook according to priority values when
3628 minor-modes are activated.
3629 * simple.el (newline-and-indent): Call newline with interactive
3630 set to t.
3631 (blink-paren-post-self-insert-function): Set priority to 100.
3632 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3633 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
3634 comments. Locally set electric-pair-skip-whitespace to 'chomp and
3635 electric-pair-open-newline-between-pairs to nil.
3636
3637 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
3638
3639 * progmodes/python.el: Use lexical-binding.
3640 (python-nav-beginning-of-defun): Stop searching ASAP.
3641
3642 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
3643
3644 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
3645 Fix interactive spec. Doc fix. (Bug#15754)
3646
3647 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
3648
3649 * emacs-lisp/byte-run.el (eval-when-compile):
3650 * progmodes/cc-defs.el (cc-eval-when-compile):
3651 Fix edebug spec (bug#16184).
3652
3653 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
3654
3655 * net/shr.el (shr-visit-file): Remove debugging function.
3656 (shr-insert): Don't infloop if we can't find a good place to break
3657 the line (bug#16256).
3658
3659 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
3660
3661 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
3662 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
3663 python-nav-lisp-forward-sexp-safe.
3664 (python-nav--forward-sexp): New argument SAFE allows switching
3665 forward sexp movement behavior for parens.
3666 (python-nav-forward-sexp): Throw errors on unterminated parens
3667 (Bug#16191).
3668 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
3669 (python-nav-backward-sexp-safe): New functions.
3670 (python-shell-buffer-substring):
3671 Use `python-nav-forward-sexp-safe'.
3672
3673 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
3674
3675 * net/shr.el (shr-find-fill-point): Don't break lines before a
3676 quotation mark.
3677 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
3678 (shr-find-fill-point): Remove the special checks for the quotation
3679 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
3680
3681 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3682
3683 * net/eww.el (eww-form-textarea): Use a different face for
3684 textareas than text input since they have different keymaps
3685 (bug#16142).
3686
3687 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
3688
3689 * progmodes/python.el (python-nav-beginning-of-statement):
3690 Speed up (Bug#15295).
3691
3692 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
3693
3694 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
3695 the window configuration.
3696
3697 2013-12-24 Eli Zaretskii <eliz@gnu.org>
3698
3699 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
3700 we run on MS-Windows or MS-DOS.
3701
3702 2013-12-24 Martin Rudalics <rudalics@gmx.at>
3703
3704 * window.el (balance-windows-area): Call window-size instead of
3705 window-height and window-width. Bug#16241.
3706
3707 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
3708
3709 * net/eww.el (eww-bookmark-quit): Remove.
3710 (eww-bookmark-browse): Restore the window configuration when you
3711 choose a bookmark (bug#16144).
3712
3713 2013-12-24 Daniel Colascione <dancol@dancol.org>
3714
3715 * icomplete.el: Remove redundant :group arguments to `defcustom'
3716 throughout.
3717 (icomplete-show-matches-on-no-input): New customizable variable.
3718 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
3719 we have something to show.
3720 (icomplete-exhibit): Compute completions even if we have no user input.
3721
3722 2013-12-23 Daniel Colascione <dancol@dancol.org>
3723
3724 * icomplete.el: Move `provide' to end of file.
3725
3726 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
3727
3728 * net/gnutls.el (gnutls-verify-error): Add version tag.
3729
3730 2013-12-23 Chong Yidong <cyd@gnu.org>
3731
3732 * subr.el (set-transient-map): Rename from
3733 set-temporary-overlay-map. Doc fix.
3734
3735 * face-remap.el (text-scale-adjust):
3736 * indent.el (indent-rigidly):
3737 * kmacro.el (kmacro-call-macro):
3738 * minibuffer.el (minibuffer-force-complete):
3739 * repeat.el (repeat):
3740 * simple.el (universal-argument--mode):
3741 * calendar/todo-mode.el (todo-insert-item--next-param):
3742 * progmodes/f90.el (f90-abbrev-start): Callers changed.
3743
3744 * indent.el (indent-rigidly): Use substitute-command-keys.
3745
3746 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3747
3748 * net/eww.el (eww-tag-select): Add text-property to jump to next
3749 select field.
3750 (eww): Add non-supported ftp error.
3751
3752 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
3753
3754 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
3755 comments. Handle electric indent after typing `?' and `!'.
3756
3757 2013-12-22 Chong Yidong <cyd@gnu.org>
3758
3759 * faces.el (face-spec-recalc): If the theme specs are not
3760 applicable to a frame, fall back on the defface spec.
3761 This prevents themes from obliterating faces on low-color terminals.
3762
3763 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
3764
3765 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
3766 after `{'. We need it after block openers, and it doesn't seem
3767 to hurt after hash openers.
3768
3769 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
3770
3771 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
3772 extracted from `ruby-smie-rules'.
3773 (ruby--electric-indent-chars): New variable.
3774 (ruby--electric-indent-p): New function.
3775 (ruby-mode): Use `electric-indent-functions' instead of
3776 `electric-indent-chars'.
3777
3778 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
3779
3780 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
3781 docstring.
3782 (ruby-smie-rules): Indent plus one level after `=>'.
3783
3784 2013-12-21 Richard Stallman <rms@gnu.org>
3785
3786 * simple.el (newline): Doc fix.
3787
3788 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3789
3790 * net/eww.el (eww-list-histories, eww-list-histories)
3791 (eww-history-browse, eww-history-quit, eww-history-kill)
3792 (eww-history-mode-map, eww-history-mode): New command and
3793 functions to list browser histories.
3794 (eww-form-text): Support text form with disabled
3795 and readonly attributes.
3796 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
3797
3798 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3799
3800 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
3801 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
3802 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
3803 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
3804 Use `user-error'.
3805 (eww-bookmark-mode-map): Add menu.
3806 (eww-render, eww-mode): Use `setq-local'.
3807 (eww-tool-bar-map): New variable.
3808 (eww-mode): Set `tool-bar-map'.
3809 (eww-view-source): Check for `html-mode' with `fboundp'.
3810
3811 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3812
3813 * net/shr.el (shr--extract-best-source): Don't bug out on audio
3814 elements with text inside. Also remove debugging.
3815
3816 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
3817
3818 * cus-start.el (all): Add ns-use-srgb-colorspace.
3819
3820 2013-12-21 Chong Yidong <cyd@gnu.org>
3821
3822 * custom.el (custom-theme-recalc-face): Do nothing if the face is
3823 undefined. Thus, theme settings for undefined faces do not take
3824 effect until the faces are defined with defface, the same as with
3825 theme variables.
3826
3827 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
3828 (face-spec-reset-face): Don't assign extra properties in temacs.
3829 (face-spec-recalc): Apply X resources too.
3830
3831 2013-12-21 Chong Yidong <cyd@gnu.org>
3832
3833 * faces.el (face-spec-set):
3834 * cus-face.el (custom-theme-set-faces, custom-set-faces):
3835 * custom.el (defface): Doc fixes (Bug#16203).
3836
3837 * indent.el (indent-rigidly-map): Add docstring, and move commands
3838 into named functions.
3839 (indent-rigidly-left, indent-rigidly-right)
3840 (indent-rigidly-left-to-tab-stop)
3841 (indent-rigidly-right-to-tab-stop): New functions. Decide on
3842 indentation direction based on bidi direction, and accumulate
3843 sequential commands in a single undo boundary.
3844 (indent-rigidly--pop-undo): New utility function.
3845
3846 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
3847
3848 * faces.el (read-face-name): Require crm.el when using crm-separator.
3849
3850 2013-12-20 Daniel Colascione <dancol@dancol.org>
3851
3852 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
3853 so that we don't reflow comments into the shebang line.
3854
3855 2013-12-20 Juri Linkov <juri@jurta.org>
3856
3857 * saveplace.el (save-place-to-alist): Add `dired-filename' as
3858 a position when `dired-directory' is non-nil. Check integer
3859 positions with `integerp'.
3860 (toggle-save-place, save-places-to-alist): Add check for
3861 `dired-directory'.
3862 (save-place-find-file-hook): Check integer positions with
3863 `integerp'.
3864 (save-place-dired-hook): Use `dired-goto-file' when
3865 `dired-filename' is found in the assoc list. Check integer
3866 positions with `integerp'.
3867 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
3868
3869 * dired.el (dired-initial-position-hook): Rename back from
3870 `dired-initial-point-hook'.
3871 (dired-initial-position): Rename `dired-initial-point-hook' to
3872 `dired-initial-position-hook'.
3873 (dired-file-name-at-point): Doc fix. (Bug#15329)
3874
3875 2013-12-20 Juri Linkov <juri@jurta.org>
3876
3877 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
3878 (read-regexp-suggestions): New function.
3879 (read-regexp): Use `read-regexp-defaults-function' to get default values.
3880 Use `read-regexp-suggestions'. Add non-empty default to history
3881 for empty input.
3882 (occur-read-regexp-defaults-function): Remove function.
3883 (occur-read-primary-args): Use `regexp-history-last' instead of
3884 `occur-read-regexp-defaults-function'.
3885
3886 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
3887 (hi-lock-line-face-buffer, hi-lock-face-buffer)
3888 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
3889 `hi-lock-read-regexp-defaults-function'. Doc fix.
3890 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
3891 with `find-tag-default-as-symbol-regexp'. Doc fix.
3892 (hi-lock-read-regexp-defaults): Remove function.
3893 (hi-lock-regexp-okay): Add check for null.
3894
3895 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
3896 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
3897
3898 * subr.el (find-tag-default-as-symbol-regexp): New function.
3899 (find-tag-default-as-regexp): Move symbol regexp formatting to
3900 `find-tag-default-as-symbol-regexp'.
3901
3902 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
3903
3904 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
3905 (Bug#14179)
3906
3907 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
3908
3909 * calendar/todo-mode.el: New implementation of item insertion
3910 commands and key bindings.
3911 (todo-key-prompt): New face.
3912 (todo-insert-item): New command.
3913 (todo-insert-item--parameters): New defconst, replacing defvar
3914 todo-insertion-commands-args-genlist.
3915 (todo-insert-item--param-key-alist): New defconst, replacing
3916 defvar todo-insertion-commands-arg-key-list.
3917 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
3918 (todo-insert-item--argsleft, todo-insert-item--apply-args)
3919 (todo-insert-item--next-param): New functions.
3920 (todo-insert-item--args, todo-insert-item--argleft)
3921 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
3922 New variables.
3923 (todo-key-bindings-t): Change binding of "i" from
3924 todo-insertion-map to todo-insert-item.
3925 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
3926 (todo-insertion-command-name, todo-insertion-commands-names)
3927 (todo-define-insertion-command, todo-insertion-commands)
3928 (todo-insertion-key-bindings, todo-insertion-map): Remove.
3929
3930 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
3931
3932 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
3933 (todo-toggle-item-highlighting): Use eval-and-compile instead of
3934 eval-when-compile.
3935 (todo-move-category): Allow choosing a non-existing todo file to
3936 move the category to, and create that file.
3937 (todo-default-priority): New user option.
3938 (todo-set-item-priority): Use it.
3939 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
3940 (desktop-restore-file-buffer): Declare.
3941 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
3942 (todo-modes-set-2): Locally set desktop-save-buffer to
3943 todo-desktop-save-buffer.
3944 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
3945 (auto-mode-alist): Add autoload cookie.
3946
3947 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
3948
3949 * emacs-lisp/subr-x.el: Renamed from helpers.el.
3950 helpers.el was a poor choice of name.
3951 (string-remove-prefix): New function.
3952 (string-remove-suffix): New function.
3953
3954 2013-12-20 Martin Rudalics <rudalics@gmx.at>
3955
3956 Fix assignment for new window total sizes.
3957 * window.el (window--pixel-to-size): Remove function.
3958 (window--pixel-to-total-1, window--pixel-to-total):
3959 Fix calculation of new total sizes.
3960
3961 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
3962
3963 * comint.el (comint-output-filter): Fix rear-nonsticky property
3964 placement (Bug#16010).
3965
3966 2013-12-20 Chong Yidong <cyd@gnu.org>
3967
3968 * faces.el (read-color): Minor fix for completion function.
3969
3970 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
3971
3972 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
3973 New option. (Bug#16182)
3974 (ruby-smie--indent-to-stmt-p): Use it.
3975 (ruby-smie-rules): Revert the logic in the handling of `when'.
3976 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
3977 (ruby-deep-arglist, ruby-deep-indent-paren)
3978 (ruby-deep-indent-paren-style): Update docstrings to note that the
3979 vars don't have any effect with SMIE.
3980
3981 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
3982
3983 * calc/calc.el (calc-enter, calc-pop): Use the variable
3984 `calc-context-sensitive-enter'.
3985
3986 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
3987
3988 * net/shr.el (shr-insert): Protect against infloops in degenerate
3989 tables.
3990
3991 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3992
3993 * progmodes/octave.el (octave): Add link to manual and octave
3994 homepage.
3995 (octave-mode-menu): Link to octave-mode manual.
3996
3997 2013-12-20 Leo Liu <sdl.web@gmail.com>
3998
3999 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
4000 insertion using skeleton-end-newline. (Bug#16138)
4001
4002 2013-12-20 Juri Linkov <juri@jurta.org>
4003
4004 * replace.el (occur-engine): Use `add-face-text-property'
4005 to add the face property to matches and titles. (Bug#14645)
4006
4007 * hi-lock.el (hi-green): Use lighter color "light green" closer to
4008 the palette of other hi-lock colors.
4009 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
4010
4011 2013-12-19 Juri Linkov <juri@jurta.org>
4012
4013 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
4014 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
4015 (minibuffer-history-symbol): Move variable declaration closer to
4016 its usage.
4017
4018 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
4019 (Bug#14785)
4020
4021 2013-12-19 Juri Linkov <juri@jurta.org>
4022
4023 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
4024 New function.
4025 (log-edit-hook): Add it to :options. (Bug#16170)
4026
4027 2013-12-19 Juri Linkov <juri@jurta.org>
4028
4029 * simple.el (eval-expression-print-format): Don't check for
4030 command names and the last command. Always display additional
4031 formats of the integer result in the echo area, and insert them
4032 to the current buffer only with a zero prefix arg.
4033 Display character when char-displayable-p is non-nil.
4034 (eval-expression): With a zero prefix arg, set `print-length' and
4035 `print-level' to nil, and insert the integer values from
4036 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
4037
4038 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
4039 `eval-last-sexp-arg-internal'. Doc fix.
4040 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
4041 `eval-last-sexp-print-value'. Doc fix.
4042 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
4043 Set `print-length' and `print-level' to nil when arg is zero.
4044 (eval-last-sexp): Doc fix.
4045 (eval-defun-2): Print the integer values from
4046 `eval-expression-print-format' at the end.
4047
4048 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
4049 values from `eval-expression-print-format' at the end.
4050
4051 * ielm.el (ielm-eval-input): Print the integer
4052 values from `eval-expression-print-format' at the end.
4053
4054 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
4055
4056 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
4057 2013-12-11T19:01:44Z!tzz@lifelogs.com.
4058
4059 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
4060
4061 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
4062 (hl-line-highlight, global-hl-line-highlight): Use it.
4063 (hl-line-overlay): Use defvar-local.
4064
4065 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
4066
4067 * term/ns-win.el: Require dnd.
4068 (global-map): Remove drag items.
4069 (ns-insert-text, ns-set-foreground-at-mouse)
4070 (ns-set-background-at-mouse):
4071 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
4072 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
4073 New functions.
4074
4075 2013-12-19 Glenn Morris <rgm@gnu.org>
4076
4077 * emacs-lisp/ert.el (ert-select-tests):
4078 Fix string/symbol mixup. (Bug#16121)
4079
4080 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
4081
4082 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
4083 keywords to their parent.
4084
4085 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
4086
4087 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
4088 first arg to be a string (fixed dead code), or an operator symbol.
4089 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
4090 operator symbols.
4091 (ruby-smie-rules): Remove parent token check in the `.' clause, it
4092 did nothing. Don't respond to `(:after ".")', it will be called
4093 with :before anyway. Remove the ` @ ' rule, it didn't seem to
4094 change anything. Only return indentation for binary operators
4095 when they are hanging. De-dent opening paren when its parent is
4096 `.', otherwise it looks bad when the dot is not at bol or eol
4097 (bug#16182).
4098
4099 2013-12-19 Juri Linkov <juri@jurta.org>
4100
4101 * replace.el (query-replace-read-args): Split a non-negative arg
4102 and a negative arg into separate elements.
4103 (query-replace, query-replace-regexp, replace-string)
4104 (replace-regexp): Add arg `backward'. Doc fix.
4105 (replace-match-maybe-edit): When new arg `backward' is non-nil,
4106 move point to the beginning of the match.
4107 (replace-search, replace-highlight): Use new arg `backward'
4108 to set the value of `isearch-forward'.
4109 (perform-replace): Add arg `backward' and use it to perform
4110 replacement backward. (Bug#14979)
4111
4112 * isearch.el (isearch-query-replace): Use a negative prefix arg
4113 to call `perform-replace' with a non-nil arg `backward'.
4114
4115 2013-12-18 Juri Linkov <juri@jurta.org>
4116
4117 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
4118 to the default list. Move `log-edit-show-files' to the end.
4119 Add more available functions to options.
4120 (log-edit): Move default specific settings to
4121 `log-edit-insert-message-template'. Don't move point.
4122 (log-edit-insert-message-template): New function.
4123 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
4124 (Bug#16170)
4125
4126 2013-12-18 Juri Linkov <juri@jurta.org>
4127
4128 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
4129 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
4130
4131 2013-12-18 Leo Liu <sdl.web@gmail.com>
4132
4133 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
4134 (Bug#16186)
4135
4136 2013-12-18 Eli Zaretskii <eliz@gnu.org>
4137
4138 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
4139 formats for displaying file sizes when the -s switch is given.
4140 Instead, compute a separate format for displaying the size in
4141 blocks, which is displayed in addition to the "regular" size.
4142 When -h is given in addition to -s, produce size in blocks in
4143 human-readable form as well. (Bug#16179)
4144
4145 2013-12-18 Tassilo Horn <tsdh@gnu.org>
4146
4147 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
4148 Reference tables with ~\ref{...} instead of only \ref{...}.
4149
4150 2013-12-18 Chong Yidong <cyd@gnu.org>
4151
4152 * cus-edit.el (custom-magic-alist): Fix "themed" description
4153 (Bug#14348).
4154
4155 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
4156 is non-nil, do not create a new entry in the symbol's theme-value
4157 or theme-face property; update theme-settings only (Bug#14664).
4158 (custom-available-themes): Doc fix.
4159
4160 * cus-theme.el (custom-new-theme-mode-map): Add bindings
4161 (Bug#15674).
4162
4163 * replace.el (occur-engine): Avoid infloop (Bug#7593).
4164
4165 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
4166
4167 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
4168 (Bug#13914).
4169
4170 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
4171
4172 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
4173
4174 2013-12-18 Glenn Morris <rgm@gnu.org>
4175
4176 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
4177 * cus-start.el (load-prefer-newer): New option.
4178
4179 2013-12-18 Le Wang <l26wang@gmail.com>
4180
4181 * comint.el (comint-previous-matching-input-from-input):
4182 Retain point (Bug#13404).
4183
4184 2013-12-18 Chong Yidong <cyd@gnu.org>
4185
4186 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
4187
4188 2013-12-18 Glenn Morris <rgm@gnu.org>
4189
4190 * mail/emacsbug.el (report-emacs-bug):
4191 Only mention enable-multibyte-characters if non-standard.
4192
4193 2013-12-17 Juri Linkov <juri@jurta.org>
4194
4195 * arc-mode.el (archive-extract-by-file): Check if directory exists
4196 before deletion to not show irrelevant errors if it doesn't exist.
4197
4198 2013-12-17 Juri Linkov <juri@jurta.org>
4199
4200 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
4201 (Bug#14751)
4202
4203 * net/eww.el (browse-web): Add alias to `eww'.
4204 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
4205 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
4206
4207 * net/browse-url.el (browse-url-browser-function): Move `eww'
4208 closer to similar functions.
4209
4210 * startup.el (fancy-startup-screen, fancy-about-screen):
4211 Set browse-url-browser-function to eww-browse-url locally.
4212 (Bug#14751)
4213
4214 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
4215
4216 * window.el (window--pixel-to-total): Remove unused `mini' var.
4217 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
4218 (split-window): Remove unused `new' var.
4219 (window--display-buffer): Remove unused `frame' and `delta' vars.
4220 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
4221 and display-width'.
4222
4223 2013-12-17 Martin Rudalics <rudalics@gmx.at>
4224
4225 * dired.el (dired-mark-pop-up):
4226 * register.el (register-preview): Don't bind
4227 split-height-threshold here since it's now done in
4228 display-buffer-below-selected.
4229
4230 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
4231
4232 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
4233 xterm-rgb-convert-to-16bit.
4234 (rxvt-register-default-colors): Standardize with
4235 xterm-register-default-colors (Bug#14078).
4236
4237 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
4238
4239 * simple.el (kill-region): Pass mark first, then point, so that
4240 kill-append works right (Bug#12819).
4241 (copy-region-as-kill, kill-ring-save): Likewise.
4242
4243 2013-12-17 Leo Liu <sdl.web@gmail.com>
4244
4245 * net/rcirc.el (rcirc-add-face):
4246 * eshell/em-prompt.el (eshell-emit-prompt):
4247 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
4248 (Bug#16167)
4249
4250 2013-12-17 Chong Yidong <cyd@gnu.org>
4251
4252 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
4253 Suggested by Xue Fuqiao.
4254
4255 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
4256
4257 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
4258
4259 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
4260
4261 * net/shr.el (shr-insert-document): Remove unused var
4262 `shr-preliminary-table-render'.
4263 (shr-rescale-image): Remove unused arg `force'.
4264 (shr-put-image): Update calls accordingly.
4265 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
4266
4267 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
4268
4269 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
4270 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
4271 :close-all, to see which indentation method to use (Bug#16116).
4272 (smie-rules-function): Document the method :close-all.
4273
4274 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4275
4276 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
4277
4278 * net/eww.el (eww-display-html): If we can't find the anchor we're
4279 looking for, then go to point-min.
4280
4281 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
4282
4283 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
4284 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
4285 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
4286 Expand dir too, in case it's relative.
4287
4288 2013-12-16 Juri Linkov <juri@jurta.org>
4289
4290 * desktop.el (desktop-auto-save-timeout): Change default to
4291 `auto-save-timeout'. Doc fix.
4292 (desktop-save): Skip the timestamp in desktop-saved-frameset
4293 when checking for auto-save changes.
4294 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
4295 `desktop-auto-save' is called repeatedly by the idle timer.
4296 (desktop-auto-save-set-timer): Replace `run-with-timer' with
4297 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
4298 (Bug#15331)
4299
4300 2013-12-16 Juri Linkov <juri@jurta.org>
4301
4302 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
4303 (Bug#16035)
4304 (isearch-pre-command-hook): Check `this-command' for symbolp.
4305
4306 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
4307
4308 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
4309
4310 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
4311
4312 * progmodes/cfengine.el (cfengine3--current-word): Remove.
4313 (cfengine3--current-function): Bring in the current-function
4314 functionality from `cfengine3--current-word'.
4315 (cfengine3-completion-function): Bring in the
4316 bounds-of-current-word functionality from
4317 `cfengine3--current-word'.
4318
4319 2013-12-16 Martin Rudalics <rudalics@gmx.at>
4320
4321 * window.el (display-buffer-below-selected):
4322 Bind split-height-threshold to 0 as suggested by Juri Linkov.
4323
4324 2013-12-16 Leo Liu <sdl.web@gmail.com>
4325
4326 * progmodes/compile.el (compile-goto-error): Do not push-mark.
4327 Remove NOMSG arg and all uses changed.
4328
4329 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
4330
4331 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
4332 (cua--deactivate-rectangle): Don't deactivate the mark.
4333 (cua-set-rectangle-mark): Don't set mark-active since
4334 cua--activate-rectangle already does it for us.
4335 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
4336 non-rectangular region.
4337
4338 * emulation/cua-base.el (cua-repeat-replace-region):
4339 Use with-current-buffer.
4340
4341 * net/gnutls.el: Use cl-lib.
4342 (gnutls-negotiate): `mapcan' -> cl-mapcan.
4343
4344 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
4345
4346 * emacs-lisp/package.el (package-built-in-p): Support both
4347 built-in and the package.el converted package descriptions.
4348 (package-show-package-list): Allow keywords.
4349 (package-keyword-button-action): Use it instead of
4350 `finder-list-matches'.
4351 (package-menu-filter-interactive): Interactive filtering (by
4352 keyword) function.
4353 (package-menu--generate): Support keywords and change keymappings
4354 and headers when they are given.
4355 (package--has-keyword-p): Helper function.
4356 (package-menu--refresh): Use it.
4357 (package--mapc): Helper function.
4358 (package-all-keywords): Use it.
4359 (package-menu-mode-map): Set up menu items and keybindings to
4360 provide a filtering UI.
4361
4362 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
4363
4364 * net/gnutls.el (gnutls-verify-error): New defcustom to control
4365 the behavior when a certificate fails validation. Defaults to
4366 old behavior: never abort, just warn.
4367 (gnutls-negotiate): Use it.
4368
4369 2013-12-14 Martin Rudalics <rudalics@gmx.at>
4370
4371 * window.el (display-buffer-below-selected): Never split window
4372 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
4373
4374 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
4375
4376 * emacs-lisp/package.el (package--prepare-dependencies): New function.
4377 (package-buffer-info): Use it (bug#15108).
4378
4379 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
4380
4381 * icomplete.el (icomplete-completions): Make sure the prefix is already
4382 displayed elsewhere before hiding it (bug#16219).
4383
4384 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
4385
4386 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
4387 open-paren tokens when preceded by a open-paren, too.
4388 (ruby-smie-rules): Handle virtual indentation after open-paren
4389 tokens specially. If there is code between it and eol, return the
4390 column where is starts (Bug#16118).
4391
4392 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
4393
4394 * progmodes/cfengine.el: Fix `add-hook' doc.
4395 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
4396 (cfengine3--current-word): Fix parameters.
4397 (cfengine3-make-syntax-cache): Simplify further.
4398 (cfengine3-completion-function, cfengine3--current-function):
4399 Use `assq' for symbols.
4400 (cfengine3--current-function): Fix `cfengine3--current-word' call.
4401
4402 2013-12-13 Glenn Morris <rgm@gnu.org>
4403
4404 * loadup.el (load-path): Warn if site-load or site-init changes it.
4405 No more need to reset it when bootstrapping.
4406
4407 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
4408
4409 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
4410 locations for cf-promises.
4411 (cfengine-mode-syntax-functions-regex): New caching variable.
4412 (cfengine3-fallback-syntax): Fallback syntax for cases where
4413 cf-promises doesn't run.
4414 (cfengine3--current-word): Reimplement using
4415 `cfengine-mode-syntax-functions-regex'.
4416 (cfengine3-completion-function, cfengine3--current-function):
4417 Use `cfengine3-make-syntax-cache' directly.
4418 (cfengine3-clear-syntax-cache): New function.
4419 (cfengine3-make-syntax-cache): Simplify and create
4420 `cfengine-mode-syntax-functions-regex' on demand.
4421 (cfengine3-format-function-docstring): Don't call
4422 `cfengine3-make-syntax-cache' explicitly.
4423
4424 2013-12-13 Martin Rudalics <rudalics@gmx.at>
4425
4426 Fix windmove-find-other-window broken after pixelwise resizing
4427 (Bug#16017).
4428 * windmove.el (windmove-other-window-loc): Revert change from
4429 2013-12-04.
4430 (windmove-find-other-window): Call window-in-direction.
4431 * window.el (window-in-direction): New arguments SIGN, WRAP and
4432 MINI to emulate original windmove-find-other-window behavior.
4433
4434 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
4435
4436 * simple.el (blink-matching--overlay): New variable.
4437 (blink-matching-open): Instead of moving point, highlight the
4438 matching paren with an overlay
4439 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
4440
4441 * faces.el (paren-showing-faces, show-paren-match)
4442 (show-paren-mismatch): Move from paren.el.
4443
4444 2013-12-13 Leo Liu <sdl.web@gmail.com>
4445
4446 * indent.el (indent-region): Disable progress reporter in
4447 minibuffer. (Bug#16108)
4448
4449 * bindings.el (visual-order-cursor-movement): Fix version.
4450
4451 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4452
4453 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
4454 Also match after beginning of line.
4455 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
4456 files. Thanks to Russell Sim. (Bug#15378)
4457
4458 2013-12-13 Juri Linkov <juri@jurta.org>
4459
4460 * simple.el <Keypad support>: Remove key bindings duplicated
4461 with bindings.el. (Bug#14397)
4462
4463 2013-12-13 Juri Linkov <juri@jurta.org>
4464
4465 * comint.el (comint-mode-map): Replace `delete-char' with
4466 `delete-forward-char'. (Bug#16109)
4467
4468 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
4469
4470 * progmodes/python.el (python-indent-calculate-indentation):
4471 Fix de-denters cornercase. (Bug#15731)
4472
4473 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
4474
4475 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
4476 (advice--make): Pay attention to `depth'.
4477 (advice--make-1): Don't autoload commands eagerly.
4478 * emacs-lisp/elp.el (elp-instrument-function):
4479 * emacs-lisp/trace.el (trace-function-internal):
4480 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
4481
4482 * iswitchb.el (iswitchb-mode): Don't belittle ido.
4483
4484 2013-12-12 Eli Zaretskii <eliz@gnu.org>
4485
4486 * term/w32-win.el (w32-handle-dropped-file):
4487 * startup.el (normal-top-level):
4488 * net/browse-url.el (browse-url-file-url):
4489 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
4490 decode file names using 'utf-8' rather than
4491 file-name-coding-system.
4492
4493 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
4494
4495 * progmodes/python.el (python-indent-context)
4496 (python-indent-calculate-indentation): Fix auto-identation
4497 behavior for comment blocks. (Bug#15916)
4498
4499 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4500
4501 * progmodes/python.el (python-indent-calculate-indentation):
4502 When determining indentation, don't treat "return", "pass", etc., as
4503 operators when they are just string constituents. (Bug#15812)
4504
4505 2013-12-12 Juri Linkov <juri@jurta.org>
4506
4507 * uniquify.el (uniquify-buffer-name-style): Change default to
4508 `post-forward-angle-brackets'.
4509
4510 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
4511 `uniquify'. Change default to `post-forward-angle-brackets'.
4512
4513 2013-12-11 Glenn Morris <rgm@gnu.org>
4514
4515 * emacs-lisp/package.el (finder-list-matches):
4516 Autoload rather than falsely declaring.
4517
4518 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
4519
4520 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
4521 (eww-mode-map): Use them.
4522
4523 2013-12-11 Martin Rudalics <rudalics@gmx.at>
4524
4525 * window.el (display-buffer-in-side-window): Fix doc-string
4526 (Bug#16115).
4527
4528 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
4529
4530 * vc/vc-git.el: Silence byte-compiler warnings.
4531 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
4532 (log-edit-set-header): Declare.
4533
4534 2013-12-11 Eli Zaretskii <eliz@gnu.org>
4535
4536 * Makefile.in (custom-deps, finder-data): Run output file names
4537 through unmsys--file-name. (Bug#16099)
4538
4539 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
4540
4541 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
4542 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
4543
4544 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
4545 instead of deleting the selection "by hand" (bug#16098).
4546 Rely on insert-for-yank to yank rectangles.
4547 (cua-highlight-region-shift-only): Mark obsolete.
4548 (cua-mode): Don't enable/disable transient-mark-mode,
4549 shift-select-mode (cua-mode works both with and without them), and
4550 pc-selection-mode (obsolete).
4551 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
4552 (cua--deactivate-rectangle): Deactivate it.
4553
4554 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
4555 (delete-selection-helper): Make sure yank starts at the top of the
4556 deleted region.
4557 (minibuffer-keyboard-quit): Use region-active-p.
4558
4559 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
4560
4561 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
4562 to `delete' (bug#16109).
4563
4564 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4565
4566 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
4567 info manual and show keybindings and set `:group' keyword.
4568
4569 2013-12-11 Juri Linkov <juri@jurta.org>
4570
4571 * delsel.el (delete-active-region): Let-bind `this-command'
4572 to prevent `kill-region' from changing its original value.
4573 (delete-selection-helper): Handle `overwrite-mode' for the type
4574 `kill' exactly the same way as for the type `t'.
4575 (insert-char, quoted-insert, reindent-then-newline-and-indent):
4576 Support more commands. (Bug#13312)
4577
4578 2013-12-11 Juri Linkov <juri@jurta.org>
4579
4580 * bindings.el: Map kp keys to non-kp keys systematically
4581 with basic modifiers control, meta and shift. (Bug#14397)
4582
4583 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4584
4585 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
4586 "Close browser" menu items. Fix wrong function of "List
4587 bookmarks".
4588
4589 2013-12-11 Juri Linkov <juri@jurta.org>
4590
4591 * misearch.el (multi-isearch-buffers): Set the value of
4592 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
4593 arg of isearch-forward to t.
4594 (multi-isearch-buffers-regexp): Set the value of
4595 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
4596 arg of isearch-forward-regexp to t.
4597 (multi-isearch-files): Set the value of
4598 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
4599 arg of isearch-forward to t.
4600 (multi-isearch-files-regexp): Set the value of
4601 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
4602 arg of isearch-forward-regexp to t. (Bug#16035)
4603
4604 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
4605 arg of isearch-forward to t.
4606 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
4607 arg of isearch-forward-regexp to t.
4608 (dired-isearch-filter-filenames): Remove unnecessary check for
4609 `dired-isearch-filenames'.
4610
4611 * comint.el (comint-history-isearch-backward):
4612 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
4613 (comint-history-isearch-backward-regexp):
4614 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
4615
4616 2013-12-10 Eli Zaretskii <eliz@gnu.org>
4617
4618 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
4619 unmsys--file-name. (Bug#16099)
4620
4621 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
4622
4623 * emacs-lisp/package.el (package-keyword-button-action):
4624 Remove finder.el require dependency.
4625
4626 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
4627
4628 * emacs-lisp/package.el: Require finder.el.
4629 (describe-package-1): Add keyword buttons.
4630 (package-make-button): New convenience function.
4631 (package-keyword-button-action): Keyword button action using
4632 `finder-list-matches'.
4633
4634 2013-12-09 Eli Zaretskii <eliz@gnu.org>
4635
4636 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
4637 last commit.
4638
4639 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
4640
4641 * autorevert.el (auto-revert-notify-add-watch): Do not handle
4642 symlinked files.
4643
4644 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
4645
4646 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
4647 after the end of a percent literal.
4648
4649 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
4650
4651 * progmodes/ruby-mode.el (ruby-forward-string): Document.
4652 Handle caret-delimited strings (Bug#16079).
4653
4654 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
4655
4656 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
4657 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
4658 `ruby-parse-partial' (Bug#16078).
4659
4660 2013-12-09 Leo Liu <sdl.web@gmail.com>
4661
4662 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
4663
4664 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
4665
4666 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
4667 (js-switch-indent-offset): New option.
4668 (js--proper-indentation): Use it. And handle the case when
4669 "default" is actually a key in an object literal.
4670 (js--same-line): New function.
4671 (js--multi-line-declaration-indentation): Use it.
4672 (js--indent-in-array-comp, js--array-comp-indentation):
4673 New functions.
4674 (js--proper-indentation): Use them, to handle array comprehension
4675 continuations.
4676
4677 2013-12-08 Leo Liu <sdl.web@gmail.com>
4678
4679 * progmodes/flymake.el (flymake-highlight-line): Re-write.
4680 (flymake-make-overlay): Remove arg MOUSE-FACE.
4681 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
4682
4683 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4684
4685 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
4686 New function.
4687 (redisplay-highlight-region-function): Use it.
4688
4689 * emulation/cua-base.el (cua--explicit-region-start)
4690 (cua--last-region-shifted): Remove.
4691 (cua--deactivate): Use deactivate-mark.
4692 (cua--pre-command-handler-1): Don't handle shift-selection.
4693 (cua--post-command-handler-1): Don't change transient-mark-mode.
4694 (cua--select-keymaps): Use region-active-p rather than
4695 cua--explicit-region-start or cua--last-region-shifted.
4696 (cua-mode): Enable shift-select-mode.
4697
4698 2013-12-08 Leo Liu <sdl.web@gmail.com>
4699
4700 * progmodes/flymake.el (flymake-popup-current-error-menu):
4701 Rename from flymake-display-err-menu-for-current-line. Reimplement.
4702 (flymake-posn-at-point-as-event, flymake-popup-menu)
4703 (flymake-make-emacs-menu): Remove. (Bug#16077)
4704
4705 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4706
4707 * rect.el (rectangle-mark-mode): Activate mark even if
4708 transient-mark-mode is off (bug#16066).
4709 (rectangle--highlight-for-redisplay): Fix boundary condition when point
4710 is > mark and at bolp.
4711
4712 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
4713 (region-extract-function): Use it.
4714 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
4715 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
4716 Delete functions.
4717 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
4718 kill-ring-save, kill-region, delete-char, delete-forward-char.
4719 Ignore self-insert-iso.
4720
4721 * emulation/cua-gmrk.el (cua--init-global-mark):
4722 Ignore `self-insert-iso'.
4723
4724 * emulation/cua-base.el (cua--prefix-copy-handler)
4725 (cua--prefix-cut-handler): Rely on region-extract-function rather than
4726 checking cua--rectangle.
4727 (cua-delete-region): Use region-extract-function.
4728 (cua-replace-region): Delete function.
4729 (cua-copy-region, cua-cut-region): Obey region-extract-function.
4730 (cua--pre-command-handler-1): Don't do the delete-selection thing.
4731 (cua--self-insert-char-p): Ignore `self-insert-iso'.
4732 (cua--init-keymaps): Don't remap delete-selection commands.
4733 (cua-mode): Use delete-selection-mode instead of rolling our own
4734 (bug#16085).
4735
4736 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
4737 Obey region-extract-function.
4738
4739 Make registers and delete-selection-mode work on rectangles.
4740 * register.el (describe-register-1): Don't modify the register's value.
4741 (copy-to-register): Obey region-extract-function.
4742 * delsel.el (delete-active-region): Obey region-extract-function.
4743
4744 2013-12-08 Leo Liu <sdl.web@gmail.com>
4745
4746 * progmodes/flymake.el (flymake, flymake-error-bitmap)
4747 (flymake-warning-bitmap, flymake-fringe-indicator-position)
4748 (flymake-compilation-prevents-syntax-check)
4749 (flymake-start-syntax-check-on-newline)
4750 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
4751 (flymake-start-syntax-check-on-find-file, flymake-log-level)
4752 (flymake-xml-program, flymake-master-file-dirs)
4753 (flymake-master-file-count-limit)
4754 (flymake-allowed-file-name-masks): Relocate.
4755 (flymake-makehash, flymake-float-time)
4756 (flymake-replace-regexp-in-string, flymake-split-string)
4757 (flymake-get-temp-dir): Remove.
4758 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
4759 (flymake-current-row, flymake-selected-frame)
4760 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
4761 related functions. (Bug#16077)
4762
4763 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
4764
4765 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
4766
4767 2013-12-07 Tassilo Horn <tsdh@gnu.org>
4768
4769 * help-fns.el (describe-function-1): Use new advice-* functions
4770 rather than old ad-* functions. Fix function type description and
4771 source links for advised functions and subrs.
4772
4773 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4774
4775 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
4776
4777 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
4778
4779 * progmodes/compile.el (compilation-start):
4780 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
4781
4782 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4783 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
4784
4785 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
4786
4787 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4788 Touch up the last change.
4789
4790 2013-12-06 Leo Liu <sdl.web@gmail.com>
4791
4792 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
4793 (inferior-octave-startup): Always use "octave> " for prompt.
4794 (octave-goto-function-definition)
4795 (octave-sync-function-file-names)
4796 (octave-find-definition-default-filename): Remove redundant backquotes.
4797
4798 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
4799
4800 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
4801 syntax for `?'.
4802 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
4803 where appropriate already.
4804 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
4805 end of method names (Bug#15874).
4806
4807 2013-12-06 Juri Linkov <juri@jurta.org>
4808
4809 * isearch.el (isearch--saved-overriding-local-map):
4810 New internal variable.
4811 (isearch-mode): Set it to the initial value of
4812 `overriding-terminal-local-map'.
4813 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
4814 with `isearch--saved-overriding-local-map'. (Bug#16035)
4815
4816 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
4817
4818 * progmodes/octave.el (inferior-octave-completion-table):
4819 Turn back into function, use `completion-table-with-cache'
4820 (Bug#11906). Update all references.
4821
4822 * minibuffer.el (completion-table-with-cache): New function.
4823
4824 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
4825
4826 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
4827
4828 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
4829
4830 * net/eww.el (eww-current-source): New variable to store page
4831 source.
4832 (eww-display-html, eww-mode, eww-save-history)
4833 (eww-restore-history): Use it.
4834 (eww-view-source): New command to view page source.
4835 Opportunistically uses `html-mode' to highlight the buffer.
4836 (eww-mode-map): Install it.
4837
4838 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
4839
4840 * net/dbus.el (dbus-unregister-service)
4841 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
4842 Fix docstring.
4843 (dbus-unregister-service): Skip :serial entries in
4844 `dbus-registered-objects-table'.
4845 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
4846
4847 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
4848
4849 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
4850 around keywords with extra `split-string' argument.
4851
4852 2013-12-04 Martin Rudalics <rudalics@gmx.at>
4853
4854 * windmove.el (windmove-other-window-loc): Handle navigation
4855 between windows (excluding the minibuffer window - Bug#16017).
4856
4857 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
4858
4859 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
4860 in D-Bus type syntax.
4861 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
4862 preserve unibyte strings. (Bug#16048)
4863
4864 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
4865
4866 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
4867 Call force-mode-line-update is the proper buffer (bug#16042).
4868
4869 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
4870
4871 * vc/log-edit.el (log-edit-add-new-comment): Rename to
4872 `log-edit-remember-comment', make argument optional. Adjust all
4873 callers.
4874 (log-edit-mode): Add `log-edit-remember-comment' to
4875 `kill-buffer-hook' locally.
4876 (log-edit-kill-buffer): Don't remember comment explicitly since
4877 the buffer is killed anyway.
4878
4879 2013-12-04 Juri Linkov <juri@jurta.org>
4880
4881 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
4882 add-hook and remove-hook for multi-buffer search. (Bug#16035)
4883
4884 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
4885
4886 * notifications.el (notifications-close-notification): Call the
4887 D-Bus method with ID being a `:uint32'. (Bug#16030)
4888
4889 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
4890
4891 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
4892
4893 2013-12-03 Juri Linkov <juri@jurta.org>
4894
4895 * progmodes/compile.el (compilation-start): Rename window alist
4896 entry `no-display-ok' to `allow-no-window'.
4897
4898 * simple.el (shell-command): Add window alist entry
4899 `allow-no-window' to `display-buffer'.
4900 (async-shell-command): Doc fix.
4901
4902 * window.el (display-buffer-no-window): New action function.
4903 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
4904
4905 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
4906
4907 * vc/log-edit.el (log-edit-set-header): Extract from
4908 `log-edit-toggle-header'.
4909 (log-edit-extract-headers): Separate the summary, when extracted
4910 from header, from the rest of the message with an empty line.
4911
4912 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
4913 line, if present, to the Summary header.
4914
4915 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
4916
4917 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
4918 in current-buffer (bug#16029).
4919
4920 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
4921
4922 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
4923 (debugger-mode-map): Bind it.
4924 (debugger--backtrace-base): New function.
4925 (debugger-eval-expression): Use it.
4926 (debugger-frame-number): Skip local vars when present.
4927 (debugger--locals-visible-p, debugger--insert-locals)
4928 (debugger--show-locals, debugger--hide-locals): New functions.
4929
4930 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
4931
4932 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
4933 "LC_ALL".
4934 (tramp-get-remote-locale): New defun.
4935 (tramp-open-connection-setup-interactive-shell): Use it.
4936
4937 2013-12-02 Leo Liu <sdl.web@gmail.com>
4938
4939 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
4940
4941 * progmodes/sh-script.el (sh-shell-process):
4942 * progmodes/octave.el (inferior-octave-process-live-p):
4943 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
4944 (gdb-inferior-io-sentinel):
4945 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
4946
4947 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
4948
4949 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
4950 `save-selected-window' to `log-edit-hide-buf'. This makes
4951 `log-edit-show-files' idempotent.
4952 (log-edit-show-files): Mark the new window as dedicated.
4953
4954 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
4955
4956 * vc/log-edit.el (log-edit-mode-map): Add binding for
4957 `log-edit-kill-biffer'.
4958 (log-edit-hide-buf): Add a FIXME comment.
4959 (log-edit-add-new-comment): New function, extracted from
4960 `log-edit-done'.
4961 (log-edit-done, log-edit-add-to-changelog): Use it.
4962 (log-edit-kill-buffer): New command.
4963
4964 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4965
4966 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
4967 instead of killing the buffer.
4968
4969 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4970
4971 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
4972
4973 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4974
4975 * net/eww.el (eww-form-checkbox-selected-symbol)
4976 (eww-form-checkbox-symbol): New customizable variable.
4977 (eww-form-checkbox, eww-toggle-checkbox):
4978 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
4979
4980 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
4981 (shr--get-media-pref, shr--extract-best-source): New function.
4982 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
4983 no :src tag was specified.
4984
4985 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
4986 (eww-render): Handle `eww-use-external-browser-for-content-type'.
4987 Use \\` to match beginning of string instead of ^.
4988 (eww-browse-with-external-browser): Provide optional URL parameter.
4989 (eww-render): Set `eww-current-title' back to "".
4990
4991 * net/shr.el (shr-tag-video): Display content for video if no
4992 poster is available.
4993 (shr-tag-audio): Add support for <audio> tag.
4994
4995 * net/eww.el (eww-text-input-types): New const.
4996 (eww-process-text-input): Treat input types in
4997 `eww-text-input-types' as text.
4998
4999 * net/shr.el (shr-tag-table): Fix comment typo.
5000
5001 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5002
5003 * net/eww.el (eww-follow-link): New command to avoid reloading
5004 pages when we follow #target links (bug#15243).
5005 (eww-quit): Special mode buffers shouldn't query before exiting.
5006
5007 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5008
5009 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
5010 forms.
5011
5012 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5013
5014 * net/eww.el (eww-restore-history): Update the window title after
5015 moving in the history.
5016 (eww-current-dom): New variable used to save the current DOM.
5017
5018 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
5019
5020 * vc/log-edit.el (log-edit-mode-map): Add binding for
5021 `log-edit-beginning-of-line'.
5022 (log-edit-setup-add-author): New user option.
5023 (log-edit-beginning-of-line): New command.
5024 (log-edit): Move major mode call above the contents setup so that
5025 the local variable values are already applied.
5026 (log-edit): Only insert "Author: " when
5027 `log-edit-setup-add-author' is non-nil.
5028 (log-edit): When SETUP is non-nil, position point after ": "
5029 instead of point-min.
5030
5031 2013-12-01 Glenn Morris <rgm@gnu.org>
5032
5033 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
5034
5035 2013-11-30 Eli Zaretskii <eliz@gnu.org>
5036
5037 * startup.el (fancy-splash-frame): On MS-Windows, trigger
5038 redisplay to make sure the initial frame gets a chance to become
5039 visible. (Bug#16014)
5040
5041 2013-11-30 Martin Rudalics <rudalics@gmx.at>
5042
5043 Support resizing frames and windows pixelwise.
5044 * cus-start.el (frame-resize-pixelwise)
5045 (window-resize-pixelwise): New entries.
5046 * emacs-lisp/debug.el (debug): Use window-total-height instead
5047 of window-total-size.
5048 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
5049 * help.el (describe-bindings-internal): Use help-buffer as
5050 argument for with-help-window.
5051 (temp-buffer-max-width): New option.
5052 (resize-temp-buffer-window, help-window-setup)
5053 (with-help-window): Rewrite.
5054 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
5055 dragging dividers.
5056 * window.el (frame-char-size, window-min-pixel-height)
5057 (window-safe-min-pixel-height, window-safe-min-pixel-width)
5058 (window-min-pixel-width, window-safe-min-pixel-size)
5059 (window-combination-p, window-safe-min-size)
5060 (window-resizable-p, window--size-to-pixel)
5061 (window--pixel-to-size, window--resize-apply-p): New functions.
5062 (window-safe-min-height): Fix doc-string.
5063 (window-size, window-min-size, window--min-size-1)
5064 (window-sizable, window-sizable-p, window--min-delta-1)
5065 (window-min-delta, window--max-delta-1, window-max-delta)
5066 (window--resizable, window--resizable-p, window-resizable)
5067 (window-full-height-p, window-full-width-p, window-at-side-p)
5068 (window--in-direction-2, window-in-direction)
5069 (window--resize-reset-1, window--resize-mini-window)
5070 (window-resize, window-resize-no-error)
5071 (window--resize-child-windows-normal)
5072 (window--resize-child-windows, window--resize-siblings)
5073 (window--resize-this-window, window--resize-root-window)
5074 (window--resize-root-window-vertically)
5075 (adjust-window-trailing-edge, enlarge-window, shrink-window)
5076 (maximize-window, minimize-window, delete-window)
5077 (quit-restore-window, window-split-min-size, split-window)
5078 (balance-windows-2, balance-windows)
5079 (balance-windows-area-adjust, balance-windows-area)
5080 (window--state-get-1, window-state-get, window--state-put-1)
5081 (window--state-put-2, window-state-put)
5082 (display-buffer-record-window, window--display-buffer):
5083 Make functions handle pixelwise sizing of windows.
5084 (display-buffer--action-function-custom-type)
5085 (display-buffer-fallback-action):
5086 Add display-buffer-in-previous-window.
5087 (display-buffer-use-some-window): Resize window to height it had
5088 before.
5089 (fit-window-to-buffer-horizontally): New option.
5090 (fit-frame-to-buffer): Describe new values.
5091 (fit-frame-to-buffer-bottom-margin): Replace with
5092 fit-frame-to-buffer-margins.
5093 (window--sanitize-margin): New function.
5094 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
5095 using window-text-pixel-size.
5096
5097 2013-11-30 Glenn Morris <rgm@gnu.org>
5098
5099 * emacs-lisp/bytecomp.el (byte-compile-form):
5100 Make the `interactive-only' warning like the `obsolete' one.
5101 * comint.el (comint-run):
5102 * files.el (insert-file-literally, insert-file):
5103 * replace.el (replace-string, replace-regexp):
5104 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
5105 (goto-line, insert-buffer, next-line, previous-line):
5106 Tweak `interactive-only' spec.
5107
5108 Stop keeping (most) generated cedet grammar files in the repository.
5109 * Makefile.in (semantic): New.
5110 (compile-main): Depend on semantic.
5111
5112 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5113
5114 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
5115 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
5116
5117 * uniquify.el (uniquify-buffer-name-style): Change default.
5118
5119 * loadup.el: Preload "uniquify".
5120
5121 * time.el (display-time-update): Update all mode lines (bug#15999).
5122
5123 * electric.el (electric-indent-mode): Enable by default.
5124 * loadup.el: Preload "electric".
5125
5126 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
5127
5128 * emacs-lisp/helpers.el (string-empty-p): New function.
5129 (string-blank-p): New function.
5130
5131 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
5132
5133 * imenu.el (imenu--index-alist): Add missing dot to the docstring
5134 (Bug#14029).
5135
5136 2013-11-29 Andreas Politz <politza@fh-trier.de>
5137 * imenu.el (imenu--subalist-p): Don't error on non-conses and
5138 allow non-lambda lists as functions.
5139 (imenu--in-alist): Don't recurse into non-subalists.
5140 (imenu): Don't pass function itself as an argument (Bug#14029).
5141
5142 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5143
5144 * progmodes/python.el (python-mode-map): Remove binding for ":".
5145 (python-indent-electric-colon): Remove command.
5146 (python-indent-post-self-insert-function): Integrate the previous code
5147 of python-indent-electric-colon. Make it conditional on
5148 electric-indent-mode.
5149 (python-mode): Add ?: to electric-indent-chars.
5150 Move python-indent-post-self-insert-function to the end of
5151 post-self-insert-hook.
5152
5153 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
5154
5155 * doc-view.el (doc-view-goto-page): Update mode-line.
5156
5157 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
5158
5159 2013-11-27 Glenn Morris <rgm@gnu.org>
5160
5161 * international/charprop.el, international/uni-bidi.el:
5162 * international/uni-category.el, international/uni-combining.el:
5163 * international/uni-comment.el, international/uni-decimal.el:
5164 * international/uni-decomposition.el, international/uni-digit.el:
5165 * international/uni-lowercase.el, international/uni-mirrored.el:
5166 * international/uni-name.el, international/uni-numeric.el:
5167 * international/uni-old-name.el, international/uni-titlecase.el:
5168 * international/uni-uppercase.el:
5169 Remove generated files from VCS repository.
5170
5171 2013-11-27 Eli Zaretskii <eliz@gnu.org>
5172
5173 * filenotify.el (file-notify-add-watch): Don't special-case
5174 w32notify when computing the directory to watch.
5175
5176 2013-11-27 Glenn Morris <rgm@gnu.org>
5177
5178 Make bootstrap without generated uni-*.el files possible again.
5179 * loadup.el: Update command-line-args checking for unidata-gen.
5180 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
5181 * composite.el, international/characters.el:
5182 Handle unicode tables being undefined.
5183
5184 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
5185 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
5186 (compile-main): Depend on leim rule.
5187 (leim): New rule.
5188 * loadup.el: Move leim-list.el to leim/ subdirectory.
5189 * startup.el (normal-top-level): No more leim directory.
5190 * international/ja-dic-cnv.el (skkdic-convert):
5191 Disable version-control and autoloads in output files.
5192 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
5193 Disable version-control and autoloads in output files.
5194 * leim/quail: Move here from ../leim.
5195 * leim/quail/hangul.el (hangul-input-method-activate):
5196 Add autoload cookie.
5197 (generated-autoload-load-name): Set file-local value.
5198 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
5199 (generated-autoload-load-name): Set file-local value.
5200
5201 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
5202
5203 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
5204 (eww-add-bookmark): Ask confirmation when add to bookmarks.
5205 (eww-quit): Ask confirmation before quitting eww.
5206
5207 2013-11-26 Eli Zaretskii <eliz@gnu.org>
5208
5209 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
5210 reading output from Diff on MS-Windows and MS-DOS.
5211
5212 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
5213
5214 * emacs-lisp/helpers.el (string-reverse): New function.
5215
5216 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
5217
5218 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
5219 names on MS Windows, like "/[::1]:".
5220
5221 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
5222 SWITCHES.
5223
5224 2013-11-26 Glenn Morris <rgm@gnu.org>
5225
5226 * progmodes/python.el (python-indent-guess-indent-offset):
5227 Avoid corner-case error. (Bug#15975)
5228
5229 Preload leim-list.el. (Bug#4789)
5230 * loadup.el: Load leim-list.el when found.
5231 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
5232
5233 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
5234
5235 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
5236
5237 * emacs-lisp/helpers.el (string-join): New function.
5238
5239 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
5240
5241 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5242 Mark as obsolete and replace it with a symbol property.
5243 (byte-compile-form): Use new 'interactive-only property.
5244 * comint.el, files.el, replace.el, simple.el:
5245 Apply new 'interactive-only properly.
5246
5247 2013-11-25 Martin Rudalics <rudalics@gmx.at>
5248
5249 * window.el (display-buffer-at-bottom): Make sure that
5250 split-window-sensibly creates the new window on bottom
5251 (Bug#15961).
5252
5253 2013-11-23 David Kastrup <dak@gnu.org>
5254
5255 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
5256 on the conflict markers when available.
5257 (smerge--get-marker): New function.
5258 (smerge-end-re, smerge-base-re): Add subgroup.
5259
5260 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
5261
5262 * frame.el (handle-focus-in, handle-focus-out): Add missing
5263 interactive spec.
5264
5265 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
5266
5267 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
5268 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
5269
5270 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
5271
5272 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
5273 (gomoku--last-pos): New var.
5274 (gomoku--intangible-chars): New const.
5275 (gomoku--intangible): New function.
5276 (gomoku-mode): Use it. Derive from special-mode.
5277 (gomoku-move-up): Adjust line count.
5278 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
5279 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
5280 Simplify accordingly.
5281
5282 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
5283 Remove blink-cursor code.
5284 (blink-cursor-timer-function, blink-cursor-suspend):
5285 Don't special-case GUIs.
5286 (blink-cursor-mode): Use focus-in/out-hook.
5287
5288 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
5289
5290 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
5291 work when annotation is invisible (Bug#13886).
5292
5293 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
5294
5295 * json.el (json-alist-p): Only return non-nil if the alist has
5296 simple keys (Bug#13518).
5297
5298 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
5299
5300 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
5301 when control-statement is the first statement in a buffer (Bug#15956).
5302
5303 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
5304
5305 * imenu.el (imenu-generic-skip-comments-and-strings):
5306 New option (Bug#15560).
5307 (imenu--generic-function): Use it.
5308
5309 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
5310
5311 * minibuffer.el (completion--in-region-1): Scroll the correct window.
5312 (Bug#13898)
5313
5314 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
5315
5316 * emacs-lisp/helpers.el: Add some string helpers.
5317 (string-trim-left): Removes leading whitespace.
5318 (string-trim-right): Removes trailing whitespace.
5319 (string-trim): Removes leading and trailing whitespace.
5320
5321 * subr.el (string-suffix-p): New function.
5322
5323 2013-11-23 Glenn Morris <rgm@gnu.org>
5324
5325 * progmodes/python.el (python-shell-send-file):
5326 Add option to delete file when done. (Bug#15647)
5327 (python-shell-send-string, python-shell-send-region): Use it.
5328
5329 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
5330
5331 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
5332 to set buffer-read-only to t, never to nil. (Bug#15938)
5333
5334 * textmodes/tex-mode.el (latex-noindent-environments):
5335 Add safe-local-variable property. (Bug#15936)
5336
5337 2013-11-23 Glenn Morris <rgm@gnu.org>
5338
5339 * textmodes/enriched.el (enriched-mode): Doc fix.
5340 * emacs-lisp/authors.el (authors-renamed-files-alist):
5341 Add enriched.doc -> enriched.txt.
5342
5343 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
5344
5345 2013-11-22 Leo Liu <sdl.web@gmail.com>
5346
5347 * progmodes/octave.el (inferior-octave-startup): Spit out error
5348 message.
5349
5350 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
5351
5352 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
5353 Improve docstring.
5354 Add :version.
5355 (ruby-encoding-magic-comment-style): Add :version.
5356
5357 2013-11-22 Leo Liu <sdl.web@gmail.com>
5358
5359 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
5360 (Bug#15076)
5361 (octave-help-mode): Adapt to change to help-mode-finish to use
5362 derived-mode-p on 2013-09-17.
5363 (inferior-octave-prompt): Also match octave-gui.
5364 (octave-kill-process): Don't ask twice. (Bug#10564)
5365
5366 2013-11-22 Leo Liu <sdl.web@gmail.com>
5367
5368 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
5369 (inferior-octave-startup, inferior-octave-check-process)
5370 (inferior-octave-track-window-width-change)
5371 (octave-completion-at-point, octave-eldoc-function): Use it.
5372 (octave-kill-process): Provide confirmation. (Bug#10564)
5373
5374 2013-11-21 Leo Liu <sdl.web@gmail.com>
5375
5376 * progmodes/octave.el (octave-mode, inferior-octave-mode):
5377 Fix obsolete variable comment-use-global-state.
5378
5379 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5380
5381 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
5382 Add `octave-source-file'.
5383 (octave-source-file): New function. (Bug#15935)
5384
5385 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
5386
5387 * net/eww.el (eww-local-regex): New variable.
5388 (eww): Use it to detect localhost and similar.
5389
5390 2013-11-21 Leo Liu <sdl.web@gmail.com>
5391
5392 Add completion for command `ag'.
5393 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
5394 (pcomplete/ag): New function.
5395 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
5396
5397 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5398
5399 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
5400 (bug#14646).
5401 (make-obsolete): Remove interactive spec.
5402
5403 2013-11-21 Glenn Morris <rgm@gnu.org>
5404
5405 * startup.el (command-line-1): Use path-separator with -L.
5406
5407 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
5408
5409 * emacs-lisp/package.el (describe-package-1): Add package archive
5410 to shown fields.
5411
5412 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
5413
5414 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
5415 Change default to "# encoding: %s" to differentiate it from the
5416 default Ruby encoding comment template.
5417
5418 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
5419
5420 * ses.el (ses-mode): Doc fix. (Bug#14748)
5421
5422 2013-11-20 Leo Liu <sdl.web@gmail.com>
5423
5424 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
5425
5426 2013-11-19 Dan Nicolaescu <dann@gnu.org>
5427
5428 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
5429 when rebase or bisect are in progress.
5430
5431 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
5432
5433 * filenotify.el (file-notify-add-watch): Doc fix.
5434
5435 2013-11-19 Leo Liu <sdl.web@gmail.com>
5436
5437 * obsolete/rcompile.el: Mark obsolete.
5438
5439 * progmodes/compile.el (compilation-start)
5440 (compilation-goto-locus, compilation-find-file):
5441 Pass no-display-ok and handle nil value from display-buffer.
5442 (Bug#13594)
5443
5444 * window.el (display-buffer-alist, display-buffer): Document the
5445 new parameter no-display-ok. Return either a window or nil
5446 but never a non-window value.
5447
5448 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
5449
5450 * electric.el (electric-indent-mode-map): Remove.
5451 (electric-indent-mode): Change the global-map instead (bug#15915).
5452
5453 * textmodes/text-mode.el (paragraph-indent-minor-mode):
5454 Use add-function.
5455
5456 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
5457
5458 * emacs-lisp/nadvice.el (remove-function): Align with
5459 add-function's behavior.
5460
5461 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
5462 (gdb--string-regexp): New constant.
5463 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
5464 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
5465 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
5466 submatch 1.
5467 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
5468 Adjust use accordingly.
5469 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
5470
5471 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
5472
5473 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
5474 interpolation curlies (Bug#15914).
5475
5476 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
5477
5478 * calc/calc.el (calc-context-sensitive-enter): New variable.
5479 (calc-enter): Use `calc-context-sensitive-enter'.
5480
5481 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
5482
5483 * progmodes/cfengine.el: Version bump.
5484 (cfengine-cf-promises): New defcustom to locate cf-promises.
5485 (cfengine3-vartypes): Add new "data" type.
5486 (cfengine3--current-word): New function to get current name-like
5487 word or its bounds.
5488 (cfengine3--current-function): New function to look up a CFEngine
5489 function's definition.
5490 (cfengine3-format-function-docstring): New function.
5491 (cfengine3-make-syntax-cache): New function.
5492 (cfengine3-documentation-function): New function: ElDoc glue.
5493 (cfengine3-completion-function): New function: completion glue.
5494 (cfengine3-mode): Set `compile-command',
5495 `eldoc-documentation-function', and add to
5496 `completion-at-point-functions'.
5497
5498 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
5499
5500 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
5501 `tramp-current-connection'.
5502
5503 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
5504
5505 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
5506 nil/self/true/false with "end of symbol".
5507
5508 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
5509
5510 * subr.el (version-regexp-alist): Fix a typo.
5511
5512 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
5513
5514 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
5515 "en_US.utf8" and "LC_CTYPE" to "".
5516 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
5517 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
5518
5519 2013-11-15 Leo Liu <sdl.web@gmail.com>
5520
5521 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
5522
5523 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5524
5525 * progmodes/gud.el (ctl-x-map):
5526 Remove C-x SPC binding. (Bug#12342)
5527 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
5528
5529 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
5530
5531 * subr.el (version-regexp-alist):
5532 Recognize hg, svn and darcs versions as snapshot versions.
5533
5534 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
5535 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
5536 (ruby--encoding-comment-required-p): Extract from
5537 `ruby-mode-set-encoding'.
5538 (ruby-mode-set-encoding): Add the ability to always insert an
5539 utf-8 encoding comment. Fix and simplify coding comment update
5540 logic.
5541
5542 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
5543
5544 * net/tramp-gvfs.el (top): Run init code only when
5545 `tramp-gvfs-enabled' is not nil.
5546 (tramp-gvfs-enabled): Check also :system bus.
5547
5548 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5549
5550 Sync with upstream verilog-mode revision 78e66ba.
5551 * progmodes/verilog-mode.el (verilog-end-of-defun)
5552 (verilog-type-completion, verilog-get-list): Remove unused funcs.
5553 (verilog-get-end-of-defun): Remove unused argument.
5554 (verilog-comment-depth): Remove unused local `e'.
5555 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
5556 Don't pass arg to verilog-get-end-of-defun.
5557
5558 2013-11-14 Glenn Morris <rgm@gnu.org>
5559
5560 * obsolete/assoc.el (aget): Prefix dynamic variable.
5561
5562 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
5563
5564 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5565
5566 * widget.el, hfy-cmap.el: Remove bogus package version number.
5567
5568 2013-11-13 Glenn Morris <rgm@gnu.org>
5569
5570 * replace.el (replace-eval-replacement):
5571 Try to give more helpful error message. (Bug#15836)
5572
5573 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
5574 (archive-7z-update): Avoid custom type mismatches.
5575
5576 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
5577
5578 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
5579
5580 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
5581 address can be empty.
5582
5583 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
5584 Accept nil SWITCHES.
5585 (tramp-gvfs-handle-write-region): Implement APPEND.
5586
5587 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
5588
5589 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
5590 binary "|" operator and closing block args delimiter.
5591 Remove FIXME comment referring to Ruby 1.8-only syntax.
5592 (ruby-smie--implicit-semi-p): Not after "|" operator.
5593 (ruby-smie--closing-pipe-p): New function.
5594 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
5595 (ruby-smie-rules): Indent after "|".
5596
5597 2013-11-12 Glenn Morris <rgm@gnu.org>
5598
5599 * ps-print.el (ps-face-attribute-list):
5600 Handle anonymous faces. (Bug#15827)
5601
5602 2013-11-12 Martin Rudalics <rudalics@gmx.at>
5603
5604 * window.el (display-buffer-other-frame): Fix doc-string.
5605 (Bug#15868)
5606
5607 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5608
5609 * subr.el (force-mode-line-update): Delete, move to buffer.c.
5610
5611 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
5612
5613 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
5614 (tramp-sh-handle-file-local-copy): Don't write a message when
5615 saving temporary files.
5616
5617 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
5618 both directories are remote.
5619 (tramp-smb-handle-directory-files): Do not return double entries.
5620 Do not expand full file names.
5621 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
5622 (tramp-smb-handle-write-region): Implement APPEND.
5623 (tramp-smb-get-stat-capability): Fix a stupid bug.
5624
5625 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5626
5627 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
5628
5629 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5630
5631 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
5632 throwing error over malformed let/let* (bug#15814).
5633
5634 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5635
5636 * iswitchb.el (iswitchb-mode): Mark obsolete.
5637
5638 2013-11-11 Glenn Morris <rgm@gnu.org>
5639
5640 * international/uni-bidi.el, international/uni-category.el:
5641 * international/uni-name.el, international/uni-numeric.el:
5642 Regenerate for Unicode 6.3.0.
5643
5644 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
5645
5646 * net/tramp.el (tramp-methods):
5647 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
5648 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
5649
5650 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
5651
5652 * progmodes/sh-script.el (sh-font-lock-keywords-var):
5653 Force highlighting text after Summary keyword in doc face for rpm.
5654
5655 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
5656
5657 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
5658 available and the word has no wildcards, append one to the grep pattern.
5659 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
5660 (ispell-complete-word): Call `ispell-lookup-words' with the value
5661 independent of `ispell-look-p'.
5662
5663 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
5664
5665 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
5666 Not after "||".
5667 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
5668 their parent.
5669
5670 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5671
5672 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
5673 (ruby-font-lock-keywords): Use backquote.
5674
5675 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
5676
5677 * progmodes/ruby-mode.el (ruby-smie--forward-token)
5678 (ruby-smie--backward-token): Only consider full-string matches.
5679
5680 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
5681
5682 * faces.el (describe-face): Add distant-foreground.
5683
5684 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
5685
5686 * progmodes/ruby-mode.el: Improve encoding comment handling.
5687 (ruby-encoding-magic-comment-style): New option.
5688 (ruby-custom-encoding-magic-comment-template): New option.
5689 (ruby--insert-coding-comment, ruby--detect-encoding):
5690 New functions extracted from `ruby-mode-set-encoding'.
5691 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
5692 to control the style of the auto-inserted encoding comment.
5693
5694 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
5695
5696 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
5697 Use `smie-backward-sexp' with token argument.
5698
5699 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
5700
5701 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
5702 Remove instrumentation code.
5703
5704 2013-11-08 Glenn Morris <rgm@gnu.org>
5705
5706 * progmodes/autoconf.el (autoconf-mode):
5707 Tweak comment-start-skip. (Bug#15822)
5708
5709 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5710
5711 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
5712 at bobp (bug#15826).
5713 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
5714
5715 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
5716
5717 * man.el (Man-start-calling): New macro, extracted from
5718 Man-getpage-in-background.
5719 (Man-getpage-in-background): Use it.
5720 (Man-update-manpage): New command.
5721 (Man-mode-map): Bind it.
5722
5723 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
5724
5725 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
5726 of "and", "or", "&&" and "||".
5727 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
5728 argument. Prohibit opening curly brace because it could only be a
5729 block opener in that position.
5730 (ruby-smie--forward-token, ruby-smie--backward-token):
5731 Separate "|" from "&" or "*" going after it. That can happen in block
5732 arguments.
5733 (ruby-smie--indent-to-stmt): New function, seeks the end of
5734 previous statement or beginning of buffer.
5735 (ruby-smie-rules): Use it.
5736 (ruby-smie-rules): Check if there's a ":" before a curly block
5737 opener candidate; if there is, it's a hash.
5738
5739 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
5740
5741 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
5742 (cl--block-wrapper): Fix last accidental change.
5743
5744 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
5745
5746 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
5747 Instrument, in order to hunt failure on hydra.
5748
5749 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5750
5751 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
5752 malformed bindings form (bug#15814).
5753
5754 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
5755
5756 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
5757 "." compared to " @ ". This incidentally fixes some indentation
5758 examples with "do".
5759 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
5760 (ruby-smie-grammar): New tokens: "and" and "or".
5761 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
5762 Exclude "and" and "or". Remove "do" in order to work around token
5763 priorities.
5764 (ruby-smie-rules): Add all infix tokens. Handle the case of
5765 beginning-of-buffer.
5766
5767 2013-11-06 Glenn Morris <rgm@gnu.org>
5768
5769 * Makefile.in (setwins_almost, setwins_for_subdirs):
5770 Avoid accidental matches.
5771
5772 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
5773
5774 * menu-bar.el (popup-menu): Use key-binding.
5775
5776 2013-11-06 Eli Zaretskii <eliz@gnu.org>
5777
5778 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
5779 menus, support also the menus produced by minor modes.
5780 (Bug#15817)
5781
5782 2013-11-06 Leo Liu <sdl.web@gmail.com>
5783
5784 * thingatpt.el (thing-at-point-looking-at): Add optional arg
5785 DISTANCE to bound the search. All uses changed. (Bug#15808)
5786
5787 2013-11-06 Glenn Morris <rgm@gnu.org>
5788
5789 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
5790 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
5791 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
5792
5793 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
5794
5795 * electric.el (electric-indent-just-newline): New command.
5796 (electric-indent-mode-map): New keymap.
5797 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
5798 Re-add :group which weren't redundant.
5799
5800 * electric.el (electric-indent-local-mode): New minor mode.
5801 (electric-indent-functions-without-reindent): New var.
5802 (electric-indent-post-self-insert-function): Use it.
5803 * emacs-lisp/gv.el (buffer-local-value): Add setter.
5804
5805 2013-11-05 Eli Zaretskii <eliz@gnu.org>
5806
5807 * international/quail.el (quail-help): Be more explicit about the
5808 meaning of the labels shown on the keys. (Bug#15800)
5809
5810 * startup.el (normal-top-level): Load the subdirs.el files before
5811 setting the locale environment. (Bug#15805)
5812
5813 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
5814
5815 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
5816 via arguments so as to get the right ones (bug#15418).
5817
5818 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
5819
5820 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
5821
5822 Fix problems found while writing a test suite.
5823
5824 * net/tramp-compat.el (tramp-compat-load): New defun.
5825 * net/tramp.el (tramp-handle-load): Use it.
5826
5827 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
5828 "(numberp ok-if-already-exists)" correctly.
5829
5830 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
5831
5832 * international/characters.el (glyphless-char-display-control):
5833 Add usage note.
5834
5835 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
5836
5837 * progmodes/python.el (python-mode):
5838 * progmodes/scheme.el (scheme-mode):
5839 * progmodes/prolog.el (prolog-mode):
5840 * progmodes/ruby-mode.el (ruby-mode):
5841 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
5842 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
5843
5844 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
5845
5846 * rect.el (rectangle--highlight-for-redisplay):
5847 * emacs-lisp/smie.el (smie--next-indent-change):
5848 Use buffer-chars-modified-tick.
5849
5850 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
5851
5852 * electric.el (electric-indent-post-self-insert-function):
5853 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
5854
5855 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
5856
5857 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
5858
5859 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5860
5861 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
5862 (bug#15786).
5863
5864 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
5865
5866 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
5867
5868 * progmodes/python.el: Fix up last change.
5869 (python-shell--save-temp-file): New function.
5870 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
5871 `string' comes from the current buffer.
5872 (python-shell-send-string-no-output): Remove `msg' arg.
5873 (python--use-fake-loc): New var.
5874 (python-shell-buffer-substring): Obey it. Try to compensate for the
5875 extra coding line added by python-shell--save-temp-file.
5876 (python-shell-send-region): Use python-shell--save-temp-file and
5877 python-shell-send-file directly. Add `nomain' argument.
5878 (python-shell-send-buffer): Use python-shell-send-region.
5879 (python-electric-pair-string-delimiter): New function.
5880 (python-mode): Use it.
5881
5882 2013-11-04 Eli Zaretskii <eliz@gnu.org>
5883
5884 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
5885 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
5886 environment and decoding all of the default-directory's to here
5887 from command-line.
5888 (command-line): Decode also argv[0].
5889
5890 * loadup.el: Error out if default-directory is a multibyte string
5891 when we are dumping.
5892
5893 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
5894
5895 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
5896
5897 * emacs-lisp/package.el (package-menu-mode)
5898 (package-menu--print-info, package-menu--archive-predicate):
5899 Add Archive column to package list.
5900
5901 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
5902
5903 Fix problems found while writing a test suite.
5904
5905 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
5906 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
5907 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
5908 to nil when running original file name handler. Otherwise,
5909 there are problems with constructs like "$$FOO".
5910
5911 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
5912 for `localname'.
5913
5914 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
5915
5916 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
5917
5918 * subr.el (version<, version<=, version=):
5919 Update docstrings with information for snapshot versions.
5920
5921 * helpers.el: New library for misc helper functions.
5922 (hash-table-keys): New function returning a list of hash keys.
5923 (hash-table-values): New function returning a list of hash values.
5924
5925 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
5926
5927 * progmodes/ruby-mode.el (ruby-smie--forward-token)
5928 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
5929
5930 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
5931
5932 * textmodes/fill.el (fill-single-char-nobreak-p): New function
5933 checking whether point is after a 1-letter word.
5934
5935 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5936
5937 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
5938 Don't infloop when expanding region over `multiline' syntax-type that
5939 begins a line (bug#15778).
5940
5941 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
5942
5943 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
5944 Make it into a proper minor mode.
5945 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
5946 (rectangle-mark-mode-map): New keymap.
5947 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
5948
5949 2013-11-04 Glenn Morris <rgm@gnu.org>
5950
5951 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
5952
5953 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
5954
5955 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
5956 (ruby-smie-rules): Use smie-rule-parent instead.
5957
5958 * emacs-lisp/smie.el (smie-rule-parent): Always call
5959 smie-indent-virtual rather than only for hanging tokens.
5960 (smie--next-indent-change): New helper command.
5961
5962 2013-11-03 Glenn Morris <rgm@gnu.org>
5963
5964 * Makefile.in (abs_srcdir): Remove.
5965 (emacs): Unset EMACSLOADPATH.
5966
5967 2013-11-02 Glenn Morris <rgm@gnu.org>
5968
5969 * Makefile.in (EMACS): Use a relative filename.
5970 (abs_top_builddir): Remove.
5971 (custom-deps, finder-data, autoloads): Use --chdir.
5972
5973 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
5974
5975 Use relative filenames in TAGS files.
5976 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
5977 (lisptagsfiles4, TAGS): Use relative file names.
5978 (TAGS-LISP): Remove.
5979 (maintainer-clean): No more TAGS-LISP file.
5980
5981 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
5982 (lisptagsfiles4): Use absolute filenames again.
5983 (TAGS, TAGS-LISP): Not everything needs to run in one line.
5984 Remove all *loaddefs files, not just the first. Remove esh-groups.
5985 (maintainer-clean): Delete TAGS, TAGS-LISP.
5986
5987 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
5988
5989 * emacs-lisp/package.el (package-version-join):
5990 Recognize snapshot versions.
5991
5992 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
5993
5994 * subr.el (version-regexp-alist): Add support for snapshot versions.
5995
5996 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
5997
5998 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
5999 New function, replacement for `smie-rule-parent' for when we want to
6000 skip over our direct parent if it's an assignment token..
6001 (ruby-smie-rules): Use it.
6002
6003 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
6004
6005 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
6006 unconditionally. Remove now unnecessary forward declarations.
6007 Remove XEmacs-specific setup.
6008 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
6009 (ruby-font-lock-syntactic-keywords)
6010 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
6011 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
6012 (ruby-here-doc-end-syntax): Remove.
6013 (ruby-mode): Don't check whether `syntax-propertize-rules' is
6014 defined as function.
6015
6016 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6017
6018 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
6019
6020 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
6021
6022 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
6023 table and abbrev table, `define-derived-mode' does that for us
6024 anyway.
6025
6026 2013-11-01 Glenn Morris <rgm@gnu.org>
6027
6028 * Makefile.in: Remove manual mh-e dependencies (writing .elc
6029 files is atomic for some time, so no parallel compilation issues).
6030
6031 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
6032
6033 * faces.el (face-x-resources): Add :distant-foreground.
6034 (region): Use :distant-foreground for gtk and ns.
6035
6036 2013-11-01 Tassilo Horn <tsdh@gnu.org>
6037
6038 Allow multiple bibliographies when BibLaTeX is used rather than
6039 BibTeX.
6040 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
6041 (reftex-locate-bibliography-files): Us it.
6042
6043 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
6044
6045 * image.el (image-type-header-regexps): Fix the 'pbm' part to
6046 allow comments in pbm files.
6047
6048 * term/w32-win.el (dynamic-library-alist): Support newer versions
6049 of libjpeg starting with v7: look only for the DLL from the
6050 version against which Emacs was built.
6051 Support versions of libpng beyond 1.4.x.
6052 Support libtiff v4.x.
6053
6054 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
6055
6056 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
6057 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
6058 Add property :safe.
6059 (ruby-deep-arglist): Add property :type.
6060
6061 2013-10-31 Glenn Morris <rgm@gnu.org>
6062
6063 * Makefile.in (custom-deps, finder-data): No need to setq the target
6064 variables, we are in the right directory and the defaults work fine.
6065
6066 2013-10-30 Glenn Morris <rgm@gnu.org>
6067
6068 * Makefile.in (autoloads): Do not use abs_lisp.
6069
6070 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6071 `newline' does not respect `standard-output', so use `princ'.
6072
6073 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
6074
6075 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
6076 * buff-menu.el (Buffer-menu--unmark): New function.
6077 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
6078
6079 2013-10-30 Glenn Morris <rgm@gnu.org>
6080
6081 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
6082
6083 * emacs-lisp/package.el (lm-homepage): Declare.
6084
6085 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
6086 Fix doc typos.
6087
6088 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
6089
6090 * Makefile.in (finder-data, autoloads, update-subdirs)
6091 (compile-main, compile-clean, compile-always, bootstrap-clean):
6092 Check return value of cd.
6093 (compile-calc): Remove.
6094
6095 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
6096
6097 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
6098
6099 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
6100 (byte-compile-and-folded): New function.
6101 (=, <, >, <=, >=): Use it.
6102
6103 * dos-w32.el (minibuffer-history-case-insensitive-variables)
6104 (path-separator, null-device, buffer-file-coding-system)
6105 (lpr-headers-switches): Check system-type before modifying them.
6106 (find-buffer-file-type-coding-system): Mark obsolete.
6107 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
6108 find-file-not-found-set-buffer-file-coding-system.
6109 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
6110 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
6111 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
6112 (w32-direct-print-region-helper, w32-direct-print-region-function)
6113 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
6114 * startup.el (normal-top-level-add-subdirs-to-load-path):
6115 * ps-print.el (ps-print-region-function):
6116 * lpr.el (print-region-function): Use new name.
6117
6118 * subr.el (custom-declare-variable-early): Remove function.
6119 (custom-declare-variable-list): Remove var.
6120 (error, user-error): Remove `while' loop.
6121 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
6122 (user-emacs-directory-warning, locate-user-emacs-file):
6123 Move to files.el.
6124 * simple.el (read-quoted-char-radix, read-quoted-char):
6125 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
6126 Move from subr.el.
6127 * custom.el (custom-declare-variable-list): Don't process
6128 custom-declare-variable-list.
6129
6130 * progmodes/python.el (python-shell-get-buffer): New function.
6131 (python-shell-get-process): Use it.
6132 (python-shell-send-string): Always use utf-8 and add a cookie to tell
6133 Python which encoding was used. Don't split-string since we only care
6134 about the first line. Return the temp-file, if applicable.
6135 (python-shell-send-region): Tell compile.el how to turn locations in
6136 the temp-file into locations in the source buffer.
6137
6138 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
6139
6140 * subr.el (undefined): Add missing behavior from the C code for
6141 unbound keys.
6142
6143 * rect.el: Use lexical-binding. Add new rectangular region support.
6144 (rectangle-mark): New command.
6145 (rectangle--region): New var.
6146 (deactivate-mark-hook): Reset rectangle--region.
6147 (rectangle--extract-region, rectangle--insert-for-yank)
6148 (rectangle--highlight-for-redisplay)
6149 (rectangle--unhighlight-for-redisplay): New functions.
6150 (region-extract-function, redisplay-unhighlight-region-function)
6151 (redisplay-highlight-region-function): Use them to handle
6152 rectangular region.
6153 * simple.el (region-extract-function): New var.
6154 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
6155 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
6156 (kill-region): Replace obsolete `yank-handler' arg with `region'.
6157 (copy-region-as-kill, kill-ring-save): Add `region' argument.
6158 (redisplay-unhighlight-region-function)
6159 (redisplay-highlight-region-function): New vars.
6160 (redisplay--update-region-highlight): New function.
6161 (pre-redisplay-function): Use it.
6162 (exchange-point-and-mark): Don't deactivate the mark before
6163 reactivate-it anyway.
6164 * comint.el (comint-kill-region): Remove yank-handler argument.
6165 * delsel.el (delete-backward-char, backward-delete-char-untabify)
6166 (delete-char): Remove property, since it's now part of their
6167 default behavior.
6168 (self-insert-iso): Remove property since this command doesn't exist.
6169
6170 * emacs-lisp/package.el (package--download-one-archive)
6171 (describe-package-1): Don't query the user about final newline.
6172
6173 2013-10-29 Daniel Colascione <dancol@dancol.org>
6174
6175 * net/tramp.el (tramp-methods): Document new functionality.
6176 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
6177 tramp-hostname-checker if method provides one instead of scanning
6178 argument list for "%h" to decide hostname acceptability.
6179
6180 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
6181
6182 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
6183 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
6184 Handle COPY-CONTENTS. (Bug#15737)
6185
6186 2013-10-28 Daiki Ueno <ueno@gnu.org>
6187
6188 * epa-file.el
6189 (epa-file-cache-passphrase-for-symmetric-encryption):
6190 Document that this option has no effect with GnuPG 2.0 (bug#15552).
6191
6192 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
6193
6194 * image.el (defimage, image-load-path): Doc fixes.
6195
6196 2013-10-27 Alan Mackenzie <acm@muc.de>
6197
6198 Indent statements in macros following "##" correctly.
6199 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
6200 Modify the "#" arm of a cond form to handle "#" and "##" operators.
6201
6202 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6203
6204 * linum.el (linum-update-window): Fix boundary test (bug#13446).
6205
6206 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
6207
6208 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
6209 after `=' is probably a new expression.
6210
6211 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6212
6213 * man.el (man-imenu-title): New option.
6214 (Man-mode-map): Add menu. (Bug#15722)
6215 (Man-mode): Add imenu to menu.
6216
6217 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
6218
6219 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
6220 specific in what the first arg can be: a non-keyword word,
6221 string/regexp/percent literal opener, opening paren, or unary
6222 operator followed directly by word.
6223
6224 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6225
6226 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
6227 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
6228 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
6229 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
6230 Remove vars, they do not apply any more.
6231 (prolog-mode-abbrev-table): Remove redundant declaration.
6232 (prolog-upper-case-string, prolog-lower-case-string): Remove.
6233 (prolog-use-smie): Remove.
6234 (prolog-smie-rules): Add indentation rule for the if-then-else layout
6235 supported by prolog-electric-if-then-else-flag.
6236 (prolog-mode-variables, prolog-menu): Use setq-local.
6237 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
6238 Remove binding to `Backspace' since this key doesn't exist anyway.
6239 Remove bindings for electric self-inserting keys.
6240 (prog-mode): Assume it's defined.
6241 (prolog-post-self-insert): New function.
6242 (prolog-mode): Use it.
6243 (prolog-indent-line, prolog-indent-level)
6244 (prolog-find-indent-of-matching-paren)
6245 (prolog-indentation-level-of-line, prolog-goto-comment-column)
6246 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
6247 (prolog-goto-next-paren, prolog-in-string-or-comment)
6248 (prolog-tokenize, prolog-inside-mline-comment)
6249 (prolog-find-start-of-mline-comment): Remove functions.
6250 (prolog-find-unmatched-paren, prolog-clause-end)
6251 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
6252 (prolog-electric--if-then-else): Rename from
6253 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
6254 (prolog-tokenize-searchkey): Remove const.
6255 (prolog-clause-info): Use forward-sexp.
6256 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
6257 (prolog-electric-if-then-else): Remove commands.
6258 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
6259 for use in post-self-insert-hook.
6260 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
6261 for use in post-self-insert-hook.
6262 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
6263 for use in post-self-insert-hook.
6264 (prolog-electric--underscore): Rename from prolog-electric--underscore;
6265 adapt it for use in post-self-insert-hook.
6266
6267 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
6268
6269 * emacs-lisp/ert.el (ert-run-tests-interactively):
6270 Use `completing-read'. (Bug#9756)
6271
6272 2013-10-25 Eli Zaretskii <eliz@gnu.org>
6273
6274 * simple.el (line-move): Call line-move-1 instead of
6275 line-move-visual when the current window hscroll is zero, but
6276 temporary-goal-column indicates we will need to hscroll as result
6277 of the movement. (Bug#15712)
6278
6279 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
6280
6281 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
6282 capitalization. Use :visible instead of :active.
6283 Fix `ruby-indent-exp' reference. Add menu items for the generic
6284 commands that are used with SMIE.
6285 (ruby-do-end-to-brace): Insert space after `{'.
6286
6287 2013-10-25 John Anthony <john@jo.hnanthony.com>
6288
6289 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
6290
6291 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
6292
6293 2013-10-25 Glenn Morris <rgm@gnu.org>
6294
6295 * vc/vc.el (vc-print-log): Don't use a working revision unless
6296 one was explicitly specified. (Bug#15322)
6297
6298 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6299
6300 * subr.el (add-to-list): Preserve return value in compiler-macro
6301 (bug#15692).
6302
6303 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6304
6305 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
6306 result. Ask user to retry using '-all' flag. (Bug#15701)
6307
6308 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6309
6310 * emacs-lisp/smie.el: New smie-config system.
6311 (smie-config): New defcustom.
6312 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
6313 (smie-config-guess, smie-config-save): New commands.
6314 (smie-config--mode-local, smie-config--buffer-local)
6315 (smie-config--trace, smie-config--modefuns): New vars.
6316 (smie-config--advice, smie-config--mode-hook)
6317 (smie-config--setter, smie-config-local, smie-config--get-trace)
6318 (smie-config--guess-value, smie-config--guess): New functions.
6319 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
6320 text properties. Treat "string fence" syntax like string syntax.
6321
6322 * progmodes/sh-script.el (sh-use-smie): Change default.
6323 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
6324 (sh-var-value): Simplify by CSE.
6325 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
6326 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
6327 is used.
6328 (sh-guess-basic-offset): Use cl-incf.
6329 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
6330
6331 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
6332
6333 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
6334 (bug#15699).
6335
6336 2013-10-24 Glenn Morris <rgm@gnu.org>
6337
6338 * Makefile.in (abs_top_srcdir): Remove.
6339 (update-subdirs): Use relative path to update-subdirs.
6340
6341 2013-10-24 Eli Zaretskii <eliz@gnu.org>
6342
6343 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
6344 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
6345 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
6346 Call unmsys--file-name before expand-file-name, not after it.
6347
6348 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
6349
6350 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
6351 (ert-test-skipped): New error.
6352 (ert-skip, ert-stats-skipped): New defuns.
6353 (ert--skip-unless): New macro.
6354 (ert-test-skipped): New struct.
6355 (ert--run-test-debugger, ert-test-result-type-p)
6356 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
6357 (ert--stats-set-test-and-result, ert-char-for-test-result)
6358 (ert-string-for-test-result, ert-run-tests-batch)
6359 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
6360 Handle skipped tests. (Bug#9803)
6361
6362 2013-10-24 Glenn Morris <rgm@gnu.org>
6363
6364 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
6365
6366 * Makefile.in (abs_top_srcdir): New, set by configure.
6367 (update-subdirs): Correct build-aux location.
6368
6369 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
6370
6371 * vc/vc.el (vc-print-root-log): Always set `default-directory'
6372 value, whether we could auto-deduce `backend', or not.
6373
6374 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
6375 with parameters" example. Simplify the "is it block or is it
6376 hash" check, but also make it more thorough.
6377
6378 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
6379
6380 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
6381
6382 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
6383
6384 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
6385 { if it is hanging.
6386
6387 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
6388 :before ";".
6389
6390 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
6391
6392 * progmodes/compile.el (compilation-directory-matcher)
6393 (compilation-page-delimiter):
6394 Support GNU Make-4.0 directory quoting. (Bug#15678)
6395
6396 2013-10-23 Leo Liu <sdl.web@gmail.com>
6397
6398 * ido.el (ido-tidy): Handle read-only text.
6399
6400 2013-10-23 Glenn Morris <rgm@gnu.org>
6401
6402 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
6403 (emacs, compile, compile-always):
6404 Quote entities that might contain whitespace.
6405 (custom-deps, finder-data, autoloads): Use abs_lisp.
6406 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
6407 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
6408 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
6409
6410 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
6411
6412 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
6413 Use `following-char'.
6414
6415 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
6416
6417 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
6418 * progmodes/ruby-mode.el (ruby-smie-rules):
6419 Remove corresponding workaround. Fix indentation rule of ";" so it
6420 also applies when ";" is the parent.
6421
6422 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
6423
6424 * frame.el (display-screens, display-pixel-height)
6425 (display-pixel-width, display-mm-width, display-backing-store)
6426 (display-save-under, display-planes, display-color-cells)
6427 (display-visual-class, display-monitor-attributes-list):
6428 Mention the optional ‘display’ argument in doc strings.
6429
6430 2013-10-22 Michael Gauland <mikelygee@amuri.net>
6431
6432 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
6433 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
6434
6435 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
6436
6437 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
6438 TODO. Add "." after " @ ".
6439 (ruby-smie--at-dot-call): New function. Checks if point at method
6440 call with explicit target.
6441 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
6442 to the method name tokens when it precedes them.
6443 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
6444 (ruby-smie-rules): Add rule for indentation before and after "."
6445 token.
6446
6447 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
6448
6449 * textmodes/remember.el (remember-diary-extract-entries):
6450 Avoid add-to-list.
6451
6452 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
6453 an instruction.
6454
6455 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
6456
6457 * progmodes/ruby-mode.el (ruby-smie-grammar):
6458 Add (almost) all infix operators.
6459 (ruby-smie--implicit-semi-p): Add new operator chars.
6460
6461 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
6462 `smie-down-list'.
6463 (ruby-smie--args-separator-p): Check that there's no newline
6464 between method call and its arguments.
6465
6466 2013-10-20 Alan Mackenzie <acm@muc.de>
6467
6468 Allow comma separated lists after Java "implements".
6469
6470 * progmodes/cc-engine.el (c-backward-over-enum-header):
6471 Parse commas.
6472 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
6473 from a "disallowed" list in enum fontification.
6474
6475 2013-10-20 Johan Bockgård <bojohan@gnu.org>
6476
6477 * startup.el (default-frame-background-mode): Remove unused defvar.
6478
6479 * progmodes/verilog-mode.el (verilog-mode): Don't set
6480 comment-indent-function globally.
6481
6482 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
6483
6484 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
6485 Move Info menu item creation to ns-win.el.
6486
6487 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
6488 in menu bar.
6489
6490 * menu-bar.el: Move GNUstep specific menus...
6491
6492 * term/ns-win.el (ns-initialize-window-system): ... to here.
6493
6494 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6495
6496 * simple.el (newline): Only run post-self-insert-hook when
6497 called interactively.
6498
6499 2013-10-19 Johan Bockgård <bojohan@gnu.org>
6500
6501 * icomplete.el (icomplete-with-completion-tables): Add :version.
6502
6503 2013-10-19 Alan Mackenzie <acm@muc.de>
6504
6505 Fix fontification bugs with constructors and const.
6506
6507 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
6508 CASE 2) Remove the check for the absence of a suffix construct
6509 after a function declaration with only types (no identifiers) in
6510 the parentheses. Also, accept a function declaration with just a
6511 type inside the parentheses, if this type can be positively
6512 recognised as such, or if a prefix keyword like "explicit" nails
6513 down the construct as a declaration.
6514
6515 2013-10-19 Eli Zaretskii <eliz@gnu.org>
6516
6517 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
6518 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
6519 the problem whereby selecting a menu item that leads to a
6520 minibuffer prompt moves the cursor out of the minibuffer window,
6521 making it hard to type at the prompt. Suggested by Stefan Monnier
6522 <monnier@iro.umontreal.ca>.
6523
6524 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
6525
6526 * menu-bar.el: Don't make Services menu.
6527
6528 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6529
6530 * ffap.el: Handle "/usr/include/c++/<version>" directories.
6531 (ffap-alist): Use ffap-c++-mode for c++-mode.
6532 (ffap-c++-path): New variable.
6533 (ffap-c++-mode): New function.
6534
6535 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
6536
6537 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
6538
6539 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
6540
6541 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
6542 introduced on 2013-09-08, which results in an infinite loop
6543 requesting a password.
6544
6545 2013-10-18 Glenn Morris <rgm@gnu.org>
6546
6547 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
6548
6549 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
6550
6551 Sync with upstream verilog-mode revision 1a6ecec7.
6552 * progmodes/verilog-mode.el (verilog-mode-version): Update.
6553 (verilog-mode-release-date): Remove.
6554 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
6555 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
6556 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
6557 (verilog-auto-tieoff-ignore-regexp)
6558 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
6559 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
6560 (verilog-signals-with, verilog-dir-cache-preserving)
6561 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
6562 Doc fixes.
6563 (verilog-case-fold): New option, to control case folding in
6564 regexp searches, bug597.
6565 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
6566 (verilog-string-match-fold, verilog-in-paren-count)
6567 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
6568 (verilog-at-close-struct-p): New functions.
6569 (verilog-beg-block-re-ordered, verilog-extended-case-re)
6570 (verilog-forward-sexp, verilog-set-auto-endcomments)
6571 (verilog-leap-to-case-head): Handle "unique0" case.
6572 (verilog-in-constraint-re): New constant.
6573 (verilog-keywords, verilog-type-font-keywords):
6574 Add some SystemVerilog 1800-2012 keywords.
6575 (verilog-label-be): Remove unimplemented argument, bug669.
6576 (verilog-batch-execute-func): When batch expanding clear
6577 create-lockfiles to prevent spurious user locks when a file ends
6578 up not changing.
6579 (verilog-calculate-indent, verilog-calc-1)
6580 (verilog-at-close-constraint-p, verilog-at-constraint-p)
6581 (verilog-do-indent): Fix indentation of nested constraints
6582 and structures.
6583 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
6584 (verilog-auto-inst-param): Use verilog-string-match-fold.
6585 (verilog-read-inst-module-matcher):
6586 Fix AUTOINST on gate primitives with #1.
6587 (verilog-read-decls): Fix double-declaring user-defined typed signals.
6588 Reads all user-defined typed variables.
6589 (verilog-read-defines): Fix reading definitions inside comments, bug647.
6590 (verilog-signals-matching-regexp)
6591 (verilog-signals-not-matching-regexp, verilog-auto):
6592 Respect verilog-case-fold.
6593 (verilog-diff-report): Fix line count.
6594 (verilog-auto-assign-modport): Remove unused local `modi'.
6595 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
6596 better handle multidimensional arrays.
6597 Fix packed array ports misadding bit index in AUTOINST, bug637.
6598 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
6599 to not double-declare existing outputs and inputs, respectively.
6600 (verilog-template-map): Bind U to verilog-sk-uvm-component.
6601 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
6602 (verilog-sk-uvm-component): New skeleton.
6603 (verilog-submit-bug-report): Add verilog-case-fold,
6604 remove verilog-mode-release-date.
6605
6606 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
6607
6608 * subr.el (sit-for): Call (input-pending-p t) so as to behave
6609 as before.
6610
6611 2013-10-18 Reuben Thomas <rrt@sc3d.org>
6612
6613 * textmodes/remember.el (remember): Set buffer-offer-save in
6614 remember buffers (bug#13566).
6615
6616 2013-10-18 Daniel Colascione <dancol@dancol.org>
6617
6618 When evaluating forms in ielm, direct standard output to ielm
6619 buffer. Add new ielm-return-for-effect command. Remove trailing
6620 whitespace throughout.
6621
6622 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
6623 (ielm-return-for-effect): New command.
6624 (ielm-send-input): Accept optional `for-effect' parameter.
6625 (ielm-eval-input): Accept optional `for-effect' parameter.
6626 Bind `standard-output' to stream we create using
6627 `ielm-standard-output-impl'. Suppress printing result when
6628 `for-effect'.
6629 (ielm-standard-output-impl): New function.
6630 (inferior-emacs-lisp-mode): Explain new features in documentation.
6631
6632 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
6633
6634 Code cleanup.
6635
6636 * net/tramp.el (tramp-debug-message): Do not check for connection
6637 buffer.
6638 (tramp-message): Use "vector" connection property.
6639
6640 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
6641 (tramp-equal-remote, tramp-eshell-directory-change)
6642 * net/tramp-adb.el (tramp-adb-handle-copy-file)
6643 (tramp-adb-handle-rename-file)
6644 * net/tramp-cmds.el (tramp-list-remote-buffers)
6645 (tramp-cleanup-connection, tramp-cleanup-this-connection)
6646 * net/tramp-compat.el (tramp-compat-process-running-p)
6647 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
6648 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
6649 (tramp-gvfs-handle-rename-file)
6650 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
6651 (tramp-set-file-uid-gid)
6652 * net/tramp-smb.el (tramp-smb-handle-copy-file)
6653 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
6654 of `file-remote-p'.
6655
6656 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
6657 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
6658 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
6659 (tramp-gw-open-network-stream): Suppress unrelated traces.
6660
6661 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
6662 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
6663 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6664 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
6665 connection property.
6666
6667 * net/tramp-cache.el (top): Suppress traces when reading
6668 persistency file.
6669
6670 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6671 Refactor common code. Improve debug message.
6672 (tramp-maybe-open-connection)
6673 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
6674 connection buffer too early.
6675
6676 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
6677 from `tramp-smb-actions-with-acl'.
6678 (tramp-smb-actions-set-acl): New defconst.
6679 (tramp-smb-handle-copy-directory)
6680 (tramp-smb-action-get-acl): New defun, renamed from
6681 `tramp-smb-action-with-acl'.
6682 (tramp-smb-action-set-acl): New defun.
6683 (tramp-smb-handle-set-file-acl): Rewrite.
6684
6685 2013-10-17 Glenn Morris <rgm@gnu.org>
6686
6687 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
6688
6689 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
6690
6691 * skeleton.el (skeleton-newline): Remove.
6692 (skeleton-internal-1): Use (insert "\n") instead.
6693
6694 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
6695 let-bindings.
6696
6697 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
6698 forward-sexp-function while we redo its job (bug#15613).
6699
6700 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
6701
6702 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
6703 represented by lists.
6704
6705 2013-10-16 Glenn Morris <rgm@gnu.org>
6706
6707 * tmm.el (tmm--history): New dynamic variable.
6708 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
6709
6710 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
6711
6712 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
6713 (tramp-smb-errors): Add error messages.
6714 (tramp-smb-actions-with-acl): New defconst.
6715 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
6716 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
6717 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
6718 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
6719 (tramp-smb-get-stat-capability): Fix tests.
6720
6721 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
6722
6723 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
6724 (bug#15580).
6725
6726 2013-10-16 Glenn Morris <rgm@gnu.org>
6727
6728 * ansi-color.el (ansi-color-drop-regexp):
6729 Add 1J, 1K, 2K. (Bug#15617)
6730
6731 * files.el (hack-local-variables--warned-lexical): New.
6732 (hack-local-variables):
6733 Warn about misplaced lexical-binding. (Bug#15616)
6734
6735 * net/eww.el (eww-render): Always set eww-current-url,
6736 and update header line. (Bug#15622)
6737 (eww-display-html): ... Rather than just doing it here.
6738
6739 2013-10-15 Eli Zaretskii <eliz@gnu.org>
6740
6741 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
6742 menu navigations commands.
6743
6744 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
6745
6746 * progmodes/subword.el (subword-capitalize): Be careful when
6747 the search for [[:alpha:]] fails (bug#15580).
6748
6749 2013-10-14 Eli Zaretskii <eliz@gnu.org>
6750
6751 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
6752 to commands that scroll the menu.
6753
6754 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
6755
6756 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
6757 Handle methods ending with `?' and `!'.
6758
6759 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
6760
6761 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
6762 `japanese-cp932' to `cp932' to fix the problem where saving a
6763 source file written in Shift_JIS twice would end up having
6764 `coding: japanese-cp932' which Ruby could not recognize.
6765 (ruby-mode-set-encoding): Add support for encodings mapped to nil
6766 in `ruby-encoding-map'.
6767 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
6768 doesn't need to be explicitly declared in magic comment.
6769 (ruby-encoding-map): Add type declaration for better customize UI.
6770
6771 2013-10-13 Glenn Morris <rgm@gnu.org>
6772
6773 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
6774 Occur buffers are read-only. http://bugs.debian.org/720775
6775
6776 * emacs-lisp/authors.el (authors-fixed-entries):
6777 Comment out old alpha stuff.
6778
6779 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
6780
6781 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
6782 to `after-save-hook' instead of `before-save-hook'.
6783 (ruby-mode-set-encoding): Use the value of coding system used to
6784 write the file. Call `basic-save-buffer-1' after modifying the
6785 buffer.
6786
6787 2013-10-13 Alan Mackenzie <acm@muc.de>
6788
6789 Fix indentation/fontification of Java enum with
6790 "implements"/generic.
6791
6792 * progmodes/cc-engine.el (c-backward-over-enum-header):
6793 Extracted from the three other places and enhanced to handle generics.
6794 (c-inside-bracelist-p): Uses new function above.
6795 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
6796 function above.
6797 (c-font-lock-enum-tail): Uses new function above.
6798
6799 2013-10-13 Kenichi Handa <handa@gnu.org>
6800
6801 * international/mule-cmds.el (select-safe-coding-system): Remove a
6802 superfluous condition in chekcing whether a coding system is safe
6803 or not.
6804
6805 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
6806
6807 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
6808
6809 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
6810
6811 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
6812
6813 2013-10-13 Glenn Morris <rgm@gnu.org>
6814
6815 * menu-bar.el (menu-bar-update-buffers):
6816 Unify Buffers menu prompt string. (Bug#15576)
6817
6818 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
6819
6820 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
6821 Add some entries.
6822 (authors-fixed-entries): Use accented form of name.
6823
6824 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6825
6826 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
6827 method calls (bug#15594).
6828 (ruby-smie--args-separator-p): New function.
6829 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
6830 recognize paren-free method calls.
6831
6832 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
6833 internals of universal-argument.
6834
6835 2013-10-11 Eli Zaretskii <eliz@gnu.org>
6836
6837 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
6838 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
6839 dropped menu on second mouse click on the menu bar.
6840
6841 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6842
6843 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
6844 (explicit-shell-file-name): Declare.
6845 (sh--vars-before-point, sh--cmd-completion-table): New functions.
6846 (sh-completion-at-point-function): New function.
6847 (sh-mode): Use it.
6848 (sh-smie--keyword-p): Remove unused argument.
6849 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
6850 vars.
6851 (sh-set-shell): Always setup SMIE, even if we use the
6852 old indentation code.
6853
6854 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
6855
6856 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
6857 cases of ? and =.
6858 (ruby-smie-rules): Simplify the "do" rule. The cases when the
6859 predicate would return nil are almost non-existent.
6860 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
6861
6862 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
6863 cache also after commands that modify the buffer but don't move
6864 point.
6865
6866 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
6867
6868 * env.el (substitute-env-in-file-name): New function.
6869 (substitute-env-vars): Extend the meaning of the optional arg.
6870
6871 2013-10-10 Eli Zaretskii <eliz@gnu.org>
6872
6873 * term/w32-win.el (dynamic-library-alist): Define separate lists
6874 of GIF DLLs for versions before and after 5.0.0 of giflib.
6875 (Bug#15531)
6876
6877 2013-10-10 João Távora <joaotavora@gmail.com>
6878
6879 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
6880 not locked, use last revision and current source as
6881 defaults. (Bug#15569)
6882
6883 2013-10-10 Masatake YAMATO <yamato@redhat.com>
6884
6885 * menu-bar.el (menu-bar-open): Don't use popup-menu if
6886 menu-bar is hidden.
6887
6888 2013-10-10 Martin Rudalics <rudalics@gmx.at>
6889
6890 * window.el (pop-to-buffer-same-window): Fix doc-string.
6891 (Bug#15492)
6892
6893 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
6894
6895 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
6896
6897 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
6898
6899 * calendar/icalendar.el (icalendar-import-file):
6900 Fix interactive spec. (Bug#15482)
6901
6902 2013-10-10 Glenn Morris <rgm@gnu.org>
6903
6904 * desktop.el (desktop-save): Default to saving in .emacs.d,
6905 since PWD is no longer in desktop-path by default. (Bug#15319)
6906
6907 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
6908 now that text mode has a menu with the same entry.
6909 (menu-bar-text-mode-auto-fill): Remove now unused func.
6910 * textmodes/text-mode.el (text-mode-map):
6911 Use auto-fill help text from menu-bar.el.
6912
6913 2013-10-10 John Anthony <john@jo.hnanthony.com>
6914
6915 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
6916
6917 2013-10-09 Juri Linkov <juri@jurta.org>
6918
6919 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
6920 instead of this-command-keys. Add universal-argument-more and
6921 universal-argument-minus to the list of prefix commands. (Bug#15568)
6922
6923 2013-10-09 Glenn Morris <rgm@gnu.org>
6924
6925 * vc/vc-svn.el (vc-svn-create-repo):
6926 Expand paths in file://... url. (Bug#15446)
6927
6928 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
6929 Add some entries.
6930 (authors): Remove unused local variables.
6931
6932 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
6933
6934 * profiler.el: Create a more coherent calltree from partial backtraces.
6935 (profiler-format): Hide the tail with `invisible' so that C-s can still
6936 find the hidden elements.
6937 (profiler-calltree-depth): Don't recurse so enthusiastically.
6938 (profiler-function-equal): New hash-table-test.
6939 (profiler-calltree-build-unified): New function.
6940 (profiler-calltree-build): Use it.
6941 (profiler-report-make-name-part): Indent the calltree less.
6942 (profiler-report-mode): Add visibility specs for profiler-format.
6943 (profiler-report-expand-entry, profiler-report-toggle-entry):
6944 Expand the whole subtree when provided with a prefix arg.
6945
6946 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
6947
6948 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
6949 iuwu-mod token.
6950 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
6951 hanging iuwu-mod token.
6952 (ruby-smie--forward-token): Do not include a dot after a token in
6953 that token.
6954 (ruby-smie--backward-token): Likewise.
6955
6956 2013-10-08 Juri Linkov <juri@jurta.org>
6957
6958 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
6959 to isearch-other-control-char.
6960 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
6961 and isearch-post-command-hook to post-command-hook.
6962 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
6963 and isearch-post-command-hook from post-command-hook.
6964 (isearch-unread-key-sequence)
6965 (isearch-reread-key-sequence-naturally)
6966 (isearch-lookup-scroll-key, isearch-other-control-char)
6967 (isearch-other-meta-char): Remove functions.
6968 (isearch-pre-command-hook, isearch-post-command-hook):
6969 New functions based on isearch-other-meta-char rewritten
6970 relying on the new behavior of overriding-terminal-local-map
6971 that does not replace the local keymaps any more. (Bug#15200)
6972
6973 2013-10-08 Eli Zaretskii <eliz@gnu.org>
6974
6975 Support menus on text-mode terminals.
6976 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
6977 functionality.
6978
6979 * tooltip.el (tooltip-mode): Don't error out on TTYs.
6980
6981 * menu-bar.el (popup-menu, popup-menu-normalize-position):
6982 Move here from mouse.el.
6983 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
6984 and arrow keys.
6985 (tty-menu-navigation-map): New map for TTY menu navigation.
6986
6987 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
6988
6989 * frame.el (display-mouse-p): Report text-mode mouse as available
6990 on w32.
6991 (display-popup-menus-p): Report availability if mouse is
6992 available; don't condition on window-system.
6993
6994 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
6995 (tty-menu-selected-face): New faces.
6996
6997 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6998
6999 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
7000 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
7001 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
7002 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
7003 New constants.
7004 (lisp-mode-variables): New `elisp' argument.
7005 (emacs-lisp-mode): Use it.
7006 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
7007 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
7008
7009 * indent.el: Use lexical-binding.
7010 (indent-region): Add progress reporter.
7011 (tab-stop-list): Make it implicitly extend to infinity by repeating the
7012 last step.
7013 (indent--next-tab-stop): New function to implement this behavior.
7014 (tab-to-tab-stop, move-to-tab-stop): Use it.
7015
7016 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
7017
7018 * indent.el (indent-rigidly--current-indentation): New function.
7019 (indent-rigidly-map): New var.
7020 (indent-rigidly): Use it to provide interactive mode (bug#8196).
7021
7022 2013-10-08 Bastien Guerry <bzg@gnu.org>
7023
7024 * register.el (insert-register): Fix 2013-10-07 change.
7025
7026 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7027
7028 * progmodes/perl-mode.el: Use lexical-binding.
7029 Remove redundant :group args.
7030 (perl-nochange): Change default to be closer to other major modes's
7031 standard behavior.
7032 (perl-indent-line): Don't consider text on current line as a
7033 valid beginning of function from which to indent.
7034
7035 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
7036 with more than one argument (bug#15538).
7037
7038 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
7039
7040 * vc/pcvs.el: Use lexical-binding.
7041 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
7042 environment of `eval'.
7043 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
7044 than a list of expressions. Adjust callers.
7045 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
7046
7047 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
7048
7049 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
7050 case of the dot in a chained method call being on the following line.
7051
7052 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7053
7054 * electric.el (electric-indent-inhibit): New var.
7055 (electric-indent-post-self-insert-function): Use it.
7056 * progmodes/python.el (python-mode): Set it.
7057
7058 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
7059 open braces.
7060
7061 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
7062
7063 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
7064 (css-mode): Use electric-indent-chars.
7065
7066 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
7067 (font-lock-beg, font-lock-end): Move before first use.
7068 (nxml-mode): Use syntax-propertize-function.
7069 (nxml-after-change, nxml-after-change1): Adjust accordingly.
7070 (nxml-extend-after-change-region): Remove.
7071 * nxml/xmltok.el: Use lexical-binding.
7072 (xmltok-save): Use `declare'.
7073 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
7074 * nxml/nxml-util.el: Use lexical-binding.
7075 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
7076 Use `declare'.
7077 * nxml/nxml-ns.el: Use lexical-binding.
7078 (nxml-ns-save): Use `declare'.
7079 (nxml-ns-prefixes-for): Avoid add-to-list.
7080 * nxml/rng-match.el: Use lexical-binding.
7081 (rng--ipattern): Use cl-defstruct.
7082 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
7083 (rng-cons-group-after, rng-subst-group-after)
7084 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
7085 Use closures instead of `(lambda...).
7086
7087 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
7088
7089 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
7090 of BEG and END.
7091
7092 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7093 Use `tramp-handle-insert-file-contents'.
7094 (tramp-gvfs-handle-insert-file-contents): Remove function.
7095
7096 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
7097 Use `save-restriction' in order to keep markers.
7098
7099 * net/trampver.el: Update release number.
7100
7101 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7102
7103 * progmodes/compile.el (compilation-parse-errors):
7104 Use compilation--put-prop.
7105 (compilation--ensure-parse): Check compilation-multiline.
7106
7107 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
7108
7109 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
7110 lexical-binding.
7111
7112 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
7113
7114 * progmodes/ruby-mode.el: Fix recently added tests.
7115 (ruby-smie-grammar): Add - and +.
7116 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
7117 (ruby-smie--backward-id): New functions.
7118 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
7119 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
7120 any more.
7121
7122 2013-10-07 Leo Liu <sdl.web@gmail.com>
7123
7124 * register.el (register-preview-delay)
7125 (register-preview-functions): New variables.
7126 (register-read-with-preview, register-preview)
7127 (register-describe-oneline): New functions.
7128 (point-to-register, window-configuration-to-register)
7129 (frame-configuration-to-register, jump-to-register)
7130 (number-to-register, view-register, insert-register)
7131 (copy-to-register, append-to-register, prepend-to-register)
7132 (copy-rectangle-to-register): Use register-read-with-preview to
7133 read register. (Bug#15525)
7134
7135 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
7136
7137 * net/network-stream.el (network-stream-open-starttls): Don't add
7138 --insecure if it's already present, because that gnutls-cli
7139 rejects getting that parameter twice.
7140
7141 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
7142
7143 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
7144 keyword, too.
7145
7146 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
7147
7148 * newcomment.el (comment-use-global-state): Change default value
7149 to t, mark obsolete (Bug#15251).
7150 (comment-beginning): In addition to `comment-to-syntax', check the
7151 value of `comment-use-global-state'.
7152
7153 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7154
7155 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
7156 (ruby-comment-column): Follow the global default, by default.
7157 (ruby-smie-grammar): Add assignment syntax.
7158 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
7159 open-paren, a comma, or a \.
7160 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
7161 and line continuations.
7162 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
7163 followed by implicit semi-colons. Add rule for string concatenation
7164 and for indentation at BOB.
7165 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
7166
7167 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
7168 calling next-sexp, since next-token may have skipped chars which
7169 next-sexp doesn't know should be skipped!
7170
7171 2013-10-05 Leo Liu <sdl.web@gmail.com>
7172
7173 * progmodes/octave.el (octave-send-region):
7174 Call compilation-forget-errors.
7175
7176 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
7177
7178 * vc/vc-svn.el (vc-svn-find-admin-dir):
7179 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
7180 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
7181 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
7182 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
7183
7184 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
7185
7186 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
7187
7188 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
7189
7190 * subr.el (read-passwd): Hide chars even when called within a context
7191 where after-change-functions is disabled (bug#15501).
7192 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
7193 until we removed ourself from overriding-terminal-local-map.
7194
7195 2013-10-04 Leo Liu <sdl.web@gmail.com>
7196
7197 * progmodes/octave.el (inferior-octave-mode):
7198 Call compilation-forget-errors.
7199
7200 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
7201
7202 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
7203
7204 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
7205
7206 * net/secrets.el (secrets-create-collection): Add optional
7207 argument ALIAS. Use proper Label keyword. Append ALIAS as
7208 dbus-call-method argument. (Bug#15516)
7209
7210 2013-10-04 Leo Liu <sdl.web@gmail.com>
7211
7212 * progmodes/octave.el (inferior-octave-error-regexp-alist)
7213 (inferior-octave-compilation-font-lock-keywords): New variables.
7214 (compilation-error-regexp-alist)
7215 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
7216 (inferior-octave-mode): Use compilation-shell-minor-mode.
7217
7218 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
7219
7220 * minibuffer.el (completion--replace): Be careful that `end' might be
7221 a marker.
7222
7223 2013-10-03 Daiki Ueno <ueno@gnu.org>
7224
7225 Add support for package signature checking.
7226 * emacs-lisp/package.el (url-http-file-exists-p)
7227 (epg-make-context, epg-context-set-home-directory)
7228 (epg-verify-string, epg-context-result-for)
7229 (epg-signature-status, epg-signature-to-string)
7230 (epg-check-configuration, epg-configuration)
7231 (epg-import-keys-from-file): Declare.
7232 (package-check-signature): New user option.
7233 (package-unsigned-archives): New user option.
7234 (package-desc): Add `signed' field.
7235 (package-load-descriptor): Set `signed' field if .signed file exists.
7236 (package--archive-file-exists-p): New function.
7237 (package--check-signature): New function.
7238 (package-install-from-archive): Check package signature.
7239 (package--download-one-archive): Check archive signature.
7240 (package-delete): Remove .signed file.
7241 (package-import-keyring): New command.
7242 (package-refresh-contents): Import default keyring.
7243 (package-desc-status): Add "unsigned" status.
7244 (describe-package-1, package-menu--print-info)
7245 (package-menu-mark-delete, package-menu--find-upgrades)
7246 (package-menu--status-predicate): Support "unsigned" status.
7247
7248 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7249
7250 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
7251 the new compilation scheme using the new byte-codes.
7252
7253 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
7254 (byte-pophandler): New byte codes.
7255 (byte-goto-ops): Adjust accordingly.
7256 (byte-compile--use-old-handlers): New var.
7257 (byte-compile-catch): Use new byte codes depending on
7258 byte-compile--use-old-handlers.
7259 (byte-compile-condition-case--old): Rename from
7260 byte-compile-condition-case.
7261 (byte-compile-condition-case--new): New function.
7262 (byte-compile-condition-case): New function that dispatches depending
7263 on byte-compile--use-old-handlers.
7264 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
7265 when we can.
7266
7267 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
7268 Optimize under `condition-case' and `catch' if
7269 byte-compile--use-old-handlers is nil.
7270 (disassemble-offset): Handle new bytecodes.
7271
7272 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7273
7274 * subr.el (error): Use `declare'.
7275 (decode-char, encode-char): Use advertised-calling-convention instead
7276 of the docstring to discourage use of the `restriction' arg.
7277
7278 2013-10-03 Daiki Ueno <ueno@gnu.org>
7279
7280 * epg.el (epg-verify-file): Add a comment saying that it does not
7281 notify verification error as a return value nor a signal.
7282 (epg-verify-string): Ditto.
7283
7284 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
7285
7286 * progmodes/compile.el (compilation-start): Try globbing the arg to
7287 `cd' (bug#15417).
7288
7289 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
7290
7291 Sync with Tramp 2.2.8.
7292
7293 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
7294 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
7295 * net/trampver.el: Update release number.
7296
7297 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
7298
7299 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
7300 and default-process-coding-system for darwin only.
7301
7302 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
7303
7304 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
7305
7306 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
7307
7308 * vc/vc-git.el (vc-git-grep): Disable pager.
7309
7310 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
7311
7312 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
7313 Use :url instead of :homepage, as per
7314 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
7315
7316 * newcomment.el (comment-beginning): When `comment-use-syntax' is
7317 non-nil, use `syntax-ppss' (Bug#15251).
7318
7319 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7320
7321 * progmodes/octave.el (inferior-octave-startup-file):
7322 Prefer ~/.emacs.d/init_octave.m.
7323
7324 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
7325
7326 * emacs-lisp/package.el (package-desc-from-define):
7327 Accept additional arguments as plist, convert them to an alist and store
7328 them in the `extras' slot.
7329 (package-generate-description-file): Convert extras alist back to
7330 plist and append to the `define-package' form arguments.
7331 (package--alist-to-plist): New function.
7332 (package--ac-desc): Add `extras' slot.
7333 (package--add-to-archive-contents): Check if the archive-contents
7334 vector is long enough, and if it is, pass its `extras' slot value
7335 to `package-desc-create'.
7336 (package-buffer-info): Call `lm-homepage', pass the returned value
7337 to `package-desc-from-define'.
7338 (describe-package-1): Render the homepage button (Bug#13291).
7339
7340 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7341 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
7342
7343 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
7344
7345 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
7346 and default-process-coding-system to utf-8-unix (Bug#15402).
7347
7348 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
7349
7350 * subr.el (looking-back): Do not recommend using looking-back.
7351
7352 2013-09-28 Alan Mackenzie <acm@muc.de>
7353
7354 Fix indentation/fontification of Java enum with "implements".
7355
7356 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
7357 regexp which matches "implements", etc., in Java.
7358 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
7359 specifier clauses coming after "enum".
7360 * progmodes/cc-fonts.el (c-font-lock-declarations)
7361 (c-font-lock-enum-tail): Check for extra specifier clauses coming
7362 after "enum".
7363
7364 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
7365
7366 * faces.el (region): Change ns_selection_color to
7367 ns_selection_fg_color, add ns_selection_bg_color.
7368
7369 2013-09-28 Leo Liu <sdl.web@gmail.com>
7370
7371 * progmodes/octave.el (inferior-octave-completion-table)
7372 (inferior-octave-completion-at-point): Minor tweaks.
7373
7374 * textmodes/ispell.el (ispell-lookup-words): Rename from
7375 lookup-words. (Bug#15460)
7376 (lookup-words): Obsolete.
7377 (ispell-complete-word, ispell-command-loop): All uses changed.
7378
7379 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7380
7381 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
7382 (octave-mode-menu): Add octave-send-buffer.
7383 (octave-send-buffer): New function.
7384
7385 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7386
7387 * progmodes/octave.el (octave-mode-map): Add key binding for
7388 octave-lookfor.
7389 (octave-mode-menu): Add octave-lookfor.
7390 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
7391 octave-lookfor.
7392 (octave-lookfor): New function.
7393
7394 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
7395
7396 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
7397 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
7398 its convention.
7399 (cl--loop-set-iterator-function): New function.
7400 (cl-loop): Adjust accordingly, so as not to use cl-subst.
7401 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
7402 Bind `it' with `let' instead of substituting it with `cl-subst'.
7403 (cl--unused-var-p): New function.
7404 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
7405 Eliminate some unused variable warnings (bug#15326).
7406
7407 2013-09-27 Tassilo Horn <tsdh@gnu.org>
7408
7409 * doc-view.el (doc-view-scale-reset): Rename from
7410 `doc-view-reset-zoom-level'.
7411 (doc-view-scale-adjust): New command.
7412 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
7413 `doc-view-scale-adjust'.
7414
7415 2013-09-26 Tassilo Horn <tsdh@gnu.org>
7416
7417 * doc-view.el (doc-view-reset-zoom-level): New command.
7418 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
7419 zoom commands (bug#15466).
7420
7421 2013-09-26 Kenichi Handa <handa@gnu.org>
7422
7423 * international/quail.el (quail-help): Make it not a command.
7424
7425 2013-09-26 Leo Liu <sdl.web@gmail.com>
7426
7427 * minibuffer.el (completion-all-sorted-completions): Make args
7428 optional as they are.
7429
7430 2013-09-25 Daniel Colascione <dancol@dancol.org>
7431
7432 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
7433 specs are and that they're not evaluated.
7434
7435 2013-09-24 Sam Steingold <sds@gnu.org>
7436
7437 * midnight.el (clean-buffer-list-kill-regexps)
7438 (clean-buffer-list-kill-buffer-names): Update for the new Man
7439 buffer naming which includes the object name.
7440
7441 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7442
7443 * eshell/esh-cmd.el (eshell--sep-terms): New var.
7444 (eshell-parse-command, eshell-parse-pipeline): Use it since
7445 eshell-separate-commands requires a dynamic scoped var.
7446 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
7447
7448 2013-09-23 Leo Liu <sdl.web@gmail.com>
7449
7450 * autoinsert.el (auto-insert-alist): Make the value of
7451 lexical-binding match its file setting.
7452
7453 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
7454
7455 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
7456
7457 * autoarg.el (autoarg-kp-digit-argument):
7458 * electric.el (Electric-command-loop):
7459 * kmacro.el (kmacro-step-edit-insert):
7460 Do not set universal-argument-num-events.
7461
7462 2013-09-22 Leo Liu <sdl.web@gmail.com>
7463
7464 * files.el (interpreter-mode-alist): Add octave.
7465
7466 2013-09-21 Alan Mackenzie <acm@muc.de>
7467
7468 C++: fontify identifier in declaration following "public:" correctly.
7469 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
7470 to match "public", etc.
7471 (c-decl-prefix-re): Add ":" into the C++ value.
7472 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
7473 bit. Add a check for a ":" preceded by "public", etc.
7474
7475 2013-09-21 Eli Zaretskii <eliz@gnu.org>
7476
7477 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
7478 recognized by GDB 7.5 and later.
7479
7480 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
7481
7482 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
7483
7484 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7485
7486 * subr.el (internal--call-interactively): New const.
7487 (called-interactively-p): Use it (bug#3984).
7488
7489 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
7490
7491 * vc/pcvs.el (cvs-mode-ignore):
7492 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
7493 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
7494
7495 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7496
7497 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
7498 (eshell-ls-orig-insert-directory): Remove.
7499 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
7500 (eshell-ls-use-in-dired): Use advice-add/remove.
7501 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
7502 Add `orig-fun' arg for use in :around advice.
7503 Make it check (redundantly) eshell-ls-use-in-dired.
7504
7505 2013-09-19 Glenn Morris <rgm@gnu.org>
7506
7507 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
7508
7509 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
7510
7511 * emacs-lisp/eieio.el (class-parent): Undo previous change.
7512
7513 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
7514
7515 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
7516 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
7517 (tramp-get-remote-python): New defuns.
7518 (tramp-get-remote-uid-with-perl)
7519 (tramp-get-remote-gid-with-perl): New defuns. Perl code
7520 contributed by yary <not.com@gmail.com> (tiny change).
7521 (tramp-get-remote-uid-with-python)
7522 (tramp-get-remote-gid-with-python): New defuns. Python code
7523 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
7524 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
7525
7526 2013-09-19 Glenn Morris <rgm@gnu.org>
7527
7528 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
7529
7530 * eshell/em-unix.el (eshell-remove-entries):
7531 Rename argument to avoid name-clash with global `top-level'.
7532
7533 * eshell/esh-proc.el (eshell-kill-process-function):
7534 Remove eshell-reset-after-proc from eshell-kill-hook if present.
7535 (eshell-reset-after-proc): Remove unused arg `proc'.
7536
7537 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
7538 (directory-files-and-attributes): Mark unused arg.
7539
7540 * eshell/em-unix.el (eshell-remove-entries):
7541 Remove unused arg `path'. Update callers.
7542
7543 * eshell/em-hist.el (eshell-hist-parse-arguments):
7544 Remove unused arg `silent'. Update callers.
7545
7546 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
7547 Fix (f)boundp mix-up.
7548
7549 * eshell/em-smart.el (eshell-smart-scroll-window)
7550 (eshell-disable-after-change):
7551 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
7552
7553 2013-09-18 Alan Mackenzie <acm@muc.de>
7554
7555 Fix fontification of type when followed by "const".
7556 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
7557 "known" types from fontification.
7558
7559 2013-09-18 Glenn Morris <rgm@gnu.org>
7560
7561 * emacs-lisp/chart.el (x-display-color-cells): Declare.
7562 (chart-face-list): Drop Emacsen without display-color-p.
7563
7564 * net/eww.el (libxml-parse-html-region): Declare.
7565 (eww-display-html): Explicit error if no libxml2 support.
7566
7567 * doc-view.el (doc-view-mode): Silence --without-x compilation.
7568
7569 * image.el (image-type-from-buffer, image-multi-frame-p):
7570 Remove --without-x warning/error.
7571
7572 * mouse.el (mouse-yank-primary):
7573 * term.el (term-mouse-paste):
7574 Reorder to silence --without-x compilation.
7575
7576 * mpc.el (doc-view-mode): Silence --without-x compilation.
7577
7578 * mail/rmailmm.el (rmail-mime-set-bulk-data):
7579 Silence --without-x compilation.
7580
7581 * progmodes/gud.el (gud-find-file, gud-mode):
7582 Silence --without-x compilation.
7583 (tooltip-mode): Declare.
7584
7585 * wdired.el (dired-backup-overwrite): Remove declaration.
7586 (wdired-mode-map): Add doc string.
7587
7588 * custom.el (x-get-resource): Declare.
7589
7590 * eshell/em-glob.el (ange-cache):
7591 * eshell/em-unix.el (ange-cache): Declare.
7592
7593 * faces.el (x-display-list, x-open-connection, x-get-resource):
7594 Declare.
7595
7596 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
7597 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
7598 Declare.
7599
7600 * frame.el (x-display-grayscale-p, x-display-name): Declare.
7601
7602 * net/gnutls.el (gnutls-log-level): Declare.
7603
7604 * net/shr.el (image-size, image-animate): Declare.
7605
7606 * simple.el (font-info): Declare.
7607
7608 * subr.el (x-popup-dialog): Declare.
7609
7610 * term/common-win.el (x-select-enable-primary)
7611 (x-last-selected-text-primary, x-last-selected-text-clipboard):
7612 Declare.
7613
7614 * term/ns-win.el (x-handle-args): Declare.
7615
7616 * term/x-win.el (x-select-enable-clipboard): Declare.
7617
7618 * term/w32-win.el (create-default-fontset): Declare.
7619
7620 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
7621 Declare.
7622
7623 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
7624 (fit-frame-to-buffer): Explicit error if --without-x.
7625 (mouse-autoselect-window-select): Silence compiler.
7626
7627 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
7628
7629 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
7630 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
7631 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
7632 * eshell/esh-util.el (eshell-sublist):
7633 Remove unused local variables.
7634
7635 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
7636
7637 * textmodes/two-column.el: Make 2C-split work for --without-x.
7638 (scroll-bar-columns): Autoload.
7639 (top-level): Require fringe when compiling.
7640
7641 2013-09-18 Leo Liu <sdl.web@gmail.com>
7642
7643 * subr.el (add-hook): Robustify to handle closure as well.
7644
7645 2013-09-17 Glenn Morris <rgm@gnu.org>
7646
7647 * simple.el (messages-buffer-mode-map): Unbind "g".
7648
7649 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
7650
7651 * help-mode.el (help-mode-finish): Use derived-mode-p.
7652 Remove obsolete highlighting.
7653
7654 * play/life.el (life-mode): Use define-derived-mode. Derive from
7655 special-mode.
7656 (life): Let-bind inhibit-read-only.
7657 (life-setup): Avoid `setq'. Use `life-mode'.
7658
7659 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
7660 which should not be needed any more.
7661 (package-menu-refresh, package-menu-describe-package): Use user-error.
7662
7663 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
7664 (eshell-post-rewrite-command-hook): Make obsolete.
7665 (eshell-parse-command): Simplify.
7666 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
7667 (eshell--cmd): Declare.
7668 (eshell-parse-pipeline): Remove unused var `final-p'.
7669 Pass a dynvar to eshell-post-rewrite-command-hook.
7670 Implement the new eshell-post-rewrite-command-function.
7671 (eshell-invoke-directly): Remove unused arg `input'.
7672 * eshell/esh-io.el (eshell-io-initialize):
7673 Use eshell-post-rewrite-command-function (bug#15399).
7674 (eshell--apply-redirections): Rename from eshell-apply-redirections;
7675 adjust to new calling convention.
7676 (eshell-create-handles): Rename args to avoid clashing with dynvar
7677 `standard-output'.
7678
7679 2013-09-17 Glenn Morris <rgm@gnu.org>
7680
7681 * simple.el (messages-buffer-mode): New major mode.
7682 (messages-buffer): New function.
7683 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
7684 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
7685 (ert-run-test): Use `messages-buffer' function.
7686 (ert--force-message-log-buffer-truncation): Ignore read-only.
7687 * help.el (view-echo-area-messages): Use `messages-buffer' function.
7688 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
7689
7690 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
7691
7692 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
7693
7694 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
7695
7696 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
7697
7698 * icomplete.el (icomplete-in-buffer): New var.
7699 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
7700 vars and replace them with functions.
7701 (icomplete-minibuffer-setup): Adjust accordingly.
7702 (icomplete--completion-table, icomplete--completion-predicate)
7703 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
7704 New functions.
7705 (icomplete-forward-completions, icomplete-backward-completions)
7706 (icomplete-simple-completing-p, icomplete-exhibit)
7707 (icomplete-completions): Use them.
7708 (icomplete--in-region-buffer): New var.
7709 (icomplete--in-region-setup): New function.
7710 (icomplete-mode): Use it.
7711
7712 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
7713 (bug#15379).
7714 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
7715 return args and options.
7716 (eshell-eval-using-options): Use the new return value of
7717 eshell--do-opts to set the options's vars in their scope.
7718 (eshell--set-option): Rename from eshell-set-option.
7719 Add arg `opt-vals'.
7720 (eshell--process-option): Rename from eshell-process-option.
7721 Add arg `opt-vals'.
7722 (eshell--process-args): Use an `opt-vals' alist to store the options's
7723 values during their processing and return them additionally to the
7724 remaining args.
7725
7726 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
7727
7728 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
7729 continuation character an operator, as far as indentation is
7730 concerned (Bug#15369).
7731
7732 2013-09-15 Martin Rudalics <rudalics@gmx.at>
7733
7734 * window.el (window--state-put-2): Don't process buffer state
7735 when buffer doesn't exist any more (Bug#15382).
7736
7737 2013-09-15 Glenn Morris <rgm@gnu.org>
7738
7739 * eshell/em-unix.el (eshell/rm):
7740 Make -f ignore missing files. (Bug#15373)
7741
7742 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
7743 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
7744 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
7745
7746 2013-09-14 Glenn Morris <rgm@gnu.org>
7747
7748 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
7749
7750 2013-09-13 Glenn Morris <rgm@gnu.org>
7751
7752 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
7753 (dired-guess-default): Make `file' available in the env. (Bug#15363)
7754
7755 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
7756
7757 * frame.el (x-focus-frame): Mark as declared in frame.c.
7758
7759 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
7760
7761 * ls-lisp.el: Use advice-add.
7762 (original-insert-directory): Remove.
7763 (ls-lisp--insert-directory): Rename from insert-directory; add
7764 `orig-fun' argument.
7765 (insert-directory): Advise.
7766
7767 2013-09-13 Eli Zaretskii <eliz@gnu.org>
7768
7769 * term.el (term-emulate-terminal): Decode the command string
7770 before passing it to term-command-hook. (Bug#15337)
7771
7772 2013-09-13 Glenn Morris <rgm@gnu.org>
7773
7774 * eshell/esh-util.el (ange-cache): Move declaration earlier.
7775
7776 * eshell/esh-ext.el (eshell-search-path): Declare.
7777
7778 * eshell/em-prompt.el (eshell/pwd): Autoload it.
7779 Otherwise an error occurs if eshell-dirs module not loaded.
7780
7781 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
7782
7783 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
7784
7785 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
7786 `tramp-check-proper-host'. Check for a valid method name.
7787
7788 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7789 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7790 * net/tramp-sh.el (tramp-maybe-open-connection):
7791 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
7792
7793 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
7794 also for hash values.
7795
7796 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7797
7798 * term/ns-win.el (parameters): Don't declare as dynamic.
7799 (before-make-frame-hook): Don't add ineffective function.
7800
7801 * eshell/*.el: Use lexical-binding (bug#15231).
7802
7803 2013-09-12 Kenichi Handa <handa@gnu.org>
7804
7805 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
7806
7807 2013-09-12 Glenn Morris <rgm@gnu.org>
7808
7809 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
7810 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
7811
7812 * subr.el (do-after-load-evaluation): Also give compiler warnings
7813 when obsolete files are used (except by obsolete files).
7814
7815 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
7816 in the status output, assume `filename' is the first. (Bug#15322)
7817
7818 * vc/vc.el (vc-deduce-fileset): Doc fix.
7819
7820 * calc/calc-help.el (Info-goto-node):
7821 * progmodes/cperl-mode.el (Info-find-node):
7822 * vc/ediff.el (Info-goto-node): Update declarations.
7823
7824 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
7825
7826 * vc/vc-bzr.el (vc-compilation-mode): Declare.
7827 (vc-bzr-pull): Require vc-dispatcher.
7828 * vc/vc-git.el (vc-compilation-mode): Declare.
7829 (vc-git-pull): Require vc-dispatcher.
7830
7831 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
7832
7833 * progmodes/octave.el (help-button-action): Declare.
7834
7835 * shell.el (shell-directory-tracker): Output error as a message
7836 rather than just returning it as a string.
7837 (shell-process-pushd): Remove useless use of message.
7838
7839 * dframe.el (dframe-timer-fn):
7840 * files.el (dir-locals-read-from-file):
7841 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
7842 (mpc-format):
7843 * reveal.el (reveal-post-command):
7844 * saveplace.el (load-save-place-alist-from-file):
7845 * shell.el (shell-resync-dirs):
7846 * w32-common-fns.el (x-get-selection-value):
7847 * emacs-lisp/copyright.el (copyright-find-copyright):
7848 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
7849 * emulation/tpu-edt.el (tpu-copy-keyfile):
7850 * play/bubbles.el (bubbles--mark-neighbourhood):
7851 * progmodes/executable.el
7852 (executable-make-buffer-file-executable-if-script-p):
7853 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
7854
7855 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7856
7857 Cleanup Eshell to rely less on dynamic scoping.
7858 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
7859 last-value, and ext-command here. Bind `args' closer to `body'.
7860 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
7861 (eshell--args): Declare new dynamic var.
7862 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
7863 last-value, and ext-command. Pass `args' to `body'.
7864 (eshell-process-args): Bind eshell--args.
7865 (eshell-set-option): Use eshell--args.
7866 * eshell/eshell.el (eshell): Use derived-mode-p.
7867 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
7868 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
7869 (eshell-glob-function): Declare.
7870 * eshell/esh-util.el: Require cl-lib.
7871 (eshell-read-hosts-file): Avoid add-to-list.
7872 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
7873 `err'.
7874 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
7875 Declare.
7876 (eshell/diff): Remove unused var `err'.
7877 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
7878 `killflag'.
7879 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
7880 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
7881 first use.
7882 * eshell/em-glob.el (eshell-glob-matches, message-shown):
7883 Move declaration before first use.
7884 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
7885 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
7886 rely on cl-return.
7887
7888 2013-09-12 Glenn Morris <rgm@gnu.org>
7889
7890 * term/ns-win.el (global-map): Remove binding for ispell-next,
7891 deleted 1999-05-29. (Bug#15357)
7892
7893 2013-09-11 Glenn Morris <rgm@gnu.org>
7894
7895 * echistory.el (electric-command-history): Remove call to deleted func.
7896
7897 * play/landmark.el (landmark-mode): Fix typos.
7898
7899 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
7900 Check cvs-sort-ignore-file is bound.
7901
7902 * savehist.el: No need for cl when compiling on Emacs.
7903
7904 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
7905
7906 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
7907 (bug#15338).
7908 (eshell-self-insert-command, eshell-send-invisible):
7909 Remove unused argument.
7910 (eshell-handle-control-codes): Remove unused var `orig'.
7911 Avoid delete-backward-char.
7912
7913 * files.el (set-auto-mode): Simplify a bit further.
7914
7915 2013-09-11 Glenn Morris <rgm@gnu.org>
7916
7917 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
7918 (set-auto-mode): Don't regexp-quote elements.
7919 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
7920 * progmodes/cc-mode.el (interpreter-mode-alist):
7921 * progmodes/ruby-mode.el (interpreter-mode-alist):
7922 Revert previous change.
7923
7924 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
7925
7926 * play/snake.el (snake-mode):
7927 * play/mpuz.el (mpuz-mode):
7928 * play/landmark.el (lm-mode):
7929 * play/blackbox.el (blackbox-mode):
7930 * play/5x5.el (5x5-mode):
7931 * obsolete/options.el (Edit-options-mode):
7932 * net/quickurl.el (quickurl-list-mode):
7933 * net/newst-treeview.el (newsticker-treeview-mode):
7934 * mail/rmailsum.el (rmail-summary-mode):
7935 * mail/mspools.el (mspools-mode):
7936 * locate.el (locate-mode):
7937 * ibuffer.el (ibuffer-mode):
7938 * emulation/ws-mode.el (wordstar-mode):
7939 * emacs-lisp/debug.el (debugger-mode):
7940 * array.el (array-mode):
7941 * net/eudc.el (eudc-mode): Use define-derived-mode.
7942 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
7943 Move initialization into declaration.
7944 (mairix-searches-mode): Use define-derived-mode.
7945 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
7946 (eudc-edit-hotlist): Use dolist.
7947 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
7948 (Man-mode): Use define-derived-mode.
7949 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
7950 (Info-edit-mode): Use define-derived-mode.
7951 (Info-cease-edit): Use Info-mode.
7952 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
7953 into declaration.
7954 (eshell-mode): Use define-derived-mode.
7955 * chistory.el (command-history-mode-map): Rename from
7956 command-history-map.
7957 (command-history-mode): Use define-derived-mode.
7958 (Command-history-setup): Remove function.
7959 * calc/calc.el (calc-trail-mode-map): New var.
7960 (calc-trail-mode): Use define-derived-mode.
7961 (calc-trail-buffer): Set calc-main-buffer manually.
7962 * bookmark.el (bookmark-insert-annotation): New function.
7963 (bookmark-edit-annotation): Use it.
7964 (bookmark-edit-annotation-mode): Make it a proper major mode.
7965 (bookmark-send-edited-annotation): Use derived-mode-p.
7966 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
7967 closer to its ideal place. Use \' to match EOS.
7968
7969 * profiler.el (profiler-calltree-find): Use function-equal.
7970
7971 2013-09-10 Glenn Morris <rgm@gnu.org>
7972
7973 * files.el (interpreter-mode-alist): Convert to regexps.
7974 (set-auto-mode): Adapt for this. (Bug#15306)
7975 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
7976 Comment out unused variable.
7977 * progmodes/cc-mode.el (interpreter-mode-alist):
7978 * progmodes/python.el (interpreter-mode-alist):
7979 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
7980 * progmodes/sh-script.el (sh-set-shell):
7981 No longer use interpreter-mode-alist to get list of shells.
7982
7983 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
7984
7985 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7986
7987 * simple.el: Use set-temporary-overlay-map for universal-argument.
7988 (universal-argument-map): Don't use default-bindings (bug#15317).
7989 Bind switch-frame explicitly. Replace universal-argument-minus with
7990 a conditional binding.
7991 (universal-argument-num-events, saved-overriding-map): Remove.
7992 (restore-overriding-map): Remove.
7993 (universal-argument--mode): Rename from save&set-overriding-map,
7994 and rewrite.
7995 (universal-argument, universal-argument-more, negative-argument)
7996 (digit-argument): Adjust accordingly.
7997 (universal-argument-minus): Remove.
7998 (universal-argument-other-key): Remove.
7999
8000 * subr.el (with-demoted-errors): Add `format' argument.
8001
8002 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
8003
8004 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
8005 `tramp-cleanup-connection'.
8006
8007 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
8008 parameters KEEP-DEBUG and KEEP-PASSWORD.
8009
8010 * net/tramp.el (tramp-file-name-handler):
8011 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8012 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
8013 (tramp-maybe-open-connection):
8014 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
8015 Use `tramp-cleanup-connection'.
8016
8017 * net/tramp-sh.el (tramp-maybe-open-connection):
8018 Catch 'uname-changed inside the progress reporter.
8019
8020 2013-09-10 Glenn Morris <rgm@gnu.org>
8021
8022 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
8023
8024 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
8025 returns "alternate access method" in mode (eg "-rw-r--r--.").
8026
8027 2013-09-08 Glenn Morris <rgm@gnu.org>
8028
8029 * saveplace.el (load-save-place-alist-from-file):
8030 Demote errors. (Bug#15305)
8031
8032 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
8033
8034 Improve compatibility with older Emacsen, and XEmacs.
8035
8036 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
8037 only if it is bound. It isn't for XEmacs.
8038 (with-tramp-progress-reporter): Do not let-bind `result'.
8039 This yields to scoping errors in XEmacs.
8040 (tramp-handle-make-auto-save-file-name): New function, moved from
8041 tramp-sh.el.
8042
8043 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
8044 for `make-auto-save-file-name'.
8045 (tramp-adb--gnu-switches-to-ash):
8046 Use `tramp-compat-replace-regexp-in-string'.
8047
8048 * net/tramp-cache.el (tramp-cache-print): Call
8049 `substring-no-properties' only if it is bound. It isn't for XEmacs.
8050
8051 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
8052 bound. It isn't for XEmacs.
8053
8054 * net/tramp-compat.el (tramp-compat-copy-file):
8055 Catch `wrong-number-of-arguments' error.
8056 (tramp-compat-replace-regexp-in-string): New defun.
8057
8058 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
8059 for `make-auto-save-file-name'.
8060 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
8061 `copy-file'.
8062 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
8063 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
8064 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
8065
8066 * net/tramp-gw.el (tramp-gw-open-network-stream):
8067 Use `tramp-compat-replace-regexp-in-string'.
8068
8069 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8070 Call `tramp-handle-make-auto-save-file-name'.
8071 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
8072 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8073 (tramp-sh-file-inotifywait-process-filter):
8074 Use `tramp-compat-replace-regexp-in-string'.
8075 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
8076
8077 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
8078 for `make-auto-save-file-name'.
8079 (tramp-smb-handle-copy-directory):
8080 Call `tramp-compat-replace-regexp-in-string'.
8081 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
8082 (tramp-smb-handle-copy-file): Improve error message.
8083 (tramp-smb-handle-rename-file): Rename directly only in case
8084 `newname' does not exist yet. This is a restriction of smbclient.
8085 (tramp-smb-maybe-open-connection): Rerun the function only when
8086 `auth-sources' is non-nil.
8087
8088 2013-09-08 Kenichi Handa <handa@gnu.org>
8089
8090 * international/characters.el: Set category "^" (Combining) for
8091 more characters.
8092
8093 2013-09-07 Alan Mackenzie <acm@muc.de>
8094
8095 Correctly fontify Java class constructors.
8096 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
8097 in Java Mode.
8098 (c-recognize-typeless-decls): Set the Java value to t.
8099 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
8100 While handling a "(", add a check for, effectively, Java, and handle a
8101 "typeless" declaration there.
8102
8103 2013-09-07 Roland Winkler <winkler@gnu.org>
8104
8105 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
8106 field subtitle for entry type book.
8107
8108 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8109
8110 * minibuffer.el: Make minibuffer-complete call completion-in-region
8111 rather than other way around.
8112 (completion--some, completion-pcm--find-all-completions):
8113 Don't delay signals when debugging.
8114 (minibuffer-completion-contents): Beware fields within the
8115 minibuffer contents.
8116 (completion-all-sorted-completions): Use defvar-local.
8117 (completion--do-completion, completion--cache-all-sorted-completions)
8118 (completion-all-sorted-completions, minibuffer-force-complete):
8119 Add args `beg' and `end'.
8120 (completion--in-region-1): New fun, extracted from minibuffer-complete.
8121 (minibuffer-complete): Use completion-in-region.
8122 (completion-complete-and-exit): New fun, extracted from
8123 minibuffer-complete-and-exit.
8124 (minibuffer-complete-and-exit): Use it.
8125 (completion--complete-and-exit): Rename from
8126 minibuffer--complete-and-exit.
8127 (completion-in-region--single-word): New function, extracted from
8128 minibuffer-complete-word.
8129 (minibuffer-complete-word): Use it.
8130 (display-completion-list): Make `common-substring' argument obsolete.
8131 (completion--in-region): Call completion--in-region-1 instead of
8132 minibuffer-complete.
8133 (completion-help-at-point): Pass boundaries to
8134 minibuffer-completion-help as args rather than via an overlay.
8135 (completion-pcm--string->pattern): Use `any-delim'.
8136 (completion-pcm--optimize-pattern): New function.
8137 (completion-pcm--pattern->regex): Handle `any-delim'.
8138 * icomplete.el (icomplete-forward-completions)
8139 (icomplete-backward-completions, icomplete-completions):
8140 Adjust calls to completion-all-sorted-completions and
8141 completion--cache-all-sorted-completions.
8142 (icomplete-with-completion-tables): Default to t.
8143 * emacs-lisp/crm.el (crm--current-element): Rename from
8144 crm--select-current-element. Don't put an overlay but return the
8145 boundaries instead.
8146 (crm--completion-command): Take two new args to bind to the boundaries.
8147 (crm-completion-help): Adjust accordingly.
8148 (crm-complete): Use completion-in-region.
8149 (crm-complete-word): Use completion-in-region--single-word.
8150 (crm-complete-and-exit): Use completion-complete-and-exit.
8151
8152 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8153
8154 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
8155 than dynamically.
8156
8157 2013-09-06 Juri Linkov <juri@jurta.org>
8158
8159 * info.el (Info-display-images-node): When image file doesn't exist
8160 display text version of the image if it's provided in the Info file.
8161 Otherwise, display the location of missing image from SRC attribute.
8162 Add help-echo text property from ALT attribute. (Bug#15279)
8163
8164 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8165
8166 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
8167 (edit-abbrevs-mode): Use define-derived-mode.
8168
8169 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
8170 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
8171 that it's defined.
8172 (epa-key-list-mode, epa-key-mode, epa-info-mode):
8173 Use define-derived-mode.
8174
8175 * epg.el (epg-start-encrypt): Minor CSE simplification.
8176
8177 2013-09-06 William Xu <william.xwl@gmail.com>
8178
8179 * arc-mode.el: Add support for 7za (bug#15264).
8180 (archive-7z-program): New var.
8181 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
8182 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
8183 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
8184
8185 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
8186
8187 Remove URL syntax.
8188
8189 * net/tramp.el (tramp-syntax, tramp-prefix-format)
8190 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
8191 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
8192 (tramp-postfix-host-format, tramp-file-name-regexp)
8193 (tramp-completion-file-name-regexp)
8194 (tramp-completion-dissect-file-name)
8195 (tramp-handle-substitute-in-file-name): Remove 'url case.
8196 (tramp-file-name-regexp-url)
8197 (tramp-completion-file-name-regexp-url): Remove constants.
8198
8199 2013-09-06 Glenn Morris <rgm@gnu.org>
8200
8201 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
8202
8203 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
8204
8205 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
8206 keywords" below "here-doc beginnings" (Bug#15270).
8207
8208 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
8209
8210 * subr.el (pop): Use `car-safe'.
8211 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
8212 to detect unused `pop' return value.
8213
8214 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
8215 var `block-regexp'.
8216 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
8217 (python-fill-string): Remove unused var `marker'.
8218 (python-skeleton-add-menu-items): Remove unused var `items'.
8219
8220 * international/mule-cmds.el: Require CL.
8221 (find-coding-systems-for-charsets): Avoid add-to-list.
8222 (sanitize-coding-system-list): New function, extracted from
8223 select-safe-coding-system-interactively.
8224 (select-safe-coding-system-interactively): Use it.
8225 (read-input-method-name): Accept symbols for `default'.
8226
8227 * emacs-lisp/advice.el (defadvice): Add indent rule.
8228
8229 2013-09-05 Daniel Hackney <dan@haxney.org>
8230
8231 * dired-x.el:
8232 * net/ange-ftp.el:
8233 * net/browse-url.el:
8234 * net/dbus.el:
8235 * net/eudc.el:
8236 * net/eudcb-ldap.el:
8237 * net/eww.el:
8238 * net/imap.el:
8239 * printing.el:
8240 * vc/ediff-diff.el:
8241 * vc/ediff-init.el:
8242 * vc/ediff-merg.el:
8243 * vc/ediff-mult.el:
8244 * vc/ediff-util.el:
8245 * vc/ediff-wind.el:
8246 * vc/ediff.el:
8247 * vc/emerge.el:
8248 * vc/pcvs.el:
8249 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
8250 byte compiler. Remove some unused let-bound variables.
8251
8252 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
8253
8254 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
8255 a "ref-cell", since it gets better optimized (bug#14883).
8256
8257 2013-09-05 Glenn Morris <rgm@gnu.org>
8258
8259 * progmodes/cc-awk.el (c-forward-sws): Declare.
8260
8261 2013-09-04 Glenn Morris <rgm@gnu.org>
8262
8263 * generic-x.el [rul-generic-mode]: Require cc-mode.
8264 (c++-mode-syntax-table): Declare.
8265 (rul-generic-mode-syntax-table): Init in the defvar.
8266
8267 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
8268
8269 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
8270 (vc-do-command, vc-set-async-update):
8271 * vc/vc-mtn.el (vc-mtn-dir-status):
8272 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
8273 (vc-hg-pull, vc-hg-merge-branch):
8274 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
8275 (vc-git-merge-branch):
8276 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
8277 (vc-cvs-dir-status-files):
8278 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
8279 (vc-bzr-dir-status-files):
8280 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
8281 * vc/vc-annotate.el: Use lexical-binding.
8282 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
8283 (vc-sentinel-movepoint): Declare.
8284 (vc-annotate): Don't use `goto-line'.
8285 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
8286 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
8287 (vc-sentinel-movepoint): Declare.
8288 * vc/vc-svn.el: Use lexical-binding.
8289 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
8290 * vc/vc-sccs.el:
8291 * vc/vc-rcs.el: Use lexical-binding.
8292
8293 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
8294 `deleted'. Don't drop errors silently.
8295
8296 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
8297
8298 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
8299
8300 * vc/vc.el (vc-ignore): Rewrite.
8301 (vc-default-ignore): New function.
8302 (vc-default-ignore-completion-table): Use find-ignore-file.
8303
8304 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
8305 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
8306 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
8307 Remove. Most code moved to vc.el.
8308
8309 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
8310
8311 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
8312 * net/tramp-smb.el (tramp-smb-get-file-entries):
8313 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
8314 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
8315
8316 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
8317 Update call to it.
8318 (eww-change-select): Remove unused var `properties'.
8319 (eww-make-unique-file-name): Remove unused var `base'.
8320
8321 * finder.el (finder-compile-keywords): Don't mess with windows.
8322
8323 * calculator.el (calculator-funcall): Fix typo in last change.
8324
8325 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
8326
8327 * emacs-lisp/package.el (package-activate-1): Don't let a missing
8328 <pkg>-autoloads.el file stop us.
8329
8330 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
8331 warnings, and factor out common code.
8332
8333 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
8334
8335 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
8336 two-character operators and whether the character preceding them
8337 changes their meaning (Bug#15208).
8338
8339 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
8340
8341 Format code sent to Python shell for robustness.
8342 * progmodes/python.el (python-shell-buffer-substring):
8343 New function.
8344 (python-shell-send-region, python-shell-send-buffer): Use it.
8345
8346 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
8347
8348 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
8349 * net/tramp.el (tramp-user-error): ... here.
8350 (tramp-find-method, tramp-check-proper-host)
8351 (tramp-dissect-file-name, tramp-debug-message)
8352 (tramp-handle-shell-command):
8353 * net/tramp-adb.el (tramp-adb-handle-shell-command):
8354 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
8355
8356 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
8357
8358 2013-09-02 Martin Rudalics <rudalics@gmx.at>
8359
8360 * avoid.el (mouse-avoidance-point-position)
8361 (mouse-avoidance-too-close-p): Handle case where posn-at-point
8362 returns nil.
8363
8364 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
8365
8366 * progmodes/python.el (python-shell-completion-get-completions):
8367 Drop use of deleted `comint-last-prompt-overlay'.
8368 (python-nav-if-name-main): New command.
8369
8370 2013-09-01 Glenn Morris <rgm@gnu.org>
8371
8372 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
8373 Avoid leading space in $wins. Otherwise the sed command used by
8374 eg compile-main ends up containing "/*.el". (Bug#15170)
8375
8376 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
8377
8378 2013-08-30 Glenn Morris <rgm@gnu.org>
8379
8380 * emacs-lisp/bytecomp.el (byte-recompile-directory):
8381 Fix is-this-a-directory logic. (Bug#15220)
8382
8383 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
8384
8385 * textmodes/css-mode.el: Use SMIE.
8386 (css-smie-grammar): New var.
8387 (css-smie--forward-token, css-smie--backward-token)
8388 (css-smie-rules): New functions.
8389 (css-mode): Use them.
8390 (css-navigation-syntax-table): Remove var.
8391 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
8392 (css-indent-calculate, css-indent-line): Remove functions.
8393
8394 Misc changes to reduce use of `(lambda...); and other cleanups.
8395 * cus-edit.el: Use lexical-binding.
8396 (customize-push-and-save, customize-apropos)
8397 (custom-buffer-create-internal): Use closures.
8398 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
8399 * progmodes/ada-xref.el: Use setq.
8400 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
8401 * dframe.el: Use lexical-binding.
8402 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
8403 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
8404 * descr-text.el: Use lexical-binding.
8405 (describe-text-widget, describe-text-sexp, describe-property-list):
8406 Use closures.
8407 * comint.el (comint-history-isearch-push-state): Use a closure.
8408 * calculator.el: Use lexical-binding.
8409 (calculator-number-to-string): Make it work with lexical-binding.
8410 (calculator-funcall): Same and use cl-letf.
8411
8412 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
8413 (lisp--company-doc-string, lisp--company-location): New functions.
8414 (lisp-completion-at-point): Use them to improve Company support.
8415
8416 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
8417 params of lambda expressions.
8418 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
8419 (ruby-smie--opening-pipe-p): New function.
8420 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
8421 symbols and matched |...| for formal params.
8422 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
8423 from being treated as hanging. Handle "rescue".
8424
8425 2013-08-29 Glenn Morris <rgm@gnu.org>
8426
8427 * progmodes/cc-engine.el (c-pull-open-brace):
8428 Move definition before use.
8429
8430 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
8431
8432 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
8433 are immutable. Don't use `unsafe' any more.
8434 (cl--defsubst-expand): Don't substitute at the same time as keeping
8435 a residual unused let-binding. Don't use `unsafe' any more.
8436
8437 2013-08-29 Glenn Morris <rgm@gnu.org>
8438
8439 * calendar/cal-china.el (calendar-chinese-year-cache):
8440 Recenter on 2015.
8441
8442 * nxml/nxml-util.el (nxml-debug-clear-inside):
8443 Use cl-loop rather than loop.
8444
8445 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
8446
8447 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
8448
8449 2013-08-28 Glenn Morris <rgm@gnu.org>
8450
8451 * progmodes/antlr-mode.el: No need to require cc-mode twice.
8452
8453 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
8454
8455 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
8456
8457 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8458
8459 * simple.el (repeat-complex-command--called-interactively-skip):
8460 New function.
8461 (repeat-complex-command): Use it (bug#14136).
8462
8463 * progmodes/cc-mode.el: Minor cleanup of var declarations.
8464 (c-define-abbrev-table): Add `doc' argument.
8465 (c-mode-abbrev-table, c++-mode-abbrev-table)
8466 (objc-mode-abbrev-table, java-mode-abbrev-table)
8467 (idl-mode-abbrev-table, pike-mode-abbrev-table)
8468 (awk-mode-abbrev-table): Use it.
8469 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
8470 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
8471 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
8472 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
8473 Move initialization into the declaration; and remove any
8474 autoload cookie.
8475
8476 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
8477 and dynamic let binding.
8478
8479 * vc/smerge-mode.el: Remove redundant :group args.
8480
8481 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
8482 to load-path.
8483
8484 2013-08-28 Juri Linkov <juri@jurta.org>
8485
8486 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
8487 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
8488 (isearch-other-meta-char): Handle an undefined shifted printing
8489 character by downshifting it. (Bug#15200)
8490
8491 2013-08-28 Juri Linkov <juri@jurta.org>
8492
8493 * isearch.el (isearch-search): Change regexp error message for
8494 non-regexp searches. (Bug#15166)
8495
8496 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
8497
8498 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
8499 for portability to hosts where /bin/sh has problems.
8500
8501 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8502
8503 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
8504
8505 2013-08-27 Juri Linkov <juri@jurta.org>
8506
8507 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
8508 in the keyboard macro. (Bug#15126)
8509
8510 2013-08-27 Juri Linkov <juri@jurta.org>
8511
8512 * isearch.el (isearch-quote-char): Comment out converting unibyte
8513 to multibyte, thus syncing with its `quoted-insert' counterpart.
8514 (Bug#15166)
8515
8516 2013-08-27 Martin Rudalics <rudalics@gmx.at>
8517
8518 * window.el (display-buffer-use-some-window): Add missing
8519 argument in call of get-largest-window (Bug#15185).
8520 Reported by Stephen Leake.
8521
8522 2013-08-27 Glenn Morris <rgm@gnu.org>
8523
8524 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
8525
8526 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
8527
8528 * progmodes/python.el (python-font-lock-keywords): Don't return nil
8529 from a matcher-function unless there's no more matches (bug#15161).
8530
8531 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
8532
8533 * minibuffer.el: Revert change from 2013-08-20.
8534
8535 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
8536 with text property `tramp-default', if appropriate.
8537 (tramp-check-proper-host): New defun.
8538 (tramp-dissect-file-name): Do not check hostname. Revert change
8539 of 2013-03-18.
8540 (tramp-backtrace): Make VEC-OR-PROC optional.
8541
8542 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8543 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8544 * net/tramp-sh.el (tramp-maybe-open-connection):
8545 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
8546 Apply `tramp-check-proper-host'.
8547
8548 2013-08-26 Tassilo Horn <tsdh@gnu.org>
8549
8550 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
8551 lambda expression in order to have `describe-variable' display it.
8552
8553 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
8554
8555 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
8556 BUF can be optional. (Bug#15186)
8557
8558 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
8559
8560 * progmodes/flymake.el (flymake-get-real-file-name-function):
8561 Fix broken customization. (Bug#15184)
8562
8563 2013-08-25 Alan Mackenzie <acm@muc.de>
8564
8565 Improve indentation of bracelists defined by macros (without "=").
8566
8567 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
8568 expansion begins with "{", regard it as bracelist when it doesn't
8569 contain a ";".
8570
8571 Parse C++ inher-intro when there's a template split over 2 lines.
8572
8573 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
8574 rigorously the search for "class" etc. followed by ":".
8575
8576 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
8577 random languages a regexp which never matches rather than nil.
8578
8579 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
8580
8581 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
8582 (c-awk-regexp-one-line-possibly-open-char-list-re)
8583 (c-awk-one-line-possibly-open-regexp-re)
8584 (c-awk-one-line-non-syn-ws*-re): Remove.
8585 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
8586 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
8587 (c-awk-space*-unclosed-regexp-/-re): New constants.
8588 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
8589 aren't regexp delimiters.
8590
8591 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
8592 handling for a rare situation in AWK Mode involving unterminated
8593 strings/regexps.
8594
8595 2013-08-23 Glenn Morris <rgm@gnu.org>
8596
8597 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
8598
8599 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
8600
8601 * files.el (create-file-buffer): If the result would begin with
8602 spaces, prepend a "|" instead of removing them. (Bug#15162)
8603
8604 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8605
8606 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
8607 text-properties (bug#15155).
8608
8609 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
8610 exist any more.
8611 (calc-keypad-redraw): Remove unused var `pad'.
8612 (calc-keypad-press): Remove unused var `menu'.
8613
8614 2013-08-23 Martin Rudalics <rudalics@gmx.at>
8615
8616 * window.el (display-buffer-pop-up-frame):
8617 Call pop-up-frame-function with BUFFER current so `make-frame' will
8618 use it as the new frame's buffer (Bug#15133).
8619
8620 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8621
8622 * calendar/timeclock.el: Minor cleanups.
8623 (timeclock-ask-before-exiting, timeclock-use-display-time):
8624 Use `symbol'.
8625 (timeclock-modeline-display): Define as alias before the
8626 actual definition.
8627 (timeclock-mode-line-display): Use define-minor-mode.
8628 (timeclock-day-list-template): Make it a function, add an argument.
8629 (timeclock-day-list-required, timeclock-day-list-length)
8630 (timeclock-day-list-debt, timeclock-day-list-span)
8631 (timeclock-day-list-break): Adjust calls accordingly.
8632
8633 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
8634
8635 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
8636 Use read--expression so that completion works again.
8637
8638 2013-08-21 Sam Steingold <sds@gnu.org>
8639
8640 Add rudimentary inferior shell interaction
8641 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
8642 (sh-set-shell): Reset it.
8643 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
8644 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
8645
8646 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
8647
8648 * align.el: Use lexical-binding.
8649 (align-region): Simplify accordingly.
8650
8651 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
8652
8653 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
8654
8655 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
8656 `non-essential' up.
8657
8658 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
8659
8660 * net/tramp.el:
8661 * net/tramp-adb.el:
8662 * net/tramp-cmds.el:
8663 * net/tramp-ftp.el:
8664 * net/tramp-gvfs.el:
8665 * net/tramp-gw.el:
8666 * net/tramp-sh.el: Don't wrap external variable declarations by
8667 `eval-when-compile'.
8668
8669 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
8670
8671 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
8672 now that Emacs supports ImageMagick animations.
8673
8674 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
8675
8676 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
8677 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
8678
8679 2013-08-16 Martin Rudalics <rudalics@gmx.at>
8680
8681 * window.el (mouse-autoselect-window-select): Do autoselect when
8682 mouse pointer is on margin.
8683
8684 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
8685
8686 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
8687
8688 2013-08-16 Glenn Morris <rgm@gnu.org>
8689
8690 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
8691 Handle "Remote Directory" response of some clients. (Bug#15058)
8692
8693 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
8694 Tweak warning. (Bug#14926)
8695
8696 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
8697 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
8698
8699 * image-mode.el (image-mode-map): Add menu items to reverse,
8700 increase, decrease, reset animation speed.
8701 (image--set-speed, image-increase-speed, image-decrease-speed)
8702 (image-reverse-speed, image-reset-speed): New functions.
8703 (image-mode-map): Add bindings for speed commands.
8704
8705 * image.el (image-animate-get-speed, image-animate-set-speed):
8706 New functions.
8707 (image-animate-timeout): Respect image :speed property.
8708
8709 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8710
8711 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
8712 previous line (bug#15101).
8713 (debugger-eval-expression, debugger-record-expression):
8714 Use read--expression (bug#15102).
8715
8716 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
8717
8718 Remove byte compiler warnings, visible when compiling with
8719 `byte-compile-force-lexical-warnings' set to t.
8720
8721 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
8722 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
8723 (tramp-handle-unhandled-file-name-directory)
8724 (tramp-handle-file-notify-add-watch, tramp-action-login)
8725 (tramp-action-succeed, tramp-action-permission-denied)
8726 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
8727 arguments with "_".
8728
8729 * net/tramp-adb.el (tramp-adb-parse-device-names)
8730 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
8731 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
8732 (tramp-adb-handle-file-truename): Remove unused arguments.
8733
8734 * net/tramp-cache.el (tramp-flush-directory-property)
8735 (tramp-flush-connection-property, tramp-list-connections)
8736 (tramp-parse-connection-properties): Prefix unused arguments with "_".
8737
8738 * net/tramp-compat.el (tramp-compat-make-temp-file):
8739 Rename FILENAME to F.
8740
8741 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
8742 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
8743 (tramp-zeroconf-parse-workstation-device-names)
8744 (tramp-zeroconf-parse-webdav-device-names)
8745 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
8746
8747 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
8748 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
8749
8750 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
8751 arguments.
8752 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
8753 (tramp-sh-handle-insert-file-contents-literally)
8754 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
8755 with "_".
8756 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
8757 Remove unused variables.
8758
8759 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
8760 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
8761 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
8762
8763 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
8764 Make them a defconst.
8765 (tramp-uuencode-region): Remove unused variable.
8766
8767 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
8768
8769 * frameset.el (frameset--prop-setter): New function.
8770 (frameset-prop): Add gv-setter declaration.
8771 (frameset-filter-minibuffer): Deal with the case that the minibuffer
8772 parameter was already set in FILTERED. Doc fix.
8773 (frameset--record-minibuffer-relationships): Allow saving a
8774 minibufferless frame without its corresponding minibuffer frame.
8775 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
8776 frame, if the frame id matches.
8777 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
8778 frames before orphaned ones.
8779 (frameset-restore): Warn about orphaned windows, instead of error out.
8780
8781 2013-08-14 Martin Rudalics <rudalics@gmx.at>
8782
8783 * window.el (window-make-atom): Don't overwrite parameter
8784 already present.
8785 (display-buffer-in-atom-window): Handle special case where we
8786 split an already atomic window.
8787 (window--major-non-side-window, display-buffer-in-side-window)
8788 (window--side-check): Ignore minibuffer window when walking
8789 window tree.
8790 (window-deletable-p): Return 'frame only if no other frame uses
8791 our minibuffer window.
8792 (record-window-buffer): Run buffer-list-update-hook.
8793 (split-window): Make sure window--check-frame won't destroy an
8794 existing atomic window in case the new window gets nested
8795 inside.
8796 (display-buffer-at-bottom): Ignore minibuffer window when
8797 walking window tree. Don't split a side window.
8798 (pop-to-buffer): Don't set-buffer here, the select-window call
8799 should do that.
8800 (mouse-autoselect-window-select): Autoselect only if we are in the
8801 text portion of the window.
8802
8803 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8804
8805 * net/shr.el (shr-parse-image-data): New function to grab both the
8806 data itself and the Content-Type.
8807 (shr-put-image): Use it.
8808
8809 * net/eww.el (eww-display-image): Ditto.
8810
8811 * image.el (image-content-type-suffixes): New variable.
8812
8813 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
8814
8815 * progmodes/python.el (python-imenu--build-tree)
8816 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
8817
8818 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
8819
8820 * simple.el (backward-word): Mention the optional argument.
8821
8822 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
8823
8824 * frameset.el (frameset--make): Rename constructor from make-frameset.
8825 (frameset-p, frameset-valid-p): Don't autoload.
8826 (frameset-valid-p): Use normal accessors.
8827
8828 2013-08-13 Glenn Morris <rgm@gnu.org>
8829
8830 * progmodes/compile.el (compile-command): Tweak example in doc.
8831 * obsolete/scribe.el (scribe-mode):
8832 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
8833
8834 * mail/feedmail.el (feedmail-confirm-outgoing)
8835 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
8836
8837 * cus-start.el (truncate-partial-width-windows): Fix type.
8838
8839 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
8840
8841 * net/shr.el (shr-table-horizontal-line): Fix custom type.
8842
8843 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
8844
8845 * emacs-lisp/timer.el (timer--time-setter): New function.
8846 (timer--time): Use it as gv-setter.
8847
8848 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
8849 setter is not a symbol.
8850
8851 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
8852
8853 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
8854 if sending fails. This makes debugging easier.
8855
8856 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
8857
8858 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
8859 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
8860 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
8861
8862 2013-08-12 Eli Zaretskii <eliz@gnu.org>
8863
8864 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
8865
8866 2013-08-12 Glenn Morris <rgm@gnu.org>
8867
8868 * format.el (format-annotate-function):
8869 Handle read-only text properties in the source. (Bug#14887)
8870
8871 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8872
8873 * net/eww.el (eww-display-html): Ignore coding system errors.
8874 One web site uses "utf-8lias" as the coding system.
8875
8876 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
8877
8878 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
8879
8880 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
8881
8882 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
8883 (tutorial--detailed-help): Remove unused local variables.
8884 (tutorial--save-tutorial-to): Use ignore-errors.
8885 (help-with-tutorial): Use looking-at-p.
8886
8887 * view.el (view-buffer-other-window, view-buffer-other-frame):
8888 Mark unused arguments.
8889
8890 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
8891 (woman-select-symbol-fonts, woman, woman-find-file)
8892 (woman-insert-file-contents, woman-non-underline-faces):
8893 Use string-match-p.
8894 (woman1-unquote): Move declaration.
8895
8896 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
8897 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
8898 argument. Remove unused local variable.
8899 (xml-parse-elem-type): Use string-match-p.
8900 (xml-substitute-numeric-entities): Use ignore-errors.
8901
8902 * calculator.el (calculator): Mark unused argument.
8903 (calculator-paste, calculator-quit, calculator-integer-p):
8904 Use ignore-errors.
8905 (calculator-string-to-number, calculator-decimal, calculator-exp)
8906 (calculator-op-or-exp): Use string-match-p.
8907
8908 * dired.el (dired-buffer-more-recently-used-p): Declare.
8909 (dired-insert-set-properties, dired-insert-old-subdirs):
8910 Use ignore-errors.
8911
8912 * dired-aux.el (dired-compress): Use ignore-errors.
8913 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
8914 (dired-do-async-shell-command, dired-do-shell-command)
8915 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
8916 (dired-insert-subdir-validate): Use string-match-p.
8917 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
8918 (dired-add-entry): Use string-match-p, looking-at-p.
8919 (dired-insert-subdir-newpos): Remove unused local variable.
8920
8921 * filenotify.el (file-notify-callback): Remove unused local variable.
8922
8923 * filesets.el (filesets-error): Mark unused argument.
8924 (filesets-which-command-p, filesets-filter-dir-names)
8925 (filesets-directory-files, filesets-get-external-viewer)
8926 (filesets-ingroup-get-data): Use string-match-p.
8927
8928 * find-file.el (ff-other-file-name, ff-other-file-name)
8929 (ff-find-the-other-file, ff-cc-hh-converter):
8930 Remove unused local variables.
8931 (ff-get-file-name): Use string-match-p.
8932 (ff-all-dirs-under): Use ignore-errors.
8933
8934 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
8935 (follow-select-if-visible): Remove unused local variable.
8936
8937 * forms.el (read-file-filter): Move declaration.
8938 (forms--make-format, forms--make-parser, forms-insert-record):
8939 Quote function with #'.
8940 (forms--update): Use string-match-p. Quote function with #'.
8941
8942 * help-mode.el (help-dir-local-var-def): Mark unused argument.
8943 (help-make-xrefs): Use looking-at-p.
8944 (help-xref-on-pp): Use looking-at-p, ignore-errors.
8945
8946 * ibuffer.el (ibuffer-ext-visible-p): Declare.
8947 (ibuffer-confirm-operation-on): Use string-match-p.
8948
8949 * msb.el (msb-item-handler, msb-dired-item-handler):
8950 Mark unused arguments.
8951
8952 * ses.el (ses-decode-cell-symbol)
8953 (ses-kill-override): Remove unused local variable.
8954 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
8955 (ses-load): Use ignore-errors, looking-at-p.
8956 (ses-jump-safe): Use ignore-errors.
8957 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
8958
8959 * tabify.el (untabify, tabify): Mark unused arguments.
8960
8961 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
8962 Mark unused argument.
8963 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
8964 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
8965
8966 * emacs-lisp/timer.el (timer--time): Define setter with
8967 gv-define-setter to avoid deprecation warning.
8968
8969 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
8970 (*record-cmpl-statistics-p*): Remove (was commented out).
8971 (cmpl-statistics-block): Remove (body was commented out).
8972 All callers changed.
8973 (add-completions-from-buffer, load-completions-from-file):
8974 Remove unused variables.
8975
8976 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
8977
8978 * filecache.el (file-cache-delete-file-list):
8979 Print message only when told so.
8980 (file-cache-files-matching): Use #' in mapconcat argument.
8981
8982 * ffap.el (ffap-url-at-point): Fix reference to variable
8983 thing-at-point-default-mail-uri-scheme.
8984
8985 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
8986
8987 * subr.el (define-error): New function.
8988 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
8989 error-file-not-found and define with define-error.
8990 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
8991 and define with define-error.
8992 * userlock.el (file-locked, file-supersession):
8993 * simple.el (mark-inactive):
8994 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
8995 * progmodes/ada-mode.el (ada-mode-errors):
8996 * play/life.el (life-extinct):
8997 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
8998 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
8999 * nxml/rng-util.el (rng-error):
9000 * nxml/rng-uri.el (rng-uri-error):
9001 * nxml/rng-match.el (rng-compile-error):
9002 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
9003 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
9004 * nxml/nxml-rap.el (nxml-scan-error):
9005 * nxml/nxml-outln.el (nxml-outline-error):
9006 * net/soap-client.el (soap-error):
9007 * net/gnutls.el (gnutls-error):
9008 * net/ange-ftp.el (ftp-error):
9009 * mpc.el (mpc-proc-error):
9010 * json.el (json-error, json-readtable-error, json-unknown-keyword)
9011 (json-number-format, json-string-escape, json-string-format)
9012 (json-key-format, json-object-format):
9013 * jka-compr.el (compression-error):
9014 * international/quail.el (quail-error):
9015 * international/kkc.el (kkc-error):
9016 * emacs-lisp/ert.el (ert-test-failed):
9017 * calc/calc.el (calc-error, inexact-result, math-overflow)
9018 (math-underflow):
9019 * bookmark.el (bookmark-error-no-filename):
9020 * epg.el (epg-error): Define with define-error.
9021
9022 * time.el (display-time-event-handler)
9023 (display-time-next-load-average): Don't call sit-for since it seems
9024 unnecessary (bug#15045).
9025
9026 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
9027 Use #' instead of ' to quote functions.
9028 (checkdoc-output-mode): Use setq-local.
9029 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
9030 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
9031 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
9032 (checkdoc-ispell, checkdoc-ispell-current-buffer)
9033 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
9034 (checkdoc-ispell-message-text, checkdoc-ispell-start)
9035 (checkdoc-ispell-continue, checkdoc-ispell-comments)
9036 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
9037
9038 * ido.el (ido-completion-help): Fix up compiler warning.
9039
9040 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
9041
9042 * frameset.el (frameset-p): Add autoload cookie.
9043 (frameset--jump-to-register): New function, based on code moved from
9044 register.el.
9045 (frameset-to-register): Move from register.el. Adapt to `registerv'.
9046
9047 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
9048 (frameset-restore, frameset-save, frameset-session-filter-alist):
9049 Remove declarations.
9050 (register-alist): Doc fix.
9051 (frameset-to-register): Move to frameset.el.
9052 (jump-to-register, describe-register-1): Remove frameset-specific code.
9053
9054 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9055
9056 * allout-widgets.el (allout-widgets-pre-command-business)
9057 (allout-widgets-post-command-business)
9058 (allout-widgets-after-change-handler)
9059 (allout-decorate-item-and-context, allout-set-boundary-marker)
9060 (allout-body-modification-handler)
9061 (allout-graphics-modification-handler): Mark ignored arguments.
9062 (allout-widgets-post-command-business)
9063 (allout-widgets-exposure-change-processor)
9064 (allout-widgets-exposure-undo-processor)
9065 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
9066 (allout-parse-item-at-point, allout-decorate-item-guides)
9067 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
9068 * allout.el (epa-passphrase-callback-function): Declare.
9069 (allout-overlay-insert-in-front-handler)
9070 (allout-overlay-interior-modification-handler)
9071 (allout-isearch-end-handler, allout-chart-siblings)
9072 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
9073 (allout-yank-processing, allout-process-exposed)
9074 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
9075 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9076 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
9077 (lisp-indent-defform): Mark ignored arguments.
9078 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
9079 (calculate-lisp-indent): Remove unused variables.
9080 * international/characters.el (indian-2-column, arabic-2-column)
9081 (tibetan): Mark ignored arguments.
9082 (use-cjk-char-width-table): Mark ignored arguments.
9083 Remove unused variables.
9084 * international/fontset.el (build-default-fontset-data)
9085 (x-compose-font-name, create-fontset-from-fontset-spec):
9086 Mark ignored arguments.
9087 (fontset-plain-name): Remove unused variables.
9088 * international/mule.el (charset-id, charset-bytes, generic-char-p)
9089 (keyboard-coding-system): Mark ignored arguments.
9090 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
9091 * help.el (resize-temp-buffer-window):
9092 * window.el (display-buffer-in-major-side-window)
9093 (display-buffer-in-side-window, display-buffer-in-previous-window):
9094 Remove unused variables.
9095 * isearch.el (isearch-forward-symbol):
9096 * version.el (emacs-bzr-version-bzr):
9097 * international/mule-cmds.el (current-language-environment):
9098 * term/common-win.el (x-handle-iconic, x-handle-geometry)
9099 (x-handle-display):
9100 * term/pc-win.el (x-list-fonts, x-display-planes)
9101 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
9102 (x-server-version, x-display-screens, x-display-mm-height)
9103 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
9104 (x-selection-owner-p, x-own-selection-internal)
9105 (x-disown-selection-internal, x-get-selection-internal)
9106 (msdos-initialize-window-system):
9107 * term/tty-colors.el (tty-color-alist, tty-color-clear):
9108 * term/x-win.el (x-handle-no-bitmap-icon):
9109 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
9110 (vc-default-find-file-hook, vc-default-extra-menu):
9111 Mark ignored arguments.
9112
9113 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9114
9115 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
9116 break-condition in the context of the debugged code (bug#12685).
9117
9118 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
9119
9120 * comint.el:
9121 Do not use an overlay to highlight the last prompt. (Bug#14744)
9122 (comint-mode): Make comint-last-prompt buffer local.
9123 (comint-last-prompt): New variable.
9124 (comint-last-prompt-overlay): Remove. Superseded by
9125 comint-last-prompt.
9126 (comint-snapshot-last-prompt, comint-output-filter):
9127 Use comint-last-prompt.
9128
9129 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9130
9131 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
9132 (frameset-save): Check validity of the resulting frameset.
9133
9134 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
9135
9136 * ido.el (ido-record-command): Add doc string.
9137
9138 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9139
9140 * frameset.el (frameset): Do not disable creation of the default
9141 frameset-p predicate. Doc fix.
9142 (frameset-valid-p): New function, copied from the old predicate-p.
9143 Add additional checks.
9144 (frameset-restore): Check with frameset-valid-p.
9145 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
9146 (frameset-name, frameset-description, frameset-properties)
9147 (frameset-states): Add docstring.
9148 (frameset-session-filter-alist, frameset-persistent-filter-alist)
9149 (frameset-filter-alist): Doc fixes.
9150
9151 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9152
9153 * frameset.el (frameset-p, frameset-prop): Doc fixes.
9154
9155 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9156
9157 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
9158 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
9159 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
9160 (byte-compile-normal-call): Remove obsolescence check.
9161
9162 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9163
9164 * frameset.el (frameset-restore): Doc fix.
9165
9166 * register.el (frameset-frame-id, frameset-frame-with-id)
9167 (frameset-p, frameset-restore, frameset-save): Declare.
9168 (register-alist): Document framesets.
9169 (frameset-session-filter-alist): Declare.
9170 (frameset-to-register): New function.
9171 (jump-to-register): Implement jumping to framesets. Doc fix.
9172 (describe-register-1): Describe framesets.
9173
9174 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
9175
9176 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
9177
9178 * desktop.el (desktop-save-frameset): Use new frameset-save args.
9179 Use lexical-binding.
9180
9181 * frameset.el (frameset): Use type vector, not list (incompatible
9182 change). Do not declare a new constructor, use the default one.
9183 Upgrade suggested properties `app', `name' and `desc' to slots `app',
9184 `name' and `description', respectively, and add read-only slot
9185 `timestamp'. Doc fixes.
9186 (frameset-copy, frameset-persistent-filter-alist)
9187 (frameset-filter-alist, frameset-switch-to-gui-p)
9188 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
9189 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
9190 (frameset-filter-iconified, frameset-keep-original-display-p):
9191 Doc fixes.
9192 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
9193 Rename from frameset-filter-(save|restore)-param. All callers changed.
9194 Doc fix.
9195 (frameset-p): Adapt to change to vector and be more thorough.
9196 Change arg name to OBJECT. Doc fix.
9197 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
9198 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
9199 All callers changed.
9200 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
9201 All callers changed.
9202 (frameset--record-minibuffer-relationships): Rename from
9203 frameset--process-minibuffer-frames. All callers changed.
9204 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
9205 Use new default constructor (again). Doc fix.
9206 (frameset--find-frame-if): Rename from `frameset--find-frame'.
9207 All callers changed.
9208 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
9209 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
9210 Doc fix.
9211 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
9212 PARAMETERS and WINDOW-STATE, respectively.
9213 (frameset-restore): Add new keyword argument PREDICATE.
9214 Reset frameset--target-display to nil. Doc fix.
9215
9216 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
9217
9218 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
9219 (bat-mode): Use it.
9220 (bat-mode-syntax-table): Mark \n as end-of-comment.
9221 (bat-font-lock-keywords): Remove comment rule.
9222
9223 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
9224 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
9225
9226 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
9227 (byte-compile-callargs-warn): Use `push'.
9228 (byte-compile-arglist-warn): Ignore higher-order "calls".
9229 (byte-compile-file-form-autoload): Use `pcase'.
9230 (byte-compile-function-form): If quoting a symbol, check that it exists.
9231
9232 2013-08-07 Eli Zaretskii <eliz@gnu.org>
9233
9234 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
9235 and add a few popular commands found in batch files.
9236 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
9237 (dos-mode): Doc fixes.
9238
9239 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
9240
9241 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
9242 (dos-mode): Use setq-local. Add space after "rem".
9243 (dos-mode-syntax-table): Don't use "w" for symbol chars.
9244 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
9245
9246 2013-08-07 Arni Magnusson <arnima@hafro.is>
9247
9248 * progmodes/dos.el: New file.
9249 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
9250 dos-mode.
9251
9252 2013-08-06 Glenn Morris <rgm@gnu.org>
9253
9254 * calendar/calendar.el: Add new faces, and day-header-array.
9255 (calendar-weekday-header, calendar-weekend-header)
9256 (calendar-month-header): New faces.
9257 (calendar-day-header-construct): New function.
9258 (calendar-day-header-width): Also :set calendar-day-header-array.
9259 (calendar-american-month-header, calendar-european-month-header)
9260 (calendar-iso-month-header): Use calendar- faces.
9261 (calendar-generate-month):
9262 Use calendar-day-header-array for day headers; apply faces to them.
9263 (calendar-mode): Check calendar-font-lock-keywords non-nil.
9264 (calendar-abbrev-construct): Add optional maxlen argument.
9265 (calendar-day-name-array): Doc fix.
9266 (calendar-day-name-array, calendar-abbrev-length)
9267 (calendar-day-abbrev-array):
9268 Also :set calendar-day-header-array, and maybe redraw.
9269 (calendar-day-header-array): New option. (Bug#15007)
9270 (calendar-font-lock-keywords): Set to nil and make obsolete.
9271 (calendar-day-name): Add option to use header array.
9272
9273 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9274
9275 * net/shr.el (shr-render-td): Remove debugging.
9276 (shr-render-td): Make width computation consistent by defaulting
9277 all zero-width columns to 10 characters. This may not be optimal,
9278 but it's at least consistent.
9279 (shr-make-table-1): Redo last change to fix the real problem in
9280 colspan handling.
9281
9282 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
9283
9284 * files.el (cache-long-line-scans):
9285 Make obsolete alias to `cache-long-scans'.
9286
9287 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
9288
9289 * frameset.el (frameset, frameset-filter-alist)
9290 (frameset-filter-params, frameset-save, frameset--reuse-frame)
9291 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
9292 (frameset-compute-pos): Rename from frameset--compute-pos,
9293 and add docstring.
9294 (frameset-move-onscreen): Use frameset-compute-pos.
9295 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
9296
9297 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
9298 Fix typos in docstrings.
9299
9300 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
9301
9302 * frame.el (get-other-frame): Tiny cleanup.
9303
9304 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
9305
9306 * vc/vc.el (vc-default-ignore-completion-table):
9307 Silence byte-compiler warning.
9308
9309 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
9310 slot, which can indeed be nil.
9311 (frameset-live-filter-alist, frameset-persistent-filter-alist):
9312 Move entry for `left' from persistent to live filter alist.
9313 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
9314 Doc fixes.
9315 (frameset-filter-params): When restoring a frame, copy items added to
9316 `filtered', to avoid unwittingly modifying the original parameters.
9317 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
9318 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
9319
9320 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
9321 to use looking-at-p instead of looking-at. (Bug#15028)
9322
9323 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
9324
9325 Revert introduction of isearch-filter-predicates (bug#14714).
9326 Rely on add-function instead.
9327 * isearch.el (isearch-filter-predicates): Rename it back to
9328 isearch-filter-predicate.
9329 (isearch-message-prefix): Use advice-function-mapc and advice
9330 properties to get the isearch-message-prefix.
9331 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
9332 instead of run-hook-with-args-until-failure.
9333 (isearch-filter-visible): Not obsolete any more.
9334 * loadup.el: Preload nadvice.
9335 * replace.el (perform-replace): Revert to funcall
9336 instead of run-hook-with-args-until-failure.
9337 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
9338 * dired-aux.el (dired-isearch-filenames-mode): Rename from
9339 dired-isearch-filenames-toggle; make it into a proper minor mode.
9340 Use add/remove-function.
9341 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
9342 Call the minor-mode rather than add/remove-hook.
9343 (dired-isearch-filter-filenames):
9344 Remove isearch-message-prefix property.
9345 * info.el (Info--search-loop): New function, extracted from Info-search.
9346 Funcall isearch-filter-predicate instead of
9347 run-hook-with-args-until-failure isearch-filter-predicates.
9348 (Info-search): Use it.
9349 (Info-mode): Use isearch-filter-predicate instead of
9350 isearch-filter-predicates.
9351
9352 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
9353
9354 Do not call to `selected-window' where it is assumed by default.
9355 Affected functions are `window-minibuffer-p', `window-dedicated-p',
9356 `window-hscroll', `window-width', `window-height', `window-buffer',
9357 `window-frame', `window-start', `window-point', `next-window'
9358 and `window-display-table'.
9359 * abbrev.el (abbrev--default-expand):
9360 * bs.el (bs--show-with-configuration):
9361 * buff-menu.el (Buffer-menu-mouse-select):
9362 * calc/calc.el (calc):
9363 * calendar/calendar.el (calendar-generate-window):
9364 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
9365 (diary-make-entry):
9366 * comint.el (send-invisible, comint-dynamic-complete-filename)
9367 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
9368 * completion.el (complete):
9369 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
9370 * disp-table.el (describe-current-display-table):
9371 * doc-view.el (doc-view-insert-image):
9372 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
9373 * ehelp.el (with-electric-help):
9374 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
9375 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
9376 * emacs-lisp/helper.el (Helper-help-scroller):
9377 * emulation/cua-base.el (cua--post-command-handler-1):
9378 * eshell/esh-mode.el (eshell-output-filter):
9379 * ffap.el (ffap-gnus-wrapper):
9380 * help-macro.el (make-help-screen):
9381 * hilit-chg.el (highlight-compare-buffers):
9382 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
9383 * hl-line.el (global-hl-line-highlight):
9384 * icomplete.el (icomplete-simple-completing-p):
9385 * isearch.el (isearch-done):
9386 * jit-lock.el (jit-lock-stealth-fontify):
9387 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
9388 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
9389 * mpc.el (mpc-tagbrowser, mpc):
9390 * net/rcirc.el (rcirc-any-buffer):
9391 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
9392 * play/landmark.el (landmark-max-width, landmark-max-height):
9393 * play/zone.el (zone):
9394 * progmodes/compile.el (compilation-goto-locus):
9395 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
9396 * progmodes/etags.el (find-tag-other-window):
9397 * progmodes/fortran.el (fortran-column-ruler):
9398 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
9399 * progmodes/verilog-mode.el (verilog-point-text):
9400 * reposition.el (reposition-window):
9401 * rot13.el (toggle-rot13-mode):
9402 * server.el (server-switch-buffer):
9403 * shell.el (shell-dynamic-complete-command)
9404 (shell-dynamic-complete-environment-variable):
9405 * simple.el (insert-buffer, set-selective-display)
9406 (delete-completion-window):
9407 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
9408 (speedbar-recenter):
9409 * startup.el (fancy-splash-head):
9410 * textmodes/ispell.el (ispell-command-loop):
9411 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
9412 * tutorial.el (help-with-tutorial):
9413 * vc/add-log.el (add-change-log-entry):
9414 * vc/compare-w.el (compare-windows):
9415 * vc/ediff-help.el (ediff-indent-help-message):
9416 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
9417 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
9418 (ediff-setup-control-frame):
9419 * vc/emerge.el (emerge-position-region):
9420 * vc/pcvs-util.el (cvs-bury-buffer):
9421 * window.el (walk-windows, mouse-autoselect-window-select):
9422 * winner.el (winner-set-conf, winner-undo): Related users changed.
9423
9424 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
9425
9426 * frameset.el (frameset--set-id): Doc fix.
9427 (frameset-frame-id, frameset-frame-id-equal-p)
9428 (frameset-locate-frame-id): New functions.
9429 (frameset--process-minibuffer-frames, frameset--reuse-frame)
9430 (frameset-restore): Use them.
9431
9432 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
9433
9434 Do not call to `selected-frame' where it is assumed by default.
9435 Affected functions are `raise-frame', `redraw-frame',
9436 `frame-first-window', `frame-terminal' and `delete-frame'.
9437 * calendar/appt.el (appt-disp-window):
9438 * epg.el (epg-wait-for-completion):
9439 * follow.el (follow-delete-other-windows-and-split)
9440 (follow-avoid-tail-recenter):
9441 * international/mule.el (set-terminal-coding-system):
9442 * mail/rmail.el (rmail-mail-return):
9443 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
9444 * progmodes/f90.el (f90-add-imenu-menu):
9445 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
9446 * server.el (server-switch-buffer):
9447 * simple.el (delete-completion-window):
9448 * talk.el (talk):
9449 * term/xterm.el (terminal-init-xterm-modify-other-keys)
9450 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
9451 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
9452 * vc/ediff.el (ediff-documentation): Related users changed.
9453 * frame.el (selected-terminal): Remove the leftover.
9454
9455 2013-08-05 Glenn Morris <rgm@gnu.org>
9456
9457 * calendar/calendar.el (calendar-generate-month):
9458 Fix for calendar-column-width != 1 + calendar-day-digit-width.
9459 (calendar-generate-month, calendar-font-lock-keywords):
9460 Fix for calendar-day-header-width > length of any day name.
9461
9462 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
9463
9464 * desktop.el (desktop-clear): Use new name of sort predicate.
9465
9466 * frameset.el (frameset): Add docstring. Move :version property to its
9467 own `version' slot.
9468 (frameset-copy): Rename from copy-frameset.
9469 (frameset-p): Check more thoroughly.
9470 (frameset-prop): Do not check for :version, which is no longer a prop.
9471 (frameset-live-filter-alist, frameset-persistent-filter-alist):
9472 Use new :never value instead of t.
9473 (frameset-filter-alist): Expand and clarify docstring.
9474 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
9475 (frameset-filter-minibuffer, frameset-filter-save-param)
9476 (frameset-filter-restore-param, frameset-filter-iconified):
9477 Add pointer to docstring of frameset-filter-alist.
9478 (frameset-filter-params): Rename filter values to be more meaningful:
9479 :never instead of t, and reverse the meanings of :save and :restore.
9480 (frameset--process-minibuffer-frames): Clarify error message.
9481 (frameset-save): Avoid unnecessary and confusing call to framep.
9482 Use new BOA constructor for framesets.
9483 (frameset--reuse-list): Doc fix.
9484 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
9485 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
9486 (frameset-minibufferless-first-p): Doc fix.
9487 Rename from frameset-sort-frames-for-deletion.
9488 (frameset-restore): Doc fixes. Use new function names.
9489 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
9490
9491 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
9492
9493 * desktop.el (desktop-restore-forces-onscreen)
9494 (desktop-restore-reuses-frames): Document :keyword constant values.
9495 (desktop-filter-parameters-alist): Remove, now identical to
9496 frameset-filter-alist.
9497 (desktop--filter-tty*): Remove, moved to frameset.el.
9498 (desktop-save-frameset, desktop-restore-frameset):
9499 Do not pass :filters argument.
9500
9501 * frameset.el (frameset-live-filter-alist)
9502 (frameset-persistent-filter-alist): New variables.
9503 (frameset-filter-alist): Use them. Add autoload cookie.
9504 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
9505 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
9506 `frameset--id' (it's supposed to be internal to frameset.el).
9507 (frameset--process-minibuffer-frames): Ditto. Doc fix.
9508 (frameset--initial-params): New function.
9509 (frameset--get-frame): Use it. Doc fix.
9510 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
9511 Accept :all, not 'all.
9512 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
9513 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
9514 with fbound symbols. Fix frame id matching, and remove matching ids if
9515 the frame being restored is deleted. Obey :delete.
9516
9517 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
9518
9519 * subr.el (macrop): New function.
9520 (text-clone--maintaining): New var.
9521 (text-clone--maintain): Rename from text-clone-maintain. Use it
9522 instead of inhibit-modification-hooks.
9523
9524 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
9525 a proxy, so as handle autoloads and redefinitions of the target.
9526 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
9527
9528 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
9529 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
9530 (pcase--mutually-exclusive-p): New function.
9531 (pcase--split-consp): Use it.
9532 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
9533 mutually exclusive with the current predicate.
9534
9535 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
9536 (edebug-macrop): Remove. Use `macrop' instead.
9537 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
9538 (ad-macro-p):
9539 * eshell/esh-cmd.el (eshell-macrop):
9540 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
9541
9542 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
9543
9544 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
9545 (advice-mapc): New function, using it.
9546 (advice-function-member-p): New function.
9547 (advice--normalize): Store the cdr in advice--saved-rewrite since
9548 that's the part that will be changed.
9549 (advice--symbol-function): New function.
9550 (advice-remove): Handle removal before the function is defined.
9551 Adjust to new advice--saved-rewrite.
9552 (advice-member-p): Use advice-function-member-p and
9553 advice--symbol-function.
9554
9555 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
9556
9557 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
9558 (frameset-filter-minibuffer): Doc fix.
9559 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
9560 (frameset--set-id, frameset--process-minibuffer-frames)
9561 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
9562 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
9563
9564 * desktop.el (desktop-clear): Only delete frames when called
9565 interactively and desktop-restore-frames is non-nil. Doc fix.
9566 (desktop-read): Set desktop-saved-frameset to nil.
9567
9568 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
9569
9570 * vc/vc.el (vc-ignore): Rewrite.
9571 (vc-default-ignore-completion-table, vc--read-lines)
9572 (vc--add-line, vc--remove-regexp): New functions.
9573
9574 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
9575 (vc-svn-ignore-completion-table): New function.
9576
9577 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
9578 (vc-hg-ignore-completion-table)
9579 (vc-hg-find-ignore-file): New functions.
9580
9581 * vc/vc-git.el (vc-git-ignore): Rewrite.
9582 (vc-git-ignore-completion-table)
9583 (vc-git-find-ignore-file): New functions.
9584
9585 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
9586
9587 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
9588 (vc-bzr-ignore-completion-table)
9589 (vc-bzr-find-ignore-file): New functions.
9590
9591 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
9592
9593 * frameset.el (frameset-prop): New function and setter.
9594 (frameset-save): Do not modify frame list passed by the caller.
9595
9596 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9597
9598 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
9599
9600 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
9601
9602 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
9603 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
9604
9605 * custom.el (custom-initialize-default, custom-initialize-set)
9606 (custom-initialize-reset, custom-initialize-changed): Affect the
9607 toplevel-default-value (bug#6275, bug#14586).
9608 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
9609 for bug#6275.
9610
9611 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
9612
9613 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
9614 Add cl-def* expressions.
9615
9616 * frameset.el (frameset-filter-params): Fix order of arguments.
9617
9618 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
9619
9620 Move code related to saving frames to frameset.el.
9621 * desktop.el: Require frameset.
9622 (desktop-restore-frames): Doc fix.
9623 (desktop-restore-reuses-frames): Rename from
9624 desktop-restoring-reuses-frames.
9625 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
9626 (desktop-clear): Clear frames too.
9627 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
9628 (desktop--filter-tty*, desktop-save, desktop-read):
9629 Use frameset functions.
9630 (desktop-before-saving-frames-functions, desktop--filter-*-color)
9631 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
9632 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
9633 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
9634 (desktop--process-minibuffer-frames, desktop-save-frames)
9635 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
9636 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
9637 (desktop--sort-states, desktop-restoring-frames-p)
9638 (desktop-restore-frames): Remove. Most code moved to frameset.el.
9639 (desktop-restoring-frameset-p, desktop-restore-frameset)
9640 (desktop--check-dont-save, desktop-save-frameset): New functions.
9641 (desktop--app-id): New constant.
9642 (desktop-first-buffer, desktop-buffer-ok-count)
9643 (desktop-buffer-fail-count): Move before first use.
9644 * frameset.el: New file.
9645
9646 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
9647
9648 * files.el: Use lexical-binding.
9649 (dir-locals-read-from-file): Remove unused `err' variable.
9650 (hack-dir-local-variables--warned-coding): New var.
9651 (hack-dir-local-variables): Use it to avoid repeated warnings.
9652 (make-backup-file-name--default-function): New function.
9653 (make-backup-file-name-function): Use it as default.
9654 (buffer-stale--default-function): New function.
9655 (buffer-stale-function): Use it as default.
9656 (revert-buffer-insert-file-contents--default-function): New function.
9657 (revert-buffer-insert-file-contents-function): Use it as default.
9658 (insert-directory): Avoid add-to-list.
9659
9660 * autorevert.el (auto-revert-handler): Simplify.
9661 Use buffer-stale--default-function.
9662
9663 2013-08-01 Tassilo Horn <tsdh@gnu.org>
9664
9665 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
9666
9667 * whitespace.el (whitespace-ensure-local-variables): New function.
9668 (whitespace-cleanup-region): Call it.
9669 (whitespace-turn-on): Call it.
9670
9671 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
9672
9673 Complete file name handlers.
9674
9675 * net/tramp.el (tramp-handle-set-visited-file-modtime)
9676 (tramp-handle-verify-visited-file-modtime)
9677 (tramp-handle-file-notify-rm-watch): New functions.
9678 (tramp-call-process): Do not bind `default-directory'.
9679
9680 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9681 Order alphabetically.
9682 <access-file, add-name-to-file, dired-call-process>:
9683 <dired-compress-file, file-acl, file-notify-rm-watch>:
9684 <file-ownership-preserved-p, file-selinux-context>:
9685 <make-directory-internal, make-symbolic-link, set-file-acl>:
9686 <set-file-selinux-context, set-visited-file-modtime>:
9687 <verify-visited-file-modtime>: Add handler.
9688 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
9689
9690 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
9691 <file-notify-add-watch, file-notify-rm-watch>:
9692 <set-file-times, set-visited-file-modtime>:
9693 <verify-visited-file-modtime>: Add handler.
9694 (with-tramp-gvfs-error-message)
9695 (tramp-gvfs-handle-set-visited-file-modtime)
9696 (tramp-gvfs-fuse-file-name): Remove.
9697 (tramp-gvfs-handle-file-notify-add-watch)
9698 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
9699 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
9700
9701 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9702 Order alphabetically.
9703 <file-notify-rm-watch>: Use default Tramp handler.
9704 <executable-find>: Remove private handler.
9705 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
9706 `default-directory'.
9707 (tramp-sh-handle-executable-find)
9708 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
9709 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9710 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
9711 Do not use `format' in `tramp-message'.
9712
9713 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
9714 <file-notify-rm-watch, set-visited-file-modtime>:
9715 <verify-visited-file-modtime>: Add handler.
9716 (tramp-smb-call-winexe): Do not bind `default-directory'.
9717
9718 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
9719
9720 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
9721
9722 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
9723
9724 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
9725 use it.
9726 (log-view-diff-changeset): Same.
9727 (log-view-diff-common): Call backend command `previous-revision'
9728 to find out the previous revision, in both cases. Swap the
9729 variables `to' and `fr', so that `fr' usually refers to the
9730 earlier revision (Bug#14989).
9731
9732 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
9733
9734 * ibuf-ext.el (ibuffer-filter-by-filename):
9735 Make it work with dired buffers too.
9736
9737 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
9738
9739 * emacs-lisp/re-builder.el (reb-color-display-p):
9740 * files.el (save-buffers-kill-terminal):
9741 * net/browse-url.el (browse-url):
9742 * server.el (server-save-buffers-kill-terminal):
9743 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
9744 Prefer nil to selected-frame for the first arg of frame-parameter.
9745
9746 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
9747
9748 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
9749
9750 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
9751
9752 * minibuffer.el (completion--twq-all): Try and preserve each
9753 completion's case choice (bug#14907).
9754
9755 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9756
9757 * net/network-stream.el (open-network-stream): Mention the new
9758 :nogreeting parameter.
9759 (network-stream-open-starttls): Use the :nogreeting parameter
9760 (bug#14938).
9761
9762 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
9763
9764 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
9765 more natural than popping.
9766
9767 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
9768 (shr-urlify): Highlight under mouse.
9769
9770 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
9771
9772 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
9773
9774 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
9775
9776 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
9777 buffer for output.
9778
9779 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
9780 point-min==1. Fix search string. Fix parentheses missing.
9781
9782 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
9783 assume point-min==1. Fix search string. Fix parentheses missing.
9784
9785 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
9786
9787 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
9788 buffer for output.
9789
9790 2013-07-29 Eli Zaretskii <eliz@gnu.org>
9791
9792 * frame.el (frame-notice-user-settings): Avoid inflooping when the
9793 initial frame is minibuffer-less. (Bug#14841)
9794
9795 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
9796
9797 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
9798 option.
9799
9800 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
9801 (tramp-maybe-open-connection): Use it.
9802
9803 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
9804
9805 * desktop.el (desktop--make-frame): Include `minibuffer' in the
9806 minimal set of parameters passed when creating a frame, because
9807 the minibuffer status of a frame cannot be changed later.
9808
9809 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
9810
9811 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
9812 replace-regexp-in-string and inadvertent omissions in previous change.
9813 (todo-filter-items): Ensure only file names are comma-separated in
9814 name of filtered items buffer.
9815
9816 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
9817
9818 * desktop.el: Optionally force offscreen frames back onscreen.
9819 (desktop-restoring-reuses-frames): New option.
9820 (desktop--compute-pos, desktop--move-onscreen): New functions.
9821 (desktop--make-frame): Use desktop--move-onscreen.
9822
9823 2013-07-27 Alan Mackenzie <acm@muc.de>
9824
9825 Fontify a Java generic method as a function.
9826 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
9827 value to t.
9828
9829 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
9830
9831 * calendar/todo-mode.el: Add command to rename todo files.
9832 (todo-rename-file): New command.
9833 (todo-key-bindings-t): Add key binding for it. Change the
9834 bindings of todo-filter-regexp-items(-multifile) to use `x'
9835 instead of `r', since the latter is better suited to the new
9836 renaming command.
9837
9838 2013-07-27 Alan Mackenzie <acm@muc.de>
9839
9840 Make Java try-with-resources statement parse properly.
9841 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
9842 (c-block-stmt-1-2-key): New language constants/variables.
9843 * progmodes/cc-engine.el (c-beginning-of-statement-1)
9844 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
9845 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
9846 with c-block-stmt-1-2-key.
9847
9848 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
9849
9850 * desktop.el (desktop--make-frame): Apply most frame parameters after
9851 creating the frame to force (partially or totally) offscreen frames to
9852 be restored as such.
9853
9854 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
9855
9856 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
9857 (Bug#14948)
9858
9859 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9860
9861 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
9862 `base' arg of backtrace-frame.
9863
9864 2013-07-26 Eli Zaretskii <eliz@gnu.org>
9865
9866 * simple.el (list-processes): Doc fix.
9867
9868 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
9869
9870 * desktop.el (desktop--select-frame):
9871 Try harder to reuse existing frames.
9872
9873 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9874
9875 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
9876 (edebug-eval): Use backtrace-eval.
9877 (edebug--display, edebug--recursive-edit): Don't let-bind the
9878 edebug-outer-* vars that keep track of variables we locally let-bind.
9879 (edebug-outside-excursion): Don't restore outside values of locally
9880 let-bound vars.
9881 (edebug--display): Use user-error.
9882 (cl-lexical-debug, cl-debug-env): Remove.
9883
9884 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
9885
9886 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
9887 are restored to be sure that they are visible before deleting any
9888 remaining ones.
9889
9890 2013-07-26 Matthias Meulien <orontee@gmail.com>
9891
9892 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
9893 vc-print-root-log. (Bug#14948)
9894
9895 2013-07-26 Richard Stallman <rms@gnu.org>
9896
9897 Add aliases for encrypting mail.
9898 * epa.el (epa-mail-aliases): New option.
9899 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
9900 Bind inhibit-read-only so read-only text doesn't ruin everything.
9901 (epa-mail-default-recipients): New subroutine broken out.
9902 Handle epa-mail-aliases.
9903
9904 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9905
9906 Add support for lexical variables to the debugger's `e' command.
9907 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
9908 vars, except for debugger-outer-match-data.
9909 (debugger-frame-number): Move check for "on a function call" from
9910 callers into it. Add `skip-base' argument.
9911 (debugger-frame, debugger-frame-clear): Simplify accordingly.
9912 (debugger-env-macro): Only reset the state stored in non-variables,
9913 i.e. current-buffer and match-data.
9914 (debugger-eval-expression): Rewrite using backtrace-eval.
9915 * subr.el (internal--called-interactively-p--get-frame): Remove.
9916 (called-interactively-p):
9917 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
9918 `base' arg of backtrace-frame instead.
9919
9920 2013-07-26 Glenn Morris <rgm@gnu.org>
9921
9922 * align.el (align-regexp): Doc fix. (Bug#14857)
9923 (align-region): Explicit error if subexpression missing/does not match.
9924
9925 * simple.el (global-visual-line-mode):
9926 Do not duplicate the mode lighter. (Bug#14858)
9927
9928 2013-07-25 Martin Rudalics <rudalics@gmx.at>
9929
9930 * window.el (display-buffer): In display-buffer bind
9931 split-window-keep-point to t, bug#14829.
9932
9933 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
9934
9935 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
9936 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
9937 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
9938 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
9939 Change accordingly.
9940 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
9941 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
9942
9943 2013-07-25 Glenn Morris <rgm@gnu.org>
9944
9945 * dired-x.el (dired-mark-extension): Convert comment to doc string.
9946
9947 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
9948
9949 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
9950 parameter to modify-frame-parameters if the value has not changed;
9951 this is a workaround for bug#14949.
9952 (desktop--make-frame): On cl-delete-if call, check parameter name,
9953 not full parameter.
9954
9955 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
9956
9957 * vc/vc.el (vc-ignore): New function.
9958
9959 * vc/vc-svn.el (vc-svn-ignore): New function.
9960
9961 * vc/vc-hg.el (vc-hg-ignore): New function.
9962
9963 * vc/vc-git.el (vc-git-ignore): New function.
9964
9965 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
9966 (vc-dir-ignore): New function.
9967
9968 * vc/vc-cvs.el (vc-cvs-ignore): New function.
9969 (cvs-append-to-ignore): Move here from pcvs.el.
9970
9971 * vc/vc-bzr.el (vc-bzr-ignore): New function.
9972
9973 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
9974
9975 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
9976
9977 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
9978 (desktop-restore-frames): Warn when deleting an existing frame failed.
9979
9980 2013-07-24 Glenn Morris <rgm@gnu.org>
9981
9982 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
9983
9984 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
9985
9986 * filenotify.el (file-notify-supported-p):
9987 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
9988 Remove functions.
9989
9990 * autorevert.el (auto-revert-use-notify)
9991 (auto-revert-notify-add-watch):
9992 * net/tramp.el (tramp-file-name-for-operation):
9993 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9994 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9995 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9996 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
9997 Remove `file-notify-supported-p' entry.
9998
9999 2013-07-24 Glenn Morris <rgm@gnu.org>
10000
10001 * printing.el: Replace all uses of deleted ps-windows-system,
10002 ps-lp-system, ps-flatten-list with lpr- versions.
10003
10004 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
10005
10006 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
10007 checked with memq (bug#14935).
10008
10009 * files.el (revert-buffer-function): Use a non-nil default.
10010 (revert-buffer-preserve-modes): Declare var to
10011 provide access to the `preserve-modes' argument.
10012 (revert-buffer): Let-bind it.
10013 (revert-buffer--default): New function, extracted from revert-buffer.
10014
10015 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
10016
10017 * lpr.el: Signal print errors more prominently.
10018 (print-region-function): Don't default to nil.
10019 (lpr-print-region): New function, extracted from print-region-1.
10020 Check lpr's return value and signal an error in case of problem.
10021 (print-region-1): Use it.
10022 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
10023 versions instead.
10024 (ps-printer-name): Default to nil.
10025 (ps-printer-name-option): Default to lpr-printer-switch.
10026 (ps-print-region-function): Don't default to nil.
10027 (ps-postscript-code-directory): Simplify default.
10028 (ps-do-despool): Use lpr-print-region to properly check the outcome.
10029 (ps-string-list, ps-eval-switch, ps-flatten-list)
10030 (ps-flatten-list-1): Remove.
10031 (ps-multibyte-buffer): Avoid setq.
10032 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
10033 (print-region-function, ps-print-region-function): Don't set them here.
10034
10035 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
10036
10037 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
10038 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
10039 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
10040 (ido-decorations): Doc fix.
10041
10042 * ansi-color.el: Fix old URL.
10043
10044 2013-07-23 Michael R. Mauger <michael@mauger.com>
10045
10046 * progmodes/sql.el: Version 3.3
10047 (sql-product-alist): Improve oracle :prompt-cont-regexp.
10048 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
10049 (sql-interactive-remove-continuation-prompt): Rewrite, use
10050 functions above. Fix continuation prompt and complete output line
10051 handling.
10052 (sql-redirect-one, sql-execute): Use `read-only-mode' on
10053 redirected output buffer.
10054 (sql-mode): Restore deleted code (Bug#13591).
10055
10056 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
10057
10058 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
10059
10060 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
10061
10062 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
10063
10064 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10065 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10066 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
10067
10068 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
10069
10070 * desktop.el (desktop-clear): Simplify; remove useless checks
10071 against invalid buffer names.
10072 (desktop-list*): Use cl-list*.
10073 (desktop-buffer-info, desktop-create-buffer): Simplify.
10074
10075 2013-07-23 Leo Liu <sdl.web@gmail.com>
10076
10077 * bookmark.el (bookmark-make-record): Restore NAME as a default
10078 value. (Bug#14933)
10079
10080 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
10081
10082 * emacs-lisp/autoload.el (autoload--setup-output): New function,
10083 extracted from autoload--insert-text.
10084 (autoload--insert-text): Remove.
10085 (autoload--print-cookie-text): New function, extracted from
10086 autoload--insert-cookie-text.
10087 (autoload--insert-cookie-text): Remove.
10088 (autoload-generate-file-autoloads): Adjust calls accordingly.
10089
10090 * winner.el (winner-hook-installed-p): Remove.
10091 (winner-mode): Simplify accordingly.
10092
10093 * subr.el (add-to-list): Fix compiler-macro when `append' is
10094 not constant. Don't use `cl-member' for the base case.
10095
10096 * progmodes/subword.el: Fix boundary case (bug#13758).
10097 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
10098 own group.
10099 (subword-backward-regexp): Make it a constant.
10100 (subword-forward-internal): Don't treat a trailing capital as the
10101 beginning of a word.
10102
10103 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
10104
10105 * emacs-lisp/package.el (package-menu-mode): Don't modify the
10106 global value of tabulated-list-revert-hook (bug#14930).
10107
10108 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
10109
10110 * desktop.el: Require 'cl-lib.
10111 (desktop-before-saving-frames-functions): New hook.
10112 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
10113 for frames being saved. Rename from desktop--save-minibuffer-frames.
10114 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
10115 Do not save frames with non-nil `desktop-dont-save' parameter.
10116 Filter out deleted frames.
10117 (desktop--find-frame): Use cl-find-if.
10118 (desktop--select-frame): Use cl-(first|second|third) to access values
10119 of desktop-mini.
10120 (desktop--make-frame): Use cl-delete-if.
10121 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
10122 (desktop-restore-frames): Use cl-(first|second|third) to access values
10123 of desktop-mini. Look for visible frame at the end, not while
10124 restoring frames.
10125
10126 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
10127 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
10128 Use string-match-p, looking-at-p (bug#14927).
10129
10130 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
10131
10132 * desktop.el (desktop-saved-frame-states):
10133 Rename from desktop--saved-states; all users changed.
10134 (desktop-save-frames): Rename from desktop--save-frames.
10135 Do not save state to desktop file.
10136 (desktop-save): Save desktop-saved-frame-states to desktop file
10137 and reset to nil.
10138 (desktop-restoring-frames-p): New function.
10139 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
10140 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
10141 buffer-lists when restoring frames. Suggested by Martin Rudalics.
10142
10143 * desktop.el: Correctly restore iconified frames.
10144 (desktop--filter-iconified-position): New function.
10145 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
10146
10147 2013-07-20 Glenn Morris <rgm@gnu.org>
10148
10149 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
10150 Let `message' do the formatting.
10151 (def-gdb-preempt-display-buffer): Add explicit format.
10152
10153 * image-dired.el (image-dired-track-original-file):
10154 Use with-current-buffer.
10155 (image-dired-track-thumbnail): Use with-current-buffer.
10156 Avoid changing point of wrong window.
10157
10158 * image-dired.el (image-dired-track-original-file):
10159 Avoid changing point of wrong window. (Bug#14909)
10160
10161 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
10162
10163 * progmodes/gdb-mi.el (gdb-done-or-error):
10164 Guard against "%" in gdb output. (Bug#14127)
10165
10166 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
10167
10168 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
10169 (Bug#14826)
10170
10171 * international/mule.el (coding-system-iso-2022-flags): Fix last
10172 change.
10173
10174 2013-07-20 Kenichi Handa <handa@gnu.org>
10175
10176 * international/mule.el (coding-system-iso-2022-flags):
10177 Add `8-bit-level-4'. (Bug#8522)
10178
10179 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10180
10181 * net/shr.el (shr-mouse-browse-url): New command and keystroke
10182 (bug#14815).
10183
10184 * net/eww.el (eww-process-text-input): Allow inputting when the
10185 point is at the start of the line, as the properties aren't
10186 front-sticky.
10187
10188 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
10189 degenerate widths.
10190
10191 2013-07-19 Richard Stallman <rms@gnu.org>
10192
10193 * epa.el (epa-popup-info-window): Doc fix.
10194
10195 * subr.el (split-string): New arg TRIM.
10196
10197 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
10198
10199 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
10200 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
10201
10202 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
10203
10204 * filenotify.el (file-notify--library): Rename from
10205 `file-notify-support'. Do not autoload. Adapt all uses.
10206 (file-notify-supported-p): New defun.
10207
10208 * autorevert.el (auto-revert-use-notify):
10209 Use `file-notify-supported-p' instead of `file-notify-support'.
10210 Adapt docstring.
10211 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
10212
10213 * net/tramp.el (tramp-file-name-for-operation):
10214 Add `file-notify-supported-p'.
10215
10216 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
10217 New defun.
10218 (tramp-sh-file-name-handler-alist): Add it as handler for
10219 `file-notify-supported-p '.
10220
10221 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10222 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10223 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
10224 Add `ignore' as handler for `file-notify-*' functions.
10225
10226 2013-07-17 Eli Zaretskii <eliz@gnu.org>
10227
10228 * simple.el (line-move-partial, line-move): Don't start vscroll or
10229 scroll-up if the current line is not taller than the window.
10230 (Bug#14881)
10231
10232 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
10233
10234 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
10235 highlight question marks in the method names as strings.
10236 (ruby-block-beg-keywords): Inline.
10237 (ruby-font-lock-keyword-beg-re): Extract from
10238 `ruby-font-lock-keywords'.
10239
10240 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
10241
10242 * frame.el (blink-cursor-blinks): New defcustom.
10243 (blink-cursor-blinks-done): New defvar.
10244 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
10245 (blink-cursor-timer-function): Check if number of blinks has been
10246 done on X and NS.
10247 (blink-cursor-suspend, blink-cursor-check): New defuns.
10248
10249 2013-07-15 Glenn Morris <rgm@gnu.org>
10250
10251 * edmacro.el (edmacro-format-keys): Fix previous change.
10252
10253 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
10254
10255 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
10256 The hack didn't work outside English locales anyway.
10257
10258 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
10259
10260 * simple.el (define-alternatives): Rename from alternatives-define,
10261 per RMS' suggestion.
10262
10263 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
10264
10265 * desktop.el (desktop-restore-frames): Change default to t.
10266 (desktop-restore-in-current-display): Now offer more options.
10267 (desktop-restoring-reuses-frames): New customization option.
10268 (desktop--saved-states): Doc fix.
10269 (desktop-filter-parameters-alist): New variable, renamed and expanded
10270 from desktop--excluded-frame-parameters.
10271 (desktop--target-display): New variable.
10272 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
10273 (desktop--filter-tty*, desktop--filter-*-color)
10274 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
10275 (desktop--filter-save-desktop-parm)
10276 (desktop-restore-in-original-display-p): New functions.
10277 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
10278 (desktop--save-minibuffer-frames): New function, inspired by a similar
10279 function from Martin Rudalics.
10280 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
10281 (desktop--restore-in-this-display-p): Remove.
10282 (desktop--find-frame): Rename from desktop--find-frame-in-display
10283 and add predicate argument.
10284 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
10285 (desktop--reuse-list): New variable.
10286 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
10287 New functions.
10288 (desktop--restore-frames): Add support for "minibuffer-special" frames.
10289
10290 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
10291
10292 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
10293
10294 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
10295
10296 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
10297 Highlight conversion methods on Kernel.
10298
10299 2013-07-13 Alan Mackenzie <acm@muc.de>
10300
10301 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
10302 and comment it out. This out-commenting enables certain C++
10303 declarations to be parsed correctly.
10304
10305 2013-07-13 Eli Zaretskii <eliz@gnu.org>
10306
10307 * international/mule.el (define-coding-system): Doc fix.
10308
10309 * simple.el (default-font-height): Don't call font-info if the
10310 frame's default font didn't change since the frame was created.
10311 (Bug#14838)
10312
10313 2013-07-13 Leo Liu <sdl.web@gmail.com>
10314
10315 * ido.el (ido-read-file-name): Guard against non-symbol value.
10316
10317 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
10318
10319 * progmodes/python.el (python-imenu--build-tree): Fix corner case
10320 in nested defuns.
10321
10322 2013-07-13 Leo Liu <sdl.web@gmail.com>
10323
10324 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
10325 ido-set-matches call. (Bug#6852)
10326
10327 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
10328
10329 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
10330 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
10331 Ruby 2.0.
10332 (ruby-font-lock-keywords): Distinguish calls to functions with
10333 module-like names from module references. Highlight character
10334 literals.
10335
10336 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
10337
10338 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
10339 (gdb-send): Handle continued commands. (Bug#14847)
10340
10341 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
10342
10343 * desktop.el (desktop--v2s): Remove unused local variable.
10344 (desktop-save-buffer): Make defvar-local; adjust docstring.
10345 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
10346 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
10347
10348 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
10349
10350 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
10351
10352 2013-07-12 Eli Zaretskii <eliz@gnu.org>
10353
10354 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
10355 (Bug#14842)
10356
10357 2013-07-12 Glenn Morris <rgm@gnu.org>
10358
10359 * doc-view.el: Require cl-lib at runtime too.
10360 (doc-view-remove-if): Remove.
10361 (doc-view-search-next-match, doc-view-search-previous-match):
10362 Use cl-remove-if.
10363
10364 * edmacro.el: Require cl-lib at runtime too.
10365 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
10366 (edmacro-mismatch, edmacro-subseq): Remove.
10367
10368 * shadowfile.el: Require cl-lib.
10369 (shadow-remove-if): Remove.
10370 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
10371 Use cl-remove-if.
10372
10373 * wid-edit.el: Require cl-lib.
10374 (widget-choose): Use cl-remove-if.
10375 (widget-remove-if): Remove.
10376
10377 * progmodes/ebrowse.el: Require cl-lib at runtime too.
10378 (ebrowse-delete-if-not): Remove.
10379 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
10380 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
10381 Use cl-delete-if-not.
10382
10383 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
10384
10385 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
10386 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
10387
10388 2013-07-12 Leo Liu <sdl.web@gmail.com>
10389
10390 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
10391
10392 2013-07-11 Glenn Morris <rgm@gnu.org>
10393
10394 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
10395 (edebug-gensym-index, edebug-gensym):
10396 Remove reimplementation of cl-gensym.
10397 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
10398
10399 * thumbs.el: Require cl-lib at run-time too.
10400 (thumbs-gensym-counter, thumbs-gensym):
10401 Remove reimplementation of cl-gensym.
10402 (thumbs-temp-file): Use cl-gensym.
10403
10404 * emacs-lisp/ert.el: Require cl-lib at runtime too.
10405 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
10406 (ert--intersection, ert--set-difference, ert--set-difference-eq)
10407 (ert--union, ert--gensym-counter, ert--gensym-counter)
10408 (ert--coerce-to-vector, ert--remove*, ert--string-position)
10409 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
10410 (ert-make-test-unbound, ert--expand-should-1)
10411 (ert--expand-should, ert--should-error-handle-error)
10412 (should-error, ert--explain-equal-rec)
10413 (ert--plist-difference-explanation, ert-select-tests)
10414 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
10415 Use cl-lib functions rather than reimplementations.
10416
10417 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
10418
10419 * net/tramp.el (tramp-methods): Extend docstring.
10420 (tramp-connection-timeout): New defcustom.
10421 (tramp-error-with-buffer): Reset timestamp only when appropriate.
10422 (with-tramp-progress-reporter): Simplify.
10423 (tramp-process-actions): Improve messages.
10424
10425 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10426 * net/tramp-sh.el (tramp-maybe-open-connection):
10427 Use `tramp-connection-timeout'.
10428 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
10429 (Bug#14808)
10430
10431 2013-07-11 Leo Liu <sdl.web@gmail.com>
10432
10433 * ido.el (ido-read-file-name): Conform to the requirements of
10434 read-file-name. (Bug#11861)
10435 (ido-read-directory-name): Conform to the requirements of
10436 read-directory-name.
10437
10438 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
10439
10440 * subr.el (delay-warning): New function.
10441
10442 2013-07-10 Eli Zaretskii <eliz@gnu.org>
10443
10444 * simple.el (default-line-height): New function.
10445 (line-move-partial, line-move): Use it instead of computing the
10446 line height inline.
10447 (line-move-partial): Always compute ROWH. If the last line is
10448 partially-visible, but its text is completely visible, allow
10449 cursor to enter such a partially-visible line.
10450
10451 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
10452
10453 Improve error messages. (Bug#14808)
10454
10455 * net/tramp.el (tramp-current-connection): New defvar, moved from
10456 tramp-sh.el.
10457 (tramp-message-show-progress-reporter-message): Remove, not
10458 needed anymore.
10459 (tramp-error-with-buffer): Show message in minibuffer.
10460 Discard input before waiting. Reset connection timestamp.
10461 (with-tramp-progress-reporter): Improve messages.
10462 (tramp-process-actions): Use progress reporter. Delete process in
10463 case of error. Improve messages.
10464
10465 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
10466 Call `tramp-error-with-buffer' with vector and buffer.
10467 (tramp-current-connection): Remove.
10468 (tramp-maybe-open-connection): The car of
10469 `tramp-current-connection' are the first 3 slots of the vector.
10470
10471 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
10472
10473 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
10474 inside continued strings.
10475
10476 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
10477
10478 Timestamp fixes for undo (Bug#14824).
10479 * files.el (clear-visited-file-modtime): Move here from fileio.c.
10480
10481 2013-07-10 Leo Liu <sdl.web@gmail.com>
10482
10483 * files.el (require-final-newline): Allow safe local value.
10484 (Bug#14834)
10485
10486 2013-07-09 Leo Liu <sdl.web@gmail.com>
10487
10488 * ido.el (ido-read-directory-name): Handle fallback.
10489 (ido-read-file-name): Update DIR to ido-current-directory.
10490 (Bug#1516)
10491 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
10492
10493 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
10494
10495 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
10496 "autoload". Remove "warn lower camel case" section, previously
10497 commented out. Highlight negation char. Do not highlight the
10498 target in singleton method definitions.
10499
10500 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
10501
10502 * faces.el (tty-setup-hook): Declare the hook.
10503
10504 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
10505 and detect when a guard/pred depends on local vars (bug#14773).
10506 (pcase--u1): Adjust caller.
10507
10508 2013-07-08 Eli Zaretskii <eliz@gnu.org>
10509
10510 * simple.el (line-move-partial, line-move): Account for
10511 line-spacing.
10512 (line-move-partial): Avoid setting vscroll when the last
10513 partially-visible line in window is of default height.
10514
10515 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
10516
10517 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
10518 been used a while.
10519
10520 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
10521
10522 * subr.el (read-quoted-char): Remove unused local variable `char'.
10523
10524 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
10525
10526 * ediff.el (ediff-version): Version update.
10527 (ediff-files-command, ediff3-files-command, ediff-merge-command)
10528 (ediff-merge-with-ancestor-command, ediff-directories-command)
10529 (ediff-directories3-command, ediff-merge-directories-command)
10530 (ediff-merge-directories-with-ancestor-command): New functions.
10531 All are command-line interfaces to ediff: to facilitate calling
10532 Emacs with the appropriate ediff functions invoked.
10533
10534 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
10535 (viper-save-kill-buffer): Check if buffer is modified.
10536
10537 * viper.el (viper-version): Version update.
10538 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
10539
10540 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
10541
10542 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
10543 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
10544 (viper-intercept-ESC-key): Simplify.
10545 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
10546 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
10547 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
10548 (viper-setup-ESC-to-escape): New functions.
10549 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
10550 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
10551
10552 2013-07-07 Eli Zaretskii <eliz@gnu.org>
10553
10554 * simple.el (default-font-height, window-screen-lines):
10555 New functions.
10556 (line-move, line-move-partial): Use them instead of
10557 frame-char-height and window-text-height. This makes scrolling
10558 text smoother when the buffer's default face uses a font that is
10559 different from the frame's default font.
10560
10561 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
10562
10563 * files.el (write-file): Do not display confirm dialog for NS,
10564 it does its own dialog, which can't be canceled (Bug#14578).
10565
10566 2013-07-06 Eli Zaretskii <eliz@gnu.org>
10567
10568 * simple.el (line-move-partial): Adjust the row returned by
10569 posn-at-point for the current window-vscroll. (Bug#14567)
10570
10571 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
10572
10573 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
10574 (tramp-sh-file-inotifywait-process-filter): Handle file names with
10575 spaces.
10576
10577 2013-07-06 Martin Rudalics <rudalics@gmx.at>
10578
10579 * window.el (window-state-put-stale-windows): New variable.
10580 (window--state-put-2): Save list of windows without matching buffer.
10581 (window-state-put): Remove "bufferless" windows if possible.
10582
10583 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
10584
10585 * simple.el (alternatives-define): Remove leftover :group keyword.
10586 Tweak docstring.
10587
10588 2013-07-06 Leo Liu <sdl.web@gmail.com>
10589
10590 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
10591 (ido-enable-virtual-buffers): New variable.
10592 (ido-buffer-internal, ido-toggle-virtual-buffers)
10593 (ido-make-buffer-list): Use it.
10594 (ido-exhibit): Support turning on and off virtual buffers
10595 automatically.
10596
10597 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
10598
10599 * simple.el (alternatives-define): New macro.
10600
10601 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
10602
10603 * subr.el (read-quoted-char): Use read-key.
10604 (sit-for): Let read-event decode tty input (bug#14782).
10605
10606 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
10607
10608 * calendar/todo-mode.el: Add handling of file deletion, both by
10609 mode command and externally. Fix various related bugs.
10610 Clarify Commentary and improve some documentation strings and code.
10611 (todo-delete-file): New command.
10612 (todo-check-file): New function.
10613 (todo-show): Handle external deletion of the file we're trying to
10614 show (bug#14688). Replace called-interactively-p by an optional
10615 prefix argument to avoid problematic interaction with catch form
10616 when byte compiled (bug#14702).
10617 (todo-quit): Handle external deletion of the archive's todo file.
10618 Make sure the buffer that was visiting the archive file is still
10619 live before trying to bury it.
10620 (todo-category-completions): Handle external deletion of any
10621 category completion files.
10622 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
10623 of todo files, in case of external deletion.
10624 (todo-add-file): Replace unnecessary setq by let-binding.
10625 (todo-find-archive): Check whether there are any archives.
10626 Replace unnecessary setq by let-binding.
10627 (todo-archive-done-item): Use find-file-noselect to get the
10628 archive buffer whether or not the archive already exists.
10629 Remove superfluous code. Use file size instead of buffer-file-name to
10630 check if the archive is new; if it is, update list of archives.
10631 (todo-default-todo-file): Allow nil to be a valid value for when
10632 there are no todo files.
10633 (todo-reevaluate-default-file-defcustom): Use corrected definition
10634 of todo-default-todo-file.
10635 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
10636 (todo-delete-category, todo-show-categories-table)
10637 (todo-category-number): Clarify comment.
10638 (todo-filter-items): Clarify documentation string.
10639 (todo-show-current-file, todo-display-as-todo-file)
10640 (todo-reset-and-enable-done-separator): Tweak documentation string.
10641 (todo-done-separator): Make separator length window-width, since
10642 bug#2749 is now fixed.
10643
10644 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
10645
10646 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
10647 Support both "gvfs-monitor-dir" and "inotifywait".
10648 (tramp-sh-file-inotifywait-process-filter): Rename from
10649 `tramp-sh-file-notify-process-filter'.
10650 (tramp-sh-file-gvfs-monitor-dir-process-filter)
10651 (tramp-get-remote-gvfs-monitor-dir): New defuns.
10652
10653 2013-07-05 Leo Liu <sdl.web@gmail.com>
10654
10655 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
10656
10657 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10658
10659 * frame.el (display-pixel-height, display-pixel-width)
10660 (display-mm-height, display-mm-width): Mention behavior on
10661 multi-monitor setups in docstrings.
10662 (w32-display-monitor-attributes-list): Declare function.
10663 (display-monitor-attributes-list): Use it.
10664
10665 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
10666
10667 * filenotify.el: New package.
10668
10669 * autorevert.el (top): Require filenotify.el.
10670 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
10671 instead.
10672 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
10673 (auto-revert-notify-handler): Use `file-notify-*' functions.
10674
10675 * subr.el (file-notify-handle-event): Move function to filenotify.el.
10676
10677 * net/tramp.el (tramp-file-name-for-operation):
10678 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
10679
10680 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
10681 for `file-notify-add-watch' and `file-notify-rm-watch'.
10682 (tramp-process-sentinel): Improve trace.
10683 (tramp-sh-handle-file-notify-add-watch)
10684 (tramp-sh-file-notify-process-filter)
10685 (tramp-sh-handle-file-notify-rm-watch)
10686 (tramp-get-remote-inotifywait): New defuns.
10687
10688 2013-07-03 Juri Linkov <juri@jurta.org>
10689
10690 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
10691 call of `occur-read-primary-args' to interactive spec.
10692
10693 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
10694 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
10695
10696 2013-07-03 Matthias Meulien <orontee@gmail.com>
10697
10698 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
10699 `Buffer-menu-multi-occur'. Add it to the menu.
10700 (Buffer-menu-mode): Document it in docstring.
10701 (Buffer-menu-multi-occur): New command. (Bug#14673)
10702
10703 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
10704
10705 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
10706 keywords and built-ins.
10707
10708 2013-07-03 Glenn Morris <rgm@gnu.org>
10709
10710 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
10711
10712 Make info-xref checks case-sensitive by default
10713 * info.el (Info-find-node, Info-find-in-tag-table)
10714 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
10715 Add option for exact case matching of nodes.
10716 * info-xref.el (info-xref): New custom group.
10717 (info-xref-case-fold): New option.
10718 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
10719
10720 2013-07-03 Leo Liu <sdl.web@gmail.com>
10721
10722 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
10723
10724 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
10725
10726 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
10727 middle of block statement initially, lower the depth. Remove
10728 FIXME comment, not longer valid. Remove middle of block statement
10729 detection, no need to do that anymore since we've been using
10730 `ruby-parse-region' here.
10731
10732 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
10733
10734 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
10735
10736 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
10737
10738 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
10739
10740 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
10741
10742 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
10743 (desktop-restore-in-current-display): New customization option.
10744 (desktop--excluded-frame-parameters): Add `font'.
10745 (desktop--save-frames): Rename from desktop--save-windows.
10746 (desktop--restore-in-this-display-p): New function.
10747 (desktop--make-full-frame): Remove unwanted width/height from
10748 full(width|height) frames.
10749 (desktop--restore-frames): Rename from desktop--restore-windows.
10750 Obey desktop-restore-current-display. Do not delete old frames or
10751 select a new frame unless we were able to restore at least one frame.
10752
10753 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
10754
10755 * files.el (find-file-noselect): Simplify conditional expression.
10756
10757 * textmodes/remember.el (remember-append-to-file):
10758 Don't mix `find-buffer-visiting' and `get-file-buffer'.
10759
10760 Add `remember-notes' function to store random notes across Emacs
10761 restarts.
10762 * textmodes/remember.el (remember-data-file): Add :set callback to
10763 affect notes buffer (if any).
10764 (remember-notes): New command.
10765 (remember-notes-buffer-name, bury-remember-notes-on-kill):
10766 New defcustoms for the `remember-notes' function.
10767 (remember-notes-save-and-bury-buffer): New command.
10768 (remember-notes-mode-map): New variable.
10769 (remember-mode): New minor mode.
10770 (remember-notes--kill-buffer-query): New function.
10771 * startup.el (initial-buffer-choice): Add notes to custom type.
10772
10773 2013-06-30 Eli Zaretskii <eliz@gnu.org>
10774
10775 * bindings.el (right-char, left-char): Don't call sit-for, this is
10776 no longer needed. Use arithmetic comparison only for numerical
10777 arguments.
10778
10779 * international/mule-cmds.el (select-safe-coding-system):
10780 Handle the case of FROM being a string correctly. (Bug#14755)
10781
10782 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10783
10784 * net/shr.el (shr-make-table-1): Add a sanity check that allows
10785 progression on degenerate tables.
10786 (shr-rescale-image): ImageMagick animated images currently don't work.
10787
10788 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
10789
10790 Some fixes and improvements for desktop frame restoration.
10791 It is still experimental and disabled by default.
10792 * desktop.el (desktop--save-windows): Put the selected frame at
10793 the head of the list.
10794 (desktop--make-full-frame): New function.
10795 (desktop--restore-windows): Try to re-select the frame that was
10796 selected upon saving. Do not abort if some frames fail to restore,
10797 just show an error message and continue. Set up maximized frames
10798 so they have default non-maximized dimensions.
10799
10800 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
10801
10802 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
10803 Don't start heredoc inside a string or comment.
10804
10805 2013-06-29 Eli Zaretskii <eliz@gnu.org>
10806
10807 * bindings.el (visual-order-cursor-movement): New defcustom.
10808 (right-char, left-char): Provide visual-order cursor motion by
10809 calling move-point-visually. Update the doc strings.
10810
10811 2013-06-28 Kenichi Handa <handa@gnu.org>
10812
10813 * international/mule.el (define-coding-system): New coding system
10814 properties :inhibit-null-byte-detection,
10815 :inhibit-iso-escape-detection, and :prefer-utf-8.
10816 (set-buffer-file-coding-system): If :charset-list property of
10817 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
10818 appropriate for setting.
10819
10820 * international/mule-cmds.el (select-safe-coding-system):
10821 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
10822 multibyte characters, return utf-8 (or one of its siblings).
10823
10824 * international/mule-conf.el (prefer-utf-8): New coding system.
10825 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
10826 files.
10827
10828 2013-06-28 Ivan Kanis <ivan@kanis.fr>
10829
10830 * net/shr.el (shr-render-region): New function.
10831
10832 * net/eww.el: Autoload `eww-browse-url'.
10833
10834 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
10835
10836 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10837 Adapt to `package-desc-version' being a list.
10838 Use `package--ac-desc-version' to retrieve version from a package
10839 archive element.
10840
10841 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
10842
10843 New experimental feature to save&restore window and frame setup.
10844 * desktop.el (desktop-save-windows): New defcustom.
10845 (desktop--saved-states): New var.
10846 (desktop--excluded-frame-parameters): New defconst.
10847 (desktop--filter-frame-parms, desktop--find-frame-in-display)
10848 (desktop--restore-windows, desktop--save-windows): New functions.
10849 (desktop-save): Call `desktop--save-windows'.
10850 (desktop-read): Call `desktop--restore-windows'.
10851
10852 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
10853
10854 * net/shr.el (add-face-text-property): Remove compat definition.
10855
10856 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
10857
10858 * info.el (Info-try-follow-nearest-node): Move search for footnote
10859 above search for node name to prevent missing a footnote (bug#14717).
10860
10861 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
10862
10863 * obsolete/otodo-mode.el: Add obsolescence info to file header.
10864
10865 2013-06-27 Leo Liu <sdl.web@gmail.com>
10866
10867 * net/eww.el (eww-read-bookmarks): Check file size.
10868
10869 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
10870
10871 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
10872 advice--pending if newdef is nil or an autoload (bug#13820).
10873 (advice-mapc): New function.
10874
10875 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10876
10877 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
10878 probably.
10879 (eww-mode-map): Add a menu bar.
10880 (eww-add-bookmark): New command.
10881 (eww-bookmark-mode): New mode and commands.
10882 (eww-add-bookmark): Remove newlines from the title.
10883 (eww-bookmark-browse): Don't bug out if it's the only window.
10884
10885 2013-06-26 Glenn Morris <rgm@gnu.org>
10886
10887 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
10888 (hfy-size): Handle ttys. (Bug#14668)
10889
10890 * info-xref.el: Update for Texinfo 5 change in *note format.
10891 (info-xref-node-re, info-xref-note-re): New constants.
10892 (info-xref-check-buffer): Use info-xref-note-re.
10893
10894 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
10895
10896 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
10897
10898 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
10899 nil terminate the loop (bug#14718).
10900
10901 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
10902
10903 * net/eww.el: Rework history traversal. When going forward/back,
10904 put these actions into the history, too, so that they can be
10905 replayed.
10906 (eww-render): Move the history reset to the correct buffer.
10907
10908 2013-06-25 Juri Linkov <juri@jurta.org>
10909
10910 * files-x.el (modify-dir-local-variable): Change the header comment
10911 in the file with directory local variables. (Bug#14692)
10912
10913 * files-x.el (read-file-local-variable-value): Add `default'.
10914 (Bug#14710)
10915
10916 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
10917
10918 * net/eww.el (eww-make-unique-file-name): Create a unique file
10919 name before saving to entering `y' accidentally asynchronously.
10920
10921 2013-06-25 Ivan Kanis <ivan@kanis.fr>
10922
10923 * net/eww.el (eww-download): New command and keystroke.
10924
10925 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
10926
10927 * net/eww.el (eww-copy-page-url): Change name of command.
10928
10929 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
10930 be more consistent with Info and dired.
10931
10932 * net/eww.el (eww-mode-map): Ditto.
10933
10934 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
10935
10936 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
10937 packages from archives.
10938 (package-archive-contents): Change format; include obsolete packages.
10939 (package-desc): Use `dir' to mark builtin packages.
10940 (package--from-builtin): Set the `dir' field to `builtin'.
10941 (generated-autoload-file, version-control): Declare.
10942 (package-compute-transaction): Change first arg and return value to be
10943 lists of package-descs. Adjust to new package-archive-contents format.
10944 (package--add-to-archive-contents): Adjust to new
10945 package-archive-contents format.
10946 (package-download-transaction): Arg is now a list of package-descs.
10947 (package-install): If `pkg' is a package name, pass it as
10948 a requirement, so it is subject to the usual (e.g. disabled) checks.
10949 (describe-package): Accept package-desc as well.
10950 (describe-package-1): Describe a specific package-desc. Add links to
10951 other package-descs for the same package name.
10952 (package-menu-describe-package): Pass the actual package-desc.
10953 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
10954 works correctly.
10955 (package-desc-status): New function.
10956 (package-menu--refresh): New function, extracted
10957 from package-menu--generate.
10958 (package-menu--generate): Use it.
10959 (package-delete): Update package-alist.
10960 (package-menu-execute): Don't call package-initialize.
10961
10962 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
10963 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
10964 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
10965 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
10966 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
10967 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
10968
10969 2013-06-25 Martin Rudalics <rudalics@gmx.at>
10970
10971 * window.el (window--state-get-1): Workaround for bug#14527.
10972 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
10973
10974 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
10975
10976 * net/eww.el (eww-back-url): Implement the history by stashing all
10977 the data into a list.
10978 (eww-forward-url): Allow going forward in the history, too.
10979
10980 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
10981
10982 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
10983 for values and use read--expression for expressions (bug#14710).
10984 (read-file-local-variable): Avoid setq.
10985 (read-file-local-variable-mode): Use minor-mode-list.
10986
10987 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10988
10989 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
10990 for DOI URLs.
10991
10992 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10993
10994 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
10995 Update imenu-support when dialect changes.
10996
10997 2013-06-25 Leo Liu <sdl.web@gmail.com>
10998
10999 * ido.el (ido-read-internal): Allow forward slash on windows.
11000
11001 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
11002
11003 * net/eww.el (eww): Start of strings is \\`, not ^.
11004
11005 2013-06-24 Ivan Kanis <ivan@kanis.fr>
11006
11007 * net/shr.el (shr-browse-url): Fix interactive spec.
11008
11009 * net/eww.el (eww): Add a trailing slash to domain names.
11010
11011 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
11012
11013 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
11014
11015 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
11016
11017 * net/shr.el (shr-browse-url): Use an external browser if given a
11018 prefix.
11019
11020 * net/eww.el (eww-external-browser): Move to shr.
11021
11022 2013-06-24 Ivan Kanis <ivan@kanis.fr>
11023
11024 * net/eww.el (eww): Work more correctly for file: URLs.
11025 (eww-detect-charset): Allow quoted charsets.
11026 (eww-yank-page-url): New command and keystroke.
11027
11028 2013-06-24 Daiki Ueno <ueno@gnu.org>
11029
11030 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
11031 file name of gpg executable.
11032 (epg-context-program): New function.
11033 (epg-context-home-directory): New function.
11034 (epg-context-set-program): New function.
11035 (epg-context-set-home-directory): New function.
11036 (epg--start): Use `epg-context-program' instead of
11037 'epg-gpg-program'.
11038 (epg--list-keys-1): Likewise.
11039
11040 2013-06-24 Leo Liu <sdl.web@gmail.com>
11041
11042 * ido.el (ido-read-internal): Fix bug#14620.
11043
11044 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
11045
11046 * faces.el (face-documentation): Simplify.
11047 (read-face-attribute, tty-find-type, x-resolve-font-name):
11048 Use `string-match-p'.
11049 (list-faces-display): Use `string-match-p'. Simplify.
11050 (face-spec-recalc): Check face to avoid face alias loops.
11051 (read-color): Use `string-match-p' and non-capturing parenthesis.
11052
11053 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
11054
11055 * net/shr.el (shr-rescale-image): Use the new
11056 :max-width/:max-height functionality.
11057
11058 2013-06-23 Ivan Kanis <ivan@kanis.fr>
11059
11060 * net/eww.el (eww-search-prefix): New variable.
11061 (eww): Use it.
11062 (eww-external-browser): New variable.
11063 (eww-mode-map): New keystroke.
11064 (eww-browse-with-external-browser): New command.
11065
11066 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
11067
11068 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
11069
11070 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
11071 Don't skip aligning the next header field when padding is 0;
11072 otherwise, field width is not respected unless the title is as
11073 wide as the field.
11074
11075 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11076
11077 * emacs-lisp/package.el (package-el-version): Remove.
11078 (package-process-define-package): Fix inf-loop.
11079 (package-install): Allow symbols as arguments again.
11080
11081 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
11082
11083 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
11084 add some more keyword-like methods.
11085 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
11086
11087 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
11088
11089 * bs.el (bs-buffer-show-mark): Make defvar-local.
11090 (bs-mode): Use setq-local.
11091
11092 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
11093 (emacs-lock--try-unlocking): Make defvar-local.
11094
11095 2013-06-22 Glenn Morris <rgm@gnu.org>
11096
11097 * play/cookie1.el (cookie-apropos): Minor simplification.
11098
11099 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
11100
11101 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
11102
11103 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
11104 `regexp-opt', it breaks the build during dumping.
11105
11106 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
11107
11108 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11109 Highlight keyword-like methods on Kernel and Module with
11110 font-lock-builtin-face.
11111 (auto-mode-alist): Consolidate different entries into one regexp
11112 and add more *file-s.
11113
11114 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
11115
11116 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
11117
11118 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
11119 (diary-entry): Use it in the action of this button type instead of
11120 diary-goto-entry.
11121
11122 * calendar/todo-mode.el: New version.
11123 (todo-add-category): Append new category to end of file and give
11124 it the highest number, instead of putting it at the beginning and
11125 giving it 0. Incorporate noninteractive functionality.
11126 (todo-forward-category): Adapt to 1-based category numbering.
11127 Allow skipping over archived categories.
11128 (todo-backward-category): Derive from todo-forward-category.
11129 (todo-backward-item, todo-forward-item): Make noninteractive and
11130 delegate interactive part to new commands. Make sensitive to done items.
11131 (todo-categories): Make value an alist of category names and
11132 vectors of item counts.
11133 (todo-category-beg): Make a defconst.
11134 (todo-category-number): Use 1 instead of 0 as initial value.
11135 (todo-category-select): Make sensitive to overlays, optional item
11136 highlighting and done items.
11137 (todo-delete-item): Make sensitive to overlays and marked and done items.
11138 (todo-edit-item): Make sensitive to overlays and editing of
11139 date/time header optional. Add format checks.
11140 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
11141 no-op if point is not on an item. Advertise using todo-edit-quit.
11142 (todo-edit-mode): Make sensitive to new format, font-locking, and
11143 multiple todo files.
11144 (todo-insert-item, todo-insert-item-here): Derive from
11145 todo-basic-insert-item and extend functionality.
11146 (todo-item-end, todo-item-start): Make sensitive to done items.
11147 (todo-item-string): Don't return text properties. Restore point.
11148 (todo-jump-to-category): Make sensitive to multiple todo files and
11149 todo archives. Use extended category completion.
11150 (todo-lower-item, todo-raise-item): Rename to *-priority and
11151 derive from todo-set-item-priority.
11152 (todo-mode): Derive from special-mode. Make sensitive to new
11153 format, font-locking and multiple todo files. Make read-only.
11154 (todo-mode-map): Don't suppress digit keys, so they can supply
11155 prefix arguments. Add many new key bindings.
11156 (todo-prefix): Insert as an overlay instead of file text.
11157 Change semantics from diary date expression to purely visual mark.
11158 (todo-print): Rename to todo-print-buffer. Make buffer display
11159 features printable. Remove option to restrict number of items
11160 printed. Add option to print to file.
11161 (todo-print-function): Rename to todo-print-buffer-function.
11162 (todo-quit): Extend to handle exiting new todo modes.
11163 (todo-remove-item): Make sensitive to overlays.
11164 (todo-save): Extend to buffers of filtered items.
11165 (todo-show): Make sensitive to done items, multiple todo files and
11166 new todo modes. Offer to convert legacy todo file before creating
11167 first new todo file.
11168 (todo-show-priorities): Rename to todo-top-priorities.
11169 Change semantics of value 0.
11170 (todo-top-priorities): Rename to todo-filter-top-priorities,
11171 derive from todo-filter-items and extend functionality.
11172 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
11173 and extend functionality to other types of filtered items.
11174 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
11175 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
11176 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
11177 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
11178 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
11179 (todo-edit-mode-hook, todo-entry-prefix-function)
11180 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
11181 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
11182 (todo-initials, todo-insert-threshold, todo-item-string-start)
11183 (todo-line-string, todo-menu, todo-mode-hook)
11184 (todo-more-important-p, todo-previous-answer, todo-previous-line)
11185 (todo-print-priorities, todo-remove-separator)
11186 (todo-save-top-priorities-too, todo-string-count-lines)
11187 (todo-string-multiline-p, todo-time-string-format)
11188 (todo-tmp-buffer-name): Remove.
11189 (todo-add-file, todo-archive-done-item, todo-choose-archive)
11190 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
11191 (todo-edit-category-diary-inclusion)
11192 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
11193 (todo-edit-file, todo-edit-item-date-day)
11194 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
11195 (todo-edit-item-date-month, todo-edit-item-date-to-today)
11196 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
11197 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
11198 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
11199 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
11200 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
11201 (todo-filter-top-priorities-multifile, todo-find-archive)
11202 (todo-find-filtered-items-file, todo-go-to-source-item)
11203 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
11204 (todo-jump-to-archive-category, todo-lower-category)
11205 (todo-mark-category, todo-marked-item-p, todo-merge-category)
11206 (todo-move-category, todo-move-item, todo-next-button)
11207 (todo-next-item, todo-padded-string, todo-powerset)
11208 (todo-previous-button, todo-previous-item)
11209 (todo-print-buffer-to-file, todo-raise-category)
11210 (todo-rename-category, todo-repair-categories-sexp, todo-search)
11211 (todo-set-category-number, todo-set-item-priority)
11212 (todo-set-top-priorities-in-category)
11213 (todo-set-top-priorities-in-file, todo-show-categories-table)
11214 (todo-sort-categories-alphabetically-or-numerically)
11215 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
11216 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
11217 (todo-toggle-item-header, todo-toggle-item-highlighting)
11218 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
11219 (todo-toggle-view-done-items, todo-toggle-view-done-only)
11220 (todo-unarchive-items, todo-unmark-category): New commands.
11221 (todo-absolute-file-name, todo-add-to-buffer-list)
11222 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
11223 (todo-basic-insert-item, todo-category-completions)
11224 (todo-category-number, todo-category-string-matcher-1)
11225 (todo-category-string-matcher-2, todo-check-filtered-items-file)
11226 (todo-check-format, todo-clear-matches)
11227 (todo-comment-string-matcher, todo-convert-legacy-date-time)
11228 (todo-current-category, todo-date-string-matcher)
11229 (todo-define-insertion-command, todo-diary-expired-matcher)
11230 (todo-diary-goto-entry, todo-diary-item-p)
11231 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
11232 (todo-display-categories, todo-display-sorted, todo-done-item-p)
11233 (todo-done-item-section-p, todo-done-separator)
11234 (todo-done-string-matcher, todo-files, todo-filter-items)
11235 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
11236 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
11237 (todo-insert-category-line, todo-insert-item-from-calendar)
11238 (todo-insert-sort-button, todo-insert-with-overlays)
11239 (todo-insertion-command-name, todo-insertion-key-bindings)
11240 (todo-label-to-key, todo-longest-category-name-length)
11241 (todo-make-categories-list, todo-mode-external-set)
11242 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
11243 (todo-modes-set-3, todo-multiple-filter-files)
11244 (todo-nondiary-marker-matcher, todo-prefix-overlays)
11245 (todo-read-category, todo-read-date, todo-read-dayname)
11246 (todo-read-file-name, todo-read-time)
11247 (todo-reevaluate-category-completions-files-defcustom)
11248 (todo-reevaluate-default-file-defcustom)
11249 (todo-reevaluate-filelist-defcustoms)
11250 (todo-reevaluate-filter-files-defcustom)
11251 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
11252 (todo-reset-done-separator, todo-reset-done-separator-string)
11253 (todo-reset-done-string, todo-reset-global-current-todo-file)
11254 (todo-reset-highlight-item, todo-reset-nondiary-marker)
11255 (todo-reset-prefix, todo-set-categories)
11256 (todo-set-date-from-calendar, todo-set-show-current-file)
11257 (todo-set-top-priorities, todo-short-file-name)
11258 (todo-show-current-file, todo-sort, todo-time-string-matcher)
11259 (todo-total-item-counts, todo-update-buffer-list)
11260 (todo-update-categories-display, todo-update-categories-sexp)
11261 (todo-update-count, todo-validate-name, todo-y-or-n-p):
11262 New functions.
11263 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
11264 New major modes.
11265 (todo-categories, todo-display, todo-edit, todo-faces)
11266 (todo-filtered): New defgroups.
11267 (todo-archived-only, todo-button, todo-category-string, todo-date)
11268 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
11269 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
11270 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
11271 (todo-add-item-if-new-category, todo-always-add-time-string)
11272 (todo-categories-align, todo-categories-archived-label)
11273 (todo-categories-category-label, todo-categories-diary-label)
11274 (todo-categories-done-label, todo-categories-number-separator)
11275 (todo-categories-todo-label, todo-categories-totals-label)
11276 (todo-category-completions-files, todo-completion-ignore-case)
11277 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
11278 (todo-done-separator-string, todo-done-string)
11279 (todo-files-function, todo-filter-done-items, todo-filter-files)
11280 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
11281 (todo-initial-category, todo-initial-file, todo-item-mark)
11282 (todo-legacy-date-time-regexp, todo-mode-line-function)
11283 (todo-nondiary-marker, todo-number-prefix)
11284 (todo-print-buffer-function, todo-show-current-file)
11285 (todo-show-done-only, todo-show-first, todo-show-with-done)
11286 (todo-skip-archived-categories, todo-top-priorities-overrides)
11287 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
11288 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
11289 New defcustoms.
11290 (todo-category-done, todo-date-pattern, todo-date-string-start)
11291 (todo-diary-items-buffer, todo-done-string-start)
11292 (todo-filtered-items-buffer, todo-item-start)
11293 (todo-month-abbrev-array, todo-month-name-array)
11294 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
11295 (todo-top-priorities-buffer): New defconsts.
11296 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
11297 (todo-categories-with-marks, todo-category-string-face)
11298 (todo-comment-face, todo-comment-string, todo-current-todo-file)
11299 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
11300 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
11301 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
11302 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
11303 (todo-font-lock-keywords, todo-global-current-todo-file)
11304 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
11305 (todo-insertion-commands-args)
11306 (todo-insertion-commands-args-genlist)
11307 (todo-insertion-commands-names, todo-insertion-map)
11308 (todo-key-bindings-t, todo-key-bindings-t+a)
11309 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
11310 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
11311 (todo-nondiary-face, todo-print-buffer, todo-time-face)
11312 (todo-visited): New variables.
11313
11314 2013-06-21 Glenn Morris <rgm@gnu.org>
11315
11316 * play/cookie1.el (cookie-apropos): Add optional display argument.
11317 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
11318 (psychoanalyze-pinhead): Use cookie-doctor.
11319
11320 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
11321
11322 * emacs-lisp/package.el (tar-get-file-descriptor)
11323 (tar--extract): Declare.
11324
11325 2013-06-21 Eduard Wiebe <usenet@pusto.de>
11326
11327 Extend flymake's warning predicate to be a function (bug#14217).
11328 * progmodes/flymake.el (flymake-warning-predicate): New.
11329 (flymake-parse-line): Use it.
11330 (flymake-warning-re): Make obsolete alias to
11331 `flymake-warning-predicate'.
11332
11333 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11334
11335 * emacs-lisp/package.el (package-alist): Include obsolete packages.
11336 (package-obsolete-list): Remove.
11337 (package-activate): Remove min-version argument. Add `force' argument.
11338 Adjust to new package-alist format.
11339 (package-mark-obsolete): Remove.
11340 (package-unpack): Force reload of the package's autoloads.
11341 (package-installed-p): Check builtins if the installed package is not
11342 recent enough.
11343 (package-initialize): Don't reset package-obsolete-list.
11344 Don't specify which package version to activate.
11345 (package-process-define-package, describe-package-1)
11346 (package-menu--generate): Adjust to new package-alist format.
11347
11348 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
11349
11350 * allout-widgets.el (allout-widgets-mode-off)
11351 (allout-widgets-mode-on, allout-widgets-pre-command-business)
11352 (allout-widgets-post-command-business)
11353 (allout-widgets-after-copy-or-kill-function)
11354 (allout-widgets-after-undo-function, allout-test-range-overlaps)
11355 (allout-decorate-item-and-context)
11356 (allout-graphics-modification-handler): Fix typos in docstrings.
11357 (allout-get-or-create-parent-widget): Use `looking-at-p'.
11358
11359 * cmuscheme.el (scheme-start-file): Doc fix.
11360 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
11361 (scheme-input-filter): Use `string-match-p'.
11362
11363 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
11364
11365 * dired-x.el: Use Dired consistently in docstrings.
11366
11367 * dired.el: Use Dired consistently in docstrings.
11368 (dired-readin, dired-mode): Use `setq-local'.
11369 (dired-switches-alist): Make defvar-local.
11370 (dired-buffers-for-dir): Use `zerop'.
11371 (dired-safe-switches-p, dired-switches-escape-p)
11372 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
11373 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
11374 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
11375 (dired-goto-next-nontrivial-file): Use `string-match-p'.
11376 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
11377 (dired-toggle-marks, dired-mark-files-containing-regexp)
11378 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
11379 (dired-flag-auto-save-files, dired-flag-backup-files):
11380 Use `looking-at-p'.
11381 (dired-mark-files-regexp, dired-build-subdir-alist):
11382 Use `string-match-p', `looking-at-p'.
11383
11384 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
11385 (direct-print-region-helper): Use `string-match-p'.
11386
11387 2013-06-21 Leo Liu <sdl.web@gmail.com>
11388
11389 * comint.el (comint-redirect-results-list-from-process):
11390 Fix infinite loop.
11391
11392 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11393
11394 * net/eww.el (eww-update-header-line-format): Quote % characters.
11395
11396 2013-06-21 Glenn Morris <rgm@gnu.org>
11397
11398 * play/cookie1.el (cookie): New custom group.
11399 (cookie-file): New option.
11400 (cookie-check-file): New function.
11401 (cookie): Make it interactive. Make start and end messages optional.
11402 Interactively, display the result. Default to cookie-file.
11403 (cookie-insert): Default to cookie-file.
11404 (cookie-snarf): Make start and end messages optional.
11405 Default to cookie-file. Use with-temp-buffer.
11406 (cookie-read): Rename from read-cookie.
11407 Make start and end messages optional. Default to cookie-file.
11408 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
11409 Do not autoload it.
11410 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
11411 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
11412
11413 2013-06-21 Leo Liu <sdl.web@gmail.com>
11414
11415 * progmodes/octave.el (octave-mode): Backward compatibility fix.
11416
11417 2013-06-21 Glenn Morris <rgm@gnu.org>
11418
11419 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
11420
11421 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11422 Daniel Hackney <dan@haxney.org>
11423
11424 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
11425 Consolidate the single-file vs tarball code.
11426 (package-desc-suffix): New function.
11427 (package-desc-full-name): Don't bother inlining it.
11428 (package-load-descriptor): Return the new package-desc.
11429 (package-mark-obsolete): Remove unused arg `package'.
11430 (package-unpack): Make it work for single files as well.
11431 Make it update package-alist.
11432 (package--make-autoloads-and-stuff): Rename from
11433 package--make-autoloads-and-compile. Don't compile any more.
11434 (package--compile): New function.
11435 (package-generate-description-file): New function, extracted from
11436 package-unpack-single.
11437 (package-unpack-single): Remove.
11438 (package--with-work-buffer): Add indentation and debugging info.
11439 (package-download-single): Remove.
11440 (package-install-from-archive): Rename from package-download-tar, make
11441 it take a pkg-desc, and make it work for single files as well.
11442 (package-download-transaction): Simplify.
11443 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
11444 external tar program.
11445 (package-install-from-buffer): Remove `pkg-desc' argument.
11446 Use package-tar-file-info for tar-mode buffers.
11447 (package-install-file): Simplify accordingly.
11448 (package-archive-base): Change to take a pkg-desc.
11449 * tar-mode.el (tar--check-descriptor): New function, extracted from
11450 tar-get-descriptor.
11451 (tar-get-descriptor): Use it.
11452 (tar-get-file-descriptor): New function.
11453 (tar--extract): New function, extracted from tar-extract.
11454 (tar--extract): Use it.
11455 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
11456 case the summary uses non-ascii. Adjust to new calling convention of
11457 package-tar-file-info.
11458
11459 2013-06-21 Leo Liu <sdl.web@gmail.com>
11460
11461 * comint.el (comint-redirect-results-list-from-process):
11462 Fix random delay. (Bug#14681)
11463
11464 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
11465
11466 * profiler.el (profiler-format-number): Use log, not log10.
11467
11468 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
11469
11470 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
11471
11472 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
11473
11474 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
11475 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
11476 yet available.
11477 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
11478 (AUTOGENEL): ... here.
11479 * emacs-lisp/cl-macs.el (cl--sublis): New function.
11480 (cl--defsubst-expand): Use it.
11481
11482 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
11483
11484 * subr.el (log10): Move here from C code, and declare as obsolete.
11485 All uses of (log10 X) replaced with (log X 10).
11486
11487 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
11488
11489 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
11490 Declare with `defvar-local'.
11491 (tabulated-list-use-header-line, tabulated-list-entries)
11492 (tabulated-list-padding, tabulated-list-printer)
11493 (tabulated-list-sort-key): Declare with `defvar-local'.
11494 (tabulated-list-init-header, tabulated-list-print-fake-header):
11495 Use `setq-local'.
11496
11497 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
11498
11499 * arc-mode.el (archive-mode): Add `archive-write-file' to
11500 `write-contents-functions' also for remote files. (Bug#14652)
11501
11502 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
11503
11504 * cus-edit.el (custom-commands): Fix typos.
11505 (custom-display): Fix tooltip text.
11506 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
11507 Fix typos in docstrings.
11508 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
11509 (custom-unlispify-menu-entry, custom-magic-value-create)
11510 (custom-add-see-also, custom-group-value-create): Use ?\s.
11511 (custom-guess-type, customize-apropos, editable-field)
11512 (custom-face-value-create): Use `string-match-p'.
11513 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
11514
11515 * custom.el (custom-load-symbol): Use `string-match-p'.
11516
11517 * ansi-color.el: Convert to lexical binding.
11518 (ansi-colors): Fix URL.
11519 (ansi-color-context, ansi-color-context-region): Use defvar-local.
11520 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
11521 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
11522
11523 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11524
11525 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
11526
11527 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
11528
11529 2013-06-19 Tom Tromey <tromey@redhat.com>
11530
11531 * net/eww.el (eww-top-url): Remove.
11532 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
11533 (eww-render): Set new variables. Don't set eww-top-url.
11534 (eww-handle-link): Handle "prev", "home", and "contents".
11535 Downcase the rel text.
11536 (eww-top-url): Choose best top URL.
11537
11538 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11539
11540 * net/eww.el: Rewrite to implement form elements "by hand" instead of
11541 relying in widget.el. Using widget.el leads to too many
11542 user interface inconsistencies.
11543 (eww-self-insert): Implement entering commands in text fields.
11544 (eww-process-text-input): New function to make text input field editing
11545 work.
11546 (eww-submit): Rewrite to use the new-style form methods.
11547 (eww-select-display): Display the correct selected item.
11548 (eww-change-select): Implement changing the select value.
11549 (eww-toggle-checkbox): Implement radio/checkboxes.
11550 (eww-update-field): Fix compilation error.
11551 (eww-tag-textarea): Implement <textarea>.
11552
11553 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
11554 we don't shadow mode-specific bindings.
11555
11556 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
11557 nothing to push.
11558
11559 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
11560
11561 2013-06-19 Glenn Morris <rgm@gnu.org>
11562
11563 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
11564
11565 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
11566
11567 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
11568 not needed.
11569
11570 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
11571
11572 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11573
11574 * net/browse-url.el (browse-url-browser-function):
11575 `eww-browse-url' has the right calling signature, `eww' does not.
11576
11577 2013-06-19 Glenn Morris <rgm@gnu.org>
11578
11579 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
11580 Only eval autoloaded macros.
11581 (byte-compile-autoload): Only give the macro warning for macros.
11582
11583 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
11584 (ps-underlined-faces): Declare.
11585
11586 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
11587 (speedbar-add-supported-extension): Declare.
11588
11589 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
11590 Don't include a date stamp in the header of the generated file;
11591 it leads to needless differences between output files.
11592
11593 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
11594
11595 * net/secrets.el (secrets-struct-secret-content-type):
11596 Replace check of introspection data by a test call of "CreateItem".
11597 Some servers do not offer introspection.
11598
11599 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
11600
11601 * electric.el (electric-pair-mode): Improve interaction with
11602 electric-layout-mode.
11603 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
11604 (electric-pair-syntax): Use text-mode-syntax-table in comments
11605 and strings.
11606 (electric-pair--insert): New function.
11607 (electric-pair-post-self-insert-function): Use it and
11608 electric--after-char-pos.
11609
11610 2013-06-19 Leo Liu <sdl.web@gmail.com>
11611
11612 * progmodes/octave.el (octave-help): Fix regexp.
11613
11614 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
11615
11616 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
11617 (shr-table-horizontal-line): Allow nil as a value, and change the
11618 default.
11619 (shr-insert-table-ruler): Respect the nil value.
11620
11621 2013-06-18 Tom Tromey <tromey@barimba>
11622
11623 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
11624 New defvars.
11625 (eww-open-file): New defun.
11626 (eww-render): Initialize new variables.
11627 (eww-display-html): Handle "link" and "a".
11628 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
11629 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
11630 (eww-back-url): Rename from eww-previous-url.
11631 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
11632 New defuns.
11633
11634 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
11635
11636 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
11637 Distinguish ternary operator tokens from slash symbol and slash
11638 char literal.
11639
11640 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
11641
11642 Convert symbol prettification into minor mode and global minor mode.
11643
11644 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
11645 `prog-prettify-symbols', and make a local defvar instead of defcustom.
11646 (prettify-symbols--keywords): Rename from
11647 `prog-prettify-symbols-alist' and make a local defvar.
11648 (prettify-symbols--compose-symbol): Rename from
11649 `prog--prettify-font-lock-compose-symbol'.
11650 (prettify-symbols--make-keywords): Rename from
11651 `prog-prettify-font-lock-symbols-keywords' and simplify.
11652 (prog-prettify-install): Remove.
11653 (prettify-symbols-mode): New minor mode, based on
11654 `prog-prettify-install'.
11655 (turn-on-prettify-symbols-mode): New function.
11656 (global-prettify-symbols-mode): New globalized minor mode.
11657
11658 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
11659 * progmodes/cfengine.el (cfengine3-mode):
11660 * progmodes/perl-mode.el (perl-mode): Don't call
11661 `prog-prettify-install'; set `prettify-symbols-alist' instead.
11662
11663 2013-06-18 Juri Linkov <juri@jurta.org>
11664
11665 * files-x.el (modify-file-local-variable-message): New function.
11666 (modify-file-local-variable)
11667 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
11668 and call `modify-file-local-variable-message' when it's non-nil.
11669 (add-file-local-variable, delete-file-local-variable)
11670 (add-file-local-variable-prop-line)
11671 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
11672 and use it. (Bug#9820)
11673
11674 2013-06-18 Juri Linkov <juri@jurta.org>
11675
11676 * emulation/vi.el (vi-shell-op):
11677 * emulation/vip.el (vip-execute-com, ex-command):
11678 * emulation/viper-cmd.el (viper-exec-bang):
11679 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
11680 the call of `shell-command-on-region'. (Bug#14637)
11681
11682 * simple.el (shell-command-on-region): Doc fix.
11683
11684 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
11685
11686 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
11687 (bug#14633).
11688
11689 2013-06-18 Glenn Morris <rgm@gnu.org>
11690
11691 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
11692
11693 * newcomment.el (comment-search-forward, comment-search-backward):
11694 Doc fix. (Bug#14376)
11695
11696 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
11697
11698 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
11699 (buffer-face-mode-invoke): Doc fix.
11700
11701 2013-06-18 Matthias Meulien <orontee@gmail.com>
11702
11703 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
11704 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
11705
11706 2013-06-18 Glenn Morris <rgm@gnu.org>
11707
11708 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
11709 Replace obsolete function generic-make-keywords with its expansion.
11710
11711 * progmodes/python.el (ffap-alist): Declare.
11712
11713 * textmodes/reftex.el (bibtex-mode-map): Declare.
11714
11715 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
11716
11717 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
11718 (package-unpack, package-unpack-single): Return the pkg-dir.
11719 (package-download-transaction): Use it to update package-alist.
11720
11721 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11722
11723 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
11724 possible choice.
11725
11726 2013-06-17 Juri Linkov <juri@jurta.org>
11727
11728 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
11729
11730 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
11731
11732 * emacs-lisp/package.el (package-load-descriptor):
11733 Remove `with-syntax-table' call, `read' doesn't need it.
11734 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
11735
11736 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
11737
11738 * startup.el (command-line): Expand package name returned by
11739 `package--description-file' (bug#14639).
11740
11741 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
11742
11743 * emacs-lisp/package.el (package-load-descriptor): Do not call
11744 `emacs-lisp-mode', just use its syntax table.
11745
11746 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
11747
11748 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
11749 `font-lock-extra-managed-props' if any prettifying keyword is added.
11750 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
11751 (prog-mode): Use `setq-local'.
11752
11753 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
11754
11755 * international/characters.el (standard-case-table): Set syntax of ?»
11756 and ?« to punctuation.
11757
11758 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
11759
11760 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
11761 Save relevant match data before calling `syntax-ppss' (bug#14595).
11762
11763 2013-06-15 Juri Linkov <juri@jurta.org>
11764
11765 * files-x.el (modify-file-local-variable-prop-line): Add local
11766 variables to the end of the existing comment on the first line.
11767 Use `file-auto-mode-skip' to skip interpreter magic line,
11768 and also skip XML declaration.
11769
11770 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11771
11772 * startup.el (package--builtin-versions): New var.
11773 (package-subdirectory-regexp): Remove.
11774 (package--description-file): Hard code its value instead.
11775
11776 * emacs-lisp/package.el: Don't activate packages older than builtin.
11777 (package-obsolete-list): Rename from package-obsolete-alist, and make
11778 it into a simple list of package-desc.
11779 (package-strip-version): Remove.
11780 (package-built-in-p): Use package--builtin-versions.
11781 (package-mark-obsolete): Simplify.
11782 (package-process-define-package): Mark it obsolete if older than the
11783 builtin version.
11784 (package-handle-response): Use line-end-position.
11785 (package-read-archive-contents, package--download-one-archive):
11786 Simplify.
11787 (package--add-to-archive-contents): Skip if older than the builtin or
11788 installed version.
11789 (package-menu-describe-package): Fix last change.
11790 (package-list-unversioned): New var.
11791 (package-menu--generate): Use it.
11792
11793 * emacs-lisp/autoload.el: Manage package--builtin-versions.
11794 (autoload--insert-text, autoload--insert-cookie-text): New functions.
11795 (autoload-builtin-package-versions): New variable.
11796 (autoload-generate-file-autoloads): Use them.
11797 Remove the list of autoloaded functions/macros from the
11798 (autoload...) comments.
11799
11800 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
11801
11802 2013-06-15 Eli Zaretskii <eliz@gnu.org>
11803
11804 * simple.el (line-move-partial): Don't jump to the next screen
11805 line as soon as it becomes visible. Instead, continue enlarging
11806 the vscroll until the portion of a tall screen line that's left on
11807 display is about the height of the frame's default font.
11808 (Bug#14567)
11809
11810 2013-06-15 Glenn Morris <rgm@gnu.org>
11811
11812 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
11813 compilation-error-regexp-alist void, or local while let-bound.
11814
11815 * progmodes/make-mode.el (makefile-mode-syntax-table):
11816 Treat "=" as punctuation. (Bug#14614)
11817
11818 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
11819
11820 * help-fns.el (describe-variable):
11821 Add extra line for permanent-local variables.
11822
11823 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
11824
11825 * progmodes/scheme.el (scheme-font-lock-keywords-2):
11826 Add export, import, library. (Bug#9164)
11827 (library): Set indent function.
11828
11829 2013-06-14 Glenn Morris <rgm@gnu.org>
11830
11831 * term/xterm.el (xterm--query):
11832 Stop after first matching handler. (Bug#14615)
11833
11834 2013-06-14 Ivan Kanis <ivan@kanis.fr>
11835
11836 Add support for dired in saveplace.
11837 * dired.el (dired-initial-position-hook): New variable.
11838 (dired-initial-position): Call hook to place cursor position.
11839 * saveplace.el (save-place-to-alist): Add dired position.
11840 (save-place-dired-hook): New function.
11841
11842 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
11843
11844 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
11845 through a symbol rather than letrec.
11846
11847 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
11848 (package-desc): Add `dir' field.
11849 (package-desc-full-name): New function.
11850 (package-load-descriptor): Combine the two arguments. Don't use `load'.
11851 (package-maybe-load-descriptor): Remove.
11852 (package-load-all-descriptors): Just call package-load-descriptor.
11853 (package--disabled-p): New function.
11854 (package-desc-vers, package-desc-doc): Remove aliases.
11855 (package--dir): Remove function.
11856 (package-activate): Check if a package is disabled.
11857 (package-process-define-package): New function, extracted from
11858 define-package.
11859 (define-package): Turn into a place holder.
11860 (package-unpack-single, package-tar-file-info):
11861 Use package--description-file.
11862 (package-compute-transaction): Use package--disabled-p.
11863 (package-download-transaction): Don't call
11864 package-maybe-load-descriptor since they're all loaded anyway.
11865 (package-install): Change argument to be a pkg-desc.
11866 (package-delete): Use a single pkg-desc argument.
11867 (describe-package-1): Use package-desc-dir instead of package--dir.
11868 Use package-desc property instead of package-symbol.
11869 (package-install-button-action): Adjust accordingly.
11870 (package--push): Rewrite.
11871 (package-menu--print-info): Adjust accordingly. Change the ID format
11872 to be a pkg-desc.
11873 (package-menu-describe-package, package-menu-get-status)
11874 (package-menu--find-upgrades, package-menu-mark-upgrades)
11875 (package-menu-execute, package-menu--name-predicate):
11876 Adjust accordingly.
11877 * startup.el (package--description-file): New function.
11878 (command-line): Use it.
11879 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11880 Use package-desc-version.
11881
11882 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
11883 (byte-compile-preprocess): Use it.
11884 (byte-compile-file-form-defalias): Try a bit harder to use macros we
11885 can't quite recognize.
11886 (byte-compile-add-to-list): Remove.
11887 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
11888 (cconv-closure-convert): Add assertion.
11889
11890 * emacs-lisp/map-ynp.el: Use lexical-binding.
11891 (map-y-or-n-p): Remove unused vars `tail' and `object'.
11892 Factor out some repeated code.
11893
11894 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
11895
11896 * subr.el (with-eval-after-load): New macro.
11897 (eval-after-load): Allow form to be a function.
11898 take advantage of lexical-binding.
11899 (do-after-load-evaluation): Use dolist and adjust to new format.
11900 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
11901
11902 2013-06-13 Juri Linkov <juri@jurta.org>
11903
11904 * replace.el (perform-replace): Display "symbol " and other search
11905 modes from `isearch-message-prefix' in the *Help* buffer.
11906
11907 * isearch.el (isearch-query-replace): Add " symbol" and other
11908 possible search modes from `isearch-message-prefix' to the prompt.
11909 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
11910 when reading a regexp to collect.
11911
11912 2013-06-13 Juri Linkov <juri@jurta.org>
11913
11914 * isearch.el (word-search-regexp): Match whitespace if the search
11915 string begins or ends in whitespace. The LAX arg is applied to
11916 both ends of the search string. Use `regexp-quote' and explicit
11917 \< and \> instead of \b. Use \` and \' instead of ^ and $.
11918 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
11919 boundaries are replaced with symbol boundaries, and characters
11920 between symbols match non-word non-symbol syntax. (Bug#14602)
11921
11922 2013-06-13 Juri Linkov <juri@jurta.org>
11923
11924 * isearch.el (isearch-del-char): Don't exceed the length of
11925 `isearch-string' by the prefix arg. (Bug#14563)
11926
11927 2013-06-13 Juri Linkov <juri@jurta.org>
11928
11929 * isearch.el (isearch-yank-word, isearch-yank-line)
11930 (isearch-char-by-name, isearch-quote-char)
11931 (isearch-printing-char, isearch-process-search-char):
11932 Add optional count prefix arg. (Bug#14563)
11933
11934 * international/isearch-x.el
11935 (isearch-process-search-multibyte-characters):
11936 Add optional count prefix arg.
11937
11938 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
11939
11940 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
11941 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
11942 lexical-binding.
11943
11944 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
11945
11946 * subr.el (set-temporary-overlay-map): Add on-exit argument.
11947
11948 2013-06-13 Glenn Morris <rgm@gnu.org>
11949
11950 * startup.el (tty-handle-args):
11951 Don't just discard "--" and anything after. (Bug#14608)
11952
11953 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
11954
11955 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
11956
11957 Implement changes in Secret Service API. Make it backward compatible.
11958 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
11959 (secrets-create-item): Use it. Prefix properties with interface.
11960
11961 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
11962
11963 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
11964 (term-emulate-terminal): Respect term-suppress-hard-newline.
11965
11966 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
11967
11968 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
11969 Only remove a `thumb-file' overlay. (Bug#14548)
11970
11971 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
11972
11973 * mail/reporter.el (reporter-submit-bug-report):
11974 Handle missing package-name. (Bug#14600)
11975
11976 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11977
11978 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
11979 (reftex-citation-prompt, reftex-default-bibliography)
11980 (reftex-bib-or-thebib, reftex-get-bibfile-list)
11981 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
11982 (reftex-bib-sort-author, reftex-bib-sort-year)
11983 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
11984 (reftex-extract-bib-entries-from-thebibliography)
11985 (reftex-get-bibkey-default, reftex-get-bib-names)
11986 (reftex-parse-bibtex-entry, reftex-get-bib-field)
11987 (reftex-format-bib-entry, reftex-parse-bibitem)
11988 (reftex-format-bibitem, reftex-do-citation)
11989 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
11990 (reftex-restrict-bib-matches, reftex-extract-bib-file)
11991 (reftex-insert-bib-matches, reftex-format-citation)
11992 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
11993 (reftex-create-bibtex-file): Add docstrings, mostly by converting
11994 existing comments into docstrings.
11995
11996 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
11997
11998 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
11999
12000 2013-06-12 Andreas Schwab <schwab@suse.de>
12001
12002 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
12003 for auto-save files.
12004
12005 2013-06-12 Glenn Morris <rgm@gnu.org>
12006
12007 * ido.el (ido-delete-ignored-files): Remove.
12008 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
12009 Go back to calling ido-ignore-item-p directly.
12010
12011 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
12012
12013 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
12014
12015 * ido.el (ido-delete-ignored-files): New function,
12016 split from ido-make-file-list-1.
12017 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
12018 (ido-make-file-list-1): Use ido-delete-ignored-files.
12019
12020 2013-06-12 Leo Liu <sdl.web@gmail.com>
12021
12022 * progmodes/octave.el (inferior-octave-startup)
12023 (inferior-octave-completion-table)
12024 (inferior-octave-track-window-width-change)
12025 (octave-eldoc-function-signatures, octave-help)
12026 (octave-find-definition): Use single quoted strings.
12027 (inferior-octave-startup-args): Change default value.
12028 (inferior-octave-startup): Do not hard code "-i" and
12029 "--no-line-editing".
12030 (inferior-octave-resync-dirs): Add optional arg NOERROR.
12031 (inferior-octave-directory-tracker): Use it.
12032 (octave-goto-function-definition): Robustify.
12033 (octave-help): Support highlighting operators in 'See also'.
12034 (octave-find-definition): Find subfunctions only in Octave mode.
12035
12036 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12037
12038 * help-fns.el (help-fns--compiler-macro): If the handler function is
12039 named, then put a link to it.
12040 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
12041 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
12042 (cl-typep): Use it.
12043 (cl-eval-when): Simplify debug spec.
12044 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
12045 compiler-macro function instead of setting `compiler-macro-file'.
12046
12047 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
12048
12049 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
12050 * vc/vc-hooks.el (vc-stay-local): Doc fix.
12051
12052 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12053 Daniel Hackney <dan@haxney.org>
12054
12055 First part of Daniel Hackney's patch to package.el.
12056 * emacs-lisp/package.el: Use defstruct.
12057 (package-desc): New, main struct.
12058 (package--bi-desc, package--ac-desc): New structs, used to describe the
12059 format in external files.
12060 (package-desc-vers): Replace with package-desc-version accessor.
12061 (package-desc-doc): Replace with package-desc-summary accessor.
12062 (package-activate-1): Remove `package' arg since the pkg-vec now
12063 includes the name.
12064 (define-package): Use package-desc-from-define.
12065 (package-unpack-single): Change file-name arg to be a symbol.
12066 (package--add-to-archive-contents): Use package-desc-create and new
12067 accessor functions to package--ac-desc.
12068 (package-buffer-info, package-tar-file-info): Return a package-desc.
12069 (package-install-from-buffer): Remove `type' argument. Change pkg-info
12070 arg to be a package-desc.
12071 (package-install-file): Adjust accordingly. Use \' to match EOS.
12072 (package--from-builtin): New function.
12073 (describe-package-1, package-menu--generate): Use it.
12074 (package--make-autoloads-and-compile): Change name arg to be a symbol.
12075 (package-generate-autoloads): Idem and return the name of the file.
12076 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12077 Change pkg-info arg to be a package-desc.
12078 Use package-make-ac-desc.
12079 (package-upload-file): Use \' to match EOS.
12080 * finder.el (finder-compile-keywords): Use package-make-builtin.
12081
12082 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12083
12084 * vc/vc.el (vc-deduce-fileset): Change error message.
12085 (vc-read-backend): New function.
12086 (vc-next-action): Use it.
12087
12088 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
12089
12090 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
12091 (prolog-font-lock-keywords): Use regexp-opt instead.
12092 Don't manually highlight strings.
12093 (prolog-mode-variables): Simplify comment-start-skip.
12094 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
12095
12096 * emacs-lisp/generic.el (generic--normalise-comments)
12097 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
12098 (generic-mode-set-comments): Use them.
12099 (generic-bracket-support): Use setq-local.
12100 (generic-make-keywords-list): Declare obsolete.
12101
12102 2013-06-11 Glenn Morris <rgm@gnu.org>
12103
12104 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12105 Prettify after setting font-lock-defaults. (Bug#14574)
12106
12107 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
12108
12109 * replace.el (query-replace, occur-read-regexp-defaults-function)
12110 (replace-search):
12111 * subr.el (declare-function, number-sequence, local-set-key)
12112 (substitute-key-definition, locate-user-emacs-file)
12113 (with-silent-modifications, split-string, eval-after-load):
12114 Fix typos, remove unneeded backslashes and reflow some docstrings.
12115
12116 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12117
12118 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
12119 default for Elisp files.
12120
12121 2013-06-11 Glenn Morris <rgm@gnu.org>
12122
12123 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
12124 although define-derived-mode was doing this anyway. (Bug#14583)
12125
12126 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
12127
12128 * allout.el (allout-encryption-plaintext-sanitization-regexps):
12129 Fix make-variable-buffer-local call to refer to the correct variable.
12130
12131 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
12132
12133 * eshell/em-term.el (eshell-visual-commands)
12134 (eshell-visual-subcommands, eshell-visual-options):
12135 Add summary line to docstrings. Add cross-references.
12136
12137 2013-06-10 Glenn Morris <rgm@gnu.org>
12138
12139 * epa.el (epa-read-file-name): New function. (Bug#14510)
12140 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
12141
12142 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
12143
12144 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
12145 output redirection to be ignored with visual commands.
12146
12147 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
12148
12149 * eshell/em-term.el (eshell-visual-command-p): New function.
12150 (eshell-term-initialize): Move long lambda to separate function
12151 eshell-visual-command-p.
12152 * eshell/em-dirs.el (eshell-dirs-initialize):
12153 * eshell/em-script.el (eshell-script-initialize):
12154 Add missing #' to lambda.
12155
12156 2013-06-08 Leo Liu <sdl.web@gmail.com>
12157
12158 * progmodes/octave.el (octave-add-log-current-defun): New function.
12159 (octave-mode): Set add-log-current-defun-function.
12160 (octave-goto-function-definition): Do not move point if not found.
12161 (octave-find-definition): Enhance to try subfunctions first.
12162
12163 2013-06-08 Glenn Morris <rgm@gnu.org>
12164
12165 * emacs-lisp/bytecomp.el (byte-compile-char-before)
12166 (byte-compile-backward-char, byte-compile-backward-word):
12167 Improve previous change, to handle non-explicit nil.
12168
12169 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12170
12171 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
12172 (smie--opener/closer-at-point): New function.
12173 (smie--matching-block-data): Use it. Don't match from right after an
12174 opener or right before a closer. Obey smie-blink-matching-inners.
12175 Don't signal a mismatch for repeated inners like "switch..case..case".
12176
12177 2013-06-07 Leo Liu <sdl.web@gmail.com>
12178
12179 * progmodes/octave.el (octave-mode): Set comment-use-global-state
12180 to t. (Bug#14303)
12181 (octave-function-header-regexp): Fix. (Bug#14570)
12182 (octave-help-mode-finish-hook, octave-help-mode-finish):
12183 Remove. Just use temp-buffer-show-hook.
12184
12185 * newcomment.el (comment-search-backward): Revert last change.
12186 (Bug#14434)
12187
12188 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
12189
12190 2013-06-07 Eli Zaretskii <eliz@gnu.org>
12191
12192 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
12193 through xargs, to avoid failure due to MS-Windows limitations on
12194 command-line length.
12195
12196 2013-06-06 Glenn Morris <rgm@gnu.org>
12197
12198 * font-lock.el (lisp-font-lock-keywords-2):
12199 Treat user-error like error.
12200
12201 * emacs-lisp/bytecomp.el (byte-compile-char-before)
12202 (byte-compile-backward-char, byte-compile-backward-word):
12203 Handle explicit nil arguments. (Bug#14565)
12204
12205 2013-06-05 Alan Mackenzie <acm@muc.de>
12206
12207 * isearch.el (isearch-allow-prefix): New user option.
12208 (isearch-other-meta-char): Don't exit isearch when a prefix
12209 argument is typed whilst `isearch-allow-prefix' is non-nil.
12210 (Bug#9706)
12211
12212 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12213
12214 * autorevert.el (auto-revert-notify-handler): Use memq.
12215 Hide assertion failure.
12216
12217 * skeleton.el: Use cl-lib.
12218 (skeleton-further-elements): Use defvar-local.
12219 (skeleton-insert): Use cl-progv.
12220
12221 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
12222
12223 * progmodes/prog-mode.el (prog-prettify-symbols)
12224 (prog-prettify-install): Update docstrings.
12225
12226 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12227
12228 * simple.el: Move all the prog-mode code to prog-mode.el.
12229 * progmodes/prog-mode.el: New file.
12230 * loadup.el: Add prog-mode.el.
12231
12232 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
12233
12234 * simple.el (prog-prettify-symbols): Add version.
12235 (prog-prettify-install): Add convenience function to prettify symbols.
12236
12237 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
12238 (perl--augmented-font-lock-keywords-1)
12239 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
12240 variables and use it.
12241
12242 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
12243 (cfengine3-mode): Remove unneeded variable and use it.
12244
12245 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
12246 (lisp--augmented-font-lock-keywords-1)
12247 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
12248 Remove unneeded variables and use it.
12249
12250 2013-06-05 João Távora <joaotavora@gmail.com>
12251
12252 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
12253 to point when opening the connection. (Bug#14380)
12254
12255 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12256
12257 * subr.el (load-history-regexp, load-history-filename-element)
12258 (eval-after-load, after-load-functions, do-after-load-evaluation)
12259 (eval-next-after-load, display-delayed-warnings)
12260 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
12261 definition of save-match-data.
12262 (overriding-local-map): Remove accidental obsolescence declaration.
12263
12264 * emacs-lisp/edebug.el (edebug-result): Move before first use.
12265
12266 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
12267
12268 Generalize symbol prettify support to prog-mode and implement it
12269 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
12270 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
12271 (prog--prettify-font-lock-compose-symbol)
12272 (prog-prettify-font-lock-symbols-keywords): New variables and
12273 functions to support symbol prettification.
12274 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
12275 (lisp--augmented-font-lock-keywords-1)
12276 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
12277 (lisp--prettify-symbols-alist): Implement prettify of lambda.
12278 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
12279 (cfengine3--prettify-symbols-alist, cfengine3-mode):
12280 Implement prettify of -> => :: strings.
12281 * progmodes/perl-mode.el (perl-prettify-symbols)
12282 (perl--font-lock-compose-symbol)
12283 (perl--font-lock-symbols-keywords): Move to prog-mode.
12284 (perl--prettify-symbols-alist): Prettify -> => :: strings.
12285 (perl-font-lock-keywords-1)
12286 (perl-font-lock-keywords-2): Remove explicit prettify support.
12287 (perl--augmented-font-lock-keywords)
12288 (perl--augmented-font-lock-keywords-1)
12289 (perl--augmented-font-lock-keywords-2, perl-mode):
12290 Implement prettify support.
12291
12292 2013-06-05 Leo Liu <sdl.web@gmail.com>
12293
12294 Re-implement SMIE matching block highlight using
12295 show-paren-data-function. (Bug#14395)
12296 * emacs-lisp/smie.el (smie-matching-block-highlight)
12297 (smie--highlight-matching-block-overlay)
12298 (smie--highlight-matching-block-lastpos)
12299 (smie-highlight-matching-block)
12300 (smie-highlight-matching-block-mode): Remove.
12301 (smie--matching-block-data-cache): New variable.
12302 (smie--matching-block-data): New function.
12303 (smie-setup): Use smie--matching-block-data for
12304 show-paren-data-function.
12305
12306 * progmodes/octave.el (octave-mode-menu): Fix.
12307 (octave-find-definition): Skip garbage lines.
12308
12309 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12310
12311 Fix compilation error with simultaneous dynamic+lexical scoping.
12312 Add warning when a defvar appears after the first let-binding.
12313 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
12314 (byte-compile-close-variables): Initialize it.
12315 (byte-compile--declare-var): New function.
12316 (byte-compile-file-form-defvar)
12317 (byte-compile-file-form-define-abbrev-table)
12318 (byte-compile-file-form-custom-declare-variable): Use it.
12319 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
12320 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
12321 (byte-compile-bind): Handle dynamic bindings that shadow
12322 lexical bindings.
12323 (byte-compile-unbind): Make arg non-optional.
12324 (byte-compile-let): Simplify.
12325 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
12326 (cconv--analyse-function, cconv-analyse-form): Populate it.
12327 Protect byte-compile-bound-variables to limit the scope of defvars.
12328 (cconv-analyse-form): Add missing rule for (defvar <foo>).
12329 Remove unneeded rule for `declare'.
12330
12331 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
12332 so as to avoid depending on cl-adjoin at run-time.
12333 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
12334
12335 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
12336 (macroexp--warn-and-return): Use it.
12337
12338 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12339
12340 * subr.el: Convert to lexical binding.
12341 (overriding-local-map): Make obsolete.
12342 (add-to-list): Doc fix. Add compiler macro.
12343 (read-key): Swap values of local maps.
12344
12345 2013-06-05 Leo Liu <sdl.web@gmail.com>
12346
12347 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
12348
12349 2013-06-04 Leo Liu <sdl.web@gmail.com>
12350
12351 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
12352 (compilation-auto-jump): Suppress the "Mark set" message to give
12353 way to exit message.
12354
12355 2013-06-04 Alan Mackenzie <acm@muc.de>
12356
12357 Remove faulty optimisation from indentation calculation.
12358 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
12359 search limit based on 2000 characters back from indent-point.
12360
12361 2013-06-03 Tassilo Horn <tsdh@gnu.org>
12362
12363 * eshell/em-term.el (cl-lib): Require `cl-lib'.
12364
12365 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
12366
12367 * emacs-lisp/lisp.el: Use lexical-binding.
12368 (lisp--local-variables-1, lisp--local-variables): New functions.
12369 (lisp--local-variables-completion-table): New var.
12370 (lisp-completion-at-point): Use it complete let-bound vars.
12371
12372 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
12373 eagerly (bug#14422).
12374
12375 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
12376
12377 * autorevert.el (auto-revert-notify-enabled)
12378 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
12379 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
12380 (auto-revert-notify-handler): Handle also gfilenotify.
12381
12382 * subr.el (file-notify-handle-event): New defun. Replacing ...
12383 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
12384 Remove.
12385
12386 2013-06-03 Juri Linkov <juri@jurta.org>
12387
12388 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
12389 `M-s h .'. (Bug#14427)
12390
12391 * hi-lock.el (highlight-symbol-at-point): New alias for the new
12392 command `hi-lock-face-symbol-at-point'.
12393 (hi-lock-face-symbol-at-point): New command.
12394 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
12395 (hi-lock-menu): Add `highlight-symbol-at-point'.
12396 (hi-lock-mode): Doc fix.
12397
12398 * isearch.el (isearch-forward-symbol-at-point): New command.
12399 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
12400 (isearch-highlight-regexp): Add a regexp which matches
12401 words/symbols for word/symbol mode.
12402
12403 * subr.el (find-tag-default-bounds): New function with the body
12404 mostly moved from `find-tag-default'.
12405 (find-tag-default): Move most code to `find-tag-default-bounds',
12406 call it and apply `buffer-substring-no-properties' afterwards.
12407
12408 2013-06-03 Tassilo Horn <tsdh@gnu.org>
12409
12410 * eshell/em-term.el (eshell-term-initialize):
12411 Use `cl-intersection' rather than `intersection'.
12412
12413 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
12414
12415 * vc/log-view.el: Doc fix.
12416 (log-view-mode-map): Copy keymap from `special-mode-map'.
12417
12418 2013-06-02 Eric Ludlam <zappo@gnu.org>
12419
12420 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
12421 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
12422 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
12423 (eieio-unbound, eieio-default-superclass)
12424 (eieio--define-field-accessors, method-static, method-before)
12425 (method-primary, method-after, method-num-lists)
12426 (method-generic-before, method-generic-primary)
12427 (method-generic-after, method-num-slots)
12428 (eieio-specialized-key-to-generic-key)
12429 (eieio--check-type, class-v, class-p)
12430 (eieio-class-name, define-obsolete-function-alias)
12431 (eieio-class-parents-fast, eieio-class-children-fast)
12432 (same-class-fast-p, class-constructor, generic-p)
12433 (generic-primary-only-p, generic-primary-only-one-p)
12434 (class-option-assoc, class-option, eieio-object-p)
12435 (class-abstract-p, class-method-invocation-order)
12436 (eieio-defclass-autoload-map, eieio-defclass-autoload)
12437 (eieio-class-un-autoload, eieio-defclass)
12438 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
12439 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
12440 (eieio--defgeneric-init-form, eieio-defgeneric-form)
12441 (eieio-defgeneric-reset-generic-form)
12442 (eieio-defgeneric-form-primary-only)
12443 (eieio-defgeneric-reset-generic-form-primary-only)
12444 (eieio-defgeneric-form-primary-only-one)
12445 (eieio-defgeneric-reset-generic-form-primary-only-one)
12446 (eieio-unbind-method-implementations)
12447 (eieio--defmethod, eieio--typep)
12448 (eieio-perform-slot-validation, eieio-validate-slot-value)
12449 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
12450 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
12451 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
12452 (eieio-slot-name-index, eieio-class-slot-name-index)
12453 (eieio-set-defaults, eieio-initarg-to-attribute)
12454 (eieio-attribute-to-initarg, eieio-c3-candidate)
12455 (eieio-c3-merge-lists, eieio-class-precedence-c3)
12456 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
12457 (eieio-class-precedence-list, eieio-generic-call-methodname)
12458 (eieio-generic-call-arglst, eieio-generic-call-key)
12459 (eieio-generic-call-next-method-list)
12460 (eieio-pre-method-execution-functions, eieio-generic-call)
12461 (eieio-generic-call-primary-only, eieiomt-method-list)
12462 (eieiomt-optimizing-obarray, eieiomt-install)
12463 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
12464 (eieio-generic-form, eieio-defmethod, make-obsolete)
12465 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
12466 (defclass): Remove `eval-and-compile' from macro.
12467 (call-next-method, shared-initialize): Instead of using
12468 `scoped-class' variable, use new eieio--scoped-class, and
12469 eieio--with-scoped-class.
12470 (initialize-instance): Rename local variable 'scoped-class' to
12471 'this-class' to remove ambiguitity from old global.
12472
12473 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
12474 eieio.el.
12475 (eieio--scoped-class-stack): New variable.
12476 (eieio--scoped-class): New fcn.
12477 (eieio--with-scoped-class): New scoping macro.
12478 (eieio-defclass): Use pushnew instead of add-to-list.
12479 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
12480 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
12481 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
12482 `scoped-class' variable, use new eieio--scoped-class, and
12483 eieio--with-scoped-class.
12484
12485 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
12486
12487 2013-06-02 Tassilo Horn <tsdh@gnu.org>
12488
12489 * eshell/esh-ext.el (eshell-external-command): Pass args to
12490 `eshell-find-interpreter'.
12491 (eshell-find-interpreter): Add new second parameter ARGS.
12492
12493 * eshell/em-script.el (eshell-script-initialize): Add second arg
12494 to the function added as MATCH to `eshell-interpreter-alist'.
12495
12496 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
12497 the function added as MATCH to `eshell-interpreter-alist'.
12498
12499 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
12500 (eshell-visual-options): New defcustom.
12501 (eshell-escape-control-x): Adapt docstring.
12502 (eshell-term-initialize): Test `eshell-visual-subcommands' and
12503 `eshell-visual-options' in addition to `eshell-visual-commands'.
12504 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
12505
12506 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
12507
12508 * progmodes/python.el (python-indent-block-enders): Add break,
12509 continue and raise keywords.
12510
12511 2013-06-01 Glenn Morris <rgm@gnu.org>
12512
12513 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
12514
12515 Plain (f)boundp silences compilation warnings since Emacs 22.1.
12516 * progmodes/cc-cmds.el (delete-forward-p):
12517 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
12518 * progmodes/cc-engine.el (buffer-syntactic-context):
12519 * progmodes/cc-fonts.el (face-property-instance):
12520 * progmodes/cc-mode.el (set-keymap-parents):
12521 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
12522 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
12523 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
12524 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
12525 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
12526
12527 * progmodes/cc-vars.el (other): Emacs has this widget since
12528 at least 21.1, so don't (re)define it.
12529
12530 * eshell/em-cmpl.el (eshell-cmpl-initialize):
12531 Replace the obsolete alias pcomplete-arg-quote-list.
12532
12533 2013-06-01 Leo Liu <sdl.web@gmail.com>
12534
12535 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
12536 punctuation syntax.
12537 (inferior-octave-minimal-columns)
12538 (inferior-octave-last-column-width): New variables.
12539 (inferior-octave-track-window-width-change): New function.
12540 (inferior-octave-mode): Adjust column width so that Octave output,
12541 for example from 'ls', can fit into the window nicely.
12542
12543 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
12544
12545 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
12546 Highlight expansions inside regexp literals.
12547
12548 2013-05-31 Glenn Morris <rgm@gnu.org>
12549
12550 * obsolete/sym-comp.el (symbol-complete):
12551 Replace obsolete completion-annotate-function.
12552
12553 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
12554
12555 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
12556
12557 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
12558 New function, checks if point is inside a literal that allows
12559 expression expansion.
12560 (ruby-syntax-propertize-expansion): Use it.
12561 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
12562 around the body.
12563
12564 2013-05-30 Juri Linkov <juri@jurta.org>
12565
12566 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
12567 to "\M-si".
12568 (isearch-invisible): New variable.
12569 (isearch-forward): Doc fix.
12570 (isearch-mode): Set `isearch-invisible'
12571 to the value of `search-invisible'.
12572 (isearch-toggle-case-fold): Doc fix.
12573 (isearch-toggle-invisible): New command.
12574 (isearch-query-replace): Let-bind `search-invisible'
12575 to the value of `isearch-invisible'.
12576 (isearch-search): Use `isearch-invisible' instead of
12577 `search-invisible'. Let-bind `search-invisible'
12578 to the value of `isearch-invisible'. (Bug#11378)
12579
12580 2013-05-30 Juri Linkov <juri@jurta.org>
12581
12582 * replace.el (perform-replace): Avoid `isearch-range-invisible'
12583 call when `query-flag' is nil and `search-invisible' is non-nil.
12584 (Bug#11746)
12585
12586 2013-05-30 Glenn Morris <rgm@gnu.org>
12587
12588 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
12589
12590 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
12591 (cc-require): Suppress spurious "noruntime" warnings.
12592 (cc-require-when-compile): Use fboundp, for sake of compiler.
12593
12594 * progmodes/cc-mode.el: Move load of cc-vars before that of
12595 cc-langs (which in turn loads cc-vars), to quieten compiler.
12596
12597 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12598
12599 * paren.el: Simplify the code.
12600 (show-paren-mode): Always start the timer.
12601 (show-paren--idle-timer): Rename from show-paren-idle-timer.
12602 (show-paren--overlay, show-paren--overlay-1): Rename from
12603 show-paren-overlay and show-paren-overlay-1, and initialize to an
12604 overlay rather than to nil.
12605 (show-paren-function): Misc cleanup and simplifications.
12606
12607 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12608
12609 * paren.el (show-paren-data-function): New hook.
12610 (show-paren--default): New function, extracted from show-paren-function.
12611 (show-paren-function): Use show-paren-data-function.
12612
12613 2013-05-30 Glenn Morris <rgm@gnu.org>
12614
12615 * ielm.el (ielm-map, ielm-complete-symbol):
12616 Use completion-at-point rather than obsolete functions.
12617 (inferior-emacs-lisp-mode): Doc fix.
12618 Set completion-at-point-functions, rather than
12619 comint-dynamic-complete-functions.
12620
12621 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
12622 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
12623 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
12624
12625 * image.el (image-animated-p): Tweak definition.
12626
12627 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
12628 (rlogin-process-connection-type): Tweak default. Add set-after.
12629 (rlogin-host): Doc fix.
12630 (rlogin): Tweak prompt.
12631 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
12632
12633 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
12634 * progmodes/tcl.el (inferior-tcl-mode-map):
12635 Use completion-at-point rather than obsolete alias.
12636
12637 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
12638
12639 * minibuffer.el (read-file-name-completion-ignore-case):
12640 Move before completion--in-region, for eager macro expansion.
12641
12642 2013-05-29 Juri Linkov <juri@jurta.org>
12643
12644 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
12645 for total count of matching lines. Add `global-matches' for total
12646 count of matches. Rename `matches' to `lines' for count of
12647 matching lines. Add `matches' for count of matches.
12648 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
12649 to `prev-line' for line number of prev match endpt.
12650 Increment `matches' for every match. Print the number of
12651 matching lines in the header.
12652 (occur-context-lines): Rename `lines' to `curr-line'.
12653 Rename `prev-lines' to `prev-line'. (Bug#14017)
12654
12655 2013-05-29 Juri Linkov <juri@jurta.org>
12656
12657 * replace.el (perform-replace): Add `skip-read-only-count',
12658 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
12659 Increment them for corresponding conditions and report the number
12660 of skipped occurrences in the final message. (Bug#11746)
12661 (query-replace, query-replace-regexp, query-replace-regexp-eval)
12662 (replace-string, replace-regexp): Doc fix.
12663
12664 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
12665
12666 * emacs-lisp/trace.el (trace--read-args): Provide a default.
12667
12668 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
12669 prog-mode-map (bug#14504).
12670
12671 2013-05-29 Leo Liu <sdl.web@gmail.com>
12672
12673 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
12674 (octave-help): Small simplification.
12675
12676 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
12677 off the highlight first.
12678
12679 2013-05-29 Glenn Morris <rgm@gnu.org>
12680
12681 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
12682 Handle idlwave-last-system-routine-info-cons-cell being nil.
12683
12684 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
12685 (idlwave-write-paths): Simplify via with-temp-buffer.
12686
12687 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
12688 * emulation/cua-rect.el: Also load cua-base at run time.
12689
12690 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
12691 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
12692 (cperl-imenu-on-info): Require imenu.
12693
12694 2013-05-28 Alan Mackenzie <acm@muc.de>
12695
12696 Handle "capitalised keywords" correctly.
12697 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
12698
12699 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
12700
12701 * eshell/em-unix.el: Add -r option to cp.
12702
12703 2013-05-28 Glenn Morris <rgm@gnu.org>
12704
12705 * vc/vc-arch.el (vc-exec-after): Declare.
12706 (vc-switches): Autoload.
12707 * vc/vc-bzr.el: No need to require vc when compiling.
12708 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
12709 (vc-resynch-buffer, vc-dir-refresh): Declare.
12710 (vc-setup-buffer, vc-switches): Autoload.
12711 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
12712 (vc-resynch-buffer): Declare.
12713 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
12714 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
12715 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
12716 (grep-read-regexp, grep-read-files, grep-expand-template)
12717 (vc-dir-refresh): Declare.
12718 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
12719 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
12720 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
12721 * vc/vc-mtn.el (vc-exec-after): Declare.
12722 (vc-switches): Autoload.
12723 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
12724 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
12725 (vc-file-tree-walk): Declare.
12726 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
12727 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
12728 (vc-tag-precondition, vc-rename-master): Autoload.
12729 * vc/vc-svn.el (vc-exec-after): Declare.
12730 (vc-switches, vc-setup-buffer): Autoload.
12731 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
12732 Autoload.
12733 (vc-resynch-buffer): Declare.
12734
12735 * obsolete/fast-lock.el (byte-compile-warnings):
12736 Don't warn about obsolete features in this obsolete file.
12737
12738 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
12739 Move definition before use.
12740
12741 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
12742 (dun-unix-verbs): Remove dun-zippy.
12743 (dun-zippy): Remove function.
12744
12745 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
12746
12747 2013-05-27 Juri Linkov <juri@jurta.org>
12748
12749 * replace.el (replace-search): New function with code moved out
12750 from `perform-replace'.
12751 (replace-highlight, replace-dehighlight): Move function definitions
12752 up closer to `replace-search'. (Bug#11746)
12753
12754 2013-05-27 Juri Linkov <juri@jurta.org>
12755
12756 * replace.el (perform-replace): Ignore invisible matches.
12757 In addition to checking `query-replace-skip-read-only', also
12758 filter out matches by calling `run-hook-with-args-until-failure'
12759 on `isearch-filter-predicates', and also check `search-invisible'
12760 for t or call `isearch-range-invisible'.
12761 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
12762
12763 2013-05-27 Juri Linkov <juri@jurta.org>
12764
12765 * isearch.el (isearch-filter-predicates): Rename from
12766 `isearch-filter-predicate'. Doc fix. (Bug#11378)
12767 (isearch-message-prefix): Display text from the property
12768 `isearch-message-prefix' of the currently active filters.
12769 (isearch-search): Don't compare `isearch-filter-predicate' with
12770 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
12771 on `isearch-filter-predicates'. Also check `search-invisible' for t
12772 or call `isearch-range-invisible'.
12773 (isearch-filter-visible): Make obsolete.
12774 (isearch-lazy-highlight-search):
12775 Call `run-hook-with-args-until-failure' on
12776 `isearch-filter-predicates' and use `isearch-range-invisible'.
12777
12778 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
12779 `isearch-filter-predicates' instead of `funcall'ing
12780 `isearch-filter-predicate'.
12781 (Info-mode): Set `Info-isearch-filter' to
12782 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
12783
12784 * dired-aux.el (dired-isearch-filter-predicate-orig):
12785 Remove variable.
12786 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
12787 (dired-isearch-filenames-end): Add and remove
12788 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
12789 instead of changing the value of `isearch-filter-predicate'.
12790 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
12791 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
12792 Put property `isearch-message-prefix' to "filename " on
12793 `dired-isearch-filter-filenames'.
12794
12795 * wdired.el (wdired-change-to-wdired-mode):
12796 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
12797 locally instead of changing `isearch-filter-predicate'.
12798 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
12799
12800 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
12801
12802 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
12803 return the commit hash (Bug#14459). Also set the
12804 `vc-git-detached' property.
12805 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
12806 (vc-git-mode-line-string): Use the same help-echo format whether
12807 in detached mode or not, because we know the actual revision now.
12808 When in detached mode, shorten the revision to 7 chars.
12809
12810 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
12811
12812 * emacs-lisp/easy-mmode.el (define-minor-mode):
12813 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
12814 mode hook and provide a docstring.
12815
12816 2013-05-27 Alan Mackenzie <acm@muc.de>
12817
12818 Remove spurious syntax-table text properties inserted by C-y.
12819 * progmodes/cc-mode.el (c-after-change): Also clear hard
12820 syntax-table property with value nil.
12821
12822 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
12823
12824 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
12825 when reading the events; the buffer layout shall not be changed.
12826
12827 2013-05-27 Leo Liu <sdl.web@gmail.com>
12828
12829 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
12830 New variable.
12831 (inferior-octave-directory-tracker): Automatically re-sync
12832 default-directory.
12833 (octave-help): Improve handling of 'See also'.
12834
12835 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
12836
12837 * doc-view.el: Minor naming convention tweaks.
12838 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
12839
12840 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
12841 even if there's no `display' property yet (bug#14435).
12842
12843 2013-05-25 Eli Zaretskii <eliz@gnu.org>
12844
12845 * subr.el (unmsys--file-name): Rename from reveal-filename.
12846
12847 * Makefile.in (custom-deps, finder-data, autoloads)
12848 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
12849 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
12850 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
12851
12852 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
12853
12854 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
12855 error-completion on the first 2 args of condition-case (bug#14446).
12856 Don't burp at EOB.
12857
12858 2013-05-25 Leo Liu <sdl.web@gmail.com>
12859
12860 * comint.el (comint-previous-matching-input): Do not flood the
12861 *Messages* buffer with trivial messages.
12862
12863 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
12864
12865 * progmodes/flymake.el (flymake-nop): Don't return a string.
12866 (flymake-set-at): Fix typo.
12867
12868 * simple.el (read--expression): New function, extracted from
12869 eval-expression. Set completion-at-point-functions (bug#14465).
12870 (eval-expression, eval-minibuffer): Use it.
12871
12872 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
12873
12874 * progmodes/flymake.el (flymake-save-buffer-in-file)
12875 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
12876 (flymake-selected-frame, flymake-log, flymake-ins-after)
12877 (flymake-set-at, flymake-get-buildfile-from-cache)
12878 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
12879 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
12880 Refine the doc string.
12881 (flymake-get-file-name-mode-and-masks): Reformat.
12882 (flymake-get-real-file-name-function): Fix a minor bug.
12883
12884 2013-05-24 Juri Linkov <juri@jurta.org>
12885
12886 * progmodes/grep.el (grep-mode-font-lock-keywords):
12887 Support =linenumber= format used by git-grep for lines with
12888 function names. (Bug#13549)
12889
12890 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
12891
12892 * progmodes/octave.el (octave-smie-rules): Return nil rather than
12893 0 after a semi-colon; it works better for smie-auto-fill.
12894 (octave--indent-new-comment-line): New function.
12895 (octave-indent-new-comment-line): Use it (indirectly).
12896 (octave-mode): Don't disable smie-auto-fill. Use add-function to
12897 modify comment-line-break-function.
12898
12899 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
12900 (smie-setup): Use add-function to set it.
12901
12902 2013-05-24 Sam Steingold <sds@gnu.org>
12903
12904 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
12905 argument (before the `interactive' argument).
12906
12907 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
12908
12909 * image-mode.el (image-mode-winprops): Add winprops to
12910 image-mode-winprops-alist before running
12911 image-mode-new-window-functions.
12912 * doc-view.el (doc-view-new-window-function): Don't delay
12913 doc-view-goto-page via timers (bug#14435).
12914
12915 2013-05-24 Tassilo Horn <tsdh@gnu.org>
12916
12917 * doc-view.el: Integrate with desktop.el. (Bug#14435)
12918 (doc-view-desktop-save-buffer): New function.
12919 (doc-view-restore-desktop-buffer): New function.
12920 (desktop-buffer-mode-handlers):
12921 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
12922 handler.
12923 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
12924 `desktop-save-buffer' function.
12925
12926 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
12927
12928 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
12929 (tramp-gvfs-file-name-handler): Raise a user error when
12930 `tramp-gvfs-enabled' is nil.
12931 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
12932 Do not raise a user error when loading package. (Bug#14447)
12933
12934 * net/xesam.el: Move to obsolete/.
12935
12936 2013-05-24 Glenn Morris <rgm@gnu.org>
12937
12938 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
12939
12940 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
12941
12942 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
12943 (Info-find-node, Man-getpage-in-background): Declare.
12944
12945 * mail/unrmail.el (unrmail):
12946 Replace obsolete detect-coding-with-priority.
12947
12948 * net/socks.el (socks-split-string): Use this rather than split-string.
12949 (socks-nslookup-host): Update for above change.
12950 (dynamic-choice, s5-dynamic-choice-match)
12951 (s5-dynamic-choice-match-inline, s5-widget-value-create):
12952 Comment out unused code.
12953
12954 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
12955 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
12956 (gud-tooltip-echo-area): Make obsolete.
12957 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
12958
12959 * progmodes/js.el (js--optimize-arglist): Declare.
12960
12961 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
12962
12963 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
12964 (ediff-window-C): Declare.
12965
12966 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
12967 Tweak requires to silence compiler.
12968
12969 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
12970 (he-search-string, he-tried-table, he-expand-list)
12971 (he-init-string, he-string-member, he-substitute-string)
12972 (he-reset-string): Declare.
12973
12974 * obsolete/options.el (list-options): Use custom-variable-p,
12975 rather than obsolete alias.
12976
12977 2013-05-23 Sam Steingold <sds@gnu.org>
12978
12979 * simple.el (shell-command-on-region): Pass the `replace' argument
12980 down to `call-process-region' to comply with the doc as reported on
12981 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
12982
12983 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12984
12985 * emacs-lisp/smie.el (smie-indent-forward-token)
12986 (smie-indent-backward-token): Handle string tokens (bug#14381).
12987
12988 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12989
12990 * ielm.el (ielm-menu): New menu.
12991 (inferior-emacs-lisp-mode): Set comment-start.
12992
12993 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12994
12995 * textmodes/reftex.el (reftex-ref-style-toggle):
12996 Fix deactivate action.
12997
12998 * textmodes/reftex-vars.el (reftex-ref-style-alist):
12999 Add cleveref macros.
13000
13001 * textmodes/reftex-parse.el
13002 (reftex-locate-bibliography-files): Accept options for
13003 bibliography commands.
13004 * textmodes/reftex-vars.el (reftex-bibliography-commands):
13005 Add addbibresource. Basic Biblatex support.
13006
13007 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
13008
13009 * net/tramp-gvfs.el (top):
13010 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
13011 when loading package. (Bug#14447)
13012
13013 2013-05-23 Glenn Morris <rgm@gnu.org>
13014
13015 * progmodes/js.el: No need to load comint when compiling.
13016 (ring-insert, comint-send-string, comint-send-input)
13017 (comint-last-input-end, ido-chop): Declare.
13018
13019 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
13020 * vc/ediff-mult.el: Adjust requires.
13021 (ediff-directories-internal, ediff-directory-revisions-internal)
13022 (ediff-patch-file-internal): Declare.
13023 * vc/ediff-ptch.el: Adjust requires.
13024 (ediff-use-last-dir, ediff-buffers-internal): Declare.
13025 (ediff-find-file): Autoload.
13026 * vc/ediff-util.el: No need to load ediff when compiling.
13027 (ediff-regions-internal): Declare.
13028 * vc/ediff-wind.el: Adjust requires.
13029 (ediff-compute-toolbar-width): Define when compiling.
13030 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
13031 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
13032 (dired-get-filename, dired-get-marked-files)
13033 (ediff-last-dir-patch, ediff-patch-default-directory)
13034 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
13035 (ediff-patch-buffer-internal): Declare.
13036
13037 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
13038 (ispell-process, ispell-buffer-local-words, lm-summary)
13039 (lm-section-start, lm-section-end): Declare.
13040 (checkdoc-ispell-init): Simplify.
13041
13042 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
13043 (he-string-member, he-reset-string, he-substitute-string): Declare.
13044
13045 * eshell/em-ls.el: Adjust requires.
13046 (eshell-glob-regexp): Declare.
13047 * eshell/em-tramp.el: Adjust requires.
13048 (eshell-parse-command): Autoload.
13049 * eshell/em-xtra.el: Adjust requires.
13050 (eshell-parse-command): Autoload.
13051 * eshell/esh-ext.el: Adjust requires.
13052 (eshell-parse-command, eshell-close-handles): Autoload.
13053 * eshell/esh-io.el: Adjust requires.
13054 (eshell-output-filter): Autoload.
13055 * eshell/esh-util.el: No need to load tramp when compiling.
13056 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
13057 Declare.
13058 (eshell-parse-ange-ls): Require ange-ftp and tramp.
13059 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
13060 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
13061 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
13062 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
13063 * eshell/esh-opt.el, eshell/esh-proc.el:
13064 * eshell/esh-var.el: Adjust requires.
13065 * eshell/eshell.el: Do not require esh-util twice.
13066 (eshell-add-input-to-history): Declare.
13067 (eshell-command): Check history module is active before using it.
13068
13069 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
13070
13071 2013-05-22 Leo Liu <sdl.web@gmail.com>
13072
13073 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
13074
13075 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
13076
13077 * autorevert.el (auto-revert-notify-add-watch)
13078 (auto-revert-notify-handler): Add `attrib' for the inotify case,
13079 it indicates changes in file modification time.
13080
13081 2013-05-22 Glenn Morris <rgm@gnu.org>
13082
13083 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
13084 Always delete the autoloaded function from the noruntime and
13085 unresolved functions lists.
13086
13087 * allout.el: No need to load epa, epg, overlay when compiling.
13088 (epg-context-set-passphrase-callback, epg-list-keys)
13089 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
13090 (epg-key-user-id-list): Declare.
13091
13092 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
13093 (viper-set-parsing-style-toggling-macro)
13094 (viper-set-emacs-state-searchstyle-macros):
13095 Use called-interactively-p on Emacs.
13096 (viper-looking-back): Make it an obsolete alias. Update callers.
13097 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
13098 Use looking-back rather than viper-looking-back.
13099 (viper-tmp-insert-at-eob, viper-enlarge-region)
13100 (viper-read-string-with-history, viper-register-to-point)
13101 (viper-append-to-register, viper-change-state-to-vi)
13102 (viper-backward-char-carefully, viper-forward-char-carefully)
13103 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
13104 (viper-change-state-to-emacs): Declare.
13105 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
13106 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
13107 * emulation/viper-mous.el: Do not load viper-cmd.
13108 (viper-backward-char-carefully, viper-forward-char-carefully)
13109 (viper-forward-word, viper-adjust-window): Declare.
13110
13111 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
13112
13113 * progmodes/idlw-help.el (idlwave-help-fontify):
13114 Use called-interactively-p.
13115
13116 * term/w32console.el (w32-get-console-codepage)
13117 (w32-get-console-output-codepage): Declare.
13118
13119 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
13120 Remove unnecessary declarations.
13121 (dframe-message): Doc fix.
13122
13123 * info.el (dframe-select-attached-frame, dframe-current-frame):
13124 Declare.
13125
13126 * speedbar.el (speedbar-message): Make it an obsolete alias.
13127 Update all callers.
13128 (speedbar-with-attached-buffer)
13129 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
13130 (speedbar-with-writable): Use backquote.
13131 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
13132 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
13133 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
13134 rather than speedbar- aliases.
13135 * mail/rmail.el: Load dframe rather than speedbar when compiling.
13136 (speedbar-make-specialized-keymap, speedbar-insert-button)
13137 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
13138 (speedbar-do-function-pointer): Declare.
13139 (rmail-speedbar-button, rmail-speedbar-find-file)
13140 (rmail-speedbar-move-message):
13141 Use dframe-with-attached-buffer rather than speedbar- alias.
13142 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
13143 (dframe-message, speedbar-make-specialized-keymap)
13144 (speedbar-add-expansion-list, speedbar-mode-functions-list)
13145 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
13146 (speedbar-insert-button, dframe-select-attached-frame)
13147 (dframe-maybee-jump-to-attached-frame)
13148 (speedbar-change-initial-expansion-list)
13149 (speedbar-previously-used-expansion-list-name): Declare.
13150 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
13151 Use dframe-message, dframe-with-attached-buffer rather than
13152 speedbar- aliases.
13153 (gud-sentinel): Silence compiler.
13154 * progmodes/vhdl-mode.el (speedbar-refresh)
13155 (speedbar-do-function-pointer, speedbar-add-supported-extension)
13156 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
13157 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
13158 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
13159 (speedbar-file-lists, speedbar-make-tag-line)
13160 (speedbar-line-directory, speedbar-goto-this-file)
13161 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
13162 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
13163 (speedbar-make-button, speedbar-reset-scanners)
13164 (speedbar-files-item-info, speedbar-line-text)
13165 (speedbar-find-file-in-frame, speedbar-set-timer)
13166 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
13167 (speedbar-with-writable): Do not (re)define it.
13168 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
13169 rather than speedbar- alias.
13170
13171 2013-05-21 Leo Liu <sdl.web@gmail.com>
13172
13173 * progmodes/octave.el (octave-mode-menu): Update and re-organize
13174 menu items.
13175 (octave-mode): Tweak fill-nobreak-predicate.
13176 (inferior-octave-startup): Check process to avoid infinite loop.
13177 (inferior-octave): Pop to buffer first to show abornmal process
13178 exit information.
13179
13180 2013-05-21 Glenn Morris <rgm@gnu.org>
13181
13182 * printing.el (pr-menu-bar): Define when compiling.
13183
13184 2013-05-21 Leo Liu <sdl.web@gmail.com>
13185
13186 * progmodes/octave.el (octave-auto-fill): Remove.
13187 (octave-indent-new-comment-line): Improve.
13188 (octave-mode): Use auto fill mode through
13189 comment-line-break-function and fill-nobreak-predicate.
13190 (octave-goto-function-definition): Support DEFUN_DLD.
13191 (octave-beginning-of-defun): Small tweak.
13192 (octave-help): Show parent directory.
13193
13194 2013-05-21 Glenn Morris <rgm@gnu.org>
13195
13196 * files.el (dired-unmark):
13197 * progmodes/gud.el (gdb-input): Update declarations.
13198
13199 * calculator.el (electric, ehelp): No need to load when compiling.
13200 (Electric-command-loop, electric-describe-mode): Declare.
13201
13202 * doc-view.el (doc-view-current-converter-processes): Move before use.
13203
13204 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13205 Move MODE-set-explicitly definition before use.
13206
13207 * international/mule-diag.el (mule-diag):
13208 Don't use obsolete window-system-version.
13209
13210 * mail/feedmail.el (smtpmail): No need to load when compiling.
13211 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
13212
13213 * mail/mail-utils.el (rfc822): No need to load when compiling.
13214 (rfc822-addresses): Autoload it.
13215 (mail-strip-quoted-names): Trivial simplification.
13216
13217 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
13218 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
13219
13220 * net/snmp-mode.el (tempo): Don't duplicate requires.
13221
13222 * progmodes/prolog.el (info): No need to load when compiling.
13223 (comint): Require before shell requires it.
13224 (Info-goto-node): Autoload it.
13225 (Info-follow-nearest-node): Declare.
13226 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
13227
13228 * textmodes/artist.el (picture-mode-exit): Declare.
13229
13230 * textmodes/reftex-parse.el (reftex-parse-from-file):
13231 Trivial rewrite so the compiler can parse it better.
13232
13233 2013-05-20 Leo Liu <sdl.web@gmail.com>
13234
13235 * progmodes/octave.el (octave-help-mode-map)
13236 (octave-help-mode-finish-hook): New variables.
13237 (octave-help-mode, octave-help-mode-finish): New functions.
13238 (octave-help): Use octave-help-mode.
13239
13240 2013-05-20 Glenn Morris <rgm@gnu.org>
13241
13242 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
13243
13244 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
13245
13246 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
13247 start at point, so that expansion starting right after opening
13248 slash in a regexp is recognized.
13249 (ruby-syntax-before-regexp-re): New defvar, extracted from
13250 ruby-syntax-propertize-function. Since the value of this regexp
13251 is looked up at runtime now, we should be able to turn
13252 `ruby-syntax-methods-before-regexp' into a defcustom later.
13253 (ruby-syntax-propertize-function): Split regexp matching into two
13254 parts, for opening and closing slashes. That allows us to skip
13255 over string interpolations and support multiline regexps.
13256 Don't call `ruby-syntax-propertize-expansions', instead use another rule
13257 for them, which calls `ruby-syntax-propertize-expansion'.
13258 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
13259 call to `ruby-syntax-propertize-function'.
13260 (ruby-syntax-propertize-expansion): Extracted from
13261 `ruby-syntax-propertize-expansions'. Handles one expansion.
13262 (ruby-syntax-propertize-percent-literal): Leave point right after
13263 the percent symbol, so that the expression expansion rule can
13264 propertize the contents.
13265 (ruby-syntax-propertize-heredoc): Leave point at bol following the
13266 heredoc openers.
13267 (ruby-syntax-propertize-expansions): Remove.
13268
13269 2013-05-18 Juri Linkov <juri@jurta.org>
13270
13271 * man.el (Man-default-man-entry): Remove `-' from the end
13272 of the default value. (Bug#14400)
13273
13274 2013-05-18 Glenn Morris <rgm@gnu.org>
13275
13276 * comint.el (comint-password-prompt-regexp):
13277 Allow "password for XXX" where XXX contains colons (eg https://...).
13278
13279 2013-05-18 Leo Liu <sdl.web@gmail.com>
13280
13281 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
13282 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
13283 (octave-source-directories): Don't check process.
13284 (octave-source-directories, octave-find-definition): Doc fix.
13285
13286 2013-05-18 Glenn Morris <rgm@gnu.org>
13287
13288 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
13289 Remove backspace/delete bindings. (Bug#14392)
13290
13291 * cus-dep.el (custom-make-dependencies): Sort the output.
13292 (custom-versions-load-alist): Convert comment to doc.
13293
13294 2013-05-17 Leo Liu <sdl.web@gmail.com>
13295
13296 * newcomment.el (comment-search-backward): Stricter in finding
13297 comment start. (Bug#14303)
13298
13299 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
13300 (octave-comment-start-skip): Properly anchored.
13301
13302 2013-05-17 Leo Liu <sdl.web@gmail.com>
13303
13304 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
13305 Clean up when turned off. (Bug#14395)
13306 (smie--highlight-matching-block-overlay): No longer buffer-local.
13307 (smie-highlight-matching-block): Adjust.
13308
13309 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
13310
13311 Doc string fix for "nanoseconds" (Bug#14406).
13312 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
13313 Fix doc string typo that had "nanoseconds" instead of "microseconds".
13314
13315 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
13316
13317 * calc/calc-units.el (math-extract-units): Preserve powers
13318 of units.
13319
13320 2013-05-17 Leo Liu <sdl.web@gmail.com>
13321
13322 * subr.el (delete-consecutive-dups): New function.
13323 * ido.el (ido-set-matches-1): Use it.
13324 * progmodes/octave.el (inferior-octave-completion-table): Use it.
13325 * ido.el (ido-remove-consecutive-dups): Remove.
13326
13327 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13328
13329 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
13330 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
13331 regexp-opt's `words'.
13332
13333 2013-05-16 Leo Liu <sdl.web@gmail.com>
13334
13335 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
13336 (smie--highlight-matching-block-overlay)
13337 (smie--highlight-matching-block-lastpos)
13338 (smie--highlight-matching-block-timer): New variables.
13339 (smie-highlight-matching-block): New function.
13340 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
13341 (smie-setup): Conditionally enable smie-blink-matching-open.
13342
13343 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
13344
13345 Sync with upstream verilog-mode r840.
13346 * progmodes/verilog-mode.el (verilog-mode-version)
13347 (verilog-mode-release-date): Update.
13348 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
13349 (verilog-sig-tieoff): Fix string error on
13350 AUTORESET with colon define, bug594. Reported by Andrew Hou.
13351 (verilog-read-decls): Fix parameters confusing
13352 AUTOINST interfaces, bug565. Reported by Leith Johnson.
13353
13354 2013-05-16 Eli Zaretskii <eliz@gnu.org>
13355
13356 * subr.el (reveal-filename): New function.
13357
13358 * loadup.el: Compute Emacs executable versions on MS-Windows,
13359 where executables have the .exe extension. Add a hard link
13360 emacs-XX.YY.ZZ.exe on MS-Windows.
13361
13362 * Makefile.in (XARGS_LIMIT): New variable.
13363 (custom-deps, finder-data, autoloads)
13364 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
13365 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
13366 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
13367 (compile-main): Limit xargs according to $(XARGS_LIMIT).
13368
13369 2013-05-16 Leo Liu <sdl.web@gmail.com>
13370
13371 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
13372 (octave-mode-menu, octave-mode-map): Remove its uses.
13373
13374 2013-05-16 Reto Zimmermann <reto@gnu.org>
13375
13376 Sync with upstream vhdl mode v3.34.2.
13377 * progmodes/vhdl-mode.el: Use `push' throughout.
13378 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
13379 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
13380 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
13381 (vhdl-actual-generic-name): New option to derive actual generic name.
13382 (vhdl-port-paste-signals): Replace formal by actual generics.
13383 (vhdl-beautify): New name for old group vhdl-align. Update users.
13384 (vhdl-beautify-options): New option.
13385 (vhdl-last-input-event): New compat alias. Use throughout.
13386 (vhdl-goto-line): Replace user level function `goto-line'.
13387 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
13388 vhdl-fix-statement-buffer.
13389 (vhdl-create-mode-menu): Add some entries.
13390 (vhdl-align-region-groups): Respect vhdl-beautify-options.
13391 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
13392 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
13393 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
13394 to force statements on one line.
13395 (vhdl-remove-trailing-spaces-region):
13396 New, split from vhdl-remove-trailing-spaces.
13397 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
13398 Respect vhdl-beautify-options.
13399 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
13400 (vhdl-update-sensitivity-list): Not add with index if exists without.
13401 Not include array index with signal. Ignore keywords in comments.
13402 (vhdl-get-visible-signals): Regexp tweaks.
13403 (vhdl-template-component-inst): Handle empty library.
13404 (vhdl-template-type): Add template for 'enum' type.
13405 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
13406 Use vhdl-replace-string.
13407 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
13408 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
13409 (vhdl-speedbar-initialize): Update for above name change.
13410 (vhdl-compose-wire-components): Fix in handling of constants.
13411 (vhdl-error-regexp-emacs-alist): New variable.
13412 (vhdl-error-regexp-add-emacs): New function;
13413 adds support for new compile.el (Emacs 22+)
13414 (vhdl-generate-makefile-1): Change target order for single lib. units.
13415 Allow use of absolute file names.
13416
13417 2013-05-16 Leo Liu <sdl.web@gmail.com>
13418
13419 * simple.el (prog-indent-sexp): Indent enclosing defun.
13420
13421 2013-05-15 Glenn Morris <rgm@gnu.org>
13422
13423 * cus-start.el (show-trailing-whitespace): Move to editing basics.
13424 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
13425 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
13426 (whitespace-highlight): Move to whitespace group.
13427
13428 * comint.el (comint-source):
13429 * pcmpl-linux.el (pcmpl-linux):
13430 * shell.el (shell-faces):
13431 * eshell/esh-opt.el (eshell-opt):
13432 * international/ccl.el (ccl): Remove empty custom groups.
13433
13434 * completion.el (dynamic-completion-mode):
13435 * jit-lock.el (jit-lock-debug-mode):
13436 * minibuffer.el (completion-in-region-mode):
13437 * type-break.el (type-break-mode-line-message-mode)
13438 (type-break-query-mode):
13439 * emulation/tpu-edt.el (tpu-edt-mode):
13440 * progmodes/subword.el (global-subword-mode, global-superword-mode):
13441 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
13442 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
13443
13444 * term/xterm.el (xterm): Change parent group to terminals.
13445
13446 * master.el (master): Remove empty custom group.
13447 (master-mode): Remove unused :group argument.
13448 * textmodes/refill.el (refill): Remove empty custom group.
13449 (refill-mode): Remove unused :group argument.
13450
13451 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
13452
13453 * cus-dep.el: Provide a feature.
13454 (custom-make-dependencies): Ignore dotfiles (dir-locals).
13455 Don't mistakenly ignore files whose basenames match a basename
13456 from preloaded-file-list (eg cedet/ede/simple.el).
13457 Add a fallback method for getting :group.
13458
13459 2013-05-15 Juri Linkov <juri@jurta.org>
13460
13461 * isearch.el (isearch-char-by-name): Rename from
13462 `isearch-insert-char-by-name'. Doc fix.
13463 (isearch-forward): Mention `isearch-char-by-name' in
13464 the docstring. (Bug#13348)
13465
13466 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
13467 `exit-minibuffer' instead of
13468 `isearch-nonincremental-exit-minibuffer'.
13469 (isearch-edit-string): Remove mention of
13470 `isearch-nonincremental-exit-minibuffer' from docstring.
13471 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
13472 (isearch-forward-exit-minibuffer)
13473 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
13474
13475 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
13476
13477 * loadup.el: Just use unversioned DOC.
13478
13479 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
13480 literals as extending to EOB.
13481 (nxml-last-fontify-end): Remove unused variable.
13482 (nxml-after-change1): Use with-silent-modifications.
13483 (nxml-extend-after-change-region): Simplify.
13484 (nxml-extend-after-change-region1): Remove function.
13485 (nxml-after-change1): Don't adjust for dependent regions.
13486 (nxml-fontify-matcher): Simplify.
13487 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
13488 (xmltok-add-dependent): Remove function.
13489 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
13490 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
13491 (xmltok-scan-prolog-after-processing-instruction-open): Treat
13492 unclosed <[[, <?, comment, and other literals as extending to EOB.
13493 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
13494 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
13495 Remove functions.
13496 (rng-do-some-validation-1): Don't mark dependent regions.
13497 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
13498 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
13499 (nxml-clear-dependent-regions): Remove functions.
13500 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
13501 (nxml-ensure-scan-up-to-date):
13502 Don't clear&mark dependent regions.
13503
13504 2013-05-15 Leo Liu <sdl.web@gmail.com>
13505
13506 * progmodes/octave.el (octave-goto-function-definition):
13507 Improve and fix callers.
13508
13509 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
13510
13511 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
13512 the setter (bug#14387).
13513
13514 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
13515 surrounding group (bug#14402).
13516
13517 2013-05-14 Juri Linkov <juri@jurta.org>
13518
13519 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
13520 (Bug#14390)
13521
13522 2013-05-14 Glenn Morris <rgm@gnu.org>
13523
13524 * progmodes/f90.el (f90-imenu-generic-expression):
13525 Fix typo in 2013-05-08 change. (Bug#14402)
13526
13527 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
13528
13529 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
13530 Remove signals for which replies are never received.
13531
13532 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
13533
13534 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
13535 (gdb-handler-alist, gdb-handler-number): Remove variables.
13536 (gdb-handler-list): New variable.
13537 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
13538 (gdb-pending-handler-p, gdb-handle-reply)
13539 (gdb-remove-all-pending-triggers): New functions.
13540 (gdb-discard-unordered-replies): New defcustom.
13541 (gdb-handler): New defstruct.
13542 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
13543 instead of gdb-pending-triggers. Update docstring.
13544 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
13545 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
13546 (gdb-var-update-handler, def-gdb-auto-update-trigger)
13547 (def-gdb-auto-update-handler, gdb-get-changed-registers)
13548 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
13549 (gdb-frame-handler): Pending triggers are now automatically managed.
13550 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
13551 Remove argument.
13552 (gdb-input): Automatically handles pending triggers. Update docstring.
13553 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
13554 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
13555 Update comments.
13556 (gdb-done-or-error): Now use gdb-handle-reply.
13557
13558 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
13559
13560 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
13561 gdb-debug-log.
13562
13563 2013-05-14 Glenn Morris <rgm@gnu.org>
13564
13565 * subr.el (user-emacs-directory-warning): New option.
13566 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
13567
13568 2013-05-14 Leo Liu <sdl.web@gmail.com>
13569
13570 * progmodes/octave.el (octave-font-lock-keywords): Fix error
13571 during redisplay.
13572 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
13573 (octave-font-lock-texinfo-comment): Fix invalid search bound
13574 error: wrong side of point.
13575
13576 2013-05-14 Glenn Morris <rgm@gnu.org>
13577
13578 * progmodes/flymake.el (flymake-xml-program): New option.
13579 (flymake-xml-init): Use it.
13580
13581 * term/xterm.el: Provide a feature.
13582
13583 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
13584
13585 2013-05-13 Glenn Morris <rgm@gnu.org>
13586
13587 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
13588 Add compat aliases as a hack workaround. (Bug#14384)
13589
13590 2013-05-13 Leo Liu <sdl.web@gmail.com>
13591
13592 * progmodes/octave.el (octave-indent-comment): Fix indentation for
13593 ###, and %!.
13594 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
13595 C-M-q.
13596 (octave-comment-start-skip): Include %!.
13597 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
13598
13599 2013-05-12 Leo Liu <sdl.web@gmail.com>
13600
13601 * progmodes/octave.el (inferior-octave-startup): Store the value
13602 of __octave_srcdir__ for octave-source-directories.
13603 (inferior-octave-check-process): New function refactored out of
13604 inferior-octave-send-list-and-digest.
13605 (octave-source-directories)
13606 (octave-find-definition-filename-function): New variables.
13607 (octave-source-directories)
13608 (octave-find-definition-default-filename): New functions.
13609 (octave-find-definition): Improve to find functions implemented in C++.
13610
13611 2013-05-12 Glenn Morris <rgm@gnu.org>
13612
13613 * calendar/diary-lib.el (diary-outlook-format-1):
13614 Don't include dayname in the output. (Bug#14349)
13615
13616 2013-05-11 Glenn Morris <rgm@gnu.org>
13617
13618 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
13619
13620 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
13621 Treat cc-provide like provide.
13622
13623 2013-05-11 Kevin Ryde <user42@zip.com.au>
13624
13625 * cus-dep.el (custom-make-dependencies):
13626 Use generated-autoload-load-name for the sake of files such
13627 such cedet/semantic/bovine/c.el, where the base file name
13628 is not in load-path. (Bug#5277)
13629
13630 2013-05-11 Glenn Morris <rgm@gnu.org>
13631
13632 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
13633 Provide features.
13634
13635 2013-05-11 Leo Liu <sdl.web@gmail.com>
13636
13637 * progmodes/octave.el (octave-indent-comment): Improve.
13638 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
13639 (octave-eldoc-function-signatures, octave-eldoc-function):
13640 New functions.
13641 (octave-mode, inferior-octave-mode): Add eldoc support.
13642
13643 2013-05-11 Richard Stallman <rms@gnu.org>
13644
13645 * epa.el (epa-decrypt-file): Take output file name as argument
13646 and read it using `interactive'.
13647
13648 2013-05-11 Leo Liu <sdl.web@gmail.com>
13649
13650 * progmodes/octave.el (octave-beginning-of-line)
13651 (octave-end-of-line): Check before using up-list because it jumps
13652 out of more syntactic contructs since moving to smie.
13653 (octave-indent-comment): New function.
13654 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
13655 (octave-begin-keywords, octave-end-keywords)
13656 (octave-reserved-words, octave-smie-bnf-table)
13657 (octave-smie-rules): Add new keywords from Octave 3.6.4.
13658
13659 2013-05-11 Glenn Morris <rgm@gnu.org>
13660
13661 * faces.el (internal-face-x-get-resource):
13662 * frame.el (ns-display-monitor-attributes-list):
13663 * calc/calc-aent.el (math-to-radians-2):
13664 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
13665 Fix declarations.
13666
13667 * calc/calc-menu.el: Make it loadable in isolation.
13668
13669 * net/eudcb-bbdb.el: Make it loadable without bbdb.
13670 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
13671 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
13672 (eudc-bbdb-query-internal): Require 'bbdb.
13673
13674 * lpr.el (lpr-headers-switches):
13675 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
13676
13677 * progmodes/sql.el (sql-login-params): Fix and improve :type.
13678
13679 * emulation/edt-mapper.el: In batch mode, error rather than hang.
13680
13681 * term.el (term-set-escape-char): Make it idempotent.
13682
13683 2013-05-10 Leo Liu <sdl.web@gmail.com>
13684
13685 * progmodes/octave.el (inferior-octave-completion-table):
13686 No longer a function and all uses changed. Use cache to speed up
13687 completion due to bug#11906.
13688 (octave-beginning-of-defun): Re-write to be more general.
13689
13690 2013-05-10 Glenn Morris <rgm@gnu.org>
13691
13692 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
13693
13694 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
13695
13696 * comint.el (comint-redirect-send-command-to-process): Use :around
13697 rather than :override for comint-redirect-filter.
13698 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
13699 Call it instead of comint-redirect-original-filter-function (which
13700 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
13701
13702 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
13703
13704 * frame.el (display-monitor-attributes-list): Add NS case.
13705 (ns-display-monitor-attributes-list): Declare.
13706
13707 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
13708
13709 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
13710
13711 2013-05-09 Glenn Morris <rgm@gnu.org>
13712
13713 * international/fontset.el (vertical-centering-font-regexp):
13714 Set standard-value.
13715
13716 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
13717
13718 * bookmark.el (bookmark-search-delay):
13719 * cus-start.el (vertical-centering-font-regexp):
13720 * ps-mule.el (ps-mule-font-info-database-default):
13721 * ps-print.el (ps-default-fg, ps-default-bg):
13722 * type-break.el (type-break-good-break-interval):
13723 * whitespace.el (whitespace-indentation-regexp)
13724 (whitespace-space-after-tab-regexp):
13725 * emacs-lisp/testcover.el (testcover-1value-functions)
13726 (testcover-noreturn-functions, testcover-progn-functions)
13727 (testcover-prog1-functions):
13728 * emulation/viper-init.el (viper-emacs-state-cursor-color):
13729 * eshell/em-glob.el (eshell-glob-translate-alist):
13730 * play/tetris.el (tetris-tty-colors):
13731 * progmodes/cpp.el (cpp-face-default-list):
13732 * progmodes/flymake.el (flymake-allowed-file-name-masks):
13733 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
13734 (idlwave-help-browser-generic-args):
13735 * progmodes/make-mode.el (makefile-special-targets-list):
13736 * progmodes/python.el (python-shell-virtualenv-path):
13737 * progmodes/verilog-mode.el (verilog-active-low-regexp)
13738 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
13739 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
13740 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
13741 * textmodes/reftex-vars.el (reftex-format-label-function):
13742 * textmodes/remember.el (remember-diary-file): Fix custom types.
13743
13744 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
13745 Add :version.
13746
13747 2013-05-09 Leo Liu <sdl.web@gmail.com>
13748
13749 * progmodes/octave.el (inferior-octave-completion-at-point):
13750 Restore file completion. (Bug#14300)
13751 (inferior-octave-startup): Fix incorrect highlighting for the
13752 first prompt.
13753
13754 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13755
13756 * progmodes/ruby-mode.el: First cut at SMIE support.
13757 (ruby-use-smie): New var.
13758 (ruby-smie-grammar): New constant.
13759 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
13760 (ruby-smie--forward-token, ruby-smie--backward-token)
13761 (ruby-smie-rules): New functions.
13762 (ruby-mode-variables): Setup SMIE if applicable.
13763
13764 2013-05-08 Eli Zaretskii <eliz@gnu.org>
13765
13766 * simple.el (line-move-visual): Signal beginning/end of buffer
13767 only if vertical-motion moved less than it was requested. Avoids
13768 silly incorrect error messages when there are display strings with
13769 multiple newlines at EOL.
13770
13771 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13772
13773 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
13774 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
13775 (prolog-char-quote-workaround):
13776 * progmodes/cperl-mode.el (cperl-under-as-char):
13777 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
13778 Mark as obsolete.
13779 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
13780 their declaration.
13781 (vhdl-mode-syntax-table-init): Remove.
13782
13783 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
13784 last change.
13785
13786 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
13787 syntax for "_".
13788 (ld-script-font-lock-keywords):
13789 Change regexps to use things like \_< and \_>.
13790
13791 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
13792 Change all regexps to use things like \_< and \_>.
13793
13794 * progmodes/autoconf.el (autoconf-definition-regexp)
13795 (autoconf-font-lock-keywords, autoconf-current-defun-function):
13796 Handle a _ with symbol syntax.
13797 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
13798
13799 * progmodes/ada-mode.el (ada-mode-abbrev-table):
13800 Consolidate declaration.
13801 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
13802 the declaration.
13803 (ada-create-syntax-table): Remove.
13804 (ada-capitalize-word): Don't mess with the syntax of "_" since it
13805 already has the right syntax nowadays.
13806 (ada-goto-next-word): Don't change the syntax of "_".
13807
13808 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
13809 with-wrapper-hook.
13810
13811 2013-05-08 Sam Steingold <sds@gnu.org>
13812
13813 * thingatpt.el (thing-at-point): Accept optional second argument
13814 NO-PROPERTIES to strip the text properties from the return value.
13815 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
13816 to `thing-at-point' instead of stripping the properties ourselves.
13817 Also, when `thing-at-point' fails to find a url, prepend "http://"
13818 to the filename at point on the assumption that the user is
13819 pointing at something like gnu.org/gnu.
13820
13821 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
13822
13823 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
13824 * faces.el (crm-separator):
13825 Silence byte-compiler.
13826
13827 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
13828 (tool-bar-map): Remove unneeded defvars.
13829
13830 2013-05-08 Leo Liu <sdl.web@gmail.com>
13831
13832 Re-work a fix for bug#10994 based on Le Wang's patch.
13833 * ido.el (ido-remove-consecutive-dups): New helper.
13834 (ido-completing-read): Use it.
13835 (ido-chop): Revert fix for bug#10994.
13836
13837 2013-05-08 Adam Spiers <emacs@adamspiers.org>
13838
13839 * cus-edit.el (custom-save-variables):
13840 Pretty-print long values. (Bug#14187)
13841
13842 2013-05-08 Glenn Morris <rgm@gnu.org>
13843
13844 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
13845 (m4-mode-syntax-table): Init in the defvar.
13846 (m4-mode-abbrev-table): Let define-derived-mode define it.
13847
13848 2013-05-08 Tom Tromey <tromey@redhat.com>
13849
13850 * progmodes/m4-mode.el (m4-mode-syntax-table):
13851 Do not treat "_" as word constituent. (Bug#14167)
13852
13853 2013-05-07 Glenn Morris <rgm@gnu.org>
13854
13855 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
13856 Remove explicit eshell-isearch-cancel-map.
13857
13858 * progmodes/f90.el (f90-smart-end-names): New option.
13859 (f90-smart-end): Doc fix.
13860 (f90-end-block-optional-name): New constant.
13861 (f90-block-match): Respect f90-smart-end-names.
13862
13863 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
13864
13865 * progmodes/octave.el (octave-smie-forward-token): Be more careful
13866 about implicit semi-colons (bug#14218).
13867
13868 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
13869
13870 * frame.el (display-monitor-attributes-list)
13871 (frame-monitor-attributes): New functions.
13872
13873 2013-05-06 Leo Liu <sdl.web@gmail.com>
13874
13875 * progmodes/octave.el (octave-syntax-propertize-function): Change
13876 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
13877 (octave-font-lock-keywords): Use octave-operator-regexp.
13878 (octave-completion-at-point): Rename from
13879 octave-completion-at-point-function.
13880 (inferior-octave-directory-tracker): Robustify.
13881 (octave-text-functions): Remove and fix its uses. No such things
13882 any more.
13883
13884 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13885
13886 * emacs-lisp/trace.el (trace--display-buffer): New function.
13887 (trace-make-advice): Use it.
13888
13889 2013-05-06 Juri Linkov <juri@jurta.org>
13890
13891 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
13892 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
13893 Doc fix.
13894 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
13895 in the help string. (Bug#12985)
13896
13897 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
13898
13899 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
13900
13901 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13902
13903 * progmodes/perl-mode.el: Add support for here documents.
13904 (perl-syntax-propertize-function): Match here-doc markers.
13905 (perl-syntax-propertize-special-constructs): Find their end.
13906 (perl-imenu-generic-expression): Use [:alnum:].
13907
13908 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
13909 (advice--add-function): Refresh the advice if already present
13910 (bug#14317).
13911
13912 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
13913
13914 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
13915
13916 2013-05-06 Glenn Morris <rgm@gnu.org>
13917
13918 * w32-fns.el (w32-charset-info-alist): Declare.
13919
13920 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
13921 of its defcustom properties.
13922 (eshell-cmpl-initialize): No need to load pcomplete.
13923
13924 * generic-x.el: No need to require comint when compiling.
13925
13926 * net/eudc-export.el: Make it loadable without bbdb.
13927 (top-level): Use require rather than load-library.
13928 (eudc-create-bbdb-record, eudc-bbdbify-phone)
13929 (eudc-batch-export-records-to-bbdb)
13930 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
13931 Require bbdb.
13932
13933 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13934
13935 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
13936 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
13937 some tweaks, instead.
13938
13939 2013-05-05 Leo Liu <sdl.web@gmail.com>
13940
13941 * progmodes/octave.el (octave-font-lock-keywords)
13942 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
13943 (inferior-octave-send-list-and-digest): Improve error message.
13944 (octave-mode, inferior-octave-mode): Use setq-local.
13945 (octave-help): Set info-lookup-mode.
13946
13947 2013-05-05 Richard Stallman <rms@gnu.org>
13948
13949 * vc/compare-w.el (compare-windows-whitespace):
13950 Treat no-break space as whitespace.
13951
13952 * mail/rmailsum.el (rmail-summary-rmail-update):
13953 Detect empty summary and don't change selected message.
13954 (rmail-summary-goto-msg): Likewise.
13955
13956 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
13957 Doc fixes, rename args.
13958
13959 2013-05-05 Alan Mackenzie <acm@muc.de>
13960
13961 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
13962
13963 2013-05-05 Juri Linkov <juri@jurta.org>
13964
13965 * info.el (Info-read-subfile): Use (point-min) instead of (point)
13966 to not add the length of the summary segment to the return value.
13967 (Bug#14125)
13968
13969 2013-05-05 Leo Liu <sdl.web@gmail.com>
13970
13971 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
13972 (inferior-octave-output-filter): Remove.
13973 (octave-send-region, inferior-octave-startup): Fix callers.
13974 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
13975 (octave-binary-file-extensions): New user variable.
13976 (octave-find-definition): Confirm if opening binary files.
13977 (octave-help-file): Use octave-find-definition to get the binary
13978 confirmation.
13979 (octave-help): Adjust for octave-help-file change.
13980
13981 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
13982
13983 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
13984 Merge the two entries that handle function definitions.
13985 (pascal--syntax-propertize): New const.
13986 (pascal-mode): Use it. Use setq-local.
13987
13988 2013-05-04 Glenn Morris <rgm@gnu.org>
13989
13990 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
13991 (diary-from-outlook): Respect diary-from-outlook-function.
13992
13993 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13994
13995 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
13996 Move the declaration from C.
13997 (read-minibuffer, eval-minibuffer): Move from C.
13998 (completion-setup-function): Avoid minibuffer-completion-contents.
13999
14000 2013-05-03 Leo Liu <sdl.web@gmail.com>
14001
14002 * progmodes/octave.el (octave-font-lock-keywords): Do not
14003 dehighlight 'end' in comments or strings.
14004 (octave-completing-read, octave-goto-function-definition):
14005 New helpers.
14006 (octave-help-buffer): New user variable.
14007 (octave-help-file, octave-help-function): New button types.
14008 (octave-help): New command and bind it to C-h ;.
14009 (octave-find-definition): New command and bind it to M-.
14010 (user-error): Alias to error if not defined.
14011
14012 2013-05-02 Leo Liu <sdl.web@gmail.com>
14013
14014 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
14015 for \. (bug#14332)
14016 (octave-font-lock-keywords): Include [ and {.
14017
14018 2013-05-02 Leo Liu <sdl.web@gmail.com>
14019
14020 * progmodes/octave.el (inferior-octave-startup-file): Change default.
14021 (inferior-octave): Remove calling comint-mode and return the buffer.
14022 (inferior-octave-startup): Cosmetic changes.
14023
14024 2013-05-02 Leo Liu <sdl.web@gmail.com>
14025
14026 * progmodes/octave.el (octave-syntax-propertize-function):
14027 Include the case when ' is at line beginning. (Bug#14336)
14028
14029 2013-05-02 Glenn Morris <rgm@gnu.org>
14030
14031 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
14032 * desktop.el (vc-dir-mode): Just autoload it here.
14033
14034 2013-05-02 Alan Mackenzie <acm@muc.de>
14035
14036 Eliminate variable c-standard-font-lock-fontify-region-function.
14037 * progmodes/cc-mode.el
14038 (c-standard-font-lock-fontify-region-function): Remove.
14039 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
14040
14041 2013-05-01 Leo Liu <sdl.web@gmail.com>
14042
14043 * progmodes/octave.el: Compatible with older emacs-24 releases.
14044 (inferior-octave-has-built-in-variables): Remove. Built-in
14045 variables were removed from Octave in 2007.
14046 (inferior-octave-startup): Fix uses.
14047 (comint-line-beginning-position): Remove compatibility code for
14048 emacs 21.
14049
14050 2013-05-01 Juri Linkov <juri@jurta.org>
14051
14052 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
14053
14054 2013-05-01 Juri Linkov <juri@jurta.org>
14055
14056 * comint.el (comint-previous-matching-input): Don't print message
14057 "History item: %d" when `isearch-mode' is active.
14058 (comint-history-isearch-message): Print message "History item: %d"
14059 when `comint-input-ring-index' is not empty and this function is
14060 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
14061
14062 2013-05-01 Leo Liu <sdl.web@gmail.com>
14063
14064 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
14065 definitions. Use completion-at-point to insert keywords.
14066 (octave-abbrev-start): Remove.
14067 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
14068
14069 2013-04-30 Leo Liu <sdl.web@gmail.com>
14070
14071 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
14072 change.
14073
14074 2013-04-30 Alan Mackenzie <acm@muc.de>
14075
14076 Handle arbitrarily long C++ member initialisation lists.
14077 * progmodes/cc-engine.el (c-back-over-member-initializers):
14078 new function.
14079 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
14080 (most) member init lists.
14081
14082 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14083
14084 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
14085 variable.
14086
14087 2013-04-30 Leo Liu <sdl.web@gmail.com>
14088
14089 * progmodes/octave.el (octave-variables): Remove. No builtin
14090 variables any more. All converted to functions.
14091 (octave-font-lock-keywords, octave-completion-at-point-function):
14092 Fix uses.
14093 (octave-font-lock-texinfo-comment): New user variable.
14094 (octave-texinfo-font-lock-keywords): New variable for texinfo
14095 comment block.
14096 (octave-function-comment-block): New face.
14097 (octave-font-lock-texinfo-comment): New function.
14098 (octave-mode): Font lock texinfo comment block.
14099
14100 2013-04-29 Leo Liu <sdl.web@gmail.com>
14101
14102 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
14103 indexing expression.
14104 (octave-continuation-string): Do not use \.
14105 (inferior-octave-complete-impossible): Remove.
14106 (inferior-octave-completion-table)
14107 (inferior-octave-completion-at-point): Remove its uses.
14108 (inferior-octave-startup): completion_matches was introduced to
14109 Octave in 1996 so safe to assume it.
14110 (octave-function-file-comment): Improve to follow how Octave does it.
14111 (octave-update-function-file-comment): Tweak.
14112
14113 2013-04-29 Leo Liu <sdl.web@gmail.com>
14114
14115 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
14116 (inferior-octave-startup): Remove inferior-octave-startup-hook.
14117 (octave-function-file-comment): Fix typo.
14118 (octave-sync-function-file-names): Use read-char-choice.
14119
14120 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
14121
14122 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
14123 to t for the less important warnings.
14124
14125 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
14126
14127 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
14128
14129 2013-04-27 Glenn Morris <rgm@gnu.org>
14130
14131 * vc/log-view.el (log-view-current-entry):
14132 Treat "---" separator lines as part of the following rev. (Bug#14169)
14133
14134 2013-04-27 Juri Linkov <juri@jurta.org>
14135
14136 * subr.el (read-number): Doc fix about using it by interactive
14137 code letter `n'. (Bug#14254)
14138
14139 2013-04-27 Juri Linkov <juri@jurta.org>
14140
14141 * desktop.el (desktop-auto-save-timeout): New option.
14142 (desktop-file-checksum): New variable.
14143 (desktop-save): Add optional arg `auto-save' and don't auto-save
14144 if nothing changed.
14145 (desktop-auto-save-timer): New variable.
14146 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
14147 (after-init-hook): Call `desktop-auto-save-set-timer'.
14148 Suggested by Reuben Thomas <rrt@sc3d.org> in
14149 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
14150
14151 2013-04-27 Leo Liu <sdl.web@gmail.com>
14152
14153 * progmodes/octave.el (octave-function-file-p)
14154 (octave-skip-comment-forward, octave-function-file-comment)
14155 (octave-update-function-file-comment): New functions.
14156 (octave-mode-map): Bind C-c ; to
14157 octave-update-function-file-comment.
14158 (octave-mode-menu): Add octave-update-function-file-comment.
14159 (octave-mode, inferior-octave-mode): Fix doc-string.
14160 (octave-insert-defun): Conform to Octave's coding convention.
14161 (Bug#14285)
14162
14163 * files.el (basic-save-buffer): Don't let errors in
14164 before-save-hook prevent saving buffer.
14165
14166 2013-04-20 Roland Winkler <winkler@gnu.org>
14167
14168 * faces.el (read-face-name): Use completing-read if arg multiple
14169 is nil.
14170
14171 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
14172
14173 * ls-lisp.el (ls-lisp-insert-directory): If no files are
14174 displayed, move point to after the totals line.
14175 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
14176 for the details.
14177
14178 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
14179
14180 * emacs-lisp/package.el (package-autoload-ensure-default-file):
14181 Add current dir to the load-path.
14182 (package-generate-autoloads): Don't rely on
14183 autoload-ensure-default-file.
14184
14185 2013-04-26 Reuben Thomas <rrt@sc3d.org>
14186
14187 * textmodes/remember.el (remember-store-in-files): Document that
14188 the file name format is passed to `format-time-string'.
14189
14190 2013-04-26 Leo Liu <sdl.web@gmail.com>
14191
14192 * progmodes/octave.el (octave-sync-function-file-names): New function.
14193 (octave-mode): Use it in before-save-hook.
14194
14195 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
14196
14197 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
14198 (bug#14274).
14199
14200 * progmodes/octave.el (octave-smie-forward-token): Properly skip
14201 \n and comment, even if it's not an implicit ; (bug#14218).
14202
14203 2013-04-26 Glenn Morris <rgm@gnu.org>
14204
14205 * subr.el (read-number): Once more use `read' rather than
14206 `string-to-number', to trap non-numeric input. (Bug#14254)
14207
14208 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
14209
14210 * emacs-lisp/syntax.el (syntax-propertize-multiline):
14211 Use `syntax-multiline' text property consistently instead of
14212 `font-lock-multiline'. (Bug#14237)
14213
14214 2013-04-26 Glenn Morris <rgm@gnu.org>
14215
14216 * emacs-lisp/shadow.el (list-load-path-shadows):
14217 No longer necessary to check for duplicate simple.el, since
14218 2012-07-07 change to init_lread to not include installation lisp
14219 directories in load-path when running uninstalled. (Bug#14270)
14220
14221 2013-04-26 Leo Liu <sdl.web@gmail.com>
14222
14223 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
14224 (octave-mode, inferior-octave-mode): Use setq-local.
14225 (octave-not-in-string-or-comment-p): Rename to
14226 octave-in-string-or-comment-p.
14227 (octave-in-comment-p, octave-in-string-p)
14228 (octave-in-string-or-comment-p): Replace defsubst with defun.
14229
14230 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
14231
14232 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
14233
14234 2013-04-25 Bastien Guerry <bzg@gnu.org>
14235
14236 * textmodes/remember.el (remember-data-directory)
14237 (remember-directory-file-name-format): Fix custom types.
14238
14239 2013-04-25 Leo Liu <sdl.web@gmail.com>
14240
14241 * progmodes/octave.el (octave-completion-at-point-function):
14242 Make use of inferior octave process.
14243 (octave-initialize-completions): Remove.
14244 (inferior-octave-completion-table): New function.
14245 (inferior-octave-completion-at-point): Use it.
14246 (octave-completion-alist): Remove.
14247
14248 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14249
14250 * progmodes/opascal.el: Use font-lock and syntax-propertize.
14251 (opascal-mode-syntax-table): New var.
14252 (opascal-literal-kind, opascal-is-literal-end)
14253 (opascal-literal-token-at): Rewrite.
14254 (opascal--literal-start-re, opascal-font-lock-keywords)
14255 (opascal--syntax-propertize): New constants.
14256 (opascal-font-lock-defaults): Adjust.
14257 (opascal-mode): Use them. Set comment-<foo> variables as well.
14258 (delphi-comment-face, opascal-comment-face, delphi-string-face)
14259 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
14260 (delphi-other-face, opascal-other-face): Remove face variables.
14261 (opascal-save-state): Remove macro.
14262 (opascal-fontifying-progress-step): Remove constant.
14263 (opascal--ignore-changes): Remove var.
14264 (opascal-set-token-property, opascal-parse-next-literal)
14265 (opascal-is-stable-literal, opascal-complete-literal)
14266 (opascal-is-literal-start, opascal-face-of)
14267 (opascal-parse-region, opascal-parse-region-until-stable)
14268 (opascal-fontify-region, opascal-after-change)
14269 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
14270 (opascal-debug-parse-region, opascal-debug-parse-window)
14271 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
14272 (opascal-debug-fontify-buffer): Remove.
14273 (opascal-debug-mode-map): Adjust accordingly.
14274
14275 2013-04-25 Leo Liu <sdl.web@gmail.com>
14276
14277 Merge octave-mod.el and octave-inf.el into octave.el with some
14278 cleanups.
14279 * progmodes/octave.el: New file renamed from octave-mod.el.
14280 * progmodes/octave-inf.el: Merged into octave.el.
14281 * progmodes/octave-mod.el: Renamed to octave.el.
14282
14283 2013-04-25 Tassilo Horn <tsdh@gnu.org>
14284
14285 * textmodes/reftex-vars.el
14286 (reftex-label-ignored-macros-and-environments): New defcustom.
14287
14288 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
14289
14290 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14291
14292 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
14293 (smie-indent-keyword): Improve the check to ensure that the next
14294 comment is really on the same line.
14295 (smie-indent-comment): Don't align with a subsequent closer (or eob).
14296
14297 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
14298 semi-colons if the line is not otherwise empty (bug#14218).
14299
14300 2013-04-25 Glenn Morris <rgm@gnu.org>
14301
14302 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
14303
14304 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
14305
14306 * progmodes/opascal.el (opascal-set-token-property): Rename from
14307 opascal-set-text-properties and only set `token' (bug#14134).
14308 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
14309 (opascal-literal-text-properties): Remove.
14310 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
14311 Adjust callers.
14312
14313 2013-04-24 Reuben Thomas <rrt@sc3d.org>
14314
14315 * textmodes/remember.el (remember-handler-functions): Add an
14316 option for a new handler `remember-store-in-files'.
14317 (remember-data-directory, remember-directory-file-name-format):
14318 New options.
14319 (remember-store-in-files): New function to store remember notes
14320 as separate files within a directory.
14321
14322 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
14323
14324 * progmodes/compile.el (compilation-next-error-function):
14325 Pass "formats" to compilation-find-file (bug#11777).
14326
14327 2013-04-24 Glenn Morris <rgm@gnu.org>
14328
14329 * vc/vc-bzr.el (vc-bzr-print-log):
14330 * vc/vc-hg.el (vc-hg-print-log):
14331 * vc/vc-svn.el (vc-svn-print-log):
14332 Fix START-REVISION with LIMIT != 1. (Bug#14168)
14333
14334 * vc/vc-bzr.el (vc-bzr-print-log):
14335 * vc/vc-cvs.el (vc-cvs-print-log):
14336 * vc/vc-git.el (vc-git-print-log):
14337 * vc/vc-hg.el (vc-hg-print-log):
14338 * vc/vc-mtn.el (vc-mtn-print-log):
14339 * vc/vc-rcs.el (vc-rcs-print-log):
14340 * vc/vc-sccs.el (vc-sccs-print-log):
14341 * vc/vc-svn.el (vc-svn-print-log):
14342 * vc/vc.el (vc-print-log-internal): Doc fixes.
14343
14344 2013-04-23 Glenn Morris <rgm@gnu.org>
14345
14346 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
14347 Remove venerable code attempting to avoid substitute-command-keys.
14348
14349 2013-04-23 Tassilo Horn <tsdh@gnu.org>
14350
14351 * textmodes/reftex-vars.el (reftex-label-regexps):
14352 Call `reftex-compile-variables' after changes to this variable.
14353
14354 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
14355
14356 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
14357 Use lexical-binding.
14358 (jit-lock-force-redisplay): Use markers, check buffer's continued
14359 existence and beware narrowed buffers.
14360 (jit-lock-fontify-now): Adjust call accordingly.
14361
14362 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
14363
14364 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
14365 to avoid misleading the user.
14366
14367 2013-04-22 Leo Liu <sdl.web@gmail.com>
14368
14369 * info-look.el: Prefer latex2e.info. (Bug#14240)
14370
14371 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
14372
14373 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
14374
14375 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
14376 * net/tramp.el (tramp-call-process): ... here.
14377 (tramp-set-completion-function, tramp-parse-putty):
14378 * net/tramp-adb.el (tramp-adb-execute-adb-command):
14379 * net/tramp-gvfs.el (tramp-gvfs-send-command):
14380 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
14381 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
14382 (tramp-call-local-coding-command): Use `tramp-call-process'
14383 instead of `tramp-compat-call-process'.
14384
14385 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
14386 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
14387 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
14388 (tramp-find-inline-compress): Improve traces.
14389 (tramp-maybe-send-script): Check for Perl binary.
14390 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
14391
14392 2013-04-22 Daiki Ueno <ueno@gnu.org>
14393
14394 * epg.el (epg-context-pinentry-mode): New function.
14395 (epg-context-set-pinentry-mode): New function.
14396 (epg--start): Pass --pinentry-mode option to gpg command.
14397
14398 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
14399
14400 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
14401 `comint-dynamic-complete' is obsolete since 24.1, replaced by
14402 `completion-at-point'. (Bug#13774)
14403
14404 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
14405 default key binding for `describe-distribution' has been moved to
14406 `C-h C-o'. (Bug#13970)
14407
14408 2013-04-21 Glenn Morris <rgm@gnu.org>
14409
14410 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
14411 Add doc strings.
14412 (vc-print-log): Clarify interactive prompt.
14413
14414 2013-04-20 Glenn Morris <rgm@gnu.org>
14415
14416 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
14417 No longer include timestamp etc information.
14418
14419 2013-04-20 Roland Winkler <winkler@gnu.org>
14420
14421 * faces.el (read-face-name): Bug fix, return just one face if arg
14422 multiple is nil. (Bug#14209)
14423
14424 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14425
14426 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
14427 (remove-function): Autoload.
14428
14429 * comint.el (comint-redirect-original-filter-function): Remove.
14430 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
14431 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
14432 (vc-cvs-annotate-command):
14433 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
14434 * progmodes/prolog.el (prolog-consult-compile):
14435 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
14436 Use add/remove-function instead.
14437 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
14438 (gud-tooltip-process-output, gud-tooltip-tips):
14439 Use add/remove-function instead.
14440 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
14441 (scheme-interaction-mode, exit-scheme-interaction-mode):
14442 Use add/remove-function instead.
14443
14444 * vc/vc-dispatcher.el: Use lexical-binding.
14445 (vc--process-sentinel): Rename from vc-process-sentinel.
14446 Change last arg to be the code to run. Don't use vc-previous-sentinel
14447 and vc-sentinel-commands any more.
14448 (vc-exec-after): Allow code to be a function. Use add/remove-function.
14449 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
14450
14451 2013-04-19 Masatake YAMATO <yamato@redhat.com>
14452
14453 * progmodes/sh-script.el (sh-imenu-generic-expression):
14454 Handle function names with a single character. (Bug#14111)
14455
14456 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
14457
14458 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
14459 for subroutines defined in an eval (bug#14182).
14460
14461 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14462
14463 * bookmark.el (bookmark-completing-read): Improve handling of empty
14464 string (bug#14176).
14465
14466 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
14467
14468 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
14469
14470 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
14471
14472 New faster Imenu implementation (bug#14058).
14473 * progmodes/python.el:
14474 (python-imenu-prev-index-position):
14475 (python-imenu-format-item-label-function)
14476 (python-imenu-format-parent-item-label-function)
14477 (python-imenu-format-parent-item-jump-label-function):
14478 New vars.
14479 (python-imenu-format-item-label)
14480 (python-imenu-format-parent-item-label)
14481 (python-imenu-format-parent-item-jump-label)
14482 (python-imenu--put-parent, python-imenu--build-tree)
14483 (python-imenu-create-index, python-imenu-create-flat-index)
14484 (python-util-popn): New functions.
14485 (python-mode): Set imenu-create-index-function to
14486 python-imenu-create-index.
14487
14488 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
14489
14490 * winner.el (winner-active-region): Use region-active-p, activate-mark
14491 and deactivate-mark (bug#14225).
14492
14493 * simple.el (deactivate-mark): Don't inline it.
14494
14495 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
14496
14497 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
14498
14499 2013-04-18 Tassilo Horn <tsdh@gnu.org>
14500
14501 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
14502 file extensions from the archive-mode entry in order to prefer
14503 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
14504
14505 2013-04-18 Leo Liu <sdl.web@gmail.com>
14506
14507 * bindings.el (help-event-list): Add ?\?.
14508
14509 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
14510
14511 * subr.el (with-wrapper-hook): Declare obsolete.
14512 * simple.el (filter-buffer-substring-function): New hook.
14513 (filter-buffer-substring): Use it.
14514 (filter-buffer-substring-functions): Mark obsolete.
14515 * minibuffer.el (completion-in-region-function): New hook.
14516 (completion-in-region): Use it.
14517 (completion-in-region-functions): Mark obsolete.
14518 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
14519 * abbrev.el (abbrev-expand-function): New hook.
14520 (expand-abbrev): Use it.
14521 (abbrev-expand-functions): Mark obsolete.
14522 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
14523 and :filter-return.
14524
14525 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
14526
14527 * progmodes/python.el (python-nav--syntactically): Fix cornercases
14528 and do not care about match data.
14529
14530 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
14531
14532 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
14533 completion tables when completing error conditions and
14534 `declare' arguments.
14535 (lisp-complete-symbol, field-complete): Mark as obsolete.
14536 (check-parens): Unmatched parens are user errors.
14537 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
14538
14539 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
14540
14541 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
14542 command changed buffer (ie. `flyspell-pre-buffer' is not current
14543 buffer), which prevents making decisions based on invalid value of
14544 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
14545 cause an error when `flyspell-pre-point' was nil after switching
14546 buffers.
14547 (flyspell-post-command-hook): No longer needs to change buffers when
14548 checking pre-word. While at it remove unnecessary progn.
14549
14550 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
14551
14552 * textmodes/ispell.el (ispell-add-per-file-word-list):
14553 Fix `flyspell-correct-word-before-point' error when accepting
14554 words and `coment-padding' is an integer by using
14555 `comment-normalize-vars' (Bug #14214).
14556
14557 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
14558
14559 New defun movement commands.
14560 * progmodes/python.el (python-nav--syntactically)
14561 (python-nav--forward-defun, python-nav-backward-defun)
14562 (python-nav-forward-defun): New functions.
14563
14564 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
14565
14566 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
14567 (python-syntax-context): Use named compiler-macro for backwards
14568 compatibility with Emacs 24.x.
14569
14570 2013-04-17 Leo Liu <sdl.web@gmail.com>
14571
14572 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
14573 octave-hide-process-buffer.
14574
14575 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
14576
14577 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
14578 (bug#14216).
14579
14580 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
14581
14582 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
14583 Fix adjustment of offset when receiving incomplete responses from GDB
14584 (bug#14129).
14585
14586 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
14587
14588 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
14589 python-mode-abbrev-table.
14590 (python-skeleton-define): Adjust accordingly.
14591 (python-mode-abbrev-table): New table that inherits from it so that
14592 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
14593
14594 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
14595 (abbrev-symbol): Use it.
14596 (abbrev--before-point): Use it since we already handle inheritance.
14597
14598 2013-04-16 Leo Liu <sdl.web@gmail.com>
14599
14600 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
14601 binding to info-lookup-symbol.
14602
14603 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
14604
14605 * minibuffer.el (completion--twq-all):
14606 * term/ns-win.el (ns-initialize-window-system):
14607 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
14608
14609 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
14610
14611 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
14612 global bindings.
14613
14614 * doc-view.el (doc-view-start-process): Handle url-handler directories.
14615
14616 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
14617
14618 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
14619 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
14620 to nil.
14621 (ruby-end-of-defun): Remove the unused arg, change the docstring
14622 to reflect that this function is only used as the value of
14623 `end-of-defun-function'.
14624 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
14625 to reflect an earlier change that beginning/end-of-defun functions
14626 jump between methods in a class definition, as well as top-level
14627 functions.
14628
14629 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14630
14631 * minibuffer.el (minibuffer-complete): Don't just scroll
14632 a *Completions* that's been iconified.
14633 (minibuffer-force-complete): Make sure repetitions do cycle when going
14634 through completion-in-region -> minibuffer-complete.
14635
14636 2013-04-15 Alan Mackenzie <acm@muc.de>
14637
14638 Correct the placement of c-cpp-delimiters when there're #s not at
14639 col 0.
14640
14641 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
14642 place a submatch around the #.
14643 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
14644 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
14645 on the #, not BOL.
14646
14647 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14648
14649 * emacs-lisp/nadvice.el: Properly test names when adding advice.
14650 (advice--member-p): New arg `name'.
14651 (advice--add-function, advice-member-p): Use it (bug#14202).
14652
14653 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
14654
14655 Reformulate java imenu-generic-expression.
14656 The old expression contained ill formed regexps.
14657
14658 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
14659 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
14660 (cc-imenu-java-method-arg-regexp): New defconsts.
14661 (cc-imenu-java-build-type-args-regex): New defun.
14662 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
14663 handling of spaces in the regexp.
14664
14665 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14666
14667 * textmodes/ispell.el (ispell-command-loop): Remove
14668 flyspell highlight of a word when ispell accepts it (bug #14178).
14669
14670 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
14671
14672 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
14673 uses code from the previous `ange-ftp-run-real-handler'.
14674 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
14675 only in case that function exist. This is needed for proper
14676 unloading of Tramp.
14677
14678 2013-04-15 Tassilo Horn <tsdh@gnu.org>
14679
14680 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
14681
14682 * textmodes/reftex.el (reftex-compile-variables): Use it.
14683
14684 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14685
14686 * files.el (normal-mode): Only use default major-mode if no other mode
14687 was specified.
14688
14689 * emacs-lisp/trace.el (trace-values): New function.
14690
14691 * files.el: Allow : in local variables (bug#14089).
14692 (hack-local-variable-regexp): New var.
14693 (hack-local-variables-prop-line, hack-local-variables): Use it.
14694
14695 2013-04-13 Roland Winkler <winkler@gnu.org>
14696
14697 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
14698 data before it gets modified by bibtex-beginning-of-entry.
14699
14700 2013-04-13 Roland Winkler <winkler@gnu.org>
14701
14702 * textmodes/bibtex.el (bibtex-url): Doc fix.
14703
14704 2013-04-13 Roland Winkler <winkler@gnu.org>
14705
14706 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
14707 does not visit a BibTeX file, exclude it from the list of buffers
14708 returned by bibtex-initialize.
14709
14710 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
14711
14712 * window.el (split-window): Remove interactive form, since as a
14713 command this function is a special case of split-window-below.
14714 Correct doc string.
14715
14716 2013-04-12 Roland Winkler <winkler@gnu.org>
14717
14718 * faces.el (read-face-name): Do not override value of arg default.
14719 Allow single faces and strings as default values. Remove those
14720 elements from return value that are not faces.
14721 (describe-face): Simplify.
14722 (face-at-point): New optional args thing and multiple so that this
14723 function can provide the same functionality previously provided by
14724 read-face-name.
14725 (make-face-bold, make-face-unbold, make-face-italic)
14726 (make-face-unitalic, make-face-bold-italic, invert-face)
14727 (modify-face, read-face-and-attribute): Use face-at-point.
14728
14729 * cus-edit.el (customize-face, customize-face-other-window)
14730 * cus-theme.el (custom-theme-add-face)
14731 * face-remap.el (buffer-face-set)
14732 * facemenu.el (facemenu-set-face): Use face-at-point.
14733
14734 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
14735
14736 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
14737
14738 2013-04-10 Tassilo Horn <tsdh@gnu.org>
14739
14740 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
14741 off leading { and trailing } from field values.
14742
14743 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
14744
14745 * emacs-lisp/timer.el (timer--check): New function.
14746 (timer--time, timer-set-function, timer-event-handler): Use it.
14747 (timer-set-idle-time): Simplify.
14748 (timer--activate): CSE.
14749 (timer-event-handler): Give more info in error message.
14750 (internal-timer-start-idle): New function, moved from C.
14751
14752 * mpc.el (mpc-proc): Add `restart' argument.
14753 (mpc-proc-cmd): Use it.
14754 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
14755 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
14756 less often.
14757
14758 2013-04-10 Masatake YAMATO <yamato@redhat.com>
14759
14760 * progmodes/sh-script.el: Implement `sh-mode' own
14761 `add-log-current-defun-function' (bug#14112).
14762 (sh-current-defun-name): New function.
14763 (sh-mode): Use the function.
14764
14765 2013-04-09 Bastien Guerry <bzg@gnu.org>
14766
14767 * simple.el (choose-completion-string): Fix docstring (bug#14163).
14768
14769 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
14770
14771 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
14772
14773 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
14774 timer (bug#14156).
14775
14776 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
14777
14778 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
14779 declaration.
14780
14781 2013-04-07 Leo Liu <sdl.web@gmail.com>
14782
14783 * pcmpl-x.el: New file.
14784
14785 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
14786
14787 Do not set x-display-name until X connection is established.
14788 This is needed to prevent from weird situation described at
14789 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
14790 * frame.el (make-frame): Set x-display-name after call to
14791 window system initialization function, not before.
14792 * term/x-win.el (x-initialize-window-system): Add optional
14793 display argument and use it.
14794 * term/w32-win.el (w32-initialize-window-system):
14795 * term/ns-win.el (ns-initialize-window-system):
14796 * term/pc-win.el (msdos-initialize-window-system):
14797 Add compatible optional display argument.
14798
14799 2013-04-06 Eli Zaretskii <eliz@gnu.org>
14800
14801 * files.el (normal-backup-enable-predicate): On MS-Windows and
14802 MS-DOS compare truenames of temporary-file-directory and of the
14803 file, so that 8+3 aliases (usually found in $TEMP on Windows)
14804 don't fail comparison by compare-strings. Also, compare file
14805 names case-insensitively on MS-Windows and MS-DOS.
14806
14807 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
14808
14809 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
14810 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
14811
14812 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
14813
14814 * whitespace.el (whitespace-color-on, whitespace-color-off):
14815 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
14816
14817 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
14818
14819 * ispell.el (ispell-set-spellchecker-params):
14820 Really set `ispell-args' for all equivs.
14821
14822 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
14823
14824 * ido.el (ido-completions): Use extra elements of ido-decorations
14825 (bug#14143).
14826 (ido-decorations): Update docstring.
14827
14828 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
14829
14830 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
14831 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
14832 nil during initialization, in order not to miss changes since the
14833 file was opened. (Bug#14140)
14834
14835 2013-04-05 Leo Liu <sdl.web@gmail.com>
14836
14837 * kmacro.el (kmacro-call-macro): Fix bug#14135.
14838
14839 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
14840
14841 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
14842
14843 2013-04-04 Glenn Morris <rgm@gnu.org>
14844
14845 * electric.el (electric-pair-inhibit-predicate): Add :version.
14846
14847 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
14848
14849 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
14850 when a package is required several times (bug#14082).
14851
14852 2013-04-04 Roland Winkler <winkler@gnu.org>
14853
14854 * faces.el (read-face-name): Behave as promised by the docstring.
14855 Assume that arg default is a list of faces.
14856 (describe-face): Call read-face-name with list of default faces.
14857
14858 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14859
14860 * bookmark.el: Fix deletion of bookmarks (bug#13972).
14861 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
14862 (bookmark-bmenu-execute-deletions): Only skip first line if it's
14863 the header.
14864 (bookmark-exit-hook-internal): Save even if list is empty.
14865
14866 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
14867
14868 * emacs-lisp/package.el (package-pinned-packages): New var.
14869 (package--add-to-archive-contents): Obey it (bug#14118).
14870
14871 2013-04-03 Alan Mackenzie <acm@muc.de>
14872
14873 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
14874 Also adapt to the new values of element 7 of a parse state.
14875
14876 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
14877 parameter `not-in-delimiter'. Handle being inside comment opener.
14878 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
14879 character in case we're typing a '*' after a '/'.
14880 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
14881 instead by passing the parameter to c-state-pp-to-literal.
14882
14883 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
14884 for elt. 7 of a parse state.
14885
14886 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
14887
14888 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
14889 * international/latin1-disp.el, international/mule-util.el:
14890 * language/cyril-util.el, language/european.el, language/ind-util.el:
14891 * language/lao-util.el, language/thai.el, language/tibet-util.el:
14892 * language/tibetan.el, language/viet-util.el:
14893 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
14894
14895 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
14896
14897 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
14898 (electric-pair-post-self-insert-function): Use it.
14899 (electric-pair-default-inhibit): New function, extracted from
14900 electric-pair-post-self-insert-function.
14901
14902 2013-03-31 Roland Winkler <winkler@gnu.org>
14903
14904 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
14905
14906 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
14907
14908 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
14909
14910 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
14911
14912 Un-indent after "pass" and "return" statements (Bug#13888)
14913 * progmodes/python.el (python-indent-block-enders): New var.
14914 (python-indent-calculate-indentation): Use it.
14915
14916 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
14917
14918 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
14919 defun. Defining it as defalias could introduce too eager
14920 byte-compiler optimization. (Bug#14030)
14921
14922 2013-03-30 Chong Yidong <cyd@gnu.org>
14923
14924 * iswitchb.el (iswitchb-read-buffer): Fix typo.
14925
14926 2013-03-30 Leo Liu <sdl.web@gmail.com>
14927
14928 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
14929 (kmacro-execute-from-register): Pass the keyboard macro to
14930 kmacro-call-macro or repeating won't work correctly.
14931
14932 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
14933
14934 * progmodes/subword.el: Back to using `forward-symbol'.
14935
14936 * subr.el (forward-whitespace, forward-symbol)
14937 (forward-same-syntax): Move from thingatpt.el.
14938
14939 2013-03-29 Leo Liu <sdl.web@gmail.com>
14940
14941 * kmacro.el (kmacro-to-register): New command.
14942 (kmacro-execute-from-register): New function.
14943 (kmacro-keymap): Bind to 'x'. (Bug#14071)
14944
14945 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
14946
14947 * mpc.el: Use defvar-local and setq-local.
14948 (mpc--proc-connect): Connection failures are not bugs.
14949 (mpc-mode-map): `follow-link' only applies to the buffer's content.
14950 (mpc-volume-map): Bind to the up-events.
14951
14952 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
14953
14954 * progmodes/subword.el (superword-mode): Use `forward-sexp'
14955 instead of `forward-symbol'.
14956
14957 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
14958
14959 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
14960 (edebug--recursive-edit): Use it.
14961 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
14962 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
14963
14964 2013-03-28 Leo Liu <sdl.web@gmail.com>
14965
14966 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
14967
14968 2013-03-27 Eli Zaretskii <eliz@gnu.org>
14969
14970 * facemenu.el (list-colors-callback): New defvar.
14971 (list-colors-redisplay): New function.
14972 (list-colors-display): Install list-colors-redisplay as the
14973 revert-buffer-function. (Bug#14063)
14974
14975 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
14976
14977 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
14978 and suffixes don't overlap (bug#14061).
14979
14980 * case-table.el: Use lexical-binding.
14981 (case-table-get-table): New function.
14982 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
14983
14984 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
14985
14986 * progmodes/subword.el: Add `superword-mode' to do word motion
14987 over symbol_words (parallels and leverages `subword-mode' which
14988 does word motion inside MixedCaseWords).
14989
14990 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
14991
14992 * eshell/em-unix.el: Move su and sudo to...
14993 * eshell/em-tramp.el: ...Eshell tramp module.
14994
14995 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
14996
14997 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
14998 Change return value to be a sexp. Delay `get-buffer' to after
14999 restoring the desktop (bug#13951).
15000
15001 2013-03-26 Leo Liu <sdl.web@gmail.com>
15002
15003 * register.el: Move semantic tag handling back to
15004 cedet/semantic/senator.el. (Bug#14052)
15005
15006 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15007
15008 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
15009 into the prompt either (bug#13963).
15010
15011 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
15012
15013 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
15014 part of "(error-foo)".
15015
15016 2013-03-24 Juri Linkov <juri@jurta.org>
15017
15018 * replace.el (list-matching-lines-prefix-face): New defcustom.
15019 (occur-1): Pass `list-matching-lines-prefix-face' to the function
15020 `occur-engine' if `face-differs-from-default-p' returns t.
15021 (occur-engine): Add `,' inside backquote construct to evaluate
15022 `prefix-face'. Propertize the prefix with the `prefix-face' face.
15023 Pass `prefix-face' to the functions `occur-context-lines' and
15024 `occur-engine-add-prefix'.
15025 (occur-engine-add-prefix, occur-context-lines): Add optional arg
15026 `prefix-face' and propertize the prefix with `prefix-face'.
15027 (Bug#14017)
15028
15029 2013-03-24 Leo Liu <sdl.web@gmail.com>
15030
15031 * nxml/rng-valid.el (rng-validate-while-idle)
15032 (rng-validate-quick-while-idle): Guard against deleted buffer.
15033 (Bug#13999)
15034
15035 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
15036 is the last entry in kill-buffer-hook.
15037
15038 * files.el (kill-buffer-hook): Doc fix.
15039
15040 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
15041
15042 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
15043 Make it safe-local.
15044
15045 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
15046
15047 2013-03-23 Leo Liu <sdl.web@gmail.com>
15048
15049 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
15050 Remove.
15051
15052 * nxml/rng-valid.el (rng-validate-mode)
15053 (rng-after-change-function, rng-do-some-validation):
15054 * nxml/rng-maint.el (rng-validate-buffer):
15055 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
15056 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
15057 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
15058 (nxml-extend-after-change-region): Use with-silent-modifications.
15059
15060 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
15061 timer-idle-list.
15062
15063 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
15064 (rng-next-error-1, rng-previous-error-1): Do not let-bind
15065 timer-idle-list. (Bug#13999)
15066
15067 2013-03-23 Juri Linkov <juri@jurta.org>
15068
15069 * info.el (info-index-match): New face.
15070 (Info-index, Info-apropos-matches): Add a nested subgroup to the
15071 main pattern and add text properties with the new face to matches
15072 in index entries relative to the beginning of the index entry.
15073 (Bug#14015)
15074
15075 2013-03-21 Eric Ludlam <zappo@gnu.org>
15076
15077 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
15078 Inhibit read only while inserting objects.
15079
15080 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
15081
15082 * progmodes/cfengine.el: Update docs to mention
15083 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
15084 symbol motion. Remove "_" from the word syntax.
15085
15086 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
15087
15088 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
15089 syntax for both `cfengine2-mode' and `cfengine3-mode'.
15090
15091 2013-03-20 Juri Linkov <juri@jurta.org>
15092
15093 * info.el (Info-next-reference-or-link)
15094 (Info-prev-reference-or-link): New functions.
15095 (Info-next-reference, Info-prev-reference): Use them.
15096 (Info-try-follow-nearest-node): Handle footnote navigation.
15097 (Info-fontify-node): Fontify footnotes. (Bug#13989)
15098
15099 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
15100
15101 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
15102 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
15103
15104 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
15105
15106 Suppress unnecessary non-ASCII chatter during build process.
15107 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
15108 (batch-skkdic-convert): Suppress most of the chatter.
15109 It's not needed so much now that machines are faster,
15110 and its non-ASCII component was confusing; see Dmitry Gutov in
15111 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
15112
15113 2013-03-20 Leo Liu <sdl.web@gmail.com>
15114
15115 * ido.el (ido-chop): Fix bug#10994.
15116
15117 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
15118
15119 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
15120 Remove vars.
15121 (whitespace-color-on, whitespace-color-off):
15122 Use `font-lock-fontify-buffer' (Bug#13817).
15123
15124 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
15125
15126 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
15127 remapping in mode-line.
15128 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
15129
15130 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
15131
15132 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
15133 value for `whitespace-line' face (Bug#13875).
15134 (whitespace-font-lock-keywords): Change description.
15135 (whitespace-color-on): Don't save `font-lock-keywords' value, save
15136 the constructed keywords instead.
15137 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
15138
15139 2013-03-19 Leo Liu <sdl.web@gmail.com>
15140
15141 * progmodes/compile.el (compilation-display-error): New command.
15142 (compilation-mode-map, compilation-minor-mode-map): Bind it to
15143 C-o. (Bug#13992)
15144
15145 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
15146
15147 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
15148
15149 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
15150
15151 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
15152
15153 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
15154
15155 * net/tramp-compat.el (tramp-compat-user-error): New defun.
15156
15157 * net/tramp-adb.el (tramp-adb-handle-shell-command):
15158 * net/tramp-gvfs.el (top):
15159 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
15160 (tramp-handle-shell-command): Use it.
15161 (tramp-dissect-file-name): Raise an error when hostname is a
15162 method name, and neither method nor user is specified.
15163
15164 * net/trampver.el: Update release number.
15165
15166 2013-03-18 Leo Liu <sdl.web@gmail.com>
15167
15168 Make sure eldoc can be turned off properly.
15169 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
15170 eldoc-mode.
15171 (eldoc-display-message-p): Revert last change.
15172 (eldoc-display-message-no-interference-p)
15173 (eldoc-print-current-symbol-info): Tweak.
15174
15175 2013-03-18 Tassilo Horn <tsdh@gnu.org>
15176
15177 * doc-view.el (doc-view-new-window-function): Check the new window
15178 overlay's display property instead the char property of the
15179 buffer's first char. Use `with-selected-window' instead of
15180 `save-window-excursion' with `select-window'.
15181 (doc-view-document->bitmap): Check the current doc-view overlay's
15182 display property instead the char property of the buffer's first char.
15183
15184 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
15185
15186 Automate the build of ja-dic.el (Bug#13984).
15187 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
15188 from the input, rather than assume that it's been done for us by the
15189 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
15190 the current date into a ja-dic.el comment, as that complicates
15191 regression testing.
15192
15193 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
15194
15195 * whitespace.el: Fix double evaluation.
15196 (whitespace-space, whitespace-hspace, whitespace-tab)
15197 (whitespace-newline, whitespace-trailing, whitespace-line)
15198 (whitespace-space-before-tab, whitespace-indentation)
15199 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
15200 obsolete defvars.
15201 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
15202 (whitespace-color-on): Use a single font-lock-add-keywords call.
15203 Fix double-evaluation of face variables.
15204
15205 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
15206
15207 * net/tramp-adb.el (tramp-adb-parse-device-names):
15208 Use `start-process' instead of `call-process'. Otherwise, the
15209 function might be blocked under MS Windows. (Bug#13299)
15210
15211 2013-03-17 Leo Liu <sdl.web@gmail.com>
15212
15213 Extend eldoc to display info in the mode-line. (Bug#13978)
15214 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
15215 (eldoc-mode-line-string): New variable.
15216 (eldoc-minibuffer-message): New function.
15217 (eldoc-message-function): New variable.
15218 (eldoc-message): Use it.
15219 (eldoc-display-message-p)
15220 (eldoc-display-message-no-interference-p):
15221 Support eldoc-post-insert-mode.
15222
15223 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
15224 (eval-expression): Run it.
15225
15226 2013-03-17 Roland Winkler <winkler@gnu.org>
15227
15228 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
15229 strings in the list of return values.
15230
15231 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
15232
15233 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
15234 radix before checking for HMS forms.
15235
15236 2013-03-16 Leo Liu <sdl.web@gmail.com>
15237
15238 * progmodes/scheme.el: Add indentation and font-locking for λ.
15239 (Bug#13975)
15240
15241 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
15242
15243 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
15244 token before point (bug#13942).
15245
15246 2013-03-16 Leo Liu <sdl.web@gmail.com>
15247
15248 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
15249
15250 2013-03-16 Eli Zaretskii <eliz@gnu.org>
15251
15252 * startup.el (command-line-normalize-file-name): Fix handling of
15253 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
15254 <xfq.free@gmail.com> in
15255 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
15256
15257 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
15258
15259 Sync with Tramp 2.2.7.
15260
15261 * net/trampver.el: Update release number.
15262
15263 2013-03-14 Tassilo Horn <tsdh@gnu.org>
15264
15265 * doc-view.el: Fix bug#13887.
15266 (doc-view-insert-image): Don't modify overlay associated to
15267 non-live windows, and implement horizontal centering of image in
15268 case it's smaller than the window.
15269 (doc-view-new-window-function): Force redisplay of new windows on
15270 doc-view buffers.
15271
15272 2013-03-13 Karl Fogel <kfogel@red-bean.com>
15273
15274 * saveplace.el (save-place-alist-to-file): Don't sort
15275 `save-place-alist', just pretty-print it (bug#13882).
15276
15277 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
15278
15279 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
15280 Check whether `default-file-name-coding-system' is bound.
15281 It isn't in XEmacs.
15282
15283 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
15284
15285 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
15286 backquotes for `obsolete' (bug#13929).
15287
15288 * international/mule.el (find-auto-coding): Include file name in
15289 obsolescence warning (bug#13922).
15290
15291 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
15292
15293 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
15294 for CFEngine 3-specific indentation.
15295 (cfengine3-indent-line): Use it. Fix up category regex.
15296 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
15297
15298 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15299
15300 * type-break.el (type-break-file-name):
15301 * textmodes/remember.el (remember-data-file):
15302 * strokes.el (strokes-file):
15303 * shadowfile.el (shadow-initialize):
15304 * saveplace.el (save-place-file):
15305 * ps-bdf.el (bdf-cache-file):
15306 * progmodes/idlwave.el (idlwave-config-directory):
15307 * net/quickurl.el (quickurl-url-file):
15308 * international/kkc.el (kkc-init-file-name):
15309 * ido.el (ido-save-directory-list-file):
15310 * emulation/viper.el (viper-custom-file-name):
15311 * emulation/vip.el (vip-startup-file):
15312 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
15313 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
15314
15315 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
15316
15317 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
15318 * language/thai-word.el: Switch to UTF-8.
15319
15320 See ChangeLog.16 for earlier changes.
15321
15322 ;; Local Variables:
15323 ;; coding: utf-8
15324 ;; End:
15325
15326 Copyright (C) 2011-2014 Free Software Foundation, Inc.
15327
15328 This file is part of GNU Emacs.
15329
15330 GNU Emacs is free software: you can redistribute it and/or modify
15331 it under the terms of the GNU General Public License as published by
15332 the Free Software Foundation, either version 3 of the License, or
15333 (at your option) any later version.
15334
15335 GNU Emacs is distributed in the hope that it will be useful,
15336 but WITHOUT ANY WARRANTY; without even the implied warranty of
15337 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15338 GNU General Public License for more details.
15339
15340 You should have received a copy of the GNU General Public License
15341 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.