]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
* lisp/cus-start.el: Fix some :version numbers.
[gnu-emacs] / lisp / ChangeLog
1 2014-05-28 Glenn Morris <rgm@gnu.org>
2
3 * cus-start.el: Fix some :version numbers.
4
5 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6
7 * simple.el (deactivate-mark): Set mark-active to nil even if
8 deactivation is done via setting transient-mark-mode to nil,
9 since one is buffer-local and the other is global.
10
11 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
12 there can't be more than 2 arguments (bug#17584).
13
14 2014-05-27 Glenn Morris <rgm@gnu.org>
15
16 * simple.el (filter-buffer-substring-functions)
17 (filter-buffer-substring-function, buffer-substring-filters)
18 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
19
20 * minibuffer.el (completion-in-region-functions, completion-in-region)
21 (completion--in-region): Doc fixes.
22
23 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
24 (expand-abbrev, abbrev--default-expand): Doc fixes.
25
26 2014-05-26 Paul Eggert <eggert@cs.ucla.edu>
27
28 Include sources used to create macuvs.h.
29 * international/README: Refer to the Unicode Terms of Use rather
30 than copying it bodily here, as that simplifies maintenance.
31
32 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
33
34 * cus-face.el (custom-face-attributes): Add :distant-foreground.
35
36 2014-05-25 Martin Rudalics <rudalics@gmx.at>
37
38 * window.el (window--dump-frame): Remove interactive
39 specification.
40
41 2014-05-23 Glenn Morris <rgm@gnu.org>
42
43 * hippie-exp.el (he-line-search-regexp):
44 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
45
46 2014-05-23 Stephen Berman <stephen.berman@gmx.net>
47
48 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
49 to avoid errors when trying to create or visit a file foo.todo
50 located outside to todo-directory, and to allow having such files
51 without them being tied to Todo mode (bug#17482).
52 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
53 (todo-archive-done-item, todo-find-filtered-items-file)
54 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
55 (todo-category-completions, todo-read-category): When visiting a
56 Todo file, make sure we're in the right mode and the buffer local
57 variables are set.
58 (todo-make-categories-list, todo-reset-nondiary-marker)
59 (todo-reset-done-string, todo-reset-comment-string): After
60 processing all Todo files, kill the buffers of those files that
61 weren't being visited before the processing.
62 (todo-display-as-todo-file, todo-add-to-buffer-list)
63 (todo-visit-files-commands): Comment out.
64 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
65 (auto-mode-alist): Remove add-to-list calls making Todo file
66 extensions unrestrictedly tied to Todo modes.
67
68 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
69
70 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
71 (advice-function-member-p): Tell it to check both names and functions
72 (bug#17531).
73 (advice--add-function): Adjust call accordingly.
74
75 2014-05-23 Stephen Berman <stephen.berman@gmx.net>
76
77 * calendar/todo-mode.el: Miscellaneous bug fixes.
78 (todo-delete-file): When deleting an archive but not its todo
79 file, make sure to update the todo file's category sexp.
80 (todo-move-category): Keep the moved category's name unless the
81 file moved to already has a category with that name. If the
82 numerically last category of the source file was moved, make the
83 first category current to avoid selecting a nonexisting category.
84 (todo-merge-category): Fix implementation to make merging to a
85 category in another file work as documented. Eliminate now
86 insufficient and unnecessary renaming of archive category, correct
87 document string accordingly, and clarify it. If the numerically
88 last category of the source file was merged, make the first
89 category current to avoid selecting a nonexisting category.
90 (todo-archive-done-item): When there are marked items and point
91 happens to be on an unmarked item, ignore the latter. Don't leave
92 point below last item after archiving marked items.
93 (todo-unarchive-items): Fix logic to ensure unarchiving an item
94 from an archive with only one category deletes the archive only
95 when the category is empty after unarchiving. Make sure the todo
96 file's category sexp is updated.
97 (todo-read-file-name): Allow an existing file name even when it is
98 not required (todo-move-category needs this to work as documented).
99 (todo-add-file): Call todo-validate-name to reject the name of an
100 existing todo file (needed due to fix in todo-read-file-name).
101 (todo-reset-nondiary-marker): Also reset in filtered items files.
102 (todo-reset-done-string, todo-reset-comment-string): Also reset in
103 regexp filtered items files.
104 (todo-reset-highlight-item): Also reset in filtered items files.
105 Fix incorrect variable reference in document string.
106
107 2014-05-22 Glenn Morris <rgm@gnu.org>
108
109 * window.el (window--dump-frame): Avoid error in --without-x builds.
110
111 2014-05-21 Glenn Morris <rgm@gnu.org>
112
113 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
114
115 2014-05-21 Eli Zaretskii <eliz@gnu.org>
116
117 * frame.el (set-frame-font): Doc fix.
118
119 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
120
121 2014-05-21 Dmitry Gutov <dgutov@yandex.ru>
122
123 * emacs-lisp/package.el (package--download-one-archive): Use
124 `write-region' instead of `save-buffer' to avoid running various
125 hooks. (Bug#17155)
126 (describe-package-1): Same. Insert newline at the end of the
127 buffer if appropriate.
128
129 2014-05-20 Juri Linkov <juri@jurta.org>
130
131 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
132 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
133 Add more modifiers: meta, control, shift, hyper, super, alt.
134 (Bug#17439)
135
136 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
137 to allow changing its value with `set-variable'.
138
139 2014-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
140
141 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
142 #; comments.
143 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
144 New functions.
145 (scheme-mode-variables): Set syntax-propertize-function instead of
146 font-lock-syntactic-face-function.
147 (scheme-font-lock-syntactic-face-function): Delete.
148
149 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
150
151 2014-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
152
153 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
154 (bug#17392).
155
156 2014-05-17 Michael Albinus <michael.albinus@gmx.de>
157
158 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
159 for a temporary file name.
160
161 2014-05-17 Eli Zaretskii <eliz@gnu.org>
162
163 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
164
165 2014-05-16 Michael Albinus <michael.albinus@gmx.de>
166
167 * net/dbus.el (dbus-init-bus, dbus-call-method)
168 (dbus-call-method-asynchronously, dbus-send-signal)
169 (dbus-method-return-internal, dbus-method-error-internal):
170 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
171
172 2014-05-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
173
174 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
175 methods which do not have a doc string. (Bug#17490)
176
177 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
178 Stefan Monnier <monnier@iro.umontreal.ca>
179
180 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
181 suffix (bug#15419).
182
183 2014-05-14 Glenn Morris <rgm@gnu.org>
184
185 * vc/emerge.el (emerge-temp-file-prefix):
186 Make pointless option obsolete.
187 (emerge-temp-file-mode): Make non-functional option obsolete.
188
189 2014-05-13 Michael Albinus <michael.albinus@gmx.de>
190
191 * net/browse-url.el (browse-url):
192 Use `unhandled-file-name-directory' when setting `default-directory',
193 in order to circumvent stalled remote connections. (Bug#17425)
194
195 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
196
197 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
198 into autoloading just because of a silly indirection.
199
200 2014-05-11 Santiago Payà i Miralta <santiagopim@gmail.com> (tiny change)
201
202 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
203
204 2014-05-11 Glenn Morris <rgm@gnu.org>
205
206 * emacs-lisp/find-gc.el: Move to ../admin.
207
208 2014-05-10 Glenn Morris <rgm@gnu.org>
209
210 * printing.el (pr-version):
211 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
212
213 * net/browse-url.el (browse-url-mosaic):
214 Create /tmp/Mosaic.PID as a private file.
215
216 2014-05-10 Stefan Monnier <monnier@iro.umontreal.ca>
217
218 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
219 (advice--member-p): If name is given, only compare the name.
220 (advice--remove-function): Don't stop at the first match.
221 (advice--normalize-place): New function.
222 (add-function, remove-function): Use it.
223 (advice--add-function): Pass the name, if any, to
224 advice--remove-function.
225
226 2014-05-09 Philipp Rumpf <prumpf@gmail.com> (tiny change)
227
228 * electric.el (electric-indent-post-self-insert-function): Don't use
229 `pos' after modifying the buffer (bug#17449).
230
231 2014-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
232
233 * subr.el (function-put): Add function.
234
235 2014-05-09 Stephen Berman <stephen.berman@gmx.net>
236
237 * calendar/todo-mode.el (todo-insert-item-from-calendar):
238 Correct argument list to conform to todo-insert-item--basic.
239
240 2014-05-09 Glenn Morris <rgm@gnu.org>
241
242 * files.el (cd-absolute): Test if directory is accessible
243 rather than executable. (Bug#17330)
244
245 * progmodes/compile.el (recompile):
246 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
247
248 2014-05-08 Juri Linkov <juri@jurta.org>
249
250 * dired.el (dired-check-switches, dired-switches-recursive-p):
251 New functions. (Bug#17218)
252 (dired-switches-escape-p, dired-move-to-end-of-filename):
253 Use `dired-check-switches'.
254 (dired-insert-old-subdirs, dired-build-subdir-alist)
255 (dired-sort-R-check): Use `dired-switches-recursive-p'.
256
257 2014-05-08 Glenn Morris <rgm@gnu.org>
258
259 * net/browse-url.el (browse-url-mosaic):
260 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
261 This is CVE-2014-3423.
262
263 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
264
265 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
266 (xterm-mouse--read-event-sequence-1000): Return nil if something
267 looks fishy.
268 (xterm-mouse-event): Propagate it.
269 (xterm-mouse-translate-1): Handle it.
270
271 2014-05-07 Stephen Berman <stephen.berman@gmx.net>
272
273 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
274 four slots of the parameter list are filled, make sure to pass it
275 to the argument list of todo-insert-item--basic.
276
277 2014-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
278
279 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
280 Add optional `seen' argument to detect and break infinite loops.
281
282 2014-05-06 Eli Zaretskii <eliz@gnu.org>
283
284 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
285 (trace-unsafe, trace-use-tree): Make parentheses style be
286 according to Emacs style.
287
288 2014-05-06 Michael Albinus <michael.albinus@gmx.de>
289
290 * net/tramp-sh.el (tramp-remote-process-environment):
291 Remove HISTFILE and HISTSIZE; it's too late to set them here.
292 Add :version entry.
293 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
294 Add "HISTFILE=/dev/null" to the shell's env arguments. Do not send
295 extra "PSx=..." commands.
296 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
297 (Bug#17295)
298
299 (tramp-uudecode): Replace the hard-coded temporary file name by a
300 format specifier.
301 (tramp-remote-coding-commands): Enhance docstring.
302 (tramp-find-inline-encoding): Replace "%t" by a temporary file
303 name. (Bug#17415)
304 This is CVE-2014-3424.
305
306 2014-05-06 Glenn Morris <rgm@gnu.org>
307
308 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
309 (find-gc-source-files): Update some names.
310 (trace-call-tree): Simplify and update.
311 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
312 This is CVE-2014-3422.
313
314 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
315
316 * minibuffer.el (completion--try-word-completion): Revert fix for
317 Bug#15980 (bug#17375).
318
319 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
320 Always store button numbers in the same way in xterm-mouse-last;
321 Don't burp is xterm-mouse-last is not set as expected.
322 Never return negative indices.
323
324 2014-05-05 Dmitry Gutov <dgutov@yandex.ru>
325
326 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
327 Backtrack one char if the global/char-literal var matcher hits
328 inside a string. The next char could be the beginning of an
329 expression expansion.
330
331 2014-05-05 Glenn Morris <rgm@gnu.org>
332
333 * help-fns.el (describe-function-1): Test for an autoload before a
334 macro, since `macrop' works on autoloads. (Bug#17410)
335
336 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
337
338 * electric.el (electric-indent-functions-without-reindent): Add yaml.
339
340 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
341 Make sure the new point we return is within the new string (bug#17239).
342
343 2014-05-03 Eli Zaretskii <eliz@gnu.org>
344
345 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
346
347 2014-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
348
349 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
350 Use nil rather than `default' for the "default" appearance (bug#17388).
351 * vc/ediff-util.el (ediff-inferior-compare-regions)
352 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
353 a misleading `default' value when it's really a boolean.
354 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
355 overlay is not visible.
356
357 2014-05-02 Stephen Berman <stephen.berman@gmx.net>
358
359 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
360 (todo-menu): Uncomment and update.
361
362 2014-05-02 Stephen Berman <stephen.berman@gmx.net>
363
364 * calendar/todo-mode.el: Reimplement item editing to have the same
365 basic user interface as item insertion, and make small UI and
366 larger internal improvements to the latter.
367 (todo-insert-item): Add reference to the Todo mode user manual to
368 the documentation string.
369 (todo-insert-item--basic): Rename from todo-basic-insert-item and
370 adjust all callers. Change signature to combine diary and
371 nonmarking arguments. Incorporate functionality of deleted item
372 copying command and add error checking. Remove detailed
373 descriptions of the arguments from the documentation string, since
374 this is treated in the Todo mode user manual.
375 (todo-copy-item, todo-edit-multiline-item)
376 (todo-edit-done-item-comment, todo-edit-item-header)
377 (todo-edit-item-time, todo-edit-item-date-from-calendar)
378 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
379 (todo-edit-item-date-year, todo-edit-item-date-month)
380 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
381 Remove.
382 (todo-edit-item): Reimplement as wrapper command for
383 todo-edit-item--next-key and make it distinguish done and not done
384 todo items.
385 (todo-edit-item--text): New function, replacing old command
386 todo-edit-item and incorporating deleted commands
387 todo-edit-multiline-item and todo-edit-done-item-comment.
388 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
389 Use only numeric value of prefix argument. Remove detailed
390 descriptions of the arguments from the documentation string, since
391 this is treated in the Todo mode user manual.
392 (todo-edit-item--diary-inclusion): New function, replacing old
393 command todo-edit-item-diary-inclusion and incorporating and fixing
394 functionality of deleted command todo-edit-item-diary-nonmarking,
395 making sure to remove todo-nondiary-marker when adding
396 diary-nonmarking-symbol.
397 (todo-edit-category-diary-inclusion): Make sure to delete
398 diary-nonmarking-symbol when adding todo-nondiary-marker.
399 (todo-edit-category-diary-nonmarking): Fix indentation.
400 (todo-insert-item--parameters): Group diary and nonmarking
401 parameters together.
402 (todo-insert-item--apply-args): Adjust to signature of
403 todo-insert-item--basic and incorporate copy parameter.
404 Make small code improvements.
405 (todo-insert-item--next-param): Improve prompt and adjust it to
406 new parameter grouping. Remove obsolete code.
407 (todo-edit-item--param-key-alist)
408 (todo-edit-item--date-param-key-alist)
409 (todo-edit-done-item--param-key-alist): New defconsts.
410 (todo-edit-item--prompt): New variable.
411 (todo-edit-item--next-key): New function.
412 (todo-key-bindings-t): Bind "e" to todo-edit-item.
413 Remove bindings of deleted commands.
414
415 2014-05-02 Leo Liu <sdl.web@gmail.com>
416
417 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
418
419 2014-05-01 Glenn Morris <rgm@gnu.org>
420
421 * allout-widgets.el (allout-widgets-tally)
422 (allout-decorate-item-guides):
423 * menu-bar.el (menu-bar-positive-p):
424 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
425 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
426 * progmodes/js.el (js--inside-param-list-p)
427 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
428 * progmodes/prolog.el (region-exists-p):
429 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
430 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
431 Doc fixes (replace `iff').
432
433 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
434
435 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
436
437 2014-04-30 Eli Zaretskii <eliz@gnu.org>
438
439 * dired.el (dired-initial-position-hook, dired-initial-position):
440 Doc string fixes.
441
442 2014-04-29 Glenn Morris <rgm@gnu.org>
443
444 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
445
446 2014-04-27 Matthias Dahl <matthias.dahl@binary-island.eu>
447
448 * faces.el (face-spec-recalc): Apply X resources only after the
449 defface spec has been applied. Thus, X resources are no longer
450 overriden by the defface spec which also fixes issues on win32 where
451 the toolbar coloring was wrong because it is set through X resources
452 and was (wrongfully) overriden. (Bug#16694)
453
454 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
455
456 * textmodes/rst.el (electric-pair-pairs): Declare.
457 (rst-mode): Set it (bug#17131).
458
459 2014-04-27 Juri Linkov <juri@jurta.org>
460
461 * desktop.el (desktop-value-to-string): Let-bind `print-length'
462 and `print-level' to nil. (Bug#17351)
463
464 2014-04-25 Nicolas Richard <theonewiththeevillook@yahoo.fr>
465
466 * battery.el (battery-update): Handle the case where battery
467 status is "N/A" (bug#17319).
468
469 2014-04-24 Eli Zaretskii <eliz@gnu.org>
470
471 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
472 Use equal-including-properties to compare help-echo strings (bug#17331).
473
474 2014-04-24 Leo Liu <sdl.web@gmail.com>
475
476 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
477 Fix syntax for @. (Bug#17325)
478
479 2014-04-24 Daniel Colascione <dancol@dancol.org>
480
481 * emacs-lisp/cl.el (gv): Require gv early to break eager
482 macro-expansion cycles.
483
484 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
485
486 * simple.el (region-active-p): Check there's a mark (bug#17324).
487
488 * simple.el (completion-list-mode-map): Use choose-completion for the
489 mouse binding as well (bug#17302).
490 (completion-list-mode, completion-setup-function): Adjust docstring and
491 echo area message accordingly.
492 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
493 calling convention of choose-completion.
494 * comint.el (comint-dynamic-list-completions):
495 * term.el (term-dynamic-list-completions): Accept choose-completion.
496
497 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
498 &, |, +, - and * can't be a division (bug#17317).
499
500 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
501
502 * term/xterm.el (xterm--version-handler): Don't use modern xterm
503 features on gnome-terminal (bug#16988).
504
505 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
506
507 * dired.el (dired-insert-set-properties): Do not consider
508 subdirectory headings and empty lines to be information that
509 `dired-hide-details-mode' should hide. (Bug#17228)
510
511 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
512
513 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
514 Remove test messages.
515 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
516 and `target' twice.
517
518 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
519
520 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
521 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
522
523 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
524
525 2014-04-21 Michael Albinus <michael.albinus@gmx.de>
526
527 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
528 Set "IFS=" when using read builtin, in order to preserve spaces in
529 the file name. Add test messages for hunting a bug on hydra.
530 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
531
532 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
533
534 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
535 Don't prettify a word within a symbol.
536
537 2014-04-20 Michael Albinus <michael.albinus@gmx.de>
538
539 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
540 possible.
541
542 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
543
544 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
545 assignments such as "case=hello" (bug#17297).
546
547 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
548
549 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
550 Do not autoload.
551 (tramp-file-name-handler, tramp-completion-file-name-handler):
552 Revert patch from 2014-04-10, it isn't necessary anymore.
553 (tramp-autoload-file-name-handler)
554 (tramp-register-autoload-file-name-handlers): New defuns.
555 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
556 (tramp-register-file-name-handlers): Remove also
557 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
558 Do not autoload its invocation, but eval it after loading of 'tramp.
559
560 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
561
562 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
563
564 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
565
566 * nxml/nxml-mode.el (nxml-fontify-matcher): Make sure propertization
567 was done (bug#17264).
568 * nxml/xmltok.el (xmltok-scan-after-comment-open): Extend unclosed
569 comment to EOB.
570
571 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
572 here-documents (bug#17262).
573
574 2014-04-16 Eli Zaretskii <eliz@gnu.org>
575
576 * term/pc-win.el (x-list-fonts, x-get-selection-value):
577 Provide doc strings, as required by snarf-documentation.
578
579 2014-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
580
581 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
582 arg of overlays-at. Use `invisible-p'.
583
584 * obsolete/lucid.el (extent-at):
585 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
586 overlays-at.
587 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
588
589 2014-04-14 João Távora <joaotavora@gmail.com>
590
591 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
592 links. (Bug#17217).
593
594 2014-04-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
595
596 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
597 Use mapc to loop over a vector. (Bug#17257).
598
599 2014-04-13 Michael Albinus <michael.albinus@gmx.de>
600
601 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
602 patch, there are new problems with file names containing spaces.
603 Get rid of backticks. (Bug#17238)
604
605 2014-04-13 João Távora <joaotavora@gmail.com>
606
607 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
608 possible bug.
609
610 2014-04-13 Eli Zaretskii <eliz@gnu.org>
611
612 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
613 (blink-cursor-mode): Mention customization variables and the
614 effect of 'blink-cursor-blinks'.
615
616 2014-04-12 Barry O'Reilly <gundaetiapo@gmail.com>
617
618 * simple.el (undo): Prevent insertion of identity mapping into
619 undo-equiv-table so as undo-only does not inf loop in the presence
620 of consecutive nils in undo list.
621
622 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
623
624 * faces.el (make-face): Deprecate optional argument as it is no
625 longer needed/used since the conditional X resources handling
626 has been pushed down to make-face-x-resource-internal itself.
627 (make-empty-face): Don't pass optional argument to make-face.
628
629 2014-04-12 Eli Zaretskii <eliz@gnu.org>
630
631 * international/characters.el <standard-case-table>: Add entries
632 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
633 Set category of Coptic characters be 'g' (Greek).
634
635 2014-04-12 Leo Liu <sdl.web@gmail.com>
636
637 * progmodes/octave.el (completion-table-with-cache): Define if not
638 available.
639 (octave-goto-function-definition)
640 (octave-sync-function-file-names)
641 (octave-find-definition-default-filename): Backquote upattern for
642 compatibility.
643
644 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
645
646 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
647 name twice due to backticks. (Bug#17238)
648
649 2014-04-11 Glenn Morris <rgm@gnu.org>
650
651 * term/w32-win.el (x-win-suspend-error):
652 * term/x-win.el (x-win-suspend-error): Sync docs.
653
654 2014-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
655
656 Ediff's overlay priorities cause more trouble than they solve.
657 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
658 (ediff-highest-priority): Remove function (bug#17234).
659 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
660 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
661 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
662 overlay priorities.
663
664 2014-04-10 Feng Li <fengli@gmail.com> (tiny change)
665
666 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
667 entry; use symbol boundaries to avoid mis-matches.
668
669 2014-04-10 Michael Albinus <michael.albinus@gmx.de>
670
671 * net/tramp.el (tramp-file-name-handler)
672 (tramp-completion-file-name-handler): Avoid recursive loading.
673
674 * net/tramp-sh.el (tramp-make-copy-program-file-name):
675 Quote result also locally.
676
677 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
678
679 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
680 Module methods. (Bug#17216)
681
682 2014-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
683
684 * help.el (describe-bindings): Fix buffer handling (bug#17210).
685 (describe-bindings-internal): Mark obsolete.
686
687 2014-04-07 João Távora <joaotavora@gmail.com>
688
689 * elec-pair.el:
690 (electric-pair--syntax-ppss): When inside comments parse from
691 comment beginning.
692 (electric-pair--balance-info): Fix typo in comment.
693 (electric-pair--in-unterminated-string-p): Delete.
694 (electric-pair--unbalanced-strings-p): New function.
695 (electric-pair-string-bound-function): New var.
696 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
697 according to `electric-pair--in-unterminated-string-p'
698
699 2014-04-07 João Távora <joaotavora@gmail.com>
700
701 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
702 Inhibit quote pairing if point-max is inside an unterminated string.
703 (electric-pair--looking-at-unterminated-string-p): Delete.
704 (electric-pair--in-unterminated-string-p): New function.
705
706 2014-04-07 Glenn Morris <rgm@gnu.org>
707
708 * shell.el (shell-directory-tracker):
709 Go back to just ignoring failures. (Bug#17159)
710
711 2014-04-06 João Távora <joaotavora@gmail.com>
712
713 Fix `electric-pair-delete-adjacent-pairs' in modes binding
714 backspace. (bug#16981)
715 * elec-pair.el (electric-pair-backward-delete-char): Delete.
716 (electric-pair-backward-delete-char-untabify): Delete.
717 (electric-pair-mode-map): Bind backspace to a menu item filtering
718 a new `electric-pair-delete-pair' command.
719 (electric-pair-delete-pair): New command.
720
721 2014-04-06 João Távora <joaotavora@gmail.com>
722
723 * progmodes/python.el (python-electric-pair-string-delimiter):
724 Fix triple-quoting electricity. (Bug#17192)
725
726 2014-04-06 João Távora <joaotavora@gmail.com>
727
728 * elec-pair.el (electric-pair-post-self-insert-function):
729 Don't skip whitespace when `electric-pair-text-pairs' and
730 `electric-pair-pairs' were used. syntax to
731 electric-pair--skip-whitespace. (Bug#17183)
732
733 2014-04-06 Eli Zaretskii <eliz@gnu.org>
734
735 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
736 "<F>". (Bug#17199)
737
738 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
739
740 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
741 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
742
743 2014-04-05 Glenn Morris <rgm@gnu.org>
744
745 * help.el (view-lossage): Doc tweak.
746
747 2014-04-05 Matthias Dahl <matthias.dahl@binary-island.eu>
748
749 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
750 only when inhibit-x-resources is nil, and do that earlier in the
751 function. Doc fix. (Bug#16694)
752 (face-spec-choose): Accept additional optional argument, whose
753 value is returned if no matching attributes are found.
754 (face-spec-recalc): Use the new optional argument when calling
755 face-spec-choose. (Bug#16378)
756 (make-face-x-resource-internal): Do nothing when
757 inhibit-x-resources is non-nil. Don't touch the default face if
758 reversed video is given--as was done in previous versions of Emacs.
759 (face-set-after-frame-default): Don't call
760 make-face-x-resource-internal here. (Bug#16434)
761
762 2014-04-04 Tassilo Horn <tsdh@gnu.org>
763
764 * doc-view.el (doc-view-bookmark-jump):
765 Use `bookmark-after-jump-hook' to jump to the right page after the
766 buffer is shown in a window. (bug#16090)
767
768 2014-04-04 Eli Zaretskii <eliz@gnu.org>
769
770 * international/characters.el (mirroring): Fix last change:
771 instead of loading uni-mirrored.el explicitly, do that implicitly
772 by creating the 'mirroring' uniprop table. This avoids announcing
773 the loading of uni-mirrored.el.
774
775 2014-04-04 Glenn Morris <rgm@gnu.org>
776
777 * files.el (buffer-stale--default-function)
778 (buffer-stale-function, revert-buffer--default):
779 * autorevert.el (auto-revert-buffers): Doc tweaks.
780
781 2014-04-03 Eli Zaretskii <eliz@gnu.org>
782
783 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
784
785 2014-04-03 Glenn Morris <rgm@gnu.org>
786
787 * files.el (make-backup-file-name-function)
788 (make-backup-file-name, make-backup-file-name--default-function)
789 (make-backup-file-name-1, find-backup-file-name)
790 (revert-buffer-function, revert-buffer-insert-file-contents-function)
791 (buffer-stale--default-function, buffer-stale-function)
792 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
793 (revert-buffer, revert-buffer--default)
794 (revert-buffer-insert-file-contents--default-function):
795 Doc fixes related to defaults no longer being nil.
796 (make-backup-file-name-function): Bump :version.
797 Restore nil as a valid but deprecated custom type.
798
799 2014-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
800
801 * progmodes/perl-mode.el (perl-syntax-propertize-function): Handle $'
802 used as a variable (bug#17174).
803
804 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
805
806 * progmodes/perl-mode.el (perl-indent-new-calculate):
807 Handle forward-sexp failure (bug#16985).
808 (perl-syntax-propertize-function): Add "foreach" and "for" statement
809 modifiers introducing expressions (bug#17116).
810
811 2014-04-02 Glenn Morris <rgm@gnu.org>
812
813 * menu-bar.el (menu-bar-file-menu):
814 * vc/ediff.el (ediff-current-file):
815 Update for revert-buffer-function no longer being nil by default.
816
817 * simple.el (command-execute): Respect nil disabled-command-function.
818
819 2014-04-01 Nicolas Richard <theonewiththeevillook@yahoo.fr>
820
821 * simple.el (command-execute): Do not execute the command when it
822 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
823
824 2014-03-29 Juri Linkov <juri@jurta.org>
825
826 * dired-aux.el (dired-compress-file): Don't use string-match-p
827 because its match data is used afterwards.
828
829 2014-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
830
831 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
832 0 like nil.
833
834 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
835
836 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
837 Highlight special globals with font-lock-builtin-face. (Bug#17057)
838
839 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
840 Don't propertize `?' or `!' as symbol constituent when after
841 colon. (Bug#17097)
842
843 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
844
845 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
846 which is no longer needed and causes trouble in GTK builds (bug#17046).
847
848 * emacs-lisp/package-x.el (package--archive-contents-from-url):
849 Use url-insert-file-contents; package-handle-response no longer exists.
850
851 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
852
853 * emacs-lisp/package.el: Fix bug#16733 (again).
854 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
855 (url-http-target-url): Remove unused declarations.
856 (package-handle-response): Remove.
857 (package--with-work-buffer): Use url-insert-file-contents and simplify.
858 (package--download-one-archive): Use current-buffer instead of
859 dynamic binding of `buffer'.
860 (describe-package-1): Do not decode readme-string.
861
862 2014-03-25 Barry O'Reilly <gundaetiapo@gmail.com>
863
864 * simple.el (primitive-undo): Correction to 2014-03-24 change.
865
866 2014-03-25 Michael Albinus <michael.albinus@gmx.de>
867
868 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
869
870 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
871 from 2014-03-07, it decreases performance unnecessarily. Let-bind
872 `remote-file-name-inhibit-cache' to nil in the second pass.
873 (tramp-find-executable): Do not call "which" on SunOS.
874 (tramp-send-command-and-check): Fix docstring.
875 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
876 check whether source directory has set the sticky bit.
877
878 2014-03-24 Barry O'Reilly <gundaetiapo@gmail.com>
879
880 * simple.el (primitive-undo): Only process marker adjustments
881 validated against their corresponding (TEXT . POS). Issue warning
882 for lone marker adjustments in undo history. (Bug#16818)
883 (undo-make-selective-list): Add marker adjustments to selective
884 undo list based on whether their corresponding (TEXT . POS) is in
885 the region. Remove variable adjusted-markers, which was unused
886 and only non nil during undo-make-selective-list.
887 (undo-elt-in-region): Return nil when passed a marker adjustment
888 and explain in function doc.
889
890 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
891
892 * emacs-lisp/package.el (package--add-to-archive-contents):
893 Include already installed and built-in packages in
894 `package-archive-contents'.
895 (package-install): Don't include already installed packages in the
896 options during interactive invocation. (Bug#16762)
897
898 2014-03-24 Daniel Colascione <dancol@dancol.org>
899
900 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
901 instead of cl-loop search function.
902
903 2014-03-24 Juanma Barranquero <lekktu@gmail.com>
904
905 * frameset.el (frameset--initial-params): Fix typo in parameter name.
906
907 2014-03-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
908
909 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
910
911 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
912
913 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
914 Match special global variables without curlies, too.
915 (ruby-font-lock-keywords): Simplify the matcher for special global
916 variables. Don't require a non-word character after the variable.
917 (Bug#17057)
918
919 2014-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
920
921 * simple.el (redisplay-highlight-region-function): Increase priority of
922 overlay to make sure boundaries are visible (bug#15899).
923
924 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
925
926 * frameset.el (frameset-restore): Compare display strings with equal.
927
928 * frame.el (make-frame): Don't quote display name in error message,
929 it is already a string.
930
931 2014-03-23 Thierry Volpiatto <thierry.volpiatto@gmail.com>
932
933 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
934 the password.
935
936 2014-03-23 Dmitry Gutov <dgutov@yandex.ru>
937
938 * emacs-lisp/package.el (package-show-package-list): If the buffer
939 is already displayed in another window, switch to that window.
940
941 2014-03-21 Daniel Colascione <dancol@dancol.org>
942
943 * mail/emacsbug.el (report-emacs-bug): Include memory usage
944 information in bug reports.
945
946 2014-03-23 Daniel Colascione <dancol@dancol.org>
947
948 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
949 list to look for keyword arguments instead of `memq', fixing
950 (Bug#3647) --- unfortunately, only for freshly-compiled code.
951 Please make bootstrap.
952
953 2014-03-23 Richard Stallman <rms@gnu.org>
954
955 * battery.el (battery-linux-sysfs): Search for each field
956 from the beginning of the buffer.
957
958 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
959
960 * emacs-lisp/package.el (package-desc): Use the contents of the
961 quoted form, not its cdr. (Bug#16873)
962
963 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
964
965 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
966 benefit of doc.c; change parameter profile to match the X function.
967
968 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
969
970 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
971 and `tramp-copy-env'.
972
973 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
974 (tramp-maybe-open-connection): Handle `tramp-login-env'.
975
976 2014-03-21 Glenn Morris <rgm@gnu.org>
977
978 * electric.el (electric-indent-post-self-insert-function): Add doc.
979
980 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
981
982 * emacs-lisp/package.el (package-compute-transaction):
983 Use `version-list-<=' to compare the requirement version against
984 the version of package already to be installed. Update the error
985 message. (Bug#16826)
986
987 * progmodes/ruby-mode.el (ruby-smie-rules):
988 Add indentation rule for ` @ '. (Bug#17050)
989
990 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
991
992 * align.el (align-regexp): Remove superfluous backslash.
993
994 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
995 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
996 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
997 Fix docstring typos.
998 (ffap-next): Use C-u in docstring.
999 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
1000 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
1001 Remove superfluous backslashes.
1002 (ffap-string-at-point): Reflow docstring.
1003
1004 * server.el (server-host): Reflow docstring.
1005 (server-unload-function): Fix docstring typo.
1006 (server-eval-at): Remove superfluous backslash.
1007
1008 * skeleton.el (skeleton-insert): Remove superfluous backslash.
1009 (skeleton-insert): Doc fix.
1010 (skeleton-insert): Reflow docstring.
1011
1012 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
1013 (tty-color-approximate, tty-color-by-index, tty-color-values)
1014 (tty-color-desc): Remove superfluous backslashes.
1015
1016 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
1017
1018 * electric.el (electric-newline-and-maybe-indent): New command.
1019 Bind it globally to C-j.
1020 (electric-indent-mode): Don't mess with the global map any more.
1021 Don't drop the post-self-insert-hook is some buffer is still using it
1022 (bug#16770).
1023
1024 * bindings.el (global-map): Remove C-j binding.
1025
1026 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
1027 the docstring of functions advised before dumping (bug#16993).
1028
1029 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
1030
1031 * ps-print.el (ps-generate-postscript-with-faces):
1032 Explicitly deactivate the mark (bug#16866).
1033 * simple.el (deactivate-mark): Update region highlight.
1034
1035 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
1036
1037 * emacs-lisp/package.el (describe-package-1):
1038 Decode commentary (bug#16733).
1039
1040 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
1041
1042 * custom.el (defcustom): Doc fix: recommend avoiding destructive
1043 modification of the value argument of :set (bug#16755).
1044
1045 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1046
1047 * simple.el (newline-and-indent): Do autofill (bug#17031).
1048
1049 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
1050
1051 * newcomment.el (comment-normalize-vars): Only add escaping check
1052 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
1053 (comment-beginning): Use `narrow-to-region' instead of moving back
1054 one character.
1055 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
1056 (comment-start-skip): Update the docstring.
1057
1058 2014-03-18 Richard Stallman <rms@gnu.org>
1059
1060 * dired.el (dired-display-file): Force use of other window.
1061
1062 2014-03-18 Daniel Colascione <dancol@dancol.org>
1063
1064 * startup.el (tty-handle-args): Remove debug message from 2007.
1065
1066 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
1067
1068 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
1069 (advice--make-interactive-form): Use it to avoid (auto)loading function.
1070 (advice--make-1, advice-add, advice-remove):
1071 Remove braindead :advice-pending hack.
1072
1073 2014-03-17 Glenn Morris <rgm@gnu.org>
1074
1075 * calendar/calendar.el (calendar-generate-month): Apply weekend
1076 face to the right days; fixes 2013-08-06 change. (Bug#17028)
1077
1078 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
1079
1080 * net/tramp.el (tramp-action-out-of-band): Read pending output.
1081 (tramp-call-process): Trace also DESTINATION.
1082
1083 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1084 Quote file names when they are local. Remove superfluous trace.
1085
1086 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
1087
1088 * newcomment.el (comment-beginning): If `comment-start-skip'
1089 doesn't match, move back one char and try again. (Bug#16971)
1090
1091 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1092 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
1093 Set `comment-start-skip' to a simpler value that doesn't try to
1094 check if the semicolon is escaped (this is handled by
1095 `syntax-ppss' now). (Bug#16971)
1096
1097 * progmodes/scheme.el (scheme-mode-variables): Same.
1098
1099 2014-03-16 Martin Rudalics <rudalics@gmx.at>
1100
1101 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
1102 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
1103 current (Bug#16816, Bug#17007).
1104 (with-current-buffer-window): New macro doing the same as
1105 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
1106 * help.el (help-print-return-message): Warn in doc-string to not
1107 use this in `with-help-window'.
1108 (describe-bindings-internal): Call `describe-buffer-bindings'
1109 from within help buffer. See Juanma's scenario in (Bug#16816).
1110 (with-help-window): Update doc-string.
1111 * dired.el (dired-mark-pop-up):
1112 * files.el (save-buffers-kill-emacs):
1113 * register.el (register-preview): Use `with-current-buffer-window'
1114 instead of `with-temp-buffer-window'.
1115
1116 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
1117
1118 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
1119 Implement inserting into current buffer, documented in their docstrings.
1120 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
1121 (rst-section-tree-point, rst-forward-section, rst-indent)
1122 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
1123 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
1124 (rst-font-lock-handle-adornment-pre-match-form)
1125 (rst-repeat-last-character): Reflow docstrings.
1126 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
1127 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
1128 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
1129 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
1130 Fix docstring typos.
1131 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
1132 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
1133 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
1134
1135 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
1136
1137 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
1138 for compatibility with other ports.
1139 (ns-initialize-window-system): Use it. It is set in term/common-win.el
1140 from the -xrm command line argument, but in the Nextstep port its value
1141 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
1142
1143 * progmodes/python.el (defconst, python-syntax-count-quotes)
1144 (python-indent-region, python-indent-shift-right)
1145 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
1146 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
1147 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
1148 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
1149 (inferior-python-mode, python-shell-make-comint, run-python-internal)
1150 (python-shell-buffer-substring, python-shell-send-buffer)
1151 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
1152 (python-completion-complete-at-point, python-fill-docstring-style)
1153 (python-eldoc-function, python-imenu-format-item-label)
1154 (python-imenu-format-parent-item-label)
1155 (python-imenu-format-parent-item-jump-label)
1156 (python-imenu--build-tree, python-imenu-create-index)
1157 (python-imenu-create-flat-index): Fix docstring typos.
1158 (python-indent-context, python-shell-prompt-regexp, run-python):
1159 Remove superfluous backslashes.
1160 (python-indent-line, python-nav-beginning-of-defun)
1161 (python-shell-get-buffer, python-shell-get-process)
1162 (python-info-current-defun, python-info-current-line-comment-p)
1163 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
1164 (python-indent-post-self-insert-function, python-shell-send-file)
1165 (python-shell-completion-get-completions)
1166 (python-shell-completion-complete-or-indent)
1167 (python-eldoc--get-doc-at-point): Reflow docstrings.
1168
1169 2014-03-14 Glenn Morris <rgm@gnu.org>
1170
1171 * emacs-lisp/package.el (package-menu-mode-map):
1172 Replace use of obsolete function alias. Tweak menu item text.
1173
1174 * info.el (Info-finder-find-node):
1175 Ignore the `emacs' metapackage. (Bug#10813)
1176
1177 * finder.el (finder-list-matches): Include unversioned packages
1178 in the result of a keyword search.
1179
1180 * finder.el (finder--builtins-descriptions): New constant.
1181 (finder-compile-keywords): Use finder--builtins-descriptions.
1182
1183 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
1184
1185 * simple.el (blink-matching-paren): Describe the new value,
1186 `jump', enabling the old behavior.
1187 (blink-matching-open): Use that value. (Bug#17008)
1188
1189 2014-03-14 Glenn Morris <rgm@gnu.org>
1190
1191 * finder.el (finder-no-scan-regexp): Add leim-list.
1192 (finder-compile-keywords):
1193 Don't skip files with same basename. (Bug#14010)
1194 * Makefile.in (setwins_finder): New, excluding leim.
1195 (finder-data): Use setwins_finder.
1196
1197 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
1198 (help-function-arglist, help-make-usage): Move from here...
1199 * help.el (help-split-fundoc, help-add-fundoc-usage)
1200 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
1201 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
1202
1203 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
1204
1205 * net/socks.el (socks, socks-override-functions)
1206 (socks-find-services-entry):
1207 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
1208 (hif-find-ifdef-block):
1209 * progmodes/modula2.el (m2-indent): Fix docstring typos.
1210
1211 * net/tls.el (tls-program): Reflow docstring.
1212
1213 * progmodes/pascal.el (pascal-mode-abbrev-table)
1214 (pascal-imenu-generic-expression, pascal-auto-endcomments)
1215 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
1216 (pascal-outline-mode): Fix docstring typos.
1217 (pascal-mode): Let define-derived-mode document mode hook.
1218 (pascal-uncomment-area): Reflow.
1219 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
1220
1221 * progmodes/opascal.el (opascal-compound-block-indent)
1222 (opascal-case-label-indent): Fix docstring typos.
1223 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
1224
1225 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
1226
1227 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1228 Fontify multiple adjacent negation chars. (Bug#17004)
1229
1230 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
1231
1232 * emacs-lisp/package.el (package--prepare-dependencies):
1233 Accept requirements without explicit version (bug#14941).
1234
1235 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
1236
1237 * register.el (register-separator, copy-to-register): Doc fixes.
1238 (register-preview-default): Remove unnecessary call to concat.
1239
1240 * frameset.el (frameset-restore): When checking for a visible frame,
1241 use the action map instead of calling visible-frame-list.
1242
1243 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
1244
1245 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
1246
1247 2014-03-12 Martin Rudalics <rudalics@gmx.at>
1248
1249 * window.el (fit-frame-to-buffer): Get maximum width from
1250 display's width instead of height.
1251
1252 2014-03-12 Glenn Morris <rgm@gnu.org>
1253
1254 * desktop.el (desktop-restore-frames)
1255 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
1256 (desktop-restore-reuses-frames): Doc tweaks.
1257
1258 * electric.el (electric-indent-mode): Doc fix.
1259
1260 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
1261
1262 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
1263 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
1264 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
1265 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
1266 (cvs-dired-use-hook): Fix docstring typos.
1267 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
1268 Doc fixes.
1269
1270 * vc/pcvs-defs.el (cvs-auto-remove-handled)
1271 (cvs-auto-remove-directories, cvs-default-ignore-marks)
1272 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
1273 (cvs-execute-single-dir): Fix docstring typos.
1274
1275 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
1276 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
1277
1278 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
1279
1280 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
1281 Fix docstring typos.
1282
1283 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
1284
1285 * frameset.el (frameset--jump-to-register): Add autoload; it could be
1286 called from jump-to-register after unloading the frameset package.
1287
1288 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1289
1290 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
1291 (bug#16975). Deactivate the mark before setting it to nil.
1292 (activate-mark): Do nothing if region is already active.
1293
1294 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
1295
1296 * frameset.el (frameset--target-display): Remove definition; declare.
1297 (frameset-save, frameset-restore): Let-bind frameset--target-display.
1298
1299 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1300
1301 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
1302 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
1303 when the advice is pending.
1304 (advice-remove): Remove this marker when not needed any more.
1305
1306 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
1307
1308 * frameset.el: Separate options for reusing frames and cleaning up.
1309 (frameset--reuse-list): Remove definition; declare.
1310 (frameset--action-map): Declare.
1311 (frameset--find-frame-if): Doc fix.
1312 (frameset--restore-frame): Cache frame action.
1313 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
1314 how to clean up the frame list after restoring. Remove cleaning
1315 options from REUSE-FRAMES. Change all keyword values to symbols.
1316 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
1317
1318 * desktop.el (desktop-restore-forces-onscreen)
1319 (desktop-restore-reuses-frames): Use non-keyword values.
1320 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
1321
1322 2014-03-10 Glenn Morris <rgm@gnu.org>
1323
1324 * files.el (find-file): Doc fix: update info node name.
1325
1326 * emacs-lisp/advice.el (ad-add-advice, defadvice):
1327 Doc fix: remove references to deleted info nodes.
1328
1329 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
1330
1331 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
1332 Do not add `nil' to the environment, when there's no remote `locale'.
1333 (tramp-find-inline-encoding): Check, that the remote host has
1334 installed perl, before sending scripts.
1335
1336 2014-03-10 Leo Liu <sdl.web@gmail.com>
1337
1338 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1339 Clear eldoc-last-message. (Bug#16920)
1340
1341 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
1342
1343 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
1344 (bug#14430).
1345
1346 2014-03-09 Juri Linkov <juri@jurta.org>
1347
1348 * ansi-color.el (ansi-color-names-vector): Copy default colors
1349 from `xterm-standard-colors' that look well on the default white
1350 background (and also on the black background) to avoid illegible
1351 color combinations like yellow-on-white and white-on-white.
1352 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
1353
1354 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
1355
1356 * frameset.el (frameset-restore): When no frame is visible, do not
1357 generate a list of frames, just make visible the selected one.
1358
1359 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
1360
1361 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
1362 it only contains the repository root. (Bug#16897)
1363
1364 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
1365
1366 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
1367 only when `remote-file-name-inhibit-cache' is nil.
1368 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
1369
1370 2014-03-06 Martin Rudalics <rudalics@gmx.at>
1371
1372 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
1373 Fix doc-strings.
1374 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
1375 fit-frame-to-buffer variable. Fix doc-string.
1376 (fit-window-to-buffer): Set ONLY argument in call of
1377 fit-frame-to-buffer. Fix doc-string.
1378
1379 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
1380
1381 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
1382 (tramp-action-password): Clear password cache if needed.
1383 (tramp-read-passwd): Do not clear password cache.
1384
1385 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
1386 cache unless it is the first password request.
1387
1388 2014-03-06 Glenn Morris <rgm@gnu.org>
1389
1390 * simple.el (newline): Doc tweak.
1391
1392 * emacs-lisp/shadow.el (load-path-shadows-find):
1393 Ignore dir-locals. (Bug#12357)
1394
1395 2014-03-05 Glenn Morris <rgm@gnu.org>
1396
1397 * files.el (interpreter-mode-alist):
1398 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
1399
1400 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
1401
1402 * frameset.el (frameset--initial-params): Filter out null entries.
1403
1404 2014-03-05 Martin Rudalics <rudalics@gmx.at>
1405
1406 * window.el (window-min-height, window-min-width):
1407 Rewrite doc-strings.
1408 (window-body-size): Add PIXELWISE argument to make it consistent
1409 with its callees.
1410
1411 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
1412
1413 * finder.el (finder-mode-map, finder-mode-syntax-table):
1414 Revert part of 2014-02-28 change.
1415
1416 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
1417
1418 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
1419 (eww-setup-buffer): Clear next/prev/etc more reliably.
1420 (eww-textarea-map): [tab] doesn't work on tty.
1421 Reported by Mario Lang.
1422
1423 * net/shr.el (shr-map): Ditto.
1424
1425 2014-03-04 Glenn Morris <rgm@gnu.org>
1426
1427 * minibuffer.el (completion-hilit-commonality):
1428 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
1429
1430 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
1431
1432 * hilit-chg.el (hilit-chg-unload-function): New function.
1433 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
1434 (hilit-chg-map-changes): Prefer cardinal number to digit.
1435 (hilit-chg-display-changes): Reflow docstring.
1436 (highlight-changes-rotate-faces): Remove superfluous backslash.
1437
1438 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
1439
1440 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
1441 `tramp-send-command-and-check'.
1442
1443 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
1444
1445 * hexl.el (hexl-address-region, hexl-ascii-region)
1446 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
1447 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
1448 (hexl-forward-word, hexl-previous-line, hexl-next-line):
1449 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
1450 (hexl-mode): Doc fix.
1451 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
1452 (hexl-mode-ruler): Fix typos in docstrings.
1453
1454 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
1455 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
1456 Remove superfluous backslashes.
1457 (strokes-last-stroke, strokes-global-map, strokes-mode):
1458 Reflow docstrings.
1459 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
1460 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
1461 (strokes-distance-squared, strokes-global-set-stroke)
1462 (strokes-global-set-stroke-string): Doc fixes.
1463 (strokes-help): Fix typos; reflow docstring.
1464
1465 2014-03-04 Martin Rudalics <rudalics@gmx.at>
1466
1467 * window.el (window-in-direction): Fix doc-string.
1468
1469 2014-03-04 Glenn Morris <rgm@gnu.org>
1470
1471 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
1472 Explicit error if no grammar.
1473 (smie-config-save): Doc fix. Fix quote typo.
1474
1475 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
1476
1477 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
1478 electric-indent-mode-hook if we obey electric-indent-mode.
1479 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
1480 decide whether we obey electric-indent-mode.
1481 (c-change-set-fl-decl-start, c-extend-after-change-region):
1482 Silence warnings.
1483 (c-electric-indent-mode-hook): Assume we do want to obey
1484 electric-indent-mode.
1485
1486 * electric.el (electric-indent-mode-has-been-called): Remove.
1487 (electric-indent-mode): Fix accordingly.
1488
1489 * files.el (hack-local-variables): Mention file name in warning.
1490
1491 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
1492
1493 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
1494
1495 * bindings.el: Add comment describing why C-d binds to `delete-char'.
1496 * simple.el (delete-forward-char): Mark as interactive-only.
1497
1498 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
1499
1500 * icomplete.el (icomplete-completions):
1501 Follow-up to 2014-03-01 change.
1502
1503 * icomplete.el: Miscellaneous doc fixes.
1504 Use Icomplete everywhere instead of icomplete for consistency.
1505 (icomplete-max-delay-chars): Fix typo.
1506 (icomplete-mode): Use \[].
1507 (icomplete-tidy, icomplete-exhibit): Reflow.
1508 (icomplete-minibuffer-setup-hook, icomplete-completions):
1509 Remove superfluous backlashes.
1510
1511 * ido.el: Miscellaneous doc fixes.
1512 Use Ido everywhere instead of ido or `ido' for consistency.
1513 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
1514 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
1515 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
1516 (ido-separator): Extract obsolescence info from docstring and declare
1517 with make-obsolete-variable.
1518 (ido-minibuffer-setup-hook): Simplify example.
1519 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
1520 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
1521 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
1522 (ido-everywhere): Reflow docstring.
1523 (ido-toggle-vc): Doc fix.
1524 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
1525 of long list of keybindings.
1526
1527 2014-03-03 Glenn Morris <rgm@gnu.org>
1528
1529 * frame.el (display-pixel-height, display-pixel-width)
1530 (display-mm-dimensions-alist, display-mm-height)
1531 (display-mm-width): Doc tweaks.
1532
1533 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
1534
1535 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
1536 case of undo in region.
1537
1538 2014-03-02 Martin Rudalics <rudalics@gmx.at>
1539
1540 * window.el (fit-window-to-buffer): Fix argument in window-size
1541 call when window is horizontally combined.
1542
1543 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
1544
1545 * icomplete.el (icomplete-completions): Use string-width.
1546 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
1547
1548 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
1549
1550 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1551 Highlight regexp options. (Bug#16914)
1552
1553 2014-03-01 Martin Rudalics <rudalics@gmx.at>
1554
1555 * window.el (window--max-delta-1): Round down when calculating
1556 how many lines/columns we can get from a window.
1557
1558 2014-03-01 Glenn Morris <rgm@gnu.org>
1559
1560 * isearch.el (search-invisible): Doc fix.
1561
1562 * minibuffer.el (completion-hilit-commonality):
1563 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
1564 * comint.el (comint-dynamic-list-completions): Doc fix.
1565 * comint.el (comint-dynamic-list-completions):
1566 * filecache.el (file-cache-minibuffer-complete):
1567 * tempo.el (tempo-display-completions):
1568 * eshell/em-hist.el (eshell-list-history):
1569 Replace use of obsolete argument of display-completion-list.
1570
1571 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
1572
1573 * icomplete.el (icomplete-completions):
1574 Revert back to using "..." when ?… cannot be displayed.
1575
1576 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
1577
1578 * finder.el (finder-unload-function): New function.
1579
1580 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
1581
1582 * dframe.el (dframe-detach):
1583 * find-dired.el (find-dired, find-name-dired):
1584 * finder.el (finder-mode-map, finder-mode-syntax-table)
1585 (finder-headmark, finder-select, finder-mouse-select):
1586 Fix docstring typos.
1587
1588 2014-02-28 Martin Rudalics <rudalics@gmx.at>
1589
1590 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
1591 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
1592 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
1593 Fix doc-string based on a suggestion by Nicolas Richard
1594 <theonewiththeevillook@yahoo.fr>.
1595 * help.el (with-help-window): Fix doc-string.
1596
1597 2014-02-28 Ivan Kanis <ivan@kanis.fr>
1598
1599 * net/shr.el (shr-image-animate): New option.
1600 (shr-put-image): Respect shr-image-animate.
1601
1602 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
1603
1604 * net/tramp-adb.el (tramp-adb-parse-device-names):
1605 Use `accept-process-output'.
1606 (tramp-adb-handle-file-truename): Cache the localname only.
1607 (tramp-adb-handle-make-directory)
1608 (tramp-adb-handle-delete-directory): Flush file properties correctly.
1609 (tramp-adb-handle-set-file-modes): Do not raise an error when file
1610 modes cannot be changed.
1611
1612 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
1613 file properties of symlinks.
1614
1615 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
1616
1617 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
1618 required/optional fields to match development biblatex. (Bug#16781)
1619
1620 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
1621
1622 * saveplace.el (toggle-save-place):
1623 Fix argument handling. (Bug#16673)
1624
1625 2014-02-28 Glenn Morris <rgm@gnu.org>
1626
1627 * minibuffer.el (completions-first-difference)
1628 (completions-common-part, completion-hilit-commonality): Doc fixes.
1629
1630 2014-02-28 Karl Berry <karl@gnu.org>
1631
1632 * info.el (Info-mode-map): Add H for describe-mode,
1633 to synchronize with standalone Info.
1634
1635 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
1636
1637 * progmodes/sql.el (sql-interactive-mode):
1638 Avoid setting global comint-input-ring-separator. (Bug#16814)
1639
1640 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
1641
1642 * net/dbus.el (dbus--init-bus): Declare function.
1643 (dbus-path-local, dbus-interface-local): New defconst.
1644 (dbus-init-bus): Use them.
1645 (dbus-return-values-table): Extend doc.
1646 (dbus-handle-bus-disconnect): Extend error message.
1647
1648 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
1649
1650 * subr.el (y-or-n-p): Fix double space issue in message.
1651
1652 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
1653
1654 * net/tramp.el (tramp-call-process): Improve trace message.
1655 (tramp-handle-insert-file-contents): Trace error case.
1656
1657 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
1658 <insert-directory>: Use `tramp-handle-insert-directory'.
1659 (tramp-adb-handle-insert-directory): Remove function.
1660 (tramp-adb-send-command-and-check): New defun, replacing
1661 `tramp-adb-command-exit-status'. Change all callees.
1662 (tramp-adb-handle-file-attributes)
1663 (tramp-adb-handle-directory-files-and-attributes): Use it.
1664 (tramp-adb-ls-output-name-less-p):
1665 Use `directory-listing-before-filename-regexp'.
1666 (tramp-adb-handle-delete-directory): Flush also file properties of
1667 the truename of directory.
1668 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
1669 (tramp-adb-handle-file-local-copy): Make the local copy readable.
1670 (tramp-adb-handle-write-region): Implement APPEND.
1671 (tramp-adb-handle-rename-file): Make it more robust. Flush file
1672 properties correctly.
1673 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
1674 variables. Check for connected devices only when needed.
1675
1676 2014-02-27 Glenn Morris <rgm@gnu.org>
1677
1678 * minibuffer.el (completion-table-dynamic)
1679 (completion-table-with-cache): Doc fixes.
1680
1681 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
1682 (completing-read-multiple): Doc fixes.
1683
1684 2014-02-27 Daniel Colascione <dancol@dancol.org>
1685
1686 * minibuffer.el (completion--nth-completion): Fix indentation.
1687
1688 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
1689 explicit tramp path is empty.
1690
1691 2014-02-27 Glenn Morris <rgm@gnu.org>
1692
1693 * emacs-lisp/crm.el (completing-read-multiple):
1694 Empower help-enable-auto-load.
1695
1696 2014-02-26 Glenn Morris <rgm@gnu.org>
1697
1698 * startup.el (command-line): Don't init the tty in daemon mode.
1699
1700 Avoid calling tty-setup-hook twice, eg if a term file
1701 explicitly calls tty-run-terminal-initialization. (Bug#16859)
1702 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
1703 (tty-create-frame-with-faces): Use it.
1704 * startup.el (command-line): Pass run-hook argument
1705 to tty-run-terminal-initialization.
1706
1707 * dired.el (dired-restore-desktop-buffer): Demote errors;
1708 eg in case a glob match fails. (Bug#16884)
1709
1710 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
1711
1712 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
1713 error from `read-from-string'. (Bug#16850)
1714
1715 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
1716 result of `completing-read' in the interactive form. (Bug#16854)
1717
1718 2014-02-25 Glenn Morris <rgm@gnu.org>
1719
1720 * image.el (image-animate, image-animate-timeout):
1721 Stop animating images in dead buffers. (Bug#16878)
1722
1723 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
1724
1725 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
1726 Doc fixes.
1727 * startup.el (term-setup-hook): Doc fix. Make obsolete.
1728 * term/sun.el (sun-raw-prefix-hooks):
1729 Use tty-setup-hook instead of term-setup-hook.
1730 (terminal-init-sun): Construct message from bytecomp plist.
1731 * term/wyse50.el (enable-arrow-keys): Doc fix.
1732
1733 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
1734
1735 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
1736 Fix docstring typos.
1737
1738 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
1739
1740 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
1741
1742 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1743
1744 * minibuffer.el (completion--try-word-completion):
1745 Fix error when completing M-x commands (bug#16808).
1746
1747 2014-02-24 Leo Liu <sdl.web@gmail.com>
1748
1749 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
1750
1751 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
1752
1753 * apropos.el (apropos-print): Avoid formatting error when
1754 apropos-do-all and apropos-compact-layout are both t.
1755
1756 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
1757
1758 * apropos.el (apropos-property, apropos-all-words-regexp)
1759 (apropos-true-hit, apropos-variable, apropos-print):
1760 Fix docstring typos, and remove obsolete comment.
1761
1762 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
1763
1764 * net/tramp-sh.el (tramp-sh-handle-file-truename):
1765 Preserve trailing "/". (Bug#16851)
1766
1767 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
1768
1769 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
1770 after `=>' (bug#16811).
1771 (ruby-smie-rules): Handle the inconsistent second element of the
1772 list returned by `smie-indent--parent'.
1773 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
1774 method call.
1775
1776 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
1777
1778 * elec-pair.el (electric-pair-text-syntax-table)
1779 (electric-pair-syntax-info, electric-pair--syntax-ppss)
1780 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
1781 (electric-pair--looking-at-unterminated-string-p): Doc fix.
1782 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
1783
1784 2014-02-22 Glenn Morris <rgm@gnu.org>
1785
1786 * imenu.el (imenu--generic-function): Doc fix.
1787
1788 * register.el (frame-configuration-to-register): Make obsolete.
1789
1790 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
1791
1792 * desktop.el (desktop-save-buffer-p): Do not fail when
1793 desktop-files-not-to-save is nil. Return t for true result
1794 as the doc says.
1795
1796 2014-02-22 Daniel Colascione <dancol@dancol.org>
1797
1798 * net/secrets.el (secrets-create-item, secrets-search-items):
1799 Check that attribute values are strings, avoiding the construction
1800 of invalid dbus messages.
1801
1802 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
1803
1804 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
1805 defun-declarations-alist.
1806
1807 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
1808
1809 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
1810 (bug#16829).
1811
1812 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
1813
1814 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
1815 (whitespace-newline, whitespace-trailing, whitespace-line)
1816 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
1817 (whitespace-space-after-tab): Fix typo in docstrings.
1818
1819 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
1820
1821 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
1822
1823 * electric.el (electric-indent-functions-without-reindent):
1824 Add `yaml-indent-line'.
1825
1826 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
1827
1828 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
1829 It has done nothing for years; should be removed after the release.
1830
1831 * simple.el (choose-completion): Fix docstring typo.
1832 (read-quoted-char-radix): Remove unneeded * in docstring.
1833 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
1834 Don't escape parentheses unnecessarily in docstrings.
1835
1836 2014-02-21 Martin Rudalics <rudalics@gmx.at>
1837
1838 Fix handling of window-min-height/-width (Bug#16738).
1839 * window.el (window--dump-window, window--dump-frame):
1840 New functions.
1841 (window--min-size-1): Account for window dividers.
1842 When window-resize-pixelwise is nil, delay rounding till after the
1843 sum of the window components has been calculated.
1844 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
1845 nil make sure at least one text line and two text columns remain
1846 fully visible.
1847 (window-resize): Signal an error when window-resize-apply fails.
1848 (window--resize-child-windows): Fix calculation of by how many
1849 pixels a window can still be shrunk via window-new-normal.
1850 (adjust-window-trailing-edge): Call window--resizable with
1851 correct TRAIL argument.
1852
1853 (with-temp-buffer-window): Don't evaluate BODY within
1854 with-current-buffer (Bug#16816).
1855
1856 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
1857
1858 * net/tramp.el (tramp-check-cached-permissions):
1859 Call `file-attributes' with `suffix' being a symbol but a string.
1860
1861 2014-02-21 Daniel Colascione <dancol@dancol.org>
1862
1863 * net/dbus.el (dbus-init-bus-1): Declare new subr.
1864 (dbus-init-bus): New function: call into dbus-init-bus-1
1865 and installs a handler for the disconnect signal.
1866 (dbus-call-method): Rewrite to look for result in cons.
1867 (dbus-call-method-handler): Store result in cons.
1868 (dbus-check-event): Recognize events with nil sender as valid.
1869 (dbus-handle-bus-disconnect): New function. React to bus
1870 disconnection signal by synthesizing dbus error for each
1871 pending synchronous or asynchronous call.
1872 (dbus-notice-synchronous-call-errors): New function.
1873 (dbus-handle-event): Raise errors directly only when `dbus-debug'
1874 is true, not all the time.
1875
1876 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
1877
1878 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
1879 Remove obsolescence declarations, these variables do not exist anymore.
1880
1881 * savehist.el (savehist-save-minibuffer-history)
1882 (savehist-additional-variables, savehist-file, savehist-mode-hook)
1883 (savehist-save-hook, savehist-coding-system, savehist-loaded)
1884 (savehist-load, savehist-install, savehist-autosave): Fix typos;
1885 mostly, refer to "Savehist mode" when talking about the mode,
1886 and not the function.
1887
1888 * saveplace.el (save-place): Remove redundant info in docstring.
1889 (save-place-forget-unreadable-files, toggle-save-place)
1890 (save-place-forget-unreadable-files, save-place-dired-hook):
1891 Fix typos and remove unneeded backslashes.
1892
1893 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
1894
1895 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
1896 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
1897
1898 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
1899 <insert-directory>: Use `tramp-handle-insert-directory'.
1900 (tramp-gvfs-handle-insert-directory): Remove function.
1901
1902 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1903 Call `tramp-handle-insert-directory'.
1904
1905 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
1906
1907 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
1908 before the start of buffer/region (bug#16799).
1909
1910 2014-02-20 Glenn Morris <rgm@gnu.org>
1911
1912 * isearch.el (search-invisible): Doc fix.
1913
1914 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
1915
1916 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
1917 (bug#16657).
1918
1919 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
1920
1921 * frameset.el (frameset-restore): Delay removing an old frame's
1922 duplicate id until the new frame has been correctly created.
1923
1924 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
1925
1926 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
1927 (tramp-check-cached-permissions): Call `file-attributes' if the
1928 cache is empty.
1929
1930 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
1931 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
1932
1933 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
1934 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
1935 (tramp-gvfs-maybe-open-connection): Set always connection
1936 properties, even if target is mounted already.
1937
1938 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
1939 Set tramp-autoload cookie.
1940 (tramp-get-remote-touch): New defun.
1941 (tramp-sh-handle-set-file-times): Use it.
1942 (tramp-sh-handle-directory-files-and-attributes):
1943 Use `tramp-handle-directory-files-and-attributes' if neither stat
1944 nor perl are available on the remote host.
1945
1946 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
1947 "/". Write long listing only when "l" belongs to the switches.
1948
1949 * net/trampver.el: Update release number.
1950
1951 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
1952
1953 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
1954
1955 2014-02-19 Martin Rudalics <rudalics@gmx.at>
1956
1957 * window.el (window-state-put): Allow WINDOW to refer to an
1958 internal window (Bug#16793).
1959
1960 2014-02-19 Glenn Morris <rgm@gnu.org>
1961
1962 * textmodes/remember.el: Move provide statement to end.
1963 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
1964 (remember-notes): Doc fixes.
1965
1966 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1967
1968 * delsel.el (delete-char): Restore incorrectly erased property
1969 (bug#16795).
1970
1971 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
1972
1973 * frameset.el (frameset--restore-frame): When a frame is being reused
1974 and its root window is not alive, delete all the frame's windows before
1975 restoring the window state. This works around the issue in bug#16793.
1976
1977 2014-02-18 Glenn Morris <rgm@gnu.org>
1978
1979 * textmodes/remember.el (remember-data-directory)
1980 (remember-directory-file-name-format, remember-store-in-files)
1981 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
1982 (remember-notes-save-and-bury-buffer)
1983 (remember-notes--kill-buffer-query): Doc fixes.
1984
1985 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
1986
1987 2014-02-17 Alan Mackenzie <acm@muc.de>
1988
1989 Connect electric-indent-mode up with CC Mode. Bug #15478.
1990 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
1991 to electric-indent-{,local-}-mode.
1992 (c-basic-common-init): Set electric-indent-inhibit.
1993 Initialise c-electric-flag from electric-indent-mode.
1994 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
1995 New hook functions which propagate electric-indent-mode to CC mode.
1996
1997 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
1998 hit, toggle electric-indent-local-mode.
1999
2000 * electric.el (electric-indent-mode-has-been-called):
2001 New variable.
2002
2003 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
2004
2005 * frameset.el (frameset-cfg-id): New function.
2006 (frameset--reuse-frame, frameset-restore): Use it.
2007 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
2008
2009 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
2010
2011 * ido.el (ido-file-internal): Remove unused var `d'.
2012 Use \` for to match BoS. Fit within 80n columns.
2013
2014 2014-02-17 Daniel Colascione <dancol@dancol.org>
2015
2016 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
2017 dbus-call-method check for completion using a busy-wait loop with
2018 gradual backoff.
2019
2020 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
2021
2022 Sync with Tramp 2.2.9.
2023
2024 * net/trampver.el: Update release number.
2025
2026 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
2027
2028 * ido.el (ido-file-internal): Don't add the name of an existing
2029 directory twice. (Bug#16747)
2030
2031 2014-02-16 Glenn Morris <rgm@gnu.org>
2032
2033 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
2034 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
2035
2036 2014-02-15 Michael R. Mauger <michael@mauger.com>
2037
2038 * progmodes/sql.el: Version 3.4
2039 (sql-oracle-options): New default value ("-L").
2040 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
2041 (sql-placeholders-filter): Correct placeholder pattern.
2042 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
2043 (sql-login-delay): New variable.
2044 (sql-product-interactive): Use it.
2045
2046 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
2047
2048 * frameset.el (frameset--jump-to-register): Check that buffer is live
2049 (bug#16749).
2050
2051 2014-02-15 Glenn Morris <rgm@gnu.org>
2052
2053 * info.el (info-initialize): Revert 2014-01-10 change.
2054
2055 2014-02-14 Glenn Morris <rgm@gnu.org>
2056
2057 * replace.el (map-query-replace-regexp)
2058 (read-regexp-defaults-function, read-regexp): Doc fixes.
2059
2060 * dired.el (dired-read-regexp):
2061 * faces.el (list-faces-display):
2062 * misearch.el (multi-isearch-read-matching-buffers)
2063 (multi-isearch-read-matching-files):
2064 * play/cookie1.el (cookie-apropos):
2065 * progmodes/grep.el (grep-read-regexp): Doc fixes.
2066
2067 * textmodes/remember.el (remember): Use frameset-to-register
2068 rather than frame-configuration-to-register.
2069
2070 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
2071
2072 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
2073 incorrect keybinding.
2074
2075 2014-02-13 Daniel Colascione <dancol@dancol.org>
2076
2077 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
2078 when adding overlays so that line numbers from compiler match line
2079 numbers we use.
2080
2081 2014-02-13 Glenn Morris <rgm@gnu.org>
2082
2083 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
2084
2085 * jit-lock.el (jit-lock-mode): Doc fix.
2086
2087 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
2088
2089 * apropos.el (apropos-read-pattern): When the user passes an empty
2090 string, give a more helpful error message than "Wrong type
2091 argument: stringp, nil".
2092
2093 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
2094
2095 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
2096
2097 2014-02-13 Glenn Morris <rgm@gnu.org>
2098
2099 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
2100
2101 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
2102
2103 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
2104 shift-select commands.
2105
2106 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
2107
2108 * progmodes/js.el (js-indent-line): Don't widen.
2109 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
2110
2111 2014-02-12 Glenn Morris <rgm@gnu.org>
2112
2113 * icomplete.el (icomplete): Add info-link to defgroup.
2114 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
2115 (icomplete-minibuffer-map, icomplete-mode)
2116 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
2117
2118 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
2119 (package-menu-filter): Rename from package-menu-filter-interactive.
2120 Doc fix.
2121
2122 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
2123
2124 * frameset.el (frameset--jump-to-register): Select the required
2125 window and buffer before restoring position (bug#16696).
2126
2127 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
2128
2129 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
2130
2131 2014-02-10 Glenn Morris <rgm@gnu.org>
2132
2133 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
2134
2135 2014-02-10 Eli Zaretskii <eliz@gnu.org>
2136
2137 * w32-common-fns.el (x-get-selection): Doc fix.
2138 * select.el (x-get-selection): Doc fix. (Bug#15109)
2139
2140 * face-remap.el (face-remap-add-relative)
2141 (face-remap-remove-relative, face-remap-reset-base)
2142 (face-remap-set-base): Call force-mode-line-update to redisplay
2143 the current buffer due to potential change in faces. (Bug#16709)
2144
2145 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
2146
2147 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
2148 script more robustly.
2149
2150 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
2151
2152 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
2153
2154 * simple.el (choose-completion): Doc fix (bug#14160).
2155
2156 * subr.el (event-start): Say what a nil EVENT value means.
2157
2158 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
2159 (bug#14197).
2160
2161 * progmodes/grep.el (find-program): Doc fix (bug#14289).
2162
2163 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
2164
2165 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
2166
2167 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
2168 predicate function (bug#15455).
2169
2170 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
2171
2172 * ielm.el (inferior-emacs-lisp-mode): Instead of
2173 `comment-use-global-state', set `comment-use-syntax'.
2174
2175 2014-02-10 Glenn Morris <rgm@gnu.org>
2176
2177 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
2178
2179 2014-02-09 Alan Mackenzie <acm@muc.de>
2180
2181 Fix c-invalidate-state-cache on narrowed buffers.
2182 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
2183 Widen when setting and clearing the CPP delimiter properties.
2184
2185 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
2186
2187 * help.el (describe-bindings): Doc fix (bug#9888).
2188
2189 * files.el (save-buffer): Use ARG as the parameter name for
2190 consistency (bug#10346).
2191 (save-buffer): Clarify the 0 argument (bug#10346).
2192
2193 * cus-edit.el (customize-apropos): Fix error string.
2194 (custom-buffer-create): Doc fix (bug#11122).
2195 (custom-sort-items): Doc fix (bug#11121).
2196
2197 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
2198
2199 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
2200 (icomplete-simple-completing-p): Mention the previous variable.
2201
2202 * font-lock.el (font-lock-value-in-major-mode): Clarify the
2203 meaning of the parameter (bug#12282).
2204
2205 * files.el (find-file-noselect): Clarify prompt when changing
2206 readedness (bug#13261).
2207 (locate-file): Suffixes aren't returned, so don't say that they
2208 are (bug#12674).
2209 (backup-inhibited): Doc clarification (bug#12525).
2210
2211 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
2212 before we actually start to delete things (bug#16331).
2213
2214 * subr.el (event-start): Doc fix (bug#14228).
2215 (event-end): Ditto.
2216
2217 2014-02-09 Glenn Morris <rgm@gnu.org>
2218
2219 * emacs-lisp/warnings.el (lwarn):
2220 Empower help-enable-auto-load. (Bug#15940)
2221
2222 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
2223
2224 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
2225 (Bug#16690)
2226
2227 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
2228
2229 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2230 Insert output at end of buffer. (Bug#16120)
2231
2232 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
2233
2234 * simple.el (choose-completion-string-functions): Document new
2235 calling convention (bug#14153).
2236 (execute-extended-command): Clarify doc string (bug#13373).
2237
2238 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
2239
2240 * find-dired.el (find-name-dired): Doc fix (bug#14290).
2241 (find-grep-dired): Doc fix (bug#14288).
2242
2243 2014-02-08 Juri Linkov <juri@jurta.org>
2244
2245 * isearch.el (isearch-quote-char): Check character validity
2246 like in `quoted-insert' (bug#16677).
2247
2248 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
2249
2250 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
2251
2252 * isearch.el (isearch-hide-immediately): Doc clarification
2253 (bug#14723).
2254
2255 * simple.el (line-move): Document utility function used many
2256 places in the Emacs sources (bug#14843).
2257
2258 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
2259 (dired-prev-marked-file): Doc fix (bug#14855).
2260 (dired-up-directory): Doc fix (bug#14848).
2261
2262 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
2263
2264 * files.el (file-relative-name): Doc fix (bug#15159).
2265
2266 * fringe.el (fringe-styles): Doc fix (bug#15239).
2267
2268 * isearch.el (isearch-filter-predicate): Documentation typo fix
2269 (bug#15474).
2270
2271 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
2272
2273 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
2274
2275 * replace.el (replace-match-maybe-edit): Doc clarification
2276 (bug#15632).
2277
2278 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
2279
2280 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
2281
2282 2014-02-08 Glenn Morris <rgm@gnu.org>
2283
2284 * help-fns.el (describe-variable):
2285 Check {file,dir}-local-variables-alist, and buffer-file-name,
2286 in the correct buffer.
2287
2288 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
2289
2290 * help-fns.el (describe-variable): Fix the case where
2291 a value is directory-local with no dir-locals file. (Bug#16635)
2292
2293 2014-02-08 Glenn Morris <rgm@gnu.org>
2294
2295 * abbrev.el (edit-abbrevs-mode):
2296 Derive from fundamental-mode. (Bug#16682)
2297
2298 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
2299
2300 * simple.el (quoted-insert): Check character validity (bug#16677).
2301
2302 2014-02-07 Juri Linkov <juri@jurta.org>
2303
2304 * desktop.el (desktop-read): Claim the lock when the owner is not
2305 the current process. (Bug#16157)
2306
2307 2014-02-07 Juri Linkov <juri@jurta.org>
2308
2309 * desktop.el (desktop-buffers-not-to-save): Change default from nil
2310 to "\\` ". (Bug#16651)
2311
2312 2014-02-07 Juri Linkov <juri@jurta.org>
2313
2314 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
2315 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
2316 (desktop-auto-save-cancel-timer): New function with some code from
2317 `desktop-auto-save-set-timer'.
2318 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
2319 Instead of setting `desktop-save-mode' to nil, call
2320 `desktop-save-mode' with arg 0. (Bug#16630)
2321
2322 2014-02-07 Glenn Morris <rgm@gnu.org>
2323
2324 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
2325 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
2326 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
2327
2328 * obsolete/iswitchb.el: Move to obsolete/.
2329 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
2330 since obsolete/ is not scanned for autoloads.
2331 * emacs-lisp/authors.el (authors-valid-file-names):
2332 Add iswitchb.el.
2333
2334 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
2335 Disable now non-functional find-file-hook.
2336
2337 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
2338
2339 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
2340 instead of ";" in order to avoid additional prompts. Let heredoc
2341 scripts read from tty. (Bug#16582)
2342 (tramp-send-command): No special handling of heredocs, it isn't
2343 necessary anymore.
2344
2345 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
2346
2347 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
2348 with a space (bug#16664). Limit the symbols considered to the ones
2349 that are bound or fbound (bug#16646).
2350
2351 2014-02-06 Glenn Morris <rgm@gnu.org>
2352
2353 * epa.el (epa-mail-aliases): Doc fix.
2354
2355 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
2356
2357 * emacs-lisp/lisp.el (lisp-completion-at-point):
2358 Use `completion-table-merge' instead of `completion-table-in-turn'
2359 (bug#16604).
2360
2361 * minibuffer.el (completion-table-merge): New function.
2362
2363 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
2364
2365 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
2366 (tramp-sh-handle-set-file-acl)
2367 (tramp-sh-handle-start-file-process)
2368 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
2369 (tramp-find-executable, tramp-send-command): Use it.
2370
2371 2014-02-05 Glenn Morris <rgm@gnu.org>
2372
2373 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
2374
2375 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
2376
2377 * progmodes/python.el (python-shell-send-string)
2378 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
2379
2380 2014-02-04 Anders Lindgren <andlind@gmail.com>
2381
2382 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
2383 the names (bug#16620).
2384
2385 2014-02-03 Martin Rudalics <rudalics@gmx.at>
2386
2387 * faces.el (window-divider): New default value. Rewrite doc-string.
2388 (window-divider-first-pixel, window-divider-last-pixel): New faces.
2389
2390 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
2391
2392 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
2393 `protected' and `public' can also be called without arguments.
2394
2395 2014-02-03 Glenn Morris <rgm@gnu.org>
2396
2397 * register.el (window-configuration-to-register)
2398 (frame-configuration-to-register): Unadvertise unused argument.
2399 * frameset.el (frameset-to-register): Remove unused argument.
2400
2401 * frameset.el (frameset-to-register):
2402 * kmacro.el (kmacro-to-register):
2403 * register.el (increment-register):
2404 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
2405 (calc-append-to-register, calc-prepend-to-register):
2406 * play/gametree.el (gametree-layout-to-register)
2407 (gametree-apply-register-layout):
2408 * textmodes/picture.el (picture-clear-rectangle-to-register)
2409 (picture-yank-rectangle-from-register):
2410 * vc/emerge.el (emerge-combine-versions-register):
2411 Use register-read-with-preview to read registers.
2412
2413 2014-02-03 João Távora <joaotavora@gmail.com>
2414
2415 * elec-pair.el (electric-pair-backward-delete-char): Don't error
2416 when at beginning of (possibly narrowed) buffer.
2417
2418 2014-02-02 Daniel Colascione <dancol@dancol.org>
2419
2420 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
2421 Also try to display local help from just before point.
2422
2423 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
2424
2425 c-parse-state. Don't "append-lower-brace-pair" in certain
2426 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
2427 recognised as a comment.
2428
2429 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
2430 as well as normal comment starter.
2431 (c-parse-state-get-strategy): Extra return possibility
2432 'back-and-forward.
2433 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
2434 return value list to indicate replacement of a brace-pair cons
2435 with its car.
2436 (c-parse-state-1): With 'back-and-forward, only call
2437 c-append-lower-brace-pair-to state-cache when cons-separated.
2438
2439 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
2440
2441 * term/ns-win.el (ns-suspend-error): New function.
2442 (ns-initialize-window-system): Add ns-suspend-error to
2443 suspend-hook (Bug#16612).
2444
2445 2014-02-02 Daniel Colascione <dancol@dancol.org>
2446
2447 * progmodes/cc-defs.el (c-find-assignment-for-mode):
2448 Make loading cc-mode silent.
2449
2450 2014-02-02 Daniel Colascione <dancol@dancol.org>
2451
2452 * comint.el (comint-prompt-read-only): Change doc to suggest
2453 remap keybinding.
2454
2455 2014-02-02 Glenn Morris <rgm@gnu.org>
2456
2457 * register.el (register-read-with-preview, point-to-register)
2458 (window-configuration-to-register, frame-configuration-to-register)
2459 (jump-to-register, number-to-register, view-register, insert-register)
2460 (copy-to-register, append-to-register, prepend-to-register)
2461 (copy-rectangle-to-register): Doc fixes.
2462
2463 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
2464
2465 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
2466 * emacs-lisp/find-func.el (find-function-C-source): Idem.
2467 * emacs-lisp/nadvice.el (advice--cd*r): New function.
2468 * help-fns.el (describe-function-1): Use it.
2469
2470 2014-02-02 Glenn Morris <rgm@gnu.org>
2471
2472 * register.el (register-preview-default): New function,
2473 split from register-preview.
2474 (register-preview-function): Rename from register-preview-functions,
2475 make it not a hook.
2476 (register-preview): Use register-preview-function.
2477 (register-read-with-preview): Error on non-character event. (Bug#16595)
2478
2479 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
2480
2481 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
2482 `:' before binary operators (bug#16609). Don't check for `:'
2483 before `[' and `(', or their syntax status. A percent literal
2484 can't end with either.
2485 (ruby-font-lock-keywords): For built-ins that require arguments,
2486 check that they're followed by something that looks like argument
2487 (bug#16610).
2488
2489 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
2490
2491 * subr.el (butlast): Document what an omitted N means (bug#13437).
2492 (nbutlast): Ditto.
2493
2494 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
2495
2496 * net/shr.el (shr-generic): Make into a defsubst to make the stack
2497 depth shallower (bug#16587).
2498 (shr-tag-svg): Respect `shr-inhibit-images'.
2499 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
2500
2501 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
2502
2503 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
2504 (ruby-smie-grammar): Make "." right-associative. Make its priority
2505 lower than the ternary and all binary operators.
2506 (ruby-smie-rules): Indent "(" relative to the first non-"."
2507 parent, or the first "." parent at indentation.
2508 Use `ruby-align-chained-calls' for indentation of "." tokens.
2509 (Bug#16593)
2510
2511 2014-01-31 Juri Linkov <juri@jurta.org>
2512
2513 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
2514 from `make-hash-table'.
2515
2516 * textmodes/ispell.el (ispell-init-process): Change message format
2517 to be consistent with other messages.
2518
2519 2014-01-31 Glenn Morris <rgm@gnu.org>
2520
2521 * delsel.el (delete-selection-mode): Doc fix.
2522
2523 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
2524 (trace-function-background): Doc fixes.
2525
2526 * ido.el (ido-use-virtual-buffers): Doc fix.
2527 Reset :version, since the default value has not changed.
2528
2529 * register.el (register-preview-delay, register-read-with-preview):
2530 Doc fixes.
2531
2532 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
2533 do not mess with mail-buffer position (fixes 2009-11-03 change).
2534 * progmodes/cc-mode.el (c-submit-bug-report):
2535 Check auto-fill-mode is bound. (Bug#16592)
2536
2537 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
2538
2539 * startup.el (fancy-splash-image-file): New function,
2540 split from fancy-splash-head.
2541 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
2542 so that we are both using the same image. (Bug#16574)
2543
2544 2014-01-30 Glenn Morris <rgm@gnu.org>
2545
2546 * simple.el (eval-expression): Doc fix.
2547
2548 * hexl.el (hexl-mode-hook):
2549 * ielm.el (ielm-mode-hook):
2550 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
2551 (lisp-interaction-mode-hook):
2552 * progmodes/cfengine.el (cfengine3-documentation-function):
2553 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
2554
2555 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2556
2557 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
2558 is a symbol (bug#16584).
2559
2560 2014-01-30 Glenn Morris <rgm@gnu.org>
2561
2562 * help.el (help-for-help-internal): Add "P" to text.
2563
2564 2014-01-29 Glenn Morris <rgm@gnu.org>
2565
2566 * simple.el (just-one-space, cycle-spacing): Doc fixes.
2567
2568 2014-01-28 Martin Rudalics <rudalics@gmx.at>
2569
2570 * window.el (fit-frame-to-buffer): Fix calculations for margins and
2571 height constraints.
2572
2573 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
2574
2575 * progmodes/hideif.el: Extend to full CPP expression syntax.
2576 (hif-token-alist): Add missing tokens.
2577 (hif-token-regexp): Add support for float/octal/hex immediates.
2578 (hif-string-literal-regexp): New const.
2579 (hif-tokenize): Recognize strings and float/octal/hex immediates.
2580 (hif-exprlist): New function.
2581 (hif-parse-if-exp): Use it.
2582 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
2583 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
2584 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
2585 (hif-logxor, hif-comma): New functions.
2586
2587 2014-01-28 Glenn Morris <rgm@gnu.org>
2588
2589 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
2590
2591 * indent.el (tab-stop-list): Doc fix. Add :version.
2592
2593 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
2594 (cvs-append-to-ignore): Add compatibility alias.
2595
2596 2014-01-27 Glenn Morris <rgm@gnu.org>
2597
2598 * dired.el (dired-hide-details-mode): Don't autoload it,
2599 since it cannot be used outside Dired buffers anyway.
2600
2601 * emulation/cua-base.el (cua-mode): Doc fix.
2602
2603 * dired.el (dired-hide-details-hide-symlink-targets)
2604 (dired-hide-details-hide-information-lines)
2605 (dired-hide-details-mode): Doc fixes.
2606
2607 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
2608 * strokes.el (strokes-file): Doc fix. Bump :version.
2609 (strokes-help): Doc fix.
2610 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
2611 * emulation/viper.el (viper): Doc fix for custom group.
2612 (top-level): Remove oh-so-no-longer-relevant text about vip.
2613 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
2614
2615 * ido.el (ido-save-directory-list-file):
2616 * saveplace.el (save-place-file):
2617 * calendar/timeclock.el (timeclock-file):
2618 * net/quickurl.el (quickurl-url-file):
2619 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
2620 * progmodes/idlwave.el (idlwave-config-directory):
2621 * textmodes/remember.el (remember-data-file):
2622 Bump :version.
2623
2624 2014-01-26 Glenn Morris <rgm@gnu.org>
2625
2626 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
2627 Doc fix. Make obsolete.
2628 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
2629
2630 * sort.el (delete-duplicate-lines): Doc fix.
2631
2632 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2633
2634 * progmodes/ada-mode.el (ada):
2635 * woman.el (woman): Link to info manual and Commentary section.
2636
2637 * progmodes/flymake.el (flymake):
2638 * nxml/nxml-mode.el (nxml):
2639 * net/eww.el (eww):
2640 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
2641 * htmlfontify.el (htmlfontify):
2642 * ses.el (ses):
2643 * epa.el (epa):
2644 * ido.el (ido): Link to info manual.
2645
2646 2014-01-25 Leo Liu <sdl.web@gmail.com>
2647
2648 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
2649
2650 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
2651
2652 * net/shr.el (shr-tag-img): Prefer the title over the alt text
2653 (bug#16537).
2654
2655 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
2656
2657 * net/eww.el (eww-download-callback):
2658 Fix reference to eww-download-directory.
2659
2660 * emacs-lisp/bytecomp.el (byte-compile-file):
2661 Remove unused local variable `file-name'.
2662
2663 2014-01-24 Glenn Morris <rgm@gnu.org>
2664
2665 * woman.el (woman-default-faces, woman-monochrome-faces):
2666 Fix obsolescence specification.
2667
2668 * subr.el (with-demoted-errors): Doc fix.
2669
2670 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
2671
2672 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
2673 (cl--macroexp-fboundp): New function.
2674 (cl--make-type-test): Use it.
2675
2676 2014-01-23 Glenn Morris <rgm@gnu.org>
2677
2678 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
2679 * simple.el (eval-expression): Doc fixes.
2680
2681 2014-01-22 Glenn Morris <rgm@gnu.org>
2682
2683 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
2684
2685 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
2686
2687 * emacs-lisp/package.el: Write files silently.
2688 (package-autoload-ensure-default-file, package--write-file-no-coding)
2689 (package-generate-description-file, package--download-one-archive)
2690 (package-install-from-archive): Tell `write-region' to stay quiet.
2691 (package-menu-mode, package-menu--print-info): Omit the Archive column
2692 if there's only one archive.
2693 (package-all-keywords, package--has-keyword-p): Remove dead code.
2694
2695 2014-01-22 Glenn Morris <rgm@gnu.org>
2696
2697 * version.el (emacs-bzr-version-bzr): Fix typo.
2698
2699 * version.el (emacs-repository-get-version):
2700 Check either .bzr or .git, but not both.
2701 Make the git case actually use the DIR argument, and return nil
2702 rather than the empty string.
2703 Avoid error if .git exists but the git executable is not found.
2704
2705 2014-01-22 Martin Rudalics <rudalics@gmx.at>
2706
2707 Fixes in window size functions around Bug#16430 and Bug#16470.
2708 * window.el (window-total-size, window-size): New argument ROUND.
2709 (window--min-delta-1, window-min-delta, window--max-delta-1):
2710 Be more conservative when calculating the numbers of lines or
2711 columns a window can shrink (Bug#16430).
2712 (fit-window-to-buffer): Simplify code.
2713 * term.el (term-window-width): Call window-body-width again.
2714
2715 2014-01-22 Glenn Morris <rgm@gnu.org>
2716
2717 * image.el (image-format-suffixes): Doc fix.
2718
2719 * international/quail.el (quail-define-package): Doc fix.
2720
2721 * emacs-lisp/authors.el (authors-valid-file-names)
2722 (authors-renamed-files-alist): Additions.
2723
2724 * vc/vc-git.el (vc-git-print-log): Remove --follow;
2725 reverts 2014-01-09 change. (Bug#16422)
2726
2727 * calc/calc-embed.el (thing-at-point-looking-at):
2728 * emacs-lisp/map-ynp.el (x-popup-dialog):
2729 * obsolete/lmenu.el (x-popup-dialog):
2730 * emacs-lisp/package.el (url-recreate-url):
2731 * mail/mailclient.el (clipboard-kill-ring-save):
2732 * subr.el (x-popup-dialog): Update declaration.
2733 * mail/rmail.el (rmail-mime-message-p):
2734 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
2735
2736 2014-01-21 Daniel Colascione <dancol@dancol.org>
2737
2738 * progmodes/sh-script.el (sh--inside-noncommand-expression):
2739 Correctly detect when we're inside an arithmetic expansion form
2740 containing nested parenthesis.
2741 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
2742 to detect cases where we shouldn't expand "<<" to a heredoc
2743 skeleton.
2744
2745 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
2746
2747 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
2748 (eldoc--message-command-p): New function.
2749 (eldoc-display-message-p): Use it.
2750 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
2751 message is not automatically erased for us.
2752 (eldoc-print-current-symbol-info): Erase previous message, if any.
2753
2754 2014-01-21 Tassilo Horn <tsdh@gnu.org>
2755
2756 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
2757 specify it's an interactive function.
2758
2759 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
2760 Fix regex used for scanning for citation keys which failed for
2761 citations with optional arguments.
2762
2763 2014-01-21 Leo Liu <sdl.web@gmail.com>
2764
2765 * simple.el (read--expression): Don't enable eldoc-mode.
2766
2767 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
2768
2769 * simple.el (move-beginning-of-line): Make sure we don't move forward
2770 (bug#16497).
2771
2772 2014-01-20 Juri Linkov <juri@jurta.org>
2773
2774 * saveplace.el (toggle-save-place, save-place-to-alist)
2775 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
2776 'dired-mode) before checking for dired-directory. (Bug#16477)
2777
2778 2014-01-20 Juri Linkov <juri@jurta.org>
2779
2780 * indent.el (indent-line-to): Use backward-to-indentation
2781 instead of back-to-indentation. (Bug#16461)
2782
2783 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
2784
2785 Revert some of the CANNOT_DUMP fix (Bug#16494).
2786 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
2787 but fixing this can wait until after the next release.
2788 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
2789
2790 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
2791
2792 * eshell/esh-mode.el (eshell-password-prompt-regexp):
2793 Use `password-word-equivalents'.
2794 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
2795 to t. (Bug#5664, Bug#13124)
2796
2797 2014-01-19 Alan Mackenzie <acm@muc.de>
2798
2799 Bind open-paren-in-column-0-is-defun-start to nil at some entry
2800 points.
2801 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
2802 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
2803 * progmodes/cc-mode.el (c-before-change, c-after-change)
2804 (c-font-lock-fontify-region): Bind it here.
2805
2806 2014-01-19 Martin Rudalics <rudalics@gmx.at>
2807
2808 * term.el (term-window-width): Call window-text-width instead of
2809 window-width (Bug#16470).
2810
2811 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
2812
2813 * simple.el (password-word-equivalents): Remove duplicates.
2814 Sort, to make this easier next time.
2815 Downcase. Omit ": " after "jelszó".
2816
2817 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
2818
2819 * term/common-win.el (saved-region-selection): Defvar it.
2820 (x-select-text): Set saved-region-selection (Bug#16382).
2821
2822 2014-01-18 Glenn Morris <rgm@gnu.org>
2823
2824 * emacs-lisp/authors.el (authors-aliases)
2825 (authors-renamed-files-alist): Add some entries.
2826
2827 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
2828
2829 * net/tramp.el (tramp-password-prompt-regexp):
2830 Use `password-word-equivalents' if available.
2831 (tramp-action-password, tramp-process-one-action)
2832 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
2833
2834 2014-01-17 Chong Yidong <cyd@gnu.org>
2835
2836 * simple.el (password-word-equivalents): New defcustom.
2837 * comint.el (comint-password-prompt-regexp): Use it. Bump version
2838 to 24.4.
2839 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
2840 to t. (Bug#13124)
2841
2842 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
2843
2844 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
2845 (ruby-align-to-stmt-keywords): Change the default value.
2846 Use `ruby-alignable-keywords' to generate the possible customization
2847 choices.
2848 (ruby-smie-rules): Instead of using a hardcoded list of alignable
2849 keywords, check against the value of `ruby-alignable-keywords'
2850 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
2851
2852 2014-01-17 Glenn Morris <rgm@gnu.org>
2853
2854 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
2855
2856 Make M-x authors return zero *Authors Errors* from current logs.
2857 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
2858 (authors-ignored-files): Add some entries, remove others.
2859 (authors-ambiguous-files, authors-valid-file-names):
2860 Add some entries.
2861 (authors-renamed-files-alist): Add, remove, and adjust entries.
2862 (authors-renamed-files-regexps): Add some entries.
2863 Remove some very broad ones. Make some entries `lax'.
2864 (authors-lax-changelogs): New constant.
2865 (authors-disambiguate-file-name): Treat top-level specially.
2866 (authors-lax-changelog-p): New function.
2867 (authors-canonical-file-name): Check file as written against
2868 authors-valid-file-names. Do not special-case etc/.
2869 Handle `lax' logs and authors-renamed-files-regexps elements.
2870
2871 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
2872
2873 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
2874 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
2875 callers.
2876
2877 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2878
2879 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
2880 Assume we're already in the proper buffer.
2881 Inspired by Anders Lindgren <andlind@gmail.com>.
2882 (follow-post-command-hook): Call it from the right buffer.
2883 (follow-comint-scroll-to-bottom): Adjust call.
2884 (follow-all-followers): Use get-buffer-window-list.
2885
2886 2014-01-15 Daniel Colascione <dancol@dancol.org>
2887
2888 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
2889 `buffer-file-name' in interactive-form so that we don't leave
2890 pathless file names in `file-name-history'.
2891
2892 2014-01-15 Juri Linkov <juri@jurta.org>
2893
2894 * indent.el (indent-rigidly): Set deactivate-mark to nil
2895 in transient indentation mode. (Bug#16438)
2896
2897 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
2898
2899 * emacs-lisp/package.el (package-desc-keywords): New function
2900 (Bug#16222).
2901 (describe-package-1, package-all-keywords)
2902 (package--has-keyword-p): Use it.
2903
2904 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2905
2906 * simple.el (define-alternatives): When creating the
2907 COMMAND-alternatives variable, assign COMMAND as its definition
2908 name so that `describe-variable' can relocate it.
2909
2910 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
2911
2912 * font-lock.el (font-lock-keywords): Fix typo in docstring
2913 (bug#16307).
2914
2915 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2916
2917 * ispell.el (ispell-region): Reset `in-comment' for new line
2918 instead of wrongly reset `add-coment' (bug#13577).
2919
2920 2014-01-14 Daiki Ueno <ueno@gnu.org>
2921
2922 * epa-file.el (epa-file-write-region): Encode the region according
2923 to `buffer-file-format'. Problem reported at:
2924 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
2925
2926 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2927
2928 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
2929 so it applies in the right buffer (bug#16410).
2930
2931 2014-01-13 Daniel Colascione <dancol@dancol.org>
2932
2933 * textmodes/rst.el (rst-define-key): Provide deprecated
2934 keybindings through named functions instead of anonymous ones so
2935 that "??" doesn't appear in describe-mode output.
2936
2937 2014-01-13 Bastien Guerry <bzg@gnu.org>
2938
2939 * simple.el (define-alternatives): Call the selected command
2940 interactively. When setting `COMMAND--implementation' for the
2941 first time, tell the user how to chose another implementation.
2942 Enhance the docstring.
2943
2944 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2945
2946 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
2947 (log-edit--match-first-line): New function.
2948 (log-edit-font-lock-keywords): Use it.
2949 (log-edit-mode): Make jit-lock-defer-multiline work.
2950
2951 2014-01-13 Bastien Guerry <bzg@gnu.org>
2952
2953 * rect.el (rectangle-mark-mode): When the region is not active,
2954 display a message saying that the mark as been set and that
2955 rectangle mode is in use.
2956 (rectangle--highlight-for-redisplay): Only put an overlay with a
2957 visible vertical bar when (display-graphic-p) is non-nil.
2958 This partially fixes Bug#16403.
2959
2960 2014-01-13 Juri Linkov <juri@jurta.org>
2961
2962 * info.el (Info-find-file): Go to DIR before displaying the error
2963 about a nonexistent file if no previous Info file is visited.
2964 Use `user-error' instead of `error' for "Info file %s does not exist".
2965 (Info-find-node-2): In case of a nonexistent node in unwind forms
2966 go to the Top node if there is no previous node to revert to.
2967 (Bug#16405)
2968
2969 2014-01-13 Martin Rudalics <rudalics@gmx.at>
2970
2971 fit-frame/window-to-buffer code fixes including one for Bug#14096.
2972 * window.el (fit-frame-to-buffer): Fix doc-string.
2973 Respect window-min-height/-width. Fit pixelwise when
2974 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
2975 when avoiding that frame goes partially off-screen.
2976 (fit-window-to-buffer): Respect window-min-height/-width
2977 (Bug#14096).
2978
2979 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2980
2981 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
2982 after an empty line.
2983
2984 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
2985
2986 * net/shr.el (shr-render-region): Autoload.
2987
2988 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
2989
2990 * net/eww.el (eww-download-directory): Rename from
2991 `eww-download-path' (Bug#16419).
2992
2993 2014-01-12 Leo Liu <sdl.web@gmail.com>
2994
2995 * dired-x.el (dired-mode-map): Fix last change.
2996
2997 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
2998
2999 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
3000
3001 Spelling fixes.
3002 * emacs-lisp/generic.el (generic--normalize-comments):
3003 Rename from generic--normalise-comments. All uses changed.
3004 * play/bubbles.el (bubbles--neighborhood-score)
3005 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
3006 (bubbles--neighborhood-available)
3007 (bubbles--update-neighborhood-score):
3008 Rename from names with 'neighbourhood'. All uses changed.
3009
3010 2014-01-12 Leo Liu <sdl.web@gmail.com>
3011
3012 Re-implement the feature of showing eldoc info after editing.
3013 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
3014 (eldoc-edit-message-commands): New function.
3015 (eldoc-print-after-edit): New variable.
3016 (eldoc-pre-command-refresh-echo-area): Emit message only by
3017 eldoc-message-commands.
3018 (eldoc-mode): Restrict eldoc-message-commands to editing commands
3019 if eldoc-print-after-edit is set. (Bug#16346)
3020 * simple.el (read--expression): Enable eldoc-mode.
3021 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
3022
3023 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
3024 Eric S. Raymond <esr@thyrsus.com>
3025
3026 * version.el (emacs-repository-get-version): Enhance so the
3027 function works correctly in either a Bazaar or Git repo.
3028
3029 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
3030
3031 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
3032 Goes with removal of the joke manpages from /etc.
3033
3034 2014-01-10 Kenichi Handa <handa@gnu.org>
3035
3036 * mail/rmail.el (rmail-get-coding-system):
3037 Check rmail-get-coding-function before "funcall"ing it.
3038
3039 2014-01-10 Glenn Morris <rgm@gnu.org>
3040
3041 * emacs-lisp/authors.el (authors-fixed-entries):
3042 Update for files that no longer exist.
3043
3044 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
3045
3046 * version.el (emacs-bzr-get-version): Restore compatibilty with
3047 24.3 (Tested).
3048
3049 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
3050
3051 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
3052 and Podfile.
3053
3054 2014-01-10 Eli Zaretskii <eliz@gnu.org>
3055
3056 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
3057
3058 2014-01-10 Chong Yidong <cyd@gnu.org>
3059
3060 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
3061
3062 2014-01-10 Anders Lindgren <andlind@gmail.com>
3063
3064 * follow.el (follow-cache-command-list): Include right-char and
3065 left-char.
3066
3067 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
3068
3069 Spelling fixes.
3070 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
3071 * woman.el (woman-mark-horizontal-position):
3072 Rename from woman-mark-horizonal-position. Use changed.
3073
3074 2014-01-10 Glenn Morris <rgm@gnu.org>
3075
3076 * info.el (info-initialize): If running uninstalled, ensure our
3077 own info files are always found first, even if INFOPATH is set.
3078
3079 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
3080
3081 2014-01-09 David Engster <deng@randomsample.de>
3082
3083 * emacs-lisp/eieio-custom.el:
3084 * emacs-lisp/eieio-opt.el: Set generated autoload file to
3085 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
3086 * emacs-lisp/eieio.el: Regenerate autoloads.
3087
3088 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
3089
3090 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
3091 following renames. (Bug#8756)
3092
3093 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
3094
3095 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
3096 (bug#16382).
3097 (activate-mark): Add `no-tmm' argument.
3098 (set-mark, push-mark-command): Use it instead of running
3099 activate-mark-hook by hand.
3100
3101 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
3102
3103 In preparation for the move to git, sanitize out some
3104 Bazaar-specific names.
3105
3106 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
3107
3108 * version.el (emacs-bzr-version): Name changed to
3109 emacs-repository-version. Obsolete-variable alias made.
3110 * loadup.el: Follow through on this name change.
3111 * mail/emacsbug.el (report-emacs-bug): Factor out any
3112 assumption about the version control system in use.
3113
3114 2014-01-08 David Engster <deng@randomsample.de>
3115
3116 * help-fns.el (help-fns-describe-function-functions):
3117 New variable to call functions for augmenting help buffers.
3118 (describe-function-1): Remove explicit calls to
3119 `help-fns--compiler-macro', `help-fns--parent-mode' and
3120 `help-fns--obsolete'. Put them in above new variable instead, and
3121 call them through `run-hook-with-args'.
3122 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
3123 `eieio-describe-class'. Not meant for interactive use anymore,
3124 but to augment existing help buffers. Remove optional second
3125 argument. Create proper button for file location.
3126 Rewrite function to use `insert' instead of `princ' and `prin1' where
3127 possible.
3128 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
3129 (eieio-method-def, eieio-class-def): Move further up.
3130 (describe-method, describe-generic, eieio-describe-method):
3131 Remove aliases.
3132 (eieio-help-constructor, eieio-help-generic): Rename from
3133 `eieio-describe-constructor' and `eieio-describe-generic', resp.
3134 Rewrite to use `insert' in the current buffer and use proper help
3135 buttons.
3136 (eieio-help-find-method-definition)
3137 (eieio-help-find-class-definition): Also accept symbols as
3138 arguments.
3139 (eieio-help-mode-augmentation-maybee): Remove.
3140 (eieio-describe-class-sb): Use `describe-function'.
3141 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
3142 Add `eieio-help-generic' and `eieio-help-constructor'.
3143
3144 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
3145
3146 Spelling fixes.
3147 * language/china-util.el (hz-ascii-designation):
3148 Rename from hz-ascii-designnation.
3149 (hz-ascii-designation): Rename from hz-ascii-designnation.
3150 All uses changed.
3151
3152 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3153
3154 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
3155 package-alist.
3156
3157 2014-01-08 Bastien Guerry <bzg@gnu.org>
3158
3159 * emacs-lisp/package.el (package-delete):
3160 Correctly delete the package from package-alist.
3161
3162 2014-01-08 Daiki Ueno <ueno@gnu.org>
3163
3164 * emacs-lisp/package.el (url-recreate-url): Declare.
3165 (url-http-target-url): Declare.
3166 (package-handle-response): Include requested URL in the error message.
3167 (package--check-signature): Don't re-signal errors from
3168 package--with-work-buffer. Suggested by Stefan Monnier.
3169
3170 2014-01-07 Bastien Guerry <bzg@gnu.org>
3171
3172 * minibuffer.el (completion--try-word-completion): When both a
3173 hyphen and a space are possible candidates for the character
3174 following a word, display both candidates. (Bug#15980)
3175
3176 2014-01-07 Martin Rudalics <rudalics@gmx.at>
3177
3178 * window.el (balance-windows-2): While rounding don't give a
3179 window more than the remainder. Bug#16351, bug#16383.
3180
3181 2014-01-07 Glenn Morris <rgm@gnu.org>
3182
3183 * menu-bar.el (menu-bar-help-extra-packages): Remove.
3184 (menu-bar-help-menu): Use view-external-packages instead.
3185
3186 2014-01-07 Bastien Guerry <bzg@gnu.org>
3187
3188 * emacs-lisp/package.el (package-delete): Also delete the package
3189 name from `package-alist', not its description only.
3190
3191 2014-01-07 Glenn Morris <rgm@gnu.org>
3192
3193 * help.el (view-external-packages):
3194 * menu-bar.el (menu-bar-help-extra-packages):
3195 Visit efaq.info rather than etc/MORE.STUFF.
3196
3197 2014-01-07 Juri Linkov <juri@jurta.org>
3198
3199 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
3200 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
3201
3202 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
3203 that shadows RET. (Bug#16342)
3204
3205 2014-01-07 Chong Yidong <cyd@gnu.org>
3206
3207 * isearch.el (isearch-yank-char, isearch-yank-word)
3208 (isearch-yank-line): Doc fix.
3209
3210 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
3211
3212 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
3213 * emacs-lisp/elint.el (elint-find-builtins):
3214 * emacs-lisp/eldoc.el (eldoc-symbol-function):
3215 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
3216 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
3217 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
3218 * apropos.el (apropos-safe-documentation):
3219 * subr.el (symbol-file): Remove redundant fboundp.
3220 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
3221
3222 2014-01-06 Bastien Guerry <bzg@gnu.org>
3223
3224 * hl-line.el (global-hl-line-overlay): Make a local variable.
3225 (global-hl-line-overlays): New variable to store all overlays.
3226 (global-hl-line-mode): Don't delete overlays from the current
3227 buffer when `global-hl-line-sticky-flag' is non-nil.
3228 (global-hl-line-highlight): Add new overlays to
3229 `global-hl-line-overlays'.
3230 (global-hl-line-unhighlight-all): New function to delete all
3231 overlays when turning off `global-hl-line-mode'.
3232 This fixes Bug#16183.
3233
3234 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
3235
3236 * subr.el (set-transient-map): Fix nested case and docstring.
3237
3238 2014-01-06 Tassilo Horn <tsdh@gnu.org>
3239
3240 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
3241 `Texinfo' entry.
3242
3243 2014-01-06 Daniel Colascione <dancol@dancol.org>
3244
3245 Fix defun navigation in vc log view.
3246
3247 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
3248 like `beginning-of-defun'.
3249 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
3250 log-view-end-of-defun to log-view-end-of-defun-1. Replace
3251 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
3252 (log-view-extract-comment): Call `log-view-current-entry' directly
3253 instead of relying on broken `log-view-beginning-of-defun' behavior.
3254
3255 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
3256
3257 Spelling fixes.
3258 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
3259 * emacs-lisp/debug.el (cancel-debug-on-entry):
3260 * epg.el (epg-error-to-string):
3261 * files.el (recover-file):
3262 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
3263 * mail/emacsbug.el (report-emacs-bug-hook):
3264 * mail/sendmail.el (mail-recover):
3265 * ses.el (ses-yank-resize):
3266 * term/ns-win.el (ns-print-buffer):
3267 Spelling fixes in diagnostics, mostly for "canceled" with one L.
3268 * epg.el (epg-key-capability-alist): Rename from misspelled version.
3269 All uses changed.
3270 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
3271
3272 2014-01-06 Leo Liu <sdl.web@gmail.com>
3273
3274 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
3275 to avoid shadowing global key. (Bug#16354)
3276
3277 2014-01-06 Daniel Colascione <dancol@dancol.org>
3278
3279 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
3280 rst-mode.
3281
3282 2014-01-05 Martin Rudalics <rudalics@gmx.at>
3283
3284 * window.el (balance-windows): Add mising t to fix Bug#16351.
3285
3286 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3287
3288 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
3289 (bug#16285).
3290 (shr-insert): If we have a word that's longer than `shr-width',
3291 break after it anyway. Otherwise we'll do no breaking once we get
3292 such a long word.
3293
3294 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3295
3296 * net/eww.el (eww): Support single/double quote for search.
3297 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
3298 (eww-history-quit): Delete and use quit-window.
3299 (eww-history-kill): Delete, because it doesn't work well and
3300 not necessary.
3301 (eww-history-mode-map): Delete some keys and add easy-menu.
3302
3303 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
3304
3305 Fix misspelling of 'chinese' in rx (Bug#16237).
3306 * emacs-lisp/rx.el (rx-categories): Correct spelling of
3307 chinese-two-byte.
3308
3309 Change subword regexps back to vars (Bug#16296).
3310 * progmodes/subword.el (subword-forward-regexp)
3311 (subword-backward-regexp): Change these back to variables.
3312
3313 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
3314
3315 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
3316 syntax-begin-function (bug#16247).
3317
3318 2014-01-03 Chong Yidong <cyd@gnu.org>
3319
3320 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
3321 (advice--docstring): Delete variable.
3322 (advice--make-1): Leave the docstring empty.
3323 (advice-add): Use function-documentation for advised docstring.
3324
3325 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
3326 Ignore function-documentation property when getting documentation.
3327 (ad-activate-advised-definition): Use function-documentation
3328 generate the docstring.
3329 (ad-make-advised-definition): Don't call
3330 ad-make-advised-definition-docstring.
3331 (ad-make-advised-definition-docstring, ad-advised-definition-p):
3332 Delete functions.
3333
3334 * progmodes/sql.el (sql-help): Use function-documentation instead
3335 of dynamic-docstring-function property. No need to autoload now.
3336 (sql--help-docstring): New variable.
3337 (sql--make-help-docstring): Use it.
3338
3339 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
3340
3341 * ielm.el (ielm-tab): Retarget.
3342 (ielm-map): Use ielm-tab for tab.
3343 (ielm-complete-filename): Use comint-filename-completion.
3344 (ielm-complete-symbol): Remove.
3345 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
3346 remove ielm-tab from completion-at-point-functions (bug#16224).
3347
3348 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
3349 Beware signals raised by predicates (bug#16201).
3350
3351 2014-01-02 Richard Stallman <rms@gnu.org>
3352
3353 * dired-aux.el (dired-do-print): Handle printer-name.
3354
3355 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
3356 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
3357 (rmail-epa-decrypt): Turn off mime processing.
3358
3359 * mail/rmail.el (rmail-make-in-reply-to-field):
3360 Add parens in message-id.
3361
3362 * mail/rmail.el (rmail-get-coding-function): Variable.
3363 (rmail-get-coding-system): Use it.
3364
3365 2013-12-31 Eli Zaretskii <eliz@gnu.org>
3366
3367 * international/mule-conf.el: Unify the charset indian-is13194.
3368 (indian-is13194): Specify unify-map.
3369
3370 2013-12-31 Leo Liu <sdl.web@gmail.com>
3371
3372 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
3373
3374 2013-12-30 Daniel Colascione <dancol@dancol.org>
3375
3376 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
3377 of printing a useless when we resume from sleep.
3378
3379 * progmodes/sh-script.el
3380 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
3381 in indentation code. (Bug#16233)
3382
3383 2013-12-28 João Távora <joaotavora@gmail.com>
3384
3385 * elec-pair.el (electric-pair-post-self-insert-function):
3386 Don't open extra newlines at beginning of buffer. (Bug#16272)
3387
3388 2013-12-28 Eli Zaretskii <eliz@gnu.org>
3389
3390 * frame.el (window-system-for-display): Don't allow to create a
3391 GUI frame from a -nw session on MS-Windows. (Bug#14739)
3392
3393 2013-12-28 Glenn Morris <rgm@gnu.org>
3394
3395 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
3396 Update callers.
3397
3398 * apropos.el (apropos-match-face):
3399 * calculator.el (calculator-displayer):
3400 * dabbrev.el (dabbrev-search-these-buffers-only):
3401 * face-remap.el (buffer-face-mode-face):
3402 * simple.el (yank-handled-properties):
3403 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
3404 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
3405 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
3406 (hashcash-double-spend-database):
3407 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
3408 (ruby-deep-indent-paren-style):
3409 * textmodes/flyspell.el (flyspell-auto-correct-binding):
3410 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
3411 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
3412 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
3413 Specify custom types.
3414
3415 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
3416 * bookmark.el (bookmark-bmenu-use-header-line):
3417 * doc-view.el (doc-view-scale-internally):
3418 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
3419 * register.el (register-preview-delay):
3420 * net/shr.el (shr-bullet):
3421 * progmodes/cfengine.el (cfengine-cf-promises)
3422 (cfengine-parameters-indent):
3423 * progmodes/octave.el (inferior-octave-error-regexp-alist):
3424 * textmodes/reftex-vars.el (reftex-label-regexps):
3425 * vc/log-edit.el (log-edit-setup-add-author): Add version.
3426
3427 * net/tls.el (tls-certtool-program): Fix default value.
3428
3429 * desktop.el (desktop-restore-in-current-display):
3430 * newcomment.el (comment-empty-lines):
3431 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
3432 (idlwave-pad-keyword):
3433 * progmodes/tcl.el (tcl-tab-always-indent):
3434 * textmodes/reftex-vars.el (reftex-index-default-tag):
3435 * elec-pair.el (electric-pair-skip-whitespace):
3436 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
3437
3438 * emacs-lisp/authors.el (authors-ignored-files)
3439 (authors-valid-file-names, authors-renamed-files-alist): Additions.
3440
3441 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
3442
3443 * shell.el (shell-dynamic-complete-command): Doc fix.
3444 (shell--command-completion-data): Shell completion now matches
3445 executable filenames from the current buffer's directory, on
3446 systems in which this behavior is the default (windows-nt, ms-dos).
3447
3448 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
3449
3450 * net/shr.el (shr-insert): Don't infloop if the width is zero.
3451
3452 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
3453
3454 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
3455 (bug#16251).
3456
3457 * electric.el: Move all electric-pair-* to elec-pair.el.
3458 * elec-pair.el: New file, split from electric.el.
3459
3460 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
3461
3462 * net/shr.el (shr-find-fill-point): Don't try to fill if the
3463 indentation level is larger than the width, because that will
3464 infloop.
3465 (shr-insert): Fill repeatedly long texts, so that Japanese is
3466 formatted correctly (bug#16263).
3467 (shr-find-fill-point): Off by one error in comparison with the
3468 indentation.
3469
3470 2013-12-26 João Távora <joaotavora@gmail.com>
3471
3472 * electric.el (electric-pair-mode): More flexible engine for skip-
3473 and inhibit predicates, new options for pairing-related functionality.
3474 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
3475 if that keeps or improves their balance in buffers.
3476 (electric-pair-delete-adjacent-pairs): Delete the pair when
3477 backspacing over adjacent matched delimiters.
3478 (electric-pair-open-extra-newline): Open extra newline when
3479 inserting newlines between adjacent matched delimiters.
3480 (electric--sort-post-self-insertion-hook):
3481 Sort post-self-insert-hook according to priority values when
3482 minor-modes are activated.
3483 * simple.el (newline-and-indent): Call newline with interactive
3484 set to t.
3485 (blink-paren-post-self-insert-function): Set priority to 100.
3486 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3487 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
3488 comments. Locally set electric-pair-skip-whitespace to 'chomp and
3489 electric-pair-open-newline-between-pairs to nil.
3490
3491 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
3492
3493 * progmodes/python.el: Use lexical-binding.
3494 (python-nav-beginning-of-defun): Stop searching ASAP.
3495
3496 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
3497
3498 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
3499 Fix interactive spec. Doc fix. (Bug#15754)
3500
3501 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
3502
3503 * emacs-lisp/byte-run.el (eval-when-compile):
3504 * progmodes/cc-defs.el (cc-eval-when-compile):
3505 Fix edebug spec (bug#16184).
3506
3507 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
3508
3509 * net/shr.el (shr-visit-file): Remove debugging function.
3510 (shr-insert): Don't infloop if we can't find a good place to break
3511 the line (bug#16256).
3512
3513 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
3514
3515 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
3516 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
3517 python-nav-lisp-forward-sexp-safe.
3518 (python-nav--forward-sexp): New argument SAFE allows switching
3519 forward sexp movement behavior for parens.
3520 (python-nav-forward-sexp): Throw errors on unterminated parens
3521 (Bug#16191).
3522 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
3523 (python-nav-backward-sexp-safe): New functions.
3524 (python-shell-buffer-substring):
3525 Use `python-nav-forward-sexp-safe'.
3526
3527 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
3528
3529 * net/shr.el (shr-find-fill-point): Don't break lines before a
3530 quotation mark.
3531 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
3532 (shr-find-fill-point): Remove the special checks for the quotation
3533 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
3534
3535 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3536
3537 * net/eww.el (eww-form-textarea): Use a different face for
3538 textareas than text input since they have different keymaps
3539 (bug#16142).
3540
3541 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
3542
3543 * progmodes/python.el (python-nav-beginning-of-statement):
3544 Speed up (Bug#15295).
3545
3546 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
3547
3548 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
3549 the window configuration.
3550
3551 2013-12-24 Eli Zaretskii <eliz@gnu.org>
3552
3553 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
3554 we run on MS-Windows or MS-DOS.
3555
3556 2013-12-24 Martin Rudalics <rudalics@gmx.at>
3557
3558 * window.el (balance-windows-area): Call window-size instead of
3559 window-height and window-width. Bug#16241.
3560
3561 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
3562
3563 * net/eww.el (eww-bookmark-quit): Remove.
3564 (eww-bookmark-browse): Restore the window configuration when you
3565 choose a bookmark (bug#16144).
3566
3567 2013-12-24 Daniel Colascione <dancol@dancol.org>
3568
3569 * icomplete.el: Remove redundant :group arguments to `defcustom'
3570 throughout.
3571 (icomplete-show-matches-on-no-input): New customizable variable.
3572 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
3573 we have something to show.
3574 (icomplete-exhibit): Compute completions even if we have no user input.
3575
3576 2013-12-23 Daniel Colascione <dancol@dancol.org>
3577
3578 * icomplete.el: Move `provide' to end of file.
3579
3580 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
3581
3582 * net/gnutls.el (gnutls-verify-error): Add version tag.
3583
3584 2013-12-23 Chong Yidong <cyd@gnu.org>
3585
3586 * subr.el (set-transient-map): Rename from
3587 set-temporary-overlay-map. Doc fix.
3588
3589 * face-remap.el (text-scale-adjust):
3590 * indent.el (indent-rigidly):
3591 * kmacro.el (kmacro-call-macro):
3592 * minibuffer.el (minibuffer-force-complete):
3593 * repeat.el (repeat):
3594 * simple.el (universal-argument--mode):
3595 * calendar/todo-mode.el (todo-insert-item--next-param):
3596 * progmodes/f90.el (f90-abbrev-start): Callers changed.
3597
3598 * indent.el (indent-rigidly): Use substitute-command-keys.
3599
3600 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3601
3602 * net/eww.el (eww-tag-select): Add text-property to jump to next
3603 select field.
3604 (eww): Add non-supported ftp error.
3605
3606 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
3607
3608 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
3609 comments. Handle electric indent after typing `?' and `!'.
3610
3611 2013-12-22 Chong Yidong <cyd@gnu.org>
3612
3613 * faces.el (face-spec-recalc): If the theme specs are not
3614 applicable to a frame, fall back on the defface spec.
3615 This prevents themes from obliterating faces on low-color terminals.
3616
3617 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
3618
3619 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
3620 after `{'. We need it after block openers, and it doesn't seem
3621 to hurt after hash openers.
3622
3623 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
3624
3625 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
3626 extracted from `ruby-smie-rules'.
3627 (ruby--electric-indent-chars): New variable.
3628 (ruby--electric-indent-p): New function.
3629 (ruby-mode): Use `electric-indent-functions' instead of
3630 `electric-indent-chars'.
3631
3632 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
3633
3634 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
3635 docstring.
3636 (ruby-smie-rules): Indent plus one level after `=>'.
3637
3638 2013-12-21 Richard Stallman <rms@gnu.org>
3639
3640 * simple.el (newline): Doc fix.
3641
3642 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3643
3644 * net/eww.el (eww-list-histories, eww-list-histories)
3645 (eww-history-browse, eww-history-quit, eww-history-kill)
3646 (eww-history-mode-map, eww-history-mode): New command and
3647 functions to list browser histories.
3648 (eww-form-text): Support text form with disabled
3649 and readonly attributes.
3650 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
3651
3652 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3653
3654 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
3655 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
3656 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
3657 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
3658 Use `user-error'.
3659 (eww-bookmark-mode-map): Add menu.
3660 (eww-render, eww-mode): Use `setq-local'.
3661 (eww-tool-bar-map): New variable.
3662 (eww-mode): Set `tool-bar-map'.
3663 (eww-view-source): Check for `html-mode' with `fboundp'.
3664
3665 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3666
3667 * net/shr.el (shr--extract-best-source): Don't bug out on audio
3668 elements with text inside. Also remove debugging.
3669
3670 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
3671
3672 * cus-start.el (all): Add ns-use-srgb-colorspace.
3673
3674 2013-12-21 Chong Yidong <cyd@gnu.org>
3675
3676 * custom.el (custom-theme-recalc-face): Do nothing if the face is
3677 undefined. Thus, theme settings for undefined faces do not take
3678 effect until the faces are defined with defface, the same as with
3679 theme variables.
3680
3681 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
3682 (face-spec-reset-face): Don't assign extra properties in temacs.
3683 (face-spec-recalc): Apply X resources too.
3684
3685 2013-12-21 Chong Yidong <cyd@gnu.org>
3686
3687 * faces.el (face-spec-set):
3688 * cus-face.el (custom-theme-set-faces, custom-set-faces):
3689 * custom.el (defface): Doc fixes (Bug#16203).
3690
3691 * indent.el (indent-rigidly-map): Add docstring, and move commands
3692 into named functions.
3693 (indent-rigidly-left, indent-rigidly-right)
3694 (indent-rigidly-left-to-tab-stop)
3695 (indent-rigidly-right-to-tab-stop): New functions. Decide on
3696 indentation direction based on bidi direction, and accumulate
3697 sequential commands in a single undo boundary.
3698 (indent-rigidly--pop-undo): New utility function.
3699
3700 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
3701
3702 * faces.el (read-face-name): Require crm.el when using crm-separator.
3703
3704 2013-12-20 Daniel Colascione <dancol@dancol.org>
3705
3706 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
3707 so that we don't reflow comments into the shebang line.
3708
3709 2013-12-20 Juri Linkov <juri@jurta.org>
3710
3711 * saveplace.el (save-place-to-alist): Add `dired-filename' as
3712 a position when `dired-directory' is non-nil. Check integer
3713 positions with `integerp'.
3714 (toggle-save-place, save-places-to-alist): Add check for
3715 `dired-directory'.
3716 (save-place-find-file-hook): Check integer positions with
3717 `integerp'.
3718 (save-place-dired-hook): Use `dired-goto-file' when
3719 `dired-filename' is found in the assoc list. Check integer
3720 positions with `integerp'.
3721 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
3722
3723 * dired.el (dired-initial-position-hook): Rename back from
3724 `dired-initial-point-hook'.
3725 (dired-initial-position): Rename `dired-initial-point-hook' to
3726 `dired-initial-position-hook'.
3727 (dired-file-name-at-point): Doc fix. (Bug#15329)
3728
3729 2013-12-20 Juri Linkov <juri@jurta.org>
3730
3731 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
3732 (read-regexp-suggestions): New function.
3733 (read-regexp): Use `read-regexp-defaults-function' to get default values.
3734 Use `read-regexp-suggestions'. Add non-empty default to history
3735 for empty input.
3736 (occur-read-regexp-defaults-function): Remove function.
3737 (occur-read-primary-args): Use `regexp-history-last' instead of
3738 `occur-read-regexp-defaults-function'.
3739
3740 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
3741 (hi-lock-line-face-buffer, hi-lock-face-buffer)
3742 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
3743 `hi-lock-read-regexp-defaults-function'. Doc fix.
3744 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
3745 with `find-tag-default-as-symbol-regexp'. Doc fix.
3746 (hi-lock-read-regexp-defaults): Remove function.
3747 (hi-lock-regexp-okay): Add check for null.
3748
3749 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
3750 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
3751
3752 * subr.el (find-tag-default-as-symbol-regexp): New function.
3753 (find-tag-default-as-regexp): Move symbol regexp formatting to
3754 `find-tag-default-as-symbol-regexp'.
3755
3756 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
3757
3758 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
3759 (Bug#14179)
3760
3761 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
3762
3763 * calendar/todo-mode.el: New implementation of item insertion
3764 commands and key bindings.
3765 (todo-key-prompt): New face.
3766 (todo-insert-item): New command.
3767 (todo-insert-item--parameters): New defconst, replacing defvar
3768 todo-insertion-commands-args-genlist.
3769 (todo-insert-item--param-key-alist): New defconst, replacing
3770 defvar todo-insertion-commands-arg-key-list.
3771 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
3772 (todo-insert-item--argsleft, todo-insert-item--apply-args)
3773 (todo-insert-item--next-param): New functions.
3774 (todo-insert-item--args, todo-insert-item--argleft)
3775 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
3776 New variables.
3777 (todo-key-bindings-t): Change binding of "i" from
3778 todo-insertion-map to todo-insert-item.
3779 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
3780 (todo-insertion-command-name, todo-insertion-commands-names)
3781 (todo-define-insertion-command, todo-insertion-commands)
3782 (todo-insertion-key-bindings, todo-insertion-map): Remove.
3783
3784 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
3785
3786 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
3787 (todo-toggle-item-highlighting): Use eval-and-compile instead of
3788 eval-when-compile.
3789 (todo-move-category): Allow choosing a non-existing todo file to
3790 move the category to, and create that file.
3791 (todo-default-priority): New user option.
3792 (todo-set-item-priority): Use it.
3793 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
3794 (desktop-restore-file-buffer): Declare.
3795 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
3796 (todo-modes-set-2): Locally set desktop-save-buffer to
3797 todo-desktop-save-buffer.
3798 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
3799 (auto-mode-alist): Add autoload cookie.
3800
3801 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
3802
3803 * emacs-lisp/subr-x.el: Renamed from helpers.el.
3804 helpers.el was a poor choice of name.
3805 (string-remove-prefix): New function.
3806 (string-remove-suffix): New function.
3807
3808 2013-12-20 Martin Rudalics <rudalics@gmx.at>
3809
3810 Fix assignment for new window total sizes.
3811 * window.el (window--pixel-to-size): Remove function.
3812 (window--pixel-to-total-1, window--pixel-to-total):
3813 Fix calculation of new total sizes.
3814
3815 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
3816
3817 * comint.el (comint-output-filter): Fix rear-nonsticky property
3818 placement (Bug#16010).
3819
3820 2013-12-20 Chong Yidong <cyd@gnu.org>
3821
3822 * faces.el (read-color): Minor fix for completion function.
3823
3824 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
3825
3826 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
3827 New option. (Bug#16182)
3828 (ruby-smie--indent-to-stmt-p): Use it.
3829 (ruby-smie-rules): Revert the logic in the handling of `when'.
3830 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
3831 (ruby-deep-arglist, ruby-deep-indent-paren)
3832 (ruby-deep-indent-paren-style): Update docstrings to note that the
3833 vars don't have any effect with SMIE.
3834
3835 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
3836
3837 * calc/calc.el (calc-enter, calc-pop): Use the variable
3838 `calc-context-sensitive-enter'.
3839
3840 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
3841
3842 * net/shr.el (shr-insert): Protect against infloops in degenerate
3843 tables.
3844
3845 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3846
3847 * progmodes/octave.el (octave): Add link to manual and octave
3848 homepage.
3849 (octave-mode-menu): Link to octave-mode manual.
3850
3851 2013-12-20 Leo Liu <sdl.web@gmail.com>
3852
3853 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
3854 insertion using skeleton-end-newline. (Bug#16138)
3855
3856 2013-12-20 Juri Linkov <juri@jurta.org>
3857
3858 * replace.el (occur-engine): Use `add-face-text-property'
3859 to add the face property to matches and titles. (Bug#14645)
3860
3861 * hi-lock.el (hi-green): Use lighter color "light green" closer to
3862 the palette of other hi-lock colors.
3863 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
3864
3865 2013-12-19 Juri Linkov <juri@jurta.org>
3866
3867 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
3868 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
3869 (minibuffer-history-symbol): Move variable declaration closer to
3870 its usage.
3871
3872 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
3873 (Bug#14785)
3874
3875 2013-12-19 Juri Linkov <juri@jurta.org>
3876
3877 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
3878 New function.
3879 (log-edit-hook): Add it to :options. (Bug#16170)
3880
3881 2013-12-19 Juri Linkov <juri@jurta.org>
3882
3883 * simple.el (eval-expression-print-format): Don't check for
3884 command names and the last command. Always display additional
3885 formats of the integer result in the echo area, and insert them
3886 to the current buffer only with a zero prefix arg.
3887 Display character when char-displayable-p is non-nil.
3888 (eval-expression): With a zero prefix arg, set `print-length' and
3889 `print-level' to nil, and insert the integer values from
3890 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
3891
3892 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
3893 `eval-last-sexp-arg-internal'. Doc fix.
3894 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
3895 `eval-last-sexp-print-value'. Doc fix.
3896 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
3897 Set `print-length' and `print-level' to nil when arg is zero.
3898 (eval-last-sexp): Doc fix.
3899 (eval-defun-2): Print the integer values from
3900 `eval-expression-print-format' at the end.
3901
3902 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
3903 values from `eval-expression-print-format' at the end.
3904
3905 * ielm.el (ielm-eval-input): Print the integer
3906 values from `eval-expression-print-format' at the end.
3907
3908 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
3909
3910 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
3911 2013-12-11T19:01:44Z!tzz@lifelogs.com.
3912
3913 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
3914
3915 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
3916 (hl-line-highlight, global-hl-line-highlight): Use it.
3917 (hl-line-overlay): Use defvar-local.
3918
3919 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
3920
3921 * term/ns-win.el: Require dnd.
3922 (global-map): Remove drag items.
3923 (ns-insert-text, ns-set-foreground-at-mouse)
3924 (ns-set-background-at-mouse):
3925 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
3926 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
3927 New functions.
3928
3929 2013-12-19 Glenn Morris <rgm@gnu.org>
3930
3931 * emacs-lisp/ert.el (ert-select-tests):
3932 Fix string/symbol mixup. (Bug#16121)
3933
3934 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
3935
3936 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
3937 keywords to their parent.
3938
3939 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
3940
3941 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
3942 first arg to be a string (fixed dead code), or an operator symbol.
3943 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
3944 operator symbols.
3945 (ruby-smie-rules): Remove parent token check in the `.' clause, it
3946 did nothing. Don't respond to `(:after ".")', it will be called
3947 with :before anyway. Remove the ` @ ' rule, it didn't seem to
3948 change anything. Only return indentation for binary operators
3949 when they are hanging. De-dent opening paren when its parent is
3950 `.', otherwise it looks bad when the dot is not at bol or eol
3951 (bug#16182).
3952
3953 2013-12-19 Juri Linkov <juri@jurta.org>
3954
3955 * replace.el (query-replace-read-args): Split a non-negative arg
3956 and a negative arg into separate elements.
3957 (query-replace, query-replace-regexp, replace-string)
3958 (replace-regexp): Add arg `backward'. Doc fix.
3959 (replace-match-maybe-edit): When new arg `backward' is non-nil,
3960 move point to the beginning of the match.
3961 (replace-search, replace-highlight): Use new arg `backward'
3962 to set the value of `isearch-forward'.
3963 (perform-replace): Add arg `backward' and use it to perform
3964 replacement backward. (Bug#14979)
3965
3966 * isearch.el (isearch-query-replace): Use a negative prefix arg
3967 to call `perform-replace' with a non-nil arg `backward'.
3968
3969 2013-12-18 Juri Linkov <juri@jurta.org>
3970
3971 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
3972 to the default list. Move `log-edit-show-files' to the end.
3973 Add more available functions to options.
3974 (log-edit): Move default specific settings to
3975 `log-edit-insert-message-template'. Don't move point.
3976 (log-edit-insert-message-template): New function.
3977 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
3978 (Bug#16170)
3979
3980 2013-12-18 Juri Linkov <juri@jurta.org>
3981
3982 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
3983 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
3984
3985 2013-12-18 Leo Liu <sdl.web@gmail.com>
3986
3987 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
3988 (Bug#16186)
3989
3990 2013-12-18 Eli Zaretskii <eliz@gnu.org>
3991
3992 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
3993 formats for displaying file sizes when the -s switch is given.
3994 Instead, compute a separate format for displaying the size in
3995 blocks, which is displayed in addition to the "regular" size.
3996 When -h is given in addition to -s, produce size in blocks in
3997 human-readable form as well. (Bug#16179)
3998
3999 2013-12-18 Tassilo Horn <tsdh@gnu.org>
4000
4001 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
4002 Reference tables with ~\ref{...} instead of only \ref{...}.
4003
4004 2013-12-18 Chong Yidong <cyd@gnu.org>
4005
4006 * cus-edit.el (custom-magic-alist): Fix "themed" description
4007 (Bug#14348).
4008
4009 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
4010 is non-nil, do not create a new entry in the symbol's theme-value
4011 or theme-face property; update theme-settings only (Bug#14664).
4012 (custom-available-themes): Doc fix.
4013
4014 * cus-theme.el (custom-new-theme-mode-map): Add bindings
4015 (Bug#15674).
4016
4017 * replace.el (occur-engine): Avoid infloop (Bug#7593).
4018
4019 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
4020
4021 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
4022 (Bug#13914).
4023
4024 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
4025
4026 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
4027
4028 2013-12-18 Glenn Morris <rgm@gnu.org>
4029
4030 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
4031 * cus-start.el (load-prefer-newer): New option.
4032
4033 2013-12-18 Le Wang <l26wang@gmail.com>
4034
4035 * comint.el (comint-previous-matching-input-from-input):
4036 Retain point (Bug#13404).
4037
4038 2013-12-18 Chong Yidong <cyd@gnu.org>
4039
4040 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
4041
4042 2013-12-18 Glenn Morris <rgm@gnu.org>
4043
4044 * mail/emacsbug.el (report-emacs-bug):
4045 Only mention enable-multibyte-characters if non-standard.
4046
4047 2013-12-17 Juri Linkov <juri@jurta.org>
4048
4049 * arc-mode.el (archive-extract-by-file): Check if directory exists
4050 before deletion to not show irrelevant errors if it doesn't exist.
4051
4052 2013-12-17 Juri Linkov <juri@jurta.org>
4053
4054 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
4055 (Bug#14751)
4056
4057 * net/eww.el (browse-web): Add alias to `eww'.
4058 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
4059 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
4060
4061 * net/browse-url.el (browse-url-browser-function): Move `eww'
4062 closer to similar functions.
4063
4064 * startup.el (fancy-startup-screen, fancy-about-screen):
4065 Set browse-url-browser-function to eww-browse-url locally.
4066 (Bug#14751)
4067
4068 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
4069
4070 * window.el (window--pixel-to-total): Remove unused `mini' var.
4071 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
4072 (split-window): Remove unused `new' var.
4073 (window--display-buffer): Remove unused `frame' and `delta' vars.
4074 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
4075 and display-width'.
4076
4077 2013-12-17 Martin Rudalics <rudalics@gmx.at>
4078
4079 * dired.el (dired-mark-pop-up):
4080 * register.el (register-preview): Don't bind
4081 split-height-threshold here since it's now done in
4082 display-buffer-below-selected.
4083
4084 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
4085
4086 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
4087 xterm-rgb-convert-to-16bit.
4088 (rxvt-register-default-colors): Standardize with
4089 xterm-register-default-colors (Bug#14078).
4090
4091 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
4092
4093 * simple.el (kill-region): Pass mark first, then point, so that
4094 kill-append works right (Bug#12819).
4095 (copy-region-as-kill, kill-ring-save): Likewise.
4096
4097 2013-12-17 Leo Liu <sdl.web@gmail.com>
4098
4099 * net/rcirc.el (rcirc-add-face):
4100 * eshell/em-prompt.el (eshell-emit-prompt):
4101 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
4102 (Bug#16167)
4103
4104 2013-12-17 Chong Yidong <cyd@gnu.org>
4105
4106 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
4107 Suggested by Xue Fuqiao.
4108
4109 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
4110
4111 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
4112
4113 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
4114
4115 * net/shr.el (shr-insert-document): Remove unused var
4116 `shr-preliminary-table-render'.
4117 (shr-rescale-image): Remove unused arg `force'.
4118 (shr-put-image): Update calls accordingly.
4119 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
4120
4121 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
4122
4123 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
4124 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
4125 :close-all, to see which indentation method to use (Bug#16116).
4126 (smie-rules-function): Document the method :close-all.
4127
4128 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4129
4130 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
4131
4132 * net/eww.el (eww-display-html): If we can't find the anchor we're
4133 looking for, then go to point-min.
4134
4135 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
4136
4137 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
4138 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
4139 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
4140 Expand dir too, in case it's relative.
4141
4142 2013-12-16 Juri Linkov <juri@jurta.org>
4143
4144 * desktop.el (desktop-auto-save-timeout): Change default to
4145 `auto-save-timeout'. Doc fix.
4146 (desktop-save): Skip the timestamp in desktop-saved-frameset
4147 when checking for auto-save changes.
4148 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
4149 `desktop-auto-save' is called repeatedly by the idle timer.
4150 (desktop-auto-save-set-timer): Replace `run-with-timer' with
4151 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
4152 (Bug#15331)
4153
4154 2013-12-16 Juri Linkov <juri@jurta.org>
4155
4156 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
4157 (Bug#16035)
4158 (isearch-pre-command-hook): Check `this-command' for symbolp.
4159
4160 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
4161
4162 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
4163
4164 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
4165
4166 * progmodes/cfengine.el (cfengine3--current-word): Remove.
4167 (cfengine3--current-function): Bring in the current-function
4168 functionality from `cfengine3--current-word'.
4169 (cfengine3-completion-function): Bring in the
4170 bounds-of-current-word functionality from
4171 `cfengine3--current-word'.
4172
4173 2013-12-16 Martin Rudalics <rudalics@gmx.at>
4174
4175 * window.el (display-buffer-below-selected):
4176 Bind split-height-threshold to 0 as suggested by Juri Linkov.
4177
4178 2013-12-16 Leo Liu <sdl.web@gmail.com>
4179
4180 * progmodes/compile.el (compile-goto-error): Do not push-mark.
4181 Remove NOMSG arg and all uses changed.
4182
4183 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
4184
4185 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
4186 (cua--deactivate-rectangle): Don't deactivate the mark.
4187 (cua-set-rectangle-mark): Don't set mark-active since
4188 cua--activate-rectangle already does it for us.
4189 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
4190 non-rectangular region.
4191
4192 * emulation/cua-base.el (cua-repeat-replace-region):
4193 Use with-current-buffer.
4194
4195 * net/gnutls.el: Use cl-lib.
4196 (gnutls-negotiate): `mapcan' -> cl-mapcan.
4197
4198 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
4199
4200 * emacs-lisp/package.el (package-built-in-p): Support both
4201 built-in and the package.el converted package descriptions.
4202 (package-show-package-list): Allow keywords.
4203 (package-keyword-button-action): Use it instead of
4204 `finder-list-matches'.
4205 (package-menu-filter-interactive): Interactive filtering (by
4206 keyword) function.
4207 (package-menu--generate): Support keywords and change keymappings
4208 and headers when they are given.
4209 (package--has-keyword-p): Helper function.
4210 (package-menu--refresh): Use it.
4211 (package--mapc): Helper function.
4212 (package-all-keywords): Use it.
4213 (package-menu-mode-map): Set up menu items and keybindings to
4214 provide a filtering UI.
4215
4216 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
4217
4218 * net/gnutls.el (gnutls-verify-error): New defcustom to control
4219 the behavior when a certificate fails validation. Defaults to
4220 old behavior: never abort, just warn.
4221 (gnutls-negotiate): Use it.
4222
4223 2013-12-14 Martin Rudalics <rudalics@gmx.at>
4224
4225 * window.el (display-buffer-below-selected): Never split window
4226 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
4227
4228 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
4229
4230 * emacs-lisp/package.el (package--prepare-dependencies): New function.
4231 (package-buffer-info): Use it (bug#15108).
4232
4233 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
4234
4235 * icomplete.el (icomplete-completions): Make sure the prefix is already
4236 displayed elsewhere before hiding it (bug#16219).
4237
4238 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
4239
4240 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
4241 open-paren tokens when preceded by a open-paren, too.
4242 (ruby-smie-rules): Handle virtual indentation after open-paren
4243 tokens specially. If there is code between it and eol, return the
4244 column where is starts (Bug#16118).
4245
4246 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
4247
4248 * progmodes/cfengine.el: Fix `add-hook' doc.
4249 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
4250 (cfengine3--current-word): Fix parameters.
4251 (cfengine3-make-syntax-cache): Simplify further.
4252 (cfengine3-completion-function, cfengine3--current-function):
4253 Use `assq' for symbols.
4254 (cfengine3--current-function): Fix `cfengine3--current-word' call.
4255
4256 2013-12-13 Glenn Morris <rgm@gnu.org>
4257
4258 * loadup.el (load-path): Warn if site-load or site-init changes it.
4259 No more need to reset it when bootstrapping.
4260
4261 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
4262
4263 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
4264 locations for cf-promises.
4265 (cfengine-mode-syntax-functions-regex): New caching variable.
4266 (cfengine3-fallback-syntax): Fallback syntax for cases where
4267 cf-promises doesn't run.
4268 (cfengine3--current-word): Reimplement using
4269 `cfengine-mode-syntax-functions-regex'.
4270 (cfengine3-completion-function, cfengine3--current-function):
4271 Use `cfengine3-make-syntax-cache' directly.
4272 (cfengine3-clear-syntax-cache): New function.
4273 (cfengine3-make-syntax-cache): Simplify and create
4274 `cfengine-mode-syntax-functions-regex' on demand.
4275 (cfengine3-format-function-docstring): Don't call
4276 `cfengine3-make-syntax-cache' explicitly.
4277
4278 2013-12-13 Martin Rudalics <rudalics@gmx.at>
4279
4280 Fix windmove-find-other-window broken after pixelwise resizing
4281 (Bug#16017).
4282 * windmove.el (windmove-other-window-loc): Revert change from
4283 2013-12-04.
4284 (windmove-find-other-window): Call window-in-direction.
4285 * window.el (window-in-direction): New arguments SIGN, WRAP and
4286 MINI to emulate original windmove-find-other-window behavior.
4287
4288 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
4289
4290 * simple.el (blink-matching--overlay): New variable.
4291 (blink-matching-open): Instead of moving point, highlight the
4292 matching paren with an overlay
4293 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
4294
4295 * faces.el (paren-showing-faces, show-paren-match)
4296 (show-paren-mismatch): Move from paren.el.
4297
4298 2013-12-13 Leo Liu <sdl.web@gmail.com>
4299
4300 * indent.el (indent-region): Disable progress reporter in
4301 minibuffer. (Bug#16108)
4302
4303 * bindings.el (visual-order-cursor-movement): Fix version.
4304
4305 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4306
4307 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
4308 Also match after beginning of line.
4309 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
4310 files. Thanks to Russell Sim. (Bug#15378)
4311
4312 2013-12-13 Juri Linkov <juri@jurta.org>
4313
4314 * simple.el <Keypad support>: Remove key bindings duplicated
4315 with bindings.el. (Bug#14397)
4316
4317 2013-12-13 Juri Linkov <juri@jurta.org>
4318
4319 * comint.el (comint-mode-map): Replace `delete-char' with
4320 `delete-forward-char'. (Bug#16109)
4321
4322 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
4323
4324 * progmodes/python.el (python-indent-calculate-indentation):
4325 Fix de-denters cornercase. (Bug#15731)
4326
4327 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
4328
4329 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
4330 (advice--make): Pay attention to `depth'.
4331 (advice--make-1): Don't autoload commands eagerly.
4332 * emacs-lisp/elp.el (elp-instrument-function):
4333 * emacs-lisp/trace.el (trace-function-internal):
4334 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
4335
4336 * iswitchb.el (iswitchb-mode): Don't belittle ido.
4337
4338 2013-12-12 Eli Zaretskii <eliz@gnu.org>
4339
4340 * term/w32-win.el (w32-handle-dropped-file):
4341 * startup.el (normal-top-level):
4342 * net/browse-url.el (browse-url-file-url):
4343 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
4344 decode file names using 'utf-8' rather than
4345 file-name-coding-system.
4346
4347 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
4348
4349 * progmodes/python.el (python-indent-context)
4350 (python-indent-calculate-indentation): Fix auto-identation
4351 behavior for comment blocks. (Bug#15916)
4352
4353 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4354
4355 * progmodes/python.el (python-indent-calculate-indentation):
4356 When determining indentation, don't treat "return", "pass", etc., as
4357 operators when they are just string constituents. (Bug#15812)
4358
4359 2013-12-12 Juri Linkov <juri@jurta.org>
4360
4361 * uniquify.el (uniquify-buffer-name-style): Change default to
4362 `post-forward-angle-brackets'.
4363
4364 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
4365 `uniquify'. Change default to `post-forward-angle-brackets'.
4366
4367 2013-12-11 Glenn Morris <rgm@gnu.org>
4368
4369 * emacs-lisp/package.el (finder-list-matches):
4370 Autoload rather than falsely declaring.
4371
4372 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
4373
4374 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
4375 (eww-mode-map): Use them.
4376
4377 2013-12-11 Martin Rudalics <rudalics@gmx.at>
4378
4379 * window.el (display-buffer-in-side-window): Fix doc-string
4380 (Bug#16115).
4381
4382 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
4383
4384 * vc/vc-git.el: Silence byte-compiler warnings.
4385 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
4386 (log-edit-set-header): Declare.
4387
4388 2013-12-11 Eli Zaretskii <eliz@gnu.org>
4389
4390 * Makefile.in (custom-deps, finder-data): Run output file names
4391 through unmsys--file-name. (Bug#16099)
4392
4393 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
4394
4395 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
4396 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
4397
4398 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
4399 instead of deleting the selection "by hand" (bug#16098).
4400 Rely on insert-for-yank to yank rectangles.
4401 (cua-highlight-region-shift-only): Mark obsolete.
4402 (cua-mode): Don't enable/disable transient-mark-mode,
4403 shift-select-mode (cua-mode works both with and without them), and
4404 pc-selection-mode (obsolete).
4405 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
4406 (cua--deactivate-rectangle): Deactivate it.
4407
4408 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
4409 (delete-selection-helper): Make sure yank starts at the top of the
4410 deleted region.
4411 (minibuffer-keyboard-quit): Use region-active-p.
4412
4413 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
4414
4415 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
4416 to `delete' (bug#16109).
4417
4418 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4419
4420 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
4421 info manual and show keybindings and set `:group' keyword.
4422
4423 2013-12-11 Juri Linkov <juri@jurta.org>
4424
4425 * delsel.el (delete-active-region): Let-bind `this-command'
4426 to prevent `kill-region' from changing its original value.
4427 (delete-selection-helper): Handle `overwrite-mode' for the type
4428 `kill' exactly the same way as for the type `t'.
4429 (insert-char, quoted-insert, reindent-then-newline-and-indent):
4430 Support more commands. (Bug#13312)
4431
4432 2013-12-11 Juri Linkov <juri@jurta.org>
4433
4434 * bindings.el: Map kp keys to non-kp keys systematically
4435 with basic modifiers control, meta and shift. (Bug#14397)
4436
4437 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4438
4439 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
4440 "Close browser" menu items. Fix wrong function of "List
4441 bookmarks".
4442
4443 2013-12-11 Juri Linkov <juri@jurta.org>
4444
4445 * misearch.el (multi-isearch-buffers): Set the value of
4446 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
4447 arg of isearch-forward to t.
4448 (multi-isearch-buffers-regexp): Set the value of
4449 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
4450 arg of isearch-forward-regexp to t.
4451 (multi-isearch-files): Set the value of
4452 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
4453 arg of isearch-forward to t.
4454 (multi-isearch-files-regexp): Set the value of
4455 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
4456 arg of isearch-forward-regexp to t. (Bug#16035)
4457
4458 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
4459 arg of isearch-forward to t.
4460 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
4461 arg of isearch-forward-regexp to t.
4462 (dired-isearch-filter-filenames): Remove unnecessary check for
4463 `dired-isearch-filenames'.
4464
4465 * comint.el (comint-history-isearch-backward):
4466 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
4467 (comint-history-isearch-backward-regexp):
4468 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
4469
4470 2013-12-10 Eli Zaretskii <eliz@gnu.org>
4471
4472 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
4473 unmsys--file-name. (Bug#16099)
4474
4475 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
4476
4477 * emacs-lisp/package.el (package-keyword-button-action):
4478 Remove finder.el require dependency.
4479
4480 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
4481
4482 * emacs-lisp/package.el: Require finder.el.
4483 (describe-package-1): Add keyword buttons.
4484 (package-make-button): New convenience function.
4485 (package-keyword-button-action): Keyword button action using
4486 `finder-list-matches'.
4487
4488 2013-12-09 Eli Zaretskii <eliz@gnu.org>
4489
4490 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
4491 last commit.
4492
4493 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
4494
4495 * autorevert.el (auto-revert-notify-add-watch): Do not handle
4496 symlinked files.
4497
4498 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
4499
4500 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
4501 after the end of a percent literal.
4502
4503 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
4504
4505 * progmodes/ruby-mode.el (ruby-forward-string): Document.
4506 Handle caret-delimited strings (Bug#16079).
4507
4508 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
4509
4510 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
4511 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
4512 `ruby-parse-partial' (Bug#16078).
4513
4514 2013-12-09 Leo Liu <sdl.web@gmail.com>
4515
4516 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
4517
4518 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
4519
4520 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
4521 (js-switch-indent-offset): New option.
4522 (js--proper-indentation): Use it. And handle the case when
4523 "default" is actually a key in an object literal.
4524 (js--same-line): New function.
4525 (js--multi-line-declaration-indentation): Use it.
4526 (js--indent-in-array-comp, js--array-comp-indentation):
4527 New functions.
4528 (js--proper-indentation): Use them, to handle array comprehension
4529 continuations.
4530
4531 2013-12-08 Leo Liu <sdl.web@gmail.com>
4532
4533 * progmodes/flymake.el (flymake-highlight-line): Re-write.
4534 (flymake-make-overlay): Remove arg MOUSE-FACE.
4535 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
4536
4537 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4538
4539 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
4540 New function.
4541 (redisplay-highlight-region-function): Use it.
4542
4543 * emulation/cua-base.el (cua--explicit-region-start)
4544 (cua--last-region-shifted): Remove.
4545 (cua--deactivate): Use deactivate-mark.
4546 (cua--pre-command-handler-1): Don't handle shift-selection.
4547 (cua--post-command-handler-1): Don't change transient-mark-mode.
4548 (cua--select-keymaps): Use region-active-p rather than
4549 cua--explicit-region-start or cua--last-region-shifted.
4550 (cua-mode): Enable shift-select-mode.
4551
4552 2013-12-08 Leo Liu <sdl.web@gmail.com>
4553
4554 * progmodes/flymake.el (flymake-popup-current-error-menu):
4555 Rename from flymake-display-err-menu-for-current-line. Reimplement.
4556 (flymake-posn-at-point-as-event, flymake-popup-menu)
4557 (flymake-make-emacs-menu): Remove. (Bug#16077)
4558
4559 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4560
4561 * rect.el (rectangle-mark-mode): Activate mark even if
4562 transient-mark-mode is off (bug#16066).
4563 (rectangle--highlight-for-redisplay): Fix boundary condition when point
4564 is > mark and at bolp.
4565
4566 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
4567 (region-extract-function): Use it.
4568 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
4569 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
4570 Delete functions.
4571 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
4572 kill-ring-save, kill-region, delete-char, delete-forward-char.
4573 Ignore self-insert-iso.
4574
4575 * emulation/cua-gmrk.el (cua--init-global-mark):
4576 Ignore `self-insert-iso'.
4577
4578 * emulation/cua-base.el (cua--prefix-copy-handler)
4579 (cua--prefix-cut-handler): Rely on region-extract-function rather than
4580 checking cua--rectangle.
4581 (cua-delete-region): Use region-extract-function.
4582 (cua-replace-region): Delete function.
4583 (cua-copy-region, cua-cut-region): Obey region-extract-function.
4584 (cua--pre-command-handler-1): Don't do the delete-selection thing.
4585 (cua--self-insert-char-p): Ignore `self-insert-iso'.
4586 (cua--init-keymaps): Don't remap delete-selection commands.
4587 (cua-mode): Use delete-selection-mode instead of rolling our own
4588 (bug#16085).
4589
4590 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
4591 Obey region-extract-function.
4592
4593 Make registers and delete-selection-mode work on rectangles.
4594 * register.el (describe-register-1): Don't modify the register's value.
4595 (copy-to-register): Obey region-extract-function.
4596 * delsel.el (delete-active-region): Obey region-extract-function.
4597
4598 2013-12-08 Leo Liu <sdl.web@gmail.com>
4599
4600 * progmodes/flymake.el (flymake, flymake-error-bitmap)
4601 (flymake-warning-bitmap, flymake-fringe-indicator-position)
4602 (flymake-compilation-prevents-syntax-check)
4603 (flymake-start-syntax-check-on-newline)
4604 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
4605 (flymake-start-syntax-check-on-find-file, flymake-log-level)
4606 (flymake-xml-program, flymake-master-file-dirs)
4607 (flymake-master-file-count-limit)
4608 (flymake-allowed-file-name-masks): Relocate.
4609 (flymake-makehash, flymake-float-time)
4610 (flymake-replace-regexp-in-string, flymake-split-string)
4611 (flymake-get-temp-dir): Remove.
4612 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
4613 (flymake-current-row, flymake-selected-frame)
4614 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
4615 related functions. (Bug#16077)
4616
4617 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
4618
4619 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
4620
4621 2013-12-07 Tassilo Horn <tsdh@gnu.org>
4622
4623 * help-fns.el (describe-function-1): Use new advice-* functions
4624 rather than old ad-* functions. Fix function type description and
4625 source links for advised functions and subrs.
4626
4627 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4628
4629 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
4630
4631 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
4632
4633 * progmodes/compile.el (compilation-start):
4634 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
4635
4636 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4637 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
4638
4639 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
4640
4641 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4642 Touch up the last change.
4643
4644 2013-12-06 Leo Liu <sdl.web@gmail.com>
4645
4646 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
4647 (inferior-octave-startup): Always use "octave> " for prompt.
4648 (octave-goto-function-definition)
4649 (octave-sync-function-file-names)
4650 (octave-find-definition-default-filename): Remove redundant backquotes.
4651
4652 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
4653
4654 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
4655 syntax for `?'.
4656 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
4657 where appropriate already.
4658 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
4659 end of method names (Bug#15874).
4660
4661 2013-12-06 Juri Linkov <juri@jurta.org>
4662
4663 * isearch.el (isearch--saved-overriding-local-map):
4664 New internal variable.
4665 (isearch-mode): Set it to the initial value of
4666 `overriding-terminal-local-map'.
4667 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
4668 with `isearch--saved-overriding-local-map'. (Bug#16035)
4669
4670 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
4671
4672 * progmodes/octave.el (inferior-octave-completion-table):
4673 Turn back into function, use `completion-table-with-cache'
4674 (Bug#11906). Update all references.
4675
4676 * minibuffer.el (completion-table-with-cache): New function.
4677
4678 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
4679
4680 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
4681
4682 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
4683
4684 * net/eww.el (eww-current-source): New variable to store page
4685 source.
4686 (eww-display-html, eww-mode, eww-save-history)
4687 (eww-restore-history): Use it.
4688 (eww-view-source): New command to view page source.
4689 Opportunistically uses `html-mode' to highlight the buffer.
4690 (eww-mode-map): Install it.
4691
4692 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
4693
4694 * net/dbus.el (dbus-unregister-service)
4695 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
4696 Fix docstring.
4697 (dbus-unregister-service): Skip :serial entries in
4698 `dbus-registered-objects-table'.
4699 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
4700
4701 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
4702
4703 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
4704 around keywords with extra `split-string' argument.
4705
4706 2013-12-04 Martin Rudalics <rudalics@gmx.at>
4707
4708 * windmove.el (windmove-other-window-loc): Handle navigation
4709 between windows (excluding the minibuffer window - Bug#16017).
4710
4711 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
4712
4713 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
4714 in D-Bus type syntax.
4715 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
4716 preserve unibyte strings. (Bug#16048)
4717
4718 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
4719
4720 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
4721 Call force-mode-line-update is the proper buffer (bug#16042).
4722
4723 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
4724
4725 * vc/log-edit.el (log-edit-add-new-comment): Rename to
4726 `log-edit-remember-comment', make argument optional. Adjust all
4727 callers.
4728 (log-edit-mode): Add `log-edit-remember-comment' to
4729 `kill-buffer-hook' locally.
4730 (log-edit-kill-buffer): Don't remember comment explicitly since
4731 the buffer is killed anyway.
4732
4733 2013-12-04 Juri Linkov <juri@jurta.org>
4734
4735 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
4736 add-hook and remove-hook for multi-buffer search. (Bug#16035)
4737
4738 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
4739
4740 * notifications.el (notifications-close-notification): Call the
4741 D-Bus method with ID being a `:uint32'. (Bug#16030)
4742
4743 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
4744
4745 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
4746
4747 2013-12-03 Juri Linkov <juri@jurta.org>
4748
4749 * progmodes/compile.el (compilation-start): Rename window alist
4750 entry `no-display-ok' to `allow-no-window'.
4751
4752 * simple.el (shell-command): Add window alist entry
4753 `allow-no-window' to `display-buffer'.
4754 (async-shell-command): Doc fix.
4755
4756 * window.el (display-buffer-no-window): New action function.
4757 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
4758
4759 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
4760
4761 * vc/log-edit.el (log-edit-set-header): Extract from
4762 `log-edit-toggle-header'.
4763 (log-edit-extract-headers): Separate the summary, when extracted
4764 from header, from the rest of the message with an empty line.
4765
4766 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
4767 line, if present, to the Summary header.
4768
4769 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
4770
4771 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
4772 in current-buffer (bug#16029).
4773
4774 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
4775
4776 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
4777 (debugger-mode-map): Bind it.
4778 (debugger--backtrace-base): New function.
4779 (debugger-eval-expression): Use it.
4780 (debugger-frame-number): Skip local vars when present.
4781 (debugger--locals-visible-p, debugger--insert-locals)
4782 (debugger--show-locals, debugger--hide-locals): New functions.
4783
4784 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
4785
4786 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
4787 "LC_ALL".
4788 (tramp-get-remote-locale): New defun.
4789 (tramp-open-connection-setup-interactive-shell): Use it.
4790
4791 2013-12-02 Leo Liu <sdl.web@gmail.com>
4792
4793 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
4794
4795 * progmodes/sh-script.el (sh-shell-process):
4796 * progmodes/octave.el (inferior-octave-process-live-p):
4797 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
4798 (gdb-inferior-io-sentinel):
4799 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
4800
4801 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
4802
4803 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
4804 `save-selected-window' to `log-edit-hide-buf'. This makes
4805 `log-edit-show-files' idempotent.
4806 (log-edit-show-files): Mark the new window as dedicated.
4807
4808 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
4809
4810 * vc/log-edit.el (log-edit-mode-map): Add binding for
4811 `log-edit-kill-biffer'.
4812 (log-edit-hide-buf): Add a FIXME comment.
4813 (log-edit-add-new-comment): New function, extracted from
4814 `log-edit-done'.
4815 (log-edit-done, log-edit-add-to-changelog): Use it.
4816 (log-edit-kill-buffer): New command.
4817
4818 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4819
4820 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
4821 instead of killing the buffer.
4822
4823 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4824
4825 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
4826
4827 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4828
4829 * net/eww.el (eww-form-checkbox-selected-symbol)
4830 (eww-form-checkbox-symbol): New customizable variable.
4831 (eww-form-checkbox, eww-toggle-checkbox):
4832 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
4833
4834 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
4835 (shr--get-media-pref, shr--extract-best-source): New function.
4836 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
4837 no :src tag was specified.
4838
4839 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
4840 (eww-render): Handle `eww-use-external-browser-for-content-type'.
4841 Use \\` to match beginning of string instead of ^.
4842 (eww-browse-with-external-browser): Provide optional URL parameter.
4843 (eww-render): Set `eww-current-title' back to "".
4844
4845 * net/shr.el (shr-tag-video): Display content for video if no
4846 poster is available.
4847 (shr-tag-audio): Add support for <audio> tag.
4848
4849 * net/eww.el (eww-text-input-types): New const.
4850 (eww-process-text-input): Treat input types in
4851 `eww-text-input-types' as text.
4852
4853 * net/shr.el (shr-tag-table): Fix comment typo.
4854
4855 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4856
4857 * net/eww.el (eww-follow-link): New command to avoid reloading
4858 pages when we follow #target links (bug#15243).
4859 (eww-quit): Special mode buffers shouldn't query before exiting.
4860
4861 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4862
4863 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
4864 forms.
4865
4866 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4867
4868 * net/eww.el (eww-restore-history): Update the window title after
4869 moving in the history.
4870 (eww-current-dom): New variable used to save the current DOM.
4871
4872 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
4873
4874 * vc/log-edit.el (log-edit-mode-map): Add binding for
4875 `log-edit-beginning-of-line'.
4876 (log-edit-setup-add-author): New user option.
4877 (log-edit-beginning-of-line): New command.
4878 (log-edit): Move major mode call above the contents setup so that
4879 the local variable values are already applied.
4880 (log-edit): Only insert "Author: " when
4881 `log-edit-setup-add-author' is non-nil.
4882 (log-edit): When SETUP is non-nil, position point after ": "
4883 instead of point-min.
4884
4885 2013-12-01 Glenn Morris <rgm@gnu.org>
4886
4887 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
4888
4889 2013-11-30 Eli Zaretskii <eliz@gnu.org>
4890
4891 * startup.el (fancy-splash-frame): On MS-Windows, trigger
4892 redisplay to make sure the initial frame gets a chance to become
4893 visible. (Bug#16014)
4894
4895 2013-11-30 Martin Rudalics <rudalics@gmx.at>
4896
4897 Support resizing frames and windows pixelwise.
4898 * cus-start.el (frame-resize-pixelwise)
4899 (window-resize-pixelwise): New entries.
4900 * emacs-lisp/debug.el (debug): Use window-total-height instead
4901 of window-total-size.
4902 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
4903 * help.el (describe-bindings-internal): Use help-buffer as
4904 argument for with-help-window.
4905 (temp-buffer-max-width): New option.
4906 (resize-temp-buffer-window, help-window-setup)
4907 (with-help-window): Rewrite.
4908 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
4909 dragging dividers.
4910 * window.el (frame-char-size, window-min-pixel-height)
4911 (window-safe-min-pixel-height, window-safe-min-pixel-width)
4912 (window-min-pixel-width, window-safe-min-pixel-size)
4913 (window-combination-p, window-safe-min-size)
4914 (window-resizable-p, window--size-to-pixel)
4915 (window--pixel-to-size, window--resize-apply-p): New functions.
4916 (window-safe-min-height): Fix doc-string.
4917 (window-size, window-min-size, window--min-size-1)
4918 (window-sizable, window-sizable-p, window--min-delta-1)
4919 (window-min-delta, window--max-delta-1, window-max-delta)
4920 (window--resizable, window--resizable-p, window-resizable)
4921 (window-full-height-p, window-full-width-p, window-at-side-p)
4922 (window--in-direction-2, window-in-direction)
4923 (window--resize-reset-1, window--resize-mini-window)
4924 (window-resize, window-resize-no-error)
4925 (window--resize-child-windows-normal)
4926 (window--resize-child-windows, window--resize-siblings)
4927 (window--resize-this-window, window--resize-root-window)
4928 (window--resize-root-window-vertically)
4929 (adjust-window-trailing-edge, enlarge-window, shrink-window)
4930 (maximize-window, minimize-window, delete-window)
4931 (quit-restore-window, window-split-min-size, split-window)
4932 (balance-windows-2, balance-windows)
4933 (balance-windows-area-adjust, balance-windows-area)
4934 (window--state-get-1, window-state-get, window--state-put-1)
4935 (window--state-put-2, window-state-put)
4936 (display-buffer-record-window, window--display-buffer):
4937 Make functions handle pixelwise sizing of windows.
4938 (display-buffer--action-function-custom-type)
4939 (display-buffer-fallback-action):
4940 Add display-buffer-in-previous-window.
4941 (display-buffer-use-some-window): Resize window to height it had
4942 before.
4943 (fit-window-to-buffer-horizontally): New option.
4944 (fit-frame-to-buffer): Describe new values.
4945 (fit-frame-to-buffer-bottom-margin): Replace with
4946 fit-frame-to-buffer-margins.
4947 (window--sanitize-margin): New function.
4948 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
4949 using window-text-pixel-size.
4950
4951 2013-11-30 Glenn Morris <rgm@gnu.org>
4952
4953 * emacs-lisp/bytecomp.el (byte-compile-form):
4954 Make the `interactive-only' warning like the `obsolete' one.
4955 * comint.el (comint-run):
4956 * files.el (insert-file-literally, insert-file):
4957 * replace.el (replace-string, replace-regexp):
4958 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
4959 (goto-line, insert-buffer, next-line, previous-line):
4960 Tweak `interactive-only' spec.
4961
4962 Stop keeping (most) generated cedet grammar files in the repository.
4963 * Makefile.in (semantic): New.
4964 (compile-main): Depend on semantic.
4965
4966 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4967
4968 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
4969 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
4970
4971 * uniquify.el (uniquify-buffer-name-style): Change default.
4972
4973 * loadup.el: Preload "uniquify".
4974
4975 * time.el (display-time-update): Update all mode lines (bug#15999).
4976
4977 * electric.el (electric-indent-mode): Enable by default.
4978 * loadup.el: Preload "electric".
4979
4980 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
4981
4982 * emacs-lisp/helpers.el (string-empty-p): New function.
4983 (string-blank-p): New function.
4984
4985 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
4986
4987 * imenu.el (imenu--index-alist): Add missing dot to the docstring
4988 (Bug#14029).
4989
4990 2013-11-29 Andreas Politz <politza@fh-trier.de>
4991 * imenu.el (imenu--subalist-p): Don't error on non-conses and
4992 allow non-lambda lists as functions.
4993 (imenu--in-alist): Don't recurse into non-subalists.
4994 (imenu): Don't pass function itself as an argument (Bug#14029).
4995
4996 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4997
4998 * progmodes/python.el (python-mode-map): Remove binding for ":".
4999 (python-indent-electric-colon): Remove command.
5000 (python-indent-post-self-insert-function): Integrate the previous code
5001 of python-indent-electric-colon. Make it conditional on
5002 electric-indent-mode.
5003 (python-mode): Add ?: to electric-indent-chars.
5004 Move python-indent-post-self-insert-function to the end of
5005 post-self-insert-hook.
5006
5007 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
5008
5009 * doc-view.el (doc-view-goto-page): Update mode-line.
5010
5011 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
5012
5013 2013-11-27 Glenn Morris <rgm@gnu.org>
5014
5015 * international/charprop.el, international/uni-bidi.el:
5016 * international/uni-category.el, international/uni-combining.el:
5017 * international/uni-comment.el, international/uni-decimal.el:
5018 * international/uni-decomposition.el, international/uni-digit.el:
5019 * international/uni-lowercase.el, international/uni-mirrored.el:
5020 * international/uni-name.el, international/uni-numeric.el:
5021 * international/uni-old-name.el, international/uni-titlecase.el:
5022 * international/uni-uppercase.el:
5023 Remove generated files from VCS repository.
5024
5025 2013-11-27 Eli Zaretskii <eliz@gnu.org>
5026
5027 * filenotify.el (file-notify-add-watch): Don't special-case
5028 w32notify when computing the directory to watch.
5029
5030 2013-11-27 Glenn Morris <rgm@gnu.org>
5031
5032 Make bootstrap without generated uni-*.el files possible again.
5033 * loadup.el: Update command-line-args checking for unidata-gen.
5034 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
5035 * composite.el, international/characters.el:
5036 Handle unicode tables being undefined.
5037
5038 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
5039 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
5040 (compile-main): Depend on leim rule.
5041 (leim): New rule.
5042 * loadup.el: Move leim-list.el to leim/ subdirectory.
5043 * startup.el (normal-top-level): No more leim directory.
5044 * international/ja-dic-cnv.el (skkdic-convert):
5045 Disable version-control and autoloads in output files.
5046 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
5047 Disable version-control and autoloads in output files.
5048 * leim/quail: Move here from ../leim.
5049 * leim/quail/hangul.el (hangul-input-method-activate):
5050 Add autoload cookie.
5051 (generated-autoload-load-name): Set file-local value.
5052 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
5053 (generated-autoload-load-name): Set file-local value.
5054
5055 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
5056
5057 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
5058 (eww-add-bookmark): Ask confirmation when add to bookmarks.
5059 (eww-quit): Ask confirmation before quitting eww.
5060
5061 2013-11-26 Eli Zaretskii <eliz@gnu.org>
5062
5063 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
5064 reading output from Diff on MS-Windows and MS-DOS.
5065
5066 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
5067
5068 * emacs-lisp/helpers.el (string-reverse): New function.
5069
5070 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
5071
5072 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
5073 names on MS Windows, like "/[::1]:".
5074
5075 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
5076 SWITCHES.
5077
5078 2013-11-26 Glenn Morris <rgm@gnu.org>
5079
5080 * progmodes/python.el (python-indent-guess-indent-offset):
5081 Avoid corner-case error. (Bug#15975)
5082
5083 Preload leim-list.el. (Bug#4789)
5084 * loadup.el: Load leim-list.el when found.
5085 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
5086
5087 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
5088
5089 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
5090
5091 * emacs-lisp/helpers.el (string-join): New function.
5092
5093 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
5094
5095 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5096 Mark as obsolete and replace it with a symbol property.
5097 (byte-compile-form): Use new 'interactive-only property.
5098 * comint.el, files.el, replace.el, simple.el:
5099 Apply new 'interactive-only properly.
5100
5101 2013-11-25 Martin Rudalics <rudalics@gmx.at>
5102
5103 * window.el (display-buffer-at-bottom): Make sure that
5104 split-window-sensibly creates the new window on bottom
5105 (Bug#15961).
5106
5107 2013-11-23 David Kastrup <dak@gnu.org>
5108
5109 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
5110 on the conflict markers when available.
5111 (smerge--get-marker): New function.
5112 (smerge-end-re, smerge-base-re): Add subgroup.
5113
5114 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
5115
5116 * frame.el (handle-focus-in, handle-focus-out): Add missing
5117 interactive spec.
5118
5119 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
5120
5121 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
5122 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
5123
5124 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
5125
5126 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
5127 (gomoku--last-pos): New var.
5128 (gomoku--intangible-chars): New const.
5129 (gomoku--intangible): New function.
5130 (gomoku-mode): Use it. Derive from special-mode.
5131 (gomoku-move-up): Adjust line count.
5132 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
5133 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
5134 Simplify accordingly.
5135
5136 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
5137 Remove blink-cursor code.
5138 (blink-cursor-timer-function, blink-cursor-suspend):
5139 Don't special-case GUIs.
5140 (blink-cursor-mode): Use focus-in/out-hook.
5141
5142 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
5143
5144 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
5145 work when annotation is invisible (Bug#13886).
5146
5147 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
5148
5149 * json.el (json-alist-p): Only return non-nil if the alist has
5150 simple keys (Bug#13518).
5151
5152 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
5153
5154 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
5155 when control-statement is the first statement in a buffer (Bug#15956).
5156
5157 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
5158
5159 * imenu.el (imenu-generic-skip-comments-and-strings):
5160 New option (Bug#15560).
5161 (imenu--generic-function): Use it.
5162
5163 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
5164
5165 * minibuffer.el (completion--in-region-1): Scroll the correct window.
5166 (Bug#13898)
5167
5168 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
5169
5170 * emacs-lisp/helpers.el: Add some string helpers.
5171 (string-trim-left): Removes leading whitespace.
5172 (string-trim-right): Removes trailing whitespace.
5173 (string-trim): Removes leading and trailing whitespace.
5174
5175 * subr.el (string-suffix-p): New function.
5176
5177 2013-11-23 Glenn Morris <rgm@gnu.org>
5178
5179 * progmodes/python.el (python-shell-send-file):
5180 Add option to delete file when done. (Bug#15647)
5181 (python-shell-send-string, python-shell-send-region): Use it.
5182
5183 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
5184
5185 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
5186 to set buffer-read-only to t, never to nil. (Bug#15938)
5187
5188 * textmodes/tex-mode.el (latex-noindent-environments):
5189 Add safe-local-variable property. (Bug#15936)
5190
5191 2013-11-23 Glenn Morris <rgm@gnu.org>
5192
5193 * textmodes/enriched.el (enriched-mode): Doc fix.
5194 * emacs-lisp/authors.el (authors-renamed-files-alist):
5195 Add enriched.doc -> enriched.txt.
5196
5197 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
5198
5199 2013-11-22 Leo Liu <sdl.web@gmail.com>
5200
5201 * progmodes/octave.el (inferior-octave-startup): Spit out error
5202 message.
5203
5204 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
5205
5206 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
5207 Improve docstring.
5208 Add :version.
5209 (ruby-encoding-magic-comment-style): Add :version.
5210
5211 2013-11-22 Leo Liu <sdl.web@gmail.com>
5212
5213 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
5214 (Bug#15076)
5215 (octave-help-mode): Adapt to change to help-mode-finish to use
5216 derived-mode-p on 2013-09-17.
5217 (inferior-octave-prompt): Also match octave-gui.
5218 (octave-kill-process): Don't ask twice. (Bug#10564)
5219
5220 2013-11-22 Leo Liu <sdl.web@gmail.com>
5221
5222 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
5223 (inferior-octave-startup, inferior-octave-check-process)
5224 (inferior-octave-track-window-width-change)
5225 (octave-completion-at-point, octave-eldoc-function): Use it.
5226 (octave-kill-process): Provide confirmation. (Bug#10564)
5227
5228 2013-11-21 Leo Liu <sdl.web@gmail.com>
5229
5230 * progmodes/octave.el (octave-mode, inferior-octave-mode):
5231 Fix obsolete variable comment-use-global-state.
5232
5233 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5234
5235 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
5236 Add `octave-source-file'.
5237 (octave-source-file): New function. (Bug#15935)
5238
5239 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
5240
5241 * net/eww.el (eww-local-regex): New variable.
5242 (eww): Use it to detect localhost and similar.
5243
5244 2013-11-21 Leo Liu <sdl.web@gmail.com>
5245
5246 Add completion for command `ag'.
5247 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
5248 (pcomplete/ag): New function.
5249 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
5250
5251 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5252
5253 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
5254 (bug#14646).
5255 (make-obsolete): Remove interactive spec.
5256
5257 2013-11-21 Glenn Morris <rgm@gnu.org>
5258
5259 * startup.el (command-line-1): Use path-separator with -L.
5260
5261 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
5262
5263 * emacs-lisp/package.el (describe-package-1): Add package archive
5264 to shown fields.
5265
5266 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
5267
5268 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
5269 Change default to "# encoding: %s" to differentiate it from the
5270 default Ruby encoding comment template.
5271
5272 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
5273
5274 * ses.el (ses-mode): Doc fix. (Bug#14748)
5275
5276 2013-11-20 Leo Liu <sdl.web@gmail.com>
5277
5278 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
5279
5280 2013-11-19 Dan Nicolaescu <dann@gnu.org>
5281
5282 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
5283 when rebase or bisect are in progress.
5284
5285 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
5286
5287 * filenotify.el (file-notify-add-watch): Doc fix.
5288
5289 2013-11-19 Leo Liu <sdl.web@gmail.com>
5290
5291 * obsolete/rcompile.el: Mark obsolete.
5292
5293 * progmodes/compile.el (compilation-start)
5294 (compilation-goto-locus, compilation-find-file):
5295 Pass no-display-ok and handle nil value from display-buffer.
5296 (Bug#13594)
5297
5298 * window.el (display-buffer-alist, display-buffer): Document the
5299 new parameter no-display-ok. Return either a window or nil
5300 but never a non-window value.
5301
5302 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
5303
5304 * electric.el (electric-indent-mode-map): Remove.
5305 (electric-indent-mode): Change the global-map instead (bug#15915).
5306
5307 * textmodes/text-mode.el (paragraph-indent-minor-mode):
5308 Use add-function.
5309
5310 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
5311
5312 * emacs-lisp/nadvice.el (remove-function): Align with
5313 add-function's behavior.
5314
5315 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
5316 (gdb--string-regexp): New constant.
5317 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
5318 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
5319 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
5320 submatch 1.
5321 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
5322 Adjust use accordingly.
5323 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
5324
5325 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
5326
5327 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
5328 interpolation curlies (Bug#15914).
5329
5330 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
5331
5332 * calc/calc.el (calc-context-sensitive-enter): New variable.
5333 (calc-enter): Use `calc-context-sensitive-enter'.
5334
5335 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
5336
5337 * progmodes/cfengine.el: Version bump.
5338 (cfengine-cf-promises): New defcustom to locate cf-promises.
5339 (cfengine3-vartypes): Add new "data" type.
5340 (cfengine3--current-word): New function to get current name-like
5341 word or its bounds.
5342 (cfengine3--current-function): New function to look up a CFEngine
5343 function's definition.
5344 (cfengine3-format-function-docstring): New function.
5345 (cfengine3-make-syntax-cache): New function.
5346 (cfengine3-documentation-function): New function: ElDoc glue.
5347 (cfengine3-completion-function): New function: completion glue.
5348 (cfengine3-mode): Set `compile-command',
5349 `eldoc-documentation-function', and add to
5350 `completion-at-point-functions'.
5351
5352 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
5353
5354 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
5355 `tramp-current-connection'.
5356
5357 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
5358
5359 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
5360 nil/self/true/false with "end of symbol".
5361
5362 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
5363
5364 * subr.el (version-regexp-alist): Fix a typo.
5365
5366 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
5367
5368 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
5369 "en_US.utf8" and "LC_CTYPE" to "".
5370 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
5371 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
5372
5373 2013-11-15 Leo Liu <sdl.web@gmail.com>
5374
5375 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
5376
5377 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5378
5379 * progmodes/gud.el (ctl-x-map):
5380 Remove C-x SPC binding. (Bug#12342)
5381 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
5382
5383 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
5384
5385 * subr.el (version-regexp-alist):
5386 Recognize hg, svn and darcs versions as snapshot versions.
5387
5388 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
5389 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
5390 (ruby--encoding-comment-required-p): Extract from
5391 `ruby-mode-set-encoding'.
5392 (ruby-mode-set-encoding): Add the ability to always insert an
5393 utf-8 encoding comment. Fix and simplify coding comment update
5394 logic.
5395
5396 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
5397
5398 * net/tramp-gvfs.el (top): Run init code only when
5399 `tramp-gvfs-enabled' is not nil.
5400 (tramp-gvfs-enabled): Check also :system bus.
5401
5402 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5403
5404 Sync with upstream verilog-mode revision 78e66ba.
5405 * progmodes/verilog-mode.el (verilog-end-of-defun)
5406 (verilog-type-completion, verilog-get-list): Remove unused funcs.
5407 (verilog-get-end-of-defun): Remove unused argument.
5408 (verilog-comment-depth): Remove unused local `e'.
5409 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
5410 Don't pass arg to verilog-get-end-of-defun.
5411
5412 2013-11-14 Glenn Morris <rgm@gnu.org>
5413
5414 * obsolete/assoc.el (aget): Prefix dynamic variable.
5415
5416 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
5417
5418 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5419
5420 * widget.el, hfy-cmap.el: Remove bogus package version number.
5421
5422 2013-11-13 Glenn Morris <rgm@gnu.org>
5423
5424 * replace.el (replace-eval-replacement):
5425 Try to give more helpful error message. (Bug#15836)
5426
5427 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
5428 (archive-7z-update): Avoid custom type mismatches.
5429
5430 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
5431
5432 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
5433
5434 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
5435 address can be empty.
5436
5437 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
5438 Accept nil SWITCHES.
5439 (tramp-gvfs-handle-write-region): Implement APPEND.
5440
5441 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
5442
5443 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
5444 binary "|" operator and closing block args delimiter.
5445 Remove FIXME comment referring to Ruby 1.8-only syntax.
5446 (ruby-smie--implicit-semi-p): Not after "|" operator.
5447 (ruby-smie--closing-pipe-p): New function.
5448 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
5449 (ruby-smie-rules): Indent after "|".
5450
5451 2013-11-12 Glenn Morris <rgm@gnu.org>
5452
5453 * ps-print.el (ps-face-attribute-list):
5454 Handle anonymous faces. (Bug#15827)
5455
5456 2013-11-12 Martin Rudalics <rudalics@gmx.at>
5457
5458 * window.el (display-buffer-other-frame): Fix doc-string.
5459 (Bug#15868)
5460
5461 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5462
5463 * subr.el (force-mode-line-update): Delete, move to buffer.c.
5464
5465 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
5466
5467 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
5468 (tramp-sh-handle-file-local-copy): Don't write a message when
5469 saving temporary files.
5470
5471 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
5472 both directories are remote.
5473 (tramp-smb-handle-directory-files): Do not return double entries.
5474 Do not expand full file names.
5475 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
5476 (tramp-smb-handle-write-region): Implement APPEND.
5477 (tramp-smb-get-stat-capability): Fix a stupid bug.
5478
5479 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5480
5481 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
5482
5483 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5484
5485 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
5486 throwing error over malformed let/let* (bug#15814).
5487
5488 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5489
5490 * iswitchb.el (iswitchb-mode): Mark obsolete.
5491
5492 2013-11-11 Glenn Morris <rgm@gnu.org>
5493
5494 * international/uni-bidi.el, international/uni-category.el:
5495 * international/uni-name.el, international/uni-numeric.el:
5496 Regenerate for Unicode 6.3.0.
5497
5498 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
5499
5500 * net/tramp.el (tramp-methods):
5501 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
5502 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
5503
5504 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
5505
5506 * progmodes/sh-script.el (sh-font-lock-keywords-var):
5507 Force highlighting text after Summary keyword in doc face for rpm.
5508
5509 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
5510
5511 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
5512 available and the word has no wildcards, append one to the grep pattern.
5513 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
5514 (ispell-complete-word): Call `ispell-lookup-words' with the value
5515 independent of `ispell-look-p'.
5516
5517 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
5518
5519 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
5520 Not after "||".
5521 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
5522 their parent.
5523
5524 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5525
5526 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
5527 (ruby-font-lock-keywords): Use backquote.
5528
5529 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
5530
5531 * progmodes/ruby-mode.el (ruby-smie--forward-token)
5532 (ruby-smie--backward-token): Only consider full-string matches.
5533
5534 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
5535
5536 * faces.el (describe-face): Add distant-foreground.
5537
5538 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
5539
5540 * progmodes/ruby-mode.el: Improve encoding comment handling.
5541 (ruby-encoding-magic-comment-style): New option.
5542 (ruby-custom-encoding-magic-comment-template): New option.
5543 (ruby--insert-coding-comment, ruby--detect-encoding):
5544 New functions extracted from `ruby-mode-set-encoding'.
5545 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
5546 to control the style of the auto-inserted encoding comment.
5547
5548 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
5549
5550 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
5551 Use `smie-backward-sexp' with token argument.
5552
5553 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
5554
5555 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
5556 Remove instrumentation code.
5557
5558 2013-11-08 Glenn Morris <rgm@gnu.org>
5559
5560 * progmodes/autoconf.el (autoconf-mode):
5561 Tweak comment-start-skip. (Bug#15822)
5562
5563 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5564
5565 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
5566 at bobp (bug#15826).
5567 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
5568
5569 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
5570
5571 * man.el (Man-start-calling): New macro, extracted from
5572 Man-getpage-in-background.
5573 (Man-getpage-in-background): Use it.
5574 (Man-update-manpage): New command.
5575 (Man-mode-map): Bind it.
5576
5577 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
5578
5579 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
5580 of "and", "or", "&&" and "||".
5581 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
5582 argument. Prohibit opening curly brace because it could only be a
5583 block opener in that position.
5584 (ruby-smie--forward-token, ruby-smie--backward-token):
5585 Separate "|" from "&" or "*" going after it. That can happen in block
5586 arguments.
5587 (ruby-smie--indent-to-stmt): New function, seeks the end of
5588 previous statement or beginning of buffer.
5589 (ruby-smie-rules): Use it.
5590 (ruby-smie-rules): Check if there's a ":" before a curly block
5591 opener candidate; if there is, it's a hash.
5592
5593 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
5594
5595 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
5596 (cl--block-wrapper): Fix last accidental change.
5597
5598 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
5599
5600 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
5601 Instrument, in order to hunt failure on hydra.
5602
5603 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5604
5605 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
5606 malformed bindings form (bug#15814).
5607
5608 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
5609
5610 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
5611 "." compared to " @ ". This incidentally fixes some indentation
5612 examples with "do".
5613 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
5614 (ruby-smie-grammar): New tokens: "and" and "or".
5615 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
5616 Exclude "and" and "or". Remove "do" in order to work around token
5617 priorities.
5618 (ruby-smie-rules): Add all infix tokens. Handle the case of
5619 beginning-of-buffer.
5620
5621 2013-11-06 Glenn Morris <rgm@gnu.org>
5622
5623 * Makefile.in (setwins_almost, setwins_for_subdirs):
5624 Avoid accidental matches.
5625
5626 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
5627
5628 * menu-bar.el (popup-menu): Use key-binding.
5629
5630 2013-11-06 Eli Zaretskii <eliz@gnu.org>
5631
5632 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
5633 menus, support also the menus produced by minor modes.
5634 (Bug#15817)
5635
5636 2013-11-06 Leo Liu <sdl.web@gmail.com>
5637
5638 * thingatpt.el (thing-at-point-looking-at): Add optional arg
5639 DISTANCE to bound the search. All uses changed. (Bug#15808)
5640
5641 2013-11-06 Glenn Morris <rgm@gnu.org>
5642
5643 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
5644 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
5645 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
5646
5647 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
5648
5649 * electric.el (electric-indent-just-newline): New command.
5650 (electric-indent-mode-map): New keymap.
5651 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
5652 Re-add :group which weren't redundant.
5653
5654 * electric.el (electric-indent-local-mode): New minor mode.
5655 (electric-indent-functions-without-reindent): New var.
5656 (electric-indent-post-self-insert-function): Use it.
5657 * emacs-lisp/gv.el (buffer-local-value): Add setter.
5658
5659 2013-11-05 Eli Zaretskii <eliz@gnu.org>
5660
5661 * international/quail.el (quail-help): Be more explicit about the
5662 meaning of the labels shown on the keys. (Bug#15800)
5663
5664 * startup.el (normal-top-level): Load the subdirs.el files before
5665 setting the locale environment. (Bug#15805)
5666
5667 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
5668
5669 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
5670 via arguments so as to get the right ones (bug#15418).
5671
5672 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
5673
5674 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
5675
5676 Fix problems found while writing a test suite.
5677
5678 * net/tramp-compat.el (tramp-compat-load): New defun.
5679 * net/tramp.el (tramp-handle-load): Use it.
5680
5681 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
5682 "(numberp ok-if-already-exists)" correctly.
5683
5684 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
5685
5686 * international/characters.el (glyphless-char-display-control):
5687 Add usage note.
5688
5689 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
5690
5691 * progmodes/python.el (python-mode):
5692 * progmodes/scheme.el (scheme-mode):
5693 * progmodes/prolog.el (prolog-mode):
5694 * progmodes/ruby-mode.el (ruby-mode):
5695 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
5696 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
5697
5698 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
5699
5700 * rect.el (rectangle--highlight-for-redisplay):
5701 * emacs-lisp/smie.el (smie--next-indent-change):
5702 Use buffer-chars-modified-tick.
5703
5704 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
5705
5706 * electric.el (electric-indent-post-self-insert-function):
5707 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
5708
5709 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
5710
5711 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
5712
5713 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5714
5715 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
5716 (bug#15786).
5717
5718 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
5719
5720 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
5721
5722 * progmodes/python.el: Fix up last change.
5723 (python-shell--save-temp-file): New function.
5724 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
5725 `string' comes from the current buffer.
5726 (python-shell-send-string-no-output): Remove `msg' arg.
5727 (python--use-fake-loc): New var.
5728 (python-shell-buffer-substring): Obey it. Try to compensate for the
5729 extra coding line added by python-shell--save-temp-file.
5730 (python-shell-send-region): Use python-shell--save-temp-file and
5731 python-shell-send-file directly. Add `nomain' argument.
5732 (python-shell-send-buffer): Use python-shell-send-region.
5733 (python-electric-pair-string-delimiter): New function.
5734 (python-mode): Use it.
5735
5736 2013-11-04 Eli Zaretskii <eliz@gnu.org>
5737
5738 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
5739 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
5740 environment and decoding all of the default-directory's to here
5741 from command-line.
5742 (command-line): Decode also argv[0].
5743
5744 * loadup.el: Error out if default-directory is a multibyte string
5745 when we are dumping.
5746
5747 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
5748
5749 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
5750
5751 * emacs-lisp/package.el (package-menu-mode)
5752 (package-menu--print-info, package-menu--archive-predicate):
5753 Add Archive column to package list.
5754
5755 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
5756
5757 Fix problems found while writing a test suite.
5758
5759 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
5760 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
5761 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
5762 to nil when running original file name handler. Otherwise,
5763 there are problems with constructs like "$$FOO".
5764
5765 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
5766 for `localname'.
5767
5768 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
5769
5770 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
5771
5772 * subr.el (version<, version<=, version=):
5773 Update docstrings with information for snapshot versions.
5774
5775 * helpers.el: New library for misc helper functions.
5776 (hash-table-keys): New function returning a list of hash keys.
5777 (hash-table-values): New function returning a list of hash values.
5778
5779 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
5780
5781 * progmodes/ruby-mode.el (ruby-smie--forward-token)
5782 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
5783
5784 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
5785
5786 * textmodes/fill.el (fill-single-char-nobreak-p): New function
5787 checking whether point is after a 1-letter word.
5788
5789 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5790
5791 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
5792 Don't infloop when expanding region over `multiline' syntax-type that
5793 begins a line (bug#15778).
5794
5795 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
5796
5797 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
5798 Make it into a proper minor mode.
5799 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
5800 (rectangle-mark-mode-map): New keymap.
5801 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
5802
5803 2013-11-04 Glenn Morris <rgm@gnu.org>
5804
5805 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
5806
5807 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
5808
5809 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
5810 (ruby-smie-rules): Use smie-rule-parent instead.
5811
5812 * emacs-lisp/smie.el (smie-rule-parent): Always call
5813 smie-indent-virtual rather than only for hanging tokens.
5814 (smie--next-indent-change): New helper command.
5815
5816 2013-11-03 Glenn Morris <rgm@gnu.org>
5817
5818 * Makefile.in (abs_srcdir): Remove.
5819 (emacs): Unset EMACSLOADPATH.
5820
5821 2013-11-02 Glenn Morris <rgm@gnu.org>
5822
5823 * Makefile.in (EMACS): Use a relative filename.
5824 (abs_top_builddir): Remove.
5825 (custom-deps, finder-data, autoloads): Use --chdir.
5826
5827 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
5828
5829 Use relative filenames in TAGS files.
5830 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
5831 (lisptagsfiles4, TAGS): Use relative file names.
5832 (TAGS-LISP): Remove.
5833 (maintainer-clean): No more TAGS-LISP file.
5834
5835 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
5836 (lisptagsfiles4): Use absolute filenames again.
5837 (TAGS, TAGS-LISP): Not everything needs to run in one line.
5838 Remove all *loaddefs files, not just the first. Remove esh-groups.
5839 (maintainer-clean): Delete TAGS, TAGS-LISP.
5840
5841 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
5842
5843 * emacs-lisp/package.el (package-version-join):
5844 Recognize snapshot versions.
5845
5846 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
5847
5848 * subr.el (version-regexp-alist): Add support for snapshot versions.
5849
5850 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
5851
5852 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
5853 New function, replacement for `smie-rule-parent' for when we want to
5854 skip over our direct parent if it's an assignment token..
5855 (ruby-smie-rules): Use it.
5856
5857 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
5858
5859 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
5860 unconditionally. Remove now unnecessary forward declarations.
5861 Remove XEmacs-specific setup.
5862 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
5863 (ruby-font-lock-syntactic-keywords)
5864 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
5865 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
5866 (ruby-here-doc-end-syntax): Remove.
5867 (ruby-mode): Don't check whether `syntax-propertize-rules' is
5868 defined as function.
5869
5870 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
5871
5872 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
5873
5874 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
5875
5876 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
5877 table and abbrev table, `define-derived-mode' does that for us
5878 anyway.
5879
5880 2013-11-01 Glenn Morris <rgm@gnu.org>
5881
5882 * Makefile.in: Remove manual mh-e dependencies (writing .elc
5883 files is atomic for some time, so no parallel compilation issues).
5884
5885 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
5886
5887 * faces.el (face-x-resources): Add :distant-foreground.
5888 (region): Use :distant-foreground for gtk and ns.
5889
5890 2013-11-01 Tassilo Horn <tsdh@gnu.org>
5891
5892 Allow multiple bibliographies when BibLaTeX is used rather than
5893 BibTeX.
5894 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
5895 (reftex-locate-bibliography-files): Us it.
5896
5897 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
5898
5899 * image.el (image-type-header-regexps): Fix the 'pbm' part to
5900 allow comments in pbm files.
5901
5902 * term/w32-win.el (dynamic-library-alist): Support newer versions
5903 of libjpeg starting with v7: look only for the DLL from the
5904 version against which Emacs was built.
5905 Support versions of libpng beyond 1.4.x.
5906 Support libtiff v4.x.
5907
5908 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
5909
5910 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
5911 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
5912 Add property :safe.
5913 (ruby-deep-arglist): Add property :type.
5914
5915 2013-10-31 Glenn Morris <rgm@gnu.org>
5916
5917 * Makefile.in (custom-deps, finder-data): No need to setq the target
5918 variables, we are in the right directory and the defaults work fine.
5919
5920 2013-10-30 Glenn Morris <rgm@gnu.org>
5921
5922 * Makefile.in (autoloads): Do not use abs_lisp.
5923
5924 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5925 `newline' does not respect `standard-output', so use `princ'.
5926
5927 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
5928
5929 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
5930 * buff-menu.el (Buffer-menu--unmark): New function.
5931 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
5932
5933 2013-10-30 Glenn Morris <rgm@gnu.org>
5934
5935 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
5936
5937 * emacs-lisp/package.el (lm-homepage): Declare.
5938
5939 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
5940 Fix doc typos.
5941
5942 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
5943
5944 * Makefile.in (finder-data, autoloads, update-subdirs)
5945 (compile-main, compile-clean, compile-always, bootstrap-clean):
5946 Check return value of cd.
5947 (compile-calc): Remove.
5948
5949 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5950
5951 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
5952
5953 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
5954 (byte-compile-and-folded): New function.
5955 (=, <, >, <=, >=): Use it.
5956
5957 * dos-w32.el (minibuffer-history-case-insensitive-variables)
5958 (path-separator, null-device, buffer-file-coding-system)
5959 (lpr-headers-switches): Check system-type before modifying them.
5960 (find-buffer-file-type-coding-system): Mark obsolete.
5961 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
5962 find-file-not-found-set-buffer-file-coding-system.
5963 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
5964 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
5965 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
5966 (w32-direct-print-region-helper, w32-direct-print-region-function)
5967 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
5968 * startup.el (normal-top-level-add-subdirs-to-load-path):
5969 * ps-print.el (ps-print-region-function):
5970 * lpr.el (print-region-function): Use new name.
5971
5972 * subr.el (custom-declare-variable-early): Remove function.
5973 (custom-declare-variable-list): Remove var.
5974 (error, user-error): Remove `while' loop.
5975 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
5976 (user-emacs-directory-warning, locate-user-emacs-file):
5977 Move to files.el.
5978 * simple.el (read-quoted-char-radix, read-quoted-char):
5979 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
5980 Move from subr.el.
5981 * custom.el (custom-declare-variable-list): Don't process
5982 custom-declare-variable-list.
5983
5984 * progmodes/python.el (python-shell-get-buffer): New function.
5985 (python-shell-get-process): Use it.
5986 (python-shell-send-string): Always use utf-8 and add a cookie to tell
5987 Python which encoding was used. Don't split-string since we only care
5988 about the first line. Return the temp-file, if applicable.
5989 (python-shell-send-region): Tell compile.el how to turn locations in
5990 the temp-file into locations in the source buffer.
5991
5992 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5993
5994 * subr.el (undefined): Add missing behavior from the C code for
5995 unbound keys.
5996
5997 * rect.el: Use lexical-binding. Add new rectangular region support.
5998 (rectangle-mark): New command.
5999 (rectangle--region): New var.
6000 (deactivate-mark-hook): Reset rectangle--region.
6001 (rectangle--extract-region, rectangle--insert-for-yank)
6002 (rectangle--highlight-for-redisplay)
6003 (rectangle--unhighlight-for-redisplay): New functions.
6004 (region-extract-function, redisplay-unhighlight-region-function)
6005 (redisplay-highlight-region-function): Use them to handle
6006 rectangular region.
6007 * simple.el (region-extract-function): New var.
6008 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
6009 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
6010 (kill-region): Replace obsolete `yank-handler' arg with `region'.
6011 (copy-region-as-kill, kill-ring-save): Add `region' argument.
6012 (redisplay-unhighlight-region-function)
6013 (redisplay-highlight-region-function): New vars.
6014 (redisplay--update-region-highlight): New function.
6015 (pre-redisplay-function): Use it.
6016 (exchange-point-and-mark): Don't deactivate the mark before
6017 reactivate-it anyway.
6018 * comint.el (comint-kill-region): Remove yank-handler argument.
6019 * delsel.el (delete-backward-char, backward-delete-char-untabify)
6020 (delete-char): Remove property, since it's now part of their
6021 default behavior.
6022 (self-insert-iso): Remove property since this command doesn't exist.
6023
6024 * emacs-lisp/package.el (package--download-one-archive)
6025 (describe-package-1): Don't query the user about final newline.
6026
6027 2013-10-29 Daniel Colascione <dancol@dancol.org>
6028
6029 * net/tramp.el (tramp-methods): Document new functionality.
6030 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
6031 tramp-hostname-checker if method provides one instead of scanning
6032 argument list for "%h" to decide hostname acceptability.
6033
6034 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
6035
6036 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
6037 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
6038 Handle COPY-CONTENTS. (Bug#15737)
6039
6040 2013-10-28 Daiki Ueno <ueno@gnu.org>
6041
6042 * epa-file.el
6043 (epa-file-cache-passphrase-for-symmetric-encryption):
6044 Document that this option has no effect with GnuPG 2.0 (bug#15552).
6045
6046 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
6047
6048 * image.el (defimage, image-load-path): Doc fixes.
6049
6050 2013-10-27 Alan Mackenzie <acm@muc.de>
6051
6052 Indent statements in macros following "##" correctly.
6053 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
6054 Modify the "#" arm of a cond form to handle "#" and "##" operators.
6055
6056 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6057
6058 * linum.el (linum-update-window): Fix boundary test (bug#13446).
6059
6060 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
6061
6062 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
6063 after `=' is probably a new expression.
6064
6065 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6066
6067 * man.el (man-imenu-title): New option.
6068 (Man-mode-map): Add menu. (Bug#15722)
6069 (Man-mode): Add imenu to menu.
6070
6071 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
6072
6073 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
6074 specific in what the first arg can be: a non-keyword word,
6075 string/regexp/percent literal opener, opening paren, or unary
6076 operator followed directly by word.
6077
6078 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6079
6080 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
6081 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
6082 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
6083 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
6084 Remove vars, they do not apply any more.
6085 (prolog-mode-abbrev-table): Remove redundant declaration.
6086 (prolog-upper-case-string, prolog-lower-case-string): Remove.
6087 (prolog-use-smie): Remove.
6088 (prolog-smie-rules): Add indentation rule for the if-then-else layout
6089 supported by prolog-electric-if-then-else-flag.
6090 (prolog-mode-variables, prolog-menu): Use setq-local.
6091 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
6092 Remove binding to `Backspace' since this key doesn't exist anyway.
6093 Remove bindings for electric self-inserting keys.
6094 (prog-mode): Assume it's defined.
6095 (prolog-post-self-insert): New function.
6096 (prolog-mode): Use it.
6097 (prolog-indent-line, prolog-indent-level)
6098 (prolog-find-indent-of-matching-paren)
6099 (prolog-indentation-level-of-line, prolog-goto-comment-column)
6100 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
6101 (prolog-goto-next-paren, prolog-in-string-or-comment)
6102 (prolog-tokenize, prolog-inside-mline-comment)
6103 (prolog-find-start-of-mline-comment): Remove functions.
6104 (prolog-find-unmatched-paren, prolog-clause-end)
6105 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
6106 (prolog-electric--if-then-else): Rename from
6107 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
6108 (prolog-tokenize-searchkey): Remove const.
6109 (prolog-clause-info): Use forward-sexp.
6110 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
6111 (prolog-electric-if-then-else): Remove commands.
6112 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
6113 for use in post-self-insert-hook.
6114 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
6115 for use in post-self-insert-hook.
6116 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
6117 for use in post-self-insert-hook.
6118 (prolog-electric--underscore): Rename from prolog-electric--underscore;
6119 adapt it for use in post-self-insert-hook.
6120
6121 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
6122
6123 * emacs-lisp/ert.el (ert-run-tests-interactively):
6124 Use `completing-read'. (Bug#9756)
6125
6126 2013-10-25 Eli Zaretskii <eliz@gnu.org>
6127
6128 * simple.el (line-move): Call line-move-1 instead of
6129 line-move-visual when the current window hscroll is zero, but
6130 temporary-goal-column indicates we will need to hscroll as result
6131 of the movement. (Bug#15712)
6132
6133 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
6134
6135 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
6136 capitalization. Use :visible instead of :active.
6137 Fix `ruby-indent-exp' reference. Add menu items for the generic
6138 commands that are used with SMIE.
6139 (ruby-do-end-to-brace): Insert space after `{'.
6140
6141 2013-10-25 John Anthony <john@jo.hnanthony.com>
6142
6143 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
6144
6145 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
6146
6147 2013-10-25 Glenn Morris <rgm@gnu.org>
6148
6149 * vc/vc.el (vc-print-log): Don't use a working revision unless
6150 one was explicitly specified. (Bug#15322)
6151
6152 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6153
6154 * subr.el (add-to-list): Preserve return value in compiler-macro
6155 (bug#15692).
6156
6157 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6158
6159 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
6160 result. Ask user to retry using '-all' flag. (Bug#15701)
6161
6162 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6163
6164 * emacs-lisp/smie.el: New smie-config system.
6165 (smie-config): New defcustom.
6166 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
6167 (smie-config-guess, smie-config-save): New commands.
6168 (smie-config--mode-local, smie-config--buffer-local)
6169 (smie-config--trace, smie-config--modefuns): New vars.
6170 (smie-config--advice, smie-config--mode-hook)
6171 (smie-config--setter, smie-config-local, smie-config--get-trace)
6172 (smie-config--guess-value, smie-config--guess): New functions.
6173 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
6174 text properties. Treat "string fence" syntax like string syntax.
6175
6176 * progmodes/sh-script.el (sh-use-smie): Change default.
6177 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
6178 (sh-var-value): Simplify by CSE.
6179 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
6180 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
6181 is used.
6182 (sh-guess-basic-offset): Use cl-incf.
6183 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
6184
6185 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
6186
6187 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
6188 (bug#15699).
6189
6190 2013-10-24 Glenn Morris <rgm@gnu.org>
6191
6192 * Makefile.in (abs_top_srcdir): Remove.
6193 (update-subdirs): Use relative path to update-subdirs.
6194
6195 2013-10-24 Eli Zaretskii <eliz@gnu.org>
6196
6197 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
6198 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
6199 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
6200 Call unmsys--file-name before expand-file-name, not after it.
6201
6202 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
6203
6204 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
6205 (ert-test-skipped): New error.
6206 (ert-skip, ert-stats-skipped): New defuns.
6207 (ert--skip-unless): New macro.
6208 (ert-test-skipped): New struct.
6209 (ert--run-test-debugger, ert-test-result-type-p)
6210 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
6211 (ert--stats-set-test-and-result, ert-char-for-test-result)
6212 (ert-string-for-test-result, ert-run-tests-batch)
6213 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
6214 Handle skipped tests. (Bug#9803)
6215
6216 2013-10-24 Glenn Morris <rgm@gnu.org>
6217
6218 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
6219
6220 * Makefile.in (abs_top_srcdir): New, set by configure.
6221 (update-subdirs): Correct build-aux location.
6222
6223 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
6224
6225 * vc/vc.el (vc-print-root-log): Always set `default-directory'
6226 value, whether we could auto-deduce `backend', or not.
6227
6228 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
6229 with parameters" example. Simplify the "is it block or is it
6230 hash" check, but also make it more thorough.
6231
6232 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
6233
6234 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
6235
6236 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
6237
6238 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
6239 { if it is hanging.
6240
6241 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
6242 :before ";".
6243
6244 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
6245
6246 * progmodes/compile.el (compilation-directory-matcher)
6247 (compilation-page-delimiter):
6248 Support GNU Make-4.0 directory quoting. (Bug#15678)
6249
6250 2013-10-23 Leo Liu <sdl.web@gmail.com>
6251
6252 * ido.el (ido-tidy): Handle read-only text.
6253
6254 2013-10-23 Glenn Morris <rgm@gnu.org>
6255
6256 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
6257 (emacs, compile, compile-always):
6258 Quote entities that might contain whitespace.
6259 (custom-deps, finder-data, autoloads): Use abs_lisp.
6260 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
6261 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
6262 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
6263
6264 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
6265
6266 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
6267 Use `following-char'.
6268
6269 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
6270
6271 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
6272 * progmodes/ruby-mode.el (ruby-smie-rules):
6273 Remove corresponding workaround. Fix indentation rule of ";" so it
6274 also applies when ";" is the parent.
6275
6276 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
6277
6278 * frame.el (display-screens, display-pixel-height)
6279 (display-pixel-width, display-mm-width, display-backing-store)
6280 (display-save-under, display-planes, display-color-cells)
6281 (display-visual-class, display-monitor-attributes-list):
6282 Mention the optional ‘display’ argument in doc strings.
6283
6284 2013-10-22 Michael Gauland <mikelygee@amuri.net>
6285
6286 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
6287 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
6288
6289 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
6290
6291 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
6292 TODO. Add "." after " @ ".
6293 (ruby-smie--at-dot-call): New function. Checks if point at method
6294 call with explicit target.
6295 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
6296 to the method name tokens when it precedes them.
6297 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
6298 (ruby-smie-rules): Add rule for indentation before and after "."
6299 token.
6300
6301 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
6302
6303 * textmodes/remember.el (remember-diary-extract-entries):
6304 Avoid add-to-list.
6305
6306 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
6307 an instruction.
6308
6309 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
6310
6311 * progmodes/ruby-mode.el (ruby-smie-grammar):
6312 Add (almost) all infix operators.
6313 (ruby-smie--implicit-semi-p): Add new operator chars.
6314
6315 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
6316 `smie-down-list'.
6317 (ruby-smie--args-separator-p): Check that there's no newline
6318 between method call and its arguments.
6319
6320 2013-10-20 Alan Mackenzie <acm@muc.de>
6321
6322 Allow comma separated lists after Java "implements".
6323
6324 * progmodes/cc-engine.el (c-backward-over-enum-header):
6325 Parse commas.
6326 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
6327 from a "disallowed" list in enum fontification.
6328
6329 2013-10-20 Johan Bockgård <bojohan@gnu.org>
6330
6331 * startup.el (default-frame-background-mode): Remove unused defvar.
6332
6333 * progmodes/verilog-mode.el (verilog-mode): Don't set
6334 comment-indent-function globally.
6335
6336 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
6337
6338 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
6339 Move Info menu item creation to ns-win.el.
6340
6341 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
6342 in menu bar.
6343
6344 * menu-bar.el: Move GNUstep specific menus...
6345
6346 * term/ns-win.el (ns-initialize-window-system): ... to here.
6347
6348 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6349
6350 * simple.el (newline): Only run post-self-insert-hook when
6351 called interactively.
6352
6353 2013-10-19 Johan Bockgård <bojohan@gnu.org>
6354
6355 * icomplete.el (icomplete-with-completion-tables): Add :version.
6356
6357 2013-10-19 Alan Mackenzie <acm@muc.de>
6358
6359 Fix fontification bugs with constructors and const.
6360
6361 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
6362 CASE 2) Remove the check for the absence of a suffix construct
6363 after a function declaration with only types (no identifiers) in
6364 the parentheses. Also, accept a function declaration with just a
6365 type inside the parentheses, if this type can be positively
6366 recognised as such, or if a prefix keyword like "explicit" nails
6367 down the construct as a declaration.
6368
6369 2013-10-19 Eli Zaretskii <eliz@gnu.org>
6370
6371 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
6372 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
6373 the problem whereby selecting a menu item that leads to a
6374 minibuffer prompt moves the cursor out of the minibuffer window,
6375 making it hard to type at the prompt. Suggested by Stefan Monnier
6376 <monnier@iro.umontreal.ca>.
6377
6378 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
6379
6380 * menu-bar.el: Don't make Services menu.
6381
6382 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6383
6384 * ffap.el: Handle "/usr/include/c++/<version>" directories.
6385 (ffap-alist): Use ffap-c++-mode for c++-mode.
6386 (ffap-c++-path): New variable.
6387 (ffap-c++-mode): New function.
6388
6389 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
6390
6391 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
6392
6393 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
6394
6395 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
6396 introduced on 2013-09-08, which results in an infinite loop
6397 requesting a password.
6398
6399 2013-10-18 Glenn Morris <rgm@gnu.org>
6400
6401 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
6402
6403 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
6404
6405 Sync with upstream verilog-mode revision 1a6ecec7.
6406 * progmodes/verilog-mode.el (verilog-mode-version): Update.
6407 (verilog-mode-release-date): Remove.
6408 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
6409 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
6410 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
6411 (verilog-auto-tieoff-ignore-regexp)
6412 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
6413 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
6414 (verilog-signals-with, verilog-dir-cache-preserving)
6415 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
6416 Doc fixes.
6417 (verilog-case-fold): New option, to control case folding in
6418 regexp searches, bug597.
6419 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
6420 (verilog-string-match-fold, verilog-in-paren-count)
6421 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
6422 (verilog-at-close-struct-p): New functions.
6423 (verilog-beg-block-re-ordered, verilog-extended-case-re)
6424 (verilog-forward-sexp, verilog-set-auto-endcomments)
6425 (verilog-leap-to-case-head): Handle "unique0" case.
6426 (verilog-in-constraint-re): New constant.
6427 (verilog-keywords, verilog-type-font-keywords):
6428 Add some SystemVerilog 1800-2012 keywords.
6429 (verilog-label-be): Remove unimplemented argument, bug669.
6430 (verilog-batch-execute-func): When batch expanding clear
6431 create-lockfiles to prevent spurious user locks when a file ends
6432 up not changing.
6433 (verilog-calculate-indent, verilog-calc-1)
6434 (verilog-at-close-constraint-p, verilog-at-constraint-p)
6435 (verilog-do-indent): Fix indentation of nested constraints
6436 and structures.
6437 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
6438 (verilog-auto-inst-param): Use verilog-string-match-fold.
6439 (verilog-read-inst-module-matcher):
6440 Fix AUTOINST on gate primitives with #1.
6441 (verilog-read-decls): Fix double-declaring user-defined typed signals.
6442 Reads all user-defined typed variables.
6443 (verilog-read-defines): Fix reading definitions inside comments, bug647.
6444 (verilog-signals-matching-regexp)
6445 (verilog-signals-not-matching-regexp, verilog-auto):
6446 Respect verilog-case-fold.
6447 (verilog-diff-report): Fix line count.
6448 (verilog-auto-assign-modport): Remove unused local `modi'.
6449 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
6450 better handle multidimensional arrays.
6451 Fix packed array ports misadding bit index in AUTOINST, bug637.
6452 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
6453 to not double-declare existing outputs and inputs, respectively.
6454 (verilog-template-map): Bind U to verilog-sk-uvm-component.
6455 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
6456 (verilog-sk-uvm-component): New skeleton.
6457 (verilog-submit-bug-report): Add verilog-case-fold,
6458 remove verilog-mode-release-date.
6459
6460 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
6461
6462 * subr.el (sit-for): Call (input-pending-p t) so as to behave
6463 as before.
6464
6465 2013-10-18 Reuben Thomas <rrt@sc3d.org>
6466
6467 * textmodes/remember.el (remember): Set buffer-offer-save in
6468 remember buffers (bug#13566).
6469
6470 2013-10-18 Daniel Colascione <dancol@dancol.org>
6471
6472 When evaluating forms in ielm, direct standard output to ielm
6473 buffer. Add new ielm-return-for-effect command. Remove trailing
6474 whitespace throughout.
6475
6476 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
6477 (ielm-return-for-effect): New command.
6478 (ielm-send-input): Accept optional `for-effect' parameter.
6479 (ielm-eval-input): Accept optional `for-effect' parameter.
6480 Bind `standard-output' to stream we create using
6481 `ielm-standard-output-impl'. Suppress printing result when
6482 `for-effect'.
6483 (ielm-standard-output-impl): New function.
6484 (inferior-emacs-lisp-mode): Explain new features in documentation.
6485
6486 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
6487
6488 Code cleanup.
6489
6490 * net/tramp.el (tramp-debug-message): Do not check for connection
6491 buffer.
6492 (tramp-message): Use "vector" connection property.
6493
6494 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
6495 (tramp-equal-remote, tramp-eshell-directory-change)
6496 * net/tramp-adb.el (tramp-adb-handle-copy-file)
6497 (tramp-adb-handle-rename-file)
6498 * net/tramp-cmds.el (tramp-list-remote-buffers)
6499 (tramp-cleanup-connection, tramp-cleanup-this-connection)
6500 * net/tramp-compat.el (tramp-compat-process-running-p)
6501 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
6502 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
6503 (tramp-gvfs-handle-rename-file)
6504 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
6505 (tramp-set-file-uid-gid)
6506 * net/tramp-smb.el (tramp-smb-handle-copy-file)
6507 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
6508 of `file-remote-p'.
6509
6510 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
6511 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
6512 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
6513 (tramp-gw-open-network-stream): Suppress unrelated traces.
6514
6515 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
6516 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
6517 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6518 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
6519 connection property.
6520
6521 * net/tramp-cache.el (top): Suppress traces when reading
6522 persistency file.
6523
6524 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6525 Refactor common code. Improve debug message.
6526 (tramp-maybe-open-connection)
6527 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
6528 connection buffer too early.
6529
6530 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
6531 from `tramp-smb-actions-with-acl'.
6532 (tramp-smb-actions-set-acl): New defconst.
6533 (tramp-smb-handle-copy-directory)
6534 (tramp-smb-action-get-acl): New defun, renamed from
6535 `tramp-smb-action-with-acl'.
6536 (tramp-smb-action-set-acl): New defun.
6537 (tramp-smb-handle-set-file-acl): Rewrite.
6538
6539 2013-10-17 Glenn Morris <rgm@gnu.org>
6540
6541 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
6542
6543 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
6544
6545 * skeleton.el (skeleton-newline): Remove.
6546 (skeleton-internal-1): Use (insert "\n") instead.
6547
6548 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
6549 let-bindings.
6550
6551 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
6552 forward-sexp-function while we redo its job (bug#15613).
6553
6554 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
6555
6556 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
6557 represented by lists.
6558
6559 2013-10-16 Glenn Morris <rgm@gnu.org>
6560
6561 * tmm.el (tmm--history): New dynamic variable.
6562 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
6563
6564 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
6565
6566 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
6567 (tramp-smb-errors): Add error messages.
6568 (tramp-smb-actions-with-acl): New defconst.
6569 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
6570 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
6571 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
6572 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
6573 (tramp-smb-get-stat-capability): Fix tests.
6574
6575 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
6576
6577 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
6578 (bug#15580).
6579
6580 2013-10-16 Glenn Morris <rgm@gnu.org>
6581
6582 * ansi-color.el (ansi-color-drop-regexp):
6583 Add 1J, 1K, 2K. (Bug#15617)
6584
6585 * files.el (hack-local-variables--warned-lexical): New.
6586 (hack-local-variables):
6587 Warn about misplaced lexical-binding. (Bug#15616)
6588
6589 * net/eww.el (eww-render): Always set eww-current-url,
6590 and update header line. (Bug#15622)
6591 (eww-display-html): ... Rather than just doing it here.
6592
6593 2013-10-15 Eli Zaretskii <eliz@gnu.org>
6594
6595 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
6596 menu navigations commands.
6597
6598 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
6599
6600 * progmodes/subword.el (subword-capitalize): Be careful when
6601 the search for [[:alpha:]] fails (bug#15580).
6602
6603 2013-10-14 Eli Zaretskii <eliz@gnu.org>
6604
6605 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
6606 to commands that scroll the menu.
6607
6608 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
6609
6610 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
6611 Handle methods ending with `?' and `!'.
6612
6613 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
6614
6615 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
6616 `japanese-cp932' to `cp932' to fix the problem where saving a
6617 source file written in Shift_JIS twice would end up having
6618 `coding: japanese-cp932' which Ruby could not recognize.
6619 (ruby-mode-set-encoding): Add support for encodings mapped to nil
6620 in `ruby-encoding-map'.
6621 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
6622 doesn't need to be explicitly declared in magic comment.
6623 (ruby-encoding-map): Add type declaration for better customize UI.
6624
6625 2013-10-13 Glenn Morris <rgm@gnu.org>
6626
6627 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
6628 Occur buffers are read-only. http://bugs.debian.org/720775
6629
6630 * emacs-lisp/authors.el (authors-fixed-entries):
6631 Comment out old alpha stuff.
6632
6633 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
6634
6635 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
6636 to `after-save-hook' instead of `before-save-hook'.
6637 (ruby-mode-set-encoding): Use the value of coding system used to
6638 write the file. Call `basic-save-buffer-1' after modifying the
6639 buffer.
6640
6641 2013-10-13 Alan Mackenzie <acm@muc.de>
6642
6643 Fix indentation/fontification of Java enum with
6644 "implements"/generic.
6645
6646 * progmodes/cc-engine.el (c-backward-over-enum-header):
6647 Extracted from the three other places and enhanced to handle generics.
6648 (c-inside-bracelist-p): Uses new function above.
6649 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
6650 function above.
6651 (c-font-lock-enum-tail): Uses new function above.
6652
6653 2013-10-13 Kenichi Handa <handa@gnu.org>
6654
6655 * international/mule-cmds.el (select-safe-coding-system): Remove a
6656 superfluous condition in chekcing whether a coding system is safe
6657 or not.
6658
6659 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
6660
6661 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
6662
6663 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
6664
6665 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
6666
6667 2013-10-13 Glenn Morris <rgm@gnu.org>
6668
6669 * menu-bar.el (menu-bar-update-buffers):
6670 Unify Buffers menu prompt string. (Bug#15576)
6671
6672 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
6673
6674 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
6675 Add some entries.
6676 (authors-fixed-entries): Use accented form of name.
6677
6678 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6679
6680 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
6681 method calls (bug#15594).
6682 (ruby-smie--args-separator-p): New function.
6683 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
6684 recognize paren-free method calls.
6685
6686 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
6687 internals of universal-argument.
6688
6689 2013-10-11 Eli Zaretskii <eliz@gnu.org>
6690
6691 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
6692 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
6693 dropped menu on second mouse click on the menu bar.
6694
6695 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6696
6697 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
6698 (explicit-shell-file-name): Declare.
6699 (sh--vars-before-point, sh--cmd-completion-table): New functions.
6700 (sh-completion-at-point-function): New function.
6701 (sh-mode): Use it.
6702 (sh-smie--keyword-p): Remove unused argument.
6703 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
6704 vars.
6705 (sh-set-shell): Always setup SMIE, even if we use the
6706 old indentation code.
6707
6708 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
6709
6710 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
6711 cases of ? and =.
6712 (ruby-smie-rules): Simplify the "do" rule. The cases when the
6713 predicate would return nil are almost non-existent.
6714 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
6715
6716 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
6717 cache also after commands that modify the buffer but don't move
6718 point.
6719
6720 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
6721
6722 * env.el (substitute-env-in-file-name): New function.
6723 (substitute-env-vars): Extend the meaning of the optional arg.
6724
6725 2013-10-10 Eli Zaretskii <eliz@gnu.org>
6726
6727 * term/w32-win.el (dynamic-library-alist): Define separate lists
6728 of GIF DLLs for versions before and after 5.0.0 of giflib.
6729 (Bug#15531)
6730
6731 2013-10-10 João Távora <joaotavora@gmail.com>
6732
6733 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
6734 not locked, use last revision and current source as
6735 defaults. (Bug#15569)
6736
6737 2013-10-10 Masatake YAMATO <yamato@redhat.com>
6738
6739 * menu-bar.el (menu-bar-open): Don't use popup-menu if
6740 menu-bar is hidden.
6741
6742 2013-10-10 Martin Rudalics <rudalics@gmx.at>
6743
6744 * window.el (pop-to-buffer-same-window): Fix doc-string.
6745 (Bug#15492)
6746
6747 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
6748
6749 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
6750
6751 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
6752
6753 * calendar/icalendar.el (icalendar-import-file):
6754 Fix interactive spec. (Bug#15482)
6755
6756 2013-10-10 Glenn Morris <rgm@gnu.org>
6757
6758 * desktop.el (desktop-save): Default to saving in .emacs.d,
6759 since PWD is no longer in desktop-path by default. (Bug#15319)
6760
6761 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
6762 now that text mode has a menu with the same entry.
6763 (menu-bar-text-mode-auto-fill): Remove now unused func.
6764 * textmodes/text-mode.el (text-mode-map):
6765 Use auto-fill help text from menu-bar.el.
6766
6767 2013-10-10 John Anthony <john@jo.hnanthony.com>
6768
6769 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
6770
6771 2013-10-09 Juri Linkov <juri@jurta.org>
6772
6773 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
6774 instead of this-command-keys. Add universal-argument-more and
6775 universal-argument-minus to the list of prefix commands. (Bug#15568)
6776
6777 2013-10-09 Glenn Morris <rgm@gnu.org>
6778
6779 * vc/vc-svn.el (vc-svn-create-repo):
6780 Expand paths in file://... url. (Bug#15446)
6781
6782 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
6783 Add some entries.
6784 (authors): Remove unused local variables.
6785
6786 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
6787
6788 * profiler.el: Create a more coherent calltree from partial backtraces.
6789 (profiler-format): Hide the tail with `invisible' so that C-s can still
6790 find the hidden elements.
6791 (profiler-calltree-depth): Don't recurse so enthusiastically.
6792 (profiler-function-equal): New hash-table-test.
6793 (profiler-calltree-build-unified): New function.
6794 (profiler-calltree-build): Use it.
6795 (profiler-report-make-name-part): Indent the calltree less.
6796 (profiler-report-mode): Add visibility specs for profiler-format.
6797 (profiler-report-expand-entry, profiler-report-toggle-entry):
6798 Expand the whole subtree when provided with a prefix arg.
6799
6800 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
6801
6802 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
6803 iuwu-mod token.
6804 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
6805 hanging iuwu-mod token.
6806 (ruby-smie--forward-token): Do not include a dot after a token in
6807 that token.
6808 (ruby-smie--backward-token): Likewise.
6809
6810 2013-10-08 Juri Linkov <juri@jurta.org>
6811
6812 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
6813 to isearch-other-control-char.
6814 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
6815 and isearch-post-command-hook to post-command-hook.
6816 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
6817 and isearch-post-command-hook from post-command-hook.
6818 (isearch-unread-key-sequence)
6819 (isearch-reread-key-sequence-naturally)
6820 (isearch-lookup-scroll-key, isearch-other-control-char)
6821 (isearch-other-meta-char): Remove functions.
6822 (isearch-pre-command-hook, isearch-post-command-hook):
6823 New functions based on isearch-other-meta-char rewritten
6824 relying on the new behavior of overriding-terminal-local-map
6825 that does not replace the local keymaps any more. (Bug#15200)
6826
6827 2013-10-08 Eli Zaretskii <eliz@gnu.org>
6828
6829 Support menus on text-mode terminals.
6830 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
6831 functionality.
6832
6833 * tooltip.el (tooltip-mode): Don't error out on TTYs.
6834
6835 * menu-bar.el (popup-menu, popup-menu-normalize-position):
6836 Move here from mouse.el.
6837 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
6838 and arrow keys.
6839 (tty-menu-navigation-map): New map for TTY menu navigation.
6840
6841 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
6842
6843 * frame.el (display-mouse-p): Report text-mode mouse as available
6844 on w32.
6845 (display-popup-menus-p): Report availability if mouse is
6846 available; don't condition on window-system.
6847
6848 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
6849 (tty-menu-selected-face): New faces.
6850
6851 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6852
6853 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
6854 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
6855 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
6856 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
6857 New constants.
6858 (lisp-mode-variables): New `elisp' argument.
6859 (emacs-lisp-mode): Use it.
6860 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
6861 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
6862
6863 * indent.el: Use lexical-binding.
6864 (indent-region): Add progress reporter.
6865 (tab-stop-list): Make it implicitly extend to infinity by repeating the
6866 last step.
6867 (indent--next-tab-stop): New function to implement this behavior.
6868 (tab-to-tab-stop, move-to-tab-stop): Use it.
6869
6870 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
6871
6872 * indent.el (indent-rigidly--current-indentation): New function.
6873 (indent-rigidly-map): New var.
6874 (indent-rigidly): Use it to provide interactive mode (bug#8196).
6875
6876 2013-10-08 Bastien Guerry <bzg@gnu.org>
6877
6878 * register.el (insert-register): Fix 2013-10-07 change.
6879
6880 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6881
6882 * progmodes/perl-mode.el: Use lexical-binding.
6883 Remove redundant :group args.
6884 (perl-nochange): Change default to be closer to other major modes's
6885 standard behavior.
6886 (perl-indent-line): Don't consider text on current line as a
6887 valid beginning of function from which to indent.
6888
6889 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
6890 with more than one argument (bug#15538).
6891
6892 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
6893
6894 * vc/pcvs.el: Use lexical-binding.
6895 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
6896 environment of `eval'.
6897 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
6898 than a list of expressions. Adjust callers.
6899 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
6900
6901 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
6902
6903 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
6904 case of the dot in a chained method call being on the following line.
6905
6906 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6907
6908 * electric.el (electric-indent-inhibit): New var.
6909 (electric-indent-post-self-insert-function): Use it.
6910 * progmodes/python.el (python-mode): Set it.
6911
6912 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
6913 open braces.
6914
6915 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
6916
6917 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
6918 (css-mode): Use electric-indent-chars.
6919
6920 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
6921 (font-lock-beg, font-lock-end): Move before first use.
6922 (nxml-mode): Use syntax-propertize-function.
6923 (nxml-after-change, nxml-after-change1): Adjust accordingly.
6924 (nxml-extend-after-change-region): Remove.
6925 * nxml/xmltok.el: Use lexical-binding.
6926 (xmltok-save): Use `declare'.
6927 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
6928 * nxml/nxml-util.el: Use lexical-binding.
6929 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
6930 Use `declare'.
6931 * nxml/nxml-ns.el: Use lexical-binding.
6932 (nxml-ns-save): Use `declare'.
6933 (nxml-ns-prefixes-for): Avoid add-to-list.
6934 * nxml/rng-match.el: Use lexical-binding.
6935 (rng--ipattern): Use cl-defstruct.
6936 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
6937 (rng-cons-group-after, rng-subst-group-after)
6938 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
6939 Use closures instead of `(lambda...).
6940
6941 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
6942
6943 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
6944 of BEG and END.
6945
6946 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6947 Use `tramp-handle-insert-file-contents'.
6948 (tramp-gvfs-handle-insert-file-contents): Remove function.
6949
6950 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
6951 Use `save-restriction' in order to keep markers.
6952
6953 * net/trampver.el: Update release number.
6954
6955 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6956
6957 * progmodes/compile.el (compilation-parse-errors):
6958 Use compilation--put-prop.
6959 (compilation--ensure-parse): Check compilation-multiline.
6960
6961 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
6962
6963 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
6964 lexical-binding.
6965
6966 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
6967
6968 * progmodes/ruby-mode.el: Fix recently added tests.
6969 (ruby-smie-grammar): Add - and +.
6970 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
6971 (ruby-smie--backward-id): New functions.
6972 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
6973 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
6974 any more.
6975
6976 2013-10-07 Leo Liu <sdl.web@gmail.com>
6977
6978 * register.el (register-preview-delay)
6979 (register-preview-functions): New variables.
6980 (register-read-with-preview, register-preview)
6981 (register-describe-oneline): New functions.
6982 (point-to-register, window-configuration-to-register)
6983 (frame-configuration-to-register, jump-to-register)
6984 (number-to-register, view-register, insert-register)
6985 (copy-to-register, append-to-register, prepend-to-register)
6986 (copy-rectangle-to-register): Use register-read-with-preview to
6987 read register. (Bug#15525)
6988
6989 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
6990
6991 * net/network-stream.el (network-stream-open-starttls): Don't add
6992 --insecure if it's already present, because that gnutls-cli
6993 rejects getting that parameter twice.
6994
6995 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
6996
6997 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
6998 keyword, too.
6999
7000 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
7001
7002 * newcomment.el (comment-use-global-state): Change default value
7003 to t, mark obsolete (Bug#15251).
7004 (comment-beginning): In addition to `comment-to-syntax', check the
7005 value of `comment-use-global-state'.
7006
7007 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7008
7009 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
7010 (ruby-comment-column): Follow the global default, by default.
7011 (ruby-smie-grammar): Add assignment syntax.
7012 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
7013 open-paren, a comma, or a \.
7014 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
7015 and line continuations.
7016 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
7017 followed by implicit semi-colons. Add rule for string concatenation
7018 and for indentation at BOB.
7019 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
7020
7021 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
7022 calling next-sexp, since next-token may have skipped chars which
7023 next-sexp doesn't know should be skipped!
7024
7025 2013-10-05 Leo Liu <sdl.web@gmail.com>
7026
7027 * progmodes/octave.el (octave-send-region):
7028 Call compilation-forget-errors.
7029
7030 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
7031
7032 * vc/vc-svn.el (vc-svn-find-admin-dir):
7033 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
7034 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
7035 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
7036 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
7037
7038 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
7039
7040 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
7041
7042 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
7043
7044 * subr.el (read-passwd): Hide chars even when called within a context
7045 where after-change-functions is disabled (bug#15501).
7046 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
7047 until we removed ourself from overriding-terminal-local-map.
7048
7049 2013-10-04 Leo Liu <sdl.web@gmail.com>
7050
7051 * progmodes/octave.el (inferior-octave-mode):
7052 Call compilation-forget-errors.
7053
7054 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
7055
7056 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
7057
7058 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
7059
7060 * net/secrets.el (secrets-create-collection): Add optional
7061 argument ALIAS. Use proper Label keyword. Append ALIAS as
7062 dbus-call-method argument. (Bug#15516)
7063
7064 2013-10-04 Leo Liu <sdl.web@gmail.com>
7065
7066 * progmodes/octave.el (inferior-octave-error-regexp-alist)
7067 (inferior-octave-compilation-font-lock-keywords): New variables.
7068 (compilation-error-regexp-alist)
7069 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
7070 (inferior-octave-mode): Use compilation-shell-minor-mode.
7071
7072 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
7073
7074 * minibuffer.el (completion--replace): Be careful that `end' might be
7075 a marker.
7076
7077 2013-10-03 Daiki Ueno <ueno@gnu.org>
7078
7079 Add support for package signature checking.
7080 * emacs-lisp/package.el (url-http-file-exists-p)
7081 (epg-make-context, epg-context-set-home-directory)
7082 (epg-verify-string, epg-context-result-for)
7083 (epg-signature-status, epg-signature-to-string)
7084 (epg-check-configuration, epg-configuration)
7085 (epg-import-keys-from-file): Declare.
7086 (package-check-signature): New user option.
7087 (package-unsigned-archives): New user option.
7088 (package-desc): Add `signed' field.
7089 (package-load-descriptor): Set `signed' field if .signed file exists.
7090 (package--archive-file-exists-p): New function.
7091 (package--check-signature): New function.
7092 (package-install-from-archive): Check package signature.
7093 (package--download-one-archive): Check archive signature.
7094 (package-delete): Remove .signed file.
7095 (package-import-keyring): New command.
7096 (package-refresh-contents): Import default keyring.
7097 (package-desc-status): Add "unsigned" status.
7098 (describe-package-1, package-menu--print-info)
7099 (package-menu-mark-delete, package-menu--find-upgrades)
7100 (package-menu--status-predicate): Support "unsigned" status.
7101
7102 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7103
7104 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
7105 the new compilation scheme using the new byte-codes.
7106
7107 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
7108 (byte-pophandler): New byte codes.
7109 (byte-goto-ops): Adjust accordingly.
7110 (byte-compile--use-old-handlers): New var.
7111 (byte-compile-catch): Use new byte codes depending on
7112 byte-compile--use-old-handlers.
7113 (byte-compile-condition-case--old): Rename from
7114 byte-compile-condition-case.
7115 (byte-compile-condition-case--new): New function.
7116 (byte-compile-condition-case): New function that dispatches depending
7117 on byte-compile--use-old-handlers.
7118 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
7119 when we can.
7120
7121 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
7122 Optimize under `condition-case' and `catch' if
7123 byte-compile--use-old-handlers is nil.
7124 (disassemble-offset): Handle new bytecodes.
7125
7126 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7127
7128 * subr.el (error): Use `declare'.
7129 (decode-char, encode-char): Use advertised-calling-convention instead
7130 of the docstring to discourage use of the `restriction' arg.
7131
7132 2013-10-03 Daiki Ueno <ueno@gnu.org>
7133
7134 * epg.el (epg-verify-file): Add a comment saying that it does not
7135 notify verification error as a return value nor a signal.
7136 (epg-verify-string): Ditto.
7137
7138 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
7139
7140 * progmodes/compile.el (compilation-start): Try globbing the arg to
7141 `cd' (bug#15417).
7142
7143 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
7144
7145 Sync with Tramp 2.2.8.
7146
7147 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
7148 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
7149 * net/trampver.el: Update release number.
7150
7151 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
7152
7153 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
7154 and default-process-coding-system for darwin only.
7155
7156 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
7157
7158 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
7159
7160 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
7161
7162 * vc/vc-git.el (vc-git-grep): Disable pager.
7163
7164 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
7165
7166 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
7167 Use :url instead of :homepage, as per
7168 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
7169
7170 * newcomment.el (comment-beginning): When `comment-use-syntax' is
7171 non-nil, use `syntax-ppss' (Bug#15251).
7172
7173 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7174
7175 * progmodes/octave.el (inferior-octave-startup-file):
7176 Prefer ~/.emacs.d/init_octave.m.
7177
7178 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
7179
7180 * emacs-lisp/package.el (package-desc-from-define):
7181 Accept additional arguments as plist, convert them to an alist and store
7182 them in the `extras' slot.
7183 (package-generate-description-file): Convert extras alist back to
7184 plist and append to the `define-package' form arguments.
7185 (package--alist-to-plist): New function.
7186 (package--ac-desc): Add `extras' slot.
7187 (package--add-to-archive-contents): Check if the archive-contents
7188 vector is long enough, and if it is, pass its `extras' slot value
7189 to `package-desc-create'.
7190 (package-buffer-info): Call `lm-homepage', pass the returned value
7191 to `package-desc-from-define'.
7192 (describe-package-1): Render the homepage button (Bug#13291).
7193
7194 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7195 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
7196
7197 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
7198
7199 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
7200 and default-process-coding-system to utf-8-unix (Bug#15402).
7201
7202 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
7203
7204 * subr.el (looking-back): Do not recommend using looking-back.
7205
7206 2013-09-28 Alan Mackenzie <acm@muc.de>
7207
7208 Fix indentation/fontification of Java enum with "implements".
7209
7210 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
7211 regexp which matches "implements", etc., in Java.
7212 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
7213 specifier clauses coming after "enum".
7214 * progmodes/cc-fonts.el (c-font-lock-declarations)
7215 (c-font-lock-enum-tail): Check for extra specifier clauses coming
7216 after "enum".
7217
7218 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
7219
7220 * faces.el (region): Change ns_selection_color to
7221 ns_selection_fg_color, add ns_selection_bg_color.
7222
7223 2013-09-28 Leo Liu <sdl.web@gmail.com>
7224
7225 * progmodes/octave.el (inferior-octave-completion-table)
7226 (inferior-octave-completion-at-point): Minor tweaks.
7227
7228 * textmodes/ispell.el (ispell-lookup-words): Rename from
7229 lookup-words. (Bug#15460)
7230 (lookup-words): Obsolete.
7231 (ispell-complete-word, ispell-command-loop): All uses changed.
7232
7233 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7234
7235 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
7236 (octave-mode-menu): Add octave-send-buffer.
7237 (octave-send-buffer): New function.
7238
7239 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7240
7241 * progmodes/octave.el (octave-mode-map): Add key binding for
7242 octave-lookfor.
7243 (octave-mode-menu): Add octave-lookfor.
7244 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
7245 octave-lookfor.
7246 (octave-lookfor): New function.
7247
7248 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
7249
7250 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
7251 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
7252 its convention.
7253 (cl--loop-set-iterator-function): New function.
7254 (cl-loop): Adjust accordingly, so as not to use cl-subst.
7255 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
7256 Bind `it' with `let' instead of substituting it with `cl-subst'.
7257 (cl--unused-var-p): New function.
7258 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
7259 Eliminate some unused variable warnings (bug#15326).
7260
7261 2013-09-27 Tassilo Horn <tsdh@gnu.org>
7262
7263 * doc-view.el (doc-view-scale-reset): Rename from
7264 `doc-view-reset-zoom-level'.
7265 (doc-view-scale-adjust): New command.
7266 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
7267 `doc-view-scale-adjust'.
7268
7269 2013-09-26 Tassilo Horn <tsdh@gnu.org>
7270
7271 * doc-view.el (doc-view-reset-zoom-level): New command.
7272 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
7273 zoom commands (bug#15466).
7274
7275 2013-09-26 Kenichi Handa <handa@gnu.org>
7276
7277 * international/quail.el (quail-help): Make it not a command.
7278
7279 2013-09-26 Leo Liu <sdl.web@gmail.com>
7280
7281 * minibuffer.el (completion-all-sorted-completions): Make args
7282 optional as they are.
7283
7284 2013-09-25 Daniel Colascione <dancol@dancol.org>
7285
7286 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
7287 specs are and that they're not evaluated.
7288
7289 2013-09-24 Sam Steingold <sds@gnu.org>
7290
7291 * midnight.el (clean-buffer-list-kill-regexps)
7292 (clean-buffer-list-kill-buffer-names): Update for the new Man
7293 buffer naming which includes the object name.
7294
7295 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7296
7297 * eshell/esh-cmd.el (eshell--sep-terms): New var.
7298 (eshell-parse-command, eshell-parse-pipeline): Use it since
7299 eshell-separate-commands requires a dynamic scoped var.
7300 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
7301
7302 2013-09-23 Leo Liu <sdl.web@gmail.com>
7303
7304 * autoinsert.el (auto-insert-alist): Make the value of
7305 lexical-binding match its file setting.
7306
7307 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
7308
7309 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
7310
7311 * autoarg.el (autoarg-kp-digit-argument):
7312 * electric.el (Electric-command-loop):
7313 * kmacro.el (kmacro-step-edit-insert):
7314 Do not set universal-argument-num-events.
7315
7316 2013-09-22 Leo Liu <sdl.web@gmail.com>
7317
7318 * files.el (interpreter-mode-alist): Add octave.
7319
7320 2013-09-21 Alan Mackenzie <acm@muc.de>
7321
7322 C++: fontify identifier in declaration following "public:" correctly.
7323 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
7324 to match "public", etc.
7325 (c-decl-prefix-re): Add ":" into the C++ value.
7326 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
7327 bit. Add a check for a ":" preceded by "public", etc.
7328
7329 2013-09-21 Eli Zaretskii <eliz@gnu.org>
7330
7331 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
7332 recognized by GDB 7.5 and later.
7333
7334 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
7335
7336 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
7337
7338 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7339
7340 * subr.el (internal--call-interactively): New const.
7341 (called-interactively-p): Use it (bug#3984).
7342
7343 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
7344
7345 * vc/pcvs.el (cvs-mode-ignore):
7346 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
7347 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
7348
7349 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7350
7351 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
7352 (eshell-ls-orig-insert-directory): Remove.
7353 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
7354 (eshell-ls-use-in-dired): Use advice-add/remove.
7355 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
7356 Add `orig-fun' arg for use in :around advice.
7357 Make it check (redundantly) eshell-ls-use-in-dired.
7358
7359 2013-09-19 Glenn Morris <rgm@gnu.org>
7360
7361 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
7362
7363 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
7364
7365 * emacs-lisp/eieio.el (class-parent): Undo previous change.
7366
7367 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
7368
7369 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
7370 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
7371 (tramp-get-remote-python): New defuns.
7372 (tramp-get-remote-uid-with-perl)
7373 (tramp-get-remote-gid-with-perl): New defuns. Perl code
7374 contributed by yary <not.com@gmail.com> (tiny change).
7375 (tramp-get-remote-uid-with-python)
7376 (tramp-get-remote-gid-with-python): New defuns. Python code
7377 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
7378 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
7379
7380 2013-09-19 Glenn Morris <rgm@gnu.org>
7381
7382 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
7383
7384 * eshell/em-unix.el (eshell-remove-entries):
7385 Rename argument to avoid name-clash with global `top-level'.
7386
7387 * eshell/esh-proc.el (eshell-kill-process-function):
7388 Remove eshell-reset-after-proc from eshell-kill-hook if present.
7389 (eshell-reset-after-proc): Remove unused arg `proc'.
7390
7391 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
7392 (directory-files-and-attributes): Mark unused arg.
7393
7394 * eshell/em-unix.el (eshell-remove-entries):
7395 Remove unused arg `path'. Update callers.
7396
7397 * eshell/em-hist.el (eshell-hist-parse-arguments):
7398 Remove unused arg `silent'. Update callers.
7399
7400 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
7401 Fix (f)boundp mix-up.
7402
7403 * eshell/em-smart.el (eshell-smart-scroll-window)
7404 (eshell-disable-after-change):
7405 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
7406
7407 2013-09-18 Alan Mackenzie <acm@muc.de>
7408
7409 Fix fontification of type when followed by "const".
7410 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
7411 "known" types from fontification.
7412
7413 2013-09-18 Glenn Morris <rgm@gnu.org>
7414
7415 * emacs-lisp/chart.el (x-display-color-cells): Declare.
7416 (chart-face-list): Drop Emacsen without display-color-p.
7417
7418 * net/eww.el (libxml-parse-html-region): Declare.
7419 (eww-display-html): Explicit error if no libxml2 support.
7420
7421 * doc-view.el (doc-view-mode): Silence --without-x compilation.
7422
7423 * image.el (image-type-from-buffer, image-multi-frame-p):
7424 Remove --without-x warning/error.
7425
7426 * mouse.el (mouse-yank-primary):
7427 * term.el (term-mouse-paste):
7428 Reorder to silence --without-x compilation.
7429
7430 * mpc.el (doc-view-mode): Silence --without-x compilation.
7431
7432 * mail/rmailmm.el (rmail-mime-set-bulk-data):
7433 Silence --without-x compilation.
7434
7435 * progmodes/gud.el (gud-find-file, gud-mode):
7436 Silence --without-x compilation.
7437 (tooltip-mode): Declare.
7438
7439 * wdired.el (dired-backup-overwrite): Remove declaration.
7440 (wdired-mode-map): Add doc string.
7441
7442 * custom.el (x-get-resource): Declare.
7443
7444 * eshell/em-glob.el (ange-cache):
7445 * eshell/em-unix.el (ange-cache): Declare.
7446
7447 * faces.el (x-display-list, x-open-connection, x-get-resource):
7448 Declare.
7449
7450 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
7451 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
7452 Declare.
7453
7454 * frame.el (x-display-grayscale-p, x-display-name): Declare.
7455
7456 * net/gnutls.el (gnutls-log-level): Declare.
7457
7458 * net/shr.el (image-size, image-animate): Declare.
7459
7460 * simple.el (font-info): Declare.
7461
7462 * subr.el (x-popup-dialog): Declare.
7463
7464 * term/common-win.el (x-select-enable-primary)
7465 (x-last-selected-text-primary, x-last-selected-text-clipboard):
7466 Declare.
7467
7468 * term/ns-win.el (x-handle-args): Declare.
7469
7470 * term/x-win.el (x-select-enable-clipboard): Declare.
7471
7472 * term/w32-win.el (create-default-fontset): Declare.
7473
7474 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
7475 Declare.
7476
7477 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
7478 (fit-frame-to-buffer): Explicit error if --without-x.
7479 (mouse-autoselect-window-select): Silence compiler.
7480
7481 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
7482
7483 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
7484 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
7485 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
7486 * eshell/esh-util.el (eshell-sublist):
7487 Remove unused local variables.
7488
7489 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
7490
7491 * textmodes/two-column.el: Make 2C-split work for --without-x.
7492 (scroll-bar-columns): Autoload.
7493 (top-level): Require fringe when compiling.
7494
7495 2013-09-18 Leo Liu <sdl.web@gmail.com>
7496
7497 * subr.el (add-hook): Robustify to handle closure as well.
7498
7499 2013-09-17 Glenn Morris <rgm@gnu.org>
7500
7501 * simple.el (messages-buffer-mode-map): Unbind "g".
7502
7503 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
7504
7505 * help-mode.el (help-mode-finish): Use derived-mode-p.
7506 Remove obsolete highlighting.
7507
7508 * play/life.el (life-mode): Use define-derived-mode. Derive from
7509 special-mode.
7510 (life): Let-bind inhibit-read-only.
7511 (life-setup): Avoid `setq'. Use `life-mode'.
7512
7513 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
7514 which should not be needed any more.
7515 (package-menu-refresh, package-menu-describe-package): Use user-error.
7516
7517 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
7518 (eshell-post-rewrite-command-hook): Make obsolete.
7519 (eshell-parse-command): Simplify.
7520 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
7521 (eshell--cmd): Declare.
7522 (eshell-parse-pipeline): Remove unused var `final-p'.
7523 Pass a dynvar to eshell-post-rewrite-command-hook.
7524 Implement the new eshell-post-rewrite-command-function.
7525 (eshell-invoke-directly): Remove unused arg `input'.
7526 * eshell/esh-io.el (eshell-io-initialize):
7527 Use eshell-post-rewrite-command-function (bug#15399).
7528 (eshell--apply-redirections): Rename from eshell-apply-redirections;
7529 adjust to new calling convention.
7530 (eshell-create-handles): Rename args to avoid clashing with dynvar
7531 `standard-output'.
7532
7533 2013-09-17 Glenn Morris <rgm@gnu.org>
7534
7535 * simple.el (messages-buffer-mode): New major mode.
7536 (messages-buffer): New function.
7537 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
7538 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
7539 (ert-run-test): Use `messages-buffer' function.
7540 (ert--force-message-log-buffer-truncation): Ignore read-only.
7541 * help.el (view-echo-area-messages): Use `messages-buffer' function.
7542 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
7543
7544 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
7545
7546 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
7547
7548 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
7549
7550 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
7551
7552 * icomplete.el (icomplete-in-buffer): New var.
7553 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
7554 vars and replace them with functions.
7555 (icomplete-minibuffer-setup): Adjust accordingly.
7556 (icomplete--completion-table, icomplete--completion-predicate)
7557 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
7558 New functions.
7559 (icomplete-forward-completions, icomplete-backward-completions)
7560 (icomplete-simple-completing-p, icomplete-exhibit)
7561 (icomplete-completions): Use them.
7562 (icomplete--in-region-buffer): New var.
7563 (icomplete--in-region-setup): New function.
7564 (icomplete-mode): Use it.
7565
7566 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
7567 (bug#15379).
7568 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
7569 return args and options.
7570 (eshell-eval-using-options): Use the new return value of
7571 eshell--do-opts to set the options's vars in their scope.
7572 (eshell--set-option): Rename from eshell-set-option.
7573 Add arg `opt-vals'.
7574 (eshell--process-option): Rename from eshell-process-option.
7575 Add arg `opt-vals'.
7576 (eshell--process-args): Use an `opt-vals' alist to store the options's
7577 values during their processing and return them additionally to the
7578 remaining args.
7579
7580 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
7581
7582 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
7583 continuation character an operator, as far as indentation is
7584 concerned (Bug#15369).
7585
7586 2013-09-15 Martin Rudalics <rudalics@gmx.at>
7587
7588 * window.el (window--state-put-2): Don't process buffer state
7589 when buffer doesn't exist any more (Bug#15382).
7590
7591 2013-09-15 Glenn Morris <rgm@gnu.org>
7592
7593 * eshell/em-unix.el (eshell/rm):
7594 Make -f ignore missing files. (Bug#15373)
7595
7596 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
7597 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
7598 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
7599
7600 2013-09-14 Glenn Morris <rgm@gnu.org>
7601
7602 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
7603
7604 2013-09-13 Glenn Morris <rgm@gnu.org>
7605
7606 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
7607 (dired-guess-default): Make `file' available in the env. (Bug#15363)
7608
7609 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
7610
7611 * frame.el (x-focus-frame): Mark as declared in frame.c.
7612
7613 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
7614
7615 * ls-lisp.el: Use advice-add.
7616 (original-insert-directory): Remove.
7617 (ls-lisp--insert-directory): Rename from insert-directory; add
7618 `orig-fun' argument.
7619 (insert-directory): Advise.
7620
7621 2013-09-13 Eli Zaretskii <eliz@gnu.org>
7622
7623 * term.el (term-emulate-terminal): Decode the command string
7624 before passing it to term-command-hook. (Bug#15337)
7625
7626 2013-09-13 Glenn Morris <rgm@gnu.org>
7627
7628 * eshell/esh-util.el (ange-cache): Move declaration earlier.
7629
7630 * eshell/esh-ext.el (eshell-search-path): Declare.
7631
7632 * eshell/em-prompt.el (eshell/pwd): Autoload it.
7633 Otherwise an error occurs if eshell-dirs module not loaded.
7634
7635 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
7636
7637 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
7638
7639 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
7640 `tramp-check-proper-host'. Check for a valid method name.
7641
7642 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7643 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7644 * net/tramp-sh.el (tramp-maybe-open-connection):
7645 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
7646
7647 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
7648 also for hash values.
7649
7650 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7651
7652 * term/ns-win.el (parameters): Don't declare as dynamic.
7653 (before-make-frame-hook): Don't add ineffective function.
7654
7655 * eshell/*.el: Use lexical-binding (bug#15231).
7656
7657 2013-09-12 Kenichi Handa <handa@gnu.org>
7658
7659 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
7660
7661 2013-09-12 Glenn Morris <rgm@gnu.org>
7662
7663 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
7664 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
7665
7666 * subr.el (do-after-load-evaluation): Also give compiler warnings
7667 when obsolete files are used (except by obsolete files).
7668
7669 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
7670 in the status output, assume `filename' is the first. (Bug#15322)
7671
7672 * vc/vc.el (vc-deduce-fileset): Doc fix.
7673
7674 * calc/calc-help.el (Info-goto-node):
7675 * progmodes/cperl-mode.el (Info-find-node):
7676 * vc/ediff.el (Info-goto-node): Update declarations.
7677
7678 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
7679
7680 * vc/vc-bzr.el (vc-compilation-mode): Declare.
7681 (vc-bzr-pull): Require vc-dispatcher.
7682 * vc/vc-git.el (vc-compilation-mode): Declare.
7683 (vc-git-pull): Require vc-dispatcher.
7684
7685 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
7686
7687 * progmodes/octave.el (help-button-action): Declare.
7688
7689 * shell.el (shell-directory-tracker): Output error as a message
7690 rather than just returning it as a string.
7691 (shell-process-pushd): Remove useless use of message.
7692
7693 * dframe.el (dframe-timer-fn):
7694 * files.el (dir-locals-read-from-file):
7695 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
7696 (mpc-format):
7697 * reveal.el (reveal-post-command):
7698 * saveplace.el (load-save-place-alist-from-file):
7699 * shell.el (shell-resync-dirs):
7700 * w32-common-fns.el (x-get-selection-value):
7701 * emacs-lisp/copyright.el (copyright-find-copyright):
7702 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
7703 * emulation/tpu-edt.el (tpu-copy-keyfile):
7704 * play/bubbles.el (bubbles--mark-neighbourhood):
7705 * progmodes/executable.el
7706 (executable-make-buffer-file-executable-if-script-p):
7707 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
7708
7709 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7710
7711 Cleanup Eshell to rely less on dynamic scoping.
7712 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
7713 last-value, and ext-command here. Bind `args' closer to `body'.
7714 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
7715 (eshell--args): Declare new dynamic var.
7716 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
7717 last-value, and ext-command. Pass `args' to `body'.
7718 (eshell-process-args): Bind eshell--args.
7719 (eshell-set-option): Use eshell--args.
7720 * eshell/eshell.el (eshell): Use derived-mode-p.
7721 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
7722 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
7723 (eshell-glob-function): Declare.
7724 * eshell/esh-util.el: Require cl-lib.
7725 (eshell-read-hosts-file): Avoid add-to-list.
7726 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
7727 `err'.
7728 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
7729 Declare.
7730 (eshell/diff): Remove unused var `err'.
7731 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
7732 `killflag'.
7733 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
7734 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
7735 first use.
7736 * eshell/em-glob.el (eshell-glob-matches, message-shown):
7737 Move declaration before first use.
7738 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
7739 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
7740 rely on cl-return.
7741
7742 2013-09-12 Glenn Morris <rgm@gnu.org>
7743
7744 * term/ns-win.el (global-map): Remove binding for ispell-next,
7745 deleted 1999-05-29. (Bug#15357)
7746
7747 2013-09-11 Glenn Morris <rgm@gnu.org>
7748
7749 * echistory.el (electric-command-history): Remove call to deleted func.
7750
7751 * play/landmark.el (landmark-mode): Fix typos.
7752
7753 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
7754 Check cvs-sort-ignore-file is bound.
7755
7756 * savehist.el: No need for cl when compiling on Emacs.
7757
7758 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
7759
7760 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
7761 (bug#15338).
7762 (eshell-self-insert-command, eshell-send-invisible):
7763 Remove unused argument.
7764 (eshell-handle-control-codes): Remove unused var `orig'.
7765 Avoid delete-backward-char.
7766
7767 * files.el (set-auto-mode): Simplify a bit further.
7768
7769 2013-09-11 Glenn Morris <rgm@gnu.org>
7770
7771 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
7772 (set-auto-mode): Don't regexp-quote elements.
7773 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
7774 * progmodes/cc-mode.el (interpreter-mode-alist):
7775 * progmodes/ruby-mode.el (interpreter-mode-alist):
7776 Revert previous change.
7777
7778 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
7779
7780 * play/snake.el (snake-mode):
7781 * play/mpuz.el (mpuz-mode):
7782 * play/landmark.el (lm-mode):
7783 * play/blackbox.el (blackbox-mode):
7784 * play/5x5.el (5x5-mode):
7785 * obsolete/options.el (Edit-options-mode):
7786 * net/quickurl.el (quickurl-list-mode):
7787 * net/newst-treeview.el (newsticker-treeview-mode):
7788 * mail/rmailsum.el (rmail-summary-mode):
7789 * mail/mspools.el (mspools-mode):
7790 * locate.el (locate-mode):
7791 * ibuffer.el (ibuffer-mode):
7792 * emulation/ws-mode.el (wordstar-mode):
7793 * emacs-lisp/debug.el (debugger-mode):
7794 * array.el (array-mode):
7795 * net/eudc.el (eudc-mode): Use define-derived-mode.
7796 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
7797 Move initialization into declaration.
7798 (mairix-searches-mode): Use define-derived-mode.
7799 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
7800 (eudc-edit-hotlist): Use dolist.
7801 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
7802 (Man-mode): Use define-derived-mode.
7803 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
7804 (Info-edit-mode): Use define-derived-mode.
7805 (Info-cease-edit): Use Info-mode.
7806 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
7807 into declaration.
7808 (eshell-mode): Use define-derived-mode.
7809 * chistory.el (command-history-mode-map): Rename from
7810 command-history-map.
7811 (command-history-mode): Use define-derived-mode.
7812 (Command-history-setup): Remove function.
7813 * calc/calc.el (calc-trail-mode-map): New var.
7814 (calc-trail-mode): Use define-derived-mode.
7815 (calc-trail-buffer): Set calc-main-buffer manually.
7816 * bookmark.el (bookmark-insert-annotation): New function.
7817 (bookmark-edit-annotation): Use it.
7818 (bookmark-edit-annotation-mode): Make it a proper major mode.
7819 (bookmark-send-edited-annotation): Use derived-mode-p.
7820 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
7821 closer to its ideal place. Use \' to match EOS.
7822
7823 * profiler.el (profiler-calltree-find): Use function-equal.
7824
7825 2013-09-10 Glenn Morris <rgm@gnu.org>
7826
7827 * files.el (interpreter-mode-alist): Convert to regexps.
7828 (set-auto-mode): Adapt for this. (Bug#15306)
7829 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
7830 Comment out unused variable.
7831 * progmodes/cc-mode.el (interpreter-mode-alist):
7832 * progmodes/python.el (interpreter-mode-alist):
7833 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
7834 * progmodes/sh-script.el (sh-set-shell):
7835 No longer use interpreter-mode-alist to get list of shells.
7836
7837 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
7838
7839 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7840
7841 * simple.el: Use set-temporary-overlay-map for universal-argument.
7842 (universal-argument-map): Don't use default-bindings (bug#15317).
7843 Bind switch-frame explicitly. Replace universal-argument-minus with
7844 a conditional binding.
7845 (universal-argument-num-events, saved-overriding-map): Remove.
7846 (restore-overriding-map): Remove.
7847 (universal-argument--mode): Rename from save&set-overriding-map,
7848 and rewrite.
7849 (universal-argument, universal-argument-more, negative-argument)
7850 (digit-argument): Adjust accordingly.
7851 (universal-argument-minus): Remove.
7852 (universal-argument-other-key): Remove.
7853
7854 * subr.el (with-demoted-errors): Add `format' argument.
7855
7856 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
7857
7858 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
7859 `tramp-cleanup-connection'.
7860
7861 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
7862 parameters KEEP-DEBUG and KEEP-PASSWORD.
7863
7864 * net/tramp.el (tramp-file-name-handler):
7865 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7866 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
7867 (tramp-maybe-open-connection):
7868 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7869 Use `tramp-cleanup-connection'.
7870
7871 * net/tramp-sh.el (tramp-maybe-open-connection):
7872 Catch 'uname-changed inside the progress reporter.
7873
7874 2013-09-10 Glenn Morris <rgm@gnu.org>
7875
7876 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
7877
7878 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
7879 returns "alternate access method" in mode (eg "-rw-r--r--.").
7880
7881 2013-09-08 Glenn Morris <rgm@gnu.org>
7882
7883 * saveplace.el (load-save-place-alist-from-file):
7884 Demote errors. (Bug#15305)
7885
7886 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
7887
7888 Improve compatibility with older Emacsen, and XEmacs.
7889
7890 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
7891 only if it is bound. It isn't for XEmacs.
7892 (with-tramp-progress-reporter): Do not let-bind `result'.
7893 This yields to scoping errors in XEmacs.
7894 (tramp-handle-make-auto-save-file-name): New function, moved from
7895 tramp-sh.el.
7896
7897 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
7898 for `make-auto-save-file-name'.
7899 (tramp-adb--gnu-switches-to-ash):
7900 Use `tramp-compat-replace-regexp-in-string'.
7901
7902 * net/tramp-cache.el (tramp-cache-print): Call
7903 `substring-no-properties' only if it is bound. It isn't for XEmacs.
7904
7905 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
7906 bound. It isn't for XEmacs.
7907
7908 * net/tramp-compat.el (tramp-compat-copy-file):
7909 Catch `wrong-number-of-arguments' error.
7910 (tramp-compat-replace-regexp-in-string): New defun.
7911
7912 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
7913 for `make-auto-save-file-name'.
7914 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
7915 `copy-file'.
7916 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
7917 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
7918 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
7919
7920 * net/tramp-gw.el (tramp-gw-open-network-stream):
7921 Use `tramp-compat-replace-regexp-in-string'.
7922
7923 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7924 Call `tramp-handle-make-auto-save-file-name'.
7925 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
7926 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7927 (tramp-sh-file-inotifywait-process-filter):
7928 Use `tramp-compat-replace-regexp-in-string'.
7929 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
7930
7931 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
7932 for `make-auto-save-file-name'.
7933 (tramp-smb-handle-copy-directory):
7934 Call `tramp-compat-replace-regexp-in-string'.
7935 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
7936 (tramp-smb-handle-copy-file): Improve error message.
7937 (tramp-smb-handle-rename-file): Rename directly only in case
7938 `newname' does not exist yet. This is a restriction of smbclient.
7939 (tramp-smb-maybe-open-connection): Rerun the function only when
7940 `auth-sources' is non-nil.
7941
7942 2013-09-08 Kenichi Handa <handa@gnu.org>
7943
7944 * international/characters.el: Set category "^" (Combining) for
7945 more characters.
7946
7947 2013-09-07 Alan Mackenzie <acm@muc.de>
7948
7949 Correctly fontify Java class constructors.
7950 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
7951 in Java Mode.
7952 (c-recognize-typeless-decls): Set the Java value to t.
7953 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
7954 While handling a "(", add a check for, effectively, Java, and handle a
7955 "typeless" declaration there.
7956
7957 2013-09-07 Roland Winkler <winkler@gnu.org>
7958
7959 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
7960 field subtitle for entry type book.
7961
7962 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7963
7964 * minibuffer.el: Make minibuffer-complete call completion-in-region
7965 rather than other way around.
7966 (completion--some, completion-pcm--find-all-completions):
7967 Don't delay signals when debugging.
7968 (minibuffer-completion-contents): Beware fields within the
7969 minibuffer contents.
7970 (completion-all-sorted-completions): Use defvar-local.
7971 (completion--do-completion, completion--cache-all-sorted-completions)
7972 (completion-all-sorted-completions, minibuffer-force-complete):
7973 Add args `beg' and `end'.
7974 (completion--in-region-1): New fun, extracted from minibuffer-complete.
7975 (minibuffer-complete): Use completion-in-region.
7976 (completion-complete-and-exit): New fun, extracted from
7977 minibuffer-complete-and-exit.
7978 (minibuffer-complete-and-exit): Use it.
7979 (completion--complete-and-exit): Rename from
7980 minibuffer--complete-and-exit.
7981 (completion-in-region--single-word): New function, extracted from
7982 minibuffer-complete-word.
7983 (minibuffer-complete-word): Use it.
7984 (display-completion-list): Make `common-substring' argument obsolete.
7985 (completion--in-region): Call completion--in-region-1 instead of
7986 minibuffer-complete.
7987 (completion-help-at-point): Pass boundaries to
7988 minibuffer-completion-help as args rather than via an overlay.
7989 (completion-pcm--string->pattern): Use `any-delim'.
7990 (completion-pcm--optimize-pattern): New function.
7991 (completion-pcm--pattern->regex): Handle `any-delim'.
7992 * icomplete.el (icomplete-forward-completions)
7993 (icomplete-backward-completions, icomplete-completions):
7994 Adjust calls to completion-all-sorted-completions and
7995 completion--cache-all-sorted-completions.
7996 (icomplete-with-completion-tables): Default to t.
7997 * emacs-lisp/crm.el (crm--current-element): Rename from
7998 crm--select-current-element. Don't put an overlay but return the
7999 boundaries instead.
8000 (crm--completion-command): Take two new args to bind to the boundaries.
8001 (crm-completion-help): Adjust accordingly.
8002 (crm-complete): Use completion-in-region.
8003 (crm-complete-word): Use completion-in-region--single-word.
8004 (crm-complete-and-exit): Use completion-complete-and-exit.
8005
8006 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8007
8008 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
8009 than dynamically.
8010
8011 2013-09-06 Juri Linkov <juri@jurta.org>
8012
8013 * info.el (Info-display-images-node): When image file doesn't exist
8014 display text version of the image if it's provided in the Info file.
8015 Otherwise, display the location of missing image from SRC attribute.
8016 Add help-echo text property from ALT attribute. (Bug#15279)
8017
8018 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8019
8020 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
8021 (edit-abbrevs-mode): Use define-derived-mode.
8022
8023 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
8024 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
8025 that it's defined.
8026 (epa-key-list-mode, epa-key-mode, epa-info-mode):
8027 Use define-derived-mode.
8028
8029 * epg.el (epg-start-encrypt): Minor CSE simplification.
8030
8031 2013-09-06 William Xu <william.xwl@gmail.com>
8032
8033 * arc-mode.el: Add support for 7za (bug#15264).
8034 (archive-7z-program): New var.
8035 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
8036 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
8037 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
8038
8039 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
8040
8041 Remove URL syntax.
8042
8043 * net/tramp.el (tramp-syntax, tramp-prefix-format)
8044 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
8045 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
8046 (tramp-postfix-host-format, tramp-file-name-regexp)
8047 (tramp-completion-file-name-regexp)
8048 (tramp-completion-dissect-file-name)
8049 (tramp-handle-substitute-in-file-name): Remove 'url case.
8050 (tramp-file-name-regexp-url)
8051 (tramp-completion-file-name-regexp-url): Remove constants.
8052
8053 2013-09-06 Glenn Morris <rgm@gnu.org>
8054
8055 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
8056
8057 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
8058
8059 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
8060 keywords" below "here-doc beginnings" (Bug#15270).
8061
8062 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
8063
8064 * subr.el (pop): Use `car-safe'.
8065 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
8066 to detect unused `pop' return value.
8067
8068 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
8069 var `block-regexp'.
8070 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
8071 (python-fill-string): Remove unused var `marker'.
8072 (python-skeleton-add-menu-items): Remove unused var `items'.
8073
8074 * international/mule-cmds.el: Require CL.
8075 (find-coding-systems-for-charsets): Avoid add-to-list.
8076 (sanitize-coding-system-list): New function, extracted from
8077 select-safe-coding-system-interactively.
8078 (select-safe-coding-system-interactively): Use it.
8079 (read-input-method-name): Accept symbols for `default'.
8080
8081 * emacs-lisp/advice.el (defadvice): Add indent rule.
8082
8083 2013-09-05 Daniel Hackney <dan@haxney.org>
8084
8085 * dired-x.el:
8086 * net/ange-ftp.el:
8087 * net/browse-url.el:
8088 * net/dbus.el:
8089 * net/eudc.el:
8090 * net/eudcb-ldap.el:
8091 * net/eww.el:
8092 * net/imap.el:
8093 * printing.el:
8094 * vc/ediff-diff.el:
8095 * vc/ediff-init.el:
8096 * vc/ediff-merg.el:
8097 * vc/ediff-mult.el:
8098 * vc/ediff-util.el:
8099 * vc/ediff-wind.el:
8100 * vc/ediff.el:
8101 * vc/emerge.el:
8102 * vc/pcvs.el:
8103 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
8104 byte compiler. Remove some unused let-bound variables.
8105
8106 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
8107
8108 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
8109 a "ref-cell", since it gets better optimized (bug#14883).
8110
8111 2013-09-05 Glenn Morris <rgm@gnu.org>
8112
8113 * progmodes/cc-awk.el (c-forward-sws): Declare.
8114
8115 2013-09-04 Glenn Morris <rgm@gnu.org>
8116
8117 * generic-x.el [rul-generic-mode]: Require cc-mode.
8118 (c++-mode-syntax-table): Declare.
8119 (rul-generic-mode-syntax-table): Init in the defvar.
8120
8121 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
8122
8123 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
8124 (vc-do-command, vc-set-async-update):
8125 * vc/vc-mtn.el (vc-mtn-dir-status):
8126 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
8127 (vc-hg-pull, vc-hg-merge-branch):
8128 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
8129 (vc-git-merge-branch):
8130 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
8131 (vc-cvs-dir-status-files):
8132 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
8133 (vc-bzr-dir-status-files):
8134 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
8135 * vc/vc-annotate.el: Use lexical-binding.
8136 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
8137 (vc-sentinel-movepoint): Declare.
8138 (vc-annotate): Don't use `goto-line'.
8139 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
8140 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
8141 (vc-sentinel-movepoint): Declare.
8142 * vc/vc-svn.el: Use lexical-binding.
8143 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
8144 * vc/vc-sccs.el:
8145 * vc/vc-rcs.el: Use lexical-binding.
8146
8147 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
8148 `deleted'. Don't drop errors silently.
8149
8150 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
8151
8152 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
8153
8154 * vc/vc.el (vc-ignore): Rewrite.
8155 (vc-default-ignore): New function.
8156 (vc-default-ignore-completion-table): Use find-ignore-file.
8157
8158 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
8159 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
8160 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
8161 Remove. Most code moved to vc.el.
8162
8163 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
8164
8165 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
8166 * net/tramp-smb.el (tramp-smb-get-file-entries):
8167 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
8168 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
8169
8170 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
8171 Update call to it.
8172 (eww-change-select): Remove unused var `properties'.
8173 (eww-make-unique-file-name): Remove unused var `base'.
8174
8175 * finder.el (finder-compile-keywords): Don't mess with windows.
8176
8177 * calculator.el (calculator-funcall): Fix typo in last change.
8178
8179 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
8180
8181 * emacs-lisp/package.el (package-activate-1): Don't let a missing
8182 <pkg>-autoloads.el file stop us.
8183
8184 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
8185 warnings, and factor out common code.
8186
8187 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
8188
8189 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
8190 two-character operators and whether the character preceding them
8191 changes their meaning (Bug#15208).
8192
8193 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
8194
8195 Format code sent to Python shell for robustness.
8196 * progmodes/python.el (python-shell-buffer-substring):
8197 New function.
8198 (python-shell-send-region, python-shell-send-buffer): Use it.
8199
8200 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
8201
8202 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
8203 * net/tramp.el (tramp-user-error): ... here.
8204 (tramp-find-method, tramp-check-proper-host)
8205 (tramp-dissect-file-name, tramp-debug-message)
8206 (tramp-handle-shell-command):
8207 * net/tramp-adb.el (tramp-adb-handle-shell-command):
8208 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
8209
8210 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
8211
8212 2013-09-02 Martin Rudalics <rudalics@gmx.at>
8213
8214 * avoid.el (mouse-avoidance-point-position)
8215 (mouse-avoidance-too-close-p): Handle case where posn-at-point
8216 returns nil.
8217
8218 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
8219
8220 * progmodes/python.el (python-shell-completion-get-completions):
8221 Drop use of deleted `comint-last-prompt-overlay'.
8222 (python-nav-if-name-main): New command.
8223
8224 2013-09-01 Glenn Morris <rgm@gnu.org>
8225
8226 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
8227 Avoid leading space in $wins. Otherwise the sed command used by
8228 eg compile-main ends up containing "/*.el". (Bug#15170)
8229
8230 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
8231
8232 2013-08-30 Glenn Morris <rgm@gnu.org>
8233
8234 * emacs-lisp/bytecomp.el (byte-recompile-directory):
8235 Fix is-this-a-directory logic. (Bug#15220)
8236
8237 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
8238
8239 * textmodes/css-mode.el: Use SMIE.
8240 (css-smie-grammar): New var.
8241 (css-smie--forward-token, css-smie--backward-token)
8242 (css-smie-rules): New functions.
8243 (css-mode): Use them.
8244 (css-navigation-syntax-table): Remove var.
8245 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
8246 (css-indent-calculate, css-indent-line): Remove functions.
8247
8248 Misc changes to reduce use of `(lambda...); and other cleanups.
8249 * cus-edit.el: Use lexical-binding.
8250 (customize-push-and-save, customize-apropos)
8251 (custom-buffer-create-internal): Use closures.
8252 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
8253 * progmodes/ada-xref.el: Use setq.
8254 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
8255 * dframe.el: Use lexical-binding.
8256 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
8257 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
8258 * descr-text.el: Use lexical-binding.
8259 (describe-text-widget, describe-text-sexp, describe-property-list):
8260 Use closures.
8261 * comint.el (comint-history-isearch-push-state): Use a closure.
8262 * calculator.el: Use lexical-binding.
8263 (calculator-number-to-string): Make it work with lexical-binding.
8264 (calculator-funcall): Same and use cl-letf.
8265
8266 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
8267 (lisp--company-doc-string, lisp--company-location): New functions.
8268 (lisp-completion-at-point): Use them to improve Company support.
8269
8270 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
8271 params of lambda expressions.
8272 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
8273 (ruby-smie--opening-pipe-p): New function.
8274 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
8275 symbols and matched |...| for formal params.
8276 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
8277 from being treated as hanging. Handle "rescue".
8278
8279 2013-08-29 Glenn Morris <rgm@gnu.org>
8280
8281 * progmodes/cc-engine.el (c-pull-open-brace):
8282 Move definition before use.
8283
8284 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
8285
8286 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
8287 are immutable. Don't use `unsafe' any more.
8288 (cl--defsubst-expand): Don't substitute at the same time as keeping
8289 a residual unused let-binding. Don't use `unsafe' any more.
8290
8291 2013-08-29 Glenn Morris <rgm@gnu.org>
8292
8293 * calendar/cal-china.el (calendar-chinese-year-cache):
8294 Recenter on 2015.
8295
8296 * nxml/nxml-util.el (nxml-debug-clear-inside):
8297 Use cl-loop rather than loop.
8298
8299 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
8300
8301 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
8302
8303 2013-08-28 Glenn Morris <rgm@gnu.org>
8304
8305 * progmodes/antlr-mode.el: No need to require cc-mode twice.
8306
8307 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
8308
8309 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
8310
8311 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8312
8313 * simple.el (repeat-complex-command--called-interactively-skip):
8314 New function.
8315 (repeat-complex-command): Use it (bug#14136).
8316
8317 * progmodes/cc-mode.el: Minor cleanup of var declarations.
8318 (c-define-abbrev-table): Add `doc' argument.
8319 (c-mode-abbrev-table, c++-mode-abbrev-table)
8320 (objc-mode-abbrev-table, java-mode-abbrev-table)
8321 (idl-mode-abbrev-table, pike-mode-abbrev-table)
8322 (awk-mode-abbrev-table): Use it.
8323 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
8324 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
8325 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
8326 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
8327 Move initialization into the declaration; and remove any
8328 autoload cookie.
8329
8330 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
8331 and dynamic let binding.
8332
8333 * vc/smerge-mode.el: Remove redundant :group args.
8334
8335 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
8336 to load-path.
8337
8338 2013-08-28 Juri Linkov <juri@jurta.org>
8339
8340 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
8341 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
8342 (isearch-other-meta-char): Handle an undefined shifted printing
8343 character by downshifting it. (Bug#15200)
8344
8345 2013-08-28 Juri Linkov <juri@jurta.org>
8346
8347 * isearch.el (isearch-search): Change regexp error message for
8348 non-regexp searches. (Bug#15166)
8349
8350 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
8351
8352 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
8353 for portability to hosts where /bin/sh has problems.
8354
8355 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8356
8357 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
8358
8359 2013-08-27 Juri Linkov <juri@jurta.org>
8360
8361 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
8362 in the keyboard macro. (Bug#15126)
8363
8364 2013-08-27 Juri Linkov <juri@jurta.org>
8365
8366 * isearch.el (isearch-quote-char): Comment out converting unibyte
8367 to multibyte, thus syncing with its `quoted-insert' counterpart.
8368 (Bug#15166)
8369
8370 2013-08-27 Martin Rudalics <rudalics@gmx.at>
8371
8372 * window.el (display-buffer-use-some-window): Add missing
8373 argument in call of get-largest-window (Bug#15185).
8374 Reported by Stephen Leake.
8375
8376 2013-08-27 Glenn Morris <rgm@gnu.org>
8377
8378 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
8379
8380 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
8381
8382 * progmodes/python.el (python-font-lock-keywords): Don't return nil
8383 from a matcher-function unless there's no more matches (bug#15161).
8384
8385 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
8386
8387 * minibuffer.el: Revert change from 2013-08-20.
8388
8389 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
8390 with text property `tramp-default', if appropriate.
8391 (tramp-check-proper-host): New defun.
8392 (tramp-dissect-file-name): Do not check hostname. Revert change
8393 of 2013-03-18.
8394 (tramp-backtrace): Make VEC-OR-PROC optional.
8395
8396 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8397 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8398 * net/tramp-sh.el (tramp-maybe-open-connection):
8399 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
8400 Apply `tramp-check-proper-host'.
8401
8402 2013-08-26 Tassilo Horn <tsdh@gnu.org>
8403
8404 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
8405 lambda expression in order to have `describe-variable' display it.
8406
8407 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
8408
8409 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
8410 BUF can be optional. (Bug#15186)
8411
8412 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
8413
8414 * progmodes/flymake.el (flymake-get-real-file-name-function):
8415 Fix broken customization. (Bug#15184)
8416
8417 2013-08-25 Alan Mackenzie <acm@muc.de>
8418
8419 Improve indentation of bracelists defined by macros (without "=").
8420
8421 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
8422 expansion begins with "{", regard it as bracelist when it doesn't
8423 contain a ";".
8424
8425 Parse C++ inher-intro when there's a template split over 2 lines.
8426
8427 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
8428 rigorously the search for "class" etc. followed by ":".
8429
8430 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
8431 random languages a regexp which never matches rather than nil.
8432
8433 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
8434
8435 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
8436 (c-awk-regexp-one-line-possibly-open-char-list-re)
8437 (c-awk-one-line-possibly-open-regexp-re)
8438 (c-awk-one-line-non-syn-ws*-re): Remove.
8439 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
8440 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
8441 (c-awk-space*-unclosed-regexp-/-re): New constants.
8442 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
8443 aren't regexp delimiters.
8444
8445 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
8446 handling for a rare situation in AWK Mode involving unterminated
8447 strings/regexps.
8448
8449 2013-08-23 Glenn Morris <rgm@gnu.org>
8450
8451 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
8452
8453 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
8454
8455 * files.el (create-file-buffer): If the result would begin with
8456 spaces, prepend a "|" instead of removing them. (Bug#15162)
8457
8458 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8459
8460 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
8461 text-properties (bug#15155).
8462
8463 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
8464 exist any more.
8465 (calc-keypad-redraw): Remove unused var `pad'.
8466 (calc-keypad-press): Remove unused var `menu'.
8467
8468 2013-08-23 Martin Rudalics <rudalics@gmx.at>
8469
8470 * window.el (display-buffer-pop-up-frame):
8471 Call pop-up-frame-function with BUFFER current so `make-frame' will
8472 use it as the new frame's buffer (Bug#15133).
8473
8474 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8475
8476 * calendar/timeclock.el: Minor cleanups.
8477 (timeclock-ask-before-exiting, timeclock-use-display-time):
8478 Use `symbol'.
8479 (timeclock-modeline-display): Define as alias before the
8480 actual definition.
8481 (timeclock-mode-line-display): Use define-minor-mode.
8482 (timeclock-day-list-template): Make it a function, add an argument.
8483 (timeclock-day-list-required, timeclock-day-list-length)
8484 (timeclock-day-list-debt, timeclock-day-list-span)
8485 (timeclock-day-list-break): Adjust calls accordingly.
8486
8487 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
8488
8489 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
8490 Use read--expression so that completion works again.
8491
8492 2013-08-21 Sam Steingold <sds@gnu.org>
8493
8494 Add rudimentary inferior shell interaction
8495 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
8496 (sh-set-shell): Reset it.
8497 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
8498 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
8499
8500 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
8501
8502 * align.el: Use lexical-binding.
8503 (align-region): Simplify accordingly.
8504
8505 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
8506
8507 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
8508
8509 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
8510 `non-essential' up.
8511
8512 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
8513
8514 * net/tramp.el:
8515 * net/tramp-adb.el:
8516 * net/tramp-cmds.el:
8517 * net/tramp-ftp.el:
8518 * net/tramp-gvfs.el:
8519 * net/tramp-gw.el:
8520 * net/tramp-sh.el: Don't wrap external variable declarations by
8521 `eval-when-compile'.
8522
8523 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
8524
8525 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
8526 now that Emacs supports ImageMagick animations.
8527
8528 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
8529
8530 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
8531 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
8532
8533 2013-08-16 Martin Rudalics <rudalics@gmx.at>
8534
8535 * window.el (mouse-autoselect-window-select): Do autoselect when
8536 mouse pointer is on margin.
8537
8538 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
8539
8540 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
8541
8542 2013-08-16 Glenn Morris <rgm@gnu.org>
8543
8544 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
8545 Handle "Remote Directory" response of some clients. (Bug#15058)
8546
8547 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
8548 Tweak warning. (Bug#14926)
8549
8550 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
8551 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
8552
8553 * image-mode.el (image-mode-map): Add menu items to reverse,
8554 increase, decrease, reset animation speed.
8555 (image--set-speed, image-increase-speed, image-decrease-speed)
8556 (image-reverse-speed, image-reset-speed): New functions.
8557 (image-mode-map): Add bindings for speed commands.
8558
8559 * image.el (image-animate-get-speed, image-animate-set-speed):
8560 New functions.
8561 (image-animate-timeout): Respect image :speed property.
8562
8563 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8564
8565 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
8566 previous line (bug#15101).
8567 (debugger-eval-expression, debugger-record-expression):
8568 Use read--expression (bug#15102).
8569
8570 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
8571
8572 Remove byte compiler warnings, visible when compiling with
8573 `byte-compile-force-lexical-warnings' set to t.
8574
8575 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
8576 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
8577 (tramp-handle-unhandled-file-name-directory)
8578 (tramp-handle-file-notify-add-watch, tramp-action-login)
8579 (tramp-action-succeed, tramp-action-permission-denied)
8580 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
8581 arguments with "_".
8582
8583 * net/tramp-adb.el (tramp-adb-parse-device-names)
8584 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
8585 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
8586 (tramp-adb-handle-file-truename): Remove unused arguments.
8587
8588 * net/tramp-cache.el (tramp-flush-directory-property)
8589 (tramp-flush-connection-property, tramp-list-connections)
8590 (tramp-parse-connection-properties): Prefix unused arguments with "_".
8591
8592 * net/tramp-compat.el (tramp-compat-make-temp-file):
8593 Rename FILENAME to F.
8594
8595 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
8596 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
8597 (tramp-zeroconf-parse-workstation-device-names)
8598 (tramp-zeroconf-parse-webdav-device-names)
8599 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
8600
8601 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
8602 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
8603
8604 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
8605 arguments.
8606 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
8607 (tramp-sh-handle-insert-file-contents-literally)
8608 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
8609 with "_".
8610 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
8611 Remove unused variables.
8612
8613 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
8614 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
8615 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
8616
8617 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
8618 Make them a defconst.
8619 (tramp-uuencode-region): Remove unused variable.
8620
8621 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
8622
8623 * frameset.el (frameset--prop-setter): New function.
8624 (frameset-prop): Add gv-setter declaration.
8625 (frameset-filter-minibuffer): Deal with the case that the minibuffer
8626 parameter was already set in FILTERED. Doc fix.
8627 (frameset--record-minibuffer-relationships): Allow saving a
8628 minibufferless frame without its corresponding minibuffer frame.
8629 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
8630 frame, if the frame id matches.
8631 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
8632 frames before orphaned ones.
8633 (frameset-restore): Warn about orphaned windows, instead of error out.
8634
8635 2013-08-14 Martin Rudalics <rudalics@gmx.at>
8636
8637 * window.el (window-make-atom): Don't overwrite parameter
8638 already present.
8639 (display-buffer-in-atom-window): Handle special case where we
8640 split an already atomic window.
8641 (window--major-non-side-window, display-buffer-in-side-window)
8642 (window--side-check): Ignore minibuffer window when walking
8643 window tree.
8644 (window-deletable-p): Return 'frame only if no other frame uses
8645 our minibuffer window.
8646 (record-window-buffer): Run buffer-list-update-hook.
8647 (split-window): Make sure window--check-frame won't destroy an
8648 existing atomic window in case the new window gets nested
8649 inside.
8650 (display-buffer-at-bottom): Ignore minibuffer window when
8651 walking window tree. Don't split a side window.
8652 (pop-to-buffer): Don't set-buffer here, the select-window call
8653 should do that.
8654 (mouse-autoselect-window-select): Autoselect only if we are in the
8655 text portion of the window.
8656
8657 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8658
8659 * net/shr.el (shr-parse-image-data): New function to grab both the
8660 data itself and the Content-Type.
8661 (shr-put-image): Use it.
8662
8663 * net/eww.el (eww-display-image): Ditto.
8664
8665 * image.el (image-content-type-suffixes): New variable.
8666
8667 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
8668
8669 * progmodes/python.el (python-imenu--build-tree)
8670 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
8671
8672 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
8673
8674 * simple.el (backward-word): Mention the optional argument.
8675
8676 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
8677
8678 * frameset.el (frameset--make): Rename constructor from make-frameset.
8679 (frameset-p, frameset-valid-p): Don't autoload.
8680 (frameset-valid-p): Use normal accessors.
8681
8682 2013-08-13 Glenn Morris <rgm@gnu.org>
8683
8684 * progmodes/compile.el (compile-command): Tweak example in doc.
8685 * obsolete/scribe.el (scribe-mode):
8686 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
8687
8688 * mail/feedmail.el (feedmail-confirm-outgoing)
8689 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
8690
8691 * cus-start.el (truncate-partial-width-windows): Fix type.
8692
8693 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
8694
8695 * net/shr.el (shr-table-horizontal-line): Fix custom type.
8696
8697 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
8698
8699 * emacs-lisp/timer.el (timer--time-setter): New function.
8700 (timer--time): Use it as gv-setter.
8701
8702 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
8703 setter is not a symbol.
8704
8705 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
8706
8707 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
8708 if sending fails. This makes debugging easier.
8709
8710 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
8711
8712 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
8713 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
8714 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
8715
8716 2013-08-12 Eli Zaretskii <eliz@gnu.org>
8717
8718 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
8719
8720 2013-08-12 Glenn Morris <rgm@gnu.org>
8721
8722 * format.el (format-annotate-function):
8723 Handle read-only text properties in the source. (Bug#14887)
8724
8725 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8726
8727 * net/eww.el (eww-display-html): Ignore coding system errors.
8728 One web site uses "utf-8lias" as the coding system.
8729
8730 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
8731
8732 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
8733
8734 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
8735
8736 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
8737 (tutorial--detailed-help): Remove unused local variables.
8738 (tutorial--save-tutorial-to): Use ignore-errors.
8739 (help-with-tutorial): Use looking-at-p.
8740
8741 * view.el (view-buffer-other-window, view-buffer-other-frame):
8742 Mark unused arguments.
8743
8744 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
8745 (woman-select-symbol-fonts, woman, woman-find-file)
8746 (woman-insert-file-contents, woman-non-underline-faces):
8747 Use string-match-p.
8748 (woman1-unquote): Move declaration.
8749
8750 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
8751 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
8752 argument. Remove unused local variable.
8753 (xml-parse-elem-type): Use string-match-p.
8754 (xml-substitute-numeric-entities): Use ignore-errors.
8755
8756 * calculator.el (calculator): Mark unused argument.
8757 (calculator-paste, calculator-quit, calculator-integer-p):
8758 Use ignore-errors.
8759 (calculator-string-to-number, calculator-decimal, calculator-exp)
8760 (calculator-op-or-exp): Use string-match-p.
8761
8762 * dired.el (dired-buffer-more-recently-used-p): Declare.
8763 (dired-insert-set-properties, dired-insert-old-subdirs):
8764 Use ignore-errors.
8765
8766 * dired-aux.el (dired-compress): Use ignore-errors.
8767 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
8768 (dired-do-async-shell-command, dired-do-shell-command)
8769 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
8770 (dired-insert-subdir-validate): Use string-match-p.
8771 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
8772 (dired-add-entry): Use string-match-p, looking-at-p.
8773 (dired-insert-subdir-newpos): Remove unused local variable.
8774
8775 * filenotify.el (file-notify-callback): Remove unused local variable.
8776
8777 * filesets.el (filesets-error): Mark unused argument.
8778 (filesets-which-command-p, filesets-filter-dir-names)
8779 (filesets-directory-files, filesets-get-external-viewer)
8780 (filesets-ingroup-get-data): Use string-match-p.
8781
8782 * find-file.el (ff-other-file-name, ff-other-file-name)
8783 (ff-find-the-other-file, ff-cc-hh-converter):
8784 Remove unused local variables.
8785 (ff-get-file-name): Use string-match-p.
8786 (ff-all-dirs-under): Use ignore-errors.
8787
8788 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
8789 (follow-select-if-visible): Remove unused local variable.
8790
8791 * forms.el (read-file-filter): Move declaration.
8792 (forms--make-format, forms--make-parser, forms-insert-record):
8793 Quote function with #'.
8794 (forms--update): Use string-match-p. Quote function with #'.
8795
8796 * help-mode.el (help-dir-local-var-def): Mark unused argument.
8797 (help-make-xrefs): Use looking-at-p.
8798 (help-xref-on-pp): Use looking-at-p, ignore-errors.
8799
8800 * ibuffer.el (ibuffer-ext-visible-p): Declare.
8801 (ibuffer-confirm-operation-on): Use string-match-p.
8802
8803 * msb.el (msb-item-handler, msb-dired-item-handler):
8804 Mark unused arguments.
8805
8806 * ses.el (ses-decode-cell-symbol)
8807 (ses-kill-override): Remove unused local variable.
8808 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
8809 (ses-load): Use ignore-errors, looking-at-p.
8810 (ses-jump-safe): Use ignore-errors.
8811 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
8812
8813 * tabify.el (untabify, tabify): Mark unused arguments.
8814
8815 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
8816 Mark unused argument.
8817 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
8818 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
8819
8820 * emacs-lisp/timer.el (timer--time): Define setter with
8821 gv-define-setter to avoid deprecation warning.
8822
8823 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
8824 (*record-cmpl-statistics-p*): Remove (was commented out).
8825 (cmpl-statistics-block): Remove (body was commented out).
8826 All callers changed.
8827 (add-completions-from-buffer, load-completions-from-file):
8828 Remove unused variables.
8829
8830 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
8831
8832 * filecache.el (file-cache-delete-file-list):
8833 Print message only when told so.
8834 (file-cache-files-matching): Use #' in mapconcat argument.
8835
8836 * ffap.el (ffap-url-at-point): Fix reference to variable
8837 thing-at-point-default-mail-uri-scheme.
8838
8839 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
8840
8841 * subr.el (define-error): New function.
8842 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
8843 error-file-not-found and define with define-error.
8844 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
8845 and define with define-error.
8846 * userlock.el (file-locked, file-supersession):
8847 * simple.el (mark-inactive):
8848 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
8849 * progmodes/ada-mode.el (ada-mode-errors):
8850 * play/life.el (life-extinct):
8851 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
8852 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
8853 * nxml/rng-util.el (rng-error):
8854 * nxml/rng-uri.el (rng-uri-error):
8855 * nxml/rng-match.el (rng-compile-error):
8856 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
8857 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
8858 * nxml/nxml-rap.el (nxml-scan-error):
8859 * nxml/nxml-outln.el (nxml-outline-error):
8860 * net/soap-client.el (soap-error):
8861 * net/gnutls.el (gnutls-error):
8862 * net/ange-ftp.el (ftp-error):
8863 * mpc.el (mpc-proc-error):
8864 * json.el (json-error, json-readtable-error, json-unknown-keyword)
8865 (json-number-format, json-string-escape, json-string-format)
8866 (json-key-format, json-object-format):
8867 * jka-compr.el (compression-error):
8868 * international/quail.el (quail-error):
8869 * international/kkc.el (kkc-error):
8870 * emacs-lisp/ert.el (ert-test-failed):
8871 * calc/calc.el (calc-error, inexact-result, math-overflow)
8872 (math-underflow):
8873 * bookmark.el (bookmark-error-no-filename):
8874 * epg.el (epg-error): Define with define-error.
8875
8876 * time.el (display-time-event-handler)
8877 (display-time-next-load-average): Don't call sit-for since it seems
8878 unnecessary (bug#15045).
8879
8880 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
8881 Use #' instead of ' to quote functions.
8882 (checkdoc-output-mode): Use setq-local.
8883 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
8884 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
8885 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
8886 (checkdoc-ispell, checkdoc-ispell-current-buffer)
8887 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
8888 (checkdoc-ispell-message-text, checkdoc-ispell-start)
8889 (checkdoc-ispell-continue, checkdoc-ispell-comments)
8890 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
8891
8892 * ido.el (ido-completion-help): Fix up compiler warning.
8893
8894 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
8895
8896 * frameset.el (frameset-p): Add autoload cookie.
8897 (frameset--jump-to-register): New function, based on code moved from
8898 register.el.
8899 (frameset-to-register): Move from register.el. Adapt to `registerv'.
8900
8901 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
8902 (frameset-restore, frameset-save, frameset-session-filter-alist):
8903 Remove declarations.
8904 (register-alist): Doc fix.
8905 (frameset-to-register): Move to frameset.el.
8906 (jump-to-register, describe-register-1): Remove frameset-specific code.
8907
8908 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8909
8910 * allout-widgets.el (allout-widgets-pre-command-business)
8911 (allout-widgets-post-command-business)
8912 (allout-widgets-after-change-handler)
8913 (allout-decorate-item-and-context, allout-set-boundary-marker)
8914 (allout-body-modification-handler)
8915 (allout-graphics-modification-handler): Mark ignored arguments.
8916 (allout-widgets-post-command-business)
8917 (allout-widgets-exposure-change-processor)
8918 (allout-widgets-exposure-undo-processor)
8919 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
8920 (allout-parse-item-at-point, allout-decorate-item-guides)
8921 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
8922 * allout.el (epa-passphrase-callback-function): Declare.
8923 (allout-overlay-insert-in-front-handler)
8924 (allout-overlay-interior-modification-handler)
8925 (allout-isearch-end-handler, allout-chart-siblings)
8926 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
8927 (allout-yank-processing, allout-process-exposed)
8928 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
8929 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
8930 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
8931 (lisp-indent-defform): Mark ignored arguments.
8932 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
8933 (calculate-lisp-indent): Remove unused variables.
8934 * international/characters.el (indian-2-column, arabic-2-column)
8935 (tibetan): Mark ignored arguments.
8936 (use-cjk-char-width-table): Mark ignored arguments.
8937 Remove unused variables.
8938 * international/fontset.el (build-default-fontset-data)
8939 (x-compose-font-name, create-fontset-from-fontset-spec):
8940 Mark ignored arguments.
8941 (fontset-plain-name): Remove unused variables.
8942 * international/mule.el (charset-id, charset-bytes, generic-char-p)
8943 (keyboard-coding-system): Mark ignored arguments.
8944 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
8945 * help.el (resize-temp-buffer-window):
8946 * window.el (display-buffer-in-major-side-window)
8947 (display-buffer-in-side-window, display-buffer-in-previous-window):
8948 Remove unused variables.
8949 * isearch.el (isearch-forward-symbol):
8950 * version.el (emacs-bzr-version-bzr):
8951 * international/mule-cmds.el (current-language-environment):
8952 * term/common-win.el (x-handle-iconic, x-handle-geometry)
8953 (x-handle-display):
8954 * term/pc-win.el (x-list-fonts, x-display-planes)
8955 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
8956 (x-server-version, x-display-screens, x-display-mm-height)
8957 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
8958 (x-selection-owner-p, x-own-selection-internal)
8959 (x-disown-selection-internal, x-get-selection-internal)
8960 (msdos-initialize-window-system):
8961 * term/tty-colors.el (tty-color-alist, tty-color-clear):
8962 * term/x-win.el (x-handle-no-bitmap-icon):
8963 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
8964 (vc-default-find-file-hook, vc-default-extra-menu):
8965 Mark ignored arguments.
8966
8967 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8968
8969 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
8970 break-condition in the context of the debugged code (bug#12685).
8971
8972 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
8973
8974 * comint.el:
8975 Do not use an overlay to highlight the last prompt. (Bug#14744)
8976 (comint-mode): Make comint-last-prompt buffer local.
8977 (comint-last-prompt): New variable.
8978 (comint-last-prompt-overlay): Remove. Superseded by
8979 comint-last-prompt.
8980 (comint-snapshot-last-prompt, comint-output-filter):
8981 Use comint-last-prompt.
8982
8983 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8984
8985 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
8986 (frameset-save): Check validity of the resulting frameset.
8987
8988 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
8989
8990 * ido.el (ido-record-command): Add doc string.
8991
8992 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8993
8994 * frameset.el (frameset): Do not disable creation of the default
8995 frameset-p predicate. Doc fix.
8996 (frameset-valid-p): New function, copied from the old predicate-p.
8997 Add additional checks.
8998 (frameset-restore): Check with frameset-valid-p.
8999 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
9000 (frameset-name, frameset-description, frameset-properties)
9001 (frameset-states): Add docstring.
9002 (frameset-session-filter-alist, frameset-persistent-filter-alist)
9003 (frameset-filter-alist): Doc fixes.
9004
9005 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9006
9007 * frameset.el (frameset-p, frameset-prop): Doc fixes.
9008
9009 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9010
9011 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
9012 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
9013 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
9014 (byte-compile-normal-call): Remove obsolescence check.
9015
9016 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9017
9018 * frameset.el (frameset-restore): Doc fix.
9019
9020 * register.el (frameset-frame-id, frameset-frame-with-id)
9021 (frameset-p, frameset-restore, frameset-save): Declare.
9022 (register-alist): Document framesets.
9023 (frameset-session-filter-alist): Declare.
9024 (frameset-to-register): New function.
9025 (jump-to-register): Implement jumping to framesets. Doc fix.
9026 (describe-register-1): Describe framesets.
9027
9028 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
9029
9030 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
9031
9032 * desktop.el (desktop-save-frameset): Use new frameset-save args.
9033 Use lexical-binding.
9034
9035 * frameset.el (frameset): Use type vector, not list (incompatible
9036 change). Do not declare a new constructor, use the default one.
9037 Upgrade suggested properties `app', `name' and `desc' to slots `app',
9038 `name' and `description', respectively, and add read-only slot
9039 `timestamp'. Doc fixes.
9040 (frameset-copy, frameset-persistent-filter-alist)
9041 (frameset-filter-alist, frameset-switch-to-gui-p)
9042 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
9043 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
9044 (frameset-filter-iconified, frameset-keep-original-display-p):
9045 Doc fixes.
9046 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
9047 Rename from frameset-filter-(save|restore)-param. All callers changed.
9048 Doc fix.
9049 (frameset-p): Adapt to change to vector and be more thorough.
9050 Change arg name to OBJECT. Doc fix.
9051 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
9052 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
9053 All callers changed.
9054 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
9055 All callers changed.
9056 (frameset--record-minibuffer-relationships): Rename from
9057 frameset--process-minibuffer-frames. All callers changed.
9058 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
9059 Use new default constructor (again). Doc fix.
9060 (frameset--find-frame-if): Rename from `frameset--find-frame'.
9061 All callers changed.
9062 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
9063 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
9064 Doc fix.
9065 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
9066 PARAMETERS and WINDOW-STATE, respectively.
9067 (frameset-restore): Add new keyword argument PREDICATE.
9068 Reset frameset--target-display to nil. Doc fix.
9069
9070 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
9071
9072 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
9073 (bat-mode): Use it.
9074 (bat-mode-syntax-table): Mark \n as end-of-comment.
9075 (bat-font-lock-keywords): Remove comment rule.
9076
9077 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
9078 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
9079
9080 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
9081 (byte-compile-callargs-warn): Use `push'.
9082 (byte-compile-arglist-warn): Ignore higher-order "calls".
9083 (byte-compile-file-form-autoload): Use `pcase'.
9084 (byte-compile-function-form): If quoting a symbol, check that it exists.
9085
9086 2013-08-07 Eli Zaretskii <eliz@gnu.org>
9087
9088 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
9089 and add a few popular commands found in batch files.
9090 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
9091 (dos-mode): Doc fixes.
9092
9093 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
9094
9095 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
9096 (dos-mode): Use setq-local. Add space after "rem".
9097 (dos-mode-syntax-table): Don't use "w" for symbol chars.
9098 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
9099
9100 2013-08-07 Arni Magnusson <arnima@hafro.is>
9101
9102 * progmodes/dos.el: New file.
9103 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
9104 dos-mode.
9105
9106 2013-08-06 Glenn Morris <rgm@gnu.org>
9107
9108 * calendar/calendar.el: Add new faces, and day-header-array.
9109 (calendar-weekday-header, calendar-weekend-header)
9110 (calendar-month-header): New faces.
9111 (calendar-day-header-construct): New function.
9112 (calendar-day-header-width): Also :set calendar-day-header-array.
9113 (calendar-american-month-header, calendar-european-month-header)
9114 (calendar-iso-month-header): Use calendar- faces.
9115 (calendar-generate-month):
9116 Use calendar-day-header-array for day headers; apply faces to them.
9117 (calendar-mode): Check calendar-font-lock-keywords non-nil.
9118 (calendar-abbrev-construct): Add optional maxlen argument.
9119 (calendar-day-name-array): Doc fix.
9120 (calendar-day-name-array, calendar-abbrev-length)
9121 (calendar-day-abbrev-array):
9122 Also :set calendar-day-header-array, and maybe redraw.
9123 (calendar-day-header-array): New option. (Bug#15007)
9124 (calendar-font-lock-keywords): Set to nil and make obsolete.
9125 (calendar-day-name): Add option to use header array.
9126
9127 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9128
9129 * net/shr.el (shr-render-td): Remove debugging.
9130 (shr-render-td): Make width computation consistent by defaulting
9131 all zero-width columns to 10 characters. This may not be optimal,
9132 but it's at least consistent.
9133 (shr-make-table-1): Redo last change to fix the real problem in
9134 colspan handling.
9135
9136 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
9137
9138 * files.el (cache-long-line-scans):
9139 Make obsolete alias to `cache-long-scans'.
9140
9141 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
9142
9143 * frameset.el (frameset, frameset-filter-alist)
9144 (frameset-filter-params, frameset-save, frameset--reuse-frame)
9145 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
9146 (frameset-compute-pos): Rename from frameset--compute-pos,
9147 and add docstring.
9148 (frameset-move-onscreen): Use frameset-compute-pos.
9149 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
9150
9151 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
9152 Fix typos in docstrings.
9153
9154 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
9155
9156 * frame.el (get-other-frame): Tiny cleanup.
9157
9158 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
9159
9160 * vc/vc.el (vc-default-ignore-completion-table):
9161 Silence byte-compiler warning.
9162
9163 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
9164 slot, which can indeed be nil.
9165 (frameset-live-filter-alist, frameset-persistent-filter-alist):
9166 Move entry for `left' from persistent to live filter alist.
9167 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
9168 Doc fixes.
9169 (frameset-filter-params): When restoring a frame, copy items added to
9170 `filtered', to avoid unwittingly modifying the original parameters.
9171 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
9172 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
9173
9174 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
9175 to use looking-at-p instead of looking-at. (Bug#15028)
9176
9177 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
9178
9179 Revert introduction of isearch-filter-predicates (bug#14714).
9180 Rely on add-function instead.
9181 * isearch.el (isearch-filter-predicates): Rename it back to
9182 isearch-filter-predicate.
9183 (isearch-message-prefix): Use advice-function-mapc and advice
9184 properties to get the isearch-message-prefix.
9185 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
9186 instead of run-hook-with-args-until-failure.
9187 (isearch-filter-visible): Not obsolete any more.
9188 * loadup.el: Preload nadvice.
9189 * replace.el (perform-replace): Revert to funcall
9190 instead of run-hook-with-args-until-failure.
9191 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
9192 * dired-aux.el (dired-isearch-filenames-mode): Rename from
9193 dired-isearch-filenames-toggle; make it into a proper minor mode.
9194 Use add/remove-function.
9195 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
9196 Call the minor-mode rather than add/remove-hook.
9197 (dired-isearch-filter-filenames):
9198 Remove isearch-message-prefix property.
9199 * info.el (Info--search-loop): New function, extracted from Info-search.
9200 Funcall isearch-filter-predicate instead of
9201 run-hook-with-args-until-failure isearch-filter-predicates.
9202 (Info-search): Use it.
9203 (Info-mode): Use isearch-filter-predicate instead of
9204 isearch-filter-predicates.
9205
9206 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
9207
9208 Do not call to `selected-window' where it is assumed by default.
9209 Affected functions are `window-minibuffer-p', `window-dedicated-p',
9210 `window-hscroll', `window-width', `window-height', `window-buffer',
9211 `window-frame', `window-start', `window-point', `next-window'
9212 and `window-display-table'.
9213 * abbrev.el (abbrev--default-expand):
9214 * bs.el (bs--show-with-configuration):
9215 * buff-menu.el (Buffer-menu-mouse-select):
9216 * calc/calc.el (calc):
9217 * calendar/calendar.el (calendar-generate-window):
9218 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
9219 (diary-make-entry):
9220 * comint.el (send-invisible, comint-dynamic-complete-filename)
9221 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
9222 * completion.el (complete):
9223 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
9224 * disp-table.el (describe-current-display-table):
9225 * doc-view.el (doc-view-insert-image):
9226 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
9227 * ehelp.el (with-electric-help):
9228 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
9229 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
9230 * emacs-lisp/helper.el (Helper-help-scroller):
9231 * emulation/cua-base.el (cua--post-command-handler-1):
9232 * eshell/esh-mode.el (eshell-output-filter):
9233 * ffap.el (ffap-gnus-wrapper):
9234 * help-macro.el (make-help-screen):
9235 * hilit-chg.el (highlight-compare-buffers):
9236 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
9237 * hl-line.el (global-hl-line-highlight):
9238 * icomplete.el (icomplete-simple-completing-p):
9239 * isearch.el (isearch-done):
9240 * jit-lock.el (jit-lock-stealth-fontify):
9241 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
9242 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
9243 * mpc.el (mpc-tagbrowser, mpc):
9244 * net/rcirc.el (rcirc-any-buffer):
9245 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
9246 * play/landmark.el (landmark-max-width, landmark-max-height):
9247 * play/zone.el (zone):
9248 * progmodes/compile.el (compilation-goto-locus):
9249 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
9250 * progmodes/etags.el (find-tag-other-window):
9251 * progmodes/fortran.el (fortran-column-ruler):
9252 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
9253 * progmodes/verilog-mode.el (verilog-point-text):
9254 * reposition.el (reposition-window):
9255 * rot13.el (toggle-rot13-mode):
9256 * server.el (server-switch-buffer):
9257 * shell.el (shell-dynamic-complete-command)
9258 (shell-dynamic-complete-environment-variable):
9259 * simple.el (insert-buffer, set-selective-display)
9260 (delete-completion-window):
9261 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
9262 (speedbar-recenter):
9263 * startup.el (fancy-splash-head):
9264 * textmodes/ispell.el (ispell-command-loop):
9265 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
9266 * tutorial.el (help-with-tutorial):
9267 * vc/add-log.el (add-change-log-entry):
9268 * vc/compare-w.el (compare-windows):
9269 * vc/ediff-help.el (ediff-indent-help-message):
9270 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
9271 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
9272 (ediff-setup-control-frame):
9273 * vc/emerge.el (emerge-position-region):
9274 * vc/pcvs-util.el (cvs-bury-buffer):
9275 * window.el (walk-windows, mouse-autoselect-window-select):
9276 * winner.el (winner-set-conf, winner-undo): Related users changed.
9277
9278 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
9279
9280 * frameset.el (frameset--set-id): Doc fix.
9281 (frameset-frame-id, frameset-frame-id-equal-p)
9282 (frameset-locate-frame-id): New functions.
9283 (frameset--process-minibuffer-frames, frameset--reuse-frame)
9284 (frameset-restore): Use them.
9285
9286 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
9287
9288 Do not call to `selected-frame' where it is assumed by default.
9289 Affected functions are `raise-frame', `redraw-frame',
9290 `frame-first-window', `frame-terminal' and `delete-frame'.
9291 * calendar/appt.el (appt-disp-window):
9292 * epg.el (epg-wait-for-completion):
9293 * follow.el (follow-delete-other-windows-and-split)
9294 (follow-avoid-tail-recenter):
9295 * international/mule.el (set-terminal-coding-system):
9296 * mail/rmail.el (rmail-mail-return):
9297 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
9298 * progmodes/f90.el (f90-add-imenu-menu):
9299 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
9300 * server.el (server-switch-buffer):
9301 * simple.el (delete-completion-window):
9302 * talk.el (talk):
9303 * term/xterm.el (terminal-init-xterm-modify-other-keys)
9304 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
9305 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
9306 * vc/ediff.el (ediff-documentation): Related users changed.
9307 * frame.el (selected-terminal): Remove the leftover.
9308
9309 2013-08-05 Glenn Morris <rgm@gnu.org>
9310
9311 * calendar/calendar.el (calendar-generate-month):
9312 Fix for calendar-column-width != 1 + calendar-day-digit-width.
9313 (calendar-generate-month, calendar-font-lock-keywords):
9314 Fix for calendar-day-header-width > length of any day name.
9315
9316 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
9317
9318 * desktop.el (desktop-clear): Use new name of sort predicate.
9319
9320 * frameset.el (frameset): Add docstring. Move :version property to its
9321 own `version' slot.
9322 (frameset-copy): Rename from copy-frameset.
9323 (frameset-p): Check more thoroughly.
9324 (frameset-prop): Do not check for :version, which is no longer a prop.
9325 (frameset-live-filter-alist, frameset-persistent-filter-alist):
9326 Use new :never value instead of t.
9327 (frameset-filter-alist): Expand and clarify docstring.
9328 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
9329 (frameset-filter-minibuffer, frameset-filter-save-param)
9330 (frameset-filter-restore-param, frameset-filter-iconified):
9331 Add pointer to docstring of frameset-filter-alist.
9332 (frameset-filter-params): Rename filter values to be more meaningful:
9333 :never instead of t, and reverse the meanings of :save and :restore.
9334 (frameset--process-minibuffer-frames): Clarify error message.
9335 (frameset-save): Avoid unnecessary and confusing call to framep.
9336 Use new BOA constructor for framesets.
9337 (frameset--reuse-list): Doc fix.
9338 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
9339 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
9340 (frameset-minibufferless-first-p): Doc fix.
9341 Rename from frameset-sort-frames-for-deletion.
9342 (frameset-restore): Doc fixes. Use new function names.
9343 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
9344
9345 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
9346
9347 * desktop.el (desktop-restore-forces-onscreen)
9348 (desktop-restore-reuses-frames): Document :keyword constant values.
9349 (desktop-filter-parameters-alist): Remove, now identical to
9350 frameset-filter-alist.
9351 (desktop--filter-tty*): Remove, moved to frameset.el.
9352 (desktop-save-frameset, desktop-restore-frameset):
9353 Do not pass :filters argument.
9354
9355 * frameset.el (frameset-live-filter-alist)
9356 (frameset-persistent-filter-alist): New variables.
9357 (frameset-filter-alist): Use them. Add autoload cookie.
9358 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
9359 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
9360 `frameset--id' (it's supposed to be internal to frameset.el).
9361 (frameset--process-minibuffer-frames): Ditto. Doc fix.
9362 (frameset--initial-params): New function.
9363 (frameset--get-frame): Use it. Doc fix.
9364 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
9365 Accept :all, not 'all.
9366 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
9367 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
9368 with fbound symbols. Fix frame id matching, and remove matching ids if
9369 the frame being restored is deleted. Obey :delete.
9370
9371 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
9372
9373 * subr.el (macrop): New function.
9374 (text-clone--maintaining): New var.
9375 (text-clone--maintain): Rename from text-clone-maintain. Use it
9376 instead of inhibit-modification-hooks.
9377
9378 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
9379 a proxy, so as handle autoloads and redefinitions of the target.
9380 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
9381
9382 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
9383 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
9384 (pcase--mutually-exclusive-p): New function.
9385 (pcase--split-consp): Use it.
9386 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
9387 mutually exclusive with the current predicate.
9388
9389 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
9390 (edebug-macrop): Remove. Use `macrop' instead.
9391 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
9392 (ad-macro-p):
9393 * eshell/esh-cmd.el (eshell-macrop):
9394 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
9395
9396 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
9397
9398 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
9399 (advice-mapc): New function, using it.
9400 (advice-function-member-p): New function.
9401 (advice--normalize): Store the cdr in advice--saved-rewrite since
9402 that's the part that will be changed.
9403 (advice--symbol-function): New function.
9404 (advice-remove): Handle removal before the function is defined.
9405 Adjust to new advice--saved-rewrite.
9406 (advice-member-p): Use advice-function-member-p and
9407 advice--symbol-function.
9408
9409 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
9410
9411 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
9412 (frameset-filter-minibuffer): Doc fix.
9413 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
9414 (frameset--set-id, frameset--process-minibuffer-frames)
9415 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
9416 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
9417
9418 * desktop.el (desktop-clear): Only delete frames when called
9419 interactively and desktop-restore-frames is non-nil. Doc fix.
9420 (desktop-read): Set desktop-saved-frameset to nil.
9421
9422 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
9423
9424 * vc/vc.el (vc-ignore): Rewrite.
9425 (vc-default-ignore-completion-table, vc--read-lines)
9426 (vc--add-line, vc--remove-regexp): New functions.
9427
9428 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
9429 (vc-svn-ignore-completion-table): New function.
9430
9431 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
9432 (vc-hg-ignore-completion-table)
9433 (vc-hg-find-ignore-file): New functions.
9434
9435 * vc/vc-git.el (vc-git-ignore): Rewrite.
9436 (vc-git-ignore-completion-table)
9437 (vc-git-find-ignore-file): New functions.
9438
9439 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
9440
9441 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
9442 (vc-bzr-ignore-completion-table)
9443 (vc-bzr-find-ignore-file): New functions.
9444
9445 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
9446
9447 * frameset.el (frameset-prop): New function and setter.
9448 (frameset-save): Do not modify frame list passed by the caller.
9449
9450 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9451
9452 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
9453
9454 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
9455
9456 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
9457 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
9458
9459 * custom.el (custom-initialize-default, custom-initialize-set)
9460 (custom-initialize-reset, custom-initialize-changed): Affect the
9461 toplevel-default-value (bug#6275, bug#14586).
9462 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
9463 for bug#6275.
9464
9465 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
9466
9467 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
9468 Add cl-def* expressions.
9469
9470 * frameset.el (frameset-filter-params): Fix order of arguments.
9471
9472 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
9473
9474 Move code related to saving frames to frameset.el.
9475 * desktop.el: Require frameset.
9476 (desktop-restore-frames): Doc fix.
9477 (desktop-restore-reuses-frames): Rename from
9478 desktop-restoring-reuses-frames.
9479 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
9480 (desktop-clear): Clear frames too.
9481 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
9482 (desktop--filter-tty*, desktop-save, desktop-read):
9483 Use frameset functions.
9484 (desktop-before-saving-frames-functions, desktop--filter-*-color)
9485 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
9486 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
9487 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
9488 (desktop--process-minibuffer-frames, desktop-save-frames)
9489 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
9490 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
9491 (desktop--sort-states, desktop-restoring-frames-p)
9492 (desktop-restore-frames): Remove. Most code moved to frameset.el.
9493 (desktop-restoring-frameset-p, desktop-restore-frameset)
9494 (desktop--check-dont-save, desktop-save-frameset): New functions.
9495 (desktop--app-id): New constant.
9496 (desktop-first-buffer, desktop-buffer-ok-count)
9497 (desktop-buffer-fail-count): Move before first use.
9498 * frameset.el: New file.
9499
9500 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
9501
9502 * files.el: Use lexical-binding.
9503 (dir-locals-read-from-file): Remove unused `err' variable.
9504 (hack-dir-local-variables--warned-coding): New var.
9505 (hack-dir-local-variables): Use it to avoid repeated warnings.
9506 (make-backup-file-name--default-function): New function.
9507 (make-backup-file-name-function): Use it as default.
9508 (buffer-stale--default-function): New function.
9509 (buffer-stale-function): Use it as default.
9510 (revert-buffer-insert-file-contents--default-function): New function.
9511 (revert-buffer-insert-file-contents-function): Use it as default.
9512 (insert-directory): Avoid add-to-list.
9513
9514 * autorevert.el (auto-revert-handler): Simplify.
9515 Use buffer-stale--default-function.
9516
9517 2013-08-01 Tassilo Horn <tsdh@gnu.org>
9518
9519 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
9520
9521 * whitespace.el (whitespace-ensure-local-variables): New function.
9522 (whitespace-cleanup-region): Call it.
9523 (whitespace-turn-on): Call it.
9524
9525 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
9526
9527 Complete file name handlers.
9528
9529 * net/tramp.el (tramp-handle-set-visited-file-modtime)
9530 (tramp-handle-verify-visited-file-modtime)
9531 (tramp-handle-file-notify-rm-watch): New functions.
9532 (tramp-call-process): Do not bind `default-directory'.
9533
9534 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9535 Order alphabetically.
9536 <access-file, add-name-to-file, dired-call-process>:
9537 <dired-compress-file, file-acl, file-notify-rm-watch>:
9538 <file-ownership-preserved-p, file-selinux-context>:
9539 <make-directory-internal, make-symbolic-link, set-file-acl>:
9540 <set-file-selinux-context, set-visited-file-modtime>:
9541 <verify-visited-file-modtime>: Add handler.
9542 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
9543
9544 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
9545 <file-notify-add-watch, file-notify-rm-watch>:
9546 <set-file-times, set-visited-file-modtime>:
9547 <verify-visited-file-modtime>: Add handler.
9548 (with-tramp-gvfs-error-message)
9549 (tramp-gvfs-handle-set-visited-file-modtime)
9550 (tramp-gvfs-fuse-file-name): Remove.
9551 (tramp-gvfs-handle-file-notify-add-watch)
9552 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
9553 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
9554
9555 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9556 Order alphabetically.
9557 <file-notify-rm-watch>: Use default Tramp handler.
9558 <executable-find>: Remove private handler.
9559 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
9560 `default-directory'.
9561 (tramp-sh-handle-executable-find)
9562 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
9563 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9564 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
9565 Do not use `format' in `tramp-message'.
9566
9567 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
9568 <file-notify-rm-watch, set-visited-file-modtime>:
9569 <verify-visited-file-modtime>: Add handler.
9570 (tramp-smb-call-winexe): Do not bind `default-directory'.
9571
9572 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
9573
9574 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
9575
9576 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
9577
9578 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
9579 use it.
9580 (log-view-diff-changeset): Same.
9581 (log-view-diff-common): Call backend command `previous-revision'
9582 to find out the previous revision, in both cases. Swap the
9583 variables `to' and `fr', so that `fr' usually refers to the
9584 earlier revision (Bug#14989).
9585
9586 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
9587
9588 * ibuf-ext.el (ibuffer-filter-by-filename):
9589 Make it work with dired buffers too.
9590
9591 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
9592
9593 * emacs-lisp/re-builder.el (reb-color-display-p):
9594 * files.el (save-buffers-kill-terminal):
9595 * net/browse-url.el (browse-url):
9596 * server.el (server-save-buffers-kill-terminal):
9597 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
9598 Prefer nil to selected-frame for the first arg of frame-parameter.
9599
9600 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
9601
9602 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
9603
9604 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
9605
9606 * minibuffer.el (completion--twq-all): Try and preserve each
9607 completion's case choice (bug#14907).
9608
9609 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9610
9611 * net/network-stream.el (open-network-stream): Mention the new
9612 :nogreeting parameter.
9613 (network-stream-open-starttls): Use the :nogreeting parameter
9614 (bug#14938).
9615
9616 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
9617
9618 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
9619 more natural than popping.
9620
9621 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
9622 (shr-urlify): Highlight under mouse.
9623
9624 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
9625
9626 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
9627
9628 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
9629
9630 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
9631 buffer for output.
9632
9633 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
9634 point-min==1. Fix search string. Fix parentheses missing.
9635
9636 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
9637 assume point-min==1. Fix search string. Fix parentheses missing.
9638
9639 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
9640
9641 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
9642 buffer for output.
9643
9644 2013-07-29 Eli Zaretskii <eliz@gnu.org>
9645
9646 * frame.el (frame-notice-user-settings): Avoid inflooping when the
9647 initial frame is minibuffer-less. (Bug#14841)
9648
9649 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
9650
9651 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
9652 option.
9653
9654 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
9655 (tramp-maybe-open-connection): Use it.
9656
9657 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
9658
9659 * desktop.el (desktop--make-frame): Include `minibuffer' in the
9660 minimal set of parameters passed when creating a frame, because
9661 the minibuffer status of a frame cannot be changed later.
9662
9663 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
9664
9665 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
9666 replace-regexp-in-string and inadvertent omissions in previous change.
9667 (todo-filter-items): Ensure only file names are comma-separated in
9668 name of filtered items buffer.
9669
9670 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
9671
9672 * desktop.el: Optionally force offscreen frames back onscreen.
9673 (desktop-restoring-reuses-frames): New option.
9674 (desktop--compute-pos, desktop--move-onscreen): New functions.
9675 (desktop--make-frame): Use desktop--move-onscreen.
9676
9677 2013-07-27 Alan Mackenzie <acm@muc.de>
9678
9679 Fontify a Java generic method as a function.
9680 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
9681 value to t.
9682
9683 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
9684
9685 * calendar/todo-mode.el: Add command to rename todo files.
9686 (todo-rename-file): New command.
9687 (todo-key-bindings-t): Add key binding for it. Change the
9688 bindings of todo-filter-regexp-items(-multifile) to use `x'
9689 instead of `r', since the latter is better suited to the new
9690 renaming command.
9691
9692 2013-07-27 Alan Mackenzie <acm@muc.de>
9693
9694 Make Java try-with-resources statement parse properly.
9695 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
9696 (c-block-stmt-1-2-key): New language constants/variables.
9697 * progmodes/cc-engine.el (c-beginning-of-statement-1)
9698 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
9699 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
9700 with c-block-stmt-1-2-key.
9701
9702 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
9703
9704 * desktop.el (desktop--make-frame): Apply most frame parameters after
9705 creating the frame to force (partially or totally) offscreen frames to
9706 be restored as such.
9707
9708 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
9709
9710 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
9711 (Bug#14948)
9712
9713 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9714
9715 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
9716 `base' arg of backtrace-frame.
9717
9718 2013-07-26 Eli Zaretskii <eliz@gnu.org>
9719
9720 * simple.el (list-processes): Doc fix.
9721
9722 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
9723
9724 * desktop.el (desktop--select-frame):
9725 Try harder to reuse existing frames.
9726
9727 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9728
9729 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
9730 (edebug-eval): Use backtrace-eval.
9731 (edebug--display, edebug--recursive-edit): Don't let-bind the
9732 edebug-outer-* vars that keep track of variables we locally let-bind.
9733 (edebug-outside-excursion): Don't restore outside values of locally
9734 let-bound vars.
9735 (edebug--display): Use user-error.
9736 (cl-lexical-debug, cl-debug-env): Remove.
9737
9738 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
9739
9740 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
9741 are restored to be sure that they are visible before deleting any
9742 remaining ones.
9743
9744 2013-07-26 Matthias Meulien <orontee@gmail.com>
9745
9746 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
9747 vc-print-root-log. (Bug#14948)
9748
9749 2013-07-26 Richard Stallman <rms@gnu.org>
9750
9751 Add aliases for encrypting mail.
9752 * epa.el (epa-mail-aliases): New option.
9753 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
9754 Bind inhibit-read-only so read-only text doesn't ruin everything.
9755 (epa-mail-default-recipients): New subroutine broken out.
9756 Handle epa-mail-aliases.
9757
9758 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9759
9760 Add support for lexical variables to the debugger's `e' command.
9761 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
9762 vars, except for debugger-outer-match-data.
9763 (debugger-frame-number): Move check for "on a function call" from
9764 callers into it. Add `skip-base' argument.
9765 (debugger-frame, debugger-frame-clear): Simplify accordingly.
9766 (debugger-env-macro): Only reset the state stored in non-variables,
9767 i.e. current-buffer and match-data.
9768 (debugger-eval-expression): Rewrite using backtrace-eval.
9769 * subr.el (internal--called-interactively-p--get-frame): Remove.
9770 (called-interactively-p):
9771 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
9772 `base' arg of backtrace-frame instead.
9773
9774 2013-07-26 Glenn Morris <rgm@gnu.org>
9775
9776 * align.el (align-regexp): Doc fix. (Bug#14857)
9777 (align-region): Explicit error if subexpression missing/does not match.
9778
9779 * simple.el (global-visual-line-mode):
9780 Do not duplicate the mode lighter. (Bug#14858)
9781
9782 2013-07-25 Martin Rudalics <rudalics@gmx.at>
9783
9784 * window.el (display-buffer): In display-buffer bind
9785 split-window-keep-point to t, bug#14829.
9786
9787 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
9788
9789 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
9790 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
9791 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
9792 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
9793 Change accordingly.
9794 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
9795 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
9796
9797 2013-07-25 Glenn Morris <rgm@gnu.org>
9798
9799 * dired-x.el (dired-mark-extension): Convert comment to doc string.
9800
9801 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
9802
9803 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
9804 parameter to modify-frame-parameters if the value has not changed;
9805 this is a workaround for bug#14949.
9806 (desktop--make-frame): On cl-delete-if call, check parameter name,
9807 not full parameter.
9808
9809 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
9810
9811 * vc/vc.el (vc-ignore): New function.
9812
9813 * vc/vc-svn.el (vc-svn-ignore): New function.
9814
9815 * vc/vc-hg.el (vc-hg-ignore): New function.
9816
9817 * vc/vc-git.el (vc-git-ignore): New function.
9818
9819 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
9820 (vc-dir-ignore): New function.
9821
9822 * vc/vc-cvs.el (vc-cvs-ignore): New function.
9823 (cvs-append-to-ignore): Move here from pcvs.el.
9824
9825 * vc/vc-bzr.el (vc-bzr-ignore): New function.
9826
9827 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
9828
9829 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
9830
9831 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
9832 (desktop-restore-frames): Warn when deleting an existing frame failed.
9833
9834 2013-07-24 Glenn Morris <rgm@gnu.org>
9835
9836 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
9837
9838 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
9839
9840 * filenotify.el (file-notify-supported-p):
9841 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
9842 Remove functions.
9843
9844 * autorevert.el (auto-revert-use-notify)
9845 (auto-revert-notify-add-watch):
9846 * net/tramp.el (tramp-file-name-for-operation):
9847 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9848 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9849 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9850 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
9851 Remove `file-notify-supported-p' entry.
9852
9853 2013-07-24 Glenn Morris <rgm@gnu.org>
9854
9855 * printing.el: Replace all uses of deleted ps-windows-system,
9856 ps-lp-system, ps-flatten-list with lpr- versions.
9857
9858 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
9859
9860 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
9861 checked with memq (bug#14935).
9862
9863 * files.el (revert-buffer-function): Use a non-nil default.
9864 (revert-buffer-preserve-modes): Declare var to
9865 provide access to the `preserve-modes' argument.
9866 (revert-buffer): Let-bind it.
9867 (revert-buffer--default): New function, extracted from revert-buffer.
9868
9869 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
9870
9871 * lpr.el: Signal print errors more prominently.
9872 (print-region-function): Don't default to nil.
9873 (lpr-print-region): New function, extracted from print-region-1.
9874 Check lpr's return value and signal an error in case of problem.
9875 (print-region-1): Use it.
9876 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
9877 versions instead.
9878 (ps-printer-name): Default to nil.
9879 (ps-printer-name-option): Default to lpr-printer-switch.
9880 (ps-print-region-function): Don't default to nil.
9881 (ps-postscript-code-directory): Simplify default.
9882 (ps-do-despool): Use lpr-print-region to properly check the outcome.
9883 (ps-string-list, ps-eval-switch, ps-flatten-list)
9884 (ps-flatten-list-1): Remove.
9885 (ps-multibyte-buffer): Avoid setq.
9886 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
9887 (print-region-function, ps-print-region-function): Don't set them here.
9888
9889 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
9890
9891 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
9892 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
9893 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
9894 (ido-decorations): Doc fix.
9895
9896 * ansi-color.el: Fix old URL.
9897
9898 2013-07-23 Michael R. Mauger <michael@mauger.com>
9899
9900 * progmodes/sql.el: Version 3.3
9901 (sql-product-alist): Improve oracle :prompt-cont-regexp.
9902 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
9903 (sql-interactive-remove-continuation-prompt): Rewrite, use
9904 functions above. Fix continuation prompt and complete output line
9905 handling.
9906 (sql-redirect-one, sql-execute): Use `read-only-mode' on
9907 redirected output buffer.
9908 (sql-mode): Restore deleted code (Bug#13591).
9909
9910 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
9911
9912 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
9913
9914 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
9915
9916 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
9917
9918 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9919 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9920 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
9921
9922 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
9923
9924 * desktop.el (desktop-clear): Simplify; remove useless checks
9925 against invalid buffer names.
9926 (desktop-list*): Use cl-list*.
9927 (desktop-buffer-info, desktop-create-buffer): Simplify.
9928
9929 2013-07-23 Leo Liu <sdl.web@gmail.com>
9930
9931 * bookmark.el (bookmark-make-record): Restore NAME as a default
9932 value. (Bug#14933)
9933
9934 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
9935
9936 * emacs-lisp/autoload.el (autoload--setup-output): New function,
9937 extracted from autoload--insert-text.
9938 (autoload--insert-text): Remove.
9939 (autoload--print-cookie-text): New function, extracted from
9940 autoload--insert-cookie-text.
9941 (autoload--insert-cookie-text): Remove.
9942 (autoload-generate-file-autoloads): Adjust calls accordingly.
9943
9944 * winner.el (winner-hook-installed-p): Remove.
9945 (winner-mode): Simplify accordingly.
9946
9947 * subr.el (add-to-list): Fix compiler-macro when `append' is
9948 not constant. Don't use `cl-member' for the base case.
9949
9950 * progmodes/subword.el: Fix boundary case (bug#13758).
9951 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
9952 own group.
9953 (subword-backward-regexp): Make it a constant.
9954 (subword-forward-internal): Don't treat a trailing capital as the
9955 beginning of a word.
9956
9957 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
9958
9959 * emacs-lisp/package.el (package-menu-mode): Don't modify the
9960 global value of tabulated-list-revert-hook (bug#14930).
9961
9962 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
9963
9964 * desktop.el: Require 'cl-lib.
9965 (desktop-before-saving-frames-functions): New hook.
9966 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
9967 for frames being saved. Rename from desktop--save-minibuffer-frames.
9968 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
9969 Do not save frames with non-nil `desktop-dont-save' parameter.
9970 Filter out deleted frames.
9971 (desktop--find-frame): Use cl-find-if.
9972 (desktop--select-frame): Use cl-(first|second|third) to access values
9973 of desktop-mini.
9974 (desktop--make-frame): Use cl-delete-if.
9975 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
9976 (desktop-restore-frames): Use cl-(first|second|third) to access values
9977 of desktop-mini. Look for visible frame at the end, not while
9978 restoring frames.
9979
9980 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
9981 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
9982 Use string-match-p, looking-at-p (bug#14927).
9983
9984 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
9985
9986 * desktop.el (desktop-saved-frame-states):
9987 Rename from desktop--saved-states; all users changed.
9988 (desktop-save-frames): Rename from desktop--save-frames.
9989 Do not save state to desktop file.
9990 (desktop-save): Save desktop-saved-frame-states to desktop file
9991 and reset to nil.
9992 (desktop-restoring-frames-p): New function.
9993 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
9994 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
9995 buffer-lists when restoring frames. Suggested by Martin Rudalics.
9996
9997 * desktop.el: Correctly restore iconified frames.
9998 (desktop--filter-iconified-position): New function.
9999 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
10000
10001 2013-07-20 Glenn Morris <rgm@gnu.org>
10002
10003 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
10004 Let `message' do the formatting.
10005 (def-gdb-preempt-display-buffer): Add explicit format.
10006
10007 * image-dired.el (image-dired-track-original-file):
10008 Use with-current-buffer.
10009 (image-dired-track-thumbnail): Use with-current-buffer.
10010 Avoid changing point of wrong window.
10011
10012 * image-dired.el (image-dired-track-original-file):
10013 Avoid changing point of wrong window. (Bug#14909)
10014
10015 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
10016
10017 * progmodes/gdb-mi.el (gdb-done-or-error):
10018 Guard against "%" in gdb output. (Bug#14127)
10019
10020 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
10021
10022 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
10023 (Bug#14826)
10024
10025 * international/mule.el (coding-system-iso-2022-flags): Fix last
10026 change.
10027
10028 2013-07-20 Kenichi Handa <handa@gnu.org>
10029
10030 * international/mule.el (coding-system-iso-2022-flags):
10031 Add `8-bit-level-4'. (Bug#8522)
10032
10033 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10034
10035 * net/shr.el (shr-mouse-browse-url): New command and keystroke
10036 (bug#14815).
10037
10038 * net/eww.el (eww-process-text-input): Allow inputting when the
10039 point is at the start of the line, as the properties aren't
10040 front-sticky.
10041
10042 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
10043 degenerate widths.
10044
10045 2013-07-19 Richard Stallman <rms@gnu.org>
10046
10047 * epa.el (epa-popup-info-window): Doc fix.
10048
10049 * subr.el (split-string): New arg TRIM.
10050
10051 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
10052
10053 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
10054 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
10055
10056 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
10057
10058 * filenotify.el (file-notify--library): Rename from
10059 `file-notify-support'. Do not autoload. Adapt all uses.
10060 (file-notify-supported-p): New defun.
10061
10062 * autorevert.el (auto-revert-use-notify):
10063 Use `file-notify-supported-p' instead of `file-notify-support'.
10064 Adapt docstring.
10065 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
10066
10067 * net/tramp.el (tramp-file-name-for-operation):
10068 Add `file-notify-supported-p'.
10069
10070 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
10071 New defun.
10072 (tramp-sh-file-name-handler-alist): Add it as handler for
10073 `file-notify-supported-p '.
10074
10075 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10076 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10077 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
10078 Add `ignore' as handler for `file-notify-*' functions.
10079
10080 2013-07-17 Eli Zaretskii <eliz@gnu.org>
10081
10082 * simple.el (line-move-partial, line-move): Don't start vscroll or
10083 scroll-up if the current line is not taller than the window.
10084 (Bug#14881)
10085
10086 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
10087
10088 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
10089 highlight question marks in the method names as strings.
10090 (ruby-block-beg-keywords): Inline.
10091 (ruby-font-lock-keyword-beg-re): Extract from
10092 `ruby-font-lock-keywords'.
10093
10094 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
10095
10096 * frame.el (blink-cursor-blinks): New defcustom.
10097 (blink-cursor-blinks-done): New defvar.
10098 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
10099 (blink-cursor-timer-function): Check if number of blinks has been
10100 done on X and NS.
10101 (blink-cursor-suspend, blink-cursor-check): New defuns.
10102
10103 2013-07-15 Glenn Morris <rgm@gnu.org>
10104
10105 * edmacro.el (edmacro-format-keys): Fix previous change.
10106
10107 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
10108
10109 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
10110 The hack didn't work outside English locales anyway.
10111
10112 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
10113
10114 * simple.el (define-alternatives): Rename from alternatives-define,
10115 per RMS' suggestion.
10116
10117 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
10118
10119 * desktop.el (desktop-restore-frames): Change default to t.
10120 (desktop-restore-in-current-display): Now offer more options.
10121 (desktop-restoring-reuses-frames): New customization option.
10122 (desktop--saved-states): Doc fix.
10123 (desktop-filter-parameters-alist): New variable, renamed and expanded
10124 from desktop--excluded-frame-parameters.
10125 (desktop--target-display): New variable.
10126 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
10127 (desktop--filter-tty*, desktop--filter-*-color)
10128 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
10129 (desktop--filter-save-desktop-parm)
10130 (desktop-restore-in-original-display-p): New functions.
10131 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
10132 (desktop--save-minibuffer-frames): New function, inspired by a similar
10133 function from Martin Rudalics.
10134 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
10135 (desktop--restore-in-this-display-p): Remove.
10136 (desktop--find-frame): Rename from desktop--find-frame-in-display
10137 and add predicate argument.
10138 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
10139 (desktop--reuse-list): New variable.
10140 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
10141 New functions.
10142 (desktop--restore-frames): Add support for "minibuffer-special" frames.
10143
10144 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
10145
10146 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
10147
10148 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
10149
10150 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
10151 Highlight conversion methods on Kernel.
10152
10153 2013-07-13 Alan Mackenzie <acm@muc.de>
10154
10155 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
10156 and comment it out. This out-commenting enables certain C++
10157 declarations to be parsed correctly.
10158
10159 2013-07-13 Eli Zaretskii <eliz@gnu.org>
10160
10161 * international/mule.el (define-coding-system): Doc fix.
10162
10163 * simple.el (default-font-height): Don't call font-info if the
10164 frame's default font didn't change since the frame was created.
10165 (Bug#14838)
10166
10167 2013-07-13 Leo Liu <sdl.web@gmail.com>
10168
10169 * ido.el (ido-read-file-name): Guard against non-symbol value.
10170
10171 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
10172
10173 * progmodes/python.el (python-imenu--build-tree): Fix corner case
10174 in nested defuns.
10175
10176 2013-07-13 Leo Liu <sdl.web@gmail.com>
10177
10178 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
10179 ido-set-matches call. (Bug#6852)
10180
10181 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
10182
10183 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
10184 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
10185 Ruby 2.0.
10186 (ruby-font-lock-keywords): Distinguish calls to functions with
10187 module-like names from module references. Highlight character
10188 literals.
10189
10190 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
10191
10192 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
10193 (gdb-send): Handle continued commands. (Bug#14847)
10194
10195 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
10196
10197 * desktop.el (desktop--v2s): Remove unused local variable.
10198 (desktop-save-buffer): Make defvar-local; adjust docstring.
10199 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
10200 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
10201
10202 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
10203
10204 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
10205
10206 2013-07-12 Eli Zaretskii <eliz@gnu.org>
10207
10208 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
10209 (Bug#14842)
10210
10211 2013-07-12 Glenn Morris <rgm@gnu.org>
10212
10213 * doc-view.el: Require cl-lib at runtime too.
10214 (doc-view-remove-if): Remove.
10215 (doc-view-search-next-match, doc-view-search-previous-match):
10216 Use cl-remove-if.
10217
10218 * edmacro.el: Require cl-lib at runtime too.
10219 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
10220 (edmacro-mismatch, edmacro-subseq): Remove.
10221
10222 * shadowfile.el: Require cl-lib.
10223 (shadow-remove-if): Remove.
10224 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
10225 Use cl-remove-if.
10226
10227 * wid-edit.el: Require cl-lib.
10228 (widget-choose): Use cl-remove-if.
10229 (widget-remove-if): Remove.
10230
10231 * progmodes/ebrowse.el: Require cl-lib at runtime too.
10232 (ebrowse-delete-if-not): Remove.
10233 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
10234 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
10235 Use cl-delete-if-not.
10236
10237 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
10238
10239 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
10240 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
10241
10242 2013-07-12 Leo Liu <sdl.web@gmail.com>
10243
10244 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
10245
10246 2013-07-11 Glenn Morris <rgm@gnu.org>
10247
10248 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
10249 (edebug-gensym-index, edebug-gensym):
10250 Remove reimplementation of cl-gensym.
10251 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
10252
10253 * thumbs.el: Require cl-lib at run-time too.
10254 (thumbs-gensym-counter, thumbs-gensym):
10255 Remove reimplementation of cl-gensym.
10256 (thumbs-temp-file): Use cl-gensym.
10257
10258 * emacs-lisp/ert.el: Require cl-lib at runtime too.
10259 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
10260 (ert--intersection, ert--set-difference, ert--set-difference-eq)
10261 (ert--union, ert--gensym-counter, ert--gensym-counter)
10262 (ert--coerce-to-vector, ert--remove*, ert--string-position)
10263 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
10264 (ert-make-test-unbound, ert--expand-should-1)
10265 (ert--expand-should, ert--should-error-handle-error)
10266 (should-error, ert--explain-equal-rec)
10267 (ert--plist-difference-explanation, ert-select-tests)
10268 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
10269 Use cl-lib functions rather than reimplementations.
10270
10271 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
10272
10273 * net/tramp.el (tramp-methods): Extend docstring.
10274 (tramp-connection-timeout): New defcustom.
10275 (tramp-error-with-buffer): Reset timestamp only when appropriate.
10276 (with-tramp-progress-reporter): Simplify.
10277 (tramp-process-actions): Improve messages.
10278
10279 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10280 * net/tramp-sh.el (tramp-maybe-open-connection):
10281 Use `tramp-connection-timeout'.
10282 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
10283 (Bug#14808)
10284
10285 2013-07-11 Leo Liu <sdl.web@gmail.com>
10286
10287 * ido.el (ido-read-file-name): Conform to the requirements of
10288 read-file-name. (Bug#11861)
10289 (ido-read-directory-name): Conform to the requirements of
10290 read-directory-name.
10291
10292 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
10293
10294 * subr.el (delay-warning): New function.
10295
10296 2013-07-10 Eli Zaretskii <eliz@gnu.org>
10297
10298 * simple.el (default-line-height): New function.
10299 (line-move-partial, line-move): Use it instead of computing the
10300 line height inline.
10301 (line-move-partial): Always compute ROWH. If the last line is
10302 partially-visible, but its text is completely visible, allow
10303 cursor to enter such a partially-visible line.
10304
10305 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
10306
10307 Improve error messages. (Bug#14808)
10308
10309 * net/tramp.el (tramp-current-connection): New defvar, moved from
10310 tramp-sh.el.
10311 (tramp-message-show-progress-reporter-message): Remove, not
10312 needed anymore.
10313 (tramp-error-with-buffer): Show message in minibuffer.
10314 Discard input before waiting. Reset connection timestamp.
10315 (with-tramp-progress-reporter): Improve messages.
10316 (tramp-process-actions): Use progress reporter. Delete process in
10317 case of error. Improve messages.
10318
10319 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
10320 Call `tramp-error-with-buffer' with vector and buffer.
10321 (tramp-current-connection): Remove.
10322 (tramp-maybe-open-connection): The car of
10323 `tramp-current-connection' are the first 3 slots of the vector.
10324
10325 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
10326
10327 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
10328 inside continued strings.
10329
10330 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
10331
10332 Timestamp fixes for undo (Bug#14824).
10333 * files.el (clear-visited-file-modtime): Move here from fileio.c.
10334
10335 2013-07-10 Leo Liu <sdl.web@gmail.com>
10336
10337 * files.el (require-final-newline): Allow safe local value.
10338 (Bug#14834)
10339
10340 2013-07-09 Leo Liu <sdl.web@gmail.com>
10341
10342 * ido.el (ido-read-directory-name): Handle fallback.
10343 (ido-read-file-name): Update DIR to ido-current-directory.
10344 (Bug#1516)
10345 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
10346
10347 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
10348
10349 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
10350 "autoload". Remove "warn lower camel case" section, previously
10351 commented out. Highlight negation char. Do not highlight the
10352 target in singleton method definitions.
10353
10354 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
10355
10356 * faces.el (tty-setup-hook): Declare the hook.
10357
10358 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
10359 and detect when a guard/pred depends on local vars (bug#14773).
10360 (pcase--u1): Adjust caller.
10361
10362 2013-07-08 Eli Zaretskii <eliz@gnu.org>
10363
10364 * simple.el (line-move-partial, line-move): Account for
10365 line-spacing.
10366 (line-move-partial): Avoid setting vscroll when the last
10367 partially-visible line in window is of default height.
10368
10369 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
10370
10371 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
10372 been used a while.
10373
10374 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
10375
10376 * subr.el (read-quoted-char): Remove unused local variable `char'.
10377
10378 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
10379
10380 * ediff.el (ediff-version): Version update.
10381 (ediff-files-command, ediff3-files-command, ediff-merge-command)
10382 (ediff-merge-with-ancestor-command, ediff-directories-command)
10383 (ediff-directories3-command, ediff-merge-directories-command)
10384 (ediff-merge-directories-with-ancestor-command): New functions.
10385 All are command-line interfaces to ediff: to facilitate calling
10386 Emacs with the appropriate ediff functions invoked.
10387
10388 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
10389 (viper-save-kill-buffer): Check if buffer is modified.
10390
10391 * viper.el (viper-version): Version update.
10392 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
10393
10394 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
10395
10396 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
10397 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
10398 (viper-intercept-ESC-key): Simplify.
10399 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
10400 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
10401 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
10402 (viper-setup-ESC-to-escape): New functions.
10403 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
10404 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
10405
10406 2013-07-07 Eli Zaretskii <eliz@gnu.org>
10407
10408 * simple.el (default-font-height, window-screen-lines):
10409 New functions.
10410 (line-move, line-move-partial): Use them instead of
10411 frame-char-height and window-text-height. This makes scrolling
10412 text smoother when the buffer's default face uses a font that is
10413 different from the frame's default font.
10414
10415 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
10416
10417 * files.el (write-file): Do not display confirm dialog for NS,
10418 it does its own dialog, which can't be canceled (Bug#14578).
10419
10420 2013-07-06 Eli Zaretskii <eliz@gnu.org>
10421
10422 * simple.el (line-move-partial): Adjust the row returned by
10423 posn-at-point for the current window-vscroll. (Bug#14567)
10424
10425 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
10426
10427 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
10428 (tramp-sh-file-inotifywait-process-filter): Handle file names with
10429 spaces.
10430
10431 2013-07-06 Martin Rudalics <rudalics@gmx.at>
10432
10433 * window.el (window-state-put-stale-windows): New variable.
10434 (window--state-put-2): Save list of windows without matching buffer.
10435 (window-state-put): Remove "bufferless" windows if possible.
10436
10437 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
10438
10439 * simple.el (alternatives-define): Remove leftover :group keyword.
10440 Tweak docstring.
10441
10442 2013-07-06 Leo Liu <sdl.web@gmail.com>
10443
10444 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
10445 (ido-enable-virtual-buffers): New variable.
10446 (ido-buffer-internal, ido-toggle-virtual-buffers)
10447 (ido-make-buffer-list): Use it.
10448 (ido-exhibit): Support turning on and off virtual buffers
10449 automatically.
10450
10451 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
10452
10453 * simple.el (alternatives-define): New macro.
10454
10455 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
10456
10457 * subr.el (read-quoted-char): Use read-key.
10458 (sit-for): Let read-event decode tty input (bug#14782).
10459
10460 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
10461
10462 * calendar/todo-mode.el: Add handling of file deletion, both by
10463 mode command and externally. Fix various related bugs.
10464 Clarify Commentary and improve some documentation strings and code.
10465 (todo-delete-file): New command.
10466 (todo-check-file): New function.
10467 (todo-show): Handle external deletion of the file we're trying to
10468 show (bug#14688). Replace called-interactively-p by an optional
10469 prefix argument to avoid problematic interaction with catch form
10470 when byte compiled (bug#14702).
10471 (todo-quit): Handle external deletion of the archive's todo file.
10472 Make sure the buffer that was visiting the archive file is still
10473 live before trying to bury it.
10474 (todo-category-completions): Handle external deletion of any
10475 category completion files.
10476 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
10477 of todo files, in case of external deletion.
10478 (todo-add-file): Replace unnecessary setq by let-binding.
10479 (todo-find-archive): Check whether there are any archives.
10480 Replace unnecessary setq by let-binding.
10481 (todo-archive-done-item): Use find-file-noselect to get the
10482 archive buffer whether or not the archive already exists.
10483 Remove superfluous code. Use file size instead of buffer-file-name to
10484 check if the archive is new; if it is, update list of archives.
10485 (todo-default-todo-file): Allow nil to be a valid value for when
10486 there are no todo files.
10487 (todo-reevaluate-default-file-defcustom): Use corrected definition
10488 of todo-default-todo-file.
10489 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
10490 (todo-delete-category, todo-show-categories-table)
10491 (todo-category-number): Clarify comment.
10492 (todo-filter-items): Clarify documentation string.
10493 (todo-show-current-file, todo-display-as-todo-file)
10494 (todo-reset-and-enable-done-separator): Tweak documentation string.
10495 (todo-done-separator): Make separator length window-width, since
10496 bug#2749 is now fixed.
10497
10498 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
10499
10500 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
10501 Support both "gvfs-monitor-dir" and "inotifywait".
10502 (tramp-sh-file-inotifywait-process-filter): Rename from
10503 `tramp-sh-file-notify-process-filter'.
10504 (tramp-sh-file-gvfs-monitor-dir-process-filter)
10505 (tramp-get-remote-gvfs-monitor-dir): New defuns.
10506
10507 2013-07-05 Leo Liu <sdl.web@gmail.com>
10508
10509 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
10510
10511 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10512
10513 * frame.el (display-pixel-height, display-pixel-width)
10514 (display-mm-height, display-mm-width): Mention behavior on
10515 multi-monitor setups in docstrings.
10516 (w32-display-monitor-attributes-list): Declare function.
10517 (display-monitor-attributes-list): Use it.
10518
10519 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
10520
10521 * filenotify.el: New package.
10522
10523 * autorevert.el (top): Require filenotify.el.
10524 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
10525 instead.
10526 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
10527 (auto-revert-notify-handler): Use `file-notify-*' functions.
10528
10529 * subr.el (file-notify-handle-event): Move function to filenotify.el.
10530
10531 * net/tramp.el (tramp-file-name-for-operation):
10532 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
10533
10534 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
10535 for `file-notify-add-watch' and `file-notify-rm-watch'.
10536 (tramp-process-sentinel): Improve trace.
10537 (tramp-sh-handle-file-notify-add-watch)
10538 (tramp-sh-file-notify-process-filter)
10539 (tramp-sh-handle-file-notify-rm-watch)
10540 (tramp-get-remote-inotifywait): New defuns.
10541
10542 2013-07-03 Juri Linkov <juri@jurta.org>
10543
10544 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
10545 call of `occur-read-primary-args' to interactive spec.
10546
10547 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
10548 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
10549
10550 2013-07-03 Matthias Meulien <orontee@gmail.com>
10551
10552 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
10553 `Buffer-menu-multi-occur'. Add it to the menu.
10554 (Buffer-menu-mode): Document it in docstring.
10555 (Buffer-menu-multi-occur): New command. (Bug#14673)
10556
10557 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
10558
10559 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
10560 keywords and built-ins.
10561
10562 2013-07-03 Glenn Morris <rgm@gnu.org>
10563
10564 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
10565
10566 Make info-xref checks case-sensitive by default
10567 * info.el (Info-find-node, Info-find-in-tag-table)
10568 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
10569 Add option for exact case matching of nodes.
10570 * info-xref.el (info-xref): New custom group.
10571 (info-xref-case-fold): New option.
10572 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
10573
10574 2013-07-03 Leo Liu <sdl.web@gmail.com>
10575
10576 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
10577
10578 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
10579
10580 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
10581 middle of block statement initially, lower the depth. Remove
10582 FIXME comment, not longer valid. Remove middle of block statement
10583 detection, no need to do that anymore since we've been using
10584 `ruby-parse-region' here.
10585
10586 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
10587
10588 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
10589
10590 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
10591
10592 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
10593
10594 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
10595
10596 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
10597 (desktop-restore-in-current-display): New customization option.
10598 (desktop--excluded-frame-parameters): Add `font'.
10599 (desktop--save-frames): Rename from desktop--save-windows.
10600 (desktop--restore-in-this-display-p): New function.
10601 (desktop--make-full-frame): Remove unwanted width/height from
10602 full(width|height) frames.
10603 (desktop--restore-frames): Rename from desktop--restore-windows.
10604 Obey desktop-restore-current-display. Do not delete old frames or
10605 select a new frame unless we were able to restore at least one frame.
10606
10607 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
10608
10609 * files.el (find-file-noselect): Simplify conditional expression.
10610
10611 * textmodes/remember.el (remember-append-to-file):
10612 Don't mix `find-buffer-visiting' and `get-file-buffer'.
10613
10614 Add `remember-notes' function to store random notes across Emacs
10615 restarts.
10616 * textmodes/remember.el (remember-data-file): Add :set callback to
10617 affect notes buffer (if any).
10618 (remember-notes): New command.
10619 (remember-notes-buffer-name, bury-remember-notes-on-kill):
10620 New defcustoms for the `remember-notes' function.
10621 (remember-notes-save-and-bury-buffer): New command.
10622 (remember-notes-mode-map): New variable.
10623 (remember-mode): New minor mode.
10624 (remember-notes--kill-buffer-query): New function.
10625 * startup.el (initial-buffer-choice): Add notes to custom type.
10626
10627 2013-06-30 Eli Zaretskii <eliz@gnu.org>
10628
10629 * bindings.el (right-char, left-char): Don't call sit-for, this is
10630 no longer needed. Use arithmetic comparison only for numerical
10631 arguments.
10632
10633 * international/mule-cmds.el (select-safe-coding-system):
10634 Handle the case of FROM being a string correctly. (Bug#14755)
10635
10636 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10637
10638 * net/shr.el (shr-make-table-1): Add a sanity check that allows
10639 progression on degenerate tables.
10640 (shr-rescale-image): ImageMagick animated images currently don't work.
10641
10642 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
10643
10644 Some fixes and improvements for desktop frame restoration.
10645 It is still experimental and disabled by default.
10646 * desktop.el (desktop--save-windows): Put the selected frame at
10647 the head of the list.
10648 (desktop--make-full-frame): New function.
10649 (desktop--restore-windows): Try to re-select the frame that was
10650 selected upon saving. Do not abort if some frames fail to restore,
10651 just show an error message and continue. Set up maximized frames
10652 so they have default non-maximized dimensions.
10653
10654 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
10655
10656 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
10657 Don't start heredoc inside a string or comment.
10658
10659 2013-06-29 Eli Zaretskii <eliz@gnu.org>
10660
10661 * bindings.el (visual-order-cursor-movement): New defcustom.
10662 (right-char, left-char): Provide visual-order cursor motion by
10663 calling move-point-visually. Update the doc strings.
10664
10665 2013-06-28 Kenichi Handa <handa@gnu.org>
10666
10667 * international/mule.el (define-coding-system): New coding system
10668 properties :inhibit-null-byte-detection,
10669 :inhibit-iso-escape-detection, and :prefer-utf-8.
10670 (set-buffer-file-coding-system): If :charset-list property of
10671 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
10672 appropriate for setting.
10673
10674 * international/mule-cmds.el (select-safe-coding-system):
10675 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
10676 multibyte characters, return utf-8 (or one of its siblings).
10677
10678 * international/mule-conf.el (prefer-utf-8): New coding system.
10679 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
10680 files.
10681
10682 2013-06-28 Ivan Kanis <ivan@kanis.fr>
10683
10684 * net/shr.el (shr-render-region): New function.
10685
10686 * net/eww.el: Autoload `eww-browse-url'.
10687
10688 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
10689
10690 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10691 Adapt to `package-desc-version' being a list.
10692 Use `package--ac-desc-version' to retrieve version from a package
10693 archive element.
10694
10695 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
10696
10697 New experimental feature to save&restore window and frame setup.
10698 * desktop.el (desktop-save-windows): New defcustom.
10699 (desktop--saved-states): New var.
10700 (desktop--excluded-frame-parameters): New defconst.
10701 (desktop--filter-frame-parms, desktop--find-frame-in-display)
10702 (desktop--restore-windows, desktop--save-windows): New functions.
10703 (desktop-save): Call `desktop--save-windows'.
10704 (desktop-read): Call `desktop--restore-windows'.
10705
10706 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
10707
10708 * net/shr.el (add-face-text-property): Remove compat definition.
10709
10710 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
10711
10712 * info.el (Info-try-follow-nearest-node): Move search for footnote
10713 above search for node name to prevent missing a footnote (bug#14717).
10714
10715 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
10716
10717 * obsolete/otodo-mode.el: Add obsolescence info to file header.
10718
10719 2013-06-27 Leo Liu <sdl.web@gmail.com>
10720
10721 * net/eww.el (eww-read-bookmarks): Check file size.
10722
10723 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
10724
10725 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
10726 advice--pending if newdef is nil or an autoload (bug#13820).
10727 (advice-mapc): New function.
10728
10729 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10730
10731 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
10732 probably.
10733 (eww-mode-map): Add a menu bar.
10734 (eww-add-bookmark): New command.
10735 (eww-bookmark-mode): New mode and commands.
10736 (eww-add-bookmark): Remove newlines from the title.
10737 (eww-bookmark-browse): Don't bug out if it's the only window.
10738
10739 2013-06-26 Glenn Morris <rgm@gnu.org>
10740
10741 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
10742 (hfy-size): Handle ttys. (Bug#14668)
10743
10744 * info-xref.el: Update for Texinfo 5 change in *note format.
10745 (info-xref-node-re, info-xref-note-re): New constants.
10746 (info-xref-check-buffer): Use info-xref-note-re.
10747
10748 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
10749
10750 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
10751
10752 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
10753 nil terminate the loop (bug#14718).
10754
10755 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
10756
10757 * net/eww.el: Rework history traversal. When going forward/back,
10758 put these actions into the history, too, so that they can be
10759 replayed.
10760 (eww-render): Move the history reset to the correct buffer.
10761
10762 2013-06-25 Juri Linkov <juri@jurta.org>
10763
10764 * files-x.el (modify-dir-local-variable): Change the header comment
10765 in the file with directory local variables. (Bug#14692)
10766
10767 * files-x.el (read-file-local-variable-value): Add `default'.
10768 (Bug#14710)
10769
10770 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
10771
10772 * net/eww.el (eww-make-unique-file-name): Create a unique file
10773 name before saving to entering `y' accidentally asynchronously.
10774
10775 2013-06-25 Ivan Kanis <ivan@kanis.fr>
10776
10777 * net/eww.el (eww-download): New command and keystroke.
10778
10779 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
10780
10781 * net/eww.el (eww-copy-page-url): Change name of command.
10782
10783 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
10784 be more consistent with Info and dired.
10785
10786 * net/eww.el (eww-mode-map): Ditto.
10787
10788 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
10789
10790 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
10791 packages from archives.
10792 (package-archive-contents): Change format; include obsolete packages.
10793 (package-desc): Use `dir' to mark builtin packages.
10794 (package--from-builtin): Set the `dir' field to `builtin'.
10795 (generated-autoload-file, version-control): Declare.
10796 (package-compute-transaction): Change first arg and return value to be
10797 lists of package-descs. Adjust to new package-archive-contents format.
10798 (package--add-to-archive-contents): Adjust to new
10799 package-archive-contents format.
10800 (package-download-transaction): Arg is now a list of package-descs.
10801 (package-install): If `pkg' is a package name, pass it as
10802 a requirement, so it is subject to the usual (e.g. disabled) checks.
10803 (describe-package): Accept package-desc as well.
10804 (describe-package-1): Describe a specific package-desc. Add links to
10805 other package-descs for the same package name.
10806 (package-menu-describe-package): Pass the actual package-desc.
10807 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
10808 works correctly.
10809 (package-desc-status): New function.
10810 (package-menu--refresh): New function, extracted
10811 from package-menu--generate.
10812 (package-menu--generate): Use it.
10813 (package-delete): Update package-alist.
10814 (package-menu-execute): Don't call package-initialize.
10815
10816 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
10817 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
10818 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
10819 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
10820 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
10821 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
10822
10823 2013-06-25 Martin Rudalics <rudalics@gmx.at>
10824
10825 * window.el (window--state-get-1): Workaround for bug#14527.
10826 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
10827
10828 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
10829
10830 * net/eww.el (eww-back-url): Implement the history by stashing all
10831 the data into a list.
10832 (eww-forward-url): Allow going forward in the history, too.
10833
10834 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
10835
10836 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
10837 for values and use read--expression for expressions (bug#14710).
10838 (read-file-local-variable): Avoid setq.
10839 (read-file-local-variable-mode): Use minor-mode-list.
10840
10841 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10842
10843 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
10844 for DOI URLs.
10845
10846 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10847
10848 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
10849 Update imenu-support when dialect changes.
10850
10851 2013-06-25 Leo Liu <sdl.web@gmail.com>
10852
10853 * ido.el (ido-read-internal): Allow forward slash on windows.
10854
10855 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
10856
10857 * net/eww.el (eww): Start of strings is \\`, not ^.
10858
10859 2013-06-24 Ivan Kanis <ivan@kanis.fr>
10860
10861 * net/shr.el (shr-browse-url): Fix interactive spec.
10862
10863 * net/eww.el (eww): Add a trailing slash to domain names.
10864
10865 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
10866
10867 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
10868
10869 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
10870
10871 * net/shr.el (shr-browse-url): Use an external browser if given a
10872 prefix.
10873
10874 * net/eww.el (eww-external-browser): Move to shr.
10875
10876 2013-06-24 Ivan Kanis <ivan@kanis.fr>
10877
10878 * net/eww.el (eww): Work more correctly for file: URLs.
10879 (eww-detect-charset): Allow quoted charsets.
10880 (eww-yank-page-url): New command and keystroke.
10881
10882 2013-06-24 Daiki Ueno <ueno@gnu.org>
10883
10884 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
10885 file name of gpg executable.
10886 (epg-context-program): New function.
10887 (epg-context-home-directory): New function.
10888 (epg-context-set-program): New function.
10889 (epg-context-set-home-directory): New function.
10890 (epg--start): Use `epg-context-program' instead of
10891 'epg-gpg-program'.
10892 (epg--list-keys-1): Likewise.
10893
10894 2013-06-24 Leo Liu <sdl.web@gmail.com>
10895
10896 * ido.el (ido-read-internal): Fix bug#14620.
10897
10898 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
10899
10900 * faces.el (face-documentation): Simplify.
10901 (read-face-attribute, tty-find-type, x-resolve-font-name):
10902 Use `string-match-p'.
10903 (list-faces-display): Use `string-match-p'. Simplify.
10904 (face-spec-recalc): Check face to avoid face alias loops.
10905 (read-color): Use `string-match-p' and non-capturing parenthesis.
10906
10907 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
10908
10909 * net/shr.el (shr-rescale-image): Use the new
10910 :max-width/:max-height functionality.
10911
10912 2013-06-23 Ivan Kanis <ivan@kanis.fr>
10913
10914 * net/eww.el (eww-search-prefix): New variable.
10915 (eww): Use it.
10916 (eww-external-browser): New variable.
10917 (eww-mode-map): New keystroke.
10918 (eww-browse-with-external-browser): New command.
10919
10920 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
10921
10922 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
10923
10924 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
10925 Don't skip aligning the next header field when padding is 0;
10926 otherwise, field width is not respected unless the title is as
10927 wide as the field.
10928
10929 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10930
10931 * emacs-lisp/package.el (package-el-version): Remove.
10932 (package-process-define-package): Fix inf-loop.
10933 (package-install): Allow symbols as arguments again.
10934
10935 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
10936
10937 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
10938 add some more keyword-like methods.
10939 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
10940
10941 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
10942
10943 * bs.el (bs-buffer-show-mark): Make defvar-local.
10944 (bs-mode): Use setq-local.
10945
10946 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
10947 (emacs-lock--try-unlocking): Make defvar-local.
10948
10949 2013-06-22 Glenn Morris <rgm@gnu.org>
10950
10951 * play/cookie1.el (cookie-apropos): Minor simplification.
10952
10953 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
10954
10955 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
10956
10957 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
10958 `regexp-opt', it breaks the build during dumping.
10959
10960 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
10961
10962 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
10963 Highlight keyword-like methods on Kernel and Module with
10964 font-lock-builtin-face.
10965 (auto-mode-alist): Consolidate different entries into one regexp
10966 and add more *file-s.
10967
10968 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
10969
10970 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
10971
10972 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
10973 (diary-entry): Use it in the action of this button type instead of
10974 diary-goto-entry.
10975
10976 * calendar/todo-mode.el: New version.
10977 (todo-add-category): Append new category to end of file and give
10978 it the highest number, instead of putting it at the beginning and
10979 giving it 0. Incorporate noninteractive functionality.
10980 (todo-forward-category): Adapt to 1-based category numbering.
10981 Allow skipping over archived categories.
10982 (todo-backward-category): Derive from todo-forward-category.
10983 (todo-backward-item, todo-forward-item): Make noninteractive and
10984 delegate interactive part to new commands. Make sensitive to done items.
10985 (todo-categories): Make value an alist of category names and
10986 vectors of item counts.
10987 (todo-category-beg): Make a defconst.
10988 (todo-category-number): Use 1 instead of 0 as initial value.
10989 (todo-category-select): Make sensitive to overlays, optional item
10990 highlighting and done items.
10991 (todo-delete-item): Make sensitive to overlays and marked and done items.
10992 (todo-edit-item): Make sensitive to overlays and editing of
10993 date/time header optional. Add format checks.
10994 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
10995 no-op if point is not on an item. Advertise using todo-edit-quit.
10996 (todo-edit-mode): Make sensitive to new format, font-locking, and
10997 multiple todo files.
10998 (todo-insert-item, todo-insert-item-here): Derive from
10999 todo-basic-insert-item and extend functionality.
11000 (todo-item-end, todo-item-start): Make sensitive to done items.
11001 (todo-item-string): Don't return text properties. Restore point.
11002 (todo-jump-to-category): Make sensitive to multiple todo files and
11003 todo archives. Use extended category completion.
11004 (todo-lower-item, todo-raise-item): Rename to *-priority and
11005 derive from todo-set-item-priority.
11006 (todo-mode): Derive from special-mode. Make sensitive to new
11007 format, font-locking and multiple todo files. Make read-only.
11008 (todo-mode-map): Don't suppress digit keys, so they can supply
11009 prefix arguments. Add many new key bindings.
11010 (todo-prefix): Insert as an overlay instead of file text.
11011 Change semantics from diary date expression to purely visual mark.
11012 (todo-print): Rename to todo-print-buffer. Make buffer display
11013 features printable. Remove option to restrict number of items
11014 printed. Add option to print to file.
11015 (todo-print-function): Rename to todo-print-buffer-function.
11016 (todo-quit): Extend to handle exiting new todo modes.
11017 (todo-remove-item): Make sensitive to overlays.
11018 (todo-save): Extend to buffers of filtered items.
11019 (todo-show): Make sensitive to done items, multiple todo files and
11020 new todo modes. Offer to convert legacy todo file before creating
11021 first new todo file.
11022 (todo-show-priorities): Rename to todo-top-priorities.
11023 Change semantics of value 0.
11024 (todo-top-priorities): Rename to todo-filter-top-priorities,
11025 derive from todo-filter-items and extend functionality.
11026 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
11027 and extend functionality to other types of filtered items.
11028 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
11029 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
11030 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
11031 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
11032 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
11033 (todo-edit-mode-hook, todo-entry-prefix-function)
11034 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
11035 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
11036 (todo-initials, todo-insert-threshold, todo-item-string-start)
11037 (todo-line-string, todo-menu, todo-mode-hook)
11038 (todo-more-important-p, todo-previous-answer, todo-previous-line)
11039 (todo-print-priorities, todo-remove-separator)
11040 (todo-save-top-priorities-too, todo-string-count-lines)
11041 (todo-string-multiline-p, todo-time-string-format)
11042 (todo-tmp-buffer-name): Remove.
11043 (todo-add-file, todo-archive-done-item, todo-choose-archive)
11044 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
11045 (todo-edit-category-diary-inclusion)
11046 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
11047 (todo-edit-file, todo-edit-item-date-day)
11048 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
11049 (todo-edit-item-date-month, todo-edit-item-date-to-today)
11050 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
11051 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
11052 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
11053 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
11054 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
11055 (todo-filter-top-priorities-multifile, todo-find-archive)
11056 (todo-find-filtered-items-file, todo-go-to-source-item)
11057 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
11058 (todo-jump-to-archive-category, todo-lower-category)
11059 (todo-mark-category, todo-marked-item-p, todo-merge-category)
11060 (todo-move-category, todo-move-item, todo-next-button)
11061 (todo-next-item, todo-padded-string, todo-powerset)
11062 (todo-previous-button, todo-previous-item)
11063 (todo-print-buffer-to-file, todo-raise-category)
11064 (todo-rename-category, todo-repair-categories-sexp, todo-search)
11065 (todo-set-category-number, todo-set-item-priority)
11066 (todo-set-top-priorities-in-category)
11067 (todo-set-top-priorities-in-file, todo-show-categories-table)
11068 (todo-sort-categories-alphabetically-or-numerically)
11069 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
11070 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
11071 (todo-toggle-item-header, todo-toggle-item-highlighting)
11072 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
11073 (todo-toggle-view-done-items, todo-toggle-view-done-only)
11074 (todo-unarchive-items, todo-unmark-category): New commands.
11075 (todo-absolute-file-name, todo-add-to-buffer-list)
11076 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
11077 (todo-basic-insert-item, todo-category-completions)
11078 (todo-category-number, todo-category-string-matcher-1)
11079 (todo-category-string-matcher-2, todo-check-filtered-items-file)
11080 (todo-check-format, todo-clear-matches)
11081 (todo-comment-string-matcher, todo-convert-legacy-date-time)
11082 (todo-current-category, todo-date-string-matcher)
11083 (todo-define-insertion-command, todo-diary-expired-matcher)
11084 (todo-diary-goto-entry, todo-diary-item-p)
11085 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
11086 (todo-display-categories, todo-display-sorted, todo-done-item-p)
11087 (todo-done-item-section-p, todo-done-separator)
11088 (todo-done-string-matcher, todo-files, todo-filter-items)
11089 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
11090 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
11091 (todo-insert-category-line, todo-insert-item-from-calendar)
11092 (todo-insert-sort-button, todo-insert-with-overlays)
11093 (todo-insertion-command-name, todo-insertion-key-bindings)
11094 (todo-label-to-key, todo-longest-category-name-length)
11095 (todo-make-categories-list, todo-mode-external-set)
11096 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
11097 (todo-modes-set-3, todo-multiple-filter-files)
11098 (todo-nondiary-marker-matcher, todo-prefix-overlays)
11099 (todo-read-category, todo-read-date, todo-read-dayname)
11100 (todo-read-file-name, todo-read-time)
11101 (todo-reevaluate-category-completions-files-defcustom)
11102 (todo-reevaluate-default-file-defcustom)
11103 (todo-reevaluate-filelist-defcustoms)
11104 (todo-reevaluate-filter-files-defcustom)
11105 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
11106 (todo-reset-done-separator, todo-reset-done-separator-string)
11107 (todo-reset-done-string, todo-reset-global-current-todo-file)
11108 (todo-reset-highlight-item, todo-reset-nondiary-marker)
11109 (todo-reset-prefix, todo-set-categories)
11110 (todo-set-date-from-calendar, todo-set-show-current-file)
11111 (todo-set-top-priorities, todo-short-file-name)
11112 (todo-show-current-file, todo-sort, todo-time-string-matcher)
11113 (todo-total-item-counts, todo-update-buffer-list)
11114 (todo-update-categories-display, todo-update-categories-sexp)
11115 (todo-update-count, todo-validate-name, todo-y-or-n-p):
11116 New functions.
11117 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
11118 New major modes.
11119 (todo-categories, todo-display, todo-edit, todo-faces)
11120 (todo-filtered): New defgroups.
11121 (todo-archived-only, todo-button, todo-category-string, todo-date)
11122 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
11123 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
11124 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
11125 (todo-add-item-if-new-category, todo-always-add-time-string)
11126 (todo-categories-align, todo-categories-archived-label)
11127 (todo-categories-category-label, todo-categories-diary-label)
11128 (todo-categories-done-label, todo-categories-number-separator)
11129 (todo-categories-todo-label, todo-categories-totals-label)
11130 (todo-category-completions-files, todo-completion-ignore-case)
11131 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
11132 (todo-done-separator-string, todo-done-string)
11133 (todo-files-function, todo-filter-done-items, todo-filter-files)
11134 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
11135 (todo-initial-category, todo-initial-file, todo-item-mark)
11136 (todo-legacy-date-time-regexp, todo-mode-line-function)
11137 (todo-nondiary-marker, todo-number-prefix)
11138 (todo-print-buffer-function, todo-show-current-file)
11139 (todo-show-done-only, todo-show-first, todo-show-with-done)
11140 (todo-skip-archived-categories, todo-top-priorities-overrides)
11141 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
11142 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
11143 New defcustoms.
11144 (todo-category-done, todo-date-pattern, todo-date-string-start)
11145 (todo-diary-items-buffer, todo-done-string-start)
11146 (todo-filtered-items-buffer, todo-item-start)
11147 (todo-month-abbrev-array, todo-month-name-array)
11148 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
11149 (todo-top-priorities-buffer): New defconsts.
11150 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
11151 (todo-categories-with-marks, todo-category-string-face)
11152 (todo-comment-face, todo-comment-string, todo-current-todo-file)
11153 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
11154 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
11155 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
11156 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
11157 (todo-font-lock-keywords, todo-global-current-todo-file)
11158 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
11159 (todo-insertion-commands-args)
11160 (todo-insertion-commands-args-genlist)
11161 (todo-insertion-commands-names, todo-insertion-map)
11162 (todo-key-bindings-t, todo-key-bindings-t+a)
11163 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
11164 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
11165 (todo-nondiary-face, todo-print-buffer, todo-time-face)
11166 (todo-visited): New variables.
11167
11168 2013-06-21 Glenn Morris <rgm@gnu.org>
11169
11170 * play/cookie1.el (cookie-apropos): Add optional display argument.
11171 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
11172 (psychoanalyze-pinhead): Use cookie-doctor.
11173
11174 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
11175
11176 * emacs-lisp/package.el (tar-get-file-descriptor)
11177 (tar--extract): Declare.
11178
11179 2013-06-21 Eduard Wiebe <usenet@pusto.de>
11180
11181 Extend flymake's warning predicate to be a function (bug#14217).
11182 * progmodes/flymake.el (flymake-warning-predicate): New.
11183 (flymake-parse-line): Use it.
11184 (flymake-warning-re): Make obsolete alias to
11185 `flymake-warning-predicate'.
11186
11187 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11188
11189 * emacs-lisp/package.el (package-alist): Include obsolete packages.
11190 (package-obsolete-list): Remove.
11191 (package-activate): Remove min-version argument. Add `force' argument.
11192 Adjust to new package-alist format.
11193 (package-mark-obsolete): Remove.
11194 (package-unpack): Force reload of the package's autoloads.
11195 (package-installed-p): Check builtins if the installed package is not
11196 recent enough.
11197 (package-initialize): Don't reset package-obsolete-list.
11198 Don't specify which package version to activate.
11199 (package-process-define-package, describe-package-1)
11200 (package-menu--generate): Adjust to new package-alist format.
11201
11202 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
11203
11204 * allout-widgets.el (allout-widgets-mode-off)
11205 (allout-widgets-mode-on, allout-widgets-pre-command-business)
11206 (allout-widgets-post-command-business)
11207 (allout-widgets-after-copy-or-kill-function)
11208 (allout-widgets-after-undo-function, allout-test-range-overlaps)
11209 (allout-decorate-item-and-context)
11210 (allout-graphics-modification-handler): Fix typos in docstrings.
11211 (allout-get-or-create-parent-widget): Use `looking-at-p'.
11212
11213 * cmuscheme.el (scheme-start-file): Doc fix.
11214 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
11215 (scheme-input-filter): Use `string-match-p'.
11216
11217 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
11218
11219 * dired-x.el: Use Dired consistently in docstrings.
11220
11221 * dired.el: Use Dired consistently in docstrings.
11222 (dired-readin, dired-mode): Use `setq-local'.
11223 (dired-switches-alist): Make defvar-local.
11224 (dired-buffers-for-dir): Use `zerop'.
11225 (dired-safe-switches-p, dired-switches-escape-p)
11226 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
11227 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
11228 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
11229 (dired-goto-next-nontrivial-file): Use `string-match-p'.
11230 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
11231 (dired-toggle-marks, dired-mark-files-containing-regexp)
11232 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
11233 (dired-flag-auto-save-files, dired-flag-backup-files):
11234 Use `looking-at-p'.
11235 (dired-mark-files-regexp, dired-build-subdir-alist):
11236 Use `string-match-p', `looking-at-p'.
11237
11238 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
11239 (direct-print-region-helper): Use `string-match-p'.
11240
11241 2013-06-21 Leo Liu <sdl.web@gmail.com>
11242
11243 * comint.el (comint-redirect-results-list-from-process):
11244 Fix infinite loop.
11245
11246 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11247
11248 * net/eww.el (eww-update-header-line-format): Quote % characters.
11249
11250 2013-06-21 Glenn Morris <rgm@gnu.org>
11251
11252 * play/cookie1.el (cookie): New custom group.
11253 (cookie-file): New option.
11254 (cookie-check-file): New function.
11255 (cookie): Make it interactive. Make start and end messages optional.
11256 Interactively, display the result. Default to cookie-file.
11257 (cookie-insert): Default to cookie-file.
11258 (cookie-snarf): Make start and end messages optional.
11259 Default to cookie-file. Use with-temp-buffer.
11260 (cookie-read): Rename from read-cookie.
11261 Make start and end messages optional. Default to cookie-file.
11262 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
11263 Do not autoload it.
11264 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
11265 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
11266
11267 2013-06-21 Leo Liu <sdl.web@gmail.com>
11268
11269 * progmodes/octave.el (octave-mode): Backward compatibility fix.
11270
11271 2013-06-21 Glenn Morris <rgm@gnu.org>
11272
11273 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
11274
11275 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11276 Daniel Hackney <dan@haxney.org>
11277
11278 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
11279 Consolidate the single-file vs tarball code.
11280 (package-desc-suffix): New function.
11281 (package-desc-full-name): Don't bother inlining it.
11282 (package-load-descriptor): Return the new package-desc.
11283 (package-mark-obsolete): Remove unused arg `package'.
11284 (package-unpack): Make it work for single files as well.
11285 Make it update package-alist.
11286 (package--make-autoloads-and-stuff): Rename from
11287 package--make-autoloads-and-compile. Don't compile any more.
11288 (package--compile): New function.
11289 (package-generate-description-file): New function, extracted from
11290 package-unpack-single.
11291 (package-unpack-single): Remove.
11292 (package--with-work-buffer): Add indentation and debugging info.
11293 (package-download-single): Remove.
11294 (package-install-from-archive): Rename from package-download-tar, make
11295 it take a pkg-desc, and make it work for single files as well.
11296 (package-download-transaction): Simplify.
11297 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
11298 external tar program.
11299 (package-install-from-buffer): Remove `pkg-desc' argument.
11300 Use package-tar-file-info for tar-mode buffers.
11301 (package-install-file): Simplify accordingly.
11302 (package-archive-base): Change to take a pkg-desc.
11303 * tar-mode.el (tar--check-descriptor): New function, extracted from
11304 tar-get-descriptor.
11305 (tar-get-descriptor): Use it.
11306 (tar-get-file-descriptor): New function.
11307 (tar--extract): New function, extracted from tar-extract.
11308 (tar--extract): Use it.
11309 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
11310 case the summary uses non-ascii. Adjust to new calling convention of
11311 package-tar-file-info.
11312
11313 2013-06-21 Leo Liu <sdl.web@gmail.com>
11314
11315 * comint.el (comint-redirect-results-list-from-process):
11316 Fix random delay. (Bug#14681)
11317
11318 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
11319
11320 * profiler.el (profiler-format-number): Use log, not log10.
11321
11322 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
11323
11324 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
11325
11326 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
11327
11328 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
11329 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
11330 yet available.
11331 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
11332 (AUTOGENEL): ... here.
11333 * emacs-lisp/cl-macs.el (cl--sublis): New function.
11334 (cl--defsubst-expand): Use it.
11335
11336 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
11337
11338 * subr.el (log10): Move here from C code, and declare as obsolete.
11339 All uses of (log10 X) replaced with (log X 10).
11340
11341 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
11342
11343 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
11344 Declare with `defvar-local'.
11345 (tabulated-list-use-header-line, tabulated-list-entries)
11346 (tabulated-list-padding, tabulated-list-printer)
11347 (tabulated-list-sort-key): Declare with `defvar-local'.
11348 (tabulated-list-init-header, tabulated-list-print-fake-header):
11349 Use `setq-local'.
11350
11351 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
11352
11353 * arc-mode.el (archive-mode): Add `archive-write-file' to
11354 `write-contents-functions' also for remote files. (Bug#14652)
11355
11356 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
11357
11358 * cus-edit.el (custom-commands): Fix typos.
11359 (custom-display): Fix tooltip text.
11360 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
11361 Fix typos in docstrings.
11362 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
11363 (custom-unlispify-menu-entry, custom-magic-value-create)
11364 (custom-add-see-also, custom-group-value-create): Use ?\s.
11365 (custom-guess-type, customize-apropos, editable-field)
11366 (custom-face-value-create): Use `string-match-p'.
11367 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
11368
11369 * custom.el (custom-load-symbol): Use `string-match-p'.
11370
11371 * ansi-color.el: Convert to lexical binding.
11372 (ansi-colors): Fix URL.
11373 (ansi-color-context, ansi-color-context-region): Use defvar-local.
11374 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
11375 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
11376
11377 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11378
11379 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
11380
11381 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
11382
11383 2013-06-19 Tom Tromey <tromey@redhat.com>
11384
11385 * net/eww.el (eww-top-url): Remove.
11386 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
11387 (eww-render): Set new variables. Don't set eww-top-url.
11388 (eww-handle-link): Handle "prev", "home", and "contents".
11389 Downcase the rel text.
11390 (eww-top-url): Choose best top URL.
11391
11392 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11393
11394 * net/eww.el: Rewrite to implement form elements "by hand" instead of
11395 relying in widget.el. Using widget.el leads to too many
11396 user interface inconsistencies.
11397 (eww-self-insert): Implement entering commands in text fields.
11398 (eww-process-text-input): New function to make text input field editing
11399 work.
11400 (eww-submit): Rewrite to use the new-style form methods.
11401 (eww-select-display): Display the correct selected item.
11402 (eww-change-select): Implement changing the select value.
11403 (eww-toggle-checkbox): Implement radio/checkboxes.
11404 (eww-update-field): Fix compilation error.
11405 (eww-tag-textarea): Implement <textarea>.
11406
11407 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
11408 we don't shadow mode-specific bindings.
11409
11410 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
11411 nothing to push.
11412
11413 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
11414
11415 2013-06-19 Glenn Morris <rgm@gnu.org>
11416
11417 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
11418
11419 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
11420
11421 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
11422 not needed.
11423
11424 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
11425
11426 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11427
11428 * net/browse-url.el (browse-url-browser-function):
11429 `eww-browse-url' has the right calling signature, `eww' does not.
11430
11431 2013-06-19 Glenn Morris <rgm@gnu.org>
11432
11433 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
11434 Only eval autoloaded macros.
11435 (byte-compile-autoload): Only give the macro warning for macros.
11436
11437 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
11438 (ps-underlined-faces): Declare.
11439
11440 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
11441 (speedbar-add-supported-extension): Declare.
11442
11443 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
11444 Don't include a date stamp in the header of the generated file;
11445 it leads to needless differences between output files.
11446
11447 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
11448
11449 * net/secrets.el (secrets-struct-secret-content-type):
11450 Replace check of introspection data by a test call of "CreateItem".
11451 Some servers do not offer introspection.
11452
11453 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
11454
11455 * electric.el (electric-pair-mode): Improve interaction with
11456 electric-layout-mode.
11457 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
11458 (electric-pair-syntax): Use text-mode-syntax-table in comments
11459 and strings.
11460 (electric-pair--insert): New function.
11461 (electric-pair-post-self-insert-function): Use it and
11462 electric--after-char-pos.
11463
11464 2013-06-19 Leo Liu <sdl.web@gmail.com>
11465
11466 * progmodes/octave.el (octave-help): Fix regexp.
11467
11468 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
11469
11470 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
11471 (shr-table-horizontal-line): Allow nil as a value, and change the
11472 default.
11473 (shr-insert-table-ruler): Respect the nil value.
11474
11475 2013-06-18 Tom Tromey <tromey@barimba>
11476
11477 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
11478 New defvars.
11479 (eww-open-file): New defun.
11480 (eww-render): Initialize new variables.
11481 (eww-display-html): Handle "link" and "a".
11482 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
11483 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
11484 (eww-back-url): Rename from eww-previous-url.
11485 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
11486 New defuns.
11487
11488 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
11489
11490 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
11491 Distinguish ternary operator tokens from slash symbol and slash
11492 char literal.
11493
11494 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
11495
11496 Convert symbol prettification into minor mode and global minor mode.
11497
11498 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
11499 `prog-prettify-symbols', and make a local defvar instead of defcustom.
11500 (prettify-symbols--keywords): Rename from
11501 `prog-prettify-symbols-alist' and make a local defvar.
11502 (prettify-symbols--compose-symbol): Rename from
11503 `prog--prettify-font-lock-compose-symbol'.
11504 (prettify-symbols--make-keywords): Rename from
11505 `prog-prettify-font-lock-symbols-keywords' and simplify.
11506 (prog-prettify-install): Remove.
11507 (prettify-symbols-mode): New minor mode, based on
11508 `prog-prettify-install'.
11509 (turn-on-prettify-symbols-mode): New function.
11510 (global-prettify-symbols-mode): New globalized minor mode.
11511
11512 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
11513 * progmodes/cfengine.el (cfengine3-mode):
11514 * progmodes/perl-mode.el (perl-mode): Don't call
11515 `prog-prettify-install'; set `prettify-symbols-alist' instead.
11516
11517 2013-06-18 Juri Linkov <juri@jurta.org>
11518
11519 * files-x.el (modify-file-local-variable-message): New function.
11520 (modify-file-local-variable)
11521 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
11522 and call `modify-file-local-variable-message' when it's non-nil.
11523 (add-file-local-variable, delete-file-local-variable)
11524 (add-file-local-variable-prop-line)
11525 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
11526 and use it. (Bug#9820)
11527
11528 2013-06-18 Juri Linkov <juri@jurta.org>
11529
11530 * emulation/vi.el (vi-shell-op):
11531 * emulation/vip.el (vip-execute-com, ex-command):
11532 * emulation/viper-cmd.el (viper-exec-bang):
11533 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
11534 the call of `shell-command-on-region'. (Bug#14637)
11535
11536 * simple.el (shell-command-on-region): Doc fix.
11537
11538 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
11539
11540 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
11541 (bug#14633).
11542
11543 2013-06-18 Glenn Morris <rgm@gnu.org>
11544
11545 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
11546
11547 * newcomment.el (comment-search-forward, comment-search-backward):
11548 Doc fix. (Bug#14376)
11549
11550 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
11551
11552 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
11553 (buffer-face-mode-invoke): Doc fix.
11554
11555 2013-06-18 Matthias Meulien <orontee@gmail.com>
11556
11557 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
11558 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
11559
11560 2013-06-18 Glenn Morris <rgm@gnu.org>
11561
11562 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
11563 Replace obsolete function generic-make-keywords with its expansion.
11564
11565 * progmodes/python.el (ffap-alist): Declare.
11566
11567 * textmodes/reftex.el (bibtex-mode-map): Declare.
11568
11569 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
11570
11571 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
11572 (package-unpack, package-unpack-single): Return the pkg-dir.
11573 (package-download-transaction): Use it to update package-alist.
11574
11575 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11576
11577 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
11578 possible choice.
11579
11580 2013-06-17 Juri Linkov <juri@jurta.org>
11581
11582 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
11583
11584 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
11585
11586 * emacs-lisp/package.el (package-load-descriptor):
11587 Remove `with-syntax-table' call, `read' doesn't need it.
11588 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
11589
11590 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
11591
11592 * startup.el (command-line): Expand package name returned by
11593 `package--description-file' (bug#14639).
11594
11595 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
11596
11597 * emacs-lisp/package.el (package-load-descriptor): Do not call
11598 `emacs-lisp-mode', just use its syntax table.
11599
11600 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
11601
11602 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
11603 `font-lock-extra-managed-props' if any prettifying keyword is added.
11604 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
11605 (prog-mode): Use `setq-local'.
11606
11607 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
11608
11609 * international/characters.el (standard-case-table): Set syntax of ?»
11610 and ?« to punctuation.
11611
11612 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
11613
11614 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
11615 Save relevant match data before calling `syntax-ppss' (bug#14595).
11616
11617 2013-06-15 Juri Linkov <juri@jurta.org>
11618
11619 * files-x.el (modify-file-local-variable-prop-line): Add local
11620 variables to the end of the existing comment on the first line.
11621 Use `file-auto-mode-skip' to skip interpreter magic line,
11622 and also skip XML declaration.
11623
11624 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11625
11626 * startup.el (package--builtin-versions): New var.
11627 (package-subdirectory-regexp): Remove.
11628 (package--description-file): Hard code its value instead.
11629
11630 * emacs-lisp/package.el: Don't activate packages older than builtin.
11631 (package-obsolete-list): Rename from package-obsolete-alist, and make
11632 it into a simple list of package-desc.
11633 (package-strip-version): Remove.
11634 (package-built-in-p): Use package--builtin-versions.
11635 (package-mark-obsolete): Simplify.
11636 (package-process-define-package): Mark it obsolete if older than the
11637 builtin version.
11638 (package-handle-response): Use line-end-position.
11639 (package-read-archive-contents, package--download-one-archive):
11640 Simplify.
11641 (package--add-to-archive-contents): Skip if older than the builtin or
11642 installed version.
11643 (package-menu-describe-package): Fix last change.
11644 (package-list-unversioned): New var.
11645 (package-menu--generate): Use it.
11646
11647 * emacs-lisp/autoload.el: Manage package--builtin-versions.
11648 (autoload--insert-text, autoload--insert-cookie-text): New functions.
11649 (autoload-builtin-package-versions): New variable.
11650 (autoload-generate-file-autoloads): Use them.
11651 Remove the list of autoloaded functions/macros from the
11652 (autoload...) comments.
11653
11654 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
11655
11656 2013-06-15 Eli Zaretskii <eliz@gnu.org>
11657
11658 * simple.el (line-move-partial): Don't jump to the next screen
11659 line as soon as it becomes visible. Instead, continue enlarging
11660 the vscroll until the portion of a tall screen line that's left on
11661 display is about the height of the frame's default font.
11662 (Bug#14567)
11663
11664 2013-06-15 Glenn Morris <rgm@gnu.org>
11665
11666 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
11667 compilation-error-regexp-alist void, or local while let-bound.
11668
11669 * progmodes/make-mode.el (makefile-mode-syntax-table):
11670 Treat "=" as punctuation. (Bug#14614)
11671
11672 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
11673
11674 * help-fns.el (describe-variable):
11675 Add extra line for permanent-local variables.
11676
11677 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
11678
11679 * progmodes/scheme.el (scheme-font-lock-keywords-2):
11680 Add export, import, library. (Bug#9164)
11681 (library): Set indent function.
11682
11683 2013-06-14 Glenn Morris <rgm@gnu.org>
11684
11685 * term/xterm.el (xterm--query):
11686 Stop after first matching handler. (Bug#14615)
11687
11688 2013-06-14 Ivan Kanis <ivan@kanis.fr>
11689
11690 Add support for dired in saveplace.
11691 * dired.el (dired-initial-position-hook): New variable.
11692 (dired-initial-position): Call hook to place cursor position.
11693 * saveplace.el (save-place-to-alist): Add dired position.
11694 (save-place-dired-hook): New function.
11695
11696 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
11697
11698 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
11699 through a symbol rather than letrec.
11700
11701 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
11702 (package-desc): Add `dir' field.
11703 (package-desc-full-name): New function.
11704 (package-load-descriptor): Combine the two arguments. Don't use `load'.
11705 (package-maybe-load-descriptor): Remove.
11706 (package-load-all-descriptors): Just call package-load-descriptor.
11707 (package--disabled-p): New function.
11708 (package-desc-vers, package-desc-doc): Remove aliases.
11709 (package--dir): Remove function.
11710 (package-activate): Check if a package is disabled.
11711 (package-process-define-package): New function, extracted from
11712 define-package.
11713 (define-package): Turn into a place holder.
11714 (package-unpack-single, package-tar-file-info):
11715 Use package--description-file.
11716 (package-compute-transaction): Use package--disabled-p.
11717 (package-download-transaction): Don't call
11718 package-maybe-load-descriptor since they're all loaded anyway.
11719 (package-install): Change argument to be a pkg-desc.
11720 (package-delete): Use a single pkg-desc argument.
11721 (describe-package-1): Use package-desc-dir instead of package--dir.
11722 Use package-desc property instead of package-symbol.
11723 (package-install-button-action): Adjust accordingly.
11724 (package--push): Rewrite.
11725 (package-menu--print-info): Adjust accordingly. Change the ID format
11726 to be a pkg-desc.
11727 (package-menu-describe-package, package-menu-get-status)
11728 (package-menu--find-upgrades, package-menu-mark-upgrades)
11729 (package-menu-execute, package-menu--name-predicate):
11730 Adjust accordingly.
11731 * startup.el (package--description-file): New function.
11732 (command-line): Use it.
11733 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11734 Use package-desc-version.
11735
11736 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
11737 (byte-compile-preprocess): Use it.
11738 (byte-compile-file-form-defalias): Try a bit harder to use macros we
11739 can't quite recognize.
11740 (byte-compile-add-to-list): Remove.
11741 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
11742 (cconv-closure-convert): Add assertion.
11743
11744 * emacs-lisp/map-ynp.el: Use lexical-binding.
11745 (map-y-or-n-p): Remove unused vars `tail' and `object'.
11746 Factor out some repeated code.
11747
11748 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
11749
11750 * subr.el (with-eval-after-load): New macro.
11751 (eval-after-load): Allow form to be a function.
11752 take advantage of lexical-binding.
11753 (do-after-load-evaluation): Use dolist and adjust to new format.
11754 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
11755
11756 2013-06-13 Juri Linkov <juri@jurta.org>
11757
11758 * replace.el (perform-replace): Display "symbol " and other search
11759 modes from `isearch-message-prefix' in the *Help* buffer.
11760
11761 * isearch.el (isearch-query-replace): Add " symbol" and other
11762 possible search modes from `isearch-message-prefix' to the prompt.
11763 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
11764 when reading a regexp to collect.
11765
11766 2013-06-13 Juri Linkov <juri@jurta.org>
11767
11768 * isearch.el (word-search-regexp): Match whitespace if the search
11769 string begins or ends in whitespace. The LAX arg is applied to
11770 both ends of the search string. Use `regexp-quote' and explicit
11771 \< and \> instead of \b. Use \` and \' instead of ^ and $.
11772 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
11773 boundaries are replaced with symbol boundaries, and characters
11774 between symbols match non-word non-symbol syntax. (Bug#14602)
11775
11776 2013-06-13 Juri Linkov <juri@jurta.org>
11777
11778 * isearch.el (isearch-del-char): Don't exceed the length of
11779 `isearch-string' by the prefix arg. (Bug#14563)
11780
11781 2013-06-13 Juri Linkov <juri@jurta.org>
11782
11783 * isearch.el (isearch-yank-word, isearch-yank-line)
11784 (isearch-char-by-name, isearch-quote-char)
11785 (isearch-printing-char, isearch-process-search-char):
11786 Add optional count prefix arg. (Bug#14563)
11787
11788 * international/isearch-x.el
11789 (isearch-process-search-multibyte-characters):
11790 Add optional count prefix arg.
11791
11792 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
11793
11794 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
11795 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
11796 lexical-binding.
11797
11798 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
11799
11800 * subr.el (set-temporary-overlay-map): Add on-exit argument.
11801
11802 2013-06-13 Glenn Morris <rgm@gnu.org>
11803
11804 * startup.el (tty-handle-args):
11805 Don't just discard "--" and anything after. (Bug#14608)
11806
11807 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
11808
11809 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
11810
11811 Implement changes in Secret Service API. Make it backward compatible.
11812 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
11813 (secrets-create-item): Use it. Prefix properties with interface.
11814
11815 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
11816
11817 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
11818 (term-emulate-terminal): Respect term-suppress-hard-newline.
11819
11820 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
11821
11822 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
11823 Only remove a `thumb-file' overlay. (Bug#14548)
11824
11825 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
11826
11827 * mail/reporter.el (reporter-submit-bug-report):
11828 Handle missing package-name. (Bug#14600)
11829
11830 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11831
11832 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
11833 (reftex-citation-prompt, reftex-default-bibliography)
11834 (reftex-bib-or-thebib, reftex-get-bibfile-list)
11835 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
11836 (reftex-bib-sort-author, reftex-bib-sort-year)
11837 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
11838 (reftex-extract-bib-entries-from-thebibliography)
11839 (reftex-get-bibkey-default, reftex-get-bib-names)
11840 (reftex-parse-bibtex-entry, reftex-get-bib-field)
11841 (reftex-format-bib-entry, reftex-parse-bibitem)
11842 (reftex-format-bibitem, reftex-do-citation)
11843 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
11844 (reftex-restrict-bib-matches, reftex-extract-bib-file)
11845 (reftex-insert-bib-matches, reftex-format-citation)
11846 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
11847 (reftex-create-bibtex-file): Add docstrings, mostly by converting
11848 existing comments into docstrings.
11849
11850 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
11851
11852 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
11853
11854 2013-06-12 Andreas Schwab <schwab@suse.de>
11855
11856 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
11857 for auto-save files.
11858
11859 2013-06-12 Glenn Morris <rgm@gnu.org>
11860
11861 * ido.el (ido-delete-ignored-files): Remove.
11862 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
11863 Go back to calling ido-ignore-item-p directly.
11864
11865 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
11866
11867 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
11868
11869 * ido.el (ido-delete-ignored-files): New function,
11870 split from ido-make-file-list-1.
11871 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
11872 (ido-make-file-list-1): Use ido-delete-ignored-files.
11873
11874 2013-06-12 Leo Liu <sdl.web@gmail.com>
11875
11876 * progmodes/octave.el (inferior-octave-startup)
11877 (inferior-octave-completion-table)
11878 (inferior-octave-track-window-width-change)
11879 (octave-eldoc-function-signatures, octave-help)
11880 (octave-find-definition): Use single quoted strings.
11881 (inferior-octave-startup-args): Change default value.
11882 (inferior-octave-startup): Do not hard code "-i" and
11883 "--no-line-editing".
11884 (inferior-octave-resync-dirs): Add optional arg NOERROR.
11885 (inferior-octave-directory-tracker): Use it.
11886 (octave-goto-function-definition): Robustify.
11887 (octave-help): Support highlighting operators in 'See also'.
11888 (octave-find-definition): Find subfunctions only in Octave mode.
11889
11890 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
11891
11892 * help-fns.el (help-fns--compiler-macro): If the handler function is
11893 named, then put a link to it.
11894 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
11895 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
11896 (cl-typep): Use it.
11897 (cl-eval-when): Simplify debug spec.
11898 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
11899 compiler-macro function instead of setting `compiler-macro-file'.
11900
11901 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
11902
11903 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
11904 * vc/vc-hooks.el (vc-stay-local): Doc fix.
11905
11906 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
11907 Daniel Hackney <dan@haxney.org>
11908
11909 First part of Daniel Hackney's patch to package.el.
11910 * emacs-lisp/package.el: Use defstruct.
11911 (package-desc): New, main struct.
11912 (package--bi-desc, package--ac-desc): New structs, used to describe the
11913 format in external files.
11914 (package-desc-vers): Replace with package-desc-version accessor.
11915 (package-desc-doc): Replace with package-desc-summary accessor.
11916 (package-activate-1): Remove `package' arg since the pkg-vec now
11917 includes the name.
11918 (define-package): Use package-desc-from-define.
11919 (package-unpack-single): Change file-name arg to be a symbol.
11920 (package--add-to-archive-contents): Use package-desc-create and new
11921 accessor functions to package--ac-desc.
11922 (package-buffer-info, package-tar-file-info): Return a package-desc.
11923 (package-install-from-buffer): Remove `type' argument. Change pkg-info
11924 arg to be a package-desc.
11925 (package-install-file): Adjust accordingly. Use \' to match EOS.
11926 (package--from-builtin): New function.
11927 (describe-package-1, package-menu--generate): Use it.
11928 (package--make-autoloads-and-compile): Change name arg to be a symbol.
11929 (package-generate-autoloads): Idem and return the name of the file.
11930 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11931 Change pkg-info arg to be a package-desc.
11932 Use package-make-ac-desc.
11933 (package-upload-file): Use \' to match EOS.
11934 * finder.el (finder-compile-keywords): Use package-make-builtin.
11935
11936 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11937
11938 * vc/vc.el (vc-deduce-fileset): Change error message.
11939 (vc-read-backend): New function.
11940 (vc-next-action): Use it.
11941
11942 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
11943
11944 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
11945 (prolog-font-lock-keywords): Use regexp-opt instead.
11946 Don't manually highlight strings.
11947 (prolog-mode-variables): Simplify comment-start-skip.
11948 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
11949
11950 * emacs-lisp/generic.el (generic--normalise-comments)
11951 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
11952 (generic-mode-set-comments): Use them.
11953 (generic-bracket-support): Use setq-local.
11954 (generic-make-keywords-list): Declare obsolete.
11955
11956 2013-06-11 Glenn Morris <rgm@gnu.org>
11957
11958 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
11959 Prettify after setting font-lock-defaults. (Bug#14574)
11960
11961 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
11962
11963 * replace.el (query-replace, occur-read-regexp-defaults-function)
11964 (replace-search):
11965 * subr.el (declare-function, number-sequence, local-set-key)
11966 (substitute-key-definition, locate-user-emacs-file)
11967 (with-silent-modifications, split-string, eval-after-load):
11968 Fix typos, remove unneeded backslashes and reflow some docstrings.
11969
11970 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11971
11972 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
11973 default for Elisp files.
11974
11975 2013-06-11 Glenn Morris <rgm@gnu.org>
11976
11977 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
11978 although define-derived-mode was doing this anyway. (Bug#14583)
11979
11980 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
11981
11982 * allout.el (allout-encryption-plaintext-sanitization-regexps):
11983 Fix make-variable-buffer-local call to refer to the correct variable.
11984
11985 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
11986
11987 * eshell/em-term.el (eshell-visual-commands)
11988 (eshell-visual-subcommands, eshell-visual-options):
11989 Add summary line to docstrings. Add cross-references.
11990
11991 2013-06-10 Glenn Morris <rgm@gnu.org>
11992
11993 * epa.el (epa-read-file-name): New function. (Bug#14510)
11994 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
11995
11996 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
11997
11998 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
11999 output redirection to be ignored with visual commands.
12000
12001 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
12002
12003 * eshell/em-term.el (eshell-visual-command-p): New function.
12004 (eshell-term-initialize): Move long lambda to separate function
12005 eshell-visual-command-p.
12006 * eshell/em-dirs.el (eshell-dirs-initialize):
12007 * eshell/em-script.el (eshell-script-initialize):
12008 Add missing #' to lambda.
12009
12010 2013-06-08 Leo Liu <sdl.web@gmail.com>
12011
12012 * progmodes/octave.el (octave-add-log-current-defun): New function.
12013 (octave-mode): Set add-log-current-defun-function.
12014 (octave-goto-function-definition): Do not move point if not found.
12015 (octave-find-definition): Enhance to try subfunctions first.
12016
12017 2013-06-08 Glenn Morris <rgm@gnu.org>
12018
12019 * emacs-lisp/bytecomp.el (byte-compile-char-before)
12020 (byte-compile-backward-char, byte-compile-backward-word):
12021 Improve previous change, to handle non-explicit nil.
12022
12023 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12024
12025 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
12026 (smie--opener/closer-at-point): New function.
12027 (smie--matching-block-data): Use it. Don't match from right after an
12028 opener or right before a closer. Obey smie-blink-matching-inners.
12029 Don't signal a mismatch for repeated inners like "switch..case..case".
12030
12031 2013-06-07 Leo Liu <sdl.web@gmail.com>
12032
12033 * progmodes/octave.el (octave-mode): Set comment-use-global-state
12034 to t. (Bug#14303)
12035 (octave-function-header-regexp): Fix. (Bug#14570)
12036 (octave-help-mode-finish-hook, octave-help-mode-finish):
12037 Remove. Just use temp-buffer-show-hook.
12038
12039 * newcomment.el (comment-search-backward): Revert last change.
12040 (Bug#14434)
12041
12042 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
12043
12044 2013-06-07 Eli Zaretskii <eliz@gnu.org>
12045
12046 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
12047 through xargs, to avoid failure due to MS-Windows limitations on
12048 command-line length.
12049
12050 2013-06-06 Glenn Morris <rgm@gnu.org>
12051
12052 * font-lock.el (lisp-font-lock-keywords-2):
12053 Treat user-error like error.
12054
12055 * emacs-lisp/bytecomp.el (byte-compile-char-before)
12056 (byte-compile-backward-char, byte-compile-backward-word):
12057 Handle explicit nil arguments. (Bug#14565)
12058
12059 2013-06-05 Alan Mackenzie <acm@muc.de>
12060
12061 * isearch.el (isearch-allow-prefix): New user option.
12062 (isearch-other-meta-char): Don't exit isearch when a prefix
12063 argument is typed whilst `isearch-allow-prefix' is non-nil.
12064 (Bug#9706)
12065
12066 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12067
12068 * autorevert.el (auto-revert-notify-handler): Use memq.
12069 Hide assertion failure.
12070
12071 * skeleton.el: Use cl-lib.
12072 (skeleton-further-elements): Use defvar-local.
12073 (skeleton-insert): Use cl-progv.
12074
12075 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
12076
12077 * progmodes/prog-mode.el (prog-prettify-symbols)
12078 (prog-prettify-install): Update docstrings.
12079
12080 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12081
12082 * simple.el: Move all the prog-mode code to prog-mode.el.
12083 * progmodes/prog-mode.el: New file.
12084 * loadup.el: Add prog-mode.el.
12085
12086 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
12087
12088 * simple.el (prog-prettify-symbols): Add version.
12089 (prog-prettify-install): Add convenience function to prettify symbols.
12090
12091 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
12092 (perl--augmented-font-lock-keywords-1)
12093 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
12094 variables and use it.
12095
12096 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
12097 (cfengine3-mode): Remove unneeded variable and use it.
12098
12099 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
12100 (lisp--augmented-font-lock-keywords-1)
12101 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
12102 Remove unneeded variables and use it.
12103
12104 2013-06-05 João Távora <joaotavora@gmail.com>
12105
12106 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
12107 to point when opening the connection. (Bug#14380)
12108
12109 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12110
12111 * subr.el (load-history-regexp, load-history-filename-element)
12112 (eval-after-load, after-load-functions, do-after-load-evaluation)
12113 (eval-next-after-load, display-delayed-warnings)
12114 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
12115 definition of save-match-data.
12116 (overriding-local-map): Remove accidental obsolescence declaration.
12117
12118 * emacs-lisp/edebug.el (edebug-result): Move before first use.
12119
12120 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
12121
12122 Generalize symbol prettify support to prog-mode and implement it
12123 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
12124 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
12125 (prog--prettify-font-lock-compose-symbol)
12126 (prog-prettify-font-lock-symbols-keywords): New variables and
12127 functions to support symbol prettification.
12128 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
12129 (lisp--augmented-font-lock-keywords-1)
12130 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
12131 (lisp--prettify-symbols-alist): Implement prettify of lambda.
12132 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
12133 (cfengine3--prettify-symbols-alist, cfengine3-mode):
12134 Implement prettify of -> => :: strings.
12135 * progmodes/perl-mode.el (perl-prettify-symbols)
12136 (perl--font-lock-compose-symbol)
12137 (perl--font-lock-symbols-keywords): Move to prog-mode.
12138 (perl--prettify-symbols-alist): Prettify -> => :: strings.
12139 (perl-font-lock-keywords-1)
12140 (perl-font-lock-keywords-2): Remove explicit prettify support.
12141 (perl--augmented-font-lock-keywords)
12142 (perl--augmented-font-lock-keywords-1)
12143 (perl--augmented-font-lock-keywords-2, perl-mode):
12144 Implement prettify support.
12145
12146 2013-06-05 Leo Liu <sdl.web@gmail.com>
12147
12148 Re-implement SMIE matching block highlight using
12149 show-paren-data-function. (Bug#14395)
12150 * emacs-lisp/smie.el (smie-matching-block-highlight)
12151 (smie--highlight-matching-block-overlay)
12152 (smie--highlight-matching-block-lastpos)
12153 (smie-highlight-matching-block)
12154 (smie-highlight-matching-block-mode): Remove.
12155 (smie--matching-block-data-cache): New variable.
12156 (smie--matching-block-data): New function.
12157 (smie-setup): Use smie--matching-block-data for
12158 show-paren-data-function.
12159
12160 * progmodes/octave.el (octave-mode-menu): Fix.
12161 (octave-find-definition): Skip garbage lines.
12162
12163 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12164
12165 Fix compilation error with simultaneous dynamic+lexical scoping.
12166 Add warning when a defvar appears after the first let-binding.
12167 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
12168 (byte-compile-close-variables): Initialize it.
12169 (byte-compile--declare-var): New function.
12170 (byte-compile-file-form-defvar)
12171 (byte-compile-file-form-define-abbrev-table)
12172 (byte-compile-file-form-custom-declare-variable): Use it.
12173 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
12174 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
12175 (byte-compile-bind): Handle dynamic bindings that shadow
12176 lexical bindings.
12177 (byte-compile-unbind): Make arg non-optional.
12178 (byte-compile-let): Simplify.
12179 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
12180 (cconv--analyse-function, cconv-analyse-form): Populate it.
12181 Protect byte-compile-bound-variables to limit the scope of defvars.
12182 (cconv-analyse-form): Add missing rule for (defvar <foo>).
12183 Remove unneeded rule for `declare'.
12184
12185 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
12186 so as to avoid depending on cl-adjoin at run-time.
12187 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
12188
12189 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
12190 (macroexp--warn-and-return): Use it.
12191
12192 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12193
12194 * subr.el: Convert to lexical binding.
12195 (overriding-local-map): Make obsolete.
12196 (add-to-list): Doc fix. Add compiler macro.
12197 (read-key): Swap values of local maps.
12198
12199 2013-06-05 Leo Liu <sdl.web@gmail.com>
12200
12201 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
12202
12203 2013-06-04 Leo Liu <sdl.web@gmail.com>
12204
12205 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
12206 (compilation-auto-jump): Suppress the "Mark set" message to give
12207 way to exit message.
12208
12209 2013-06-04 Alan Mackenzie <acm@muc.de>
12210
12211 Remove faulty optimisation from indentation calculation.
12212 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
12213 search limit based on 2000 characters back from indent-point.
12214
12215 2013-06-03 Tassilo Horn <tsdh@gnu.org>
12216
12217 * eshell/em-term.el (cl-lib): Require `cl-lib'.
12218
12219 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
12220
12221 * emacs-lisp/lisp.el: Use lexical-binding.
12222 (lisp--local-variables-1, lisp--local-variables): New functions.
12223 (lisp--local-variables-completion-table): New var.
12224 (lisp-completion-at-point): Use it complete let-bound vars.
12225
12226 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
12227 eagerly (bug#14422).
12228
12229 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
12230
12231 * autorevert.el (auto-revert-notify-enabled)
12232 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
12233 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
12234 (auto-revert-notify-handler): Handle also gfilenotify.
12235
12236 * subr.el (file-notify-handle-event): New defun. Replacing ...
12237 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
12238 Remove.
12239
12240 2013-06-03 Juri Linkov <juri@jurta.org>
12241
12242 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
12243 `M-s h .'. (Bug#14427)
12244
12245 * hi-lock.el (highlight-symbol-at-point): New alias for the new
12246 command `hi-lock-face-symbol-at-point'.
12247 (hi-lock-face-symbol-at-point): New command.
12248 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
12249 (hi-lock-menu): Add `highlight-symbol-at-point'.
12250 (hi-lock-mode): Doc fix.
12251
12252 * isearch.el (isearch-forward-symbol-at-point): New command.
12253 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
12254 (isearch-highlight-regexp): Add a regexp which matches
12255 words/symbols for word/symbol mode.
12256
12257 * subr.el (find-tag-default-bounds): New function with the body
12258 mostly moved from `find-tag-default'.
12259 (find-tag-default): Move most code to `find-tag-default-bounds',
12260 call it and apply `buffer-substring-no-properties' afterwards.
12261
12262 2013-06-03 Tassilo Horn <tsdh@gnu.org>
12263
12264 * eshell/em-term.el (eshell-term-initialize):
12265 Use `cl-intersection' rather than `intersection'.
12266
12267 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
12268
12269 * vc/log-view.el: Doc fix.
12270 (log-view-mode-map): Copy keymap from `special-mode-map'.
12271
12272 2013-06-02 Eric Ludlam <zappo@gnu.org>
12273
12274 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
12275 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
12276 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
12277 (eieio-unbound, eieio-default-superclass)
12278 (eieio--define-field-accessors, method-static, method-before)
12279 (method-primary, method-after, method-num-lists)
12280 (method-generic-before, method-generic-primary)
12281 (method-generic-after, method-num-slots)
12282 (eieio-specialized-key-to-generic-key)
12283 (eieio--check-type, class-v, class-p)
12284 (eieio-class-name, define-obsolete-function-alias)
12285 (eieio-class-parents-fast, eieio-class-children-fast)
12286 (same-class-fast-p, class-constructor, generic-p)
12287 (generic-primary-only-p, generic-primary-only-one-p)
12288 (class-option-assoc, class-option, eieio-object-p)
12289 (class-abstract-p, class-method-invocation-order)
12290 (eieio-defclass-autoload-map, eieio-defclass-autoload)
12291 (eieio-class-un-autoload, eieio-defclass)
12292 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
12293 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
12294 (eieio--defgeneric-init-form, eieio-defgeneric-form)
12295 (eieio-defgeneric-reset-generic-form)
12296 (eieio-defgeneric-form-primary-only)
12297 (eieio-defgeneric-reset-generic-form-primary-only)
12298 (eieio-defgeneric-form-primary-only-one)
12299 (eieio-defgeneric-reset-generic-form-primary-only-one)
12300 (eieio-unbind-method-implementations)
12301 (eieio--defmethod, eieio--typep)
12302 (eieio-perform-slot-validation, eieio-validate-slot-value)
12303 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
12304 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
12305 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
12306 (eieio-slot-name-index, eieio-class-slot-name-index)
12307 (eieio-set-defaults, eieio-initarg-to-attribute)
12308 (eieio-attribute-to-initarg, eieio-c3-candidate)
12309 (eieio-c3-merge-lists, eieio-class-precedence-c3)
12310 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
12311 (eieio-class-precedence-list, eieio-generic-call-methodname)
12312 (eieio-generic-call-arglst, eieio-generic-call-key)
12313 (eieio-generic-call-next-method-list)
12314 (eieio-pre-method-execution-functions, eieio-generic-call)
12315 (eieio-generic-call-primary-only, eieiomt-method-list)
12316 (eieiomt-optimizing-obarray, eieiomt-install)
12317 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
12318 (eieio-generic-form, eieio-defmethod, make-obsolete)
12319 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
12320 (defclass): Remove `eval-and-compile' from macro.
12321 (call-next-method, shared-initialize): Instead of using
12322 `scoped-class' variable, use new eieio--scoped-class, and
12323 eieio--with-scoped-class.
12324 (initialize-instance): Rename local variable 'scoped-class' to
12325 'this-class' to remove ambiguitity from old global.
12326
12327 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
12328 eieio.el.
12329 (eieio--scoped-class-stack): New variable.
12330 (eieio--scoped-class): New fcn.
12331 (eieio--with-scoped-class): New scoping macro.
12332 (eieio-defclass): Use pushnew instead of add-to-list.
12333 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
12334 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
12335 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
12336 `scoped-class' variable, use new eieio--scoped-class, and
12337 eieio--with-scoped-class.
12338
12339 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
12340
12341 2013-06-02 Tassilo Horn <tsdh@gnu.org>
12342
12343 * eshell/esh-ext.el (eshell-external-command): Pass args to
12344 `eshell-find-interpreter'.
12345 (eshell-find-interpreter): Add new second parameter ARGS.
12346
12347 * eshell/em-script.el (eshell-script-initialize): Add second arg
12348 to the function added as MATCH to `eshell-interpreter-alist'.
12349
12350 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
12351 the function added as MATCH to `eshell-interpreter-alist'.
12352
12353 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
12354 (eshell-visual-options): New defcustom.
12355 (eshell-escape-control-x): Adapt docstring.
12356 (eshell-term-initialize): Test `eshell-visual-subcommands' and
12357 `eshell-visual-options' in addition to `eshell-visual-commands'.
12358 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
12359
12360 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
12361
12362 * progmodes/python.el (python-indent-block-enders): Add break,
12363 continue and raise keywords.
12364
12365 2013-06-01 Glenn Morris <rgm@gnu.org>
12366
12367 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
12368
12369 Plain (f)boundp silences compilation warnings since Emacs 22.1.
12370 * progmodes/cc-cmds.el (delete-forward-p):
12371 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
12372 * progmodes/cc-engine.el (buffer-syntactic-context):
12373 * progmodes/cc-fonts.el (face-property-instance):
12374 * progmodes/cc-mode.el (set-keymap-parents):
12375 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
12376 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
12377 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
12378 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
12379 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
12380
12381 * progmodes/cc-vars.el (other): Emacs has this widget since
12382 at least 21.1, so don't (re)define it.
12383
12384 * eshell/em-cmpl.el (eshell-cmpl-initialize):
12385 Replace the obsolete alias pcomplete-arg-quote-list.
12386
12387 2013-06-01 Leo Liu <sdl.web@gmail.com>
12388
12389 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
12390 punctuation syntax.
12391 (inferior-octave-minimal-columns)
12392 (inferior-octave-last-column-width): New variables.
12393 (inferior-octave-track-window-width-change): New function.
12394 (inferior-octave-mode): Adjust column width so that Octave output,
12395 for example from 'ls', can fit into the window nicely.
12396
12397 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
12398
12399 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
12400 Highlight expansions inside regexp literals.
12401
12402 2013-05-31 Glenn Morris <rgm@gnu.org>
12403
12404 * obsolete/sym-comp.el (symbol-complete):
12405 Replace obsolete completion-annotate-function.
12406
12407 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
12408
12409 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
12410
12411 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
12412 New function, checks if point is inside a literal that allows
12413 expression expansion.
12414 (ruby-syntax-propertize-expansion): Use it.
12415 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
12416 around the body.
12417
12418 2013-05-30 Juri Linkov <juri@jurta.org>
12419
12420 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
12421 to "\M-si".
12422 (isearch-invisible): New variable.
12423 (isearch-forward): Doc fix.
12424 (isearch-mode): Set `isearch-invisible'
12425 to the value of `search-invisible'.
12426 (isearch-toggle-case-fold): Doc fix.
12427 (isearch-toggle-invisible): New command.
12428 (isearch-query-replace): Let-bind `search-invisible'
12429 to the value of `isearch-invisible'.
12430 (isearch-search): Use `isearch-invisible' instead of
12431 `search-invisible'. Let-bind `search-invisible'
12432 to the value of `isearch-invisible'. (Bug#11378)
12433
12434 2013-05-30 Juri Linkov <juri@jurta.org>
12435
12436 * replace.el (perform-replace): Avoid `isearch-range-invisible'
12437 call when `query-flag' is nil and `search-invisible' is non-nil.
12438 (Bug#11746)
12439
12440 2013-05-30 Glenn Morris <rgm@gnu.org>
12441
12442 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
12443
12444 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
12445 (cc-require): Suppress spurious "noruntime" warnings.
12446 (cc-require-when-compile): Use fboundp, for sake of compiler.
12447
12448 * progmodes/cc-mode.el: Move load of cc-vars before that of
12449 cc-langs (which in turn loads cc-vars), to quieten compiler.
12450
12451 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12452
12453 * paren.el: Simplify the code.
12454 (show-paren-mode): Always start the timer.
12455 (show-paren--idle-timer): Rename from show-paren-idle-timer.
12456 (show-paren--overlay, show-paren--overlay-1): Rename from
12457 show-paren-overlay and show-paren-overlay-1, and initialize to an
12458 overlay rather than to nil.
12459 (show-paren-function): Misc cleanup and simplifications.
12460
12461 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12462
12463 * paren.el (show-paren-data-function): New hook.
12464 (show-paren--default): New function, extracted from show-paren-function.
12465 (show-paren-function): Use show-paren-data-function.
12466
12467 2013-05-30 Glenn Morris <rgm@gnu.org>
12468
12469 * ielm.el (ielm-map, ielm-complete-symbol):
12470 Use completion-at-point rather than obsolete functions.
12471 (inferior-emacs-lisp-mode): Doc fix.
12472 Set completion-at-point-functions, rather than
12473 comint-dynamic-complete-functions.
12474
12475 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
12476 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
12477 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
12478
12479 * image.el (image-animated-p): Tweak definition.
12480
12481 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
12482 (rlogin-process-connection-type): Tweak default. Add set-after.
12483 (rlogin-host): Doc fix.
12484 (rlogin): Tweak prompt.
12485 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
12486
12487 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
12488 * progmodes/tcl.el (inferior-tcl-mode-map):
12489 Use completion-at-point rather than obsolete alias.
12490
12491 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
12492
12493 * minibuffer.el (read-file-name-completion-ignore-case):
12494 Move before completion--in-region, for eager macro expansion.
12495
12496 2013-05-29 Juri Linkov <juri@jurta.org>
12497
12498 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
12499 for total count of matching lines. Add `global-matches' for total
12500 count of matches. Rename `matches' to `lines' for count of
12501 matching lines. Add `matches' for count of matches.
12502 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
12503 to `prev-line' for line number of prev match endpt.
12504 Increment `matches' for every match. Print the number of
12505 matching lines in the header.
12506 (occur-context-lines): Rename `lines' to `curr-line'.
12507 Rename `prev-lines' to `prev-line'. (Bug#14017)
12508
12509 2013-05-29 Juri Linkov <juri@jurta.org>
12510
12511 * replace.el (perform-replace): Add `skip-read-only-count',
12512 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
12513 Increment them for corresponding conditions and report the number
12514 of skipped occurrences in the final message. (Bug#11746)
12515 (query-replace, query-replace-regexp, query-replace-regexp-eval)
12516 (replace-string, replace-regexp): Doc fix.
12517
12518 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
12519
12520 * emacs-lisp/trace.el (trace--read-args): Provide a default.
12521
12522 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
12523 prog-mode-map (bug#14504).
12524
12525 2013-05-29 Leo Liu <sdl.web@gmail.com>
12526
12527 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
12528 (octave-help): Small simplification.
12529
12530 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
12531 off the highlight first.
12532
12533 2013-05-29 Glenn Morris <rgm@gnu.org>
12534
12535 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
12536 Handle idlwave-last-system-routine-info-cons-cell being nil.
12537
12538 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
12539 (idlwave-write-paths): Simplify via with-temp-buffer.
12540
12541 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
12542 * emulation/cua-rect.el: Also load cua-base at run time.
12543
12544 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
12545 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
12546 (cperl-imenu-on-info): Require imenu.
12547
12548 2013-05-28 Alan Mackenzie <acm@muc.de>
12549
12550 Handle "capitalised keywords" correctly.
12551 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
12552
12553 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
12554
12555 * eshell/em-unix.el: Add -r option to cp.
12556
12557 2013-05-28 Glenn Morris <rgm@gnu.org>
12558
12559 * vc/vc-arch.el (vc-exec-after): Declare.
12560 (vc-switches): Autoload.
12561 * vc/vc-bzr.el: No need to require vc when compiling.
12562 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
12563 (vc-resynch-buffer, vc-dir-refresh): Declare.
12564 (vc-setup-buffer, vc-switches): Autoload.
12565 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
12566 (vc-resynch-buffer): Declare.
12567 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
12568 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
12569 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
12570 (grep-read-regexp, grep-read-files, grep-expand-template)
12571 (vc-dir-refresh): Declare.
12572 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
12573 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
12574 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
12575 * vc/vc-mtn.el (vc-exec-after): Declare.
12576 (vc-switches): Autoload.
12577 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
12578 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
12579 (vc-file-tree-walk): Declare.
12580 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
12581 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
12582 (vc-tag-precondition, vc-rename-master): Autoload.
12583 * vc/vc-svn.el (vc-exec-after): Declare.
12584 (vc-switches, vc-setup-buffer): Autoload.
12585 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
12586 Autoload.
12587 (vc-resynch-buffer): Declare.
12588
12589 * obsolete/fast-lock.el (byte-compile-warnings):
12590 Don't warn about obsolete features in this obsolete file.
12591
12592 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
12593 Move definition before use.
12594
12595 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
12596 (dun-unix-verbs): Remove dun-zippy.
12597 (dun-zippy): Remove function.
12598
12599 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
12600
12601 2013-05-27 Juri Linkov <juri@jurta.org>
12602
12603 * replace.el (replace-search): New function with code moved out
12604 from `perform-replace'.
12605 (replace-highlight, replace-dehighlight): Move function definitions
12606 up closer to `replace-search'. (Bug#11746)
12607
12608 2013-05-27 Juri Linkov <juri@jurta.org>
12609
12610 * replace.el (perform-replace): Ignore invisible matches.
12611 In addition to checking `query-replace-skip-read-only', also
12612 filter out matches by calling `run-hook-with-args-until-failure'
12613 on `isearch-filter-predicates', and also check `search-invisible'
12614 for t or call `isearch-range-invisible'.
12615 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
12616
12617 2013-05-27 Juri Linkov <juri@jurta.org>
12618
12619 * isearch.el (isearch-filter-predicates): Rename from
12620 `isearch-filter-predicate'. Doc fix. (Bug#11378)
12621 (isearch-message-prefix): Display text from the property
12622 `isearch-message-prefix' of the currently active filters.
12623 (isearch-search): Don't compare `isearch-filter-predicate' with
12624 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
12625 on `isearch-filter-predicates'. Also check `search-invisible' for t
12626 or call `isearch-range-invisible'.
12627 (isearch-filter-visible): Make obsolete.
12628 (isearch-lazy-highlight-search):
12629 Call `run-hook-with-args-until-failure' on
12630 `isearch-filter-predicates' and use `isearch-range-invisible'.
12631
12632 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
12633 `isearch-filter-predicates' instead of `funcall'ing
12634 `isearch-filter-predicate'.
12635 (Info-mode): Set `Info-isearch-filter' to
12636 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
12637
12638 * dired-aux.el (dired-isearch-filter-predicate-orig):
12639 Remove variable.
12640 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
12641 (dired-isearch-filenames-end): Add and remove
12642 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
12643 instead of changing the value of `isearch-filter-predicate'.
12644 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
12645 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
12646 Put property `isearch-message-prefix' to "filename " on
12647 `dired-isearch-filter-filenames'.
12648
12649 * wdired.el (wdired-change-to-wdired-mode):
12650 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
12651 locally instead of changing `isearch-filter-predicate'.
12652 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
12653
12654 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
12655
12656 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
12657 return the commit hash (Bug#14459). Also set the
12658 `vc-git-detached' property.
12659 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
12660 (vc-git-mode-line-string): Use the same help-echo format whether
12661 in detached mode or not, because we know the actual revision now.
12662 When in detached mode, shorten the revision to 7 chars.
12663
12664 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
12665
12666 * emacs-lisp/easy-mmode.el (define-minor-mode):
12667 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
12668 mode hook and provide a docstring.
12669
12670 2013-05-27 Alan Mackenzie <acm@muc.de>
12671
12672 Remove spurious syntax-table text properties inserted by C-y.
12673 * progmodes/cc-mode.el (c-after-change): Also clear hard
12674 syntax-table property with value nil.
12675
12676 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
12677
12678 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
12679 when reading the events; the buffer layout shall not be changed.
12680
12681 2013-05-27 Leo Liu <sdl.web@gmail.com>
12682
12683 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
12684 New variable.
12685 (inferior-octave-directory-tracker): Automatically re-sync
12686 default-directory.
12687 (octave-help): Improve handling of 'See also'.
12688
12689 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
12690
12691 * doc-view.el: Minor naming convention tweaks.
12692 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
12693
12694 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
12695 even if there's no `display' property yet (bug#14435).
12696
12697 2013-05-25 Eli Zaretskii <eliz@gnu.org>
12698
12699 * subr.el (unmsys--file-name): Rename from reveal-filename.
12700
12701 * Makefile.in (custom-deps, finder-data, autoloads)
12702 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
12703 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
12704 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
12705
12706 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
12707
12708 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
12709 error-completion on the first 2 args of condition-case (bug#14446).
12710 Don't burp at EOB.
12711
12712 2013-05-25 Leo Liu <sdl.web@gmail.com>
12713
12714 * comint.el (comint-previous-matching-input): Do not flood the
12715 *Messages* buffer with trivial messages.
12716
12717 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
12718
12719 * progmodes/flymake.el (flymake-nop): Don't return a string.
12720 (flymake-set-at): Fix typo.
12721
12722 * simple.el (read--expression): New function, extracted from
12723 eval-expression. Set completion-at-point-functions (bug#14465).
12724 (eval-expression, eval-minibuffer): Use it.
12725
12726 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
12727
12728 * progmodes/flymake.el (flymake-save-buffer-in-file)
12729 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
12730 (flymake-selected-frame, flymake-log, flymake-ins-after)
12731 (flymake-set-at, flymake-get-buildfile-from-cache)
12732 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
12733 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
12734 Refine the doc string.
12735 (flymake-get-file-name-mode-and-masks): Reformat.
12736 (flymake-get-real-file-name-function): Fix a minor bug.
12737
12738 2013-05-24 Juri Linkov <juri@jurta.org>
12739
12740 * progmodes/grep.el (grep-mode-font-lock-keywords):
12741 Support =linenumber= format used by git-grep for lines with
12742 function names. (Bug#13549)
12743
12744 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
12745
12746 * progmodes/octave.el (octave-smie-rules): Return nil rather than
12747 0 after a semi-colon; it works better for smie-auto-fill.
12748 (octave--indent-new-comment-line): New function.
12749 (octave-indent-new-comment-line): Use it (indirectly).
12750 (octave-mode): Don't disable smie-auto-fill. Use add-function to
12751 modify comment-line-break-function.
12752
12753 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
12754 (smie-setup): Use add-function to set it.
12755
12756 2013-05-24 Sam Steingold <sds@gnu.org>
12757
12758 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
12759 argument (before the `interactive' argument).
12760
12761 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
12762
12763 * image-mode.el (image-mode-winprops): Add winprops to
12764 image-mode-winprops-alist before running
12765 image-mode-new-window-functions.
12766 * doc-view.el (doc-view-new-window-function): Don't delay
12767 doc-view-goto-page via timers (bug#14435).
12768
12769 2013-05-24 Tassilo Horn <tsdh@gnu.org>
12770
12771 * doc-view.el: Integrate with desktop.el. (Bug#14435)
12772 (doc-view-desktop-save-buffer): New function.
12773 (doc-view-restore-desktop-buffer): New function.
12774 (desktop-buffer-mode-handlers):
12775 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
12776 handler.
12777 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
12778 `desktop-save-buffer' function.
12779
12780 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
12781
12782 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
12783 (tramp-gvfs-file-name-handler): Raise a user error when
12784 `tramp-gvfs-enabled' is nil.
12785 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
12786 Do not raise a user error when loading package. (Bug#14447)
12787
12788 * net/xesam.el: Move to obsolete/.
12789
12790 2013-05-24 Glenn Morris <rgm@gnu.org>
12791
12792 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
12793
12794 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
12795
12796 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
12797 (Info-find-node, Man-getpage-in-background): Declare.
12798
12799 * mail/unrmail.el (unrmail):
12800 Replace obsolete detect-coding-with-priority.
12801
12802 * net/socks.el (socks-split-string): Use this rather than split-string.
12803 (socks-nslookup-host): Update for above change.
12804 (dynamic-choice, s5-dynamic-choice-match)
12805 (s5-dynamic-choice-match-inline, s5-widget-value-create):
12806 Comment out unused code.
12807
12808 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
12809 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
12810 (gud-tooltip-echo-area): Make obsolete.
12811 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
12812
12813 * progmodes/js.el (js--optimize-arglist): Declare.
12814
12815 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
12816
12817 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
12818 (ediff-window-C): Declare.
12819
12820 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
12821 Tweak requires to silence compiler.
12822
12823 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
12824 (he-search-string, he-tried-table, he-expand-list)
12825 (he-init-string, he-string-member, he-substitute-string)
12826 (he-reset-string): Declare.
12827
12828 * obsolete/options.el (list-options): Use custom-variable-p,
12829 rather than obsolete alias.
12830
12831 2013-05-23 Sam Steingold <sds@gnu.org>
12832
12833 * simple.el (shell-command-on-region): Pass the `replace' argument
12834 down to `call-process-region' to comply with the doc as reported on
12835 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
12836
12837 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12838
12839 * emacs-lisp/smie.el (smie-indent-forward-token)
12840 (smie-indent-backward-token): Handle string tokens (bug#14381).
12841
12842 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12843
12844 * ielm.el (ielm-menu): New menu.
12845 (inferior-emacs-lisp-mode): Set comment-start.
12846
12847 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12848
12849 * textmodes/reftex.el (reftex-ref-style-toggle):
12850 Fix deactivate action.
12851
12852 * textmodes/reftex-vars.el (reftex-ref-style-alist):
12853 Add cleveref macros.
12854
12855 * textmodes/reftex-parse.el
12856 (reftex-locate-bibliography-files): Accept options for
12857 bibliography commands.
12858 * textmodes/reftex-vars.el (reftex-bibliography-commands):
12859 Add addbibresource. Basic Biblatex support.
12860
12861 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
12862
12863 * net/tramp-gvfs.el (top):
12864 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
12865 when loading package. (Bug#14447)
12866
12867 2013-05-23 Glenn Morris <rgm@gnu.org>
12868
12869 * progmodes/js.el: No need to load comint when compiling.
12870 (ring-insert, comint-send-string, comint-send-input)
12871 (comint-last-input-end, ido-chop): Declare.
12872
12873 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
12874 * vc/ediff-mult.el: Adjust requires.
12875 (ediff-directories-internal, ediff-directory-revisions-internal)
12876 (ediff-patch-file-internal): Declare.
12877 * vc/ediff-ptch.el: Adjust requires.
12878 (ediff-use-last-dir, ediff-buffers-internal): Declare.
12879 (ediff-find-file): Autoload.
12880 * vc/ediff-util.el: No need to load ediff when compiling.
12881 (ediff-regions-internal): Declare.
12882 * vc/ediff-wind.el: Adjust requires.
12883 (ediff-compute-toolbar-width): Define when compiling.
12884 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
12885 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
12886 (dired-get-filename, dired-get-marked-files)
12887 (ediff-last-dir-patch, ediff-patch-default-directory)
12888 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
12889 (ediff-patch-buffer-internal): Declare.
12890
12891 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
12892 (ispell-process, ispell-buffer-local-words, lm-summary)
12893 (lm-section-start, lm-section-end): Declare.
12894 (checkdoc-ispell-init): Simplify.
12895
12896 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
12897 (he-string-member, he-reset-string, he-substitute-string): Declare.
12898
12899 * eshell/em-ls.el: Adjust requires.
12900 (eshell-glob-regexp): Declare.
12901 * eshell/em-tramp.el: Adjust requires.
12902 (eshell-parse-command): Autoload.
12903 * eshell/em-xtra.el: Adjust requires.
12904 (eshell-parse-command): Autoload.
12905 * eshell/esh-ext.el: Adjust requires.
12906 (eshell-parse-command, eshell-close-handles): Autoload.
12907 * eshell/esh-io.el: Adjust requires.
12908 (eshell-output-filter): Autoload.
12909 * eshell/esh-util.el: No need to load tramp when compiling.
12910 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
12911 Declare.
12912 (eshell-parse-ange-ls): Require ange-ftp and tramp.
12913 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
12914 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
12915 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
12916 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
12917 * eshell/esh-opt.el, eshell/esh-proc.el:
12918 * eshell/esh-var.el: Adjust requires.
12919 * eshell/eshell.el: Do not require esh-util twice.
12920 (eshell-add-input-to-history): Declare.
12921 (eshell-command): Check history module is active before using it.
12922
12923 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
12924
12925 2013-05-22 Leo Liu <sdl.web@gmail.com>
12926
12927 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
12928
12929 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
12930
12931 * autorevert.el (auto-revert-notify-add-watch)
12932 (auto-revert-notify-handler): Add `attrib' for the inotify case,
12933 it indicates changes in file modification time.
12934
12935 2013-05-22 Glenn Morris <rgm@gnu.org>
12936
12937 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
12938 Always delete the autoloaded function from the noruntime and
12939 unresolved functions lists.
12940
12941 * allout.el: No need to load epa, epg, overlay when compiling.
12942 (epg-context-set-passphrase-callback, epg-list-keys)
12943 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
12944 (epg-key-user-id-list): Declare.
12945
12946 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
12947 (viper-set-parsing-style-toggling-macro)
12948 (viper-set-emacs-state-searchstyle-macros):
12949 Use called-interactively-p on Emacs.
12950 (viper-looking-back): Make it an obsolete alias. Update callers.
12951 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
12952 Use looking-back rather than viper-looking-back.
12953 (viper-tmp-insert-at-eob, viper-enlarge-region)
12954 (viper-read-string-with-history, viper-register-to-point)
12955 (viper-append-to-register, viper-change-state-to-vi)
12956 (viper-backward-char-carefully, viper-forward-char-carefully)
12957 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
12958 (viper-change-state-to-emacs): Declare.
12959 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
12960 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
12961 * emulation/viper-mous.el: Do not load viper-cmd.
12962 (viper-backward-char-carefully, viper-forward-char-carefully)
12963 (viper-forward-word, viper-adjust-window): Declare.
12964
12965 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
12966
12967 * progmodes/idlw-help.el (idlwave-help-fontify):
12968 Use called-interactively-p.
12969
12970 * term/w32console.el (w32-get-console-codepage)
12971 (w32-get-console-output-codepage): Declare.
12972
12973 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
12974 Remove unnecessary declarations.
12975 (dframe-message): Doc fix.
12976
12977 * info.el (dframe-select-attached-frame, dframe-current-frame):
12978 Declare.
12979
12980 * speedbar.el (speedbar-message): Make it an obsolete alias.
12981 Update all callers.
12982 (speedbar-with-attached-buffer)
12983 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
12984 (speedbar-with-writable): Use backquote.
12985 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
12986 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
12987 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
12988 rather than speedbar- aliases.
12989 * mail/rmail.el: Load dframe rather than speedbar when compiling.
12990 (speedbar-make-specialized-keymap, speedbar-insert-button)
12991 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
12992 (speedbar-do-function-pointer): Declare.
12993 (rmail-speedbar-button, rmail-speedbar-find-file)
12994 (rmail-speedbar-move-message):
12995 Use dframe-with-attached-buffer rather than speedbar- alias.
12996 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
12997 (dframe-message, speedbar-make-specialized-keymap)
12998 (speedbar-add-expansion-list, speedbar-mode-functions-list)
12999 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
13000 (speedbar-insert-button, dframe-select-attached-frame)
13001 (dframe-maybee-jump-to-attached-frame)
13002 (speedbar-change-initial-expansion-list)
13003 (speedbar-previously-used-expansion-list-name): Declare.
13004 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
13005 Use dframe-message, dframe-with-attached-buffer rather than
13006 speedbar- aliases.
13007 (gud-sentinel): Silence compiler.
13008 * progmodes/vhdl-mode.el (speedbar-refresh)
13009 (speedbar-do-function-pointer, speedbar-add-supported-extension)
13010 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
13011 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
13012 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
13013 (speedbar-file-lists, speedbar-make-tag-line)
13014 (speedbar-line-directory, speedbar-goto-this-file)
13015 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
13016 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
13017 (speedbar-make-button, speedbar-reset-scanners)
13018 (speedbar-files-item-info, speedbar-line-text)
13019 (speedbar-find-file-in-frame, speedbar-set-timer)
13020 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
13021 (speedbar-with-writable): Do not (re)define it.
13022 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
13023 rather than speedbar- alias.
13024
13025 2013-05-21 Leo Liu <sdl.web@gmail.com>
13026
13027 * progmodes/octave.el (octave-mode-menu): Update and re-organize
13028 menu items.
13029 (octave-mode): Tweak fill-nobreak-predicate.
13030 (inferior-octave-startup): Check process to avoid infinite loop.
13031 (inferior-octave): Pop to buffer first to show abornmal process
13032 exit information.
13033
13034 2013-05-21 Glenn Morris <rgm@gnu.org>
13035
13036 * printing.el (pr-menu-bar): Define when compiling.
13037
13038 2013-05-21 Leo Liu <sdl.web@gmail.com>
13039
13040 * progmodes/octave.el (octave-auto-fill): Remove.
13041 (octave-indent-new-comment-line): Improve.
13042 (octave-mode): Use auto fill mode through
13043 comment-line-break-function and fill-nobreak-predicate.
13044 (octave-goto-function-definition): Support DEFUN_DLD.
13045 (octave-beginning-of-defun): Small tweak.
13046 (octave-help): Show parent directory.
13047
13048 2013-05-21 Glenn Morris <rgm@gnu.org>
13049
13050 * files.el (dired-unmark):
13051 * progmodes/gud.el (gdb-input): Update declarations.
13052
13053 * calculator.el (electric, ehelp): No need to load when compiling.
13054 (Electric-command-loop, electric-describe-mode): Declare.
13055
13056 * doc-view.el (doc-view-current-converter-processes): Move before use.
13057
13058 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13059 Move MODE-set-explicitly definition before use.
13060
13061 * international/mule-diag.el (mule-diag):
13062 Don't use obsolete window-system-version.
13063
13064 * mail/feedmail.el (smtpmail): No need to load when compiling.
13065 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
13066
13067 * mail/mail-utils.el (rfc822): No need to load when compiling.
13068 (rfc822-addresses): Autoload it.
13069 (mail-strip-quoted-names): Trivial simplification.
13070
13071 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
13072 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
13073
13074 * net/snmp-mode.el (tempo): Don't duplicate requires.
13075
13076 * progmodes/prolog.el (info): No need to load when compiling.
13077 (comint): Require before shell requires it.
13078 (Info-goto-node): Autoload it.
13079 (Info-follow-nearest-node): Declare.
13080 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
13081
13082 * textmodes/artist.el (picture-mode-exit): Declare.
13083
13084 * textmodes/reftex-parse.el (reftex-parse-from-file):
13085 Trivial rewrite so the compiler can parse it better.
13086
13087 2013-05-20 Leo Liu <sdl.web@gmail.com>
13088
13089 * progmodes/octave.el (octave-help-mode-map)
13090 (octave-help-mode-finish-hook): New variables.
13091 (octave-help-mode, octave-help-mode-finish): New functions.
13092 (octave-help): Use octave-help-mode.
13093
13094 2013-05-20 Glenn Morris <rgm@gnu.org>
13095
13096 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
13097
13098 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
13099
13100 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
13101 start at point, so that expansion starting right after opening
13102 slash in a regexp is recognized.
13103 (ruby-syntax-before-regexp-re): New defvar, extracted from
13104 ruby-syntax-propertize-function. Since the value of this regexp
13105 is looked up at runtime now, we should be able to turn
13106 `ruby-syntax-methods-before-regexp' into a defcustom later.
13107 (ruby-syntax-propertize-function): Split regexp matching into two
13108 parts, for opening and closing slashes. That allows us to skip
13109 over string interpolations and support multiline regexps.
13110 Don't call `ruby-syntax-propertize-expansions', instead use another rule
13111 for them, which calls `ruby-syntax-propertize-expansion'.
13112 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
13113 call to `ruby-syntax-propertize-function'.
13114 (ruby-syntax-propertize-expansion): Extracted from
13115 `ruby-syntax-propertize-expansions'. Handles one expansion.
13116 (ruby-syntax-propertize-percent-literal): Leave point right after
13117 the percent symbol, so that the expression expansion rule can
13118 propertize the contents.
13119 (ruby-syntax-propertize-heredoc): Leave point at bol following the
13120 heredoc openers.
13121 (ruby-syntax-propertize-expansions): Remove.
13122
13123 2013-05-18 Juri Linkov <juri@jurta.org>
13124
13125 * man.el (Man-default-man-entry): Remove `-' from the end
13126 of the default value. (Bug#14400)
13127
13128 2013-05-18 Glenn Morris <rgm@gnu.org>
13129
13130 * comint.el (comint-password-prompt-regexp):
13131 Allow "password for XXX" where XXX contains colons (eg https://...).
13132
13133 2013-05-18 Leo Liu <sdl.web@gmail.com>
13134
13135 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
13136 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
13137 (octave-source-directories): Don't check process.
13138 (octave-source-directories, octave-find-definition): Doc fix.
13139
13140 2013-05-18 Glenn Morris <rgm@gnu.org>
13141
13142 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
13143 Remove backspace/delete bindings. (Bug#14392)
13144
13145 * cus-dep.el (custom-make-dependencies): Sort the output.
13146 (custom-versions-load-alist): Convert comment to doc.
13147
13148 2013-05-17 Leo Liu <sdl.web@gmail.com>
13149
13150 * newcomment.el (comment-search-backward): Stricter in finding
13151 comment start. (Bug#14303)
13152
13153 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
13154 (octave-comment-start-skip): Properly anchored.
13155
13156 2013-05-17 Leo Liu <sdl.web@gmail.com>
13157
13158 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
13159 Clean up when turned off. (Bug#14395)
13160 (smie--highlight-matching-block-overlay): No longer buffer-local.
13161 (smie-highlight-matching-block): Adjust.
13162
13163 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
13164
13165 Doc string fix for "nanoseconds" (Bug#14406).
13166 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
13167 Fix doc string typo that had "nanoseconds" instead of "microseconds".
13168
13169 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
13170
13171 * calc/calc-units.el (math-extract-units): Preserve powers
13172 of units.
13173
13174 2013-05-17 Leo Liu <sdl.web@gmail.com>
13175
13176 * subr.el (delete-consecutive-dups): New function.
13177 * ido.el (ido-set-matches-1): Use it.
13178 * progmodes/octave.el (inferior-octave-completion-table): Use it.
13179 * ido.el (ido-remove-consecutive-dups): Remove.
13180
13181 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13182
13183 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
13184 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
13185 regexp-opt's `words'.
13186
13187 2013-05-16 Leo Liu <sdl.web@gmail.com>
13188
13189 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
13190 (smie--highlight-matching-block-overlay)
13191 (smie--highlight-matching-block-lastpos)
13192 (smie--highlight-matching-block-timer): New variables.
13193 (smie-highlight-matching-block): New function.
13194 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
13195 (smie-setup): Conditionally enable smie-blink-matching-open.
13196
13197 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
13198
13199 Sync with upstream verilog-mode r840.
13200 * progmodes/verilog-mode.el (verilog-mode-version)
13201 (verilog-mode-release-date): Update.
13202 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
13203 (verilog-sig-tieoff): Fix string error on
13204 AUTORESET with colon define, bug594. Reported by Andrew Hou.
13205 (verilog-read-decls): Fix parameters confusing
13206 AUTOINST interfaces, bug565. Reported by Leith Johnson.
13207
13208 2013-05-16 Eli Zaretskii <eliz@gnu.org>
13209
13210 * subr.el (reveal-filename): New function.
13211
13212 * loadup.el: Compute Emacs executable versions on MS-Windows,
13213 where executables have the .exe extension. Add a hard link
13214 emacs-XX.YY.ZZ.exe on MS-Windows.
13215
13216 * Makefile.in (XARGS_LIMIT): New variable.
13217 (custom-deps, finder-data, autoloads)
13218 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
13219 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
13220 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
13221 (compile-main): Limit xargs according to $(XARGS_LIMIT).
13222
13223 2013-05-16 Leo Liu <sdl.web@gmail.com>
13224
13225 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
13226 (octave-mode-menu, octave-mode-map): Remove its uses.
13227
13228 2013-05-16 Reto Zimmermann <reto@gnu.org>
13229
13230 Sync with upstream vhdl mode v3.34.2.
13231 * progmodes/vhdl-mode.el: Use `push' throughout.
13232 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
13233 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
13234 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
13235 (vhdl-actual-generic-name): New option to derive actual generic name.
13236 (vhdl-port-paste-signals): Replace formal by actual generics.
13237 (vhdl-beautify): New name for old group vhdl-align. Update users.
13238 (vhdl-beautify-options): New option.
13239 (vhdl-last-input-event): New compat alias. Use throughout.
13240 (vhdl-goto-line): Replace user level function `goto-line'.
13241 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
13242 vhdl-fix-statement-buffer.
13243 (vhdl-create-mode-menu): Add some entries.
13244 (vhdl-align-region-groups): Respect vhdl-beautify-options.
13245 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
13246 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
13247 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
13248 to force statements on one line.
13249 (vhdl-remove-trailing-spaces-region):
13250 New, split from vhdl-remove-trailing-spaces.
13251 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
13252 Respect vhdl-beautify-options.
13253 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
13254 (vhdl-update-sensitivity-list): Not add with index if exists without.
13255 Not include array index with signal. Ignore keywords in comments.
13256 (vhdl-get-visible-signals): Regexp tweaks.
13257 (vhdl-template-component-inst): Handle empty library.
13258 (vhdl-template-type): Add template for 'enum' type.
13259 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
13260 Use vhdl-replace-string.
13261 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
13262 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
13263 (vhdl-speedbar-initialize): Update for above name change.
13264 (vhdl-compose-wire-components): Fix in handling of constants.
13265 (vhdl-error-regexp-emacs-alist): New variable.
13266 (vhdl-error-regexp-add-emacs): New function;
13267 adds support for new compile.el (Emacs 22+)
13268 (vhdl-generate-makefile-1): Change target order for single lib. units.
13269 Allow use of absolute file names.
13270
13271 2013-05-16 Leo Liu <sdl.web@gmail.com>
13272
13273 * simple.el (prog-indent-sexp): Indent enclosing defun.
13274
13275 2013-05-15 Glenn Morris <rgm@gnu.org>
13276
13277 * cus-start.el (show-trailing-whitespace): Move to editing basics.
13278 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
13279 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
13280 (whitespace-highlight): Move to whitespace group.
13281
13282 * comint.el (comint-source):
13283 * pcmpl-linux.el (pcmpl-linux):
13284 * shell.el (shell-faces):
13285 * eshell/esh-opt.el (eshell-opt):
13286 * international/ccl.el (ccl): Remove empty custom groups.
13287
13288 * completion.el (dynamic-completion-mode):
13289 * jit-lock.el (jit-lock-debug-mode):
13290 * minibuffer.el (completion-in-region-mode):
13291 * type-break.el (type-break-mode-line-message-mode)
13292 (type-break-query-mode):
13293 * emulation/tpu-edt.el (tpu-edt-mode):
13294 * progmodes/subword.el (global-subword-mode, global-superword-mode):
13295 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
13296 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
13297
13298 * term/xterm.el (xterm): Change parent group to terminals.
13299
13300 * master.el (master): Remove empty custom group.
13301 (master-mode): Remove unused :group argument.
13302 * textmodes/refill.el (refill): Remove empty custom group.
13303 (refill-mode): Remove unused :group argument.
13304
13305 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
13306
13307 * cus-dep.el: Provide a feature.
13308 (custom-make-dependencies): Ignore dotfiles (dir-locals).
13309 Don't mistakenly ignore files whose basenames match a basename
13310 from preloaded-file-list (eg cedet/ede/simple.el).
13311 Add a fallback method for getting :group.
13312
13313 2013-05-15 Juri Linkov <juri@jurta.org>
13314
13315 * isearch.el (isearch-char-by-name): Rename from
13316 `isearch-insert-char-by-name'. Doc fix.
13317 (isearch-forward): Mention `isearch-char-by-name' in
13318 the docstring. (Bug#13348)
13319
13320 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
13321 `exit-minibuffer' instead of
13322 `isearch-nonincremental-exit-minibuffer'.
13323 (isearch-edit-string): Remove mention of
13324 `isearch-nonincremental-exit-minibuffer' from docstring.
13325 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
13326 (isearch-forward-exit-minibuffer)
13327 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
13328
13329 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
13330
13331 * loadup.el: Just use unversioned DOC.
13332
13333 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
13334 literals as extending to EOB.
13335 (nxml-last-fontify-end): Remove unused variable.
13336 (nxml-after-change1): Use with-silent-modifications.
13337 (nxml-extend-after-change-region): Simplify.
13338 (nxml-extend-after-change-region1): Remove function.
13339 (nxml-after-change1): Don't adjust for dependent regions.
13340 (nxml-fontify-matcher): Simplify.
13341 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
13342 (xmltok-add-dependent): Remove function.
13343 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
13344 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
13345 (xmltok-scan-prolog-after-processing-instruction-open): Treat
13346 unclosed <[[, <?, comment, and other literals as extending to EOB.
13347 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
13348 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
13349 Remove functions.
13350 (rng-do-some-validation-1): Don't mark dependent regions.
13351 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
13352 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
13353 (nxml-clear-dependent-regions): Remove functions.
13354 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
13355 (nxml-ensure-scan-up-to-date):
13356 Don't clear&mark dependent regions.
13357
13358 2013-05-15 Leo Liu <sdl.web@gmail.com>
13359
13360 * progmodes/octave.el (octave-goto-function-definition):
13361 Improve and fix callers.
13362
13363 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
13364
13365 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
13366 the setter (bug#14387).
13367
13368 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
13369 surrounding group (bug#14402).
13370
13371 2013-05-14 Juri Linkov <juri@jurta.org>
13372
13373 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
13374 (Bug#14390)
13375
13376 2013-05-14 Glenn Morris <rgm@gnu.org>
13377
13378 * progmodes/f90.el (f90-imenu-generic-expression):
13379 Fix typo in 2013-05-08 change. (Bug#14402)
13380
13381 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
13382
13383 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
13384 Remove signals for which replies are never received.
13385
13386 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
13387
13388 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
13389 (gdb-handler-alist, gdb-handler-number): Remove variables.
13390 (gdb-handler-list): New variable.
13391 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
13392 (gdb-pending-handler-p, gdb-handle-reply)
13393 (gdb-remove-all-pending-triggers): New functions.
13394 (gdb-discard-unordered-replies): New defcustom.
13395 (gdb-handler): New defstruct.
13396 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
13397 instead of gdb-pending-triggers. Update docstring.
13398 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
13399 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
13400 (gdb-var-update-handler, def-gdb-auto-update-trigger)
13401 (def-gdb-auto-update-handler, gdb-get-changed-registers)
13402 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
13403 (gdb-frame-handler): Pending triggers are now automatically managed.
13404 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
13405 Remove argument.
13406 (gdb-input): Automatically handles pending triggers. Update docstring.
13407 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
13408 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
13409 Update comments.
13410 (gdb-done-or-error): Now use gdb-handle-reply.
13411
13412 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
13413
13414 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
13415 gdb-debug-log.
13416
13417 2013-05-14 Glenn Morris <rgm@gnu.org>
13418
13419 * subr.el (user-emacs-directory-warning): New option.
13420 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
13421
13422 2013-05-14 Leo Liu <sdl.web@gmail.com>
13423
13424 * progmodes/octave.el (octave-font-lock-keywords): Fix error
13425 during redisplay.
13426 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
13427 (octave-font-lock-texinfo-comment): Fix invalid search bound
13428 error: wrong side of point.
13429
13430 2013-05-14 Glenn Morris <rgm@gnu.org>
13431
13432 * progmodes/flymake.el (flymake-xml-program): New option.
13433 (flymake-xml-init): Use it.
13434
13435 * term/xterm.el: Provide a feature.
13436
13437 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
13438
13439 2013-05-13 Glenn Morris <rgm@gnu.org>
13440
13441 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
13442 Add compat aliases as a hack workaround. (Bug#14384)
13443
13444 2013-05-13 Leo Liu <sdl.web@gmail.com>
13445
13446 * progmodes/octave.el (octave-indent-comment): Fix indentation for
13447 ###, and %!.
13448 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
13449 C-M-q.
13450 (octave-comment-start-skip): Include %!.
13451 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
13452
13453 2013-05-12 Leo Liu <sdl.web@gmail.com>
13454
13455 * progmodes/octave.el (inferior-octave-startup): Store the value
13456 of __octave_srcdir__ for octave-source-directories.
13457 (inferior-octave-check-process): New function refactored out of
13458 inferior-octave-send-list-and-digest.
13459 (octave-source-directories)
13460 (octave-find-definition-filename-function): New variables.
13461 (octave-source-directories)
13462 (octave-find-definition-default-filename): New functions.
13463 (octave-find-definition): Improve to find functions implemented in C++.
13464
13465 2013-05-12 Glenn Morris <rgm@gnu.org>
13466
13467 * calendar/diary-lib.el (diary-outlook-format-1):
13468 Don't include dayname in the output. (Bug#14349)
13469
13470 2013-05-11 Glenn Morris <rgm@gnu.org>
13471
13472 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
13473
13474 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
13475 Treat cc-provide like provide.
13476
13477 2013-05-11 Kevin Ryde <user42@zip.com.au>
13478
13479 * cus-dep.el (custom-make-dependencies):
13480 Use generated-autoload-load-name for the sake of files such
13481 such cedet/semantic/bovine/c.el, where the base file name
13482 is not in load-path. (Bug#5277)
13483
13484 2013-05-11 Glenn Morris <rgm@gnu.org>
13485
13486 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
13487 Provide features.
13488
13489 2013-05-11 Leo Liu <sdl.web@gmail.com>
13490
13491 * progmodes/octave.el (octave-indent-comment): Improve.
13492 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
13493 (octave-eldoc-function-signatures, octave-eldoc-function):
13494 New functions.
13495 (octave-mode, inferior-octave-mode): Add eldoc support.
13496
13497 2013-05-11 Richard Stallman <rms@gnu.org>
13498
13499 * epa.el (epa-decrypt-file): Take output file name as argument
13500 and read it using `interactive'.
13501
13502 2013-05-11 Leo Liu <sdl.web@gmail.com>
13503
13504 * progmodes/octave.el (octave-beginning-of-line)
13505 (octave-end-of-line): Check before using up-list because it jumps
13506 out of more syntactic contructs since moving to smie.
13507 (octave-indent-comment): New function.
13508 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
13509 (octave-begin-keywords, octave-end-keywords)
13510 (octave-reserved-words, octave-smie-bnf-table)
13511 (octave-smie-rules): Add new keywords from Octave 3.6.4.
13512
13513 2013-05-11 Glenn Morris <rgm@gnu.org>
13514
13515 * faces.el (internal-face-x-get-resource):
13516 * frame.el (ns-display-monitor-attributes-list):
13517 * calc/calc-aent.el (math-to-radians-2):
13518 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
13519 Fix declarations.
13520
13521 * calc/calc-menu.el: Make it loadable in isolation.
13522
13523 * net/eudcb-bbdb.el: Make it loadable without bbdb.
13524 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
13525 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
13526 (eudc-bbdb-query-internal): Require 'bbdb.
13527
13528 * lpr.el (lpr-headers-switches):
13529 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
13530
13531 * progmodes/sql.el (sql-login-params): Fix and improve :type.
13532
13533 * emulation/edt-mapper.el: In batch mode, error rather than hang.
13534
13535 * term.el (term-set-escape-char): Make it idempotent.
13536
13537 2013-05-10 Leo Liu <sdl.web@gmail.com>
13538
13539 * progmodes/octave.el (inferior-octave-completion-table):
13540 No longer a function and all uses changed. Use cache to speed up
13541 completion due to bug#11906.
13542 (octave-beginning-of-defun): Re-write to be more general.
13543
13544 2013-05-10 Glenn Morris <rgm@gnu.org>
13545
13546 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
13547
13548 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
13549
13550 * comint.el (comint-redirect-send-command-to-process): Use :around
13551 rather than :override for comint-redirect-filter.
13552 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
13553 Call it instead of comint-redirect-original-filter-function (which
13554 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
13555
13556 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
13557
13558 * frame.el (display-monitor-attributes-list): Add NS case.
13559 (ns-display-monitor-attributes-list): Declare.
13560
13561 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
13562
13563 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
13564
13565 2013-05-09 Glenn Morris <rgm@gnu.org>
13566
13567 * international/fontset.el (vertical-centering-font-regexp):
13568 Set standard-value.
13569
13570 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
13571
13572 * bookmark.el (bookmark-search-delay):
13573 * cus-start.el (vertical-centering-font-regexp):
13574 * ps-mule.el (ps-mule-font-info-database-default):
13575 * ps-print.el (ps-default-fg, ps-default-bg):
13576 * type-break.el (type-break-good-break-interval):
13577 * whitespace.el (whitespace-indentation-regexp)
13578 (whitespace-space-after-tab-regexp):
13579 * emacs-lisp/testcover.el (testcover-1value-functions)
13580 (testcover-noreturn-functions, testcover-progn-functions)
13581 (testcover-prog1-functions):
13582 * emulation/viper-init.el (viper-emacs-state-cursor-color):
13583 * eshell/em-glob.el (eshell-glob-translate-alist):
13584 * play/tetris.el (tetris-tty-colors):
13585 * progmodes/cpp.el (cpp-face-default-list):
13586 * progmodes/flymake.el (flymake-allowed-file-name-masks):
13587 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
13588 (idlwave-help-browser-generic-args):
13589 * progmodes/make-mode.el (makefile-special-targets-list):
13590 * progmodes/python.el (python-shell-virtualenv-path):
13591 * progmodes/verilog-mode.el (verilog-active-low-regexp)
13592 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
13593 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
13594 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
13595 * textmodes/reftex-vars.el (reftex-format-label-function):
13596 * textmodes/remember.el (remember-diary-file): Fix custom types.
13597
13598 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
13599 Add :version.
13600
13601 2013-05-09 Leo Liu <sdl.web@gmail.com>
13602
13603 * progmodes/octave.el (inferior-octave-completion-at-point):
13604 Restore file completion. (Bug#14300)
13605 (inferior-octave-startup): Fix incorrect highlighting for the
13606 first prompt.
13607
13608 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13609
13610 * progmodes/ruby-mode.el: First cut at SMIE support.
13611 (ruby-use-smie): New var.
13612 (ruby-smie-grammar): New constant.
13613 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
13614 (ruby-smie--forward-token, ruby-smie--backward-token)
13615 (ruby-smie-rules): New functions.
13616 (ruby-mode-variables): Setup SMIE if applicable.
13617
13618 2013-05-08 Eli Zaretskii <eliz@gnu.org>
13619
13620 * simple.el (line-move-visual): Signal beginning/end of buffer
13621 only if vertical-motion moved less than it was requested. Avoids
13622 silly incorrect error messages when there are display strings with
13623 multiple newlines at EOL.
13624
13625 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13626
13627 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
13628 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
13629 (prolog-char-quote-workaround):
13630 * progmodes/cperl-mode.el (cperl-under-as-char):
13631 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
13632 Mark as obsolete.
13633 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
13634 their declaration.
13635 (vhdl-mode-syntax-table-init): Remove.
13636
13637 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
13638 last change.
13639
13640 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
13641 syntax for "_".
13642 (ld-script-font-lock-keywords):
13643 Change regexps to use things like \_< and \_>.
13644
13645 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
13646 Change all regexps to use things like \_< and \_>.
13647
13648 * progmodes/autoconf.el (autoconf-definition-regexp)
13649 (autoconf-font-lock-keywords, autoconf-current-defun-function):
13650 Handle a _ with symbol syntax.
13651 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
13652
13653 * progmodes/ada-mode.el (ada-mode-abbrev-table):
13654 Consolidate declaration.
13655 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
13656 the declaration.
13657 (ada-create-syntax-table): Remove.
13658 (ada-capitalize-word): Don't mess with the syntax of "_" since it
13659 already has the right syntax nowadays.
13660 (ada-goto-next-word): Don't change the syntax of "_".
13661
13662 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
13663 with-wrapper-hook.
13664
13665 2013-05-08 Sam Steingold <sds@gnu.org>
13666
13667 * thingatpt.el (thing-at-point): Accept optional second argument
13668 NO-PROPERTIES to strip the text properties from the return value.
13669 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
13670 to `thing-at-point' instead of stripping the properties ourselves.
13671 Also, when `thing-at-point' fails to find a url, prepend "http://"
13672 to the filename at point on the assumption that the user is
13673 pointing at something like gnu.org/gnu.
13674
13675 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
13676
13677 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
13678 * faces.el (crm-separator):
13679 Silence byte-compiler.
13680
13681 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
13682 (tool-bar-map): Remove unneeded defvars.
13683
13684 2013-05-08 Leo Liu <sdl.web@gmail.com>
13685
13686 Re-work a fix for bug#10994 based on Le Wang's patch.
13687 * ido.el (ido-remove-consecutive-dups): New helper.
13688 (ido-completing-read): Use it.
13689 (ido-chop): Revert fix for bug#10994.
13690
13691 2013-05-08 Adam Spiers <emacs@adamspiers.org>
13692
13693 * cus-edit.el (custom-save-variables):
13694 Pretty-print long values. (Bug#14187)
13695
13696 2013-05-08 Glenn Morris <rgm@gnu.org>
13697
13698 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
13699 (m4-mode-syntax-table): Init in the defvar.
13700 (m4-mode-abbrev-table): Let define-derived-mode define it.
13701
13702 2013-05-08 Tom Tromey <tromey@redhat.com>
13703
13704 * progmodes/m4-mode.el (m4-mode-syntax-table):
13705 Do not treat "_" as word constituent. (Bug#14167)
13706
13707 2013-05-07 Glenn Morris <rgm@gnu.org>
13708
13709 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
13710 Remove explicit eshell-isearch-cancel-map.
13711
13712 * progmodes/f90.el (f90-smart-end-names): New option.
13713 (f90-smart-end): Doc fix.
13714 (f90-end-block-optional-name): New constant.
13715 (f90-block-match): Respect f90-smart-end-names.
13716
13717 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
13718
13719 * progmodes/octave.el (octave-smie-forward-token): Be more careful
13720 about implicit semi-colons (bug#14218).
13721
13722 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
13723
13724 * frame.el (display-monitor-attributes-list)
13725 (frame-monitor-attributes): New functions.
13726
13727 2013-05-06 Leo Liu <sdl.web@gmail.com>
13728
13729 * progmodes/octave.el (octave-syntax-propertize-function): Change
13730 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
13731 (octave-font-lock-keywords): Use octave-operator-regexp.
13732 (octave-completion-at-point): Rename from
13733 octave-completion-at-point-function.
13734 (inferior-octave-directory-tracker): Robustify.
13735 (octave-text-functions): Remove and fix its uses. No such things
13736 any more.
13737
13738 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13739
13740 * emacs-lisp/trace.el (trace--display-buffer): New function.
13741 (trace-make-advice): Use it.
13742
13743 2013-05-06 Juri Linkov <juri@jurta.org>
13744
13745 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
13746 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
13747 Doc fix.
13748 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
13749 in the help string. (Bug#12985)
13750
13751 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
13752
13753 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
13754
13755 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13756
13757 * progmodes/perl-mode.el: Add support for here documents.
13758 (perl-syntax-propertize-function): Match here-doc markers.
13759 (perl-syntax-propertize-special-constructs): Find their end.
13760 (perl-imenu-generic-expression): Use [:alnum:].
13761
13762 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
13763 (advice--add-function): Refresh the advice if already present
13764 (bug#14317).
13765
13766 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
13767
13768 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
13769
13770 2013-05-06 Glenn Morris <rgm@gnu.org>
13771
13772 * w32-fns.el (w32-charset-info-alist): Declare.
13773
13774 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
13775 of its defcustom properties.
13776 (eshell-cmpl-initialize): No need to load pcomplete.
13777
13778 * generic-x.el: No need to require comint when compiling.
13779
13780 * net/eudc-export.el: Make it loadable without bbdb.
13781 (top-level): Use require rather than load-library.
13782 (eudc-create-bbdb-record, eudc-bbdbify-phone)
13783 (eudc-batch-export-records-to-bbdb)
13784 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
13785 Require bbdb.
13786
13787 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13788
13789 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
13790 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
13791 some tweaks, instead.
13792
13793 2013-05-05 Leo Liu <sdl.web@gmail.com>
13794
13795 * progmodes/octave.el (octave-font-lock-keywords)
13796 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
13797 (inferior-octave-send-list-and-digest): Improve error message.
13798 (octave-mode, inferior-octave-mode): Use setq-local.
13799 (octave-help): Set info-lookup-mode.
13800
13801 2013-05-05 Richard Stallman <rms@gnu.org>
13802
13803 * vc/compare-w.el (compare-windows-whitespace):
13804 Treat no-break space as whitespace.
13805
13806 * mail/rmailsum.el (rmail-summary-rmail-update):
13807 Detect empty summary and don't change selected message.
13808 (rmail-summary-goto-msg): Likewise.
13809
13810 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
13811 Doc fixes, rename args.
13812
13813 2013-05-05 Alan Mackenzie <acm@muc.de>
13814
13815 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
13816
13817 2013-05-05 Juri Linkov <juri@jurta.org>
13818
13819 * info.el (Info-read-subfile): Use (point-min) instead of (point)
13820 to not add the length of the summary segment to the return value.
13821 (Bug#14125)
13822
13823 2013-05-05 Leo Liu <sdl.web@gmail.com>
13824
13825 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
13826 (inferior-octave-output-filter): Remove.
13827 (octave-send-region, inferior-octave-startup): Fix callers.
13828 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
13829 (octave-binary-file-extensions): New user variable.
13830 (octave-find-definition): Confirm if opening binary files.
13831 (octave-help-file): Use octave-find-definition to get the binary
13832 confirmation.
13833 (octave-help): Adjust for octave-help-file change.
13834
13835 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
13836
13837 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
13838 Merge the two entries that handle function definitions.
13839 (pascal--syntax-propertize): New const.
13840 (pascal-mode): Use it. Use setq-local.
13841
13842 2013-05-04 Glenn Morris <rgm@gnu.org>
13843
13844 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
13845 (diary-from-outlook): Respect diary-from-outlook-function.
13846
13847 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13848
13849 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
13850 Move the declaration from C.
13851 (read-minibuffer, eval-minibuffer): Move from C.
13852 (completion-setup-function): Avoid minibuffer-completion-contents.
13853
13854 2013-05-03 Leo Liu <sdl.web@gmail.com>
13855
13856 * progmodes/octave.el (octave-font-lock-keywords): Do not
13857 dehighlight 'end' in comments or strings.
13858 (octave-completing-read, octave-goto-function-definition):
13859 New helpers.
13860 (octave-help-buffer): New user variable.
13861 (octave-help-file, octave-help-function): New button types.
13862 (octave-help): New command and bind it to C-h ;.
13863 (octave-find-definition): New command and bind it to M-.
13864 (user-error): Alias to error if not defined.
13865
13866 2013-05-02 Leo Liu <sdl.web@gmail.com>
13867
13868 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
13869 for \. (bug#14332)
13870 (octave-font-lock-keywords): Include [ and {.
13871
13872 2013-05-02 Leo Liu <sdl.web@gmail.com>
13873
13874 * progmodes/octave.el (inferior-octave-startup-file): Change default.
13875 (inferior-octave): Remove calling comint-mode and return the buffer.
13876 (inferior-octave-startup): Cosmetic changes.
13877
13878 2013-05-02 Leo Liu <sdl.web@gmail.com>
13879
13880 * progmodes/octave.el (octave-syntax-propertize-function):
13881 Include the case when ' is at line beginning. (Bug#14336)
13882
13883 2013-05-02 Glenn Morris <rgm@gnu.org>
13884
13885 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
13886 * desktop.el (vc-dir-mode): Just autoload it here.
13887
13888 2013-05-02 Alan Mackenzie <acm@muc.de>
13889
13890 Eliminate variable c-standard-font-lock-fontify-region-function.
13891 * progmodes/cc-mode.el
13892 (c-standard-font-lock-fontify-region-function): Remove.
13893 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
13894
13895 2013-05-01 Leo Liu <sdl.web@gmail.com>
13896
13897 * progmodes/octave.el: Compatible with older emacs-24 releases.
13898 (inferior-octave-has-built-in-variables): Remove. Built-in
13899 variables were removed from Octave in 2007.
13900 (inferior-octave-startup): Fix uses.
13901 (comint-line-beginning-position): Remove compatibility code for
13902 emacs 21.
13903
13904 2013-05-01 Juri Linkov <juri@jurta.org>
13905
13906 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
13907
13908 2013-05-01 Juri Linkov <juri@jurta.org>
13909
13910 * comint.el (comint-previous-matching-input): Don't print message
13911 "History item: %d" when `isearch-mode' is active.
13912 (comint-history-isearch-message): Print message "History item: %d"
13913 when `comint-input-ring-index' is not empty and this function is
13914 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
13915
13916 2013-05-01 Leo Liu <sdl.web@gmail.com>
13917
13918 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
13919 definitions. Use completion-at-point to insert keywords.
13920 (octave-abbrev-start): Remove.
13921 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
13922
13923 2013-04-30 Leo Liu <sdl.web@gmail.com>
13924
13925 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
13926 change.
13927
13928 2013-04-30 Alan Mackenzie <acm@muc.de>
13929
13930 Handle arbitrarily long C++ member initialisation lists.
13931 * progmodes/cc-engine.el (c-back-over-member-initializers):
13932 new function.
13933 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
13934 (most) member init lists.
13935
13936 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13937
13938 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
13939 variable.
13940
13941 2013-04-30 Leo Liu <sdl.web@gmail.com>
13942
13943 * progmodes/octave.el (octave-variables): Remove. No builtin
13944 variables any more. All converted to functions.
13945 (octave-font-lock-keywords, octave-completion-at-point-function):
13946 Fix uses.
13947 (octave-font-lock-texinfo-comment): New user variable.
13948 (octave-texinfo-font-lock-keywords): New variable for texinfo
13949 comment block.
13950 (octave-function-comment-block): New face.
13951 (octave-font-lock-texinfo-comment): New function.
13952 (octave-mode): Font lock texinfo comment block.
13953
13954 2013-04-29 Leo Liu <sdl.web@gmail.com>
13955
13956 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
13957 indexing expression.
13958 (octave-continuation-string): Do not use \.
13959 (inferior-octave-complete-impossible): Remove.
13960 (inferior-octave-completion-table)
13961 (inferior-octave-completion-at-point): Remove its uses.
13962 (inferior-octave-startup): completion_matches was introduced to
13963 Octave in 1996 so safe to assume it.
13964 (octave-function-file-comment): Improve to follow how Octave does it.
13965 (octave-update-function-file-comment): Tweak.
13966
13967 2013-04-29 Leo Liu <sdl.web@gmail.com>
13968
13969 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
13970 (inferior-octave-startup): Remove inferior-octave-startup-hook.
13971 (octave-function-file-comment): Fix typo.
13972 (octave-sync-function-file-names): Use read-char-choice.
13973
13974 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
13975
13976 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
13977 to t for the less important warnings.
13978
13979 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
13980
13981 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
13982
13983 2013-04-27 Glenn Morris <rgm@gnu.org>
13984
13985 * vc/log-view.el (log-view-current-entry):
13986 Treat "---" separator lines as part of the following rev. (Bug#14169)
13987
13988 2013-04-27 Juri Linkov <juri@jurta.org>
13989
13990 * subr.el (read-number): Doc fix about using it by interactive
13991 code letter `n'. (Bug#14254)
13992
13993 2013-04-27 Juri Linkov <juri@jurta.org>
13994
13995 * desktop.el (desktop-auto-save-timeout): New option.
13996 (desktop-file-checksum): New variable.
13997 (desktop-save): Add optional arg `auto-save' and don't auto-save
13998 if nothing changed.
13999 (desktop-auto-save-timer): New variable.
14000 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
14001 (after-init-hook): Call `desktop-auto-save-set-timer'.
14002 Suggested by Reuben Thomas <rrt@sc3d.org> in
14003 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
14004
14005 2013-04-27 Leo Liu <sdl.web@gmail.com>
14006
14007 * progmodes/octave.el (octave-function-file-p)
14008 (octave-skip-comment-forward, octave-function-file-comment)
14009 (octave-update-function-file-comment): New functions.
14010 (octave-mode-map): Bind C-c ; to
14011 octave-update-function-file-comment.
14012 (octave-mode-menu): Add octave-update-function-file-comment.
14013 (octave-mode, inferior-octave-mode): Fix doc-string.
14014 (octave-insert-defun): Conform to Octave's coding convention.
14015 (Bug#14285)
14016
14017 * files.el (basic-save-buffer): Don't let errors in
14018 before-save-hook prevent saving buffer.
14019
14020 2013-04-20 Roland Winkler <winkler@gnu.org>
14021
14022 * faces.el (read-face-name): Use completing-read if arg multiple
14023 is nil.
14024
14025 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
14026
14027 * ls-lisp.el (ls-lisp-insert-directory): If no files are
14028 displayed, move point to after the totals line.
14029 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
14030 for the details.
14031
14032 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
14033
14034 * emacs-lisp/package.el (package-autoload-ensure-default-file):
14035 Add current dir to the load-path.
14036 (package-generate-autoloads): Don't rely on
14037 autoload-ensure-default-file.
14038
14039 2013-04-26 Reuben Thomas <rrt@sc3d.org>
14040
14041 * textmodes/remember.el (remember-store-in-files): Document that
14042 the file name format is passed to `format-time-string'.
14043
14044 2013-04-26 Leo Liu <sdl.web@gmail.com>
14045
14046 * progmodes/octave.el (octave-sync-function-file-names): New function.
14047 (octave-mode): Use it in before-save-hook.
14048
14049 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
14050
14051 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
14052 (bug#14274).
14053
14054 * progmodes/octave.el (octave-smie-forward-token): Properly skip
14055 \n and comment, even if it's not an implicit ; (bug#14218).
14056
14057 2013-04-26 Glenn Morris <rgm@gnu.org>
14058
14059 * subr.el (read-number): Once more use `read' rather than
14060 `string-to-number', to trap non-numeric input. (Bug#14254)
14061
14062 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
14063
14064 * emacs-lisp/syntax.el (syntax-propertize-multiline):
14065 Use `syntax-multiline' text property consistently instead of
14066 `font-lock-multiline'. (Bug#14237)
14067
14068 2013-04-26 Glenn Morris <rgm@gnu.org>
14069
14070 * emacs-lisp/shadow.el (list-load-path-shadows):
14071 No longer necessary to check for duplicate simple.el, since
14072 2012-07-07 change to init_lread to not include installation lisp
14073 directories in load-path when running uninstalled. (Bug#14270)
14074
14075 2013-04-26 Leo Liu <sdl.web@gmail.com>
14076
14077 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
14078 (octave-mode, inferior-octave-mode): Use setq-local.
14079 (octave-not-in-string-or-comment-p): Rename to
14080 octave-in-string-or-comment-p.
14081 (octave-in-comment-p, octave-in-string-p)
14082 (octave-in-string-or-comment-p): Replace defsubst with defun.
14083
14084 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
14085
14086 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
14087
14088 2013-04-25 Bastien Guerry <bzg@gnu.org>
14089
14090 * textmodes/remember.el (remember-data-directory)
14091 (remember-directory-file-name-format): Fix custom types.
14092
14093 2013-04-25 Leo Liu <sdl.web@gmail.com>
14094
14095 * progmodes/octave.el (octave-completion-at-point-function):
14096 Make use of inferior octave process.
14097 (octave-initialize-completions): Remove.
14098 (inferior-octave-completion-table): New function.
14099 (inferior-octave-completion-at-point): Use it.
14100 (octave-completion-alist): Remove.
14101
14102 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14103
14104 * progmodes/opascal.el: Use font-lock and syntax-propertize.
14105 (opascal-mode-syntax-table): New var.
14106 (opascal-literal-kind, opascal-is-literal-end)
14107 (opascal-literal-token-at): Rewrite.
14108 (opascal--literal-start-re, opascal-font-lock-keywords)
14109 (opascal--syntax-propertize): New constants.
14110 (opascal-font-lock-defaults): Adjust.
14111 (opascal-mode): Use them. Set comment-<foo> variables as well.
14112 (delphi-comment-face, opascal-comment-face, delphi-string-face)
14113 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
14114 (delphi-other-face, opascal-other-face): Remove face variables.
14115 (opascal-save-state): Remove macro.
14116 (opascal-fontifying-progress-step): Remove constant.
14117 (opascal--ignore-changes): Remove var.
14118 (opascal-set-token-property, opascal-parse-next-literal)
14119 (opascal-is-stable-literal, opascal-complete-literal)
14120 (opascal-is-literal-start, opascal-face-of)
14121 (opascal-parse-region, opascal-parse-region-until-stable)
14122 (opascal-fontify-region, opascal-after-change)
14123 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
14124 (opascal-debug-parse-region, opascal-debug-parse-window)
14125 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
14126 (opascal-debug-fontify-buffer): Remove.
14127 (opascal-debug-mode-map): Adjust accordingly.
14128
14129 2013-04-25 Leo Liu <sdl.web@gmail.com>
14130
14131 Merge octave-mod.el and octave-inf.el into octave.el with some
14132 cleanups.
14133 * progmodes/octave.el: New file renamed from octave-mod.el.
14134 * progmodes/octave-inf.el: Merged into octave.el.
14135 * progmodes/octave-mod.el: Renamed to octave.el.
14136
14137 2013-04-25 Tassilo Horn <tsdh@gnu.org>
14138
14139 * textmodes/reftex-vars.el
14140 (reftex-label-ignored-macros-and-environments): New defcustom.
14141
14142 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
14143
14144 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14145
14146 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
14147 (smie-indent-keyword): Improve the check to ensure that the next
14148 comment is really on the same line.
14149 (smie-indent-comment): Don't align with a subsequent closer (or eob).
14150
14151 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
14152 semi-colons if the line is not otherwise empty (bug#14218).
14153
14154 2013-04-25 Glenn Morris <rgm@gnu.org>
14155
14156 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
14157
14158 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
14159
14160 * progmodes/opascal.el (opascal-set-token-property): Rename from
14161 opascal-set-text-properties and only set `token' (bug#14134).
14162 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
14163 (opascal-literal-text-properties): Remove.
14164 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
14165 Adjust callers.
14166
14167 2013-04-24 Reuben Thomas <rrt@sc3d.org>
14168
14169 * textmodes/remember.el (remember-handler-functions): Add an
14170 option for a new handler `remember-store-in-files'.
14171 (remember-data-directory, remember-directory-file-name-format):
14172 New options.
14173 (remember-store-in-files): New function to store remember notes
14174 as separate files within a directory.
14175
14176 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
14177
14178 * progmodes/compile.el (compilation-next-error-function):
14179 Pass "formats" to compilation-find-file (bug#11777).
14180
14181 2013-04-24 Glenn Morris <rgm@gnu.org>
14182
14183 * vc/vc-bzr.el (vc-bzr-print-log):
14184 * vc/vc-hg.el (vc-hg-print-log):
14185 * vc/vc-svn.el (vc-svn-print-log):
14186 Fix START-REVISION with LIMIT != 1. (Bug#14168)
14187
14188 * vc/vc-bzr.el (vc-bzr-print-log):
14189 * vc/vc-cvs.el (vc-cvs-print-log):
14190 * vc/vc-git.el (vc-git-print-log):
14191 * vc/vc-hg.el (vc-hg-print-log):
14192 * vc/vc-mtn.el (vc-mtn-print-log):
14193 * vc/vc-rcs.el (vc-rcs-print-log):
14194 * vc/vc-sccs.el (vc-sccs-print-log):
14195 * vc/vc-svn.el (vc-svn-print-log):
14196 * vc/vc.el (vc-print-log-internal): Doc fixes.
14197
14198 2013-04-23 Glenn Morris <rgm@gnu.org>
14199
14200 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
14201 Remove venerable code attempting to avoid substitute-command-keys.
14202
14203 2013-04-23 Tassilo Horn <tsdh@gnu.org>
14204
14205 * textmodes/reftex-vars.el (reftex-label-regexps):
14206 Call `reftex-compile-variables' after changes to this variable.
14207
14208 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
14209
14210 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
14211 Use lexical-binding.
14212 (jit-lock-force-redisplay): Use markers, check buffer's continued
14213 existence and beware narrowed buffers.
14214 (jit-lock-fontify-now): Adjust call accordingly.
14215
14216 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
14217
14218 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
14219 to avoid misleading the user.
14220
14221 2013-04-22 Leo Liu <sdl.web@gmail.com>
14222
14223 * info-look.el: Prefer latex2e.info. (Bug#14240)
14224
14225 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
14226
14227 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
14228
14229 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
14230 * net/tramp.el (tramp-call-process): ... here.
14231 (tramp-set-completion-function, tramp-parse-putty):
14232 * net/tramp-adb.el (tramp-adb-execute-adb-command):
14233 * net/tramp-gvfs.el (tramp-gvfs-send-command):
14234 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
14235 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
14236 (tramp-call-local-coding-command): Use `tramp-call-process'
14237 instead of `tramp-compat-call-process'.
14238
14239 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
14240 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
14241 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
14242 (tramp-find-inline-compress): Improve traces.
14243 (tramp-maybe-send-script): Check for Perl binary.
14244 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
14245
14246 2013-04-22 Daiki Ueno <ueno@gnu.org>
14247
14248 * epg.el (epg-context-pinentry-mode): New function.
14249 (epg-context-set-pinentry-mode): New function.
14250 (epg--start): Pass --pinentry-mode option to gpg command.
14251
14252 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
14253
14254 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
14255 `comint-dynamic-complete' is obsolete since 24.1, replaced by
14256 `completion-at-point'. (Bug#13774)
14257
14258 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
14259 default key binding for `describe-distribution' has been moved to
14260 `C-h C-o'. (Bug#13970)
14261
14262 2013-04-21 Glenn Morris <rgm@gnu.org>
14263
14264 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
14265 Add doc strings.
14266 (vc-print-log): Clarify interactive prompt.
14267
14268 2013-04-20 Glenn Morris <rgm@gnu.org>
14269
14270 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
14271 No longer include timestamp etc information.
14272
14273 2013-04-20 Roland Winkler <winkler@gnu.org>
14274
14275 * faces.el (read-face-name): Bug fix, return just one face if arg
14276 multiple is nil. (Bug#14209)
14277
14278 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14279
14280 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
14281 (remove-function): Autoload.
14282
14283 * comint.el (comint-redirect-original-filter-function): Remove.
14284 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
14285 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
14286 (vc-cvs-annotate-command):
14287 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
14288 * progmodes/prolog.el (prolog-consult-compile):
14289 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
14290 Use add/remove-function instead.
14291 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
14292 (gud-tooltip-process-output, gud-tooltip-tips):
14293 Use add/remove-function instead.
14294 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
14295 (scheme-interaction-mode, exit-scheme-interaction-mode):
14296 Use add/remove-function instead.
14297
14298 * vc/vc-dispatcher.el: Use lexical-binding.
14299 (vc--process-sentinel): Rename from vc-process-sentinel.
14300 Change last arg to be the code to run. Don't use vc-previous-sentinel
14301 and vc-sentinel-commands any more.
14302 (vc-exec-after): Allow code to be a function. Use add/remove-function.
14303 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
14304
14305 2013-04-19 Masatake YAMATO <yamato@redhat.com>
14306
14307 * progmodes/sh-script.el (sh-imenu-generic-expression):
14308 Handle function names with a single character. (Bug#14111)
14309
14310 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
14311
14312 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
14313 for subroutines defined in an eval (bug#14182).
14314
14315 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14316
14317 * bookmark.el (bookmark-completing-read): Improve handling of empty
14318 string (bug#14176).
14319
14320 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
14321
14322 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
14323
14324 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
14325
14326 New faster Imenu implementation (bug#14058).
14327 * progmodes/python.el:
14328 (python-imenu-prev-index-position):
14329 (python-imenu-format-item-label-function)
14330 (python-imenu-format-parent-item-label-function)
14331 (python-imenu-format-parent-item-jump-label-function):
14332 New vars.
14333 (python-imenu-format-item-label)
14334 (python-imenu-format-parent-item-label)
14335 (python-imenu-format-parent-item-jump-label)
14336 (python-imenu--put-parent, python-imenu--build-tree)
14337 (python-imenu-create-index, python-imenu-create-flat-index)
14338 (python-util-popn): New functions.
14339 (python-mode): Set imenu-create-index-function to
14340 python-imenu-create-index.
14341
14342 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
14343
14344 * winner.el (winner-active-region): Use region-active-p, activate-mark
14345 and deactivate-mark (bug#14225).
14346
14347 * simple.el (deactivate-mark): Don't inline it.
14348
14349 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
14350
14351 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
14352
14353 2013-04-18 Tassilo Horn <tsdh@gnu.org>
14354
14355 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
14356 file extensions from the archive-mode entry in order to prefer
14357 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
14358
14359 2013-04-18 Leo Liu <sdl.web@gmail.com>
14360
14361 * bindings.el (help-event-list): Add ?\?.
14362
14363 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
14364
14365 * subr.el (with-wrapper-hook): Declare obsolete.
14366 * simple.el (filter-buffer-substring-function): New hook.
14367 (filter-buffer-substring): Use it.
14368 (filter-buffer-substring-functions): Mark obsolete.
14369 * minibuffer.el (completion-in-region-function): New hook.
14370 (completion-in-region): Use it.
14371 (completion-in-region-functions): Mark obsolete.
14372 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
14373 * abbrev.el (abbrev-expand-function): New hook.
14374 (expand-abbrev): Use it.
14375 (abbrev-expand-functions): Mark obsolete.
14376 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
14377 and :filter-return.
14378
14379 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
14380
14381 * progmodes/python.el (python-nav--syntactically): Fix cornercases
14382 and do not care about match data.
14383
14384 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
14385
14386 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
14387 completion tables when completing error conditions and
14388 `declare' arguments.
14389 (lisp-complete-symbol, field-complete): Mark as obsolete.
14390 (check-parens): Unmatched parens are user errors.
14391 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
14392
14393 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
14394
14395 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
14396 command changed buffer (ie. `flyspell-pre-buffer' is not current
14397 buffer), which prevents making decisions based on invalid value of
14398 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
14399 cause an error when `flyspell-pre-point' was nil after switching
14400 buffers.
14401 (flyspell-post-command-hook): No longer needs to change buffers when
14402 checking pre-word. While at it remove unnecessary progn.
14403
14404 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
14405
14406 * textmodes/ispell.el (ispell-add-per-file-word-list):
14407 Fix `flyspell-correct-word-before-point' error when accepting
14408 words and `coment-padding' is an integer by using
14409 `comment-normalize-vars' (Bug #14214).
14410
14411 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
14412
14413 New defun movement commands.
14414 * progmodes/python.el (python-nav--syntactically)
14415 (python-nav--forward-defun, python-nav-backward-defun)
14416 (python-nav-forward-defun): New functions.
14417
14418 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
14419
14420 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
14421 (python-syntax-context): Use named compiler-macro for backwards
14422 compatibility with Emacs 24.x.
14423
14424 2013-04-17 Leo Liu <sdl.web@gmail.com>
14425
14426 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
14427 octave-hide-process-buffer.
14428
14429 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
14430
14431 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
14432 (bug#14216).
14433
14434 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
14435
14436 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
14437 Fix adjustment of offset when receiving incomplete responses from GDB
14438 (bug#14129).
14439
14440 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
14441
14442 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
14443 python-mode-abbrev-table.
14444 (python-skeleton-define): Adjust accordingly.
14445 (python-mode-abbrev-table): New table that inherits from it so that
14446 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
14447
14448 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
14449 (abbrev-symbol): Use it.
14450 (abbrev--before-point): Use it since we already handle inheritance.
14451
14452 2013-04-16 Leo Liu <sdl.web@gmail.com>
14453
14454 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
14455 binding to info-lookup-symbol.
14456
14457 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
14458
14459 * minibuffer.el (completion--twq-all):
14460 * term/ns-win.el (ns-initialize-window-system):
14461 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
14462
14463 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
14464
14465 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
14466 global bindings.
14467
14468 * doc-view.el (doc-view-start-process): Handle url-handler directories.
14469
14470 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
14471
14472 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
14473 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
14474 to nil.
14475 (ruby-end-of-defun): Remove the unused arg, change the docstring
14476 to reflect that this function is only used as the value of
14477 `end-of-defun-function'.
14478 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
14479 to reflect an earlier change that beginning/end-of-defun functions
14480 jump between methods in a class definition, as well as top-level
14481 functions.
14482
14483 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14484
14485 * minibuffer.el (minibuffer-complete): Don't just scroll
14486 a *Completions* that's been iconified.
14487 (minibuffer-force-complete): Make sure repetitions do cycle when going
14488 through completion-in-region -> minibuffer-complete.
14489
14490 2013-04-15 Alan Mackenzie <acm@muc.de>
14491
14492 Correct the placement of c-cpp-delimiters when there're #s not at
14493 col 0.
14494
14495 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
14496 place a submatch around the #.
14497 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
14498 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
14499 on the #, not BOL.
14500
14501 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14502
14503 * emacs-lisp/nadvice.el: Properly test names when adding advice.
14504 (advice--member-p): New arg `name'.
14505 (advice--add-function, advice-member-p): Use it (bug#14202).
14506
14507 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
14508
14509 Reformulate java imenu-generic-expression.
14510 The old expression contained ill formed regexps.
14511
14512 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
14513 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
14514 (cc-imenu-java-method-arg-regexp): New defconsts.
14515 (cc-imenu-java-build-type-args-regex): New defun.
14516 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
14517 handling of spaces in the regexp.
14518
14519 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14520
14521 * textmodes/ispell.el (ispell-command-loop): Remove
14522 flyspell highlight of a word when ispell accepts it (bug #14178).
14523
14524 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
14525
14526 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
14527 uses code from the previous `ange-ftp-run-real-handler'.
14528 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
14529 only in case that function exist. This is needed for proper
14530 unloading of Tramp.
14531
14532 2013-04-15 Tassilo Horn <tsdh@gnu.org>
14533
14534 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
14535
14536 * textmodes/reftex.el (reftex-compile-variables): Use it.
14537
14538 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14539
14540 * files.el (normal-mode): Only use default major-mode if no other mode
14541 was specified.
14542
14543 * emacs-lisp/trace.el (trace-values): New function.
14544
14545 * files.el: Allow : in local variables (bug#14089).
14546 (hack-local-variable-regexp): New var.
14547 (hack-local-variables-prop-line, hack-local-variables): Use it.
14548
14549 2013-04-13 Roland Winkler <winkler@gnu.org>
14550
14551 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
14552 data before it gets modified by bibtex-beginning-of-entry.
14553
14554 2013-04-13 Roland Winkler <winkler@gnu.org>
14555
14556 * textmodes/bibtex.el (bibtex-url): Doc fix.
14557
14558 2013-04-13 Roland Winkler <winkler@gnu.org>
14559
14560 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
14561 does not visit a BibTeX file, exclude it from the list of buffers
14562 returned by bibtex-initialize.
14563
14564 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
14565
14566 * window.el (split-window): Remove interactive form, since as a
14567 command this function is a special case of split-window-below.
14568 Correct doc string.
14569
14570 2013-04-12 Roland Winkler <winkler@gnu.org>
14571
14572 * faces.el (read-face-name): Do not override value of arg default.
14573 Allow single faces and strings as default values. Remove those
14574 elements from return value that are not faces.
14575 (describe-face): Simplify.
14576 (face-at-point): New optional args thing and multiple so that this
14577 function can provide the same functionality previously provided by
14578 read-face-name.
14579 (make-face-bold, make-face-unbold, make-face-italic)
14580 (make-face-unitalic, make-face-bold-italic, invert-face)
14581 (modify-face, read-face-and-attribute): Use face-at-point.
14582
14583 * cus-edit.el (customize-face, customize-face-other-window)
14584 * cus-theme.el (custom-theme-add-face)
14585 * face-remap.el (buffer-face-set)
14586 * facemenu.el (facemenu-set-face): Use face-at-point.
14587
14588 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
14589
14590 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
14591
14592 2013-04-10 Tassilo Horn <tsdh@gnu.org>
14593
14594 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
14595 off leading { and trailing } from field values.
14596
14597 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
14598
14599 * emacs-lisp/timer.el (timer--check): New function.
14600 (timer--time, timer-set-function, timer-event-handler): Use it.
14601 (timer-set-idle-time): Simplify.
14602 (timer--activate): CSE.
14603 (timer-event-handler): Give more info in error message.
14604 (internal-timer-start-idle): New function, moved from C.
14605
14606 * mpc.el (mpc-proc): Add `restart' argument.
14607 (mpc-proc-cmd): Use it.
14608 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
14609 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
14610 less often.
14611
14612 2013-04-10 Masatake YAMATO <yamato@redhat.com>
14613
14614 * progmodes/sh-script.el: Implement `sh-mode' own
14615 `add-log-current-defun-function' (bug#14112).
14616 (sh-current-defun-name): New function.
14617 (sh-mode): Use the function.
14618
14619 2013-04-09 Bastien Guerry <bzg@gnu.org>
14620
14621 * simple.el (choose-completion-string): Fix docstring (bug#14163).
14622
14623 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
14624
14625 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
14626
14627 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
14628 timer (bug#14156).
14629
14630 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
14631
14632 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
14633 declaration.
14634
14635 2013-04-07 Leo Liu <sdl.web@gmail.com>
14636
14637 * pcmpl-x.el: New file.
14638
14639 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
14640
14641 Do not set x-display-name until X connection is established.
14642 This is needed to prevent from weird situation described at
14643 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
14644 * frame.el (make-frame): Set x-display-name after call to
14645 window system initialization function, not before.
14646 * term/x-win.el (x-initialize-window-system): Add optional
14647 display argument and use it.
14648 * term/w32-win.el (w32-initialize-window-system):
14649 * term/ns-win.el (ns-initialize-window-system):
14650 * term/pc-win.el (msdos-initialize-window-system):
14651 Add compatible optional display argument.
14652
14653 2013-04-06 Eli Zaretskii <eliz@gnu.org>
14654
14655 * files.el (normal-backup-enable-predicate): On MS-Windows and
14656 MS-DOS compare truenames of temporary-file-directory and of the
14657 file, so that 8+3 aliases (usually found in $TEMP on Windows)
14658 don't fail comparison by compare-strings. Also, compare file
14659 names case-insensitively on MS-Windows and MS-DOS.
14660
14661 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
14662
14663 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
14664 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
14665
14666 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
14667
14668 * whitespace.el (whitespace-color-on, whitespace-color-off):
14669 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
14670
14671 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
14672
14673 * ispell.el (ispell-set-spellchecker-params):
14674 Really set `ispell-args' for all equivs.
14675
14676 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
14677
14678 * ido.el (ido-completions): Use extra elements of ido-decorations
14679 (bug#14143).
14680 (ido-decorations): Update docstring.
14681
14682 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
14683
14684 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
14685 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
14686 nil during initialization, in order not to miss changes since the
14687 file was opened. (Bug#14140)
14688
14689 2013-04-05 Leo Liu <sdl.web@gmail.com>
14690
14691 * kmacro.el (kmacro-call-macro): Fix bug#14135.
14692
14693 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
14694
14695 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
14696
14697 2013-04-04 Glenn Morris <rgm@gnu.org>
14698
14699 * electric.el (electric-pair-inhibit-predicate): Add :version.
14700
14701 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
14702
14703 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
14704 when a package is required several times (bug#14082).
14705
14706 2013-04-04 Roland Winkler <winkler@gnu.org>
14707
14708 * faces.el (read-face-name): Behave as promised by the docstring.
14709 Assume that arg default is a list of faces.
14710 (describe-face): Call read-face-name with list of default faces.
14711
14712 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14713
14714 * bookmark.el: Fix deletion of bookmarks (bug#13972).
14715 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
14716 (bookmark-bmenu-execute-deletions): Only skip first line if it's
14717 the header.
14718 (bookmark-exit-hook-internal): Save even if list is empty.
14719
14720 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
14721
14722 * emacs-lisp/package.el (package-pinned-packages): New var.
14723 (package--add-to-archive-contents): Obey it (bug#14118).
14724
14725 2013-04-03 Alan Mackenzie <acm@muc.de>
14726
14727 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
14728 Also adapt to the new values of element 7 of a parse state.
14729
14730 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
14731 parameter `not-in-delimiter'. Handle being inside comment opener.
14732 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
14733 character in case we're typing a '*' after a '/'.
14734 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
14735 instead by passing the parameter to c-state-pp-to-literal.
14736
14737 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
14738 for elt. 7 of a parse state.
14739
14740 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
14741
14742 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
14743 * international/latin1-disp.el, international/mule-util.el:
14744 * language/cyril-util.el, language/european.el, language/ind-util.el:
14745 * language/lao-util.el, language/thai.el, language/tibet-util.el:
14746 * language/tibetan.el, language/viet-util.el:
14747 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
14748
14749 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
14750
14751 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
14752 (electric-pair-post-self-insert-function): Use it.
14753 (electric-pair-default-inhibit): New function, extracted from
14754 electric-pair-post-self-insert-function.
14755
14756 2013-03-31 Roland Winkler <winkler@gnu.org>
14757
14758 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
14759
14760 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
14761
14762 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
14763
14764 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
14765
14766 Un-indent after "pass" and "return" statements (Bug#13888)
14767 * progmodes/python.el (python-indent-block-enders): New var.
14768 (python-indent-calculate-indentation): Use it.
14769
14770 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
14771
14772 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
14773 defun. Defining it as defalias could introduce too eager
14774 byte-compiler optimization. (Bug#14030)
14775
14776 2013-03-30 Chong Yidong <cyd@gnu.org>
14777
14778 * iswitchb.el (iswitchb-read-buffer): Fix typo.
14779
14780 2013-03-30 Leo Liu <sdl.web@gmail.com>
14781
14782 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
14783 (kmacro-execute-from-register): Pass the keyboard macro to
14784 kmacro-call-macro or repeating won't work correctly.
14785
14786 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
14787
14788 * progmodes/subword.el: Back to using `forward-symbol'.
14789
14790 * subr.el (forward-whitespace, forward-symbol)
14791 (forward-same-syntax): Move from thingatpt.el.
14792
14793 2013-03-29 Leo Liu <sdl.web@gmail.com>
14794
14795 * kmacro.el (kmacro-to-register): New command.
14796 (kmacro-execute-from-register): New function.
14797 (kmacro-keymap): Bind to 'x'. (Bug#14071)
14798
14799 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
14800
14801 * mpc.el: Use defvar-local and setq-local.
14802 (mpc--proc-connect): Connection failures are not bugs.
14803 (mpc-mode-map): `follow-link' only applies to the buffer's content.
14804 (mpc-volume-map): Bind to the up-events.
14805
14806 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
14807
14808 * progmodes/subword.el (superword-mode): Use `forward-sexp'
14809 instead of `forward-symbol'.
14810
14811 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
14812
14813 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
14814 (edebug--recursive-edit): Use it.
14815 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
14816 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
14817
14818 2013-03-28 Leo Liu <sdl.web@gmail.com>
14819
14820 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
14821
14822 2013-03-27 Eli Zaretskii <eliz@gnu.org>
14823
14824 * facemenu.el (list-colors-callback): New defvar.
14825 (list-colors-redisplay): New function.
14826 (list-colors-display): Install list-colors-redisplay as the
14827 revert-buffer-function. (Bug#14063)
14828
14829 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
14830
14831 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
14832 and suffixes don't overlap (bug#14061).
14833
14834 * case-table.el: Use lexical-binding.
14835 (case-table-get-table): New function.
14836 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
14837
14838 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
14839
14840 * progmodes/subword.el: Add `superword-mode' to do word motion
14841 over symbol_words (parallels and leverages `subword-mode' which
14842 does word motion inside MixedCaseWords).
14843
14844 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
14845
14846 * eshell/em-unix.el: Move su and sudo to...
14847 * eshell/em-tramp.el: ...Eshell tramp module.
14848
14849 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
14850
14851 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
14852 Change return value to be a sexp. Delay `get-buffer' to after
14853 restoring the desktop (bug#13951).
14854
14855 2013-03-26 Leo Liu <sdl.web@gmail.com>
14856
14857 * register.el: Move semantic tag handling back to
14858 cedet/semantic/senator.el. (Bug#14052)
14859
14860 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
14861
14862 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
14863 into the prompt either (bug#13963).
14864
14865 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
14866
14867 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
14868 part of "(error-foo)".
14869
14870 2013-03-24 Juri Linkov <juri@jurta.org>
14871
14872 * replace.el (list-matching-lines-prefix-face): New defcustom.
14873 (occur-1): Pass `list-matching-lines-prefix-face' to the function
14874 `occur-engine' if `face-differs-from-default-p' returns t.
14875 (occur-engine): Add `,' inside backquote construct to evaluate
14876 `prefix-face'. Propertize the prefix with the `prefix-face' face.
14877 Pass `prefix-face' to the functions `occur-context-lines' and
14878 `occur-engine-add-prefix'.
14879 (occur-engine-add-prefix, occur-context-lines): Add optional arg
14880 `prefix-face' and propertize the prefix with `prefix-face'.
14881 (Bug#14017)
14882
14883 2013-03-24 Leo Liu <sdl.web@gmail.com>
14884
14885 * nxml/rng-valid.el (rng-validate-while-idle)
14886 (rng-validate-quick-while-idle): Guard against deleted buffer.
14887 (Bug#13999)
14888
14889 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
14890 is the last entry in kill-buffer-hook.
14891
14892 * files.el (kill-buffer-hook): Doc fix.
14893
14894 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
14895
14896 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
14897 Make it safe-local.
14898
14899 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
14900
14901 2013-03-23 Leo Liu <sdl.web@gmail.com>
14902
14903 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
14904 Remove.
14905
14906 * nxml/rng-valid.el (rng-validate-mode)
14907 (rng-after-change-function, rng-do-some-validation):
14908 * nxml/rng-maint.el (rng-validate-buffer):
14909 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
14910 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
14911 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
14912 (nxml-extend-after-change-region): Use with-silent-modifications.
14913
14914 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
14915 timer-idle-list.
14916
14917 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
14918 (rng-next-error-1, rng-previous-error-1): Do not let-bind
14919 timer-idle-list. (Bug#13999)
14920
14921 2013-03-23 Juri Linkov <juri@jurta.org>
14922
14923 * info.el (info-index-match): New face.
14924 (Info-index, Info-apropos-matches): Add a nested subgroup to the
14925 main pattern and add text properties with the new face to matches
14926 in index entries relative to the beginning of the index entry.
14927 (Bug#14015)
14928
14929 2013-03-21 Eric Ludlam <zappo@gnu.org>
14930
14931 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
14932 Inhibit read only while inserting objects.
14933
14934 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
14935
14936 * progmodes/cfengine.el: Update docs to mention
14937 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
14938 symbol motion. Remove "_" from the word syntax.
14939
14940 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
14941
14942 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
14943 syntax for both `cfengine2-mode' and `cfengine3-mode'.
14944
14945 2013-03-20 Juri Linkov <juri@jurta.org>
14946
14947 * info.el (Info-next-reference-or-link)
14948 (Info-prev-reference-or-link): New functions.
14949 (Info-next-reference, Info-prev-reference): Use them.
14950 (Info-try-follow-nearest-node): Handle footnote navigation.
14951 (Info-fontify-node): Fontify footnotes. (Bug#13989)
14952
14953 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
14954
14955 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
14956 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
14957
14958 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
14959
14960 Suppress unnecessary non-ASCII chatter during build process.
14961 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
14962 (batch-skkdic-convert): Suppress most of the chatter.
14963 It's not needed so much now that machines are faster,
14964 and its non-ASCII component was confusing; see Dmitry Gutov in
14965 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
14966
14967 2013-03-20 Leo Liu <sdl.web@gmail.com>
14968
14969 * ido.el (ido-chop): Fix bug#10994.
14970
14971 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
14972
14973 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
14974 Remove vars.
14975 (whitespace-color-on, whitespace-color-off):
14976 Use `font-lock-fontify-buffer' (Bug#13817).
14977
14978 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
14979
14980 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
14981 remapping in mode-line.
14982 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
14983
14984 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
14985
14986 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
14987 value for `whitespace-line' face (Bug#13875).
14988 (whitespace-font-lock-keywords): Change description.
14989 (whitespace-color-on): Don't save `font-lock-keywords' value, save
14990 the constructed keywords instead.
14991 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
14992
14993 2013-03-19 Leo Liu <sdl.web@gmail.com>
14994
14995 * progmodes/compile.el (compilation-display-error): New command.
14996 (compilation-mode-map, compilation-minor-mode-map): Bind it to
14997 C-o. (Bug#13992)
14998
14999 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
15000
15001 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
15002
15003 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
15004
15005 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
15006
15007 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
15008
15009 * net/tramp-compat.el (tramp-compat-user-error): New defun.
15010
15011 * net/tramp-adb.el (tramp-adb-handle-shell-command):
15012 * net/tramp-gvfs.el (top):
15013 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
15014 (tramp-handle-shell-command): Use it.
15015 (tramp-dissect-file-name): Raise an error when hostname is a
15016 method name, and neither method nor user is specified.
15017
15018 * net/trampver.el: Update release number.
15019
15020 2013-03-18 Leo Liu <sdl.web@gmail.com>
15021
15022 Make sure eldoc can be turned off properly.
15023 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
15024 eldoc-mode.
15025 (eldoc-display-message-p): Revert last change.
15026 (eldoc-display-message-no-interference-p)
15027 (eldoc-print-current-symbol-info): Tweak.
15028
15029 2013-03-18 Tassilo Horn <tsdh@gnu.org>
15030
15031 * doc-view.el (doc-view-new-window-function): Check the new window
15032 overlay's display property instead the char property of the
15033 buffer's first char. Use `with-selected-window' instead of
15034 `save-window-excursion' with `select-window'.
15035 (doc-view-document->bitmap): Check the current doc-view overlay's
15036 display property instead the char property of the buffer's first char.
15037
15038 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
15039
15040 Automate the build of ja-dic.el (Bug#13984).
15041 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
15042 from the input, rather than assume that it's been done for us by the
15043 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
15044 the current date into a ja-dic.el comment, as that complicates
15045 regression testing.
15046
15047 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
15048
15049 * whitespace.el: Fix double evaluation.
15050 (whitespace-space, whitespace-hspace, whitespace-tab)
15051 (whitespace-newline, whitespace-trailing, whitespace-line)
15052 (whitespace-space-before-tab, whitespace-indentation)
15053 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
15054 obsolete defvars.
15055 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
15056 (whitespace-color-on): Use a single font-lock-add-keywords call.
15057 Fix double-evaluation of face variables.
15058
15059 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
15060
15061 * net/tramp-adb.el (tramp-adb-parse-device-names):
15062 Use `start-process' instead of `call-process'. Otherwise, the
15063 function might be blocked under MS Windows. (Bug#13299)
15064
15065 2013-03-17 Leo Liu <sdl.web@gmail.com>
15066
15067 Extend eldoc to display info in the mode-line. (Bug#13978)
15068 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
15069 (eldoc-mode-line-string): New variable.
15070 (eldoc-minibuffer-message): New function.
15071 (eldoc-message-function): New variable.
15072 (eldoc-message): Use it.
15073 (eldoc-display-message-p)
15074 (eldoc-display-message-no-interference-p):
15075 Support eldoc-post-insert-mode.
15076
15077 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
15078 (eval-expression): Run it.
15079
15080 2013-03-17 Roland Winkler <winkler@gnu.org>
15081
15082 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
15083 strings in the list of return values.
15084
15085 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
15086
15087 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
15088 radix before checking for HMS forms.
15089
15090 2013-03-16 Leo Liu <sdl.web@gmail.com>
15091
15092 * progmodes/scheme.el: Add indentation and font-locking for λ.
15093 (Bug#13975)
15094
15095 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
15096
15097 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
15098 token before point (bug#13942).
15099
15100 2013-03-16 Leo Liu <sdl.web@gmail.com>
15101
15102 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
15103
15104 2013-03-16 Eli Zaretskii <eliz@gnu.org>
15105
15106 * startup.el (command-line-normalize-file-name): Fix handling of
15107 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
15108 <xfq.free@gmail.com> in
15109 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
15110
15111 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
15112
15113 Sync with Tramp 2.2.7.
15114
15115 * net/trampver.el: Update release number.
15116
15117 2013-03-14 Tassilo Horn <tsdh@gnu.org>
15118
15119 * doc-view.el: Fix bug#13887.
15120 (doc-view-insert-image): Don't modify overlay associated to
15121 non-live windows, and implement horizontal centering of image in
15122 case it's smaller than the window.
15123 (doc-view-new-window-function): Force redisplay of new windows on
15124 doc-view buffers.
15125
15126 2013-03-13 Karl Fogel <kfogel@red-bean.com>
15127
15128 * saveplace.el (save-place-alist-to-file): Don't sort
15129 `save-place-alist', just pretty-print it (bug#13882).
15130
15131 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
15132
15133 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
15134 Check whether `default-file-name-coding-system' is bound.
15135 It isn't in XEmacs.
15136
15137 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
15138
15139 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
15140 backquotes for `obsolete' (bug#13929).
15141
15142 * international/mule.el (find-auto-coding): Include file name in
15143 obsolescence warning (bug#13922).
15144
15145 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
15146
15147 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
15148 for CFEngine 3-specific indentation.
15149 (cfengine3-indent-line): Use it. Fix up category regex.
15150 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
15151
15152 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15153
15154 * type-break.el (type-break-file-name):
15155 * textmodes/remember.el (remember-data-file):
15156 * strokes.el (strokes-file):
15157 * shadowfile.el (shadow-initialize):
15158 * saveplace.el (save-place-file):
15159 * ps-bdf.el (bdf-cache-file):
15160 * progmodes/idlwave.el (idlwave-config-directory):
15161 * net/quickurl.el (quickurl-url-file):
15162 * international/kkc.el (kkc-init-file-name):
15163 * ido.el (ido-save-directory-list-file):
15164 * emulation/viper.el (viper-custom-file-name):
15165 * emulation/vip.el (vip-startup-file):
15166 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
15167 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
15168
15169 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
15170
15171 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
15172 * language/thai-word.el: Switch to UTF-8.
15173
15174 See ChangeLog.16 for earlier changes.
15175
15176 ;; Local Variables:
15177 ;; coding: utf-8
15178 ;; End:
15179
15180 Copyright (C) 2011-2014 Free Software Foundation, Inc.
15181
15182 This file is part of GNU Emacs.
15183
15184 GNU Emacs is free software: you can redistribute it and/or modify
15185 it under the terms of the GNU General Public License as published by
15186 the Free Software Foundation, either version 3 of the License, or
15187 (at your option) any later version.
15188
15189 GNU Emacs is distributed in the hope that it will be useful,
15190 but WITHOUT ANY WARRANTY; without even the implied warranty of
15191 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15192 GNU General Public License for more details.
15193
15194 You should have received a copy of the GNU General Public License
15195 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.