* lisp/vc/emerge.el (emerge-make-temp-file): Simplify.
[bpt/emacs.git] / lisp / ChangeLog
1 2014-05-14 Glenn Morris <rgm@gnu.org>
2
3 * vc/emerge.el (emerge-make-temp-file): Simplify.
4
5 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
6 Stefan Monnier <monnier@iro.umontreal.ca>
7
8 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
9 suffix (bug#15419).
10
11 2014-05-14 Glenn Morris <rgm@gnu.org>
12
13 * vc/emerge.el (emerge-temp-file-prefix):
14 Make pointless option obsolete.
15 (emerge-temp-file-mode): Make non-functional option obsolete.
16
17 2014-05-14 Michael Albinus <michael.albinus@gmx.de>
18
19 * net/browse-url.el (browse-url):
20 Use `unhandled-file-name-directory' when setting `default-directory',
21 in order to circumvent stalled remote connections. (Bug#17425)
22
23 2014-05-14 Glenn Morris <rgm@gnu.org>
24
25 * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
26 Optimize on Emacs, which has the relevant functions for ages.
27
28 2014-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
29
30 * simple.el (undo-make-selective-list): Obey undo-no-redo.
31
32 2014-05-12 Sam Steingold <sds@gnu.org>
33
34 * calendar/time-date.el (seconds-to-string): New function to
35 pretty print time delay in seconds.
36
37 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
38
39 * mpc.el (mpc-format): Trim Date to the year.
40 (mpc-songs-hashcons): Shorten the Date field.
41
42 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
43 into autoloading just because of a silly indirection.
44
45 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com> (tiny change)
46
47 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
48
49 2014-05-12 Glenn Morris <rgm@gnu.org>
50
51 * emacs-lisp/find-gc.el: Move to ../admin.
52
53 * printing.el (pr-version):
54 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
55
56 * net/browse-url.el (browse-url-mosaic):
57 Create /tmp/Mosaic.PID as a private file.
58
59 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
60
61 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
62 (advice--member-p): If name is given, only compare the name.
63 (advice--remove-function): Don't stop at the first match.
64 (advice--normalize-place): New function.
65 (add-function, remove-function): Use it.
66 (advice--add-function): Pass the name, if any, to
67 advice--remove-function.
68
69 2014-05-12 Philipp Rumpf <prumpf@gmail.com> (tiny change)
70
71 * electric.el (electric-indent-post-self-insert-function): Don't use
72 `pos' after modifying the buffer (bug#17449).
73
74 2014-05-12 Stephen Berman <stephen.berman@gmx.net>
75
76 * calendar/todo-mode.el (todo-insert-item-from-calendar):
77 Correct argument list to conform to todo-insert-item--basic.
78
79 2014-05-12 Glenn Morris <rgm@gnu.org>
80
81 * files.el (cd-absolute): Test if directory is accessible
82 rather than executable. (Bug#17330)
83
84 * progmodes/compile.el (recompile):
85 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
86
87 * net/browse-url.el (browse-url-mosaic):
88 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
89 This is CVE-2014-3423.
90
91 2014-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
92
93 * mouse.el: Use the normal toplevel loop while dragging.
94 (mouse-set-point): Handle multi-clicks.
95 (mouse-set-region): Handle multi-clicks for drags.
96 (mouse-drag-region): Update call accordingly.
97 (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
98 Use the normal event loop instead of a local while/read-event loop.
99 (global-map): Remove redundant bindings for double/triple-mouse-1.
100 * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
101 Generate synthetic down events when the protocol only sends up events.
102 (xterm-mouse-last): Remove.
103 (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
104 terminal parameter instead.
105 (xterm-mouse--set-click-count): New function.
106 (xterm-mouse-event): Detect/generate double/triple clicks.
107 * reveal.el (reveal-close-old-overlays): Don't close while dragging.
108
109 * info.el (Info-quoted): New face.
110 (Info-mode-font-lock-keywords): New var.
111 (Info-mode): Use it.
112
113 * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
114 are a hindrance for C-x C-e.
115
116 2014-05-11 Leo Liu <sdl.web@gmail.com>
117
118 * net/rcirc.el (rcirc-sentinel): Fix last change.
119
120 2014-05-08 Sam Steingold <sds@gnu.org>
121
122 * net/rcirc.el (rcirc-reconnect-delay): New user option.
123 (rcirc-sentinel): Auto-reconnect to the server if
124 `rcirc-reconnect-delay' is non-0 (but not more often than its
125 value in case the host is off-line).
126
127 2014-05-09 Eli Zaretskii <eliz@gnu.org>
128
129 * progmodes/grep.el (lgrep): Fix a typo in last commit.
130
131 2014-05-09 Glenn Morris <rgm@gnu.org>
132
133 * files.el (file-expand-wildcards):
134 * man.el (Man-support-local-filenames):
135 * printing.el (pr-i-directory, pr-interface-directory):
136 * progmodes/grep.el (lgrep, rgrep):
137 * textmodes/ispell.el (ispell-call-process)
138 (ispell-call-process-region, ispell-start-process)
139 (ispell-init-process): Use file-accessible-directory-p.
140
141 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
142
143 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
144 (xterm-mouse--read-event-sequence-1000): Return nil if something
145 looks fishy.
146 (xterm-mouse-event): Propagate it.
147 (xterm-mouse-translate-1): Handle it.
148
149 2014-05-08 Stephen Berman <stephen.berman@gmx.net>
150
151 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
152 four slots of the parameter list are filled, make sure to pass it
153 to the argument list of todo-insert-item--basic.
154
155 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
156
157 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
158 Add optional `seen' argument to detect and break infinite loops.
159
160 2014-05-08 Eli Zaretskii <eliz@gnu.org>
161
162 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
163 (trace-unsafe, trace-use-tree): Make parentheses style be
164 according to Emacs style.
165
166 2014-05-08 Michael Albinus <michael.albinus@gmx.de>
167
168 * net/tramp-sh.el (tramp-remote-process-environment):
169 Remove HISTFILE and HISTSIZE; it's too late to set them here.
170 Add :version entry.
171 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
172 Add "HISTSIZE=/dev/null" to the shell's env arguments. Do not send
173 extra "PSx=..." commands.
174 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
175 (Bug#17295)
176
177 (tramp-uudecode): Replace the hard-coded temporary file name by a
178 format specifier.
179 (tramp-remote-coding-commands): Enhance docstring.
180 (tramp-find-inline-encoding): Replace "%t" by a temporary file
181 name. (Bug#17415)
182 This is CVE-2014-3424.
183
184 2014-05-08 Glenn Morris <rgm@gnu.org>
185
186 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
187 (find-gc-source-files): Update some names.
188 (trace-call-tree): Simplify and update.
189 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
190 This is CVE-2014-3422.
191
192 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
193
194 * minibuffer.el (completion--try-word-completion): Revert fix for
195 Bug#15980 (bug#17375).
196
197 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
198 Always store button numbers in the same way in xterm-mouse-last;
199 Don't burp is xterm-mouse-last is not set as expected.
200 Never return negative indices.
201
202 2014-05-08 Dmitry Gutov <dgutov@yandex.ru>
203
204 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
205 Backtrack one char if the global/char-literal var matcher hits
206 inside a string. The next char could be the beginning of an
207 expression expansion.
208
209 2014-05-08 Glenn Morris <rgm@gnu.org>
210
211 * help-fns.el (describe-function-1): Test for an autoload before a
212 macro, since `macrop' works on autoloads. (Bug#17410)
213
214 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
215
216 * electric.el (electric-indent-functions-without-reindent): Add yaml.
217
218 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
219 Make sure the new point we return is within the new string (bug#17239).
220
221 2014-05-05 Daniel Colascione <dancol@dancol.org>
222
223 * progmodes/compile.el (compilation-error-regexp-alist-alist):
224 Port `gnu' pattern to rx.
225
226 2014-05-05 Jarek Czekalski <jarekczek@poczta.onet.pl>
227
228 Remove unneeded prompt when closing a buffer with active
229 emacsclient ("Buffer ... still has clients"), #16548.
230 * server.el (server-start): Remove the only call to:
231 (server-kill-buffer-query-function): Remove.
232
233 2014-05-04 Leo Liu <sdl.web@gmail.com>
234
235 * calendar/diary-lib.el (calendar-chinese-month-name-array):
236 Defvar to pacify compiler.
237
238 2014-05-04 Eli Zaretskii <eliz@gnu.org>
239
240 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
241
242 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
243
244 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
245 Use nil rather than `default' for the "default" appearance (bug#17388).
246 * vc/ediff-util.el (ediff-inferior-compare-regions)
247 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
248 a misleading `default' value when it's really a boolean.
249 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
250 overlay is not visible.
251
252 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
253
254 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
255 (todo-menu): Uncomment and update.
256
257 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
258
259 * calendar/todo-mode.el: Reimplement item editing to have the same
260 basic user interface as item insertion, and make small UI and
261 larger internal improvements to the latter.
262 (todo-insert-item): Add reference to the Todo mode user manual to
263 the documentation string.
264 (todo-insert-item--basic): Rename from todo-basic-insert-item and
265 adjust all callers. Change signature to combine diary and
266 nonmarking arguments. Incorporate functionality of deleted item
267 copying command and add error checking. Remove detailed
268 descriptions of the arguments from the documentation string, since
269 this is treated in the Todo mode user manual.
270 (todo-copy-item, todo-edit-multiline-item)
271 (todo-edit-done-item-comment, todo-edit-item-header)
272 (todo-edit-item-time, todo-edit-item-date-from-calendar)
273 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
274 (todo-edit-item-date-year, todo-edit-item-date-month)
275 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
276 Remove.
277 (todo-edit-item): Reimplement as wrapper command for
278 todo-edit-item--next-key and make it distinguish done and not done
279 todo items.
280 (todo-edit-item--text): New function, replacing old command
281 todo-edit-item and incorporating deleted commands
282 todo-edit-multiline-item and todo-edit-done-item-comment.
283 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
284 Use only numeric value of prefix argument. Remove detailed
285 descriptions of the arguments from the documentation string, since
286 this is treated in the Todo mode user manual.
287 (todo-edit-item--diary-inclusion): New function, replacing old
288 command todo-edit-item-diary-inclusion and incorporating and fixing
289 functionality of deleted command todo-edit-item-diary-nonmarking,
290 making sure to remove todo-nondiary-marker when adding
291 diary-nonmarking-symbol.
292 (todo-edit-category-diary-inclusion): Make sure to delete
293 diary-nonmarking-symbol when adding todo-nondiary-marker.
294 (todo-edit-category-diary-nonmarking): Fix indentation.
295 (todo-insert-item--parameters): Group diary and nonmarking
296 parameters together.
297 (todo-insert-item--apply-args): Adjust to signature of
298 todo-insert-item--basic and incorporate copy parameter.
299 Make small code improvements.
300 (todo-insert-item--next-param): Improve prompt and adjust it to
301 new parameter grouping. Remove obsolete code.
302 (todo-edit-item--param-key-alist)
303 (todo-edit-item--date-param-key-alist)
304 (todo-edit-done-item--param-key-alist): New defconsts.
305 (todo-edit-item--prompt): New variable.
306 (todo-edit-item--next-key): New function.
307 (todo-key-bindings-t): Bind "e" to todo-edit-item.
308 Remove bindings of deleted commands.
309
310 2014-05-04 Leo Liu <sdl.web@gmail.com>
311
312 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
313
314 2014-05-04 Glenn Morris <rgm@gnu.org>
315
316 * allout-widgets.el (allout-widgets-tally)
317 (allout-decorate-item-guides):
318 * menu-bar.el (menu-bar-positive-p):
319 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
320 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
321 * progmodes/js.el (js--inside-param-list-p)
322 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
323 * progmodes/prolog.el (region-exists-p):
324 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
325 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
326 Doc fixes (replace `iff').
327
328 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
329
330 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
331
332 2014-05-04 Leo Liu <sdl.web@gmail.com>
333
334 Support Chinese diary entries in calendar and diary. (Bug#17393)
335 * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
336 (calendar-chinese-from-absolute-for-diary)
337 (calendar-chinese-to-absolute-for-diary)
338 (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
339 (diary-chinese-list-entries): New functions to list and mark
340 Chinese diary entries in the calendar window.
341 (diary-chinese-anniversary)
342 (diary-chinese-insert-anniversary-entry)
343 (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
344 (diary-chinese-insert-yearly-entry): New commands to insert
345 Chinese diary entries.
346
347 * calendar/diary-lib.el (diary-font-lock-keywords):
348 Support font-locking Chinese dates.
349
350 * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
351 inserting Chinese diary entries.
352
353 * calendar/calendar.el (diary-chinese-entry-symbol):
354 New customizable variable.
355 (calendar-mode-map): Add bindings for inserting Chinese diary
356 entries.
357
358 2014-05-03 Juri Linkov <juri@jurta.org>
359
360 * dired.el (dired-check-switches, dired-switches-recursive-p):
361 New functions. (Bug#17218)
362 (dired-switches-escape-p, dired-move-to-end-of-filename):
363 Use `dired-check-switches'.
364 (dired-insert-old-subdirs, dired-build-subdir-alist)
365 (dired-sort-R-check): Use `dired-switches-recursive-p'.
366
367 2014-05-01 Barry O'Reilly <gundaetiapo@gmail.com>
368
369 * simple.el (undo-make-selective-list): New algorithm fixes
370 incorrectness of position adjustments when undoing in region.
371 (Bug#17235)
372 (undo-elt-crosses-region): Make obsolete.
373 (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
374 New functions to adjust positions using undo-deltas.
375
376 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
377
378 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
379 the last consecutive closing paren (bug#17345).
380
381 2014-04-30 Reuben Thomas <rrt@sc3d.org>
382
383 * dired.el (dired-mode): make terminology for eXpunge command
384 consistent. (Bug#17276)
385
386 2014-04-30 Eli Zaretskii <eliz@gnu.org>
387
388 * dired.el (dired-initial-position-hook, dired-initial-position):
389 Doc string fixes.
390
391 2014-04-30 Glenn Morris <rgm@gnu.org>
392
393 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
394
395 2014-04-30 Matthias Dahl <matthias.dahl@binary-island.eu>
396
397 * faces.el (face-spec-recalc): Apply X resources only after the
398 defface spec has been applied. Thus, X resources are no longer
399 overriden by the defface spec which also fixes issues on win32 where
400 the toolbar coloring was wrong because it is set through X resources
401 and was (wrongfully) overriden. (Bug#16694)
402
403 2014-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
404
405 * textmodes/rst.el (electric-pair-pairs): Declare.
406 (rst-mode): Set it (bug#17131).
407
408 2014-04-30 Juri Linkov <juri@jurta.org>
409
410 * desktop.el (desktop-value-to-string): Let-bind `print-length'
411 and `print-level' to nil. (Bug#17351)
412
413 2014-04-30 Nicolas Richard <theonewiththeevillook@yahoo.fr>
414
415 * battery.el (battery-update): Handle the case where battery
416 status is "N/A" (bug#17319).
417
418 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
419
420 * progmodes/ps-mode.el: Use SMIE. Move string and comment recognition
421 to syntax-propertize.
422 (ps-mode-auto-indent): Mark as obsolete.
423 (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
424 (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
425 word regexp operators.
426 (ps-mode-map): Move initialization into declaration. Remove binding
427 for TAB, RET, >, ], and }.
428 (ps-mode-syntax-table): Move initialization into declaration.
429 Don't give word syntax to non-word chars.
430 (ps-run-mode-map): Move initialization into declaration.
431 (ps-mode-menu-main): Remove auto-indent entry.
432 (ps-mode-smie-rules): New function.
433 (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
434 (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
435 (ps-mode--string-syntax-table): New const.
436 (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
437 New functions.
438 (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
439 (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
440
441 2014-04-27 Daniel Colascione <dancol@dancol.org>
442
443 * term/xterm.el (xterm-paste): Use large finite timeout when
444 reading event to avoid putting keys in this-command-keys.
445
446 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
447
448 * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
449 (perl-syntax-propertize-function): Use it. Extend handling of
450 here-docs to the unquoted case.
451
452 2014-04-25 Eli Zaretskii <eliz@gnu.org>
453
454 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
455 Use equal-including-properties to compare help-echo strings (bug#17331).
456
457 2014-04-25 Leo Liu <sdl.web@gmail.com>
458
459 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
460 Fix syntax for @. (Bug#17325)
461
462 2014-04-25 Daniel Colascione <dancol@dancol.org>
463
464 * emacs-lisp/cl.el (gv): Require gv early to break eager
465 macro-expansion cycles.
466
467 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
468
469 * simple.el (region-active-p): Check there's a mark (bug#17324).
470
471 * simple.el (completion-list-mode-map): Use choose-completion for the
472 mouse binding as well (bug#17302).
473 (completion-list-mode, completion-setup-function): Adjust docstring and
474 echo area message accordingly.
475 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
476 calling convention of choose-completion.
477 * comint.el (comint-dynamic-list-completions):
478 * term.el (term-dynamic-list-completions): Accept choose-completion.
479
480 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
481 &, |, +, - and * can't be a division (bug#17317).
482
483 * term/xterm.el (xterm--version-handler): Don't use modern xterm
484 features on gnome-terminal (bug#16988).
485
486 2014-04-25 Thien-Thi Nguyen <ttn@gnu.org>
487
488 Improve Scheme font-locking for (define ((foo ...) ...) ...).
489
490 * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
491 the declared object, ignore zero or more parens, not zero or one.
492
493 2014-04-24 Leo Liu <sdl.web@gmail.com>
494
495 * progmodes/xscheme.el (xscheme-expressions-ring)
496 (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
497 (xscheme-control-g-disabled-p, xscheme-process-filter-state)
498 (xscheme-allow-output-p, xscheme-prompt)
499 (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
500
501 * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
502 Comment out unused functions.
503
504 2014-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
505
506 * info.el: Use lexical-binding and cl-lib.
507 Use defvar-local and setq-local instead of make-local-variable.
508 (Info-apropos-matches): Avoid add-to-list.
509 (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
510
511 2014-04-24 Daniel Colascione <dancol@dancol.org>
512
513 * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
514
515 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
516
517 * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
518
519 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
520
521 * dired.el (dired-insert-set-properties): Do not consider
522 subdirectory headings and empty lines to be information that
523 `dired-hide-details-mode' should hide. (Bug#17228)
524
525 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
526
527 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
528 Remove test messages.
529 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
530 and `target' twice.
531
532 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
533
534 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
535 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
536
537 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
538
539 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
540
541 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
542 Set "IFS=" when using read builtin, in order to preserve spaces in
543 the file name. Add test messages for hunting a bug on hydra.
544 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
545
546 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
547
548 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
549 Don't prettify a word within a symbol.
550
551 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
552
553 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
554 possible.
555
556 2014-04-22 Daniel Colascione <dancol@dancol.org>
557
558 * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
559 use defun to define `function-put'.
560
561 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
562
563 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
564 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
565 (lisp-mode-variables): Set font-lock-extra-managed-props.
566
567 * emacs-lisp/byte-run.el (function-put): New function.
568 (defun-declarations-alist): Use it. Add `pure' and `side-effect-free'.
569 * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
570 (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
571 Use them.
572
573 2014-04-22 Daniel Colascione <dancol@dancol.org>
574
575 * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
576 Add `full-p' parameter; when nil, call `macroexpand' instead of
577 `macroexpand-all'.
578
579 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
580 Improve docstrings.
581
582 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
583 Use lambda function values, not quoted lambdas.
584 (byte-compile-recurse-toplevel): Remove extraneous &optional.
585
586 * emacs-lisp/cl-macs.el
587 (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
588 (cl-struct-slot-value): Conditionally use aref or nth so that the
589 compiler produces optimal code.
590
591 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
592
593 * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
594 (inline): Don't inline cl--set-elt.
595 (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
596 Define as inlinable instead.
597 (cl-struct-set-slot-value): Remove.
598
599 * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
600 * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
601 Use setf instead.
602
603 2014-04-21 Daniel Colascione <dancol@dancol.org>
604
605 * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
606 last two parameters after all.
607 (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
608 (cl--compiler-macro-assoc,cl-struct-slot-value)
609 (cl-struct-set-slot-value): Stop using them.
610
611 (2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
612
613 * image-mode.el (image-mode-window-put): Don't assume there's a `t'
614 entry in image-mode-winprops-alist.
615
616 2014-04-21 Daniel Colascione <dancol@dancol.org>
617
618 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
619 (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
620 (byte-compile-toplevel-file-form): Use it.
621
622 * emacs-lisp/cl-macs.el:
623 (cl--loop-let): Properly destructure `while' clauses.
624
625 2014-04-20 Daniel Colascione <dancol@dancol.org>
626
627 * vc/vc.el (vc-root-dir): New public autoloaded function for
628 generically finding the current VC root.
629 * vc/vc-hooks.el (vc-not-supported): New error.
630 (vc-call-backend): Signal `vc-not-supported' instead of generic error.
631
632 2014-04-20 Daniel Colascione <dancol@dancol.org>
633
634 * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
635 argument.
636 (cl--const-expr-val): cl--const-expr-val should macroexpand its
637 argument in case we're inside a symbol-macrolet.
638 (cl--do-arglist, cl--compiler-macro-typep)
639 (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
640 environment to `cl--const-expr-val'.
641 (cl-struct-sequence-type,cl-struct-slot-info)
642 (cl-struct-slot-offset, cl-struct-slot-value)
643 (cl-struct-set-slot-value): New functions.
644
645 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
646
647 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
648 assignments such as "case=hello" (bug#17297).
649
650 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
651
652 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
653 Do not autoload.
654 (tramp-file-name-handler, tramp-completion-file-name-handler):
655 Revert patch from 2014-04-10, it isn't necessary anymore.
656 (tramp-autoload-file-name-handler)
657 (tramp-register-autoload-file-name-handlers): New defuns.
658 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
659 (tramp-register-file-name-handlers): Remove also
660 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
661 Do not autoload its invocation, but eval it after loading of 'tramp.
662
663 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
664
665 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
666
667 2014-04-17 Daniel Colascione <dancol@dancol.org>
668
669 Add support for bracketed paste mode; add infrastructure for
670 managing terminal mode enabling and disabling automatically.
671
672 * xt-mouse.el:
673 (xterm-mouse-mode): Simplify.
674 (xterm-mouse-tracking-enable-sequence)
675 (xterm-mouse-tracking-disable-sequence): New constants.
676 (turn-on-xterm-mouse-tracking-on-terminal)
677 (turn-off-xterm-mouse-tracking-on-terminal):
678 Use tty-mode-set-strings and tty-mode-reset-strings terminal
679 parameters instead of random hooks.
680 (turn-on-xterm-mouse-tracking)
681 (turn-off-xterm-mouse-tracking): Delete.
682
683 * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
684 (xterm-paste-ending-sequence): New constant.
685 (xterm-paste): New command used for bracketed paste support.
686
687 (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
688 (terminal-init-xterm-bracketed-paste-mode): New function.
689 (terminal-init-xterm): Call it.
690 (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
691 and tty-mode-reset-strings instead of random hooks.
692 (xterm-turn-on-modify-other-keys)
693 (xterm-turn-off-modify-other-keys)
694 (xterm-remove-modify-other-keys): Delete obsolete functions.
695
696 * term/screen.el: Rewrite to just use the xterm code.
697 Add copyright notice. Mention tmux.
698
699 2014-04-17 Ian D <dunni@gnu.org> (tiny change)
700
701 * image-mode.el (image-mode-window-put): Also update the property of
702 the "default window".
703 * doc-view.el (doc-view-new-window-function): If no window
704 exists, move to the last known page.
705
706 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
707
708 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
709 here-documents (bug#17262).
710
711 2014-04-16 Eli Zaretskii <eliz@gnu.org>
712
713 * term/pc-win.el (x-list-fonts, x-get-selection-value):
714 Provide doc strings, as required by snarf-documentation.
715
716 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
717
718 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
719 arg of overlays-at. Use `invisible-p'.
720
721 * obsolete/lucid.el (extent-at):
722 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
723 overlays-at.
724 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
725
726 2014-04-16 João Távora <joaotavora@gmail.com>
727
728 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
729 links. (Bug#17217).
730
731 2014-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
732
733 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
734 Use mapc to loop over a vector. (Bug#17257).
735
736 2014-04-16 Michael Albinus <michael.albinus@gmx.de>
737
738 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
739 patch, there are new problems with file names containing spaces.
740 Get rid of backticks. (Bug#17238)
741
742 2014-04-16 João Távora <joaotavora@gmail.com>
743
744 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
745 possible bug.
746
747 2014-04-16 Eli Zaretskii <eliz@gnu.org>
748
749 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
750 (blink-cursor-mode): Mention customization variables and the
751 effect of 'blink-cursor-blinks'.
752
753 2014-04-16 Barry O'Reilly <gundaetiapo@gmail.com>
754
755 * simple.el (undo): Prevent insertion of identity mapping into
756 undo-equiv-table so as undo-only does not inf loop in the presence
757 of consecutive nils in undo list.
758
759 2014-04-16 Matthias Dahl <matthias.dahl@binary-island.eu>
760
761 * faces.el (make-face): Deprecate optional argument as it is no
762 longer needed/used since the conditional X resources handling
763 has been pushed down to make-face-x-resource-internal itself.
764 (make-empty-face): Don't pass optional argument to make-face.
765
766 2014-04-16 Karl Fogel <kfogel@red-bean.com>
767
768 * savehist.el (savehist-save): Remove workaround for a read-passwd
769 bug that was fixed before 24.3. Thanks to Juanma Barranquero for
770 noticing that the shim was still present.
771
772 2014-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
773
774 * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
775
776 2014-04-14 Juanma Barranquero <lekktu@gmail.com>
777
778 * faces.el (face-set-after-frame-default): Remove unused local variable.
779
780 2014-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
781
782 * progmodes/grep.el: Use lexical-binding.
783 (grep-expand-template): Pass explicit lexical env to `eval'.
784 (zrgrep): Let-bind grep-find-template explicitly.
785
786 * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
787 * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
788
789 2014-04-12 Eli Zaretskii <eliz@gnu.org>
790
791 * international/characters.el <standard-case-table>: Add entries
792 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
793 Set category of Coptic characters be 'g' (Greek).
794
795 2014-04-12 Leo Liu <sdl.web@gmail.com>
796
797 * progmodes/octave.el (completion-table-with-cache):
798 Define if not available.
799 (octave-goto-function-definition, octave-sync-function-file-names)
800 (octave-find-definition-default-filename):
801 Backquote upattern for compatibility.
802
803 2014-04-12 Michael Albinus <michael.albinus@gmx.de>
804
805 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
806 name twice due to backticks. (Bug#17238)
807
808 2014-04-12 Glenn Morris <rgm@gnu.org>
809
810 * term/w32-win.el (x-win-suspend-error):
811 * term/x-win.el (x-win-suspend-error): Sync docs.
812
813 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
814
815 * faces.el (make-face): Remove deprecated optional argument.
816 The conditional application of X resources is handled directly by
817 make-face-x-resource-internal since Emacs 24.4.
818 (make-empty-face): Don't pass optional argument to make-face.
819
820 2014-04-11 Glenn Morris <rgm@gnu.org>
821
822 * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport. (Bug#16429)
823
824 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
825
826 Ediff's overlay priorities cause more trouble than they solve.
827 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
828 (ediff-highest-priority): Remove function (bug#17234).
829 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
830 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
831 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
832 overlay priorities.
833
834 2014-04-11 Feng Li <fengli@gmail.com> (tiny change)
835
836 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
837 entry; use symbol boundaries to avoid mis-matches.
838
839 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
840
841 * net/tramp.el (tramp-file-name-handler)
842 (tramp-completion-file-name-handler): Avoid recursive loading.
843
844 * net/tramp-sh.el (tramp-make-copy-program-file-name):
845 Quote result also locally.
846
847 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
848
849 * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
850 Remove left-over code.
851
852 * newcomment.el (comment-indent-new-line): Sink code where it's used.
853 Reuse the previous comment's indentation unconditionally if it's on its
854 own line.
855
856 2014-04-09 Daniel Colascione <dancol@dancol.org>
857
858 * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
859 `no-syntax-crossing' arguments. Forward to `up-list'.
860 (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
861 Implement logic for escaping from strings. Use narrowing to deal
862 with corner cases.
863
864 2014-04-09 Leo Liu <sdl.web@gmail.com>
865
866 * net/rcirc.el (rcirc-connection-info): New variable.
867 (rcirc-connect): Use it to store connection info.
868 (rcirc-buffer-process): Avoid get-buffer-process which returns nil
869 for killed process.
870 (rcirc-cmd-reconnect): New command. (Bug#17045)
871 (rcirc-mode, set-rcirc-encode-coding-system)
872 (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
873
874 2014-04-09 Daniel Colascione <dancol@dancol.org>
875
876 * emacs-lisp/cl-indent.el: Add comment claiming
877 facility is also good for elisp.
878 (lisp-indent-find-method): New function.
879 (common-lisp-indent-function): Recognize cl-loop.
880 (common-lisp-indent-function-1): Recognize cl constructs; use
881 `lisp-indent-find-method' instead of `get' directly.
882 (if): Use else-body style for elisp.
883
884 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
885
886 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
887 Module methods. (Bug#17216)
888
889 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
890
891 * help.el (describe-bindings): Fix buffer handling (bug#17210).
892 (describe-bindings-internal): Mark obsolete.
893
894 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
895
896 * subr.el (with-silent-modifications): Don't bind deactivate-mark,
897 buffer-file-name, and buffer-file-truename any more.
898
899 2014-04-08 Leo Liu <sdl.web@gmail.com>
900
901 Use lexical-binding and require cl-lib.
902 * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
903 (rcirc-handler-generic, rcirc-fill-paragraph)
904 (rcirc-format-response-string, rcirc-target-buffer)
905 (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
906 (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
907 (rcirc-ctcp-sender-PING, rcirc-browse-url)
908 (rcirc-markup-timestamp, rcirc-markup-attributes)
909 (rcirc-markup-my-nick, rcirc-markup-urls)
910 (rcirc-markup-bright-nicks, rcirc-markup-fill)
911 (rcirc-check-auth-status, rcirc-handler-WALLOPS)
912 (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
913 (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
914 (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
915 (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
916 (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
917 (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
918 (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
919 (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
920 (rcirc-handler-CTCP-response): Fix unused arguments warnings and
921 use cl-lib.
922
923 2014-04-07 João Távora <joaotavora@gmail.com>
924
925 * elec-pair.el (electric-pair--syntax-ppss):
926 When inside comments parse from comment beginning.
927 (electric-pair--balance-info): Fix typo in comment.
928 (electric-pair--in-unterminated-string-p): Delete.
929 (electric-pair--unbalanced-strings-p): New function.
930 (electric-pair-string-bound-function): New var.
931 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
932 according to `electric-pair--in-unterminated-string-p'
933
934 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
935 Inhibit quote pairing if point-max is inside an unterminated string.
936 (electric-pair--looking-at-unterminated-string-p): Delete.
937 (electric-pair--in-unterminated-string-p): New function.
938
939 2014-04-07 Glenn Morris <rgm@gnu.org>
940
941 * shell.el (shell-directory-tracker):
942 Go back to just ignoring failures. (Bug#17159)
943
944 2014-04-07 João Távora <joaotavora@gmail.com>
945
946 Fix `electric-pair-delete-adjacent-pairs' in modes binding
947 backspace. (bug#16981)
948 * elec-pair.el (electric-pair-backward-delete-char): Delete.
949 (electric-pair-backward-delete-char-untabify): Delete.
950 (electric-pair-mode-map): Bind backspace to a menu item filtering
951 a new `electric-pair-delete-pair' command.
952 (electric-pair-delete-pair): New command.
953
954 * progmodes/python.el (python-electric-pair-string-delimiter):
955 Fix triple-quoting electricity. (Bug#17192)
956
957 * elec-pair.el (electric-pair-post-self-insert-function):
958 Don't skip whitespace when `electric-pair-text-pairs' and
959 `electric-pair-pairs' were used. syntax to
960 electric-pair--skip-whitespace. (Bug#17183)
961
962 2014-04-07 Eli Zaretskii <eliz@gnu.org>
963
964 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
965 "<F>". (Bug#17199)
966
967 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
968
969 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
970 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
971
972 2014-04-07 Glenn Morris <rgm@gnu.org>
973
974 * help.el (view-lossage): Doc tweak.
975
976 2014-04-07 Matthias Dahl <ml_emacs-lists@binary-island.eu>
977
978 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
979 only when inhibit-x-resources is nil, and do that earlier in the
980 function. Doc fix. (Bug#16694)
981 (face-spec-choose): Accept additional optional argument, whose
982 value is returned if no matching attributes are found.
983 (face-spec-recalc): Use the new optional argument when calling
984 face-spec-choose. (Bug#16378)
985 (make-face-x-resource-internal): Do nothing when
986 inhibit-x-resources is non-nil. Don't touch the default face if
987 reversed video is given--as was done in previous versions of Emacs.
988 (face-set-after-frame-default): Don't call
989 make-face-x-resource-internal here. (Bug#16434)
990
991 2014-04-07 Tassilo Horn <tsdh@gnu.org>
992
993 * doc-view.el (doc-view-bookmark-jump):
994 Use `bookmark-after-jump-hook' to jump to the right page after the
995 buffer is shown in a window. (bug#16090)
996
997 2014-04-07 Eli Zaretskii <eliz@gnu.org>
998
999 * international/characters.el (mirroring): Fix last change:
1000 instead of loading uni-mirrored.el explicitly, do that implicitly
1001 by creating the 'mirroring' uniprop table. This avoids announcing
1002 the loading of uni-mirrored.el.
1003
1004 2014-04-07 Glenn Morris <rgm@gnu.org>
1005
1006 * files.el (buffer-stale--default-function)
1007 (buffer-stale-function, revert-buffer--default):
1008 * autorevert.el (auto-revert-buffers): Doc tweaks.
1009
1010 2014-04-07 Eli Zaretskii <eliz@gnu.org>
1011
1012 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
1013
1014 2014-04-07 Glenn Morris <rgm@gnu.org>
1015
1016 * files.el (make-backup-file-name-function)
1017 (make-backup-file-name, make-backup-file-name--default-function)
1018 (make-backup-file-name-1, find-backup-file-name)
1019 (revert-buffer-function, revert-buffer-insert-file-contents-function)
1020 (buffer-stale--default-function, buffer-stale-function)
1021 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
1022 (revert-buffer, revert-buffer--default)
1023 (revert-buffer-insert-file-contents--default-function):
1024 Doc fixes related to defaults no longer being nil.
1025 (make-backup-file-name-function): Bump :version.
1026 Restore nil as a valid but deprecated custom type.
1027
1028 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
1029
1030 * progmodes/perl-mode.el (perl-syntax-propertize-function):
1031 Handle $' used as a variable (bug#17174).
1032
1033 * progmodes/perl-mode.el (perl-indent-new-calculate):
1034 Handle forward-sexp failure (bug#16985).
1035 (perl-syntax-propertize-function): Add "foreach" and "for" statement
1036 modifiers introducing expressions (bug#17116).
1037
1038 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
1039
1040 * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
1041
1042 2014-04-05 Leo Liu <sdl.web@gmail.com>
1043
1044 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
1045 Add define-compilation-mode.
1046
1047 2014-04-04 João Távora <joaotavora@gmail.com>
1048
1049 * elec-pair.el (electric-pair--syntax-ppss): When inside comments
1050 parse from comment beginning.
1051 (electric-pair--balance-info): Fix typo in comment.
1052 (electric-pair--in-unterminated-string-p): Delete.
1053 (electric-pair--unbalanced-strings-p): New function.
1054 (electric-pair-string-bound-function): New var.
1055 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
1056 according to `electric-pair--in-unterminated-string-p'.
1057
1058 2014-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1059
1060 * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
1061 Move declaration before first use.
1062 (reftex-move-to-next-arg): Silence compiler warning.
1063
1064 2014-04-04 Joost Kremers <joostkremers@fastmail.fm> (tiny change)
1065
1066 * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
1067 Use `window-total-width' instead of `window-width'.
1068
1069 2014-04-03 Daniel Colascione <dancol@dancol.org>
1070
1071 * subr.el (set-transient-map): Remove rms's workaround entirely;
1072 use new `suspicious-object' subr to mark our lambda for closer
1073 scrutiny during gc.
1074
1075 2014-04-02 Richard Stallman <rms@gnu.org>
1076
1077 * subr.el (set-transient-map): Comment out previous change.
1078
1079 2014-04-02 Glenn Morris <rgm@gnu.org>
1080
1081 * menu-bar.el (menu-bar-file-menu):
1082 * vc/ediff.el (ediff-current-file):
1083 Update for revert-buffer-function no longer being nil by default.
1084
1085 * simple.el (command-execute): Respect nil disabled-command-function.
1086
1087 2014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1088
1089 * simple.el (command-execute): Do not execute the command when it
1090 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
1091
1092 2014-04-02 Juri Linkov <juri@jurta.org>
1093
1094 * dired-aux.el (dired-compress-file): Don't use string-match-p
1095 because its match data is used afterwards.
1096
1097 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
1098
1099 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
1100 0 like nil.
1101
1102 2014-04-02 João Távora <joaotavora@gmail.com>
1103
1104 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
1105 Inhibit quote pairing if point-max is inside an unterminated string.
1106 (electric-pair--looking-at-unterminated-string-p):
1107 Delete.
1108 (electric-pair--in-unterminated-string-p): New function.
1109
1110 2014-04-01 Daniel Colascione <dancol@dancol.org>
1111
1112 * minibuffer.el (minibuffer-complete): Prevent assertion failure
1113 when trying to complete the prompt.
1114
1115 2014-03-31 Leo Liu <sdl.web@gmail.com>
1116
1117 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
1118 Refactor out eldoc-documentation-function-default.
1119 (eldoc-documentation-function-default): New function.
1120 (eldoc-documentation-function): Change value.
1121
1122 2014-03-31 Glenn Morris <rgm@gnu.org>
1123
1124 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
1125
1126 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
1127 (vhdl-compose-components-package, vhdl-compose-configuration):
1128 Abbreviate default-directory (missing from some previous upstream sync).
1129
1130 2014-03-31 Reto Zimmermann <reto@gnu.org>
1131
1132 Sync with upstream vhdl mode v3.35.2.
1133 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
1134 (top-level): No longer require assoc.
1135 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
1136 New functions. Use throughout to replace aget etc.
1137 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
1138 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
1139 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
1140 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
1141 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
1142 except `vhdl-compiler'.
1143 (vhdl-error-regexp-add-emacs): Remove all other compilers,
1144 when appropriate.
1145
1146 2014-03-31 Glenn Morris <rgm@gnu.org>
1147
1148 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
1149 Revert 2014-03-26 merge goof; go back to using defalias.
1150
1151 2014-03-30 Daniel Colascione <dancol@dancol.org>
1152
1153 * comint.el (comint-send-input):
1154 Deactivate completion-in-region-mode before we send comint input.
1155 (Bug#17139).
1156
1157 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
1158 on keyboard-quit.
1159
1160 2014-03-29 Glenn Morris <rgm@gnu.org>
1161
1162 * textmodes/reftex.el: Manage most autoloads automatically.
1163 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
1164 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
1165 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
1166 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
1167 * textmodes/reftex-toc.el: Set generated-autoload-file,
1168 and add autoload cookies for reftex.el.
1169 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
1170
1171 2014-03-28 Glenn Morris <rgm@gnu.org>
1172
1173 * cus-start.el (report-emacs-bug-address): Set custom properties.
1174 * mail/emacsbug.el (report-emacs-bug-address):
1175 Variable is now defined in emacs.c.
1176
1177 * mail/emacsbug.el (report-emacs-bug):
1178 Include system-configuration-features.
1179
1180 2014-03-28 Michal Nazarewicz <mina86@mina86.com>
1181
1182 * simple.el (cycle-spacing): Never delete spaces on first run by
1183 default, but do so in a new 'fast mode and if there are already
1184 N spaces (the previous behavior).
1185 Compare N with its value in previous invocation so that changing
1186 prefix argument restarts `cycle-spacing' sequence.
1187 The idea is that with this change, binding M-SPC to
1188 `cycle-spacing' should not introduce any changes in behavior of
1189 the binding so long as users do not type M-SPC twice in a raw with
1190 the same prefix argument or lack thereof.
1191
1192 2014-03-28 Glenn Morris <rgm@gnu.org>
1193
1194 * faces.el (term-file-aliases): New variable.
1195 (tty-run-terminal-initialization): Respect term-file-aliases.
1196 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
1197 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
1198 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
1199
1200 2014-03-27 Glenn Morris <rgm@gnu.org>
1201
1202 * startup.el (inhibit-startup-hooks): Doc tweak.
1203 (normal-top-level): Simplify running of hooks.
1204 For window-setup-hook, respect inhibit-startup-hooks.
1205 (command-line-1): Don't set window-setup-hook to nil.
1206
1207 Allow selective autoloading from obsolete/ directory.
1208 * Makefile.in (obsolete-autoloads): New rule.
1209 (autoloads): Run obsolete-autoloads.
1210 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
1211 * simple.el (iswitchb-mode): Remove hand-written autoloads.
1212
1213 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
1214
1215 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1216 Highlight special globals with font-lock-builtin-face. (Bug#17057)
1217
1218 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1219 Don't propertize `?' or `!' as symbol constituent when after
1220 colon. (Bug#17097)
1221
1222 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
1223
1224 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
1225 which is no longer needed and causes trouble in GTK builds (bug#17046).
1226
1227 * emacs-lisp/package-x.el (package--archive-contents-from-url):
1228 Use url-insert-file-contents; package-handle-response no longer exists.
1229
1230 2014-03-26 Daniel Colascione <dancol@dancol.org>
1231
1232 * simple.el (process-menu-mode-map): New variable.
1233 (process-menu-delete-process): New command.
1234
1235 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
1236
1237 * emacs-lisp/package.el: Fix bug#16733 (again).
1238 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
1239 (url-http-target-url): Remove unused declarations.
1240 (package-handle-response): Remove.
1241 (package--with-work-buffer): Use url-insert-file-contents and simplify.
1242 (package--download-one-archive): Use current-buffer instead of
1243 dynamic binding of `buffer'.
1244 (describe-package-1): Do not decode readme-string.
1245
1246 2014-03-26 Michael Albinus <michael.albinus@gmx.de>
1247
1248 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
1249
1250 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
1251 from 2014-03-07, it decreases performance unnecessarily. Let-bind
1252 `remote-file-name-inhibit-cache' to nil in the second pass.
1253 (tramp-find-executable): Do not call "which" on SunOS.
1254 (tramp-send-command-and-check): Fix docstring.
1255 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
1256 check whether source directory has set the sticky bit.
1257
1258 2014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
1259
1260 * simple.el (primitive-undo): Only process marker adjustments
1261 validated against their corresponding (TEXT . POS). Issue warning
1262 for lone marker adjustments in undo history. (Bug#16818)
1263 (undo-make-selective-list): Add marker adjustments to selective
1264 undo list based on whether their corresponding (TEXT . POS) is in
1265 the region. Remove variable adjusted-markers, which was unused
1266 and only non nil during undo-make-selective-list.
1267 (undo-elt-in-region): Return nil when passed a marker adjustment
1268 and explain in function doc.
1269
1270 2014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1271
1272 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
1273
1274 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
1275
1276 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
1277 Match special global variables without curlies, too.
1278 (ruby-font-lock-keywords): Simplify the matcher for special global
1279 variables. Don't require a non-word character after the variable.
1280 (Bug#17057)
1281
1282 2014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1283
1284 * simple.el (redisplay-highlight-region-function): Increase priority of
1285 overlay to make sure boundaries are visible (bug#15899).
1286
1287 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
1288
1289 * frameset.el (frameset--initial-params): Fix typo in parameter name.
1290 (frameset-restore): Compare display strings with equal.
1291
1292 * frame.el (make-frame): Don't quote display name in error message,
1293 it is already a string.
1294
1295 2014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1296
1297 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
1298 the password.
1299
1300 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
1301
1302 * emacs-lisp/package.el (package--add-to-archive-contents):
1303 Include already installed and built-in packages in
1304 `package-archive-contents'.
1305 (package-install): Don't include already installed packages in the
1306 options during interactive invocation. (Bug#16762)
1307 (package-show-package-list): If the buffer is already displayed in
1308 another window, switch to that window.
1309
1310 2014-03-26 Reto Zimmermann <reto@gnu.org>
1311
1312 Sync with upstream vhdl mode v3.35.1.
1313 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
1314 (vhdl-compiler-alist): Doc fix.
1315 (vhdl-goto-line): Remove.
1316 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
1317 (vhdl-mode) <paragraph-start>: Fix value.
1318 (vhdl-fix-statement-region): Not `for' in wait-statement.
1319 (vhdl-beautify-region): Also (un)tabify.
1320 (vhdl-get-visible-signals):
1321 Scan declarative part of generate statements.
1322 (vhdl-template-record): Fix indentation for record type declaration.
1323 (vhdl-expand-abbrev, vhdl-expand-paren):
1324 Revert to using fset again rather than defalias.
1325 (vhdl-scan-directory-contents): Tweak.
1326 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
1327 (vhdl-compose-components-package):
1328 Replace vhdl-goto-line with forward-line.
1329 (top-level): Tweak speedbar frame selection.
1330 (vhdl-generate-makefile-1): Support for compilers with no
1331 unit-to-file name mapping (create directory with dummy files).
1332
1333 2014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
1334
1335 Sync with upstream verilog-mode revision 702457d.
1336 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1337 (create-lockfiles): Declare.
1338 (verilog-read-decls): Fix module header imports, bug709.
1339 Reported by Victor Lau.
1340 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
1341 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
1342 interface-only modules, bug721. Reported by Dean Hoyt.
1343
1344 2014-03-26 Glenn Morris <rgm@gnu.org>
1345
1346 * obsolete/gulp.el: Move here from emacs-lisp/.
1347
1348 * files.el (lock-buffer, unlock-buffer, file-locked-p):
1349 Remove fallback aliases, since they are always defined now.
1350
1351 2014-03-24 Daniel Colascione <dancol@dancol.org>
1352
1353 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
1354 instead of cl-loop search function.
1355
1356 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
1357
1358 * calendar/parse-time.el (parse-time-iso8601-regexp)
1359 (parse-iso8601-time-string): Copied from `url-dav' so that we can use
1360 it more generally.
1361
1362 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
1363
1364 * net/dns.el (network-interface-list): Define for XEmacs.
1365
1366 2014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
1367
1368 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
1369 the network interfaces changed.
1370 (dns-query): Use it to flush the data.
1371
1372 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
1373
1374 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
1375
1376 2014-03-23 Daniel Colascione <dancol@dancol.org>
1377
1378 Change subword-mode to use `find-word-boundary-function-table' and
1379 replace `capitalized-words-mode'. Also, convert to lexical
1380 binding.
1381
1382 * progmodes/cap-words.el: Delete now-obsolete file.
1383 * progmodes/subword.el: Reimplement using
1384 `find-word-boundary-function-table'.
1385 (subword-mode-map): Hollow out.
1386 (capitalized-words-mode): Define as obsolete alias for
1387 `subword-mode'.
1388 (subword-mode, superword-mode): Tweak documentation to reflect new
1389 implementation; call `subword-setup-buffer'.
1390 (subword-forward, subword-capitalize): Add underscore to indicate
1391 unused variable.
1392 (subword-find-word-boundary-function-table): New constant.
1393 (subword-empty-char-table): New constant.
1394 (subword-setup-buffer): New function.
1395 (subword-find-word-boundary): New function.
1396
1397 2014-03-23 Daniel Colascione <dancol@dancol.org>
1398
1399 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
1400 list to look for keyword arguments instead of `memq', fixing
1401 (Bug#3647) --- unfortunately, only for freshly-compiled code.
1402 Please make bootstrap.
1403
1404 2014-03-22 Glenn Morris <rgm@gnu.org>
1405
1406 * dired.el (dired-read-regexp): Make obsolete.
1407 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
1408 (dired-flag-files-regexp):
1409 * dired-aux.el (dired-mark-read-regexp):
1410 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
1411
1412 * startup.el (fancy-startup-text):
1413 * help.el (describe-gnu-project): Visit online info about GNU project.
1414
1415 * help-fns.el (help-fns--interactive-only): New function.
1416 (help-fns-describe-function-functions): Add the above function.
1417 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
1418 (next-line, previous-line): Remove hand-written interactive-only
1419 information from doc strings, it is auto-generated now.
1420 * bookmark.el (bookmark-write):
1421 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
1422 (epa-mail-import-keys): Mark interactive-only,
1423 and remove hand-written interactive-only information from doc strings.
1424 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
1425 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
1426 * files.el (not-modified):
1427 * simple.el (mark-whole-buffer): Mark interactive-only.
1428
1429 * emacs-lisp/byte-run.el (defun-declarations-alist):
1430 Add interactive-only. Doc tweak.
1431 (macro-declarations-alist): Doc tweak.
1432 * subr.el (declare): Doc tweak (add xref to manual).
1433 * comint.el (comint-run):
1434 * files.el (insert-file-literally, insert-file):
1435 * replace.el (replace-string, replace-regexp):
1436 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1437 (delete-forward-char, goto-line, insert-buffer, next-line)
1438 (previous-line): Set interactive-only via declare.
1439
1440 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
1441
1442 * emacs-lisp/package.el (package-desc): Use the contents of the
1443 quoted form, not its cdr. (Bug#16873)
1444
1445 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
1446
1447 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
1448 benefit of doc.c; change parameter profile to match the X function.
1449
1450 2014-03-22 Leo Liu <sdl.web@gmail.com>
1451
1452 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
1453 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
1454
1455 2014-03-21 Richard Stallman <rms@gnu.org>
1456
1457 * battery.el (battery-linux-sysfs): Search for each field
1458 from the beginning of the buffer.
1459
1460 * subr.el (set-transient-map): Clear out function and value
1461 of the temporary symbol when we're done with it.
1462
1463 * mail/rmailsum.el (rmail-summary-delete-forward):
1464 Optimize case of reaching end and handling count.
1465 (rmail-summary-mark-deleted): Optimize when N is current msg.
1466 Don't create new summary line.
1467 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
1468 (rmail-summary-undelete-many): Rewrite for speed.
1469 (rmail-summary-msg-number): New function.
1470
1471 * mail/rmail.el (rmail-delete-message): Update summary.
1472 (rmail-undelete-previous-message): Handle repeat count arg.
1473 (rmail-delete-backward, rmail-delete-forward): Likewise.
1474
1475 2014-03-21 Daniel Colascione <dancol@dancol.org>
1476
1477 * mail/emacsbug.el (report-emacs-bug): Include memory usage
1478 information in bug reports.
1479
1480 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
1481
1482 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
1483 and `tramp-copy-env'.
1484
1485 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
1486 (tramp-maybe-open-connection): Handle `tramp-login-env'.
1487
1488 2014-03-21 Glenn Morris <rgm@gnu.org>
1489
1490 * electric.el (electric-indent-post-self-insert-function): Add doc.
1491
1492 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
1493
1494 * emacs-lisp/package.el (package-compute-transaction):
1495 Use `version-list-<=' to compare the requirement version against
1496 the version of package already to be installed. Update the error
1497 message. (Bug#16826)
1498
1499 * progmodes/ruby-mode.el (ruby-smie-rules):
1500 Add indentation rule for ` @ '. (Bug#17050)
1501
1502 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
1503
1504 * align.el (align-regexp): Remove superfluous backslash.
1505
1506 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
1507 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
1508 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
1509 Fix docstring typos.
1510 (ffap-next): Use C-u in docstring.
1511 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
1512 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
1513 Remove superfluous backslashes.
1514 (ffap-string-at-point): Reflow docstring.
1515
1516 * server.el (server-host): Reflow docstring.
1517 (server-unload-function): Fix docstring typo.
1518 (server-eval-at): Remove superfluous backslash.
1519
1520 * skeleton.el (skeleton-insert): Remove superfluous backslash.
1521 (skeleton-insert): Doc fix.
1522 (skeleton-insert): Reflow docstring.
1523
1524 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
1525 (tty-color-approximate, tty-color-by-index, tty-color-values)
1526 (tty-color-desc): Remove superfluous backslashes.
1527
1528 2014-03-21 Glenn Morris <rgm@gnu.org>
1529
1530 * cus-start.el (history-length): Bump :version.
1531
1532 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1533 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
1534 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1535 Don't set `make-backup-files'.
1536
1537 * info.el (info--prettify-description): New function,
1538 to give info-finder descriptions consistent case, punctuation.
1539 (Info-finder-find-node): Use it. Sort packages.
1540 Refer to "description" rather than "commentary".
1541
1542 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
1543
1544 * frameset.el (frameset--print-register): New function.
1545 (frameset-to-register): Use it.
1546
1547 2014-03-20 Juanma Barranquero <lekktu@gmail.com>
1548
1549 * progmodes/hideif.el (hif-string-to-number): New function.
1550 (hif-tokenize): Use it to understand non-decimal floats.
1551
1552 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
1553
1554 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
1555
1556 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
1557
1558 * electric.el (electric-newline-and-maybe-indent): New command.
1559 Bind it globally to C-j.
1560 (electric-indent-mode): Don't mess with the global map any more.
1561 Don't drop the post-self-insert-hook is some buffer is still using it
1562 (bug#16770).
1563
1564 * bindings.el (global-map): Remove C-j binding.
1565
1566 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
1567 the docstring of functions advised before dumping (bug#16993).
1568
1569 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
1570
1571 * ps-print.el (ps-generate-postscript-with-faces):
1572 Explicitly deactivate the mark (bug#16866).
1573 * simple.el (deactivate-mark): Update region highlight.
1574
1575 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
1576
1577 * emacs-lisp/package.el (describe-package-1):
1578 Decode commentary (bug#16733).
1579
1580 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
1581
1582 * custom.el (defcustom): Doc fix: recommend avoiding destructive
1583 modification of the value argument of :set (bug#16755).
1584
1585 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1586
1587 * simple.el (newline-and-indent): Do autofill (bug#17031).
1588
1589 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
1590
1591 * newcomment.el (comment-normalize-vars): Only add escaping check
1592 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
1593 (comment-beginning): Use `narrow-to-region' instead of moving back
1594 one character.
1595 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
1596 (comment-start-skip): Update the docstring.
1597
1598 2014-03-18 Richard Stallman <rms@gnu.org>
1599
1600 * dired.el (dired-display-file): Force use of other window.
1601
1602 2014-03-18 Daniel Colascione <dancol@dancol.org>
1603
1604 * startup.el (tty-handle-args): Remove debug message from 2007.
1605
1606 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
1607
1608 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
1609 (advice--make-interactive-form): Use it to avoid (auto)loading function.
1610 (advice--make-1, advice-add, advice-remove):
1611 Remove braindead :advice-pending hack.
1612
1613 2014-03-17 Glenn Morris <rgm@gnu.org>
1614
1615 * calendar/calendar.el (calendar-generate-month): Apply weekend
1616 face to the right days; fixes 2013-08-06 change. (Bug#17028)
1617
1618 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
1619
1620 * net/tramp.el (tramp-action-out-of-band): Read pending output.
1621 (tramp-call-process): Trace also DESTINATION.
1622
1623 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1624 Quote file names when they are local. Remove superfluous trace.
1625
1626 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
1627
1628 * newcomment.el (comment-beginning): If `comment-start-skip'
1629 doesn't match, move back one char and try again. (Bug#16971)
1630
1631 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1632 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
1633 Set `comment-start-skip' to a simpler value that doesn't try to
1634 check if the semicolon is escaped (this is handled by
1635 `syntax-ppss' now). (Bug#16971)
1636
1637 * progmodes/scheme.el (scheme-mode-variables): Same.
1638
1639 2014-03-16 Martin Rudalics <rudalics@gmx.at>
1640
1641 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
1642 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
1643 current (Bug#16816, Bug#17007).
1644 (with-current-buffer-window): New macro doing the same as
1645 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
1646 * help.el (help-print-return-message): Warn in doc-string to not
1647 use this in `with-help-window'.
1648 (describe-bindings-internal): Call `describe-buffer-bindings'
1649 from within help buffer. See Juanma's scenario in (Bug#16816).
1650 (with-help-window): Update doc-string.
1651 * dired.el (dired-mark-pop-up):
1652 * files.el (save-buffers-kill-emacs):
1653 * register.el (register-preview): Use `with-current-buffer-window'
1654 instead of `with-temp-buffer-window'.
1655
1656 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
1657
1658 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
1659 Implement inserting into current buffer, documented in their docstrings.
1660 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
1661 (rst-section-tree-point, rst-forward-section, rst-indent)
1662 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
1663 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
1664 (rst-font-lock-handle-adornment-pre-match-form)
1665 (rst-repeat-last-character): Reflow docstrings.
1666 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
1667 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
1668 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
1669 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
1670 Fix docstring typos.
1671 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
1672 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
1673 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
1674
1675 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
1676
1677 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
1678 for compatibility with other ports.
1679 (ns-initialize-window-system): Use it. It is set in term/common-win.el
1680 from the -xrm command line argument, but in the Nextstep port its value
1681 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
1682
1683 * progmodes/python.el (defconst, python-syntax-count-quotes)
1684 (python-indent-region, python-indent-shift-right)
1685 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
1686 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
1687 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
1688 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
1689 (inferior-python-mode, python-shell-make-comint, run-python-internal)
1690 (python-shell-buffer-substring, python-shell-send-buffer)
1691 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
1692 (python-completion-complete-at-point, python-fill-docstring-style)
1693 (python-eldoc-function, python-imenu-format-item-label)
1694 (python-imenu-format-parent-item-label)
1695 (python-imenu-format-parent-item-jump-label)
1696 (python-imenu--build-tree, python-imenu-create-index)
1697 (python-imenu-create-flat-index): Fix docstring typos.
1698 (python-indent-context, python-shell-prompt-regexp, run-python):
1699 Remove superfluous backslashes.
1700 (python-indent-line, python-nav-beginning-of-defun)
1701 (python-shell-get-buffer, python-shell-get-process)
1702 (python-info-current-defun, python-info-current-line-comment-p)
1703 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
1704 (python-indent-post-self-insert-function, python-shell-send-file)
1705 (python-shell-completion-get-completions)
1706 (python-shell-completion-complete-or-indent)
1707 (python-eldoc--get-doc-at-point): Reflow docstrings.
1708
1709 2014-03-14 Glenn Morris <rgm@gnu.org>
1710
1711 * emacs-lisp/package.el (package-menu-mode-map):
1712 Replace use of obsolete function alias. Tweak menu item text.
1713
1714 * info.el (Info-finder-find-node):
1715 Ignore the `emacs' metapackage. (Bug#10813)
1716
1717 * finder.el (finder-list-matches): Include unversioned packages
1718 in the result of a keyword search.
1719
1720 * finder.el (finder--builtins-descriptions): New constant.
1721 (finder-compile-keywords): Use finder--builtins-descriptions.
1722
1723 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
1724
1725 * simple.el (blink-matching-paren): Describe the new value,
1726 `jump', enabling the old behavior.
1727 (blink-matching-open): Use that value. (Bug#17008)
1728
1729 2014-03-14 Glenn Morris <rgm@gnu.org>
1730
1731 * finder.el (finder-no-scan-regexp): Add leim-list.
1732 (finder-compile-keywords):
1733 Don't skip files with same basename. (Bug#14010)
1734 * Makefile.in (setwins_finder): New, excluding leim.
1735 (finder-data): Use setwins_finder.
1736
1737 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
1738 (help-function-arglist, help-make-usage): Move from here...
1739 * help.el (help-split-fundoc, help-add-fundoc-usage)
1740 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
1741 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
1742
1743 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
1744
1745 * net/socks.el (socks, socks-override-functions)
1746 (socks-find-services-entry):
1747 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
1748 (hif-find-ifdef-block):
1749 * progmodes/modula2.el (m2-indent): Fix docstring typos.
1750
1751 * net/tls.el (tls-program): Reflow docstring.
1752
1753 * progmodes/pascal.el (pascal-mode-abbrev-table)
1754 (pascal-imenu-generic-expression, pascal-auto-endcomments)
1755 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
1756 (pascal-outline-mode): Fix docstring typos.
1757 (pascal-mode): Let define-derived-mode document mode hook.
1758 (pascal-uncomment-area): Reflow.
1759 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
1760
1761 * progmodes/opascal.el (opascal-compound-block-indent)
1762 (opascal-case-label-indent): Fix docstring typos.
1763 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
1764
1765 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
1766
1767 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1768 Fontify multiple adjacent negation chars. (Bug#17004)
1769
1770 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
1771
1772 * emacs-lisp/package.el (package--prepare-dependencies):
1773 Accept requirements without explicit version (bug#14941).
1774
1775 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
1776
1777 * register.el (register-separator, copy-to-register): Doc fixes.
1778 (register-preview-default): Remove unnecessary call to concat.
1779
1780 * frameset.el (frameset-restore): When checking for a visible frame,
1781 use the action map instead of calling visible-frame-list.
1782
1783 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
1784
1785 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
1786
1787 2014-03-12 Martin Rudalics <rudalics@gmx.at>
1788
1789 * window.el (fit-frame-to-buffer): Get maximum width from
1790 display's width instead of height.
1791
1792 2014-03-12 Glenn Morris <rgm@gnu.org>
1793
1794 * desktop.el (desktop-restore-frames)
1795 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
1796 (desktop-restore-reuses-frames): Doc tweaks.
1797
1798 * electric.el (electric-indent-mode): Doc fix.
1799
1800 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
1801
1802 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
1803 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
1804 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
1805 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
1806 (cvs-dired-use-hook): Fix docstring typos.
1807 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
1808 Doc fixes.
1809
1810 * vc/pcvs-defs.el (cvs-auto-remove-handled)
1811 (cvs-auto-remove-directories, cvs-default-ignore-marks)
1812 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
1813 (cvs-execute-single-dir): Fix docstring typos.
1814
1815 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
1816 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
1817
1818 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
1819
1820 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
1821 Fix docstring typos.
1822
1823 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
1824
1825 * frameset.el (frameset--jump-to-register): Add autoload; it could be
1826 called from jump-to-register after unloading the frameset package.
1827
1828 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1829
1830 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
1831 (bug#16975). Deactivate the mark before setting it to nil.
1832 (activate-mark): Do nothing if region is already active.
1833
1834 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
1835
1836 * frameset.el (frameset--target-display): Remove definition; declare.
1837 (frameset-save, frameset-restore): Let-bind frameset--target-display.
1838
1839 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1840
1841 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
1842 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
1843 when the advice is pending.
1844 (advice-remove): Remove this marker when not needed any more.
1845
1846 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
1847
1848 * frameset.el: Separate options for reusing frames and cleaning up.
1849 (frameset--reuse-list): Remove definition; declare.
1850 (frameset--action-map): Declare.
1851 (frameset--find-frame-if): Doc fix.
1852 (frameset--restore-frame): Cache frame action.
1853 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
1854 how to clean up the frame list after restoring. Remove cleaning
1855 options from REUSE-FRAMES. Change all keyword values to symbols.
1856 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
1857
1858 * desktop.el (desktop-restore-forces-onscreen)
1859 (desktop-restore-reuses-frames): Use non-keyword values.
1860 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
1861
1862 2014-03-10 Glenn Morris <rgm@gnu.org>
1863
1864 * files.el (find-file): Doc fix: update info node name.
1865
1866 * emacs-lisp/advice.el (ad-add-advice, defadvice):
1867 Doc fix: remove references to deleted info nodes.
1868
1869 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
1870
1871 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
1872 Do not add `nil' to the environment, when there's no remote `locale'.
1873 (tramp-find-inline-encoding): Check, that the remote host has
1874 installed perl, before sending scripts.
1875
1876 2014-03-10 Leo Liu <sdl.web@gmail.com>
1877
1878 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1879 Clear eldoc-last-message. (Bug#16920)
1880
1881 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
1882
1883 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
1884 (bug#14430).
1885
1886 2014-03-09 Juri Linkov <juri@jurta.org>
1887
1888 * ansi-color.el (ansi-color-names-vector): Copy default colors
1889 from `xterm-standard-colors' that look well on the default white
1890 background (and also on the black background) to avoid illegible
1891 color combinations like yellow-on-white and white-on-white.
1892 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
1893
1894 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
1895
1896 * frameset.el (frameset-restore): When no frame is visible, do not
1897 generate a list of frames, just make visible the selected one.
1898
1899 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
1900
1901 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
1902 it only contains the repository root. (Bug#16897)
1903
1904 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
1905
1906 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
1907 only when `remote-file-name-inhibit-cache' is nil.
1908 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
1909
1910 2014-03-06 Martin Rudalics <rudalics@gmx.at>
1911
1912 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
1913 Fix doc-strings.
1914 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
1915 fit-frame-to-buffer variable. Fix doc-string.
1916 (fit-window-to-buffer): Set ONLY argument in call of
1917 fit-frame-to-buffer. Fix doc-string.
1918
1919 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
1920
1921 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
1922 (tramp-action-password): Clear password cache if needed.
1923 (tramp-read-passwd): Do not clear password cache.
1924
1925 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
1926 cache unless it is the first password request.
1927
1928 2014-03-06 Glenn Morris <rgm@gnu.org>
1929
1930 * simple.el (newline): Doc tweak.
1931
1932 * emacs-lisp/shadow.el (load-path-shadows-find):
1933 Ignore dir-locals. (Bug#12357)
1934
1935 2014-03-05 Glenn Morris <rgm@gnu.org>
1936
1937 * files.el (interpreter-mode-alist):
1938 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
1939
1940 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
1941
1942 * frameset.el (frameset--initial-params): Filter out null entries.
1943
1944 2014-03-05 Martin Rudalics <rudalics@gmx.at>
1945
1946 * window.el (window-min-height, window-min-width):
1947 Rewrite doc-strings.
1948 (window-body-size): Add PIXELWISE argument to make it consistent
1949 with its callees.
1950
1951 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
1952
1953 * finder.el (finder-mode-map, finder-mode-syntax-table):
1954 Revert part of 2014-02-28 change.
1955
1956 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
1957
1958 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
1959 (eww-setup-buffer): Clear next/prev/etc more reliably.
1960 (eww-textarea-map): [tab] doesn't work on tty.
1961 Reported by Mario Lang.
1962
1963 * net/shr.el (shr-map): Ditto.
1964
1965 2014-03-04 Glenn Morris <rgm@gnu.org>
1966
1967 * minibuffer.el (completion-hilit-commonality):
1968 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
1969
1970 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
1971
1972 * hilit-chg.el (hilit-chg-unload-function): New function.
1973 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
1974 (hilit-chg-map-changes): Prefer cardinal number to digit.
1975 (hilit-chg-display-changes): Reflow docstring.
1976 (highlight-changes-rotate-faces): Remove superfluous backslash.
1977
1978 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
1979
1980 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
1981 `tramp-send-command-and-check'.
1982
1983 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
1984
1985 * hexl.el (hexl-address-region, hexl-ascii-region)
1986 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
1987 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
1988 (hexl-forward-word, hexl-previous-line, hexl-next-line):
1989 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
1990 (hexl-mode): Doc fix.
1991 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
1992 (hexl-mode-ruler): Fix typos in docstrings.
1993
1994 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
1995 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
1996 Remove superfluous backslashes.
1997 (strokes-last-stroke, strokes-global-map, strokes-mode):
1998 Reflow docstrings.
1999 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
2000 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
2001 (strokes-distance-squared, strokes-global-set-stroke)
2002 (strokes-global-set-stroke-string): Doc fixes.
2003 (strokes-help): Fix typos; reflow docstring.
2004
2005 2014-03-04 Martin Rudalics <rudalics@gmx.at>
2006
2007 * window.el (window-in-direction): Fix doc-string.
2008
2009 2014-03-04 Glenn Morris <rgm@gnu.org>
2010
2011 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
2012 Explicit error if no grammar.
2013 (smie-config-save): Doc fix. Fix quote typo.
2014
2015 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
2016
2017 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
2018 electric-indent-mode-hook if we obey electric-indent-mode.
2019 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
2020 decide whether we obey electric-indent-mode.
2021 (c-change-set-fl-decl-start, c-extend-after-change-region):
2022 Silence warnings.
2023 (c-electric-indent-mode-hook): Assume we do want to obey
2024 electric-indent-mode.
2025
2026 * electric.el (electric-indent-mode-has-been-called): Remove.
2027 (electric-indent-mode): Fix accordingly.
2028
2029 * files.el (hack-local-variables): Mention file name in warning.
2030
2031 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
2032
2033 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
2034
2035 * bindings.el: Add comment describing why C-d binds to `delete-char'.
2036 * simple.el (delete-forward-char): Mark as interactive-only.
2037
2038 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
2039
2040 * icomplete.el (icomplete-completions):
2041 Follow-up to 2014-03-01 change.
2042
2043 * icomplete.el: Miscellaneous doc fixes.
2044 Use Icomplete everywhere instead of icomplete for consistency.
2045 (icomplete-max-delay-chars): Fix typo.
2046 (icomplete-mode): Use \[].
2047 (icomplete-tidy, icomplete-exhibit): Reflow.
2048 (icomplete-minibuffer-setup-hook, icomplete-completions):
2049 Remove superfluous backlashes.
2050
2051 * ido.el: Miscellaneous doc fixes.
2052 Use Ido everywhere instead of ido or `ido' for consistency.
2053 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
2054 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
2055 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
2056 (ido-separator): Extract obsolescence info from docstring and declare
2057 with make-obsolete-variable.
2058 (ido-minibuffer-setup-hook): Simplify example.
2059 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
2060 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
2061 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
2062 (ido-everywhere): Reflow docstring.
2063 (ido-toggle-vc): Doc fix.
2064 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
2065 of long list of keybindings.
2066
2067 2014-03-03 Glenn Morris <rgm@gnu.org>
2068
2069 * frame.el (display-pixel-height, display-pixel-width)
2070 (display-mm-dimensions-alist, display-mm-height)
2071 (display-mm-width): Doc tweaks.
2072
2073 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
2074
2075 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
2076 case of undo in region.
2077
2078 2014-03-02 Martin Rudalics <rudalics@gmx.at>
2079
2080 * window.el (fit-window-to-buffer): Fix argument in window-size
2081 call when window is horizontally combined.
2082
2083 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
2084
2085 * icomplete.el (icomplete-completions): Use string-width.
2086 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
2087
2088 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
2089
2090 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2091 Highlight regexp options. (Bug#16914)
2092
2093 2014-03-01 Martin Rudalics <rudalics@gmx.at>
2094
2095 * window.el (window--max-delta-1): Round down when calculating
2096 how many lines/columns we can get from a window.
2097
2098 2014-03-01 Glenn Morris <rgm@gnu.org>
2099
2100 * isearch.el (search-invisible): Doc fix.
2101
2102 * minibuffer.el (completion-hilit-commonality):
2103 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
2104 * comint.el (comint-dynamic-list-completions): Doc fix.
2105 * comint.el (comint-dynamic-list-completions):
2106 * filecache.el (file-cache-minibuffer-complete):
2107 * tempo.el (tempo-display-completions):
2108 * eshell/em-hist.el (eshell-list-history):
2109 Replace use of obsolete argument of display-completion-list.
2110
2111 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
2112
2113 * icomplete.el (icomplete-completions):
2114 Revert back to using "..." when ?… cannot be displayed.
2115
2116 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
2117
2118 * finder.el (finder-unload-function): New function.
2119
2120 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
2121
2122 * dframe.el (dframe-detach):
2123 * find-dired.el (find-dired, find-name-dired):
2124 * finder.el (finder-mode-map, finder-mode-syntax-table)
2125 (finder-headmark, finder-select, finder-mouse-select):
2126 Fix docstring typos.
2127
2128 2014-02-28 Martin Rudalics <rudalics@gmx.at>
2129
2130 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
2131 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
2132 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
2133 Fix doc-string based on a suggestion by Nicolas Richard
2134 <theonewiththeevillook@yahoo.fr>.
2135 * help.el (with-help-window): Fix doc-string.
2136
2137 2014-02-28 Ivan Kanis <ivan@kanis.fr>
2138
2139 * net/shr.el (shr-image-animate): New option.
2140 (shr-put-image): Respect shr-image-animate.
2141
2142 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
2143
2144 * net/tramp-adb.el (tramp-adb-parse-device-names):
2145 Use `accept-process-output'.
2146 (tramp-adb-handle-file-truename): Cache the localname only.
2147 (tramp-adb-handle-make-directory)
2148 (tramp-adb-handle-delete-directory): Flush file properties correctly.
2149 (tramp-adb-handle-set-file-modes): Do not raise an error when file
2150 modes cannot be changed.
2151
2152 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
2153 file properties of symlinks.
2154
2155 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
2156
2157 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
2158 required/optional fields to match development biblatex. (Bug#16781)
2159
2160 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
2161
2162 * saveplace.el (toggle-save-place):
2163 Fix argument handling. (Bug#16673)
2164
2165 2014-02-28 Glenn Morris <rgm@gnu.org>
2166
2167 * minibuffer.el (completions-first-difference)
2168 (completions-common-part, completion-hilit-commonality): Doc fixes.
2169
2170 2014-02-28 Karl Berry <karl@gnu.org>
2171
2172 * info.el (Info-mode-map): Add H for describe-mode,
2173 to synchronize with standalone Info.
2174
2175 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
2176
2177 * progmodes/sql.el (sql-interactive-mode):
2178 Avoid setting global comint-input-ring-separator. (Bug#16814)
2179
2180 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
2181
2182 * net/dbus.el (dbus--init-bus): Declare function.
2183 (dbus-path-local, dbus-interface-local): New defconst.
2184 (dbus-init-bus): Use them.
2185 (dbus-return-values-table): Extend doc.
2186 (dbus-handle-bus-disconnect): Extend error message.
2187
2188 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
2189
2190 * subr.el (y-or-n-p): Fix double space issue in message.
2191
2192 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
2193
2194 * net/tramp.el (tramp-call-process): Improve trace message.
2195 (tramp-handle-insert-file-contents): Trace error case.
2196
2197 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
2198 <insert-directory>: Use `tramp-handle-insert-directory'.
2199 (tramp-adb-handle-insert-directory): Remove function.
2200 (tramp-adb-send-command-and-check): New defun, replacing
2201 `tramp-adb-command-exit-status'. Change all callees.
2202 (tramp-adb-handle-file-attributes)
2203 (tramp-adb-handle-directory-files-and-attributes): Use it.
2204 (tramp-adb-ls-output-name-less-p):
2205 Use `directory-listing-before-filename-regexp'.
2206 (tramp-adb-handle-delete-directory): Flush also file properties of
2207 the truename of directory.
2208 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
2209 (tramp-adb-handle-file-local-copy): Make the local copy readable.
2210 (tramp-adb-handle-write-region): Implement APPEND.
2211 (tramp-adb-handle-rename-file): Make it more robust. Flush file
2212 properties correctly.
2213 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
2214 variables. Check for connected devices only when needed.
2215
2216 2014-02-27 Glenn Morris <rgm@gnu.org>
2217
2218 * minibuffer.el (completion-table-dynamic)
2219 (completion-table-with-cache): Doc fixes.
2220
2221 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
2222 (completing-read-multiple): Doc fixes.
2223
2224 2014-02-27 Daniel Colascione <dancol@dancol.org>
2225
2226 * minibuffer.el (completion--nth-completion): Fix indentation.
2227
2228 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
2229 explicit tramp path is empty.
2230
2231 2014-02-27 Glenn Morris <rgm@gnu.org>
2232
2233 * emacs-lisp/crm.el (completing-read-multiple):
2234 Empower help-enable-auto-load.
2235
2236 2014-02-26 Glenn Morris <rgm@gnu.org>
2237
2238 * startup.el (command-line): Don't init the tty in daemon mode.
2239
2240 Avoid calling tty-setup-hook twice, eg if a term file
2241 explicitly calls tty-run-terminal-initialization. (Bug#16859)
2242 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
2243 (tty-create-frame-with-faces): Use it.
2244 * startup.el (command-line): Pass run-hook argument
2245 to tty-run-terminal-initialization.
2246
2247 * dired.el (dired-restore-desktop-buffer): Demote errors;
2248 eg in case a glob match fails. (Bug#16884)
2249
2250 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
2251
2252 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
2253 error from `read-from-string'. (Bug#16850)
2254
2255 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
2256 result of `completing-read' in the interactive form. (Bug#16854)
2257
2258 2014-02-25 Glenn Morris <rgm@gnu.org>
2259
2260 * image.el (image-animate, image-animate-timeout):
2261 Stop animating images in dead buffers. (Bug#16878)
2262
2263 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
2264
2265 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
2266 Doc fixes.
2267 * startup.el (term-setup-hook): Doc fix. Make obsolete.
2268 * term/sun.el (sun-raw-prefix-hooks):
2269 Use tty-setup-hook instead of term-setup-hook.
2270 (terminal-init-sun): Construct message from bytecomp plist.
2271 * term/wyse50.el (enable-arrow-keys): Doc fix.
2272
2273 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
2274
2275 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
2276 Fix docstring typos.
2277
2278 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
2279
2280 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
2281
2282 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2283
2284 * minibuffer.el (completion--try-word-completion):
2285 Fix error when completing M-x commands (bug#16808).
2286
2287 2014-02-24 Leo Liu <sdl.web@gmail.com>
2288
2289 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
2290
2291 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
2292
2293 * apropos.el (apropos-print): Avoid formatting error when
2294 apropos-do-all and apropos-compact-layout are both t.
2295
2296 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
2297
2298 * apropos.el (apropos-property, apropos-all-words-regexp)
2299 (apropos-true-hit, apropos-variable, apropos-print):
2300 Fix docstring typos, and remove obsolete comment.
2301
2302 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
2303
2304 * net/tramp-sh.el (tramp-sh-handle-file-truename):
2305 Preserve trailing "/". (Bug#16851)
2306
2307 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
2308
2309 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
2310 after `=>' (bug#16811).
2311 (ruby-smie-rules): Handle the inconsistent second element of the
2312 list returned by `smie-indent--parent'.
2313 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
2314 method call.
2315
2316 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
2317
2318 * elec-pair.el (electric-pair-text-syntax-table)
2319 (electric-pair-syntax-info, electric-pair--syntax-ppss)
2320 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
2321 (electric-pair--looking-at-unterminated-string-p): Doc fix.
2322 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
2323
2324 2014-02-22 Glenn Morris <rgm@gnu.org>
2325
2326 * imenu.el (imenu--generic-function): Doc fix.
2327
2328 * register.el (frame-configuration-to-register): Make obsolete.
2329
2330 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
2331
2332 * desktop.el (desktop-save-buffer-p): Do not fail when
2333 desktop-files-not-to-save is nil. Return t for true result
2334 as the doc says.
2335
2336 2014-02-22 Daniel Colascione <dancol@dancol.org>
2337
2338 * net/secrets.el (secrets-create-item, secrets-search-items):
2339 Check that attribute values are strings, avoiding the construction
2340 of invalid dbus messages.
2341
2342 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2343
2344 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
2345 defun-declarations-alist.
2346
2347 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
2348
2349 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
2350 (bug#16829).
2351
2352 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2353
2354 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
2355 (whitespace-newline, whitespace-trailing, whitespace-line)
2356 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
2357 (whitespace-space-after-tab): Fix typo in docstrings.
2358
2359 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
2360
2361 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
2362
2363 * electric.el (electric-indent-functions-without-reindent):
2364 Add `yaml-indent-line'.
2365
2366 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2367
2368 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
2369 It has done nothing for years; should be removed after the release.
2370
2371 * simple.el (choose-completion): Fix docstring typo.
2372 (read-quoted-char-radix): Remove unneeded * in docstring.
2373 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
2374 Don't escape parentheses unnecessarily in docstrings.
2375
2376 2014-02-21 Martin Rudalics <rudalics@gmx.at>
2377
2378 Fix handling of window-min-height/-width (Bug#16738).
2379 * window.el (window--dump-window, window--dump-frame):
2380 New functions.
2381 (window--min-size-1): Account for window dividers.
2382 When window-resize-pixelwise is nil, delay rounding till after the
2383 sum of the window components has been calculated.
2384 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
2385 nil make sure at least one text line and two text columns remain
2386 fully visible.
2387 (window-resize): Signal an error when window-resize-apply fails.
2388 (window--resize-child-windows): Fix calculation of by how many
2389 pixels a window can still be shrunk via window-new-normal.
2390 (adjust-window-trailing-edge): Call window--resizable with
2391 correct TRAIL argument.
2392
2393 (with-temp-buffer-window): Don't evaluate BODY within
2394 with-current-buffer (Bug#16816).
2395
2396 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
2397
2398 * net/tramp.el (tramp-check-cached-permissions):
2399 Call `file-attributes' with `suffix' being a symbol but a string.
2400
2401 2014-02-21 Daniel Colascione <dancol@dancol.org>
2402
2403 * net/dbus.el (dbus-init-bus-1): Declare new subr.
2404 (dbus-init-bus): New function: call into dbus-init-bus-1
2405 and installs a handler for the disconnect signal.
2406 (dbus-call-method): Rewrite to look for result in cons.
2407 (dbus-call-method-handler): Store result in cons.
2408 (dbus-check-event): Recognize events with nil sender as valid.
2409 (dbus-handle-bus-disconnect): New function. React to bus
2410 disconnection signal by synthesizing dbus error for each
2411 pending synchronous or asynchronous call.
2412 (dbus-notice-synchronous-call-errors): New function.
2413 (dbus-handle-event): Raise errors directly only when `dbus-debug'
2414 is true, not all the time.
2415
2416 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2417
2418 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
2419 Remove obsolescence declarations, these variables do not exist anymore.
2420
2421 * savehist.el (savehist-save-minibuffer-history)
2422 (savehist-additional-variables, savehist-file, savehist-mode-hook)
2423 (savehist-save-hook, savehist-coding-system, savehist-loaded)
2424 (savehist-load, savehist-install, savehist-autosave): Fix typos;
2425 mostly, refer to "Savehist mode" when talking about the mode,
2426 and not the function.
2427
2428 * saveplace.el (save-place): Remove redundant info in docstring.
2429 (save-place-forget-unreadable-files, toggle-save-place)
2430 (save-place-forget-unreadable-files, save-place-dired-hook):
2431 Fix typos and remove unneeded backslashes.
2432
2433 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
2434
2435 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
2436 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
2437
2438 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
2439 <insert-directory>: Use `tramp-handle-insert-directory'.
2440 (tramp-gvfs-handle-insert-directory): Remove function.
2441
2442 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2443 Call `tramp-handle-insert-directory'.
2444
2445 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
2446
2447 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
2448 before the start of buffer/region (bug#16799).
2449
2450 2014-02-20 Glenn Morris <rgm@gnu.org>
2451
2452 * isearch.el (search-invisible): Doc fix.
2453
2454 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
2455
2456 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
2457 (bug#16657).
2458
2459 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
2460
2461 * frameset.el (frameset-restore): Delay removing an old frame's
2462 duplicate id until the new frame has been correctly created.
2463
2464 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
2465
2466 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
2467 (tramp-check-cached-permissions): Call `file-attributes' if the
2468 cache is empty.
2469
2470 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
2471 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
2472
2473 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
2474 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
2475 (tramp-gvfs-maybe-open-connection): Set always connection
2476 properties, even if target is mounted already.
2477
2478 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
2479 Set tramp-autoload cookie.
2480 (tramp-get-remote-touch): New defun.
2481 (tramp-sh-handle-set-file-times): Use it.
2482 (tramp-sh-handle-directory-files-and-attributes):
2483 Use `tramp-handle-directory-files-and-attributes' if neither stat
2484 nor perl are available on the remote host.
2485
2486 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
2487 "/". Write long listing only when "l" belongs to the switches.
2488
2489 * net/trampver.el: Update release number.
2490
2491 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
2492
2493 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
2494
2495 2014-02-19 Martin Rudalics <rudalics@gmx.at>
2496
2497 * window.el (window-state-put): Allow WINDOW to refer to an
2498 internal window (Bug#16793).
2499
2500 2014-02-19 Glenn Morris <rgm@gnu.org>
2501
2502 * textmodes/remember.el: Move provide statement to end.
2503 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
2504 (remember-notes): Doc fixes.
2505
2506 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
2507
2508 * delsel.el (delete-char): Restore incorrectly erased property
2509 (bug#16795).
2510
2511 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
2512
2513 * frameset.el (frameset--restore-frame): When a frame is being reused
2514 and its root window is not alive, delete all the frame's windows before
2515 restoring the window state. This works around the issue in bug#16793.
2516
2517 2014-02-18 Glenn Morris <rgm@gnu.org>
2518
2519 * textmodes/remember.el (remember-data-directory)
2520 (remember-directory-file-name-format, remember-store-in-files)
2521 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
2522 (remember-notes-save-and-bury-buffer)
2523 (remember-notes--kill-buffer-query): Doc fixes.
2524
2525 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
2526
2527 2014-02-17 Alan Mackenzie <acm@muc.de>
2528
2529 Connect electric-indent-mode up with CC Mode. Bug #15478.
2530 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
2531 to electric-indent-{,local-}-mode.
2532 (c-basic-common-init): Set electric-indent-inhibit.
2533 Initialise c-electric-flag from electric-indent-mode.
2534 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
2535 New hook functions which propagate electric-indent-mode to CC mode.
2536
2537 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
2538 hit, toggle electric-indent-local-mode.
2539
2540 * electric.el (electric-indent-mode-has-been-called):
2541 New variable.
2542
2543 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
2544
2545 * frameset.el (frameset-cfg-id): New function.
2546 (frameset--reuse-frame, frameset-restore): Use it.
2547 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
2548
2549 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
2550
2551 * ido.el (ido-file-internal): Remove unused var `d'.
2552 Use \` for to match BoS. Fit within 80n columns.
2553
2554 2014-02-17 Daniel Colascione <dancol@dancol.org>
2555
2556 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
2557 dbus-call-method check for completion using a busy-wait loop with
2558 gradual backoff.
2559
2560 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
2561
2562 Sync with Tramp 2.2.9.
2563
2564 * net/trampver.el: Update release number.
2565
2566 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
2567
2568 * ido.el (ido-file-internal): Don't add the name of an existing
2569 directory twice. (Bug#16747)
2570
2571 2014-02-16 Glenn Morris <rgm@gnu.org>
2572
2573 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
2574 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
2575
2576 2014-02-15 Michael R. Mauger <michael@mauger.com>
2577
2578 * progmodes/sql.el: Version 3.4
2579 (sql-oracle-options): New default value ("-L").
2580 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
2581 (sql-placeholders-filter): Correct placeholder pattern.
2582 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
2583 (sql-login-delay): New variable.
2584 (sql-product-interactive): Use it.
2585
2586 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
2587
2588 * frameset.el (frameset--jump-to-register): Check that buffer is live
2589 (bug#16749).
2590
2591 2014-02-15 Glenn Morris <rgm@gnu.org>
2592
2593 * info.el (info-initialize): Revert 2014-01-10 change.
2594
2595 2014-02-14 Glenn Morris <rgm@gnu.org>
2596
2597 * replace.el (map-query-replace-regexp)
2598 (read-regexp-defaults-function, read-regexp): Doc fixes.
2599
2600 * dired.el (dired-read-regexp):
2601 * faces.el (list-faces-display):
2602 * misearch.el (multi-isearch-read-matching-buffers)
2603 (multi-isearch-read-matching-files):
2604 * play/cookie1.el (cookie-apropos):
2605 * progmodes/grep.el (grep-read-regexp): Doc fixes.
2606
2607 * textmodes/remember.el (remember): Use frameset-to-register
2608 rather than frame-configuration-to-register.
2609
2610 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
2611
2612 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
2613 incorrect keybinding.
2614
2615 2014-02-13 Daniel Colascione <dancol@dancol.org>
2616
2617 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
2618 when adding overlays so that line numbers from compiler match line
2619 numbers we use.
2620
2621 2014-02-13 Glenn Morris <rgm@gnu.org>
2622
2623 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
2624
2625 * jit-lock.el (jit-lock-mode): Doc fix.
2626
2627 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
2628
2629 * apropos.el (apropos-read-pattern): When the user passes an empty
2630 string, give a more helpful error message than "Wrong type
2631 argument: stringp, nil".
2632
2633 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
2634
2635 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
2636
2637 2014-02-13 Glenn Morris <rgm@gnu.org>
2638
2639 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
2640
2641 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
2642
2643 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
2644 shift-select commands.
2645
2646 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
2647
2648 * progmodes/js.el (js-indent-line): Don't widen.
2649 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
2650
2651 2014-02-12 Glenn Morris <rgm@gnu.org>
2652
2653 * icomplete.el (icomplete): Add info-link to defgroup.
2654 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
2655 (icomplete-minibuffer-map, icomplete-mode)
2656 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
2657
2658 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
2659 (package-menu-filter): Rename from package-menu-filter-interactive.
2660 Doc fix.
2661
2662 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
2663
2664 * frameset.el (frameset--jump-to-register): Select the required
2665 window and buffer before restoring position (bug#16696).
2666
2667 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
2668
2669 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
2670
2671 2014-02-10 Glenn Morris <rgm@gnu.org>
2672
2673 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
2674
2675 2014-02-10 Eli Zaretskii <eliz@gnu.org>
2676
2677 * w32-common-fns.el (x-get-selection): Doc fix.
2678 * select.el (x-get-selection): Doc fix. (Bug#15109)
2679
2680 * face-remap.el (face-remap-add-relative)
2681 (face-remap-remove-relative, face-remap-reset-base)
2682 (face-remap-set-base): Call force-mode-line-update to redisplay
2683 the current buffer due to potential change in faces. (Bug#16709)
2684
2685 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
2686
2687 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
2688 script more robustly.
2689
2690 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
2691
2692 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
2693
2694 * simple.el (choose-completion): Doc fix (bug#14160).
2695
2696 * subr.el (event-start): Say what a nil EVENT value means.
2697
2698 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
2699 (bug#14197).
2700
2701 * progmodes/grep.el (find-program): Doc fix (bug#14289).
2702
2703 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
2704
2705 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
2706
2707 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
2708 predicate function (bug#15455).
2709
2710 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
2711
2712 * ielm.el (inferior-emacs-lisp-mode): Instead of
2713 `comment-use-global-state', set `comment-use-syntax'.
2714
2715 2014-02-10 Glenn Morris <rgm@gnu.org>
2716
2717 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
2718
2719 2014-02-09 Alan Mackenzie <acm@muc.de>
2720
2721 Fix c-invalidate-state-cache on narrowed buffers.
2722 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
2723 Widen when setting and clearing the CPP delimiter properties.
2724
2725 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
2726
2727 * help.el (describe-bindings): Doc fix (bug#9888).
2728
2729 * files.el (save-buffer): Use ARG as the parameter name for
2730 consistency (bug#10346).
2731 (save-buffer): Clarify the 0 argument (bug#10346).
2732
2733 * cus-edit.el (customize-apropos): Fix error string.
2734 (custom-buffer-create): Doc fix (bug#11122).
2735 (custom-sort-items): Doc fix (bug#11121).
2736
2737 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
2738
2739 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
2740 (icomplete-simple-completing-p): Mention the previous variable.
2741
2742 * font-lock.el (font-lock-value-in-major-mode): Clarify the
2743 meaning of the parameter (bug#12282).
2744
2745 * files.el (find-file-noselect): Clarify prompt when changing
2746 readedness (bug#13261).
2747 (locate-file): Suffixes aren't returned, so don't say that they
2748 are (bug#12674).
2749 (backup-inhibited): Doc clarification (bug#12525).
2750
2751 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
2752 before we actually start to delete things (bug#16331).
2753
2754 * subr.el (event-start): Doc fix (bug#14228).
2755 (event-end): Ditto.
2756
2757 2014-02-09 Glenn Morris <rgm@gnu.org>
2758
2759 * emacs-lisp/warnings.el (lwarn):
2760 Empower help-enable-auto-load. (Bug#15940)
2761
2762 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
2763
2764 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
2765 (Bug#16690)
2766
2767 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
2768
2769 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2770 Insert output at end of buffer. (Bug#16120)
2771
2772 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
2773
2774 * simple.el (choose-completion-string-functions): Document new
2775 calling convention (bug#14153).
2776 (execute-extended-command): Clarify doc string (bug#13373).
2777
2778 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
2779
2780 * find-dired.el (find-name-dired): Doc fix (bug#14290).
2781 (find-grep-dired): Doc fix (bug#14288).
2782
2783 2014-02-08 Juri Linkov <juri@jurta.org>
2784
2785 * isearch.el (isearch-quote-char): Check character validity
2786 like in `quoted-insert' (bug#16677).
2787
2788 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
2789
2790 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
2791
2792 * isearch.el (isearch-hide-immediately): Doc clarification
2793 (bug#14723).
2794
2795 * simple.el (line-move): Document utility function used many
2796 places in the Emacs sources (bug#14843).
2797
2798 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
2799 (dired-prev-marked-file): Doc fix (bug#14855).
2800 (dired-up-directory): Doc fix (bug#14848).
2801
2802 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
2803
2804 * files.el (file-relative-name): Doc fix (bug#15159).
2805
2806 * fringe.el (fringe-styles): Doc fix (bug#15239).
2807
2808 * isearch.el (isearch-filter-predicate): Documentation typo fix
2809 (bug#15474).
2810
2811 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
2812
2813 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
2814
2815 * replace.el (replace-match-maybe-edit): Doc clarification
2816 (bug#15632).
2817
2818 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
2819
2820 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
2821
2822 2014-02-08 Glenn Morris <rgm@gnu.org>
2823
2824 * help-fns.el (describe-variable):
2825 Check {file,dir}-local-variables-alist, and buffer-file-name,
2826 in the correct buffer.
2827
2828 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
2829
2830 * help-fns.el (describe-variable): Fix the case where
2831 a value is directory-local with no dir-locals file. (Bug#16635)
2832
2833 2014-02-08 Glenn Morris <rgm@gnu.org>
2834
2835 * abbrev.el (edit-abbrevs-mode):
2836 Derive from fundamental-mode. (Bug#16682)
2837
2838 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
2839
2840 * simple.el (quoted-insert): Check character validity (bug#16677).
2841
2842 2014-02-07 Juri Linkov <juri@jurta.org>
2843
2844 * desktop.el (desktop-read): Claim the lock when the owner is not
2845 the current process. (Bug#16157)
2846
2847 2014-02-07 Juri Linkov <juri@jurta.org>
2848
2849 * desktop.el (desktop-buffers-not-to-save): Change default from nil
2850 to "\\` ". (Bug#16651)
2851
2852 2014-02-07 Juri Linkov <juri@jurta.org>
2853
2854 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
2855 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
2856 (desktop-auto-save-cancel-timer): New function with some code from
2857 `desktop-auto-save-set-timer'.
2858 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
2859 Instead of setting `desktop-save-mode' to nil, call
2860 `desktop-save-mode' with arg 0. (Bug#16630)
2861
2862 2014-02-07 Glenn Morris <rgm@gnu.org>
2863
2864 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
2865 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
2866 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
2867
2868 * obsolete/iswitchb.el: Move to obsolete/.
2869 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
2870 since obsolete/ is not scanned for autoloads.
2871 * emacs-lisp/authors.el (authors-valid-file-names):
2872 Add iswitchb.el.
2873
2874 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
2875 Disable now non-functional find-file-hook.
2876
2877 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
2878
2879 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
2880 instead of ";" in order to avoid additional prompts. Let heredoc
2881 scripts read from tty. (Bug#16582)
2882 (tramp-send-command): No special handling of heredocs, it isn't
2883 necessary anymore.
2884
2885 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
2886
2887 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
2888 with a space (bug#16664). Limit the symbols considered to the ones
2889 that are bound or fbound (bug#16646).
2890
2891 2014-02-06 Glenn Morris <rgm@gnu.org>
2892
2893 * epa.el (epa-mail-aliases): Doc fix.
2894
2895 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
2896
2897 * emacs-lisp/lisp.el (lisp-completion-at-point):
2898 Use `completion-table-merge' instead of `completion-table-in-turn'
2899 (bug#16604).
2900
2901 * minibuffer.el (completion-table-merge): New function.
2902
2903 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
2904
2905 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
2906 (tramp-sh-handle-set-file-acl)
2907 (tramp-sh-handle-start-file-process)
2908 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
2909 (tramp-find-executable, tramp-send-command): Use it.
2910
2911 2014-02-05 Glenn Morris <rgm@gnu.org>
2912
2913 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
2914
2915 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
2916
2917 * progmodes/python.el (python-shell-send-string)
2918 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
2919
2920 2014-02-04 Anders Lindgren <andlind@gmail.com>
2921
2922 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
2923 the names (bug#16620).
2924
2925 2014-02-03 Martin Rudalics <rudalics@gmx.at>
2926
2927 * faces.el (window-divider): New default value. Rewrite doc-string.
2928 (window-divider-first-pixel, window-divider-last-pixel): New faces.
2929
2930 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
2931
2932 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
2933 `protected' and `public' can also be called without arguments.
2934
2935 2014-02-03 Glenn Morris <rgm@gnu.org>
2936
2937 * register.el (window-configuration-to-register)
2938 (frame-configuration-to-register): Unadvertise unused argument.
2939 * frameset.el (frameset-to-register): Remove unused argument.
2940
2941 * frameset.el (frameset-to-register):
2942 * kmacro.el (kmacro-to-register):
2943 * register.el (increment-register):
2944 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
2945 (calc-append-to-register, calc-prepend-to-register):
2946 * play/gametree.el (gametree-layout-to-register)
2947 (gametree-apply-register-layout):
2948 * textmodes/picture.el (picture-clear-rectangle-to-register)
2949 (picture-yank-rectangle-from-register):
2950 * vc/emerge.el (emerge-combine-versions-register):
2951 Use register-read-with-preview to read registers.
2952
2953 2014-02-03 João Távora <joaotavora@gmail.com>
2954
2955 * elec-pair.el (electric-pair-backward-delete-char): Don't error
2956 when at beginning of (possibly narrowed) buffer.
2957
2958 2014-02-02 Daniel Colascione <dancol@dancol.org>
2959
2960 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
2961 Also try to display local help from just before point.
2962
2963 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
2964
2965 c-parse-state. Don't "append-lower-brace-pair" in certain
2966 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
2967 recognised as a comment.
2968
2969 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
2970 as well as normal comment starter.
2971 (c-parse-state-get-strategy): Extra return possibility
2972 'back-and-forward.
2973 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
2974 return value list to indicate replacement of a brace-pair cons
2975 with its car.
2976 (c-parse-state-1): With 'back-and-forward, only call
2977 c-append-lower-brace-pair-to state-cache when cons-separated.
2978
2979 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
2980
2981 * term/ns-win.el (ns-suspend-error): New function.
2982 (ns-initialize-window-system): Add ns-suspend-error to
2983 suspend-hook (Bug#16612).
2984
2985 2014-02-02 Daniel Colascione <dancol@dancol.org>
2986
2987 * progmodes/cc-defs.el (c-find-assignment-for-mode):
2988 Make loading cc-mode silent.
2989
2990 2014-02-02 Daniel Colascione <dancol@dancol.org>
2991
2992 * comint.el (comint-prompt-read-only): Change doc to suggest
2993 remap keybinding.
2994
2995 2014-02-02 Glenn Morris <rgm@gnu.org>
2996
2997 * register.el (register-read-with-preview, point-to-register)
2998 (window-configuration-to-register, frame-configuration-to-register)
2999 (jump-to-register, number-to-register, view-register, insert-register)
3000 (copy-to-register, append-to-register, prepend-to-register)
3001 (copy-rectangle-to-register): Doc fixes.
3002
3003 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3004
3005 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
3006 * emacs-lisp/find-func.el (find-function-C-source): Idem.
3007 * emacs-lisp/nadvice.el (advice--cd*r): New function.
3008 * help-fns.el (describe-function-1): Use it.
3009
3010 2014-02-02 Glenn Morris <rgm@gnu.org>
3011
3012 * register.el (register-preview-default): New function,
3013 split from register-preview.
3014 (register-preview-function): Rename from register-preview-functions,
3015 make it not a hook.
3016 (register-preview): Use register-preview-function.
3017 (register-read-with-preview): Error on non-character event. (Bug#16595)
3018
3019 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
3020
3021 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
3022 `:' before binary operators (bug#16609). Don't check for `:'
3023 before `[' and `(', or their syntax status. A percent literal
3024 can't end with either.
3025 (ruby-font-lock-keywords): For built-ins that require arguments,
3026 check that they're followed by something that looks like argument
3027 (bug#16610).
3028
3029 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
3030
3031 * subr.el (butlast): Document what an omitted N means (bug#13437).
3032 (nbutlast): Ditto.
3033
3034 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
3035
3036 * net/shr.el (shr-generic): Make into a defsubst to make the stack
3037 depth shallower (bug#16587).
3038 (shr-tag-svg): Respect `shr-inhibit-images'.
3039 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
3040
3041 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
3042
3043 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
3044 (ruby-smie-grammar): Make "." right-associative. Make its priority
3045 lower than the ternary and all binary operators.
3046 (ruby-smie-rules): Indent "(" relative to the first non-"."
3047 parent, or the first "." parent at indentation.
3048 Use `ruby-align-chained-calls' for indentation of "." tokens.
3049 (Bug#16593)
3050
3051 2014-01-31 Juri Linkov <juri@jurta.org>
3052
3053 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
3054 from `make-hash-table'.
3055
3056 * textmodes/ispell.el (ispell-init-process): Change message format
3057 to be consistent with other messages.
3058
3059 2014-01-31 Glenn Morris <rgm@gnu.org>
3060
3061 * delsel.el (delete-selection-mode): Doc fix.
3062
3063 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
3064 (trace-function-background): Doc fixes.
3065
3066 * ido.el (ido-use-virtual-buffers): Doc fix.
3067 Reset :version, since the default value has not changed.
3068
3069 * register.el (register-preview-delay, register-read-with-preview):
3070 Doc fixes.
3071
3072 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
3073 do not mess with mail-buffer position (fixes 2009-11-03 change).
3074 * progmodes/cc-mode.el (c-submit-bug-report):
3075 Check auto-fill-mode is bound. (Bug#16592)
3076
3077 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
3078
3079 * startup.el (fancy-splash-image-file): New function,
3080 split from fancy-splash-head.
3081 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
3082 so that we are both using the same image. (Bug#16574)
3083
3084 2014-01-30 Glenn Morris <rgm@gnu.org>
3085
3086 * simple.el (eval-expression): Doc fix.
3087
3088 * hexl.el (hexl-mode-hook):
3089 * ielm.el (ielm-mode-hook):
3090 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
3091 (lisp-interaction-mode-hook):
3092 * progmodes/cfengine.el (cfengine3-documentation-function):
3093 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
3094
3095 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3096
3097 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
3098 is a symbol (bug#16584).
3099
3100 2014-01-30 Glenn Morris <rgm@gnu.org>
3101
3102 * help.el (help-for-help-internal): Add "P" to text.
3103
3104 2014-01-29 Glenn Morris <rgm@gnu.org>
3105
3106 * simple.el (just-one-space, cycle-spacing): Doc fixes.
3107
3108 2014-01-28 Martin Rudalics <rudalics@gmx.at>
3109
3110 * window.el (fit-frame-to-buffer): Fix calculations for margins and
3111 height constraints.
3112
3113 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
3114
3115 * progmodes/hideif.el: Extend to full CPP expression syntax.
3116 (hif-token-alist): Add missing tokens.
3117 (hif-token-regexp): Add support for float/octal/hex immediates.
3118 (hif-string-literal-regexp): New const.
3119 (hif-tokenize): Recognize strings and float/octal/hex immediates.
3120 (hif-exprlist): New function.
3121 (hif-parse-if-exp): Use it.
3122 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
3123 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
3124 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
3125 (hif-logxor, hif-comma): New functions.
3126
3127 2014-01-28 Glenn Morris <rgm@gnu.org>
3128
3129 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
3130
3131 * indent.el (tab-stop-list): Doc fix. Add :version.
3132
3133 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
3134 (cvs-append-to-ignore): Add compatibility alias.
3135
3136 2014-01-27 Glenn Morris <rgm@gnu.org>
3137
3138 * dired.el (dired-hide-details-mode): Don't autoload it,
3139 since it cannot be used outside Dired buffers anyway.
3140
3141 * emulation/cua-base.el (cua-mode): Doc fix.
3142
3143 * dired.el (dired-hide-details-hide-symlink-targets)
3144 (dired-hide-details-hide-information-lines)
3145 (dired-hide-details-mode): Doc fixes.
3146
3147 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
3148 * strokes.el (strokes-file): Doc fix. Bump :version.
3149 (strokes-help): Doc fix.
3150 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
3151 * emulation/viper.el (viper): Doc fix for custom group.
3152 (top-level): Remove oh-so-no-longer-relevant text about vip.
3153 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
3154
3155 * ido.el (ido-save-directory-list-file):
3156 * saveplace.el (save-place-file):
3157 * calendar/timeclock.el (timeclock-file):
3158 * net/quickurl.el (quickurl-url-file):
3159 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
3160 * progmodes/idlwave.el (idlwave-config-directory):
3161 * textmodes/remember.el (remember-data-file):
3162 Bump :version.
3163
3164 2014-01-26 Glenn Morris <rgm@gnu.org>
3165
3166 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
3167 Doc fix. Make obsolete.
3168 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
3169
3170 * sort.el (delete-duplicate-lines): Doc fix.
3171
3172 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3173
3174 * progmodes/ada-mode.el (ada):
3175 * woman.el (woman): Link to info manual and Commentary section.
3176
3177 * progmodes/flymake.el (flymake):
3178 * nxml/nxml-mode.el (nxml):
3179 * net/eww.el (eww):
3180 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
3181 * htmlfontify.el (htmlfontify):
3182 * ses.el (ses):
3183 * epa.el (epa):
3184 * ido.el (ido): Link to info manual.
3185
3186 2014-01-25 Leo Liu <sdl.web@gmail.com>
3187
3188 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
3189
3190 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
3191
3192 * net/shr.el (shr-tag-img): Prefer the title over the alt text
3193 (bug#16537).
3194
3195 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
3196
3197 * net/eww.el (eww-download-callback):
3198 Fix reference to eww-download-directory.
3199
3200 * emacs-lisp/bytecomp.el (byte-compile-file):
3201 Remove unused local variable `file-name'.
3202
3203 2014-01-24 Glenn Morris <rgm@gnu.org>
3204
3205 * woman.el (woman-default-faces, woman-monochrome-faces):
3206 Fix obsolescence specification.
3207
3208 * subr.el (with-demoted-errors): Doc fix.
3209
3210 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
3211
3212 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
3213 (cl--macroexp-fboundp): New function.
3214 (cl--make-type-test): Use it.
3215
3216 2014-01-23 Glenn Morris <rgm@gnu.org>
3217
3218 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
3219 * simple.el (eval-expression): Doc fixes.
3220
3221 2014-01-22 Glenn Morris <rgm@gnu.org>
3222
3223 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
3224
3225 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
3226
3227 * emacs-lisp/package.el: Write files silently.
3228 (package-autoload-ensure-default-file, package--write-file-no-coding)
3229 (package-generate-description-file, package--download-one-archive)
3230 (package-install-from-archive): Tell `write-region' to stay quiet.
3231 (package-menu-mode, package-menu--print-info): Omit the Archive column
3232 if there's only one archive.
3233 (package-all-keywords, package--has-keyword-p): Remove dead code.
3234
3235 2014-01-22 Glenn Morris <rgm@gnu.org>
3236
3237 * version.el (emacs-bzr-version-bzr): Fix typo.
3238
3239 * version.el (emacs-repository-get-version):
3240 Check either .bzr or .git, but not both.
3241 Make the git case actually use the DIR argument, and return nil
3242 rather than the empty string.
3243 Avoid error if .git exists but the git executable is not found.
3244
3245 2014-01-22 Martin Rudalics <rudalics@gmx.at>
3246
3247 Fixes in window size functions around Bug#16430 and Bug#16470.
3248 * window.el (window-total-size, window-size): New argument ROUND.
3249 (window--min-delta-1, window-min-delta, window--max-delta-1):
3250 Be more conservative when calculating the numbers of lines or
3251 columns a window can shrink (Bug#16430).
3252 (fit-window-to-buffer): Simplify code.
3253 * term.el (term-window-width): Call window-body-width again.
3254
3255 2014-01-22 Glenn Morris <rgm@gnu.org>
3256
3257 * image.el (image-format-suffixes): Doc fix.
3258
3259 * international/quail.el (quail-define-package): Doc fix.
3260
3261 * emacs-lisp/authors.el (authors-valid-file-names)
3262 (authors-renamed-files-alist): Additions.
3263
3264 * vc/vc-git.el (vc-git-print-log): Remove --follow;
3265 reverts 2014-01-09 change. (Bug#16422)
3266
3267 * calc/calc-embed.el (thing-at-point-looking-at):
3268 * emacs-lisp/map-ynp.el (x-popup-dialog):
3269 * obsolete/lmenu.el (x-popup-dialog):
3270 * emacs-lisp/package.el (url-recreate-url):
3271 * mail/mailclient.el (clipboard-kill-ring-save):
3272 * subr.el (x-popup-dialog): Update declaration.
3273 * mail/rmail.el (rmail-mime-message-p):
3274 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
3275
3276 2014-01-21 Daniel Colascione <dancol@dancol.org>
3277
3278 * progmodes/sh-script.el (sh--inside-noncommand-expression):
3279 Correctly detect when we're inside an arithmetic expansion form
3280 containing nested parenthesis.
3281 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
3282 to detect cases where we shouldn't expand "<<" to a heredoc
3283 skeleton.
3284
3285 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
3286
3287 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
3288 (eldoc--message-command-p): New function.
3289 (eldoc-display-message-p): Use it.
3290 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
3291 message is not automatically erased for us.
3292 (eldoc-print-current-symbol-info): Erase previous message, if any.
3293
3294 2014-01-21 Tassilo Horn <tsdh@gnu.org>
3295
3296 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
3297 specify it's an interactive function.
3298
3299 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
3300 Fix regex used for scanning for citation keys which failed for
3301 citations with optional arguments.
3302
3303 2014-01-21 Leo Liu <sdl.web@gmail.com>
3304
3305 * simple.el (read--expression): Don't enable eldoc-mode.
3306
3307 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
3308
3309 * simple.el (move-beginning-of-line): Make sure we don't move forward
3310 (bug#16497).
3311
3312 2014-01-20 Juri Linkov <juri@jurta.org>
3313
3314 * saveplace.el (toggle-save-place, save-place-to-alist)
3315 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
3316 'dired-mode) before checking for dired-directory. (Bug#16477)
3317
3318 2014-01-20 Juri Linkov <juri@jurta.org>
3319
3320 * indent.el (indent-line-to): Use backward-to-indentation
3321 instead of back-to-indentation. (Bug#16461)
3322
3323 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
3324
3325 Revert some of the CANNOT_DUMP fix (Bug#16494).
3326 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
3327 but fixing this can wait until after the next release.
3328 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
3329
3330 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
3331
3332 * eshell/esh-mode.el (eshell-password-prompt-regexp):
3333 Use `password-word-equivalents'.
3334 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
3335 to t. (Bug#5664, Bug#13124)
3336
3337 2014-01-19 Alan Mackenzie <acm@muc.de>
3338
3339 Bind open-paren-in-column-0-is-defun-start to nil at some entry
3340 points.
3341 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
3342 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
3343 * progmodes/cc-mode.el (c-before-change, c-after-change)
3344 (c-font-lock-fontify-region): Bind it here.
3345
3346 2014-01-19 Martin Rudalics <rudalics@gmx.at>
3347
3348 * term.el (term-window-width): Call window-text-width instead of
3349 window-width (Bug#16470).
3350
3351 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
3352
3353 * simple.el (password-word-equivalents): Remove duplicates.
3354 Sort, to make this easier next time.
3355 Downcase. Omit ": " after "jelszó".
3356
3357 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
3358
3359 * term/common-win.el (saved-region-selection): Defvar it.
3360 (x-select-text): Set saved-region-selection (Bug#16382).
3361
3362 2014-01-18 Glenn Morris <rgm@gnu.org>
3363
3364 * emacs-lisp/authors.el (authors-aliases)
3365 (authors-renamed-files-alist): Add some entries.
3366
3367 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
3368
3369 * net/tramp.el (tramp-password-prompt-regexp):
3370 Use `password-word-equivalents' if available.
3371 (tramp-action-password, tramp-process-one-action)
3372 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
3373
3374 2014-01-17 Chong Yidong <cyd@gnu.org>
3375
3376 * simple.el (password-word-equivalents): New defcustom.
3377 * comint.el (comint-password-prompt-regexp): Use it. Bump version
3378 to 24.4.
3379 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
3380 to t. (Bug#13124)
3381
3382 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
3383
3384 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
3385 (ruby-align-to-stmt-keywords): Change the default value.
3386 Use `ruby-alignable-keywords' to generate the possible customization
3387 choices.
3388 (ruby-smie-rules): Instead of using a hardcoded list of alignable
3389 keywords, check against the value of `ruby-alignable-keywords'
3390 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
3391
3392 2014-01-17 Glenn Morris <rgm@gnu.org>
3393
3394 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
3395
3396 Make M-x authors return zero *Authors Errors* from current logs.
3397 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
3398 (authors-ignored-files): Add some entries, remove others.
3399 (authors-ambiguous-files, authors-valid-file-names):
3400 Add some entries.
3401 (authors-renamed-files-alist): Add, remove, and adjust entries.
3402 (authors-renamed-files-regexps): Add some entries.
3403 Remove some very broad ones. Make some entries `lax'.
3404 (authors-lax-changelogs): New constant.
3405 (authors-disambiguate-file-name): Treat top-level specially.
3406 (authors-lax-changelog-p): New function.
3407 (authors-canonical-file-name): Check file as written against
3408 authors-valid-file-names. Do not special-case etc/.
3409 Handle `lax' logs and authors-renamed-files-regexps elements.
3410
3411 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
3412
3413 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
3414 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
3415 callers.
3416
3417 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3418
3419 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
3420 Assume we're already in the proper buffer.
3421 Inspired by Anders Lindgren <andlind@gmail.com>.
3422 (follow-post-command-hook): Call it from the right buffer.
3423 (follow-comint-scroll-to-bottom): Adjust call.
3424 (follow-all-followers): Use get-buffer-window-list.
3425
3426 2014-01-15 Daniel Colascione <dancol@dancol.org>
3427
3428 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
3429 `buffer-file-name' in interactive-form so that we don't leave
3430 pathless file names in `file-name-history'.
3431
3432 2014-01-15 Juri Linkov <juri@jurta.org>
3433
3434 * indent.el (indent-rigidly): Set deactivate-mark to nil
3435 in transient indentation mode. (Bug#16438)
3436
3437 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
3438
3439 * emacs-lisp/package.el (package-desc-keywords): New function
3440 (Bug#16222).
3441 (describe-package-1, package-all-keywords)
3442 (package--has-keyword-p): Use it.
3443
3444 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3445
3446 * simple.el (define-alternatives): When creating the
3447 COMMAND-alternatives variable, assign COMMAND as its definition
3448 name so that `describe-variable' can relocate it.
3449
3450 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
3451
3452 * font-lock.el (font-lock-keywords): Fix typo in docstring
3453 (bug#16307).
3454
3455 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3456
3457 * ispell.el (ispell-region): Reset `in-comment' for new line
3458 instead of wrongly reset `add-coment' (bug#13577).
3459
3460 2014-01-14 Daiki Ueno <ueno@gnu.org>
3461
3462 * epa-file.el (epa-file-write-region): Encode the region according
3463 to `buffer-file-format'. Problem reported at:
3464 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
3465
3466 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
3467
3468 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
3469 so it applies in the right buffer (bug#16410).
3470
3471 2014-01-13 Daniel Colascione <dancol@dancol.org>
3472
3473 * textmodes/rst.el (rst-define-key): Provide deprecated
3474 keybindings through named functions instead of anonymous ones so
3475 that "??" doesn't appear in describe-mode output.
3476
3477 2014-01-13 Bastien Guerry <bzg@gnu.org>
3478
3479 * simple.el (define-alternatives): Call the selected command
3480 interactively. When setting `COMMAND--implementation' for the
3481 first time, tell the user how to chose another implementation.
3482 Enhance the docstring.
3483
3484 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3485
3486 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
3487 (log-edit--match-first-line): New function.
3488 (log-edit-font-lock-keywords): Use it.
3489 (log-edit-mode): Make jit-lock-defer-multiline work.
3490
3491 2014-01-13 Bastien Guerry <bzg@gnu.org>
3492
3493 * rect.el (rectangle-mark-mode): When the region is not active,
3494 display a message saying that the mark as been set and that
3495 rectangle mode is in use.
3496 (rectangle--highlight-for-redisplay): Only put an overlay with a
3497 visible vertical bar when (display-graphic-p) is non-nil.
3498 This partially fixes Bug#16403.
3499
3500 2014-01-13 Juri Linkov <juri@jurta.org>
3501
3502 * info.el (Info-find-file): Go to DIR before displaying the error
3503 about a nonexistent file if no previous Info file is visited.
3504 Use `user-error' instead of `error' for "Info file %s does not exist".
3505 (Info-find-node-2): In case of a nonexistent node in unwind forms
3506 go to the Top node if there is no previous node to revert to.
3507 (Bug#16405)
3508
3509 2014-01-13 Martin Rudalics <rudalics@gmx.at>
3510
3511 fit-frame/window-to-buffer code fixes including one for Bug#14096.
3512 * window.el (fit-frame-to-buffer): Fix doc-string.
3513 Respect window-min-height/-width. Fit pixelwise when
3514 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
3515 when avoiding that frame goes partially off-screen.
3516 (fit-window-to-buffer): Respect window-min-height/-width
3517 (Bug#14096).
3518
3519 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3520
3521 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
3522 after an empty line.
3523
3524 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
3525
3526 * net/shr.el (shr-render-region): Autoload.
3527
3528 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
3529
3530 * net/eww.el (eww-download-directory): Rename from
3531 `eww-download-path' (Bug#16419).
3532
3533 2014-01-12 Leo Liu <sdl.web@gmail.com>
3534
3535 * dired-x.el (dired-mode-map): Fix last change.
3536
3537 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
3538
3539 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
3540
3541 Spelling fixes.
3542 * emacs-lisp/generic.el (generic--normalize-comments):
3543 Rename from generic--normalise-comments. All uses changed.
3544 * play/bubbles.el (bubbles--neighborhood-score)
3545 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
3546 (bubbles--neighborhood-available)
3547 (bubbles--update-neighborhood-score):
3548 Rename from names with 'neighbourhood'. All uses changed.
3549
3550 2014-01-12 Leo Liu <sdl.web@gmail.com>
3551
3552 Re-implement the feature of showing eldoc info after editing.
3553 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
3554 (eldoc-edit-message-commands): New function.
3555 (eldoc-print-after-edit): New variable.
3556 (eldoc-pre-command-refresh-echo-area): Emit message only by
3557 eldoc-message-commands.
3558 (eldoc-mode): Restrict eldoc-message-commands to editing commands
3559 if eldoc-print-after-edit is set. (Bug#16346)
3560 * simple.el (read--expression): Enable eldoc-mode.
3561 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
3562
3563 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
3564 Eric S. Raymond <esr@thyrsus.com>
3565
3566 * version.el (emacs-repository-get-version): Enhance so the
3567 function works correctly in either a Bazaar or Git repo.
3568
3569 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
3570
3571 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
3572 Goes with removal of the joke manpages from /etc.
3573
3574 2014-01-10 Kenichi Handa <handa@gnu.org>
3575
3576 * mail/rmail.el (rmail-get-coding-system):
3577 Check rmail-get-coding-function before "funcall"ing it.
3578
3579 2014-01-10 Glenn Morris <rgm@gnu.org>
3580
3581 * emacs-lisp/authors.el (authors-fixed-entries):
3582 Update for files that no longer exist.
3583
3584 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
3585
3586 * version.el (emacs-bzr-get-version): Restore compatibilty with
3587 24.3 (Tested).
3588
3589 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
3590
3591 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
3592 and Podfile.
3593
3594 2014-01-10 Eli Zaretskii <eliz@gnu.org>
3595
3596 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
3597
3598 2014-01-10 Chong Yidong <cyd@gnu.org>
3599
3600 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
3601
3602 2014-01-10 Anders Lindgren <andlind@gmail.com>
3603
3604 * follow.el (follow-cache-command-list): Include right-char and
3605 left-char.
3606
3607 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
3608
3609 Spelling fixes.
3610 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
3611 * woman.el (woman-mark-horizontal-position):
3612 Rename from woman-mark-horizonal-position. Use changed.
3613
3614 2014-01-10 Glenn Morris <rgm@gnu.org>
3615
3616 * info.el (info-initialize): If running uninstalled, ensure our
3617 own info files are always found first, even if INFOPATH is set.
3618
3619 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
3620
3621 2014-01-09 David Engster <deng@randomsample.de>
3622
3623 * emacs-lisp/eieio-custom.el:
3624 * emacs-lisp/eieio-opt.el: Set generated autoload file to
3625 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
3626 * emacs-lisp/eieio.el: Regenerate autoloads.
3627
3628 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
3629
3630 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
3631 following renames. (Bug#8756)
3632
3633 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
3634
3635 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
3636 (bug#16382).
3637 (activate-mark): Add `no-tmm' argument.
3638 (set-mark, push-mark-command): Use it instead of running
3639 activate-mark-hook by hand.
3640
3641 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
3642
3643 In preparation for the move to git, sanitize out some
3644 Bazaar-specific names.
3645
3646 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
3647
3648 * version.el (emacs-bzr-version): Name changed to
3649 emacs-repository-version. Obsolete-variable alias made.
3650 * loadup.el: Follow through on this name change.
3651 * mail/emacsbug.el (report-emacs-bug): Factor out any
3652 assumption about the version control system in use.
3653
3654 2014-01-08 David Engster <deng@randomsample.de>
3655
3656 * help-fns.el (help-fns-describe-function-functions):
3657 New variable to call functions for augmenting help buffers.
3658 (describe-function-1): Remove explicit calls to
3659 `help-fns--compiler-macro', `help-fns--parent-mode' and
3660 `help-fns--obsolete'. Put them in above new variable instead, and
3661 call them through `run-hook-with-args'.
3662 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
3663 `eieio-describe-class'. Not meant for interactive use anymore,
3664 but to augment existing help buffers. Remove optional second
3665 argument. Create proper button for file location.
3666 Rewrite function to use `insert' instead of `princ' and `prin1' where
3667 possible.
3668 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
3669 (eieio-method-def, eieio-class-def): Move further up.
3670 (describe-method, describe-generic, eieio-describe-method):
3671 Remove aliases.
3672 (eieio-help-constructor, eieio-help-generic): Rename from
3673 `eieio-describe-constructor' and `eieio-describe-generic', resp.
3674 Rewrite to use `insert' in the current buffer and use proper help
3675 buttons.
3676 (eieio-help-find-method-definition)
3677 (eieio-help-find-class-definition): Also accept symbols as
3678 arguments.
3679 (eieio-help-mode-augmentation-maybee): Remove.
3680 (eieio-describe-class-sb): Use `describe-function'.
3681 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
3682 Add `eieio-help-generic' and `eieio-help-constructor'.
3683
3684 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
3685
3686 Spelling fixes.
3687 * language/china-util.el (hz-ascii-designation):
3688 Rename from hz-ascii-designnation.
3689 (hz-ascii-designation): Rename from hz-ascii-designnation.
3690 All uses changed.
3691
3692 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3693
3694 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
3695 package-alist.
3696
3697 2014-01-08 Bastien Guerry <bzg@gnu.org>
3698
3699 * emacs-lisp/package.el (package-delete):
3700 Correctly delete the package from package-alist.
3701
3702 2014-01-08 Daiki Ueno <ueno@gnu.org>
3703
3704 * emacs-lisp/package.el (url-recreate-url): Declare.
3705 (url-http-target-url): Declare.
3706 (package-handle-response): Include requested URL in the error message.
3707 (package--check-signature): Don't re-signal errors from
3708 package--with-work-buffer. Suggested by Stefan Monnier.
3709
3710 2014-01-07 Bastien Guerry <bzg@gnu.org>
3711
3712 * minibuffer.el (completion--try-word-completion): When both a
3713 hyphen and a space are possible candidates for the character
3714 following a word, display both candidates. (Bug#15980)
3715
3716 2014-01-07 Martin Rudalics <rudalics@gmx.at>
3717
3718 * window.el (balance-windows-2): While rounding don't give a
3719 window more than the remainder. Bug#16351, bug#16383.
3720
3721 2014-01-07 Glenn Morris <rgm@gnu.org>
3722
3723 * menu-bar.el (menu-bar-help-extra-packages): Remove.
3724 (menu-bar-help-menu): Use view-external-packages instead.
3725
3726 2014-01-07 Bastien Guerry <bzg@gnu.org>
3727
3728 * emacs-lisp/package.el (package-delete): Also delete the package
3729 name from `package-alist', not its description only.
3730
3731 2014-01-07 Glenn Morris <rgm@gnu.org>
3732
3733 * help.el (view-external-packages):
3734 * menu-bar.el (menu-bar-help-extra-packages):
3735 Visit efaq.info rather than etc/MORE.STUFF.
3736
3737 2014-01-07 Juri Linkov <juri@jurta.org>
3738
3739 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
3740 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
3741
3742 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
3743 that shadows RET. (Bug#16342)
3744
3745 2014-01-07 Chong Yidong <cyd@gnu.org>
3746
3747 * isearch.el (isearch-yank-char, isearch-yank-word)
3748 (isearch-yank-line): Doc fix.
3749
3750 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
3751
3752 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
3753 * emacs-lisp/elint.el (elint-find-builtins):
3754 * emacs-lisp/eldoc.el (eldoc-symbol-function):
3755 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
3756 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
3757 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
3758 * apropos.el (apropos-safe-documentation):
3759 * subr.el (symbol-file): Remove redundant fboundp.
3760 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
3761
3762 2014-01-06 Bastien Guerry <bzg@gnu.org>
3763
3764 * hl-line.el (global-hl-line-overlay): Make a local variable.
3765 (global-hl-line-overlays): New variable to store all overlays.
3766 (global-hl-line-mode): Don't delete overlays from the current
3767 buffer when `global-hl-line-sticky-flag' is non-nil.
3768 (global-hl-line-highlight): Add new overlays to
3769 `global-hl-line-overlays'.
3770 (global-hl-line-unhighlight-all): New function to delete all
3771 overlays when turning off `global-hl-line-mode'.
3772 This fixes Bug#16183.
3773
3774 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
3775
3776 * subr.el (set-transient-map): Fix nested case and docstring.
3777
3778 2014-01-06 Tassilo Horn <tsdh@gnu.org>
3779
3780 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
3781 `Texinfo' entry.
3782
3783 2014-01-06 Daniel Colascione <dancol@dancol.org>
3784
3785 Fix defun navigation in vc log view.
3786
3787 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
3788 like `beginning-of-defun'.
3789 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
3790 log-view-end-of-defun to log-view-end-of-defun-1. Replace
3791 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
3792 (log-view-extract-comment): Call `log-view-current-entry' directly
3793 instead of relying on broken `log-view-beginning-of-defun' behavior.
3794
3795 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
3796
3797 Spelling fixes.
3798 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
3799 * emacs-lisp/debug.el (cancel-debug-on-entry):
3800 * epg.el (epg-error-to-string):
3801 * files.el (recover-file):
3802 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
3803 * mail/emacsbug.el (report-emacs-bug-hook):
3804 * mail/sendmail.el (mail-recover):
3805 * ses.el (ses-yank-resize):
3806 * term/ns-win.el (ns-print-buffer):
3807 Spelling fixes in diagnostics, mostly for "canceled" with one L.
3808 * epg.el (epg-key-capability-alist): Rename from misspelled version.
3809 All uses changed.
3810 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
3811
3812 2014-01-06 Leo Liu <sdl.web@gmail.com>
3813
3814 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
3815 to avoid shadowing global key. (Bug#16354)
3816
3817 2014-01-06 Daniel Colascione <dancol@dancol.org>
3818
3819 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
3820 rst-mode.
3821
3822 2014-01-05 Martin Rudalics <rudalics@gmx.at>
3823
3824 * window.el (balance-windows): Add mising t to fix Bug#16351.
3825
3826 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3827
3828 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
3829 (bug#16285).
3830 (shr-insert): If we have a word that's longer than `shr-width',
3831 break after it anyway. Otherwise we'll do no breaking once we get
3832 such a long word.
3833
3834 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3835
3836 * net/eww.el (eww): Support single/double quote for search.
3837 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
3838 (eww-history-quit): Delete and use quit-window.
3839 (eww-history-kill): Delete, because it doesn't work well and
3840 not necessary.
3841 (eww-history-mode-map): Delete some keys and add easy-menu.
3842
3843 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
3844
3845 Fix misspelling of 'chinese' in rx (Bug#16237).
3846 * emacs-lisp/rx.el (rx-categories): Correct spelling of
3847 chinese-two-byte.
3848
3849 Change subword regexps back to vars (Bug#16296).
3850 * progmodes/subword.el (subword-forward-regexp)
3851 (subword-backward-regexp): Change these back to variables.
3852
3853 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
3854
3855 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
3856 syntax-begin-function (bug#16247).
3857
3858 2014-01-03 Chong Yidong <cyd@gnu.org>
3859
3860 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
3861 (advice--docstring): Delete variable.
3862 (advice--make-1): Leave the docstring empty.
3863 (advice-add): Use function-documentation for advised docstring.
3864
3865 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
3866 Ignore function-documentation property when getting documentation.
3867 (ad-activate-advised-definition): Use function-documentation
3868 generate the docstring.
3869 (ad-make-advised-definition): Don't call
3870 ad-make-advised-definition-docstring.
3871 (ad-make-advised-definition-docstring, ad-advised-definition-p):
3872 Delete functions.
3873
3874 * progmodes/sql.el (sql-help): Use function-documentation instead
3875 of dynamic-docstring-function property. No need to autoload now.
3876 (sql--help-docstring): New variable.
3877 (sql--make-help-docstring): Use it.
3878
3879 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
3880
3881 * ielm.el (ielm-tab): Retarget.
3882 (ielm-map): Use ielm-tab for tab.
3883 (ielm-complete-filename): Use comint-filename-completion.
3884 (ielm-complete-symbol): Remove.
3885 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
3886 remove ielm-tab from completion-at-point-functions (bug#16224).
3887
3888 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
3889 Beware signals raised by predicates (bug#16201).
3890
3891 2014-01-02 Richard Stallman <rms@gnu.org>
3892
3893 * dired-aux.el (dired-do-print): Handle printer-name.
3894
3895 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
3896 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
3897 (rmail-epa-decrypt): Turn off mime processing.
3898
3899 * mail/rmail.el (rmail-make-in-reply-to-field):
3900 Add parens in message-id.
3901
3902 * mail/rmail.el (rmail-get-coding-function): Variable.
3903 (rmail-get-coding-system): Use it.
3904
3905 2013-12-31 Eli Zaretskii <eliz@gnu.org>
3906
3907 * international/mule-conf.el: Unify the charset indian-is13194.
3908 (indian-is13194): Specify unify-map.
3909
3910 2013-12-31 Leo Liu <sdl.web@gmail.com>
3911
3912 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
3913
3914 2013-12-30 Daniel Colascione <dancol@dancol.org>
3915
3916 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
3917 of printing a useless when we resume from sleep.
3918
3919 * progmodes/sh-script.el
3920 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
3921 in indentation code. (Bug#16233)
3922
3923 2013-12-28 João Távora <joaotavora@gmail.com>
3924
3925 * elec-pair.el (electric-pair-post-self-insert-function):
3926 Don't open extra newlines at beginning of buffer. (Bug#16272)
3927
3928 2013-12-28 Eli Zaretskii <eliz@gnu.org>
3929
3930 * frame.el (window-system-for-display): Don't allow to create a
3931 GUI frame from a -nw session on MS-Windows. (Bug#14739)
3932
3933 2013-12-28 Glenn Morris <rgm@gnu.org>
3934
3935 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
3936 Update callers.
3937
3938 * apropos.el (apropos-match-face):
3939 * calculator.el (calculator-displayer):
3940 * dabbrev.el (dabbrev-search-these-buffers-only):
3941 * face-remap.el (buffer-face-mode-face):
3942 * simple.el (yank-handled-properties):
3943 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
3944 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
3945 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
3946 (hashcash-double-spend-database):
3947 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
3948 (ruby-deep-indent-paren-style):
3949 * textmodes/flyspell.el (flyspell-auto-correct-binding):
3950 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
3951 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
3952 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
3953 Specify custom types.
3954
3955 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
3956 * bookmark.el (bookmark-bmenu-use-header-line):
3957 * doc-view.el (doc-view-scale-internally):
3958 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
3959 * register.el (register-preview-delay):
3960 * net/shr.el (shr-bullet):
3961 * progmodes/cfengine.el (cfengine-cf-promises)
3962 (cfengine-parameters-indent):
3963 * progmodes/octave.el (inferior-octave-error-regexp-alist):
3964 * textmodes/reftex-vars.el (reftex-label-regexps):
3965 * vc/log-edit.el (log-edit-setup-add-author): Add version.
3966
3967 * net/tls.el (tls-certtool-program): Fix default value.
3968
3969 * desktop.el (desktop-restore-in-current-display):
3970 * newcomment.el (comment-empty-lines):
3971 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
3972 (idlwave-pad-keyword):
3973 * progmodes/tcl.el (tcl-tab-always-indent):
3974 * textmodes/reftex-vars.el (reftex-index-default-tag):
3975 * elec-pair.el (electric-pair-skip-whitespace):
3976 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
3977
3978 * emacs-lisp/authors.el (authors-ignored-files)
3979 (authors-valid-file-names, authors-renamed-files-alist): Additions.
3980
3981 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
3982
3983 * shell.el (shell-dynamic-complete-command): Doc fix.
3984 (shell--command-completion-data): Shell completion now matches
3985 executable filenames from the current buffer's directory, on
3986 systems in which this behavior is the default (windows-nt, ms-dos).
3987
3988 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
3989
3990 * net/shr.el (shr-insert): Don't infloop if the width is zero.
3991
3992 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
3993
3994 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
3995 (bug#16251).
3996
3997 * electric.el: Move all electric-pair-* to elec-pair.el.
3998 * elec-pair.el: New file, split from electric.el.
3999
4000 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4001
4002 * net/shr.el (shr-find-fill-point): Don't try to fill if the
4003 indentation level is larger than the width, because that will
4004 infloop.
4005 (shr-insert): Fill repeatedly long texts, so that Japanese is
4006 formatted correctly (bug#16263).
4007 (shr-find-fill-point): Off by one error in comparison with the
4008 indentation.
4009
4010 2013-12-26 João Távora <joaotavora@gmail.com>
4011
4012 * electric.el (electric-pair-mode): More flexible engine for skip-
4013 and inhibit predicates, new options for pairing-related functionality.
4014 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
4015 if that keeps or improves their balance in buffers.
4016 (electric-pair-delete-adjacent-pairs): Delete the pair when
4017 backspacing over adjacent matched delimiters.
4018 (electric-pair-open-extra-newline): Open extra newline when
4019 inserting newlines between adjacent matched delimiters.
4020 (electric--sort-post-self-insertion-hook):
4021 Sort post-self-insert-hook according to priority values when
4022 minor-modes are activated.
4023 * simple.el (newline-and-indent): Call newline with interactive
4024 set to t.
4025 (blink-paren-post-self-insert-function): Set priority to 100.
4026 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4027 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
4028 comments. Locally set electric-pair-skip-whitespace to 'chomp and
4029 electric-pair-open-newline-between-pairs to nil.
4030
4031 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
4032
4033 * progmodes/python.el: Use lexical-binding.
4034 (python-nav-beginning-of-defun): Stop searching ASAP.
4035
4036 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
4037
4038 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
4039 Fix interactive spec. Doc fix. (Bug#15754)
4040
4041 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
4042
4043 * emacs-lisp/byte-run.el (eval-when-compile):
4044 * progmodes/cc-defs.el (cc-eval-when-compile):
4045 Fix edebug spec (bug#16184).
4046
4047 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4048
4049 * net/shr.el (shr-visit-file): Remove debugging function.
4050 (shr-insert): Don't infloop if we can't find a good place to break
4051 the line (bug#16256).
4052
4053 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
4054
4055 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
4056 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
4057 python-nav-lisp-forward-sexp-safe.
4058 (python-nav--forward-sexp): New argument SAFE allows switching
4059 forward sexp movement behavior for parens.
4060 (python-nav-forward-sexp): Throw errors on unterminated parens
4061 (Bug#16191).
4062 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
4063 (python-nav-backward-sexp-safe): New functions.
4064 (python-shell-buffer-substring):
4065 Use `python-nav-forward-sexp-safe'.
4066
4067 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4068
4069 * net/shr.el (shr-find-fill-point): Don't break lines before a
4070 quotation mark.
4071 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
4072 (shr-find-fill-point): Remove the special checks for the quotation
4073 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
4074
4075 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4076
4077 * net/eww.el (eww-form-textarea): Use a different face for
4078 textareas than text input since they have different keymaps
4079 (bug#16142).
4080
4081 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
4082
4083 * progmodes/python.el (python-nav-beginning-of-statement):
4084 Speed up (Bug#15295).
4085
4086 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4087
4088 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
4089 the window configuration.
4090
4091 2013-12-24 Eli Zaretskii <eliz@gnu.org>
4092
4093 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
4094 we run on MS-Windows or MS-DOS.
4095
4096 2013-12-24 Martin Rudalics <rudalics@gmx.at>
4097
4098 * window.el (balance-windows-area): Call window-size instead of
4099 window-height and window-width. Bug#16241.
4100
4101 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4102
4103 * net/eww.el (eww-bookmark-quit): Remove.
4104 (eww-bookmark-browse): Restore the window configuration when you
4105 choose a bookmark (bug#16144).
4106
4107 2013-12-24 Daniel Colascione <dancol@dancol.org>
4108
4109 * icomplete.el: Remove redundant :group arguments to `defcustom'
4110 throughout.
4111 (icomplete-show-matches-on-no-input): New customizable variable.
4112 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
4113 we have something to show.
4114 (icomplete-exhibit): Compute completions even if we have no user input.
4115
4116 2013-12-23 Daniel Colascione <dancol@dancol.org>
4117
4118 * icomplete.el: Move `provide' to end of file.
4119
4120 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
4121
4122 * net/gnutls.el (gnutls-verify-error): Add version tag.
4123
4124 2013-12-23 Chong Yidong <cyd@gnu.org>
4125
4126 * subr.el (set-transient-map): Rename from
4127 set-temporary-overlay-map. Doc fix.
4128
4129 * face-remap.el (text-scale-adjust):
4130 * indent.el (indent-rigidly):
4131 * kmacro.el (kmacro-call-macro):
4132 * minibuffer.el (minibuffer-force-complete):
4133 * repeat.el (repeat):
4134 * simple.el (universal-argument--mode):
4135 * calendar/todo-mode.el (todo-insert-item--next-param):
4136 * progmodes/f90.el (f90-abbrev-start): Callers changed.
4137
4138 * indent.el (indent-rigidly): Use substitute-command-keys.
4139
4140 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4141
4142 * net/eww.el (eww-tag-select): Add text-property to jump to next
4143 select field.
4144 (eww): Add non-supported ftp error.
4145
4146 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4147
4148 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
4149 comments. Handle electric indent after typing `?' and `!'.
4150
4151 2013-12-22 Chong Yidong <cyd@gnu.org>
4152
4153 * faces.el (face-spec-recalc): If the theme specs are not
4154 applicable to a frame, fall back on the defface spec.
4155 This prevents themes from obliterating faces on low-color terminals.
4156
4157 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4158
4159 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
4160 after `{'. We need it after block openers, and it doesn't seem
4161 to hurt after hash openers.
4162
4163 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4164
4165 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
4166 extracted from `ruby-smie-rules'.
4167 (ruby--electric-indent-chars): New variable.
4168 (ruby--electric-indent-p): New function.
4169 (ruby-mode): Use `electric-indent-functions' instead of
4170 `electric-indent-chars'.
4171
4172 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4173
4174 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
4175 docstring.
4176 (ruby-smie-rules): Indent plus one level after `=>'.
4177
4178 2013-12-21 Richard Stallman <rms@gnu.org>
4179
4180 * simple.el (newline): Doc fix.
4181
4182 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4183
4184 * net/eww.el (eww-list-histories, eww-list-histories)
4185 (eww-history-browse, eww-history-quit, eww-history-kill)
4186 (eww-history-mode-map, eww-history-mode): New command and
4187 functions to list browser histories.
4188 (eww-form-text): Support text form with disabled
4189 and readonly attributes.
4190 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
4191
4192 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4193
4194 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
4195 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
4196 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
4197 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
4198 Use `user-error'.
4199 (eww-bookmark-mode-map): Add menu.
4200 (eww-render, eww-mode): Use `setq-local'.
4201 (eww-tool-bar-map): New variable.
4202 (eww-mode): Set `tool-bar-map'.
4203 (eww-view-source): Check for `html-mode' with `fboundp'.
4204
4205 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4206
4207 * net/shr.el (shr--extract-best-source): Don't bug out on audio
4208 elements with text inside. Also remove debugging.
4209
4210 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
4211
4212 * cus-start.el (all): Add ns-use-srgb-colorspace.
4213
4214 2013-12-21 Chong Yidong <cyd@gnu.org>
4215
4216 * custom.el (custom-theme-recalc-face): Do nothing if the face is
4217 undefined. Thus, theme settings for undefined faces do not take
4218 effect until the faces are defined with defface, the same as with
4219 theme variables.
4220
4221 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
4222 (face-spec-reset-face): Don't assign extra properties in temacs.
4223 (face-spec-recalc): Apply X resources too.
4224
4225 2013-12-21 Chong Yidong <cyd@gnu.org>
4226
4227 * faces.el (face-spec-set):
4228 * cus-face.el (custom-theme-set-faces, custom-set-faces):
4229 * custom.el (defface): Doc fixes (Bug#16203).
4230
4231 * indent.el (indent-rigidly-map): Add docstring, and move commands
4232 into named functions.
4233 (indent-rigidly-left, indent-rigidly-right)
4234 (indent-rigidly-left-to-tab-stop)
4235 (indent-rigidly-right-to-tab-stop): New functions. Decide on
4236 indentation direction based on bidi direction, and accumulate
4237 sequential commands in a single undo boundary.
4238 (indent-rigidly--pop-undo): New utility function.
4239
4240 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
4241
4242 * faces.el (read-face-name): Require crm.el when using crm-separator.
4243
4244 2013-12-20 Daniel Colascione <dancol@dancol.org>
4245
4246 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
4247 so that we don't reflow comments into the shebang line.
4248
4249 2013-12-20 Juri Linkov <juri@jurta.org>
4250
4251 * saveplace.el (save-place-to-alist): Add `dired-filename' as
4252 a position when `dired-directory' is non-nil. Check integer
4253 positions with `integerp'.
4254 (toggle-save-place, save-places-to-alist): Add check for
4255 `dired-directory'.
4256 (save-place-find-file-hook): Check integer positions with
4257 `integerp'.
4258 (save-place-dired-hook): Use `dired-goto-file' when
4259 `dired-filename' is found in the assoc list. Check integer
4260 positions with `integerp'.
4261 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
4262
4263 * dired.el (dired-initial-position-hook): Rename back from
4264 `dired-initial-point-hook'.
4265 (dired-initial-position): Rename `dired-initial-point-hook' to
4266 `dired-initial-position-hook'.
4267 (dired-file-name-at-point): Doc fix. (Bug#15329)
4268
4269 2013-12-20 Juri Linkov <juri@jurta.org>
4270
4271 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
4272 (read-regexp-suggestions): New function.
4273 (read-regexp): Use `read-regexp-defaults-function' to get default values.
4274 Use `read-regexp-suggestions'. Add non-empty default to history
4275 for empty input.
4276 (occur-read-regexp-defaults-function): Remove function.
4277 (occur-read-primary-args): Use `regexp-history-last' instead of
4278 `occur-read-regexp-defaults-function'.
4279
4280 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
4281 (hi-lock-line-face-buffer, hi-lock-face-buffer)
4282 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
4283 `hi-lock-read-regexp-defaults-function'. Doc fix.
4284 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
4285 with `find-tag-default-as-symbol-regexp'. Doc fix.
4286 (hi-lock-read-regexp-defaults): Remove function.
4287 (hi-lock-regexp-okay): Add check for null.
4288
4289 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
4290 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
4291
4292 * subr.el (find-tag-default-as-symbol-regexp): New function.
4293 (find-tag-default-as-regexp): Move symbol regexp formatting to
4294 `find-tag-default-as-symbol-regexp'.
4295
4296 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
4297
4298 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
4299 (Bug#14179)
4300
4301 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
4302
4303 * calendar/todo-mode.el: New implementation of item insertion
4304 commands and key bindings.
4305 (todo-key-prompt): New face.
4306 (todo-insert-item): New command.
4307 (todo-insert-item--parameters): New defconst, replacing defvar
4308 todo-insertion-commands-args-genlist.
4309 (todo-insert-item--param-key-alist): New defconst, replacing
4310 defvar todo-insertion-commands-arg-key-list.
4311 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
4312 (todo-insert-item--argsleft, todo-insert-item--apply-args)
4313 (todo-insert-item--next-param): New functions.
4314 (todo-insert-item--args, todo-insert-item--argleft)
4315 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
4316 New variables.
4317 (todo-key-bindings-t): Change binding of "i" from
4318 todo-insertion-map to todo-insert-item.
4319 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
4320 (todo-insertion-command-name, todo-insertion-commands-names)
4321 (todo-define-insertion-command, todo-insertion-commands)
4322 (todo-insertion-key-bindings, todo-insertion-map): Remove.
4323
4324 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
4325
4326 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
4327 (todo-toggle-item-highlighting): Use eval-and-compile instead of
4328 eval-when-compile.
4329 (todo-move-category): Allow choosing a non-existing todo file to
4330 move the category to, and create that file.
4331 (todo-default-priority): New user option.
4332 (todo-set-item-priority): Use it.
4333 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
4334 (desktop-restore-file-buffer): Declare.
4335 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
4336 (todo-modes-set-2): Locally set desktop-save-buffer to
4337 todo-desktop-save-buffer.
4338 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
4339 (auto-mode-alist): Add autoload cookie.
4340
4341 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
4342
4343 * emacs-lisp/subr-x.el: Renamed from helpers.el.
4344 helpers.el was a poor choice of name.
4345 (string-remove-prefix): New function.
4346 (string-remove-suffix): New function.
4347
4348 2013-12-20 Martin Rudalics <rudalics@gmx.at>
4349
4350 Fix assignment for new window total sizes.
4351 * window.el (window--pixel-to-size): Remove function.
4352 (window--pixel-to-total-1, window--pixel-to-total):
4353 Fix calculation of new total sizes.
4354
4355 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
4356
4357 * comint.el (comint-output-filter): Fix rear-nonsticky property
4358 placement (Bug#16010).
4359
4360 2013-12-20 Chong Yidong <cyd@gnu.org>
4361
4362 * faces.el (read-color): Minor fix for completion function.
4363
4364 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
4365
4366 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
4367 New option. (Bug#16182)
4368 (ruby-smie--indent-to-stmt-p): Use it.
4369 (ruby-smie-rules): Revert the logic in the handling of `when'.
4370 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
4371 (ruby-deep-arglist, ruby-deep-indent-paren)
4372 (ruby-deep-indent-paren-style): Update docstrings to note that the
4373 vars don't have any effect with SMIE.
4374
4375 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
4376
4377 * calc/calc.el (calc-enter, calc-pop): Use the variable
4378 `calc-context-sensitive-enter'.
4379
4380 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
4381
4382 * net/shr.el (shr-insert): Protect against infloops in degenerate
4383 tables.
4384
4385 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4386
4387 * progmodes/octave.el (octave): Add link to manual and octave
4388 homepage.
4389 (octave-mode-menu): Link to octave-mode manual.
4390
4391 2013-12-20 Leo Liu <sdl.web@gmail.com>
4392
4393 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
4394 insertion using skeleton-end-newline. (Bug#16138)
4395
4396 2013-12-20 Juri Linkov <juri@jurta.org>
4397
4398 * replace.el (occur-engine): Use `add-face-text-property'
4399 to add the face property to matches and titles. (Bug#14645)
4400
4401 * hi-lock.el (hi-green): Use lighter color "light green" closer to
4402 the palette of other hi-lock colors.
4403 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
4404
4405 2013-12-19 Juri Linkov <juri@jurta.org>
4406
4407 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
4408 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
4409 (minibuffer-history-symbol): Move variable declaration closer to
4410 its usage.
4411
4412 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
4413 (Bug#14785)
4414
4415 2013-12-19 Juri Linkov <juri@jurta.org>
4416
4417 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
4418 New function.
4419 (log-edit-hook): Add it to :options. (Bug#16170)
4420
4421 2013-12-19 Juri Linkov <juri@jurta.org>
4422
4423 * simple.el (eval-expression-print-format): Don't check for
4424 command names and the last command. Always display additional
4425 formats of the integer result in the echo area, and insert them
4426 to the current buffer only with a zero prefix arg.
4427 Display character when char-displayable-p is non-nil.
4428 (eval-expression): With a zero prefix arg, set `print-length' and
4429 `print-level' to nil, and insert the integer values from
4430 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
4431
4432 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
4433 `eval-last-sexp-arg-internal'. Doc fix.
4434 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
4435 `eval-last-sexp-print-value'. Doc fix.
4436 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
4437 Set `print-length' and `print-level' to nil when arg is zero.
4438 (eval-last-sexp): Doc fix.
4439 (eval-defun-2): Print the integer values from
4440 `eval-expression-print-format' at the end.
4441
4442 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
4443 values from `eval-expression-print-format' at the end.
4444
4445 * ielm.el (ielm-eval-input): Print the integer
4446 values from `eval-expression-print-format' at the end.
4447
4448 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
4449
4450 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
4451 2013-12-11T19:01:44Z!tzz@lifelogs.com.
4452
4453 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
4454
4455 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
4456 (hl-line-highlight, global-hl-line-highlight): Use it.
4457 (hl-line-overlay): Use defvar-local.
4458
4459 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
4460
4461 * term/ns-win.el: Require dnd.
4462 (global-map): Remove drag items.
4463 (ns-insert-text, ns-set-foreground-at-mouse)
4464 (ns-set-background-at-mouse):
4465 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
4466 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
4467 New functions.
4468
4469 2013-12-19 Glenn Morris <rgm@gnu.org>
4470
4471 * emacs-lisp/ert.el (ert-select-tests):
4472 Fix string/symbol mixup. (Bug#16121)
4473
4474 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
4475
4476 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
4477 keywords to their parent.
4478
4479 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
4480
4481 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
4482 first arg to be a string (fixed dead code), or an operator symbol.
4483 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
4484 operator symbols.
4485 (ruby-smie-rules): Remove parent token check in the `.' clause, it
4486 did nothing. Don't respond to `(:after ".")', it will be called
4487 with :before anyway. Remove the ` @ ' rule, it didn't seem to
4488 change anything. Only return indentation for binary operators
4489 when they are hanging. De-dent opening paren when its parent is
4490 `.', otherwise it looks bad when the dot is not at bol or eol
4491 (bug#16182).
4492
4493 2013-12-19 Juri Linkov <juri@jurta.org>
4494
4495 * replace.el (query-replace-read-args): Split a non-negative arg
4496 and a negative arg into separate elements.
4497 (query-replace, query-replace-regexp, replace-string)
4498 (replace-regexp): Add arg `backward'. Doc fix.
4499 (replace-match-maybe-edit): When new arg `backward' is non-nil,
4500 move point to the beginning of the match.
4501 (replace-search, replace-highlight): Use new arg `backward'
4502 to set the value of `isearch-forward'.
4503 (perform-replace): Add arg `backward' and use it to perform
4504 replacement backward. (Bug#14979)
4505
4506 * isearch.el (isearch-query-replace): Use a negative prefix arg
4507 to call `perform-replace' with a non-nil arg `backward'.
4508
4509 2013-12-18 Juri Linkov <juri@jurta.org>
4510
4511 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
4512 to the default list. Move `log-edit-show-files' to the end.
4513 Add more available functions to options.
4514 (log-edit): Move default specific settings to
4515 `log-edit-insert-message-template'. Don't move point.
4516 (log-edit-insert-message-template): New function.
4517 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
4518 (Bug#16170)
4519
4520 2013-12-18 Juri Linkov <juri@jurta.org>
4521
4522 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
4523 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
4524
4525 2013-12-18 Leo Liu <sdl.web@gmail.com>
4526
4527 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
4528 (Bug#16186)
4529
4530 2013-12-18 Eli Zaretskii <eliz@gnu.org>
4531
4532 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
4533 formats for displaying file sizes when the -s switch is given.
4534 Instead, compute a separate format for displaying the size in
4535 blocks, which is displayed in addition to the "regular" size.
4536 When -h is given in addition to -s, produce size in blocks in
4537 human-readable form as well. (Bug#16179)
4538
4539 2013-12-18 Tassilo Horn <tsdh@gnu.org>
4540
4541 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
4542 Reference tables with ~\ref{...} instead of only \ref{...}.
4543
4544 2013-12-18 Chong Yidong <cyd@gnu.org>
4545
4546 * cus-edit.el (custom-magic-alist): Fix "themed" description
4547 (Bug#14348).
4548
4549 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
4550 is non-nil, do not create a new entry in the symbol's theme-value
4551 or theme-face property; update theme-settings only (Bug#14664).
4552 (custom-available-themes): Doc fix.
4553
4554 * cus-theme.el (custom-new-theme-mode-map): Add bindings
4555 (Bug#15674).
4556
4557 * replace.el (occur-engine): Avoid infloop (Bug#7593).
4558
4559 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
4560
4561 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
4562 (Bug#13914).
4563
4564 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
4565
4566 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
4567
4568 2013-12-18 Glenn Morris <rgm@gnu.org>
4569
4570 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
4571 * cus-start.el (load-prefer-newer): New option.
4572
4573 2013-12-18 Le Wang <l26wang@gmail.com>
4574
4575 * comint.el (comint-previous-matching-input-from-input):
4576 Retain point (Bug#13404).
4577
4578 2013-12-18 Chong Yidong <cyd@gnu.org>
4579
4580 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
4581
4582 2013-12-18 Glenn Morris <rgm@gnu.org>
4583
4584 * mail/emacsbug.el (report-emacs-bug):
4585 Only mention enable-multibyte-characters if non-standard.
4586
4587 2013-12-17 Juri Linkov <juri@jurta.org>
4588
4589 * arc-mode.el (archive-extract-by-file): Check if directory exists
4590 before deletion to not show irrelevant errors if it doesn't exist.
4591
4592 2013-12-17 Juri Linkov <juri@jurta.org>
4593
4594 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
4595 (Bug#14751)
4596
4597 * net/eww.el (browse-web): Add alias to `eww'.
4598 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
4599 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
4600
4601 * net/browse-url.el (browse-url-browser-function): Move `eww'
4602 closer to similar functions.
4603
4604 * startup.el (fancy-startup-screen, fancy-about-screen):
4605 Set browse-url-browser-function to eww-browse-url locally.
4606 (Bug#14751)
4607
4608 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
4609
4610 * window.el (window--pixel-to-total): Remove unused `mini' var.
4611 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
4612 (split-window): Remove unused `new' var.
4613 (window--display-buffer): Remove unused `frame' and `delta' vars.
4614 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
4615 and display-width'.
4616
4617 2013-12-17 Martin Rudalics <rudalics@gmx.at>
4618
4619 * dired.el (dired-mark-pop-up):
4620 * register.el (register-preview): Don't bind
4621 split-height-threshold here since it's now done in
4622 display-buffer-below-selected.
4623
4624 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
4625
4626 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
4627 xterm-rgb-convert-to-16bit.
4628 (rxvt-register-default-colors): Standardize with
4629 xterm-register-default-colors (Bug#14078).
4630
4631 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
4632
4633 * simple.el (kill-region): Pass mark first, then point, so that
4634 kill-append works right (Bug#12819).
4635 (copy-region-as-kill, kill-ring-save): Likewise.
4636
4637 2013-12-17 Leo Liu <sdl.web@gmail.com>
4638
4639 * net/rcirc.el (rcirc-add-face):
4640 * eshell/em-prompt.el (eshell-emit-prompt):
4641 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
4642 (Bug#16167)
4643
4644 2013-12-17 Chong Yidong <cyd@gnu.org>
4645
4646 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
4647 Suggested by Xue Fuqiao.
4648
4649 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
4650
4651 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
4652
4653 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
4654
4655 * net/shr.el (shr-insert-document): Remove unused var
4656 `shr-preliminary-table-render'.
4657 (shr-rescale-image): Remove unused arg `force'.
4658 (shr-put-image): Update calls accordingly.
4659 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
4660
4661 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
4662
4663 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
4664 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
4665 :close-all, to see which indentation method to use (Bug#16116).
4666 (smie-rules-function): Document the method :close-all.
4667
4668 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4669
4670 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
4671
4672 * net/eww.el (eww-display-html): If we can't find the anchor we're
4673 looking for, then go to point-min.
4674
4675 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
4676
4677 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
4678 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
4679 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
4680 Expand dir too, in case it's relative.
4681
4682 2013-12-16 Juri Linkov <juri@jurta.org>
4683
4684 * desktop.el (desktop-auto-save-timeout): Change default to
4685 `auto-save-timeout'. Doc fix.
4686 (desktop-save): Skip the timestamp in desktop-saved-frameset
4687 when checking for auto-save changes.
4688 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
4689 `desktop-auto-save' is called repeatedly by the idle timer.
4690 (desktop-auto-save-set-timer): Replace `run-with-timer' with
4691 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
4692 (Bug#15331)
4693
4694 2013-12-16 Juri Linkov <juri@jurta.org>
4695
4696 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
4697 (Bug#16035)
4698 (isearch-pre-command-hook): Check `this-command' for symbolp.
4699
4700 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
4701
4702 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
4703
4704 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
4705
4706 * progmodes/cfengine.el (cfengine3--current-word): Remove.
4707 (cfengine3--current-function): Bring in the current-function
4708 functionality from `cfengine3--current-word'.
4709 (cfengine3-completion-function): Bring in the
4710 bounds-of-current-word functionality from
4711 `cfengine3--current-word'.
4712
4713 2013-12-16 Martin Rudalics <rudalics@gmx.at>
4714
4715 * window.el (display-buffer-below-selected):
4716 Bind split-height-threshold to 0 as suggested by Juri Linkov.
4717
4718 2013-12-16 Leo Liu <sdl.web@gmail.com>
4719
4720 * progmodes/compile.el (compile-goto-error): Do not push-mark.
4721 Remove NOMSG arg and all uses changed.
4722
4723 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
4724
4725 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
4726 (cua--deactivate-rectangle): Don't deactivate the mark.
4727 (cua-set-rectangle-mark): Don't set mark-active since
4728 cua--activate-rectangle already does it for us.
4729 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
4730 non-rectangular region.
4731
4732 * emulation/cua-base.el (cua-repeat-replace-region):
4733 Use with-current-buffer.
4734
4735 * net/gnutls.el: Use cl-lib.
4736 (gnutls-negotiate): `mapcan' -> cl-mapcan.
4737
4738 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
4739
4740 * emacs-lisp/package.el (package-built-in-p): Support both
4741 built-in and the package.el converted package descriptions.
4742 (package-show-package-list): Allow keywords.
4743 (package-keyword-button-action): Use it instead of
4744 `finder-list-matches'.
4745 (package-menu-filter-interactive): Interactive filtering (by
4746 keyword) function.
4747 (package-menu--generate): Support keywords and change keymappings
4748 and headers when they are given.
4749 (package--has-keyword-p): Helper function.
4750 (package-menu--refresh): Use it.
4751 (package--mapc): Helper function.
4752 (package-all-keywords): Use it.
4753 (package-menu-mode-map): Set up menu items and keybindings to
4754 provide a filtering UI.
4755
4756 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
4757
4758 * net/gnutls.el (gnutls-verify-error): New defcustom to control
4759 the behavior when a certificate fails validation. Defaults to
4760 old behavior: never abort, just warn.
4761 (gnutls-negotiate): Use it.
4762
4763 2013-12-14 Martin Rudalics <rudalics@gmx.at>
4764
4765 * window.el (display-buffer-below-selected): Never split window
4766 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
4767
4768 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
4769
4770 * emacs-lisp/package.el (package--prepare-dependencies): New function.
4771 (package-buffer-info): Use it (bug#15108).
4772
4773 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
4774
4775 * icomplete.el (icomplete-completions): Make sure the prefix is already
4776 displayed elsewhere before hiding it (bug#16219).
4777
4778 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
4779
4780 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
4781 open-paren tokens when preceded by a open-paren, too.
4782 (ruby-smie-rules): Handle virtual indentation after open-paren
4783 tokens specially. If there is code between it and eol, return the
4784 column where is starts (Bug#16118).
4785
4786 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
4787
4788 * progmodes/cfengine.el: Fix `add-hook' doc.
4789 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
4790 (cfengine3--current-word): Fix parameters.
4791 (cfengine3-make-syntax-cache): Simplify further.
4792 (cfengine3-completion-function, cfengine3--current-function):
4793 Use `assq' for symbols.
4794 (cfengine3--current-function): Fix `cfengine3--current-word' call.
4795
4796 2013-12-13 Glenn Morris <rgm@gnu.org>
4797
4798 * loadup.el (load-path): Warn if site-load or site-init changes it.
4799 No more need to reset it when bootstrapping.
4800
4801 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
4802
4803 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
4804 locations for cf-promises.
4805 (cfengine-mode-syntax-functions-regex): New caching variable.
4806 (cfengine3-fallback-syntax): Fallback syntax for cases where
4807 cf-promises doesn't run.
4808 (cfengine3--current-word): Reimplement using
4809 `cfengine-mode-syntax-functions-regex'.
4810 (cfengine3-completion-function, cfengine3--current-function):
4811 Use `cfengine3-make-syntax-cache' directly.
4812 (cfengine3-clear-syntax-cache): New function.
4813 (cfengine3-make-syntax-cache): Simplify and create
4814 `cfengine-mode-syntax-functions-regex' on demand.
4815 (cfengine3-format-function-docstring): Don't call
4816 `cfengine3-make-syntax-cache' explicitly.
4817
4818 2013-12-13 Martin Rudalics <rudalics@gmx.at>
4819
4820 Fix windmove-find-other-window broken after pixelwise resizing
4821 (Bug#16017).
4822 * windmove.el (windmove-other-window-loc): Revert change from
4823 2013-12-04.
4824 (windmove-find-other-window): Call window-in-direction.
4825 * window.el (window-in-direction): New arguments SIGN, WRAP and
4826 MINI to emulate original windmove-find-other-window behavior.
4827
4828 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
4829
4830 * simple.el (blink-matching--overlay): New variable.
4831 (blink-matching-open): Instead of moving point, highlight the
4832 matching paren with an overlay
4833 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
4834
4835 * faces.el (paren-showing-faces, show-paren-match)
4836 (show-paren-mismatch): Move from paren.el.
4837
4838 2013-12-13 Leo Liu <sdl.web@gmail.com>
4839
4840 * indent.el (indent-region): Disable progress reporter in
4841 minibuffer. (Bug#16108)
4842
4843 * bindings.el (visual-order-cursor-movement): Fix version.
4844
4845 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4846
4847 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
4848 Also match after beginning of line.
4849 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
4850 files. Thanks to Russell Sim. (Bug#15378)
4851
4852 2013-12-13 Juri Linkov <juri@jurta.org>
4853
4854 * simple.el <Keypad support>: Remove key bindings duplicated
4855 with bindings.el. (Bug#14397)
4856
4857 2013-12-13 Juri Linkov <juri@jurta.org>
4858
4859 * comint.el (comint-mode-map): Replace `delete-char' with
4860 `delete-forward-char'. (Bug#16109)
4861
4862 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
4863
4864 * progmodes/python.el (python-indent-calculate-indentation):
4865 Fix de-denters cornercase. (Bug#15731)
4866
4867 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
4868
4869 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
4870 (advice--make): Pay attention to `depth'.
4871 (advice--make-1): Don't autoload commands eagerly.
4872 * emacs-lisp/elp.el (elp-instrument-function):
4873 * emacs-lisp/trace.el (trace-function-internal):
4874 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
4875
4876 * iswitchb.el (iswitchb-mode): Don't belittle ido.
4877
4878 2013-12-12 Eli Zaretskii <eliz@gnu.org>
4879
4880 * term/w32-win.el (w32-handle-dropped-file):
4881 * startup.el (normal-top-level):
4882 * net/browse-url.el (browse-url-file-url):
4883 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
4884 decode file names using 'utf-8' rather than
4885 file-name-coding-system.
4886
4887 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
4888
4889 * progmodes/python.el (python-indent-context)
4890 (python-indent-calculate-indentation): Fix auto-identation
4891 behavior for comment blocks. (Bug#15916)
4892
4893 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4894
4895 * progmodes/python.el (python-indent-calculate-indentation):
4896 When determining indentation, don't treat "return", "pass", etc., as
4897 operators when they are just string constituents. (Bug#15812)
4898
4899 2013-12-12 Juri Linkov <juri@jurta.org>
4900
4901 * uniquify.el (uniquify-buffer-name-style): Change default to
4902 `post-forward-angle-brackets'.
4903
4904 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
4905 `uniquify'. Change default to `post-forward-angle-brackets'.
4906
4907 2013-12-11 Glenn Morris <rgm@gnu.org>
4908
4909 * emacs-lisp/package.el (finder-list-matches):
4910 Autoload rather than falsely declaring.
4911
4912 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
4913
4914 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
4915 (eww-mode-map): Use them.
4916
4917 2013-12-11 Martin Rudalics <rudalics@gmx.at>
4918
4919 * window.el (display-buffer-in-side-window): Fix doc-string
4920 (Bug#16115).
4921
4922 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
4923
4924 * vc/vc-git.el: Silence byte-compiler warnings.
4925 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
4926 (log-edit-set-header): Declare.
4927
4928 2013-12-11 Eli Zaretskii <eliz@gnu.org>
4929
4930 * Makefile.in (custom-deps, finder-data): Run output file names
4931 through unmsys--file-name. (Bug#16099)
4932
4933 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
4934
4935 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
4936 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
4937
4938 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
4939 instead of deleting the selection "by hand" (bug#16098).
4940 Rely on insert-for-yank to yank rectangles.
4941 (cua-highlight-region-shift-only): Mark obsolete.
4942 (cua-mode): Don't enable/disable transient-mark-mode,
4943 shift-select-mode (cua-mode works both with and without them), and
4944 pc-selection-mode (obsolete).
4945 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
4946 (cua--deactivate-rectangle): Deactivate it.
4947
4948 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
4949 (delete-selection-helper): Make sure yank starts at the top of the
4950 deleted region.
4951 (minibuffer-keyboard-quit): Use region-active-p.
4952
4953 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
4954
4955 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
4956 to `delete' (bug#16109).
4957
4958 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4959
4960 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
4961 info manual and show keybindings and set `:group' keyword.
4962
4963 2013-12-11 Juri Linkov <juri@jurta.org>
4964
4965 * delsel.el (delete-active-region): Let-bind `this-command'
4966 to prevent `kill-region' from changing its original value.
4967 (delete-selection-helper): Handle `overwrite-mode' for the type
4968 `kill' exactly the same way as for the type `t'.
4969 (insert-char, quoted-insert, reindent-then-newline-and-indent):
4970 Support more commands. (Bug#13312)
4971
4972 2013-12-11 Juri Linkov <juri@jurta.org>
4973
4974 * bindings.el: Map kp keys to non-kp keys systematically
4975 with basic modifiers control, meta and shift. (Bug#14397)
4976
4977 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4978
4979 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
4980 "Close browser" menu items. Fix wrong function of "List
4981 bookmarks".
4982
4983 2013-12-11 Juri Linkov <juri@jurta.org>
4984
4985 * misearch.el (multi-isearch-buffers): Set the value of
4986 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
4987 arg of isearch-forward to t.
4988 (multi-isearch-buffers-regexp): Set the value of
4989 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
4990 arg of isearch-forward-regexp to t.
4991 (multi-isearch-files): Set the value of
4992 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
4993 arg of isearch-forward to t.
4994 (multi-isearch-files-regexp): Set the value of
4995 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
4996 arg of isearch-forward-regexp to t. (Bug#16035)
4997
4998 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
4999 arg of isearch-forward to t.
5000 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
5001 arg of isearch-forward-regexp to t.
5002 (dired-isearch-filter-filenames): Remove unnecessary check for
5003 `dired-isearch-filenames'.
5004
5005 * comint.el (comint-history-isearch-backward):
5006 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
5007 (comint-history-isearch-backward-regexp):
5008 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
5009
5010 2013-12-10 Eli Zaretskii <eliz@gnu.org>
5011
5012 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
5013 unmsys--file-name. (Bug#16099)
5014
5015 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
5016
5017 * emacs-lisp/package.el (package-keyword-button-action):
5018 Remove finder.el require dependency.
5019
5020 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
5021
5022 * emacs-lisp/package.el: Require finder.el.
5023 (describe-package-1): Add keyword buttons.
5024 (package-make-button): New convenience function.
5025 (package-keyword-button-action): Keyword button action using
5026 `finder-list-matches'.
5027
5028 2013-12-09 Eli Zaretskii <eliz@gnu.org>
5029
5030 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
5031 last commit.
5032
5033 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
5034
5035 * autorevert.el (auto-revert-notify-add-watch): Do not handle
5036 symlinked files.
5037
5038 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5039
5040 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5041 after the end of a percent literal.
5042
5043 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
5044
5045 * progmodes/ruby-mode.el (ruby-forward-string): Document.
5046 Handle caret-delimited strings (Bug#16079).
5047
5048 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5049
5050 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
5051 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
5052 `ruby-parse-partial' (Bug#16078).
5053
5054 2013-12-09 Leo Liu <sdl.web@gmail.com>
5055
5056 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
5057
5058 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
5059
5060 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
5061 (js-switch-indent-offset): New option.
5062 (js--proper-indentation): Use it. And handle the case when
5063 "default" is actually a key in an object literal.
5064 (js--same-line): New function.
5065 (js--multi-line-declaration-indentation): Use it.
5066 (js--indent-in-array-comp, js--array-comp-indentation):
5067 New functions.
5068 (js--proper-indentation): Use them, to handle array comprehension
5069 continuations.
5070
5071 2013-12-08 Leo Liu <sdl.web@gmail.com>
5072
5073 * progmodes/flymake.el (flymake-highlight-line): Re-write.
5074 (flymake-make-overlay): Remove arg MOUSE-FACE.
5075 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
5076
5077 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5078
5079 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
5080 New function.
5081 (redisplay-highlight-region-function): Use it.
5082
5083 * emulation/cua-base.el (cua--explicit-region-start)
5084 (cua--last-region-shifted): Remove.
5085 (cua--deactivate): Use deactivate-mark.
5086 (cua--pre-command-handler-1): Don't handle shift-selection.
5087 (cua--post-command-handler-1): Don't change transient-mark-mode.
5088 (cua--select-keymaps): Use region-active-p rather than
5089 cua--explicit-region-start or cua--last-region-shifted.
5090 (cua-mode): Enable shift-select-mode.
5091
5092 2013-12-08 Leo Liu <sdl.web@gmail.com>
5093
5094 * progmodes/flymake.el (flymake-popup-current-error-menu):
5095 Rename from flymake-display-err-menu-for-current-line. Reimplement.
5096 (flymake-posn-at-point-as-event, flymake-popup-menu)
5097 (flymake-make-emacs-menu): Remove. (Bug#16077)
5098
5099 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5100
5101 * rect.el (rectangle-mark-mode): Activate mark even if
5102 transient-mark-mode is off (bug#16066).
5103 (rectangle--highlight-for-redisplay): Fix boundary condition when point
5104 is > mark and at bolp.
5105
5106 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
5107 (region-extract-function): Use it.
5108 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
5109 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
5110 Delete functions.
5111 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
5112 kill-ring-save, kill-region, delete-char, delete-forward-char.
5113 Ignore self-insert-iso.
5114
5115 * emulation/cua-gmrk.el (cua--init-global-mark):
5116 Ignore `self-insert-iso'.
5117
5118 * emulation/cua-base.el (cua--prefix-copy-handler)
5119 (cua--prefix-cut-handler): Rely on region-extract-function rather than
5120 checking cua--rectangle.
5121 (cua-delete-region): Use region-extract-function.
5122 (cua-replace-region): Delete function.
5123 (cua-copy-region, cua-cut-region): Obey region-extract-function.
5124 (cua--pre-command-handler-1): Don't do the delete-selection thing.
5125 (cua--self-insert-char-p): Ignore `self-insert-iso'.
5126 (cua--init-keymaps): Don't remap delete-selection commands.
5127 (cua-mode): Use delete-selection-mode instead of rolling our own
5128 (bug#16085).
5129
5130 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
5131 Obey region-extract-function.
5132
5133 Make registers and delete-selection-mode work on rectangles.
5134 * register.el (describe-register-1): Don't modify the register's value.
5135 (copy-to-register): Obey region-extract-function.
5136 * delsel.el (delete-active-region): Obey region-extract-function.
5137
5138 2013-12-08 Leo Liu <sdl.web@gmail.com>
5139
5140 * progmodes/flymake.el (flymake, flymake-error-bitmap)
5141 (flymake-warning-bitmap, flymake-fringe-indicator-position)
5142 (flymake-compilation-prevents-syntax-check)
5143 (flymake-start-syntax-check-on-newline)
5144 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
5145 (flymake-start-syntax-check-on-find-file, flymake-log-level)
5146 (flymake-xml-program, flymake-master-file-dirs)
5147 (flymake-master-file-count-limit)
5148 (flymake-allowed-file-name-masks): Relocate.
5149 (flymake-makehash, flymake-float-time)
5150 (flymake-replace-regexp-in-string, flymake-split-string)
5151 (flymake-get-temp-dir): Remove.
5152 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
5153 (flymake-current-row, flymake-selected-frame)
5154 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
5155 related functions. (Bug#16077)
5156
5157 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
5158
5159 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
5160
5161 2013-12-07 Tassilo Horn <tsdh@gnu.org>
5162
5163 * help-fns.el (describe-function-1): Use new advice-* functions
5164 rather than old ad-* functions. Fix function type description and
5165 source links for advised functions and subrs.
5166
5167 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5168
5169 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
5170
5171 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
5172
5173 * progmodes/compile.el (compilation-start):
5174 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
5175
5176 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
5177 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
5178
5179 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5180
5181 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5182 Touch up the last change.
5183
5184 2013-12-06 Leo Liu <sdl.web@gmail.com>
5185
5186 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
5187 (inferior-octave-startup): Always use "octave> " for prompt.
5188 (octave-goto-function-definition)
5189 (octave-sync-function-file-names)
5190 (octave-find-definition-default-filename): Remove redundant backquotes.
5191
5192 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5193
5194 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
5195 syntax for `?'.
5196 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
5197 where appropriate already.
5198 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
5199 end of method names (Bug#15874).
5200
5201 2013-12-06 Juri Linkov <juri@jurta.org>
5202
5203 * isearch.el (isearch--saved-overriding-local-map):
5204 New internal variable.
5205 (isearch-mode): Set it to the initial value of
5206 `overriding-terminal-local-map'.
5207 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
5208 with `isearch--saved-overriding-local-map'. (Bug#16035)
5209
5210 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5211
5212 * progmodes/octave.el (inferior-octave-completion-table):
5213 Turn back into function, use `completion-table-with-cache'
5214 (Bug#11906). Update all references.
5215
5216 * minibuffer.el (completion-table-with-cache): New function.
5217
5218 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
5219
5220 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
5221
5222 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
5223
5224 * net/eww.el (eww-current-source): New variable to store page
5225 source.
5226 (eww-display-html, eww-mode, eww-save-history)
5227 (eww-restore-history): Use it.
5228 (eww-view-source): New command to view page source.
5229 Opportunistically uses `html-mode' to highlight the buffer.
5230 (eww-mode-map): Install it.
5231
5232 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
5233
5234 * net/dbus.el (dbus-unregister-service)
5235 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
5236 Fix docstring.
5237 (dbus-unregister-service): Skip :serial entries in
5238 `dbus-registered-objects-table'.
5239 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
5240
5241 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
5242
5243 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
5244 around keywords with extra `split-string' argument.
5245
5246 2013-12-04 Martin Rudalics <rudalics@gmx.at>
5247
5248 * windmove.el (windmove-other-window-loc): Handle navigation
5249 between windows (excluding the minibuffer window - Bug#16017).
5250
5251 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
5252
5253 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
5254 in D-Bus type syntax.
5255 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
5256 preserve unibyte strings. (Bug#16048)
5257
5258 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
5259
5260 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
5261 Call force-mode-line-update is the proper buffer (bug#16042).
5262
5263 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
5264
5265 * vc/log-edit.el (log-edit-add-new-comment): Rename to
5266 `log-edit-remember-comment', make argument optional. Adjust all
5267 callers.
5268 (log-edit-mode): Add `log-edit-remember-comment' to
5269 `kill-buffer-hook' locally.
5270 (log-edit-kill-buffer): Don't remember comment explicitly since
5271 the buffer is killed anyway.
5272
5273 2013-12-04 Juri Linkov <juri@jurta.org>
5274
5275 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
5276 add-hook and remove-hook for multi-buffer search. (Bug#16035)
5277
5278 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
5279
5280 * notifications.el (notifications-close-notification): Call the
5281 D-Bus method with ID being a `:uint32'. (Bug#16030)
5282
5283 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
5284
5285 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
5286
5287 2013-12-03 Juri Linkov <juri@jurta.org>
5288
5289 * progmodes/compile.el (compilation-start): Rename window alist
5290 entry `no-display-ok' to `allow-no-window'.
5291
5292 * simple.el (shell-command): Add window alist entry
5293 `allow-no-window' to `display-buffer'.
5294 (async-shell-command): Doc fix.
5295
5296 * window.el (display-buffer-no-window): New action function.
5297 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
5298
5299 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5300
5301 * vc/log-edit.el (log-edit-set-header): Extract from
5302 `log-edit-toggle-header'.
5303 (log-edit-extract-headers): Separate the summary, when extracted
5304 from header, from the rest of the message with an empty line.
5305
5306 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
5307 line, if present, to the Summary header.
5308
5309 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5310
5311 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
5312 in current-buffer (bug#16029).
5313
5314 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
5315
5316 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
5317 (debugger-mode-map): Bind it.
5318 (debugger--backtrace-base): New function.
5319 (debugger-eval-expression): Use it.
5320 (debugger-frame-number): Skip local vars when present.
5321 (debugger--locals-visible-p, debugger--insert-locals)
5322 (debugger--show-locals, debugger--hide-locals): New functions.
5323
5324 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
5325
5326 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
5327 "LC_ALL".
5328 (tramp-get-remote-locale): New defun.
5329 (tramp-open-connection-setup-interactive-shell): Use it.
5330
5331 2013-12-02 Leo Liu <sdl.web@gmail.com>
5332
5333 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
5334
5335 * progmodes/sh-script.el (sh-shell-process):
5336 * progmodes/octave.el (inferior-octave-process-live-p):
5337 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
5338 (gdb-inferior-io-sentinel):
5339 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
5340
5341 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5342
5343 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
5344 `save-selected-window' to `log-edit-hide-buf'. This makes
5345 `log-edit-show-files' idempotent.
5346 (log-edit-show-files): Mark the new window as dedicated.
5347
5348 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5349
5350 * vc/log-edit.el (log-edit-mode-map): Add binding for
5351 `log-edit-kill-biffer'.
5352 (log-edit-hide-buf): Add a FIXME comment.
5353 (log-edit-add-new-comment): New function, extracted from
5354 `log-edit-done'.
5355 (log-edit-done, log-edit-add-to-changelog): Use it.
5356 (log-edit-kill-buffer): New command.
5357
5358 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5359
5360 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
5361 instead of killing the buffer.
5362
5363 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
5364
5365 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
5366
5367 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5368
5369 * net/eww.el (eww-form-checkbox-selected-symbol)
5370 (eww-form-checkbox-symbol): New customizable variable.
5371 (eww-form-checkbox, eww-toggle-checkbox):
5372 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
5373
5374 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
5375 (shr--get-media-pref, shr--extract-best-source): New function.
5376 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
5377 no :src tag was specified.
5378
5379 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
5380 (eww-render): Handle `eww-use-external-browser-for-content-type'.
5381 Use \\` to match beginning of string instead of ^.
5382 (eww-browse-with-external-browser): Provide optional URL parameter.
5383 (eww-render): Set `eww-current-title' back to "".
5384
5385 * net/shr.el (shr-tag-video): Display content for video if no
5386 poster is available.
5387 (shr-tag-audio): Add support for <audio> tag.
5388
5389 * net/eww.el (eww-text-input-types): New const.
5390 (eww-process-text-input): Treat input types in
5391 `eww-text-input-types' as text.
5392
5393 * net/shr.el (shr-tag-table): Fix comment typo.
5394
5395 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5396
5397 * net/eww.el (eww-follow-link): New command to avoid reloading
5398 pages when we follow #target links (bug#15243).
5399 (eww-quit): Special mode buffers shouldn't query before exiting.
5400
5401 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5402
5403 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
5404 forms.
5405
5406 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5407
5408 * net/eww.el (eww-restore-history): Update the window title after
5409 moving in the history.
5410 (eww-current-dom): New variable used to save the current DOM.
5411
5412 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
5413
5414 * vc/log-edit.el (log-edit-mode-map): Add binding for
5415 `log-edit-beginning-of-line'.
5416 (log-edit-setup-add-author): New user option.
5417 (log-edit-beginning-of-line): New command.
5418 (log-edit): Move major mode call above the contents setup so that
5419 the local variable values are already applied.
5420 (log-edit): Only insert "Author: " when
5421 `log-edit-setup-add-author' is non-nil.
5422 (log-edit): When SETUP is non-nil, position point after ": "
5423 instead of point-min.
5424
5425 2013-12-01 Glenn Morris <rgm@gnu.org>
5426
5427 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
5428
5429 2013-11-30 Eli Zaretskii <eliz@gnu.org>
5430
5431 * startup.el (fancy-splash-frame): On MS-Windows, trigger
5432 redisplay to make sure the initial frame gets a chance to become
5433 visible. (Bug#16014)
5434
5435 2013-11-30 Martin Rudalics <rudalics@gmx.at>
5436
5437 Support resizing frames and windows pixelwise.
5438 * cus-start.el (frame-resize-pixelwise)
5439 (window-resize-pixelwise): New entries.
5440 * emacs-lisp/debug.el (debug): Use window-total-height instead
5441 of window-total-size.
5442 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
5443 * help.el (describe-bindings-internal): Use help-buffer as
5444 argument for with-help-window.
5445 (temp-buffer-max-width): New option.
5446 (resize-temp-buffer-window, help-window-setup)
5447 (with-help-window): Rewrite.
5448 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
5449 dragging dividers.
5450 * window.el (frame-char-size, window-min-pixel-height)
5451 (window-safe-min-pixel-height, window-safe-min-pixel-width)
5452 (window-min-pixel-width, window-safe-min-pixel-size)
5453 (window-combination-p, window-safe-min-size)
5454 (window-resizable-p, window--size-to-pixel)
5455 (window--pixel-to-size, window--resize-apply-p): New functions.
5456 (window-safe-min-height): Fix doc-string.
5457 (window-size, window-min-size, window--min-size-1)
5458 (window-sizable, window-sizable-p, window--min-delta-1)
5459 (window-min-delta, window--max-delta-1, window-max-delta)
5460 (window--resizable, window--resizable-p, window-resizable)
5461 (window-full-height-p, window-full-width-p, window-at-side-p)
5462 (window--in-direction-2, window-in-direction)
5463 (window--resize-reset-1, window--resize-mini-window)
5464 (window-resize, window-resize-no-error)
5465 (window--resize-child-windows-normal)
5466 (window--resize-child-windows, window--resize-siblings)
5467 (window--resize-this-window, window--resize-root-window)
5468 (window--resize-root-window-vertically)
5469 (adjust-window-trailing-edge, enlarge-window, shrink-window)
5470 (maximize-window, minimize-window, delete-window)
5471 (quit-restore-window, window-split-min-size, split-window)
5472 (balance-windows-2, balance-windows)
5473 (balance-windows-area-adjust, balance-windows-area)
5474 (window--state-get-1, window-state-get, window--state-put-1)
5475 (window--state-put-2, window-state-put)
5476 (display-buffer-record-window, window--display-buffer):
5477 Make functions handle pixelwise sizing of windows.
5478 (display-buffer--action-function-custom-type)
5479 (display-buffer-fallback-action):
5480 Add display-buffer-in-previous-window.
5481 (display-buffer-use-some-window): Resize window to height it had
5482 before.
5483 (fit-window-to-buffer-horizontally): New option.
5484 (fit-frame-to-buffer): Describe new values.
5485 (fit-frame-to-buffer-bottom-margin): Replace with
5486 fit-frame-to-buffer-margins.
5487 (window--sanitize-margin): New function.
5488 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
5489 using window-text-pixel-size.
5490
5491 2013-11-30 Glenn Morris <rgm@gnu.org>
5492
5493 * emacs-lisp/bytecomp.el (byte-compile-form):
5494 Make the `interactive-only' warning like the `obsolete' one.
5495 * comint.el (comint-run):
5496 * files.el (insert-file-literally, insert-file):
5497 * replace.el (replace-string, replace-regexp):
5498 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
5499 (goto-line, insert-buffer, next-line, previous-line):
5500 Tweak `interactive-only' spec.
5501
5502 Stop keeping (most) generated cedet grammar files in the repository.
5503 * Makefile.in (semantic): New.
5504 (compile-main): Depend on semantic.
5505
5506 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5507
5508 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
5509 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
5510
5511 * uniquify.el (uniquify-buffer-name-style): Change default.
5512
5513 * loadup.el: Preload "uniquify".
5514
5515 * time.el (display-time-update): Update all mode lines (bug#15999).
5516
5517 * electric.el (electric-indent-mode): Enable by default.
5518 * loadup.el: Preload "electric".
5519
5520 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
5521
5522 * emacs-lisp/helpers.el (string-empty-p): New function.
5523 (string-blank-p): New function.
5524
5525 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
5526
5527 * imenu.el (imenu--index-alist): Add missing dot to the docstring
5528 (Bug#14029).
5529
5530 2013-11-29 Andreas Politz <politza@fh-trier.de>
5531 * imenu.el (imenu--subalist-p): Don't error on non-conses and
5532 allow non-lambda lists as functions.
5533 (imenu--in-alist): Don't recurse into non-subalists.
5534 (imenu): Don't pass function itself as an argument (Bug#14029).
5535
5536 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5537
5538 * progmodes/python.el (python-mode-map): Remove binding for ":".
5539 (python-indent-electric-colon): Remove command.
5540 (python-indent-post-self-insert-function): Integrate the previous code
5541 of python-indent-electric-colon. Make it conditional on
5542 electric-indent-mode.
5543 (python-mode): Add ?: to electric-indent-chars.
5544 Move python-indent-post-self-insert-function to the end of
5545 post-self-insert-hook.
5546
5547 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
5548
5549 * doc-view.el (doc-view-goto-page): Update mode-line.
5550
5551 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
5552
5553 2013-11-27 Glenn Morris <rgm@gnu.org>
5554
5555 * international/charprop.el, international/uni-bidi.el:
5556 * international/uni-category.el, international/uni-combining.el:
5557 * international/uni-comment.el, international/uni-decimal.el:
5558 * international/uni-decomposition.el, international/uni-digit.el:
5559 * international/uni-lowercase.el, international/uni-mirrored.el:
5560 * international/uni-name.el, international/uni-numeric.el:
5561 * international/uni-old-name.el, international/uni-titlecase.el:
5562 * international/uni-uppercase.el:
5563 Remove generated files from VCS repository.
5564
5565 2013-11-27 Eli Zaretskii <eliz@gnu.org>
5566
5567 * filenotify.el (file-notify-add-watch): Don't special-case
5568 w32notify when computing the directory to watch.
5569
5570 2013-11-27 Glenn Morris <rgm@gnu.org>
5571
5572 Make bootstrap without generated uni-*.el files possible again.
5573 * loadup.el: Update command-line-args checking for unidata-gen.
5574 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
5575 * composite.el, international/characters.el:
5576 Handle unicode tables being undefined.
5577
5578 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
5579 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
5580 (compile-main): Depend on leim rule.
5581 (leim): New rule.
5582 * loadup.el: Move leim-list.el to leim/ subdirectory.
5583 * startup.el (normal-top-level): No more leim directory.
5584 * international/ja-dic-cnv.el (skkdic-convert):
5585 Disable version-control and autoloads in output files.
5586 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
5587 Disable version-control and autoloads in output files.
5588 * leim/quail: Move here from ../leim.
5589 * leim/quail/hangul.el (hangul-input-method-activate):
5590 Add autoload cookie.
5591 (generated-autoload-load-name): Set file-local value.
5592 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
5593 (generated-autoload-load-name): Set file-local value.
5594
5595 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
5596
5597 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
5598 (eww-add-bookmark): Ask confirmation when add to bookmarks.
5599 (eww-quit): Ask confirmation before quitting eww.
5600
5601 2013-11-26 Eli Zaretskii <eliz@gnu.org>
5602
5603 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
5604 reading output from Diff on MS-Windows and MS-DOS.
5605
5606 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
5607
5608 * emacs-lisp/helpers.el (string-reverse): New function.
5609
5610 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
5611
5612 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
5613 names on MS Windows, like "/[::1]:".
5614
5615 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
5616 SWITCHES.
5617
5618 2013-11-26 Glenn Morris <rgm@gnu.org>
5619
5620 * progmodes/python.el (python-indent-guess-indent-offset):
5621 Avoid corner-case error. (Bug#15975)
5622
5623 Preload leim-list.el. (Bug#4789)
5624 * loadup.el: Load leim-list.el when found.
5625 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
5626
5627 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
5628
5629 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
5630
5631 * emacs-lisp/helpers.el (string-join): New function.
5632
5633 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
5634
5635 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5636 Mark as obsolete and replace it with a symbol property.
5637 (byte-compile-form): Use new 'interactive-only property.
5638 * comint.el, files.el, replace.el, simple.el:
5639 Apply new 'interactive-only properly.
5640
5641 2013-11-25 Martin Rudalics <rudalics@gmx.at>
5642
5643 * window.el (display-buffer-at-bottom): Make sure that
5644 split-window-sensibly creates the new window on bottom
5645 (Bug#15961).
5646
5647 2013-11-23 David Kastrup <dak@gnu.org>
5648
5649 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
5650 on the conflict markers when available.
5651 (smerge--get-marker): New function.
5652 (smerge-end-re, smerge-base-re): Add subgroup.
5653
5654 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
5655
5656 * frame.el (handle-focus-in, handle-focus-out): Add missing
5657 interactive spec.
5658
5659 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
5660
5661 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
5662 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
5663
5664 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
5665
5666 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
5667 (gomoku--last-pos): New var.
5668 (gomoku--intangible-chars): New const.
5669 (gomoku--intangible): New function.
5670 (gomoku-mode): Use it. Derive from special-mode.
5671 (gomoku-move-up): Adjust line count.
5672 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
5673 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
5674 Simplify accordingly.
5675
5676 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
5677 Remove blink-cursor code.
5678 (blink-cursor-timer-function, blink-cursor-suspend):
5679 Don't special-case GUIs.
5680 (blink-cursor-mode): Use focus-in/out-hook.
5681
5682 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
5683
5684 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
5685 work when annotation is invisible (Bug#13886).
5686
5687 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
5688
5689 * json.el (json-alist-p): Only return non-nil if the alist has
5690 simple keys (Bug#13518).
5691
5692 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
5693
5694 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
5695 when control-statement is the first statement in a buffer (Bug#15956).
5696
5697 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
5698
5699 * imenu.el (imenu-generic-skip-comments-and-strings):
5700 New option (Bug#15560).
5701 (imenu--generic-function): Use it.
5702
5703 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
5704
5705 * minibuffer.el (completion--in-region-1): Scroll the correct window.
5706 (Bug#13898)
5707
5708 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
5709
5710 * emacs-lisp/helpers.el: Add some string helpers.
5711 (string-trim-left): Removes leading whitespace.
5712 (string-trim-right): Removes trailing whitespace.
5713 (string-trim): Removes leading and trailing whitespace.
5714
5715 * subr.el (string-suffix-p): New function.
5716
5717 2013-11-23 Glenn Morris <rgm@gnu.org>
5718
5719 * progmodes/python.el (python-shell-send-file):
5720 Add option to delete file when done. (Bug#15647)
5721 (python-shell-send-string, python-shell-send-region): Use it.
5722
5723 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
5724
5725 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
5726 to set buffer-read-only to t, never to nil. (Bug#15938)
5727
5728 * textmodes/tex-mode.el (latex-noindent-environments):
5729 Add safe-local-variable property. (Bug#15936)
5730
5731 2013-11-23 Glenn Morris <rgm@gnu.org>
5732
5733 * textmodes/enriched.el (enriched-mode): Doc fix.
5734 * emacs-lisp/authors.el (authors-renamed-files-alist):
5735 Add enriched.doc -> enriched.txt.
5736
5737 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
5738
5739 2013-11-22 Leo Liu <sdl.web@gmail.com>
5740
5741 * progmodes/octave.el (inferior-octave-startup): Spit out error
5742 message.
5743
5744 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
5745
5746 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
5747 Improve docstring.
5748 Add :version.
5749 (ruby-encoding-magic-comment-style): Add :version.
5750
5751 2013-11-22 Leo Liu <sdl.web@gmail.com>
5752
5753 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
5754 (Bug#15076)
5755 (octave-help-mode): Adapt to change to help-mode-finish to use
5756 derived-mode-p on 2013-09-17.
5757 (inferior-octave-prompt): Also match octave-gui.
5758 (octave-kill-process): Don't ask twice. (Bug#10564)
5759
5760 2013-11-22 Leo Liu <sdl.web@gmail.com>
5761
5762 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
5763 (inferior-octave-startup, inferior-octave-check-process)
5764 (inferior-octave-track-window-width-change)
5765 (octave-completion-at-point, octave-eldoc-function): Use it.
5766 (octave-kill-process): Provide confirmation. (Bug#10564)
5767
5768 2013-11-21 Leo Liu <sdl.web@gmail.com>
5769
5770 * progmodes/octave.el (octave-mode, inferior-octave-mode):
5771 Fix obsolete variable comment-use-global-state.
5772
5773 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5774
5775 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
5776 Add `octave-source-file'.
5777 (octave-source-file): New function. (Bug#15935)
5778
5779 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
5780
5781 * net/eww.el (eww-local-regex): New variable.
5782 (eww): Use it to detect localhost and similar.
5783
5784 2013-11-21 Leo Liu <sdl.web@gmail.com>
5785
5786 Add completion for command `ag'.
5787 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
5788 (pcomplete/ag): New function.
5789 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
5790
5791 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5792
5793 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
5794 (bug#14646).
5795 (make-obsolete): Remove interactive spec.
5796
5797 2013-11-21 Glenn Morris <rgm@gnu.org>
5798
5799 * startup.el (command-line-1): Use path-separator with -L.
5800
5801 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
5802
5803 * emacs-lisp/package.el (describe-package-1): Add package archive
5804 to shown fields.
5805
5806 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
5807
5808 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
5809 Change default to "# encoding: %s" to differentiate it from the
5810 default Ruby encoding comment template.
5811
5812 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
5813
5814 * ses.el (ses-mode): Doc fix. (Bug#14748)
5815
5816 2013-11-20 Leo Liu <sdl.web@gmail.com>
5817
5818 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
5819
5820 2013-11-19 Dan Nicolaescu <dann@gnu.org>
5821
5822 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
5823 when rebase or bisect are in progress.
5824
5825 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
5826
5827 * filenotify.el (file-notify-add-watch): Doc fix.
5828
5829 2013-11-19 Leo Liu <sdl.web@gmail.com>
5830
5831 * obsolete/rcompile.el: Mark obsolete.
5832
5833 * progmodes/compile.el (compilation-start)
5834 (compilation-goto-locus, compilation-find-file):
5835 Pass no-display-ok and handle nil value from display-buffer.
5836 (Bug#13594)
5837
5838 * window.el (display-buffer-alist, display-buffer): Document the
5839 new parameter no-display-ok. Return either a window or nil
5840 but never a non-window value.
5841
5842 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
5843
5844 * electric.el (electric-indent-mode-map): Remove.
5845 (electric-indent-mode): Change the global-map instead (bug#15915).
5846
5847 * textmodes/text-mode.el (paragraph-indent-minor-mode):
5848 Use add-function.
5849
5850 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
5851
5852 * emacs-lisp/nadvice.el (remove-function): Align with
5853 add-function's behavior.
5854
5855 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
5856 (gdb--string-regexp): New constant.
5857 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
5858 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
5859 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
5860 submatch 1.
5861 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
5862 Adjust use accordingly.
5863 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
5864
5865 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
5866
5867 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
5868 interpolation curlies (Bug#15914).
5869
5870 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
5871
5872 * calc/calc.el (calc-context-sensitive-enter): New variable.
5873 (calc-enter): Use `calc-context-sensitive-enter'.
5874
5875 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
5876
5877 * progmodes/cfengine.el: Version bump.
5878 (cfengine-cf-promises): New defcustom to locate cf-promises.
5879 (cfengine3-vartypes): Add new "data" type.
5880 (cfengine3--current-word): New function to get current name-like
5881 word or its bounds.
5882 (cfengine3--current-function): New function to look up a CFEngine
5883 function's definition.
5884 (cfengine3-format-function-docstring): New function.
5885 (cfengine3-make-syntax-cache): New function.
5886 (cfengine3-documentation-function): New function: ElDoc glue.
5887 (cfengine3-completion-function): New function: completion glue.
5888 (cfengine3-mode): Set `compile-command',
5889 `eldoc-documentation-function', and add to
5890 `completion-at-point-functions'.
5891
5892 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
5893
5894 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
5895 `tramp-current-connection'.
5896
5897 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
5898
5899 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
5900 nil/self/true/false with "end of symbol".
5901
5902 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
5903
5904 * subr.el (version-regexp-alist): Fix a typo.
5905
5906 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
5907
5908 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
5909 "en_US.utf8" and "LC_CTYPE" to "".
5910 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
5911 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
5912
5913 2013-11-15 Leo Liu <sdl.web@gmail.com>
5914
5915 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
5916
5917 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5918
5919 * progmodes/gud.el (ctl-x-map):
5920 Remove C-x SPC binding. (Bug#12342)
5921 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
5922
5923 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
5924
5925 * subr.el (version-regexp-alist):
5926 Recognize hg, svn and darcs versions as snapshot versions.
5927
5928 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
5929 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
5930 (ruby--encoding-comment-required-p): Extract from
5931 `ruby-mode-set-encoding'.
5932 (ruby-mode-set-encoding): Add the ability to always insert an
5933 utf-8 encoding comment. Fix and simplify coding comment update
5934 logic.
5935
5936 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
5937
5938 * net/tramp-gvfs.el (top): Run init code only when
5939 `tramp-gvfs-enabled' is not nil.
5940 (tramp-gvfs-enabled): Check also :system bus.
5941
5942 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5943
5944 Sync with upstream verilog-mode revision 78e66ba.
5945 * progmodes/verilog-mode.el (verilog-end-of-defun)
5946 (verilog-type-completion, verilog-get-list): Remove unused funcs.
5947 (verilog-get-end-of-defun): Remove unused argument.
5948 (verilog-comment-depth): Remove unused local `e'.
5949 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
5950 Don't pass arg to verilog-get-end-of-defun.
5951
5952 2013-11-14 Glenn Morris <rgm@gnu.org>
5953
5954 * obsolete/assoc.el (aget): Prefix dynamic variable.
5955
5956 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
5957
5958 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5959
5960 * widget.el, hfy-cmap.el: Remove bogus package version number.
5961
5962 2013-11-13 Glenn Morris <rgm@gnu.org>
5963
5964 * replace.el (replace-eval-replacement):
5965 Try to give more helpful error message. (Bug#15836)
5966
5967 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
5968 (archive-7z-update): Avoid custom type mismatches.
5969
5970 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
5971
5972 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
5973
5974 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
5975 address can be empty.
5976
5977 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
5978 Accept nil SWITCHES.
5979 (tramp-gvfs-handle-write-region): Implement APPEND.
5980
5981 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
5982
5983 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
5984 binary "|" operator and closing block args delimiter.
5985 Remove FIXME comment referring to Ruby 1.8-only syntax.
5986 (ruby-smie--implicit-semi-p): Not after "|" operator.
5987 (ruby-smie--closing-pipe-p): New function.
5988 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
5989 (ruby-smie-rules): Indent after "|".
5990
5991 2013-11-12 Glenn Morris <rgm@gnu.org>
5992
5993 * ps-print.el (ps-face-attribute-list):
5994 Handle anonymous faces. (Bug#15827)
5995
5996 2013-11-12 Martin Rudalics <rudalics@gmx.at>
5997
5998 * window.el (display-buffer-other-frame): Fix doc-string.
5999 (Bug#15868)
6000
6001 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6002
6003 * subr.el (force-mode-line-update): Delete, move to buffer.c.
6004
6005 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
6006
6007 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
6008 (tramp-sh-handle-file-local-copy): Don't write a message when
6009 saving temporary files.
6010
6011 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
6012 both directories are remote.
6013 (tramp-smb-handle-directory-files): Do not return double entries.
6014 Do not expand full file names.
6015 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
6016 (tramp-smb-handle-write-region): Implement APPEND.
6017 (tramp-smb-get-stat-capability): Fix a stupid bug.
6018
6019 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6020
6021 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
6022
6023 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6024
6025 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
6026 throwing error over malformed let/let* (bug#15814).
6027
6028 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6029
6030 * iswitchb.el (iswitchb-mode): Mark obsolete.
6031
6032 2013-11-11 Glenn Morris <rgm@gnu.org>
6033
6034 * international/uni-bidi.el, international/uni-category.el:
6035 * international/uni-name.el, international/uni-numeric.el:
6036 Regenerate for Unicode 6.3.0.
6037
6038 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
6039
6040 * net/tramp.el (tramp-methods):
6041 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
6042 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
6043
6044 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
6045
6046 * progmodes/sh-script.el (sh-font-lock-keywords-var):
6047 Force highlighting text after Summary keyword in doc face for rpm.
6048
6049 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
6050
6051 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
6052 available and the word has no wildcards, append one to the grep pattern.
6053 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
6054 (ispell-complete-word): Call `ispell-lookup-words' with the value
6055 independent of `ispell-look-p'.
6056
6057 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6058
6059 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
6060 Not after "||".
6061 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
6062 their parent.
6063
6064 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6065
6066 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
6067 (ruby-font-lock-keywords): Use backquote.
6068
6069 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6070
6071 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6072 (ruby-smie--backward-token): Only consider full-string matches.
6073
6074 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
6075
6076 * faces.el (describe-face): Add distant-foreground.
6077
6078 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
6079
6080 * progmodes/ruby-mode.el: Improve encoding comment handling.
6081 (ruby-encoding-magic-comment-style): New option.
6082 (ruby-custom-encoding-magic-comment-template): New option.
6083 (ruby--insert-coding-comment, ruby--detect-encoding):
6084 New functions extracted from `ruby-mode-set-encoding'.
6085 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
6086 to control the style of the auto-inserted encoding comment.
6087
6088 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6089
6090 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
6091 Use `smie-backward-sexp' with token argument.
6092
6093 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
6094
6095 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6096 Remove instrumentation code.
6097
6098 2013-11-08 Glenn Morris <rgm@gnu.org>
6099
6100 * progmodes/autoconf.el (autoconf-mode):
6101 Tweak comment-start-skip. (Bug#15822)
6102
6103 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6104
6105 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
6106 at bobp (bug#15826).
6107 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
6108
6109 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
6110
6111 * man.el (Man-start-calling): New macro, extracted from
6112 Man-getpage-in-background.
6113 (Man-getpage-in-background): Use it.
6114 (Man-update-manpage): New command.
6115 (Man-mode-map): Bind it.
6116
6117 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6118
6119 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
6120 of "and", "or", "&&" and "||".
6121 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
6122 argument. Prohibit opening curly brace because it could only be a
6123 block opener in that position.
6124 (ruby-smie--forward-token, ruby-smie--backward-token):
6125 Separate "|" from "&" or "*" going after it. That can happen in block
6126 arguments.
6127 (ruby-smie--indent-to-stmt): New function, seeks the end of
6128 previous statement or beginning of buffer.
6129 (ruby-smie-rules): Use it.
6130 (ruby-smie-rules): Check if there's a ":" before a curly block
6131 opener candidate; if there is, it's a hash.
6132
6133 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
6134
6135 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
6136 (cl--block-wrapper): Fix last accidental change.
6137
6138 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
6139
6140 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6141 Instrument, in order to hunt failure on hydra.
6142
6143 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6144
6145 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
6146 malformed bindings form (bug#15814).
6147
6148 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
6149
6150 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
6151 "." compared to " @ ". This incidentally fixes some indentation
6152 examples with "do".
6153 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
6154 (ruby-smie-grammar): New tokens: "and" and "or".
6155 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
6156 Exclude "and" and "or". Remove "do" in order to work around token
6157 priorities.
6158 (ruby-smie-rules): Add all infix tokens. Handle the case of
6159 beginning-of-buffer.
6160
6161 2013-11-06 Glenn Morris <rgm@gnu.org>
6162
6163 * Makefile.in (setwins_almost, setwins_for_subdirs):
6164 Avoid accidental matches.
6165
6166 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6167
6168 * menu-bar.el (popup-menu): Use key-binding.
6169
6170 2013-11-06 Eli Zaretskii <eliz@gnu.org>
6171
6172 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
6173 menus, support also the menus produced by minor modes.
6174 (Bug#15817)
6175
6176 2013-11-06 Leo Liu <sdl.web@gmail.com>
6177
6178 * thingatpt.el (thing-at-point-looking-at): Add optional arg
6179 DISTANCE to bound the search. All uses changed. (Bug#15808)
6180
6181 2013-11-06 Glenn Morris <rgm@gnu.org>
6182
6183 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
6184 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
6185 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
6186
6187 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6188
6189 * electric.el (electric-indent-just-newline): New command.
6190 (electric-indent-mode-map): New keymap.
6191 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
6192 Re-add :group which weren't redundant.
6193
6194 * electric.el (electric-indent-local-mode): New minor mode.
6195 (electric-indent-functions-without-reindent): New var.
6196 (electric-indent-post-self-insert-function): Use it.
6197 * emacs-lisp/gv.el (buffer-local-value): Add setter.
6198
6199 2013-11-05 Eli Zaretskii <eliz@gnu.org>
6200
6201 * international/quail.el (quail-help): Be more explicit about the
6202 meaning of the labels shown on the keys. (Bug#15800)
6203
6204 * startup.el (normal-top-level): Load the subdirs.el files before
6205 setting the locale environment. (Bug#15805)
6206
6207 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
6208
6209 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
6210 via arguments so as to get the right ones (bug#15418).
6211
6212 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
6213
6214 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
6215
6216 Fix problems found while writing a test suite.
6217
6218 * net/tramp-compat.el (tramp-compat-load): New defun.
6219 * net/tramp.el (tramp-handle-load): Use it.
6220
6221 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
6222 "(numberp ok-if-already-exists)" correctly.
6223
6224 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
6225
6226 * international/characters.el (glyphless-char-display-control):
6227 Add usage note.
6228
6229 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
6230
6231 * progmodes/python.el (python-mode):
6232 * progmodes/scheme.el (scheme-mode):
6233 * progmodes/prolog.el (prolog-mode):
6234 * progmodes/ruby-mode.el (ruby-mode):
6235 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
6236 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
6237
6238 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6239
6240 * rect.el (rectangle--highlight-for-redisplay):
6241 * emacs-lisp/smie.el (smie--next-indent-change):
6242 Use buffer-chars-modified-tick.
6243
6244 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
6245
6246 * electric.el (electric-indent-post-self-insert-function):
6247 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
6248
6249 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
6250
6251 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
6252
6253 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6254
6255 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
6256 (bug#15786).
6257
6258 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6259
6260 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
6261
6262 * progmodes/python.el: Fix up last change.
6263 (python-shell--save-temp-file): New function.
6264 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
6265 `string' comes from the current buffer.
6266 (python-shell-send-string-no-output): Remove `msg' arg.
6267 (python--use-fake-loc): New var.
6268 (python-shell-buffer-substring): Obey it. Try to compensate for the
6269 extra coding line added by python-shell--save-temp-file.
6270 (python-shell-send-region): Use python-shell--save-temp-file and
6271 python-shell-send-file directly. Add `nomain' argument.
6272 (python-shell-send-buffer): Use python-shell-send-region.
6273 (python-electric-pair-string-delimiter): New function.
6274 (python-mode): Use it.
6275
6276 2013-11-04 Eli Zaretskii <eliz@gnu.org>
6277
6278 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
6279 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
6280 environment and decoding all of the default-directory's to here
6281 from command-line.
6282 (command-line): Decode also argv[0].
6283
6284 * loadup.el: Error out if default-directory is a multibyte string
6285 when we are dumping.
6286
6287 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
6288
6289 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
6290
6291 * emacs-lisp/package.el (package-menu-mode)
6292 (package-menu--print-info, package-menu--archive-predicate):
6293 Add Archive column to package list.
6294
6295 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
6296
6297 Fix problems found while writing a test suite.
6298
6299 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
6300 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
6301 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
6302 to nil when running original file name handler. Otherwise,
6303 there are problems with constructs like "$$FOO".
6304
6305 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
6306 for `localname'.
6307
6308 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
6309
6310 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
6311
6312 * subr.el (version<, version<=, version=):
6313 Update docstrings with information for snapshot versions.
6314
6315 * helpers.el: New library for misc helper functions.
6316 (hash-table-keys): New function returning a list of hash keys.
6317 (hash-table-values): New function returning a list of hash values.
6318
6319 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
6320
6321 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6322 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
6323
6324 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
6325
6326 * textmodes/fill.el (fill-single-char-nobreak-p): New function
6327 checking whether point is after a 1-letter word.
6328
6329 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6330
6331 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
6332 Don't infloop when expanding region over `multiline' syntax-type that
6333 begins a line (bug#15778).
6334
6335 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6336
6337 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
6338 Make it into a proper minor mode.
6339 (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
6340 (rectangle-mark-mode-map): New keymap.
6341 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
6342
6343 2013-11-04 Glenn Morris <rgm@gnu.org>
6344
6345 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
6346
6347 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
6348
6349 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
6350 (ruby-smie-rules): Use smie-rule-parent instead.
6351
6352 * emacs-lisp/smie.el (smie-rule-parent): Always call
6353 smie-indent-virtual rather than only for hanging tokens.
6354 (smie--next-indent-change): New helper command.
6355
6356 2013-11-03 Glenn Morris <rgm@gnu.org>
6357
6358 * Makefile.in (abs_srcdir): Remove.
6359 (emacs): Unset EMACSLOADPATH.
6360
6361 2013-11-02 Glenn Morris <rgm@gnu.org>
6362
6363 * Makefile.in (EMACS): Use a relative filename.
6364 (abs_top_builddir): Remove.
6365 (custom-deps, finder-data, autoloads): Use --chdir.
6366
6367 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
6368
6369 Use relative filenames in TAGS files.
6370 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
6371 (lisptagsfiles4, TAGS): Use relative file names.
6372 (TAGS-LISP): Remove.
6373 (maintainer-clean): No more TAGS-LISP file.
6374
6375 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
6376 (lisptagsfiles4): Use absolute filenames again.
6377 (TAGS, TAGS-LISP): Not everything needs to run in one line.
6378 Remove all *loaddefs files, not just the first. Remove esh-groups.
6379 (maintainer-clean): Delete TAGS, TAGS-LISP.
6380
6381 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6382
6383 * emacs-lisp/package.el (package-version-join):
6384 Recognize snapshot versions.
6385
6386 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6387
6388 * subr.el (version-regexp-alist): Add support for snapshot versions.
6389
6390 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
6391
6392 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
6393 New function, replacement for `smie-rule-parent' for when we want to
6394 skip over our direct parent if it's an assignment token..
6395 (ruby-smie-rules): Use it.
6396
6397 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
6398
6399 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
6400 unconditionally. Remove now unnecessary forward declarations.
6401 Remove XEmacs-specific setup.
6402 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
6403 (ruby-font-lock-syntactic-keywords)
6404 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
6405 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
6406 (ruby-here-doc-end-syntax): Remove.
6407 (ruby-mode): Don't check whether `syntax-propertize-rules' is
6408 defined as function.
6409
6410 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6411
6412 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
6413
6414 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
6415
6416 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
6417 table and abbrev table, `define-derived-mode' does that for us
6418 anyway.
6419
6420 2013-11-01 Glenn Morris <rgm@gnu.org>
6421
6422 * Makefile.in: Remove manual mh-e dependencies (writing .elc
6423 files is atomic for some time, so no parallel compilation issues).
6424
6425 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
6426
6427 * faces.el (face-x-resources): Add :distant-foreground.
6428 (region): Use :distant-foreground for gtk and ns.
6429
6430 2013-11-01 Tassilo Horn <tsdh@gnu.org>
6431
6432 Allow multiple bibliographies when BibLaTeX is used rather than
6433 BibTeX.
6434 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
6435 (reftex-locate-bibliography-files): Us it.
6436
6437 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
6438
6439 * image.el (image-type-header-regexps): Fix the 'pbm' part to
6440 allow comments in pbm files.
6441
6442 * term/w32-win.el (dynamic-library-alist): Support newer versions
6443 of libjpeg starting with v7: look only for the DLL from the
6444 version against which Emacs was built.
6445 Support versions of libpng beyond 1.4.x.
6446 Support libtiff v4.x.
6447
6448 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
6449
6450 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
6451 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
6452 Add property :safe.
6453 (ruby-deep-arglist): Add property :type.
6454
6455 2013-10-31 Glenn Morris <rgm@gnu.org>
6456
6457 * Makefile.in (custom-deps, finder-data): No need to setq the target
6458 variables, we are in the right directory and the defaults work fine.
6459
6460 2013-10-30 Glenn Morris <rgm@gnu.org>
6461
6462 * Makefile.in (autoloads): Do not use abs_lisp.
6463
6464 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6465 `newline' does not respect `standard-output', so use `princ'.
6466
6467 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
6468
6469 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
6470 * buff-menu.el (Buffer-menu--unmark): New function.
6471 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
6472
6473 2013-10-30 Glenn Morris <rgm@gnu.org>
6474
6475 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
6476
6477 * emacs-lisp/package.el (lm-homepage): Declare.
6478
6479 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
6480 Fix doc typos.
6481
6482 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
6483
6484 * Makefile.in (finder-data, autoloads, update-subdirs)
6485 (compile-main, compile-clean, compile-always, bootstrap-clean):
6486 Check return value of cd.
6487 (compile-calc): Remove.
6488
6489 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
6490
6491 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
6492
6493 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
6494 (byte-compile-and-folded): New function.
6495 (=, <, >, <=, >=): Use it.
6496
6497 * dos-w32.el (minibuffer-history-case-insensitive-variables)
6498 (path-separator, null-device, buffer-file-coding-system)
6499 (lpr-headers-switches): Check system-type before modifying them.
6500 (find-buffer-file-type-coding-system): Mark obsolete.
6501 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
6502 find-file-not-found-set-buffer-file-coding-system.
6503 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
6504 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
6505 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
6506 (w32-direct-print-region-helper, w32-direct-print-region-function)
6507 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
6508 * startup.el (normal-top-level-add-subdirs-to-load-path):
6509 * ps-print.el (ps-print-region-function):
6510 * lpr.el (print-region-function): Use new name.
6511
6512 * subr.el (custom-declare-variable-early): Remove function.
6513 (custom-declare-variable-list): Remove var.
6514 (error, user-error): Remove `while' loop.
6515 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
6516 (user-emacs-directory-warning, locate-user-emacs-file):
6517 Move to files.el.
6518 * simple.el (read-quoted-char-radix, read-quoted-char):
6519 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
6520 Move from subr.el.
6521 * custom.el (custom-declare-variable-list): Don't process
6522 custom-declare-variable-list.
6523
6524 * progmodes/python.el (python-shell-get-buffer): New function.
6525 (python-shell-get-process): Use it.
6526 (python-shell-send-string): Always use utf-8 and add a cookie to tell
6527 Python which encoding was used. Don't split-string since we only care
6528 about the first line. Return the temp-file, if applicable.
6529 (python-shell-send-region): Tell compile.el how to turn locations in
6530 the temp-file into locations in the source buffer.
6531
6532 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
6533
6534 * subr.el (undefined): Add missing behavior from the C code for
6535 unbound keys.
6536
6537 * rect.el: Use lexical-binding. Add new rectangular region support.
6538 (rectangle-mark): New command.
6539 (rectangle--region): New var.
6540 (deactivate-mark-hook): Reset rectangle--region.
6541 (rectangle--extract-region, rectangle--insert-for-yank)
6542 (rectangle--highlight-for-redisplay)
6543 (rectangle--unhighlight-for-redisplay): New functions.
6544 (region-extract-function, redisplay-unhighlight-region-function)
6545 (redisplay-highlight-region-function): Use them to handle
6546 rectangular region.
6547 * simple.el (region-extract-function): New var.
6548 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
6549 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
6550 (kill-region): Replace obsolete `yank-handler' arg with `region'.
6551 (copy-region-as-kill, kill-ring-save): Add `region' argument.
6552 (redisplay-unhighlight-region-function)
6553 (redisplay-highlight-region-function): New vars.
6554 (redisplay--update-region-highlight): New function.
6555 (pre-redisplay-function): Use it.
6556 (exchange-point-and-mark): Don't deactivate the mark before
6557 reactivate-it anyway.
6558 * comint.el (comint-kill-region): Remove yank-handler argument.
6559 * delsel.el (delete-backward-char, backward-delete-char-untabify)
6560 (delete-char): Remove property, since it's now part of their
6561 default behavior.
6562 (self-insert-iso): Remove property since this command doesn't exist.
6563
6564 * emacs-lisp/package.el (package--download-one-archive)
6565 (describe-package-1): Don't query the user about final newline.
6566
6567 2013-10-29 Daniel Colascione <dancol@dancol.org>
6568
6569 * net/tramp.el (tramp-methods): Document new functionality.
6570 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
6571 tramp-hostname-checker if method provides one instead of scanning
6572 argument list for "%h" to decide hostname acceptability.
6573
6574 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
6575
6576 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
6577 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
6578 Handle COPY-CONTENTS. (Bug#15737)
6579
6580 2013-10-28 Daiki Ueno <ueno@gnu.org>
6581
6582 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
6583 Document that this option has no effect with GnuPG 2.0 (bug#15552).
6584
6585 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
6586
6587 * image.el (defimage, image-load-path): Doc fixes.
6588
6589 2013-10-27 Alan Mackenzie <acm@muc.de>
6590
6591 Indent statements in macros following "##" correctly.
6592 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
6593 Modify the "#" arm of a cond form to handle "#" and "##" operators.
6594
6595 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6596
6597 * linum.el (linum-update-window): Fix boundary test (bug#13446).
6598
6599 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
6600
6601 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
6602 after `=' is probably a new expression.
6603
6604 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6605
6606 * man.el (man-imenu-title): New option.
6607 (Man-mode-map): Add menu. (Bug#15722)
6608 (Man-mode): Add imenu to menu.
6609
6610 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
6611
6612 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
6613 specific in what the first arg can be: a non-keyword word,
6614 string/regexp/percent literal opener, opening paren, or unary
6615 operator followed directly by word.
6616
6617 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6618
6619 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
6620 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
6621 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
6622 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
6623 Remove vars, they do not apply any more.
6624 (prolog-mode-abbrev-table): Remove redundant declaration.
6625 (prolog-upper-case-string, prolog-lower-case-string): Remove.
6626 (prolog-use-smie): Remove.
6627 (prolog-smie-rules): Add indentation rule for the if-then-else layout
6628 supported by prolog-electric-if-then-else-flag.
6629 (prolog-mode-variables, prolog-menu): Use setq-local.
6630 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
6631 Remove binding to `Backspace' since this key doesn't exist anyway.
6632 Remove bindings for electric self-inserting keys.
6633 (prog-mode): Assume it's defined.
6634 (prolog-post-self-insert): New function.
6635 (prolog-mode): Use it.
6636 (prolog-indent-line, prolog-indent-level)
6637 (prolog-find-indent-of-matching-paren)
6638 (prolog-indentation-level-of-line, prolog-goto-comment-column)
6639 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
6640 (prolog-goto-next-paren, prolog-in-string-or-comment)
6641 (prolog-tokenize, prolog-inside-mline-comment)
6642 (prolog-find-start-of-mline-comment): Remove functions.
6643 (prolog-find-unmatched-paren, prolog-clause-end)
6644 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
6645 (prolog-electric--if-then-else): Rename from
6646 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
6647 (prolog-tokenize-searchkey): Remove const.
6648 (prolog-clause-info): Use forward-sexp.
6649 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
6650 (prolog-electric-if-then-else): Remove commands.
6651 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
6652 for use in post-self-insert-hook.
6653 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
6654 for use in post-self-insert-hook.
6655 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
6656 for use in post-self-insert-hook.
6657 (prolog-electric--underscore): Rename from prolog-electric--underscore;
6658 adapt it for use in post-self-insert-hook.
6659
6660 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
6661
6662 * emacs-lisp/ert.el (ert-run-tests-interactively):
6663 Use `completing-read'. (Bug#9756)
6664
6665 2013-10-25 Eli Zaretskii <eliz@gnu.org>
6666
6667 * simple.el (line-move): Call line-move-1 instead of
6668 line-move-visual when the current window hscroll is zero, but
6669 temporary-goal-column indicates we will need to hscroll as result
6670 of the movement. (Bug#15712)
6671
6672 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
6673
6674 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
6675 capitalization. Use :visible instead of :active.
6676 Fix `ruby-indent-exp' reference. Add menu items for the generic
6677 commands that are used with SMIE.
6678 (ruby-do-end-to-brace): Insert space after `{'.
6679
6680 2013-10-25 John Anthony <john@jo.hnanthony.com>
6681
6682 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
6683
6684 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
6685
6686 2013-10-25 Glenn Morris <rgm@gnu.org>
6687
6688 * vc/vc.el (vc-print-log): Don't use a working revision unless
6689 one was explicitly specified. (Bug#15322)
6690
6691 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6692
6693 * subr.el (add-to-list): Preserve return value in compiler-macro
6694 (bug#15692).
6695
6696 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6697
6698 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
6699 result. Ask user to retry using '-all' flag. (Bug#15701)
6700
6701 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6702
6703 * emacs-lisp/smie.el: New smie-config system.
6704 (smie-config): New defcustom.
6705 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
6706 (smie-config-guess, smie-config-save): New commands.
6707 (smie-config--mode-local, smie-config--buffer-local)
6708 (smie-config--trace, smie-config--modefuns): New vars.
6709 (smie-config--advice, smie-config--mode-hook)
6710 (smie-config--setter, smie-config-local, smie-config--get-trace)
6711 (smie-config--guess-value, smie-config--guess): New functions.
6712 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
6713 text properties. Treat "string fence" syntax like string syntax.
6714
6715 * progmodes/sh-script.el (sh-use-smie): Change default.
6716 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
6717 (sh-var-value): Simplify by CSE.
6718 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
6719 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
6720 is used.
6721 (sh-guess-basic-offset): Use cl-incf.
6722 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
6723
6724 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
6725
6726 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
6727 (bug#15699).
6728
6729 2013-10-24 Glenn Morris <rgm@gnu.org>
6730
6731 * Makefile.in (abs_top_srcdir): Remove.
6732 (update-subdirs): Use relative path to update-subdirs.
6733
6734 2013-10-24 Eli Zaretskii <eliz@gnu.org>
6735
6736 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
6737 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
6738 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
6739 Call unmsys--file-name before expand-file-name, not after it.
6740
6741 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
6742
6743 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
6744 (ert-test-skipped): New error.
6745 (ert-skip, ert-stats-skipped): New defuns.
6746 (ert--skip-unless): New macro.
6747 (ert-test-skipped): New struct.
6748 (ert--run-test-debugger, ert-test-result-type-p)
6749 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
6750 (ert--stats-set-test-and-result, ert-char-for-test-result)
6751 (ert-string-for-test-result, ert-run-tests-batch)
6752 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
6753 Handle skipped tests. (Bug#9803)
6754
6755 2013-10-24 Glenn Morris <rgm@gnu.org>
6756
6757 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
6758
6759 * Makefile.in (abs_top_srcdir): New, set by configure.
6760 (update-subdirs): Correct build-aux location.
6761
6762 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
6763
6764 * vc/vc.el (vc-print-root-log): Always set `default-directory'
6765 value, whether we could auto-deduce `backend', or not.
6766
6767 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
6768 with parameters" example. Simplify the "is it block or is it
6769 hash" check, but also make it more thorough.
6770
6771 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
6772
6773 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
6774
6775 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
6776
6777 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
6778 { if it is hanging.
6779
6780 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
6781 :before ";".
6782
6783 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
6784
6785 * progmodes/compile.el (compilation-directory-matcher)
6786 (compilation-page-delimiter):
6787 Support GNU Make-4.0 directory quoting. (Bug#15678)
6788
6789 2013-10-23 Leo Liu <sdl.web@gmail.com>
6790
6791 * ido.el (ido-tidy): Handle read-only text.
6792
6793 2013-10-23 Glenn Morris <rgm@gnu.org>
6794
6795 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
6796 (emacs, compile, compile-always):
6797 Quote entities that might contain whitespace.
6798 (custom-deps, finder-data, autoloads): Use abs_lisp.
6799 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
6800 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
6801 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
6802
6803 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
6804
6805 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
6806 Use `following-char'.
6807
6808 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
6809
6810 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
6811 * progmodes/ruby-mode.el (ruby-smie-rules):
6812 Remove corresponding workaround. Fix indentation rule of ";" so it
6813 also applies when ";" is the parent.
6814
6815 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
6816
6817 * frame.el (display-screens, display-pixel-height)
6818 (display-pixel-width, display-mm-width, display-backing-store)
6819 (display-save-under, display-planes, display-color-cells)
6820 (display-visual-class, display-monitor-attributes-list):
6821 Mention the optional ‘display’ argument in doc strings.
6822
6823 2013-10-22 Michael Gauland <mikelygee@amuri.net>
6824
6825 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
6826 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
6827
6828 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
6829
6830 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
6831 TODO. Add "." after " @ ".
6832 (ruby-smie--at-dot-call): New function. Checks if point at method
6833 call with explicit target.
6834 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
6835 to the method name tokens when it precedes them.
6836 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
6837 (ruby-smie-rules): Add rule for indentation before and after "."
6838 token.
6839
6840 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
6841
6842 * textmodes/remember.el (remember-diary-extract-entries):
6843 Avoid add-to-list.
6844
6845 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
6846 an instruction.
6847
6848 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
6849
6850 * progmodes/ruby-mode.el (ruby-smie-grammar):
6851 Add (almost) all infix operators.
6852 (ruby-smie--implicit-semi-p): Add new operator chars.
6853
6854 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
6855 `smie-down-list'.
6856 (ruby-smie--args-separator-p): Check that there's no newline
6857 between method call and its arguments.
6858
6859 2013-10-20 Alan Mackenzie <acm@muc.de>
6860
6861 Allow comma separated lists after Java "implements".
6862
6863 * progmodes/cc-engine.el (c-backward-over-enum-header):
6864 Parse commas.
6865 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
6866 from a "disallowed" list in enum fontification.
6867
6868 2013-10-20 Johan Bockgård <bojohan@gnu.org>
6869
6870 * startup.el (default-frame-background-mode): Remove unused defvar.
6871
6872 * progmodes/verilog-mode.el (verilog-mode): Don't set
6873 comment-indent-function globally.
6874
6875 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
6876
6877 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
6878 Move Info menu item creation to ns-win.el.
6879
6880 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
6881 in menu bar.
6882
6883 * menu-bar.el: Move GNUstep specific menus...
6884
6885 * term/ns-win.el (ns-initialize-window-system): ... to here.
6886
6887 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6888
6889 * simple.el (newline): Only run post-self-insert-hook when
6890 called interactively.
6891
6892 2013-10-19 Johan Bockgård <bojohan@gnu.org>
6893
6894 * icomplete.el (icomplete-with-completion-tables): Add :version.
6895
6896 2013-10-19 Alan Mackenzie <acm@muc.de>
6897
6898 Fix fontification bugs with constructors and const.
6899
6900 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
6901 CASE 2) Remove the check for the absence of a suffix construct
6902 after a function declaration with only types (no identifiers) in
6903 the parentheses. Also, accept a function declaration with just a
6904 type inside the parentheses, if this type can be positively
6905 recognised as such, or if a prefix keyword like "explicit" nails
6906 down the construct as a declaration.
6907
6908 2013-10-19 Eli Zaretskii <eliz@gnu.org>
6909
6910 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
6911 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
6912 the problem whereby selecting a menu item that leads to a
6913 minibuffer prompt moves the cursor out of the minibuffer window,
6914 making it hard to type at the prompt. Suggested by Stefan Monnier
6915 <monnier@iro.umontreal.ca>.
6916
6917 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
6918
6919 * menu-bar.el: Don't make Services menu.
6920
6921 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6922
6923 * ffap.el: Handle "/usr/include/c++/<version>" directories.
6924 (ffap-alist): Use ffap-c++-mode for c++-mode.
6925 (ffap-c++-path): New variable.
6926 (ffap-c++-mode): New function.
6927
6928 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
6929
6930 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
6931
6932 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
6933
6934 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
6935 introduced on 2013-09-08, which results in an infinite loop
6936 requesting a password.
6937
6938 2013-10-18 Glenn Morris <rgm@gnu.org>
6939
6940 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
6941
6942 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
6943
6944 Sync with upstream verilog-mode revision 1a6ecec7.
6945 * progmodes/verilog-mode.el (verilog-mode-version): Update.
6946 (verilog-mode-release-date): Remove.
6947 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
6948 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
6949 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
6950 (verilog-auto-tieoff-ignore-regexp)
6951 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
6952 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
6953 (verilog-signals-with, verilog-dir-cache-preserving)
6954 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
6955 Doc fixes.
6956 (verilog-case-fold): New option, to control case folding in
6957 regexp searches, bug597.
6958 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
6959 (verilog-string-match-fold, verilog-in-paren-count)
6960 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
6961 (verilog-at-close-struct-p): New functions.
6962 (verilog-beg-block-re-ordered, verilog-extended-case-re)
6963 (verilog-forward-sexp, verilog-set-auto-endcomments)
6964 (verilog-leap-to-case-head): Handle "unique0" case.
6965 (verilog-in-constraint-re): New constant.
6966 (verilog-keywords, verilog-type-font-keywords):
6967 Add some SystemVerilog 1800-2012 keywords.
6968 (verilog-label-be): Remove unimplemented argument, bug669.
6969 (verilog-batch-execute-func): When batch expanding clear
6970 create-lockfiles to prevent spurious user locks when a file ends
6971 up not changing.
6972 (verilog-calculate-indent, verilog-calc-1)
6973 (verilog-at-close-constraint-p, verilog-at-constraint-p)
6974 (verilog-do-indent): Fix indentation of nested constraints
6975 and structures.
6976 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
6977 (verilog-auto-inst-param): Use verilog-string-match-fold.
6978 (verilog-read-inst-module-matcher):
6979 Fix AUTOINST on gate primitives with #1.
6980 (verilog-read-decls): Fix double-declaring user-defined typed signals.
6981 Reads all user-defined typed variables.
6982 (verilog-read-defines): Fix reading definitions inside comments, bug647.
6983 (verilog-signals-matching-regexp)
6984 (verilog-signals-not-matching-regexp, verilog-auto):
6985 Respect verilog-case-fold.
6986 (verilog-diff-report): Fix line count.
6987 (verilog-auto-assign-modport): Remove unused local `modi'.
6988 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
6989 better handle multidimensional arrays.
6990 Fix packed array ports misadding bit index in AUTOINST, bug637.
6991 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
6992 to not double-declare existing outputs and inputs, respectively.
6993 (verilog-template-map): Bind U to verilog-sk-uvm-component.
6994 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
6995 (verilog-sk-uvm-component): New skeleton.
6996 (verilog-submit-bug-report): Add verilog-case-fold,
6997 remove verilog-mode-release-date.
6998
6999 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
7000
7001 * subr.el (sit-for): Call (input-pending-p t) so as to behave
7002 as before.
7003
7004 2013-10-18 Reuben Thomas <rrt@sc3d.org>
7005
7006 * textmodes/remember.el (remember): Set buffer-offer-save in
7007 remember buffers (bug#13566).
7008
7009 2013-10-18 Daniel Colascione <dancol@dancol.org>
7010
7011 When evaluating forms in ielm, direct standard output to ielm
7012 buffer. Add new ielm-return-for-effect command. Remove trailing
7013 whitespace throughout.
7014
7015 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
7016 (ielm-return-for-effect): New command.
7017 (ielm-send-input): Accept optional `for-effect' parameter.
7018 (ielm-eval-input): Accept optional `for-effect' parameter.
7019 Bind `standard-output' to stream we create using
7020 `ielm-standard-output-impl'. Suppress printing result when
7021 `for-effect'.
7022 (ielm-standard-output-impl): New function.
7023 (inferior-emacs-lisp-mode): Explain new features in documentation.
7024
7025 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
7026
7027 Code cleanup.
7028
7029 * net/tramp.el (tramp-debug-message): Do not check for connection
7030 buffer.
7031 (tramp-message): Use "vector" connection property.
7032
7033 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
7034 (tramp-equal-remote, tramp-eshell-directory-change)
7035 * net/tramp-adb.el (tramp-adb-handle-copy-file)
7036 (tramp-adb-handle-rename-file)
7037 * net/tramp-cmds.el (tramp-list-remote-buffers)
7038 (tramp-cleanup-connection, tramp-cleanup-this-connection)
7039 * net/tramp-compat.el (tramp-compat-process-running-p)
7040 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
7041 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
7042 (tramp-gvfs-handle-rename-file)
7043 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
7044 (tramp-set-file-uid-gid)
7045 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7046 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
7047 of `file-remote-p'.
7048
7049 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
7050 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7051 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
7052 (tramp-gw-open-network-stream): Suppress unrelated traces.
7053
7054 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
7055 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7056 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7057 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
7058 connection property.
7059
7060 * net/tramp-cache.el (top): Suppress traces when reading
7061 persistency file.
7062
7063 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7064 Refactor common code. Improve debug message.
7065 (tramp-maybe-open-connection)
7066 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
7067 connection buffer too early.
7068
7069 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
7070 from `tramp-smb-actions-with-acl'.
7071 (tramp-smb-actions-set-acl): New defconst.
7072 (tramp-smb-handle-copy-directory)
7073 (tramp-smb-action-get-acl): New defun, renamed from
7074 `tramp-smb-action-with-acl'.
7075 (tramp-smb-action-set-acl): New defun.
7076 (tramp-smb-handle-set-file-acl): Rewrite.
7077
7078 2013-10-17 Glenn Morris <rgm@gnu.org>
7079
7080 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
7081
7082 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7083
7084 * skeleton.el (skeleton-newline): Remove.
7085 (skeleton-internal-1): Use (insert "\n") instead.
7086
7087 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
7088 let-bindings.
7089
7090 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
7091 forward-sexp-function while we redo its job (bug#15613).
7092
7093 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
7094
7095 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
7096 represented by lists.
7097
7098 2013-10-16 Glenn Morris <rgm@gnu.org>
7099
7100 * tmm.el (tmm--history): New dynamic variable.
7101 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
7102
7103 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
7104
7105 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
7106 (tramp-smb-errors): Add error messages.
7107 (tramp-smb-actions-with-acl): New defconst.
7108 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
7109 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
7110 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
7111 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
7112 (tramp-smb-get-stat-capability): Fix tests.
7113
7114 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
7115
7116 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
7117 (bug#15580).
7118
7119 2013-10-16 Glenn Morris <rgm@gnu.org>
7120
7121 * ansi-color.el (ansi-color-drop-regexp):
7122 Add 1J, 1K, 2K. (Bug#15617)
7123
7124 * files.el (hack-local-variables--warned-lexical): New.
7125 (hack-local-variables):
7126 Warn about misplaced lexical-binding. (Bug#15616)
7127
7128 * net/eww.el (eww-render): Always set eww-current-url,
7129 and update header line. (Bug#15622)
7130 (eww-display-html): ... Rather than just doing it here.
7131
7132 2013-10-15 Eli Zaretskii <eliz@gnu.org>
7133
7134 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
7135 menu navigations commands.
7136
7137 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
7138
7139 * progmodes/subword.el (subword-capitalize): Be careful when
7140 the search for [[:alpha:]] fails (bug#15580).
7141
7142 2013-10-14 Eli Zaretskii <eliz@gnu.org>
7143
7144 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
7145 to commands that scroll the menu.
7146
7147 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
7148
7149 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
7150 Handle methods ending with `?' and `!'.
7151
7152 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
7153
7154 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
7155 `japanese-cp932' to `cp932' to fix the problem where saving a
7156 source file written in Shift_JIS twice would end up having
7157 `coding: japanese-cp932' which Ruby could not recognize.
7158 (ruby-mode-set-encoding): Add support for encodings mapped to nil
7159 in `ruby-encoding-map'.
7160 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
7161 doesn't need to be explicitly declared in magic comment.
7162 (ruby-encoding-map): Add type declaration for better customize UI.
7163
7164 2013-10-13 Glenn Morris <rgm@gnu.org>
7165
7166 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
7167 Occur buffers are read-only. http://bugs.debian.org/720775
7168
7169 * emacs-lisp/authors.el (authors-fixed-entries):
7170 Comment out old alpha stuff.
7171
7172 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
7173
7174 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
7175 to `after-save-hook' instead of `before-save-hook'.
7176 (ruby-mode-set-encoding): Use the value of coding system used to
7177 write the file. Call `basic-save-buffer-1' after modifying the
7178 buffer.
7179
7180 2013-10-13 Alan Mackenzie <acm@muc.de>
7181
7182 Fix indentation/fontification of Java enum with
7183 "implements"/generic.
7184
7185 * progmodes/cc-engine.el (c-backward-over-enum-header):
7186 Extracted from the three other places and enhanced to handle generics.
7187 (c-inside-bracelist-p): Uses new function above.
7188 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
7189 function above.
7190 (c-font-lock-enum-tail): Uses new function above.
7191
7192 2013-10-13 Kenichi Handa <handa@gnu.org>
7193
7194 * international/mule-cmds.el (select-safe-coding-system): Remove a
7195 superfluous condition in chekcing whether a coding system is safe
7196 or not.
7197
7198 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
7199
7200 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
7201
7202 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
7203
7204 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
7205
7206 2013-10-13 Glenn Morris <rgm@gnu.org>
7207
7208 * menu-bar.el (menu-bar-update-buffers):
7209 Unify Buffers menu prompt string. (Bug#15576)
7210
7211 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
7212
7213 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
7214 Add some entries.
7215 (authors-fixed-entries): Use accented form of name.
7216
7217 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7218
7219 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
7220 method calls (bug#15594).
7221 (ruby-smie--args-separator-p): New function.
7222 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
7223 recognize paren-free method calls.
7224
7225 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
7226 internals of universal-argument.
7227
7228 2013-10-11 Eli Zaretskii <eliz@gnu.org>
7229
7230 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
7231 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
7232 dropped menu on second mouse click on the menu bar.
7233
7234 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7235
7236 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
7237 (explicit-shell-file-name): Declare.
7238 (sh--vars-before-point, sh--cmd-completion-table): New functions.
7239 (sh-completion-at-point-function): New function.
7240 (sh-mode): Use it.
7241 (sh-smie--keyword-p): Remove unused argument.
7242 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
7243 vars.
7244 (sh-set-shell): Always setup SMIE, even if we use the
7245 old indentation code.
7246
7247 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
7248
7249 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
7250 cases of ? and =.
7251 (ruby-smie-rules): Simplify the "do" rule. The cases when the
7252 predicate would return nil are almost non-existent.
7253 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
7254
7255 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
7256 cache also after commands that modify the buffer but don't move
7257 point.
7258
7259 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7260
7261 * env.el (substitute-env-in-file-name): New function.
7262 (substitute-env-vars): Extend the meaning of the optional arg.
7263
7264 2013-10-10 Eli Zaretskii <eliz@gnu.org>
7265
7266 * term/w32-win.el (dynamic-library-alist): Define separate lists
7267 of GIF DLLs for versions before and after 5.0.0 of giflib.
7268 (Bug#15531)
7269
7270 2013-10-10 João Távora <joaotavora@gmail.com>
7271
7272 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
7273 not locked, use last revision and current source as
7274 defaults. (Bug#15569)
7275
7276 2013-10-10 Masatake YAMATO <yamato@redhat.com>
7277
7278 * menu-bar.el (menu-bar-open): Don't use popup-menu if
7279 menu-bar is hidden.
7280
7281 2013-10-10 Martin Rudalics <rudalics@gmx.at>
7282
7283 * window.el (pop-to-buffer-same-window): Fix doc-string.
7284 (Bug#15492)
7285
7286 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7287
7288 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
7289
7290 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
7291
7292 * calendar/icalendar.el (icalendar-import-file):
7293 Fix interactive spec. (Bug#15482)
7294
7295 2013-10-10 Glenn Morris <rgm@gnu.org>
7296
7297 * desktop.el (desktop-save): Default to saving in .emacs.d,
7298 since PWD is no longer in desktop-path by default. (Bug#15319)
7299
7300 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
7301 now that text mode has a menu with the same entry.
7302 (menu-bar-text-mode-auto-fill): Remove now unused func.
7303 * textmodes/text-mode.el (text-mode-map):
7304 Use auto-fill help text from menu-bar.el.
7305
7306 2013-10-10 John Anthony <john@jo.hnanthony.com>
7307
7308 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
7309
7310 2013-10-09 Juri Linkov <juri@jurta.org>
7311
7312 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
7313 instead of this-command-keys. Add universal-argument-more and
7314 universal-argument-minus to the list of prefix commands. (Bug#15568)
7315
7316 2013-10-09 Glenn Morris <rgm@gnu.org>
7317
7318 * vc/vc-svn.el (vc-svn-create-repo):
7319 Expand paths in file://... url. (Bug#15446)
7320
7321 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
7322 Add some entries.
7323 (authors): Remove unused local variables.
7324
7325 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7326
7327 * profiler.el: Create a more coherent calltree from partial backtraces.
7328 (profiler-format): Hide the tail with `invisible' so that C-s can still
7329 find the hidden elements.
7330 (profiler-calltree-depth): Don't recurse so enthusiastically.
7331 (profiler-function-equal): New hash-table-test.
7332 (profiler-calltree-build-unified): New function.
7333 (profiler-calltree-build): Use it.
7334 (profiler-report-make-name-part): Indent the calltree less.
7335 (profiler-report-mode): Add visibility specs for profiler-format.
7336 (profiler-report-expand-entry, profiler-report-toggle-entry):
7337 Expand the whole subtree when provided with a prefix arg.
7338
7339 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
7340
7341 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
7342 iuwu-mod token.
7343 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
7344 hanging iuwu-mod token.
7345 (ruby-smie--forward-token): Do not include a dot after a token in
7346 that token.
7347 (ruby-smie--backward-token): Likewise.
7348
7349 2013-10-08 Juri Linkov <juri@jurta.org>
7350
7351 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
7352 to isearch-other-control-char.
7353 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
7354 and isearch-post-command-hook to post-command-hook.
7355 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
7356 and isearch-post-command-hook from post-command-hook.
7357 (isearch-unread-key-sequence)
7358 (isearch-reread-key-sequence-naturally)
7359 (isearch-lookup-scroll-key, isearch-other-control-char)
7360 (isearch-other-meta-char): Remove functions.
7361 (isearch-pre-command-hook, isearch-post-command-hook):
7362 New functions based on isearch-other-meta-char rewritten
7363 relying on the new behavior of overriding-terminal-local-map
7364 that does not replace the local keymaps any more. (Bug#15200)
7365
7366 2013-10-08 Eli Zaretskii <eliz@gnu.org>
7367
7368 Support menus on text-mode terminals.
7369 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
7370 functionality.
7371
7372 * tooltip.el (tooltip-mode): Don't error out on TTYs.
7373
7374 * menu-bar.el (popup-menu, popup-menu-normalize-position):
7375 Move here from mouse.el.
7376 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
7377 and arrow keys.
7378 (tty-menu-navigation-map): New map for TTY menu navigation.
7379
7380 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
7381
7382 * frame.el (display-mouse-p): Report text-mode mouse as available
7383 on w32.
7384 (display-popup-menus-p): Report availability if mouse is
7385 available; don't condition on window-system.
7386
7387 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
7388 (tty-menu-selected-face): New faces.
7389
7390 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7391
7392 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
7393 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
7394 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
7395 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
7396 New constants.
7397 (lisp-mode-variables): New `elisp' argument.
7398 (emacs-lisp-mode): Use it.
7399 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
7400 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
7401
7402 * indent.el: Use lexical-binding.
7403 (indent-region): Add progress reporter.
7404 (tab-stop-list): Make it implicitly extend to infinity by repeating the
7405 last step.
7406 (indent--next-tab-stop): New function to implement this behavior.
7407 (tab-to-tab-stop, move-to-tab-stop): Use it.
7408
7409 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
7410
7411 * indent.el (indent-rigidly--current-indentation): New function.
7412 (indent-rigidly-map): New var.
7413 (indent-rigidly): Use it to provide interactive mode (bug#8196).
7414
7415 2013-10-08 Bastien Guerry <bzg@gnu.org>
7416
7417 * register.el (insert-register): Fix 2013-10-07 change.
7418
7419 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7420
7421 * progmodes/perl-mode.el: Use lexical-binding.
7422 Remove redundant :group args.
7423 (perl-nochange): Change default to be closer to other major modes's
7424 standard behavior.
7425 (perl-indent-line): Don't consider text on current line as a
7426 valid beginning of function from which to indent.
7427
7428 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
7429 with more than one argument (bug#15538).
7430
7431 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
7432
7433 * vc/pcvs.el: Use lexical-binding.
7434 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
7435 environment of `eval'.
7436 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
7437 than a list of expressions. Adjust callers.
7438 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
7439
7440 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
7441
7442 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
7443 case of the dot in a chained method call being on the following line.
7444
7445 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7446
7447 * electric.el (electric-indent-inhibit): New var.
7448 (electric-indent-post-self-insert-function): Use it.
7449 * progmodes/python.el (python-mode): Set it.
7450
7451 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
7452 open braces.
7453
7454 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
7455
7456 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
7457 (css-mode): Use electric-indent-chars.
7458
7459 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
7460 (font-lock-beg, font-lock-end): Move before first use.
7461 (nxml-mode): Use syntax-propertize-function.
7462 (nxml-after-change, nxml-after-change1): Adjust accordingly.
7463 (nxml-extend-after-change-region): Remove.
7464 * nxml/xmltok.el: Use lexical-binding.
7465 (xmltok-save): Use `declare'.
7466 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
7467 * nxml/nxml-util.el: Use lexical-binding.
7468 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
7469 Use `declare'.
7470 * nxml/nxml-ns.el: Use lexical-binding.
7471 (nxml-ns-save): Use `declare'.
7472 (nxml-ns-prefixes-for): Avoid add-to-list.
7473 * nxml/rng-match.el: Use lexical-binding.
7474 (rng--ipattern): Use cl-defstruct.
7475 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
7476 (rng-cons-group-after, rng-subst-group-after)
7477 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
7478 Use closures instead of `(lambda...).
7479
7480 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
7481
7482 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
7483 of BEG and END.
7484
7485 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7486 Use `tramp-handle-insert-file-contents'.
7487 (tramp-gvfs-handle-insert-file-contents): Remove function.
7488
7489 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
7490 Use `save-restriction' in order to keep markers.
7491
7492 * net/trampver.el: Update release number.
7493
7494 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7495
7496 * progmodes/compile.el (compilation-parse-errors):
7497 Use compilation--put-prop.
7498 (compilation--ensure-parse): Check compilation-multiline.
7499
7500 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
7501
7502 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
7503 lexical-binding.
7504
7505 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
7506
7507 * progmodes/ruby-mode.el: Fix recently added tests.
7508 (ruby-smie-grammar): Add - and +.
7509 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
7510 (ruby-smie--backward-id): New functions.
7511 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
7512 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
7513 any more.
7514
7515 2013-10-07 Leo Liu <sdl.web@gmail.com>
7516
7517 * register.el (register-preview-delay)
7518 (register-preview-functions): New variables.
7519 (register-read-with-preview, register-preview)
7520 (register-describe-oneline): New functions.
7521 (point-to-register, window-configuration-to-register)
7522 (frame-configuration-to-register, jump-to-register)
7523 (number-to-register, view-register, insert-register)
7524 (copy-to-register, append-to-register, prepend-to-register)
7525 (copy-rectangle-to-register): Use register-read-with-preview to
7526 read register. (Bug#15525)
7527
7528 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
7529
7530 * net/network-stream.el (network-stream-open-starttls): Don't add
7531 --insecure if it's already present, because that gnutls-cli
7532 rejects getting that parameter twice.
7533
7534 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
7535
7536 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
7537 keyword, too.
7538
7539 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
7540
7541 * newcomment.el (comment-use-global-state): Change default value
7542 to t, mark obsolete (Bug#15251).
7543 (comment-beginning): In addition to `comment-to-syntax', check the
7544 value of `comment-use-global-state'.
7545
7546 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7547
7548 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
7549 (ruby-comment-column): Follow the global default, by default.
7550 (ruby-smie-grammar): Add assignment syntax.
7551 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
7552 open-paren, a comma, or a \.
7553 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
7554 and line continuations.
7555 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
7556 followed by implicit semi-colons. Add rule for string concatenation
7557 and for indentation at BOB.
7558 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
7559
7560 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
7561 calling next-sexp, since next-token may have skipped chars which
7562 next-sexp doesn't know should be skipped!
7563
7564 2013-10-05 Leo Liu <sdl.web@gmail.com>
7565
7566 * progmodes/octave.el (octave-send-region):
7567 Call compilation-forget-errors.
7568
7569 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
7570
7571 * vc/vc-svn.el (vc-svn-find-admin-dir):
7572 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
7573 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
7574 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
7575 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
7576
7577 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
7578
7579 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
7580
7581 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
7582
7583 * subr.el (read-passwd): Hide chars even when called within a context
7584 where after-change-functions is disabled (bug#15501).
7585 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
7586 until we removed ourself from overriding-terminal-local-map.
7587
7588 2013-10-04 Leo Liu <sdl.web@gmail.com>
7589
7590 * progmodes/octave.el (inferior-octave-mode):
7591 Call compilation-forget-errors.
7592
7593 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
7594
7595 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
7596
7597 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
7598
7599 * net/secrets.el (secrets-create-collection): Add optional
7600 argument ALIAS. Use proper Label keyword. Append ALIAS as
7601 dbus-call-method argument. (Bug#15516)
7602
7603 2013-10-04 Leo Liu <sdl.web@gmail.com>
7604
7605 * progmodes/octave.el (inferior-octave-error-regexp-alist)
7606 (inferior-octave-compilation-font-lock-keywords): New variables.
7607 (compilation-error-regexp-alist)
7608 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
7609 (inferior-octave-mode): Use compilation-shell-minor-mode.
7610
7611 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
7612
7613 * minibuffer.el (completion--replace): Be careful that `end' might be
7614 a marker.
7615
7616 2013-10-03 Daiki Ueno <ueno@gnu.org>
7617
7618 Add support for package signature checking.
7619 * emacs-lisp/package.el (url-http-file-exists-p)
7620 (epg-make-context, epg-context-set-home-directory)
7621 (epg-verify-string, epg-context-result-for)
7622 (epg-signature-status, epg-signature-to-string)
7623 (epg-check-configuration, epg-configuration)
7624 (epg-import-keys-from-file): Declare.
7625 (package-check-signature): New user option.
7626 (package-unsigned-archives): New user option.
7627 (package-desc): Add `signed' field.
7628 (package-load-descriptor): Set `signed' field if .signed file exists.
7629 (package--archive-file-exists-p): New function.
7630 (package--check-signature): New function.
7631 (package-install-from-archive): Check package signature.
7632 (package--download-one-archive): Check archive signature.
7633 (package-delete): Remove .signed file.
7634 (package-import-keyring): New command.
7635 (package-refresh-contents): Import default keyring.
7636 (package-desc-status): Add "unsigned" status.
7637 (describe-package-1, package-menu--print-info)
7638 (package-menu-mark-delete, package-menu--find-upgrades)
7639 (package-menu--status-predicate): Support "unsigned" status.
7640
7641 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7642
7643 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
7644 the new compilation scheme using the new byte-codes.
7645
7646 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
7647 (byte-pophandler): New byte codes.
7648 (byte-goto-ops): Adjust accordingly.
7649 (byte-compile--use-old-handlers): New var.
7650 (byte-compile-catch): Use new byte codes depending on
7651 byte-compile--use-old-handlers.
7652 (byte-compile-condition-case--old): Rename from
7653 byte-compile-condition-case.
7654 (byte-compile-condition-case--new): New function.
7655 (byte-compile-condition-case): New function that dispatches depending
7656 on byte-compile--use-old-handlers.
7657 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
7658 when we can.
7659
7660 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
7661 Optimize under `condition-case' and `catch' if
7662 byte-compile--use-old-handlers is nil.
7663 (disassemble-offset): Handle new bytecodes.
7664
7665 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7666
7667 * subr.el (error): Use `declare'.
7668 (decode-char, encode-char): Use advertised-calling-convention instead
7669 of the docstring to discourage use of the `restriction' arg.
7670
7671 2013-10-03 Daiki Ueno <ueno@gnu.org>
7672
7673 * epg.el (epg-verify-file): Add a comment saying that it does not
7674 notify verification error as a return value nor a signal.
7675 (epg-verify-string): Ditto.
7676
7677 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
7678
7679 * progmodes/compile.el (compilation-start): Try globbing the arg to
7680 `cd' (bug#15417).
7681
7682 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
7683
7684 Sync with Tramp 2.2.8.
7685
7686 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
7687 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
7688 * net/trampver.el: Update release number.
7689
7690 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
7691
7692 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
7693 and default-process-coding-system for darwin only.
7694
7695 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
7696
7697 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
7698
7699 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
7700
7701 * vc/vc-git.el (vc-git-grep): Disable pager.
7702
7703 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
7704
7705 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
7706 Use :url instead of :homepage, as per
7707 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
7708
7709 * newcomment.el (comment-beginning): When `comment-use-syntax' is
7710 non-nil, use `syntax-ppss' (Bug#15251).
7711
7712 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7713
7714 * progmodes/octave.el (inferior-octave-startup-file):
7715 Prefer ~/.emacs.d/init_octave.m.
7716
7717 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
7718
7719 * emacs-lisp/package.el (package-desc-from-define):
7720 Accept additional arguments as plist, convert them to an alist and store
7721 them in the `extras' slot.
7722 (package-generate-description-file): Convert extras alist back to
7723 plist and append to the `define-package' form arguments.
7724 (package--alist-to-plist): New function.
7725 (package--ac-desc): Add `extras' slot.
7726 (package--add-to-archive-contents): Check if the archive-contents
7727 vector is long enough, and if it is, pass its `extras' slot value
7728 to `package-desc-create'.
7729 (package-buffer-info): Call `lm-homepage', pass the returned value
7730 to `package-desc-from-define'.
7731 (describe-package-1): Render the homepage button (Bug#13291).
7732
7733 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7734 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
7735
7736 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
7737
7738 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
7739 and default-process-coding-system to utf-8-unix (Bug#15402).
7740
7741 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
7742
7743 * subr.el (looking-back): Do not recommend using looking-back.
7744
7745 2013-09-28 Alan Mackenzie <acm@muc.de>
7746
7747 Fix indentation/fontification of Java enum with "implements".
7748
7749 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
7750 regexp which matches "implements", etc., in Java.
7751 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
7752 specifier clauses coming after "enum".
7753 * progmodes/cc-fonts.el (c-font-lock-declarations)
7754 (c-font-lock-enum-tail): Check for extra specifier clauses coming
7755 after "enum".
7756
7757 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
7758
7759 * faces.el (region): Change ns_selection_color to
7760 ns_selection_fg_color, add ns_selection_bg_color.
7761
7762 2013-09-28 Leo Liu <sdl.web@gmail.com>
7763
7764 * progmodes/octave.el (inferior-octave-completion-table)
7765 (inferior-octave-completion-at-point): Minor tweaks.
7766
7767 * textmodes/ispell.el (ispell-lookup-words): Rename from
7768 lookup-words. (Bug#15460)
7769 (lookup-words): Obsolete.
7770 (ispell-complete-word, ispell-command-loop): All uses changed.
7771
7772 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7773
7774 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
7775 (octave-mode-menu): Add octave-send-buffer.
7776 (octave-send-buffer): New function.
7777
7778 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7779
7780 * progmodes/octave.el (octave-mode-map): Add key binding for
7781 octave-lookfor.
7782 (octave-mode-menu): Add octave-lookfor.
7783 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
7784 octave-lookfor.
7785 (octave-lookfor): New function.
7786
7787 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
7788
7789 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
7790 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
7791 its convention.
7792 (cl--loop-set-iterator-function): New function.
7793 (cl-loop): Adjust accordingly, so as not to use cl-subst.
7794 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
7795 Bind `it' with `let' instead of substituting it with `cl-subst'.
7796 (cl--unused-var-p): New function.
7797 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
7798 Eliminate some unused variable warnings (bug#15326).
7799
7800 2013-09-27 Tassilo Horn <tsdh@gnu.org>
7801
7802 * doc-view.el (doc-view-scale-reset): Rename from
7803 `doc-view-reset-zoom-level'.
7804 (doc-view-scale-adjust): New command.
7805 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
7806 `doc-view-scale-adjust'.
7807
7808 2013-09-26 Tassilo Horn <tsdh@gnu.org>
7809
7810 * doc-view.el (doc-view-reset-zoom-level): New command.
7811 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
7812 zoom commands (bug#15466).
7813
7814 2013-09-26 Kenichi Handa <handa@gnu.org>
7815
7816 * international/quail.el (quail-help): Make it not a command.
7817
7818 2013-09-26 Leo Liu <sdl.web@gmail.com>
7819
7820 * minibuffer.el (completion-all-sorted-completions): Make args
7821 optional as they are.
7822
7823 2013-09-25 Daniel Colascione <dancol@dancol.org>
7824
7825 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
7826 specs are and that they're not evaluated.
7827
7828 2013-09-24 Sam Steingold <sds@gnu.org>
7829
7830 * midnight.el (clean-buffer-list-kill-regexps)
7831 (clean-buffer-list-kill-buffer-names): Update for the new Man
7832 buffer naming which includes the object name.
7833
7834 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7835
7836 * eshell/esh-cmd.el (eshell--sep-terms): New var.
7837 (eshell-parse-command, eshell-parse-pipeline): Use it since
7838 eshell-separate-commands requires a dynamic scoped var.
7839 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
7840
7841 2013-09-23 Leo Liu <sdl.web@gmail.com>
7842
7843 * autoinsert.el (auto-insert-alist): Make the value of
7844 lexical-binding match its file setting.
7845
7846 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
7847
7848 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
7849
7850 * autoarg.el (autoarg-kp-digit-argument):
7851 * electric.el (Electric-command-loop):
7852 * kmacro.el (kmacro-step-edit-insert):
7853 Do not set universal-argument-num-events.
7854
7855 2013-09-22 Leo Liu <sdl.web@gmail.com>
7856
7857 * files.el (interpreter-mode-alist): Add octave.
7858
7859 2013-09-21 Alan Mackenzie <acm@muc.de>
7860
7861 C++: fontify identifier in declaration following "public:" correctly.
7862 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
7863 to match "public", etc.
7864 (c-decl-prefix-re): Add ":" into the C++ value.
7865 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
7866 bit. Add a check for a ":" preceded by "public", etc.
7867
7868 2013-09-21 Eli Zaretskii <eliz@gnu.org>
7869
7870 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
7871 recognized by GDB 7.5 and later.
7872
7873 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
7874
7875 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
7876
7877 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7878
7879 * subr.el (internal--call-interactively): New const.
7880 (called-interactively-p): Use it (bug#3984).
7881
7882 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
7883
7884 * vc/pcvs.el (cvs-mode-ignore):
7885 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
7886 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
7887
7888 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7889
7890 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
7891 (eshell-ls-orig-insert-directory): Remove.
7892 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
7893 (eshell-ls-use-in-dired): Use advice-add/remove.
7894 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
7895 Add `orig-fun' arg for use in :around advice.
7896 Make it check (redundantly) eshell-ls-use-in-dired.
7897
7898 2013-09-19 Glenn Morris <rgm@gnu.org>
7899
7900 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
7901
7902 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
7903
7904 * emacs-lisp/eieio.el (class-parent): Undo previous change.
7905
7906 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
7907
7908 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
7909 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
7910 (tramp-get-remote-python): New defuns.
7911 (tramp-get-remote-uid-with-perl)
7912 (tramp-get-remote-gid-with-perl): New defuns. Perl code
7913 contributed by yary <not.com@gmail.com> (tiny change).
7914 (tramp-get-remote-uid-with-python)
7915 (tramp-get-remote-gid-with-python): New defuns. Python code
7916 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
7917 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
7918
7919 2013-09-19 Glenn Morris <rgm@gnu.org>
7920
7921 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
7922
7923 * eshell/em-unix.el (eshell-remove-entries):
7924 Rename argument to avoid name-clash with global `top-level'.
7925
7926 * eshell/esh-proc.el (eshell-kill-process-function):
7927 Remove eshell-reset-after-proc from eshell-kill-hook if present.
7928 (eshell-reset-after-proc): Remove unused arg `proc'.
7929
7930 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
7931 (directory-files-and-attributes): Mark unused arg.
7932
7933 * eshell/em-unix.el (eshell-remove-entries):
7934 Remove unused arg `path'. Update callers.
7935
7936 * eshell/em-hist.el (eshell-hist-parse-arguments):
7937 Remove unused arg `silent'. Update callers.
7938
7939 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
7940 Fix (f)boundp mix-up.
7941
7942 * eshell/em-smart.el (eshell-smart-scroll-window)
7943 (eshell-disable-after-change):
7944 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
7945
7946 2013-09-18 Alan Mackenzie <acm@muc.de>
7947
7948 Fix fontification of type when followed by "const".
7949 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
7950 "known" types from fontification.
7951
7952 2013-09-18 Glenn Morris <rgm@gnu.org>
7953
7954 * emacs-lisp/chart.el (x-display-color-cells): Declare.
7955 (chart-face-list): Drop Emacsen without display-color-p.
7956
7957 * net/eww.el (libxml-parse-html-region): Declare.
7958 (eww-display-html): Explicit error if no libxml2 support.
7959
7960 * doc-view.el (doc-view-mode): Silence --without-x compilation.
7961
7962 * image.el (image-type-from-buffer, image-multi-frame-p):
7963 Remove --without-x warning/error.
7964
7965 * mouse.el (mouse-yank-primary):
7966 * term.el (term-mouse-paste):
7967 Reorder to silence --without-x compilation.
7968
7969 * mpc.el (doc-view-mode): Silence --without-x compilation.
7970
7971 * mail/rmailmm.el (rmail-mime-set-bulk-data):
7972 Silence --without-x compilation.
7973
7974 * progmodes/gud.el (gud-find-file, gud-mode):
7975 Silence --without-x compilation.
7976 (tooltip-mode): Declare.
7977
7978 * wdired.el (dired-backup-overwrite): Remove declaration.
7979 (wdired-mode-map): Add doc string.
7980
7981 * custom.el (x-get-resource): Declare.
7982
7983 * eshell/em-glob.el (ange-cache):
7984 * eshell/em-unix.el (ange-cache): Declare.
7985
7986 * faces.el (x-display-list, x-open-connection, x-get-resource):
7987 Declare.
7988
7989 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
7990 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
7991 Declare.
7992
7993 * frame.el (x-display-grayscale-p, x-display-name): Declare.
7994
7995 * net/gnutls.el (gnutls-log-level): Declare.
7996
7997 * net/shr.el (image-size, image-animate): Declare.
7998
7999 * simple.el (font-info): Declare.
8000
8001 * subr.el (x-popup-dialog): Declare.
8002
8003 * term/common-win.el (x-select-enable-primary)
8004 (x-last-selected-text-primary, x-last-selected-text-clipboard):
8005 Declare.
8006
8007 * term/ns-win.el (x-handle-args): Declare.
8008
8009 * term/x-win.el (x-select-enable-clipboard): Declare.
8010
8011 * term/w32-win.el (create-default-fontset): Declare.
8012
8013 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
8014 Declare.
8015
8016 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
8017 (fit-frame-to-buffer): Explicit error if --without-x.
8018 (mouse-autoselect-window-select): Silence compiler.
8019
8020 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
8021
8022 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
8023 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
8024 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
8025 * eshell/esh-util.el (eshell-sublist):
8026 Remove unused local variables.
8027
8028 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
8029
8030 * textmodes/two-column.el: Make 2C-split work for --without-x.
8031 (scroll-bar-columns): Autoload.
8032 (top-level): Require fringe when compiling.
8033
8034 2013-09-18 Leo Liu <sdl.web@gmail.com>
8035
8036 * subr.el (add-hook): Robustify to handle closure as well.
8037
8038 2013-09-17 Glenn Morris <rgm@gnu.org>
8039
8040 * simple.el (messages-buffer-mode-map): Unbind "g".
8041
8042 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8043
8044 * help-mode.el (help-mode-finish): Use derived-mode-p.
8045 Remove obsolete highlighting.
8046
8047 * play/life.el (life-mode): Use define-derived-mode. Derive from
8048 special-mode.
8049 (life): Let-bind inhibit-read-only.
8050 (life-setup): Avoid `setq'. Use `life-mode'.
8051
8052 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
8053 which should not be needed any more.
8054 (package-menu-refresh, package-menu-describe-package): Use user-error.
8055
8056 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
8057 (eshell-post-rewrite-command-hook): Make obsolete.
8058 (eshell-parse-command): Simplify.
8059 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
8060 (eshell--cmd): Declare.
8061 (eshell-parse-pipeline): Remove unused var `final-p'.
8062 Pass a dynvar to eshell-post-rewrite-command-hook.
8063 Implement the new eshell-post-rewrite-command-function.
8064 (eshell-invoke-directly): Remove unused arg `input'.
8065 * eshell/esh-io.el (eshell-io-initialize):
8066 Use eshell-post-rewrite-command-function (bug#15399).
8067 (eshell--apply-redirections): Rename from eshell-apply-redirections;
8068 adjust to new calling convention.
8069 (eshell-create-handles): Rename args to avoid clashing with dynvar
8070 `standard-output'.
8071
8072 2013-09-17 Glenn Morris <rgm@gnu.org>
8073
8074 * simple.el (messages-buffer-mode): New major mode.
8075 (messages-buffer): New function.
8076 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
8077 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
8078 (ert-run-test): Use `messages-buffer' function.
8079 (ert--force-message-log-buffer-truncation): Ignore read-only.
8080 * help.el (view-echo-area-messages): Use `messages-buffer' function.
8081 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
8082
8083 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8084
8085 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
8086
8087 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
8088
8089 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
8090
8091 * icomplete.el (icomplete-in-buffer): New var.
8092 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
8093 vars and replace them with functions.
8094 (icomplete-minibuffer-setup): Adjust accordingly.
8095 (icomplete--completion-table, icomplete--completion-predicate)
8096 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
8097 New functions.
8098 (icomplete-forward-completions, icomplete-backward-completions)
8099 (icomplete-simple-completing-p, icomplete-exhibit)
8100 (icomplete-completions): Use them.
8101 (icomplete--in-region-buffer): New var.
8102 (icomplete--in-region-setup): New function.
8103 (icomplete-mode): Use it.
8104
8105 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
8106 (bug#15379).
8107 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
8108 return args and options.
8109 (eshell-eval-using-options): Use the new return value of
8110 eshell--do-opts to set the options's vars in their scope.
8111 (eshell--set-option): Rename from eshell-set-option.
8112 Add arg `opt-vals'.
8113 (eshell--process-option): Rename from eshell-process-option.
8114 Add arg `opt-vals'.
8115 (eshell--process-args): Use an `opt-vals' alist to store the options's
8116 values during their processing and return them additionally to the
8117 remaining args.
8118
8119 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
8120
8121 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
8122 continuation character an operator, as far as indentation is
8123 concerned (Bug#15369).
8124
8125 2013-09-15 Martin Rudalics <rudalics@gmx.at>
8126
8127 * window.el (window--state-put-2): Don't process buffer state
8128 when buffer doesn't exist any more (Bug#15382).
8129
8130 2013-09-15 Glenn Morris <rgm@gnu.org>
8131
8132 * eshell/em-unix.el (eshell/rm):
8133 Make -f ignore missing files. (Bug#15373)
8134
8135 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
8136 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
8137 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
8138
8139 2013-09-14 Glenn Morris <rgm@gnu.org>
8140
8141 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
8142
8143 2013-09-13 Glenn Morris <rgm@gnu.org>
8144
8145 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
8146 (dired-guess-default): Make `file' available in the env. (Bug#15363)
8147
8148 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
8149
8150 * frame.el (x-focus-frame): Mark as declared in frame.c.
8151
8152 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
8153
8154 * ls-lisp.el: Use advice-add.
8155 (original-insert-directory): Remove.
8156 (ls-lisp--insert-directory): Rename from insert-directory; add
8157 `orig-fun' argument.
8158 (insert-directory): Advise.
8159
8160 2013-09-13 Eli Zaretskii <eliz@gnu.org>
8161
8162 * term.el (term-emulate-terminal): Decode the command string
8163 before passing it to term-command-hook. (Bug#15337)
8164
8165 2013-09-13 Glenn Morris <rgm@gnu.org>
8166
8167 * eshell/esh-util.el (ange-cache): Move declaration earlier.
8168
8169 * eshell/esh-ext.el (eshell-search-path): Declare.
8170
8171 * eshell/em-prompt.el (eshell/pwd): Autoload it.
8172 Otherwise an error occurs if eshell-dirs module not loaded.
8173
8174 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
8175
8176 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
8177
8178 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
8179 `tramp-check-proper-host'. Check for a valid method name.
8180
8181 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8182 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8183 * net/tramp-sh.el (tramp-maybe-open-connection):
8184 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
8185
8186 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
8187 also for hash values.
8188
8189 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8190
8191 * term/ns-win.el (parameters): Don't declare as dynamic.
8192 (before-make-frame-hook): Don't add ineffective function.
8193
8194 * eshell/*.el: Use lexical-binding (bug#15231).
8195
8196 2013-09-12 Kenichi Handa <handa@gnu.org>
8197
8198 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
8199
8200 2013-09-12 Glenn Morris <rgm@gnu.org>
8201
8202 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
8203 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
8204
8205 * subr.el (do-after-load-evaluation): Also give compiler warnings
8206 when obsolete files are used (except by obsolete files).
8207
8208 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
8209 in the status output, assume `filename' is the first. (Bug#15322)
8210
8211 * vc/vc.el (vc-deduce-fileset): Doc fix.
8212
8213 * calc/calc-help.el (Info-goto-node):
8214 * progmodes/cperl-mode.el (Info-find-node):
8215 * vc/ediff.el (Info-goto-node): Update declarations.
8216
8217 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
8218
8219 * vc/vc-bzr.el (vc-compilation-mode): Declare.
8220 (vc-bzr-pull): Require vc-dispatcher.
8221 * vc/vc-git.el (vc-compilation-mode): Declare.
8222 (vc-git-pull): Require vc-dispatcher.
8223
8224 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
8225
8226 * progmodes/octave.el (help-button-action): Declare.
8227
8228 * shell.el (shell-directory-tracker): Output error as a message
8229 rather than just returning it as a string.
8230 (shell-process-pushd): Remove useless use of message.
8231
8232 * dframe.el (dframe-timer-fn):
8233 * files.el (dir-locals-read-from-file):
8234 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
8235 (mpc-format):
8236 * reveal.el (reveal-post-command):
8237 * saveplace.el (load-save-place-alist-from-file):
8238 * shell.el (shell-resync-dirs):
8239 * w32-common-fns.el (x-get-selection-value):
8240 * emacs-lisp/copyright.el (copyright-find-copyright):
8241 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
8242 * emulation/tpu-edt.el (tpu-copy-keyfile):
8243 * play/bubbles.el (bubbles--mark-neighbourhood):
8244 * progmodes/executable.el
8245 (executable-make-buffer-file-executable-if-script-p):
8246 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
8247
8248 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8249
8250 Cleanup Eshell to rely less on dynamic scoping.
8251 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
8252 last-value, and ext-command here. Bind `args' closer to `body'.
8253 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
8254 (eshell--args): Declare new dynamic var.
8255 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
8256 last-value, and ext-command. Pass `args' to `body'.
8257 (eshell-process-args): Bind eshell--args.
8258 (eshell-set-option): Use eshell--args.
8259 * eshell/eshell.el (eshell): Use derived-mode-p.
8260 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
8261 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
8262 (eshell-glob-function): Declare.
8263 * eshell/esh-util.el: Require cl-lib.
8264 (eshell-read-hosts-file): Avoid add-to-list.
8265 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
8266 `err'.
8267 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
8268 Declare.
8269 (eshell/diff): Remove unused var `err'.
8270 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
8271 `killflag'.
8272 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
8273 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
8274 first use.
8275 * eshell/em-glob.el (eshell-glob-matches, message-shown):
8276 Move declaration before first use.
8277 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
8278 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
8279 rely on cl-return.
8280
8281 2013-09-12 Glenn Morris <rgm@gnu.org>
8282
8283 * term/ns-win.el (global-map): Remove binding for ispell-next,
8284 deleted 1999-05-29. (Bug#15357)
8285
8286 2013-09-11 Glenn Morris <rgm@gnu.org>
8287
8288 * echistory.el (electric-command-history): Remove call to deleted func.
8289
8290 * play/landmark.el (landmark-mode): Fix typos.
8291
8292 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
8293 Check cvs-sort-ignore-file is bound.
8294
8295 * savehist.el: No need for cl when compiling on Emacs.
8296
8297 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8298
8299 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
8300 (bug#15338).
8301 (eshell-self-insert-command, eshell-send-invisible):
8302 Remove unused argument.
8303 (eshell-handle-control-codes): Remove unused var `orig'.
8304 Avoid delete-backward-char.
8305
8306 * files.el (set-auto-mode): Simplify a bit further.
8307
8308 2013-09-11 Glenn Morris <rgm@gnu.org>
8309
8310 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
8311 (set-auto-mode): Don't regexp-quote elements.
8312 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
8313 * progmodes/cc-mode.el (interpreter-mode-alist):
8314 * progmodes/ruby-mode.el (interpreter-mode-alist):
8315 Revert previous change.
8316
8317 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8318
8319 * play/snake.el (snake-mode):
8320 * play/mpuz.el (mpuz-mode):
8321 * play/landmark.el (lm-mode):
8322 * play/blackbox.el (blackbox-mode):
8323 * play/5x5.el (5x5-mode):
8324 * obsolete/options.el (Edit-options-mode):
8325 * net/quickurl.el (quickurl-list-mode):
8326 * net/newst-treeview.el (newsticker-treeview-mode):
8327 * mail/rmailsum.el (rmail-summary-mode):
8328 * mail/mspools.el (mspools-mode):
8329 * locate.el (locate-mode):
8330 * ibuffer.el (ibuffer-mode):
8331 * emulation/ws-mode.el (wordstar-mode):
8332 * emacs-lisp/debug.el (debugger-mode):
8333 * array.el (array-mode):
8334 * net/eudc.el (eudc-mode): Use define-derived-mode.
8335 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
8336 Move initialization into declaration.
8337 (mairix-searches-mode): Use define-derived-mode.
8338 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
8339 (eudc-edit-hotlist): Use dolist.
8340 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
8341 (Man-mode): Use define-derived-mode.
8342 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
8343 (Info-edit-mode): Use define-derived-mode.
8344 (Info-cease-edit): Use Info-mode.
8345 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
8346 into declaration.
8347 (eshell-mode): Use define-derived-mode.
8348 * chistory.el (command-history-mode-map): Rename from
8349 command-history-map.
8350 (command-history-mode): Use define-derived-mode.
8351 (Command-history-setup): Remove function.
8352 * calc/calc.el (calc-trail-mode-map): New var.
8353 (calc-trail-mode): Use define-derived-mode.
8354 (calc-trail-buffer): Set calc-main-buffer manually.
8355 * bookmark.el (bookmark-insert-annotation): New function.
8356 (bookmark-edit-annotation): Use it.
8357 (bookmark-edit-annotation-mode): Make it a proper major mode.
8358 (bookmark-send-edited-annotation): Use derived-mode-p.
8359 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
8360 closer to its ideal place. Use \' to match EOS.
8361
8362 * profiler.el (profiler-calltree-find): Use function-equal.
8363
8364 2013-09-10 Glenn Morris <rgm@gnu.org>
8365
8366 * files.el (interpreter-mode-alist): Convert to regexps.
8367 (set-auto-mode): Adapt for this. (Bug#15306)
8368 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
8369 Comment out unused variable.
8370 * progmodes/cc-mode.el (interpreter-mode-alist):
8371 * progmodes/python.el (interpreter-mode-alist):
8372 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
8373 * progmodes/sh-script.el (sh-set-shell):
8374 No longer use interpreter-mode-alist to get list of shells.
8375
8376 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
8377
8378 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
8379
8380 * simple.el: Use set-temporary-overlay-map for universal-argument.
8381 (universal-argument-map): Don't use default-bindings (bug#15317).
8382 Bind switch-frame explicitly. Replace universal-argument-minus with
8383 a conditional binding.
8384 (universal-argument-num-events, saved-overriding-map): Remove.
8385 (restore-overriding-map): Remove.
8386 (universal-argument--mode): Rename from save&set-overriding-map,
8387 and rewrite.
8388 (universal-argument, universal-argument-more, negative-argument)
8389 (digit-argument): Adjust accordingly.
8390 (universal-argument-minus): Remove.
8391 (universal-argument-other-key): Remove.
8392
8393 * subr.el (with-demoted-errors): Add `format' argument.
8394
8395 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
8396
8397 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
8398 `tramp-cleanup-connection'.
8399
8400 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
8401 parameters KEEP-DEBUG and KEEP-PASSWORD.
8402
8403 * net/tramp.el (tramp-file-name-handler):
8404 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8405 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
8406 (tramp-maybe-open-connection):
8407 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
8408 Use `tramp-cleanup-connection'.
8409
8410 * net/tramp-sh.el (tramp-maybe-open-connection):
8411 Catch 'uname-changed inside the progress reporter.
8412
8413 2013-09-10 Glenn Morris <rgm@gnu.org>
8414
8415 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
8416
8417 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
8418 returns "alternate access method" in mode (eg "-rw-r--r--.").
8419
8420 2013-09-08 Glenn Morris <rgm@gnu.org>
8421
8422 * saveplace.el (load-save-place-alist-from-file):
8423 Demote errors. (Bug#15305)
8424
8425 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
8426
8427 Improve compatibility with older Emacsen, and XEmacs.
8428
8429 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
8430 only if it is bound. It isn't for XEmacs.
8431 (with-tramp-progress-reporter): Do not let-bind `result'.
8432 This yields to scoping errors in XEmacs.
8433 (tramp-handle-make-auto-save-file-name): New function, moved from
8434 tramp-sh.el.
8435
8436 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
8437 for `make-auto-save-file-name'.
8438 (tramp-adb--gnu-switches-to-ash):
8439 Use `tramp-compat-replace-regexp-in-string'.
8440
8441 * net/tramp-cache.el (tramp-cache-print): Call
8442 `substring-no-properties' only if it is bound. It isn't for XEmacs.
8443
8444 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
8445 bound. It isn't for XEmacs.
8446
8447 * net/tramp-compat.el (tramp-compat-copy-file):
8448 Catch `wrong-number-of-arguments' error.
8449 (tramp-compat-replace-regexp-in-string): New defun.
8450
8451 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
8452 for `make-auto-save-file-name'.
8453 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
8454 `copy-file'.
8455 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
8456 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
8457 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
8458
8459 * net/tramp-gw.el (tramp-gw-open-network-stream):
8460 Use `tramp-compat-replace-regexp-in-string'.
8461
8462 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8463 Call `tramp-handle-make-auto-save-file-name'.
8464 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
8465 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8466 (tramp-sh-file-inotifywait-process-filter):
8467 Use `tramp-compat-replace-regexp-in-string'.
8468 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
8469
8470 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
8471 for `make-auto-save-file-name'.
8472 (tramp-smb-handle-copy-directory):
8473 Call `tramp-compat-replace-regexp-in-string'.
8474 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
8475 (tramp-smb-handle-copy-file): Improve error message.
8476 (tramp-smb-handle-rename-file): Rename directly only in case
8477 `newname' does not exist yet. This is a restriction of smbclient.
8478 (tramp-smb-maybe-open-connection): Rerun the function only when
8479 `auth-sources' is non-nil.
8480
8481 2013-09-08 Kenichi Handa <handa@gnu.org>
8482
8483 * international/characters.el: Set category "^" (Combining) for
8484 more characters.
8485
8486 2013-09-07 Alan Mackenzie <acm@muc.de>
8487
8488 Correctly fontify Java class constructors.
8489 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
8490 in Java Mode.
8491 (c-recognize-typeless-decls): Set the Java value to t.
8492 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
8493 While handling a "(", add a check for, effectively, Java, and handle a
8494 "typeless" declaration there.
8495
8496 2013-09-07 Roland Winkler <winkler@gnu.org>
8497
8498 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
8499 field subtitle for entry type book.
8500
8501 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8502
8503 * minibuffer.el: Make minibuffer-complete call completion-in-region
8504 rather than other way around.
8505 (completion--some, completion-pcm--find-all-completions):
8506 Don't delay signals when debugging.
8507 (minibuffer-completion-contents): Beware fields within the
8508 minibuffer contents.
8509 (completion-all-sorted-completions): Use defvar-local.
8510 (completion--do-completion, completion--cache-all-sorted-completions)
8511 (completion-all-sorted-completions, minibuffer-force-complete):
8512 Add args `beg' and `end'.
8513 (completion--in-region-1): New fun, extracted from minibuffer-complete.
8514 (minibuffer-complete): Use completion-in-region.
8515 (completion-complete-and-exit): New fun, extracted from
8516 minibuffer-complete-and-exit.
8517 (minibuffer-complete-and-exit): Use it.
8518 (completion--complete-and-exit): Rename from
8519 minibuffer--complete-and-exit.
8520 (completion-in-region--single-word): New function, extracted from
8521 minibuffer-complete-word.
8522 (minibuffer-complete-word): Use it.
8523 (display-completion-list): Make `common-substring' argument obsolete.
8524 (completion--in-region): Call completion--in-region-1 instead of
8525 minibuffer-complete.
8526 (completion-help-at-point): Pass boundaries to
8527 minibuffer-completion-help as args rather than via an overlay.
8528 (completion-pcm--string->pattern): Use `any-delim'.
8529 (completion-pcm--optimize-pattern): New function.
8530 (completion-pcm--pattern->regex): Handle `any-delim'.
8531 * icomplete.el (icomplete-forward-completions)
8532 (icomplete-backward-completions, icomplete-completions):
8533 Adjust calls to completion-all-sorted-completions and
8534 completion--cache-all-sorted-completions.
8535 (icomplete-with-completion-tables): Default to t.
8536 * emacs-lisp/crm.el (crm--current-element): Rename from
8537 crm--select-current-element. Don't put an overlay but return the
8538 boundaries instead.
8539 (crm--completion-command): Take two new args to bind to the boundaries.
8540 (crm-completion-help): Adjust accordingly.
8541 (crm-complete): Use completion-in-region.
8542 (crm-complete-word): Use completion-in-region--single-word.
8543 (crm-complete-and-exit): Use completion-complete-and-exit.
8544
8545 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8546
8547 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
8548 than dynamically.
8549
8550 2013-09-06 Juri Linkov <juri@jurta.org>
8551
8552 * info.el (Info-display-images-node): When image file doesn't exist
8553 display text version of the image if it's provided in the Info file.
8554 Otherwise, display the location of missing image from SRC attribute.
8555 Add help-echo text property from ALT attribute. (Bug#15279)
8556
8557 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8558
8559 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
8560 (edit-abbrevs-mode): Use define-derived-mode.
8561
8562 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
8563 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
8564 that it's defined.
8565 (epa-key-list-mode, epa-key-mode, epa-info-mode):
8566 Use define-derived-mode.
8567
8568 * epg.el (epg-start-encrypt): Minor CSE simplification.
8569
8570 2013-09-06 William Xu <william.xwl@gmail.com>
8571
8572 * arc-mode.el: Add support for 7za (bug#15264).
8573 (archive-7z-program): New var.
8574 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
8575 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
8576 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
8577
8578 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
8579
8580 Remove URL syntax.
8581
8582 * net/tramp.el (tramp-syntax, tramp-prefix-format)
8583 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
8584 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
8585 (tramp-postfix-host-format, tramp-file-name-regexp)
8586 (tramp-completion-file-name-regexp)
8587 (tramp-completion-dissect-file-name)
8588 (tramp-handle-substitute-in-file-name): Remove 'url case.
8589 (tramp-file-name-regexp-url)
8590 (tramp-completion-file-name-regexp-url): Remove constants.
8591
8592 2013-09-06 Glenn Morris <rgm@gnu.org>
8593
8594 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
8595
8596 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
8597
8598 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
8599 keywords" below "here-doc beginnings" (Bug#15270).
8600
8601 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
8602
8603 * subr.el (pop): Use `car-safe'.
8604 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
8605 to detect unused `pop' return value.
8606
8607 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
8608 var `block-regexp'.
8609 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
8610 (python-fill-string): Remove unused var `marker'.
8611 (python-skeleton-add-menu-items): Remove unused var `items'.
8612
8613 * international/mule-cmds.el: Require CL.
8614 (find-coding-systems-for-charsets): Avoid add-to-list.
8615 (sanitize-coding-system-list): New function, extracted from
8616 select-safe-coding-system-interactively.
8617 (select-safe-coding-system-interactively): Use it.
8618 (read-input-method-name): Accept symbols for `default'.
8619
8620 * emacs-lisp/advice.el (defadvice): Add indent rule.
8621
8622 2013-09-05 Daniel Hackney <dan@haxney.org>
8623
8624 * dired-x.el:
8625 * net/ange-ftp.el:
8626 * net/browse-url.el:
8627 * net/dbus.el:
8628 * net/eudc.el:
8629 * net/eudcb-ldap.el:
8630 * net/eww.el:
8631 * net/imap.el:
8632 * printing.el:
8633 * vc/ediff-diff.el:
8634 * vc/ediff-init.el:
8635 * vc/ediff-merg.el:
8636 * vc/ediff-mult.el:
8637 * vc/ediff-util.el:
8638 * vc/ediff-wind.el:
8639 * vc/ediff.el:
8640 * vc/emerge.el:
8641 * vc/pcvs.el:
8642 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
8643 byte compiler. Remove some unused let-bound variables.
8644
8645 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
8646
8647 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
8648 a "ref-cell", since it gets better optimized (bug#14883).
8649
8650 2013-09-05 Glenn Morris <rgm@gnu.org>
8651
8652 * progmodes/cc-awk.el (c-forward-sws): Declare.
8653
8654 2013-09-04 Glenn Morris <rgm@gnu.org>
8655
8656 * generic-x.el [rul-generic-mode]: Require cc-mode.
8657 (c++-mode-syntax-table): Declare.
8658 (rul-generic-mode-syntax-table): Init in the defvar.
8659
8660 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
8661
8662 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
8663 (vc-do-command, vc-set-async-update):
8664 * vc/vc-mtn.el (vc-mtn-dir-status):
8665 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
8666 (vc-hg-pull, vc-hg-merge-branch):
8667 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
8668 (vc-git-merge-branch):
8669 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
8670 (vc-cvs-dir-status-files):
8671 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
8672 (vc-bzr-dir-status-files):
8673 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
8674 * vc/vc-annotate.el: Use lexical-binding.
8675 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
8676 (vc-sentinel-movepoint): Declare.
8677 (vc-annotate): Don't use `goto-line'.
8678 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
8679 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
8680 (vc-sentinel-movepoint): Declare.
8681 * vc/vc-svn.el: Use lexical-binding.
8682 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
8683 * vc/vc-sccs.el:
8684 * vc/vc-rcs.el: Use lexical-binding.
8685
8686 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
8687 `deleted'. Don't drop errors silently.
8688
8689 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
8690
8691 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
8692
8693 * vc/vc.el (vc-ignore): Rewrite.
8694 (vc-default-ignore): New function.
8695 (vc-default-ignore-completion-table): Use find-ignore-file.
8696
8697 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
8698 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
8699 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
8700 Remove. Most code moved to vc.el.
8701
8702 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
8703
8704 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
8705 * net/tramp-smb.el (tramp-smb-get-file-entries):
8706 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
8707 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
8708
8709 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
8710 Update call to it.
8711 (eww-change-select): Remove unused var `properties'.
8712 (eww-make-unique-file-name): Remove unused var `base'.
8713
8714 * finder.el (finder-compile-keywords): Don't mess with windows.
8715
8716 * calculator.el (calculator-funcall): Fix typo in last change.
8717
8718 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
8719
8720 * emacs-lisp/package.el (package-activate-1): Don't let a missing
8721 <pkg>-autoloads.el file stop us.
8722
8723 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
8724 warnings, and factor out common code.
8725
8726 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
8727
8728 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
8729 two-character operators and whether the character preceding them
8730 changes their meaning (Bug#15208).
8731
8732 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
8733
8734 Format code sent to Python shell for robustness.
8735 * progmodes/python.el (python-shell-buffer-substring):
8736 New function.
8737 (python-shell-send-region, python-shell-send-buffer): Use it.
8738
8739 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
8740
8741 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
8742 * net/tramp.el (tramp-user-error): ... here.
8743 (tramp-find-method, tramp-check-proper-host)
8744 (tramp-dissect-file-name, tramp-debug-message)
8745 (tramp-handle-shell-command):
8746 * net/tramp-adb.el (tramp-adb-handle-shell-command):
8747 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
8748
8749 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
8750
8751 2013-09-02 Martin Rudalics <rudalics@gmx.at>
8752
8753 * avoid.el (mouse-avoidance-point-position)
8754 (mouse-avoidance-too-close-p): Handle case where posn-at-point
8755 returns nil.
8756
8757 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
8758
8759 * progmodes/python.el (python-shell-completion-get-completions):
8760 Drop use of deleted `comint-last-prompt-overlay'.
8761 (python-nav-if-name-main): New command.
8762
8763 2013-09-01 Glenn Morris <rgm@gnu.org>
8764
8765 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
8766 Avoid leading space in $wins. Otherwise the sed command used by
8767 eg compile-main ends up containing "/*.el". (Bug#15170)
8768
8769 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
8770
8771 2013-08-30 Glenn Morris <rgm@gnu.org>
8772
8773 * emacs-lisp/bytecomp.el (byte-recompile-directory):
8774 Fix is-this-a-directory logic. (Bug#15220)
8775
8776 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
8777
8778 * textmodes/css-mode.el: Use SMIE.
8779 (css-smie-grammar): New var.
8780 (css-smie--forward-token, css-smie--backward-token)
8781 (css-smie-rules): New functions.
8782 (css-mode): Use them.
8783 (css-navigation-syntax-table): Remove var.
8784 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
8785 (css-indent-calculate, css-indent-line): Remove functions.
8786
8787 Misc changes to reduce use of `(lambda...); and other cleanups.
8788 * cus-edit.el: Use lexical-binding.
8789 (customize-push-and-save, customize-apropos)
8790 (custom-buffer-create-internal): Use closures.
8791 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
8792 * progmodes/ada-xref.el: Use setq.
8793 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
8794 * dframe.el: Use lexical-binding.
8795 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
8796 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
8797 * descr-text.el: Use lexical-binding.
8798 (describe-text-widget, describe-text-sexp, describe-property-list):
8799 Use closures.
8800 * comint.el (comint-history-isearch-push-state): Use a closure.
8801 * calculator.el: Use lexical-binding.
8802 (calculator-number-to-string): Make it work with lexical-binding.
8803 (calculator-funcall): Same and use cl-letf.
8804
8805 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
8806 (lisp--company-doc-string, lisp--company-location): New functions.
8807 (lisp-completion-at-point): Use them to improve Company support.
8808
8809 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
8810 params of lambda expressions.
8811 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
8812 (ruby-smie--opening-pipe-p): New function.
8813 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
8814 symbols and matched |...| for formal params.
8815 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
8816 from being treated as hanging. Handle "rescue".
8817
8818 2013-08-29 Glenn Morris <rgm@gnu.org>
8819
8820 * progmodes/cc-engine.el (c-pull-open-brace):
8821 Move definition before use.
8822
8823 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
8824
8825 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
8826 are immutable. Don't use `unsafe' any more.
8827 (cl--defsubst-expand): Don't substitute at the same time as keeping
8828 a residual unused let-binding. Don't use `unsafe' any more.
8829
8830 2013-08-29 Glenn Morris <rgm@gnu.org>
8831
8832 * calendar/cal-china.el (calendar-chinese-year-cache):
8833 Recenter on 2015.
8834
8835 * nxml/nxml-util.el (nxml-debug-clear-inside):
8836 Use cl-loop rather than loop.
8837
8838 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
8839
8840 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
8841
8842 2013-08-28 Glenn Morris <rgm@gnu.org>
8843
8844 * progmodes/antlr-mode.el: No need to require cc-mode twice.
8845
8846 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
8847
8848 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
8849
8850 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8851
8852 * simple.el (repeat-complex-command--called-interactively-skip):
8853 New function.
8854 (repeat-complex-command): Use it (bug#14136).
8855
8856 * progmodes/cc-mode.el: Minor cleanup of var declarations.
8857 (c-define-abbrev-table): Add `doc' argument.
8858 (c-mode-abbrev-table, c++-mode-abbrev-table)
8859 (objc-mode-abbrev-table, java-mode-abbrev-table)
8860 (idl-mode-abbrev-table, pike-mode-abbrev-table)
8861 (awk-mode-abbrev-table): Use it.
8862 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
8863 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
8864 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
8865 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
8866 Move initialization into the declaration; and remove any
8867 autoload cookie.
8868
8869 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
8870 and dynamic let binding.
8871
8872 * vc/smerge-mode.el: Remove redundant :group args.
8873
8874 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
8875 to load-path.
8876
8877 2013-08-28 Juri Linkov <juri@jurta.org>
8878
8879 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
8880 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
8881 (isearch-other-meta-char): Handle an undefined shifted printing
8882 character by downshifting it. (Bug#15200)
8883
8884 2013-08-28 Juri Linkov <juri@jurta.org>
8885
8886 * isearch.el (isearch-search): Change regexp error message for
8887 non-regexp searches. (Bug#15166)
8888
8889 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
8890
8891 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
8892 for portability to hosts where /bin/sh has problems.
8893
8894 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8895
8896 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
8897
8898 2013-08-27 Juri Linkov <juri@jurta.org>
8899
8900 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
8901 in the keyboard macro. (Bug#15126)
8902
8903 2013-08-27 Juri Linkov <juri@jurta.org>
8904
8905 * isearch.el (isearch-quote-char): Comment out converting unibyte
8906 to multibyte, thus syncing with its `quoted-insert' counterpart.
8907 (Bug#15166)
8908
8909 2013-08-27 Martin Rudalics <rudalics@gmx.at>
8910
8911 * window.el (display-buffer-use-some-window): Add missing
8912 argument in call of get-largest-window (Bug#15185).
8913 Reported by Stephen Leake.
8914
8915 2013-08-27 Glenn Morris <rgm@gnu.org>
8916
8917 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
8918
8919 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
8920
8921 * progmodes/python.el (python-font-lock-keywords): Don't return nil
8922 from a matcher-function unless there's no more matches (bug#15161).
8923
8924 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
8925
8926 * minibuffer.el: Revert change from 2013-08-20.
8927
8928 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
8929 with text property `tramp-default', if appropriate.
8930 (tramp-check-proper-host): New defun.
8931 (tramp-dissect-file-name): Do not check hostname. Revert change
8932 of 2013-03-18.
8933 (tramp-backtrace): Make VEC-OR-PROC optional.
8934
8935 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8936 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8937 * net/tramp-sh.el (tramp-maybe-open-connection):
8938 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
8939 Apply `tramp-check-proper-host'.
8940
8941 2013-08-26 Tassilo Horn <tsdh@gnu.org>
8942
8943 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
8944 lambda expression in order to have `describe-variable' display it.
8945
8946 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
8947
8948 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
8949 BUF can be optional. (Bug#15186)
8950
8951 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
8952
8953 * progmodes/flymake.el (flymake-get-real-file-name-function):
8954 Fix broken customization. (Bug#15184)
8955
8956 2013-08-25 Alan Mackenzie <acm@muc.de>
8957
8958 Improve indentation of bracelists defined by macros (without "=").
8959
8960 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
8961 expansion begins with "{", regard it as bracelist when it doesn't
8962 contain a ";".
8963
8964 Parse C++ inher-intro when there's a template split over 2 lines.
8965
8966 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
8967 rigorously the search for "class" etc. followed by ":".
8968
8969 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
8970 random languages a regexp which never matches rather than nil.
8971
8972 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
8973
8974 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
8975 (c-awk-regexp-one-line-possibly-open-char-list-re)
8976 (c-awk-one-line-possibly-open-regexp-re)
8977 (c-awk-one-line-non-syn-ws*-re): Remove.
8978 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
8979 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
8980 (c-awk-space*-unclosed-regexp-/-re): New constants.
8981 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
8982 aren't regexp delimiters.
8983
8984 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
8985 handling for a rare situation in AWK Mode involving unterminated
8986 strings/regexps.
8987
8988 2013-08-23 Glenn Morris <rgm@gnu.org>
8989
8990 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
8991
8992 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
8993
8994 * files.el (create-file-buffer): If the result would begin with
8995 spaces, prepend a "|" instead of removing them. (Bug#15162)
8996
8997 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8998
8999 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
9000 text-properties (bug#15155).
9001
9002 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
9003 exist any more.
9004 (calc-keypad-redraw): Remove unused var `pad'.
9005 (calc-keypad-press): Remove unused var `menu'.
9006
9007 2013-08-23 Martin Rudalics <rudalics@gmx.at>
9008
9009 * window.el (display-buffer-pop-up-frame):
9010 Call pop-up-frame-function with BUFFER current so `make-frame' will
9011 use it as the new frame's buffer (Bug#15133).
9012
9013 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
9014
9015 * calendar/timeclock.el: Minor cleanups.
9016 (timeclock-ask-before-exiting, timeclock-use-display-time):
9017 Use `symbol'.
9018 (timeclock-modeline-display): Define as alias before the
9019 actual definition.
9020 (timeclock-mode-line-display): Use define-minor-mode.
9021 (timeclock-day-list-template): Make it a function, add an argument.
9022 (timeclock-day-list-required, timeclock-day-list-length)
9023 (timeclock-day-list-debt, timeclock-day-list-span)
9024 (timeclock-day-list-break): Adjust calls accordingly.
9025
9026 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
9027
9028 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
9029 Use read--expression so that completion works again.
9030
9031 2013-08-21 Sam Steingold <sds@gnu.org>
9032
9033 Add rudimentary inferior shell interaction
9034 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
9035 (sh-set-shell): Reset it.
9036 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
9037 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
9038
9039 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
9040
9041 * align.el: Use lexical-binding.
9042 (align-region): Simplify accordingly.
9043
9044 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
9045
9046 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
9047
9048 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
9049 `non-essential' up.
9050
9051 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
9052
9053 * net/tramp.el:
9054 * net/tramp-adb.el:
9055 * net/tramp-cmds.el:
9056 * net/tramp-ftp.el:
9057 * net/tramp-gvfs.el:
9058 * net/tramp-gw.el:
9059 * net/tramp-sh.el: Don't wrap external variable declarations by
9060 `eval-when-compile'.
9061
9062 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
9063
9064 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
9065 now that Emacs supports ImageMagick animations.
9066
9067 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
9068
9069 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
9070 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
9071
9072 2013-08-16 Martin Rudalics <rudalics@gmx.at>
9073
9074 * window.el (mouse-autoselect-window-select): Do autoselect when
9075 mouse pointer is on margin.
9076
9077 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
9078
9079 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
9080
9081 2013-08-16 Glenn Morris <rgm@gnu.org>
9082
9083 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
9084 Handle "Remote Directory" response of some clients. (Bug#15058)
9085
9086 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
9087 Tweak warning. (Bug#14926)
9088
9089 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
9090 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
9091
9092 * image-mode.el (image-mode-map): Add menu items to reverse,
9093 increase, decrease, reset animation speed.
9094 (image--set-speed, image-increase-speed, image-decrease-speed)
9095 (image-reverse-speed, image-reset-speed): New functions.
9096 (image-mode-map): Add bindings for speed commands.
9097
9098 * image.el (image-animate-get-speed, image-animate-set-speed):
9099 New functions.
9100 (image-animate-timeout): Respect image :speed property.
9101
9102 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9103
9104 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
9105 previous line (bug#15101).
9106 (debugger-eval-expression, debugger-record-expression):
9107 Use read--expression (bug#15102).
9108
9109 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
9110
9111 Remove byte compiler warnings, visible when compiling with
9112 `byte-compile-force-lexical-warnings' set to t.
9113
9114 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
9115 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
9116 (tramp-handle-unhandled-file-name-directory)
9117 (tramp-handle-file-notify-add-watch, tramp-action-login)
9118 (tramp-action-succeed, tramp-action-permission-denied)
9119 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
9120 arguments with "_".
9121
9122 * net/tramp-adb.el (tramp-adb-parse-device-names)
9123 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
9124 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
9125 (tramp-adb-handle-file-truename): Remove unused arguments.
9126
9127 * net/tramp-cache.el (tramp-flush-directory-property)
9128 (tramp-flush-connection-property, tramp-list-connections)
9129 (tramp-parse-connection-properties): Prefix unused arguments with "_".
9130
9131 * net/tramp-compat.el (tramp-compat-make-temp-file):
9132 Rename FILENAME to F.
9133
9134 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
9135 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
9136 (tramp-zeroconf-parse-workstation-device-names)
9137 (tramp-zeroconf-parse-webdav-device-names)
9138 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
9139
9140 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
9141 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
9142
9143 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
9144 arguments.
9145 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
9146 (tramp-sh-handle-insert-file-contents-literally)
9147 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
9148 with "_".
9149 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
9150 Remove unused variables.
9151
9152 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
9153 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
9154 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
9155
9156 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
9157 Make them a defconst.
9158 (tramp-uuencode-region): Remove unused variable.
9159
9160 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
9161
9162 * frameset.el (frameset--prop-setter): New function.
9163 (frameset-prop): Add gv-setter declaration.
9164 (frameset-filter-minibuffer): Deal with the case that the minibuffer
9165 parameter was already set in FILTERED. Doc fix.
9166 (frameset--record-minibuffer-relationships): Allow saving a
9167 minibufferless frame without its corresponding minibuffer frame.
9168 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
9169 frame, if the frame id matches.
9170 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
9171 frames before orphaned ones.
9172 (frameset-restore): Warn about orphaned windows, instead of error out.
9173
9174 2013-08-14 Martin Rudalics <rudalics@gmx.at>
9175
9176 * window.el (window-make-atom): Don't overwrite parameter
9177 already present.
9178 (display-buffer-in-atom-window): Handle special case where we
9179 split an already atomic window.
9180 (window--major-non-side-window, display-buffer-in-side-window)
9181 (window--side-check): Ignore minibuffer window when walking
9182 window tree.
9183 (window-deletable-p): Return 'frame only if no other frame uses
9184 our minibuffer window.
9185 (record-window-buffer): Run buffer-list-update-hook.
9186 (split-window): Make sure window--check-frame won't destroy an
9187 existing atomic window in case the new window gets nested
9188 inside.
9189 (display-buffer-at-bottom): Ignore minibuffer window when
9190 walking window tree. Don't split a side window.
9191 (pop-to-buffer): Don't set-buffer here, the select-window call
9192 should do that.
9193 (mouse-autoselect-window-select): Autoselect only if we are in the
9194 text portion of the window.
9195
9196 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9197
9198 * net/shr.el (shr-parse-image-data): New function to grab both the
9199 data itself and the Content-Type.
9200 (shr-put-image): Use it.
9201
9202 * net/eww.el (eww-display-image): Ditto.
9203
9204 * image.el (image-content-type-suffixes): New variable.
9205
9206 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
9207
9208 * progmodes/python.el (python-imenu--build-tree)
9209 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
9210
9211 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
9212
9213 * simple.el (backward-word): Mention the optional argument.
9214
9215 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9216
9217 * frameset.el (frameset--make): Rename constructor from make-frameset.
9218 (frameset-p, frameset-valid-p): Don't autoload.
9219 (frameset-valid-p): Use normal accessors.
9220
9221 2013-08-13 Glenn Morris <rgm@gnu.org>
9222
9223 * progmodes/compile.el (compile-command): Tweak example in doc.
9224 * obsolete/scribe.el (scribe-mode):
9225 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
9226
9227 * mail/feedmail.el (feedmail-confirm-outgoing)
9228 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
9229
9230 * cus-start.el (truncate-partial-width-windows): Fix type.
9231
9232 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
9233
9234 * net/shr.el (shr-table-horizontal-line): Fix custom type.
9235
9236 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9237
9238 * emacs-lisp/timer.el (timer--time-setter): New function.
9239 (timer--time): Use it as gv-setter.
9240
9241 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
9242 setter is not a symbol.
9243
9244 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
9245
9246 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
9247 if sending fails. This makes debugging easier.
9248
9249 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
9250
9251 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
9252 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
9253 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
9254
9255 2013-08-12 Eli Zaretskii <eliz@gnu.org>
9256
9257 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
9258
9259 2013-08-12 Glenn Morris <rgm@gnu.org>
9260
9261 * format.el (format-annotate-function):
9262 Handle read-only text properties in the source. (Bug#14887)
9263
9264 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9265
9266 * net/eww.el (eww-display-html): Ignore coding system errors.
9267 One web site uses "utf-8lias" as the coding system.
9268
9269 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
9270
9271 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
9272
9273 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
9274
9275 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
9276 (tutorial--detailed-help): Remove unused local variables.
9277 (tutorial--save-tutorial-to): Use ignore-errors.
9278 (help-with-tutorial): Use looking-at-p.
9279
9280 * view.el (view-buffer-other-window, view-buffer-other-frame):
9281 Mark unused arguments.
9282
9283 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
9284 (woman-select-symbol-fonts, woman, woman-find-file)
9285 (woman-insert-file-contents, woman-non-underline-faces):
9286 Use string-match-p.
9287 (woman1-unquote): Move declaration.
9288
9289 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
9290 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
9291 argument. Remove unused local variable.
9292 (xml-parse-elem-type): Use string-match-p.
9293 (xml-substitute-numeric-entities): Use ignore-errors.
9294
9295 * calculator.el (calculator): Mark unused argument.
9296 (calculator-paste, calculator-quit, calculator-integer-p):
9297 Use ignore-errors.
9298 (calculator-string-to-number, calculator-decimal, calculator-exp)
9299 (calculator-op-or-exp): Use string-match-p.
9300
9301 * dired.el (dired-buffer-more-recently-used-p): Declare.
9302 (dired-insert-set-properties, dired-insert-old-subdirs):
9303 Use ignore-errors.
9304
9305 * dired-aux.el (dired-compress): Use ignore-errors.
9306 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
9307 (dired-do-async-shell-command, dired-do-shell-command)
9308 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
9309 (dired-insert-subdir-validate): Use string-match-p.
9310 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
9311 (dired-add-entry): Use string-match-p, looking-at-p.
9312 (dired-insert-subdir-newpos): Remove unused local variable.
9313
9314 * filenotify.el (file-notify-callback): Remove unused local variable.
9315
9316 * filesets.el (filesets-error): Mark unused argument.
9317 (filesets-which-command-p, filesets-filter-dir-names)
9318 (filesets-directory-files, filesets-get-external-viewer)
9319 (filesets-ingroup-get-data): Use string-match-p.
9320
9321 * find-file.el (ff-other-file-name, ff-other-file-name)
9322 (ff-find-the-other-file, ff-cc-hh-converter):
9323 Remove unused local variables.
9324 (ff-get-file-name): Use string-match-p.
9325 (ff-all-dirs-under): Use ignore-errors.
9326
9327 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
9328 (follow-select-if-visible): Remove unused local variable.
9329
9330 * forms.el (read-file-filter): Move declaration.
9331 (forms--make-format, forms--make-parser, forms-insert-record):
9332 Quote function with #'.
9333 (forms--update): Use string-match-p. Quote function with #'.
9334
9335 * help-mode.el (help-dir-local-var-def): Mark unused argument.
9336 (help-make-xrefs): Use looking-at-p.
9337 (help-xref-on-pp): Use looking-at-p, ignore-errors.
9338
9339 * ibuffer.el (ibuffer-ext-visible-p): Declare.
9340 (ibuffer-confirm-operation-on): Use string-match-p.
9341
9342 * msb.el (msb-item-handler, msb-dired-item-handler):
9343 Mark unused arguments.
9344
9345 * ses.el (ses-decode-cell-symbol)
9346 (ses-kill-override): Remove unused local variable.
9347 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
9348 (ses-load): Use ignore-errors, looking-at-p.
9349 (ses-jump-safe): Use ignore-errors.
9350 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
9351
9352 * tabify.el (untabify, tabify): Mark unused arguments.
9353
9354 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
9355 Mark unused argument.
9356 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
9357 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
9358
9359 * emacs-lisp/timer.el (timer--time): Define setter with
9360 gv-define-setter to avoid deprecation warning.
9361
9362 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
9363 (*record-cmpl-statistics-p*): Remove (was commented out).
9364 (cmpl-statistics-block): Remove (body was commented out).
9365 All callers changed.
9366 (add-completions-from-buffer, load-completions-from-file):
9367 Remove unused variables.
9368
9369 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
9370
9371 * filecache.el (file-cache-delete-file-list):
9372 Print message only when told so.
9373 (file-cache-files-matching): Use #' in mapconcat argument.
9374
9375 * ffap.el (ffap-url-at-point): Fix reference to variable
9376 thing-at-point-default-mail-uri-scheme.
9377
9378 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
9379
9380 * subr.el (define-error): New function.
9381 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
9382 error-file-not-found and define with define-error.
9383 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
9384 and define with define-error.
9385 * userlock.el (file-locked, file-supersession):
9386 * simple.el (mark-inactive):
9387 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
9388 * progmodes/ada-mode.el (ada-mode-errors):
9389 * play/life.el (life-extinct):
9390 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
9391 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
9392 * nxml/rng-util.el (rng-error):
9393 * nxml/rng-uri.el (rng-uri-error):
9394 * nxml/rng-match.el (rng-compile-error):
9395 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
9396 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
9397 * nxml/nxml-rap.el (nxml-scan-error):
9398 * nxml/nxml-outln.el (nxml-outline-error):
9399 * net/soap-client.el (soap-error):
9400 * net/gnutls.el (gnutls-error):
9401 * net/ange-ftp.el (ftp-error):
9402 * mpc.el (mpc-proc-error):
9403 * json.el (json-error, json-readtable-error, json-unknown-keyword)
9404 (json-number-format, json-string-escape, json-string-format)
9405 (json-key-format, json-object-format):
9406 * jka-compr.el (compression-error):
9407 * international/quail.el (quail-error):
9408 * international/kkc.el (kkc-error):
9409 * emacs-lisp/ert.el (ert-test-failed):
9410 * calc/calc.el (calc-error, inexact-result, math-overflow)
9411 (math-underflow):
9412 * bookmark.el (bookmark-error-no-filename):
9413 * epg.el (epg-error): Define with define-error.
9414
9415 * time.el (display-time-event-handler)
9416 (display-time-next-load-average): Don't call sit-for since it seems
9417 unnecessary (bug#15045).
9418
9419 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
9420 Use #' instead of ' to quote functions.
9421 (checkdoc-output-mode): Use setq-local.
9422 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
9423 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
9424 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
9425 (checkdoc-ispell, checkdoc-ispell-current-buffer)
9426 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
9427 (checkdoc-ispell-message-text, checkdoc-ispell-start)
9428 (checkdoc-ispell-continue, checkdoc-ispell-comments)
9429 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
9430
9431 * ido.el (ido-completion-help): Fix up compiler warning.
9432
9433 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
9434
9435 * frameset.el (frameset-p): Add autoload cookie.
9436 (frameset--jump-to-register): New function, based on code moved from
9437 register.el.
9438 (frameset-to-register): Move from register.el. Adapt to `registerv'.
9439
9440 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
9441 (frameset-restore, frameset-save, frameset-session-filter-alist):
9442 Remove declarations.
9443 (register-alist): Doc fix.
9444 (frameset-to-register): Move to frameset.el.
9445 (jump-to-register, describe-register-1): Remove frameset-specific code.
9446
9447 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9448
9449 * allout-widgets.el (allout-widgets-pre-command-business)
9450 (allout-widgets-post-command-business)
9451 (allout-widgets-after-change-handler)
9452 (allout-decorate-item-and-context, allout-set-boundary-marker)
9453 (allout-body-modification-handler)
9454 (allout-graphics-modification-handler): Mark ignored arguments.
9455 (allout-widgets-post-command-business)
9456 (allout-widgets-exposure-change-processor)
9457 (allout-widgets-exposure-undo-processor)
9458 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
9459 (allout-parse-item-at-point, allout-decorate-item-guides)
9460 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
9461 * allout.el (epa-passphrase-callback-function): Declare.
9462 (allout-overlay-insert-in-front-handler)
9463 (allout-overlay-interior-modification-handler)
9464 (allout-isearch-end-handler, allout-chart-siblings)
9465 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
9466 (allout-yank-processing, allout-process-exposed)
9467 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
9468 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9469 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
9470 (lisp-indent-defform): Mark ignored arguments.
9471 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
9472 (calculate-lisp-indent): Remove unused variables.
9473 * international/characters.el (indian-2-column, arabic-2-column)
9474 (tibetan): Mark ignored arguments.
9475 (use-cjk-char-width-table): Mark ignored arguments.
9476 Remove unused variables.
9477 * international/fontset.el (build-default-fontset-data)
9478 (x-compose-font-name, create-fontset-from-fontset-spec):
9479 Mark ignored arguments.
9480 (fontset-plain-name): Remove unused variables.
9481 * international/mule.el (charset-id, charset-bytes, generic-char-p)
9482 (keyboard-coding-system): Mark ignored arguments.
9483 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
9484 * help.el (resize-temp-buffer-window):
9485 * window.el (display-buffer-in-major-side-window)
9486 (display-buffer-in-side-window, display-buffer-in-previous-window):
9487 Remove unused variables.
9488 * isearch.el (isearch-forward-symbol):
9489 * version.el (emacs-bzr-version-bzr):
9490 * international/mule-cmds.el (current-language-environment):
9491 * term/common-win.el (x-handle-iconic, x-handle-geometry)
9492 (x-handle-display):
9493 * term/pc-win.el (x-list-fonts, x-display-planes)
9494 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
9495 (x-server-version, x-display-screens, x-display-mm-height)
9496 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
9497 (x-selection-owner-p, x-own-selection-internal)
9498 (x-disown-selection-internal, x-get-selection-internal)
9499 (msdos-initialize-window-system):
9500 * term/tty-colors.el (tty-color-alist, tty-color-clear):
9501 * term/x-win.el (x-handle-no-bitmap-icon):
9502 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
9503 (vc-default-find-file-hook, vc-default-extra-menu):
9504 Mark ignored arguments.
9505
9506 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9507
9508 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
9509 break-condition in the context of the debugged code (bug#12685).
9510
9511 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
9512
9513 * comint.el:
9514 Do not use an overlay to highlight the last prompt. (Bug#14744)
9515 (comint-mode): Make comint-last-prompt buffer local.
9516 (comint-last-prompt): New variable.
9517 (comint-last-prompt-overlay): Remove. Superseded by
9518 comint-last-prompt.
9519 (comint-snapshot-last-prompt, comint-output-filter):
9520 Use comint-last-prompt.
9521
9522 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9523
9524 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
9525 (frameset-save): Check validity of the resulting frameset.
9526
9527 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
9528
9529 * ido.el (ido-record-command): Add doc string.
9530
9531 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9532
9533 * frameset.el (frameset): Do not disable creation of the default
9534 frameset-p predicate. Doc fix.
9535 (frameset-valid-p): New function, copied from the old predicate-p.
9536 Add additional checks.
9537 (frameset-restore): Check with frameset-valid-p.
9538 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
9539 (frameset-name, frameset-description, frameset-properties)
9540 (frameset-states): Add docstring.
9541 (frameset-session-filter-alist, frameset-persistent-filter-alist)
9542 (frameset-filter-alist): Doc fixes.
9543
9544 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9545
9546 * frameset.el (frameset-p, frameset-prop): Doc fixes.
9547
9548 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9549
9550 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
9551 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
9552 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
9553 (byte-compile-normal-call): Remove obsolescence check.
9554
9555 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9556
9557 * frameset.el (frameset-restore): Doc fix.
9558
9559 * register.el (frameset-frame-id, frameset-frame-with-id)
9560 (frameset-p, frameset-restore, frameset-save): Declare.
9561 (register-alist): Document framesets.
9562 (frameset-session-filter-alist): Declare.
9563 (frameset-to-register): New function.
9564 (jump-to-register): Implement jumping to framesets. Doc fix.
9565 (describe-register-1): Describe framesets.
9566
9567 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
9568
9569 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
9570
9571 * desktop.el (desktop-save-frameset): Use new frameset-save args.
9572 Use lexical-binding.
9573
9574 * frameset.el (frameset): Use type vector, not list (incompatible
9575 change). Do not declare a new constructor, use the default one.
9576 Upgrade suggested properties `app', `name' and `desc' to slots `app',
9577 `name' and `description', respectively, and add read-only slot
9578 `timestamp'. Doc fixes.
9579 (frameset-copy, frameset-persistent-filter-alist)
9580 (frameset-filter-alist, frameset-switch-to-gui-p)
9581 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
9582 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
9583 (frameset-filter-iconified, frameset-keep-original-display-p):
9584 Doc fixes.
9585 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
9586 Rename from frameset-filter-(save|restore)-param. All callers changed.
9587 Doc fix.
9588 (frameset-p): Adapt to change to vector and be more thorough.
9589 Change arg name to OBJECT. Doc fix.
9590 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
9591 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
9592 All callers changed.
9593 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
9594 All callers changed.
9595 (frameset--record-minibuffer-relationships): Rename from
9596 frameset--process-minibuffer-frames. All callers changed.
9597 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
9598 Use new default constructor (again). Doc fix.
9599 (frameset--find-frame-if): Rename from `frameset--find-frame'.
9600 All callers changed.
9601 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
9602 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
9603 Doc fix.
9604 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
9605 PARAMETERS and WINDOW-STATE, respectively.
9606 (frameset-restore): Add new keyword argument PREDICATE.
9607 Reset frameset--target-display to nil. Doc fix.
9608
9609 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
9610
9611 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
9612 (bat-mode): Use it.
9613 (bat-mode-syntax-table): Mark \n as end-of-comment.
9614 (bat-font-lock-keywords): Remove comment rule.
9615
9616 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
9617 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
9618
9619 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
9620 (byte-compile-callargs-warn): Use `push'.
9621 (byte-compile-arglist-warn): Ignore higher-order "calls".
9622 (byte-compile-file-form-autoload): Use `pcase'.
9623 (byte-compile-function-form): If quoting a symbol, check that it exists.
9624
9625 2013-08-07 Eli Zaretskii <eliz@gnu.org>
9626
9627 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
9628 and add a few popular commands found in batch files.
9629 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
9630 (dos-mode): Doc fixes.
9631
9632 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
9633
9634 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
9635 (dos-mode): Use setq-local. Add space after "rem".
9636 (dos-mode-syntax-table): Don't use "w" for symbol chars.
9637 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
9638
9639 2013-08-07 Arni Magnusson <arnima@hafro.is>
9640
9641 * progmodes/dos.el: New file.
9642 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
9643 dos-mode.
9644
9645 2013-08-06 Glenn Morris <rgm@gnu.org>
9646
9647 * calendar/calendar.el: Add new faces, and day-header-array.
9648 (calendar-weekday-header, calendar-weekend-header)
9649 (calendar-month-header): New faces.
9650 (calendar-day-header-construct): New function.
9651 (calendar-day-header-width): Also :set calendar-day-header-array.
9652 (calendar-american-month-header, calendar-european-month-header)
9653 (calendar-iso-month-header): Use calendar- faces.
9654 (calendar-generate-month):
9655 Use calendar-day-header-array for day headers; apply faces to them.
9656 (calendar-mode): Check calendar-font-lock-keywords non-nil.
9657 (calendar-abbrev-construct): Add optional maxlen argument.
9658 (calendar-day-name-array): Doc fix.
9659 (calendar-day-name-array, calendar-abbrev-length)
9660 (calendar-day-abbrev-array):
9661 Also :set calendar-day-header-array, and maybe redraw.
9662 (calendar-day-header-array): New option. (Bug#15007)
9663 (calendar-font-lock-keywords): Set to nil and make obsolete.
9664 (calendar-day-name): Add option to use header array.
9665
9666 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9667
9668 * net/shr.el (shr-render-td): Remove debugging.
9669 (shr-render-td): Make width computation consistent by defaulting
9670 all zero-width columns to 10 characters. This may not be optimal,
9671 but it's at least consistent.
9672 (shr-make-table-1): Redo last change to fix the real problem in
9673 colspan handling.
9674
9675 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
9676
9677 * files.el (cache-long-line-scans):
9678 Make obsolete alias to `cache-long-scans'.
9679
9680 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
9681
9682 * frameset.el (frameset, frameset-filter-alist)
9683 (frameset-filter-params, frameset-save, frameset--reuse-frame)
9684 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
9685 (frameset-compute-pos): Rename from frameset--compute-pos,
9686 and add docstring.
9687 (frameset-move-onscreen): Use frameset-compute-pos.
9688 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
9689
9690 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
9691 Fix typos in docstrings.
9692
9693 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
9694
9695 * frame.el (get-other-frame): Tiny cleanup.
9696
9697 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
9698
9699 * vc/vc.el (vc-default-ignore-completion-table):
9700 Silence byte-compiler warning.
9701
9702 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
9703 slot, which can indeed be nil.
9704 (frameset-live-filter-alist, frameset-persistent-filter-alist):
9705 Move entry for `left' from persistent to live filter alist.
9706 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
9707 Doc fixes.
9708 (frameset-filter-params): When restoring a frame, copy items added to
9709 `filtered', to avoid unwittingly modifying the original parameters.
9710 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
9711 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
9712
9713 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
9714 to use looking-at-p instead of looking-at. (Bug#15028)
9715
9716 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
9717
9718 Revert introduction of isearch-filter-predicates (bug#14714).
9719 Rely on add-function instead.
9720 * isearch.el (isearch-filter-predicates): Rename it back to
9721 isearch-filter-predicate.
9722 (isearch-message-prefix): Use advice-function-mapc and advice
9723 properties to get the isearch-message-prefix.
9724 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
9725 instead of run-hook-with-args-until-failure.
9726 (isearch-filter-visible): Not obsolete any more.
9727 * loadup.el: Preload nadvice.
9728 * replace.el (perform-replace): Revert to funcall
9729 instead of run-hook-with-args-until-failure.
9730 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
9731 * dired-aux.el (dired-isearch-filenames-mode): Rename from
9732 dired-isearch-filenames-toggle; make it into a proper minor mode.
9733 Use add/remove-function.
9734 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
9735 Call the minor-mode rather than add/remove-hook.
9736 (dired-isearch-filter-filenames):
9737 Remove isearch-message-prefix property.
9738 * info.el (Info--search-loop): New function, extracted from Info-search.
9739 Funcall isearch-filter-predicate instead of
9740 run-hook-with-args-until-failure isearch-filter-predicates.
9741 (Info-search): Use it.
9742 (Info-mode): Use isearch-filter-predicate instead of
9743 isearch-filter-predicates.
9744
9745 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
9746
9747 Do not call to `selected-window' where it is assumed by default.
9748 Affected functions are `window-minibuffer-p', `window-dedicated-p',
9749 `window-hscroll', `window-width', `window-height', `window-buffer',
9750 `window-frame', `window-start', `window-point', `next-window'
9751 and `window-display-table'.
9752 * abbrev.el (abbrev--default-expand):
9753 * bs.el (bs--show-with-configuration):
9754 * buff-menu.el (Buffer-menu-mouse-select):
9755 * calc/calc.el (calc):
9756 * calendar/calendar.el (calendar-generate-window):
9757 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
9758 (diary-make-entry):
9759 * comint.el (send-invisible, comint-dynamic-complete-filename)
9760 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
9761 * completion.el (complete):
9762 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
9763 * disp-table.el (describe-current-display-table):
9764 * doc-view.el (doc-view-insert-image):
9765 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
9766 * ehelp.el (with-electric-help):
9767 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
9768 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
9769 * emacs-lisp/helper.el (Helper-help-scroller):
9770 * emulation/cua-base.el (cua--post-command-handler-1):
9771 * eshell/esh-mode.el (eshell-output-filter):
9772 * ffap.el (ffap-gnus-wrapper):
9773 * help-macro.el (make-help-screen):
9774 * hilit-chg.el (highlight-compare-buffers):
9775 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
9776 * hl-line.el (global-hl-line-highlight):
9777 * icomplete.el (icomplete-simple-completing-p):
9778 * isearch.el (isearch-done):
9779 * jit-lock.el (jit-lock-stealth-fontify):
9780 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
9781 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
9782 * mpc.el (mpc-tagbrowser, mpc):
9783 * net/rcirc.el (rcirc-any-buffer):
9784 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
9785 * play/landmark.el (landmark-max-width, landmark-max-height):
9786 * play/zone.el (zone):
9787 * progmodes/compile.el (compilation-goto-locus):
9788 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
9789 * progmodes/etags.el (find-tag-other-window):
9790 * progmodes/fortran.el (fortran-column-ruler):
9791 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
9792 * progmodes/verilog-mode.el (verilog-point-text):
9793 * reposition.el (reposition-window):
9794 * rot13.el (toggle-rot13-mode):
9795 * server.el (server-switch-buffer):
9796 * shell.el (shell-dynamic-complete-command)
9797 (shell-dynamic-complete-environment-variable):
9798 * simple.el (insert-buffer, set-selective-display)
9799 (delete-completion-window):
9800 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
9801 (speedbar-recenter):
9802 * startup.el (fancy-splash-head):
9803 * textmodes/ispell.el (ispell-command-loop):
9804 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
9805 * tutorial.el (help-with-tutorial):
9806 * vc/add-log.el (add-change-log-entry):
9807 * vc/compare-w.el (compare-windows):
9808 * vc/ediff-help.el (ediff-indent-help-message):
9809 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
9810 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
9811 (ediff-setup-control-frame):
9812 * vc/emerge.el (emerge-position-region):
9813 * vc/pcvs-util.el (cvs-bury-buffer):
9814 * window.el (walk-windows, mouse-autoselect-window-select):
9815 * winner.el (winner-set-conf, winner-undo): Related users changed.
9816
9817 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
9818
9819 * frameset.el (frameset--set-id): Doc fix.
9820 (frameset-frame-id, frameset-frame-id-equal-p)
9821 (frameset-locate-frame-id): New functions.
9822 (frameset--process-minibuffer-frames, frameset--reuse-frame)
9823 (frameset-restore): Use them.
9824
9825 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
9826
9827 Do not call to `selected-frame' where it is assumed by default.
9828 Affected functions are `raise-frame', `redraw-frame',
9829 `frame-first-window', `frame-terminal' and `delete-frame'.
9830 * calendar/appt.el (appt-disp-window):
9831 * epg.el (epg-wait-for-completion):
9832 * follow.el (follow-delete-other-windows-and-split)
9833 (follow-avoid-tail-recenter):
9834 * international/mule.el (set-terminal-coding-system):
9835 * mail/rmail.el (rmail-mail-return):
9836 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
9837 * progmodes/f90.el (f90-add-imenu-menu):
9838 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
9839 * server.el (server-switch-buffer):
9840 * simple.el (delete-completion-window):
9841 * talk.el (talk):
9842 * term/xterm.el (terminal-init-xterm-modify-other-keys)
9843 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
9844 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
9845 * vc/ediff.el (ediff-documentation): Related users changed.
9846 * frame.el (selected-terminal): Remove the leftover.
9847
9848 2013-08-05 Glenn Morris <rgm@gnu.org>
9849
9850 * calendar/calendar.el (calendar-generate-month):
9851 Fix for calendar-column-width != 1 + calendar-day-digit-width.
9852 (calendar-generate-month, calendar-font-lock-keywords):
9853 Fix for calendar-day-header-width > length of any day name.
9854
9855 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
9856
9857 * desktop.el (desktop-clear): Use new name of sort predicate.
9858
9859 * frameset.el (frameset): Add docstring. Move :version property to its
9860 own `version' slot.
9861 (frameset-copy): Rename from copy-frameset.
9862 (frameset-p): Check more thoroughly.
9863 (frameset-prop): Do not check for :version, which is no longer a prop.
9864 (frameset-live-filter-alist, frameset-persistent-filter-alist):
9865 Use new :never value instead of t.
9866 (frameset-filter-alist): Expand and clarify docstring.
9867 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
9868 (frameset-filter-minibuffer, frameset-filter-save-param)
9869 (frameset-filter-restore-param, frameset-filter-iconified):
9870 Add pointer to docstring of frameset-filter-alist.
9871 (frameset-filter-params): Rename filter values to be more meaningful:
9872 :never instead of t, and reverse the meanings of :save and :restore.
9873 (frameset--process-minibuffer-frames): Clarify error message.
9874 (frameset-save): Avoid unnecessary and confusing call to framep.
9875 Use new BOA constructor for framesets.
9876 (frameset--reuse-list): Doc fix.
9877 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
9878 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
9879 (frameset-minibufferless-first-p): Doc fix.
9880 Rename from frameset-sort-frames-for-deletion.
9881 (frameset-restore): Doc fixes. Use new function names.
9882 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
9883
9884 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
9885
9886 * desktop.el (desktop-restore-forces-onscreen)
9887 (desktop-restore-reuses-frames): Document :keyword constant values.
9888 (desktop-filter-parameters-alist): Remove, now identical to
9889 frameset-filter-alist.
9890 (desktop--filter-tty*): Remove, moved to frameset.el.
9891 (desktop-save-frameset, desktop-restore-frameset):
9892 Do not pass :filters argument.
9893
9894 * frameset.el (frameset-live-filter-alist)
9895 (frameset-persistent-filter-alist): New variables.
9896 (frameset-filter-alist): Use them. Add autoload cookie.
9897 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
9898 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
9899 `frameset--id' (it's supposed to be internal to frameset.el).
9900 (frameset--process-minibuffer-frames): Ditto. Doc fix.
9901 (frameset--initial-params): New function.
9902 (frameset--get-frame): Use it. Doc fix.
9903 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
9904 Accept :all, not 'all.
9905 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
9906 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
9907 with fbound symbols. Fix frame id matching, and remove matching ids if
9908 the frame being restored is deleted. Obey :delete.
9909
9910 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
9911
9912 * subr.el (macrop): New function.
9913 (text-clone--maintaining): New var.
9914 (text-clone--maintain): Rename from text-clone-maintain. Use it
9915 instead of inhibit-modification-hooks.
9916
9917 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
9918 a proxy, so as handle autoloads and redefinitions of the target.
9919 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
9920
9921 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
9922 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
9923 (pcase--mutually-exclusive-p): New function.
9924 (pcase--split-consp): Use it.
9925 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
9926 mutually exclusive with the current predicate.
9927
9928 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
9929 (edebug-macrop): Remove. Use `macrop' instead.
9930 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
9931 (ad-macro-p):
9932 * eshell/esh-cmd.el (eshell-macrop):
9933 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
9934
9935 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
9936
9937 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
9938 (advice-mapc): New function, using it.
9939 (advice-function-member-p): New function.
9940 (advice--normalize): Store the cdr in advice--saved-rewrite since
9941 that's the part that will be changed.
9942 (advice--symbol-function): New function.
9943 (advice-remove): Handle removal before the function is defined.
9944 Adjust to new advice--saved-rewrite.
9945 (advice-member-p): Use advice-function-member-p and
9946 advice--symbol-function.
9947
9948 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
9949
9950 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
9951 (frameset-filter-minibuffer): Doc fix.
9952 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
9953 (frameset--set-id, frameset--process-minibuffer-frames)
9954 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
9955 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
9956
9957 * desktop.el (desktop-clear): Only delete frames when called
9958 interactively and desktop-restore-frames is non-nil. Doc fix.
9959 (desktop-read): Set desktop-saved-frameset to nil.
9960
9961 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
9962
9963 * vc/vc.el (vc-ignore): Rewrite.
9964 (vc-default-ignore-completion-table, vc--read-lines)
9965 (vc--add-line, vc--remove-regexp): New functions.
9966
9967 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
9968 (vc-svn-ignore-completion-table): New function.
9969
9970 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
9971 (vc-hg-ignore-completion-table)
9972 (vc-hg-find-ignore-file): New functions.
9973
9974 * vc/vc-git.el (vc-git-ignore): Rewrite.
9975 (vc-git-ignore-completion-table)
9976 (vc-git-find-ignore-file): New functions.
9977
9978 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
9979
9980 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
9981 (vc-bzr-ignore-completion-table)
9982 (vc-bzr-find-ignore-file): New functions.
9983
9984 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
9985
9986 * frameset.el (frameset-prop): New function and setter.
9987 (frameset-save): Do not modify frame list passed by the caller.
9988
9989 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9990
9991 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
9992
9993 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
9994
9995 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
9996 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
9997
9998 * custom.el (custom-initialize-default, custom-initialize-set)
9999 (custom-initialize-reset, custom-initialize-changed): Affect the
10000 toplevel-default-value (bug#6275, bug#14586).
10001 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
10002 for bug#6275.
10003
10004 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
10005
10006 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
10007 Add cl-def* expressions.
10008
10009 * frameset.el (frameset-filter-params): Fix order of arguments.
10010
10011 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
10012
10013 Move code related to saving frames to frameset.el.
10014 * desktop.el: Require frameset.
10015 (desktop-restore-frames): Doc fix.
10016 (desktop-restore-reuses-frames): Rename from
10017 desktop-restoring-reuses-frames.
10018 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
10019 (desktop-clear): Clear frames too.
10020 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
10021 (desktop--filter-tty*, desktop-save, desktop-read):
10022 Use frameset functions.
10023 (desktop-before-saving-frames-functions, desktop--filter-*-color)
10024 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
10025 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
10026 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
10027 (desktop--process-minibuffer-frames, desktop-save-frames)
10028 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
10029 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
10030 (desktop--sort-states, desktop-restoring-frames-p)
10031 (desktop-restore-frames): Remove. Most code moved to frameset.el.
10032 (desktop-restoring-frameset-p, desktop-restore-frameset)
10033 (desktop--check-dont-save, desktop-save-frameset): New functions.
10034 (desktop--app-id): New constant.
10035 (desktop-first-buffer, desktop-buffer-ok-count)
10036 (desktop-buffer-fail-count): Move before first use.
10037 * frameset.el: New file.
10038
10039 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
10040
10041 * files.el: Use lexical-binding.
10042 (dir-locals-read-from-file): Remove unused `err' variable.
10043 (hack-dir-local-variables--warned-coding): New var.
10044 (hack-dir-local-variables): Use it to avoid repeated warnings.
10045 (make-backup-file-name--default-function): New function.
10046 (make-backup-file-name-function): Use it as default.
10047 (buffer-stale--default-function): New function.
10048 (buffer-stale-function): Use it as default.
10049 (revert-buffer-insert-file-contents--default-function): New function.
10050 (revert-buffer-insert-file-contents-function): Use it as default.
10051 (insert-directory): Avoid add-to-list.
10052
10053 * autorevert.el (auto-revert-handler): Simplify.
10054 Use buffer-stale--default-function.
10055
10056 2013-08-01 Tassilo Horn <tsdh@gnu.org>
10057
10058 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
10059
10060 * whitespace.el (whitespace-ensure-local-variables): New function.
10061 (whitespace-cleanup-region): Call it.
10062 (whitespace-turn-on): Call it.
10063
10064 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
10065
10066 Complete file name handlers.
10067
10068 * net/tramp.el (tramp-handle-set-visited-file-modtime)
10069 (tramp-handle-verify-visited-file-modtime)
10070 (tramp-handle-file-notify-rm-watch): New functions.
10071 (tramp-call-process): Do not bind `default-directory'.
10072
10073 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10074 Order alphabetically.
10075 <access-file, add-name-to-file, dired-call-process>:
10076 <dired-compress-file, file-acl, file-notify-rm-watch>:
10077 <file-ownership-preserved-p, file-selinux-context>:
10078 <make-directory-internal, make-symbolic-link, set-file-acl>:
10079 <set-file-selinux-context, set-visited-file-modtime>:
10080 <verify-visited-file-modtime>: Add handler.
10081 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
10082
10083 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
10084 <file-notify-add-watch, file-notify-rm-watch>:
10085 <set-file-times, set-visited-file-modtime>:
10086 <verify-visited-file-modtime>: Add handler.
10087 (with-tramp-gvfs-error-message)
10088 (tramp-gvfs-handle-set-visited-file-modtime)
10089 (tramp-gvfs-fuse-file-name): Remove.
10090 (tramp-gvfs-handle-file-notify-add-watch)
10091 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
10092 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
10093
10094 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10095 Order alphabetically.
10096 <file-notify-rm-watch>: Use default Tramp handler.
10097 <executable-find>: Remove private handler.
10098 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
10099 `default-directory'.
10100 (tramp-sh-handle-executable-find)
10101 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
10102 (tramp-sh-file-gvfs-monitor-dir-process-filter)
10103 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
10104 Do not use `format' in `tramp-message'.
10105
10106 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
10107 <file-notify-rm-watch, set-visited-file-modtime>:
10108 <verify-visited-file-modtime>: Add handler.
10109 (tramp-smb-call-winexe): Do not bind `default-directory'.
10110
10111 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
10112
10113 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
10114
10115 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
10116
10117 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
10118 use it.
10119 (log-view-diff-changeset): Same.
10120 (log-view-diff-common): Call backend command `previous-revision'
10121 to find out the previous revision, in both cases. Swap the
10122 variables `to' and `fr', so that `fr' usually refers to the
10123 earlier revision (Bug#14989).
10124
10125 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
10126
10127 * ibuf-ext.el (ibuffer-filter-by-filename):
10128 Make it work with dired buffers too.
10129
10130 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
10131
10132 * emacs-lisp/re-builder.el (reb-color-display-p):
10133 * files.el (save-buffers-kill-terminal):
10134 * net/browse-url.el (browse-url):
10135 * server.el (server-save-buffers-kill-terminal):
10136 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
10137 Prefer nil to selected-frame for the first arg of frame-parameter.
10138
10139 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
10140
10141 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
10142
10143 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
10144
10145 * minibuffer.el (completion--twq-all): Try and preserve each
10146 completion's case choice (bug#14907).
10147
10148 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10149
10150 * net/network-stream.el (open-network-stream): Mention the new
10151 :nogreeting parameter.
10152 (network-stream-open-starttls): Use the :nogreeting parameter
10153 (bug#14938).
10154
10155 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
10156
10157 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
10158 more natural than popping.
10159
10160 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
10161 (shr-urlify): Highlight under mouse.
10162
10163 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10164
10165 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
10166
10167 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
10168
10169 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
10170 buffer for output.
10171
10172 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
10173 point-min==1. Fix search string. Fix parentheses missing.
10174
10175 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
10176 assume point-min==1. Fix search string. Fix parentheses missing.
10177
10178 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
10179
10180 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
10181 buffer for output.
10182
10183 2013-07-29 Eli Zaretskii <eliz@gnu.org>
10184
10185 * frame.el (frame-notice-user-settings): Avoid inflooping when the
10186 initial frame is minibuffer-less. (Bug#14841)
10187
10188 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
10189
10190 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
10191 option.
10192
10193 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10194 (tramp-maybe-open-connection): Use it.
10195
10196 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
10197
10198 * desktop.el (desktop--make-frame): Include `minibuffer' in the
10199 minimal set of parameters passed when creating a frame, because
10200 the minibuffer status of a frame cannot be changed later.
10201
10202 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
10203
10204 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
10205 replace-regexp-in-string and inadvertent omissions in previous change.
10206 (todo-filter-items): Ensure only file names are comma-separated in
10207 name of filtered items buffer.
10208
10209 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
10210
10211 * desktop.el: Optionally force offscreen frames back onscreen.
10212 (desktop-restoring-reuses-frames): New option.
10213 (desktop--compute-pos, desktop--move-onscreen): New functions.
10214 (desktop--make-frame): Use desktop--move-onscreen.
10215
10216 2013-07-27 Alan Mackenzie <acm@muc.de>
10217
10218 Fontify a Java generic method as a function.
10219 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
10220 value to t.
10221
10222 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
10223
10224 * calendar/todo-mode.el: Add command to rename todo files.
10225 (todo-rename-file): New command.
10226 (todo-key-bindings-t): Add key binding for it. Change the
10227 bindings of todo-filter-regexp-items(-multifile) to use `x'
10228 instead of `r', since the latter is better suited to the new
10229 renaming command.
10230
10231 2013-07-27 Alan Mackenzie <acm@muc.de>
10232
10233 Make Java try-with-resources statement parse properly.
10234 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
10235 (c-block-stmt-1-2-key): New language constants/variables.
10236 * progmodes/cc-engine.el (c-beginning-of-statement-1)
10237 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
10238 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
10239 with c-block-stmt-1-2-key.
10240
10241 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
10242
10243 * desktop.el (desktop--make-frame): Apply most frame parameters after
10244 creating the frame to force (partially or totally) offscreen frames to
10245 be restored as such.
10246
10247 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
10248
10249 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
10250 (Bug#14948)
10251
10252 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10253
10254 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
10255 `base' arg of backtrace-frame.
10256
10257 2013-07-26 Eli Zaretskii <eliz@gnu.org>
10258
10259 * simple.el (list-processes): Doc fix.
10260
10261 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
10262
10263 * desktop.el (desktop--select-frame):
10264 Try harder to reuse existing frames.
10265
10266 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10267
10268 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
10269 (edebug-eval): Use backtrace-eval.
10270 (edebug--display, edebug--recursive-edit): Don't let-bind the
10271 edebug-outer-* vars that keep track of variables we locally let-bind.
10272 (edebug-outside-excursion): Don't restore outside values of locally
10273 let-bound vars.
10274 (edebug--display): Use user-error.
10275 (cl-lexical-debug, cl-debug-env): Remove.
10276
10277 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
10278
10279 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
10280 are restored to be sure that they are visible before deleting any
10281 remaining ones.
10282
10283 2013-07-26 Matthias Meulien <orontee@gmail.com>
10284
10285 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
10286 vc-print-root-log. (Bug#14948)
10287
10288 2013-07-26 Richard Stallman <rms@gnu.org>
10289
10290 Add aliases for encrypting mail.
10291 * epa.el (epa-mail-aliases): New option.
10292 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
10293 Bind inhibit-read-only so read-only text doesn't ruin everything.
10294 (epa-mail-default-recipients): New subroutine broken out.
10295 Handle epa-mail-aliases.
10296
10297 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10298
10299 Add support for lexical variables to the debugger's `e' command.
10300 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
10301 vars, except for debugger-outer-match-data.
10302 (debugger-frame-number): Move check for "on a function call" from
10303 callers into it. Add `skip-base' argument.
10304 (debugger-frame, debugger-frame-clear): Simplify accordingly.
10305 (debugger-env-macro): Only reset the state stored in non-variables,
10306 i.e. current-buffer and match-data.
10307 (debugger-eval-expression): Rewrite using backtrace-eval.
10308 * subr.el (internal--called-interactively-p--get-frame): Remove.
10309 (called-interactively-p):
10310 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
10311 `base' arg of backtrace-frame instead.
10312
10313 2013-07-26 Glenn Morris <rgm@gnu.org>
10314
10315 * align.el (align-regexp): Doc fix. (Bug#14857)
10316 (align-region): Explicit error if subexpression missing/does not match.
10317
10318 * simple.el (global-visual-line-mode):
10319 Do not duplicate the mode lighter. (Bug#14858)
10320
10321 2013-07-25 Martin Rudalics <rudalics@gmx.at>
10322
10323 * window.el (display-buffer): In display-buffer bind
10324 split-window-keep-point to t, bug#14829.
10325
10326 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
10327
10328 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
10329 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
10330 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
10331 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10332 Change accordingly.
10333 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10334 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
10335
10336 2013-07-25 Glenn Morris <rgm@gnu.org>
10337
10338 * dired-x.el (dired-mark-extension): Convert comment to doc string.
10339
10340 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
10341
10342 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
10343 parameter to modify-frame-parameters if the value has not changed;
10344 this is a workaround for bug#14949.
10345 (desktop--make-frame): On cl-delete-if call, check parameter name,
10346 not full parameter.
10347
10348 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10349
10350 * vc/vc.el (vc-ignore): New function.
10351
10352 * vc/vc-svn.el (vc-svn-ignore): New function.
10353
10354 * vc/vc-hg.el (vc-hg-ignore): New function.
10355
10356 * vc/vc-git.el (vc-git-ignore): New function.
10357
10358 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
10359 (vc-dir-ignore): New function.
10360
10361 * vc/vc-cvs.el (vc-cvs-ignore): New function.
10362 (cvs-append-to-ignore): Move here from pcvs.el.
10363
10364 * vc/vc-bzr.el (vc-bzr-ignore): New function.
10365
10366 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
10367
10368 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
10369
10370 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
10371 (desktop-restore-frames): Warn when deleting an existing frame failed.
10372
10373 2013-07-24 Glenn Morris <rgm@gnu.org>
10374
10375 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
10376
10377 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
10378
10379 * filenotify.el (file-notify-supported-p):
10380 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
10381 Remove functions.
10382
10383 * autorevert.el (auto-revert-use-notify)
10384 (auto-revert-notify-add-watch):
10385 * net/tramp.el (tramp-file-name-for-operation):
10386 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10387 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10388 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10389 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
10390 Remove `file-notify-supported-p' entry.
10391
10392 2013-07-24 Glenn Morris <rgm@gnu.org>
10393
10394 * printing.el: Replace all uses of deleted ps-windows-system,
10395 ps-lp-system, ps-flatten-list with lpr- versions.
10396
10397 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
10398
10399 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
10400 checked with memq (bug#14935).
10401
10402 * files.el (revert-buffer-function): Use a non-nil default.
10403 (revert-buffer-preserve-modes): Declare var to
10404 provide access to the `preserve-modes' argument.
10405 (revert-buffer): Let-bind it.
10406 (revert-buffer--default): New function, extracted from revert-buffer.
10407
10408 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
10409
10410 * lpr.el: Signal print errors more prominently.
10411 (print-region-function): Don't default to nil.
10412 (lpr-print-region): New function, extracted from print-region-1.
10413 Check lpr's return value and signal an error in case of problem.
10414 (print-region-1): Use it.
10415 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
10416 versions instead.
10417 (ps-printer-name): Default to nil.
10418 (ps-printer-name-option): Default to lpr-printer-switch.
10419 (ps-print-region-function): Don't default to nil.
10420 (ps-postscript-code-directory): Simplify default.
10421 (ps-do-despool): Use lpr-print-region to properly check the outcome.
10422 (ps-string-list, ps-eval-switch, ps-flatten-list)
10423 (ps-flatten-list-1): Remove.
10424 (ps-multibyte-buffer): Avoid setq.
10425 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
10426 (print-region-function, ps-print-region-function): Don't set them here.
10427
10428 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
10429
10430 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
10431 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
10432 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
10433 (ido-decorations): Doc fix.
10434
10435 * ansi-color.el: Fix old URL.
10436
10437 2013-07-23 Michael R. Mauger <michael@mauger.com>
10438
10439 * progmodes/sql.el: Version 3.3
10440 (sql-product-alist): Improve oracle :prompt-cont-regexp.
10441 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
10442 (sql-interactive-remove-continuation-prompt): Rewrite, use
10443 functions above. Fix continuation prompt and complete output line
10444 handling.
10445 (sql-redirect-one, sql-execute): Use `read-only-mode' on
10446 redirected output buffer.
10447 (sql-mode): Restore deleted code (Bug#13591).
10448
10449 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
10450
10451 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
10452
10453 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
10454
10455 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
10456
10457 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10458 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10459 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
10460
10461 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
10462
10463 * desktop.el (desktop-clear): Simplify; remove useless checks
10464 against invalid buffer names.
10465 (desktop-list*): Use cl-list*.
10466 (desktop-buffer-info, desktop-create-buffer): Simplify.
10467
10468 2013-07-23 Leo Liu <sdl.web@gmail.com>
10469
10470 * bookmark.el (bookmark-make-record): Restore NAME as a default
10471 value. (Bug#14933)
10472
10473 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
10474
10475 * emacs-lisp/autoload.el (autoload--setup-output): New function,
10476 extracted from autoload--insert-text.
10477 (autoload--insert-text): Remove.
10478 (autoload--print-cookie-text): New function, extracted from
10479 autoload--insert-cookie-text.
10480 (autoload--insert-cookie-text): Remove.
10481 (autoload-generate-file-autoloads): Adjust calls accordingly.
10482
10483 * winner.el (winner-hook-installed-p): Remove.
10484 (winner-mode): Simplify accordingly.
10485
10486 * subr.el (add-to-list): Fix compiler-macro when `append' is
10487 not constant. Don't use `cl-member' for the base case.
10488
10489 * progmodes/subword.el: Fix boundary case (bug#13758).
10490 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
10491 own group.
10492 (subword-backward-regexp): Make it a constant.
10493 (subword-forward-internal): Don't treat a trailing capital as the
10494 beginning of a word.
10495
10496 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
10497
10498 * emacs-lisp/package.el (package-menu-mode): Don't modify the
10499 global value of tabulated-list-revert-hook (bug#14930).
10500
10501 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
10502
10503 * desktop.el: Require 'cl-lib.
10504 (desktop-before-saving-frames-functions): New hook.
10505 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
10506 for frames being saved. Rename from desktop--save-minibuffer-frames.
10507 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
10508 Do not save frames with non-nil `desktop-dont-save' parameter.
10509 Filter out deleted frames.
10510 (desktop--find-frame): Use cl-find-if.
10511 (desktop--select-frame): Use cl-(first|second|third) to access values
10512 of desktop-mini.
10513 (desktop--make-frame): Use cl-delete-if.
10514 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
10515 (desktop-restore-frames): Use cl-(first|second|third) to access values
10516 of desktop-mini. Look for visible frame at the end, not while
10517 restoring frames.
10518
10519 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
10520 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
10521 Use string-match-p, looking-at-p (bug#14927).
10522
10523 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
10524
10525 * desktop.el (desktop-saved-frame-states):
10526 Rename from desktop--saved-states; all users changed.
10527 (desktop-save-frames): Rename from desktop--save-frames.
10528 Do not save state to desktop file.
10529 (desktop-save): Save desktop-saved-frame-states to desktop file
10530 and reset to nil.
10531 (desktop-restoring-frames-p): New function.
10532 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
10533 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
10534 buffer-lists when restoring frames. Suggested by Martin Rudalics.
10535
10536 * desktop.el: Correctly restore iconified frames.
10537 (desktop--filter-iconified-position): New function.
10538 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
10539
10540 2013-07-20 Glenn Morris <rgm@gnu.org>
10541
10542 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
10543 Let `message' do the formatting.
10544 (def-gdb-preempt-display-buffer): Add explicit format.
10545
10546 * image-dired.el (image-dired-track-original-file):
10547 Use with-current-buffer.
10548 (image-dired-track-thumbnail): Use with-current-buffer.
10549 Avoid changing point of wrong window.
10550
10551 * image-dired.el (image-dired-track-original-file):
10552 Avoid changing point of wrong window. (Bug#14909)
10553
10554 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
10555
10556 * progmodes/gdb-mi.el (gdb-done-or-error):
10557 Guard against "%" in gdb output. (Bug#14127)
10558
10559 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
10560
10561 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
10562 (Bug#14826)
10563
10564 * international/mule.el (coding-system-iso-2022-flags): Fix last
10565 change.
10566
10567 2013-07-20 Kenichi Handa <handa@gnu.org>
10568
10569 * international/mule.el (coding-system-iso-2022-flags):
10570 Add `8-bit-level-4'. (Bug#8522)
10571
10572 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10573
10574 * net/shr.el (shr-mouse-browse-url): New command and keystroke
10575 (bug#14815).
10576
10577 * net/eww.el (eww-process-text-input): Allow inputting when the
10578 point is at the start of the line, as the properties aren't
10579 front-sticky.
10580
10581 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
10582 degenerate widths.
10583
10584 2013-07-19 Richard Stallman <rms@gnu.org>
10585
10586 * epa.el (epa-popup-info-window): Doc fix.
10587
10588 * subr.el (split-string): New arg TRIM.
10589
10590 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
10591
10592 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
10593 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
10594
10595 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
10596
10597 * filenotify.el (file-notify--library): Rename from
10598 `file-notify-support'. Do not autoload. Adapt all uses.
10599 (file-notify-supported-p): New defun.
10600
10601 * autorevert.el (auto-revert-use-notify):
10602 Use `file-notify-supported-p' instead of `file-notify-support'.
10603 Adapt docstring.
10604 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
10605
10606 * net/tramp.el (tramp-file-name-for-operation):
10607 Add `file-notify-supported-p'.
10608
10609 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
10610 New defun.
10611 (tramp-sh-file-name-handler-alist): Add it as handler for
10612 `file-notify-supported-p '.
10613
10614 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10615 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10616 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
10617 Add `ignore' as handler for `file-notify-*' functions.
10618
10619 2013-07-17 Eli Zaretskii <eliz@gnu.org>
10620
10621 * simple.el (line-move-partial, line-move): Don't start vscroll or
10622 scroll-up if the current line is not taller than the window.
10623 (Bug#14881)
10624
10625 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
10626
10627 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
10628 highlight question marks in the method names as strings.
10629 (ruby-block-beg-keywords): Inline.
10630 (ruby-font-lock-keyword-beg-re): Extract from
10631 `ruby-font-lock-keywords'.
10632
10633 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
10634
10635 * frame.el (blink-cursor-blinks): New defcustom.
10636 (blink-cursor-blinks-done): New defvar.
10637 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
10638 (blink-cursor-timer-function): Check if number of blinks has been
10639 done on X and NS.
10640 (blink-cursor-suspend, blink-cursor-check): New defuns.
10641
10642 2013-07-15 Glenn Morris <rgm@gnu.org>
10643
10644 * edmacro.el (edmacro-format-keys): Fix previous change.
10645
10646 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
10647
10648 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
10649 The hack didn't work outside English locales anyway.
10650
10651 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
10652
10653 * simple.el (define-alternatives): Rename from alternatives-define,
10654 per RMS' suggestion.
10655
10656 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
10657
10658 * desktop.el (desktop-restore-frames): Change default to t.
10659 (desktop-restore-in-current-display): Now offer more options.
10660 (desktop-restoring-reuses-frames): New customization option.
10661 (desktop--saved-states): Doc fix.
10662 (desktop-filter-parameters-alist): New variable, renamed and expanded
10663 from desktop--excluded-frame-parameters.
10664 (desktop--target-display): New variable.
10665 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
10666 (desktop--filter-tty*, desktop--filter-*-color)
10667 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
10668 (desktop--filter-save-desktop-parm)
10669 (desktop-restore-in-original-display-p): New functions.
10670 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
10671 (desktop--save-minibuffer-frames): New function, inspired by a similar
10672 function from Martin Rudalics.
10673 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
10674 (desktop--restore-in-this-display-p): Remove.
10675 (desktop--find-frame): Rename from desktop--find-frame-in-display
10676 and add predicate argument.
10677 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
10678 (desktop--reuse-list): New variable.
10679 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
10680 New functions.
10681 (desktop--restore-frames): Add support for "minibuffer-special" frames.
10682
10683 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
10684
10685 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
10686
10687 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
10688
10689 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
10690 Highlight conversion methods on Kernel.
10691
10692 2013-07-13 Alan Mackenzie <acm@muc.de>
10693
10694 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
10695 and comment it out. This out-commenting enables certain C++
10696 declarations to be parsed correctly.
10697
10698 2013-07-13 Eli Zaretskii <eliz@gnu.org>
10699
10700 * international/mule.el (define-coding-system): Doc fix.
10701
10702 * simple.el (default-font-height): Don't call font-info if the
10703 frame's default font didn't change since the frame was created.
10704 (Bug#14838)
10705
10706 2013-07-13 Leo Liu <sdl.web@gmail.com>
10707
10708 * ido.el (ido-read-file-name): Guard against non-symbol value.
10709
10710 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
10711
10712 * progmodes/python.el (python-imenu--build-tree): Fix corner case
10713 in nested defuns.
10714
10715 2013-07-13 Leo Liu <sdl.web@gmail.com>
10716
10717 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
10718 ido-set-matches call. (Bug#6852)
10719
10720 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
10721
10722 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
10723 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
10724 Ruby 2.0.
10725 (ruby-font-lock-keywords): Distinguish calls to functions with
10726 module-like names from module references. Highlight character
10727 literals.
10728
10729 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
10730
10731 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
10732 (gdb-send): Handle continued commands. (Bug#14847)
10733
10734 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
10735
10736 * desktop.el (desktop--v2s): Remove unused local variable.
10737 (desktop-save-buffer): Make defvar-local; adjust docstring.
10738 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
10739 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
10740
10741 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
10742
10743 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
10744
10745 2013-07-12 Eli Zaretskii <eliz@gnu.org>
10746
10747 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
10748 (Bug#14842)
10749
10750 2013-07-12 Glenn Morris <rgm@gnu.org>
10751
10752 * doc-view.el: Require cl-lib at runtime too.
10753 (doc-view-remove-if): Remove.
10754 (doc-view-search-next-match, doc-view-search-previous-match):
10755 Use cl-remove-if.
10756
10757 * edmacro.el: Require cl-lib at runtime too.
10758 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
10759 (edmacro-mismatch, edmacro-subseq): Remove.
10760
10761 * shadowfile.el: Require cl-lib.
10762 (shadow-remove-if): Remove.
10763 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
10764 Use cl-remove-if.
10765
10766 * wid-edit.el: Require cl-lib.
10767 (widget-choose): Use cl-remove-if.
10768 (widget-remove-if): Remove.
10769
10770 * progmodes/ebrowse.el: Require cl-lib at runtime too.
10771 (ebrowse-delete-if-not): Remove.
10772 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
10773 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
10774 Use cl-delete-if-not.
10775
10776 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
10777
10778 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
10779 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
10780
10781 2013-07-12 Leo Liu <sdl.web@gmail.com>
10782
10783 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
10784
10785 2013-07-11 Glenn Morris <rgm@gnu.org>
10786
10787 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
10788 (edebug-gensym-index, edebug-gensym):
10789 Remove reimplementation of cl-gensym.
10790 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
10791
10792 * thumbs.el: Require cl-lib at run-time too.
10793 (thumbs-gensym-counter, thumbs-gensym):
10794 Remove reimplementation of cl-gensym.
10795 (thumbs-temp-file): Use cl-gensym.
10796
10797 * emacs-lisp/ert.el: Require cl-lib at runtime too.
10798 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
10799 (ert--intersection, ert--set-difference, ert--set-difference-eq)
10800 (ert--union, ert--gensym-counter, ert--gensym-counter)
10801 (ert--coerce-to-vector, ert--remove*, ert--string-position)
10802 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
10803 (ert-make-test-unbound, ert--expand-should-1)
10804 (ert--expand-should, ert--should-error-handle-error)
10805 (should-error, ert--explain-equal-rec)
10806 (ert--plist-difference-explanation, ert-select-tests)
10807 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
10808 Use cl-lib functions rather than reimplementations.
10809
10810 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
10811
10812 * net/tramp.el (tramp-methods): Extend docstring.
10813 (tramp-connection-timeout): New defcustom.
10814 (tramp-error-with-buffer): Reset timestamp only when appropriate.
10815 (with-tramp-progress-reporter): Simplify.
10816 (tramp-process-actions): Improve messages.
10817
10818 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10819 * net/tramp-sh.el (tramp-maybe-open-connection):
10820 Use `tramp-connection-timeout'.
10821 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
10822 (Bug#14808)
10823
10824 2013-07-11 Leo Liu <sdl.web@gmail.com>
10825
10826 * ido.el (ido-read-file-name): Conform to the requirements of
10827 read-file-name. (Bug#11861)
10828 (ido-read-directory-name): Conform to the requirements of
10829 read-directory-name.
10830
10831 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
10832
10833 * subr.el (delay-warning): New function.
10834
10835 2013-07-10 Eli Zaretskii <eliz@gnu.org>
10836
10837 * simple.el (default-line-height): New function.
10838 (line-move-partial, line-move): Use it instead of computing the
10839 line height inline.
10840 (line-move-partial): Always compute ROWH. If the last line is
10841 partially-visible, but its text is completely visible, allow
10842 cursor to enter such a partially-visible line.
10843
10844 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
10845
10846 Improve error messages. (Bug#14808)
10847
10848 * net/tramp.el (tramp-current-connection): New defvar, moved from
10849 tramp-sh.el.
10850 (tramp-message-show-progress-reporter-message): Remove, not
10851 needed anymore.
10852 (tramp-error-with-buffer): Show message in minibuffer.
10853 Discard input before waiting. Reset connection timestamp.
10854 (with-tramp-progress-reporter): Improve messages.
10855 (tramp-process-actions): Use progress reporter. Delete process in
10856 case of error. Improve messages.
10857
10858 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
10859 Call `tramp-error-with-buffer' with vector and buffer.
10860 (tramp-current-connection): Remove.
10861 (tramp-maybe-open-connection): The car of
10862 `tramp-current-connection' are the first 3 slots of the vector.
10863
10864 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
10865
10866 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
10867 inside continued strings.
10868
10869 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
10870
10871 Timestamp fixes for undo (Bug#14824).
10872 * files.el (clear-visited-file-modtime): Move here from fileio.c.
10873
10874 2013-07-10 Leo Liu <sdl.web@gmail.com>
10875
10876 * files.el (require-final-newline): Allow safe local value.
10877 (Bug#14834)
10878
10879 2013-07-09 Leo Liu <sdl.web@gmail.com>
10880
10881 * ido.el (ido-read-directory-name): Handle fallback.
10882 (ido-read-file-name): Update DIR to ido-current-directory.
10883 (Bug#1516)
10884 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
10885
10886 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
10887
10888 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
10889 "autoload". Remove "warn lower camel case" section, previously
10890 commented out. Highlight negation char. Do not highlight the
10891 target in singleton method definitions.
10892
10893 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
10894
10895 * faces.el (tty-setup-hook): Declare the hook.
10896
10897 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
10898 and detect when a guard/pred depends on local vars (bug#14773).
10899 (pcase--u1): Adjust caller.
10900
10901 2013-07-08 Eli Zaretskii <eliz@gnu.org>
10902
10903 * simple.el (line-move-partial, line-move): Account for
10904 line-spacing.
10905 (line-move-partial): Avoid setting vscroll when the last
10906 partially-visible line in window is of default height.
10907
10908 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
10909
10910 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
10911 been used a while.
10912
10913 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
10914
10915 * subr.el (read-quoted-char): Remove unused local variable `char'.
10916
10917 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
10918
10919 * ediff.el (ediff-version): Version update.
10920 (ediff-files-command, ediff3-files-command, ediff-merge-command)
10921 (ediff-merge-with-ancestor-command, ediff-directories-command)
10922 (ediff-directories3-command, ediff-merge-directories-command)
10923 (ediff-merge-directories-with-ancestor-command): New functions.
10924 All are command-line interfaces to ediff: to facilitate calling
10925 Emacs with the appropriate ediff functions invoked.
10926
10927 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
10928 (viper-save-kill-buffer): Check if buffer is modified.
10929
10930 * viper.el (viper-version): Version update.
10931 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
10932
10933 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
10934
10935 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
10936 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
10937 (viper-intercept-ESC-key): Simplify.
10938 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
10939 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
10940 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
10941 (viper-setup-ESC-to-escape): New functions.
10942 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
10943 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
10944
10945 2013-07-07 Eli Zaretskii <eliz@gnu.org>
10946
10947 * simple.el (default-font-height, window-screen-lines):
10948 New functions.
10949 (line-move, line-move-partial): Use them instead of
10950 frame-char-height and window-text-height. This makes scrolling
10951 text smoother when the buffer's default face uses a font that is
10952 different from the frame's default font.
10953
10954 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
10955
10956 * files.el (write-file): Do not display confirm dialog for NS,
10957 it does its own dialog, which can't be canceled (Bug#14578).
10958
10959 2013-07-06 Eli Zaretskii <eliz@gnu.org>
10960
10961 * simple.el (line-move-partial): Adjust the row returned by
10962 posn-at-point for the current window-vscroll. (Bug#14567)
10963
10964 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
10965
10966 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
10967 (tramp-sh-file-inotifywait-process-filter): Handle file names with
10968 spaces.
10969
10970 2013-07-06 Martin Rudalics <rudalics@gmx.at>
10971
10972 * window.el (window-state-put-stale-windows): New variable.
10973 (window--state-put-2): Save list of windows without matching buffer.
10974 (window-state-put): Remove "bufferless" windows if possible.
10975
10976 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
10977
10978 * simple.el (alternatives-define): Remove leftover :group keyword.
10979 Tweak docstring.
10980
10981 2013-07-06 Leo Liu <sdl.web@gmail.com>
10982
10983 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
10984 (ido-enable-virtual-buffers): New variable.
10985 (ido-buffer-internal, ido-toggle-virtual-buffers)
10986 (ido-make-buffer-list): Use it.
10987 (ido-exhibit): Support turning on and off virtual buffers
10988 automatically.
10989
10990 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
10991
10992 * simple.el (alternatives-define): New macro.
10993
10994 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
10995
10996 * subr.el (read-quoted-char): Use read-key.
10997 (sit-for): Let read-event decode tty input (bug#14782).
10998
10999 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
11000
11001 * calendar/todo-mode.el: Add handling of file deletion, both by
11002 mode command and externally. Fix various related bugs.
11003 Clarify Commentary and improve some documentation strings and code.
11004 (todo-delete-file): New command.
11005 (todo-check-file): New function.
11006 (todo-show): Handle external deletion of the file we're trying to
11007 show (bug#14688). Replace called-interactively-p by an optional
11008 prefix argument to avoid problematic interaction with catch form
11009 when byte compiled (bug#14702).
11010 (todo-quit): Handle external deletion of the archive's todo file.
11011 Make sure the buffer that was visiting the archive file is still
11012 live before trying to bury it.
11013 (todo-category-completions): Handle external deletion of any
11014 category completion files.
11015 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
11016 of todo files, in case of external deletion.
11017 (todo-add-file): Replace unnecessary setq by let-binding.
11018 (todo-find-archive): Check whether there are any archives.
11019 Replace unnecessary setq by let-binding.
11020 (todo-archive-done-item): Use find-file-noselect to get the
11021 archive buffer whether or not the archive already exists.
11022 Remove superfluous code. Use file size instead of buffer-file-name to
11023 check if the archive is new; if it is, update list of archives.
11024 (todo-default-todo-file): Allow nil to be a valid value for when
11025 there are no todo files.
11026 (todo-reevaluate-default-file-defcustom): Use corrected definition
11027 of todo-default-todo-file.
11028 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
11029 (todo-delete-category, todo-show-categories-table)
11030 (todo-category-number): Clarify comment.
11031 (todo-filter-items): Clarify documentation string.
11032 (todo-show-current-file, todo-display-as-todo-file)
11033 (todo-reset-and-enable-done-separator): Tweak documentation string.
11034 (todo-done-separator): Make separator length window-width, since
11035 bug#2749 is now fixed.
11036
11037 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
11038
11039 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
11040 Support both "gvfs-monitor-dir" and "inotifywait".
11041 (tramp-sh-file-inotifywait-process-filter): Rename from
11042 `tramp-sh-file-notify-process-filter'.
11043 (tramp-sh-file-gvfs-monitor-dir-process-filter)
11044 (tramp-get-remote-gvfs-monitor-dir): New defuns.
11045
11046 2013-07-05 Leo Liu <sdl.web@gmail.com>
11047
11048 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
11049
11050 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11051
11052 * frame.el (display-pixel-height, display-pixel-width)
11053 (display-mm-height, display-mm-width): Mention behavior on
11054 multi-monitor setups in docstrings.
11055 (w32-display-monitor-attributes-list): Declare function.
11056 (display-monitor-attributes-list): Use it.
11057
11058 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
11059
11060 * filenotify.el: New package.
11061
11062 * autorevert.el (top): Require filenotify.el.
11063 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
11064 instead.
11065 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11066 (auto-revert-notify-handler): Use `file-notify-*' functions.
11067
11068 * subr.el (file-notify-handle-event): Move function to filenotify.el.
11069
11070 * net/tramp.el (tramp-file-name-for-operation):
11071 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
11072
11073 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
11074 for `file-notify-add-watch' and `file-notify-rm-watch'.
11075 (tramp-process-sentinel): Improve trace.
11076 (tramp-sh-handle-file-notify-add-watch)
11077 (tramp-sh-file-notify-process-filter)
11078 (tramp-sh-handle-file-notify-rm-watch)
11079 (tramp-get-remote-inotifywait): New defuns.
11080
11081 2013-07-03 Juri Linkov <juri@jurta.org>
11082
11083 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
11084 call of `occur-read-primary-args' to interactive spec.
11085
11086 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
11087 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
11088
11089 2013-07-03 Matthias Meulien <orontee@gmail.com>
11090
11091 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
11092 `Buffer-menu-multi-occur'. Add it to the menu.
11093 (Buffer-menu-mode): Document it in docstring.
11094 (Buffer-menu-multi-occur): New command. (Bug#14673)
11095
11096 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11097
11098 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
11099 keywords and built-ins.
11100
11101 2013-07-03 Glenn Morris <rgm@gnu.org>
11102
11103 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
11104
11105 Make info-xref checks case-sensitive by default
11106 * info.el (Info-find-node, Info-find-in-tag-table)
11107 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
11108 Add option for exact case matching of nodes.
11109 * info-xref.el (info-xref): New custom group.
11110 (info-xref-case-fold): New option.
11111 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
11112
11113 2013-07-03 Leo Liu <sdl.web@gmail.com>
11114
11115 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
11116
11117 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11118
11119 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
11120 middle of block statement initially, lower the depth. Remove
11121 FIXME comment, not longer valid. Remove middle of block statement
11122 detection, no need to do that anymore since we've been using
11123 `ruby-parse-region' here.
11124
11125 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
11126
11127 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
11128
11129 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
11130
11131 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
11132
11133 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
11134
11135 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
11136 (desktop-restore-in-current-display): New customization option.
11137 (desktop--excluded-frame-parameters): Add `font'.
11138 (desktop--save-frames): Rename from desktop--save-windows.
11139 (desktop--restore-in-this-display-p): New function.
11140 (desktop--make-full-frame): Remove unwanted width/height from
11141 full(width|height) frames.
11142 (desktop--restore-frames): Rename from desktop--restore-windows.
11143 Obey desktop-restore-current-display. Do not delete old frames or
11144 select a new frame unless we were able to restore at least one frame.
11145
11146 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
11147
11148 * files.el (find-file-noselect): Simplify conditional expression.
11149
11150 * textmodes/remember.el (remember-append-to-file):
11151 Don't mix `find-buffer-visiting' and `get-file-buffer'.
11152
11153 Add `remember-notes' function to store random notes across Emacs
11154 restarts.
11155 * textmodes/remember.el (remember-data-file): Add :set callback to
11156 affect notes buffer (if any).
11157 (remember-notes): New command.
11158 (remember-notes-buffer-name, bury-remember-notes-on-kill):
11159 New defcustoms for the `remember-notes' function.
11160 (remember-notes-save-and-bury-buffer): New command.
11161 (remember-notes-mode-map): New variable.
11162 (remember-mode): New minor mode.
11163 (remember-notes--kill-buffer-query): New function.
11164 * startup.el (initial-buffer-choice): Add notes to custom type.
11165
11166 2013-06-30 Eli Zaretskii <eliz@gnu.org>
11167
11168 * bindings.el (right-char, left-char): Don't call sit-for, this is
11169 no longer needed. Use arithmetic comparison only for numerical
11170 arguments.
11171
11172 * international/mule-cmds.el (select-safe-coding-system):
11173 Handle the case of FROM being a string correctly. (Bug#14755)
11174
11175 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11176
11177 * net/shr.el (shr-make-table-1): Add a sanity check that allows
11178 progression on degenerate tables.
11179 (shr-rescale-image): ImageMagick animated images currently don't work.
11180
11181 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
11182
11183 Some fixes and improvements for desktop frame restoration.
11184 It is still experimental and disabled by default.
11185 * desktop.el (desktop--save-windows): Put the selected frame at
11186 the head of the list.
11187 (desktop--make-full-frame): New function.
11188 (desktop--restore-windows): Try to re-select the frame that was
11189 selected upon saving. Do not abort if some frames fail to restore,
11190 just show an error message and continue. Set up maximized frames
11191 so they have default non-maximized dimensions.
11192
11193 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
11194
11195 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
11196 Don't start heredoc inside a string or comment.
11197
11198 2013-06-29 Eli Zaretskii <eliz@gnu.org>
11199
11200 * bindings.el (visual-order-cursor-movement): New defcustom.
11201 (right-char, left-char): Provide visual-order cursor motion by
11202 calling move-point-visually. Update the doc strings.
11203
11204 2013-06-28 Kenichi Handa <handa@gnu.org>
11205
11206 * international/mule.el (define-coding-system): New coding system
11207 properties :inhibit-null-byte-detection,
11208 :inhibit-iso-escape-detection, and :prefer-utf-8.
11209 (set-buffer-file-coding-system): If :charset-list property of
11210 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
11211 appropriate for setting.
11212
11213 * international/mule-cmds.el (select-safe-coding-system):
11214 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
11215 multibyte characters, return utf-8 (or one of its siblings).
11216
11217 * international/mule-conf.el (prefer-utf-8): New coding system.
11218 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
11219 files.
11220
11221 2013-06-28 Ivan Kanis <ivan@kanis.fr>
11222
11223 * net/shr.el (shr-render-region): New function.
11224
11225 * net/eww.el: Autoload `eww-browse-url'.
11226
11227 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
11228
11229 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11230 Adapt to `package-desc-version' being a list.
11231 Use `package--ac-desc-version' to retrieve version from a package
11232 archive element.
11233
11234 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
11235
11236 New experimental feature to save&restore window and frame setup.
11237 * desktop.el (desktop-save-windows): New defcustom.
11238 (desktop--saved-states): New var.
11239 (desktop--excluded-frame-parameters): New defconst.
11240 (desktop--filter-frame-parms, desktop--find-frame-in-display)
11241 (desktop--restore-windows, desktop--save-windows): New functions.
11242 (desktop-save): Call `desktop--save-windows'.
11243 (desktop-read): Call `desktop--restore-windows'.
11244
11245 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11246
11247 * net/shr.el (add-face-text-property): Remove compat definition.
11248
11249 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
11250
11251 * info.el (Info-try-follow-nearest-node): Move search for footnote
11252 above search for node name to prevent missing a footnote (bug#14717).
11253
11254 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
11255
11256 * obsolete/otodo-mode.el: Add obsolescence info to file header.
11257
11258 2013-06-27 Leo Liu <sdl.web@gmail.com>
11259
11260 * net/eww.el (eww-read-bookmarks): Check file size.
11261
11262 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11263
11264 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
11265 advice--pending if newdef is nil or an autoload (bug#13820).
11266 (advice-mapc): New function.
11267
11268 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11269
11270 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
11271 probably.
11272 (eww-mode-map): Add a menu bar.
11273 (eww-add-bookmark): New command.
11274 (eww-bookmark-mode): New mode and commands.
11275 (eww-add-bookmark): Remove newlines from the title.
11276 (eww-bookmark-browse): Don't bug out if it's the only window.
11277
11278 2013-06-26 Glenn Morris <rgm@gnu.org>
11279
11280 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
11281 (hfy-size): Handle ttys. (Bug#14668)
11282
11283 * info-xref.el: Update for Texinfo 5 change in *note format.
11284 (info-xref-node-re, info-xref-note-re): New constants.
11285 (info-xref-check-buffer): Use info-xref-note-re.
11286
11287 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11288
11289 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
11290
11291 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
11292 nil terminate the loop (bug#14718).
11293
11294 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11295
11296 * net/eww.el: Rework history traversal. When going forward/back,
11297 put these actions into the history, too, so that they can be
11298 replayed.
11299 (eww-render): Move the history reset to the correct buffer.
11300
11301 2013-06-25 Juri Linkov <juri@jurta.org>
11302
11303 * files-x.el (modify-dir-local-variable): Change the header comment
11304 in the file with directory local variables. (Bug#14692)
11305
11306 * files-x.el (read-file-local-variable-value): Add `default'.
11307 (Bug#14710)
11308
11309 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11310
11311 * net/eww.el (eww-make-unique-file-name): Create a unique file
11312 name before saving to entering `y' accidentally asynchronously.
11313
11314 2013-06-25 Ivan Kanis <ivan@kanis.fr>
11315
11316 * net/eww.el (eww-download): New command and keystroke.
11317
11318 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11319
11320 * net/eww.el (eww-copy-page-url): Change name of command.
11321
11322 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
11323 be more consistent with Info and dired.
11324
11325 * net/eww.el (eww-mode-map): Ditto.
11326
11327 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11328
11329 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
11330 packages from archives.
11331 (package-archive-contents): Change format; include obsolete packages.
11332 (package-desc): Use `dir' to mark builtin packages.
11333 (package--from-builtin): Set the `dir' field to `builtin'.
11334 (generated-autoload-file, version-control): Declare.
11335 (package-compute-transaction): Change first arg and return value to be
11336 lists of package-descs. Adjust to new package-archive-contents format.
11337 (package--add-to-archive-contents): Adjust to new
11338 package-archive-contents format.
11339 (package-download-transaction): Arg is now a list of package-descs.
11340 (package-install): If `pkg' is a package name, pass it as
11341 a requirement, so it is subject to the usual (e.g. disabled) checks.
11342 (describe-package): Accept package-desc as well.
11343 (describe-package-1): Describe a specific package-desc. Add links to
11344 other package-descs for the same package name.
11345 (package-menu-describe-package): Pass the actual package-desc.
11346 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
11347 works correctly.
11348 (package-desc-status): New function.
11349 (package-menu--refresh): New function, extracted
11350 from package-menu--generate.
11351 (package-menu--generate): Use it.
11352 (package-delete): Update package-alist.
11353 (package-menu-execute): Don't call package-initialize.
11354
11355 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
11356 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
11357 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
11358 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
11359 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
11360 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
11361
11362 2013-06-25 Martin Rudalics <rudalics@gmx.at>
11363
11364 * window.el (window--state-get-1): Workaround for bug#14527.
11365 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
11366
11367 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11368
11369 * net/eww.el (eww-back-url): Implement the history by stashing all
11370 the data into a list.
11371 (eww-forward-url): Allow going forward in the history, too.
11372
11373 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11374
11375 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
11376 for values and use read--expression for expressions (bug#14710).
11377 (read-file-local-variable): Avoid setq.
11378 (read-file-local-variable-mode): Use minor-mode-list.
11379
11380 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11381
11382 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
11383 for DOI URLs.
11384
11385 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11386
11387 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
11388 Update imenu-support when dialect changes.
11389
11390 2013-06-25 Leo Liu <sdl.web@gmail.com>
11391
11392 * ido.el (ido-read-internal): Allow forward slash on windows.
11393
11394 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
11395
11396 * net/eww.el (eww): Start of strings is \\`, not ^.
11397
11398 2013-06-24 Ivan Kanis <ivan@kanis.fr>
11399
11400 * net/shr.el (shr-browse-url): Fix interactive spec.
11401
11402 * net/eww.el (eww): Add a trailing slash to domain names.
11403
11404 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
11405
11406 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
11407
11408 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
11409
11410 * net/shr.el (shr-browse-url): Use an external browser if given a
11411 prefix.
11412
11413 * net/eww.el (eww-external-browser): Move to shr.
11414
11415 2013-06-24 Ivan Kanis <ivan@kanis.fr>
11416
11417 * net/eww.el (eww): Work more correctly for file: URLs.
11418 (eww-detect-charset): Allow quoted charsets.
11419 (eww-yank-page-url): New command and keystroke.
11420
11421 2013-06-24 Daiki Ueno <ueno@gnu.org>
11422
11423 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
11424 file name of gpg executable.
11425 (epg-context-program): New function.
11426 (epg-context-home-directory): New function.
11427 (epg-context-set-program): New function.
11428 (epg-context-set-home-directory): New function.
11429 (epg--start): Use `epg-context-program' instead of
11430 'epg-gpg-program'.
11431 (epg--list-keys-1): Likewise.
11432
11433 2013-06-24 Leo Liu <sdl.web@gmail.com>
11434
11435 * ido.el (ido-read-internal): Fix bug#14620.
11436
11437 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
11438
11439 * faces.el (face-documentation): Simplify.
11440 (read-face-attribute, tty-find-type, x-resolve-font-name):
11441 Use `string-match-p'.
11442 (list-faces-display): Use `string-match-p'. Simplify.
11443 (face-spec-recalc): Check face to avoid face alias loops.
11444 (read-color): Use `string-match-p' and non-capturing parenthesis.
11445
11446 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
11447
11448 * net/shr.el (shr-rescale-image): Use the new
11449 :max-width/:max-height functionality.
11450
11451 2013-06-23 Ivan Kanis <ivan@kanis.fr>
11452
11453 * net/eww.el (eww-search-prefix): New variable.
11454 (eww): Use it.
11455 (eww-external-browser): New variable.
11456 (eww-mode-map): New keystroke.
11457 (eww-browse-with-external-browser): New command.
11458
11459 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
11460
11461 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
11462
11463 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
11464 Don't skip aligning the next header field when padding is 0;
11465 otherwise, field width is not respected unless the title is as
11466 wide as the field.
11467
11468 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11469
11470 * emacs-lisp/package.el (package-el-version): Remove.
11471 (package-process-define-package): Fix inf-loop.
11472 (package-install): Allow symbols as arguments again.
11473
11474 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
11475
11476 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
11477 add some more keyword-like methods.
11478 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
11479
11480 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
11481
11482 * bs.el (bs-buffer-show-mark): Make defvar-local.
11483 (bs-mode): Use setq-local.
11484
11485 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
11486 (emacs-lock--try-unlocking): Make defvar-local.
11487
11488 2013-06-22 Glenn Morris <rgm@gnu.org>
11489
11490 * play/cookie1.el (cookie-apropos): Minor simplification.
11491
11492 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
11493
11494 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
11495
11496 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
11497 `regexp-opt', it breaks the build during dumping.
11498
11499 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
11500
11501 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11502 Highlight keyword-like methods on Kernel and Module with
11503 font-lock-builtin-face.
11504 (auto-mode-alist): Consolidate different entries into one regexp
11505 and add more *file-s.
11506
11507 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
11508
11509 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
11510
11511 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
11512 (diary-entry): Use it in the action of this button type instead of
11513 diary-goto-entry.
11514
11515 * calendar/todo-mode.el: New version.
11516 (todo-add-category): Append new category to end of file and give
11517 it the highest number, instead of putting it at the beginning and
11518 giving it 0. Incorporate noninteractive functionality.
11519 (todo-forward-category): Adapt to 1-based category numbering.
11520 Allow skipping over archived categories.
11521 (todo-backward-category): Derive from todo-forward-category.
11522 (todo-backward-item, todo-forward-item): Make noninteractive and
11523 delegate interactive part to new commands. Make sensitive to done items.
11524 (todo-categories): Make value an alist of category names and
11525 vectors of item counts.
11526 (todo-category-beg): Make a defconst.
11527 (todo-category-number): Use 1 instead of 0 as initial value.
11528 (todo-category-select): Make sensitive to overlays, optional item
11529 highlighting and done items.
11530 (todo-delete-item): Make sensitive to overlays and marked and done items.
11531 (todo-edit-item): Make sensitive to overlays and editing of
11532 date/time header optional. Add format checks.
11533 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
11534 no-op if point is not on an item. Advertise using todo-edit-quit.
11535 (todo-edit-mode): Make sensitive to new format, font-locking, and
11536 multiple todo files.
11537 (todo-insert-item, todo-insert-item-here): Derive from
11538 todo-basic-insert-item and extend functionality.
11539 (todo-item-end, todo-item-start): Make sensitive to done items.
11540 (todo-item-string): Don't return text properties. Restore point.
11541 (todo-jump-to-category): Make sensitive to multiple todo files and
11542 todo archives. Use extended category completion.
11543 (todo-lower-item, todo-raise-item): Rename to *-priority and
11544 derive from todo-set-item-priority.
11545 (todo-mode): Derive from special-mode. Make sensitive to new
11546 format, font-locking and multiple todo files. Make read-only.
11547 (todo-mode-map): Don't suppress digit keys, so they can supply
11548 prefix arguments. Add many new key bindings.
11549 (todo-prefix): Insert as an overlay instead of file text.
11550 Change semantics from diary date expression to purely visual mark.
11551 (todo-print): Rename to todo-print-buffer. Make buffer display
11552 features printable. Remove option to restrict number of items
11553 printed. Add option to print to file.
11554 (todo-print-function): Rename to todo-print-buffer-function.
11555 (todo-quit): Extend to handle exiting new todo modes.
11556 (todo-remove-item): Make sensitive to overlays.
11557 (todo-save): Extend to buffers of filtered items.
11558 (todo-show): Make sensitive to done items, multiple todo files and
11559 new todo modes. Offer to convert legacy todo file before creating
11560 first new todo file.
11561 (todo-show-priorities): Rename to todo-top-priorities.
11562 Change semantics of value 0.
11563 (todo-top-priorities): Rename to todo-filter-top-priorities,
11564 derive from todo-filter-items and extend functionality.
11565 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
11566 and extend functionality to other types of filtered items.
11567 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
11568 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
11569 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
11570 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
11571 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
11572 (todo-edit-mode-hook, todo-entry-prefix-function)
11573 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
11574 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
11575 (todo-initials, todo-insert-threshold, todo-item-string-start)
11576 (todo-line-string, todo-menu, todo-mode-hook)
11577 (todo-more-important-p, todo-previous-answer, todo-previous-line)
11578 (todo-print-priorities, todo-remove-separator)
11579 (todo-save-top-priorities-too, todo-string-count-lines)
11580 (todo-string-multiline-p, todo-time-string-format)
11581 (todo-tmp-buffer-name): Remove.
11582 (todo-add-file, todo-archive-done-item, todo-choose-archive)
11583 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
11584 (todo-edit-category-diary-inclusion)
11585 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
11586 (todo-edit-file, todo-edit-item-date-day)
11587 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
11588 (todo-edit-item-date-month, todo-edit-item-date-to-today)
11589 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
11590 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
11591 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
11592 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
11593 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
11594 (todo-filter-top-priorities-multifile, todo-find-archive)
11595 (todo-find-filtered-items-file, todo-go-to-source-item)
11596 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
11597 (todo-jump-to-archive-category, todo-lower-category)
11598 (todo-mark-category, todo-marked-item-p, todo-merge-category)
11599 (todo-move-category, todo-move-item, todo-next-button)
11600 (todo-next-item, todo-padded-string, todo-powerset)
11601 (todo-previous-button, todo-previous-item)
11602 (todo-print-buffer-to-file, todo-raise-category)
11603 (todo-rename-category, todo-repair-categories-sexp, todo-search)
11604 (todo-set-category-number, todo-set-item-priority)
11605 (todo-set-top-priorities-in-category)
11606 (todo-set-top-priorities-in-file, todo-show-categories-table)
11607 (todo-sort-categories-alphabetically-or-numerically)
11608 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
11609 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
11610 (todo-toggle-item-header, todo-toggle-item-highlighting)
11611 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
11612 (todo-toggle-view-done-items, todo-toggle-view-done-only)
11613 (todo-unarchive-items, todo-unmark-category): New commands.
11614 (todo-absolute-file-name, todo-add-to-buffer-list)
11615 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
11616 (todo-basic-insert-item, todo-category-completions)
11617 (todo-category-number, todo-category-string-matcher-1)
11618 (todo-category-string-matcher-2, todo-check-filtered-items-file)
11619 (todo-check-format, todo-clear-matches)
11620 (todo-comment-string-matcher, todo-convert-legacy-date-time)
11621 (todo-current-category, todo-date-string-matcher)
11622 (todo-define-insertion-command, todo-diary-expired-matcher)
11623 (todo-diary-goto-entry, todo-diary-item-p)
11624 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
11625 (todo-display-categories, todo-display-sorted, todo-done-item-p)
11626 (todo-done-item-section-p, todo-done-separator)
11627 (todo-done-string-matcher, todo-files, todo-filter-items)
11628 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
11629 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
11630 (todo-insert-category-line, todo-insert-item-from-calendar)
11631 (todo-insert-sort-button, todo-insert-with-overlays)
11632 (todo-insertion-command-name, todo-insertion-key-bindings)
11633 (todo-label-to-key, todo-longest-category-name-length)
11634 (todo-make-categories-list, todo-mode-external-set)
11635 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
11636 (todo-modes-set-3, todo-multiple-filter-files)
11637 (todo-nondiary-marker-matcher, todo-prefix-overlays)
11638 (todo-read-category, todo-read-date, todo-read-dayname)
11639 (todo-read-file-name, todo-read-time)
11640 (todo-reevaluate-category-completions-files-defcustom)
11641 (todo-reevaluate-default-file-defcustom)
11642 (todo-reevaluate-filelist-defcustoms)
11643 (todo-reevaluate-filter-files-defcustom)
11644 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
11645 (todo-reset-done-separator, todo-reset-done-separator-string)
11646 (todo-reset-done-string, todo-reset-global-current-todo-file)
11647 (todo-reset-highlight-item, todo-reset-nondiary-marker)
11648 (todo-reset-prefix, todo-set-categories)
11649 (todo-set-date-from-calendar, todo-set-show-current-file)
11650 (todo-set-top-priorities, todo-short-file-name)
11651 (todo-show-current-file, todo-sort, todo-time-string-matcher)
11652 (todo-total-item-counts, todo-update-buffer-list)
11653 (todo-update-categories-display, todo-update-categories-sexp)
11654 (todo-update-count, todo-validate-name, todo-y-or-n-p):
11655 New functions.
11656 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
11657 New major modes.
11658 (todo-categories, todo-display, todo-edit, todo-faces)
11659 (todo-filtered): New defgroups.
11660 (todo-archived-only, todo-button, todo-category-string, todo-date)
11661 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
11662 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
11663 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
11664 (todo-add-item-if-new-category, todo-always-add-time-string)
11665 (todo-categories-align, todo-categories-archived-label)
11666 (todo-categories-category-label, todo-categories-diary-label)
11667 (todo-categories-done-label, todo-categories-number-separator)
11668 (todo-categories-todo-label, todo-categories-totals-label)
11669 (todo-category-completions-files, todo-completion-ignore-case)
11670 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
11671 (todo-done-separator-string, todo-done-string)
11672 (todo-files-function, todo-filter-done-items, todo-filter-files)
11673 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
11674 (todo-initial-category, todo-initial-file, todo-item-mark)
11675 (todo-legacy-date-time-regexp, todo-mode-line-function)
11676 (todo-nondiary-marker, todo-number-prefix)
11677 (todo-print-buffer-function, todo-show-current-file)
11678 (todo-show-done-only, todo-show-first, todo-show-with-done)
11679 (todo-skip-archived-categories, todo-top-priorities-overrides)
11680 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
11681 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
11682 New defcustoms.
11683 (todo-category-done, todo-date-pattern, todo-date-string-start)
11684 (todo-diary-items-buffer, todo-done-string-start)
11685 (todo-filtered-items-buffer, todo-item-start)
11686 (todo-month-abbrev-array, todo-month-name-array)
11687 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
11688 (todo-top-priorities-buffer): New defconsts.
11689 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
11690 (todo-categories-with-marks, todo-category-string-face)
11691 (todo-comment-face, todo-comment-string, todo-current-todo-file)
11692 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
11693 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
11694 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
11695 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
11696 (todo-font-lock-keywords, todo-global-current-todo-file)
11697 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
11698 (todo-insertion-commands-args)
11699 (todo-insertion-commands-args-genlist)
11700 (todo-insertion-commands-names, todo-insertion-map)
11701 (todo-key-bindings-t, todo-key-bindings-t+a)
11702 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
11703 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
11704 (todo-nondiary-face, todo-print-buffer, todo-time-face)
11705 (todo-visited): New variables.
11706
11707 2013-06-21 Glenn Morris <rgm@gnu.org>
11708
11709 * play/cookie1.el (cookie-apropos): Add optional display argument.
11710 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
11711 (psychoanalyze-pinhead): Use cookie-doctor.
11712
11713 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
11714
11715 * emacs-lisp/package.el (tar-get-file-descriptor)
11716 (tar--extract): Declare.
11717
11718 2013-06-21 Eduard Wiebe <usenet@pusto.de>
11719
11720 Extend flymake's warning predicate to be a function (bug#14217).
11721 * progmodes/flymake.el (flymake-warning-predicate): New.
11722 (flymake-parse-line): Use it.
11723 (flymake-warning-re): Make obsolete alias to
11724 `flymake-warning-predicate'.
11725
11726 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11727
11728 * emacs-lisp/package.el (package-alist): Include obsolete packages.
11729 (package-obsolete-list): Remove.
11730 (package-activate): Remove min-version argument. Add `force' argument.
11731 Adjust to new package-alist format.
11732 (package-mark-obsolete): Remove.
11733 (package-unpack): Force reload of the package's autoloads.
11734 (package-installed-p): Check builtins if the installed package is not
11735 recent enough.
11736 (package-initialize): Don't reset package-obsolete-list.
11737 Don't specify which package version to activate.
11738 (package-process-define-package, describe-package-1)
11739 (package-menu--generate): Adjust to new package-alist format.
11740
11741 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
11742
11743 * allout-widgets.el (allout-widgets-mode-off)
11744 (allout-widgets-mode-on, allout-widgets-pre-command-business)
11745 (allout-widgets-post-command-business)
11746 (allout-widgets-after-copy-or-kill-function)
11747 (allout-widgets-after-undo-function, allout-test-range-overlaps)
11748 (allout-decorate-item-and-context)
11749 (allout-graphics-modification-handler): Fix typos in docstrings.
11750 (allout-get-or-create-parent-widget): Use `looking-at-p'.
11751
11752 * cmuscheme.el (scheme-start-file): Doc fix.
11753 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
11754 (scheme-input-filter): Use `string-match-p'.
11755
11756 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
11757
11758 * dired-x.el: Use Dired consistently in docstrings.
11759
11760 * dired.el: Use Dired consistently in docstrings.
11761 (dired-readin, dired-mode): Use `setq-local'.
11762 (dired-switches-alist): Make defvar-local.
11763 (dired-buffers-for-dir): Use `zerop'.
11764 (dired-safe-switches-p, dired-switches-escape-p)
11765 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
11766 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
11767 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
11768 (dired-goto-next-nontrivial-file): Use `string-match-p'.
11769 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
11770 (dired-toggle-marks, dired-mark-files-containing-regexp)
11771 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
11772 (dired-flag-auto-save-files, dired-flag-backup-files):
11773 Use `looking-at-p'.
11774 (dired-mark-files-regexp, dired-build-subdir-alist):
11775 Use `string-match-p', `looking-at-p'.
11776
11777 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
11778 (direct-print-region-helper): Use `string-match-p'.
11779
11780 2013-06-21 Leo Liu <sdl.web@gmail.com>
11781
11782 * comint.el (comint-redirect-results-list-from-process):
11783 Fix infinite loop.
11784
11785 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11786
11787 * net/eww.el (eww-update-header-line-format): Quote % characters.
11788
11789 2013-06-21 Glenn Morris <rgm@gnu.org>
11790
11791 * play/cookie1.el (cookie): New custom group.
11792 (cookie-file): New option.
11793 (cookie-check-file): New function.
11794 (cookie): Make it interactive. Make start and end messages optional.
11795 Interactively, display the result. Default to cookie-file.
11796 (cookie-insert): Default to cookie-file.
11797 (cookie-snarf): Make start and end messages optional.
11798 Default to cookie-file. Use with-temp-buffer.
11799 (cookie-read): Rename from read-cookie.
11800 Make start and end messages optional. Default to cookie-file.
11801 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
11802 Do not autoload it.
11803 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
11804 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
11805
11806 2013-06-21 Leo Liu <sdl.web@gmail.com>
11807
11808 * progmodes/octave.el (octave-mode): Backward compatibility fix.
11809
11810 2013-06-21 Glenn Morris <rgm@gnu.org>
11811
11812 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
11813
11814 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11815 Daniel Hackney <dan@haxney.org>
11816
11817 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
11818 Consolidate the single-file vs tarball code.
11819 (package-desc-suffix): New function.
11820 (package-desc-full-name): Don't bother inlining it.
11821 (package-load-descriptor): Return the new package-desc.
11822 (package-mark-obsolete): Remove unused arg `package'.
11823 (package-unpack): Make it work for single files as well.
11824 Make it update package-alist.
11825 (package--make-autoloads-and-stuff): Rename from
11826 package--make-autoloads-and-compile. Don't compile any more.
11827 (package--compile): New function.
11828 (package-generate-description-file): New function, extracted from
11829 package-unpack-single.
11830 (package-unpack-single): Remove.
11831 (package--with-work-buffer): Add indentation and debugging info.
11832 (package-download-single): Remove.
11833 (package-install-from-archive): Rename from package-download-tar, make
11834 it take a pkg-desc, and make it work for single files as well.
11835 (package-download-transaction): Simplify.
11836 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
11837 external tar program.
11838 (package-install-from-buffer): Remove `pkg-desc' argument.
11839 Use package-tar-file-info for tar-mode buffers.
11840 (package-install-file): Simplify accordingly.
11841 (package-archive-base): Change to take a pkg-desc.
11842 * tar-mode.el (tar--check-descriptor): New function, extracted from
11843 tar-get-descriptor.
11844 (tar-get-descriptor): Use it.
11845 (tar-get-file-descriptor): New function.
11846 (tar--extract): New function, extracted from tar-extract.
11847 (tar--extract): Use it.
11848 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
11849 case the summary uses non-ascii. Adjust to new calling convention of
11850 package-tar-file-info.
11851
11852 2013-06-21 Leo Liu <sdl.web@gmail.com>
11853
11854 * comint.el (comint-redirect-results-list-from-process):
11855 Fix random delay. (Bug#14681)
11856
11857 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
11858
11859 * profiler.el (profiler-format-number): Use log, not log10.
11860
11861 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
11862
11863 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
11864
11865 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
11866
11867 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
11868 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
11869 yet available.
11870 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
11871 (AUTOGENEL): ... here.
11872 * emacs-lisp/cl-macs.el (cl--sublis): New function.
11873 (cl--defsubst-expand): Use it.
11874
11875 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
11876
11877 * subr.el (log10): Move here from C code, and declare as obsolete.
11878 All uses of (log10 X) replaced with (log X 10).
11879
11880 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
11881
11882 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
11883 Declare with `defvar-local'.
11884 (tabulated-list-use-header-line, tabulated-list-entries)
11885 (tabulated-list-padding, tabulated-list-printer)
11886 (tabulated-list-sort-key): Declare with `defvar-local'.
11887 (tabulated-list-init-header, tabulated-list-print-fake-header):
11888 Use `setq-local'.
11889
11890 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
11891
11892 * arc-mode.el (archive-mode): Add `archive-write-file' to
11893 `write-contents-functions' also for remote files. (Bug#14652)
11894
11895 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
11896
11897 * cus-edit.el (custom-commands): Fix typos.
11898 (custom-display): Fix tooltip text.
11899 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
11900 Fix typos in docstrings.
11901 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
11902 (custom-unlispify-menu-entry, custom-magic-value-create)
11903 (custom-add-see-also, custom-group-value-create): Use ?\s.
11904 (custom-guess-type, customize-apropos, editable-field)
11905 (custom-face-value-create): Use `string-match-p'.
11906 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
11907
11908 * custom.el (custom-load-symbol): Use `string-match-p'.
11909
11910 * ansi-color.el: Convert to lexical binding.
11911 (ansi-colors): Fix URL.
11912 (ansi-color-context, ansi-color-context-region): Use defvar-local.
11913 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
11914 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
11915
11916 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11917
11918 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
11919
11920 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
11921
11922 2013-06-19 Tom Tromey <tromey@redhat.com>
11923
11924 * net/eww.el (eww-top-url): Remove.
11925 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
11926 (eww-render): Set new variables. Don't set eww-top-url.
11927 (eww-handle-link): Handle "prev", "home", and "contents".
11928 Downcase the rel text.
11929 (eww-top-url): Choose best top URL.
11930
11931 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11932
11933 * net/eww.el: Rewrite to implement form elements "by hand" instead of
11934 relying in widget.el. Using widget.el leads to too many
11935 user interface inconsistencies.
11936 (eww-self-insert): Implement entering commands in text fields.
11937 (eww-process-text-input): New function to make text input field editing
11938 work.
11939 (eww-submit): Rewrite to use the new-style form methods.
11940 (eww-select-display): Display the correct selected item.
11941 (eww-change-select): Implement changing the select value.
11942 (eww-toggle-checkbox): Implement radio/checkboxes.
11943 (eww-update-field): Fix compilation error.
11944 (eww-tag-textarea): Implement <textarea>.
11945
11946 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
11947 we don't shadow mode-specific bindings.
11948
11949 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
11950 nothing to push.
11951
11952 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
11953
11954 2013-06-19 Glenn Morris <rgm@gnu.org>
11955
11956 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
11957
11958 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
11959
11960 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
11961 not needed.
11962
11963 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
11964
11965 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11966
11967 * net/browse-url.el (browse-url-browser-function):
11968 `eww-browse-url' has the right calling signature, `eww' does not.
11969
11970 2013-06-19 Glenn Morris <rgm@gnu.org>
11971
11972 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
11973 Only eval autoloaded macros.
11974 (byte-compile-autoload): Only give the macro warning for macros.
11975
11976 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
11977 (ps-underlined-faces): Declare.
11978
11979 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
11980 (speedbar-add-supported-extension): Declare.
11981
11982 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
11983 Don't include a date stamp in the header of the generated file;
11984 it leads to needless differences between output files.
11985
11986 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
11987
11988 * net/secrets.el (secrets-struct-secret-content-type):
11989 Replace check of introspection data by a test call of "CreateItem".
11990 Some servers do not offer introspection.
11991
11992 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
11993
11994 * electric.el (electric-pair-mode): Improve interaction with
11995 electric-layout-mode.
11996 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
11997 (electric-pair-syntax): Use text-mode-syntax-table in comments
11998 and strings.
11999 (electric-pair--insert): New function.
12000 (electric-pair-post-self-insert-function): Use it and
12001 electric--after-char-pos.
12002
12003 2013-06-19 Leo Liu <sdl.web@gmail.com>
12004
12005 * progmodes/octave.el (octave-help): Fix regexp.
12006
12007 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
12008
12009 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
12010 (shr-table-horizontal-line): Allow nil as a value, and change the
12011 default.
12012 (shr-insert-table-ruler): Respect the nil value.
12013
12014 2013-06-18 Tom Tromey <tromey@barimba>
12015
12016 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12017 New defvars.
12018 (eww-open-file): New defun.
12019 (eww-render): Initialize new variables.
12020 (eww-display-html): Handle "link" and "a".
12021 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
12022 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
12023 (eww-back-url): Rename from eww-previous-url.
12024 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12025 New defuns.
12026
12027 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
12028
12029 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
12030 Distinguish ternary operator tokens from slash symbol and slash
12031 char literal.
12032
12033 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
12034
12035 Convert symbol prettification into minor mode and global minor mode.
12036
12037 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
12038 `prog-prettify-symbols', and make a local defvar instead of defcustom.
12039 (prettify-symbols--keywords): Rename from
12040 `prog-prettify-symbols-alist' and make a local defvar.
12041 (prettify-symbols--compose-symbol): Rename from
12042 `prog--prettify-font-lock-compose-symbol'.
12043 (prettify-symbols--make-keywords): Rename from
12044 `prog-prettify-font-lock-symbols-keywords' and simplify.
12045 (prog-prettify-install): Remove.
12046 (prettify-symbols-mode): New minor mode, based on
12047 `prog-prettify-install'.
12048 (turn-on-prettify-symbols-mode): New function.
12049 (global-prettify-symbols-mode): New globalized minor mode.
12050
12051 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12052 * progmodes/cfengine.el (cfengine3-mode):
12053 * progmodes/perl-mode.el (perl-mode): Don't call
12054 `prog-prettify-install'; set `prettify-symbols-alist' instead.
12055
12056 2013-06-18 Juri Linkov <juri@jurta.org>
12057
12058 * files-x.el (modify-file-local-variable-message): New function.
12059 (modify-file-local-variable)
12060 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
12061 and call `modify-file-local-variable-message' when it's non-nil.
12062 (add-file-local-variable, delete-file-local-variable)
12063 (add-file-local-variable-prop-line)
12064 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
12065 and use it. (Bug#9820)
12066
12067 2013-06-18 Juri Linkov <juri@jurta.org>
12068
12069 * emulation/vi.el (vi-shell-op):
12070 * emulation/vip.el (vip-execute-com, ex-command):
12071 * emulation/viper-cmd.el (viper-exec-bang):
12072 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
12073 the call of `shell-command-on-region'. (Bug#14637)
12074
12075 * simple.el (shell-command-on-region): Doc fix.
12076
12077 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12078
12079 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
12080 (bug#14633).
12081
12082 2013-06-18 Glenn Morris <rgm@gnu.org>
12083
12084 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
12085
12086 * newcomment.el (comment-search-forward, comment-search-backward):
12087 Doc fix. (Bug#14376)
12088
12089 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
12090
12091 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
12092 (buffer-face-mode-invoke): Doc fix.
12093
12094 2013-06-18 Matthias Meulien <orontee@gmail.com>
12095
12096 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
12097 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
12098
12099 2013-06-18 Glenn Morris <rgm@gnu.org>
12100
12101 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
12102 Replace obsolete function generic-make-keywords with its expansion.
12103
12104 * progmodes/python.el (ffap-alist): Declare.
12105
12106 * textmodes/reftex.el (bibtex-mode-map): Declare.
12107
12108 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12109
12110 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
12111 (package-unpack, package-unpack-single): Return the pkg-dir.
12112 (package-download-transaction): Use it to update package-alist.
12113
12114 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12115
12116 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
12117 possible choice.
12118
12119 2013-06-17 Juri Linkov <juri@jurta.org>
12120
12121 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
12122
12123 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12124
12125 * emacs-lisp/package.el (package-load-descriptor):
12126 Remove `with-syntax-table' call, `read' doesn't need it.
12127 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
12128
12129 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
12130
12131 * startup.el (command-line): Expand package name returned by
12132 `package--description-file' (bug#14639).
12133
12134 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12135
12136 * emacs-lisp/package.el (package-load-descriptor): Do not call
12137 `emacs-lisp-mode', just use its syntax table.
12138
12139 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
12140
12141 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
12142 `font-lock-extra-managed-props' if any prettifying keyword is added.
12143 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
12144 (prog-mode): Use `setq-local'.
12145
12146 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
12147
12148 * international/characters.el (standard-case-table): Set syntax of ?»
12149 and ?« to punctuation.
12150
12151 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
12152
12153 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
12154 Save relevant match data before calling `syntax-ppss' (bug#14595).
12155
12156 2013-06-15 Juri Linkov <juri@jurta.org>
12157
12158 * files-x.el (modify-file-local-variable-prop-line): Add local
12159 variables to the end of the existing comment on the first line.
12160 Use `file-auto-mode-skip' to skip interpreter magic line,
12161 and also skip XML declaration.
12162
12163 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12164
12165 * startup.el (package--builtin-versions): New var.
12166 (package-subdirectory-regexp): Remove.
12167 (package--description-file): Hard code its value instead.
12168
12169 * emacs-lisp/package.el: Don't activate packages older than builtin.
12170 (package-obsolete-list): Rename from package-obsolete-alist, and make
12171 it into a simple list of package-desc.
12172 (package-strip-version): Remove.
12173 (package-built-in-p): Use package--builtin-versions.
12174 (package-mark-obsolete): Simplify.
12175 (package-process-define-package): Mark it obsolete if older than the
12176 builtin version.
12177 (package-handle-response): Use line-end-position.
12178 (package-read-archive-contents, package--download-one-archive):
12179 Simplify.
12180 (package--add-to-archive-contents): Skip if older than the builtin or
12181 installed version.
12182 (package-menu-describe-package): Fix last change.
12183 (package-list-unversioned): New var.
12184 (package-menu--generate): Use it.
12185
12186 * emacs-lisp/autoload.el: Manage package--builtin-versions.
12187 (autoload--insert-text, autoload--insert-cookie-text): New functions.
12188 (autoload-builtin-package-versions): New variable.
12189 (autoload-generate-file-autoloads): Use them.
12190 Remove the list of autoloaded functions/macros from the
12191 (autoload...) comments.
12192
12193 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
12194
12195 2013-06-15 Eli Zaretskii <eliz@gnu.org>
12196
12197 * simple.el (line-move-partial): Don't jump to the next screen
12198 line as soon as it becomes visible. Instead, continue enlarging
12199 the vscroll until the portion of a tall screen line that's left on
12200 display is about the height of the frame's default font.
12201 (Bug#14567)
12202
12203 2013-06-15 Glenn Morris <rgm@gnu.org>
12204
12205 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
12206 compilation-error-regexp-alist void, or local while let-bound.
12207
12208 * progmodes/make-mode.el (makefile-mode-syntax-table):
12209 Treat "=" as punctuation. (Bug#14614)
12210
12211 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
12212
12213 * help-fns.el (describe-variable):
12214 Add extra line for permanent-local variables.
12215
12216 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
12217
12218 * progmodes/scheme.el (scheme-font-lock-keywords-2):
12219 Add export, import, library. (Bug#9164)
12220 (library): Set indent function.
12221
12222 2013-06-14 Glenn Morris <rgm@gnu.org>
12223
12224 * term/xterm.el (xterm--query):
12225 Stop after first matching handler. (Bug#14615)
12226
12227 2013-06-14 Ivan Kanis <ivan@kanis.fr>
12228
12229 Add support for dired in saveplace.
12230 * dired.el (dired-initial-position-hook): New variable.
12231 (dired-initial-position): Call hook to place cursor position.
12232 * saveplace.el (save-place-to-alist): Add dired position.
12233 (save-place-dired-hook): New function.
12234
12235 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
12236
12237 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
12238 through a symbol rather than letrec.
12239
12240 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
12241 (package-desc): Add `dir' field.
12242 (package-desc-full-name): New function.
12243 (package-load-descriptor): Combine the two arguments. Don't use `load'.
12244 (package-maybe-load-descriptor): Remove.
12245 (package-load-all-descriptors): Just call package-load-descriptor.
12246 (package--disabled-p): New function.
12247 (package-desc-vers, package-desc-doc): Remove aliases.
12248 (package--dir): Remove function.
12249 (package-activate): Check if a package is disabled.
12250 (package-process-define-package): New function, extracted from
12251 define-package.
12252 (define-package): Turn into a place holder.
12253 (package-unpack-single, package-tar-file-info):
12254 Use package--description-file.
12255 (package-compute-transaction): Use package--disabled-p.
12256 (package-download-transaction): Don't call
12257 package-maybe-load-descriptor since they're all loaded anyway.
12258 (package-install): Change argument to be a pkg-desc.
12259 (package-delete): Use a single pkg-desc argument.
12260 (describe-package-1): Use package-desc-dir instead of package--dir.
12261 Use package-desc property instead of package-symbol.
12262 (package-install-button-action): Adjust accordingly.
12263 (package--push): Rewrite.
12264 (package-menu--print-info): Adjust accordingly. Change the ID format
12265 to be a pkg-desc.
12266 (package-menu-describe-package, package-menu-get-status)
12267 (package-menu--find-upgrades, package-menu-mark-upgrades)
12268 (package-menu-execute, package-menu--name-predicate):
12269 Adjust accordingly.
12270 * startup.el (package--description-file): New function.
12271 (command-line): Use it.
12272 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12273 Use package-desc-version.
12274
12275 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
12276 (byte-compile-preprocess): Use it.
12277 (byte-compile-file-form-defalias): Try a bit harder to use macros we
12278 can't quite recognize.
12279 (byte-compile-add-to-list): Remove.
12280 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
12281 (cconv-closure-convert): Add assertion.
12282
12283 * emacs-lisp/map-ynp.el: Use lexical-binding.
12284 (map-y-or-n-p): Remove unused vars `tail' and `object'.
12285 Factor out some repeated code.
12286
12287 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12288
12289 * subr.el (with-eval-after-load): New macro.
12290 (eval-after-load): Allow form to be a function.
12291 take advantage of lexical-binding.
12292 (do-after-load-evaluation): Use dolist and adjust to new format.
12293 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
12294
12295 2013-06-13 Juri Linkov <juri@jurta.org>
12296
12297 * replace.el (perform-replace): Display "symbol " and other search
12298 modes from `isearch-message-prefix' in the *Help* buffer.
12299
12300 * isearch.el (isearch-query-replace): Add " symbol" and other
12301 possible search modes from `isearch-message-prefix' to the prompt.
12302 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
12303 when reading a regexp to collect.
12304
12305 2013-06-13 Juri Linkov <juri@jurta.org>
12306
12307 * isearch.el (word-search-regexp): Match whitespace if the search
12308 string begins or ends in whitespace. The LAX arg is applied to
12309 both ends of the search string. Use `regexp-quote' and explicit
12310 \< and \> instead of \b. Use \` and \' instead of ^ and $.
12311 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
12312 boundaries are replaced with symbol boundaries, and characters
12313 between symbols match non-word non-symbol syntax. (Bug#14602)
12314
12315 2013-06-13 Juri Linkov <juri@jurta.org>
12316
12317 * isearch.el (isearch-del-char): Don't exceed the length of
12318 `isearch-string' by the prefix arg. (Bug#14563)
12319
12320 2013-06-13 Juri Linkov <juri@jurta.org>
12321
12322 * isearch.el (isearch-yank-word, isearch-yank-line)
12323 (isearch-char-by-name, isearch-quote-char)
12324 (isearch-printing-char, isearch-process-search-char):
12325 Add optional count prefix arg. (Bug#14563)
12326
12327 * international/isearch-x.el
12328 (isearch-process-search-multibyte-characters):
12329 Add optional count prefix arg.
12330
12331 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12332
12333 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
12334 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
12335 lexical-binding.
12336
12337 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
12338
12339 * subr.el (set-temporary-overlay-map): Add on-exit argument.
12340
12341 2013-06-13 Glenn Morris <rgm@gnu.org>
12342
12343 * startup.el (tty-handle-args):
12344 Don't just discard "--" and anything after. (Bug#14608)
12345
12346 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
12347
12348 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
12349
12350 Implement changes in Secret Service API. Make it backward compatible.
12351 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
12352 (secrets-create-item): Use it. Prefix properties with interface.
12353
12354 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
12355
12356 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
12357 (term-emulate-terminal): Respect term-suppress-hard-newline.
12358
12359 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
12360
12361 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
12362 Only remove a `thumb-file' overlay. (Bug#14548)
12363
12364 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
12365
12366 * mail/reporter.el (reporter-submit-bug-report):
12367 Handle missing package-name. (Bug#14600)
12368
12369 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12370
12371 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
12372 (reftex-citation-prompt, reftex-default-bibliography)
12373 (reftex-bib-or-thebib, reftex-get-bibfile-list)
12374 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
12375 (reftex-bib-sort-author, reftex-bib-sort-year)
12376 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
12377 (reftex-extract-bib-entries-from-thebibliography)
12378 (reftex-get-bibkey-default, reftex-get-bib-names)
12379 (reftex-parse-bibtex-entry, reftex-get-bib-field)
12380 (reftex-format-bib-entry, reftex-parse-bibitem)
12381 (reftex-format-bibitem, reftex-do-citation)
12382 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
12383 (reftex-restrict-bib-matches, reftex-extract-bib-file)
12384 (reftex-insert-bib-matches, reftex-format-citation)
12385 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
12386 (reftex-create-bibtex-file): Add docstrings, mostly by converting
12387 existing comments into docstrings.
12388
12389 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
12390
12391 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
12392
12393 2013-06-12 Andreas Schwab <schwab@suse.de>
12394
12395 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
12396 for auto-save files.
12397
12398 2013-06-12 Glenn Morris <rgm@gnu.org>
12399
12400 * ido.el (ido-delete-ignored-files): Remove.
12401 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
12402 Go back to calling ido-ignore-item-p directly.
12403
12404 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
12405
12406 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
12407
12408 * ido.el (ido-delete-ignored-files): New function,
12409 split from ido-make-file-list-1.
12410 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
12411 (ido-make-file-list-1): Use ido-delete-ignored-files.
12412
12413 2013-06-12 Leo Liu <sdl.web@gmail.com>
12414
12415 * progmodes/octave.el (inferior-octave-startup)
12416 (inferior-octave-completion-table)
12417 (inferior-octave-track-window-width-change)
12418 (octave-eldoc-function-signatures, octave-help)
12419 (octave-find-definition): Use single quoted strings.
12420 (inferior-octave-startup-args): Change default value.
12421 (inferior-octave-startup): Do not hard code "-i" and
12422 "--no-line-editing".
12423 (inferior-octave-resync-dirs): Add optional arg NOERROR.
12424 (inferior-octave-directory-tracker): Use it.
12425 (octave-goto-function-definition): Robustify.
12426 (octave-help): Support highlighting operators in 'See also'.
12427 (octave-find-definition): Find subfunctions only in Octave mode.
12428
12429 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12430
12431 * help-fns.el (help-fns--compiler-macro): If the handler function is
12432 named, then put a link to it.
12433 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
12434 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
12435 (cl-typep): Use it.
12436 (cl-eval-when): Simplify debug spec.
12437 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
12438 compiler-macro function instead of setting `compiler-macro-file'.
12439
12440 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
12441
12442 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
12443 * vc/vc-hooks.el (vc-stay-local): Doc fix.
12444
12445 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12446 Daniel Hackney <dan@haxney.org>
12447
12448 First part of Daniel Hackney's patch to package.el.
12449 * emacs-lisp/package.el: Use defstruct.
12450 (package-desc): New, main struct.
12451 (package--bi-desc, package--ac-desc): New structs, used to describe the
12452 format in external files.
12453 (package-desc-vers): Replace with package-desc-version accessor.
12454 (package-desc-doc): Replace with package-desc-summary accessor.
12455 (package-activate-1): Remove `package' arg since the pkg-vec now
12456 includes the name.
12457 (define-package): Use package-desc-from-define.
12458 (package-unpack-single): Change file-name arg to be a symbol.
12459 (package--add-to-archive-contents): Use package-desc-create and new
12460 accessor functions to package--ac-desc.
12461 (package-buffer-info, package-tar-file-info): Return a package-desc.
12462 (package-install-from-buffer): Remove `type' argument. Change pkg-info
12463 arg to be a package-desc.
12464 (package-install-file): Adjust accordingly. Use \' to match EOS.
12465 (package--from-builtin): New function.
12466 (describe-package-1, package-menu--generate): Use it.
12467 (package--make-autoloads-and-compile): Change name arg to be a symbol.
12468 (package-generate-autoloads): Idem and return the name of the file.
12469 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12470 Change pkg-info arg to be a package-desc.
12471 Use package-make-ac-desc.
12472 (package-upload-file): Use \' to match EOS.
12473 * finder.el (finder-compile-keywords): Use package-make-builtin.
12474
12475 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12476
12477 * vc/vc.el (vc-deduce-fileset): Change error message.
12478 (vc-read-backend): New function.
12479 (vc-next-action): Use it.
12480
12481 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
12482
12483 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
12484 (prolog-font-lock-keywords): Use regexp-opt instead.
12485 Don't manually highlight strings.
12486 (prolog-mode-variables): Simplify comment-start-skip.
12487 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
12488
12489 * emacs-lisp/generic.el (generic--normalise-comments)
12490 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
12491 (generic-mode-set-comments): Use them.
12492 (generic-bracket-support): Use setq-local.
12493 (generic-make-keywords-list): Declare obsolete.
12494
12495 2013-06-11 Glenn Morris <rgm@gnu.org>
12496
12497 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12498 Prettify after setting font-lock-defaults. (Bug#14574)
12499
12500 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
12501
12502 * replace.el (query-replace, occur-read-regexp-defaults-function)
12503 (replace-search):
12504 * subr.el (declare-function, number-sequence, local-set-key)
12505 (substitute-key-definition, locate-user-emacs-file)
12506 (with-silent-modifications, split-string, eval-after-load):
12507 Fix typos, remove unneeded backslashes and reflow some docstrings.
12508
12509 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12510
12511 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
12512 default for Elisp files.
12513
12514 2013-06-11 Glenn Morris <rgm@gnu.org>
12515
12516 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
12517 although define-derived-mode was doing this anyway. (Bug#14583)
12518
12519 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
12520
12521 * allout.el (allout-encryption-plaintext-sanitization-regexps):
12522 Fix make-variable-buffer-local call to refer to the correct variable.
12523
12524 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
12525
12526 * eshell/em-term.el (eshell-visual-commands)
12527 (eshell-visual-subcommands, eshell-visual-options):
12528 Add summary line to docstrings. Add cross-references.
12529
12530 2013-06-10 Glenn Morris <rgm@gnu.org>
12531
12532 * epa.el (epa-read-file-name): New function. (Bug#14510)
12533 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
12534
12535 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
12536
12537 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
12538 output redirection to be ignored with visual commands.
12539
12540 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
12541
12542 * eshell/em-term.el (eshell-visual-command-p): New function.
12543 (eshell-term-initialize): Move long lambda to separate function
12544 eshell-visual-command-p.
12545 * eshell/em-dirs.el (eshell-dirs-initialize):
12546 * eshell/em-script.el (eshell-script-initialize):
12547 Add missing #' to lambda.
12548
12549 2013-06-08 Leo Liu <sdl.web@gmail.com>
12550
12551 * progmodes/octave.el (octave-add-log-current-defun): New function.
12552 (octave-mode): Set add-log-current-defun-function.
12553 (octave-goto-function-definition): Do not move point if not found.
12554 (octave-find-definition): Enhance to try subfunctions first.
12555
12556 2013-06-08 Glenn Morris <rgm@gnu.org>
12557
12558 * emacs-lisp/bytecomp.el (byte-compile-char-before)
12559 (byte-compile-backward-char, byte-compile-backward-word):
12560 Improve previous change, to handle non-explicit nil.
12561
12562 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12563
12564 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
12565 (smie--opener/closer-at-point): New function.
12566 (smie--matching-block-data): Use it. Don't match from right after an
12567 opener or right before a closer. Obey smie-blink-matching-inners.
12568 Don't signal a mismatch for repeated inners like "switch..case..case".
12569
12570 2013-06-07 Leo Liu <sdl.web@gmail.com>
12571
12572 * progmodes/octave.el (octave-mode): Set comment-use-global-state
12573 to t. (Bug#14303)
12574 (octave-function-header-regexp): Fix. (Bug#14570)
12575 (octave-help-mode-finish-hook, octave-help-mode-finish):
12576 Remove. Just use temp-buffer-show-hook.
12577
12578 * newcomment.el (comment-search-backward): Revert last change.
12579 (Bug#14434)
12580
12581 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
12582
12583 2013-06-07 Eli Zaretskii <eliz@gnu.org>
12584
12585 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
12586 through xargs, to avoid failure due to MS-Windows limitations on
12587 command-line length.
12588
12589 2013-06-06 Glenn Morris <rgm@gnu.org>
12590
12591 * font-lock.el (lisp-font-lock-keywords-2):
12592 Treat user-error like error.
12593
12594 * emacs-lisp/bytecomp.el (byte-compile-char-before)
12595 (byte-compile-backward-char, byte-compile-backward-word):
12596 Handle explicit nil arguments. (Bug#14565)
12597
12598 2013-06-05 Alan Mackenzie <acm@muc.de>
12599
12600 * isearch.el (isearch-allow-prefix): New user option.
12601 (isearch-other-meta-char): Don't exit isearch when a prefix
12602 argument is typed whilst `isearch-allow-prefix' is non-nil.
12603 (Bug#9706)
12604
12605 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12606
12607 * autorevert.el (auto-revert-notify-handler): Use memq.
12608 Hide assertion failure.
12609
12610 * skeleton.el: Use cl-lib.
12611 (skeleton-further-elements): Use defvar-local.
12612 (skeleton-insert): Use cl-progv.
12613
12614 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
12615
12616 * progmodes/prog-mode.el (prog-prettify-symbols)
12617 (prog-prettify-install): Update docstrings.
12618
12619 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12620
12621 * simple.el: Move all the prog-mode code to prog-mode.el.
12622 * progmodes/prog-mode.el: New file.
12623 * loadup.el: Add prog-mode.el.
12624
12625 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
12626
12627 * simple.el (prog-prettify-symbols): Add version.
12628 (prog-prettify-install): Add convenience function to prettify symbols.
12629
12630 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
12631 (perl--augmented-font-lock-keywords-1)
12632 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
12633 variables and use it.
12634
12635 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
12636 (cfengine3-mode): Remove unneeded variable and use it.
12637
12638 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
12639 (lisp--augmented-font-lock-keywords-1)
12640 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
12641 Remove unneeded variables and use it.
12642
12643 2013-06-05 João Távora <joaotavora@gmail.com>
12644
12645 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
12646 to point when opening the connection. (Bug#14380)
12647
12648 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12649
12650 * subr.el (load-history-regexp, load-history-filename-element)
12651 (eval-after-load, after-load-functions, do-after-load-evaluation)
12652 (eval-next-after-load, display-delayed-warnings)
12653 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
12654 definition of save-match-data.
12655 (overriding-local-map): Remove accidental obsolescence declaration.
12656
12657 * emacs-lisp/edebug.el (edebug-result): Move before first use.
12658
12659 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
12660
12661 Generalize symbol prettify support to prog-mode and implement it
12662 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
12663 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
12664 (prog--prettify-font-lock-compose-symbol)
12665 (prog-prettify-font-lock-symbols-keywords): New variables and
12666 functions to support symbol prettification.
12667 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
12668 (lisp--augmented-font-lock-keywords-1)
12669 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
12670 (lisp--prettify-symbols-alist): Implement prettify of lambda.
12671 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
12672 (cfengine3--prettify-symbols-alist, cfengine3-mode):
12673 Implement prettify of -> => :: strings.
12674 * progmodes/perl-mode.el (perl-prettify-symbols)
12675 (perl--font-lock-compose-symbol)
12676 (perl--font-lock-symbols-keywords): Move to prog-mode.
12677 (perl--prettify-symbols-alist): Prettify -> => :: strings.
12678 (perl-font-lock-keywords-1)
12679 (perl-font-lock-keywords-2): Remove explicit prettify support.
12680 (perl--augmented-font-lock-keywords)
12681 (perl--augmented-font-lock-keywords-1)
12682 (perl--augmented-font-lock-keywords-2, perl-mode):
12683 Implement prettify support.
12684
12685 2013-06-05 Leo Liu <sdl.web@gmail.com>
12686
12687 Re-implement SMIE matching block highlight using
12688 show-paren-data-function. (Bug#14395)
12689 * emacs-lisp/smie.el (smie-matching-block-highlight)
12690 (smie--highlight-matching-block-overlay)
12691 (smie--highlight-matching-block-lastpos)
12692 (smie-highlight-matching-block)
12693 (smie-highlight-matching-block-mode): Remove.
12694 (smie--matching-block-data-cache): New variable.
12695 (smie--matching-block-data): New function.
12696 (smie-setup): Use smie--matching-block-data for
12697 show-paren-data-function.
12698
12699 * progmodes/octave.el (octave-mode-menu): Fix.
12700 (octave-find-definition): Skip garbage lines.
12701
12702 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12703
12704 Fix compilation error with simultaneous dynamic+lexical scoping.
12705 Add warning when a defvar appears after the first let-binding.
12706 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
12707 (byte-compile-close-variables): Initialize it.
12708 (byte-compile--declare-var): New function.
12709 (byte-compile-file-form-defvar)
12710 (byte-compile-file-form-define-abbrev-table)
12711 (byte-compile-file-form-custom-declare-variable): Use it.
12712 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
12713 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
12714 (byte-compile-bind): Handle dynamic bindings that shadow
12715 lexical bindings.
12716 (byte-compile-unbind): Make arg non-optional.
12717 (byte-compile-let): Simplify.
12718 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
12719 (cconv--analyse-function, cconv-analyse-form): Populate it.
12720 Protect byte-compile-bound-variables to limit the scope of defvars.
12721 (cconv-analyse-form): Add missing rule for (defvar <foo>).
12722 Remove unneeded rule for `declare'.
12723
12724 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
12725 so as to avoid depending on cl-adjoin at run-time.
12726 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
12727
12728 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
12729 (macroexp--warn-and-return): Use it.
12730
12731 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12732
12733 * subr.el: Convert to lexical binding.
12734 (overriding-local-map): Make obsolete.
12735 (add-to-list): Doc fix. Add compiler macro.
12736 (read-key): Swap values of local maps.
12737
12738 2013-06-05 Leo Liu <sdl.web@gmail.com>
12739
12740 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
12741
12742 2013-06-04 Leo Liu <sdl.web@gmail.com>
12743
12744 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
12745 (compilation-auto-jump): Suppress the "Mark set" message to give
12746 way to exit message.
12747
12748 2013-06-04 Alan Mackenzie <acm@muc.de>
12749
12750 Remove faulty optimisation from indentation calculation.
12751 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
12752 search limit based on 2000 characters back from indent-point.
12753
12754 2013-06-03 Tassilo Horn <tsdh@gnu.org>
12755
12756 * eshell/em-term.el (cl-lib): Require `cl-lib'.
12757
12758 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
12759
12760 * emacs-lisp/lisp.el: Use lexical-binding.
12761 (lisp--local-variables-1, lisp--local-variables): New functions.
12762 (lisp--local-variables-completion-table): New var.
12763 (lisp-completion-at-point): Use it complete let-bound vars.
12764
12765 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
12766 eagerly (bug#14422).
12767
12768 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
12769
12770 * autorevert.el (auto-revert-notify-enabled)
12771 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
12772 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
12773 (auto-revert-notify-handler): Handle also gfilenotify.
12774
12775 * subr.el (file-notify-handle-event): New defun. Replacing ...
12776 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
12777 Remove.
12778
12779 2013-06-03 Juri Linkov <juri@jurta.org>
12780
12781 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
12782 `M-s h .'. (Bug#14427)
12783
12784 * hi-lock.el (highlight-symbol-at-point): New alias for the new
12785 command `hi-lock-face-symbol-at-point'.
12786 (hi-lock-face-symbol-at-point): New command.
12787 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
12788 (hi-lock-menu): Add `highlight-symbol-at-point'.
12789 (hi-lock-mode): Doc fix.
12790
12791 * isearch.el (isearch-forward-symbol-at-point): New command.
12792 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
12793 (isearch-highlight-regexp): Add a regexp which matches
12794 words/symbols for word/symbol mode.
12795
12796 * subr.el (find-tag-default-bounds): New function with the body
12797 mostly moved from `find-tag-default'.
12798 (find-tag-default): Move most code to `find-tag-default-bounds',
12799 call it and apply `buffer-substring-no-properties' afterwards.
12800
12801 2013-06-03 Tassilo Horn <tsdh@gnu.org>
12802
12803 * eshell/em-term.el (eshell-term-initialize):
12804 Use `cl-intersection' rather than `intersection'.
12805
12806 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
12807
12808 * vc/log-view.el: Doc fix.
12809 (log-view-mode-map): Copy keymap from `special-mode-map'.
12810
12811 2013-06-02 Eric Ludlam <zappo@gnu.org>
12812
12813 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
12814 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
12815 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
12816 (eieio-unbound, eieio-default-superclass)
12817 (eieio--define-field-accessors, method-static, method-before)
12818 (method-primary, method-after, method-num-lists)
12819 (method-generic-before, method-generic-primary)
12820 (method-generic-after, method-num-slots)
12821 (eieio-specialized-key-to-generic-key)
12822 (eieio--check-type, class-v, class-p)
12823 (eieio-class-name, define-obsolete-function-alias)
12824 (eieio-class-parents-fast, eieio-class-children-fast)
12825 (same-class-fast-p, class-constructor, generic-p)
12826 (generic-primary-only-p, generic-primary-only-one-p)
12827 (class-option-assoc, class-option, eieio-object-p)
12828 (class-abstract-p, class-method-invocation-order)
12829 (eieio-defclass-autoload-map, eieio-defclass-autoload)
12830 (eieio-class-un-autoload, eieio-defclass)
12831 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
12832 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
12833 (eieio--defgeneric-init-form, eieio-defgeneric-form)
12834 (eieio-defgeneric-reset-generic-form)
12835 (eieio-defgeneric-form-primary-only)
12836 (eieio-defgeneric-reset-generic-form-primary-only)
12837 (eieio-defgeneric-form-primary-only-one)
12838 (eieio-defgeneric-reset-generic-form-primary-only-one)
12839 (eieio-unbind-method-implementations)
12840 (eieio--defmethod, eieio--typep)
12841 (eieio-perform-slot-validation, eieio-validate-slot-value)
12842 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
12843 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
12844 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
12845 (eieio-slot-name-index, eieio-class-slot-name-index)
12846 (eieio-set-defaults, eieio-initarg-to-attribute)
12847 (eieio-attribute-to-initarg, eieio-c3-candidate)
12848 (eieio-c3-merge-lists, eieio-class-precedence-c3)
12849 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
12850 (eieio-class-precedence-list, eieio-generic-call-methodname)
12851 (eieio-generic-call-arglst, eieio-generic-call-key)
12852 (eieio-generic-call-next-method-list)
12853 (eieio-pre-method-execution-functions, eieio-generic-call)
12854 (eieio-generic-call-primary-only, eieiomt-method-list)
12855 (eieiomt-optimizing-obarray, eieiomt-install)
12856 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
12857 (eieio-generic-form, eieio-defmethod, make-obsolete)
12858 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
12859 (defclass): Remove `eval-and-compile' from macro.
12860 (call-next-method, shared-initialize): Instead of using
12861 `scoped-class' variable, use new eieio--scoped-class, and
12862 eieio--with-scoped-class.
12863 (initialize-instance): Rename local variable 'scoped-class' to
12864 'this-class' to remove ambiguitity from old global.
12865
12866 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
12867 eieio.el.
12868 (eieio--scoped-class-stack): New variable.
12869 (eieio--scoped-class): New fcn.
12870 (eieio--with-scoped-class): New scoping macro.
12871 (eieio-defclass): Use pushnew instead of add-to-list.
12872 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
12873 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
12874 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
12875 `scoped-class' variable, use new eieio--scoped-class, and
12876 eieio--with-scoped-class.
12877
12878 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
12879
12880 2013-06-02 Tassilo Horn <tsdh@gnu.org>
12881
12882 * eshell/esh-ext.el (eshell-external-command): Pass args to
12883 `eshell-find-interpreter'.
12884 (eshell-find-interpreter): Add new second parameter ARGS.
12885
12886 * eshell/em-script.el (eshell-script-initialize): Add second arg
12887 to the function added as MATCH to `eshell-interpreter-alist'.
12888
12889 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
12890 the function added as MATCH to `eshell-interpreter-alist'.
12891
12892 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
12893 (eshell-visual-options): New defcustom.
12894 (eshell-escape-control-x): Adapt docstring.
12895 (eshell-term-initialize): Test `eshell-visual-subcommands' and
12896 `eshell-visual-options' in addition to `eshell-visual-commands'.
12897 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
12898
12899 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
12900
12901 * progmodes/python.el (python-indent-block-enders): Add break,
12902 continue and raise keywords.
12903
12904 2013-06-01 Glenn Morris <rgm@gnu.org>
12905
12906 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
12907
12908 Plain (f)boundp silences compilation warnings since Emacs 22.1.
12909 * progmodes/cc-cmds.el (delete-forward-p):
12910 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
12911 * progmodes/cc-engine.el (buffer-syntactic-context):
12912 * progmodes/cc-fonts.el (face-property-instance):
12913 * progmodes/cc-mode.el (set-keymap-parents):
12914 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
12915 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
12916 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
12917 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
12918 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
12919
12920 * progmodes/cc-vars.el (other): Emacs has this widget since
12921 at least 21.1, so don't (re)define it.
12922
12923 * eshell/em-cmpl.el (eshell-cmpl-initialize):
12924 Replace the obsolete alias pcomplete-arg-quote-list.
12925
12926 2013-06-01 Leo Liu <sdl.web@gmail.com>
12927
12928 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
12929 punctuation syntax.
12930 (inferior-octave-minimal-columns)
12931 (inferior-octave-last-column-width): New variables.
12932 (inferior-octave-track-window-width-change): New function.
12933 (inferior-octave-mode): Adjust column width so that Octave output,
12934 for example from 'ls', can fit into the window nicely.
12935
12936 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
12937
12938 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
12939 Highlight expansions inside regexp literals.
12940
12941 2013-05-31 Glenn Morris <rgm@gnu.org>
12942
12943 * obsolete/sym-comp.el (symbol-complete):
12944 Replace obsolete completion-annotate-function.
12945
12946 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
12947
12948 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
12949
12950 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
12951 New function, checks if point is inside a literal that allows
12952 expression expansion.
12953 (ruby-syntax-propertize-expansion): Use it.
12954 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
12955 around the body.
12956
12957 2013-05-30 Juri Linkov <juri@jurta.org>
12958
12959 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
12960 to "\M-si".
12961 (isearch-invisible): New variable.
12962 (isearch-forward): Doc fix.
12963 (isearch-mode): Set `isearch-invisible'
12964 to the value of `search-invisible'.
12965 (isearch-toggle-case-fold): Doc fix.
12966 (isearch-toggle-invisible): New command.
12967 (isearch-query-replace): Let-bind `search-invisible'
12968 to the value of `isearch-invisible'.
12969 (isearch-search): Use `isearch-invisible' instead of
12970 `search-invisible'. Let-bind `search-invisible'
12971 to the value of `isearch-invisible'. (Bug#11378)
12972
12973 2013-05-30 Juri Linkov <juri@jurta.org>
12974
12975 * replace.el (perform-replace): Avoid `isearch-range-invisible'
12976 call when `query-flag' is nil and `search-invisible' is non-nil.
12977 (Bug#11746)
12978
12979 2013-05-30 Glenn Morris <rgm@gnu.org>
12980
12981 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
12982
12983 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
12984 (cc-require): Suppress spurious "noruntime" warnings.
12985 (cc-require-when-compile): Use fboundp, for sake of compiler.
12986
12987 * progmodes/cc-mode.el: Move load of cc-vars before that of
12988 cc-langs (which in turn loads cc-vars), to quieten compiler.
12989
12990 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12991
12992 * paren.el: Simplify the code.
12993 (show-paren-mode): Always start the timer.
12994 (show-paren--idle-timer): Rename from show-paren-idle-timer.
12995 (show-paren--overlay, show-paren--overlay-1): Rename from
12996 show-paren-overlay and show-paren-overlay-1, and initialize to an
12997 overlay rather than to nil.
12998 (show-paren-function): Misc cleanup and simplifications.
12999
13000 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13001
13002 * paren.el (show-paren-data-function): New hook.
13003 (show-paren--default): New function, extracted from show-paren-function.
13004 (show-paren-function): Use show-paren-data-function.
13005
13006 2013-05-30 Glenn Morris <rgm@gnu.org>
13007
13008 * ielm.el (ielm-map, ielm-complete-symbol):
13009 Use completion-at-point rather than obsolete functions.
13010 (inferior-emacs-lisp-mode): Doc fix.
13011 Set completion-at-point-functions, rather than
13012 comint-dynamic-complete-functions.
13013
13014 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
13015 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
13016 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
13017
13018 * image.el (image-animated-p): Tweak definition.
13019
13020 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
13021 (rlogin-process-connection-type): Tweak default. Add set-after.
13022 (rlogin-host): Doc fix.
13023 (rlogin): Tweak prompt.
13024 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
13025
13026 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
13027 * progmodes/tcl.el (inferior-tcl-mode-map):
13028 Use completion-at-point rather than obsolete alias.
13029
13030 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
13031
13032 * minibuffer.el (read-file-name-completion-ignore-case):
13033 Move before completion--in-region, for eager macro expansion.
13034
13035 2013-05-29 Juri Linkov <juri@jurta.org>
13036
13037 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
13038 for total count of matching lines. Add `global-matches' for total
13039 count of matches. Rename `matches' to `lines' for count of
13040 matching lines. Add `matches' for count of matches.
13041 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
13042 to `prev-line' for line number of prev match endpt.
13043 Increment `matches' for every match. Print the number of
13044 matching lines in the header.
13045 (occur-context-lines): Rename `lines' to `curr-line'.
13046 Rename `prev-lines' to `prev-line'. (Bug#14017)
13047
13048 2013-05-29 Juri Linkov <juri@jurta.org>
13049
13050 * replace.el (perform-replace): Add `skip-read-only-count',
13051 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
13052 Increment them for corresponding conditions and report the number
13053 of skipped occurrences in the final message. (Bug#11746)
13054 (query-replace, query-replace-regexp, query-replace-regexp-eval)
13055 (replace-string, replace-regexp): Doc fix.
13056
13057 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
13058
13059 * emacs-lisp/trace.el (trace--read-args): Provide a default.
13060
13061 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
13062 prog-mode-map (bug#14504).
13063
13064 2013-05-29 Leo Liu <sdl.web@gmail.com>
13065
13066 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
13067 (octave-help): Small simplification.
13068
13069 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
13070 off the highlight first.
13071
13072 2013-05-29 Glenn Morris <rgm@gnu.org>
13073
13074 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
13075 Handle idlwave-last-system-routine-info-cons-cell being nil.
13076
13077 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
13078 (idlwave-write-paths): Simplify via with-temp-buffer.
13079
13080 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
13081 * emulation/cua-rect.el: Also load cua-base at run time.
13082
13083 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
13084 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
13085 (cperl-imenu-on-info): Require imenu.
13086
13087 2013-05-28 Alan Mackenzie <acm@muc.de>
13088
13089 Handle "capitalised keywords" correctly.
13090 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
13091
13092 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
13093
13094 * eshell/em-unix.el: Add -r option to cp.
13095
13096 2013-05-28 Glenn Morris <rgm@gnu.org>
13097
13098 * vc/vc-arch.el (vc-exec-after): Declare.
13099 (vc-switches): Autoload.
13100 * vc/vc-bzr.el: No need to require vc when compiling.
13101 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
13102 (vc-resynch-buffer, vc-dir-refresh): Declare.
13103 (vc-setup-buffer, vc-switches): Autoload.
13104 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
13105 (vc-resynch-buffer): Declare.
13106 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
13107 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
13108 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
13109 (grep-read-regexp, grep-read-files, grep-expand-template)
13110 (vc-dir-refresh): Declare.
13111 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
13112 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
13113 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
13114 * vc/vc-mtn.el (vc-exec-after): Declare.
13115 (vc-switches): Autoload.
13116 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
13117 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
13118 (vc-file-tree-walk): Declare.
13119 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
13120 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
13121 (vc-tag-precondition, vc-rename-master): Autoload.
13122 * vc/vc-svn.el (vc-exec-after): Declare.
13123 (vc-switches, vc-setup-buffer): Autoload.
13124 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
13125 Autoload.
13126 (vc-resynch-buffer): Declare.
13127
13128 * obsolete/fast-lock.el (byte-compile-warnings):
13129 Don't warn about obsolete features in this obsolete file.
13130
13131 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
13132 Move definition before use.
13133
13134 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
13135 (dun-unix-verbs): Remove dun-zippy.
13136 (dun-zippy): Remove function.
13137
13138 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
13139
13140 2013-05-27 Juri Linkov <juri@jurta.org>
13141
13142 * replace.el (replace-search): New function with code moved out
13143 from `perform-replace'.
13144 (replace-highlight, replace-dehighlight): Move function definitions
13145 up closer to `replace-search'. (Bug#11746)
13146
13147 2013-05-27 Juri Linkov <juri@jurta.org>
13148
13149 * replace.el (perform-replace): Ignore invisible matches.
13150 In addition to checking `query-replace-skip-read-only', also
13151 filter out matches by calling `run-hook-with-args-until-failure'
13152 on `isearch-filter-predicates', and also check `search-invisible'
13153 for t or call `isearch-range-invisible'.
13154 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
13155
13156 2013-05-27 Juri Linkov <juri@jurta.org>
13157
13158 * isearch.el (isearch-filter-predicates): Rename from
13159 `isearch-filter-predicate'. Doc fix. (Bug#11378)
13160 (isearch-message-prefix): Display text from the property
13161 `isearch-message-prefix' of the currently active filters.
13162 (isearch-search): Don't compare `isearch-filter-predicate' with
13163 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
13164 on `isearch-filter-predicates'. Also check `search-invisible' for t
13165 or call `isearch-range-invisible'.
13166 (isearch-filter-visible): Make obsolete.
13167 (isearch-lazy-highlight-search):
13168 Call `run-hook-with-args-until-failure' on
13169 `isearch-filter-predicates' and use `isearch-range-invisible'.
13170
13171 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
13172 `isearch-filter-predicates' instead of `funcall'ing
13173 `isearch-filter-predicate'.
13174 (Info-mode): Set `Info-isearch-filter' to
13175 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
13176
13177 * dired-aux.el (dired-isearch-filter-predicate-orig):
13178 Remove variable.
13179 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
13180 (dired-isearch-filenames-end): Add and remove
13181 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
13182 instead of changing the value of `isearch-filter-predicate'.
13183 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
13184 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
13185 Put property `isearch-message-prefix' to "filename " on
13186 `dired-isearch-filter-filenames'.
13187
13188 * wdired.el (wdired-change-to-wdired-mode):
13189 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
13190 locally instead of changing `isearch-filter-predicate'.
13191 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
13192
13193 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
13194
13195 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
13196 return the commit hash (Bug#14459). Also set the
13197 `vc-git-detached' property.
13198 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
13199 (vc-git-mode-line-string): Use the same help-echo format whether
13200 in detached mode or not, because we know the actual revision now.
13201 When in detached mode, shorten the revision to 7 chars.
13202
13203 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13204
13205 * emacs-lisp/easy-mmode.el (define-minor-mode):
13206 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
13207 mode hook and provide a docstring.
13208
13209 2013-05-27 Alan Mackenzie <acm@muc.de>
13210
13211 Remove spurious syntax-table text properties inserted by C-y.
13212 * progmodes/cc-mode.el (c-after-change): Also clear hard
13213 syntax-table property with value nil.
13214
13215 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
13216
13217 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
13218 when reading the events; the buffer layout shall not be changed.
13219
13220 2013-05-27 Leo Liu <sdl.web@gmail.com>
13221
13222 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
13223 New variable.
13224 (inferior-octave-directory-tracker): Automatically re-sync
13225 default-directory.
13226 (octave-help): Improve handling of 'See also'.
13227
13228 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13229
13230 * doc-view.el: Minor naming convention tweaks.
13231 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
13232
13233 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
13234 even if there's no `display' property yet (bug#14435).
13235
13236 2013-05-25 Eli Zaretskii <eliz@gnu.org>
13237
13238 * subr.el (unmsys--file-name): Rename from reveal-filename.
13239
13240 * Makefile.in (custom-deps, finder-data, autoloads)
13241 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
13242 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
13243 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
13244
13245 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13246
13247 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
13248 error-completion on the first 2 args of condition-case (bug#14446).
13249 Don't burp at EOB.
13250
13251 2013-05-25 Leo Liu <sdl.web@gmail.com>
13252
13253 * comint.el (comint-previous-matching-input): Do not flood the
13254 *Messages* buffer with trivial messages.
13255
13256 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13257
13258 * progmodes/flymake.el (flymake-nop): Don't return a string.
13259 (flymake-set-at): Fix typo.
13260
13261 * simple.el (read--expression): New function, extracted from
13262 eval-expression. Set completion-at-point-functions (bug#14465).
13263 (eval-expression, eval-minibuffer): Use it.
13264
13265 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
13266
13267 * progmodes/flymake.el (flymake-save-buffer-in-file)
13268 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
13269 (flymake-selected-frame, flymake-log, flymake-ins-after)
13270 (flymake-set-at, flymake-get-buildfile-from-cache)
13271 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
13272 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
13273 Refine the doc string.
13274 (flymake-get-file-name-mode-and-masks): Reformat.
13275 (flymake-get-real-file-name-function): Fix a minor bug.
13276
13277 2013-05-24 Juri Linkov <juri@jurta.org>
13278
13279 * progmodes/grep.el (grep-mode-font-lock-keywords):
13280 Support =linenumber= format used by git-grep for lines with
13281 function names. (Bug#13549)
13282
13283 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13284
13285 * progmodes/octave.el (octave-smie-rules): Return nil rather than
13286 0 after a semi-colon; it works better for smie-auto-fill.
13287 (octave--indent-new-comment-line): New function.
13288 (octave-indent-new-comment-line): Use it (indirectly).
13289 (octave-mode): Don't disable smie-auto-fill. Use add-function to
13290 modify comment-line-break-function.
13291
13292 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
13293 (smie-setup): Use add-function to set it.
13294
13295 2013-05-24 Sam Steingold <sds@gnu.org>
13296
13297 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
13298 argument (before the `interactive' argument).
13299
13300 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13301
13302 * image-mode.el (image-mode-winprops): Add winprops to
13303 image-mode-winprops-alist before running
13304 image-mode-new-window-functions.
13305 * doc-view.el (doc-view-new-window-function): Don't delay
13306 doc-view-goto-page via timers (bug#14435).
13307
13308 2013-05-24 Tassilo Horn <tsdh@gnu.org>
13309
13310 * doc-view.el: Integrate with desktop.el. (Bug#14435)
13311 (doc-view-desktop-save-buffer): New function.
13312 (doc-view-restore-desktop-buffer): New function.
13313 (desktop-buffer-mode-handlers):
13314 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
13315 handler.
13316 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
13317 `desktop-save-buffer' function.
13318
13319 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
13320
13321 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
13322 (tramp-gvfs-file-name-handler): Raise a user error when
13323 `tramp-gvfs-enabled' is nil.
13324 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
13325 Do not raise a user error when loading package. (Bug#14447)
13326
13327 * net/xesam.el: Move to obsolete/.
13328
13329 2013-05-24 Glenn Morris <rgm@gnu.org>
13330
13331 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
13332
13333 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
13334
13335 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
13336 (Info-find-node, Man-getpage-in-background): Declare.
13337
13338 * mail/unrmail.el (unrmail):
13339 Replace obsolete detect-coding-with-priority.
13340
13341 * net/socks.el (socks-split-string): Use this rather than split-string.
13342 (socks-nslookup-host): Update for above change.
13343 (dynamic-choice, s5-dynamic-choice-match)
13344 (s5-dynamic-choice-match-inline, s5-widget-value-create):
13345 Comment out unused code.
13346
13347 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
13348 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
13349 (gud-tooltip-echo-area): Make obsolete.
13350 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
13351
13352 * progmodes/js.el (js--optimize-arglist): Declare.
13353
13354 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
13355
13356 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
13357 (ediff-window-C): Declare.
13358
13359 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
13360 Tweak requires to silence compiler.
13361
13362 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
13363 (he-search-string, he-tried-table, he-expand-list)
13364 (he-init-string, he-string-member, he-substitute-string)
13365 (he-reset-string): Declare.
13366
13367 * obsolete/options.el (list-options): Use custom-variable-p,
13368 rather than obsolete alias.
13369
13370 2013-05-23 Sam Steingold <sds@gnu.org>
13371
13372 * simple.el (shell-command-on-region): Pass the `replace' argument
13373 down to `call-process-region' to comply with the doc as reported on
13374 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
13375
13376 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13377
13378 * emacs-lisp/smie.el (smie-indent-forward-token)
13379 (smie-indent-backward-token): Handle string tokens (bug#14381).
13380
13381 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13382
13383 * ielm.el (ielm-menu): New menu.
13384 (inferior-emacs-lisp-mode): Set comment-start.
13385
13386 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13387
13388 * textmodes/reftex.el (reftex-ref-style-toggle):
13389 Fix deactivate action.
13390
13391 * textmodes/reftex-vars.el (reftex-ref-style-alist):
13392 Add cleveref macros.
13393
13394 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
13395 Accept options for bibliography commands.
13396 * textmodes/reftex-vars.el (reftex-bibliography-commands):
13397 Add addbibresource. Basic Biblatex support.
13398
13399 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
13400
13401 * net/tramp-gvfs.el (top):
13402 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
13403 when loading package. (Bug#14447)
13404
13405 2013-05-23 Glenn Morris <rgm@gnu.org>
13406
13407 * progmodes/js.el: No need to load comint when compiling.
13408 (ring-insert, comint-send-string, comint-send-input)
13409 (comint-last-input-end, ido-chop): Declare.
13410
13411 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
13412 * vc/ediff-mult.el: Adjust requires.
13413 (ediff-directories-internal, ediff-directory-revisions-internal)
13414 (ediff-patch-file-internal): Declare.
13415 * vc/ediff-ptch.el: Adjust requires.
13416 (ediff-use-last-dir, ediff-buffers-internal): Declare.
13417 (ediff-find-file): Autoload.
13418 * vc/ediff-util.el: No need to load ediff when compiling.
13419 (ediff-regions-internal): Declare.
13420 * vc/ediff-wind.el: Adjust requires.
13421 (ediff-compute-toolbar-width): Define when compiling.
13422 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
13423 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
13424 (dired-get-filename, dired-get-marked-files)
13425 (ediff-last-dir-patch, ediff-patch-default-directory)
13426 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
13427 (ediff-patch-buffer-internal): Declare.
13428
13429 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
13430 (ispell-process, ispell-buffer-local-words, lm-summary)
13431 (lm-section-start, lm-section-end): Declare.
13432 (checkdoc-ispell-init): Simplify.
13433
13434 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
13435 (he-string-member, he-reset-string, he-substitute-string): Declare.
13436
13437 * eshell/em-ls.el: Adjust requires.
13438 (eshell-glob-regexp): Declare.
13439 * eshell/em-tramp.el: Adjust requires.
13440 (eshell-parse-command): Autoload.
13441 * eshell/em-xtra.el: Adjust requires.
13442 (eshell-parse-command): Autoload.
13443 * eshell/esh-ext.el: Adjust requires.
13444 (eshell-parse-command, eshell-close-handles): Autoload.
13445 * eshell/esh-io.el: Adjust requires.
13446 (eshell-output-filter): Autoload.
13447 * eshell/esh-util.el: No need to load tramp when compiling.
13448 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
13449 Declare.
13450 (eshell-parse-ange-ls): Require ange-ftp and tramp.
13451 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
13452 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
13453 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
13454 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
13455 * eshell/esh-opt.el, eshell/esh-proc.el:
13456 * eshell/esh-var.el: Adjust requires.
13457 * eshell/eshell.el: Do not require esh-util twice.
13458 (eshell-add-input-to-history): Declare.
13459 (eshell-command): Check history module is active before using it.
13460
13461 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
13462
13463 2013-05-22 Leo Liu <sdl.web@gmail.com>
13464
13465 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
13466
13467 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
13468
13469 * autorevert.el (auto-revert-notify-add-watch)
13470 (auto-revert-notify-handler): Add `attrib' for the inotify case,
13471 it indicates changes in file modification time.
13472
13473 2013-05-22 Glenn Morris <rgm@gnu.org>
13474
13475 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
13476 Always delete the autoloaded function from the noruntime and
13477 unresolved functions lists.
13478
13479 * allout.el: No need to load epa, epg, overlay when compiling.
13480 (epg-context-set-passphrase-callback, epg-list-keys)
13481 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
13482 (epg-key-user-id-list): Declare.
13483
13484 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
13485 (viper-set-parsing-style-toggling-macro)
13486 (viper-set-emacs-state-searchstyle-macros):
13487 Use called-interactively-p on Emacs.
13488 (viper-looking-back): Make it an obsolete alias. Update callers.
13489 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
13490 Use looking-back rather than viper-looking-back.
13491 (viper-tmp-insert-at-eob, viper-enlarge-region)
13492 (viper-read-string-with-history, viper-register-to-point)
13493 (viper-append-to-register, viper-change-state-to-vi)
13494 (viper-backward-char-carefully, viper-forward-char-carefully)
13495 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
13496 (viper-change-state-to-emacs): Declare.
13497 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
13498 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
13499 * emulation/viper-mous.el: Do not load viper-cmd.
13500 (viper-backward-char-carefully, viper-forward-char-carefully)
13501 (viper-forward-word, viper-adjust-window): Declare.
13502
13503 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
13504
13505 * progmodes/idlw-help.el (idlwave-help-fontify):
13506 Use called-interactively-p.
13507
13508 * term/w32console.el (w32-get-console-codepage)
13509 (w32-get-console-output-codepage): Declare.
13510
13511 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
13512 Remove unnecessary declarations.
13513 (dframe-message): Doc fix.
13514
13515 * info.el (dframe-select-attached-frame, dframe-current-frame):
13516 Declare.
13517
13518 * speedbar.el (speedbar-message): Make it an obsolete alias.
13519 Update all callers.
13520 (speedbar-with-attached-buffer)
13521 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
13522 (speedbar-with-writable): Use backquote.
13523 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
13524 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
13525 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
13526 rather than speedbar- aliases.
13527 * mail/rmail.el: Load dframe rather than speedbar when compiling.
13528 (speedbar-make-specialized-keymap, speedbar-insert-button)
13529 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
13530 (speedbar-do-function-pointer): Declare.
13531 (rmail-speedbar-button, rmail-speedbar-find-file)
13532 (rmail-speedbar-move-message):
13533 Use dframe-with-attached-buffer rather than speedbar- alias.
13534 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
13535 (dframe-message, speedbar-make-specialized-keymap)
13536 (speedbar-add-expansion-list, speedbar-mode-functions-list)
13537 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
13538 (speedbar-insert-button, dframe-select-attached-frame)
13539 (dframe-maybee-jump-to-attached-frame)
13540 (speedbar-change-initial-expansion-list)
13541 (speedbar-previously-used-expansion-list-name): Declare.
13542 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
13543 Use dframe-message, dframe-with-attached-buffer rather than
13544 speedbar- aliases.
13545 (gud-sentinel): Silence compiler.
13546 * progmodes/vhdl-mode.el (speedbar-refresh)
13547 (speedbar-do-function-pointer, speedbar-add-supported-extension)
13548 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
13549 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
13550 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
13551 (speedbar-file-lists, speedbar-make-tag-line)
13552 (speedbar-line-directory, speedbar-goto-this-file)
13553 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
13554 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
13555 (speedbar-make-button, speedbar-reset-scanners)
13556 (speedbar-files-item-info, speedbar-line-text)
13557 (speedbar-find-file-in-frame, speedbar-set-timer)
13558 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
13559 (speedbar-with-writable): Do not (re)define it.
13560 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
13561 rather than speedbar- alias.
13562
13563 2013-05-21 Leo Liu <sdl.web@gmail.com>
13564
13565 * progmodes/octave.el (octave-mode-menu): Update and re-organize
13566 menu items.
13567 (octave-mode): Tweak fill-nobreak-predicate.
13568 (inferior-octave-startup): Check process to avoid infinite loop.
13569 (inferior-octave): Pop to buffer first to show abornmal process
13570 exit information.
13571
13572 2013-05-21 Glenn Morris <rgm@gnu.org>
13573
13574 * printing.el (pr-menu-bar): Define when compiling.
13575
13576 2013-05-21 Leo Liu <sdl.web@gmail.com>
13577
13578 * progmodes/octave.el (octave-auto-fill): Remove.
13579 (octave-indent-new-comment-line): Improve.
13580 (octave-mode): Use auto fill mode through
13581 comment-line-break-function and fill-nobreak-predicate.
13582 (octave-goto-function-definition): Support DEFUN_DLD.
13583 (octave-beginning-of-defun): Small tweak.
13584 (octave-help): Show parent directory.
13585
13586 2013-05-21 Glenn Morris <rgm@gnu.org>
13587
13588 * files.el (dired-unmark):
13589 * progmodes/gud.el (gdb-input): Update declarations.
13590
13591 * calculator.el (electric, ehelp): No need to load when compiling.
13592 (Electric-command-loop, electric-describe-mode): Declare.
13593
13594 * doc-view.el (doc-view-current-converter-processes): Move before use.
13595
13596 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13597 Move MODE-set-explicitly definition before use.
13598
13599 * international/mule-diag.el (mule-diag):
13600 Don't use obsolete window-system-version.
13601
13602 * mail/feedmail.el (smtpmail): No need to load when compiling.
13603 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
13604
13605 * mail/mail-utils.el (rfc822): No need to load when compiling.
13606 (rfc822-addresses): Autoload it.
13607 (mail-strip-quoted-names): Trivial simplification.
13608
13609 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
13610 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
13611
13612 * net/snmp-mode.el (tempo): Don't duplicate requires.
13613
13614 * progmodes/prolog.el (info): No need to load when compiling.
13615 (comint): Require before shell requires it.
13616 (Info-goto-node): Autoload it.
13617 (Info-follow-nearest-node): Declare.
13618 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
13619
13620 * textmodes/artist.el (picture-mode-exit): Declare.
13621
13622 * textmodes/reftex-parse.el (reftex-parse-from-file):
13623 Trivial rewrite so the compiler can parse it better.
13624
13625 2013-05-20 Leo Liu <sdl.web@gmail.com>
13626
13627 * progmodes/octave.el (octave-help-mode-map)
13628 (octave-help-mode-finish-hook): New variables.
13629 (octave-help-mode, octave-help-mode-finish): New functions.
13630 (octave-help): Use octave-help-mode.
13631
13632 2013-05-20 Glenn Morris <rgm@gnu.org>
13633
13634 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
13635
13636 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
13637
13638 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
13639 start at point, so that expansion starting right after opening
13640 slash in a regexp is recognized.
13641 (ruby-syntax-before-regexp-re): New defvar, extracted from
13642 ruby-syntax-propertize-function. Since the value of this regexp
13643 is looked up at runtime now, we should be able to turn
13644 `ruby-syntax-methods-before-regexp' into a defcustom later.
13645 (ruby-syntax-propertize-function): Split regexp matching into two
13646 parts, for opening and closing slashes. That allows us to skip
13647 over string interpolations and support multiline regexps.
13648 Don't call `ruby-syntax-propertize-expansions', instead use another rule
13649 for them, which calls `ruby-syntax-propertize-expansion'.
13650 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
13651 call to `ruby-syntax-propertize-function'.
13652 (ruby-syntax-propertize-expansion): Extracted from
13653 `ruby-syntax-propertize-expansions'. Handles one expansion.
13654 (ruby-syntax-propertize-percent-literal): Leave point right after
13655 the percent symbol, so that the expression expansion rule can
13656 propertize the contents.
13657 (ruby-syntax-propertize-heredoc): Leave point at bol following the
13658 heredoc openers.
13659 (ruby-syntax-propertize-expansions): Remove.
13660
13661 2013-05-18 Juri Linkov <juri@jurta.org>
13662
13663 * man.el (Man-default-man-entry): Remove `-' from the end
13664 of the default value. (Bug#14400)
13665
13666 2013-05-18 Glenn Morris <rgm@gnu.org>
13667
13668 * comint.el (comint-password-prompt-regexp):
13669 Allow "password for XXX" where XXX contains colons (eg https://...).
13670
13671 2013-05-18 Leo Liu <sdl.web@gmail.com>
13672
13673 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
13674 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
13675 (octave-source-directories): Don't check process.
13676 (octave-source-directories, octave-find-definition): Doc fix.
13677
13678 2013-05-18 Glenn Morris <rgm@gnu.org>
13679
13680 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
13681 Remove backspace/delete bindings. (Bug#14392)
13682
13683 * cus-dep.el (custom-make-dependencies): Sort the output.
13684 (custom-versions-load-alist): Convert comment to doc.
13685
13686 2013-05-17 Leo Liu <sdl.web@gmail.com>
13687
13688 * newcomment.el (comment-search-backward): Stricter in finding
13689 comment start. (Bug#14303)
13690
13691 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
13692 (octave-comment-start-skip): Properly anchored.
13693
13694 2013-05-17 Leo Liu <sdl.web@gmail.com>
13695
13696 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
13697 Clean up when turned off. (Bug#14395)
13698 (smie--highlight-matching-block-overlay): No longer buffer-local.
13699 (smie-highlight-matching-block): Adjust.
13700
13701 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
13702
13703 Doc string fix for "nanoseconds" (Bug#14406).
13704 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
13705 Fix doc string typo that had "nanoseconds" instead of "microseconds".
13706
13707 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
13708
13709 * calc/calc-units.el (math-extract-units): Preserve powers
13710 of units.
13711
13712 2013-05-17 Leo Liu <sdl.web@gmail.com>
13713
13714 * subr.el (delete-consecutive-dups): New function.
13715 * ido.el (ido-set-matches-1): Use it.
13716 * progmodes/octave.el (inferior-octave-completion-table): Use it.
13717 * ido.el (ido-remove-consecutive-dups): Remove.
13718
13719 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13720
13721 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
13722 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
13723 regexp-opt's `words'.
13724
13725 2013-05-16 Leo Liu <sdl.web@gmail.com>
13726
13727 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
13728 (smie--highlight-matching-block-overlay)
13729 (smie--highlight-matching-block-lastpos)
13730 (smie--highlight-matching-block-timer): New variables.
13731 (smie-highlight-matching-block): New function.
13732 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
13733 (smie-setup): Conditionally enable smie-blink-matching-open.
13734
13735 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
13736
13737 Sync with upstream verilog-mode r840.
13738 * progmodes/verilog-mode.el (verilog-mode-version)
13739 (verilog-mode-release-date): Update.
13740 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
13741 (verilog-sig-tieoff): Fix string error on
13742 AUTORESET with colon define, bug594. Reported by Andrew Hou.
13743 (verilog-read-decls): Fix parameters confusing
13744 AUTOINST interfaces, bug565. Reported by Leith Johnson.
13745
13746 2013-05-16 Eli Zaretskii <eliz@gnu.org>
13747
13748 * subr.el (reveal-filename): New function.
13749
13750 * loadup.el: Compute Emacs executable versions on MS-Windows,
13751 where executables have the .exe extension. Add a hard link
13752 emacs-XX.YY.ZZ.exe on MS-Windows.
13753
13754 * Makefile.in (XARGS_LIMIT): New variable.
13755 (custom-deps, finder-data, autoloads)
13756 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
13757 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
13758 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
13759 (compile-main): Limit xargs according to $(XARGS_LIMIT).
13760
13761 2013-05-16 Leo Liu <sdl.web@gmail.com>
13762
13763 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
13764 (octave-mode-menu, octave-mode-map): Remove its uses.
13765
13766 2013-05-16 Reto Zimmermann <reto@gnu.org>
13767
13768 Sync with upstream vhdl mode v3.34.2.
13769 * progmodes/vhdl-mode.el: Use `push' throughout.
13770 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
13771 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
13772 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
13773 (vhdl-actual-generic-name): New option to derive actual generic name.
13774 (vhdl-port-paste-signals): Replace formal by actual generics.
13775 (vhdl-beautify): New name for old group vhdl-align. Update users.
13776 (vhdl-beautify-options): New option.
13777 (vhdl-last-input-event): New compat alias. Use throughout.
13778 (vhdl-goto-line): Replace user level function `goto-line'.
13779 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
13780 vhdl-fix-statement-buffer.
13781 (vhdl-create-mode-menu): Add some entries.
13782 (vhdl-align-region-groups): Respect vhdl-beautify-options.
13783 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
13784 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
13785 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
13786 to force statements on one line.
13787 (vhdl-remove-trailing-spaces-region):
13788 New, split from vhdl-remove-trailing-spaces.
13789 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
13790 Respect vhdl-beautify-options.
13791 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
13792 (vhdl-update-sensitivity-list): Not add with index if exists without.
13793 Not include array index with signal. Ignore keywords in comments.
13794 (vhdl-get-visible-signals): Regexp tweaks.
13795 (vhdl-template-component-inst): Handle empty library.
13796 (vhdl-template-type): Add template for 'enum' type.
13797 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
13798 Use vhdl-replace-string.
13799 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
13800 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
13801 (vhdl-speedbar-initialize): Update for above name change.
13802 (vhdl-compose-wire-components): Fix in handling of constants.
13803 (vhdl-error-regexp-emacs-alist): New variable.
13804 (vhdl-error-regexp-add-emacs): New function;
13805 adds support for new compile.el (Emacs 22+)
13806 (vhdl-generate-makefile-1): Change target order for single lib. units.
13807 Allow use of absolute file names.
13808
13809 2013-05-16 Leo Liu <sdl.web@gmail.com>
13810
13811 * simple.el (prog-indent-sexp): Indent enclosing defun.
13812
13813 2013-05-15 Glenn Morris <rgm@gnu.org>
13814
13815 * cus-start.el (show-trailing-whitespace): Move to editing basics.
13816 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
13817 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
13818 (whitespace-highlight): Move to whitespace group.
13819
13820 * comint.el (comint-source):
13821 * pcmpl-linux.el (pcmpl-linux):
13822 * shell.el (shell-faces):
13823 * eshell/esh-opt.el (eshell-opt):
13824 * international/ccl.el (ccl): Remove empty custom groups.
13825
13826 * completion.el (dynamic-completion-mode):
13827 * jit-lock.el (jit-lock-debug-mode):
13828 * minibuffer.el (completion-in-region-mode):
13829 * type-break.el (type-break-mode-line-message-mode)
13830 (type-break-query-mode):
13831 * emulation/tpu-edt.el (tpu-edt-mode):
13832 * progmodes/subword.el (global-subword-mode, global-superword-mode):
13833 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
13834 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
13835
13836 * term/xterm.el (xterm): Change parent group to terminals.
13837
13838 * master.el (master): Remove empty custom group.
13839 (master-mode): Remove unused :group argument.
13840 * textmodes/refill.el (refill): Remove empty custom group.
13841 (refill-mode): Remove unused :group argument.
13842
13843 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
13844
13845 * cus-dep.el: Provide a feature.
13846 (custom-make-dependencies): Ignore dotfiles (dir-locals).
13847 Don't mistakenly ignore files whose basenames match a basename
13848 from preloaded-file-list (eg cedet/ede/simple.el).
13849 Add a fallback method for getting :group.
13850
13851 2013-05-15 Juri Linkov <juri@jurta.org>
13852
13853 * isearch.el (isearch-char-by-name): Rename from
13854 `isearch-insert-char-by-name'. Doc fix.
13855 (isearch-forward): Mention `isearch-char-by-name' in
13856 the docstring. (Bug#13348)
13857
13858 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
13859 `exit-minibuffer' instead of
13860 `isearch-nonincremental-exit-minibuffer'.
13861 (isearch-edit-string): Remove mention of
13862 `isearch-nonincremental-exit-minibuffer' from docstring.
13863 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
13864 (isearch-forward-exit-minibuffer)
13865 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
13866
13867 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
13868
13869 * loadup.el: Just use unversioned DOC.
13870
13871 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
13872 literals as extending to EOB.
13873 (nxml-last-fontify-end): Remove unused variable.
13874 (nxml-after-change1): Use with-silent-modifications.
13875 (nxml-extend-after-change-region): Simplify.
13876 (nxml-extend-after-change-region1): Remove function.
13877 (nxml-after-change1): Don't adjust for dependent regions.
13878 (nxml-fontify-matcher): Simplify.
13879 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
13880 (xmltok-add-dependent): Remove function.
13881 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
13882 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
13883 (xmltok-scan-prolog-after-processing-instruction-open): Treat
13884 unclosed <[[, <?, comment, and other literals as extending to EOB.
13885 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
13886 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
13887 Remove functions.
13888 (rng-do-some-validation-1): Don't mark dependent regions.
13889 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
13890 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
13891 (nxml-clear-dependent-regions): Remove functions.
13892 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
13893 (nxml-ensure-scan-up-to-date):
13894 Don't clear&mark dependent regions.
13895
13896 2013-05-15 Leo Liu <sdl.web@gmail.com>
13897
13898 * progmodes/octave.el (octave-goto-function-definition):
13899 Improve and fix callers.
13900
13901 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
13902
13903 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
13904 the setter (bug#14387).
13905
13906 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
13907 surrounding group (bug#14402).
13908
13909 2013-05-14 Juri Linkov <juri@jurta.org>
13910
13911 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
13912 (Bug#14390)
13913
13914 2013-05-14 Glenn Morris <rgm@gnu.org>
13915
13916 * progmodes/f90.el (f90-imenu-generic-expression):
13917 Fix typo in 2013-05-08 change. (Bug#14402)
13918
13919 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
13920
13921 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
13922 Remove signals for which replies are never received.
13923
13924 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
13925
13926 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
13927 (gdb-handler-alist, gdb-handler-number): Remove variables.
13928 (gdb-handler-list): New variable.
13929 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
13930 (gdb-pending-handler-p, gdb-handle-reply)
13931 (gdb-remove-all-pending-triggers): New functions.
13932 (gdb-discard-unordered-replies): New defcustom.
13933 (gdb-handler): New defstruct.
13934 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
13935 instead of gdb-pending-triggers. Update docstring.
13936 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
13937 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
13938 (gdb-var-update-handler, def-gdb-auto-update-trigger)
13939 (def-gdb-auto-update-handler, gdb-get-changed-registers)
13940 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
13941 (gdb-frame-handler): Pending triggers are now automatically managed.
13942 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
13943 Remove argument.
13944 (gdb-input): Automatically handles pending triggers. Update docstring.
13945 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
13946 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
13947 Update comments.
13948 (gdb-done-or-error): Now use gdb-handle-reply.
13949
13950 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
13951
13952 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
13953 gdb-debug-log.
13954
13955 2013-05-14 Glenn Morris <rgm@gnu.org>
13956
13957 * subr.el (user-emacs-directory-warning): New option.
13958 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
13959
13960 2013-05-14 Leo Liu <sdl.web@gmail.com>
13961
13962 * progmodes/octave.el (octave-font-lock-keywords): Fix error
13963 during redisplay.
13964 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
13965 (octave-font-lock-texinfo-comment): Fix invalid search bound
13966 error: wrong side of point.
13967
13968 2013-05-14 Glenn Morris <rgm@gnu.org>
13969
13970 * progmodes/flymake.el (flymake-xml-program): New option.
13971 (flymake-xml-init): Use it.
13972
13973 * term/xterm.el: Provide a feature.
13974
13975 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
13976
13977 2013-05-13 Glenn Morris <rgm@gnu.org>
13978
13979 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
13980 Add compat aliases as a hack workaround. (Bug#14384)
13981
13982 2013-05-13 Leo Liu <sdl.web@gmail.com>
13983
13984 * progmodes/octave.el (octave-indent-comment): Fix indentation for
13985 ###, and %!.
13986 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
13987 C-M-q.
13988 (octave-comment-start-skip): Include %!.
13989 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
13990
13991 2013-05-12 Leo Liu <sdl.web@gmail.com>
13992
13993 * progmodes/octave.el (inferior-octave-startup): Store the value
13994 of __octave_srcdir__ for octave-source-directories.
13995 (inferior-octave-check-process): New function refactored out of
13996 inferior-octave-send-list-and-digest.
13997 (octave-source-directories)
13998 (octave-find-definition-filename-function): New variables.
13999 (octave-source-directories)
14000 (octave-find-definition-default-filename): New functions.
14001 (octave-find-definition): Improve to find functions implemented in C++.
14002
14003 2013-05-12 Glenn Morris <rgm@gnu.org>
14004
14005 * calendar/diary-lib.el (diary-outlook-format-1):
14006 Don't include dayname in the output. (Bug#14349)
14007
14008 2013-05-11 Glenn Morris <rgm@gnu.org>
14009
14010 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
14011
14012 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
14013 Treat cc-provide like provide.
14014
14015 2013-05-11 Kevin Ryde <user42@zip.com.au>
14016
14017 * cus-dep.el (custom-make-dependencies):
14018 Use generated-autoload-load-name for the sake of files such
14019 such cedet/semantic/bovine/c.el, where the base file name
14020 is not in load-path. (Bug#5277)
14021
14022 2013-05-11 Glenn Morris <rgm@gnu.org>
14023
14024 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
14025 Provide features.
14026
14027 2013-05-11 Leo Liu <sdl.web@gmail.com>
14028
14029 * progmodes/octave.el (octave-indent-comment): Improve.
14030 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
14031 (octave-eldoc-function-signatures, octave-eldoc-function):
14032 New functions.
14033 (octave-mode, inferior-octave-mode): Add eldoc support.
14034
14035 2013-05-11 Richard Stallman <rms@gnu.org>
14036
14037 * epa.el (epa-decrypt-file): Take output file name as argument
14038 and read it using `interactive'.
14039
14040 2013-05-11 Leo Liu <sdl.web@gmail.com>
14041
14042 * progmodes/octave.el (octave-beginning-of-line)
14043 (octave-end-of-line): Check before using up-list because it jumps
14044 out of more syntactic contructs since moving to smie.
14045 (octave-indent-comment): New function.
14046 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
14047 (octave-begin-keywords, octave-end-keywords)
14048 (octave-reserved-words, octave-smie-bnf-table)
14049 (octave-smie-rules): Add new keywords from Octave 3.6.4.
14050
14051 2013-05-11 Glenn Morris <rgm@gnu.org>
14052
14053 * faces.el (internal-face-x-get-resource):
14054 * frame.el (ns-display-monitor-attributes-list):
14055 * calc/calc-aent.el (math-to-radians-2):
14056 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
14057 Fix declarations.
14058
14059 * calc/calc-menu.el: Make it loadable in isolation.
14060
14061 * net/eudcb-bbdb.el: Make it loadable without bbdb.
14062 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
14063 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
14064 (eudc-bbdb-query-internal): Require 'bbdb.
14065
14066 * lpr.el (lpr-headers-switches):
14067 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
14068
14069 * progmodes/sql.el (sql-login-params): Fix and improve :type.
14070
14071 * emulation/edt-mapper.el: In batch mode, error rather than hang.
14072
14073 * term.el (term-set-escape-char): Make it idempotent.
14074
14075 2013-05-10 Leo Liu <sdl.web@gmail.com>
14076
14077 * progmodes/octave.el (inferior-octave-completion-table):
14078 No longer a function and all uses changed. Use cache to speed up
14079 completion due to bug#11906.
14080 (octave-beginning-of-defun): Re-write to be more general.
14081
14082 2013-05-10 Glenn Morris <rgm@gnu.org>
14083
14084 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
14085
14086 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14087
14088 * comint.el (comint-redirect-send-command-to-process): Use :around
14089 rather than :override for comint-redirect-filter.
14090 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
14091 Call it instead of comint-redirect-original-filter-function (which
14092 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
14093
14094 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
14095
14096 * frame.el (display-monitor-attributes-list): Add NS case.
14097 (ns-display-monitor-attributes-list): Declare.
14098
14099 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
14100
14101 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
14102
14103 2013-05-09 Glenn Morris <rgm@gnu.org>
14104
14105 * international/fontset.el (vertical-centering-font-regexp):
14106 Set standard-value.
14107
14108 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
14109
14110 * bookmark.el (bookmark-search-delay):
14111 * cus-start.el (vertical-centering-font-regexp):
14112 * ps-mule.el (ps-mule-font-info-database-default):
14113 * ps-print.el (ps-default-fg, ps-default-bg):
14114 * type-break.el (type-break-good-break-interval):
14115 * whitespace.el (whitespace-indentation-regexp)
14116 (whitespace-space-after-tab-regexp):
14117 * emacs-lisp/testcover.el (testcover-1value-functions)
14118 (testcover-noreturn-functions, testcover-progn-functions)
14119 (testcover-prog1-functions):
14120 * emulation/viper-init.el (viper-emacs-state-cursor-color):
14121 * eshell/em-glob.el (eshell-glob-translate-alist):
14122 * play/tetris.el (tetris-tty-colors):
14123 * progmodes/cpp.el (cpp-face-default-list):
14124 * progmodes/flymake.el (flymake-allowed-file-name-masks):
14125 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
14126 (idlwave-help-browser-generic-args):
14127 * progmodes/make-mode.el (makefile-special-targets-list):
14128 * progmodes/python.el (python-shell-virtualenv-path):
14129 * progmodes/verilog-mode.el (verilog-active-low-regexp)
14130 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
14131 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
14132 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
14133 * textmodes/reftex-vars.el (reftex-format-label-function):
14134 * textmodes/remember.el (remember-diary-file): Fix custom types.
14135
14136 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
14137 Add :version.
14138
14139 2013-05-09 Leo Liu <sdl.web@gmail.com>
14140
14141 * progmodes/octave.el (inferior-octave-completion-at-point):
14142 Restore file completion. (Bug#14300)
14143 (inferior-octave-startup): Fix incorrect highlighting for the
14144 first prompt.
14145
14146 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14147
14148 * progmodes/ruby-mode.el: First cut at SMIE support.
14149 (ruby-use-smie): New var.
14150 (ruby-smie-grammar): New constant.
14151 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
14152 (ruby-smie--forward-token, ruby-smie--backward-token)
14153 (ruby-smie-rules): New functions.
14154 (ruby-mode-variables): Setup SMIE if applicable.
14155
14156 2013-05-08 Eli Zaretskii <eliz@gnu.org>
14157
14158 * simple.el (line-move-visual): Signal beginning/end of buffer
14159 only if vertical-motion moved less than it was requested. Avoids
14160 silly incorrect error messages when there are display strings with
14161 multiple newlines at EOL.
14162
14163 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14164
14165 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
14166 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
14167 (prolog-char-quote-workaround):
14168 * progmodes/cperl-mode.el (cperl-under-as-char):
14169 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
14170 Mark as obsolete.
14171 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
14172 their declaration.
14173 (vhdl-mode-syntax-table-init): Remove.
14174
14175 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
14176 last change.
14177
14178 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
14179 syntax for "_".
14180 (ld-script-font-lock-keywords):
14181 Change regexps to use things like \_< and \_>.
14182
14183 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
14184 Change all regexps to use things like \_< and \_>.
14185
14186 * progmodes/autoconf.el (autoconf-definition-regexp)
14187 (autoconf-font-lock-keywords, autoconf-current-defun-function):
14188 Handle a _ with symbol syntax.
14189 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
14190
14191 * progmodes/ada-mode.el (ada-mode-abbrev-table):
14192 Consolidate declaration.
14193 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
14194 the declaration.
14195 (ada-create-syntax-table): Remove.
14196 (ada-capitalize-word): Don't mess with the syntax of "_" since it
14197 already has the right syntax nowadays.
14198 (ada-goto-next-word): Don't change the syntax of "_".
14199
14200 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
14201 with-wrapper-hook.
14202
14203 2013-05-08 Sam Steingold <sds@gnu.org>
14204
14205 * thingatpt.el (thing-at-point): Accept optional second argument
14206 NO-PROPERTIES to strip the text properties from the return value.
14207 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
14208 to `thing-at-point' instead of stripping the properties ourselves.
14209 Also, when `thing-at-point' fails to find a url, prepend "http://"
14210 to the filename at point on the assumption that the user is
14211 pointing at something like gnu.org/gnu.
14212
14213 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
14214
14215 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
14216 * faces.el (crm-separator):
14217 Silence byte-compiler.
14218
14219 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
14220 (tool-bar-map): Remove unneeded defvars.
14221
14222 2013-05-08 Leo Liu <sdl.web@gmail.com>
14223
14224 Re-work a fix for bug#10994 based on Le Wang's patch.
14225 * ido.el (ido-remove-consecutive-dups): New helper.
14226 (ido-completing-read): Use it.
14227 (ido-chop): Revert fix for bug#10994.
14228
14229 2013-05-08 Adam Spiers <emacs@adamspiers.org>
14230
14231 * cus-edit.el (custom-save-variables):
14232 Pretty-print long values. (Bug#14187)
14233
14234 2013-05-08 Glenn Morris <rgm@gnu.org>
14235
14236 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
14237 (m4-mode-syntax-table): Init in the defvar.
14238 (m4-mode-abbrev-table): Let define-derived-mode define it.
14239
14240 2013-05-08 Tom Tromey <tromey@redhat.com>
14241
14242 * progmodes/m4-mode.el (m4-mode-syntax-table):
14243 Do not treat "_" as word constituent. (Bug#14167)
14244
14245 2013-05-07 Glenn Morris <rgm@gnu.org>
14246
14247 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
14248 Remove explicit eshell-isearch-cancel-map.
14249
14250 * progmodes/f90.el (f90-smart-end-names): New option.
14251 (f90-smart-end): Doc fix.
14252 (f90-end-block-optional-name): New constant.
14253 (f90-block-match): Respect f90-smart-end-names.
14254
14255 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14256
14257 * progmodes/octave.el (octave-smie-forward-token): Be more careful
14258 about implicit semi-colons (bug#14218).
14259
14260 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
14261
14262 * frame.el (display-monitor-attributes-list)
14263 (frame-monitor-attributes): New functions.
14264
14265 2013-05-06 Leo Liu <sdl.web@gmail.com>
14266
14267 * progmodes/octave.el (octave-syntax-propertize-function): Change
14268 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
14269 (octave-font-lock-keywords): Use octave-operator-regexp.
14270 (octave-completion-at-point): Rename from
14271 octave-completion-at-point-function.
14272 (inferior-octave-directory-tracker): Robustify.
14273 (octave-text-functions): Remove and fix its uses. No such things
14274 any more.
14275
14276 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14277
14278 * emacs-lisp/trace.el (trace--display-buffer): New function.
14279 (trace-make-advice): Use it.
14280
14281 2013-05-06 Juri Linkov <juri@jurta.org>
14282
14283 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
14284 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
14285 Doc fix.
14286 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
14287 in the help string. (Bug#12985)
14288
14289 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
14290
14291 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
14292
14293 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14294
14295 * progmodes/perl-mode.el: Add support for here documents.
14296 (perl-syntax-propertize-function): Match here-doc markers.
14297 (perl-syntax-propertize-special-constructs): Find their end.
14298 (perl-imenu-generic-expression): Use [:alnum:].
14299
14300 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
14301 (advice--add-function): Refresh the advice if already present
14302 (bug#14317).
14303
14304 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
14305
14306 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
14307
14308 2013-05-06 Glenn Morris <rgm@gnu.org>
14309
14310 * w32-fns.el (w32-charset-info-alist): Declare.
14311
14312 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
14313 of its defcustom properties.
14314 (eshell-cmpl-initialize): No need to load pcomplete.
14315
14316 * generic-x.el: No need to require comint when compiling.
14317
14318 * net/eudc-export.el: Make it loadable without bbdb.
14319 (top-level): Use require rather than load-library.
14320 (eudc-create-bbdb-record, eudc-bbdbify-phone)
14321 (eudc-batch-export-records-to-bbdb)
14322 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
14323 Require bbdb.
14324
14325 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14326
14327 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
14328 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
14329 some tweaks, instead.
14330
14331 2013-05-05 Leo Liu <sdl.web@gmail.com>
14332
14333 * progmodes/octave.el (octave-font-lock-keywords)
14334 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
14335 (inferior-octave-send-list-and-digest): Improve error message.
14336 (octave-mode, inferior-octave-mode): Use setq-local.
14337 (octave-help): Set info-lookup-mode.
14338
14339 2013-05-05 Richard Stallman <rms@gnu.org>
14340
14341 * vc/compare-w.el (compare-windows-whitespace):
14342 Treat no-break space as whitespace.
14343
14344 * mail/rmailsum.el (rmail-summary-rmail-update):
14345 Detect empty summary and don't change selected message.
14346 (rmail-summary-goto-msg): Likewise.
14347
14348 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
14349 Doc fixes, rename args.
14350
14351 2013-05-05 Alan Mackenzie <acm@muc.de>
14352
14353 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
14354
14355 2013-05-05 Juri Linkov <juri@jurta.org>
14356
14357 * info.el (Info-read-subfile): Use (point-min) instead of (point)
14358 to not add the length of the summary segment to the return value.
14359 (Bug#14125)
14360
14361 2013-05-05 Leo Liu <sdl.web@gmail.com>
14362
14363 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
14364 (inferior-octave-output-filter): Remove.
14365 (octave-send-region, inferior-octave-startup): Fix callers.
14366 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
14367 (octave-binary-file-extensions): New user variable.
14368 (octave-find-definition): Confirm if opening binary files.
14369 (octave-help-file): Use octave-find-definition to get the binary
14370 confirmation.
14371 (octave-help): Adjust for octave-help-file change.
14372
14373 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14374
14375 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
14376 Merge the two entries that handle function definitions.
14377 (pascal--syntax-propertize): New const.
14378 (pascal-mode): Use it. Use setq-local.
14379
14380 2013-05-04 Glenn Morris <rgm@gnu.org>
14381
14382 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
14383 (diary-from-outlook): Respect diary-from-outlook-function.
14384
14385 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14386
14387 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
14388 Move the declaration from C.
14389 (read-minibuffer, eval-minibuffer): Move from C.
14390 (completion-setup-function): Avoid minibuffer-completion-contents.
14391
14392 2013-05-03 Leo Liu <sdl.web@gmail.com>
14393
14394 * progmodes/octave.el (octave-font-lock-keywords): Do not
14395 dehighlight 'end' in comments or strings.
14396 (octave-completing-read, octave-goto-function-definition):
14397 New helpers.
14398 (octave-help-buffer): New user variable.
14399 (octave-help-file, octave-help-function): New button types.
14400 (octave-help): New command and bind it to C-h ;.
14401 (octave-find-definition): New command and bind it to M-.
14402 (user-error): Alias to error if not defined.
14403
14404 2013-05-02 Leo Liu <sdl.web@gmail.com>
14405
14406 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
14407 for \. (bug#14332)
14408 (octave-font-lock-keywords): Include [ and {.
14409
14410 2013-05-02 Leo Liu <sdl.web@gmail.com>
14411
14412 * progmodes/octave.el (inferior-octave-startup-file): Change default.
14413 (inferior-octave): Remove calling comint-mode and return the buffer.
14414 (inferior-octave-startup): Cosmetic changes.
14415
14416 2013-05-02 Leo Liu <sdl.web@gmail.com>
14417
14418 * progmodes/octave.el (octave-syntax-propertize-function):
14419 Include the case when ' is at line beginning. (Bug#14336)
14420
14421 2013-05-02 Glenn Morris <rgm@gnu.org>
14422
14423 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
14424 * desktop.el (vc-dir-mode): Just autoload it here.
14425
14426 2013-05-02 Alan Mackenzie <acm@muc.de>
14427
14428 Eliminate variable c-standard-font-lock-fontify-region-function.
14429 * progmodes/cc-mode.el
14430 (c-standard-font-lock-fontify-region-function): Remove.
14431 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
14432
14433 2013-05-01 Leo Liu <sdl.web@gmail.com>
14434
14435 * progmodes/octave.el: Compatible with older emacs-24 releases.
14436 (inferior-octave-has-built-in-variables): Remove. Built-in
14437 variables were removed from Octave in 2007.
14438 (inferior-octave-startup): Fix uses.
14439 (comint-line-beginning-position): Remove compatibility code for
14440 emacs 21.
14441
14442 2013-05-01 Juri Linkov <juri@jurta.org>
14443
14444 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
14445
14446 2013-05-01 Juri Linkov <juri@jurta.org>
14447
14448 * comint.el (comint-previous-matching-input): Don't print message
14449 "History item: %d" when `isearch-mode' is active.
14450 (comint-history-isearch-message): Print message "History item: %d"
14451 when `comint-input-ring-index' is not empty and this function is
14452 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
14453
14454 2013-05-01 Leo Liu <sdl.web@gmail.com>
14455
14456 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
14457 definitions. Use completion-at-point to insert keywords.
14458 (octave-abbrev-start): Remove.
14459 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
14460
14461 2013-04-30 Leo Liu <sdl.web@gmail.com>
14462
14463 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
14464 change.
14465
14466 2013-04-30 Alan Mackenzie <acm@muc.de>
14467
14468 Handle arbitrarily long C++ member initialisation lists.
14469 * progmodes/cc-engine.el (c-back-over-member-initializers):
14470 new function.
14471 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
14472 (most) member init lists.
14473
14474 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14475
14476 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
14477 variable.
14478
14479 2013-04-30 Leo Liu <sdl.web@gmail.com>
14480
14481 * progmodes/octave.el (octave-variables): Remove. No builtin
14482 variables any more. All converted to functions.
14483 (octave-font-lock-keywords, octave-completion-at-point-function):
14484 Fix uses.
14485 (octave-font-lock-texinfo-comment): New user variable.
14486 (octave-texinfo-font-lock-keywords): New variable for texinfo
14487 comment block.
14488 (octave-function-comment-block): New face.
14489 (octave-font-lock-texinfo-comment): New function.
14490 (octave-mode): Font lock texinfo comment block.
14491
14492 2013-04-29 Leo Liu <sdl.web@gmail.com>
14493
14494 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
14495 indexing expression.
14496 (octave-continuation-string): Do not use \.
14497 (inferior-octave-complete-impossible): Remove.
14498 (inferior-octave-completion-table)
14499 (inferior-octave-completion-at-point): Remove its uses.
14500 (inferior-octave-startup): completion_matches was introduced to
14501 Octave in 1996 so safe to assume it.
14502 (octave-function-file-comment): Improve to follow how Octave does it.
14503 (octave-update-function-file-comment): Tweak.
14504
14505 2013-04-29 Leo Liu <sdl.web@gmail.com>
14506
14507 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
14508 (inferior-octave-startup): Remove inferior-octave-startup-hook.
14509 (octave-function-file-comment): Fix typo.
14510 (octave-sync-function-file-names): Use read-char-choice.
14511
14512 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
14513
14514 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
14515 to t for the less important warnings.
14516
14517 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
14518
14519 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
14520
14521 2013-04-27 Glenn Morris <rgm@gnu.org>
14522
14523 * vc/log-view.el (log-view-current-entry):
14524 Treat "---" separator lines as part of the following rev. (Bug#14169)
14525
14526 2013-04-27 Juri Linkov <juri@jurta.org>
14527
14528 * subr.el (read-number): Doc fix about using it by interactive
14529 code letter `n'. (Bug#14254)
14530
14531 2013-04-27 Juri Linkov <juri@jurta.org>
14532
14533 * desktop.el (desktop-auto-save-timeout): New option.
14534 (desktop-file-checksum): New variable.
14535 (desktop-save): Add optional arg `auto-save' and don't auto-save
14536 if nothing changed.
14537 (desktop-auto-save-timer): New variable.
14538 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
14539 (after-init-hook): Call `desktop-auto-save-set-timer'.
14540 Suggested by Reuben Thomas <rrt@sc3d.org> in
14541 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
14542
14543 2013-04-27 Leo Liu <sdl.web@gmail.com>
14544
14545 * progmodes/octave.el (octave-function-file-p)
14546 (octave-skip-comment-forward, octave-function-file-comment)
14547 (octave-update-function-file-comment): New functions.
14548 (octave-mode-map): Bind C-c ; to
14549 octave-update-function-file-comment.
14550 (octave-mode-menu): Add octave-update-function-file-comment.
14551 (octave-mode, inferior-octave-mode): Fix doc-string.
14552 (octave-insert-defun): Conform to Octave's coding convention.
14553 (Bug#14285)
14554
14555 * files.el (basic-save-buffer): Don't let errors in
14556 before-save-hook prevent saving buffer.
14557
14558 2013-04-20 Roland Winkler <winkler@gnu.org>
14559
14560 * faces.el (read-face-name): Use completing-read if arg multiple
14561 is nil.
14562
14563 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
14564
14565 * ls-lisp.el (ls-lisp-insert-directory): If no files are
14566 displayed, move point to after the totals line.
14567 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
14568 for the details.
14569
14570 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
14571
14572 * emacs-lisp/package.el (package-autoload-ensure-default-file):
14573 Add current dir to the load-path.
14574 (package-generate-autoloads): Don't rely on
14575 autoload-ensure-default-file.
14576
14577 2013-04-26 Reuben Thomas <rrt@sc3d.org>
14578
14579 * textmodes/remember.el (remember-store-in-files): Document that
14580 the file name format is passed to `format-time-string'.
14581
14582 2013-04-26 Leo Liu <sdl.web@gmail.com>
14583
14584 * progmodes/octave.el (octave-sync-function-file-names): New function.
14585 (octave-mode): Use it in before-save-hook.
14586
14587 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
14588
14589 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
14590 (bug#14274).
14591
14592 * progmodes/octave.el (octave-smie-forward-token): Properly skip
14593 \n and comment, even if it's not an implicit ; (bug#14218).
14594
14595 2013-04-26 Glenn Morris <rgm@gnu.org>
14596
14597 * subr.el (read-number): Once more use `read' rather than
14598 `string-to-number', to trap non-numeric input. (Bug#14254)
14599
14600 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
14601
14602 * emacs-lisp/syntax.el (syntax-propertize-multiline):
14603 Use `syntax-multiline' text property consistently instead of
14604 `font-lock-multiline'. (Bug#14237)
14605
14606 2013-04-26 Glenn Morris <rgm@gnu.org>
14607
14608 * emacs-lisp/shadow.el (list-load-path-shadows):
14609 No longer necessary to check for duplicate simple.el, since
14610 2012-07-07 change to init_lread to not include installation lisp
14611 directories in load-path when running uninstalled. (Bug#14270)
14612
14613 2013-04-26 Leo Liu <sdl.web@gmail.com>
14614
14615 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
14616 (octave-mode, inferior-octave-mode): Use setq-local.
14617 (octave-not-in-string-or-comment-p): Rename to
14618 octave-in-string-or-comment-p.
14619 (octave-in-comment-p, octave-in-string-p)
14620 (octave-in-string-or-comment-p): Replace defsubst with defun.
14621
14622 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
14623
14624 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
14625
14626 2013-04-25 Bastien Guerry <bzg@gnu.org>
14627
14628 * textmodes/remember.el (remember-data-directory)
14629 (remember-directory-file-name-format): Fix custom types.
14630
14631 2013-04-25 Leo Liu <sdl.web@gmail.com>
14632
14633 * progmodes/octave.el (octave-completion-at-point-function):
14634 Make use of inferior octave process.
14635 (octave-initialize-completions): Remove.
14636 (inferior-octave-completion-table): New function.
14637 (inferior-octave-completion-at-point): Use it.
14638 (octave-completion-alist): Remove.
14639
14640 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14641
14642 * progmodes/opascal.el: Use font-lock and syntax-propertize.
14643 (opascal-mode-syntax-table): New var.
14644 (opascal-literal-kind, opascal-is-literal-end)
14645 (opascal-literal-token-at): Rewrite.
14646 (opascal--literal-start-re, opascal-font-lock-keywords)
14647 (opascal--syntax-propertize): New constants.
14648 (opascal-font-lock-defaults): Adjust.
14649 (opascal-mode): Use them. Set comment-<foo> variables as well.
14650 (delphi-comment-face, opascal-comment-face, delphi-string-face)
14651 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
14652 (delphi-other-face, opascal-other-face): Remove face variables.
14653 (opascal-save-state): Remove macro.
14654 (opascal-fontifying-progress-step): Remove constant.
14655 (opascal--ignore-changes): Remove var.
14656 (opascal-set-token-property, opascal-parse-next-literal)
14657 (opascal-is-stable-literal, opascal-complete-literal)
14658 (opascal-is-literal-start, opascal-face-of)
14659 (opascal-parse-region, opascal-parse-region-until-stable)
14660 (opascal-fontify-region, opascal-after-change)
14661 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
14662 (opascal-debug-parse-region, opascal-debug-parse-window)
14663 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
14664 (opascal-debug-fontify-buffer): Remove.
14665 (opascal-debug-mode-map): Adjust accordingly.
14666
14667 2013-04-25 Leo Liu <sdl.web@gmail.com>
14668
14669 Merge octave-mod.el and octave-inf.el into octave.el with some
14670 cleanups.
14671 * progmodes/octave.el: New file renamed from octave-mod.el.
14672 * progmodes/octave-inf.el: Merged into octave.el.
14673 * progmodes/octave-mod.el: Renamed to octave.el.
14674
14675 2013-04-25 Tassilo Horn <tsdh@gnu.org>
14676
14677 * textmodes/reftex-vars.el
14678 (reftex-label-ignored-macros-and-environments): New defcustom.
14679
14680 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
14681
14682 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14683
14684 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
14685 (smie-indent-keyword): Improve the check to ensure that the next
14686 comment is really on the same line.
14687 (smie-indent-comment): Don't align with a subsequent closer (or eob).
14688
14689 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
14690 semi-colons if the line is not otherwise empty (bug#14218).
14691
14692 2013-04-25 Glenn Morris <rgm@gnu.org>
14693
14694 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
14695
14696 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
14697
14698 * progmodes/opascal.el (opascal-set-token-property): Rename from
14699 opascal-set-text-properties and only set `token' (bug#14134).
14700 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
14701 (opascal-literal-text-properties): Remove.
14702 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
14703 Adjust callers.
14704
14705 2013-04-24 Reuben Thomas <rrt@sc3d.org>
14706
14707 * textmodes/remember.el (remember-handler-functions): Add an
14708 option for a new handler `remember-store-in-files'.
14709 (remember-data-directory, remember-directory-file-name-format):
14710 New options.
14711 (remember-store-in-files): New function to store remember notes
14712 as separate files within a directory.
14713
14714 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
14715
14716 * progmodes/compile.el (compilation-next-error-function):
14717 Pass "formats" to compilation-find-file (bug#11777).
14718
14719 2013-04-24 Glenn Morris <rgm@gnu.org>
14720
14721 * vc/vc-bzr.el (vc-bzr-print-log):
14722 * vc/vc-hg.el (vc-hg-print-log):
14723 * vc/vc-svn.el (vc-svn-print-log):
14724 Fix START-REVISION with LIMIT != 1. (Bug#14168)
14725
14726 * vc/vc-bzr.el (vc-bzr-print-log):
14727 * vc/vc-cvs.el (vc-cvs-print-log):
14728 * vc/vc-git.el (vc-git-print-log):
14729 * vc/vc-hg.el (vc-hg-print-log):
14730 * vc/vc-mtn.el (vc-mtn-print-log):
14731 * vc/vc-rcs.el (vc-rcs-print-log):
14732 * vc/vc-sccs.el (vc-sccs-print-log):
14733 * vc/vc-svn.el (vc-svn-print-log):
14734 * vc/vc.el (vc-print-log-internal): Doc fixes.
14735
14736 2013-04-23 Glenn Morris <rgm@gnu.org>
14737
14738 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
14739 Remove venerable code attempting to avoid substitute-command-keys.
14740
14741 2013-04-23 Tassilo Horn <tsdh@gnu.org>
14742
14743 * textmodes/reftex-vars.el (reftex-label-regexps):
14744 Call `reftex-compile-variables' after changes to this variable.
14745
14746 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
14747
14748 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
14749 Use lexical-binding.
14750 (jit-lock-force-redisplay): Use markers, check buffer's continued
14751 existence and beware narrowed buffers.
14752 (jit-lock-fontify-now): Adjust call accordingly.
14753
14754 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
14755
14756 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
14757 to avoid misleading the user.
14758
14759 2013-04-22 Leo Liu <sdl.web@gmail.com>
14760
14761 * info-look.el: Prefer latex2e.info. (Bug#14240)
14762
14763 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
14764
14765 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
14766
14767 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
14768 * net/tramp.el (tramp-call-process): ... here.
14769 (tramp-set-completion-function, tramp-parse-putty):
14770 * net/tramp-adb.el (tramp-adb-execute-adb-command):
14771 * net/tramp-gvfs.el (tramp-gvfs-send-command):
14772 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
14773 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
14774 (tramp-call-local-coding-command): Use `tramp-call-process'
14775 instead of `tramp-compat-call-process'.
14776
14777 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
14778 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
14779 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
14780 (tramp-find-inline-compress): Improve traces.
14781 (tramp-maybe-send-script): Check for Perl binary.
14782 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
14783
14784 2013-04-22 Daiki Ueno <ueno@gnu.org>
14785
14786 * epg.el (epg-context-pinentry-mode): New function.
14787 (epg-context-set-pinentry-mode): New function.
14788 (epg--start): Pass --pinentry-mode option to gpg command.
14789
14790 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
14791
14792 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
14793 `comint-dynamic-complete' is obsolete since 24.1, replaced by
14794 `completion-at-point'. (Bug#13774)
14795
14796 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
14797 default key binding for `describe-distribution' has been moved to
14798 `C-h C-o'. (Bug#13970)
14799
14800 2013-04-21 Glenn Morris <rgm@gnu.org>
14801
14802 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
14803 Add doc strings.
14804 (vc-print-log): Clarify interactive prompt.
14805
14806 2013-04-20 Glenn Morris <rgm@gnu.org>
14807
14808 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
14809 No longer include timestamp etc information.
14810
14811 2013-04-20 Roland Winkler <winkler@gnu.org>
14812
14813 * faces.el (read-face-name): Bug fix, return just one face if arg
14814 multiple is nil. (Bug#14209)
14815
14816 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14817
14818 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
14819 (remove-function): Autoload.
14820
14821 * comint.el (comint-redirect-original-filter-function): Remove.
14822 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
14823 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
14824 (vc-cvs-annotate-command):
14825 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
14826 * progmodes/prolog.el (prolog-consult-compile):
14827 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
14828 Use add/remove-function instead.
14829 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
14830 (gud-tooltip-process-output, gud-tooltip-tips):
14831 Use add/remove-function instead.
14832 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
14833 (scheme-interaction-mode, exit-scheme-interaction-mode):
14834 Use add/remove-function instead.
14835
14836 * vc/vc-dispatcher.el: Use lexical-binding.
14837 (vc--process-sentinel): Rename from vc-process-sentinel.
14838 Change last arg to be the code to run. Don't use vc-previous-sentinel
14839 and vc-sentinel-commands any more.
14840 (vc-exec-after): Allow code to be a function. Use add/remove-function.
14841 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
14842
14843 2013-04-19 Masatake YAMATO <yamato@redhat.com>
14844
14845 * progmodes/sh-script.el (sh-imenu-generic-expression):
14846 Handle function names with a single character. (Bug#14111)
14847
14848 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
14849
14850 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
14851 for subroutines defined in an eval (bug#14182).
14852
14853 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14854
14855 * bookmark.el (bookmark-completing-read): Improve handling of empty
14856 string (bug#14176).
14857
14858 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
14859
14860 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
14861
14862 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
14863
14864 New faster Imenu implementation (bug#14058).
14865 * progmodes/python.el (python-imenu-prev-index-position)
14866 (python-imenu-format-item-label-function)
14867 (python-imenu-format-parent-item-label-function)
14868 (python-imenu-format-parent-item-jump-label-function):
14869 New vars.
14870 (python-imenu-format-item-label)
14871 (python-imenu-format-parent-item-label)
14872 (python-imenu-format-parent-item-jump-label)
14873 (python-imenu--put-parent, python-imenu--build-tree)
14874 (python-imenu-create-index, python-imenu-create-flat-index)
14875 (python-util-popn): New functions.
14876 (python-mode): Set imenu-create-index-function to
14877 python-imenu-create-index.
14878
14879 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
14880
14881 * winner.el (winner-active-region): Use region-active-p, activate-mark
14882 and deactivate-mark (bug#14225).
14883
14884 * simple.el (deactivate-mark): Don't inline it.
14885
14886 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
14887
14888 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
14889
14890 2013-04-18 Tassilo Horn <tsdh@gnu.org>
14891
14892 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
14893 file extensions from the archive-mode entry in order to prefer
14894 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
14895
14896 2013-04-18 Leo Liu <sdl.web@gmail.com>
14897
14898 * bindings.el (help-event-list): Add ?\?.
14899
14900 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
14901
14902 * subr.el (with-wrapper-hook): Declare obsolete.
14903 * simple.el (filter-buffer-substring-function): New hook.
14904 (filter-buffer-substring): Use it.
14905 (filter-buffer-substring-functions): Mark obsolete.
14906 * minibuffer.el (completion-in-region-function): New hook.
14907 (completion-in-region): Use it.
14908 (completion-in-region-functions): Mark obsolete.
14909 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
14910 * abbrev.el (abbrev-expand-function): New hook.
14911 (expand-abbrev): Use it.
14912 (abbrev-expand-functions): Mark obsolete.
14913 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
14914 and :filter-return.
14915
14916 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
14917
14918 * progmodes/python.el (python-nav--syntactically): Fix cornercases
14919 and do not care about match data.
14920
14921 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
14922
14923 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
14924 completion tables when completing error conditions and
14925 `declare' arguments.
14926 (lisp-complete-symbol, field-complete): Mark as obsolete.
14927 (check-parens): Unmatched parens are user errors.
14928 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
14929
14930 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
14931
14932 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
14933 command changed buffer (ie. `flyspell-pre-buffer' is not current
14934 buffer), which prevents making decisions based on invalid value of
14935 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
14936 cause an error when `flyspell-pre-point' was nil after switching
14937 buffers.
14938 (flyspell-post-command-hook): No longer needs to change buffers when
14939 checking pre-word. While at it remove unnecessary progn.
14940
14941 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
14942
14943 * textmodes/ispell.el (ispell-add-per-file-word-list):
14944 Fix `flyspell-correct-word-before-point' error when accepting
14945 words and `coment-padding' is an integer by using
14946 `comment-normalize-vars' (Bug #14214).
14947
14948 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
14949
14950 New defun movement commands.
14951 * progmodes/python.el (python-nav--syntactically)
14952 (python-nav--forward-defun, python-nav-backward-defun)
14953 (python-nav-forward-defun): New functions.
14954
14955 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
14956
14957 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
14958 (python-syntax-context): Use named compiler-macro for backwards
14959 compatibility with Emacs 24.x.
14960
14961 2013-04-17 Leo Liu <sdl.web@gmail.com>
14962
14963 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
14964 octave-hide-process-buffer.
14965
14966 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
14967
14968 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
14969 (bug#14216).
14970
14971 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
14972
14973 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
14974 Fix adjustment of offset when receiving incomplete responses from GDB
14975 (bug#14129).
14976
14977 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
14978
14979 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
14980 python-mode-abbrev-table.
14981 (python-skeleton-define): Adjust accordingly.
14982 (python-mode-abbrev-table): New table that inherits from it so that
14983 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
14984
14985 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
14986 (abbrev-symbol): Use it.
14987 (abbrev--before-point): Use it since we already handle inheritance.
14988
14989 2013-04-16 Leo Liu <sdl.web@gmail.com>
14990
14991 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
14992 binding to info-lookup-symbol.
14993
14994 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
14995
14996 * minibuffer.el (completion--twq-all):
14997 * term/ns-win.el (ns-initialize-window-system):
14998 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
14999
15000 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15001
15002 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
15003 global bindings.
15004
15005 * doc-view.el (doc-view-start-process): Handle url-handler directories.
15006
15007 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
15008
15009 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
15010 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
15011 to nil.
15012 (ruby-end-of-defun): Remove the unused arg, change the docstring
15013 to reflect that this function is only used as the value of
15014 `end-of-defun-function'.
15015 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
15016 to reflect an earlier change that beginning/end-of-defun functions
15017 jump between methods in a class definition, as well as top-level
15018 functions.
15019
15020 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15021
15022 * minibuffer.el (minibuffer-complete): Don't just scroll
15023 a *Completions* that's been iconified.
15024 (minibuffer-force-complete): Make sure repetitions do cycle when going
15025 through completion-in-region -> minibuffer-complete.
15026
15027 2013-04-15 Alan Mackenzie <acm@muc.de>
15028
15029 Correct the placement of c-cpp-delimiters when there're #s not at
15030 col 0.
15031
15032 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
15033 place a submatch around the #.
15034 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
15035 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
15036 on the #, not BOL.
15037
15038 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15039
15040 * emacs-lisp/nadvice.el: Properly test names when adding advice.
15041 (advice--member-p): New arg `name'.
15042 (advice--add-function, advice-member-p): Use it (bug#14202).
15043
15044 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
15045
15046 Reformulate java imenu-generic-expression.
15047 The old expression contained ill formed regexps.
15048
15049 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
15050 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
15051 (cc-imenu-java-method-arg-regexp): New defconsts.
15052 (cc-imenu-java-build-type-args-regex): New defun.
15053 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
15054 handling of spaces in the regexp.
15055
15056 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15057
15058 * textmodes/ispell.el (ispell-command-loop): Remove
15059 flyspell highlight of a word when ispell accepts it (bug #14178).
15060
15061 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
15062
15063 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
15064 uses code from the previous `ange-ftp-run-real-handler'.
15065 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
15066 only in case that function exist. This is needed for proper
15067 unloading of Tramp.
15068
15069 2013-04-15 Tassilo Horn <tsdh@gnu.org>
15070
15071 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
15072
15073 * textmodes/reftex.el (reftex-compile-variables): Use it.
15074
15075 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15076
15077 * files.el (normal-mode): Only use default major-mode if no other mode
15078 was specified.
15079
15080 * emacs-lisp/trace.el (trace-values): New function.
15081
15082 * files.el: Allow : in local variables (bug#14089).
15083 (hack-local-variable-regexp): New var.
15084 (hack-local-variables-prop-line, hack-local-variables): Use it.
15085
15086 2013-04-13 Roland Winkler <winkler@gnu.org>
15087
15088 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
15089 data before it gets modified by bibtex-beginning-of-entry.
15090
15091 2013-04-13 Roland Winkler <winkler@gnu.org>
15092
15093 * textmodes/bibtex.el (bibtex-url): Doc fix.
15094
15095 2013-04-13 Roland Winkler <winkler@gnu.org>
15096
15097 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
15098 does not visit a BibTeX file, exclude it from the list of buffers
15099 returned by bibtex-initialize.
15100
15101 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
15102
15103 * window.el (split-window): Remove interactive form, since as a
15104 command this function is a special case of split-window-below.
15105 Correct doc string.
15106
15107 2013-04-12 Roland Winkler <winkler@gnu.org>
15108
15109 * faces.el (read-face-name): Do not override value of arg default.
15110 Allow single faces and strings as default values. Remove those
15111 elements from return value that are not faces.
15112 (describe-face): Simplify.
15113 (face-at-point): New optional args thing and multiple so that this
15114 function can provide the same functionality previously provided by
15115 read-face-name.
15116 (make-face-bold, make-face-unbold, make-face-italic)
15117 (make-face-unitalic, make-face-bold-italic, invert-face)
15118 (modify-face, read-face-and-attribute): Use face-at-point.
15119
15120 * cus-edit.el (customize-face, customize-face-other-window)
15121 * cus-theme.el (custom-theme-add-face)
15122 * face-remap.el (buffer-face-set)
15123 * facemenu.el (facemenu-set-face): Use face-at-point.
15124
15125 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
15126
15127 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
15128
15129 2013-04-10 Tassilo Horn <tsdh@gnu.org>
15130
15131 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
15132 off leading { and trailing } from field values.
15133
15134 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
15135
15136 * emacs-lisp/timer.el (timer--check): New function.
15137 (timer--time, timer-set-function, timer-event-handler): Use it.
15138 (timer-set-idle-time): Simplify.
15139 (timer--activate): CSE.
15140 (timer-event-handler): Give more info in error message.
15141 (internal-timer-start-idle): New function, moved from C.
15142
15143 * mpc.el (mpc-proc): Add `restart' argument.
15144 (mpc-proc-cmd): Use it.
15145 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
15146 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
15147 less often.
15148
15149 2013-04-10 Masatake YAMATO <yamato@redhat.com>
15150
15151 * progmodes/sh-script.el: Implement `sh-mode' own
15152 `add-log-current-defun-function' (bug#14112).
15153 (sh-current-defun-name): New function.
15154 (sh-mode): Use the function.
15155
15156 2013-04-09 Bastien Guerry <bzg@gnu.org>
15157
15158 * simple.el (choose-completion-string): Fix docstring (bug#14163).
15159
15160 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
15161
15162 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
15163
15164 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
15165 timer (bug#14156).
15166
15167 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
15168
15169 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
15170 declaration.
15171
15172 2013-04-07 Leo Liu <sdl.web@gmail.com>
15173
15174 * pcmpl-x.el: New file.
15175
15176 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
15177
15178 Do not set x-display-name until X connection is established.
15179 This is needed to prevent from weird situation described at
15180 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
15181 * frame.el (make-frame): Set x-display-name after call to
15182 window system initialization function, not before.
15183 * term/x-win.el (x-initialize-window-system): Add optional
15184 display argument and use it.
15185 * term/w32-win.el (w32-initialize-window-system):
15186 * term/ns-win.el (ns-initialize-window-system):
15187 * term/pc-win.el (msdos-initialize-window-system):
15188 Add compatible optional display argument.
15189
15190 2013-04-06 Eli Zaretskii <eliz@gnu.org>
15191
15192 * files.el (normal-backup-enable-predicate): On MS-Windows and
15193 MS-DOS compare truenames of temporary-file-directory and of the
15194 file, so that 8+3 aliases (usually found in $TEMP on Windows)
15195 don't fail comparison by compare-strings. Also, compare file
15196 names case-insensitively on MS-Windows and MS-DOS.
15197
15198 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15199
15200 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
15201 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
15202
15203 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
15204
15205 * whitespace.el (whitespace-color-on, whitespace-color-off):
15206 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
15207
15208 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
15209
15210 * ispell.el (ispell-set-spellchecker-params):
15211 Really set `ispell-args' for all equivs.
15212
15213 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15214
15215 * ido.el (ido-completions): Use extra elements of ido-decorations
15216 (bug#14143).
15217 (ido-decorations): Update docstring.
15218
15219 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
15220
15221 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
15222 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
15223 nil during initialization, in order not to miss changes since the
15224 file was opened. (Bug#14140)
15225
15226 2013-04-05 Leo Liu <sdl.web@gmail.com>
15227
15228 * kmacro.el (kmacro-call-macro): Fix bug#14135.
15229
15230 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
15231
15232 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
15233
15234 2013-04-04 Glenn Morris <rgm@gnu.org>
15235
15236 * electric.el (electric-pair-inhibit-predicate): Add :version.
15237
15238 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15239
15240 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
15241 when a package is required several times (bug#14082).
15242
15243 2013-04-04 Roland Winkler <winkler@gnu.org>
15244
15245 * faces.el (read-face-name): Behave as promised by the docstring.
15246 Assume that arg default is a list of faces.
15247 (describe-face): Call read-face-name with list of default faces.
15248
15249 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15250
15251 * bookmark.el: Fix deletion of bookmarks (bug#13972).
15252 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
15253 (bookmark-bmenu-execute-deletions): Only skip first line if it's
15254 the header.
15255 (bookmark-exit-hook-internal): Save even if list is empty.
15256
15257 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
15258
15259 * emacs-lisp/package.el (package-pinned-packages): New var.
15260 (package--add-to-archive-contents): Obey it (bug#14118).
15261
15262 2013-04-03 Alan Mackenzie <acm@muc.de>
15263
15264 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
15265 Also adapt to the new values of element 7 of a parse state.
15266
15267 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
15268 parameter `not-in-delimiter'. Handle being inside comment opener.
15269 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
15270 character in case we're typing a '*' after a '/'.
15271 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
15272 instead by passing the parameter to c-state-pp-to-literal.
15273
15274 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
15275 for elt. 7 of a parse state.
15276
15277 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
15278
15279 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
15280 * international/latin1-disp.el, international/mule-util.el:
15281 * language/cyril-util.el, language/european.el, language/ind-util.el:
15282 * language/lao-util.el, language/thai.el, language/tibet-util.el:
15283 * language/tibetan.el, language/viet-util.el:
15284 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
15285
15286 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
15287
15288 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
15289 (electric-pair-post-self-insert-function): Use it.
15290 (electric-pair-default-inhibit): New function, extracted from
15291 electric-pair-post-self-insert-function.
15292
15293 2013-03-31 Roland Winkler <winkler@gnu.org>
15294
15295 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
15296
15297 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
15298
15299 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
15300
15301 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
15302
15303 Un-indent after "pass" and "return" statements (Bug#13888)
15304 * progmodes/python.el (python-indent-block-enders): New var.
15305 (python-indent-calculate-indentation): Use it.
15306
15307 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
15308
15309 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
15310 defun. Defining it as defalias could introduce too eager
15311 byte-compiler optimization. (Bug#14030)
15312
15313 2013-03-30 Chong Yidong <cyd@gnu.org>
15314
15315 * iswitchb.el (iswitchb-read-buffer): Fix typo.
15316
15317 2013-03-30 Leo Liu <sdl.web@gmail.com>
15318
15319 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
15320 (kmacro-execute-from-register): Pass the keyboard macro to
15321 kmacro-call-macro or repeating won't work correctly.
15322
15323 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
15324
15325 * progmodes/subword.el: Back to using `forward-symbol'.
15326
15327 * subr.el (forward-whitespace, forward-symbol)
15328 (forward-same-syntax): Move from thingatpt.el.
15329
15330 2013-03-29 Leo Liu <sdl.web@gmail.com>
15331
15332 * kmacro.el (kmacro-to-register): New command.
15333 (kmacro-execute-from-register): New function.
15334 (kmacro-keymap): Bind to 'x'. (Bug#14071)
15335
15336 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
15337
15338 * mpc.el: Use defvar-local and setq-local.
15339 (mpc--proc-connect): Connection failures are not bugs.
15340 (mpc-mode-map): `follow-link' only applies to the buffer's content.
15341 (mpc-volume-map): Bind to the up-events.
15342
15343 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
15344
15345 * progmodes/subword.el (superword-mode): Use `forward-sexp'
15346 instead of `forward-symbol'.
15347
15348 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
15349
15350 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
15351 (edebug--recursive-edit): Use it.
15352 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
15353 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
15354
15355 2013-03-28 Leo Liu <sdl.web@gmail.com>
15356
15357 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
15358
15359 2013-03-27 Eli Zaretskii <eliz@gnu.org>
15360
15361 * facemenu.el (list-colors-callback): New defvar.
15362 (list-colors-redisplay): New function.
15363 (list-colors-display): Install list-colors-redisplay as the
15364 revert-buffer-function. (Bug#14063)
15365
15366 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
15367
15368 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
15369 and suffixes don't overlap (bug#14061).
15370
15371 * case-table.el: Use lexical-binding.
15372 (case-table-get-table): New function.
15373 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
15374
15375 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
15376
15377 * progmodes/subword.el: Add `superword-mode' to do word motion
15378 over symbol_words (parallels and leverages `subword-mode' which
15379 does word motion inside MixedCaseWords).
15380
15381 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
15382
15383 * eshell/em-unix.el: Move su and sudo to...
15384 * eshell/em-tramp.el: ...Eshell tramp module.
15385
15386 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15387
15388 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
15389 Change return value to be a sexp. Delay `get-buffer' to after
15390 restoring the desktop (bug#13951).
15391
15392 2013-03-26 Leo Liu <sdl.web@gmail.com>
15393
15394 * register.el: Move semantic tag handling back to
15395 cedet/semantic/senator.el. (Bug#14052)
15396
15397 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15398
15399 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
15400 into the prompt either (bug#13963).
15401
15402 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
15403
15404 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
15405 part of "(error-foo)".
15406
15407 2013-03-24 Juri Linkov <juri@jurta.org>
15408
15409 * replace.el (list-matching-lines-prefix-face): New defcustom.
15410 (occur-1): Pass `list-matching-lines-prefix-face' to the function
15411 `occur-engine' if `face-differs-from-default-p' returns t.
15412 (occur-engine): Add `,' inside backquote construct to evaluate
15413 `prefix-face'. Propertize the prefix with the `prefix-face' face.
15414 Pass `prefix-face' to the functions `occur-context-lines' and
15415 `occur-engine-add-prefix'.
15416 (occur-engine-add-prefix, occur-context-lines): Add optional arg
15417 `prefix-face' and propertize the prefix with `prefix-face'.
15418 (Bug#14017)
15419
15420 2013-03-24 Leo Liu <sdl.web@gmail.com>
15421
15422 * nxml/rng-valid.el (rng-validate-while-idle)
15423 (rng-validate-quick-while-idle): Guard against deleted buffer.
15424 (Bug#13999)
15425
15426 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
15427 is the last entry in kill-buffer-hook.
15428
15429 * files.el (kill-buffer-hook): Doc fix.
15430
15431 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
15432
15433 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
15434 Make it safe-local.
15435
15436 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
15437
15438 2013-03-23 Leo Liu <sdl.web@gmail.com>
15439
15440 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
15441 Remove.
15442
15443 * nxml/rng-valid.el (rng-validate-mode)
15444 (rng-after-change-function, rng-do-some-validation):
15445 * nxml/rng-maint.el (rng-validate-buffer):
15446 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
15447 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
15448 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
15449 (nxml-extend-after-change-region): Use with-silent-modifications.
15450
15451 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
15452 timer-idle-list.
15453
15454 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
15455 (rng-next-error-1, rng-previous-error-1): Do not let-bind
15456 timer-idle-list. (Bug#13999)
15457
15458 2013-03-23 Juri Linkov <juri@jurta.org>
15459
15460 * info.el (info-index-match): New face.
15461 (Info-index, Info-apropos-matches): Add a nested subgroup to the
15462 main pattern and add text properties with the new face to matches
15463 in index entries relative to the beginning of the index entry.
15464 (Bug#14015)
15465
15466 2013-03-21 Eric Ludlam <zappo@gnu.org>
15467
15468 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
15469 Inhibit read only while inserting objects.
15470
15471 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
15472
15473 * progmodes/cfengine.el: Update docs to mention
15474 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
15475 symbol motion. Remove "_" from the word syntax.
15476
15477 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
15478
15479 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
15480 syntax for both `cfengine2-mode' and `cfengine3-mode'.
15481
15482 2013-03-20 Juri Linkov <juri@jurta.org>
15483
15484 * info.el (Info-next-reference-or-link)
15485 (Info-prev-reference-or-link): New functions.
15486 (Info-next-reference, Info-prev-reference): Use them.
15487 (Info-try-follow-nearest-node): Handle footnote navigation.
15488 (Info-fontify-node): Fontify footnotes. (Bug#13989)
15489
15490 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
15491
15492 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
15493 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
15494
15495 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
15496
15497 Suppress unnecessary non-ASCII chatter during build process.
15498 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
15499 (batch-skkdic-convert): Suppress most of the chatter.
15500 It's not needed so much now that machines are faster,
15501 and its non-ASCII component was confusing; see Dmitry Gutov in
15502 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
15503
15504 2013-03-20 Leo Liu <sdl.web@gmail.com>
15505
15506 * ido.el (ido-chop): Fix bug#10994.
15507
15508 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
15509
15510 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
15511 Remove vars.
15512 (whitespace-color-on, whitespace-color-off):
15513 Use `font-lock-fontify-buffer' (Bug#13817).
15514
15515 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
15516
15517 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
15518 remapping in mode-line.
15519 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
15520
15521 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
15522
15523 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
15524 value for `whitespace-line' face (Bug#13875).
15525 (whitespace-font-lock-keywords): Change description.
15526 (whitespace-color-on): Don't save `font-lock-keywords' value, save
15527 the constructed keywords instead.
15528 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
15529
15530 2013-03-19 Leo Liu <sdl.web@gmail.com>
15531
15532 * progmodes/compile.el (compilation-display-error): New command.
15533 (compilation-mode-map, compilation-minor-mode-map): Bind it to
15534 C-o. (Bug#13992)
15535
15536 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
15537
15538 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
15539
15540 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
15541
15542 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
15543
15544 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
15545
15546 * net/tramp-compat.el (tramp-compat-user-error): New defun.
15547
15548 * net/tramp-adb.el (tramp-adb-handle-shell-command):
15549 * net/tramp-gvfs.el (top):
15550 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
15551 (tramp-handle-shell-command): Use it.
15552 (tramp-dissect-file-name): Raise an error when hostname is a
15553 method name, and neither method nor user is specified.
15554
15555 * net/trampver.el: Update release number.
15556
15557 2013-03-18 Leo Liu <sdl.web@gmail.com>
15558
15559 Make sure eldoc can be turned off properly.
15560 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
15561 eldoc-mode.
15562 (eldoc-display-message-p): Revert last change.
15563 (eldoc-display-message-no-interference-p)
15564 (eldoc-print-current-symbol-info): Tweak.
15565
15566 2013-03-18 Tassilo Horn <tsdh@gnu.org>
15567
15568 * doc-view.el (doc-view-new-window-function): Check the new window
15569 overlay's display property instead the char property of the
15570 buffer's first char. Use `with-selected-window' instead of
15571 `save-window-excursion' with `select-window'.
15572 (doc-view-document->bitmap): Check the current doc-view overlay's
15573 display property instead the char property of the buffer's first char.
15574
15575 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
15576
15577 Automate the build of ja-dic.el (Bug#13984).
15578 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
15579 from the input, rather than assume that it's been done for us by the
15580 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
15581 the current date into a ja-dic.el comment, as that complicates
15582 regression testing.
15583
15584 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
15585
15586 * whitespace.el: Fix double evaluation.
15587 (whitespace-space, whitespace-hspace, whitespace-tab)
15588 (whitespace-newline, whitespace-trailing, whitespace-line)
15589 (whitespace-space-before-tab, whitespace-indentation)
15590 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
15591 obsolete defvars.
15592 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
15593 (whitespace-color-on): Use a single font-lock-add-keywords call.
15594 Fix double-evaluation of face variables.
15595
15596 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
15597
15598 * net/tramp-adb.el (tramp-adb-parse-device-names):
15599 Use `start-process' instead of `call-process'. Otherwise, the
15600 function might be blocked under MS Windows. (Bug#13299)
15601
15602 2013-03-17 Leo Liu <sdl.web@gmail.com>
15603
15604 Extend eldoc to display info in the mode-line. (Bug#13978)
15605 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
15606 (eldoc-mode-line-string): New variable.
15607 (eldoc-minibuffer-message): New function.
15608 (eldoc-message-function): New variable.
15609 (eldoc-message): Use it.
15610 (eldoc-display-message-p)
15611 (eldoc-display-message-no-interference-p):
15612 Support eldoc-post-insert-mode.
15613
15614 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
15615 (eval-expression): Run it.
15616
15617 2013-03-17 Roland Winkler <winkler@gnu.org>
15618
15619 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
15620 strings in the list of return values.
15621
15622 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
15623
15624 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
15625 radix before checking for HMS forms.
15626
15627 2013-03-16 Leo Liu <sdl.web@gmail.com>
15628
15629 * progmodes/scheme.el: Add indentation and font-locking for λ.
15630 (Bug#13975)
15631
15632 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
15633
15634 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
15635 token before point (bug#13942).
15636
15637 2013-03-16 Leo Liu <sdl.web@gmail.com>
15638
15639 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
15640
15641 2013-03-16 Eli Zaretskii <eliz@gnu.org>
15642
15643 * startup.el (command-line-normalize-file-name): Fix handling of
15644 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
15645 <xfq.free@gmail.com> in
15646 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
15647
15648 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
15649
15650 Sync with Tramp 2.2.7.
15651
15652 * net/trampver.el: Update release number.
15653
15654 2013-03-14 Tassilo Horn <tsdh@gnu.org>
15655
15656 * doc-view.el: Fix bug#13887.
15657 (doc-view-insert-image): Don't modify overlay associated to
15658 non-live windows, and implement horizontal centering of image in
15659 case it's smaller than the window.
15660 (doc-view-new-window-function): Force redisplay of new windows on
15661 doc-view buffers.
15662
15663 2013-03-13 Karl Fogel <kfogel@red-bean.com>
15664
15665 * saveplace.el (save-place-alist-to-file): Don't sort
15666 `save-place-alist', just pretty-print it (bug#13882).
15667
15668 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
15669
15670 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
15671 Check whether `default-file-name-coding-system' is bound.
15672 It isn't in XEmacs.
15673
15674 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
15675
15676 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
15677 backquotes for `obsolete' (bug#13929).
15678
15679 * international/mule.el (find-auto-coding): Include file name in
15680 obsolescence warning (bug#13922).
15681
15682 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
15683
15684 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
15685 for CFEngine 3-specific indentation.
15686 (cfengine3-indent-line): Use it. Fix up category regex.
15687 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
15688
15689 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15690
15691 * type-break.el (type-break-file-name):
15692 * textmodes/remember.el (remember-data-file):
15693 * strokes.el (strokes-file):
15694 * shadowfile.el (shadow-initialize):
15695 * saveplace.el (save-place-file):
15696 * ps-bdf.el (bdf-cache-file):
15697 * progmodes/idlwave.el (idlwave-config-directory):
15698 * net/quickurl.el (quickurl-url-file):
15699 * international/kkc.el (kkc-init-file-name):
15700 * ido.el (ido-save-directory-list-file):
15701 * emulation/viper.el (viper-custom-file-name):
15702 * emulation/vip.el (vip-startup-file):
15703 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
15704 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
15705
15706 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
15707
15708 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
15709 * language/thai-word.el: Switch to UTF-8.
15710
15711 See ChangeLog.16 for earlier changes.
15712
15713 ;; Local Variables:
15714 ;; coding: utf-8
15715 ;; End:
15716
15717 Copyright (C) 2011-2014 Free Software Foundation, Inc.
15718
15719 This file is part of GNU Emacs.
15720
15721 GNU Emacs is free software: you can redistribute it and/or modify
15722 it under the terms of the GNU General Public License as published by
15723 the Free Software Foundation, either version 3 of the License, or
15724 (at your option) any later version.
15725
15726 GNU Emacs is distributed in the hope that it will be useful,
15727 but WITHOUT ANY WARRANTY; without even the implied warranty of
15728 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15729 GNU General Public License for more details.
15730
15731 You should have received a copy of the GNU General Public License
15732 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.