* lisp/subr.el (zerop): Move from C. Add compiler-macro.
[bpt/emacs.git] / lisp / ChangeLog
1 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * subr.el (zerop): Move from C. Add compiler-macro (bug#17475).
4 * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
5
6 * subr.el (internal--funcall-interactively): New.
7 (internal--call-interactively): Remove.
8 (called-interactively-p): Detect funcall-interactively instead of
9 call-interactively.
10 * simple.el (repeat-complex-command): Use funcall-interactively.
11 (repeat-complex-command--called-interactively-skip): Remove.
12
13 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
14
15 * register.el (register-read-with-preview): Don't burp on
16 frame switches (e.g. due to the frame we just popped).
17
18 * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
19 (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
20
21 2014-05-26 Andreas Schwab <schwab@linux-m68k.org>
22
23 * cus-face.el (custom-face-attributes): Add :distant-foreground.
24
25 2014-05-26 Martin Rudalics <rudalics@gmx.at>
26
27 * window.el (window--dump-frame): Remove interactive specification.
28
29 2014-05-26 Glenn Morris <rgm@gnu.org>
30
31 * hippie-exp.el (he-line-search-regexp):
32 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
33
34 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
35
36 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
37 to avoid errors when trying to create or visit a file foo.todo
38 located outside to todo-directory, and to allow having such files
39 without them being tied to Todo mode (bug#17482).
40 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
41 (todo-archive-done-item, todo-find-filtered-items-file)
42 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
43 (todo-category-completions, todo-read-category): When visiting a
44 Todo file, make sure we're in the right mode and the buffer local
45 variables are set.
46 (todo-make-categories-list, todo-reset-nondiary-marker)
47 (todo-reset-done-string, todo-reset-comment-string):
48 After processing all Todo files, kill the buffers of those files that
49 weren't being visited before the processing.
50 (todo-display-as-todo-file, todo-add-to-buffer-list)
51 (todo-visit-files-commands): Comment out.
52 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
53 (auto-mode-alist): Remove add-to-list calls making Todo file
54 extensions unrestrictedly tied to Todo modes.
55
56 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
57
58 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
59 (advice-function-member-p): Tell it to check both names and functions
60 (bug#17531).
61 (advice--add-function): Adjust call accordingly.
62
63 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
64
65 * calendar/todo-mode.el: Miscellaneous bug fixes.
66 (todo-delete-file): When deleting an archive but not its todo
67 file, make sure to update the todo file's category sexp.
68 (todo-move-category): Keep the moved category's name unless the
69 file moved to already has a category with that name. If the
70 numerically last category of the source file was moved, make the
71 first category current to avoid selecting a nonexisting category.
72 (todo-merge-category): Fix implementation to make merging to a
73 category in another file work as documented. Eliminate now
74 insufficient and unnecessary renaming of archive category, correct
75 document string accordingly, and clarify it. If the numerically
76 last category of the source file was merged, make the first
77 category current to avoid selecting a nonexisting category.
78 (todo-archive-done-item): When there are marked items and point
79 happens to be on an unmarked item, ignore the latter. Don't leave
80 point below last item after archiving marked items.
81 (todo-unarchive-items): Fix logic to ensure unarchiving an item
82 from an archive with only one category deletes the archive only
83 when the category is empty after unarchiving. Make sure the todo
84 file's category sexp is updated.
85 (todo-read-file-name): Allow an existing file name even when it is
86 not required (todo-move-category needs this to work as documented).
87 (todo-add-file): Call todo-validate-name to reject the name of an
88 existing todo file (needed due to fix in todo-read-file-name).
89 (todo-reset-nondiary-marker): Also reset in filtered items files.
90 (todo-reset-done-string, todo-reset-comment-string): Also reset in
91 regexp filtered items files.
92 (todo-reset-highlight-item): Also reset in filtered items files.
93 Fix incorrect variable reference in document string.
94
95 2014-05-26 Glenn Morris <rgm@gnu.org>
96
97 * window.el (window--dump-frame): Avoid error in --without-x builds.
98
99 2014-05-26 Glenn Morris <rgm@gnu.org>
100
101 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
102
103 2014-05-26 Eli Zaretskii <eliz@gnu.org>
104
105 * frame.el (set-frame-font): Doc fix.
106
107 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
108
109 2014-05-26 Dmitry Gutov <dgutov@yandex.ru>
110
111 * emacs-lisp/package.el (package--download-one-archive):
112 Use `write-region' instead of `save-buffer' to avoid running various
113 hooks. (Bug#17155)
114 (describe-package-1): Same. Insert newline at the end of the
115 buffer if appropriate.
116
117 2014-05-26 Juri Linkov <juri@jurta.org>
118
119 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
120 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
121 Add more modifiers: meta, control, shift, hyper, super, alt.
122 (Bug#17439)
123
124 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
125 to allow changing its value with `set-variable'.
126
127 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
128
129 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
130 #; comments.
131 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
132 New functions.
133 (scheme-mode-variables): Set syntax-propertize-function instead of
134 font-lock-syntactic-face-function.
135 (scheme-font-lock-syntactic-face-function): Delete.
136
137 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
138
139 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
140 (bug#17392).
141
142 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
143
144 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
145 for a temporary file name.
146
147 2014-05-26 Eli Zaretskii <eliz@gnu.org>
148
149 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
150
151 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
152
153 * net/dbus.el (dbus-init-bus, dbus-call-method)
154 (dbus-call-method-asynchronously, dbus-send-signal)
155 (dbus-method-return-internal, dbus-method-error-internal):
156 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
157
158 2014-05-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
159
160 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
161 methods which do not have a doc string. (Bug#17490)
162
163 2014-05-25 Tassilo Horn <tsdh@gnu.org>
164
165 * textmodes/reftex-ref.el (reftex-format-special): Make it work
166 also for AMS Math's \eqref macro.
167
168 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
169
170 Arrange to never byte-compile the generated -pkg.el file.
171
172 * emacs-lisp/package.el (package-generate-description-file):
173 Output first-line comment to set buffer-local var `no-byte-compile'.
174 Suggested by Dmitry Gutov:
175 <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
176
177 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
178
179 Fix bug: Properly quote args to generated -pkg.el `define-package'.
180
181 * emacs-lisp/package.el (package-generate-description-file):
182 Inline `package--alist-to-plist'; rewrite to selectively
183 quote alist values that are not self-quoting.
184 (package--alist-to-plist): Delete func.
185
186 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
187
188 * term/xterm.el (xterm-function-map): Add mapping for shifted
189 keypad keys.
190
191 2014-05-24 Daniel Colascione <dancol@dancol.org>
192
193 * progmodes/subword.el (subword-find-word-boundary): Move point to
194 correct spot before search. (Bug#17580)
195
196 * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
197 breaking the build.
198
199 2014-05-24 Leo Liu <sdl.web@gmail.com>
200
201 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
202
203 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
204
205 * minibuffer.el (completion--sreverse): Remove.
206 (completion--common-suffix): Use `reverse' instead.
207 * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
208
209 2014-05-22 Glenn Morris <rgm@gnu.org>
210
211 * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
212
213 2014-05-21 Daniel Colascione <dancol@dancol.org>
214
215 * files.el (interpreter-mode-alist): Add mksh.
216
217 * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
218 derivative.
219 (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
220 mksh. Improve custom spec; allow regular expressions.
221 (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
222 (sh-after-hack-local-variables): New function.
223 (sh-mode): Use it; respect file-local `sh-shell' variable. (bug#17333)
224 (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
225 the normalization.
226 (sh-canonicalize-shell): Rewrite to support regexes.
227
228 2014-05-21 Leo Liu <sdl.web@gmail.com>
229
230 * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
231
232 2014-05-19 Leo Liu <sdl.web@gmail.com>
233
234 * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
235
236 2014-05-18 Glenn Morris <rgm@gnu.org>
237
238 * loadup.el:
239 * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
240
241 2014-05-14 Sam Steingold <sds@gnu.org>
242
243 * progmodes/python.el (python-shell-get-or-create-process):
244 Do not bind `current-prefix-arg' so that C-c C-z does not talk
245 back unless requested.
246
247 2014-05-14 Glenn Morris <rgm@gnu.org>
248
249 * subr.el (with-file-modes): New macro.
250 * printing.el (pr-save-file-modes): Make obsolete.
251 * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
252 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
253 Add with-file-modes.
254 * doc-view.el (doc-view-make-safe-dir):
255 * epg.el (epg--start):
256 * files.el (locate-user-emacs-file, make-temp-file)
257 (backup-buffer-copy, move-file-to-trash):
258 * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
259 * eshell/esh-util.el (eshell-with-private-file-modes)
260 (eshell-make-private-directory):
261 * net/browse-url.el (browse-url-mosaic):
262 * obsolete/mailpost.el (post-mail-send-it):
263 * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
264 * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
265 Use with-file-modes.
266
267 * vc/emerge.el (emerge-make-temp-file): Simplify.
268
269 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
270 Stefan Monnier <monnier@iro.umontreal.ca>
271
272 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
273 suffix (bug#15419).
274
275 2014-05-14 Glenn Morris <rgm@gnu.org>
276
277 * vc/emerge.el (emerge-temp-file-prefix):
278 Make pointless option obsolete.
279 (emerge-temp-file-mode): Make non-functional option obsolete.
280
281 2014-05-14 Michael Albinus <michael.albinus@gmx.de>
282
283 * net/browse-url.el (browse-url):
284 Use `unhandled-file-name-directory' when setting `default-directory',
285 in order to circumvent stalled remote connections. (Bug#17425)
286
287 2014-05-14 Glenn Morris <rgm@gnu.org>
288
289 * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
290 Optimize on Emacs, which has the relevant functions for ages.
291
292 2014-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
293
294 * simple.el (undo-make-selective-list): Obey undo-no-redo.
295
296 2014-05-12 Sam Steingold <sds@gnu.org>
297
298 * calendar/time-date.el (seconds-to-string): New function to
299 pretty print time delay in seconds.
300
301 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
302
303 * mpc.el (mpc-format): Trim Date to the year.
304 (mpc-songs-hashcons): Shorten the Date field.
305
306 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
307 into autoloading just because of a silly indirection.
308
309 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com> (tiny change)
310
311 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
312
313 2014-05-12 Glenn Morris <rgm@gnu.org>
314
315 * emacs-lisp/find-gc.el: Move to ../admin.
316
317 * printing.el (pr-version):
318 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
319
320 * net/browse-url.el (browse-url-mosaic):
321 Create /tmp/Mosaic.PID as a private file.
322
323 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
324
325 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
326 (advice--member-p): If name is given, only compare the name.
327 (advice--remove-function): Don't stop at the first match.
328 (advice--normalize-place): New function.
329 (add-function, remove-function): Use it.
330 (advice--add-function): Pass the name, if any, to
331 advice--remove-function.
332
333 2014-05-12 Philipp Rumpf <prumpf@gmail.com> (tiny change)
334
335 * electric.el (electric-indent-post-self-insert-function): Don't use
336 `pos' after modifying the buffer (bug#17449).
337
338 2014-05-12 Stephen Berman <stephen.berman@gmx.net>
339
340 * calendar/todo-mode.el (todo-insert-item-from-calendar):
341 Correct argument list to conform to todo-insert-item--basic.
342
343 2014-05-12 Glenn Morris <rgm@gnu.org>
344
345 * files.el (cd-absolute): Test if directory is accessible
346 rather than executable. (Bug#17330)
347
348 * progmodes/compile.el (recompile):
349 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
350
351 * net/browse-url.el (browse-url-mosaic):
352 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
353 This is CVE-2014-3423.
354
355 2014-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
356
357 * mouse.el: Use the normal toplevel loop while dragging.
358 (mouse-set-point): Handle multi-clicks.
359 (mouse-set-region): Handle multi-clicks for drags.
360 (mouse-drag-region): Update call accordingly.
361 (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
362 Use the normal event loop instead of a local while/read-event loop.
363 (global-map): Remove redundant bindings for double/triple-mouse-1.
364 * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
365 Generate synthetic down events when the protocol only sends up events.
366 (xterm-mouse-last): Remove.
367 (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
368 terminal parameter instead.
369 (xterm-mouse--set-click-count): New function.
370 (xterm-mouse-event): Detect/generate double/triple clicks.
371 * reveal.el (reveal-close-old-overlays): Don't close while dragging.
372
373 * info.el (Info-quoted): New face.
374 (Info-mode-font-lock-keywords): New var.
375 (Info-mode): Use it.
376
377 * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
378 are a hindrance for C-x C-e.
379
380 2014-05-11 Leo Liu <sdl.web@gmail.com>
381
382 * net/rcirc.el (rcirc-sentinel): Fix last change.
383
384 2014-05-08 Sam Steingold <sds@gnu.org>
385
386 * net/rcirc.el (rcirc-reconnect-delay): New user option.
387 (rcirc-sentinel): Auto-reconnect to the server if
388 `rcirc-reconnect-delay' is non-0 (but not more often than its
389 value in case the host is off-line).
390
391 2014-05-09 Eli Zaretskii <eliz@gnu.org>
392
393 * progmodes/grep.el (lgrep): Fix a typo in last commit.
394
395 2014-05-09 Glenn Morris <rgm@gnu.org>
396
397 * files.el (file-expand-wildcards):
398 * man.el (Man-support-local-filenames):
399 * printing.el (pr-i-directory, pr-interface-directory):
400 * progmodes/grep.el (lgrep, rgrep):
401 * textmodes/ispell.el (ispell-call-process)
402 (ispell-call-process-region, ispell-start-process)
403 (ispell-init-process): Use file-accessible-directory-p.
404
405 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
406
407 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
408 (xterm-mouse--read-event-sequence-1000): Return nil if something
409 looks fishy.
410 (xterm-mouse-event): Propagate it.
411 (xterm-mouse-translate-1): Handle it.
412
413 2014-05-08 Stephen Berman <stephen.berman@gmx.net>
414
415 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
416 four slots of the parameter list are filled, make sure to pass it
417 to the argument list of todo-insert-item--basic.
418
419 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
420
421 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
422 Add optional `seen' argument to detect and break infinite loops.
423
424 2014-05-08 Eli Zaretskii <eliz@gnu.org>
425
426 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
427 (trace-unsafe, trace-use-tree): Make parentheses style be
428 according to Emacs style.
429
430 2014-05-08 Michael Albinus <michael.albinus@gmx.de>
431
432 * net/tramp-sh.el (tramp-remote-process-environment):
433 Remove HISTFILE and HISTSIZE; it's too late to set them here.
434 Add :version entry.
435 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
436 Add "HISTSIZE=/dev/null" to the shell's env arguments. Do not send
437 extra "PSx=..." commands.
438 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
439 (Bug#17295)
440
441 (tramp-uudecode): Replace the hard-coded temporary file name by a
442 format specifier.
443 (tramp-remote-coding-commands): Enhance docstring.
444 (tramp-find-inline-encoding): Replace "%t" by a temporary file
445 name. (Bug#17415)
446 This is CVE-2014-3424.
447
448 2014-05-08 Glenn Morris <rgm@gnu.org>
449
450 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
451 (find-gc-source-files): Update some names.
452 (trace-call-tree): Simplify and update.
453 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
454 This is CVE-2014-3422.
455
456 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
457
458 * minibuffer.el (completion--try-word-completion): Revert fix for
459 Bug#15980 (bug#17375).
460
461 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
462 Always store button numbers in the same way in xterm-mouse-last;
463 Don't burp is xterm-mouse-last is not set as expected.
464 Never return negative indices.
465
466 2014-05-08 Dmitry Gutov <dgutov@yandex.ru>
467
468 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
469 Backtrack one char if the global/char-literal var matcher hits
470 inside a string. The next char could be the beginning of an
471 expression expansion.
472
473 2014-05-08 Glenn Morris <rgm@gnu.org>
474
475 * help-fns.el (describe-function-1): Test for an autoload before a
476 macro, since `macrop' works on autoloads. (Bug#17410)
477
478 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
479
480 * electric.el (electric-indent-functions-without-reindent): Add yaml.
481
482 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
483 Make sure the new point we return is within the new string (bug#17239).
484
485 2014-05-05 Daniel Colascione <dancol@dancol.org>
486
487 * progmodes/compile.el (compilation-error-regexp-alist-alist):
488 Port `gnu' pattern to rx.
489
490 2014-05-05 Jarek Czekalski <jarekczek@poczta.onet.pl>
491
492 Remove unneeded prompt when closing a buffer with active
493 emacsclient ("Buffer ... still has clients"), #16548.
494 * server.el (server-start): Remove the only call to:
495 (server-kill-buffer-query-function): Remove.
496
497 2014-05-04 Leo Liu <sdl.web@gmail.com>
498
499 * calendar/diary-lib.el (calendar-chinese-month-name-array):
500 Defvar to pacify compiler.
501
502 2014-05-04 Eli Zaretskii <eliz@gnu.org>
503
504 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
505
506 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
507
508 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
509 Use nil rather than `default' for the "default" appearance (bug#17388).
510 * vc/ediff-util.el (ediff-inferior-compare-regions)
511 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
512 a misleading `default' value when it's really a boolean.
513 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
514 overlay is not visible.
515
516 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
517
518 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
519 (todo-menu): Uncomment and update.
520
521 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
522
523 * calendar/todo-mode.el: Reimplement item editing to have the same
524 basic user interface as item insertion, and make small UI and
525 larger internal improvements to the latter.
526 (todo-insert-item): Add reference to the Todo mode user manual to
527 the documentation string.
528 (todo-insert-item--basic): Rename from todo-basic-insert-item and
529 adjust all callers. Change signature to combine diary and
530 nonmarking arguments. Incorporate functionality of deleted item
531 copying command and add error checking. Remove detailed
532 descriptions of the arguments from the documentation string, since
533 this is treated in the Todo mode user manual.
534 (todo-copy-item, todo-edit-multiline-item)
535 (todo-edit-done-item-comment, todo-edit-item-header)
536 (todo-edit-item-time, todo-edit-item-date-from-calendar)
537 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
538 (todo-edit-item-date-year, todo-edit-item-date-month)
539 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
540 Remove.
541 (todo-edit-item): Reimplement as wrapper command for
542 todo-edit-item--next-key and make it distinguish done and not done
543 todo items.
544 (todo-edit-item--text): New function, replacing old command
545 todo-edit-item and incorporating deleted commands
546 todo-edit-multiline-item and todo-edit-done-item-comment.
547 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
548 Use only numeric value of prefix argument. Remove detailed
549 descriptions of the arguments from the documentation string, since
550 this is treated in the Todo mode user manual.
551 (todo-edit-item--diary-inclusion): New function, replacing old
552 command todo-edit-item-diary-inclusion and incorporating and fixing
553 functionality of deleted command todo-edit-item-diary-nonmarking,
554 making sure to remove todo-nondiary-marker when adding
555 diary-nonmarking-symbol.
556 (todo-edit-category-diary-inclusion): Make sure to delete
557 diary-nonmarking-symbol when adding todo-nondiary-marker.
558 (todo-edit-category-diary-nonmarking): Fix indentation.
559 (todo-insert-item--parameters): Group diary and nonmarking
560 parameters together.
561 (todo-insert-item--apply-args): Adjust to signature of
562 todo-insert-item--basic and incorporate copy parameter.
563 Make small code improvements.
564 (todo-insert-item--next-param): Improve prompt and adjust it to
565 new parameter grouping. Remove obsolete code.
566 (todo-edit-item--param-key-alist)
567 (todo-edit-item--date-param-key-alist)
568 (todo-edit-done-item--param-key-alist): New defconsts.
569 (todo-edit-item--prompt): New variable.
570 (todo-edit-item--next-key): New function.
571 (todo-key-bindings-t): Bind "e" to todo-edit-item.
572 Remove bindings of deleted commands.
573
574 2014-05-04 Leo Liu <sdl.web@gmail.com>
575
576 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
577
578 2014-05-04 Glenn Morris <rgm@gnu.org>
579
580 * allout-widgets.el (allout-widgets-tally)
581 (allout-decorate-item-guides):
582 * menu-bar.el (menu-bar-positive-p):
583 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
584 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
585 * progmodes/js.el (js--inside-param-list-p)
586 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
587 * progmodes/prolog.el (region-exists-p):
588 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
589 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
590 Doc fixes (replace `iff').
591
592 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
593
594 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
595
596 2014-05-04 Leo Liu <sdl.web@gmail.com>
597
598 Support Chinese diary entries in calendar and diary. (Bug#17393)
599 * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
600 (calendar-chinese-from-absolute-for-diary)
601 (calendar-chinese-to-absolute-for-diary)
602 (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
603 (diary-chinese-list-entries): New functions to list and mark
604 Chinese diary entries in the calendar window.
605 (diary-chinese-anniversary)
606 (diary-chinese-insert-anniversary-entry)
607 (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
608 (diary-chinese-insert-yearly-entry): New commands to insert
609 Chinese diary entries.
610
611 * calendar/diary-lib.el (diary-font-lock-keywords):
612 Support font-locking Chinese dates.
613
614 * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
615 inserting Chinese diary entries.
616
617 * calendar/calendar.el (diary-chinese-entry-symbol):
618 New customizable variable.
619 (calendar-mode-map): Add bindings for inserting Chinese diary
620 entries.
621
622 2014-05-03 Juri Linkov <juri@jurta.org>
623
624 * dired.el (dired-check-switches, dired-switches-recursive-p):
625 New functions. (Bug#17218)
626 (dired-switches-escape-p, dired-move-to-end-of-filename):
627 Use `dired-check-switches'.
628 (dired-insert-old-subdirs, dired-build-subdir-alist)
629 (dired-sort-R-check): Use `dired-switches-recursive-p'.
630
631 2014-05-01 Barry O'Reilly <gundaetiapo@gmail.com>
632
633 * simple.el (undo-make-selective-list): New algorithm fixes
634 incorrectness of position adjustments when undoing in region.
635 (Bug#17235)
636 (undo-elt-crosses-region): Make obsolete.
637 (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
638 New functions to adjust positions using undo-deltas.
639
640 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
641
642 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
643 the last consecutive closing paren (bug#17345).
644
645 2014-04-30 Reuben Thomas <rrt@sc3d.org>
646
647 * dired.el (dired-mode): make terminology for eXpunge command
648 consistent. (Bug#17276)
649
650 2014-04-30 Eli Zaretskii <eliz@gnu.org>
651
652 * dired.el (dired-initial-position-hook, dired-initial-position):
653 Doc string fixes.
654
655 2014-04-30 Glenn Morris <rgm@gnu.org>
656
657 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
658
659 2014-04-30 Matthias Dahl <matthias.dahl@binary-island.eu>
660
661 * faces.el (face-spec-recalc): Apply X resources only after the
662 defface spec has been applied. Thus, X resources are no longer
663 overriden by the defface spec which also fixes issues on win32 where
664 the toolbar coloring was wrong because it is set through X resources
665 and was (wrongfully) overriden. (Bug#16694)
666
667 2014-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
668
669 * textmodes/rst.el (electric-pair-pairs): Declare.
670 (rst-mode): Set it (bug#17131).
671
672 2014-04-30 Juri Linkov <juri@jurta.org>
673
674 * desktop.el (desktop-value-to-string): Let-bind `print-length'
675 and `print-level' to nil. (Bug#17351)
676
677 2014-04-30 Nicolas Richard <theonewiththeevillook@yahoo.fr>
678
679 * battery.el (battery-update): Handle the case where battery
680 status is "N/A" (bug#17319).
681
682 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
683
684 * progmodes/ps-mode.el: Use SMIE. Move string and comment recognition
685 to syntax-propertize.
686 (ps-mode-auto-indent): Mark as obsolete.
687 (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
688 (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
689 word regexp operators.
690 (ps-mode-map): Move initialization into declaration. Remove binding
691 for TAB, RET, >, ], and }.
692 (ps-mode-syntax-table): Move initialization into declaration.
693 Don't give word syntax to non-word chars.
694 (ps-run-mode-map): Move initialization into declaration.
695 (ps-mode-menu-main): Remove auto-indent entry.
696 (ps-mode-smie-rules): New function.
697 (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
698 (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
699 (ps-mode--string-syntax-table): New const.
700 (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
701 New functions.
702 (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
703 (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
704
705 2014-04-27 Daniel Colascione <dancol@dancol.org>
706
707 * term/xterm.el (xterm-paste): Use large finite timeout when
708 reading event to avoid putting keys in this-command-keys.
709
710 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
711
712 * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
713 (perl-syntax-propertize-function): Use it. Extend handling of
714 here-docs to the unquoted case.
715
716 2014-04-25 Eli Zaretskii <eliz@gnu.org>
717
718 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
719 Use equal-including-properties to compare help-echo strings (bug#17331).
720
721 2014-04-25 Leo Liu <sdl.web@gmail.com>
722
723 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
724 Fix syntax for @. (Bug#17325)
725
726 2014-04-25 Daniel Colascione <dancol@dancol.org>
727
728 * emacs-lisp/cl.el (gv): Require gv early to break eager
729 macro-expansion cycles.
730
731 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
732
733 * simple.el (region-active-p): Check there's a mark (bug#17324).
734
735 * simple.el (completion-list-mode-map): Use choose-completion for the
736 mouse binding as well (bug#17302).
737 (completion-list-mode, completion-setup-function): Adjust docstring and
738 echo area message accordingly.
739 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
740 calling convention of choose-completion.
741 * comint.el (comint-dynamic-list-completions):
742 * term.el (term-dynamic-list-completions): Accept choose-completion.
743
744 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
745 &, |, +, - and * can't be a division (bug#17317).
746
747 * term/xterm.el (xterm--version-handler): Don't use modern xterm
748 features on gnome-terminal (bug#16988).
749
750 2014-04-25 Thien-Thi Nguyen <ttn@gnu.org>
751
752 Improve Scheme font-locking for (define ((foo ...) ...) ...).
753
754 * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
755 the declared object, ignore zero or more parens, not zero or one.
756
757 2014-04-24 Leo Liu <sdl.web@gmail.com>
758
759 * progmodes/xscheme.el (xscheme-expressions-ring)
760 (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
761 (xscheme-control-g-disabled-p, xscheme-process-filter-state)
762 (xscheme-allow-output-p, xscheme-prompt)
763 (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
764
765 * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
766 Comment out unused functions.
767
768 2014-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
769
770 * info.el: Use lexical-binding and cl-lib.
771 Use defvar-local and setq-local instead of make-local-variable.
772 (Info-apropos-matches): Avoid add-to-list.
773 (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
774
775 2014-04-24 Daniel Colascione <dancol@dancol.org>
776
777 * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
778
779 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
780
781 * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
782
783 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
784
785 * dired.el (dired-insert-set-properties): Do not consider
786 subdirectory headings and empty lines to be information that
787 `dired-hide-details-mode' should hide. (Bug#17228)
788
789 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
790
791 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
792 Remove test messages.
793 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
794 and `target' twice.
795
796 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
797
798 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
799 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
800
801 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
802
803 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
804
805 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
806 Set "IFS=" when using read builtin, in order to preserve spaces in
807 the file name. Add test messages for hunting a bug on hydra.
808 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
809
810 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
811
812 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
813 Don't prettify a word within a symbol.
814
815 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
816
817 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
818 possible.
819
820 2014-04-22 Daniel Colascione <dancol@dancol.org>
821
822 * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
823 use defun to define `function-put'.
824
825 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
826
827 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
828 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
829 (lisp-mode-variables): Set font-lock-extra-managed-props.
830
831 * emacs-lisp/byte-run.el (function-put): New function.
832 (defun-declarations-alist): Use it. Add `pure' and `side-effect-free'.
833 * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
834 (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
835 Use them.
836
837 2014-04-22 Daniel Colascione <dancol@dancol.org>
838
839 * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
840 Add `full-p' parameter; when nil, call `macroexpand' instead of
841 `macroexpand-all'.
842
843 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
844 Improve docstrings.
845
846 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
847 Use lambda function values, not quoted lambdas.
848 (byte-compile-recurse-toplevel): Remove extraneous &optional.
849
850 * emacs-lisp/cl-macs.el
851 (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
852 (cl-struct-slot-value): Conditionally use aref or nth so that the
853 compiler produces optimal code.
854
855 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
856
857 * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
858 (inline): Don't inline cl--set-elt.
859 (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
860 Define as inlinable instead.
861 (cl-struct-set-slot-value): Remove.
862
863 * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
864 * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
865 Use setf instead.
866
867 2014-04-21 Daniel Colascione <dancol@dancol.org>
868
869 * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
870 last two parameters after all.
871 (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
872 (cl--compiler-macro-assoc,cl-struct-slot-value)
873 (cl-struct-set-slot-value): Stop using them.
874
875 (2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
876
877 * image-mode.el (image-mode-window-put): Don't assume there's a `t'
878 entry in image-mode-winprops-alist.
879
880 2014-04-21 Daniel Colascione <dancol@dancol.org>
881
882 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
883 (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
884 (byte-compile-toplevel-file-form): Use it.
885
886 * emacs-lisp/cl-macs.el:
887 (cl--loop-let): Properly destructure `while' clauses.
888
889 2014-04-20 Daniel Colascione <dancol@dancol.org>
890
891 * vc/vc.el (vc-root-dir): New public autoloaded function for
892 generically finding the current VC root.
893 * vc/vc-hooks.el (vc-not-supported): New error.
894 (vc-call-backend): Signal `vc-not-supported' instead of generic error.
895
896 2014-04-20 Daniel Colascione <dancol@dancol.org>
897
898 * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
899 argument.
900 (cl--const-expr-val): cl--const-expr-val should macroexpand its
901 argument in case we're inside a symbol-macrolet.
902 (cl--do-arglist, cl--compiler-macro-typep)
903 (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
904 environment to `cl--const-expr-val'.
905 (cl-struct-sequence-type,cl-struct-slot-info)
906 (cl-struct-slot-offset, cl-struct-slot-value)
907 (cl-struct-set-slot-value): New functions.
908
909 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
910
911 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
912 assignments such as "case=hello" (bug#17297).
913
914 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
915
916 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
917 Do not autoload.
918 (tramp-file-name-handler, tramp-completion-file-name-handler):
919 Revert patch from 2014-04-10, it isn't necessary anymore.
920 (tramp-autoload-file-name-handler)
921 (tramp-register-autoload-file-name-handlers): New defuns.
922 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
923 (tramp-register-file-name-handlers): Remove also
924 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
925 Do not autoload its invocation, but eval it after loading of 'tramp.
926
927 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
928
929 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
930
931 2014-04-17 Daniel Colascione <dancol@dancol.org>
932
933 Add support for bracketed paste mode; add infrastructure for
934 managing terminal mode enabling and disabling automatically.
935
936 * xt-mouse.el:
937 (xterm-mouse-mode): Simplify.
938 (xterm-mouse-tracking-enable-sequence)
939 (xterm-mouse-tracking-disable-sequence): New constants.
940 (turn-on-xterm-mouse-tracking-on-terminal)
941 (turn-off-xterm-mouse-tracking-on-terminal):
942 Use tty-mode-set-strings and tty-mode-reset-strings terminal
943 parameters instead of random hooks.
944 (turn-on-xterm-mouse-tracking)
945 (turn-off-xterm-mouse-tracking): Delete.
946
947 * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
948 (xterm-paste-ending-sequence): New constant.
949 (xterm-paste): New command used for bracketed paste support.
950
951 (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
952 (terminal-init-xterm-bracketed-paste-mode): New function.
953 (terminal-init-xterm): Call it.
954 (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
955 and tty-mode-reset-strings instead of random hooks.
956 (xterm-turn-on-modify-other-keys)
957 (xterm-turn-off-modify-other-keys)
958 (xterm-remove-modify-other-keys): Delete obsolete functions.
959
960 * term/screen.el: Rewrite to just use the xterm code.
961 Add copyright notice. Mention tmux.
962
963 2014-04-17 Ian D <dunni@gnu.org> (tiny change)
964
965 * image-mode.el (image-mode-window-put): Also update the property of
966 the "default window".
967 * doc-view.el (doc-view-new-window-function): If no window
968 exists, move to the last known page.
969
970 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
971
972 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
973 here-documents (bug#17262).
974
975 2014-04-16 Eli Zaretskii <eliz@gnu.org>
976
977 * term/pc-win.el (x-list-fonts, x-get-selection-value):
978 Provide doc strings, as required by snarf-documentation.
979
980 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
981
982 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
983 arg of overlays-at. Use `invisible-p'.
984
985 * obsolete/lucid.el (extent-at):
986 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
987 overlays-at.
988 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
989
990 2014-04-16 João Távora <joaotavora@gmail.com>
991
992 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
993 links. (Bug#17217).
994
995 2014-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
996
997 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
998 Use mapc to loop over a vector. (Bug#17257).
999
1000 2014-04-16 Michael Albinus <michael.albinus@gmx.de>
1001
1002 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
1003 patch, there are new problems with file names containing spaces.
1004 Get rid of backticks. (Bug#17238)
1005
1006 2014-04-16 João Távora <joaotavora@gmail.com>
1007
1008 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
1009 possible bug.
1010
1011 2014-04-16 Eli Zaretskii <eliz@gnu.org>
1012
1013 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
1014 (blink-cursor-mode): Mention customization variables and the
1015 effect of 'blink-cursor-blinks'.
1016
1017 2014-04-16 Barry O'Reilly <gundaetiapo@gmail.com>
1018
1019 * simple.el (undo): Prevent insertion of identity mapping into
1020 undo-equiv-table so as undo-only does not inf loop in the presence
1021 of consecutive nils in undo list.
1022
1023 2014-04-16 Matthias Dahl <matthias.dahl@binary-island.eu>
1024
1025 * faces.el (make-face): Deprecate optional argument as it is no
1026 longer needed/used since the conditional X resources handling
1027 has been pushed down to make-face-x-resource-internal itself.
1028 (make-empty-face): Don't pass optional argument to make-face.
1029
1030 2014-04-16 Karl Fogel <kfogel@red-bean.com>
1031
1032 * savehist.el (savehist-save): Remove workaround for a read-passwd
1033 bug that was fixed before 24.3. Thanks to Juanma Barranquero for
1034 noticing that the shim was still present.
1035
1036 2014-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1037
1038 * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
1039
1040 2014-04-14 Juanma Barranquero <lekktu@gmail.com>
1041
1042 * faces.el (face-set-after-frame-default): Remove unused local variable.
1043
1044 2014-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1045
1046 * progmodes/grep.el: Use lexical-binding.
1047 (grep-expand-template): Pass explicit lexical env to `eval'.
1048 (zrgrep): Let-bind grep-find-template explicitly.
1049
1050 * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
1051 * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
1052
1053 2014-04-12 Eli Zaretskii <eliz@gnu.org>
1054
1055 * international/characters.el <standard-case-table>: Add entries
1056 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
1057 Set category of Coptic characters be 'g' (Greek).
1058
1059 2014-04-12 Leo Liu <sdl.web@gmail.com>
1060
1061 * progmodes/octave.el (completion-table-with-cache):
1062 Define if not available.
1063 (octave-goto-function-definition, octave-sync-function-file-names)
1064 (octave-find-definition-default-filename):
1065 Backquote upattern for compatibility.
1066
1067 2014-04-12 Michael Albinus <michael.albinus@gmx.de>
1068
1069 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
1070 name twice due to backticks. (Bug#17238)
1071
1072 2014-04-12 Glenn Morris <rgm@gnu.org>
1073
1074 * term/w32-win.el (x-win-suspend-error):
1075 * term/x-win.el (x-win-suspend-error): Sync docs.
1076
1077 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
1078
1079 * faces.el (make-face): Remove deprecated optional argument.
1080 The conditional application of X resources is handled directly by
1081 make-face-x-resource-internal since Emacs 24.4.
1082 (make-empty-face): Don't pass optional argument to make-face.
1083
1084 2014-04-11 Glenn Morris <rgm@gnu.org>
1085
1086 * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport. (Bug#16429)
1087
1088 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1089
1090 Ediff's overlay priorities cause more trouble than they solve.
1091 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
1092 (ediff-highest-priority): Remove function (bug#17234).
1093 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
1094 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
1095 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
1096 overlay priorities.
1097
1098 2014-04-11 Feng Li <fengli@gmail.com> (tiny change)
1099
1100 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
1101 entry; use symbol boundaries to avoid mis-matches.
1102
1103 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
1104
1105 * net/tramp.el (tramp-file-name-handler)
1106 (tramp-completion-file-name-handler): Avoid recursive loading.
1107
1108 * net/tramp-sh.el (tramp-make-copy-program-file-name):
1109 Quote result also locally.
1110
1111 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1112
1113 * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
1114 Remove left-over code.
1115
1116 * newcomment.el (comment-indent-new-line): Sink code where it's used.
1117 Reuse the previous comment's indentation unconditionally if it's on its
1118 own line.
1119
1120 2014-04-09 Daniel Colascione <dancol@dancol.org>
1121
1122 * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
1123 `no-syntax-crossing' arguments. Forward to `up-list'.
1124 (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
1125 Implement logic for escaping from strings. Use narrowing to deal
1126 with corner cases.
1127
1128 2014-04-09 Leo Liu <sdl.web@gmail.com>
1129
1130 * net/rcirc.el (rcirc-connection-info): New variable.
1131 (rcirc-connect): Use it to store connection info.
1132 (rcirc-buffer-process): Avoid get-buffer-process which returns nil
1133 for killed process.
1134 (rcirc-cmd-reconnect): New command. (Bug#17045)
1135 (rcirc-mode, set-rcirc-encode-coding-system)
1136 (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
1137
1138 2014-04-09 Daniel Colascione <dancol@dancol.org>
1139
1140 * emacs-lisp/cl-indent.el: Add comment claiming
1141 facility is also good for elisp.
1142 (lisp-indent-find-method): New function.
1143 (common-lisp-indent-function): Recognize cl-loop.
1144 (common-lisp-indent-function-1): Recognize cl constructs; use
1145 `lisp-indent-find-method' instead of `get' directly.
1146 (if): Use else-body style for elisp.
1147
1148 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
1149
1150 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
1151 Module methods. (Bug#17216)
1152
1153 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
1154
1155 * help.el (describe-bindings): Fix buffer handling (bug#17210).
1156 (describe-bindings-internal): Mark obsolete.
1157
1158 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
1159
1160 * subr.el (with-silent-modifications): Don't bind deactivate-mark,
1161 buffer-file-name, and buffer-file-truename any more.
1162
1163 2014-04-08 Leo Liu <sdl.web@gmail.com>
1164
1165 Use lexical-binding and require cl-lib.
1166 * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
1167 (rcirc-handler-generic, rcirc-fill-paragraph)
1168 (rcirc-format-response-string, rcirc-target-buffer)
1169 (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
1170 (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
1171 (rcirc-ctcp-sender-PING, rcirc-browse-url)
1172 (rcirc-markup-timestamp, rcirc-markup-attributes)
1173 (rcirc-markup-my-nick, rcirc-markup-urls)
1174 (rcirc-markup-bright-nicks, rcirc-markup-fill)
1175 (rcirc-check-auth-status, rcirc-handler-WALLOPS)
1176 (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
1177 (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
1178 (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
1179 (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
1180 (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
1181 (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
1182 (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
1183 (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
1184 (rcirc-handler-CTCP-response): Fix unused arguments warnings and
1185 use cl-lib.
1186
1187 2014-04-07 João Távora <joaotavora@gmail.com>
1188
1189 * elec-pair.el (electric-pair--syntax-ppss):
1190 When inside comments parse from comment beginning.
1191 (electric-pair--balance-info): Fix typo in comment.
1192 (electric-pair--in-unterminated-string-p): Delete.
1193 (electric-pair--unbalanced-strings-p): New function.
1194 (electric-pair-string-bound-function): New var.
1195 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
1196 according to `electric-pair--in-unterminated-string-p'
1197
1198 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
1199 Inhibit quote pairing if point-max is inside an unterminated string.
1200 (electric-pair--looking-at-unterminated-string-p): Delete.
1201 (electric-pair--in-unterminated-string-p): New function.
1202
1203 2014-04-07 Glenn Morris <rgm@gnu.org>
1204
1205 * shell.el (shell-directory-tracker):
1206 Go back to just ignoring failures. (Bug#17159)
1207
1208 2014-04-07 João Távora <joaotavora@gmail.com>
1209
1210 Fix `electric-pair-delete-adjacent-pairs' in modes binding
1211 backspace. (bug#16981)
1212 * elec-pair.el (electric-pair-backward-delete-char): Delete.
1213 (electric-pair-backward-delete-char-untabify): Delete.
1214 (electric-pair-mode-map): Bind backspace to a menu item filtering
1215 a new `electric-pair-delete-pair' command.
1216 (electric-pair-delete-pair): New command.
1217
1218 * progmodes/python.el (python-electric-pair-string-delimiter):
1219 Fix triple-quoting electricity. (Bug#17192)
1220
1221 * elec-pair.el (electric-pair-post-self-insert-function):
1222 Don't skip whitespace when `electric-pair-text-pairs' and
1223 `electric-pair-pairs' were used. syntax to
1224 electric-pair--skip-whitespace. (Bug#17183)
1225
1226 2014-04-07 Eli Zaretskii <eliz@gnu.org>
1227
1228 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
1229 "<F>". (Bug#17199)
1230
1231 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
1232
1233 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
1234 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
1235
1236 2014-04-07 Glenn Morris <rgm@gnu.org>
1237
1238 * help.el (view-lossage): Doc tweak.
1239
1240 2014-04-07 Matthias Dahl <ml_emacs-lists@binary-island.eu>
1241
1242 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
1243 only when inhibit-x-resources is nil, and do that earlier in the
1244 function. Doc fix. (Bug#16694)
1245 (face-spec-choose): Accept additional optional argument, whose
1246 value is returned if no matching attributes are found.
1247 (face-spec-recalc): Use the new optional argument when calling
1248 face-spec-choose. (Bug#16378)
1249 (make-face-x-resource-internal): Do nothing when
1250 inhibit-x-resources is non-nil. Don't touch the default face if
1251 reversed video is given--as was done in previous versions of Emacs.
1252 (face-set-after-frame-default): Don't call
1253 make-face-x-resource-internal here. (Bug#16434)
1254
1255 2014-04-07 Tassilo Horn <tsdh@gnu.org>
1256
1257 * doc-view.el (doc-view-bookmark-jump):
1258 Use `bookmark-after-jump-hook' to jump to the right page after the
1259 buffer is shown in a window. (bug#16090)
1260
1261 2014-04-07 Eli Zaretskii <eliz@gnu.org>
1262
1263 * international/characters.el (mirroring): Fix last change:
1264 instead of loading uni-mirrored.el explicitly, do that implicitly
1265 by creating the 'mirroring' uniprop table. This avoids announcing
1266 the loading of uni-mirrored.el.
1267
1268 2014-04-07 Glenn Morris <rgm@gnu.org>
1269
1270 * files.el (buffer-stale--default-function)
1271 (buffer-stale-function, revert-buffer--default):
1272 * autorevert.el (auto-revert-buffers): Doc tweaks.
1273
1274 2014-04-07 Eli Zaretskii <eliz@gnu.org>
1275
1276 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
1277
1278 2014-04-07 Glenn Morris <rgm@gnu.org>
1279
1280 * files.el (make-backup-file-name-function)
1281 (make-backup-file-name, make-backup-file-name--default-function)
1282 (make-backup-file-name-1, find-backup-file-name)
1283 (revert-buffer-function, revert-buffer-insert-file-contents-function)
1284 (buffer-stale--default-function, buffer-stale-function)
1285 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
1286 (revert-buffer, revert-buffer--default)
1287 (revert-buffer-insert-file-contents--default-function):
1288 Doc fixes related to defaults no longer being nil.
1289 (make-backup-file-name-function): Bump :version.
1290 Restore nil as a valid but deprecated custom type.
1291
1292 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
1293
1294 * progmodes/perl-mode.el (perl-syntax-propertize-function):
1295 Handle $' used as a variable (bug#17174).
1296
1297 * progmodes/perl-mode.el (perl-indent-new-calculate):
1298 Handle forward-sexp failure (bug#16985).
1299 (perl-syntax-propertize-function): Add "foreach" and "for" statement
1300 modifiers introducing expressions (bug#17116).
1301
1302 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
1303
1304 * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
1305
1306 2014-04-05 Leo Liu <sdl.web@gmail.com>
1307
1308 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
1309 Add define-compilation-mode.
1310
1311 2014-04-04 João Távora <joaotavora@gmail.com>
1312
1313 * elec-pair.el (electric-pair--syntax-ppss): When inside comments
1314 parse from comment beginning.
1315 (electric-pair--balance-info): Fix typo in comment.
1316 (electric-pair--in-unterminated-string-p): Delete.
1317 (electric-pair--unbalanced-strings-p): New function.
1318 (electric-pair-string-bound-function): New var.
1319 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
1320 according to `electric-pair--in-unterminated-string-p'.
1321
1322 2014-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1323
1324 * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
1325 Move declaration before first use.
1326 (reftex-move-to-next-arg): Silence compiler warning.
1327
1328 2014-04-04 Joost Kremers <joostkremers@fastmail.fm> (tiny change)
1329
1330 * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
1331 Use `window-total-width' instead of `window-width'.
1332
1333 2014-04-03 Daniel Colascione <dancol@dancol.org>
1334
1335 * subr.el (set-transient-map): Remove rms's workaround entirely;
1336 use new `suspicious-object' subr to mark our lambda for closer
1337 scrutiny during gc.
1338
1339 2014-04-02 Richard Stallman <rms@gnu.org>
1340
1341 * subr.el (set-transient-map): Comment out previous change.
1342
1343 2014-04-02 Glenn Morris <rgm@gnu.org>
1344
1345 * menu-bar.el (menu-bar-file-menu):
1346 * vc/ediff.el (ediff-current-file):
1347 Update for revert-buffer-function no longer being nil by default.
1348
1349 * simple.el (command-execute): Respect nil disabled-command-function.
1350
1351 2014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1352
1353 * simple.el (command-execute): Do not execute the command when it
1354 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
1355
1356 2014-04-02 Juri Linkov <juri@jurta.org>
1357
1358 * dired-aux.el (dired-compress-file): Don't use string-match-p
1359 because its match data is used afterwards.
1360
1361 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
1362
1363 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
1364 0 like nil.
1365
1366 2014-04-02 João Távora <joaotavora@gmail.com>
1367
1368 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
1369 Inhibit quote pairing if point-max is inside an unterminated string.
1370 (electric-pair--looking-at-unterminated-string-p):
1371 Delete.
1372 (electric-pair--in-unterminated-string-p): New function.
1373
1374 2014-04-01 Daniel Colascione <dancol@dancol.org>
1375
1376 * minibuffer.el (minibuffer-complete): Prevent assertion failure
1377 when trying to complete the prompt.
1378
1379 2014-03-31 Leo Liu <sdl.web@gmail.com>
1380
1381 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
1382 Refactor out eldoc-documentation-function-default.
1383 (eldoc-documentation-function-default): New function.
1384 (eldoc-documentation-function): Change value.
1385
1386 2014-03-31 Glenn Morris <rgm@gnu.org>
1387
1388 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
1389
1390 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
1391 (vhdl-compose-components-package, vhdl-compose-configuration):
1392 Abbreviate default-directory (missing from some previous upstream sync).
1393
1394 2014-03-31 Reto Zimmermann <reto@gnu.org>
1395
1396 Sync with upstream vhdl mode v3.35.2.
1397 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
1398 (top-level): No longer require assoc.
1399 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
1400 New functions. Use throughout to replace aget etc.
1401 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
1402 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
1403 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
1404 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
1405 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
1406 except `vhdl-compiler'.
1407 (vhdl-error-regexp-add-emacs): Remove all other compilers,
1408 when appropriate.
1409
1410 2014-03-31 Glenn Morris <rgm@gnu.org>
1411
1412 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
1413 Revert 2014-03-26 merge goof; go back to using defalias.
1414
1415 2014-03-30 Daniel Colascione <dancol@dancol.org>
1416
1417 * comint.el (comint-send-input):
1418 Deactivate completion-in-region-mode before we send comint input.
1419 (Bug#17139).
1420
1421 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
1422 on keyboard-quit.
1423
1424 2014-03-29 Glenn Morris <rgm@gnu.org>
1425
1426 * textmodes/reftex.el: Manage most autoloads automatically.
1427 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
1428 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
1429 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
1430 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
1431 * textmodes/reftex-toc.el: Set generated-autoload-file,
1432 and add autoload cookies for reftex.el.
1433 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
1434
1435 2014-03-28 Glenn Morris <rgm@gnu.org>
1436
1437 * cus-start.el (report-emacs-bug-address): Set custom properties.
1438 * mail/emacsbug.el (report-emacs-bug-address):
1439 Variable is now defined in emacs.c.
1440
1441 * mail/emacsbug.el (report-emacs-bug):
1442 Include system-configuration-features.
1443
1444 2014-03-28 Michal Nazarewicz <mina86@mina86.com>
1445
1446 * simple.el (cycle-spacing): Never delete spaces on first run by
1447 default, but do so in a new 'fast mode and if there are already
1448 N spaces (the previous behavior).
1449 Compare N with its value in previous invocation so that changing
1450 prefix argument restarts `cycle-spacing' sequence.
1451 The idea is that with this change, binding M-SPC to
1452 `cycle-spacing' should not introduce any changes in behavior of
1453 the binding so long as users do not type M-SPC twice in a raw with
1454 the same prefix argument or lack thereof.
1455
1456 2014-03-28 Glenn Morris <rgm@gnu.org>
1457
1458 * faces.el (term-file-aliases): New variable.
1459 (tty-run-terminal-initialization): Respect term-file-aliases.
1460 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
1461 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
1462 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
1463
1464 2014-03-27 Glenn Morris <rgm@gnu.org>
1465
1466 * startup.el (inhibit-startup-hooks): Doc tweak.
1467 (normal-top-level): Simplify running of hooks.
1468 For window-setup-hook, respect inhibit-startup-hooks.
1469 (command-line-1): Don't set window-setup-hook to nil.
1470
1471 Allow selective autoloading from obsolete/ directory.
1472 * Makefile.in (obsolete-autoloads): New rule.
1473 (autoloads): Run obsolete-autoloads.
1474 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
1475 * simple.el (iswitchb-mode): Remove hand-written autoloads.
1476
1477 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
1478
1479 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1480 Highlight special globals with font-lock-builtin-face. (Bug#17057)
1481
1482 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1483 Don't propertize `?' or `!' as symbol constituent when after
1484 colon. (Bug#17097)
1485
1486 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
1487
1488 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
1489 which is no longer needed and causes trouble in GTK builds (bug#17046).
1490
1491 * emacs-lisp/package-x.el (package--archive-contents-from-url):
1492 Use url-insert-file-contents; package-handle-response no longer exists.
1493
1494 2014-03-26 Daniel Colascione <dancol@dancol.org>
1495
1496 * simple.el (process-menu-mode-map): New variable.
1497 (process-menu-delete-process): New command.
1498
1499 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
1500
1501 * emacs-lisp/package.el: Fix bug#16733 (again).
1502 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
1503 (url-http-target-url): Remove unused declarations.
1504 (package-handle-response): Remove.
1505 (package--with-work-buffer): Use url-insert-file-contents and simplify.
1506 (package--download-one-archive): Use current-buffer instead of
1507 dynamic binding of `buffer'.
1508 (describe-package-1): Do not decode readme-string.
1509
1510 2014-03-26 Michael Albinus <michael.albinus@gmx.de>
1511
1512 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
1513
1514 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
1515 from 2014-03-07, it decreases performance unnecessarily. Let-bind
1516 `remote-file-name-inhibit-cache' to nil in the second pass.
1517 (tramp-find-executable): Do not call "which" on SunOS.
1518 (tramp-send-command-and-check): Fix docstring.
1519 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
1520 check whether source directory has set the sticky bit.
1521
1522 2014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
1523
1524 * simple.el (primitive-undo): Only process marker adjustments
1525 validated against their corresponding (TEXT . POS). Issue warning
1526 for lone marker adjustments in undo history. (Bug#16818)
1527 (undo-make-selective-list): Add marker adjustments to selective
1528 undo list based on whether their corresponding (TEXT . POS) is in
1529 the region. Remove variable adjusted-markers, which was unused
1530 and only non nil during undo-make-selective-list.
1531 (undo-elt-in-region): Return nil when passed a marker adjustment
1532 and explain in function doc.
1533
1534 2014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1535
1536 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
1537
1538 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
1539
1540 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
1541 Match special global variables without curlies, too.
1542 (ruby-font-lock-keywords): Simplify the matcher for special global
1543 variables. Don't require a non-word character after the variable.
1544 (Bug#17057)
1545
1546 2014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1547
1548 * simple.el (redisplay-highlight-region-function): Increase priority of
1549 overlay to make sure boundaries are visible (bug#15899).
1550
1551 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
1552
1553 * frameset.el (frameset--initial-params): Fix typo in parameter name.
1554 (frameset-restore): Compare display strings with equal.
1555
1556 * frame.el (make-frame): Don't quote display name in error message,
1557 it is already a string.
1558
1559 2014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1560
1561 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
1562 the password.
1563
1564 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
1565
1566 * emacs-lisp/package.el (package--add-to-archive-contents):
1567 Include already installed and built-in packages in
1568 `package-archive-contents'.
1569 (package-install): Don't include already installed packages in the
1570 options during interactive invocation. (Bug#16762)
1571 (package-show-package-list): If the buffer is already displayed in
1572 another window, switch to that window.
1573
1574 2014-03-26 Reto Zimmermann <reto@gnu.org>
1575
1576 Sync with upstream vhdl mode v3.35.1.
1577 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
1578 (vhdl-compiler-alist): Doc fix.
1579 (vhdl-goto-line): Remove.
1580 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
1581 (vhdl-mode) <paragraph-start>: Fix value.
1582 (vhdl-fix-statement-region): Not `for' in wait-statement.
1583 (vhdl-beautify-region): Also (un)tabify.
1584 (vhdl-get-visible-signals):
1585 Scan declarative part of generate statements.
1586 (vhdl-template-record): Fix indentation for record type declaration.
1587 (vhdl-expand-abbrev, vhdl-expand-paren):
1588 Revert to using fset again rather than defalias.
1589 (vhdl-scan-directory-contents): Tweak.
1590 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
1591 (vhdl-compose-components-package):
1592 Replace vhdl-goto-line with forward-line.
1593 (top-level): Tweak speedbar frame selection.
1594 (vhdl-generate-makefile-1): Support for compilers with no
1595 unit-to-file name mapping (create directory with dummy files).
1596
1597 2014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
1598
1599 Sync with upstream verilog-mode revision 702457d.
1600 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1601 (create-lockfiles): Declare.
1602 (verilog-read-decls): Fix module header imports, bug709.
1603 Reported by Victor Lau.
1604 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
1605 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
1606 interface-only modules, bug721. Reported by Dean Hoyt.
1607
1608 2014-03-26 Glenn Morris <rgm@gnu.org>
1609
1610 * obsolete/gulp.el: Move here from emacs-lisp/.
1611
1612 * files.el (lock-buffer, unlock-buffer, file-locked-p):
1613 Remove fallback aliases, since they are always defined now.
1614
1615 2014-03-24 Daniel Colascione <dancol@dancol.org>
1616
1617 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
1618 instead of cl-loop search function.
1619
1620 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
1621
1622 * calendar/parse-time.el (parse-time-iso8601-regexp)
1623 (parse-iso8601-time-string): Copied from `url-dav' so that we can use
1624 it more generally.
1625
1626 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
1627
1628 * net/dns.el (network-interface-list): Define for XEmacs.
1629
1630 2014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
1631
1632 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
1633 the network interfaces changed.
1634 (dns-query): Use it to flush the data.
1635
1636 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
1637
1638 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
1639
1640 2014-03-23 Daniel Colascione <dancol@dancol.org>
1641
1642 Change subword-mode to use `find-word-boundary-function-table' and
1643 replace `capitalized-words-mode'. Also, convert to lexical
1644 binding.
1645
1646 * progmodes/cap-words.el: Delete now-obsolete file.
1647 * progmodes/subword.el: Reimplement using
1648 `find-word-boundary-function-table'.
1649 (subword-mode-map): Hollow out.
1650 (capitalized-words-mode): Define as obsolete alias for
1651 `subword-mode'.
1652 (subword-mode, superword-mode): Tweak documentation to reflect new
1653 implementation; call `subword-setup-buffer'.
1654 (subword-forward, subword-capitalize): Add underscore to indicate
1655 unused variable.
1656 (subword-find-word-boundary-function-table): New constant.
1657 (subword-empty-char-table): New constant.
1658 (subword-setup-buffer): New function.
1659 (subword-find-word-boundary): New function.
1660
1661 2014-03-23 Daniel Colascione <dancol@dancol.org>
1662
1663 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
1664 list to look for keyword arguments instead of `memq', fixing
1665 (Bug#3647) --- unfortunately, only for freshly-compiled code.
1666 Please make bootstrap.
1667
1668 2014-03-22 Glenn Morris <rgm@gnu.org>
1669
1670 * dired.el (dired-read-regexp): Make obsolete.
1671 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
1672 (dired-flag-files-regexp):
1673 * dired-aux.el (dired-mark-read-regexp):
1674 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
1675
1676 * startup.el (fancy-startup-text):
1677 * help.el (describe-gnu-project): Visit online info about GNU project.
1678
1679 * help-fns.el (help-fns--interactive-only): New function.
1680 (help-fns-describe-function-functions): Add the above function.
1681 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
1682 (next-line, previous-line): Remove hand-written interactive-only
1683 information from doc strings, it is auto-generated now.
1684 * bookmark.el (bookmark-write):
1685 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
1686 (epa-mail-import-keys): Mark interactive-only,
1687 and remove hand-written interactive-only information from doc strings.
1688 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
1689 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
1690 * files.el (not-modified):
1691 * simple.el (mark-whole-buffer): Mark interactive-only.
1692
1693 * emacs-lisp/byte-run.el (defun-declarations-alist):
1694 Add interactive-only. Doc tweak.
1695 (macro-declarations-alist): Doc tweak.
1696 * subr.el (declare): Doc tweak (add xref to manual).
1697 * comint.el (comint-run):
1698 * files.el (insert-file-literally, insert-file):
1699 * replace.el (replace-string, replace-regexp):
1700 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1701 (delete-forward-char, goto-line, insert-buffer, next-line)
1702 (previous-line): Set interactive-only via declare.
1703
1704 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
1705
1706 * emacs-lisp/package.el (package-desc): Use the contents of the
1707 quoted form, not its cdr. (Bug#16873)
1708
1709 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
1710
1711 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
1712 benefit of doc.c; change parameter profile to match the X function.
1713
1714 2014-03-22 Leo Liu <sdl.web@gmail.com>
1715
1716 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
1717 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
1718
1719 2014-03-21 Richard Stallman <rms@gnu.org>
1720
1721 * battery.el (battery-linux-sysfs): Search for each field
1722 from the beginning of the buffer.
1723
1724 * subr.el (set-transient-map): Clear out function and value
1725 of the temporary symbol when we're done with it.
1726
1727 * mail/rmailsum.el (rmail-summary-delete-forward):
1728 Optimize case of reaching end and handling count.
1729 (rmail-summary-mark-deleted): Optimize when N is current msg.
1730 Don't create new summary line.
1731 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
1732 (rmail-summary-undelete-many): Rewrite for speed.
1733 (rmail-summary-msg-number): New function.
1734
1735 * mail/rmail.el (rmail-delete-message): Update summary.
1736 (rmail-undelete-previous-message): Handle repeat count arg.
1737 (rmail-delete-backward, rmail-delete-forward): Likewise.
1738
1739 2014-03-21 Daniel Colascione <dancol@dancol.org>
1740
1741 * mail/emacsbug.el (report-emacs-bug): Include memory usage
1742 information in bug reports.
1743
1744 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
1745
1746 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
1747 and `tramp-copy-env'.
1748
1749 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
1750 (tramp-maybe-open-connection): Handle `tramp-login-env'.
1751
1752 2014-03-21 Glenn Morris <rgm@gnu.org>
1753
1754 * electric.el (electric-indent-post-self-insert-function): Add doc.
1755
1756 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
1757
1758 * emacs-lisp/package.el (package-compute-transaction):
1759 Use `version-list-<=' to compare the requirement version against
1760 the version of package already to be installed. Update the error
1761 message. (Bug#16826)
1762
1763 * progmodes/ruby-mode.el (ruby-smie-rules):
1764 Add indentation rule for ` @ '. (Bug#17050)
1765
1766 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
1767
1768 * align.el (align-regexp): Remove superfluous backslash.
1769
1770 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
1771 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
1772 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
1773 Fix docstring typos.
1774 (ffap-next): Use C-u in docstring.
1775 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
1776 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
1777 Remove superfluous backslashes.
1778 (ffap-string-at-point): Reflow docstring.
1779
1780 * server.el (server-host): Reflow docstring.
1781 (server-unload-function): Fix docstring typo.
1782 (server-eval-at): Remove superfluous backslash.
1783
1784 * skeleton.el (skeleton-insert): Remove superfluous backslash.
1785 (skeleton-insert): Doc fix.
1786 (skeleton-insert): Reflow docstring.
1787
1788 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
1789 (tty-color-approximate, tty-color-by-index, tty-color-values)
1790 (tty-color-desc): Remove superfluous backslashes.
1791
1792 2014-03-21 Glenn Morris <rgm@gnu.org>
1793
1794 * cus-start.el (history-length): Bump :version.
1795
1796 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1797 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
1798 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1799 Don't set `make-backup-files'.
1800
1801 * info.el (info--prettify-description): New function,
1802 to give info-finder descriptions consistent case, punctuation.
1803 (Info-finder-find-node): Use it. Sort packages.
1804 Refer to "description" rather than "commentary".
1805
1806 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
1807
1808 * frameset.el (frameset--print-register): New function.
1809 (frameset-to-register): Use it.
1810
1811 2014-03-20 Juanma Barranquero <lekktu@gmail.com>
1812
1813 * progmodes/hideif.el (hif-string-to-number): New function.
1814 (hif-tokenize): Use it to understand non-decimal floats.
1815
1816 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
1817
1818 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
1819
1820 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
1821
1822 * electric.el (electric-newline-and-maybe-indent): New command.
1823 Bind it globally to C-j.
1824 (electric-indent-mode): Don't mess with the global map any more.
1825 Don't drop the post-self-insert-hook is some buffer is still using it
1826 (bug#16770).
1827
1828 * bindings.el (global-map): Remove C-j binding.
1829
1830 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
1831 the docstring of functions advised before dumping (bug#16993).
1832
1833 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
1834
1835 * ps-print.el (ps-generate-postscript-with-faces):
1836 Explicitly deactivate the mark (bug#16866).
1837 * simple.el (deactivate-mark): Update region highlight.
1838
1839 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
1840
1841 * emacs-lisp/package.el (describe-package-1):
1842 Decode commentary (bug#16733).
1843
1844 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
1845
1846 * custom.el (defcustom): Doc fix: recommend avoiding destructive
1847 modification of the value argument of :set (bug#16755).
1848
1849 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1850
1851 * simple.el (newline-and-indent): Do autofill (bug#17031).
1852
1853 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
1854
1855 * newcomment.el (comment-normalize-vars): Only add escaping check
1856 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
1857 (comment-beginning): Use `narrow-to-region' instead of moving back
1858 one character.
1859 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
1860 (comment-start-skip): Update the docstring.
1861
1862 2014-03-18 Richard Stallman <rms@gnu.org>
1863
1864 * dired.el (dired-display-file): Force use of other window.
1865
1866 2014-03-18 Daniel Colascione <dancol@dancol.org>
1867
1868 * startup.el (tty-handle-args): Remove debug message from 2007.
1869
1870 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
1871
1872 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
1873 (advice--make-interactive-form): Use it to avoid (auto)loading function.
1874 (advice--make-1, advice-add, advice-remove):
1875 Remove braindead :advice-pending hack.
1876
1877 2014-03-17 Glenn Morris <rgm@gnu.org>
1878
1879 * calendar/calendar.el (calendar-generate-month): Apply weekend
1880 face to the right days; fixes 2013-08-06 change. (Bug#17028)
1881
1882 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
1883
1884 * net/tramp.el (tramp-action-out-of-band): Read pending output.
1885 (tramp-call-process): Trace also DESTINATION.
1886
1887 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1888 Quote file names when they are local. Remove superfluous trace.
1889
1890 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
1891
1892 * newcomment.el (comment-beginning): If `comment-start-skip'
1893 doesn't match, move back one char and try again. (Bug#16971)
1894
1895 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1896 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
1897 Set `comment-start-skip' to a simpler value that doesn't try to
1898 check if the semicolon is escaped (this is handled by
1899 `syntax-ppss' now). (Bug#16971)
1900
1901 * progmodes/scheme.el (scheme-mode-variables): Same.
1902
1903 2014-03-16 Martin Rudalics <rudalics@gmx.at>
1904
1905 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
1906 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
1907 current (Bug#16816, Bug#17007).
1908 (with-current-buffer-window): New macro doing the same as
1909 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
1910 * help.el (help-print-return-message): Warn in doc-string to not
1911 use this in `with-help-window'.
1912 (describe-bindings-internal): Call `describe-buffer-bindings'
1913 from within help buffer. See Juanma's scenario in (Bug#16816).
1914 (with-help-window): Update doc-string.
1915 * dired.el (dired-mark-pop-up):
1916 * files.el (save-buffers-kill-emacs):
1917 * register.el (register-preview): Use `with-current-buffer-window'
1918 instead of `with-temp-buffer-window'.
1919
1920 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
1921
1922 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
1923 Implement inserting into current buffer, documented in their docstrings.
1924 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
1925 (rst-section-tree-point, rst-forward-section, rst-indent)
1926 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
1927 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
1928 (rst-font-lock-handle-adornment-pre-match-form)
1929 (rst-repeat-last-character): Reflow docstrings.
1930 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
1931 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
1932 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
1933 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
1934 Fix docstring typos.
1935 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
1936 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
1937 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
1938
1939 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
1940
1941 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
1942 for compatibility with other ports.
1943 (ns-initialize-window-system): Use it. It is set in term/common-win.el
1944 from the -xrm command line argument, but in the Nextstep port its value
1945 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
1946
1947 * progmodes/python.el (defconst, python-syntax-count-quotes)
1948 (python-indent-region, python-indent-shift-right)
1949 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
1950 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
1951 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
1952 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
1953 (inferior-python-mode, python-shell-make-comint, run-python-internal)
1954 (python-shell-buffer-substring, python-shell-send-buffer)
1955 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
1956 (python-completion-complete-at-point, python-fill-docstring-style)
1957 (python-eldoc-function, python-imenu-format-item-label)
1958 (python-imenu-format-parent-item-label)
1959 (python-imenu-format-parent-item-jump-label)
1960 (python-imenu--build-tree, python-imenu-create-index)
1961 (python-imenu-create-flat-index): Fix docstring typos.
1962 (python-indent-context, python-shell-prompt-regexp, run-python):
1963 Remove superfluous backslashes.
1964 (python-indent-line, python-nav-beginning-of-defun)
1965 (python-shell-get-buffer, python-shell-get-process)
1966 (python-info-current-defun, python-info-current-line-comment-p)
1967 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
1968 (python-indent-post-self-insert-function, python-shell-send-file)
1969 (python-shell-completion-get-completions)
1970 (python-shell-completion-complete-or-indent)
1971 (python-eldoc--get-doc-at-point): Reflow docstrings.
1972
1973 2014-03-14 Glenn Morris <rgm@gnu.org>
1974
1975 * emacs-lisp/package.el (package-menu-mode-map):
1976 Replace use of obsolete function alias. Tweak menu item text.
1977
1978 * info.el (Info-finder-find-node):
1979 Ignore the `emacs' metapackage. (Bug#10813)
1980
1981 * finder.el (finder-list-matches): Include unversioned packages
1982 in the result of a keyword search.
1983
1984 * finder.el (finder--builtins-descriptions): New constant.
1985 (finder-compile-keywords): Use finder--builtins-descriptions.
1986
1987 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
1988
1989 * simple.el (blink-matching-paren): Describe the new value,
1990 `jump', enabling the old behavior.
1991 (blink-matching-open): Use that value. (Bug#17008)
1992
1993 2014-03-14 Glenn Morris <rgm@gnu.org>
1994
1995 * finder.el (finder-no-scan-regexp): Add leim-list.
1996 (finder-compile-keywords):
1997 Don't skip files with same basename. (Bug#14010)
1998 * Makefile.in (setwins_finder): New, excluding leim.
1999 (finder-data): Use setwins_finder.
2000
2001 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
2002 (help-function-arglist, help-make-usage): Move from here...
2003 * help.el (help-split-fundoc, help-add-fundoc-usage)
2004 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
2005 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
2006
2007 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
2008
2009 * net/socks.el (socks, socks-override-functions)
2010 (socks-find-services-entry):
2011 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
2012 (hif-find-ifdef-block):
2013 * progmodes/modula2.el (m2-indent): Fix docstring typos.
2014
2015 * net/tls.el (tls-program): Reflow docstring.
2016
2017 * progmodes/pascal.el (pascal-mode-abbrev-table)
2018 (pascal-imenu-generic-expression, pascal-auto-endcomments)
2019 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
2020 (pascal-outline-mode): Fix docstring typos.
2021 (pascal-mode): Let define-derived-mode document mode hook.
2022 (pascal-uncomment-area): Reflow.
2023 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
2024
2025 * progmodes/opascal.el (opascal-compound-block-indent)
2026 (opascal-case-label-indent): Fix docstring typos.
2027 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
2028
2029 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
2030
2031 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2032 Fontify multiple adjacent negation chars. (Bug#17004)
2033
2034 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
2035
2036 * emacs-lisp/package.el (package--prepare-dependencies):
2037 Accept requirements without explicit version (bug#14941).
2038
2039 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2040
2041 * register.el (register-separator, copy-to-register): Doc fixes.
2042 (register-preview-default): Remove unnecessary call to concat.
2043
2044 * frameset.el (frameset-restore): When checking for a visible frame,
2045 use the action map instead of calling visible-frame-list.
2046
2047 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
2048
2049 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
2050
2051 2014-03-12 Martin Rudalics <rudalics@gmx.at>
2052
2053 * window.el (fit-frame-to-buffer): Get maximum width from
2054 display's width instead of height.
2055
2056 2014-03-12 Glenn Morris <rgm@gnu.org>
2057
2058 * desktop.el (desktop-restore-frames)
2059 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
2060 (desktop-restore-reuses-frames): Doc tweaks.
2061
2062 * electric.el (electric-indent-mode): Doc fix.
2063
2064 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2065
2066 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
2067 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
2068 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
2069 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
2070 (cvs-dired-use-hook): Fix docstring typos.
2071 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
2072 Doc fixes.
2073
2074 * vc/pcvs-defs.el (cvs-auto-remove-handled)
2075 (cvs-auto-remove-directories, cvs-default-ignore-marks)
2076 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
2077 (cvs-execute-single-dir): Fix docstring typos.
2078
2079 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
2080 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
2081
2082 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
2083
2084 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
2085 Fix docstring typos.
2086
2087 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2088
2089 * frameset.el (frameset--jump-to-register): Add autoload; it could be
2090 called from jump-to-register after unloading the frameset package.
2091
2092 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2093
2094 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
2095 (bug#16975). Deactivate the mark before setting it to nil.
2096 (activate-mark): Do nothing if region is already active.
2097
2098 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
2099
2100 * frameset.el (frameset--target-display): Remove definition; declare.
2101 (frameset-save, frameset-restore): Let-bind frameset--target-display.
2102
2103 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2104
2105 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
2106 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
2107 when the advice is pending.
2108 (advice-remove): Remove this marker when not needed any more.
2109
2110 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
2111
2112 * frameset.el: Separate options for reusing frames and cleaning up.
2113 (frameset--reuse-list): Remove definition; declare.
2114 (frameset--action-map): Declare.
2115 (frameset--find-frame-if): Doc fix.
2116 (frameset--restore-frame): Cache frame action.
2117 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
2118 how to clean up the frame list after restoring. Remove cleaning
2119 options from REUSE-FRAMES. Change all keyword values to symbols.
2120 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
2121
2122 * desktop.el (desktop-restore-forces-onscreen)
2123 (desktop-restore-reuses-frames): Use non-keyword values.
2124 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
2125
2126 2014-03-10 Glenn Morris <rgm@gnu.org>
2127
2128 * files.el (find-file): Doc fix: update info node name.
2129
2130 * emacs-lisp/advice.el (ad-add-advice, defadvice):
2131 Doc fix: remove references to deleted info nodes.
2132
2133 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
2134
2135 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
2136 Do not add `nil' to the environment, when there's no remote `locale'.
2137 (tramp-find-inline-encoding): Check, that the remote host has
2138 installed perl, before sending scripts.
2139
2140 2014-03-10 Leo Liu <sdl.web@gmail.com>
2141
2142 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2143 Clear eldoc-last-message. (Bug#16920)
2144
2145 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
2146
2147 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
2148 (bug#14430).
2149
2150 2014-03-09 Juri Linkov <juri@jurta.org>
2151
2152 * ansi-color.el (ansi-color-names-vector): Copy default colors
2153 from `xterm-standard-colors' that look well on the default white
2154 background (and also on the black background) to avoid illegible
2155 color combinations like yellow-on-white and white-on-white.
2156 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
2157
2158 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
2159
2160 * frameset.el (frameset-restore): When no frame is visible, do not
2161 generate a list of frames, just make visible the selected one.
2162
2163 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
2164
2165 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
2166 it only contains the repository root. (Bug#16897)
2167
2168 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
2169
2170 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
2171 only when `remote-file-name-inhibit-cache' is nil.
2172 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
2173
2174 2014-03-06 Martin Rudalics <rudalics@gmx.at>
2175
2176 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
2177 Fix doc-strings.
2178 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
2179 fit-frame-to-buffer variable. Fix doc-string.
2180 (fit-window-to-buffer): Set ONLY argument in call of
2181 fit-frame-to-buffer. Fix doc-string.
2182
2183 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
2184
2185 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
2186 (tramp-action-password): Clear password cache if needed.
2187 (tramp-read-passwd): Do not clear password cache.
2188
2189 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
2190 cache unless it is the first password request.
2191
2192 2014-03-06 Glenn Morris <rgm@gnu.org>
2193
2194 * simple.el (newline): Doc tweak.
2195
2196 * emacs-lisp/shadow.el (load-path-shadows-find):
2197 Ignore dir-locals. (Bug#12357)
2198
2199 2014-03-05 Glenn Morris <rgm@gnu.org>
2200
2201 * files.el (interpreter-mode-alist):
2202 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
2203
2204 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
2205
2206 * frameset.el (frameset--initial-params): Filter out null entries.
2207
2208 2014-03-05 Martin Rudalics <rudalics@gmx.at>
2209
2210 * window.el (window-min-height, window-min-width):
2211 Rewrite doc-strings.
2212 (window-body-size): Add PIXELWISE argument to make it consistent
2213 with its callees.
2214
2215 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
2216
2217 * finder.el (finder-mode-map, finder-mode-syntax-table):
2218 Revert part of 2014-02-28 change.
2219
2220 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
2221
2222 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
2223 (eww-setup-buffer): Clear next/prev/etc more reliably.
2224 (eww-textarea-map): [tab] doesn't work on tty.
2225 Reported by Mario Lang.
2226
2227 * net/shr.el (shr-map): Ditto.
2228
2229 2014-03-04 Glenn Morris <rgm@gnu.org>
2230
2231 * minibuffer.el (completion-hilit-commonality):
2232 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
2233
2234 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
2235
2236 * hilit-chg.el (hilit-chg-unload-function): New function.
2237 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
2238 (hilit-chg-map-changes): Prefer cardinal number to digit.
2239 (hilit-chg-display-changes): Reflow docstring.
2240 (highlight-changes-rotate-faces): Remove superfluous backslash.
2241
2242 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
2243
2244 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
2245 `tramp-send-command-and-check'.
2246
2247 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
2248
2249 * hexl.el (hexl-address-region, hexl-ascii-region)
2250 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
2251 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
2252 (hexl-forward-word, hexl-previous-line, hexl-next-line):
2253 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
2254 (hexl-mode): Doc fix.
2255 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
2256 (hexl-mode-ruler): Fix typos in docstrings.
2257
2258 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
2259 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
2260 Remove superfluous backslashes.
2261 (strokes-last-stroke, strokes-global-map, strokes-mode):
2262 Reflow docstrings.
2263 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
2264 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
2265 (strokes-distance-squared, strokes-global-set-stroke)
2266 (strokes-global-set-stroke-string): Doc fixes.
2267 (strokes-help): Fix typos; reflow docstring.
2268
2269 2014-03-04 Martin Rudalics <rudalics@gmx.at>
2270
2271 * window.el (window-in-direction): Fix doc-string.
2272
2273 2014-03-04 Glenn Morris <rgm@gnu.org>
2274
2275 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
2276 Explicit error if no grammar.
2277 (smie-config-save): Doc fix. Fix quote typo.
2278
2279 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
2280
2281 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
2282 electric-indent-mode-hook if we obey electric-indent-mode.
2283 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
2284 decide whether we obey electric-indent-mode.
2285 (c-change-set-fl-decl-start, c-extend-after-change-region):
2286 Silence warnings.
2287 (c-electric-indent-mode-hook): Assume we do want to obey
2288 electric-indent-mode.
2289
2290 * electric.el (electric-indent-mode-has-been-called): Remove.
2291 (electric-indent-mode): Fix accordingly.
2292
2293 * files.el (hack-local-variables): Mention file name in warning.
2294
2295 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
2296
2297 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
2298
2299 * bindings.el: Add comment describing why C-d binds to `delete-char'.
2300 * simple.el (delete-forward-char): Mark as interactive-only.
2301
2302 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
2303
2304 * icomplete.el (icomplete-completions):
2305 Follow-up to 2014-03-01 change.
2306
2307 * icomplete.el: Miscellaneous doc fixes.
2308 Use Icomplete everywhere instead of icomplete for consistency.
2309 (icomplete-max-delay-chars): Fix typo.
2310 (icomplete-mode): Use \[].
2311 (icomplete-tidy, icomplete-exhibit): Reflow.
2312 (icomplete-minibuffer-setup-hook, icomplete-completions):
2313 Remove superfluous backlashes.
2314
2315 * ido.el: Miscellaneous doc fixes.
2316 Use Ido everywhere instead of ido or `ido' for consistency.
2317 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
2318 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
2319 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
2320 (ido-separator): Extract obsolescence info from docstring and declare
2321 with make-obsolete-variable.
2322 (ido-minibuffer-setup-hook): Simplify example.
2323 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
2324 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
2325 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
2326 (ido-everywhere): Reflow docstring.
2327 (ido-toggle-vc): Doc fix.
2328 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
2329 of long list of keybindings.
2330
2331 2014-03-03 Glenn Morris <rgm@gnu.org>
2332
2333 * frame.el (display-pixel-height, display-pixel-width)
2334 (display-mm-dimensions-alist, display-mm-height)
2335 (display-mm-width): Doc tweaks.
2336
2337 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
2338
2339 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
2340 case of undo in region.
2341
2342 2014-03-02 Martin Rudalics <rudalics@gmx.at>
2343
2344 * window.el (fit-window-to-buffer): Fix argument in window-size
2345 call when window is horizontally combined.
2346
2347 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
2348
2349 * icomplete.el (icomplete-completions): Use string-width.
2350 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
2351
2352 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
2353
2354 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2355 Highlight regexp options. (Bug#16914)
2356
2357 2014-03-01 Martin Rudalics <rudalics@gmx.at>
2358
2359 * window.el (window--max-delta-1): Round down when calculating
2360 how many lines/columns we can get from a window.
2361
2362 2014-03-01 Glenn Morris <rgm@gnu.org>
2363
2364 * isearch.el (search-invisible): Doc fix.
2365
2366 * minibuffer.el (completion-hilit-commonality):
2367 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
2368 * comint.el (comint-dynamic-list-completions): Doc fix.
2369 * comint.el (comint-dynamic-list-completions):
2370 * filecache.el (file-cache-minibuffer-complete):
2371 * tempo.el (tempo-display-completions):
2372 * eshell/em-hist.el (eshell-list-history):
2373 Replace use of obsolete argument of display-completion-list.
2374
2375 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
2376
2377 * icomplete.el (icomplete-completions):
2378 Revert back to using "..." when ?… cannot be displayed.
2379
2380 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
2381
2382 * finder.el (finder-unload-function): New function.
2383
2384 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
2385
2386 * dframe.el (dframe-detach):
2387 * find-dired.el (find-dired, find-name-dired):
2388 * finder.el (finder-mode-map, finder-mode-syntax-table)
2389 (finder-headmark, finder-select, finder-mouse-select):
2390 Fix docstring typos.
2391
2392 2014-02-28 Martin Rudalics <rudalics@gmx.at>
2393
2394 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
2395 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
2396 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
2397 Fix doc-string based on a suggestion by Nicolas Richard
2398 <theonewiththeevillook@yahoo.fr>.
2399 * help.el (with-help-window): Fix doc-string.
2400
2401 2014-02-28 Ivan Kanis <ivan@kanis.fr>
2402
2403 * net/shr.el (shr-image-animate): New option.
2404 (shr-put-image): Respect shr-image-animate.
2405
2406 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
2407
2408 * net/tramp-adb.el (tramp-adb-parse-device-names):
2409 Use `accept-process-output'.
2410 (tramp-adb-handle-file-truename): Cache the localname only.
2411 (tramp-adb-handle-make-directory)
2412 (tramp-adb-handle-delete-directory): Flush file properties correctly.
2413 (tramp-adb-handle-set-file-modes): Do not raise an error when file
2414 modes cannot be changed.
2415
2416 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
2417 file properties of symlinks.
2418
2419 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
2420
2421 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
2422 required/optional fields to match development biblatex. (Bug#16781)
2423
2424 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
2425
2426 * saveplace.el (toggle-save-place):
2427 Fix argument handling. (Bug#16673)
2428
2429 2014-02-28 Glenn Morris <rgm@gnu.org>
2430
2431 * minibuffer.el (completions-first-difference)
2432 (completions-common-part, completion-hilit-commonality): Doc fixes.
2433
2434 2014-02-28 Karl Berry <karl@gnu.org>
2435
2436 * info.el (Info-mode-map): Add H for describe-mode,
2437 to synchronize with standalone Info.
2438
2439 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
2440
2441 * progmodes/sql.el (sql-interactive-mode):
2442 Avoid setting global comint-input-ring-separator. (Bug#16814)
2443
2444 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
2445
2446 * net/dbus.el (dbus--init-bus): Declare function.
2447 (dbus-path-local, dbus-interface-local): New defconst.
2448 (dbus-init-bus): Use them.
2449 (dbus-return-values-table): Extend doc.
2450 (dbus-handle-bus-disconnect): Extend error message.
2451
2452 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
2453
2454 * subr.el (y-or-n-p): Fix double space issue in message.
2455
2456 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
2457
2458 * net/tramp.el (tramp-call-process): Improve trace message.
2459 (tramp-handle-insert-file-contents): Trace error case.
2460
2461 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
2462 <insert-directory>: Use `tramp-handle-insert-directory'.
2463 (tramp-adb-handle-insert-directory): Remove function.
2464 (tramp-adb-send-command-and-check): New defun, replacing
2465 `tramp-adb-command-exit-status'. Change all callees.
2466 (tramp-adb-handle-file-attributes)
2467 (tramp-adb-handle-directory-files-and-attributes): Use it.
2468 (tramp-adb-ls-output-name-less-p):
2469 Use `directory-listing-before-filename-regexp'.
2470 (tramp-adb-handle-delete-directory): Flush also file properties of
2471 the truename of directory.
2472 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
2473 (tramp-adb-handle-file-local-copy): Make the local copy readable.
2474 (tramp-adb-handle-write-region): Implement APPEND.
2475 (tramp-adb-handle-rename-file): Make it more robust. Flush file
2476 properties correctly.
2477 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
2478 variables. Check for connected devices only when needed.
2479
2480 2014-02-27 Glenn Morris <rgm@gnu.org>
2481
2482 * minibuffer.el (completion-table-dynamic)
2483 (completion-table-with-cache): Doc fixes.
2484
2485 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
2486 (completing-read-multiple): Doc fixes.
2487
2488 2014-02-27 Daniel Colascione <dancol@dancol.org>
2489
2490 * minibuffer.el (completion--nth-completion): Fix indentation.
2491
2492 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
2493 explicit tramp path is empty.
2494
2495 2014-02-27 Glenn Morris <rgm@gnu.org>
2496
2497 * emacs-lisp/crm.el (completing-read-multiple):
2498 Empower help-enable-auto-load.
2499
2500 2014-02-26 Glenn Morris <rgm@gnu.org>
2501
2502 * startup.el (command-line): Don't init the tty in daemon mode.
2503
2504 Avoid calling tty-setup-hook twice, eg if a term file
2505 explicitly calls tty-run-terminal-initialization. (Bug#16859)
2506 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
2507 (tty-create-frame-with-faces): Use it.
2508 * startup.el (command-line): Pass run-hook argument
2509 to tty-run-terminal-initialization.
2510
2511 * dired.el (dired-restore-desktop-buffer): Demote errors;
2512 eg in case a glob match fails. (Bug#16884)
2513
2514 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
2515
2516 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
2517 error from `read-from-string'. (Bug#16850)
2518
2519 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
2520 result of `completing-read' in the interactive form. (Bug#16854)
2521
2522 2014-02-25 Glenn Morris <rgm@gnu.org>
2523
2524 * image.el (image-animate, image-animate-timeout):
2525 Stop animating images in dead buffers. (Bug#16878)
2526
2527 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
2528
2529 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
2530 Doc fixes.
2531 * startup.el (term-setup-hook): Doc fix. Make obsolete.
2532 * term/sun.el (sun-raw-prefix-hooks):
2533 Use tty-setup-hook instead of term-setup-hook.
2534 (terminal-init-sun): Construct message from bytecomp plist.
2535 * term/wyse50.el (enable-arrow-keys): Doc fix.
2536
2537 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
2538
2539 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
2540 Fix docstring typos.
2541
2542 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
2543
2544 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
2545
2546 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2547
2548 * minibuffer.el (completion--try-word-completion):
2549 Fix error when completing M-x commands (bug#16808).
2550
2551 2014-02-24 Leo Liu <sdl.web@gmail.com>
2552
2553 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
2554
2555 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
2556
2557 * apropos.el (apropos-print): Avoid formatting error when
2558 apropos-do-all and apropos-compact-layout are both t.
2559
2560 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
2561
2562 * apropos.el (apropos-property, apropos-all-words-regexp)
2563 (apropos-true-hit, apropos-variable, apropos-print):
2564 Fix docstring typos, and remove obsolete comment.
2565
2566 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
2567
2568 * net/tramp-sh.el (tramp-sh-handle-file-truename):
2569 Preserve trailing "/". (Bug#16851)
2570
2571 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
2572
2573 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
2574 after `=>' (bug#16811).
2575 (ruby-smie-rules): Handle the inconsistent second element of the
2576 list returned by `smie-indent--parent'.
2577 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
2578 method call.
2579
2580 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
2581
2582 * elec-pair.el (electric-pair-text-syntax-table)
2583 (electric-pair-syntax-info, electric-pair--syntax-ppss)
2584 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
2585 (electric-pair--looking-at-unterminated-string-p): Doc fix.
2586 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
2587
2588 2014-02-22 Glenn Morris <rgm@gnu.org>
2589
2590 * imenu.el (imenu--generic-function): Doc fix.
2591
2592 * register.el (frame-configuration-to-register): Make obsolete.
2593
2594 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
2595
2596 * desktop.el (desktop-save-buffer-p): Do not fail when
2597 desktop-files-not-to-save is nil. Return t for true result
2598 as the doc says.
2599
2600 2014-02-22 Daniel Colascione <dancol@dancol.org>
2601
2602 * net/secrets.el (secrets-create-item, secrets-search-items):
2603 Check that attribute values are strings, avoiding the construction
2604 of invalid dbus messages.
2605
2606 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2607
2608 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
2609 defun-declarations-alist.
2610
2611 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
2612
2613 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
2614 (bug#16829).
2615
2616 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2617
2618 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
2619 (whitespace-newline, whitespace-trailing, whitespace-line)
2620 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
2621 (whitespace-space-after-tab): Fix typo in docstrings.
2622
2623 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
2624
2625 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
2626
2627 * electric.el (electric-indent-functions-without-reindent):
2628 Add `yaml-indent-line'.
2629
2630 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2631
2632 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
2633 It has done nothing for years; should be removed after the release.
2634
2635 * simple.el (choose-completion): Fix docstring typo.
2636 (read-quoted-char-radix): Remove unneeded * in docstring.
2637 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
2638 Don't escape parentheses unnecessarily in docstrings.
2639
2640 2014-02-21 Martin Rudalics <rudalics@gmx.at>
2641
2642 Fix handling of window-min-height/-width (Bug#16738).
2643 * window.el (window--dump-window, window--dump-frame):
2644 New functions.
2645 (window--min-size-1): Account for window dividers.
2646 When window-resize-pixelwise is nil, delay rounding till after the
2647 sum of the window components has been calculated.
2648 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
2649 nil make sure at least one text line and two text columns remain
2650 fully visible.
2651 (window-resize): Signal an error when window-resize-apply fails.
2652 (window--resize-child-windows): Fix calculation of by how many
2653 pixels a window can still be shrunk via window-new-normal.
2654 (adjust-window-trailing-edge): Call window--resizable with
2655 correct TRAIL argument.
2656
2657 (with-temp-buffer-window): Don't evaluate BODY within
2658 with-current-buffer (Bug#16816).
2659
2660 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
2661
2662 * net/tramp.el (tramp-check-cached-permissions):
2663 Call `file-attributes' with `suffix' being a symbol but a string.
2664
2665 2014-02-21 Daniel Colascione <dancol@dancol.org>
2666
2667 * net/dbus.el (dbus-init-bus-1): Declare new subr.
2668 (dbus-init-bus): New function: call into dbus-init-bus-1
2669 and installs a handler for the disconnect signal.
2670 (dbus-call-method): Rewrite to look for result in cons.
2671 (dbus-call-method-handler): Store result in cons.
2672 (dbus-check-event): Recognize events with nil sender as valid.
2673 (dbus-handle-bus-disconnect): New function. React to bus
2674 disconnection signal by synthesizing dbus error for each
2675 pending synchronous or asynchronous call.
2676 (dbus-notice-synchronous-call-errors): New function.
2677 (dbus-handle-event): Raise errors directly only when `dbus-debug'
2678 is true, not all the time.
2679
2680 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2681
2682 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
2683 Remove obsolescence declarations, these variables do not exist anymore.
2684
2685 * savehist.el (savehist-save-minibuffer-history)
2686 (savehist-additional-variables, savehist-file, savehist-mode-hook)
2687 (savehist-save-hook, savehist-coding-system, savehist-loaded)
2688 (savehist-load, savehist-install, savehist-autosave): Fix typos;
2689 mostly, refer to "Savehist mode" when talking about the mode,
2690 and not the function.
2691
2692 * saveplace.el (save-place): Remove redundant info in docstring.
2693 (save-place-forget-unreadable-files, toggle-save-place)
2694 (save-place-forget-unreadable-files, save-place-dired-hook):
2695 Fix typos and remove unneeded backslashes.
2696
2697 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
2698
2699 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
2700 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
2701
2702 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
2703 <insert-directory>: Use `tramp-handle-insert-directory'.
2704 (tramp-gvfs-handle-insert-directory): Remove function.
2705
2706 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2707 Call `tramp-handle-insert-directory'.
2708
2709 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
2710
2711 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
2712 before the start of buffer/region (bug#16799).
2713
2714 2014-02-20 Glenn Morris <rgm@gnu.org>
2715
2716 * isearch.el (search-invisible): Doc fix.
2717
2718 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
2719
2720 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
2721 (bug#16657).
2722
2723 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
2724
2725 * frameset.el (frameset-restore): Delay removing an old frame's
2726 duplicate id until the new frame has been correctly created.
2727
2728 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
2729
2730 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
2731 (tramp-check-cached-permissions): Call `file-attributes' if the
2732 cache is empty.
2733
2734 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
2735 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
2736
2737 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
2738 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
2739 (tramp-gvfs-maybe-open-connection): Set always connection
2740 properties, even if target is mounted already.
2741
2742 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
2743 Set tramp-autoload cookie.
2744 (tramp-get-remote-touch): New defun.
2745 (tramp-sh-handle-set-file-times): Use it.
2746 (tramp-sh-handle-directory-files-and-attributes):
2747 Use `tramp-handle-directory-files-and-attributes' if neither stat
2748 nor perl are available on the remote host.
2749
2750 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
2751 "/". Write long listing only when "l" belongs to the switches.
2752
2753 * net/trampver.el: Update release number.
2754
2755 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
2756
2757 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
2758
2759 2014-02-19 Martin Rudalics <rudalics@gmx.at>
2760
2761 * window.el (window-state-put): Allow WINDOW to refer to an
2762 internal window (Bug#16793).
2763
2764 2014-02-19 Glenn Morris <rgm@gnu.org>
2765
2766 * textmodes/remember.el: Move provide statement to end.
2767 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
2768 (remember-notes): Doc fixes.
2769
2770 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
2771
2772 * delsel.el (delete-char): Restore incorrectly erased property
2773 (bug#16795).
2774
2775 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
2776
2777 * frameset.el (frameset--restore-frame): When a frame is being reused
2778 and its root window is not alive, delete all the frame's windows before
2779 restoring the window state. This works around the issue in bug#16793.
2780
2781 2014-02-18 Glenn Morris <rgm@gnu.org>
2782
2783 * textmodes/remember.el (remember-data-directory)
2784 (remember-directory-file-name-format, remember-store-in-files)
2785 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
2786 (remember-notes-save-and-bury-buffer)
2787 (remember-notes--kill-buffer-query): Doc fixes.
2788
2789 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
2790
2791 2014-02-17 Alan Mackenzie <acm@muc.de>
2792
2793 Connect electric-indent-mode up with CC Mode. Bug #15478.
2794 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
2795 to electric-indent-{,local-}-mode.
2796 (c-basic-common-init): Set electric-indent-inhibit.
2797 Initialise c-electric-flag from electric-indent-mode.
2798 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
2799 New hook functions which propagate electric-indent-mode to CC mode.
2800
2801 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
2802 hit, toggle electric-indent-local-mode.
2803
2804 * electric.el (electric-indent-mode-has-been-called):
2805 New variable.
2806
2807 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
2808
2809 * frameset.el (frameset-cfg-id): New function.
2810 (frameset--reuse-frame, frameset-restore): Use it.
2811 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
2812
2813 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
2814
2815 * ido.el (ido-file-internal): Remove unused var `d'.
2816 Use \` for to match BoS. Fit within 80n columns.
2817
2818 2014-02-17 Daniel Colascione <dancol@dancol.org>
2819
2820 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
2821 dbus-call-method check for completion using a busy-wait loop with
2822 gradual backoff.
2823
2824 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
2825
2826 Sync with Tramp 2.2.9.
2827
2828 * net/trampver.el: Update release number.
2829
2830 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
2831
2832 * ido.el (ido-file-internal): Don't add the name of an existing
2833 directory twice. (Bug#16747)
2834
2835 2014-02-16 Glenn Morris <rgm@gnu.org>
2836
2837 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
2838 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
2839
2840 2014-02-15 Michael R. Mauger <michael@mauger.com>
2841
2842 * progmodes/sql.el: Version 3.4
2843 (sql-oracle-options): New default value ("-L").
2844 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
2845 (sql-placeholders-filter): Correct placeholder pattern.
2846 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
2847 (sql-login-delay): New variable.
2848 (sql-product-interactive): Use it.
2849
2850 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
2851
2852 * frameset.el (frameset--jump-to-register): Check that buffer is live
2853 (bug#16749).
2854
2855 2014-02-15 Glenn Morris <rgm@gnu.org>
2856
2857 * info.el (info-initialize): Revert 2014-01-10 change.
2858
2859 2014-02-14 Glenn Morris <rgm@gnu.org>
2860
2861 * replace.el (map-query-replace-regexp)
2862 (read-regexp-defaults-function, read-regexp): Doc fixes.
2863
2864 * dired.el (dired-read-regexp):
2865 * faces.el (list-faces-display):
2866 * misearch.el (multi-isearch-read-matching-buffers)
2867 (multi-isearch-read-matching-files):
2868 * play/cookie1.el (cookie-apropos):
2869 * progmodes/grep.el (grep-read-regexp): Doc fixes.
2870
2871 * textmodes/remember.el (remember): Use frameset-to-register
2872 rather than frame-configuration-to-register.
2873
2874 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
2875
2876 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
2877 incorrect keybinding.
2878
2879 2014-02-13 Daniel Colascione <dancol@dancol.org>
2880
2881 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
2882 when adding overlays so that line numbers from compiler match line
2883 numbers we use.
2884
2885 2014-02-13 Glenn Morris <rgm@gnu.org>
2886
2887 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
2888
2889 * jit-lock.el (jit-lock-mode): Doc fix.
2890
2891 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
2892
2893 * apropos.el (apropos-read-pattern): When the user passes an empty
2894 string, give a more helpful error message than "Wrong type
2895 argument: stringp, nil".
2896
2897 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
2898
2899 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
2900
2901 2014-02-13 Glenn Morris <rgm@gnu.org>
2902
2903 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
2904
2905 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
2906
2907 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
2908 shift-select commands.
2909
2910 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
2911
2912 * progmodes/js.el (js-indent-line): Don't widen.
2913 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
2914
2915 2014-02-12 Glenn Morris <rgm@gnu.org>
2916
2917 * icomplete.el (icomplete): Add info-link to defgroup.
2918 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
2919 (icomplete-minibuffer-map, icomplete-mode)
2920 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
2921
2922 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
2923 (package-menu-filter): Rename from package-menu-filter-interactive.
2924 Doc fix.
2925
2926 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
2927
2928 * frameset.el (frameset--jump-to-register): Select the required
2929 window and buffer before restoring position (bug#16696).
2930
2931 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
2932
2933 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
2934
2935 2014-02-10 Glenn Morris <rgm@gnu.org>
2936
2937 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
2938
2939 2014-02-10 Eli Zaretskii <eliz@gnu.org>
2940
2941 * w32-common-fns.el (x-get-selection): Doc fix.
2942 * select.el (x-get-selection): Doc fix. (Bug#15109)
2943
2944 * face-remap.el (face-remap-add-relative)
2945 (face-remap-remove-relative, face-remap-reset-base)
2946 (face-remap-set-base): Call force-mode-line-update to redisplay
2947 the current buffer due to potential change in faces. (Bug#16709)
2948
2949 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
2950
2951 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
2952 script more robustly.
2953
2954 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
2955
2956 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
2957
2958 * simple.el (choose-completion): Doc fix (bug#14160).
2959
2960 * subr.el (event-start): Say what a nil EVENT value means.
2961
2962 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
2963 (bug#14197).
2964
2965 * progmodes/grep.el (find-program): Doc fix (bug#14289).
2966
2967 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
2968
2969 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
2970
2971 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
2972 predicate function (bug#15455).
2973
2974 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
2975
2976 * ielm.el (inferior-emacs-lisp-mode): Instead of
2977 `comment-use-global-state', set `comment-use-syntax'.
2978
2979 2014-02-10 Glenn Morris <rgm@gnu.org>
2980
2981 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
2982
2983 2014-02-09 Alan Mackenzie <acm@muc.de>
2984
2985 Fix c-invalidate-state-cache on narrowed buffers.
2986 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
2987 Widen when setting and clearing the CPP delimiter properties.
2988
2989 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
2990
2991 * help.el (describe-bindings): Doc fix (bug#9888).
2992
2993 * files.el (save-buffer): Use ARG as the parameter name for
2994 consistency (bug#10346).
2995 (save-buffer): Clarify the 0 argument (bug#10346).
2996
2997 * cus-edit.el (customize-apropos): Fix error string.
2998 (custom-buffer-create): Doc fix (bug#11122).
2999 (custom-sort-items): Doc fix (bug#11121).
3000
3001 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
3002
3003 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
3004 (icomplete-simple-completing-p): Mention the previous variable.
3005
3006 * font-lock.el (font-lock-value-in-major-mode): Clarify the
3007 meaning of the parameter (bug#12282).
3008
3009 * files.el (find-file-noselect): Clarify prompt when changing
3010 readedness (bug#13261).
3011 (locate-file): Suffixes aren't returned, so don't say that they
3012 are (bug#12674).
3013 (backup-inhibited): Doc clarification (bug#12525).
3014
3015 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
3016 before we actually start to delete things (bug#16331).
3017
3018 * subr.el (event-start): Doc fix (bug#14228).
3019 (event-end): Ditto.
3020
3021 2014-02-09 Glenn Morris <rgm@gnu.org>
3022
3023 * emacs-lisp/warnings.el (lwarn):
3024 Empower help-enable-auto-load. (Bug#15940)
3025
3026 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
3027
3028 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
3029 (Bug#16690)
3030
3031 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
3032
3033 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3034 Insert output at end of buffer. (Bug#16120)
3035
3036 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3037
3038 * simple.el (choose-completion-string-functions): Document new
3039 calling convention (bug#14153).
3040 (execute-extended-command): Clarify doc string (bug#13373).
3041
3042 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
3043
3044 * find-dired.el (find-name-dired): Doc fix (bug#14290).
3045 (find-grep-dired): Doc fix (bug#14288).
3046
3047 2014-02-08 Juri Linkov <juri@jurta.org>
3048
3049 * isearch.el (isearch-quote-char): Check character validity
3050 like in `quoted-insert' (bug#16677).
3051
3052 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3053
3054 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
3055
3056 * isearch.el (isearch-hide-immediately): Doc clarification
3057 (bug#14723).
3058
3059 * simple.el (line-move): Document utility function used many
3060 places in the Emacs sources (bug#14843).
3061
3062 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
3063 (dired-prev-marked-file): Doc fix (bug#14855).
3064 (dired-up-directory): Doc fix (bug#14848).
3065
3066 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
3067
3068 * files.el (file-relative-name): Doc fix (bug#15159).
3069
3070 * fringe.el (fringe-styles): Doc fix (bug#15239).
3071
3072 * isearch.el (isearch-filter-predicate): Documentation typo fix
3073 (bug#15474).
3074
3075 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
3076
3077 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
3078
3079 * replace.el (replace-match-maybe-edit): Doc clarification
3080 (bug#15632).
3081
3082 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
3083
3084 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
3085
3086 2014-02-08 Glenn Morris <rgm@gnu.org>
3087
3088 * help-fns.el (describe-variable):
3089 Check {file,dir}-local-variables-alist, and buffer-file-name,
3090 in the correct buffer.
3091
3092 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
3093
3094 * help-fns.el (describe-variable): Fix the case where
3095 a value is directory-local with no dir-locals file. (Bug#16635)
3096
3097 2014-02-08 Glenn Morris <rgm@gnu.org>
3098
3099 * abbrev.el (edit-abbrevs-mode):
3100 Derive from fundamental-mode. (Bug#16682)
3101
3102 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
3103
3104 * simple.el (quoted-insert): Check character validity (bug#16677).
3105
3106 2014-02-07 Juri Linkov <juri@jurta.org>
3107
3108 * desktop.el (desktop-read): Claim the lock when the owner is not
3109 the current process. (Bug#16157)
3110
3111 2014-02-07 Juri Linkov <juri@jurta.org>
3112
3113 * desktop.el (desktop-buffers-not-to-save): Change default from nil
3114 to "\\` ". (Bug#16651)
3115
3116 2014-02-07 Juri Linkov <juri@jurta.org>
3117
3118 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
3119 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
3120 (desktop-auto-save-cancel-timer): New function with some code from
3121 `desktop-auto-save-set-timer'.
3122 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
3123 Instead of setting `desktop-save-mode' to nil, call
3124 `desktop-save-mode' with arg 0. (Bug#16630)
3125
3126 2014-02-07 Glenn Morris <rgm@gnu.org>
3127
3128 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
3129 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
3130 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
3131
3132 * obsolete/iswitchb.el: Move to obsolete/.
3133 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
3134 since obsolete/ is not scanned for autoloads.
3135 * emacs-lisp/authors.el (authors-valid-file-names):
3136 Add iswitchb.el.
3137
3138 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
3139 Disable now non-functional find-file-hook.
3140
3141 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
3142
3143 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
3144 instead of ";" in order to avoid additional prompts. Let heredoc
3145 scripts read from tty. (Bug#16582)
3146 (tramp-send-command): No special handling of heredocs, it isn't
3147 necessary anymore.
3148
3149 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
3150
3151 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
3152 with a space (bug#16664). Limit the symbols considered to the ones
3153 that are bound or fbound (bug#16646).
3154
3155 2014-02-06 Glenn Morris <rgm@gnu.org>
3156
3157 * epa.el (epa-mail-aliases): Doc fix.
3158
3159 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
3160
3161 * emacs-lisp/lisp.el (lisp-completion-at-point):
3162 Use `completion-table-merge' instead of `completion-table-in-turn'
3163 (bug#16604).
3164
3165 * minibuffer.el (completion-table-merge): New function.
3166
3167 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
3168
3169 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
3170 (tramp-sh-handle-set-file-acl)
3171 (tramp-sh-handle-start-file-process)
3172 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
3173 (tramp-find-executable, tramp-send-command): Use it.
3174
3175 2014-02-05 Glenn Morris <rgm@gnu.org>
3176
3177 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
3178
3179 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
3180
3181 * progmodes/python.el (python-shell-send-string)
3182 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
3183
3184 2014-02-04 Anders Lindgren <andlind@gmail.com>
3185
3186 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
3187 the names (bug#16620).
3188
3189 2014-02-03 Martin Rudalics <rudalics@gmx.at>
3190
3191 * faces.el (window-divider): New default value. Rewrite doc-string.
3192 (window-divider-first-pixel, window-divider-last-pixel): New faces.
3193
3194 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
3195
3196 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
3197 `protected' and `public' can also be called without arguments.
3198
3199 2014-02-03 Glenn Morris <rgm@gnu.org>
3200
3201 * register.el (window-configuration-to-register)
3202 (frame-configuration-to-register): Unadvertise unused argument.
3203 * frameset.el (frameset-to-register): Remove unused argument.
3204
3205 * frameset.el (frameset-to-register):
3206 * kmacro.el (kmacro-to-register):
3207 * register.el (increment-register):
3208 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
3209 (calc-append-to-register, calc-prepend-to-register):
3210 * play/gametree.el (gametree-layout-to-register)
3211 (gametree-apply-register-layout):
3212 * textmodes/picture.el (picture-clear-rectangle-to-register)
3213 (picture-yank-rectangle-from-register):
3214 * vc/emerge.el (emerge-combine-versions-register):
3215 Use register-read-with-preview to read registers.
3216
3217 2014-02-03 João Távora <joaotavora@gmail.com>
3218
3219 * elec-pair.el (electric-pair-backward-delete-char): Don't error
3220 when at beginning of (possibly narrowed) buffer.
3221
3222 2014-02-02 Daniel Colascione <dancol@dancol.org>
3223
3224 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
3225 Also try to display local help from just before point.
3226
3227 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
3228
3229 c-parse-state. Don't "append-lower-brace-pair" in certain
3230 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
3231 recognised as a comment.
3232
3233 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
3234 as well as normal comment starter.
3235 (c-parse-state-get-strategy): Extra return possibility
3236 'back-and-forward.
3237 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
3238 return value list to indicate replacement of a brace-pair cons
3239 with its car.
3240 (c-parse-state-1): With 'back-and-forward, only call
3241 c-append-lower-brace-pair-to state-cache when cons-separated.
3242
3243 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
3244
3245 * term/ns-win.el (ns-suspend-error): New function.
3246 (ns-initialize-window-system): Add ns-suspend-error to
3247 suspend-hook (Bug#16612).
3248
3249 2014-02-02 Daniel Colascione <dancol@dancol.org>
3250
3251 * progmodes/cc-defs.el (c-find-assignment-for-mode):
3252 Make loading cc-mode silent.
3253
3254 2014-02-02 Daniel Colascione <dancol@dancol.org>
3255
3256 * comint.el (comint-prompt-read-only): Change doc to suggest
3257 remap keybinding.
3258
3259 2014-02-02 Glenn Morris <rgm@gnu.org>
3260
3261 * register.el (register-read-with-preview, point-to-register)
3262 (window-configuration-to-register, frame-configuration-to-register)
3263 (jump-to-register, number-to-register, view-register, insert-register)
3264 (copy-to-register, append-to-register, prepend-to-register)
3265 (copy-rectangle-to-register): Doc fixes.
3266
3267 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3268
3269 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
3270 * emacs-lisp/find-func.el (find-function-C-source): Idem.
3271 * emacs-lisp/nadvice.el (advice--cd*r): New function.
3272 * help-fns.el (describe-function-1): Use it.
3273
3274 2014-02-02 Glenn Morris <rgm@gnu.org>
3275
3276 * register.el (register-preview-default): New function,
3277 split from register-preview.
3278 (register-preview-function): Rename from register-preview-functions,
3279 make it not a hook.
3280 (register-preview): Use register-preview-function.
3281 (register-read-with-preview): Error on non-character event. (Bug#16595)
3282
3283 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
3284
3285 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
3286 `:' before binary operators (bug#16609). Don't check for `:'
3287 before `[' and `(', or their syntax status. A percent literal
3288 can't end with either.
3289 (ruby-font-lock-keywords): For built-ins that require arguments,
3290 check that they're followed by something that looks like argument
3291 (bug#16610).
3292
3293 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
3294
3295 * subr.el (butlast): Document what an omitted N means (bug#13437).
3296 (nbutlast): Ditto.
3297
3298 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
3299
3300 * net/shr.el (shr-generic): Make into a defsubst to make the stack
3301 depth shallower (bug#16587).
3302 (shr-tag-svg): Respect `shr-inhibit-images'.
3303 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
3304
3305 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
3306
3307 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
3308 (ruby-smie-grammar): Make "." right-associative. Make its priority
3309 lower than the ternary and all binary operators.
3310 (ruby-smie-rules): Indent "(" relative to the first non-"."
3311 parent, or the first "." parent at indentation.
3312 Use `ruby-align-chained-calls' for indentation of "." tokens.
3313 (Bug#16593)
3314
3315 2014-01-31 Juri Linkov <juri@jurta.org>
3316
3317 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
3318 from `make-hash-table'.
3319
3320 * textmodes/ispell.el (ispell-init-process): Change message format
3321 to be consistent with other messages.
3322
3323 2014-01-31 Glenn Morris <rgm@gnu.org>
3324
3325 * delsel.el (delete-selection-mode): Doc fix.
3326
3327 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
3328 (trace-function-background): Doc fixes.
3329
3330 * ido.el (ido-use-virtual-buffers): Doc fix.
3331 Reset :version, since the default value has not changed.
3332
3333 * register.el (register-preview-delay, register-read-with-preview):
3334 Doc fixes.
3335
3336 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
3337 do not mess with mail-buffer position (fixes 2009-11-03 change).
3338 * progmodes/cc-mode.el (c-submit-bug-report):
3339 Check auto-fill-mode is bound. (Bug#16592)
3340
3341 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
3342
3343 * startup.el (fancy-splash-image-file): New function,
3344 split from fancy-splash-head.
3345 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
3346 so that we are both using the same image. (Bug#16574)
3347
3348 2014-01-30 Glenn Morris <rgm@gnu.org>
3349
3350 * simple.el (eval-expression): Doc fix.
3351
3352 * hexl.el (hexl-mode-hook):
3353 * ielm.el (ielm-mode-hook):
3354 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
3355 (lisp-interaction-mode-hook):
3356 * progmodes/cfengine.el (cfengine3-documentation-function):
3357 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
3358
3359 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3360
3361 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
3362 is a symbol (bug#16584).
3363
3364 2014-01-30 Glenn Morris <rgm@gnu.org>
3365
3366 * help.el (help-for-help-internal): Add "P" to text.
3367
3368 2014-01-29 Glenn Morris <rgm@gnu.org>
3369
3370 * simple.el (just-one-space, cycle-spacing): Doc fixes.
3371
3372 2014-01-28 Martin Rudalics <rudalics@gmx.at>
3373
3374 * window.el (fit-frame-to-buffer): Fix calculations for margins and
3375 height constraints.
3376
3377 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
3378
3379 * progmodes/hideif.el: Extend to full CPP expression syntax.
3380 (hif-token-alist): Add missing tokens.
3381 (hif-token-regexp): Add support for float/octal/hex immediates.
3382 (hif-string-literal-regexp): New const.
3383 (hif-tokenize): Recognize strings and float/octal/hex immediates.
3384 (hif-exprlist): New function.
3385 (hif-parse-if-exp): Use it.
3386 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
3387 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
3388 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
3389 (hif-logxor, hif-comma): New functions.
3390
3391 2014-01-28 Glenn Morris <rgm@gnu.org>
3392
3393 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
3394
3395 * indent.el (tab-stop-list): Doc fix. Add :version.
3396
3397 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
3398 (cvs-append-to-ignore): Add compatibility alias.
3399
3400 2014-01-27 Glenn Morris <rgm@gnu.org>
3401
3402 * dired.el (dired-hide-details-mode): Don't autoload it,
3403 since it cannot be used outside Dired buffers anyway.
3404
3405 * emulation/cua-base.el (cua-mode): Doc fix.
3406
3407 * dired.el (dired-hide-details-hide-symlink-targets)
3408 (dired-hide-details-hide-information-lines)
3409 (dired-hide-details-mode): Doc fixes.
3410
3411 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
3412 * strokes.el (strokes-file): Doc fix. Bump :version.
3413 (strokes-help): Doc fix.
3414 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
3415 * emulation/viper.el (viper): Doc fix for custom group.
3416 (top-level): Remove oh-so-no-longer-relevant text about vip.
3417 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
3418
3419 * ido.el (ido-save-directory-list-file):
3420 * saveplace.el (save-place-file):
3421 * calendar/timeclock.el (timeclock-file):
3422 * net/quickurl.el (quickurl-url-file):
3423 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
3424 * progmodes/idlwave.el (idlwave-config-directory):
3425 * textmodes/remember.el (remember-data-file):
3426 Bump :version.
3427
3428 2014-01-26 Glenn Morris <rgm@gnu.org>
3429
3430 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
3431 Doc fix. Make obsolete.
3432 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
3433
3434 * sort.el (delete-duplicate-lines): Doc fix.
3435
3436 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3437
3438 * progmodes/ada-mode.el (ada):
3439 * woman.el (woman): Link to info manual and Commentary section.
3440
3441 * progmodes/flymake.el (flymake):
3442 * nxml/nxml-mode.el (nxml):
3443 * net/eww.el (eww):
3444 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
3445 * htmlfontify.el (htmlfontify):
3446 * ses.el (ses):
3447 * epa.el (epa):
3448 * ido.el (ido): Link to info manual.
3449
3450 2014-01-25 Leo Liu <sdl.web@gmail.com>
3451
3452 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
3453
3454 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
3455
3456 * net/shr.el (shr-tag-img): Prefer the title over the alt text
3457 (bug#16537).
3458
3459 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
3460
3461 * net/eww.el (eww-download-callback):
3462 Fix reference to eww-download-directory.
3463
3464 * emacs-lisp/bytecomp.el (byte-compile-file):
3465 Remove unused local variable `file-name'.
3466
3467 2014-01-24 Glenn Morris <rgm@gnu.org>
3468
3469 * woman.el (woman-default-faces, woman-monochrome-faces):
3470 Fix obsolescence specification.
3471
3472 * subr.el (with-demoted-errors): Doc fix.
3473
3474 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
3475
3476 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
3477 (cl--macroexp-fboundp): New function.
3478 (cl--make-type-test): Use it.
3479
3480 2014-01-23 Glenn Morris <rgm@gnu.org>
3481
3482 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
3483 * simple.el (eval-expression): Doc fixes.
3484
3485 2014-01-22 Glenn Morris <rgm@gnu.org>
3486
3487 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
3488
3489 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
3490
3491 * emacs-lisp/package.el: Write files silently.
3492 (package-autoload-ensure-default-file, package--write-file-no-coding)
3493 (package-generate-description-file, package--download-one-archive)
3494 (package-install-from-archive): Tell `write-region' to stay quiet.
3495 (package-menu-mode, package-menu--print-info): Omit the Archive column
3496 if there's only one archive.
3497 (package-all-keywords, package--has-keyword-p): Remove dead code.
3498
3499 2014-01-22 Glenn Morris <rgm@gnu.org>
3500
3501 * version.el (emacs-bzr-version-bzr): Fix typo.
3502
3503 * version.el (emacs-repository-get-version):
3504 Check either .bzr or .git, but not both.
3505 Make the git case actually use the DIR argument, and return nil
3506 rather than the empty string.
3507 Avoid error if .git exists but the git executable is not found.
3508
3509 2014-01-22 Martin Rudalics <rudalics@gmx.at>
3510
3511 Fixes in window size functions around Bug#16430 and Bug#16470.
3512 * window.el (window-total-size, window-size): New argument ROUND.
3513 (window--min-delta-1, window-min-delta, window--max-delta-1):
3514 Be more conservative when calculating the numbers of lines or
3515 columns a window can shrink (Bug#16430).
3516 (fit-window-to-buffer): Simplify code.
3517 * term.el (term-window-width): Call window-body-width again.
3518
3519 2014-01-22 Glenn Morris <rgm@gnu.org>
3520
3521 * image.el (image-format-suffixes): Doc fix.
3522
3523 * international/quail.el (quail-define-package): Doc fix.
3524
3525 * emacs-lisp/authors.el (authors-valid-file-names)
3526 (authors-renamed-files-alist): Additions.
3527
3528 * vc/vc-git.el (vc-git-print-log): Remove --follow;
3529 reverts 2014-01-09 change. (Bug#16422)
3530
3531 * calc/calc-embed.el (thing-at-point-looking-at):
3532 * emacs-lisp/map-ynp.el (x-popup-dialog):
3533 * obsolete/lmenu.el (x-popup-dialog):
3534 * emacs-lisp/package.el (url-recreate-url):
3535 * mail/mailclient.el (clipboard-kill-ring-save):
3536 * subr.el (x-popup-dialog): Update declaration.
3537 * mail/rmail.el (rmail-mime-message-p):
3538 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
3539
3540 2014-01-21 Daniel Colascione <dancol@dancol.org>
3541
3542 * progmodes/sh-script.el (sh--inside-noncommand-expression):
3543 Correctly detect when we're inside an arithmetic expansion form
3544 containing nested parenthesis.
3545 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
3546 to detect cases where we shouldn't expand "<<" to a heredoc
3547 skeleton.
3548
3549 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
3550
3551 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
3552 (eldoc--message-command-p): New function.
3553 (eldoc-display-message-p): Use it.
3554 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
3555 message is not automatically erased for us.
3556 (eldoc-print-current-symbol-info): Erase previous message, if any.
3557
3558 2014-01-21 Tassilo Horn <tsdh@gnu.org>
3559
3560 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
3561 specify it's an interactive function.
3562
3563 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
3564 Fix regex used for scanning for citation keys which failed for
3565 citations with optional arguments.
3566
3567 2014-01-21 Leo Liu <sdl.web@gmail.com>
3568
3569 * simple.el (read--expression): Don't enable eldoc-mode.
3570
3571 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
3572
3573 * simple.el (move-beginning-of-line): Make sure we don't move forward
3574 (bug#16497).
3575
3576 2014-01-20 Juri Linkov <juri@jurta.org>
3577
3578 * saveplace.el (toggle-save-place, save-place-to-alist)
3579 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
3580 'dired-mode) before checking for dired-directory. (Bug#16477)
3581
3582 2014-01-20 Juri Linkov <juri@jurta.org>
3583
3584 * indent.el (indent-line-to): Use backward-to-indentation
3585 instead of back-to-indentation. (Bug#16461)
3586
3587 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
3588
3589 Revert some of the CANNOT_DUMP fix (Bug#16494).
3590 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
3591 but fixing this can wait until after the next release.
3592 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
3593
3594 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
3595
3596 * eshell/esh-mode.el (eshell-password-prompt-regexp):
3597 Use `password-word-equivalents'.
3598 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
3599 to t. (Bug#5664, Bug#13124)
3600
3601 2014-01-19 Alan Mackenzie <acm@muc.de>
3602
3603 Bind open-paren-in-column-0-is-defun-start to nil at some entry
3604 points.
3605 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
3606 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
3607 * progmodes/cc-mode.el (c-before-change, c-after-change)
3608 (c-font-lock-fontify-region): Bind it here.
3609
3610 2014-01-19 Martin Rudalics <rudalics@gmx.at>
3611
3612 * term.el (term-window-width): Call window-text-width instead of
3613 window-width (Bug#16470).
3614
3615 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
3616
3617 * simple.el (password-word-equivalents): Remove duplicates.
3618 Sort, to make this easier next time.
3619 Downcase. Omit ": " after "jelszó".
3620
3621 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
3622
3623 * term/common-win.el (saved-region-selection): Defvar it.
3624 (x-select-text): Set saved-region-selection (Bug#16382).
3625
3626 2014-01-18 Glenn Morris <rgm@gnu.org>
3627
3628 * emacs-lisp/authors.el (authors-aliases)
3629 (authors-renamed-files-alist): Add some entries.
3630
3631 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
3632
3633 * net/tramp.el (tramp-password-prompt-regexp):
3634 Use `password-word-equivalents' if available.
3635 (tramp-action-password, tramp-process-one-action)
3636 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
3637
3638 2014-01-17 Chong Yidong <cyd@gnu.org>
3639
3640 * simple.el (password-word-equivalents): New defcustom.
3641 * comint.el (comint-password-prompt-regexp): Use it. Bump version
3642 to 24.4.
3643 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
3644 to t. (Bug#13124)
3645
3646 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
3647
3648 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
3649 (ruby-align-to-stmt-keywords): Change the default value.
3650 Use `ruby-alignable-keywords' to generate the possible customization
3651 choices.
3652 (ruby-smie-rules): Instead of using a hardcoded list of alignable
3653 keywords, check against the value of `ruby-alignable-keywords'
3654 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
3655
3656 2014-01-17 Glenn Morris <rgm@gnu.org>
3657
3658 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
3659
3660 Make M-x authors return zero *Authors Errors* from current logs.
3661 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
3662 (authors-ignored-files): Add some entries, remove others.
3663 (authors-ambiguous-files, authors-valid-file-names):
3664 Add some entries.
3665 (authors-renamed-files-alist): Add, remove, and adjust entries.
3666 (authors-renamed-files-regexps): Add some entries.
3667 Remove some very broad ones. Make some entries `lax'.
3668 (authors-lax-changelogs): New constant.
3669 (authors-disambiguate-file-name): Treat top-level specially.
3670 (authors-lax-changelog-p): New function.
3671 (authors-canonical-file-name): Check file as written against
3672 authors-valid-file-names. Do not special-case etc/.
3673 Handle `lax' logs and authors-renamed-files-regexps elements.
3674
3675 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
3676
3677 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
3678 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
3679 callers.
3680
3681 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3682
3683 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
3684 Assume we're already in the proper buffer.
3685 Inspired by Anders Lindgren <andlind@gmail.com>.
3686 (follow-post-command-hook): Call it from the right buffer.
3687 (follow-comint-scroll-to-bottom): Adjust call.
3688 (follow-all-followers): Use get-buffer-window-list.
3689
3690 2014-01-15 Daniel Colascione <dancol@dancol.org>
3691
3692 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
3693 `buffer-file-name' in interactive-form so that we don't leave
3694 pathless file names in `file-name-history'.
3695
3696 2014-01-15 Juri Linkov <juri@jurta.org>
3697
3698 * indent.el (indent-rigidly): Set deactivate-mark to nil
3699 in transient indentation mode. (Bug#16438)
3700
3701 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
3702
3703 * emacs-lisp/package.el (package-desc-keywords): New function
3704 (Bug#16222).
3705 (describe-package-1, package-all-keywords)
3706 (package--has-keyword-p): Use it.
3707
3708 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3709
3710 * simple.el (define-alternatives): When creating the
3711 COMMAND-alternatives variable, assign COMMAND as its definition
3712 name so that `describe-variable' can relocate it.
3713
3714 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
3715
3716 * font-lock.el (font-lock-keywords): Fix typo in docstring
3717 (bug#16307).
3718
3719 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3720
3721 * ispell.el (ispell-region): Reset `in-comment' for new line
3722 instead of wrongly reset `add-coment' (bug#13577).
3723
3724 2014-01-14 Daiki Ueno <ueno@gnu.org>
3725
3726 * epa-file.el (epa-file-write-region): Encode the region according
3727 to `buffer-file-format'. Problem reported at:
3728 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
3729
3730 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
3731
3732 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
3733 so it applies in the right buffer (bug#16410).
3734
3735 2014-01-13 Daniel Colascione <dancol@dancol.org>
3736
3737 * textmodes/rst.el (rst-define-key): Provide deprecated
3738 keybindings through named functions instead of anonymous ones so
3739 that "??" doesn't appear in describe-mode output.
3740
3741 2014-01-13 Bastien Guerry <bzg@gnu.org>
3742
3743 * simple.el (define-alternatives): Call the selected command
3744 interactively. When setting `COMMAND--implementation' for the
3745 first time, tell the user how to chose another implementation.
3746 Enhance the docstring.
3747
3748 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3749
3750 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
3751 (log-edit--match-first-line): New function.
3752 (log-edit-font-lock-keywords): Use it.
3753 (log-edit-mode): Make jit-lock-defer-multiline work.
3754
3755 2014-01-13 Bastien Guerry <bzg@gnu.org>
3756
3757 * rect.el (rectangle-mark-mode): When the region is not active,
3758 display a message saying that the mark as been set and that
3759 rectangle mode is in use.
3760 (rectangle--highlight-for-redisplay): Only put an overlay with a
3761 visible vertical bar when (display-graphic-p) is non-nil.
3762 This partially fixes Bug#16403.
3763
3764 2014-01-13 Juri Linkov <juri@jurta.org>
3765
3766 * info.el (Info-find-file): Go to DIR before displaying the error
3767 about a nonexistent file if no previous Info file is visited.
3768 Use `user-error' instead of `error' for "Info file %s does not exist".
3769 (Info-find-node-2): In case of a nonexistent node in unwind forms
3770 go to the Top node if there is no previous node to revert to.
3771 (Bug#16405)
3772
3773 2014-01-13 Martin Rudalics <rudalics@gmx.at>
3774
3775 fit-frame/window-to-buffer code fixes including one for Bug#14096.
3776 * window.el (fit-frame-to-buffer): Fix doc-string.
3777 Respect window-min-height/-width. Fit pixelwise when
3778 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
3779 when avoiding that frame goes partially off-screen.
3780 (fit-window-to-buffer): Respect window-min-height/-width
3781 (Bug#14096).
3782
3783 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3784
3785 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
3786 after an empty line.
3787
3788 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
3789
3790 * net/shr.el (shr-render-region): Autoload.
3791
3792 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
3793
3794 * net/eww.el (eww-download-directory): Rename from
3795 `eww-download-path' (Bug#16419).
3796
3797 2014-01-12 Leo Liu <sdl.web@gmail.com>
3798
3799 * dired-x.el (dired-mode-map): Fix last change.
3800
3801 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
3802
3803 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
3804
3805 Spelling fixes.
3806 * emacs-lisp/generic.el (generic--normalize-comments):
3807 Rename from generic--normalise-comments. All uses changed.
3808 * play/bubbles.el (bubbles--neighborhood-score)
3809 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
3810 (bubbles--neighborhood-available)
3811 (bubbles--update-neighborhood-score):
3812 Rename from names with 'neighbourhood'. All uses changed.
3813
3814 2014-01-12 Leo Liu <sdl.web@gmail.com>
3815
3816 Re-implement the feature of showing eldoc info after editing.
3817 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
3818 (eldoc-edit-message-commands): New function.
3819 (eldoc-print-after-edit): New variable.
3820 (eldoc-pre-command-refresh-echo-area): Emit message only by
3821 eldoc-message-commands.
3822 (eldoc-mode): Restrict eldoc-message-commands to editing commands
3823 if eldoc-print-after-edit is set. (Bug#16346)
3824 * simple.el (read--expression): Enable eldoc-mode.
3825 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
3826
3827 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
3828 Eric S. Raymond <esr@thyrsus.com>
3829
3830 * version.el (emacs-repository-get-version): Enhance so the
3831 function works correctly in either a Bazaar or Git repo.
3832
3833 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
3834
3835 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
3836 Goes with removal of the joke manpages from /etc.
3837
3838 2014-01-10 Kenichi Handa <handa@gnu.org>
3839
3840 * mail/rmail.el (rmail-get-coding-system):
3841 Check rmail-get-coding-function before "funcall"ing it.
3842
3843 2014-01-10 Glenn Morris <rgm@gnu.org>
3844
3845 * emacs-lisp/authors.el (authors-fixed-entries):
3846 Update for files that no longer exist.
3847
3848 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
3849
3850 * version.el (emacs-bzr-get-version): Restore compatibilty with
3851 24.3 (Tested).
3852
3853 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
3854
3855 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
3856 and Podfile.
3857
3858 2014-01-10 Eli Zaretskii <eliz@gnu.org>
3859
3860 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
3861
3862 2014-01-10 Chong Yidong <cyd@gnu.org>
3863
3864 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
3865
3866 2014-01-10 Anders Lindgren <andlind@gmail.com>
3867
3868 * follow.el (follow-cache-command-list): Include right-char and
3869 left-char.
3870
3871 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
3872
3873 Spelling fixes.
3874 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
3875 * woman.el (woman-mark-horizontal-position):
3876 Rename from woman-mark-horizonal-position. Use changed.
3877
3878 2014-01-10 Glenn Morris <rgm@gnu.org>
3879
3880 * info.el (info-initialize): If running uninstalled, ensure our
3881 own info files are always found first, even if INFOPATH is set.
3882
3883 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
3884
3885 2014-01-09 David Engster <deng@randomsample.de>
3886
3887 * emacs-lisp/eieio-custom.el:
3888 * emacs-lisp/eieio-opt.el: Set generated autoload file to
3889 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
3890 * emacs-lisp/eieio.el: Regenerate autoloads.
3891
3892 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
3893
3894 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
3895 following renames. (Bug#8756)
3896
3897 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
3898
3899 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
3900 (bug#16382).
3901 (activate-mark): Add `no-tmm' argument.
3902 (set-mark, push-mark-command): Use it instead of running
3903 activate-mark-hook by hand.
3904
3905 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
3906
3907 In preparation for the move to git, sanitize out some
3908 Bazaar-specific names.
3909
3910 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
3911
3912 * version.el (emacs-bzr-version): Name changed to
3913 emacs-repository-version. Obsolete-variable alias made.
3914 * loadup.el: Follow through on this name change.
3915 * mail/emacsbug.el (report-emacs-bug): Factor out any
3916 assumption about the version control system in use.
3917
3918 2014-01-08 David Engster <deng@randomsample.de>
3919
3920 * help-fns.el (help-fns-describe-function-functions):
3921 New variable to call functions for augmenting help buffers.
3922 (describe-function-1): Remove explicit calls to
3923 `help-fns--compiler-macro', `help-fns--parent-mode' and
3924 `help-fns--obsolete'. Put them in above new variable instead, and
3925 call them through `run-hook-with-args'.
3926 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
3927 `eieio-describe-class'. Not meant for interactive use anymore,
3928 but to augment existing help buffers. Remove optional second
3929 argument. Create proper button for file location.
3930 Rewrite function to use `insert' instead of `princ' and `prin1' where
3931 possible.
3932 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
3933 (eieio-method-def, eieio-class-def): Move further up.
3934 (describe-method, describe-generic, eieio-describe-method):
3935 Remove aliases.
3936 (eieio-help-constructor, eieio-help-generic): Rename from
3937 `eieio-describe-constructor' and `eieio-describe-generic', resp.
3938 Rewrite to use `insert' in the current buffer and use proper help
3939 buttons.
3940 (eieio-help-find-method-definition)
3941 (eieio-help-find-class-definition): Also accept symbols as
3942 arguments.
3943 (eieio-help-mode-augmentation-maybee): Remove.
3944 (eieio-describe-class-sb): Use `describe-function'.
3945 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
3946 Add `eieio-help-generic' and `eieio-help-constructor'.
3947
3948 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
3949
3950 Spelling fixes.
3951 * language/china-util.el (hz-ascii-designation):
3952 Rename from hz-ascii-designnation.
3953 (hz-ascii-designation): Rename from hz-ascii-designnation.
3954 All uses changed.
3955
3956 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3957
3958 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
3959 package-alist.
3960
3961 2014-01-08 Bastien Guerry <bzg@gnu.org>
3962
3963 * emacs-lisp/package.el (package-delete):
3964 Correctly delete the package from package-alist.
3965
3966 2014-01-08 Daiki Ueno <ueno@gnu.org>
3967
3968 * emacs-lisp/package.el (url-recreate-url): Declare.
3969 (url-http-target-url): Declare.
3970 (package-handle-response): Include requested URL in the error message.
3971 (package--check-signature): Don't re-signal errors from
3972 package--with-work-buffer. Suggested by Stefan Monnier.
3973
3974 2014-01-07 Bastien Guerry <bzg@gnu.org>
3975
3976 * minibuffer.el (completion--try-word-completion): When both a
3977 hyphen and a space are possible candidates for the character
3978 following a word, display both candidates. (Bug#15980)
3979
3980 2014-01-07 Martin Rudalics <rudalics@gmx.at>
3981
3982 * window.el (balance-windows-2): While rounding don't give a
3983 window more than the remainder. Bug#16351, bug#16383.
3984
3985 2014-01-07 Glenn Morris <rgm@gnu.org>
3986
3987 * menu-bar.el (menu-bar-help-extra-packages): Remove.
3988 (menu-bar-help-menu): Use view-external-packages instead.
3989
3990 2014-01-07 Bastien Guerry <bzg@gnu.org>
3991
3992 * emacs-lisp/package.el (package-delete): Also delete the package
3993 name from `package-alist', not its description only.
3994
3995 2014-01-07 Glenn Morris <rgm@gnu.org>
3996
3997 * help.el (view-external-packages):
3998 * menu-bar.el (menu-bar-help-extra-packages):
3999 Visit efaq.info rather than etc/MORE.STUFF.
4000
4001 2014-01-07 Juri Linkov <juri@jurta.org>
4002
4003 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
4004 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
4005
4006 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
4007 that shadows RET. (Bug#16342)
4008
4009 2014-01-07 Chong Yidong <cyd@gnu.org>
4010
4011 * isearch.el (isearch-yank-char, isearch-yank-word)
4012 (isearch-yank-line): Doc fix.
4013
4014 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4015
4016 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
4017 * emacs-lisp/elint.el (elint-find-builtins):
4018 * emacs-lisp/eldoc.el (eldoc-symbol-function):
4019 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
4020 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
4021 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4022 * apropos.el (apropos-safe-documentation):
4023 * subr.el (symbol-file): Remove redundant fboundp.
4024 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
4025
4026 2014-01-06 Bastien Guerry <bzg@gnu.org>
4027
4028 * hl-line.el (global-hl-line-overlay): Make a local variable.
4029 (global-hl-line-overlays): New variable to store all overlays.
4030 (global-hl-line-mode): Don't delete overlays from the current
4031 buffer when `global-hl-line-sticky-flag' is non-nil.
4032 (global-hl-line-highlight): Add new overlays to
4033 `global-hl-line-overlays'.
4034 (global-hl-line-unhighlight-all): New function to delete all
4035 overlays when turning off `global-hl-line-mode'.
4036 This fixes Bug#16183.
4037
4038 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4039
4040 * subr.el (set-transient-map): Fix nested case and docstring.
4041
4042 2014-01-06 Tassilo Horn <tsdh@gnu.org>
4043
4044 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
4045 `Texinfo' entry.
4046
4047 2014-01-06 Daniel Colascione <dancol@dancol.org>
4048
4049 Fix defun navigation in vc log view.
4050
4051 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
4052 like `beginning-of-defun'.
4053 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
4054 log-view-end-of-defun to log-view-end-of-defun-1. Replace
4055 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
4056 (log-view-extract-comment): Call `log-view-current-entry' directly
4057 instead of relying on broken `log-view-beginning-of-defun' behavior.
4058
4059 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
4060
4061 Spelling fixes.
4062 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
4063 * emacs-lisp/debug.el (cancel-debug-on-entry):
4064 * epg.el (epg-error-to-string):
4065 * files.el (recover-file):
4066 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
4067 * mail/emacsbug.el (report-emacs-bug-hook):
4068 * mail/sendmail.el (mail-recover):
4069 * ses.el (ses-yank-resize):
4070 * term/ns-win.el (ns-print-buffer):
4071 Spelling fixes in diagnostics, mostly for "canceled" with one L.
4072 * epg.el (epg-key-capability-alist): Rename from misspelled version.
4073 All uses changed.
4074 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
4075
4076 2014-01-06 Leo Liu <sdl.web@gmail.com>
4077
4078 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
4079 to avoid shadowing global key. (Bug#16354)
4080
4081 2014-01-06 Daniel Colascione <dancol@dancol.org>
4082
4083 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
4084 rst-mode.
4085
4086 2014-01-05 Martin Rudalics <rudalics@gmx.at>
4087
4088 * window.el (balance-windows): Add mising t to fix Bug#16351.
4089
4090 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4091
4092 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
4093 (bug#16285).
4094 (shr-insert): If we have a word that's longer than `shr-width',
4095 break after it anyway. Otherwise we'll do no breaking once we get
4096 such a long word.
4097
4098 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4099
4100 * net/eww.el (eww): Support single/double quote for search.
4101 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
4102 (eww-history-quit): Delete and use quit-window.
4103 (eww-history-kill): Delete, because it doesn't work well and
4104 not necessary.
4105 (eww-history-mode-map): Delete some keys and add easy-menu.
4106
4107 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
4108
4109 Fix misspelling of 'chinese' in rx (Bug#16237).
4110 * emacs-lisp/rx.el (rx-categories): Correct spelling of
4111 chinese-two-byte.
4112
4113 Change subword regexps back to vars (Bug#16296).
4114 * progmodes/subword.el (subword-forward-regexp)
4115 (subword-backward-regexp): Change these back to variables.
4116
4117 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
4118
4119 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
4120 syntax-begin-function (bug#16247).
4121
4122 2014-01-03 Chong Yidong <cyd@gnu.org>
4123
4124 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
4125 (advice--docstring): Delete variable.
4126 (advice--make-1): Leave the docstring empty.
4127 (advice-add): Use function-documentation for advised docstring.
4128
4129 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
4130 Ignore function-documentation property when getting documentation.
4131 (ad-activate-advised-definition): Use function-documentation
4132 generate the docstring.
4133 (ad-make-advised-definition): Don't call
4134 ad-make-advised-definition-docstring.
4135 (ad-make-advised-definition-docstring, ad-advised-definition-p):
4136 Delete functions.
4137
4138 * progmodes/sql.el (sql-help): Use function-documentation instead
4139 of dynamic-docstring-function property. No need to autoload now.
4140 (sql--help-docstring): New variable.
4141 (sql--make-help-docstring): Use it.
4142
4143 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
4144
4145 * ielm.el (ielm-tab): Retarget.
4146 (ielm-map): Use ielm-tab for tab.
4147 (ielm-complete-filename): Use comint-filename-completion.
4148 (ielm-complete-symbol): Remove.
4149 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
4150 remove ielm-tab from completion-at-point-functions (bug#16224).
4151
4152 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
4153 Beware signals raised by predicates (bug#16201).
4154
4155 2014-01-02 Richard Stallman <rms@gnu.org>
4156
4157 * dired-aux.el (dired-do-print): Handle printer-name.
4158
4159 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
4160 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
4161 (rmail-epa-decrypt): Turn off mime processing.
4162
4163 * mail/rmail.el (rmail-make-in-reply-to-field):
4164 Add parens in message-id.
4165
4166 * mail/rmail.el (rmail-get-coding-function): Variable.
4167 (rmail-get-coding-system): Use it.
4168
4169 2013-12-31 Eli Zaretskii <eliz@gnu.org>
4170
4171 * international/mule-conf.el: Unify the charset indian-is13194.
4172 (indian-is13194): Specify unify-map.
4173
4174 2013-12-31 Leo Liu <sdl.web@gmail.com>
4175
4176 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
4177
4178 2013-12-30 Daniel Colascione <dancol@dancol.org>
4179
4180 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
4181 of printing a useless when we resume from sleep.
4182
4183 * progmodes/sh-script.el
4184 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
4185 in indentation code. (Bug#16233)
4186
4187 2013-12-28 João Távora <joaotavora@gmail.com>
4188
4189 * elec-pair.el (electric-pair-post-self-insert-function):
4190 Don't open extra newlines at beginning of buffer. (Bug#16272)
4191
4192 2013-12-28 Eli Zaretskii <eliz@gnu.org>
4193
4194 * frame.el (window-system-for-display): Don't allow to create a
4195 GUI frame from a -nw session on MS-Windows. (Bug#14739)
4196
4197 2013-12-28 Glenn Morris <rgm@gnu.org>
4198
4199 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
4200 Update callers.
4201
4202 * apropos.el (apropos-match-face):
4203 * calculator.el (calculator-displayer):
4204 * dabbrev.el (dabbrev-search-these-buffers-only):
4205 * face-remap.el (buffer-face-mode-face):
4206 * simple.el (yank-handled-properties):
4207 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
4208 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
4209 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
4210 (hashcash-double-spend-database):
4211 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
4212 (ruby-deep-indent-paren-style):
4213 * textmodes/flyspell.el (flyspell-auto-correct-binding):
4214 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
4215 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
4216 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
4217 Specify custom types.
4218
4219 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
4220 * bookmark.el (bookmark-bmenu-use-header-line):
4221 * doc-view.el (doc-view-scale-internally):
4222 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
4223 * register.el (register-preview-delay):
4224 * net/shr.el (shr-bullet):
4225 * progmodes/cfengine.el (cfengine-cf-promises)
4226 (cfengine-parameters-indent):
4227 * progmodes/octave.el (inferior-octave-error-regexp-alist):
4228 * textmodes/reftex-vars.el (reftex-label-regexps):
4229 * vc/log-edit.el (log-edit-setup-add-author): Add version.
4230
4231 * net/tls.el (tls-certtool-program): Fix default value.
4232
4233 * desktop.el (desktop-restore-in-current-display):
4234 * newcomment.el (comment-empty-lines):
4235 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
4236 (idlwave-pad-keyword):
4237 * progmodes/tcl.el (tcl-tab-always-indent):
4238 * textmodes/reftex-vars.el (reftex-index-default-tag):
4239 * elec-pair.el (electric-pair-skip-whitespace):
4240 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
4241
4242 * emacs-lisp/authors.el (authors-ignored-files)
4243 (authors-valid-file-names, authors-renamed-files-alist): Additions.
4244
4245 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
4246
4247 * shell.el (shell-dynamic-complete-command): Doc fix.
4248 (shell--command-completion-data): Shell completion now matches
4249 executable filenames from the current buffer's directory, on
4250 systems in which this behavior is the default (windows-nt, ms-dos).
4251
4252 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4253
4254 * net/shr.el (shr-insert): Don't infloop if the width is zero.
4255
4256 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
4257
4258 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
4259 (bug#16251).
4260
4261 * electric.el: Move all electric-pair-* to elec-pair.el.
4262 * elec-pair.el: New file, split from electric.el.
4263
4264 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4265
4266 * net/shr.el (shr-find-fill-point): Don't try to fill if the
4267 indentation level is larger than the width, because that will
4268 infloop.
4269 (shr-insert): Fill repeatedly long texts, so that Japanese is
4270 formatted correctly (bug#16263).
4271 (shr-find-fill-point): Off by one error in comparison with the
4272 indentation.
4273
4274 2013-12-26 João Távora <joaotavora@gmail.com>
4275
4276 * electric.el (electric-pair-mode): More flexible engine for skip-
4277 and inhibit predicates, new options for pairing-related functionality.
4278 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
4279 if that keeps or improves their balance in buffers.
4280 (electric-pair-delete-adjacent-pairs): Delete the pair when
4281 backspacing over adjacent matched delimiters.
4282 (electric-pair-open-extra-newline): Open extra newline when
4283 inserting newlines between adjacent matched delimiters.
4284 (electric--sort-post-self-insertion-hook):
4285 Sort post-self-insert-hook according to priority values when
4286 minor-modes are activated.
4287 * simple.el (newline-and-indent): Call newline with interactive
4288 set to t.
4289 (blink-paren-post-self-insert-function): Set priority to 100.
4290 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4291 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
4292 comments. Locally set electric-pair-skip-whitespace to 'chomp and
4293 electric-pair-open-newline-between-pairs to nil.
4294
4295 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
4296
4297 * progmodes/python.el: Use lexical-binding.
4298 (python-nav-beginning-of-defun): Stop searching ASAP.
4299
4300 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
4301
4302 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
4303 Fix interactive spec. Doc fix. (Bug#15754)
4304
4305 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
4306
4307 * emacs-lisp/byte-run.el (eval-when-compile):
4308 * progmodes/cc-defs.el (cc-eval-when-compile):
4309 Fix edebug spec (bug#16184).
4310
4311 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4312
4313 * net/shr.el (shr-visit-file): Remove debugging function.
4314 (shr-insert): Don't infloop if we can't find a good place to break
4315 the line (bug#16256).
4316
4317 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
4318
4319 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
4320 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
4321 python-nav-lisp-forward-sexp-safe.
4322 (python-nav--forward-sexp): New argument SAFE allows switching
4323 forward sexp movement behavior for parens.
4324 (python-nav-forward-sexp): Throw errors on unterminated parens
4325 (Bug#16191).
4326 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
4327 (python-nav-backward-sexp-safe): New functions.
4328 (python-shell-buffer-substring):
4329 Use `python-nav-forward-sexp-safe'.
4330
4331 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4332
4333 * net/shr.el (shr-find-fill-point): Don't break lines before a
4334 quotation mark.
4335 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
4336 (shr-find-fill-point): Remove the special checks for the quotation
4337 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
4338
4339 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4340
4341 * net/eww.el (eww-form-textarea): Use a different face for
4342 textareas than text input since they have different keymaps
4343 (bug#16142).
4344
4345 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
4346
4347 * progmodes/python.el (python-nav-beginning-of-statement):
4348 Speed up (Bug#15295).
4349
4350 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4351
4352 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
4353 the window configuration.
4354
4355 2013-12-24 Eli Zaretskii <eliz@gnu.org>
4356
4357 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
4358 we run on MS-Windows or MS-DOS.
4359
4360 2013-12-24 Martin Rudalics <rudalics@gmx.at>
4361
4362 * window.el (balance-windows-area): Call window-size instead of
4363 window-height and window-width. Bug#16241.
4364
4365 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4366
4367 * net/eww.el (eww-bookmark-quit): Remove.
4368 (eww-bookmark-browse): Restore the window configuration when you
4369 choose a bookmark (bug#16144).
4370
4371 2013-12-24 Daniel Colascione <dancol@dancol.org>
4372
4373 * icomplete.el: Remove redundant :group arguments to `defcustom'
4374 throughout.
4375 (icomplete-show-matches-on-no-input): New customizable variable.
4376 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
4377 we have something to show.
4378 (icomplete-exhibit): Compute completions even if we have no user input.
4379
4380 2013-12-23 Daniel Colascione <dancol@dancol.org>
4381
4382 * icomplete.el: Move `provide' to end of file.
4383
4384 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
4385
4386 * net/gnutls.el (gnutls-verify-error): Add version tag.
4387
4388 2013-12-23 Chong Yidong <cyd@gnu.org>
4389
4390 * subr.el (set-transient-map): Rename from
4391 set-temporary-overlay-map. Doc fix.
4392
4393 * face-remap.el (text-scale-adjust):
4394 * indent.el (indent-rigidly):
4395 * kmacro.el (kmacro-call-macro):
4396 * minibuffer.el (minibuffer-force-complete):
4397 * repeat.el (repeat):
4398 * simple.el (universal-argument--mode):
4399 * calendar/todo-mode.el (todo-insert-item--next-param):
4400 * progmodes/f90.el (f90-abbrev-start): Callers changed.
4401
4402 * indent.el (indent-rigidly): Use substitute-command-keys.
4403
4404 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4405
4406 * net/eww.el (eww-tag-select): Add text-property to jump to next
4407 select field.
4408 (eww): Add non-supported ftp error.
4409
4410 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4411
4412 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
4413 comments. Handle electric indent after typing `?' and `!'.
4414
4415 2013-12-22 Chong Yidong <cyd@gnu.org>
4416
4417 * faces.el (face-spec-recalc): If the theme specs are not
4418 applicable to a frame, fall back on the defface spec.
4419 This prevents themes from obliterating faces on low-color terminals.
4420
4421 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4422
4423 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
4424 after `{'. We need it after block openers, and it doesn't seem
4425 to hurt after hash openers.
4426
4427 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4428
4429 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
4430 extracted from `ruby-smie-rules'.
4431 (ruby--electric-indent-chars): New variable.
4432 (ruby--electric-indent-p): New function.
4433 (ruby-mode): Use `electric-indent-functions' instead of
4434 `electric-indent-chars'.
4435
4436 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4437
4438 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
4439 docstring.
4440 (ruby-smie-rules): Indent plus one level after `=>'.
4441
4442 2013-12-21 Richard Stallman <rms@gnu.org>
4443
4444 * simple.el (newline): Doc fix.
4445
4446 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4447
4448 * net/eww.el (eww-list-histories, eww-list-histories)
4449 (eww-history-browse, eww-history-quit, eww-history-kill)
4450 (eww-history-mode-map, eww-history-mode): New command and
4451 functions to list browser histories.
4452 (eww-form-text): Support text form with disabled
4453 and readonly attributes.
4454 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
4455
4456 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4457
4458 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
4459 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
4460 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
4461 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
4462 Use `user-error'.
4463 (eww-bookmark-mode-map): Add menu.
4464 (eww-render, eww-mode): Use `setq-local'.
4465 (eww-tool-bar-map): New variable.
4466 (eww-mode): Set `tool-bar-map'.
4467 (eww-view-source): Check for `html-mode' with `fboundp'.
4468
4469 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4470
4471 * net/shr.el (shr--extract-best-source): Don't bug out on audio
4472 elements with text inside. Also remove debugging.
4473
4474 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
4475
4476 * cus-start.el (all): Add ns-use-srgb-colorspace.
4477
4478 2013-12-21 Chong Yidong <cyd@gnu.org>
4479
4480 * custom.el (custom-theme-recalc-face): Do nothing if the face is
4481 undefined. Thus, theme settings for undefined faces do not take
4482 effect until the faces are defined with defface, the same as with
4483 theme variables.
4484
4485 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
4486 (face-spec-reset-face): Don't assign extra properties in temacs.
4487 (face-spec-recalc): Apply X resources too.
4488
4489 2013-12-21 Chong Yidong <cyd@gnu.org>
4490
4491 * faces.el (face-spec-set):
4492 * cus-face.el (custom-theme-set-faces, custom-set-faces):
4493 * custom.el (defface): Doc fixes (Bug#16203).
4494
4495 * indent.el (indent-rigidly-map): Add docstring, and move commands
4496 into named functions.
4497 (indent-rigidly-left, indent-rigidly-right)
4498 (indent-rigidly-left-to-tab-stop)
4499 (indent-rigidly-right-to-tab-stop): New functions. Decide on
4500 indentation direction based on bidi direction, and accumulate
4501 sequential commands in a single undo boundary.
4502 (indent-rigidly--pop-undo): New utility function.
4503
4504 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
4505
4506 * faces.el (read-face-name): Require crm.el when using crm-separator.
4507
4508 2013-12-20 Daniel Colascione <dancol@dancol.org>
4509
4510 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
4511 so that we don't reflow comments into the shebang line.
4512
4513 2013-12-20 Juri Linkov <juri@jurta.org>
4514
4515 * saveplace.el (save-place-to-alist): Add `dired-filename' as
4516 a position when `dired-directory' is non-nil. Check integer
4517 positions with `integerp'.
4518 (toggle-save-place, save-places-to-alist): Add check for
4519 `dired-directory'.
4520 (save-place-find-file-hook): Check integer positions with
4521 `integerp'.
4522 (save-place-dired-hook): Use `dired-goto-file' when
4523 `dired-filename' is found in the assoc list. Check integer
4524 positions with `integerp'.
4525 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
4526
4527 * dired.el (dired-initial-position-hook): Rename back from
4528 `dired-initial-point-hook'.
4529 (dired-initial-position): Rename `dired-initial-point-hook' to
4530 `dired-initial-position-hook'.
4531 (dired-file-name-at-point): Doc fix. (Bug#15329)
4532
4533 2013-12-20 Juri Linkov <juri@jurta.org>
4534
4535 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
4536 (read-regexp-suggestions): New function.
4537 (read-regexp): Use `read-regexp-defaults-function' to get default values.
4538 Use `read-regexp-suggestions'. Add non-empty default to history
4539 for empty input.
4540 (occur-read-regexp-defaults-function): Remove function.
4541 (occur-read-primary-args): Use `regexp-history-last' instead of
4542 `occur-read-regexp-defaults-function'.
4543
4544 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
4545 (hi-lock-line-face-buffer, hi-lock-face-buffer)
4546 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
4547 `hi-lock-read-regexp-defaults-function'. Doc fix.
4548 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
4549 with `find-tag-default-as-symbol-regexp'. Doc fix.
4550 (hi-lock-read-regexp-defaults): Remove function.
4551 (hi-lock-regexp-okay): Add check for null.
4552
4553 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
4554 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
4555
4556 * subr.el (find-tag-default-as-symbol-regexp): New function.
4557 (find-tag-default-as-regexp): Move symbol regexp formatting to
4558 `find-tag-default-as-symbol-regexp'.
4559
4560 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
4561
4562 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
4563 (Bug#14179)
4564
4565 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
4566
4567 * calendar/todo-mode.el: New implementation of item insertion
4568 commands and key bindings.
4569 (todo-key-prompt): New face.
4570 (todo-insert-item): New command.
4571 (todo-insert-item--parameters): New defconst, replacing defvar
4572 todo-insertion-commands-args-genlist.
4573 (todo-insert-item--param-key-alist): New defconst, replacing
4574 defvar todo-insertion-commands-arg-key-list.
4575 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
4576 (todo-insert-item--argsleft, todo-insert-item--apply-args)
4577 (todo-insert-item--next-param): New functions.
4578 (todo-insert-item--args, todo-insert-item--argleft)
4579 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
4580 New variables.
4581 (todo-key-bindings-t): Change binding of "i" from
4582 todo-insertion-map to todo-insert-item.
4583 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
4584 (todo-insertion-command-name, todo-insertion-commands-names)
4585 (todo-define-insertion-command, todo-insertion-commands)
4586 (todo-insertion-key-bindings, todo-insertion-map): Remove.
4587
4588 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
4589
4590 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
4591 (todo-toggle-item-highlighting): Use eval-and-compile instead of
4592 eval-when-compile.
4593 (todo-move-category): Allow choosing a non-existing todo file to
4594 move the category to, and create that file.
4595 (todo-default-priority): New user option.
4596 (todo-set-item-priority): Use it.
4597 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
4598 (desktop-restore-file-buffer): Declare.
4599 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
4600 (todo-modes-set-2): Locally set desktop-save-buffer to
4601 todo-desktop-save-buffer.
4602 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
4603 (auto-mode-alist): Add autoload cookie.
4604
4605 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
4606
4607 * emacs-lisp/subr-x.el: Renamed from helpers.el.
4608 helpers.el was a poor choice of name.
4609 (string-remove-prefix): New function.
4610 (string-remove-suffix): New function.
4611
4612 2013-12-20 Martin Rudalics <rudalics@gmx.at>
4613
4614 Fix assignment for new window total sizes.
4615 * window.el (window--pixel-to-size): Remove function.
4616 (window--pixel-to-total-1, window--pixel-to-total):
4617 Fix calculation of new total sizes.
4618
4619 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
4620
4621 * comint.el (comint-output-filter): Fix rear-nonsticky property
4622 placement (Bug#16010).
4623
4624 2013-12-20 Chong Yidong <cyd@gnu.org>
4625
4626 * faces.el (read-color): Minor fix for completion function.
4627
4628 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
4629
4630 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
4631 New option. (Bug#16182)
4632 (ruby-smie--indent-to-stmt-p): Use it.
4633 (ruby-smie-rules): Revert the logic in the handling of `when'.
4634 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
4635 (ruby-deep-arglist, ruby-deep-indent-paren)
4636 (ruby-deep-indent-paren-style): Update docstrings to note that the
4637 vars don't have any effect with SMIE.
4638
4639 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
4640
4641 * calc/calc.el (calc-enter, calc-pop): Use the variable
4642 `calc-context-sensitive-enter'.
4643
4644 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
4645
4646 * net/shr.el (shr-insert): Protect against infloops in degenerate
4647 tables.
4648
4649 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4650
4651 * progmodes/octave.el (octave): Add link to manual and octave
4652 homepage.
4653 (octave-mode-menu): Link to octave-mode manual.
4654
4655 2013-12-20 Leo Liu <sdl.web@gmail.com>
4656
4657 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
4658 insertion using skeleton-end-newline. (Bug#16138)
4659
4660 2013-12-20 Juri Linkov <juri@jurta.org>
4661
4662 * replace.el (occur-engine): Use `add-face-text-property'
4663 to add the face property to matches and titles. (Bug#14645)
4664
4665 * hi-lock.el (hi-green): Use lighter color "light green" closer to
4666 the palette of other hi-lock colors.
4667 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
4668
4669 2013-12-19 Juri Linkov <juri@jurta.org>
4670
4671 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
4672 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
4673 (minibuffer-history-symbol): Move variable declaration closer to
4674 its usage.
4675
4676 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
4677 (Bug#14785)
4678
4679 2013-12-19 Juri Linkov <juri@jurta.org>
4680
4681 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
4682 New function.
4683 (log-edit-hook): Add it to :options. (Bug#16170)
4684
4685 2013-12-19 Juri Linkov <juri@jurta.org>
4686
4687 * simple.el (eval-expression-print-format): Don't check for
4688 command names and the last command. Always display additional
4689 formats of the integer result in the echo area, and insert them
4690 to the current buffer only with a zero prefix arg.
4691 Display character when char-displayable-p is non-nil.
4692 (eval-expression): With a zero prefix arg, set `print-length' and
4693 `print-level' to nil, and insert the integer values from
4694 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
4695
4696 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
4697 `eval-last-sexp-arg-internal'. Doc fix.
4698 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
4699 `eval-last-sexp-print-value'. Doc fix.
4700 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
4701 Set `print-length' and `print-level' to nil when arg is zero.
4702 (eval-last-sexp): Doc fix.
4703 (eval-defun-2): Print the integer values from
4704 `eval-expression-print-format' at the end.
4705
4706 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
4707 values from `eval-expression-print-format' at the end.
4708
4709 * ielm.el (ielm-eval-input): Print the integer
4710 values from `eval-expression-print-format' at the end.
4711
4712 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
4713
4714 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
4715 2013-12-11T19:01:44Z!tzz@lifelogs.com.
4716
4717 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
4718
4719 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
4720 (hl-line-highlight, global-hl-line-highlight): Use it.
4721 (hl-line-overlay): Use defvar-local.
4722
4723 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
4724
4725 * term/ns-win.el: Require dnd.
4726 (global-map): Remove drag items.
4727 (ns-insert-text, ns-set-foreground-at-mouse)
4728 (ns-set-background-at-mouse):
4729 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
4730 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
4731 New functions.
4732
4733 2013-12-19 Glenn Morris <rgm@gnu.org>
4734
4735 * emacs-lisp/ert.el (ert-select-tests):
4736 Fix string/symbol mixup. (Bug#16121)
4737
4738 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
4739
4740 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
4741 keywords to their parent.
4742
4743 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
4744
4745 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
4746 first arg to be a string (fixed dead code), or an operator symbol.
4747 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
4748 operator symbols.
4749 (ruby-smie-rules): Remove parent token check in the `.' clause, it
4750 did nothing. Don't respond to `(:after ".")', it will be called
4751 with :before anyway. Remove the ` @ ' rule, it didn't seem to
4752 change anything. Only return indentation for binary operators
4753 when they are hanging. De-dent opening paren when its parent is
4754 `.', otherwise it looks bad when the dot is not at bol or eol
4755 (bug#16182).
4756
4757 2013-12-19 Juri Linkov <juri@jurta.org>
4758
4759 * replace.el (query-replace-read-args): Split a non-negative arg
4760 and a negative arg into separate elements.
4761 (query-replace, query-replace-regexp, replace-string)
4762 (replace-regexp): Add arg `backward'. Doc fix.
4763 (replace-match-maybe-edit): When new arg `backward' is non-nil,
4764 move point to the beginning of the match.
4765 (replace-search, replace-highlight): Use new arg `backward'
4766 to set the value of `isearch-forward'.
4767 (perform-replace): Add arg `backward' and use it to perform
4768 replacement backward. (Bug#14979)
4769
4770 * isearch.el (isearch-query-replace): Use a negative prefix arg
4771 to call `perform-replace' with a non-nil arg `backward'.
4772
4773 2013-12-18 Juri Linkov <juri@jurta.org>
4774
4775 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
4776 to the default list. Move `log-edit-show-files' to the end.
4777 Add more available functions to options.
4778 (log-edit): Move default specific settings to
4779 `log-edit-insert-message-template'. Don't move point.
4780 (log-edit-insert-message-template): New function.
4781 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
4782 (Bug#16170)
4783
4784 2013-12-18 Juri Linkov <juri@jurta.org>
4785
4786 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
4787 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
4788
4789 2013-12-18 Leo Liu <sdl.web@gmail.com>
4790
4791 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
4792 (Bug#16186)
4793
4794 2013-12-18 Eli Zaretskii <eliz@gnu.org>
4795
4796 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
4797 formats for displaying file sizes when the -s switch is given.
4798 Instead, compute a separate format for displaying the size in
4799 blocks, which is displayed in addition to the "regular" size.
4800 When -h is given in addition to -s, produce size in blocks in
4801 human-readable form as well. (Bug#16179)
4802
4803 2013-12-18 Tassilo Horn <tsdh@gnu.org>
4804
4805 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
4806 Reference tables with ~\ref{...} instead of only \ref{...}.
4807
4808 2013-12-18 Chong Yidong <cyd@gnu.org>
4809
4810 * cus-edit.el (custom-magic-alist): Fix "themed" description
4811 (Bug#14348).
4812
4813 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
4814 is non-nil, do not create a new entry in the symbol's theme-value
4815 or theme-face property; update theme-settings only (Bug#14664).
4816 (custom-available-themes): Doc fix.
4817
4818 * cus-theme.el (custom-new-theme-mode-map): Add bindings
4819 (Bug#15674).
4820
4821 * replace.el (occur-engine): Avoid infloop (Bug#7593).
4822
4823 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
4824
4825 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
4826 (Bug#13914).
4827
4828 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
4829
4830 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
4831
4832 2013-12-18 Glenn Morris <rgm@gnu.org>
4833
4834 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
4835 * cus-start.el (load-prefer-newer): New option.
4836
4837 2013-12-18 Le Wang <l26wang@gmail.com>
4838
4839 * comint.el (comint-previous-matching-input-from-input):
4840 Retain point (Bug#13404).
4841
4842 2013-12-18 Chong Yidong <cyd@gnu.org>
4843
4844 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
4845
4846 2013-12-18 Glenn Morris <rgm@gnu.org>
4847
4848 * mail/emacsbug.el (report-emacs-bug):
4849 Only mention enable-multibyte-characters if non-standard.
4850
4851 2013-12-17 Juri Linkov <juri@jurta.org>
4852
4853 * arc-mode.el (archive-extract-by-file): Check if directory exists
4854 before deletion to not show irrelevant errors if it doesn't exist.
4855
4856 2013-12-17 Juri Linkov <juri@jurta.org>
4857
4858 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
4859 (Bug#14751)
4860
4861 * net/eww.el (browse-web): Add alias to `eww'.
4862 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
4863 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
4864
4865 * net/browse-url.el (browse-url-browser-function): Move `eww'
4866 closer to similar functions.
4867
4868 * startup.el (fancy-startup-screen, fancy-about-screen):
4869 Set browse-url-browser-function to eww-browse-url locally.
4870 (Bug#14751)
4871
4872 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
4873
4874 * window.el (window--pixel-to-total): Remove unused `mini' var.
4875 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
4876 (split-window): Remove unused `new' var.
4877 (window--display-buffer): Remove unused `frame' and `delta' vars.
4878 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
4879 and display-width'.
4880
4881 2013-12-17 Martin Rudalics <rudalics@gmx.at>
4882
4883 * dired.el (dired-mark-pop-up):
4884 * register.el (register-preview): Don't bind
4885 split-height-threshold here since it's now done in
4886 display-buffer-below-selected.
4887
4888 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
4889
4890 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
4891 xterm-rgb-convert-to-16bit.
4892 (rxvt-register-default-colors): Standardize with
4893 xterm-register-default-colors (Bug#14078).
4894
4895 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
4896
4897 * simple.el (kill-region): Pass mark first, then point, so that
4898 kill-append works right (Bug#12819).
4899 (copy-region-as-kill, kill-ring-save): Likewise.
4900
4901 2013-12-17 Leo Liu <sdl.web@gmail.com>
4902
4903 * net/rcirc.el (rcirc-add-face):
4904 * eshell/em-prompt.el (eshell-emit-prompt):
4905 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
4906 (Bug#16167)
4907
4908 2013-12-17 Chong Yidong <cyd@gnu.org>
4909
4910 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
4911 Suggested by Xue Fuqiao.
4912
4913 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
4914
4915 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
4916
4917 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
4918
4919 * net/shr.el (shr-insert-document): Remove unused var
4920 `shr-preliminary-table-render'.
4921 (shr-rescale-image): Remove unused arg `force'.
4922 (shr-put-image): Update calls accordingly.
4923 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
4924
4925 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
4926
4927 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
4928 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
4929 :close-all, to see which indentation method to use (Bug#16116).
4930 (smie-rules-function): Document the method :close-all.
4931
4932 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4933
4934 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
4935
4936 * net/eww.el (eww-display-html): If we can't find the anchor we're
4937 looking for, then go to point-min.
4938
4939 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
4940
4941 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
4942 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
4943 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
4944 Expand dir too, in case it's relative.
4945
4946 2013-12-16 Juri Linkov <juri@jurta.org>
4947
4948 * desktop.el (desktop-auto-save-timeout): Change default to
4949 `auto-save-timeout'. Doc fix.
4950 (desktop-save): Skip the timestamp in desktop-saved-frameset
4951 when checking for auto-save changes.
4952 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
4953 `desktop-auto-save' is called repeatedly by the idle timer.
4954 (desktop-auto-save-set-timer): Replace `run-with-timer' with
4955 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
4956 (Bug#15331)
4957
4958 2013-12-16 Juri Linkov <juri@jurta.org>
4959
4960 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
4961 (Bug#16035)
4962 (isearch-pre-command-hook): Check `this-command' for symbolp.
4963
4964 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
4965
4966 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
4967
4968 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
4969
4970 * progmodes/cfengine.el (cfengine3--current-word): Remove.
4971 (cfengine3--current-function): Bring in the current-function
4972 functionality from `cfengine3--current-word'.
4973 (cfengine3-completion-function): Bring in the
4974 bounds-of-current-word functionality from
4975 `cfengine3--current-word'.
4976
4977 2013-12-16 Martin Rudalics <rudalics@gmx.at>
4978
4979 * window.el (display-buffer-below-selected):
4980 Bind split-height-threshold to 0 as suggested by Juri Linkov.
4981
4982 2013-12-16 Leo Liu <sdl.web@gmail.com>
4983
4984 * progmodes/compile.el (compile-goto-error): Do not push-mark.
4985 Remove NOMSG arg and all uses changed.
4986
4987 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
4988
4989 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
4990 (cua--deactivate-rectangle): Don't deactivate the mark.
4991 (cua-set-rectangle-mark): Don't set mark-active since
4992 cua--activate-rectangle already does it for us.
4993 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
4994 non-rectangular region.
4995
4996 * emulation/cua-base.el (cua-repeat-replace-region):
4997 Use with-current-buffer.
4998
4999 * net/gnutls.el: Use cl-lib.
5000 (gnutls-negotiate): `mapcan' -> cl-mapcan.
5001
5002 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5003
5004 * emacs-lisp/package.el (package-built-in-p): Support both
5005 built-in and the package.el converted package descriptions.
5006 (package-show-package-list): Allow keywords.
5007 (package-keyword-button-action): Use it instead of
5008 `finder-list-matches'.
5009 (package-menu-filter-interactive): Interactive filtering (by
5010 keyword) function.
5011 (package-menu--generate): Support keywords and change keymappings
5012 and headers when they are given.
5013 (package--has-keyword-p): Helper function.
5014 (package-menu--refresh): Use it.
5015 (package--mapc): Helper function.
5016 (package-all-keywords): Use it.
5017 (package-menu-mode-map): Set up menu items and keybindings to
5018 provide a filtering UI.
5019
5020 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5021
5022 * net/gnutls.el (gnutls-verify-error): New defcustom to control
5023 the behavior when a certificate fails validation. Defaults to
5024 old behavior: never abort, just warn.
5025 (gnutls-negotiate): Use it.
5026
5027 2013-12-14 Martin Rudalics <rudalics@gmx.at>
5028
5029 * window.el (display-buffer-below-selected): Never split window
5030 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
5031
5032 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
5033
5034 * emacs-lisp/package.el (package--prepare-dependencies): New function.
5035 (package-buffer-info): Use it (bug#15108).
5036
5037 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
5038
5039 * icomplete.el (icomplete-completions): Make sure the prefix is already
5040 displayed elsewhere before hiding it (bug#16219).
5041
5042 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
5043
5044 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
5045 open-paren tokens when preceded by a open-paren, too.
5046 (ruby-smie-rules): Handle virtual indentation after open-paren
5047 tokens specially. If there is code between it and eol, return the
5048 column where is starts (Bug#16118).
5049
5050 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5051
5052 * progmodes/cfengine.el: Fix `add-hook' doc.
5053 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
5054 (cfengine3--current-word): Fix parameters.
5055 (cfengine3-make-syntax-cache): Simplify further.
5056 (cfengine3-completion-function, cfengine3--current-function):
5057 Use `assq' for symbols.
5058 (cfengine3--current-function): Fix `cfengine3--current-word' call.
5059
5060 2013-12-13 Glenn Morris <rgm@gnu.org>
5061
5062 * loadup.el (load-path): Warn if site-load or site-init changes it.
5063 No more need to reset it when bootstrapping.
5064
5065 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5066
5067 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
5068 locations for cf-promises.
5069 (cfengine-mode-syntax-functions-regex): New caching variable.
5070 (cfengine3-fallback-syntax): Fallback syntax for cases where
5071 cf-promises doesn't run.
5072 (cfengine3--current-word): Reimplement using
5073 `cfengine-mode-syntax-functions-regex'.
5074 (cfengine3-completion-function, cfengine3--current-function):
5075 Use `cfengine3-make-syntax-cache' directly.
5076 (cfengine3-clear-syntax-cache): New function.
5077 (cfengine3-make-syntax-cache): Simplify and create
5078 `cfengine-mode-syntax-functions-regex' on demand.
5079 (cfengine3-format-function-docstring): Don't call
5080 `cfengine3-make-syntax-cache' explicitly.
5081
5082 2013-12-13 Martin Rudalics <rudalics@gmx.at>
5083
5084 Fix windmove-find-other-window broken after pixelwise resizing
5085 (Bug#16017).
5086 * windmove.el (windmove-other-window-loc): Revert change from
5087 2013-12-04.
5088 (windmove-find-other-window): Call window-in-direction.
5089 * window.el (window-in-direction): New arguments SIGN, WRAP and
5090 MINI to emulate original windmove-find-other-window behavior.
5091
5092 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
5093
5094 * simple.el (blink-matching--overlay): New variable.
5095 (blink-matching-open): Instead of moving point, highlight the
5096 matching paren with an overlay
5097 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
5098
5099 * faces.el (paren-showing-faces, show-paren-match)
5100 (show-paren-mismatch): Move from paren.el.
5101
5102 2013-12-13 Leo Liu <sdl.web@gmail.com>
5103
5104 * indent.el (indent-region): Disable progress reporter in
5105 minibuffer. (Bug#16108)
5106
5107 * bindings.el (visual-order-cursor-movement): Fix version.
5108
5109 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5110
5111 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
5112 Also match after beginning of line.
5113 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
5114 files. Thanks to Russell Sim. (Bug#15378)
5115
5116 2013-12-13 Juri Linkov <juri@jurta.org>
5117
5118 * simple.el <Keypad support>: Remove key bindings duplicated
5119 with bindings.el. (Bug#14397)
5120
5121 2013-12-13 Juri Linkov <juri@jurta.org>
5122
5123 * comint.el (comint-mode-map): Replace `delete-char' with
5124 `delete-forward-char'. (Bug#16109)
5125
5126 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5127
5128 * progmodes/python.el (python-indent-calculate-indentation):
5129 Fix de-denters cornercase. (Bug#15731)
5130
5131 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
5132
5133 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
5134 (advice--make): Pay attention to `depth'.
5135 (advice--make-1): Don't autoload commands eagerly.
5136 * emacs-lisp/elp.el (elp-instrument-function):
5137 * emacs-lisp/trace.el (trace-function-internal):
5138 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
5139
5140 * iswitchb.el (iswitchb-mode): Don't belittle ido.
5141
5142 2013-12-12 Eli Zaretskii <eliz@gnu.org>
5143
5144 * term/w32-win.el (w32-handle-dropped-file):
5145 * startup.el (normal-top-level):
5146 * net/browse-url.el (browse-url-file-url):
5147 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
5148 decode file names using 'utf-8' rather than
5149 file-name-coding-system.
5150
5151 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5152
5153 * progmodes/python.el (python-indent-context)
5154 (python-indent-calculate-indentation): Fix auto-identation
5155 behavior for comment blocks. (Bug#15916)
5156
5157 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5158
5159 * progmodes/python.el (python-indent-calculate-indentation):
5160 When determining indentation, don't treat "return", "pass", etc., as
5161 operators when they are just string constituents. (Bug#15812)
5162
5163 2013-12-12 Juri Linkov <juri@jurta.org>
5164
5165 * uniquify.el (uniquify-buffer-name-style): Change default to
5166 `post-forward-angle-brackets'.
5167
5168 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
5169 `uniquify'. Change default to `post-forward-angle-brackets'.
5170
5171 2013-12-11 Glenn Morris <rgm@gnu.org>
5172
5173 * emacs-lisp/package.el (finder-list-matches):
5174 Autoload rather than falsely declaring.
5175
5176 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
5177
5178 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
5179 (eww-mode-map): Use them.
5180
5181 2013-12-11 Martin Rudalics <rudalics@gmx.at>
5182
5183 * window.el (display-buffer-in-side-window): Fix doc-string
5184 (Bug#16115).
5185
5186 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
5187
5188 * vc/vc-git.el: Silence byte-compiler warnings.
5189 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
5190 (log-edit-set-header): Declare.
5191
5192 2013-12-11 Eli Zaretskii <eliz@gnu.org>
5193
5194 * Makefile.in (custom-deps, finder-data): Run output file names
5195 through unmsys--file-name. (Bug#16099)
5196
5197 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
5198
5199 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
5200 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
5201
5202 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
5203 instead of deleting the selection "by hand" (bug#16098).
5204 Rely on insert-for-yank to yank rectangles.
5205 (cua-highlight-region-shift-only): Mark obsolete.
5206 (cua-mode): Don't enable/disable transient-mark-mode,
5207 shift-select-mode (cua-mode works both with and without them), and
5208 pc-selection-mode (obsolete).
5209 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
5210 (cua--deactivate-rectangle): Deactivate it.
5211
5212 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
5213 (delete-selection-helper): Make sure yank starts at the top of the
5214 deleted region.
5215 (minibuffer-keyboard-quit): Use region-active-p.
5216
5217 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
5218
5219 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
5220 to `delete' (bug#16109).
5221
5222 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5223
5224 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
5225 info manual and show keybindings and set `:group' keyword.
5226
5227 2013-12-11 Juri Linkov <juri@jurta.org>
5228
5229 * delsel.el (delete-active-region): Let-bind `this-command'
5230 to prevent `kill-region' from changing its original value.
5231 (delete-selection-helper): Handle `overwrite-mode' for the type
5232 `kill' exactly the same way as for the type `t'.
5233 (insert-char, quoted-insert, reindent-then-newline-and-indent):
5234 Support more commands. (Bug#13312)
5235
5236 2013-12-11 Juri Linkov <juri@jurta.org>
5237
5238 * bindings.el: Map kp keys to non-kp keys systematically
5239 with basic modifiers control, meta and shift. (Bug#14397)
5240
5241 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5242
5243 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
5244 "Close browser" menu items. Fix wrong function of "List
5245 bookmarks".
5246
5247 2013-12-11 Juri Linkov <juri@jurta.org>
5248
5249 * misearch.el (multi-isearch-buffers): Set the value of
5250 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5251 arg of isearch-forward to t.
5252 (multi-isearch-buffers-regexp): Set the value of
5253 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5254 arg of isearch-forward-regexp to t.
5255 (multi-isearch-files): Set the value of
5256 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
5257 arg of isearch-forward to t.
5258 (multi-isearch-files-regexp): Set the value of
5259 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
5260 arg of isearch-forward-regexp to t. (Bug#16035)
5261
5262 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
5263 arg of isearch-forward to t.
5264 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
5265 arg of isearch-forward-regexp to t.
5266 (dired-isearch-filter-filenames): Remove unnecessary check for
5267 `dired-isearch-filenames'.
5268
5269 * comint.el (comint-history-isearch-backward):
5270 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
5271 (comint-history-isearch-backward-regexp):
5272 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
5273
5274 2013-12-10 Eli Zaretskii <eliz@gnu.org>
5275
5276 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
5277 unmsys--file-name. (Bug#16099)
5278
5279 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
5280
5281 * emacs-lisp/package.el (package-keyword-button-action):
5282 Remove finder.el require dependency.
5283
5284 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
5285
5286 * emacs-lisp/package.el: Require finder.el.
5287 (describe-package-1): Add keyword buttons.
5288 (package-make-button): New convenience function.
5289 (package-keyword-button-action): Keyword button action using
5290 `finder-list-matches'.
5291
5292 2013-12-09 Eli Zaretskii <eliz@gnu.org>
5293
5294 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
5295 last commit.
5296
5297 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
5298
5299 * autorevert.el (auto-revert-notify-add-watch): Do not handle
5300 symlinked files.
5301
5302 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5303
5304 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5305 after the end of a percent literal.
5306
5307 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
5308
5309 * progmodes/ruby-mode.el (ruby-forward-string): Document.
5310 Handle caret-delimited strings (Bug#16079).
5311
5312 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5313
5314 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
5315 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
5316 `ruby-parse-partial' (Bug#16078).
5317
5318 2013-12-09 Leo Liu <sdl.web@gmail.com>
5319
5320 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
5321
5322 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
5323
5324 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
5325 (js-switch-indent-offset): New option.
5326 (js--proper-indentation): Use it. And handle the case when
5327 "default" is actually a key in an object literal.
5328 (js--same-line): New function.
5329 (js--multi-line-declaration-indentation): Use it.
5330 (js--indent-in-array-comp, js--array-comp-indentation):
5331 New functions.
5332 (js--proper-indentation): Use them, to handle array comprehension
5333 continuations.
5334
5335 2013-12-08 Leo Liu <sdl.web@gmail.com>
5336
5337 * progmodes/flymake.el (flymake-highlight-line): Re-write.
5338 (flymake-make-overlay): Remove arg MOUSE-FACE.
5339 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
5340
5341 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5342
5343 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
5344 New function.
5345 (redisplay-highlight-region-function): Use it.
5346
5347 * emulation/cua-base.el (cua--explicit-region-start)
5348 (cua--last-region-shifted): Remove.
5349 (cua--deactivate): Use deactivate-mark.
5350 (cua--pre-command-handler-1): Don't handle shift-selection.
5351 (cua--post-command-handler-1): Don't change transient-mark-mode.
5352 (cua--select-keymaps): Use region-active-p rather than
5353 cua--explicit-region-start or cua--last-region-shifted.
5354 (cua-mode): Enable shift-select-mode.
5355
5356 2013-12-08 Leo Liu <sdl.web@gmail.com>
5357
5358 * progmodes/flymake.el (flymake-popup-current-error-menu):
5359 Rename from flymake-display-err-menu-for-current-line. Reimplement.
5360 (flymake-posn-at-point-as-event, flymake-popup-menu)
5361 (flymake-make-emacs-menu): Remove. (Bug#16077)
5362
5363 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5364
5365 * rect.el (rectangle-mark-mode): Activate mark even if
5366 transient-mark-mode is off (bug#16066).
5367 (rectangle--highlight-for-redisplay): Fix boundary condition when point
5368 is > mark and at bolp.
5369
5370 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
5371 (region-extract-function): Use it.
5372 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
5373 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
5374 Delete functions.
5375 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
5376 kill-ring-save, kill-region, delete-char, delete-forward-char.
5377 Ignore self-insert-iso.
5378
5379 * emulation/cua-gmrk.el (cua--init-global-mark):
5380 Ignore `self-insert-iso'.
5381
5382 * emulation/cua-base.el (cua--prefix-copy-handler)
5383 (cua--prefix-cut-handler): Rely on region-extract-function rather than
5384 checking cua--rectangle.
5385 (cua-delete-region): Use region-extract-function.
5386 (cua-replace-region): Delete function.
5387 (cua-copy-region, cua-cut-region): Obey region-extract-function.
5388 (cua--pre-command-handler-1): Don't do the delete-selection thing.
5389 (cua--self-insert-char-p): Ignore `self-insert-iso'.
5390 (cua--init-keymaps): Don't remap delete-selection commands.
5391 (cua-mode): Use delete-selection-mode instead of rolling our own
5392 (bug#16085).
5393
5394 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
5395 Obey region-extract-function.
5396
5397 Make registers and delete-selection-mode work on rectangles.
5398 * register.el (describe-register-1): Don't modify the register's value.
5399 (copy-to-register): Obey region-extract-function.
5400 * delsel.el (delete-active-region): Obey region-extract-function.
5401
5402 2013-12-08 Leo Liu <sdl.web@gmail.com>
5403
5404 * progmodes/flymake.el (flymake, flymake-error-bitmap)
5405 (flymake-warning-bitmap, flymake-fringe-indicator-position)
5406 (flymake-compilation-prevents-syntax-check)
5407 (flymake-start-syntax-check-on-newline)
5408 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
5409 (flymake-start-syntax-check-on-find-file, flymake-log-level)
5410 (flymake-xml-program, flymake-master-file-dirs)
5411 (flymake-master-file-count-limit)
5412 (flymake-allowed-file-name-masks): Relocate.
5413 (flymake-makehash, flymake-float-time)
5414 (flymake-replace-regexp-in-string, flymake-split-string)
5415 (flymake-get-temp-dir): Remove.
5416 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
5417 (flymake-current-row, flymake-selected-frame)
5418 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
5419 related functions. (Bug#16077)
5420
5421 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
5422
5423 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
5424
5425 2013-12-07 Tassilo Horn <tsdh@gnu.org>
5426
5427 * help-fns.el (describe-function-1): Use new advice-* functions
5428 rather than old ad-* functions. Fix function type description and
5429 source links for advised functions and subrs.
5430
5431 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5432
5433 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
5434
5435 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
5436
5437 * progmodes/compile.el (compilation-start):
5438 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
5439
5440 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
5441 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
5442
5443 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5444
5445 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5446 Touch up the last change.
5447
5448 2013-12-06 Leo Liu <sdl.web@gmail.com>
5449
5450 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
5451 (inferior-octave-startup): Always use "octave> " for prompt.
5452 (octave-goto-function-definition)
5453 (octave-sync-function-file-names)
5454 (octave-find-definition-default-filename): Remove redundant backquotes.
5455
5456 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5457
5458 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
5459 syntax for `?'.
5460 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
5461 where appropriate already.
5462 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
5463 end of method names (Bug#15874).
5464
5465 2013-12-06 Juri Linkov <juri@jurta.org>
5466
5467 * isearch.el (isearch--saved-overriding-local-map):
5468 New internal variable.
5469 (isearch-mode): Set it to the initial value of
5470 `overriding-terminal-local-map'.
5471 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
5472 with `isearch--saved-overriding-local-map'. (Bug#16035)
5473
5474 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5475
5476 * progmodes/octave.el (inferior-octave-completion-table):
5477 Turn back into function, use `completion-table-with-cache'
5478 (Bug#11906). Update all references.
5479
5480 * minibuffer.el (completion-table-with-cache): New function.
5481
5482 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
5483
5484 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
5485
5486 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
5487
5488 * net/eww.el (eww-current-source): New variable to store page
5489 source.
5490 (eww-display-html, eww-mode, eww-save-history)
5491 (eww-restore-history): Use it.
5492 (eww-view-source): New command to view page source.
5493 Opportunistically uses `html-mode' to highlight the buffer.
5494 (eww-mode-map): Install it.
5495
5496 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
5497
5498 * net/dbus.el (dbus-unregister-service)
5499 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
5500 Fix docstring.
5501 (dbus-unregister-service): Skip :serial entries in
5502 `dbus-registered-objects-table'.
5503 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
5504
5505 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
5506
5507 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
5508 around keywords with extra `split-string' argument.
5509
5510 2013-12-04 Martin Rudalics <rudalics@gmx.at>
5511
5512 * windmove.el (windmove-other-window-loc): Handle navigation
5513 between windows (excluding the minibuffer window - Bug#16017).
5514
5515 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
5516
5517 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
5518 in D-Bus type syntax.
5519 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
5520 preserve unibyte strings. (Bug#16048)
5521
5522 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
5523
5524 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
5525 Call force-mode-line-update is the proper buffer (bug#16042).
5526
5527 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
5528
5529 * vc/log-edit.el (log-edit-add-new-comment): Rename to
5530 `log-edit-remember-comment', make argument optional. Adjust all
5531 callers.
5532 (log-edit-mode): Add `log-edit-remember-comment' to
5533 `kill-buffer-hook' locally.
5534 (log-edit-kill-buffer): Don't remember comment explicitly since
5535 the buffer is killed anyway.
5536
5537 2013-12-04 Juri Linkov <juri@jurta.org>
5538
5539 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
5540 add-hook and remove-hook for multi-buffer search. (Bug#16035)
5541
5542 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
5543
5544 * notifications.el (notifications-close-notification): Call the
5545 D-Bus method with ID being a `:uint32'. (Bug#16030)
5546
5547 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
5548
5549 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
5550
5551 2013-12-03 Juri Linkov <juri@jurta.org>
5552
5553 * progmodes/compile.el (compilation-start): Rename window alist
5554 entry `no-display-ok' to `allow-no-window'.
5555
5556 * simple.el (shell-command): Add window alist entry
5557 `allow-no-window' to `display-buffer'.
5558 (async-shell-command): Doc fix.
5559
5560 * window.el (display-buffer-no-window): New action function.
5561 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
5562
5563 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5564
5565 * vc/log-edit.el (log-edit-set-header): Extract from
5566 `log-edit-toggle-header'.
5567 (log-edit-extract-headers): Separate the summary, when extracted
5568 from header, from the rest of the message with an empty line.
5569
5570 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
5571 line, if present, to the Summary header.
5572
5573 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5574
5575 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
5576 in current-buffer (bug#16029).
5577
5578 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
5579
5580 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
5581 (debugger-mode-map): Bind it.
5582 (debugger--backtrace-base): New function.
5583 (debugger-eval-expression): Use it.
5584 (debugger-frame-number): Skip local vars when present.
5585 (debugger--locals-visible-p, debugger--insert-locals)
5586 (debugger--show-locals, debugger--hide-locals): New functions.
5587
5588 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
5589
5590 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
5591 "LC_ALL".
5592 (tramp-get-remote-locale): New defun.
5593 (tramp-open-connection-setup-interactive-shell): Use it.
5594
5595 2013-12-02 Leo Liu <sdl.web@gmail.com>
5596
5597 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
5598
5599 * progmodes/sh-script.el (sh-shell-process):
5600 * progmodes/octave.el (inferior-octave-process-live-p):
5601 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
5602 (gdb-inferior-io-sentinel):
5603 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
5604
5605 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5606
5607 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
5608 `save-selected-window' to `log-edit-hide-buf'. This makes
5609 `log-edit-show-files' idempotent.
5610 (log-edit-show-files): Mark the new window as dedicated.
5611
5612 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5613
5614 * vc/log-edit.el (log-edit-mode-map): Add binding for
5615 `log-edit-kill-biffer'.
5616 (log-edit-hide-buf): Add a FIXME comment.
5617 (log-edit-add-new-comment): New function, extracted from
5618 `log-edit-done'.
5619 (log-edit-done, log-edit-add-to-changelog): Use it.
5620 (log-edit-kill-buffer): New command.
5621
5622 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5623
5624 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
5625 instead of killing the buffer.
5626
5627 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
5628
5629 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
5630
5631 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5632
5633 * net/eww.el (eww-form-checkbox-selected-symbol)
5634 (eww-form-checkbox-symbol): New customizable variable.
5635 (eww-form-checkbox, eww-toggle-checkbox):
5636 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
5637
5638 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
5639 (shr--get-media-pref, shr--extract-best-source): New function.
5640 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
5641 no :src tag was specified.
5642
5643 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
5644 (eww-render): Handle `eww-use-external-browser-for-content-type'.
5645 Use \\` to match beginning of string instead of ^.
5646 (eww-browse-with-external-browser): Provide optional URL parameter.
5647 (eww-render): Set `eww-current-title' back to "".
5648
5649 * net/shr.el (shr-tag-video): Display content for video if no
5650 poster is available.
5651 (shr-tag-audio): Add support for <audio> tag.
5652
5653 * net/eww.el (eww-text-input-types): New const.
5654 (eww-process-text-input): Treat input types in
5655 `eww-text-input-types' as text.
5656
5657 * net/shr.el (shr-tag-table): Fix comment typo.
5658
5659 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5660
5661 * net/eww.el (eww-follow-link): New command to avoid reloading
5662 pages when we follow #target links (bug#15243).
5663 (eww-quit): Special mode buffers shouldn't query before exiting.
5664
5665 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5666
5667 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
5668 forms.
5669
5670 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5671
5672 * net/eww.el (eww-restore-history): Update the window title after
5673 moving in the history.
5674 (eww-current-dom): New variable used to save the current DOM.
5675
5676 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
5677
5678 * vc/log-edit.el (log-edit-mode-map): Add binding for
5679 `log-edit-beginning-of-line'.
5680 (log-edit-setup-add-author): New user option.
5681 (log-edit-beginning-of-line): New command.
5682 (log-edit): Move major mode call above the contents setup so that
5683 the local variable values are already applied.
5684 (log-edit): Only insert "Author: " when
5685 `log-edit-setup-add-author' is non-nil.
5686 (log-edit): When SETUP is non-nil, position point after ": "
5687 instead of point-min.
5688
5689 2013-12-01 Glenn Morris <rgm@gnu.org>
5690
5691 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
5692
5693 2013-11-30 Eli Zaretskii <eliz@gnu.org>
5694
5695 * startup.el (fancy-splash-frame): On MS-Windows, trigger
5696 redisplay to make sure the initial frame gets a chance to become
5697 visible. (Bug#16014)
5698
5699 2013-11-30 Martin Rudalics <rudalics@gmx.at>
5700
5701 Support resizing frames and windows pixelwise.
5702 * cus-start.el (frame-resize-pixelwise)
5703 (window-resize-pixelwise): New entries.
5704 * emacs-lisp/debug.el (debug): Use window-total-height instead
5705 of window-total-size.
5706 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
5707 * help.el (describe-bindings-internal): Use help-buffer as
5708 argument for with-help-window.
5709 (temp-buffer-max-width): New option.
5710 (resize-temp-buffer-window, help-window-setup)
5711 (with-help-window): Rewrite.
5712 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
5713 dragging dividers.
5714 * window.el (frame-char-size, window-min-pixel-height)
5715 (window-safe-min-pixel-height, window-safe-min-pixel-width)
5716 (window-min-pixel-width, window-safe-min-pixel-size)
5717 (window-combination-p, window-safe-min-size)
5718 (window-resizable-p, window--size-to-pixel)
5719 (window--pixel-to-size, window--resize-apply-p): New functions.
5720 (window-safe-min-height): Fix doc-string.
5721 (window-size, window-min-size, window--min-size-1)
5722 (window-sizable, window-sizable-p, window--min-delta-1)
5723 (window-min-delta, window--max-delta-1, window-max-delta)
5724 (window--resizable, window--resizable-p, window-resizable)
5725 (window-full-height-p, window-full-width-p, window-at-side-p)
5726 (window--in-direction-2, window-in-direction)
5727 (window--resize-reset-1, window--resize-mini-window)
5728 (window-resize, window-resize-no-error)
5729 (window--resize-child-windows-normal)
5730 (window--resize-child-windows, window--resize-siblings)
5731 (window--resize-this-window, window--resize-root-window)
5732 (window--resize-root-window-vertically)
5733 (adjust-window-trailing-edge, enlarge-window, shrink-window)
5734 (maximize-window, minimize-window, delete-window)
5735 (quit-restore-window, window-split-min-size, split-window)
5736 (balance-windows-2, balance-windows)
5737 (balance-windows-area-adjust, balance-windows-area)
5738 (window--state-get-1, window-state-get, window--state-put-1)
5739 (window--state-put-2, window-state-put)
5740 (display-buffer-record-window, window--display-buffer):
5741 Make functions handle pixelwise sizing of windows.
5742 (display-buffer--action-function-custom-type)
5743 (display-buffer-fallback-action):
5744 Add display-buffer-in-previous-window.
5745 (display-buffer-use-some-window): Resize window to height it had
5746 before.
5747 (fit-window-to-buffer-horizontally): New option.
5748 (fit-frame-to-buffer): Describe new values.
5749 (fit-frame-to-buffer-bottom-margin): Replace with
5750 fit-frame-to-buffer-margins.
5751 (window--sanitize-margin): New function.
5752 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
5753 using window-text-pixel-size.
5754
5755 2013-11-30 Glenn Morris <rgm@gnu.org>
5756
5757 * emacs-lisp/bytecomp.el (byte-compile-form):
5758 Make the `interactive-only' warning like the `obsolete' one.
5759 * comint.el (comint-run):
5760 * files.el (insert-file-literally, insert-file):
5761 * replace.el (replace-string, replace-regexp):
5762 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
5763 (goto-line, insert-buffer, next-line, previous-line):
5764 Tweak `interactive-only' spec.
5765
5766 Stop keeping (most) generated cedet grammar files in the repository.
5767 * Makefile.in (semantic): New.
5768 (compile-main): Depend on semantic.
5769
5770 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5771
5772 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
5773 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
5774
5775 * uniquify.el (uniquify-buffer-name-style): Change default.
5776
5777 * loadup.el: Preload "uniquify".
5778
5779 * time.el (display-time-update): Update all mode lines (bug#15999).
5780
5781 * electric.el (electric-indent-mode): Enable by default.
5782 * loadup.el: Preload "electric".
5783
5784 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
5785
5786 * emacs-lisp/helpers.el (string-empty-p): New function.
5787 (string-blank-p): New function.
5788
5789 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
5790
5791 * imenu.el (imenu--index-alist): Add missing dot to the docstring
5792 (Bug#14029).
5793
5794 2013-11-29 Andreas Politz <politza@fh-trier.de>
5795 * imenu.el (imenu--subalist-p): Don't error on non-conses and
5796 allow non-lambda lists as functions.
5797 (imenu--in-alist): Don't recurse into non-subalists.
5798 (imenu): Don't pass function itself as an argument (Bug#14029).
5799
5800 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5801
5802 * progmodes/python.el (python-mode-map): Remove binding for ":".
5803 (python-indent-electric-colon): Remove command.
5804 (python-indent-post-self-insert-function): Integrate the previous code
5805 of python-indent-electric-colon. Make it conditional on
5806 electric-indent-mode.
5807 (python-mode): Add ?: to electric-indent-chars.
5808 Move python-indent-post-self-insert-function to the end of
5809 post-self-insert-hook.
5810
5811 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
5812
5813 * doc-view.el (doc-view-goto-page): Update mode-line.
5814
5815 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
5816
5817 2013-11-27 Glenn Morris <rgm@gnu.org>
5818
5819 * international/charprop.el, international/uni-bidi.el:
5820 * international/uni-category.el, international/uni-combining.el:
5821 * international/uni-comment.el, international/uni-decimal.el:
5822 * international/uni-decomposition.el, international/uni-digit.el:
5823 * international/uni-lowercase.el, international/uni-mirrored.el:
5824 * international/uni-name.el, international/uni-numeric.el:
5825 * international/uni-old-name.el, international/uni-titlecase.el:
5826 * international/uni-uppercase.el:
5827 Remove generated files from VCS repository.
5828
5829 2013-11-27 Eli Zaretskii <eliz@gnu.org>
5830
5831 * filenotify.el (file-notify-add-watch): Don't special-case
5832 w32notify when computing the directory to watch.
5833
5834 2013-11-27 Glenn Morris <rgm@gnu.org>
5835
5836 Make bootstrap without generated uni-*.el files possible again.
5837 * loadup.el: Update command-line-args checking for unidata-gen.
5838 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
5839 * composite.el, international/characters.el:
5840 Handle unicode tables being undefined.
5841
5842 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
5843 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
5844 (compile-main): Depend on leim rule.
5845 (leim): New rule.
5846 * loadup.el: Move leim-list.el to leim/ subdirectory.
5847 * startup.el (normal-top-level): No more leim directory.
5848 * international/ja-dic-cnv.el (skkdic-convert):
5849 Disable version-control and autoloads in output files.
5850 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
5851 Disable version-control and autoloads in output files.
5852 * leim/quail: Move here from ../leim.
5853 * leim/quail/hangul.el (hangul-input-method-activate):
5854 Add autoload cookie.
5855 (generated-autoload-load-name): Set file-local value.
5856 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
5857 (generated-autoload-load-name): Set file-local value.
5858
5859 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
5860
5861 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
5862 (eww-add-bookmark): Ask confirmation when add to bookmarks.
5863 (eww-quit): Ask confirmation before quitting eww.
5864
5865 2013-11-26 Eli Zaretskii <eliz@gnu.org>
5866
5867 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
5868 reading output from Diff on MS-Windows and MS-DOS.
5869
5870 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
5871
5872 * emacs-lisp/helpers.el (string-reverse): New function.
5873
5874 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
5875
5876 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
5877 names on MS Windows, like "/[::1]:".
5878
5879 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
5880 SWITCHES.
5881
5882 2013-11-26 Glenn Morris <rgm@gnu.org>
5883
5884 * progmodes/python.el (python-indent-guess-indent-offset):
5885 Avoid corner-case error. (Bug#15975)
5886
5887 Preload leim-list.el. (Bug#4789)
5888 * loadup.el: Load leim-list.el when found.
5889 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
5890
5891 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
5892
5893 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
5894
5895 * emacs-lisp/helpers.el (string-join): New function.
5896
5897 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
5898
5899 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5900 Mark as obsolete and replace it with a symbol property.
5901 (byte-compile-form): Use new 'interactive-only property.
5902 * comint.el, files.el, replace.el, simple.el:
5903 Apply new 'interactive-only properly.
5904
5905 2013-11-25 Martin Rudalics <rudalics@gmx.at>
5906
5907 * window.el (display-buffer-at-bottom): Make sure that
5908 split-window-sensibly creates the new window on bottom
5909 (Bug#15961).
5910
5911 2013-11-23 David Kastrup <dak@gnu.org>
5912
5913 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
5914 on the conflict markers when available.
5915 (smerge--get-marker): New function.
5916 (smerge-end-re, smerge-base-re): Add subgroup.
5917
5918 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
5919
5920 * frame.el (handle-focus-in, handle-focus-out): Add missing
5921 interactive spec.
5922
5923 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
5924
5925 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
5926 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
5927
5928 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
5929
5930 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
5931 (gomoku--last-pos): New var.
5932 (gomoku--intangible-chars): New const.
5933 (gomoku--intangible): New function.
5934 (gomoku-mode): Use it. Derive from special-mode.
5935 (gomoku-move-up): Adjust line count.
5936 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
5937 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
5938 Simplify accordingly.
5939
5940 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
5941 Remove blink-cursor code.
5942 (blink-cursor-timer-function, blink-cursor-suspend):
5943 Don't special-case GUIs.
5944 (blink-cursor-mode): Use focus-in/out-hook.
5945
5946 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
5947
5948 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
5949 work when annotation is invisible (Bug#13886).
5950
5951 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
5952
5953 * json.el (json-alist-p): Only return non-nil if the alist has
5954 simple keys (Bug#13518).
5955
5956 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
5957
5958 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
5959 when control-statement is the first statement in a buffer (Bug#15956).
5960
5961 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
5962
5963 * imenu.el (imenu-generic-skip-comments-and-strings):
5964 New option (Bug#15560).
5965 (imenu--generic-function): Use it.
5966
5967 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
5968
5969 * minibuffer.el (completion--in-region-1): Scroll the correct window.
5970 (Bug#13898)
5971
5972 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
5973
5974 * emacs-lisp/helpers.el: Add some string helpers.
5975 (string-trim-left): Removes leading whitespace.
5976 (string-trim-right): Removes trailing whitespace.
5977 (string-trim): Removes leading and trailing whitespace.
5978
5979 * subr.el (string-suffix-p): New function.
5980
5981 2013-11-23 Glenn Morris <rgm@gnu.org>
5982
5983 * progmodes/python.el (python-shell-send-file):
5984 Add option to delete file when done. (Bug#15647)
5985 (python-shell-send-string, python-shell-send-region): Use it.
5986
5987 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
5988
5989 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
5990 to set buffer-read-only to t, never to nil. (Bug#15938)
5991
5992 * textmodes/tex-mode.el (latex-noindent-environments):
5993 Add safe-local-variable property. (Bug#15936)
5994
5995 2013-11-23 Glenn Morris <rgm@gnu.org>
5996
5997 * textmodes/enriched.el (enriched-mode): Doc fix.
5998 * emacs-lisp/authors.el (authors-renamed-files-alist):
5999 Add enriched.doc -> enriched.txt.
6000
6001 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
6002
6003 2013-11-22 Leo Liu <sdl.web@gmail.com>
6004
6005 * progmodes/octave.el (inferior-octave-startup): Spit out error
6006 message.
6007
6008 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
6009
6010 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6011 Improve docstring.
6012 Add :version.
6013 (ruby-encoding-magic-comment-style): Add :version.
6014
6015 2013-11-22 Leo Liu <sdl.web@gmail.com>
6016
6017 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
6018 (Bug#15076)
6019 (octave-help-mode): Adapt to change to help-mode-finish to use
6020 derived-mode-p on 2013-09-17.
6021 (inferior-octave-prompt): Also match octave-gui.
6022 (octave-kill-process): Don't ask twice. (Bug#10564)
6023
6024 2013-11-22 Leo Liu <sdl.web@gmail.com>
6025
6026 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
6027 (inferior-octave-startup, inferior-octave-check-process)
6028 (inferior-octave-track-window-width-change)
6029 (octave-completion-at-point, octave-eldoc-function): Use it.
6030 (octave-kill-process): Provide confirmation. (Bug#10564)
6031
6032 2013-11-21 Leo Liu <sdl.web@gmail.com>
6033
6034 * progmodes/octave.el (octave-mode, inferior-octave-mode):
6035 Fix obsolete variable comment-use-global-state.
6036
6037 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6038
6039 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
6040 Add `octave-source-file'.
6041 (octave-source-file): New function. (Bug#15935)
6042
6043 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
6044
6045 * net/eww.el (eww-local-regex): New variable.
6046 (eww): Use it to detect localhost and similar.
6047
6048 2013-11-21 Leo Liu <sdl.web@gmail.com>
6049
6050 Add completion for command `ag'.
6051 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
6052 (pcomplete/ag): New function.
6053 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
6054
6055 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6056
6057 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
6058 (bug#14646).
6059 (make-obsolete): Remove interactive spec.
6060
6061 2013-11-21 Glenn Morris <rgm@gnu.org>
6062
6063 * startup.el (command-line-1): Use path-separator with -L.
6064
6065 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
6066
6067 * emacs-lisp/package.el (describe-package-1): Add package archive
6068 to shown fields.
6069
6070 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
6071
6072 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6073 Change default to "# encoding: %s" to differentiate it from the
6074 default Ruby encoding comment template.
6075
6076 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
6077
6078 * ses.el (ses-mode): Doc fix. (Bug#14748)
6079
6080 2013-11-20 Leo Liu <sdl.web@gmail.com>
6081
6082 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
6083
6084 2013-11-19 Dan Nicolaescu <dann@gnu.org>
6085
6086 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
6087 when rebase or bisect are in progress.
6088
6089 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
6090
6091 * filenotify.el (file-notify-add-watch): Doc fix.
6092
6093 2013-11-19 Leo Liu <sdl.web@gmail.com>
6094
6095 * obsolete/rcompile.el: Mark obsolete.
6096
6097 * progmodes/compile.el (compilation-start)
6098 (compilation-goto-locus, compilation-find-file):
6099 Pass no-display-ok and handle nil value from display-buffer.
6100 (Bug#13594)
6101
6102 * window.el (display-buffer-alist, display-buffer): Document the
6103 new parameter no-display-ok. Return either a window or nil
6104 but never a non-window value.
6105
6106 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
6107
6108 * electric.el (electric-indent-mode-map): Remove.
6109 (electric-indent-mode): Change the global-map instead (bug#15915).
6110
6111 * textmodes/text-mode.el (paragraph-indent-minor-mode):
6112 Use add-function.
6113
6114 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
6115
6116 * emacs-lisp/nadvice.el (remove-function): Align with
6117 add-function's behavior.
6118
6119 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
6120 (gdb--string-regexp): New constant.
6121 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
6122 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
6123 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
6124 submatch 1.
6125 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
6126 Adjust use accordingly.
6127 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
6128
6129 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
6130
6131 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
6132 interpolation curlies (Bug#15914).
6133
6134 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
6135
6136 * calc/calc.el (calc-context-sensitive-enter): New variable.
6137 (calc-enter): Use `calc-context-sensitive-enter'.
6138
6139 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
6140
6141 * progmodes/cfengine.el: Version bump.
6142 (cfengine-cf-promises): New defcustom to locate cf-promises.
6143 (cfengine3-vartypes): Add new "data" type.
6144 (cfengine3--current-word): New function to get current name-like
6145 word or its bounds.
6146 (cfengine3--current-function): New function to look up a CFEngine
6147 function's definition.
6148 (cfengine3-format-function-docstring): New function.
6149 (cfengine3-make-syntax-cache): New function.
6150 (cfengine3-documentation-function): New function: ElDoc glue.
6151 (cfengine3-completion-function): New function: completion glue.
6152 (cfengine3-mode): Set `compile-command',
6153 `eldoc-documentation-function', and add to
6154 `completion-at-point-functions'.
6155
6156 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
6157
6158 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6159 `tramp-current-connection'.
6160
6161 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
6162
6163 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
6164 nil/self/true/false with "end of symbol".
6165
6166 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
6167
6168 * subr.el (version-regexp-alist): Fix a typo.
6169
6170 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
6171
6172 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
6173 "en_US.utf8" and "LC_CTYPE" to "".
6174 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
6175 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
6176
6177 2013-11-15 Leo Liu <sdl.web@gmail.com>
6178
6179 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
6180
6181 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6182
6183 * progmodes/gud.el (ctl-x-map):
6184 Remove C-x SPC binding. (Bug#12342)
6185 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
6186
6187 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
6188
6189 * subr.el (version-regexp-alist):
6190 Recognize hg, svn and darcs versions as snapshot versions.
6191
6192 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
6193 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
6194 (ruby--encoding-comment-required-p): Extract from
6195 `ruby-mode-set-encoding'.
6196 (ruby-mode-set-encoding): Add the ability to always insert an
6197 utf-8 encoding comment. Fix and simplify coding comment update
6198 logic.
6199
6200 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
6201
6202 * net/tramp-gvfs.el (top): Run init code only when
6203 `tramp-gvfs-enabled' is not nil.
6204 (tramp-gvfs-enabled): Check also :system bus.
6205
6206 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6207
6208 Sync with upstream verilog-mode revision 78e66ba.
6209 * progmodes/verilog-mode.el (verilog-end-of-defun)
6210 (verilog-type-completion, verilog-get-list): Remove unused funcs.
6211 (verilog-get-end-of-defun): Remove unused argument.
6212 (verilog-comment-depth): Remove unused local `e'.
6213 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
6214 Don't pass arg to verilog-get-end-of-defun.
6215
6216 2013-11-14 Glenn Morris <rgm@gnu.org>
6217
6218 * obsolete/assoc.el (aget): Prefix dynamic variable.
6219
6220 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
6221
6222 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6223
6224 * widget.el, hfy-cmap.el: Remove bogus package version number.
6225
6226 2013-11-13 Glenn Morris <rgm@gnu.org>
6227
6228 * replace.el (replace-eval-replacement):
6229 Try to give more helpful error message. (Bug#15836)
6230
6231 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6232 (archive-7z-update): Avoid custom type mismatches.
6233
6234 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
6235
6236 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
6237
6238 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
6239 address can be empty.
6240
6241 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
6242 Accept nil SWITCHES.
6243 (tramp-gvfs-handle-write-region): Implement APPEND.
6244
6245 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
6246
6247 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
6248 binary "|" operator and closing block args delimiter.
6249 Remove FIXME comment referring to Ruby 1.8-only syntax.
6250 (ruby-smie--implicit-semi-p): Not after "|" operator.
6251 (ruby-smie--closing-pipe-p): New function.
6252 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
6253 (ruby-smie-rules): Indent after "|".
6254
6255 2013-11-12 Glenn Morris <rgm@gnu.org>
6256
6257 * ps-print.el (ps-face-attribute-list):
6258 Handle anonymous faces. (Bug#15827)
6259
6260 2013-11-12 Martin Rudalics <rudalics@gmx.at>
6261
6262 * window.el (display-buffer-other-frame): Fix doc-string.
6263 (Bug#15868)
6264
6265 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6266
6267 * subr.el (force-mode-line-update): Delete, move to buffer.c.
6268
6269 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
6270
6271 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
6272 (tramp-sh-handle-file-local-copy): Don't write a message when
6273 saving temporary files.
6274
6275 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
6276 both directories are remote.
6277 (tramp-smb-handle-directory-files): Do not return double entries.
6278 Do not expand full file names.
6279 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
6280 (tramp-smb-handle-write-region): Implement APPEND.
6281 (tramp-smb-get-stat-capability): Fix a stupid bug.
6282
6283 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6284
6285 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
6286
6287 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6288
6289 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
6290 throwing error over malformed let/let* (bug#15814).
6291
6292 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6293
6294 * iswitchb.el (iswitchb-mode): Mark obsolete.
6295
6296 2013-11-11 Glenn Morris <rgm@gnu.org>
6297
6298 * international/uni-bidi.el, international/uni-category.el:
6299 * international/uni-name.el, international/uni-numeric.el:
6300 Regenerate for Unicode 6.3.0.
6301
6302 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
6303
6304 * net/tramp.el (tramp-methods):
6305 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
6306 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
6307
6308 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
6309
6310 * progmodes/sh-script.el (sh-font-lock-keywords-var):
6311 Force highlighting text after Summary keyword in doc face for rpm.
6312
6313 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
6314
6315 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
6316 available and the word has no wildcards, append one to the grep pattern.
6317 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
6318 (ispell-complete-word): Call `ispell-lookup-words' with the value
6319 independent of `ispell-look-p'.
6320
6321 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6322
6323 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
6324 Not after "||".
6325 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
6326 their parent.
6327
6328 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6329
6330 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
6331 (ruby-font-lock-keywords): Use backquote.
6332
6333 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6334
6335 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6336 (ruby-smie--backward-token): Only consider full-string matches.
6337
6338 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
6339
6340 * faces.el (describe-face): Add distant-foreground.
6341
6342 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
6343
6344 * progmodes/ruby-mode.el: Improve encoding comment handling.
6345 (ruby-encoding-magic-comment-style): New option.
6346 (ruby-custom-encoding-magic-comment-template): New option.
6347 (ruby--insert-coding-comment, ruby--detect-encoding):
6348 New functions extracted from `ruby-mode-set-encoding'.
6349 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
6350 to control the style of the auto-inserted encoding comment.
6351
6352 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6353
6354 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
6355 Use `smie-backward-sexp' with token argument.
6356
6357 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
6358
6359 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6360 Remove instrumentation code.
6361
6362 2013-11-08 Glenn Morris <rgm@gnu.org>
6363
6364 * progmodes/autoconf.el (autoconf-mode):
6365 Tweak comment-start-skip. (Bug#15822)
6366
6367 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6368
6369 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
6370 at bobp (bug#15826).
6371 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
6372
6373 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
6374
6375 * man.el (Man-start-calling): New macro, extracted from
6376 Man-getpage-in-background.
6377 (Man-getpage-in-background): Use it.
6378 (Man-update-manpage): New command.
6379 (Man-mode-map): Bind it.
6380
6381 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6382
6383 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
6384 of "and", "or", "&&" and "||".
6385 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
6386 argument. Prohibit opening curly brace because it could only be a
6387 block opener in that position.
6388 (ruby-smie--forward-token, ruby-smie--backward-token):
6389 Separate "|" from "&" or "*" going after it. That can happen in block
6390 arguments.
6391 (ruby-smie--indent-to-stmt): New function, seeks the end of
6392 previous statement or beginning of buffer.
6393 (ruby-smie-rules): Use it.
6394 (ruby-smie-rules): Check if there's a ":" before a curly block
6395 opener candidate; if there is, it's a hash.
6396
6397 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
6398
6399 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
6400 (cl--block-wrapper): Fix last accidental change.
6401
6402 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
6403
6404 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6405 Instrument, in order to hunt failure on hydra.
6406
6407 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6408
6409 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
6410 malformed bindings form (bug#15814).
6411
6412 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
6413
6414 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
6415 "." compared to " @ ". This incidentally fixes some indentation
6416 examples with "do".
6417 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
6418 (ruby-smie-grammar): New tokens: "and" and "or".
6419 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
6420 Exclude "and" and "or". Remove "do" in order to work around token
6421 priorities.
6422 (ruby-smie-rules): Add all infix tokens. Handle the case of
6423 beginning-of-buffer.
6424
6425 2013-11-06 Glenn Morris <rgm@gnu.org>
6426
6427 * Makefile.in (setwins_almost, setwins_for_subdirs):
6428 Avoid accidental matches.
6429
6430 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6431
6432 * menu-bar.el (popup-menu): Use key-binding.
6433
6434 2013-11-06 Eli Zaretskii <eliz@gnu.org>
6435
6436 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
6437 menus, support also the menus produced by minor modes.
6438 (Bug#15817)
6439
6440 2013-11-06 Leo Liu <sdl.web@gmail.com>
6441
6442 * thingatpt.el (thing-at-point-looking-at): Add optional arg
6443 DISTANCE to bound the search. All uses changed. (Bug#15808)
6444
6445 2013-11-06 Glenn Morris <rgm@gnu.org>
6446
6447 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
6448 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
6449 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
6450
6451 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6452
6453 * electric.el (electric-indent-just-newline): New command.
6454 (electric-indent-mode-map): New keymap.
6455 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
6456 Re-add :group which weren't redundant.
6457
6458 * electric.el (electric-indent-local-mode): New minor mode.
6459 (electric-indent-functions-without-reindent): New var.
6460 (electric-indent-post-self-insert-function): Use it.
6461 * emacs-lisp/gv.el (buffer-local-value): Add setter.
6462
6463 2013-11-05 Eli Zaretskii <eliz@gnu.org>
6464
6465 * international/quail.el (quail-help): Be more explicit about the
6466 meaning of the labels shown on the keys. (Bug#15800)
6467
6468 * startup.el (normal-top-level): Load the subdirs.el files before
6469 setting the locale environment. (Bug#15805)
6470
6471 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
6472
6473 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
6474 via arguments so as to get the right ones (bug#15418).
6475
6476 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
6477
6478 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
6479
6480 Fix problems found while writing a test suite.
6481
6482 * net/tramp-compat.el (tramp-compat-load): New defun.
6483 * net/tramp.el (tramp-handle-load): Use it.
6484
6485 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
6486 "(numberp ok-if-already-exists)" correctly.
6487
6488 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
6489
6490 * international/characters.el (glyphless-char-display-control):
6491 Add usage note.
6492
6493 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
6494
6495 * progmodes/python.el (python-mode):
6496 * progmodes/scheme.el (scheme-mode):
6497 * progmodes/prolog.el (prolog-mode):
6498 * progmodes/ruby-mode.el (ruby-mode):
6499 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
6500 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
6501
6502 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6503
6504 * rect.el (rectangle--highlight-for-redisplay):
6505 * emacs-lisp/smie.el (smie--next-indent-change):
6506 Use buffer-chars-modified-tick.
6507
6508 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
6509
6510 * electric.el (electric-indent-post-self-insert-function):
6511 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
6512
6513 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
6514
6515 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
6516
6517 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6518
6519 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
6520 (bug#15786).
6521
6522 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6523
6524 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
6525
6526 * progmodes/python.el: Fix up last change.
6527 (python-shell--save-temp-file): New function.
6528 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
6529 `string' comes from the current buffer.
6530 (python-shell-send-string-no-output): Remove `msg' arg.
6531 (python--use-fake-loc): New var.
6532 (python-shell-buffer-substring): Obey it. Try to compensate for the
6533 extra coding line added by python-shell--save-temp-file.
6534 (python-shell-send-region): Use python-shell--save-temp-file and
6535 python-shell-send-file directly. Add `nomain' argument.
6536 (python-shell-send-buffer): Use python-shell-send-region.
6537 (python-electric-pair-string-delimiter): New function.
6538 (python-mode): Use it.
6539
6540 2013-11-04 Eli Zaretskii <eliz@gnu.org>
6541
6542 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
6543 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
6544 environment and decoding all of the default-directory's to here
6545 from command-line.
6546 (command-line): Decode also argv[0].
6547
6548 * loadup.el: Error out if default-directory is a multibyte string
6549 when we are dumping.
6550
6551 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
6552
6553 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
6554
6555 * emacs-lisp/package.el (package-menu-mode)
6556 (package-menu--print-info, package-menu--archive-predicate):
6557 Add Archive column to package list.
6558
6559 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
6560
6561 Fix problems found while writing a test suite.
6562
6563 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
6564 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
6565 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
6566 to nil when running original file name handler. Otherwise,
6567 there are problems with constructs like "$$FOO".
6568
6569 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
6570 for `localname'.
6571
6572 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
6573
6574 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
6575
6576 * subr.el (version<, version<=, version=):
6577 Update docstrings with information for snapshot versions.
6578
6579 * helpers.el: New library for misc helper functions.
6580 (hash-table-keys): New function returning a list of hash keys.
6581 (hash-table-values): New function returning a list of hash values.
6582
6583 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
6584
6585 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6586 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
6587
6588 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
6589
6590 * textmodes/fill.el (fill-single-char-nobreak-p): New function
6591 checking whether point is after a 1-letter word.
6592
6593 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6594
6595 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
6596 Don't infloop when expanding region over `multiline' syntax-type that
6597 begins a line (bug#15778).
6598
6599 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6600
6601 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
6602 Make it into a proper minor mode.
6603 (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
6604 (rectangle-mark-mode-map): New keymap.
6605 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
6606
6607 2013-11-04 Glenn Morris <rgm@gnu.org>
6608
6609 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
6610
6611 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
6612
6613 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
6614 (ruby-smie-rules): Use smie-rule-parent instead.
6615
6616 * emacs-lisp/smie.el (smie-rule-parent): Always call
6617 smie-indent-virtual rather than only for hanging tokens.
6618 (smie--next-indent-change): New helper command.
6619
6620 2013-11-03 Glenn Morris <rgm@gnu.org>
6621
6622 * Makefile.in (abs_srcdir): Remove.
6623 (emacs): Unset EMACSLOADPATH.
6624
6625 2013-11-02 Glenn Morris <rgm@gnu.org>
6626
6627 * Makefile.in (EMACS): Use a relative filename.
6628 (abs_top_builddir): Remove.
6629 (custom-deps, finder-data, autoloads): Use --chdir.
6630
6631 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
6632
6633 Use relative filenames in TAGS files.
6634 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
6635 (lisptagsfiles4, TAGS): Use relative file names.
6636 (TAGS-LISP): Remove.
6637 (maintainer-clean): No more TAGS-LISP file.
6638
6639 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
6640 (lisptagsfiles4): Use absolute filenames again.
6641 (TAGS, TAGS-LISP): Not everything needs to run in one line.
6642 Remove all *loaddefs files, not just the first. Remove esh-groups.
6643 (maintainer-clean): Delete TAGS, TAGS-LISP.
6644
6645 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6646
6647 * emacs-lisp/package.el (package-version-join):
6648 Recognize snapshot versions.
6649
6650 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6651
6652 * subr.el (version-regexp-alist): Add support for snapshot versions.
6653
6654 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
6655
6656 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
6657 New function, replacement for `smie-rule-parent' for when we want to
6658 skip over our direct parent if it's an assignment token..
6659 (ruby-smie-rules): Use it.
6660
6661 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
6662
6663 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
6664 unconditionally. Remove now unnecessary forward declarations.
6665 Remove XEmacs-specific setup.
6666 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
6667 (ruby-font-lock-syntactic-keywords)
6668 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
6669 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
6670 (ruby-here-doc-end-syntax): Remove.
6671 (ruby-mode): Don't check whether `syntax-propertize-rules' is
6672 defined as function.
6673
6674 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6675
6676 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
6677
6678 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
6679
6680 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
6681 table and abbrev table, `define-derived-mode' does that for us
6682 anyway.
6683
6684 2013-11-01 Glenn Morris <rgm@gnu.org>
6685
6686 * Makefile.in: Remove manual mh-e dependencies (writing .elc
6687 files is atomic for some time, so no parallel compilation issues).
6688
6689 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
6690
6691 * faces.el (face-x-resources): Add :distant-foreground.
6692 (region): Use :distant-foreground for gtk and ns.
6693
6694 2013-11-01 Tassilo Horn <tsdh@gnu.org>
6695
6696 Allow multiple bibliographies when BibLaTeX is used rather than
6697 BibTeX.
6698 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
6699 (reftex-locate-bibliography-files): Us it.
6700
6701 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
6702
6703 * image.el (image-type-header-regexps): Fix the 'pbm' part to
6704 allow comments in pbm files.
6705
6706 * term/w32-win.el (dynamic-library-alist): Support newer versions
6707 of libjpeg starting with v7: look only for the DLL from the
6708 version against which Emacs was built.
6709 Support versions of libpng beyond 1.4.x.
6710 Support libtiff v4.x.
6711
6712 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
6713
6714 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
6715 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
6716 Add property :safe.
6717 (ruby-deep-arglist): Add property :type.
6718
6719 2013-10-31 Glenn Morris <rgm@gnu.org>
6720
6721 * Makefile.in (custom-deps, finder-data): No need to setq the target
6722 variables, we are in the right directory and the defaults work fine.
6723
6724 2013-10-30 Glenn Morris <rgm@gnu.org>
6725
6726 * Makefile.in (autoloads): Do not use abs_lisp.
6727
6728 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6729 `newline' does not respect `standard-output', so use `princ'.
6730
6731 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
6732
6733 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
6734 * buff-menu.el (Buffer-menu--unmark): New function.
6735 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
6736
6737 2013-10-30 Glenn Morris <rgm@gnu.org>
6738
6739 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
6740
6741 * emacs-lisp/package.el (lm-homepage): Declare.
6742
6743 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
6744 Fix doc typos.
6745
6746 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
6747
6748 * Makefile.in (finder-data, autoloads, update-subdirs)
6749 (compile-main, compile-clean, compile-always, bootstrap-clean):
6750 Check return value of cd.
6751 (compile-calc): Remove.
6752
6753 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
6754
6755 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
6756
6757 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
6758 (byte-compile-and-folded): New function.
6759 (=, <, >, <=, >=): Use it.
6760
6761 * dos-w32.el (minibuffer-history-case-insensitive-variables)
6762 (path-separator, null-device, buffer-file-coding-system)
6763 (lpr-headers-switches): Check system-type before modifying them.
6764 (find-buffer-file-type-coding-system): Mark obsolete.
6765 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
6766 find-file-not-found-set-buffer-file-coding-system.
6767 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
6768 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
6769 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
6770 (w32-direct-print-region-helper, w32-direct-print-region-function)
6771 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
6772 * startup.el (normal-top-level-add-subdirs-to-load-path):
6773 * ps-print.el (ps-print-region-function):
6774 * lpr.el (print-region-function): Use new name.
6775
6776 * subr.el (custom-declare-variable-early): Remove function.
6777 (custom-declare-variable-list): Remove var.
6778 (error, user-error): Remove `while' loop.
6779 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
6780 (user-emacs-directory-warning, locate-user-emacs-file):
6781 Move to files.el.
6782 * simple.el (read-quoted-char-radix, read-quoted-char):
6783 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
6784 Move from subr.el.
6785 * custom.el (custom-declare-variable-list): Don't process
6786 custom-declare-variable-list.
6787
6788 * progmodes/python.el (python-shell-get-buffer): New function.
6789 (python-shell-get-process): Use it.
6790 (python-shell-send-string): Always use utf-8 and add a cookie to tell
6791 Python which encoding was used. Don't split-string since we only care
6792 about the first line. Return the temp-file, if applicable.
6793 (python-shell-send-region): Tell compile.el how to turn locations in
6794 the temp-file into locations in the source buffer.
6795
6796 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
6797
6798 * subr.el (undefined): Add missing behavior from the C code for
6799 unbound keys.
6800
6801 * rect.el: Use lexical-binding. Add new rectangular region support.
6802 (rectangle-mark): New command.
6803 (rectangle--region): New var.
6804 (deactivate-mark-hook): Reset rectangle--region.
6805 (rectangle--extract-region, rectangle--insert-for-yank)
6806 (rectangle--highlight-for-redisplay)
6807 (rectangle--unhighlight-for-redisplay): New functions.
6808 (region-extract-function, redisplay-unhighlight-region-function)
6809 (redisplay-highlight-region-function): Use them to handle
6810 rectangular region.
6811 * simple.el (region-extract-function): New var.
6812 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
6813 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
6814 (kill-region): Replace obsolete `yank-handler' arg with `region'.
6815 (copy-region-as-kill, kill-ring-save): Add `region' argument.
6816 (redisplay-unhighlight-region-function)
6817 (redisplay-highlight-region-function): New vars.
6818 (redisplay--update-region-highlight): New function.
6819 (pre-redisplay-function): Use it.
6820 (exchange-point-and-mark): Don't deactivate the mark before
6821 reactivate-it anyway.
6822 * comint.el (comint-kill-region): Remove yank-handler argument.
6823 * delsel.el (delete-backward-char, backward-delete-char-untabify)
6824 (delete-char): Remove property, since it's now part of their
6825 default behavior.
6826 (self-insert-iso): Remove property since this command doesn't exist.
6827
6828 * emacs-lisp/package.el (package--download-one-archive)
6829 (describe-package-1): Don't query the user about final newline.
6830
6831 2013-10-29 Daniel Colascione <dancol@dancol.org>
6832
6833 * net/tramp.el (tramp-methods): Document new functionality.
6834 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
6835 tramp-hostname-checker if method provides one instead of scanning
6836 argument list for "%h" to decide hostname acceptability.
6837
6838 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
6839
6840 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
6841 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
6842 Handle COPY-CONTENTS. (Bug#15737)
6843
6844 2013-10-28 Daiki Ueno <ueno@gnu.org>
6845
6846 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
6847 Document that this option has no effect with GnuPG 2.0 (bug#15552).
6848
6849 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
6850
6851 * image.el (defimage, image-load-path): Doc fixes.
6852
6853 2013-10-27 Alan Mackenzie <acm@muc.de>
6854
6855 Indent statements in macros following "##" correctly.
6856 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
6857 Modify the "#" arm of a cond form to handle "#" and "##" operators.
6858
6859 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6860
6861 * linum.el (linum-update-window): Fix boundary test (bug#13446).
6862
6863 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
6864
6865 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
6866 after `=' is probably a new expression.
6867
6868 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6869
6870 * man.el (man-imenu-title): New option.
6871 (Man-mode-map): Add menu. (Bug#15722)
6872 (Man-mode): Add imenu to menu.
6873
6874 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
6875
6876 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
6877 specific in what the first arg can be: a non-keyword word,
6878 string/regexp/percent literal opener, opening paren, or unary
6879 operator followed directly by word.
6880
6881 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6882
6883 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
6884 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
6885 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
6886 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
6887 Remove vars, they do not apply any more.
6888 (prolog-mode-abbrev-table): Remove redundant declaration.
6889 (prolog-upper-case-string, prolog-lower-case-string): Remove.
6890 (prolog-use-smie): Remove.
6891 (prolog-smie-rules): Add indentation rule for the if-then-else layout
6892 supported by prolog-electric-if-then-else-flag.
6893 (prolog-mode-variables, prolog-menu): Use setq-local.
6894 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
6895 Remove binding to `Backspace' since this key doesn't exist anyway.
6896 Remove bindings for electric self-inserting keys.
6897 (prog-mode): Assume it's defined.
6898 (prolog-post-self-insert): New function.
6899 (prolog-mode): Use it.
6900 (prolog-indent-line, prolog-indent-level)
6901 (prolog-find-indent-of-matching-paren)
6902 (prolog-indentation-level-of-line, prolog-goto-comment-column)
6903 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
6904 (prolog-goto-next-paren, prolog-in-string-or-comment)
6905 (prolog-tokenize, prolog-inside-mline-comment)
6906 (prolog-find-start-of-mline-comment): Remove functions.
6907 (prolog-find-unmatched-paren, prolog-clause-end)
6908 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
6909 (prolog-electric--if-then-else): Rename from
6910 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
6911 (prolog-tokenize-searchkey): Remove const.
6912 (prolog-clause-info): Use forward-sexp.
6913 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
6914 (prolog-electric-if-then-else): Remove commands.
6915 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
6916 for use in post-self-insert-hook.
6917 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
6918 for use in post-self-insert-hook.
6919 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
6920 for use in post-self-insert-hook.
6921 (prolog-electric--underscore): Rename from prolog-electric--underscore;
6922 adapt it for use in post-self-insert-hook.
6923
6924 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
6925
6926 * emacs-lisp/ert.el (ert-run-tests-interactively):
6927 Use `completing-read'. (Bug#9756)
6928
6929 2013-10-25 Eli Zaretskii <eliz@gnu.org>
6930
6931 * simple.el (line-move): Call line-move-1 instead of
6932 line-move-visual when the current window hscroll is zero, but
6933 temporary-goal-column indicates we will need to hscroll as result
6934 of the movement. (Bug#15712)
6935
6936 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
6937
6938 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
6939 capitalization. Use :visible instead of :active.
6940 Fix `ruby-indent-exp' reference. Add menu items for the generic
6941 commands that are used with SMIE.
6942 (ruby-do-end-to-brace): Insert space after `{'.
6943
6944 2013-10-25 John Anthony <john@jo.hnanthony.com>
6945
6946 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
6947
6948 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
6949
6950 2013-10-25 Glenn Morris <rgm@gnu.org>
6951
6952 * vc/vc.el (vc-print-log): Don't use a working revision unless
6953 one was explicitly specified. (Bug#15322)
6954
6955 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6956
6957 * subr.el (add-to-list): Preserve return value in compiler-macro
6958 (bug#15692).
6959
6960 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6961
6962 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
6963 result. Ask user to retry using '-all' flag. (Bug#15701)
6964
6965 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6966
6967 * emacs-lisp/smie.el: New smie-config system.
6968 (smie-config): New defcustom.
6969 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
6970 (smie-config-guess, smie-config-save): New commands.
6971 (smie-config--mode-local, smie-config--buffer-local)
6972 (smie-config--trace, smie-config--modefuns): New vars.
6973 (smie-config--advice, smie-config--mode-hook)
6974 (smie-config--setter, smie-config-local, smie-config--get-trace)
6975 (smie-config--guess-value, smie-config--guess): New functions.
6976 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
6977 text properties. Treat "string fence" syntax like string syntax.
6978
6979 * progmodes/sh-script.el (sh-use-smie): Change default.
6980 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
6981 (sh-var-value): Simplify by CSE.
6982 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
6983 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
6984 is used.
6985 (sh-guess-basic-offset): Use cl-incf.
6986 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
6987
6988 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
6989
6990 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
6991 (bug#15699).
6992
6993 2013-10-24 Glenn Morris <rgm@gnu.org>
6994
6995 * Makefile.in (abs_top_srcdir): Remove.
6996 (update-subdirs): Use relative path to update-subdirs.
6997
6998 2013-10-24 Eli Zaretskii <eliz@gnu.org>
6999
7000 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
7001 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
7002 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
7003 Call unmsys--file-name before expand-file-name, not after it.
7004
7005 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
7006
7007 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
7008 (ert-test-skipped): New error.
7009 (ert-skip, ert-stats-skipped): New defuns.
7010 (ert--skip-unless): New macro.
7011 (ert-test-skipped): New struct.
7012 (ert--run-test-debugger, ert-test-result-type-p)
7013 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
7014 (ert--stats-set-test-and-result, ert-char-for-test-result)
7015 (ert-string-for-test-result, ert-run-tests-batch)
7016 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
7017 Handle skipped tests. (Bug#9803)
7018
7019 2013-10-24 Glenn Morris <rgm@gnu.org>
7020
7021 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
7022
7023 * Makefile.in (abs_top_srcdir): New, set by configure.
7024 (update-subdirs): Correct build-aux location.
7025
7026 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
7027
7028 * vc/vc.el (vc-print-root-log): Always set `default-directory'
7029 value, whether we could auto-deduce `backend', or not.
7030
7031 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
7032 with parameters" example. Simplify the "is it block or is it
7033 hash" check, but also make it more thorough.
7034
7035 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
7036
7037 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
7038
7039 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7040
7041 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
7042 { if it is hanging.
7043
7044 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
7045 :before ";".
7046
7047 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
7048
7049 * progmodes/compile.el (compilation-directory-matcher)
7050 (compilation-page-delimiter):
7051 Support GNU Make-4.0 directory quoting. (Bug#15678)
7052
7053 2013-10-23 Leo Liu <sdl.web@gmail.com>
7054
7055 * ido.el (ido-tidy): Handle read-only text.
7056
7057 2013-10-23 Glenn Morris <rgm@gnu.org>
7058
7059 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
7060 (emacs, compile, compile-always):
7061 Quote entities that might contain whitespace.
7062 (custom-deps, finder-data, autoloads): Use abs_lisp.
7063 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7064 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7065 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
7066
7067 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
7068
7069 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
7070 Use `following-char'.
7071
7072 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7073
7074 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
7075 * progmodes/ruby-mode.el (ruby-smie-rules):
7076 Remove corresponding workaround. Fix indentation rule of ";" so it
7077 also applies when ";" is the parent.
7078
7079 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
7080
7081 * frame.el (display-screens, display-pixel-height)
7082 (display-pixel-width, display-mm-width, display-backing-store)
7083 (display-save-under, display-planes, display-color-cells)
7084 (display-visual-class, display-monitor-attributes-list):
7085 Mention the optional ‘display’ argument in doc strings.
7086
7087 2013-10-22 Michael Gauland <mikelygee@amuri.net>
7088
7089 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
7090 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
7091
7092 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7093
7094 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
7095 TODO. Add "." after " @ ".
7096 (ruby-smie--at-dot-call): New function. Checks if point at method
7097 call with explicit target.
7098 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
7099 to the method name tokens when it precedes them.
7100 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
7101 (ruby-smie-rules): Add rule for indentation before and after "."
7102 token.
7103
7104 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
7105
7106 * textmodes/remember.el (remember-diary-extract-entries):
7107 Avoid add-to-list.
7108
7109 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
7110 an instruction.
7111
7112 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7113
7114 * progmodes/ruby-mode.el (ruby-smie-grammar):
7115 Add (almost) all infix operators.
7116 (ruby-smie--implicit-semi-p): Add new operator chars.
7117
7118 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
7119 `smie-down-list'.
7120 (ruby-smie--args-separator-p): Check that there's no newline
7121 between method call and its arguments.
7122
7123 2013-10-20 Alan Mackenzie <acm@muc.de>
7124
7125 Allow comma separated lists after Java "implements".
7126
7127 * progmodes/cc-engine.el (c-backward-over-enum-header):
7128 Parse commas.
7129 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
7130 from a "disallowed" list in enum fontification.
7131
7132 2013-10-20 Johan Bockgård <bojohan@gnu.org>
7133
7134 * startup.el (default-frame-background-mode): Remove unused defvar.
7135
7136 * progmodes/verilog-mode.el (verilog-mode): Don't set
7137 comment-indent-function globally.
7138
7139 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
7140
7141 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
7142 Move Info menu item creation to ns-win.el.
7143
7144 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
7145 in menu bar.
7146
7147 * menu-bar.el: Move GNUstep specific menus...
7148
7149 * term/ns-win.el (ns-initialize-window-system): ... to here.
7150
7151 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7152
7153 * simple.el (newline): Only run post-self-insert-hook when
7154 called interactively.
7155
7156 2013-10-19 Johan Bockgård <bojohan@gnu.org>
7157
7158 * icomplete.el (icomplete-with-completion-tables): Add :version.
7159
7160 2013-10-19 Alan Mackenzie <acm@muc.de>
7161
7162 Fix fontification bugs with constructors and const.
7163
7164 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
7165 CASE 2) Remove the check for the absence of a suffix construct
7166 after a function declaration with only types (no identifiers) in
7167 the parentheses. Also, accept a function declaration with just a
7168 type inside the parentheses, if this type can be positively
7169 recognised as such, or if a prefix keyword like "explicit" nails
7170 down the construct as a declaration.
7171
7172 2013-10-19 Eli Zaretskii <eliz@gnu.org>
7173
7174 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
7175 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
7176 the problem whereby selecting a menu item that leads to a
7177 minibuffer prompt moves the cursor out of the minibuffer window,
7178 making it hard to type at the prompt. Suggested by Stefan Monnier
7179 <monnier@iro.umontreal.ca>.
7180
7181 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
7182
7183 * menu-bar.el: Don't make Services menu.
7184
7185 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7186
7187 * ffap.el: Handle "/usr/include/c++/<version>" directories.
7188 (ffap-alist): Use ffap-c++-mode for c++-mode.
7189 (ffap-c++-path): New variable.
7190 (ffap-c++-mode): New function.
7191
7192 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
7193
7194 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
7195
7196 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
7197
7198 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
7199 introduced on 2013-09-08, which results in an infinite loop
7200 requesting a password.
7201
7202 2013-10-18 Glenn Morris <rgm@gnu.org>
7203
7204 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
7205
7206 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
7207
7208 Sync with upstream verilog-mode revision 1a6ecec7.
7209 * progmodes/verilog-mode.el (verilog-mode-version): Update.
7210 (verilog-mode-release-date): Remove.
7211 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
7212 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
7213 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
7214 (verilog-auto-tieoff-ignore-regexp)
7215 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
7216 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
7217 (verilog-signals-with, verilog-dir-cache-preserving)
7218 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
7219 Doc fixes.
7220 (verilog-case-fold): New option, to control case folding in
7221 regexp searches, bug597.
7222 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
7223 (verilog-string-match-fold, verilog-in-paren-count)
7224 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
7225 (verilog-at-close-struct-p): New functions.
7226 (verilog-beg-block-re-ordered, verilog-extended-case-re)
7227 (verilog-forward-sexp, verilog-set-auto-endcomments)
7228 (verilog-leap-to-case-head): Handle "unique0" case.
7229 (verilog-in-constraint-re): New constant.
7230 (verilog-keywords, verilog-type-font-keywords):
7231 Add some SystemVerilog 1800-2012 keywords.
7232 (verilog-label-be): Remove unimplemented argument, bug669.
7233 (verilog-batch-execute-func): When batch expanding clear
7234 create-lockfiles to prevent spurious user locks when a file ends
7235 up not changing.
7236 (verilog-calculate-indent, verilog-calc-1)
7237 (verilog-at-close-constraint-p, verilog-at-constraint-p)
7238 (verilog-do-indent): Fix indentation of nested constraints
7239 and structures.
7240 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
7241 (verilog-auto-inst-param): Use verilog-string-match-fold.
7242 (verilog-read-inst-module-matcher):
7243 Fix AUTOINST on gate primitives with #1.
7244 (verilog-read-decls): Fix double-declaring user-defined typed signals.
7245 Reads all user-defined typed variables.
7246 (verilog-read-defines): Fix reading definitions inside comments, bug647.
7247 (verilog-signals-matching-regexp)
7248 (verilog-signals-not-matching-regexp, verilog-auto):
7249 Respect verilog-case-fold.
7250 (verilog-diff-report): Fix line count.
7251 (verilog-auto-assign-modport): Remove unused local `modi'.
7252 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
7253 better handle multidimensional arrays.
7254 Fix packed array ports misadding bit index in AUTOINST, bug637.
7255 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
7256 to not double-declare existing outputs and inputs, respectively.
7257 (verilog-template-map): Bind U to verilog-sk-uvm-component.
7258 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
7259 (verilog-sk-uvm-component): New skeleton.
7260 (verilog-submit-bug-report): Add verilog-case-fold,
7261 remove verilog-mode-release-date.
7262
7263 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
7264
7265 * subr.el (sit-for): Call (input-pending-p t) so as to behave
7266 as before.
7267
7268 2013-10-18 Reuben Thomas <rrt@sc3d.org>
7269
7270 * textmodes/remember.el (remember): Set buffer-offer-save in
7271 remember buffers (bug#13566).
7272
7273 2013-10-18 Daniel Colascione <dancol@dancol.org>
7274
7275 When evaluating forms in ielm, direct standard output to ielm
7276 buffer. Add new ielm-return-for-effect command. Remove trailing
7277 whitespace throughout.
7278
7279 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
7280 (ielm-return-for-effect): New command.
7281 (ielm-send-input): Accept optional `for-effect' parameter.
7282 (ielm-eval-input): Accept optional `for-effect' parameter.
7283 Bind `standard-output' to stream we create using
7284 `ielm-standard-output-impl'. Suppress printing result when
7285 `for-effect'.
7286 (ielm-standard-output-impl): New function.
7287 (inferior-emacs-lisp-mode): Explain new features in documentation.
7288
7289 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
7290
7291 Code cleanup.
7292
7293 * net/tramp.el (tramp-debug-message): Do not check for connection
7294 buffer.
7295 (tramp-message): Use "vector" connection property.
7296
7297 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
7298 (tramp-equal-remote, tramp-eshell-directory-change)
7299 * net/tramp-adb.el (tramp-adb-handle-copy-file)
7300 (tramp-adb-handle-rename-file)
7301 * net/tramp-cmds.el (tramp-list-remote-buffers)
7302 (tramp-cleanup-connection, tramp-cleanup-this-connection)
7303 * net/tramp-compat.el (tramp-compat-process-running-p)
7304 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
7305 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
7306 (tramp-gvfs-handle-rename-file)
7307 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
7308 (tramp-set-file-uid-gid)
7309 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7310 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
7311 of `file-remote-p'.
7312
7313 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
7314 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7315 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
7316 (tramp-gw-open-network-stream): Suppress unrelated traces.
7317
7318 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
7319 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7320 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7321 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
7322 connection property.
7323
7324 * net/tramp-cache.el (top): Suppress traces when reading
7325 persistency file.
7326
7327 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7328 Refactor common code. Improve debug message.
7329 (tramp-maybe-open-connection)
7330 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
7331 connection buffer too early.
7332
7333 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
7334 from `tramp-smb-actions-with-acl'.
7335 (tramp-smb-actions-set-acl): New defconst.
7336 (tramp-smb-handle-copy-directory)
7337 (tramp-smb-action-get-acl): New defun, renamed from
7338 `tramp-smb-action-with-acl'.
7339 (tramp-smb-action-set-acl): New defun.
7340 (tramp-smb-handle-set-file-acl): Rewrite.
7341
7342 2013-10-17 Glenn Morris <rgm@gnu.org>
7343
7344 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
7345
7346 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7347
7348 * skeleton.el (skeleton-newline): Remove.
7349 (skeleton-internal-1): Use (insert "\n") instead.
7350
7351 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
7352 let-bindings.
7353
7354 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
7355 forward-sexp-function while we redo its job (bug#15613).
7356
7357 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
7358
7359 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
7360 represented by lists.
7361
7362 2013-10-16 Glenn Morris <rgm@gnu.org>
7363
7364 * tmm.el (tmm--history): New dynamic variable.
7365 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
7366
7367 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
7368
7369 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
7370 (tramp-smb-errors): Add error messages.
7371 (tramp-smb-actions-with-acl): New defconst.
7372 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
7373 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
7374 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
7375 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
7376 (tramp-smb-get-stat-capability): Fix tests.
7377
7378 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
7379
7380 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
7381 (bug#15580).
7382
7383 2013-10-16 Glenn Morris <rgm@gnu.org>
7384
7385 * ansi-color.el (ansi-color-drop-regexp):
7386 Add 1J, 1K, 2K. (Bug#15617)
7387
7388 * files.el (hack-local-variables--warned-lexical): New.
7389 (hack-local-variables):
7390 Warn about misplaced lexical-binding. (Bug#15616)
7391
7392 * net/eww.el (eww-render): Always set eww-current-url,
7393 and update header line. (Bug#15622)
7394 (eww-display-html): ... Rather than just doing it here.
7395
7396 2013-10-15 Eli Zaretskii <eliz@gnu.org>
7397
7398 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
7399 menu navigations commands.
7400
7401 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
7402
7403 * progmodes/subword.el (subword-capitalize): Be careful when
7404 the search for [[:alpha:]] fails (bug#15580).
7405
7406 2013-10-14 Eli Zaretskii <eliz@gnu.org>
7407
7408 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
7409 to commands that scroll the menu.
7410
7411 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
7412
7413 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
7414 Handle methods ending with `?' and `!'.
7415
7416 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
7417
7418 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
7419 `japanese-cp932' to `cp932' to fix the problem where saving a
7420 source file written in Shift_JIS twice would end up having
7421 `coding: japanese-cp932' which Ruby could not recognize.
7422 (ruby-mode-set-encoding): Add support for encodings mapped to nil
7423 in `ruby-encoding-map'.
7424 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
7425 doesn't need to be explicitly declared in magic comment.
7426 (ruby-encoding-map): Add type declaration for better customize UI.
7427
7428 2013-10-13 Glenn Morris <rgm@gnu.org>
7429
7430 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
7431 Occur buffers are read-only. http://bugs.debian.org/720775
7432
7433 * emacs-lisp/authors.el (authors-fixed-entries):
7434 Comment out old alpha stuff.
7435
7436 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
7437
7438 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
7439 to `after-save-hook' instead of `before-save-hook'.
7440 (ruby-mode-set-encoding): Use the value of coding system used to
7441 write the file. Call `basic-save-buffer-1' after modifying the
7442 buffer.
7443
7444 2013-10-13 Alan Mackenzie <acm@muc.de>
7445
7446 Fix indentation/fontification of Java enum with
7447 "implements"/generic.
7448
7449 * progmodes/cc-engine.el (c-backward-over-enum-header):
7450 Extracted from the three other places and enhanced to handle generics.
7451 (c-inside-bracelist-p): Uses new function above.
7452 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
7453 function above.
7454 (c-font-lock-enum-tail): Uses new function above.
7455
7456 2013-10-13 Kenichi Handa <handa@gnu.org>
7457
7458 * international/mule-cmds.el (select-safe-coding-system): Remove a
7459 superfluous condition in chekcing whether a coding system is safe
7460 or not.
7461
7462 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
7463
7464 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
7465
7466 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
7467
7468 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
7469
7470 2013-10-13 Glenn Morris <rgm@gnu.org>
7471
7472 * menu-bar.el (menu-bar-update-buffers):
7473 Unify Buffers menu prompt string. (Bug#15576)
7474
7475 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
7476
7477 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
7478 Add some entries.
7479 (authors-fixed-entries): Use accented form of name.
7480
7481 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7482
7483 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
7484 method calls (bug#15594).
7485 (ruby-smie--args-separator-p): New function.
7486 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
7487 recognize paren-free method calls.
7488
7489 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
7490 internals of universal-argument.
7491
7492 2013-10-11 Eli Zaretskii <eliz@gnu.org>
7493
7494 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
7495 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
7496 dropped menu on second mouse click on the menu bar.
7497
7498 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7499
7500 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
7501 (explicit-shell-file-name): Declare.
7502 (sh--vars-before-point, sh--cmd-completion-table): New functions.
7503 (sh-completion-at-point-function): New function.
7504 (sh-mode): Use it.
7505 (sh-smie--keyword-p): Remove unused argument.
7506 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
7507 vars.
7508 (sh-set-shell): Always setup SMIE, even if we use the
7509 old indentation code.
7510
7511 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
7512
7513 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
7514 cases of ? and =.
7515 (ruby-smie-rules): Simplify the "do" rule. The cases when the
7516 predicate would return nil are almost non-existent.
7517 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
7518
7519 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
7520 cache also after commands that modify the buffer but don't move
7521 point.
7522
7523 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7524
7525 * env.el (substitute-env-in-file-name): New function.
7526 (substitute-env-vars): Extend the meaning of the optional arg.
7527
7528 2013-10-10 Eli Zaretskii <eliz@gnu.org>
7529
7530 * term/w32-win.el (dynamic-library-alist): Define separate lists
7531 of GIF DLLs for versions before and after 5.0.0 of giflib.
7532 (Bug#15531)
7533
7534 2013-10-10 João Távora <joaotavora@gmail.com>
7535
7536 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
7537 not locked, use last revision and current source as
7538 defaults. (Bug#15569)
7539
7540 2013-10-10 Masatake YAMATO <yamato@redhat.com>
7541
7542 * menu-bar.el (menu-bar-open): Don't use popup-menu if
7543 menu-bar is hidden.
7544
7545 2013-10-10 Martin Rudalics <rudalics@gmx.at>
7546
7547 * window.el (pop-to-buffer-same-window): Fix doc-string.
7548 (Bug#15492)
7549
7550 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7551
7552 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
7553
7554 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
7555
7556 * calendar/icalendar.el (icalendar-import-file):
7557 Fix interactive spec. (Bug#15482)
7558
7559 2013-10-10 Glenn Morris <rgm@gnu.org>
7560
7561 * desktop.el (desktop-save): Default to saving in .emacs.d,
7562 since PWD is no longer in desktop-path by default. (Bug#15319)
7563
7564 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
7565 now that text mode has a menu with the same entry.
7566 (menu-bar-text-mode-auto-fill): Remove now unused func.
7567 * textmodes/text-mode.el (text-mode-map):
7568 Use auto-fill help text from menu-bar.el.
7569
7570 2013-10-10 John Anthony <john@jo.hnanthony.com>
7571
7572 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
7573
7574 2013-10-09 Juri Linkov <juri@jurta.org>
7575
7576 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
7577 instead of this-command-keys. Add universal-argument-more and
7578 universal-argument-minus to the list of prefix commands. (Bug#15568)
7579
7580 2013-10-09 Glenn Morris <rgm@gnu.org>
7581
7582 * vc/vc-svn.el (vc-svn-create-repo):
7583 Expand paths in file://... url. (Bug#15446)
7584
7585 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
7586 Add some entries.
7587 (authors): Remove unused local variables.
7588
7589 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7590
7591 * profiler.el: Create a more coherent calltree from partial backtraces.
7592 (profiler-format): Hide the tail with `invisible' so that C-s can still
7593 find the hidden elements.
7594 (profiler-calltree-depth): Don't recurse so enthusiastically.
7595 (profiler-function-equal): New hash-table-test.
7596 (profiler-calltree-build-unified): New function.
7597 (profiler-calltree-build): Use it.
7598 (profiler-report-make-name-part): Indent the calltree less.
7599 (profiler-report-mode): Add visibility specs for profiler-format.
7600 (profiler-report-expand-entry, profiler-report-toggle-entry):
7601 Expand the whole subtree when provided with a prefix arg.
7602
7603 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
7604
7605 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
7606 iuwu-mod token.
7607 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
7608 hanging iuwu-mod token.
7609 (ruby-smie--forward-token): Do not include a dot after a token in
7610 that token.
7611 (ruby-smie--backward-token): Likewise.
7612
7613 2013-10-08 Juri Linkov <juri@jurta.org>
7614
7615 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
7616 to isearch-other-control-char.
7617 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
7618 and isearch-post-command-hook to post-command-hook.
7619 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
7620 and isearch-post-command-hook from post-command-hook.
7621 (isearch-unread-key-sequence)
7622 (isearch-reread-key-sequence-naturally)
7623 (isearch-lookup-scroll-key, isearch-other-control-char)
7624 (isearch-other-meta-char): Remove functions.
7625 (isearch-pre-command-hook, isearch-post-command-hook):
7626 New functions based on isearch-other-meta-char rewritten
7627 relying on the new behavior of overriding-terminal-local-map
7628 that does not replace the local keymaps any more. (Bug#15200)
7629
7630 2013-10-08 Eli Zaretskii <eliz@gnu.org>
7631
7632 Support menus on text-mode terminals.
7633 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
7634 functionality.
7635
7636 * tooltip.el (tooltip-mode): Don't error out on TTYs.
7637
7638 * menu-bar.el (popup-menu, popup-menu-normalize-position):
7639 Move here from mouse.el.
7640 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
7641 and arrow keys.
7642 (tty-menu-navigation-map): New map for TTY menu navigation.
7643
7644 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
7645
7646 * frame.el (display-mouse-p): Report text-mode mouse as available
7647 on w32.
7648 (display-popup-menus-p): Report availability if mouse is
7649 available; don't condition on window-system.
7650
7651 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
7652 (tty-menu-selected-face): New faces.
7653
7654 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7655
7656 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
7657 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
7658 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
7659 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
7660 New constants.
7661 (lisp-mode-variables): New `elisp' argument.
7662 (emacs-lisp-mode): Use it.
7663 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
7664 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
7665
7666 * indent.el: Use lexical-binding.
7667 (indent-region): Add progress reporter.
7668 (tab-stop-list): Make it implicitly extend to infinity by repeating the
7669 last step.
7670 (indent--next-tab-stop): New function to implement this behavior.
7671 (tab-to-tab-stop, move-to-tab-stop): Use it.
7672
7673 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
7674
7675 * indent.el (indent-rigidly--current-indentation): New function.
7676 (indent-rigidly-map): New var.
7677 (indent-rigidly): Use it to provide interactive mode (bug#8196).
7678
7679 2013-10-08 Bastien Guerry <bzg@gnu.org>
7680
7681 * register.el (insert-register): Fix 2013-10-07 change.
7682
7683 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7684
7685 * progmodes/perl-mode.el: Use lexical-binding.
7686 Remove redundant :group args.
7687 (perl-nochange): Change default to be closer to other major modes's
7688 standard behavior.
7689 (perl-indent-line): Don't consider text on current line as a
7690 valid beginning of function from which to indent.
7691
7692 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
7693 with more than one argument (bug#15538).
7694
7695 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
7696
7697 * vc/pcvs.el: Use lexical-binding.
7698 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
7699 environment of `eval'.
7700 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
7701 than a list of expressions. Adjust callers.
7702 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
7703
7704 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
7705
7706 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
7707 case of the dot in a chained method call being on the following line.
7708
7709 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7710
7711 * electric.el (electric-indent-inhibit): New var.
7712 (electric-indent-post-self-insert-function): Use it.
7713 * progmodes/python.el (python-mode): Set it.
7714
7715 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
7716 open braces.
7717
7718 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
7719
7720 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
7721 (css-mode): Use electric-indent-chars.
7722
7723 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
7724 (font-lock-beg, font-lock-end): Move before first use.
7725 (nxml-mode): Use syntax-propertize-function.
7726 (nxml-after-change, nxml-after-change1): Adjust accordingly.
7727 (nxml-extend-after-change-region): Remove.
7728 * nxml/xmltok.el: Use lexical-binding.
7729 (xmltok-save): Use `declare'.
7730 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
7731 * nxml/nxml-util.el: Use lexical-binding.
7732 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
7733 Use `declare'.
7734 * nxml/nxml-ns.el: Use lexical-binding.
7735 (nxml-ns-save): Use `declare'.
7736 (nxml-ns-prefixes-for): Avoid add-to-list.
7737 * nxml/rng-match.el: Use lexical-binding.
7738 (rng--ipattern): Use cl-defstruct.
7739 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
7740 (rng-cons-group-after, rng-subst-group-after)
7741 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
7742 Use closures instead of `(lambda...).
7743
7744 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
7745
7746 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
7747 of BEG and END.
7748
7749 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7750 Use `tramp-handle-insert-file-contents'.
7751 (tramp-gvfs-handle-insert-file-contents): Remove function.
7752
7753 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
7754 Use `save-restriction' in order to keep markers.
7755
7756 * net/trampver.el: Update release number.
7757
7758 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7759
7760 * progmodes/compile.el (compilation-parse-errors):
7761 Use compilation--put-prop.
7762 (compilation--ensure-parse): Check compilation-multiline.
7763
7764 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
7765
7766 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
7767 lexical-binding.
7768
7769 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
7770
7771 * progmodes/ruby-mode.el: Fix recently added tests.
7772 (ruby-smie-grammar): Add - and +.
7773 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
7774 (ruby-smie--backward-id): New functions.
7775 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
7776 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
7777 any more.
7778
7779 2013-10-07 Leo Liu <sdl.web@gmail.com>
7780
7781 * register.el (register-preview-delay)
7782 (register-preview-functions): New variables.
7783 (register-read-with-preview, register-preview)
7784 (register-describe-oneline): New functions.
7785 (point-to-register, window-configuration-to-register)
7786 (frame-configuration-to-register, jump-to-register)
7787 (number-to-register, view-register, insert-register)
7788 (copy-to-register, append-to-register, prepend-to-register)
7789 (copy-rectangle-to-register): Use register-read-with-preview to
7790 read register. (Bug#15525)
7791
7792 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
7793
7794 * net/network-stream.el (network-stream-open-starttls): Don't add
7795 --insecure if it's already present, because that gnutls-cli
7796 rejects getting that parameter twice.
7797
7798 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
7799
7800 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
7801 keyword, too.
7802
7803 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
7804
7805 * newcomment.el (comment-use-global-state): Change default value
7806 to t, mark obsolete (Bug#15251).
7807 (comment-beginning): In addition to `comment-to-syntax', check the
7808 value of `comment-use-global-state'.
7809
7810 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7811
7812 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
7813 (ruby-comment-column): Follow the global default, by default.
7814 (ruby-smie-grammar): Add assignment syntax.
7815 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
7816 open-paren, a comma, or a \.
7817 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
7818 and line continuations.
7819 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
7820 followed by implicit semi-colons. Add rule for string concatenation
7821 and for indentation at BOB.
7822 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
7823
7824 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
7825 calling next-sexp, since next-token may have skipped chars which
7826 next-sexp doesn't know should be skipped!
7827
7828 2013-10-05 Leo Liu <sdl.web@gmail.com>
7829
7830 * progmodes/octave.el (octave-send-region):
7831 Call compilation-forget-errors.
7832
7833 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
7834
7835 * vc/vc-svn.el (vc-svn-find-admin-dir):
7836 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
7837 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
7838 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
7839 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
7840
7841 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
7842
7843 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
7844
7845 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
7846
7847 * subr.el (read-passwd): Hide chars even when called within a context
7848 where after-change-functions is disabled (bug#15501).
7849 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
7850 until we removed ourself from overriding-terminal-local-map.
7851
7852 2013-10-04 Leo Liu <sdl.web@gmail.com>
7853
7854 * progmodes/octave.el (inferior-octave-mode):
7855 Call compilation-forget-errors.
7856
7857 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
7858
7859 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
7860
7861 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
7862
7863 * net/secrets.el (secrets-create-collection): Add optional
7864 argument ALIAS. Use proper Label keyword. Append ALIAS as
7865 dbus-call-method argument. (Bug#15516)
7866
7867 2013-10-04 Leo Liu <sdl.web@gmail.com>
7868
7869 * progmodes/octave.el (inferior-octave-error-regexp-alist)
7870 (inferior-octave-compilation-font-lock-keywords): New variables.
7871 (compilation-error-regexp-alist)
7872 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
7873 (inferior-octave-mode): Use compilation-shell-minor-mode.
7874
7875 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
7876
7877 * minibuffer.el (completion--replace): Be careful that `end' might be
7878 a marker.
7879
7880 2013-10-03 Daiki Ueno <ueno@gnu.org>
7881
7882 Add support for package signature checking.
7883 * emacs-lisp/package.el (url-http-file-exists-p)
7884 (epg-make-context, epg-context-set-home-directory)
7885 (epg-verify-string, epg-context-result-for)
7886 (epg-signature-status, epg-signature-to-string)
7887 (epg-check-configuration, epg-configuration)
7888 (epg-import-keys-from-file): Declare.
7889 (package-check-signature): New user option.
7890 (package-unsigned-archives): New user option.
7891 (package-desc): Add `signed' field.
7892 (package-load-descriptor): Set `signed' field if .signed file exists.
7893 (package--archive-file-exists-p): New function.
7894 (package--check-signature): New function.
7895 (package-install-from-archive): Check package signature.
7896 (package--download-one-archive): Check archive signature.
7897 (package-delete): Remove .signed file.
7898 (package-import-keyring): New command.
7899 (package-refresh-contents): Import default keyring.
7900 (package-desc-status): Add "unsigned" status.
7901 (describe-package-1, package-menu--print-info)
7902 (package-menu-mark-delete, package-menu--find-upgrades)
7903 (package-menu--status-predicate): Support "unsigned" status.
7904
7905 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7906
7907 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
7908 the new compilation scheme using the new byte-codes.
7909
7910 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
7911 (byte-pophandler): New byte codes.
7912 (byte-goto-ops): Adjust accordingly.
7913 (byte-compile--use-old-handlers): New var.
7914 (byte-compile-catch): Use new byte codes depending on
7915 byte-compile--use-old-handlers.
7916 (byte-compile-condition-case--old): Rename from
7917 byte-compile-condition-case.
7918 (byte-compile-condition-case--new): New function.
7919 (byte-compile-condition-case): New function that dispatches depending
7920 on byte-compile--use-old-handlers.
7921 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
7922 when we can.
7923
7924 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
7925 Optimize under `condition-case' and `catch' if
7926 byte-compile--use-old-handlers is nil.
7927 (disassemble-offset): Handle new bytecodes.
7928
7929 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7930
7931 * subr.el (error): Use `declare'.
7932 (decode-char, encode-char): Use advertised-calling-convention instead
7933 of the docstring to discourage use of the `restriction' arg.
7934
7935 2013-10-03 Daiki Ueno <ueno@gnu.org>
7936
7937 * epg.el (epg-verify-file): Add a comment saying that it does not
7938 notify verification error as a return value nor a signal.
7939 (epg-verify-string): Ditto.
7940
7941 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
7942
7943 * progmodes/compile.el (compilation-start): Try globbing the arg to
7944 `cd' (bug#15417).
7945
7946 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
7947
7948 Sync with Tramp 2.2.8.
7949
7950 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
7951 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
7952 * net/trampver.el: Update release number.
7953
7954 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
7955
7956 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
7957 and default-process-coding-system for darwin only.
7958
7959 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
7960
7961 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
7962
7963 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
7964
7965 * vc/vc-git.el (vc-git-grep): Disable pager.
7966
7967 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
7968
7969 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
7970 Use :url instead of :homepage, as per
7971 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
7972
7973 * newcomment.el (comment-beginning): When `comment-use-syntax' is
7974 non-nil, use `syntax-ppss' (Bug#15251).
7975
7976 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7977
7978 * progmodes/octave.el (inferior-octave-startup-file):
7979 Prefer ~/.emacs.d/init_octave.m.
7980
7981 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
7982
7983 * emacs-lisp/package.el (package-desc-from-define):
7984 Accept additional arguments as plist, convert them to an alist and store
7985 them in the `extras' slot.
7986 (package-generate-description-file): Convert extras alist back to
7987 plist and append to the `define-package' form arguments.
7988 (package--alist-to-plist): New function.
7989 (package--ac-desc): Add `extras' slot.
7990 (package--add-to-archive-contents): Check if the archive-contents
7991 vector is long enough, and if it is, pass its `extras' slot value
7992 to `package-desc-create'.
7993 (package-buffer-info): Call `lm-homepage', pass the returned value
7994 to `package-desc-from-define'.
7995 (describe-package-1): Render the homepage button (Bug#13291).
7996
7997 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7998 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
7999
8000 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
8001
8002 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8003 and default-process-coding-system to utf-8-unix (Bug#15402).
8004
8005 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
8006
8007 * subr.el (looking-back): Do not recommend using looking-back.
8008
8009 2013-09-28 Alan Mackenzie <acm@muc.de>
8010
8011 Fix indentation/fontification of Java enum with "implements".
8012
8013 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
8014 regexp which matches "implements", etc., in Java.
8015 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
8016 specifier clauses coming after "enum".
8017 * progmodes/cc-fonts.el (c-font-lock-declarations)
8018 (c-font-lock-enum-tail): Check for extra specifier clauses coming
8019 after "enum".
8020
8021 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
8022
8023 * faces.el (region): Change ns_selection_color to
8024 ns_selection_fg_color, add ns_selection_bg_color.
8025
8026 2013-09-28 Leo Liu <sdl.web@gmail.com>
8027
8028 * progmodes/octave.el (inferior-octave-completion-table)
8029 (inferior-octave-completion-at-point): Minor tweaks.
8030
8031 * textmodes/ispell.el (ispell-lookup-words): Rename from
8032 lookup-words. (Bug#15460)
8033 (lookup-words): Obsolete.
8034 (ispell-complete-word, ispell-command-loop): All uses changed.
8035
8036 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8037
8038 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
8039 (octave-mode-menu): Add octave-send-buffer.
8040 (octave-send-buffer): New function.
8041
8042 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8043
8044 * progmodes/octave.el (octave-mode-map): Add key binding for
8045 octave-lookfor.
8046 (octave-mode-menu): Add octave-lookfor.
8047 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
8048 octave-lookfor.
8049 (octave-lookfor): New function.
8050
8051 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8052
8053 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
8054 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
8055 its convention.
8056 (cl--loop-set-iterator-function): New function.
8057 (cl-loop): Adjust accordingly, so as not to use cl-subst.
8058 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
8059 Bind `it' with `let' instead of substituting it with `cl-subst'.
8060 (cl--unused-var-p): New function.
8061 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
8062 Eliminate some unused variable warnings (bug#15326).
8063
8064 2013-09-27 Tassilo Horn <tsdh@gnu.org>
8065
8066 * doc-view.el (doc-view-scale-reset): Rename from
8067 `doc-view-reset-zoom-level'.
8068 (doc-view-scale-adjust): New command.
8069 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
8070 `doc-view-scale-adjust'.
8071
8072 2013-09-26 Tassilo Horn <tsdh@gnu.org>
8073
8074 * doc-view.el (doc-view-reset-zoom-level): New command.
8075 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
8076 zoom commands (bug#15466).
8077
8078 2013-09-26 Kenichi Handa <handa@gnu.org>
8079
8080 * international/quail.el (quail-help): Make it not a command.
8081
8082 2013-09-26 Leo Liu <sdl.web@gmail.com>
8083
8084 * minibuffer.el (completion-all-sorted-completions): Make args
8085 optional as they are.
8086
8087 2013-09-25 Daniel Colascione <dancol@dancol.org>
8088
8089 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
8090 specs are and that they're not evaluated.
8091
8092 2013-09-24 Sam Steingold <sds@gnu.org>
8093
8094 * midnight.el (clean-buffer-list-kill-regexps)
8095 (clean-buffer-list-kill-buffer-names): Update for the new Man
8096 buffer naming which includes the object name.
8097
8098 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8099
8100 * eshell/esh-cmd.el (eshell--sep-terms): New var.
8101 (eshell-parse-command, eshell-parse-pipeline): Use it since
8102 eshell-separate-commands requires a dynamic scoped var.
8103 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
8104
8105 2013-09-23 Leo Liu <sdl.web@gmail.com>
8106
8107 * autoinsert.el (auto-insert-alist): Make the value of
8108 lexical-binding match its file setting.
8109
8110 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
8111
8112 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
8113
8114 * autoarg.el (autoarg-kp-digit-argument):
8115 * electric.el (Electric-command-loop):
8116 * kmacro.el (kmacro-step-edit-insert):
8117 Do not set universal-argument-num-events.
8118
8119 2013-09-22 Leo Liu <sdl.web@gmail.com>
8120
8121 * files.el (interpreter-mode-alist): Add octave.
8122
8123 2013-09-21 Alan Mackenzie <acm@muc.de>
8124
8125 C++: fontify identifier in declaration following "public:" correctly.
8126 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
8127 to match "public", etc.
8128 (c-decl-prefix-re): Add ":" into the C++ value.
8129 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
8130 bit. Add a check for a ":" preceded by "public", etc.
8131
8132 2013-09-21 Eli Zaretskii <eliz@gnu.org>
8133
8134 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
8135 recognized by GDB 7.5 and later.
8136
8137 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
8138
8139 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
8140
8141 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8142
8143 * subr.el (internal--call-interactively): New const.
8144 (called-interactively-p): Use it (bug#3984).
8145
8146 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
8147
8148 * vc/pcvs.el (cvs-mode-ignore):
8149 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
8150 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
8151
8152 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8153
8154 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
8155 (eshell-ls-orig-insert-directory): Remove.
8156 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
8157 (eshell-ls-use-in-dired): Use advice-add/remove.
8158 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
8159 Add `orig-fun' arg for use in :around advice.
8160 Make it check (redundantly) eshell-ls-use-in-dired.
8161
8162 2013-09-19 Glenn Morris <rgm@gnu.org>
8163
8164 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
8165
8166 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
8167
8168 * emacs-lisp/eieio.el (class-parent): Undo previous change.
8169
8170 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
8171
8172 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
8173 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
8174 (tramp-get-remote-python): New defuns.
8175 (tramp-get-remote-uid-with-perl)
8176 (tramp-get-remote-gid-with-perl): New defuns. Perl code
8177 contributed by yary <not.com@gmail.com> (tiny change).
8178 (tramp-get-remote-uid-with-python)
8179 (tramp-get-remote-gid-with-python): New defuns. Python code
8180 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
8181 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
8182
8183 2013-09-19 Glenn Morris <rgm@gnu.org>
8184
8185 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
8186
8187 * eshell/em-unix.el (eshell-remove-entries):
8188 Rename argument to avoid name-clash with global `top-level'.
8189
8190 * eshell/esh-proc.el (eshell-kill-process-function):
8191 Remove eshell-reset-after-proc from eshell-kill-hook if present.
8192 (eshell-reset-after-proc): Remove unused arg `proc'.
8193
8194 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
8195 (directory-files-and-attributes): Mark unused arg.
8196
8197 * eshell/em-unix.el (eshell-remove-entries):
8198 Remove unused arg `path'. Update callers.
8199
8200 * eshell/em-hist.el (eshell-hist-parse-arguments):
8201 Remove unused arg `silent'. Update callers.
8202
8203 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
8204 Fix (f)boundp mix-up.
8205
8206 * eshell/em-smart.el (eshell-smart-scroll-window)
8207 (eshell-disable-after-change):
8208 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
8209
8210 2013-09-18 Alan Mackenzie <acm@muc.de>
8211
8212 Fix fontification of type when followed by "const".
8213 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
8214 "known" types from fontification.
8215
8216 2013-09-18 Glenn Morris <rgm@gnu.org>
8217
8218 * emacs-lisp/chart.el (x-display-color-cells): Declare.
8219 (chart-face-list): Drop Emacsen without display-color-p.
8220
8221 * net/eww.el (libxml-parse-html-region): Declare.
8222 (eww-display-html): Explicit error if no libxml2 support.
8223
8224 * doc-view.el (doc-view-mode): Silence --without-x compilation.
8225
8226 * image.el (image-type-from-buffer, image-multi-frame-p):
8227 Remove --without-x warning/error.
8228
8229 * mouse.el (mouse-yank-primary):
8230 * term.el (term-mouse-paste):
8231 Reorder to silence --without-x compilation.
8232
8233 * mpc.el (doc-view-mode): Silence --without-x compilation.
8234
8235 * mail/rmailmm.el (rmail-mime-set-bulk-data):
8236 Silence --without-x compilation.
8237
8238 * progmodes/gud.el (gud-find-file, gud-mode):
8239 Silence --without-x compilation.
8240 (tooltip-mode): Declare.
8241
8242 * wdired.el (dired-backup-overwrite): Remove declaration.
8243 (wdired-mode-map): Add doc string.
8244
8245 * custom.el (x-get-resource): Declare.
8246
8247 * eshell/em-glob.el (ange-cache):
8248 * eshell/em-unix.el (ange-cache): Declare.
8249
8250 * faces.el (x-display-list, x-open-connection, x-get-resource):
8251 Declare.
8252
8253 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
8254 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
8255 Declare.
8256
8257 * frame.el (x-display-grayscale-p, x-display-name): Declare.
8258
8259 * net/gnutls.el (gnutls-log-level): Declare.
8260
8261 * net/shr.el (image-size, image-animate): Declare.
8262
8263 * simple.el (font-info): Declare.
8264
8265 * subr.el (x-popup-dialog): Declare.
8266
8267 * term/common-win.el (x-select-enable-primary)
8268 (x-last-selected-text-primary, x-last-selected-text-clipboard):
8269 Declare.
8270
8271 * term/ns-win.el (x-handle-args): Declare.
8272
8273 * term/x-win.el (x-select-enable-clipboard): Declare.
8274
8275 * term/w32-win.el (create-default-fontset): Declare.
8276
8277 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
8278 Declare.
8279
8280 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
8281 (fit-frame-to-buffer): Explicit error if --without-x.
8282 (mouse-autoselect-window-select): Silence compiler.
8283
8284 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
8285
8286 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
8287 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
8288 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
8289 * eshell/esh-util.el (eshell-sublist):
8290 Remove unused local variables.
8291
8292 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
8293
8294 * textmodes/two-column.el: Make 2C-split work for --without-x.
8295 (scroll-bar-columns): Autoload.
8296 (top-level): Require fringe when compiling.
8297
8298 2013-09-18 Leo Liu <sdl.web@gmail.com>
8299
8300 * subr.el (add-hook): Robustify to handle closure as well.
8301
8302 2013-09-17 Glenn Morris <rgm@gnu.org>
8303
8304 * simple.el (messages-buffer-mode-map): Unbind "g".
8305
8306 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8307
8308 * help-mode.el (help-mode-finish): Use derived-mode-p.
8309 Remove obsolete highlighting.
8310
8311 * play/life.el (life-mode): Use define-derived-mode. Derive from
8312 special-mode.
8313 (life): Let-bind inhibit-read-only.
8314 (life-setup): Avoid `setq'. Use `life-mode'.
8315
8316 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
8317 which should not be needed any more.
8318 (package-menu-refresh, package-menu-describe-package): Use user-error.
8319
8320 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
8321 (eshell-post-rewrite-command-hook): Make obsolete.
8322 (eshell-parse-command): Simplify.
8323 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
8324 (eshell--cmd): Declare.
8325 (eshell-parse-pipeline): Remove unused var `final-p'.
8326 Pass a dynvar to eshell-post-rewrite-command-hook.
8327 Implement the new eshell-post-rewrite-command-function.
8328 (eshell-invoke-directly): Remove unused arg `input'.
8329 * eshell/esh-io.el (eshell-io-initialize):
8330 Use eshell-post-rewrite-command-function (bug#15399).
8331 (eshell--apply-redirections): Rename from eshell-apply-redirections;
8332 adjust to new calling convention.
8333 (eshell-create-handles): Rename args to avoid clashing with dynvar
8334 `standard-output'.
8335
8336 2013-09-17 Glenn Morris <rgm@gnu.org>
8337
8338 * simple.el (messages-buffer-mode): New major mode.
8339 (messages-buffer): New function.
8340 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
8341 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
8342 (ert-run-test): Use `messages-buffer' function.
8343 (ert--force-message-log-buffer-truncation): Ignore read-only.
8344 * help.el (view-echo-area-messages): Use `messages-buffer' function.
8345 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
8346
8347 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8348
8349 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
8350
8351 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
8352
8353 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
8354
8355 * icomplete.el (icomplete-in-buffer): New var.
8356 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
8357 vars and replace them with functions.
8358 (icomplete-minibuffer-setup): Adjust accordingly.
8359 (icomplete--completion-table, icomplete--completion-predicate)
8360 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
8361 New functions.
8362 (icomplete-forward-completions, icomplete-backward-completions)
8363 (icomplete-simple-completing-p, icomplete-exhibit)
8364 (icomplete-completions): Use them.
8365 (icomplete--in-region-buffer): New var.
8366 (icomplete--in-region-setup): New function.
8367 (icomplete-mode): Use it.
8368
8369 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
8370 (bug#15379).
8371 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
8372 return args and options.
8373 (eshell-eval-using-options): Use the new return value of
8374 eshell--do-opts to set the options's vars in their scope.
8375 (eshell--set-option): Rename from eshell-set-option.
8376 Add arg `opt-vals'.
8377 (eshell--process-option): Rename from eshell-process-option.
8378 Add arg `opt-vals'.
8379 (eshell--process-args): Use an `opt-vals' alist to store the options's
8380 values during their processing and return them additionally to the
8381 remaining args.
8382
8383 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
8384
8385 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
8386 continuation character an operator, as far as indentation is
8387 concerned (Bug#15369).
8388
8389 2013-09-15 Martin Rudalics <rudalics@gmx.at>
8390
8391 * window.el (window--state-put-2): Don't process buffer state
8392 when buffer doesn't exist any more (Bug#15382).
8393
8394 2013-09-15 Glenn Morris <rgm@gnu.org>
8395
8396 * eshell/em-unix.el (eshell/rm):
8397 Make -f ignore missing files. (Bug#15373)
8398
8399 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
8400 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
8401 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
8402
8403 2013-09-14 Glenn Morris <rgm@gnu.org>
8404
8405 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
8406
8407 2013-09-13 Glenn Morris <rgm@gnu.org>
8408
8409 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
8410 (dired-guess-default): Make `file' available in the env. (Bug#15363)
8411
8412 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
8413
8414 * frame.el (x-focus-frame): Mark as declared in frame.c.
8415
8416 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
8417
8418 * ls-lisp.el: Use advice-add.
8419 (original-insert-directory): Remove.
8420 (ls-lisp--insert-directory): Rename from insert-directory; add
8421 `orig-fun' argument.
8422 (insert-directory): Advise.
8423
8424 2013-09-13 Eli Zaretskii <eliz@gnu.org>
8425
8426 * term.el (term-emulate-terminal): Decode the command string
8427 before passing it to term-command-hook. (Bug#15337)
8428
8429 2013-09-13 Glenn Morris <rgm@gnu.org>
8430
8431 * eshell/esh-util.el (ange-cache): Move declaration earlier.
8432
8433 * eshell/esh-ext.el (eshell-search-path): Declare.
8434
8435 * eshell/em-prompt.el (eshell/pwd): Autoload it.
8436 Otherwise an error occurs if eshell-dirs module not loaded.
8437
8438 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
8439
8440 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
8441
8442 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
8443 `tramp-check-proper-host'. Check for a valid method name.
8444
8445 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8446 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8447 * net/tramp-sh.el (tramp-maybe-open-connection):
8448 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
8449
8450 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
8451 also for hash values.
8452
8453 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8454
8455 * term/ns-win.el (parameters): Don't declare as dynamic.
8456 (before-make-frame-hook): Don't add ineffective function.
8457
8458 * eshell/*.el: Use lexical-binding (bug#15231).
8459
8460 2013-09-12 Kenichi Handa <handa@gnu.org>
8461
8462 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
8463
8464 2013-09-12 Glenn Morris <rgm@gnu.org>
8465
8466 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
8467 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
8468
8469 * subr.el (do-after-load-evaluation): Also give compiler warnings
8470 when obsolete files are used (except by obsolete files).
8471
8472 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
8473 in the status output, assume `filename' is the first. (Bug#15322)
8474
8475 * vc/vc.el (vc-deduce-fileset): Doc fix.
8476
8477 * calc/calc-help.el (Info-goto-node):
8478 * progmodes/cperl-mode.el (Info-find-node):
8479 * vc/ediff.el (Info-goto-node): Update declarations.
8480
8481 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
8482
8483 * vc/vc-bzr.el (vc-compilation-mode): Declare.
8484 (vc-bzr-pull): Require vc-dispatcher.
8485 * vc/vc-git.el (vc-compilation-mode): Declare.
8486 (vc-git-pull): Require vc-dispatcher.
8487
8488 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
8489
8490 * progmodes/octave.el (help-button-action): Declare.
8491
8492 * shell.el (shell-directory-tracker): Output error as a message
8493 rather than just returning it as a string.
8494 (shell-process-pushd): Remove useless use of message.
8495
8496 * dframe.el (dframe-timer-fn):
8497 * files.el (dir-locals-read-from-file):
8498 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
8499 (mpc-format):
8500 * reveal.el (reveal-post-command):
8501 * saveplace.el (load-save-place-alist-from-file):
8502 * shell.el (shell-resync-dirs):
8503 * w32-common-fns.el (x-get-selection-value):
8504 * emacs-lisp/copyright.el (copyright-find-copyright):
8505 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
8506 * emulation/tpu-edt.el (tpu-copy-keyfile):
8507 * play/bubbles.el (bubbles--mark-neighbourhood):
8508 * progmodes/executable.el
8509 (executable-make-buffer-file-executable-if-script-p):
8510 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
8511
8512 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8513
8514 Cleanup Eshell to rely less on dynamic scoping.
8515 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
8516 last-value, and ext-command here. Bind `args' closer to `body'.
8517 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
8518 (eshell--args): Declare new dynamic var.
8519 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
8520 last-value, and ext-command. Pass `args' to `body'.
8521 (eshell-process-args): Bind eshell--args.
8522 (eshell-set-option): Use eshell--args.
8523 * eshell/eshell.el (eshell): Use derived-mode-p.
8524 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
8525 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
8526 (eshell-glob-function): Declare.
8527 * eshell/esh-util.el: Require cl-lib.
8528 (eshell-read-hosts-file): Avoid add-to-list.
8529 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
8530 `err'.
8531 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
8532 Declare.
8533 (eshell/diff): Remove unused var `err'.
8534 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
8535 `killflag'.
8536 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
8537 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
8538 first use.
8539 * eshell/em-glob.el (eshell-glob-matches, message-shown):
8540 Move declaration before first use.
8541 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
8542 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
8543 rely on cl-return.
8544
8545 2013-09-12 Glenn Morris <rgm@gnu.org>
8546
8547 * term/ns-win.el (global-map): Remove binding for ispell-next,
8548 deleted 1999-05-29. (Bug#15357)
8549
8550 2013-09-11 Glenn Morris <rgm@gnu.org>
8551
8552 * echistory.el (electric-command-history): Remove call to deleted func.
8553
8554 * play/landmark.el (landmark-mode): Fix typos.
8555
8556 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
8557 Check cvs-sort-ignore-file is bound.
8558
8559 * savehist.el: No need for cl when compiling on Emacs.
8560
8561 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8562
8563 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
8564 (bug#15338).
8565 (eshell-self-insert-command, eshell-send-invisible):
8566 Remove unused argument.
8567 (eshell-handle-control-codes): Remove unused var `orig'.
8568 Avoid delete-backward-char.
8569
8570 * files.el (set-auto-mode): Simplify a bit further.
8571
8572 2013-09-11 Glenn Morris <rgm@gnu.org>
8573
8574 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
8575 (set-auto-mode): Don't regexp-quote elements.
8576 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
8577 * progmodes/cc-mode.el (interpreter-mode-alist):
8578 * progmodes/ruby-mode.el (interpreter-mode-alist):
8579 Revert previous change.
8580
8581 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8582
8583 * play/snake.el (snake-mode):
8584 * play/mpuz.el (mpuz-mode):
8585 * play/landmark.el (lm-mode):
8586 * play/blackbox.el (blackbox-mode):
8587 * play/5x5.el (5x5-mode):
8588 * obsolete/options.el (Edit-options-mode):
8589 * net/quickurl.el (quickurl-list-mode):
8590 * net/newst-treeview.el (newsticker-treeview-mode):
8591 * mail/rmailsum.el (rmail-summary-mode):
8592 * mail/mspools.el (mspools-mode):
8593 * locate.el (locate-mode):
8594 * ibuffer.el (ibuffer-mode):
8595 * emulation/ws-mode.el (wordstar-mode):
8596 * emacs-lisp/debug.el (debugger-mode):
8597 * array.el (array-mode):
8598 * net/eudc.el (eudc-mode): Use define-derived-mode.
8599 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
8600 Move initialization into declaration.
8601 (mairix-searches-mode): Use define-derived-mode.
8602 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
8603 (eudc-edit-hotlist): Use dolist.
8604 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
8605 (Man-mode): Use define-derived-mode.
8606 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
8607 (Info-edit-mode): Use define-derived-mode.
8608 (Info-cease-edit): Use Info-mode.
8609 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
8610 into declaration.
8611 (eshell-mode): Use define-derived-mode.
8612 * chistory.el (command-history-mode-map): Rename from
8613 command-history-map.
8614 (command-history-mode): Use define-derived-mode.
8615 (Command-history-setup): Remove function.
8616 * calc/calc.el (calc-trail-mode-map): New var.
8617 (calc-trail-mode): Use define-derived-mode.
8618 (calc-trail-buffer): Set calc-main-buffer manually.
8619 * bookmark.el (bookmark-insert-annotation): New function.
8620 (bookmark-edit-annotation): Use it.
8621 (bookmark-edit-annotation-mode): Make it a proper major mode.
8622 (bookmark-send-edited-annotation): Use derived-mode-p.
8623 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
8624 closer to its ideal place. Use \' to match EOS.
8625
8626 * profiler.el (profiler-calltree-find): Use function-equal.
8627
8628 2013-09-10 Glenn Morris <rgm@gnu.org>
8629
8630 * files.el (interpreter-mode-alist): Convert to regexps.
8631 (set-auto-mode): Adapt for this. (Bug#15306)
8632 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
8633 Comment out unused variable.
8634 * progmodes/cc-mode.el (interpreter-mode-alist):
8635 * progmodes/python.el (interpreter-mode-alist):
8636 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
8637 * progmodes/sh-script.el (sh-set-shell):
8638 No longer use interpreter-mode-alist to get list of shells.
8639
8640 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
8641
8642 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
8643
8644 * simple.el: Use set-temporary-overlay-map for universal-argument.
8645 (universal-argument-map): Don't use default-bindings (bug#15317).
8646 Bind switch-frame explicitly. Replace universal-argument-minus with
8647 a conditional binding.
8648 (universal-argument-num-events, saved-overriding-map): Remove.
8649 (restore-overriding-map): Remove.
8650 (universal-argument--mode): Rename from save&set-overriding-map,
8651 and rewrite.
8652 (universal-argument, universal-argument-more, negative-argument)
8653 (digit-argument): Adjust accordingly.
8654 (universal-argument-minus): Remove.
8655 (universal-argument-other-key): Remove.
8656
8657 * subr.el (with-demoted-errors): Add `format' argument.
8658
8659 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
8660
8661 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
8662 `tramp-cleanup-connection'.
8663
8664 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
8665 parameters KEEP-DEBUG and KEEP-PASSWORD.
8666
8667 * net/tramp.el (tramp-file-name-handler):
8668 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8669 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
8670 (tramp-maybe-open-connection):
8671 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
8672 Use `tramp-cleanup-connection'.
8673
8674 * net/tramp-sh.el (tramp-maybe-open-connection):
8675 Catch 'uname-changed inside the progress reporter.
8676
8677 2013-09-10 Glenn Morris <rgm@gnu.org>
8678
8679 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
8680
8681 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
8682 returns "alternate access method" in mode (eg "-rw-r--r--.").
8683
8684 2013-09-08 Glenn Morris <rgm@gnu.org>
8685
8686 * saveplace.el (load-save-place-alist-from-file):
8687 Demote errors. (Bug#15305)
8688
8689 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
8690
8691 Improve compatibility with older Emacsen, and XEmacs.
8692
8693 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
8694 only if it is bound. It isn't for XEmacs.
8695 (with-tramp-progress-reporter): Do not let-bind `result'.
8696 This yields to scoping errors in XEmacs.
8697 (tramp-handle-make-auto-save-file-name): New function, moved from
8698 tramp-sh.el.
8699
8700 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
8701 for `make-auto-save-file-name'.
8702 (tramp-adb--gnu-switches-to-ash):
8703 Use `tramp-compat-replace-regexp-in-string'.
8704
8705 * net/tramp-cache.el (tramp-cache-print): Call
8706 `substring-no-properties' only if it is bound. It isn't for XEmacs.
8707
8708 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
8709 bound. It isn't for XEmacs.
8710
8711 * net/tramp-compat.el (tramp-compat-copy-file):
8712 Catch `wrong-number-of-arguments' error.
8713 (tramp-compat-replace-regexp-in-string): New defun.
8714
8715 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
8716 for `make-auto-save-file-name'.
8717 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
8718 `copy-file'.
8719 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
8720 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
8721 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
8722
8723 * net/tramp-gw.el (tramp-gw-open-network-stream):
8724 Use `tramp-compat-replace-regexp-in-string'.
8725
8726 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8727 Call `tramp-handle-make-auto-save-file-name'.
8728 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
8729 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8730 (tramp-sh-file-inotifywait-process-filter):
8731 Use `tramp-compat-replace-regexp-in-string'.
8732 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
8733
8734 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
8735 for `make-auto-save-file-name'.
8736 (tramp-smb-handle-copy-directory):
8737 Call `tramp-compat-replace-regexp-in-string'.
8738 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
8739 (tramp-smb-handle-copy-file): Improve error message.
8740 (tramp-smb-handle-rename-file): Rename directly only in case
8741 `newname' does not exist yet. This is a restriction of smbclient.
8742 (tramp-smb-maybe-open-connection): Rerun the function only when
8743 `auth-sources' is non-nil.
8744
8745 2013-09-08 Kenichi Handa <handa@gnu.org>
8746
8747 * international/characters.el: Set category "^" (Combining) for
8748 more characters.
8749
8750 2013-09-07 Alan Mackenzie <acm@muc.de>
8751
8752 Correctly fontify Java class constructors.
8753 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
8754 in Java Mode.
8755 (c-recognize-typeless-decls): Set the Java value to t.
8756 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
8757 While handling a "(", add a check for, effectively, Java, and handle a
8758 "typeless" declaration there.
8759
8760 2013-09-07 Roland Winkler <winkler@gnu.org>
8761
8762 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
8763 field subtitle for entry type book.
8764
8765 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8766
8767 * minibuffer.el: Make minibuffer-complete call completion-in-region
8768 rather than other way around.
8769 (completion--some, completion-pcm--find-all-completions):
8770 Don't delay signals when debugging.
8771 (minibuffer-completion-contents): Beware fields within the
8772 minibuffer contents.
8773 (completion-all-sorted-completions): Use defvar-local.
8774 (completion--do-completion, completion--cache-all-sorted-completions)
8775 (completion-all-sorted-completions, minibuffer-force-complete):
8776 Add args `beg' and `end'.
8777 (completion--in-region-1): New fun, extracted from minibuffer-complete.
8778 (minibuffer-complete): Use completion-in-region.
8779 (completion-complete-and-exit): New fun, extracted from
8780 minibuffer-complete-and-exit.
8781 (minibuffer-complete-and-exit): Use it.
8782 (completion--complete-and-exit): Rename from
8783 minibuffer--complete-and-exit.
8784 (completion-in-region--single-word): New function, extracted from
8785 minibuffer-complete-word.
8786 (minibuffer-complete-word): Use it.
8787 (display-completion-list): Make `common-substring' argument obsolete.
8788 (completion--in-region): Call completion--in-region-1 instead of
8789 minibuffer-complete.
8790 (completion-help-at-point): Pass boundaries to
8791 minibuffer-completion-help as args rather than via an overlay.
8792 (completion-pcm--string->pattern): Use `any-delim'.
8793 (completion-pcm--optimize-pattern): New function.
8794 (completion-pcm--pattern->regex): Handle `any-delim'.
8795 * icomplete.el (icomplete-forward-completions)
8796 (icomplete-backward-completions, icomplete-completions):
8797 Adjust calls to completion-all-sorted-completions and
8798 completion--cache-all-sorted-completions.
8799 (icomplete-with-completion-tables): Default to t.
8800 * emacs-lisp/crm.el (crm--current-element): Rename from
8801 crm--select-current-element. Don't put an overlay but return the
8802 boundaries instead.
8803 (crm--completion-command): Take two new args to bind to the boundaries.
8804 (crm-completion-help): Adjust accordingly.
8805 (crm-complete): Use completion-in-region.
8806 (crm-complete-word): Use completion-in-region--single-word.
8807 (crm-complete-and-exit): Use completion-complete-and-exit.
8808
8809 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8810
8811 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
8812 than dynamically.
8813
8814 2013-09-06 Juri Linkov <juri@jurta.org>
8815
8816 * info.el (Info-display-images-node): When image file doesn't exist
8817 display text version of the image if it's provided in the Info file.
8818 Otherwise, display the location of missing image from SRC attribute.
8819 Add help-echo text property from ALT attribute. (Bug#15279)
8820
8821 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8822
8823 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
8824 (edit-abbrevs-mode): Use define-derived-mode.
8825
8826 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
8827 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
8828 that it's defined.
8829 (epa-key-list-mode, epa-key-mode, epa-info-mode):
8830 Use define-derived-mode.
8831
8832 * epg.el (epg-start-encrypt): Minor CSE simplification.
8833
8834 2013-09-06 William Xu <william.xwl@gmail.com>
8835
8836 * arc-mode.el: Add support for 7za (bug#15264).
8837 (archive-7z-program): New var.
8838 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
8839 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
8840 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
8841
8842 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
8843
8844 Remove URL syntax.
8845
8846 * net/tramp.el (tramp-syntax, tramp-prefix-format)
8847 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
8848 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
8849 (tramp-postfix-host-format, tramp-file-name-regexp)
8850 (tramp-completion-file-name-regexp)
8851 (tramp-completion-dissect-file-name)
8852 (tramp-handle-substitute-in-file-name): Remove 'url case.
8853 (tramp-file-name-regexp-url)
8854 (tramp-completion-file-name-regexp-url): Remove constants.
8855
8856 2013-09-06 Glenn Morris <rgm@gnu.org>
8857
8858 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
8859
8860 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
8861
8862 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
8863 keywords" below "here-doc beginnings" (Bug#15270).
8864
8865 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
8866
8867 * subr.el (pop): Use `car-safe'.
8868 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
8869 to detect unused `pop' return value.
8870
8871 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
8872 var `block-regexp'.
8873 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
8874 (python-fill-string): Remove unused var `marker'.
8875 (python-skeleton-add-menu-items): Remove unused var `items'.
8876
8877 * international/mule-cmds.el: Require CL.
8878 (find-coding-systems-for-charsets): Avoid add-to-list.
8879 (sanitize-coding-system-list): New function, extracted from
8880 select-safe-coding-system-interactively.
8881 (select-safe-coding-system-interactively): Use it.
8882 (read-input-method-name): Accept symbols for `default'.
8883
8884 * emacs-lisp/advice.el (defadvice): Add indent rule.
8885
8886 2013-09-05 Daniel Hackney <dan@haxney.org>
8887
8888 * dired-x.el:
8889 * net/ange-ftp.el:
8890 * net/browse-url.el:
8891 * net/dbus.el:
8892 * net/eudc.el:
8893 * net/eudcb-ldap.el:
8894 * net/eww.el:
8895 * net/imap.el:
8896 * printing.el:
8897 * vc/ediff-diff.el:
8898 * vc/ediff-init.el:
8899 * vc/ediff-merg.el:
8900 * vc/ediff-mult.el:
8901 * vc/ediff-util.el:
8902 * vc/ediff-wind.el:
8903 * vc/ediff.el:
8904 * vc/emerge.el:
8905 * vc/pcvs.el:
8906 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
8907 byte compiler. Remove some unused let-bound variables.
8908
8909 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
8910
8911 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
8912 a "ref-cell", since it gets better optimized (bug#14883).
8913
8914 2013-09-05 Glenn Morris <rgm@gnu.org>
8915
8916 * progmodes/cc-awk.el (c-forward-sws): Declare.
8917
8918 2013-09-04 Glenn Morris <rgm@gnu.org>
8919
8920 * generic-x.el [rul-generic-mode]: Require cc-mode.
8921 (c++-mode-syntax-table): Declare.
8922 (rul-generic-mode-syntax-table): Init in the defvar.
8923
8924 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
8925
8926 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
8927 (vc-do-command, vc-set-async-update):
8928 * vc/vc-mtn.el (vc-mtn-dir-status):
8929 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
8930 (vc-hg-pull, vc-hg-merge-branch):
8931 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
8932 (vc-git-merge-branch):
8933 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
8934 (vc-cvs-dir-status-files):
8935 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
8936 (vc-bzr-dir-status-files):
8937 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
8938 * vc/vc-annotate.el: Use lexical-binding.
8939 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
8940 (vc-sentinel-movepoint): Declare.
8941 (vc-annotate): Don't use `goto-line'.
8942 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
8943 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
8944 (vc-sentinel-movepoint): Declare.
8945 * vc/vc-svn.el: Use lexical-binding.
8946 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
8947 * vc/vc-sccs.el:
8948 * vc/vc-rcs.el: Use lexical-binding.
8949
8950 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
8951 `deleted'. Don't drop errors silently.
8952
8953 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
8954
8955 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
8956
8957 * vc/vc.el (vc-ignore): Rewrite.
8958 (vc-default-ignore): New function.
8959 (vc-default-ignore-completion-table): Use find-ignore-file.
8960
8961 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
8962 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
8963 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
8964 Remove. Most code moved to vc.el.
8965
8966 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
8967
8968 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
8969 * net/tramp-smb.el (tramp-smb-get-file-entries):
8970 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
8971 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
8972
8973 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
8974 Update call to it.
8975 (eww-change-select): Remove unused var `properties'.
8976 (eww-make-unique-file-name): Remove unused var `base'.
8977
8978 * finder.el (finder-compile-keywords): Don't mess with windows.
8979
8980 * calculator.el (calculator-funcall): Fix typo in last change.
8981
8982 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
8983
8984 * emacs-lisp/package.el (package-activate-1): Don't let a missing
8985 <pkg>-autoloads.el file stop us.
8986
8987 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
8988 warnings, and factor out common code.
8989
8990 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
8991
8992 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
8993 two-character operators and whether the character preceding them
8994 changes their meaning (Bug#15208).
8995
8996 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
8997
8998 Format code sent to Python shell for robustness.
8999 * progmodes/python.el (python-shell-buffer-substring):
9000 New function.
9001 (python-shell-send-region, python-shell-send-buffer): Use it.
9002
9003 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
9004
9005 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
9006 * net/tramp.el (tramp-user-error): ... here.
9007 (tramp-find-method, tramp-check-proper-host)
9008 (tramp-dissect-file-name, tramp-debug-message)
9009 (tramp-handle-shell-command):
9010 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9011 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
9012
9013 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
9014
9015 2013-09-02 Martin Rudalics <rudalics@gmx.at>
9016
9017 * avoid.el (mouse-avoidance-point-position)
9018 (mouse-avoidance-too-close-p): Handle case where posn-at-point
9019 returns nil.
9020
9021 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9022
9023 * progmodes/python.el (python-shell-completion-get-completions):
9024 Drop use of deleted `comint-last-prompt-overlay'.
9025 (python-nav-if-name-main): New command.
9026
9027 2013-09-01 Glenn Morris <rgm@gnu.org>
9028
9029 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9030 Avoid leading space in $wins. Otherwise the sed command used by
9031 eg compile-main ends up containing "/*.el". (Bug#15170)
9032
9033 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
9034
9035 2013-08-30 Glenn Morris <rgm@gnu.org>
9036
9037 * emacs-lisp/bytecomp.el (byte-recompile-directory):
9038 Fix is-this-a-directory logic. (Bug#15220)
9039
9040 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9041
9042 * textmodes/css-mode.el: Use SMIE.
9043 (css-smie-grammar): New var.
9044 (css-smie--forward-token, css-smie--backward-token)
9045 (css-smie-rules): New functions.
9046 (css-mode): Use them.
9047 (css-navigation-syntax-table): Remove var.
9048 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
9049 (css-indent-calculate, css-indent-line): Remove functions.
9050
9051 Misc changes to reduce use of `(lambda...); and other cleanups.
9052 * cus-edit.el: Use lexical-binding.
9053 (customize-push-and-save, customize-apropos)
9054 (custom-buffer-create-internal): Use closures.
9055 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
9056 * progmodes/ada-xref.el: Use setq.
9057 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
9058 * dframe.el: Use lexical-binding.
9059 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
9060 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
9061 * descr-text.el: Use lexical-binding.
9062 (describe-text-widget, describe-text-sexp, describe-property-list):
9063 Use closures.
9064 * comint.el (comint-history-isearch-push-state): Use a closure.
9065 * calculator.el: Use lexical-binding.
9066 (calculator-number-to-string): Make it work with lexical-binding.
9067 (calculator-funcall): Same and use cl-letf.
9068
9069 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
9070 (lisp--company-doc-string, lisp--company-location): New functions.
9071 (lisp-completion-at-point): Use them to improve Company support.
9072
9073 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
9074 params of lambda expressions.
9075 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
9076 (ruby-smie--opening-pipe-p): New function.
9077 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
9078 symbols and matched |...| for formal params.
9079 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
9080 from being treated as hanging. Handle "rescue".
9081
9082 2013-08-29 Glenn Morris <rgm@gnu.org>
9083
9084 * progmodes/cc-engine.el (c-pull-open-brace):
9085 Move definition before use.
9086
9087 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9088
9089 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
9090 are immutable. Don't use `unsafe' any more.
9091 (cl--defsubst-expand): Don't substitute at the same time as keeping
9092 a residual unused let-binding. Don't use `unsafe' any more.
9093
9094 2013-08-29 Glenn Morris <rgm@gnu.org>
9095
9096 * calendar/cal-china.el (calendar-chinese-year-cache):
9097 Recenter on 2015.
9098
9099 * nxml/nxml-util.el (nxml-debug-clear-inside):
9100 Use cl-loop rather than loop.
9101
9102 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
9103
9104 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
9105
9106 2013-08-28 Glenn Morris <rgm@gnu.org>
9107
9108 * progmodes/antlr-mode.el: No need to require cc-mode twice.
9109
9110 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
9111
9112 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
9113
9114 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9115
9116 * simple.el (repeat-complex-command--called-interactively-skip):
9117 New function.
9118 (repeat-complex-command): Use it (bug#14136).
9119
9120 * progmodes/cc-mode.el: Minor cleanup of var declarations.
9121 (c-define-abbrev-table): Add `doc' argument.
9122 (c-mode-abbrev-table, c++-mode-abbrev-table)
9123 (objc-mode-abbrev-table, java-mode-abbrev-table)
9124 (idl-mode-abbrev-table, pike-mode-abbrev-table)
9125 (awk-mode-abbrev-table): Use it.
9126 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
9127 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
9128 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
9129 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
9130 Move initialization into the declaration; and remove any
9131 autoload cookie.
9132
9133 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
9134 and dynamic let binding.
9135
9136 * vc/smerge-mode.el: Remove redundant :group args.
9137
9138 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
9139 to load-path.
9140
9141 2013-08-28 Juri Linkov <juri@jurta.org>
9142
9143 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
9144 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
9145 (isearch-other-meta-char): Handle an undefined shifted printing
9146 character by downshifting it. (Bug#15200)
9147
9148 2013-08-28 Juri Linkov <juri@jurta.org>
9149
9150 * isearch.el (isearch-search): Change regexp error message for
9151 non-regexp searches. (Bug#15166)
9152
9153 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
9154
9155 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
9156 for portability to hosts where /bin/sh has problems.
9157
9158 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9159
9160 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
9161
9162 2013-08-27 Juri Linkov <juri@jurta.org>
9163
9164 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
9165 in the keyboard macro. (Bug#15126)
9166
9167 2013-08-27 Juri Linkov <juri@jurta.org>
9168
9169 * isearch.el (isearch-quote-char): Comment out converting unibyte
9170 to multibyte, thus syncing with its `quoted-insert' counterpart.
9171 (Bug#15166)
9172
9173 2013-08-27 Martin Rudalics <rudalics@gmx.at>
9174
9175 * window.el (display-buffer-use-some-window): Add missing
9176 argument in call of get-largest-window (Bug#15185).
9177 Reported by Stephen Leake.
9178
9179 2013-08-27 Glenn Morris <rgm@gnu.org>
9180
9181 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
9182
9183 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
9184
9185 * progmodes/python.el (python-font-lock-keywords): Don't return nil
9186 from a matcher-function unless there's no more matches (bug#15161).
9187
9188 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
9189
9190 * minibuffer.el: Revert change from 2013-08-20.
9191
9192 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
9193 with text property `tramp-default', if appropriate.
9194 (tramp-check-proper-host): New defun.
9195 (tramp-dissect-file-name): Do not check hostname. Revert change
9196 of 2013-03-18.
9197 (tramp-backtrace): Make VEC-OR-PROC optional.
9198
9199 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9200 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9201 * net/tramp-sh.el (tramp-maybe-open-connection):
9202 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9203 Apply `tramp-check-proper-host'.
9204
9205 2013-08-26 Tassilo Horn <tsdh@gnu.org>
9206
9207 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
9208 lambda expression in order to have `describe-variable' display it.
9209
9210 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
9211
9212 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
9213 BUF can be optional. (Bug#15186)
9214
9215 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
9216
9217 * progmodes/flymake.el (flymake-get-real-file-name-function):
9218 Fix broken customization. (Bug#15184)
9219
9220 2013-08-25 Alan Mackenzie <acm@muc.de>
9221
9222 Improve indentation of bracelists defined by macros (without "=").
9223
9224 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
9225 expansion begins with "{", regard it as bracelist when it doesn't
9226 contain a ";".
9227
9228 Parse C++ inher-intro when there's a template split over 2 lines.
9229
9230 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
9231 rigorously the search for "class" etc. followed by ":".
9232
9233 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
9234 random languages a regexp which never matches rather than nil.
9235
9236 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
9237
9238 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
9239 (c-awk-regexp-one-line-possibly-open-char-list-re)
9240 (c-awk-one-line-possibly-open-regexp-re)
9241 (c-awk-one-line-non-syn-ws*-re): Remove.
9242 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
9243 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
9244 (c-awk-space*-unclosed-regexp-/-re): New constants.
9245 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
9246 aren't regexp delimiters.
9247
9248 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
9249 handling for a rare situation in AWK Mode involving unterminated
9250 strings/regexps.
9251
9252 2013-08-23 Glenn Morris <rgm@gnu.org>
9253
9254 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
9255
9256 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
9257
9258 * files.el (create-file-buffer): If the result would begin with
9259 spaces, prepend a "|" instead of removing them. (Bug#15162)
9260
9261 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9262
9263 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
9264 text-properties (bug#15155).
9265
9266 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
9267 exist any more.
9268 (calc-keypad-redraw): Remove unused var `pad'.
9269 (calc-keypad-press): Remove unused var `menu'.
9270
9271 2013-08-23 Martin Rudalics <rudalics@gmx.at>
9272
9273 * window.el (display-buffer-pop-up-frame):
9274 Call pop-up-frame-function with BUFFER current so `make-frame' will
9275 use it as the new frame's buffer (Bug#15133).
9276
9277 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
9278
9279 * calendar/timeclock.el: Minor cleanups.
9280 (timeclock-ask-before-exiting, timeclock-use-display-time):
9281 Use `symbol'.
9282 (timeclock-modeline-display): Define as alias before the
9283 actual definition.
9284 (timeclock-mode-line-display): Use define-minor-mode.
9285 (timeclock-day-list-template): Make it a function, add an argument.
9286 (timeclock-day-list-required, timeclock-day-list-length)
9287 (timeclock-day-list-debt, timeclock-day-list-span)
9288 (timeclock-day-list-break): Adjust calls accordingly.
9289
9290 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
9291
9292 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
9293 Use read--expression so that completion works again.
9294
9295 2013-08-21 Sam Steingold <sds@gnu.org>
9296
9297 Add rudimentary inferior shell interaction
9298 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
9299 (sh-set-shell): Reset it.
9300 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
9301 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
9302
9303 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
9304
9305 * align.el: Use lexical-binding.
9306 (align-region): Simplify accordingly.
9307
9308 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
9309
9310 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
9311
9312 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
9313 `non-essential' up.
9314
9315 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
9316
9317 * net/tramp.el:
9318 * net/tramp-adb.el:
9319 * net/tramp-cmds.el:
9320 * net/tramp-ftp.el:
9321 * net/tramp-gvfs.el:
9322 * net/tramp-gw.el:
9323 * net/tramp-sh.el: Don't wrap external variable declarations by
9324 `eval-when-compile'.
9325
9326 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
9327
9328 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
9329 now that Emacs supports ImageMagick animations.
9330
9331 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
9332
9333 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
9334 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
9335
9336 2013-08-16 Martin Rudalics <rudalics@gmx.at>
9337
9338 * window.el (mouse-autoselect-window-select): Do autoselect when
9339 mouse pointer is on margin.
9340
9341 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
9342
9343 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
9344
9345 2013-08-16 Glenn Morris <rgm@gnu.org>
9346
9347 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
9348 Handle "Remote Directory" response of some clients. (Bug#15058)
9349
9350 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
9351 Tweak warning. (Bug#14926)
9352
9353 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
9354 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
9355
9356 * image-mode.el (image-mode-map): Add menu items to reverse,
9357 increase, decrease, reset animation speed.
9358 (image--set-speed, image-increase-speed, image-decrease-speed)
9359 (image-reverse-speed, image-reset-speed): New functions.
9360 (image-mode-map): Add bindings for speed commands.
9361
9362 * image.el (image-animate-get-speed, image-animate-set-speed):
9363 New functions.
9364 (image-animate-timeout): Respect image :speed property.
9365
9366 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9367
9368 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
9369 previous line (bug#15101).
9370 (debugger-eval-expression, debugger-record-expression):
9371 Use read--expression (bug#15102).
9372
9373 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
9374
9375 Remove byte compiler warnings, visible when compiling with
9376 `byte-compile-force-lexical-warnings' set to t.
9377
9378 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
9379 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
9380 (tramp-handle-unhandled-file-name-directory)
9381 (tramp-handle-file-notify-add-watch, tramp-action-login)
9382 (tramp-action-succeed, tramp-action-permission-denied)
9383 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
9384 arguments with "_".
9385
9386 * net/tramp-adb.el (tramp-adb-parse-device-names)
9387 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
9388 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
9389 (tramp-adb-handle-file-truename): Remove unused arguments.
9390
9391 * net/tramp-cache.el (tramp-flush-directory-property)
9392 (tramp-flush-connection-property, tramp-list-connections)
9393 (tramp-parse-connection-properties): Prefix unused arguments with "_".
9394
9395 * net/tramp-compat.el (tramp-compat-make-temp-file):
9396 Rename FILENAME to F.
9397
9398 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
9399 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
9400 (tramp-zeroconf-parse-workstation-device-names)
9401 (tramp-zeroconf-parse-webdav-device-names)
9402 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
9403
9404 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
9405 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
9406
9407 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
9408 arguments.
9409 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
9410 (tramp-sh-handle-insert-file-contents-literally)
9411 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
9412 with "_".
9413 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
9414 Remove unused variables.
9415
9416 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
9417 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
9418 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
9419
9420 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
9421 Make them a defconst.
9422 (tramp-uuencode-region): Remove unused variable.
9423
9424 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
9425
9426 * frameset.el (frameset--prop-setter): New function.
9427 (frameset-prop): Add gv-setter declaration.
9428 (frameset-filter-minibuffer): Deal with the case that the minibuffer
9429 parameter was already set in FILTERED. Doc fix.
9430 (frameset--record-minibuffer-relationships): Allow saving a
9431 minibufferless frame without its corresponding minibuffer frame.
9432 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
9433 frame, if the frame id matches.
9434 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
9435 frames before orphaned ones.
9436 (frameset-restore): Warn about orphaned windows, instead of error out.
9437
9438 2013-08-14 Martin Rudalics <rudalics@gmx.at>
9439
9440 * window.el (window-make-atom): Don't overwrite parameter
9441 already present.
9442 (display-buffer-in-atom-window): Handle special case where we
9443 split an already atomic window.
9444 (window--major-non-side-window, display-buffer-in-side-window)
9445 (window--side-check): Ignore minibuffer window when walking
9446 window tree.
9447 (window-deletable-p): Return 'frame only if no other frame uses
9448 our minibuffer window.
9449 (record-window-buffer): Run buffer-list-update-hook.
9450 (split-window): Make sure window--check-frame won't destroy an
9451 existing atomic window in case the new window gets nested
9452 inside.
9453 (display-buffer-at-bottom): Ignore minibuffer window when
9454 walking window tree. Don't split a side window.
9455 (pop-to-buffer): Don't set-buffer here, the select-window call
9456 should do that.
9457 (mouse-autoselect-window-select): Autoselect only if we are in the
9458 text portion of the window.
9459
9460 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9461
9462 * net/shr.el (shr-parse-image-data): New function to grab both the
9463 data itself and the Content-Type.
9464 (shr-put-image): Use it.
9465
9466 * net/eww.el (eww-display-image): Ditto.
9467
9468 * image.el (image-content-type-suffixes): New variable.
9469
9470 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
9471
9472 * progmodes/python.el (python-imenu--build-tree)
9473 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
9474
9475 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
9476
9477 * simple.el (backward-word): Mention the optional argument.
9478
9479 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9480
9481 * frameset.el (frameset--make): Rename constructor from make-frameset.
9482 (frameset-p, frameset-valid-p): Don't autoload.
9483 (frameset-valid-p): Use normal accessors.
9484
9485 2013-08-13 Glenn Morris <rgm@gnu.org>
9486
9487 * progmodes/compile.el (compile-command): Tweak example in doc.
9488 * obsolete/scribe.el (scribe-mode):
9489 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
9490
9491 * mail/feedmail.el (feedmail-confirm-outgoing)
9492 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
9493
9494 * cus-start.el (truncate-partial-width-windows): Fix type.
9495
9496 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
9497
9498 * net/shr.el (shr-table-horizontal-line): Fix custom type.
9499
9500 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9501
9502 * emacs-lisp/timer.el (timer--time-setter): New function.
9503 (timer--time): Use it as gv-setter.
9504
9505 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
9506 setter is not a symbol.
9507
9508 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
9509
9510 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
9511 if sending fails. This makes debugging easier.
9512
9513 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
9514
9515 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
9516 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
9517 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
9518
9519 2013-08-12 Eli Zaretskii <eliz@gnu.org>
9520
9521 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
9522
9523 2013-08-12 Glenn Morris <rgm@gnu.org>
9524
9525 * format.el (format-annotate-function):
9526 Handle read-only text properties in the source. (Bug#14887)
9527
9528 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9529
9530 * net/eww.el (eww-display-html): Ignore coding system errors.
9531 One web site uses "utf-8lias" as the coding system.
9532
9533 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
9534
9535 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
9536
9537 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
9538
9539 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
9540 (tutorial--detailed-help): Remove unused local variables.
9541 (tutorial--save-tutorial-to): Use ignore-errors.
9542 (help-with-tutorial): Use looking-at-p.
9543
9544 * view.el (view-buffer-other-window, view-buffer-other-frame):
9545 Mark unused arguments.
9546
9547 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
9548 (woman-select-symbol-fonts, woman, woman-find-file)
9549 (woman-insert-file-contents, woman-non-underline-faces):
9550 Use string-match-p.
9551 (woman1-unquote): Move declaration.
9552
9553 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
9554 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
9555 argument. Remove unused local variable.
9556 (xml-parse-elem-type): Use string-match-p.
9557 (xml-substitute-numeric-entities): Use ignore-errors.
9558
9559 * calculator.el (calculator): Mark unused argument.
9560 (calculator-paste, calculator-quit, calculator-integer-p):
9561 Use ignore-errors.
9562 (calculator-string-to-number, calculator-decimal, calculator-exp)
9563 (calculator-op-or-exp): Use string-match-p.
9564
9565 * dired.el (dired-buffer-more-recently-used-p): Declare.
9566 (dired-insert-set-properties, dired-insert-old-subdirs):
9567 Use ignore-errors.
9568
9569 * dired-aux.el (dired-compress): Use ignore-errors.
9570 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
9571 (dired-do-async-shell-command, dired-do-shell-command)
9572 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
9573 (dired-insert-subdir-validate): Use string-match-p.
9574 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
9575 (dired-add-entry): Use string-match-p, looking-at-p.
9576 (dired-insert-subdir-newpos): Remove unused local variable.
9577
9578 * filenotify.el (file-notify-callback): Remove unused local variable.
9579
9580 * filesets.el (filesets-error): Mark unused argument.
9581 (filesets-which-command-p, filesets-filter-dir-names)
9582 (filesets-directory-files, filesets-get-external-viewer)
9583 (filesets-ingroup-get-data): Use string-match-p.
9584
9585 * find-file.el (ff-other-file-name, ff-other-file-name)
9586 (ff-find-the-other-file, ff-cc-hh-converter):
9587 Remove unused local variables.
9588 (ff-get-file-name): Use string-match-p.
9589 (ff-all-dirs-under): Use ignore-errors.
9590
9591 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
9592 (follow-select-if-visible): Remove unused local variable.
9593
9594 * forms.el (read-file-filter): Move declaration.
9595 (forms--make-format, forms--make-parser, forms-insert-record):
9596 Quote function with #'.
9597 (forms--update): Use string-match-p. Quote function with #'.
9598
9599 * help-mode.el (help-dir-local-var-def): Mark unused argument.
9600 (help-make-xrefs): Use looking-at-p.
9601 (help-xref-on-pp): Use looking-at-p, ignore-errors.
9602
9603 * ibuffer.el (ibuffer-ext-visible-p): Declare.
9604 (ibuffer-confirm-operation-on): Use string-match-p.
9605
9606 * msb.el (msb-item-handler, msb-dired-item-handler):
9607 Mark unused arguments.
9608
9609 * ses.el (ses-decode-cell-symbol)
9610 (ses-kill-override): Remove unused local variable.
9611 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
9612 (ses-load): Use ignore-errors, looking-at-p.
9613 (ses-jump-safe): Use ignore-errors.
9614 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
9615
9616 * tabify.el (untabify, tabify): Mark unused arguments.
9617
9618 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
9619 Mark unused argument.
9620 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
9621 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
9622
9623 * emacs-lisp/timer.el (timer--time): Define setter with
9624 gv-define-setter to avoid deprecation warning.
9625
9626 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
9627 (*record-cmpl-statistics-p*): Remove (was commented out).
9628 (cmpl-statistics-block): Remove (body was commented out).
9629 All callers changed.
9630 (add-completions-from-buffer, load-completions-from-file):
9631 Remove unused variables.
9632
9633 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
9634
9635 * filecache.el (file-cache-delete-file-list):
9636 Print message only when told so.
9637 (file-cache-files-matching): Use #' in mapconcat argument.
9638
9639 * ffap.el (ffap-url-at-point): Fix reference to variable
9640 thing-at-point-default-mail-uri-scheme.
9641
9642 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
9643
9644 * subr.el (define-error): New function.
9645 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
9646 error-file-not-found and define with define-error.
9647 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
9648 and define with define-error.
9649 * userlock.el (file-locked, file-supersession):
9650 * simple.el (mark-inactive):
9651 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
9652 * progmodes/ada-mode.el (ada-mode-errors):
9653 * play/life.el (life-extinct):
9654 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
9655 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
9656 * nxml/rng-util.el (rng-error):
9657 * nxml/rng-uri.el (rng-uri-error):
9658 * nxml/rng-match.el (rng-compile-error):
9659 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
9660 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
9661 * nxml/nxml-rap.el (nxml-scan-error):
9662 * nxml/nxml-outln.el (nxml-outline-error):
9663 * net/soap-client.el (soap-error):
9664 * net/gnutls.el (gnutls-error):
9665 * net/ange-ftp.el (ftp-error):
9666 * mpc.el (mpc-proc-error):
9667 * json.el (json-error, json-readtable-error, json-unknown-keyword)
9668 (json-number-format, json-string-escape, json-string-format)
9669 (json-key-format, json-object-format):
9670 * jka-compr.el (compression-error):
9671 * international/quail.el (quail-error):
9672 * international/kkc.el (kkc-error):
9673 * emacs-lisp/ert.el (ert-test-failed):
9674 * calc/calc.el (calc-error, inexact-result, math-overflow)
9675 (math-underflow):
9676 * bookmark.el (bookmark-error-no-filename):
9677 * epg.el (epg-error): Define with define-error.
9678
9679 * time.el (display-time-event-handler)
9680 (display-time-next-load-average): Don't call sit-for since it seems
9681 unnecessary (bug#15045).
9682
9683 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
9684 Use #' instead of ' to quote functions.
9685 (checkdoc-output-mode): Use setq-local.
9686 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
9687 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
9688 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
9689 (checkdoc-ispell, checkdoc-ispell-current-buffer)
9690 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
9691 (checkdoc-ispell-message-text, checkdoc-ispell-start)
9692 (checkdoc-ispell-continue, checkdoc-ispell-comments)
9693 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
9694
9695 * ido.el (ido-completion-help): Fix up compiler warning.
9696
9697 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
9698
9699 * frameset.el (frameset-p): Add autoload cookie.
9700 (frameset--jump-to-register): New function, based on code moved from
9701 register.el.
9702 (frameset-to-register): Move from register.el. Adapt to `registerv'.
9703
9704 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
9705 (frameset-restore, frameset-save, frameset-session-filter-alist):
9706 Remove declarations.
9707 (register-alist): Doc fix.
9708 (frameset-to-register): Move to frameset.el.
9709 (jump-to-register, describe-register-1): Remove frameset-specific code.
9710
9711 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9712
9713 * allout-widgets.el (allout-widgets-pre-command-business)
9714 (allout-widgets-post-command-business)
9715 (allout-widgets-after-change-handler)
9716 (allout-decorate-item-and-context, allout-set-boundary-marker)
9717 (allout-body-modification-handler)
9718 (allout-graphics-modification-handler): Mark ignored arguments.
9719 (allout-widgets-post-command-business)
9720 (allout-widgets-exposure-change-processor)
9721 (allout-widgets-exposure-undo-processor)
9722 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
9723 (allout-parse-item-at-point, allout-decorate-item-guides)
9724 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
9725 * allout.el (epa-passphrase-callback-function): Declare.
9726 (allout-overlay-insert-in-front-handler)
9727 (allout-overlay-interior-modification-handler)
9728 (allout-isearch-end-handler, allout-chart-siblings)
9729 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
9730 (allout-yank-processing, allout-process-exposed)
9731 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
9732 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9733 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
9734 (lisp-indent-defform): Mark ignored arguments.
9735 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
9736 (calculate-lisp-indent): Remove unused variables.
9737 * international/characters.el (indian-2-column, arabic-2-column)
9738 (tibetan): Mark ignored arguments.
9739 (use-cjk-char-width-table): Mark ignored arguments.
9740 Remove unused variables.
9741 * international/fontset.el (build-default-fontset-data)
9742 (x-compose-font-name, create-fontset-from-fontset-spec):
9743 Mark ignored arguments.
9744 (fontset-plain-name): Remove unused variables.
9745 * international/mule.el (charset-id, charset-bytes, generic-char-p)
9746 (keyboard-coding-system): Mark ignored arguments.
9747 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
9748 * help.el (resize-temp-buffer-window):
9749 * window.el (display-buffer-in-major-side-window)
9750 (display-buffer-in-side-window, display-buffer-in-previous-window):
9751 Remove unused variables.
9752 * isearch.el (isearch-forward-symbol):
9753 * version.el (emacs-bzr-version-bzr):
9754 * international/mule-cmds.el (current-language-environment):
9755 * term/common-win.el (x-handle-iconic, x-handle-geometry)
9756 (x-handle-display):
9757 * term/pc-win.el (x-list-fonts, x-display-planes)
9758 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
9759 (x-server-version, x-display-screens, x-display-mm-height)
9760 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
9761 (x-selection-owner-p, x-own-selection-internal)
9762 (x-disown-selection-internal, x-get-selection-internal)
9763 (msdos-initialize-window-system):
9764 * term/tty-colors.el (tty-color-alist, tty-color-clear):
9765 * term/x-win.el (x-handle-no-bitmap-icon):
9766 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
9767 (vc-default-find-file-hook, vc-default-extra-menu):
9768 Mark ignored arguments.
9769
9770 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9771
9772 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
9773 break-condition in the context of the debugged code (bug#12685).
9774
9775 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
9776
9777 * comint.el:
9778 Do not use an overlay to highlight the last prompt. (Bug#14744)
9779 (comint-mode): Make comint-last-prompt buffer local.
9780 (comint-last-prompt): New variable.
9781 (comint-last-prompt-overlay): Remove. Superseded by
9782 comint-last-prompt.
9783 (comint-snapshot-last-prompt, comint-output-filter):
9784 Use comint-last-prompt.
9785
9786 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9787
9788 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
9789 (frameset-save): Check validity of the resulting frameset.
9790
9791 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
9792
9793 * ido.el (ido-record-command): Add doc string.
9794
9795 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9796
9797 * frameset.el (frameset): Do not disable creation of the default
9798 frameset-p predicate. Doc fix.
9799 (frameset-valid-p): New function, copied from the old predicate-p.
9800 Add additional checks.
9801 (frameset-restore): Check with frameset-valid-p.
9802 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
9803 (frameset-name, frameset-description, frameset-properties)
9804 (frameset-states): Add docstring.
9805 (frameset-session-filter-alist, frameset-persistent-filter-alist)
9806 (frameset-filter-alist): Doc fixes.
9807
9808 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9809
9810 * frameset.el (frameset-p, frameset-prop): Doc fixes.
9811
9812 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9813
9814 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
9815 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
9816 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
9817 (byte-compile-normal-call): Remove obsolescence check.
9818
9819 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9820
9821 * frameset.el (frameset-restore): Doc fix.
9822
9823 * register.el (frameset-frame-id, frameset-frame-with-id)
9824 (frameset-p, frameset-restore, frameset-save): Declare.
9825 (register-alist): Document framesets.
9826 (frameset-session-filter-alist): Declare.
9827 (frameset-to-register): New function.
9828 (jump-to-register): Implement jumping to framesets. Doc fix.
9829 (describe-register-1): Describe framesets.
9830
9831 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
9832
9833 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
9834
9835 * desktop.el (desktop-save-frameset): Use new frameset-save args.
9836 Use lexical-binding.
9837
9838 * frameset.el (frameset): Use type vector, not list (incompatible
9839 change). Do not declare a new constructor, use the default one.
9840 Upgrade suggested properties `app', `name' and `desc' to slots `app',
9841 `name' and `description', respectively, and add read-only slot
9842 `timestamp'. Doc fixes.
9843 (frameset-copy, frameset-persistent-filter-alist)
9844 (frameset-filter-alist, frameset-switch-to-gui-p)
9845 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
9846 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
9847 (frameset-filter-iconified, frameset-keep-original-display-p):
9848 Doc fixes.
9849 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
9850 Rename from frameset-filter-(save|restore)-param. All callers changed.
9851 Doc fix.
9852 (frameset-p): Adapt to change to vector and be more thorough.
9853 Change arg name to OBJECT. Doc fix.
9854 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
9855 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
9856 All callers changed.
9857 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
9858 All callers changed.
9859 (frameset--record-minibuffer-relationships): Rename from
9860 frameset--process-minibuffer-frames. All callers changed.
9861 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
9862 Use new default constructor (again). Doc fix.
9863 (frameset--find-frame-if): Rename from `frameset--find-frame'.
9864 All callers changed.
9865 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
9866 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
9867 Doc fix.
9868 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
9869 PARAMETERS and WINDOW-STATE, respectively.
9870 (frameset-restore): Add new keyword argument PREDICATE.
9871 Reset frameset--target-display to nil. Doc fix.
9872
9873 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
9874
9875 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
9876 (bat-mode): Use it.
9877 (bat-mode-syntax-table): Mark \n as end-of-comment.
9878 (bat-font-lock-keywords): Remove comment rule.
9879
9880 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
9881 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
9882
9883 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
9884 (byte-compile-callargs-warn): Use `push'.
9885 (byte-compile-arglist-warn): Ignore higher-order "calls".
9886 (byte-compile-file-form-autoload): Use `pcase'.
9887 (byte-compile-function-form): If quoting a symbol, check that it exists.
9888
9889 2013-08-07 Eli Zaretskii <eliz@gnu.org>
9890
9891 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
9892 and add a few popular commands found in batch files.
9893 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
9894 (dos-mode): Doc fixes.
9895
9896 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
9897
9898 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
9899 (dos-mode): Use setq-local. Add space after "rem".
9900 (dos-mode-syntax-table): Don't use "w" for symbol chars.
9901 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
9902
9903 2013-08-07 Arni Magnusson <arnima@hafro.is>
9904
9905 * progmodes/dos.el: New file.
9906 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
9907 dos-mode.
9908
9909 2013-08-06 Glenn Morris <rgm@gnu.org>
9910
9911 * calendar/calendar.el: Add new faces, and day-header-array.
9912 (calendar-weekday-header, calendar-weekend-header)
9913 (calendar-month-header): New faces.
9914 (calendar-day-header-construct): New function.
9915 (calendar-day-header-width): Also :set calendar-day-header-array.
9916 (calendar-american-month-header, calendar-european-month-header)
9917 (calendar-iso-month-header): Use calendar- faces.
9918 (calendar-generate-month):
9919 Use calendar-day-header-array for day headers; apply faces to them.
9920 (calendar-mode): Check calendar-font-lock-keywords non-nil.
9921 (calendar-abbrev-construct): Add optional maxlen argument.
9922 (calendar-day-name-array): Doc fix.
9923 (calendar-day-name-array, calendar-abbrev-length)
9924 (calendar-day-abbrev-array):
9925 Also :set calendar-day-header-array, and maybe redraw.
9926 (calendar-day-header-array): New option. (Bug#15007)
9927 (calendar-font-lock-keywords): Set to nil and make obsolete.
9928 (calendar-day-name): Add option to use header array.
9929
9930 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9931
9932 * net/shr.el (shr-render-td): Remove debugging.
9933 (shr-render-td): Make width computation consistent by defaulting
9934 all zero-width columns to 10 characters. This may not be optimal,
9935 but it's at least consistent.
9936 (shr-make-table-1): Redo last change to fix the real problem in
9937 colspan handling.
9938
9939 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
9940
9941 * files.el (cache-long-line-scans):
9942 Make obsolete alias to `cache-long-scans'.
9943
9944 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
9945
9946 * frameset.el (frameset, frameset-filter-alist)
9947 (frameset-filter-params, frameset-save, frameset--reuse-frame)
9948 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
9949 (frameset-compute-pos): Rename from frameset--compute-pos,
9950 and add docstring.
9951 (frameset-move-onscreen): Use frameset-compute-pos.
9952 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
9953
9954 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
9955 Fix typos in docstrings.
9956
9957 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
9958
9959 * frame.el (get-other-frame): Tiny cleanup.
9960
9961 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
9962
9963 * vc/vc.el (vc-default-ignore-completion-table):
9964 Silence byte-compiler warning.
9965
9966 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
9967 slot, which can indeed be nil.
9968 (frameset-live-filter-alist, frameset-persistent-filter-alist):
9969 Move entry for `left' from persistent to live filter alist.
9970 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
9971 Doc fixes.
9972 (frameset-filter-params): When restoring a frame, copy items added to
9973 `filtered', to avoid unwittingly modifying the original parameters.
9974 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
9975 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
9976
9977 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
9978 to use looking-at-p instead of looking-at. (Bug#15028)
9979
9980 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
9981
9982 Revert introduction of isearch-filter-predicates (bug#14714).
9983 Rely on add-function instead.
9984 * isearch.el (isearch-filter-predicates): Rename it back to
9985 isearch-filter-predicate.
9986 (isearch-message-prefix): Use advice-function-mapc and advice
9987 properties to get the isearch-message-prefix.
9988 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
9989 instead of run-hook-with-args-until-failure.
9990 (isearch-filter-visible): Not obsolete any more.
9991 * loadup.el: Preload nadvice.
9992 * replace.el (perform-replace): Revert to funcall
9993 instead of run-hook-with-args-until-failure.
9994 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
9995 * dired-aux.el (dired-isearch-filenames-mode): Rename from
9996 dired-isearch-filenames-toggle; make it into a proper minor mode.
9997 Use add/remove-function.
9998 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
9999 Call the minor-mode rather than add/remove-hook.
10000 (dired-isearch-filter-filenames):
10001 Remove isearch-message-prefix property.
10002 * info.el (Info--search-loop): New function, extracted from Info-search.
10003 Funcall isearch-filter-predicate instead of
10004 run-hook-with-args-until-failure isearch-filter-predicates.
10005 (Info-search): Use it.
10006 (Info-mode): Use isearch-filter-predicate instead of
10007 isearch-filter-predicates.
10008
10009 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10010
10011 Do not call to `selected-window' where it is assumed by default.
10012 Affected functions are `window-minibuffer-p', `window-dedicated-p',
10013 `window-hscroll', `window-width', `window-height', `window-buffer',
10014 `window-frame', `window-start', `window-point', `next-window'
10015 and `window-display-table'.
10016 * abbrev.el (abbrev--default-expand):
10017 * bs.el (bs--show-with-configuration):
10018 * buff-menu.el (Buffer-menu-mouse-select):
10019 * calc/calc.el (calc):
10020 * calendar/calendar.el (calendar-generate-window):
10021 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
10022 (diary-make-entry):
10023 * comint.el (send-invisible, comint-dynamic-complete-filename)
10024 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
10025 * completion.el (complete):
10026 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
10027 * disp-table.el (describe-current-display-table):
10028 * doc-view.el (doc-view-insert-image):
10029 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
10030 * ehelp.el (with-electric-help):
10031 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
10032 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
10033 * emacs-lisp/helper.el (Helper-help-scroller):
10034 * emulation/cua-base.el (cua--post-command-handler-1):
10035 * eshell/esh-mode.el (eshell-output-filter):
10036 * ffap.el (ffap-gnus-wrapper):
10037 * help-macro.el (make-help-screen):
10038 * hilit-chg.el (highlight-compare-buffers):
10039 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
10040 * hl-line.el (global-hl-line-highlight):
10041 * icomplete.el (icomplete-simple-completing-p):
10042 * isearch.el (isearch-done):
10043 * jit-lock.el (jit-lock-stealth-fontify):
10044 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
10045 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
10046 * mpc.el (mpc-tagbrowser, mpc):
10047 * net/rcirc.el (rcirc-any-buffer):
10048 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
10049 * play/landmark.el (landmark-max-width, landmark-max-height):
10050 * play/zone.el (zone):
10051 * progmodes/compile.el (compilation-goto-locus):
10052 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
10053 * progmodes/etags.el (find-tag-other-window):
10054 * progmodes/fortran.el (fortran-column-ruler):
10055 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
10056 * progmodes/verilog-mode.el (verilog-point-text):
10057 * reposition.el (reposition-window):
10058 * rot13.el (toggle-rot13-mode):
10059 * server.el (server-switch-buffer):
10060 * shell.el (shell-dynamic-complete-command)
10061 (shell-dynamic-complete-environment-variable):
10062 * simple.el (insert-buffer, set-selective-display)
10063 (delete-completion-window):
10064 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
10065 (speedbar-recenter):
10066 * startup.el (fancy-splash-head):
10067 * textmodes/ispell.el (ispell-command-loop):
10068 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
10069 * tutorial.el (help-with-tutorial):
10070 * vc/add-log.el (add-change-log-entry):
10071 * vc/compare-w.el (compare-windows):
10072 * vc/ediff-help.el (ediff-indent-help-message):
10073 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
10074 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
10075 (ediff-setup-control-frame):
10076 * vc/emerge.el (emerge-position-region):
10077 * vc/pcvs-util.el (cvs-bury-buffer):
10078 * window.el (walk-windows, mouse-autoselect-window-select):
10079 * winner.el (winner-set-conf, winner-undo): Related users changed.
10080
10081 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
10082
10083 * frameset.el (frameset--set-id): Doc fix.
10084 (frameset-frame-id, frameset-frame-id-equal-p)
10085 (frameset-locate-frame-id): New functions.
10086 (frameset--process-minibuffer-frames, frameset--reuse-frame)
10087 (frameset-restore): Use them.
10088
10089 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10090
10091 Do not call to `selected-frame' where it is assumed by default.
10092 Affected functions are `raise-frame', `redraw-frame',
10093 `frame-first-window', `frame-terminal' and `delete-frame'.
10094 * calendar/appt.el (appt-disp-window):
10095 * epg.el (epg-wait-for-completion):
10096 * follow.el (follow-delete-other-windows-and-split)
10097 (follow-avoid-tail-recenter):
10098 * international/mule.el (set-terminal-coding-system):
10099 * mail/rmail.el (rmail-mail-return):
10100 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
10101 * progmodes/f90.el (f90-add-imenu-menu):
10102 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
10103 * server.el (server-switch-buffer):
10104 * simple.el (delete-completion-window):
10105 * talk.el (talk):
10106 * term/xterm.el (terminal-init-xterm-modify-other-keys)
10107 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
10108 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
10109 * vc/ediff.el (ediff-documentation): Related users changed.
10110 * frame.el (selected-terminal): Remove the leftover.
10111
10112 2013-08-05 Glenn Morris <rgm@gnu.org>
10113
10114 * calendar/calendar.el (calendar-generate-month):
10115 Fix for calendar-column-width != 1 + calendar-day-digit-width.
10116 (calendar-generate-month, calendar-font-lock-keywords):
10117 Fix for calendar-day-header-width > length of any day name.
10118
10119 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
10120
10121 * desktop.el (desktop-clear): Use new name of sort predicate.
10122
10123 * frameset.el (frameset): Add docstring. Move :version property to its
10124 own `version' slot.
10125 (frameset-copy): Rename from copy-frameset.
10126 (frameset-p): Check more thoroughly.
10127 (frameset-prop): Do not check for :version, which is no longer a prop.
10128 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10129 Use new :never value instead of t.
10130 (frameset-filter-alist): Expand and clarify docstring.
10131 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
10132 (frameset-filter-minibuffer, frameset-filter-save-param)
10133 (frameset-filter-restore-param, frameset-filter-iconified):
10134 Add pointer to docstring of frameset-filter-alist.
10135 (frameset-filter-params): Rename filter values to be more meaningful:
10136 :never instead of t, and reverse the meanings of :save and :restore.
10137 (frameset--process-minibuffer-frames): Clarify error message.
10138 (frameset-save): Avoid unnecessary and confusing call to framep.
10139 Use new BOA constructor for framesets.
10140 (frameset--reuse-list): Doc fix.
10141 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
10142 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
10143 (frameset-minibufferless-first-p): Doc fix.
10144 Rename from frameset-sort-frames-for-deletion.
10145 (frameset-restore): Doc fixes. Use new function names.
10146 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10147
10148 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
10149
10150 * desktop.el (desktop-restore-forces-onscreen)
10151 (desktop-restore-reuses-frames): Document :keyword constant values.
10152 (desktop-filter-parameters-alist): Remove, now identical to
10153 frameset-filter-alist.
10154 (desktop--filter-tty*): Remove, moved to frameset.el.
10155 (desktop-save-frameset, desktop-restore-frameset):
10156 Do not pass :filters argument.
10157
10158 * frameset.el (frameset-live-filter-alist)
10159 (frameset-persistent-filter-alist): New variables.
10160 (frameset-filter-alist): Use them. Add autoload cookie.
10161 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
10162 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
10163 `frameset--id' (it's supposed to be internal to frameset.el).
10164 (frameset--process-minibuffer-frames): Ditto. Doc fix.
10165 (frameset--initial-params): New function.
10166 (frameset--get-frame): Use it. Doc fix.
10167 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
10168 Accept :all, not 'all.
10169 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
10170 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
10171 with fbound symbols. Fix frame id matching, and remove matching ids if
10172 the frame being restored is deleted. Obey :delete.
10173
10174 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10175
10176 * subr.el (macrop): New function.
10177 (text-clone--maintaining): New var.
10178 (text-clone--maintain): Rename from text-clone-maintain. Use it
10179 instead of inhibit-modification-hooks.
10180
10181 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
10182 a proxy, so as handle autoloads and redefinitions of the target.
10183 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
10184
10185 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
10186 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
10187 (pcase--mutually-exclusive-p): New function.
10188 (pcase--split-consp): Use it.
10189 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
10190 mutually exclusive with the current predicate.
10191
10192 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
10193 (edebug-macrop): Remove. Use `macrop' instead.
10194 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
10195 (ad-macro-p):
10196 * eshell/esh-cmd.el (eshell-macrop):
10197 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
10198
10199 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10200
10201 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
10202 (advice-mapc): New function, using it.
10203 (advice-function-member-p): New function.
10204 (advice--normalize): Store the cdr in advice--saved-rewrite since
10205 that's the part that will be changed.
10206 (advice--symbol-function): New function.
10207 (advice-remove): Handle removal before the function is defined.
10208 Adjust to new advice--saved-rewrite.
10209 (advice-member-p): Use advice-function-member-p and
10210 advice--symbol-function.
10211
10212 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
10213
10214 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
10215 (frameset-filter-minibuffer): Doc fix.
10216 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
10217 (frameset--set-id, frameset--process-minibuffer-frames)
10218 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
10219 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
10220
10221 * desktop.el (desktop-clear): Only delete frames when called
10222 interactively and desktop-restore-frames is non-nil. Doc fix.
10223 (desktop-read): Set desktop-saved-frameset to nil.
10224
10225 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
10226
10227 * vc/vc.el (vc-ignore): Rewrite.
10228 (vc-default-ignore-completion-table, vc--read-lines)
10229 (vc--add-line, vc--remove-regexp): New functions.
10230
10231 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
10232 (vc-svn-ignore-completion-table): New function.
10233
10234 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
10235 (vc-hg-ignore-completion-table)
10236 (vc-hg-find-ignore-file): New functions.
10237
10238 * vc/vc-git.el (vc-git-ignore): Rewrite.
10239 (vc-git-ignore-completion-table)
10240 (vc-git-find-ignore-file): New functions.
10241
10242 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
10243
10244 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
10245 (vc-bzr-ignore-completion-table)
10246 (vc-bzr-find-ignore-file): New functions.
10247
10248 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
10249
10250 * frameset.el (frameset-prop): New function and setter.
10251 (frameset-save): Do not modify frame list passed by the caller.
10252
10253 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10254
10255 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
10256
10257 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
10258
10259 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
10260 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
10261
10262 * custom.el (custom-initialize-default, custom-initialize-set)
10263 (custom-initialize-reset, custom-initialize-changed): Affect the
10264 toplevel-default-value (bug#6275, bug#14586).
10265 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
10266 for bug#6275.
10267
10268 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
10269
10270 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
10271 Add cl-def* expressions.
10272
10273 * frameset.el (frameset-filter-params): Fix order of arguments.
10274
10275 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
10276
10277 Move code related to saving frames to frameset.el.
10278 * desktop.el: Require frameset.
10279 (desktop-restore-frames): Doc fix.
10280 (desktop-restore-reuses-frames): Rename from
10281 desktop-restoring-reuses-frames.
10282 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
10283 (desktop-clear): Clear frames too.
10284 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
10285 (desktop--filter-tty*, desktop-save, desktop-read):
10286 Use frameset functions.
10287 (desktop-before-saving-frames-functions, desktop--filter-*-color)
10288 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
10289 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
10290 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
10291 (desktop--process-minibuffer-frames, desktop-save-frames)
10292 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
10293 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
10294 (desktop--sort-states, desktop-restoring-frames-p)
10295 (desktop-restore-frames): Remove. Most code moved to frameset.el.
10296 (desktop-restoring-frameset-p, desktop-restore-frameset)
10297 (desktop--check-dont-save, desktop-save-frameset): New functions.
10298 (desktop--app-id): New constant.
10299 (desktop-first-buffer, desktop-buffer-ok-count)
10300 (desktop-buffer-fail-count): Move before first use.
10301 * frameset.el: New file.
10302
10303 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
10304
10305 * files.el: Use lexical-binding.
10306 (dir-locals-read-from-file): Remove unused `err' variable.
10307 (hack-dir-local-variables--warned-coding): New var.
10308 (hack-dir-local-variables): Use it to avoid repeated warnings.
10309 (make-backup-file-name--default-function): New function.
10310 (make-backup-file-name-function): Use it as default.
10311 (buffer-stale--default-function): New function.
10312 (buffer-stale-function): Use it as default.
10313 (revert-buffer-insert-file-contents--default-function): New function.
10314 (revert-buffer-insert-file-contents-function): Use it as default.
10315 (insert-directory): Avoid add-to-list.
10316
10317 * autorevert.el (auto-revert-handler): Simplify.
10318 Use buffer-stale--default-function.
10319
10320 2013-08-01 Tassilo Horn <tsdh@gnu.org>
10321
10322 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
10323
10324 * whitespace.el (whitespace-ensure-local-variables): New function.
10325 (whitespace-cleanup-region): Call it.
10326 (whitespace-turn-on): Call it.
10327
10328 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
10329
10330 Complete file name handlers.
10331
10332 * net/tramp.el (tramp-handle-set-visited-file-modtime)
10333 (tramp-handle-verify-visited-file-modtime)
10334 (tramp-handle-file-notify-rm-watch): New functions.
10335 (tramp-call-process): Do not bind `default-directory'.
10336
10337 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10338 Order alphabetically.
10339 <access-file, add-name-to-file, dired-call-process>:
10340 <dired-compress-file, file-acl, file-notify-rm-watch>:
10341 <file-ownership-preserved-p, file-selinux-context>:
10342 <make-directory-internal, make-symbolic-link, set-file-acl>:
10343 <set-file-selinux-context, set-visited-file-modtime>:
10344 <verify-visited-file-modtime>: Add handler.
10345 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
10346
10347 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
10348 <file-notify-add-watch, file-notify-rm-watch>:
10349 <set-file-times, set-visited-file-modtime>:
10350 <verify-visited-file-modtime>: Add handler.
10351 (with-tramp-gvfs-error-message)
10352 (tramp-gvfs-handle-set-visited-file-modtime)
10353 (tramp-gvfs-fuse-file-name): Remove.
10354 (tramp-gvfs-handle-file-notify-add-watch)
10355 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
10356 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
10357
10358 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10359 Order alphabetically.
10360 <file-notify-rm-watch>: Use default Tramp handler.
10361 <executable-find>: Remove private handler.
10362 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
10363 `default-directory'.
10364 (tramp-sh-handle-executable-find)
10365 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
10366 (tramp-sh-file-gvfs-monitor-dir-process-filter)
10367 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
10368 Do not use `format' in `tramp-message'.
10369
10370 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
10371 <file-notify-rm-watch, set-visited-file-modtime>:
10372 <verify-visited-file-modtime>: Add handler.
10373 (tramp-smb-call-winexe): Do not bind `default-directory'.
10374
10375 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
10376
10377 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
10378
10379 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
10380
10381 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
10382 use it.
10383 (log-view-diff-changeset): Same.
10384 (log-view-diff-common): Call backend command `previous-revision'
10385 to find out the previous revision, in both cases. Swap the
10386 variables `to' and `fr', so that `fr' usually refers to the
10387 earlier revision (Bug#14989).
10388
10389 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
10390
10391 * ibuf-ext.el (ibuffer-filter-by-filename):
10392 Make it work with dired buffers too.
10393
10394 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
10395
10396 * emacs-lisp/re-builder.el (reb-color-display-p):
10397 * files.el (save-buffers-kill-terminal):
10398 * net/browse-url.el (browse-url):
10399 * server.el (server-save-buffers-kill-terminal):
10400 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
10401 Prefer nil to selected-frame for the first arg of frame-parameter.
10402
10403 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
10404
10405 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
10406
10407 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
10408
10409 * minibuffer.el (completion--twq-all): Try and preserve each
10410 completion's case choice (bug#14907).
10411
10412 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10413
10414 * net/network-stream.el (open-network-stream): Mention the new
10415 :nogreeting parameter.
10416 (network-stream-open-starttls): Use the :nogreeting parameter
10417 (bug#14938).
10418
10419 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
10420
10421 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
10422 more natural than popping.
10423
10424 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
10425 (shr-urlify): Highlight under mouse.
10426
10427 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10428
10429 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
10430
10431 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
10432
10433 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
10434 buffer for output.
10435
10436 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
10437 point-min==1. Fix search string. Fix parentheses missing.
10438
10439 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
10440 assume point-min==1. Fix search string. Fix parentheses missing.
10441
10442 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
10443
10444 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
10445 buffer for output.
10446
10447 2013-07-29 Eli Zaretskii <eliz@gnu.org>
10448
10449 * frame.el (frame-notice-user-settings): Avoid inflooping when the
10450 initial frame is minibuffer-less. (Bug#14841)
10451
10452 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
10453
10454 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
10455 option.
10456
10457 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10458 (tramp-maybe-open-connection): Use it.
10459
10460 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
10461
10462 * desktop.el (desktop--make-frame): Include `minibuffer' in the
10463 minimal set of parameters passed when creating a frame, because
10464 the minibuffer status of a frame cannot be changed later.
10465
10466 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
10467
10468 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
10469 replace-regexp-in-string and inadvertent omissions in previous change.
10470 (todo-filter-items): Ensure only file names are comma-separated in
10471 name of filtered items buffer.
10472
10473 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
10474
10475 * desktop.el: Optionally force offscreen frames back onscreen.
10476 (desktop-restoring-reuses-frames): New option.
10477 (desktop--compute-pos, desktop--move-onscreen): New functions.
10478 (desktop--make-frame): Use desktop--move-onscreen.
10479
10480 2013-07-27 Alan Mackenzie <acm@muc.de>
10481
10482 Fontify a Java generic method as a function.
10483 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
10484 value to t.
10485
10486 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
10487
10488 * calendar/todo-mode.el: Add command to rename todo files.
10489 (todo-rename-file): New command.
10490 (todo-key-bindings-t): Add key binding for it. Change the
10491 bindings of todo-filter-regexp-items(-multifile) to use `x'
10492 instead of `r', since the latter is better suited to the new
10493 renaming command.
10494
10495 2013-07-27 Alan Mackenzie <acm@muc.de>
10496
10497 Make Java try-with-resources statement parse properly.
10498 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
10499 (c-block-stmt-1-2-key): New language constants/variables.
10500 * progmodes/cc-engine.el (c-beginning-of-statement-1)
10501 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
10502 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
10503 with c-block-stmt-1-2-key.
10504
10505 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
10506
10507 * desktop.el (desktop--make-frame): Apply most frame parameters after
10508 creating the frame to force (partially or totally) offscreen frames to
10509 be restored as such.
10510
10511 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
10512
10513 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
10514 (Bug#14948)
10515
10516 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10517
10518 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
10519 `base' arg of backtrace-frame.
10520
10521 2013-07-26 Eli Zaretskii <eliz@gnu.org>
10522
10523 * simple.el (list-processes): Doc fix.
10524
10525 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
10526
10527 * desktop.el (desktop--select-frame):
10528 Try harder to reuse existing frames.
10529
10530 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10531
10532 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
10533 (edebug-eval): Use backtrace-eval.
10534 (edebug--display, edebug--recursive-edit): Don't let-bind the
10535 edebug-outer-* vars that keep track of variables we locally let-bind.
10536 (edebug-outside-excursion): Don't restore outside values of locally
10537 let-bound vars.
10538 (edebug--display): Use user-error.
10539 (cl-lexical-debug, cl-debug-env): Remove.
10540
10541 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
10542
10543 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
10544 are restored to be sure that they are visible before deleting any
10545 remaining ones.
10546
10547 2013-07-26 Matthias Meulien <orontee@gmail.com>
10548
10549 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
10550 vc-print-root-log. (Bug#14948)
10551
10552 2013-07-26 Richard Stallman <rms@gnu.org>
10553
10554 Add aliases for encrypting mail.
10555 * epa.el (epa-mail-aliases): New option.
10556 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
10557 Bind inhibit-read-only so read-only text doesn't ruin everything.
10558 (epa-mail-default-recipients): New subroutine broken out.
10559 Handle epa-mail-aliases.
10560
10561 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10562
10563 Add support for lexical variables to the debugger's `e' command.
10564 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
10565 vars, except for debugger-outer-match-data.
10566 (debugger-frame-number): Move check for "on a function call" from
10567 callers into it. Add `skip-base' argument.
10568 (debugger-frame, debugger-frame-clear): Simplify accordingly.
10569 (debugger-env-macro): Only reset the state stored in non-variables,
10570 i.e. current-buffer and match-data.
10571 (debugger-eval-expression): Rewrite using backtrace-eval.
10572 * subr.el (internal--called-interactively-p--get-frame): Remove.
10573 (called-interactively-p):
10574 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
10575 `base' arg of backtrace-frame instead.
10576
10577 2013-07-26 Glenn Morris <rgm@gnu.org>
10578
10579 * align.el (align-regexp): Doc fix. (Bug#14857)
10580 (align-region): Explicit error if subexpression missing/does not match.
10581
10582 * simple.el (global-visual-line-mode):
10583 Do not duplicate the mode lighter. (Bug#14858)
10584
10585 2013-07-25 Martin Rudalics <rudalics@gmx.at>
10586
10587 * window.el (display-buffer): In display-buffer bind
10588 split-window-keep-point to t, bug#14829.
10589
10590 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
10591
10592 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
10593 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
10594 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
10595 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10596 Change accordingly.
10597 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10598 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
10599
10600 2013-07-25 Glenn Morris <rgm@gnu.org>
10601
10602 * dired-x.el (dired-mark-extension): Convert comment to doc string.
10603
10604 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
10605
10606 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
10607 parameter to modify-frame-parameters if the value has not changed;
10608 this is a workaround for bug#14949.
10609 (desktop--make-frame): On cl-delete-if call, check parameter name,
10610 not full parameter.
10611
10612 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10613
10614 * vc/vc.el (vc-ignore): New function.
10615
10616 * vc/vc-svn.el (vc-svn-ignore): New function.
10617
10618 * vc/vc-hg.el (vc-hg-ignore): New function.
10619
10620 * vc/vc-git.el (vc-git-ignore): New function.
10621
10622 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
10623 (vc-dir-ignore): New function.
10624
10625 * vc/vc-cvs.el (vc-cvs-ignore): New function.
10626 (cvs-append-to-ignore): Move here from pcvs.el.
10627
10628 * vc/vc-bzr.el (vc-bzr-ignore): New function.
10629
10630 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
10631
10632 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
10633
10634 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
10635 (desktop-restore-frames): Warn when deleting an existing frame failed.
10636
10637 2013-07-24 Glenn Morris <rgm@gnu.org>
10638
10639 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
10640
10641 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
10642
10643 * filenotify.el (file-notify-supported-p):
10644 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
10645 Remove functions.
10646
10647 * autorevert.el (auto-revert-use-notify)
10648 (auto-revert-notify-add-watch):
10649 * net/tramp.el (tramp-file-name-for-operation):
10650 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10651 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10652 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10653 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
10654 Remove `file-notify-supported-p' entry.
10655
10656 2013-07-24 Glenn Morris <rgm@gnu.org>
10657
10658 * printing.el: Replace all uses of deleted ps-windows-system,
10659 ps-lp-system, ps-flatten-list with lpr- versions.
10660
10661 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
10662
10663 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
10664 checked with memq (bug#14935).
10665
10666 * files.el (revert-buffer-function): Use a non-nil default.
10667 (revert-buffer-preserve-modes): Declare var to
10668 provide access to the `preserve-modes' argument.
10669 (revert-buffer): Let-bind it.
10670 (revert-buffer--default): New function, extracted from revert-buffer.
10671
10672 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
10673
10674 * lpr.el: Signal print errors more prominently.
10675 (print-region-function): Don't default to nil.
10676 (lpr-print-region): New function, extracted from print-region-1.
10677 Check lpr's return value and signal an error in case of problem.
10678 (print-region-1): Use it.
10679 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
10680 versions instead.
10681 (ps-printer-name): Default to nil.
10682 (ps-printer-name-option): Default to lpr-printer-switch.
10683 (ps-print-region-function): Don't default to nil.
10684 (ps-postscript-code-directory): Simplify default.
10685 (ps-do-despool): Use lpr-print-region to properly check the outcome.
10686 (ps-string-list, ps-eval-switch, ps-flatten-list)
10687 (ps-flatten-list-1): Remove.
10688 (ps-multibyte-buffer): Avoid setq.
10689 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
10690 (print-region-function, ps-print-region-function): Don't set them here.
10691
10692 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
10693
10694 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
10695 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
10696 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
10697 (ido-decorations): Doc fix.
10698
10699 * ansi-color.el: Fix old URL.
10700
10701 2013-07-23 Michael R. Mauger <michael@mauger.com>
10702
10703 * progmodes/sql.el: Version 3.3
10704 (sql-product-alist): Improve oracle :prompt-cont-regexp.
10705 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
10706 (sql-interactive-remove-continuation-prompt): Rewrite, use
10707 functions above. Fix continuation prompt and complete output line
10708 handling.
10709 (sql-redirect-one, sql-execute): Use `read-only-mode' on
10710 redirected output buffer.
10711 (sql-mode): Restore deleted code (Bug#13591).
10712
10713 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
10714
10715 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
10716
10717 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
10718
10719 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
10720
10721 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10722 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10723 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
10724
10725 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
10726
10727 * desktop.el (desktop-clear): Simplify; remove useless checks
10728 against invalid buffer names.
10729 (desktop-list*): Use cl-list*.
10730 (desktop-buffer-info, desktop-create-buffer): Simplify.
10731
10732 2013-07-23 Leo Liu <sdl.web@gmail.com>
10733
10734 * bookmark.el (bookmark-make-record): Restore NAME as a default
10735 value. (Bug#14933)
10736
10737 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
10738
10739 * emacs-lisp/autoload.el (autoload--setup-output): New function,
10740 extracted from autoload--insert-text.
10741 (autoload--insert-text): Remove.
10742 (autoload--print-cookie-text): New function, extracted from
10743 autoload--insert-cookie-text.
10744 (autoload--insert-cookie-text): Remove.
10745 (autoload-generate-file-autoloads): Adjust calls accordingly.
10746
10747 * winner.el (winner-hook-installed-p): Remove.
10748 (winner-mode): Simplify accordingly.
10749
10750 * subr.el (add-to-list): Fix compiler-macro when `append' is
10751 not constant. Don't use `cl-member' for the base case.
10752
10753 * progmodes/subword.el: Fix boundary case (bug#13758).
10754 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
10755 own group.
10756 (subword-backward-regexp): Make it a constant.
10757 (subword-forward-internal): Don't treat a trailing capital as the
10758 beginning of a word.
10759
10760 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
10761
10762 * emacs-lisp/package.el (package-menu-mode): Don't modify the
10763 global value of tabulated-list-revert-hook (bug#14930).
10764
10765 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
10766
10767 * desktop.el: Require 'cl-lib.
10768 (desktop-before-saving-frames-functions): New hook.
10769 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
10770 for frames being saved. Rename from desktop--save-minibuffer-frames.
10771 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
10772 Do not save frames with non-nil `desktop-dont-save' parameter.
10773 Filter out deleted frames.
10774 (desktop--find-frame): Use cl-find-if.
10775 (desktop--select-frame): Use cl-(first|second|third) to access values
10776 of desktop-mini.
10777 (desktop--make-frame): Use cl-delete-if.
10778 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
10779 (desktop-restore-frames): Use cl-(first|second|third) to access values
10780 of desktop-mini. Look for visible frame at the end, not while
10781 restoring frames.
10782
10783 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
10784 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
10785 Use string-match-p, looking-at-p (bug#14927).
10786
10787 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
10788
10789 * desktop.el (desktop-saved-frame-states):
10790 Rename from desktop--saved-states; all users changed.
10791 (desktop-save-frames): Rename from desktop--save-frames.
10792 Do not save state to desktop file.
10793 (desktop-save): Save desktop-saved-frame-states to desktop file
10794 and reset to nil.
10795 (desktop-restoring-frames-p): New function.
10796 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
10797 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
10798 buffer-lists when restoring frames. Suggested by Martin Rudalics.
10799
10800 * desktop.el: Correctly restore iconified frames.
10801 (desktop--filter-iconified-position): New function.
10802 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
10803
10804 2013-07-20 Glenn Morris <rgm@gnu.org>
10805
10806 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
10807 Let `message' do the formatting.
10808 (def-gdb-preempt-display-buffer): Add explicit format.
10809
10810 * image-dired.el (image-dired-track-original-file):
10811 Use with-current-buffer.
10812 (image-dired-track-thumbnail): Use with-current-buffer.
10813 Avoid changing point of wrong window.
10814
10815 * image-dired.el (image-dired-track-original-file):
10816 Avoid changing point of wrong window. (Bug#14909)
10817
10818 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
10819
10820 * progmodes/gdb-mi.el (gdb-done-or-error):
10821 Guard against "%" in gdb output. (Bug#14127)
10822
10823 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
10824
10825 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
10826 (Bug#14826)
10827
10828 * international/mule.el (coding-system-iso-2022-flags): Fix last
10829 change.
10830
10831 2013-07-20 Kenichi Handa <handa@gnu.org>
10832
10833 * international/mule.el (coding-system-iso-2022-flags):
10834 Add `8-bit-level-4'. (Bug#8522)
10835
10836 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10837
10838 * net/shr.el (shr-mouse-browse-url): New command and keystroke
10839 (bug#14815).
10840
10841 * net/eww.el (eww-process-text-input): Allow inputting when the
10842 point is at the start of the line, as the properties aren't
10843 front-sticky.
10844
10845 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
10846 degenerate widths.
10847
10848 2013-07-19 Richard Stallman <rms@gnu.org>
10849
10850 * epa.el (epa-popup-info-window): Doc fix.
10851
10852 * subr.el (split-string): New arg TRIM.
10853
10854 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
10855
10856 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
10857 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
10858
10859 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
10860
10861 * filenotify.el (file-notify--library): Rename from
10862 `file-notify-support'. Do not autoload. Adapt all uses.
10863 (file-notify-supported-p): New defun.
10864
10865 * autorevert.el (auto-revert-use-notify):
10866 Use `file-notify-supported-p' instead of `file-notify-support'.
10867 Adapt docstring.
10868 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
10869
10870 * net/tramp.el (tramp-file-name-for-operation):
10871 Add `file-notify-supported-p'.
10872
10873 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
10874 New defun.
10875 (tramp-sh-file-name-handler-alist): Add it as handler for
10876 `file-notify-supported-p '.
10877
10878 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10879 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10880 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
10881 Add `ignore' as handler for `file-notify-*' functions.
10882
10883 2013-07-17 Eli Zaretskii <eliz@gnu.org>
10884
10885 * simple.el (line-move-partial, line-move): Don't start vscroll or
10886 scroll-up if the current line is not taller than the window.
10887 (Bug#14881)
10888
10889 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
10890
10891 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
10892 highlight question marks in the method names as strings.
10893 (ruby-block-beg-keywords): Inline.
10894 (ruby-font-lock-keyword-beg-re): Extract from
10895 `ruby-font-lock-keywords'.
10896
10897 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
10898
10899 * frame.el (blink-cursor-blinks): New defcustom.
10900 (blink-cursor-blinks-done): New defvar.
10901 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
10902 (blink-cursor-timer-function): Check if number of blinks has been
10903 done on X and NS.
10904 (blink-cursor-suspend, blink-cursor-check): New defuns.
10905
10906 2013-07-15 Glenn Morris <rgm@gnu.org>
10907
10908 * edmacro.el (edmacro-format-keys): Fix previous change.
10909
10910 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
10911
10912 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
10913 The hack didn't work outside English locales anyway.
10914
10915 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
10916
10917 * simple.el (define-alternatives): Rename from alternatives-define,
10918 per RMS' suggestion.
10919
10920 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
10921
10922 * desktop.el (desktop-restore-frames): Change default to t.
10923 (desktop-restore-in-current-display): Now offer more options.
10924 (desktop-restoring-reuses-frames): New customization option.
10925 (desktop--saved-states): Doc fix.
10926 (desktop-filter-parameters-alist): New variable, renamed and expanded
10927 from desktop--excluded-frame-parameters.
10928 (desktop--target-display): New variable.
10929 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
10930 (desktop--filter-tty*, desktop--filter-*-color)
10931 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
10932 (desktop--filter-save-desktop-parm)
10933 (desktop-restore-in-original-display-p): New functions.
10934 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
10935 (desktop--save-minibuffer-frames): New function, inspired by a similar
10936 function from Martin Rudalics.
10937 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
10938 (desktop--restore-in-this-display-p): Remove.
10939 (desktop--find-frame): Rename from desktop--find-frame-in-display
10940 and add predicate argument.
10941 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
10942 (desktop--reuse-list): New variable.
10943 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
10944 New functions.
10945 (desktop--restore-frames): Add support for "minibuffer-special" frames.
10946
10947 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
10948
10949 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
10950
10951 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
10952
10953 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
10954 Highlight conversion methods on Kernel.
10955
10956 2013-07-13 Alan Mackenzie <acm@muc.de>
10957
10958 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
10959 and comment it out. This out-commenting enables certain C++
10960 declarations to be parsed correctly.
10961
10962 2013-07-13 Eli Zaretskii <eliz@gnu.org>
10963
10964 * international/mule.el (define-coding-system): Doc fix.
10965
10966 * simple.el (default-font-height): Don't call font-info if the
10967 frame's default font didn't change since the frame was created.
10968 (Bug#14838)
10969
10970 2013-07-13 Leo Liu <sdl.web@gmail.com>
10971
10972 * ido.el (ido-read-file-name): Guard against non-symbol value.
10973
10974 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
10975
10976 * progmodes/python.el (python-imenu--build-tree): Fix corner case
10977 in nested defuns.
10978
10979 2013-07-13 Leo Liu <sdl.web@gmail.com>
10980
10981 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
10982 ido-set-matches call. (Bug#6852)
10983
10984 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
10985
10986 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
10987 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
10988 Ruby 2.0.
10989 (ruby-font-lock-keywords): Distinguish calls to functions with
10990 module-like names from module references. Highlight character
10991 literals.
10992
10993 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
10994
10995 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
10996 (gdb-send): Handle continued commands. (Bug#14847)
10997
10998 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
10999
11000 * desktop.el (desktop--v2s): Remove unused local variable.
11001 (desktop-save-buffer): Make defvar-local; adjust docstring.
11002 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
11003 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
11004
11005 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
11006
11007 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
11008
11009 2013-07-12 Eli Zaretskii <eliz@gnu.org>
11010
11011 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
11012 (Bug#14842)
11013
11014 2013-07-12 Glenn Morris <rgm@gnu.org>
11015
11016 * doc-view.el: Require cl-lib at runtime too.
11017 (doc-view-remove-if): Remove.
11018 (doc-view-search-next-match, doc-view-search-previous-match):
11019 Use cl-remove-if.
11020
11021 * edmacro.el: Require cl-lib at runtime too.
11022 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
11023 (edmacro-mismatch, edmacro-subseq): Remove.
11024
11025 * shadowfile.el: Require cl-lib.
11026 (shadow-remove-if): Remove.
11027 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
11028 Use cl-remove-if.
11029
11030 * wid-edit.el: Require cl-lib.
11031 (widget-choose): Use cl-remove-if.
11032 (widget-remove-if): Remove.
11033
11034 * progmodes/ebrowse.el: Require cl-lib at runtime too.
11035 (ebrowse-delete-if-not): Remove.
11036 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
11037 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
11038 Use cl-delete-if-not.
11039
11040 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11041
11042 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
11043 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
11044
11045 2013-07-12 Leo Liu <sdl.web@gmail.com>
11046
11047 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
11048
11049 2013-07-11 Glenn Morris <rgm@gnu.org>
11050
11051 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
11052 (edebug-gensym-index, edebug-gensym):
11053 Remove reimplementation of cl-gensym.
11054 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
11055
11056 * thumbs.el: Require cl-lib at run-time too.
11057 (thumbs-gensym-counter, thumbs-gensym):
11058 Remove reimplementation of cl-gensym.
11059 (thumbs-temp-file): Use cl-gensym.
11060
11061 * emacs-lisp/ert.el: Require cl-lib at runtime too.
11062 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
11063 (ert--intersection, ert--set-difference, ert--set-difference-eq)
11064 (ert--union, ert--gensym-counter, ert--gensym-counter)
11065 (ert--coerce-to-vector, ert--remove*, ert--string-position)
11066 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
11067 (ert-make-test-unbound, ert--expand-should-1)
11068 (ert--expand-should, ert--should-error-handle-error)
11069 (should-error, ert--explain-equal-rec)
11070 (ert--plist-difference-explanation, ert-select-tests)
11071 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
11072 Use cl-lib functions rather than reimplementations.
11073
11074 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
11075
11076 * net/tramp.el (tramp-methods): Extend docstring.
11077 (tramp-connection-timeout): New defcustom.
11078 (tramp-error-with-buffer): Reset timestamp only when appropriate.
11079 (with-tramp-progress-reporter): Simplify.
11080 (tramp-process-actions): Improve messages.
11081
11082 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
11083 * net/tramp-sh.el (tramp-maybe-open-connection):
11084 Use `tramp-connection-timeout'.
11085 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
11086 (Bug#14808)
11087
11088 2013-07-11 Leo Liu <sdl.web@gmail.com>
11089
11090 * ido.el (ido-read-file-name): Conform to the requirements of
11091 read-file-name. (Bug#11861)
11092 (ido-read-directory-name): Conform to the requirements of
11093 read-directory-name.
11094
11095 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
11096
11097 * subr.el (delay-warning): New function.
11098
11099 2013-07-10 Eli Zaretskii <eliz@gnu.org>
11100
11101 * simple.el (default-line-height): New function.
11102 (line-move-partial, line-move): Use it instead of computing the
11103 line height inline.
11104 (line-move-partial): Always compute ROWH. If the last line is
11105 partially-visible, but its text is completely visible, allow
11106 cursor to enter such a partially-visible line.
11107
11108 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
11109
11110 Improve error messages. (Bug#14808)
11111
11112 * net/tramp.el (tramp-current-connection): New defvar, moved from
11113 tramp-sh.el.
11114 (tramp-message-show-progress-reporter-message): Remove, not
11115 needed anymore.
11116 (tramp-error-with-buffer): Show message in minibuffer.
11117 Discard input before waiting. Reset connection timestamp.
11118 (with-tramp-progress-reporter): Improve messages.
11119 (tramp-process-actions): Use progress reporter. Delete process in
11120 case of error. Improve messages.
11121
11122 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
11123 Call `tramp-error-with-buffer' with vector and buffer.
11124 (tramp-current-connection): Remove.
11125 (tramp-maybe-open-connection): The car of
11126 `tramp-current-connection' are the first 3 slots of the vector.
11127
11128 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
11129
11130 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
11131 inside continued strings.
11132
11133 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
11134
11135 Timestamp fixes for undo (Bug#14824).
11136 * files.el (clear-visited-file-modtime): Move here from fileio.c.
11137
11138 2013-07-10 Leo Liu <sdl.web@gmail.com>
11139
11140 * files.el (require-final-newline): Allow safe local value.
11141 (Bug#14834)
11142
11143 2013-07-09 Leo Liu <sdl.web@gmail.com>
11144
11145 * ido.el (ido-read-directory-name): Handle fallback.
11146 (ido-read-file-name): Update DIR to ido-current-directory.
11147 (Bug#1516)
11148 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
11149
11150 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
11151
11152 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
11153 "autoload". Remove "warn lower camel case" section, previously
11154 commented out. Highlight negation char. Do not highlight the
11155 target in singleton method definitions.
11156
11157 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11158
11159 * faces.el (tty-setup-hook): Declare the hook.
11160
11161 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
11162 and detect when a guard/pred depends on local vars (bug#14773).
11163 (pcase--u1): Adjust caller.
11164
11165 2013-07-08 Eli Zaretskii <eliz@gnu.org>
11166
11167 * simple.el (line-move-partial, line-move): Account for
11168 line-spacing.
11169 (line-move-partial): Avoid setting vscroll when the last
11170 partially-visible line in window is of default height.
11171
11172 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
11173
11174 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
11175 been used a while.
11176
11177 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
11178
11179 * subr.el (read-quoted-char): Remove unused local variable `char'.
11180
11181 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
11182
11183 * ediff.el (ediff-version): Version update.
11184 (ediff-files-command, ediff3-files-command, ediff-merge-command)
11185 (ediff-merge-with-ancestor-command, ediff-directories-command)
11186 (ediff-directories3-command, ediff-merge-directories-command)
11187 (ediff-merge-directories-with-ancestor-command): New functions.
11188 All are command-line interfaces to ediff: to facilitate calling
11189 Emacs with the appropriate ediff functions invoked.
11190
11191 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
11192 (viper-save-kill-buffer): Check if buffer is modified.
11193
11194 * viper.el (viper-version): Version update.
11195 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
11196
11197 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
11198
11199 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
11200 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
11201 (viper-intercept-ESC-key): Simplify.
11202 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
11203 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
11204 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
11205 (viper-setup-ESC-to-escape): New functions.
11206 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
11207 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
11208
11209 2013-07-07 Eli Zaretskii <eliz@gnu.org>
11210
11211 * simple.el (default-font-height, window-screen-lines):
11212 New functions.
11213 (line-move, line-move-partial): Use them instead of
11214 frame-char-height and window-text-height. This makes scrolling
11215 text smoother when the buffer's default face uses a font that is
11216 different from the frame's default font.
11217
11218 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
11219
11220 * files.el (write-file): Do not display confirm dialog for NS,
11221 it does its own dialog, which can't be canceled (Bug#14578).
11222
11223 2013-07-06 Eli Zaretskii <eliz@gnu.org>
11224
11225 * simple.el (line-move-partial): Adjust the row returned by
11226 posn-at-point for the current window-vscroll. (Bug#14567)
11227
11228 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
11229
11230 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
11231 (tramp-sh-file-inotifywait-process-filter): Handle file names with
11232 spaces.
11233
11234 2013-07-06 Martin Rudalics <rudalics@gmx.at>
11235
11236 * window.el (window-state-put-stale-windows): New variable.
11237 (window--state-put-2): Save list of windows without matching buffer.
11238 (window-state-put): Remove "bufferless" windows if possible.
11239
11240 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
11241
11242 * simple.el (alternatives-define): Remove leftover :group keyword.
11243 Tweak docstring.
11244
11245 2013-07-06 Leo Liu <sdl.web@gmail.com>
11246
11247 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
11248 (ido-enable-virtual-buffers): New variable.
11249 (ido-buffer-internal, ido-toggle-virtual-buffers)
11250 (ido-make-buffer-list): Use it.
11251 (ido-exhibit): Support turning on and off virtual buffers
11252 automatically.
11253
11254 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
11255
11256 * simple.el (alternatives-define): New macro.
11257
11258 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
11259
11260 * subr.el (read-quoted-char): Use read-key.
11261 (sit-for): Let read-event decode tty input (bug#14782).
11262
11263 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
11264
11265 * calendar/todo-mode.el: Add handling of file deletion, both by
11266 mode command and externally. Fix various related bugs.
11267 Clarify Commentary and improve some documentation strings and code.
11268 (todo-delete-file): New command.
11269 (todo-check-file): New function.
11270 (todo-show): Handle external deletion of the file we're trying to
11271 show (bug#14688). Replace called-interactively-p by an optional
11272 prefix argument to avoid problematic interaction with catch form
11273 when byte compiled (bug#14702).
11274 (todo-quit): Handle external deletion of the archive's todo file.
11275 Make sure the buffer that was visiting the archive file is still
11276 live before trying to bury it.
11277 (todo-category-completions): Handle external deletion of any
11278 category completion files.
11279 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
11280 of todo files, in case of external deletion.
11281 (todo-add-file): Replace unnecessary setq by let-binding.
11282 (todo-find-archive): Check whether there are any archives.
11283 Replace unnecessary setq by let-binding.
11284 (todo-archive-done-item): Use find-file-noselect to get the
11285 archive buffer whether or not the archive already exists.
11286 Remove superfluous code. Use file size instead of buffer-file-name to
11287 check if the archive is new; if it is, update list of archives.
11288 (todo-default-todo-file): Allow nil to be a valid value for when
11289 there are no todo files.
11290 (todo-reevaluate-default-file-defcustom): Use corrected definition
11291 of todo-default-todo-file.
11292 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
11293 (todo-delete-category, todo-show-categories-table)
11294 (todo-category-number): Clarify comment.
11295 (todo-filter-items): Clarify documentation string.
11296 (todo-show-current-file, todo-display-as-todo-file)
11297 (todo-reset-and-enable-done-separator): Tweak documentation string.
11298 (todo-done-separator): Make separator length window-width, since
11299 bug#2749 is now fixed.
11300
11301 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
11302
11303 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
11304 Support both "gvfs-monitor-dir" and "inotifywait".
11305 (tramp-sh-file-inotifywait-process-filter): Rename from
11306 `tramp-sh-file-notify-process-filter'.
11307 (tramp-sh-file-gvfs-monitor-dir-process-filter)
11308 (tramp-get-remote-gvfs-monitor-dir): New defuns.
11309
11310 2013-07-05 Leo Liu <sdl.web@gmail.com>
11311
11312 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
11313
11314 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11315
11316 * frame.el (display-pixel-height, display-pixel-width)
11317 (display-mm-height, display-mm-width): Mention behavior on
11318 multi-monitor setups in docstrings.
11319 (w32-display-monitor-attributes-list): Declare function.
11320 (display-monitor-attributes-list): Use it.
11321
11322 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
11323
11324 * filenotify.el: New package.
11325
11326 * autorevert.el (top): Require filenotify.el.
11327 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
11328 instead.
11329 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11330 (auto-revert-notify-handler): Use `file-notify-*' functions.
11331
11332 * subr.el (file-notify-handle-event): Move function to filenotify.el.
11333
11334 * net/tramp.el (tramp-file-name-for-operation):
11335 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
11336
11337 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
11338 for `file-notify-add-watch' and `file-notify-rm-watch'.
11339 (tramp-process-sentinel): Improve trace.
11340 (tramp-sh-handle-file-notify-add-watch)
11341 (tramp-sh-file-notify-process-filter)
11342 (tramp-sh-handle-file-notify-rm-watch)
11343 (tramp-get-remote-inotifywait): New defuns.
11344
11345 2013-07-03 Juri Linkov <juri@jurta.org>
11346
11347 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
11348 call of `occur-read-primary-args' to interactive spec.
11349
11350 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
11351 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
11352
11353 2013-07-03 Matthias Meulien <orontee@gmail.com>
11354
11355 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
11356 `Buffer-menu-multi-occur'. Add it to the menu.
11357 (Buffer-menu-mode): Document it in docstring.
11358 (Buffer-menu-multi-occur): New command. (Bug#14673)
11359
11360 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11361
11362 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
11363 keywords and built-ins.
11364
11365 2013-07-03 Glenn Morris <rgm@gnu.org>
11366
11367 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
11368
11369 Make info-xref checks case-sensitive by default
11370 * info.el (Info-find-node, Info-find-in-tag-table)
11371 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
11372 Add option for exact case matching of nodes.
11373 * info-xref.el (info-xref): New custom group.
11374 (info-xref-case-fold): New option.
11375 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
11376
11377 2013-07-03 Leo Liu <sdl.web@gmail.com>
11378
11379 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
11380
11381 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11382
11383 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
11384 middle of block statement initially, lower the depth. Remove
11385 FIXME comment, not longer valid. Remove middle of block statement
11386 detection, no need to do that anymore since we've been using
11387 `ruby-parse-region' here.
11388
11389 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
11390
11391 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
11392
11393 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
11394
11395 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
11396
11397 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
11398
11399 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
11400 (desktop-restore-in-current-display): New customization option.
11401 (desktop--excluded-frame-parameters): Add `font'.
11402 (desktop--save-frames): Rename from desktop--save-windows.
11403 (desktop--restore-in-this-display-p): New function.
11404 (desktop--make-full-frame): Remove unwanted width/height from
11405 full(width|height) frames.
11406 (desktop--restore-frames): Rename from desktop--restore-windows.
11407 Obey desktop-restore-current-display. Do not delete old frames or
11408 select a new frame unless we were able to restore at least one frame.
11409
11410 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
11411
11412 * files.el (find-file-noselect): Simplify conditional expression.
11413
11414 * textmodes/remember.el (remember-append-to-file):
11415 Don't mix `find-buffer-visiting' and `get-file-buffer'.
11416
11417 Add `remember-notes' function to store random notes across Emacs
11418 restarts.
11419 * textmodes/remember.el (remember-data-file): Add :set callback to
11420 affect notes buffer (if any).
11421 (remember-notes): New command.
11422 (remember-notes-buffer-name, bury-remember-notes-on-kill):
11423 New defcustoms for the `remember-notes' function.
11424 (remember-notes-save-and-bury-buffer): New command.
11425 (remember-notes-mode-map): New variable.
11426 (remember-mode): New minor mode.
11427 (remember-notes--kill-buffer-query): New function.
11428 * startup.el (initial-buffer-choice): Add notes to custom type.
11429
11430 2013-06-30 Eli Zaretskii <eliz@gnu.org>
11431
11432 * bindings.el (right-char, left-char): Don't call sit-for, this is
11433 no longer needed. Use arithmetic comparison only for numerical
11434 arguments.
11435
11436 * international/mule-cmds.el (select-safe-coding-system):
11437 Handle the case of FROM being a string correctly. (Bug#14755)
11438
11439 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11440
11441 * net/shr.el (shr-make-table-1): Add a sanity check that allows
11442 progression on degenerate tables.
11443 (shr-rescale-image): ImageMagick animated images currently don't work.
11444
11445 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
11446
11447 Some fixes and improvements for desktop frame restoration.
11448 It is still experimental and disabled by default.
11449 * desktop.el (desktop--save-windows): Put the selected frame at
11450 the head of the list.
11451 (desktop--make-full-frame): New function.
11452 (desktop--restore-windows): Try to re-select the frame that was
11453 selected upon saving. Do not abort if some frames fail to restore,
11454 just show an error message and continue. Set up maximized frames
11455 so they have default non-maximized dimensions.
11456
11457 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
11458
11459 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
11460 Don't start heredoc inside a string or comment.
11461
11462 2013-06-29 Eli Zaretskii <eliz@gnu.org>
11463
11464 * bindings.el (visual-order-cursor-movement): New defcustom.
11465 (right-char, left-char): Provide visual-order cursor motion by
11466 calling move-point-visually. Update the doc strings.
11467
11468 2013-06-28 Kenichi Handa <handa@gnu.org>
11469
11470 * international/mule.el (define-coding-system): New coding system
11471 properties :inhibit-null-byte-detection,
11472 :inhibit-iso-escape-detection, and :prefer-utf-8.
11473 (set-buffer-file-coding-system): If :charset-list property of
11474 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
11475 appropriate for setting.
11476
11477 * international/mule-cmds.el (select-safe-coding-system):
11478 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
11479 multibyte characters, return utf-8 (or one of its siblings).
11480
11481 * international/mule-conf.el (prefer-utf-8): New coding system.
11482 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
11483 files.
11484
11485 2013-06-28 Ivan Kanis <ivan@kanis.fr>
11486
11487 * net/shr.el (shr-render-region): New function.
11488
11489 * net/eww.el: Autoload `eww-browse-url'.
11490
11491 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
11492
11493 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11494 Adapt to `package-desc-version' being a list.
11495 Use `package--ac-desc-version' to retrieve version from a package
11496 archive element.
11497
11498 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
11499
11500 New experimental feature to save&restore window and frame setup.
11501 * desktop.el (desktop-save-windows): New defcustom.
11502 (desktop--saved-states): New var.
11503 (desktop--excluded-frame-parameters): New defconst.
11504 (desktop--filter-frame-parms, desktop--find-frame-in-display)
11505 (desktop--restore-windows, desktop--save-windows): New functions.
11506 (desktop-save): Call `desktop--save-windows'.
11507 (desktop-read): Call `desktop--restore-windows'.
11508
11509 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11510
11511 * net/shr.el (add-face-text-property): Remove compat definition.
11512
11513 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
11514
11515 * info.el (Info-try-follow-nearest-node): Move search for footnote
11516 above search for node name to prevent missing a footnote (bug#14717).
11517
11518 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
11519
11520 * obsolete/otodo-mode.el: Add obsolescence info to file header.
11521
11522 2013-06-27 Leo Liu <sdl.web@gmail.com>
11523
11524 * net/eww.el (eww-read-bookmarks): Check file size.
11525
11526 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11527
11528 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
11529 advice--pending if newdef is nil or an autoload (bug#13820).
11530 (advice-mapc): New function.
11531
11532 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11533
11534 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
11535 probably.
11536 (eww-mode-map): Add a menu bar.
11537 (eww-add-bookmark): New command.
11538 (eww-bookmark-mode): New mode and commands.
11539 (eww-add-bookmark): Remove newlines from the title.
11540 (eww-bookmark-browse): Don't bug out if it's the only window.
11541
11542 2013-06-26 Glenn Morris <rgm@gnu.org>
11543
11544 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
11545 (hfy-size): Handle ttys. (Bug#14668)
11546
11547 * info-xref.el: Update for Texinfo 5 change in *note format.
11548 (info-xref-node-re, info-xref-note-re): New constants.
11549 (info-xref-check-buffer): Use info-xref-note-re.
11550
11551 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11552
11553 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
11554
11555 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
11556 nil terminate the loop (bug#14718).
11557
11558 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11559
11560 * net/eww.el: Rework history traversal. When going forward/back,
11561 put these actions into the history, too, so that they can be
11562 replayed.
11563 (eww-render): Move the history reset to the correct buffer.
11564
11565 2013-06-25 Juri Linkov <juri@jurta.org>
11566
11567 * files-x.el (modify-dir-local-variable): Change the header comment
11568 in the file with directory local variables. (Bug#14692)
11569
11570 * files-x.el (read-file-local-variable-value): Add `default'.
11571 (Bug#14710)
11572
11573 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11574
11575 * net/eww.el (eww-make-unique-file-name): Create a unique file
11576 name before saving to entering `y' accidentally asynchronously.
11577
11578 2013-06-25 Ivan Kanis <ivan@kanis.fr>
11579
11580 * net/eww.el (eww-download): New command and keystroke.
11581
11582 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11583
11584 * net/eww.el (eww-copy-page-url): Change name of command.
11585
11586 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
11587 be more consistent with Info and dired.
11588
11589 * net/eww.el (eww-mode-map): Ditto.
11590
11591 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11592
11593 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
11594 packages from archives.
11595 (package-archive-contents): Change format; include obsolete packages.
11596 (package-desc): Use `dir' to mark builtin packages.
11597 (package--from-builtin): Set the `dir' field to `builtin'.
11598 (generated-autoload-file, version-control): Declare.
11599 (package-compute-transaction): Change first arg and return value to be
11600 lists of package-descs. Adjust to new package-archive-contents format.
11601 (package--add-to-archive-contents): Adjust to new
11602 package-archive-contents format.
11603 (package-download-transaction): Arg is now a list of package-descs.
11604 (package-install): If `pkg' is a package name, pass it as
11605 a requirement, so it is subject to the usual (e.g. disabled) checks.
11606 (describe-package): Accept package-desc as well.
11607 (describe-package-1): Describe a specific package-desc. Add links to
11608 other package-descs for the same package name.
11609 (package-menu-describe-package): Pass the actual package-desc.
11610 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
11611 works correctly.
11612 (package-desc-status): New function.
11613 (package-menu--refresh): New function, extracted
11614 from package-menu--generate.
11615 (package-menu--generate): Use it.
11616 (package-delete): Update package-alist.
11617 (package-menu-execute): Don't call package-initialize.
11618
11619 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
11620 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
11621 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
11622 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
11623 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
11624 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
11625
11626 2013-06-25 Martin Rudalics <rudalics@gmx.at>
11627
11628 * window.el (window--state-get-1): Workaround for bug#14527.
11629 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
11630
11631 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11632
11633 * net/eww.el (eww-back-url): Implement the history by stashing all
11634 the data into a list.
11635 (eww-forward-url): Allow going forward in the history, too.
11636
11637 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11638
11639 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
11640 for values and use read--expression for expressions (bug#14710).
11641 (read-file-local-variable): Avoid setq.
11642 (read-file-local-variable-mode): Use minor-mode-list.
11643
11644 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11645
11646 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
11647 for DOI URLs.
11648
11649 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11650
11651 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
11652 Update imenu-support when dialect changes.
11653
11654 2013-06-25 Leo Liu <sdl.web@gmail.com>
11655
11656 * ido.el (ido-read-internal): Allow forward slash on windows.
11657
11658 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
11659
11660 * net/eww.el (eww): Start of strings is \\`, not ^.
11661
11662 2013-06-24 Ivan Kanis <ivan@kanis.fr>
11663
11664 * net/shr.el (shr-browse-url): Fix interactive spec.
11665
11666 * net/eww.el (eww): Add a trailing slash to domain names.
11667
11668 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
11669
11670 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
11671
11672 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
11673
11674 * net/shr.el (shr-browse-url): Use an external browser if given a
11675 prefix.
11676
11677 * net/eww.el (eww-external-browser): Move to shr.
11678
11679 2013-06-24 Ivan Kanis <ivan@kanis.fr>
11680
11681 * net/eww.el (eww): Work more correctly for file: URLs.
11682 (eww-detect-charset): Allow quoted charsets.
11683 (eww-yank-page-url): New command and keystroke.
11684
11685 2013-06-24 Daiki Ueno <ueno@gnu.org>
11686
11687 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
11688 file name of gpg executable.
11689 (epg-context-program): New function.
11690 (epg-context-home-directory): New function.
11691 (epg-context-set-program): New function.
11692 (epg-context-set-home-directory): New function.
11693 (epg--start): Use `epg-context-program' instead of
11694 'epg-gpg-program'.
11695 (epg--list-keys-1): Likewise.
11696
11697 2013-06-24 Leo Liu <sdl.web@gmail.com>
11698
11699 * ido.el (ido-read-internal): Fix bug#14620.
11700
11701 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
11702
11703 * faces.el (face-documentation): Simplify.
11704 (read-face-attribute, tty-find-type, x-resolve-font-name):
11705 Use `string-match-p'.
11706 (list-faces-display): Use `string-match-p'. Simplify.
11707 (face-spec-recalc): Check face to avoid face alias loops.
11708 (read-color): Use `string-match-p' and non-capturing parenthesis.
11709
11710 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
11711
11712 * net/shr.el (shr-rescale-image): Use the new
11713 :max-width/:max-height functionality.
11714
11715 2013-06-23 Ivan Kanis <ivan@kanis.fr>
11716
11717 * net/eww.el (eww-search-prefix): New variable.
11718 (eww): Use it.
11719 (eww-external-browser): New variable.
11720 (eww-mode-map): New keystroke.
11721 (eww-browse-with-external-browser): New command.
11722
11723 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
11724
11725 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
11726
11727 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
11728 Don't skip aligning the next header field when padding is 0;
11729 otherwise, field width is not respected unless the title is as
11730 wide as the field.
11731
11732 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11733
11734 * emacs-lisp/package.el (package-el-version): Remove.
11735 (package-process-define-package): Fix inf-loop.
11736 (package-install): Allow symbols as arguments again.
11737
11738 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
11739
11740 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
11741 add some more keyword-like methods.
11742 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
11743
11744 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
11745
11746 * bs.el (bs-buffer-show-mark): Make defvar-local.
11747 (bs-mode): Use setq-local.
11748
11749 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
11750 (emacs-lock--try-unlocking): Make defvar-local.
11751
11752 2013-06-22 Glenn Morris <rgm@gnu.org>
11753
11754 * play/cookie1.el (cookie-apropos): Minor simplification.
11755
11756 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
11757
11758 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
11759
11760 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
11761 `regexp-opt', it breaks the build during dumping.
11762
11763 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
11764
11765 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11766 Highlight keyword-like methods on Kernel and Module with
11767 font-lock-builtin-face.
11768 (auto-mode-alist): Consolidate different entries into one regexp
11769 and add more *file-s.
11770
11771 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
11772
11773 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
11774
11775 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
11776 (diary-entry): Use it in the action of this button type instead of
11777 diary-goto-entry.
11778
11779 * calendar/todo-mode.el: New version.
11780 (todo-add-category): Append new category to end of file and give
11781 it the highest number, instead of putting it at the beginning and
11782 giving it 0. Incorporate noninteractive functionality.
11783 (todo-forward-category): Adapt to 1-based category numbering.
11784 Allow skipping over archived categories.
11785 (todo-backward-category): Derive from todo-forward-category.
11786 (todo-backward-item, todo-forward-item): Make noninteractive and
11787 delegate interactive part to new commands. Make sensitive to done items.
11788 (todo-categories): Make value an alist of category names and
11789 vectors of item counts.
11790 (todo-category-beg): Make a defconst.
11791 (todo-category-number): Use 1 instead of 0 as initial value.
11792 (todo-category-select): Make sensitive to overlays, optional item
11793 highlighting and done items.
11794 (todo-delete-item): Make sensitive to overlays and marked and done items.
11795 (todo-edit-item): Make sensitive to overlays and editing of
11796 date/time header optional. Add format checks.
11797 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
11798 no-op if point is not on an item. Advertise using todo-edit-quit.
11799 (todo-edit-mode): Make sensitive to new format, font-locking, and
11800 multiple todo files.
11801 (todo-insert-item, todo-insert-item-here): Derive from
11802 todo-basic-insert-item and extend functionality.
11803 (todo-item-end, todo-item-start): Make sensitive to done items.
11804 (todo-item-string): Don't return text properties. Restore point.
11805 (todo-jump-to-category): Make sensitive to multiple todo files and
11806 todo archives. Use extended category completion.
11807 (todo-lower-item, todo-raise-item): Rename to *-priority and
11808 derive from todo-set-item-priority.
11809 (todo-mode): Derive from special-mode. Make sensitive to new
11810 format, font-locking and multiple todo files. Make read-only.
11811 (todo-mode-map): Don't suppress digit keys, so they can supply
11812 prefix arguments. Add many new key bindings.
11813 (todo-prefix): Insert as an overlay instead of file text.
11814 Change semantics from diary date expression to purely visual mark.
11815 (todo-print): Rename to todo-print-buffer. Make buffer display
11816 features printable. Remove option to restrict number of items
11817 printed. Add option to print to file.
11818 (todo-print-function): Rename to todo-print-buffer-function.
11819 (todo-quit): Extend to handle exiting new todo modes.
11820 (todo-remove-item): Make sensitive to overlays.
11821 (todo-save): Extend to buffers of filtered items.
11822 (todo-show): Make sensitive to done items, multiple todo files and
11823 new todo modes. Offer to convert legacy todo file before creating
11824 first new todo file.
11825 (todo-show-priorities): Rename to todo-top-priorities.
11826 Change semantics of value 0.
11827 (todo-top-priorities): Rename to todo-filter-top-priorities,
11828 derive from todo-filter-items and extend functionality.
11829 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
11830 and extend functionality to other types of filtered items.
11831 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
11832 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
11833 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
11834 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
11835 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
11836 (todo-edit-mode-hook, todo-entry-prefix-function)
11837 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
11838 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
11839 (todo-initials, todo-insert-threshold, todo-item-string-start)
11840 (todo-line-string, todo-menu, todo-mode-hook)
11841 (todo-more-important-p, todo-previous-answer, todo-previous-line)
11842 (todo-print-priorities, todo-remove-separator)
11843 (todo-save-top-priorities-too, todo-string-count-lines)
11844 (todo-string-multiline-p, todo-time-string-format)
11845 (todo-tmp-buffer-name): Remove.
11846 (todo-add-file, todo-archive-done-item, todo-choose-archive)
11847 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
11848 (todo-edit-category-diary-inclusion)
11849 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
11850 (todo-edit-file, todo-edit-item-date-day)
11851 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
11852 (todo-edit-item-date-month, todo-edit-item-date-to-today)
11853 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
11854 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
11855 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
11856 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
11857 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
11858 (todo-filter-top-priorities-multifile, todo-find-archive)
11859 (todo-find-filtered-items-file, todo-go-to-source-item)
11860 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
11861 (todo-jump-to-archive-category, todo-lower-category)
11862 (todo-mark-category, todo-marked-item-p, todo-merge-category)
11863 (todo-move-category, todo-move-item, todo-next-button)
11864 (todo-next-item, todo-padded-string, todo-powerset)
11865 (todo-previous-button, todo-previous-item)
11866 (todo-print-buffer-to-file, todo-raise-category)
11867 (todo-rename-category, todo-repair-categories-sexp, todo-search)
11868 (todo-set-category-number, todo-set-item-priority)
11869 (todo-set-top-priorities-in-category)
11870 (todo-set-top-priorities-in-file, todo-show-categories-table)
11871 (todo-sort-categories-alphabetically-or-numerically)
11872 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
11873 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
11874 (todo-toggle-item-header, todo-toggle-item-highlighting)
11875 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
11876 (todo-toggle-view-done-items, todo-toggle-view-done-only)
11877 (todo-unarchive-items, todo-unmark-category): New commands.
11878 (todo-absolute-file-name, todo-add-to-buffer-list)
11879 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
11880 (todo-basic-insert-item, todo-category-completions)
11881 (todo-category-number, todo-category-string-matcher-1)
11882 (todo-category-string-matcher-2, todo-check-filtered-items-file)
11883 (todo-check-format, todo-clear-matches)
11884 (todo-comment-string-matcher, todo-convert-legacy-date-time)
11885 (todo-current-category, todo-date-string-matcher)
11886 (todo-define-insertion-command, todo-diary-expired-matcher)
11887 (todo-diary-goto-entry, todo-diary-item-p)
11888 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
11889 (todo-display-categories, todo-display-sorted, todo-done-item-p)
11890 (todo-done-item-section-p, todo-done-separator)
11891 (todo-done-string-matcher, todo-files, todo-filter-items)
11892 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
11893 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
11894 (todo-insert-category-line, todo-insert-item-from-calendar)
11895 (todo-insert-sort-button, todo-insert-with-overlays)
11896 (todo-insertion-command-name, todo-insertion-key-bindings)
11897 (todo-label-to-key, todo-longest-category-name-length)
11898 (todo-make-categories-list, todo-mode-external-set)
11899 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
11900 (todo-modes-set-3, todo-multiple-filter-files)
11901 (todo-nondiary-marker-matcher, todo-prefix-overlays)
11902 (todo-read-category, todo-read-date, todo-read-dayname)
11903 (todo-read-file-name, todo-read-time)
11904 (todo-reevaluate-category-completions-files-defcustom)
11905 (todo-reevaluate-default-file-defcustom)
11906 (todo-reevaluate-filelist-defcustoms)
11907 (todo-reevaluate-filter-files-defcustom)
11908 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
11909 (todo-reset-done-separator, todo-reset-done-separator-string)
11910 (todo-reset-done-string, todo-reset-global-current-todo-file)
11911 (todo-reset-highlight-item, todo-reset-nondiary-marker)
11912 (todo-reset-prefix, todo-set-categories)
11913 (todo-set-date-from-calendar, todo-set-show-current-file)
11914 (todo-set-top-priorities, todo-short-file-name)
11915 (todo-show-current-file, todo-sort, todo-time-string-matcher)
11916 (todo-total-item-counts, todo-update-buffer-list)
11917 (todo-update-categories-display, todo-update-categories-sexp)
11918 (todo-update-count, todo-validate-name, todo-y-or-n-p):
11919 New functions.
11920 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
11921 New major modes.
11922 (todo-categories, todo-display, todo-edit, todo-faces)
11923 (todo-filtered): New defgroups.
11924 (todo-archived-only, todo-button, todo-category-string, todo-date)
11925 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
11926 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
11927 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
11928 (todo-add-item-if-new-category, todo-always-add-time-string)
11929 (todo-categories-align, todo-categories-archived-label)
11930 (todo-categories-category-label, todo-categories-diary-label)
11931 (todo-categories-done-label, todo-categories-number-separator)
11932 (todo-categories-todo-label, todo-categories-totals-label)
11933 (todo-category-completions-files, todo-completion-ignore-case)
11934 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
11935 (todo-done-separator-string, todo-done-string)
11936 (todo-files-function, todo-filter-done-items, todo-filter-files)
11937 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
11938 (todo-initial-category, todo-initial-file, todo-item-mark)
11939 (todo-legacy-date-time-regexp, todo-mode-line-function)
11940 (todo-nondiary-marker, todo-number-prefix)
11941 (todo-print-buffer-function, todo-show-current-file)
11942 (todo-show-done-only, todo-show-first, todo-show-with-done)
11943 (todo-skip-archived-categories, todo-top-priorities-overrides)
11944 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
11945 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
11946 New defcustoms.
11947 (todo-category-done, todo-date-pattern, todo-date-string-start)
11948 (todo-diary-items-buffer, todo-done-string-start)
11949 (todo-filtered-items-buffer, todo-item-start)
11950 (todo-month-abbrev-array, todo-month-name-array)
11951 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
11952 (todo-top-priorities-buffer): New defconsts.
11953 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
11954 (todo-categories-with-marks, todo-category-string-face)
11955 (todo-comment-face, todo-comment-string, todo-current-todo-file)
11956 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
11957 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
11958 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
11959 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
11960 (todo-font-lock-keywords, todo-global-current-todo-file)
11961 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
11962 (todo-insertion-commands-args)
11963 (todo-insertion-commands-args-genlist)
11964 (todo-insertion-commands-names, todo-insertion-map)
11965 (todo-key-bindings-t, todo-key-bindings-t+a)
11966 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
11967 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
11968 (todo-nondiary-face, todo-print-buffer, todo-time-face)
11969 (todo-visited): New variables.
11970
11971 2013-06-21 Glenn Morris <rgm@gnu.org>
11972
11973 * play/cookie1.el (cookie-apropos): Add optional display argument.
11974 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
11975 (psychoanalyze-pinhead): Use cookie-doctor.
11976
11977 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
11978
11979 * emacs-lisp/package.el (tar-get-file-descriptor)
11980 (tar--extract): Declare.
11981
11982 2013-06-21 Eduard Wiebe <usenet@pusto.de>
11983
11984 Extend flymake's warning predicate to be a function (bug#14217).
11985 * progmodes/flymake.el (flymake-warning-predicate): New.
11986 (flymake-parse-line): Use it.
11987 (flymake-warning-re): Make obsolete alias to
11988 `flymake-warning-predicate'.
11989
11990 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11991
11992 * emacs-lisp/package.el (package-alist): Include obsolete packages.
11993 (package-obsolete-list): Remove.
11994 (package-activate): Remove min-version argument. Add `force' argument.
11995 Adjust to new package-alist format.
11996 (package-mark-obsolete): Remove.
11997 (package-unpack): Force reload of the package's autoloads.
11998 (package-installed-p): Check builtins if the installed package is not
11999 recent enough.
12000 (package-initialize): Don't reset package-obsolete-list.
12001 Don't specify which package version to activate.
12002 (package-process-define-package, describe-package-1)
12003 (package-menu--generate): Adjust to new package-alist format.
12004
12005 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12006
12007 * allout-widgets.el (allout-widgets-mode-off)
12008 (allout-widgets-mode-on, allout-widgets-pre-command-business)
12009 (allout-widgets-post-command-business)
12010 (allout-widgets-after-copy-or-kill-function)
12011 (allout-widgets-after-undo-function, allout-test-range-overlaps)
12012 (allout-decorate-item-and-context)
12013 (allout-graphics-modification-handler): Fix typos in docstrings.
12014 (allout-get-or-create-parent-widget): Use `looking-at-p'.
12015
12016 * cmuscheme.el (scheme-start-file): Doc fix.
12017 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
12018 (scheme-input-filter): Use `string-match-p'.
12019
12020 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
12021
12022 * dired-x.el: Use Dired consistently in docstrings.
12023
12024 * dired.el: Use Dired consistently in docstrings.
12025 (dired-readin, dired-mode): Use `setq-local'.
12026 (dired-switches-alist): Make defvar-local.
12027 (dired-buffers-for-dir): Use `zerop'.
12028 (dired-safe-switches-p, dired-switches-escape-p)
12029 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
12030 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
12031 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
12032 (dired-goto-next-nontrivial-file): Use `string-match-p'.
12033 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
12034 (dired-toggle-marks, dired-mark-files-containing-regexp)
12035 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
12036 (dired-flag-auto-save-files, dired-flag-backup-files):
12037 Use `looking-at-p'.
12038 (dired-mark-files-regexp, dired-build-subdir-alist):
12039 Use `string-match-p', `looking-at-p'.
12040
12041 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
12042 (direct-print-region-helper): Use `string-match-p'.
12043
12044 2013-06-21 Leo Liu <sdl.web@gmail.com>
12045
12046 * comint.el (comint-redirect-results-list-from-process):
12047 Fix infinite loop.
12048
12049 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12050
12051 * net/eww.el (eww-update-header-line-format): Quote % characters.
12052
12053 2013-06-21 Glenn Morris <rgm@gnu.org>
12054
12055 * play/cookie1.el (cookie): New custom group.
12056 (cookie-file): New option.
12057 (cookie-check-file): New function.
12058 (cookie): Make it interactive. Make start and end messages optional.
12059 Interactively, display the result. Default to cookie-file.
12060 (cookie-insert): Default to cookie-file.
12061 (cookie-snarf): Make start and end messages optional.
12062 Default to cookie-file. Use with-temp-buffer.
12063 (cookie-read): Rename from read-cookie.
12064 Make start and end messages optional. Default to cookie-file.
12065 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
12066 Do not autoload it.
12067 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
12068 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
12069
12070 2013-06-21 Leo Liu <sdl.web@gmail.com>
12071
12072 * progmodes/octave.el (octave-mode): Backward compatibility fix.
12073
12074 2013-06-21 Glenn Morris <rgm@gnu.org>
12075
12076 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
12077
12078 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12079 Daniel Hackney <dan@haxney.org>
12080
12081 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
12082 Consolidate the single-file vs tarball code.
12083 (package-desc-suffix): New function.
12084 (package-desc-full-name): Don't bother inlining it.
12085 (package-load-descriptor): Return the new package-desc.
12086 (package-mark-obsolete): Remove unused arg `package'.
12087 (package-unpack): Make it work for single files as well.
12088 Make it update package-alist.
12089 (package--make-autoloads-and-stuff): Rename from
12090 package--make-autoloads-and-compile. Don't compile any more.
12091 (package--compile): New function.
12092 (package-generate-description-file): New function, extracted from
12093 package-unpack-single.
12094 (package-unpack-single): Remove.
12095 (package--with-work-buffer): Add indentation and debugging info.
12096 (package-download-single): Remove.
12097 (package-install-from-archive): Rename from package-download-tar, make
12098 it take a pkg-desc, and make it work for single files as well.
12099 (package-download-transaction): Simplify.
12100 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
12101 external tar program.
12102 (package-install-from-buffer): Remove `pkg-desc' argument.
12103 Use package-tar-file-info for tar-mode buffers.
12104 (package-install-file): Simplify accordingly.
12105 (package-archive-base): Change to take a pkg-desc.
12106 * tar-mode.el (tar--check-descriptor): New function, extracted from
12107 tar-get-descriptor.
12108 (tar-get-descriptor): Use it.
12109 (tar-get-file-descriptor): New function.
12110 (tar--extract): New function, extracted from tar-extract.
12111 (tar--extract): Use it.
12112 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
12113 case the summary uses non-ascii. Adjust to new calling convention of
12114 package-tar-file-info.
12115
12116 2013-06-21 Leo Liu <sdl.web@gmail.com>
12117
12118 * comint.el (comint-redirect-results-list-from-process):
12119 Fix random delay. (Bug#14681)
12120
12121 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12122
12123 * profiler.el (profiler-format-number): Use log, not log10.
12124
12125 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12126
12127 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
12128
12129 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
12130
12131 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
12132 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
12133 yet available.
12134 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
12135 (AUTOGENEL): ... here.
12136 * emacs-lisp/cl-macs.el (cl--sublis): New function.
12137 (cl--defsubst-expand): Use it.
12138
12139 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
12140
12141 * subr.el (log10): Move here from C code, and declare as obsolete.
12142 All uses of (log10 X) replaced with (log X 10).
12143
12144 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12145
12146 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
12147 Declare with `defvar-local'.
12148 (tabulated-list-use-header-line, tabulated-list-entries)
12149 (tabulated-list-padding, tabulated-list-printer)
12150 (tabulated-list-sort-key): Declare with `defvar-local'.
12151 (tabulated-list-init-header, tabulated-list-print-fake-header):
12152 Use `setq-local'.
12153
12154 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
12155
12156 * arc-mode.el (archive-mode): Add `archive-write-file' to
12157 `write-contents-functions' also for remote files. (Bug#14652)
12158
12159 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12160
12161 * cus-edit.el (custom-commands): Fix typos.
12162 (custom-display): Fix tooltip text.
12163 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
12164 Fix typos in docstrings.
12165 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
12166 (custom-unlispify-menu-entry, custom-magic-value-create)
12167 (custom-add-see-also, custom-group-value-create): Use ?\s.
12168 (custom-guess-type, customize-apropos, editable-field)
12169 (custom-face-value-create): Use `string-match-p'.
12170 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
12171
12172 * custom.el (custom-load-symbol): Use `string-match-p'.
12173
12174 * ansi-color.el: Convert to lexical binding.
12175 (ansi-colors): Fix URL.
12176 (ansi-color-context, ansi-color-context-region): Use defvar-local.
12177 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
12178 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
12179
12180 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12181
12182 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
12183
12184 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
12185
12186 2013-06-19 Tom Tromey <tromey@redhat.com>
12187
12188 * net/eww.el (eww-top-url): Remove.
12189 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
12190 (eww-render): Set new variables. Don't set eww-top-url.
12191 (eww-handle-link): Handle "prev", "home", and "contents".
12192 Downcase the rel text.
12193 (eww-top-url): Choose best top URL.
12194
12195 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12196
12197 * net/eww.el: Rewrite to implement form elements "by hand" instead of
12198 relying in widget.el. Using widget.el leads to too many
12199 user interface inconsistencies.
12200 (eww-self-insert): Implement entering commands in text fields.
12201 (eww-process-text-input): New function to make text input field editing
12202 work.
12203 (eww-submit): Rewrite to use the new-style form methods.
12204 (eww-select-display): Display the correct selected item.
12205 (eww-change-select): Implement changing the select value.
12206 (eww-toggle-checkbox): Implement radio/checkboxes.
12207 (eww-update-field): Fix compilation error.
12208 (eww-tag-textarea): Implement <textarea>.
12209
12210 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
12211 we don't shadow mode-specific bindings.
12212
12213 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
12214 nothing to push.
12215
12216 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
12217
12218 2013-06-19 Glenn Morris <rgm@gnu.org>
12219
12220 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
12221
12222 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
12223
12224 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
12225 not needed.
12226
12227 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
12228
12229 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12230
12231 * net/browse-url.el (browse-url-browser-function):
12232 `eww-browse-url' has the right calling signature, `eww' does not.
12233
12234 2013-06-19 Glenn Morris <rgm@gnu.org>
12235
12236 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
12237 Only eval autoloaded macros.
12238 (byte-compile-autoload): Only give the macro warning for macros.
12239
12240 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
12241 (ps-underlined-faces): Declare.
12242
12243 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
12244 (speedbar-add-supported-extension): Declare.
12245
12246 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
12247 Don't include a date stamp in the header of the generated file;
12248 it leads to needless differences between output files.
12249
12250 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
12251
12252 * net/secrets.el (secrets-struct-secret-content-type):
12253 Replace check of introspection data by a test call of "CreateItem".
12254 Some servers do not offer introspection.
12255
12256 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
12257
12258 * electric.el (electric-pair-mode): Improve interaction with
12259 electric-layout-mode.
12260 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
12261 (electric-pair-syntax): Use text-mode-syntax-table in comments
12262 and strings.
12263 (electric-pair--insert): New function.
12264 (electric-pair-post-self-insert-function): Use it and
12265 electric--after-char-pos.
12266
12267 2013-06-19 Leo Liu <sdl.web@gmail.com>
12268
12269 * progmodes/octave.el (octave-help): Fix regexp.
12270
12271 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
12272
12273 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
12274 (shr-table-horizontal-line): Allow nil as a value, and change the
12275 default.
12276 (shr-insert-table-ruler): Respect the nil value.
12277
12278 2013-06-18 Tom Tromey <tromey@barimba>
12279
12280 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12281 New defvars.
12282 (eww-open-file): New defun.
12283 (eww-render): Initialize new variables.
12284 (eww-display-html): Handle "link" and "a".
12285 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
12286 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
12287 (eww-back-url): Rename from eww-previous-url.
12288 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12289 New defuns.
12290
12291 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
12292
12293 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
12294 Distinguish ternary operator tokens from slash symbol and slash
12295 char literal.
12296
12297 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
12298
12299 Convert symbol prettification into minor mode and global minor mode.
12300
12301 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
12302 `prog-prettify-symbols', and make a local defvar instead of defcustom.
12303 (prettify-symbols--keywords): Rename from
12304 `prog-prettify-symbols-alist' and make a local defvar.
12305 (prettify-symbols--compose-symbol): Rename from
12306 `prog--prettify-font-lock-compose-symbol'.
12307 (prettify-symbols--make-keywords): Rename from
12308 `prog-prettify-font-lock-symbols-keywords' and simplify.
12309 (prog-prettify-install): Remove.
12310 (prettify-symbols-mode): New minor mode, based on
12311 `prog-prettify-install'.
12312 (turn-on-prettify-symbols-mode): New function.
12313 (global-prettify-symbols-mode): New globalized minor mode.
12314
12315 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12316 * progmodes/cfengine.el (cfengine3-mode):
12317 * progmodes/perl-mode.el (perl-mode): Don't call
12318 `prog-prettify-install'; set `prettify-symbols-alist' instead.
12319
12320 2013-06-18 Juri Linkov <juri@jurta.org>
12321
12322 * files-x.el (modify-file-local-variable-message): New function.
12323 (modify-file-local-variable)
12324 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
12325 and call `modify-file-local-variable-message' when it's non-nil.
12326 (add-file-local-variable, delete-file-local-variable)
12327 (add-file-local-variable-prop-line)
12328 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
12329 and use it. (Bug#9820)
12330
12331 2013-06-18 Juri Linkov <juri@jurta.org>
12332
12333 * emulation/vi.el (vi-shell-op):
12334 * emulation/vip.el (vip-execute-com, ex-command):
12335 * emulation/viper-cmd.el (viper-exec-bang):
12336 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
12337 the call of `shell-command-on-region'. (Bug#14637)
12338
12339 * simple.el (shell-command-on-region): Doc fix.
12340
12341 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12342
12343 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
12344 (bug#14633).
12345
12346 2013-06-18 Glenn Morris <rgm@gnu.org>
12347
12348 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
12349
12350 * newcomment.el (comment-search-forward, comment-search-backward):
12351 Doc fix. (Bug#14376)
12352
12353 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
12354
12355 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
12356 (buffer-face-mode-invoke): Doc fix.
12357
12358 2013-06-18 Matthias Meulien <orontee@gmail.com>
12359
12360 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
12361 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
12362
12363 2013-06-18 Glenn Morris <rgm@gnu.org>
12364
12365 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
12366 Replace obsolete function generic-make-keywords with its expansion.
12367
12368 * progmodes/python.el (ffap-alist): Declare.
12369
12370 * textmodes/reftex.el (bibtex-mode-map): Declare.
12371
12372 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12373
12374 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
12375 (package-unpack, package-unpack-single): Return the pkg-dir.
12376 (package-download-transaction): Use it to update package-alist.
12377
12378 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12379
12380 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
12381 possible choice.
12382
12383 2013-06-17 Juri Linkov <juri@jurta.org>
12384
12385 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
12386
12387 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12388
12389 * emacs-lisp/package.el (package-load-descriptor):
12390 Remove `with-syntax-table' call, `read' doesn't need it.
12391 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
12392
12393 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
12394
12395 * startup.el (command-line): Expand package name returned by
12396 `package--description-file' (bug#14639).
12397
12398 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12399
12400 * emacs-lisp/package.el (package-load-descriptor): Do not call
12401 `emacs-lisp-mode', just use its syntax table.
12402
12403 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
12404
12405 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
12406 `font-lock-extra-managed-props' if any prettifying keyword is added.
12407 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
12408 (prog-mode): Use `setq-local'.
12409
12410 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
12411
12412 * international/characters.el (standard-case-table): Set syntax of ?»
12413 and ?« to punctuation.
12414
12415 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
12416
12417 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
12418 Save relevant match data before calling `syntax-ppss' (bug#14595).
12419
12420 2013-06-15 Juri Linkov <juri@jurta.org>
12421
12422 * files-x.el (modify-file-local-variable-prop-line): Add local
12423 variables to the end of the existing comment on the first line.
12424 Use `file-auto-mode-skip' to skip interpreter magic line,
12425 and also skip XML declaration.
12426
12427 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12428
12429 * startup.el (package--builtin-versions): New var.
12430 (package-subdirectory-regexp): Remove.
12431 (package--description-file): Hard code its value instead.
12432
12433 * emacs-lisp/package.el: Don't activate packages older than builtin.
12434 (package-obsolete-list): Rename from package-obsolete-alist, and make
12435 it into a simple list of package-desc.
12436 (package-strip-version): Remove.
12437 (package-built-in-p): Use package--builtin-versions.
12438 (package-mark-obsolete): Simplify.
12439 (package-process-define-package): Mark it obsolete if older than the
12440 builtin version.
12441 (package-handle-response): Use line-end-position.
12442 (package-read-archive-contents, package--download-one-archive):
12443 Simplify.
12444 (package--add-to-archive-contents): Skip if older than the builtin or
12445 installed version.
12446 (package-menu-describe-package): Fix last change.
12447 (package-list-unversioned): New var.
12448 (package-menu--generate): Use it.
12449
12450 * emacs-lisp/autoload.el: Manage package--builtin-versions.
12451 (autoload--insert-text, autoload--insert-cookie-text): New functions.
12452 (autoload-builtin-package-versions): New variable.
12453 (autoload-generate-file-autoloads): Use them.
12454 Remove the list of autoloaded functions/macros from the
12455 (autoload...) comments.
12456
12457 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
12458
12459 2013-06-15 Eli Zaretskii <eliz@gnu.org>
12460
12461 * simple.el (line-move-partial): Don't jump to the next screen
12462 line as soon as it becomes visible. Instead, continue enlarging
12463 the vscroll until the portion of a tall screen line that's left on
12464 display is about the height of the frame's default font.
12465 (Bug#14567)
12466
12467 2013-06-15 Glenn Morris <rgm@gnu.org>
12468
12469 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
12470 compilation-error-regexp-alist void, or local while let-bound.
12471
12472 * progmodes/make-mode.el (makefile-mode-syntax-table):
12473 Treat "=" as punctuation. (Bug#14614)
12474
12475 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
12476
12477 * help-fns.el (describe-variable):
12478 Add extra line for permanent-local variables.
12479
12480 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
12481
12482 * progmodes/scheme.el (scheme-font-lock-keywords-2):
12483 Add export, import, library. (Bug#9164)
12484 (library): Set indent function.
12485
12486 2013-06-14 Glenn Morris <rgm@gnu.org>
12487
12488 * term/xterm.el (xterm--query):
12489 Stop after first matching handler. (Bug#14615)
12490
12491 2013-06-14 Ivan Kanis <ivan@kanis.fr>
12492
12493 Add support for dired in saveplace.
12494 * dired.el (dired-initial-position-hook): New variable.
12495 (dired-initial-position): Call hook to place cursor position.
12496 * saveplace.el (save-place-to-alist): Add dired position.
12497 (save-place-dired-hook): New function.
12498
12499 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
12500
12501 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
12502 through a symbol rather than letrec.
12503
12504 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
12505 (package-desc): Add `dir' field.
12506 (package-desc-full-name): New function.
12507 (package-load-descriptor): Combine the two arguments. Don't use `load'.
12508 (package-maybe-load-descriptor): Remove.
12509 (package-load-all-descriptors): Just call package-load-descriptor.
12510 (package--disabled-p): New function.
12511 (package-desc-vers, package-desc-doc): Remove aliases.
12512 (package--dir): Remove function.
12513 (package-activate): Check if a package is disabled.
12514 (package-process-define-package): New function, extracted from
12515 define-package.
12516 (define-package): Turn into a place holder.
12517 (package-unpack-single, package-tar-file-info):
12518 Use package--description-file.
12519 (package-compute-transaction): Use package--disabled-p.
12520 (package-download-transaction): Don't call
12521 package-maybe-load-descriptor since they're all loaded anyway.
12522 (package-install): Change argument to be a pkg-desc.
12523 (package-delete): Use a single pkg-desc argument.
12524 (describe-package-1): Use package-desc-dir instead of package--dir.
12525 Use package-desc property instead of package-symbol.
12526 (package-install-button-action): Adjust accordingly.
12527 (package--push): Rewrite.
12528 (package-menu--print-info): Adjust accordingly. Change the ID format
12529 to be a pkg-desc.
12530 (package-menu-describe-package, package-menu-get-status)
12531 (package-menu--find-upgrades, package-menu-mark-upgrades)
12532 (package-menu-execute, package-menu--name-predicate):
12533 Adjust accordingly.
12534 * startup.el (package--description-file): New function.
12535 (command-line): Use it.
12536 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12537 Use package-desc-version.
12538
12539 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
12540 (byte-compile-preprocess): Use it.
12541 (byte-compile-file-form-defalias): Try a bit harder to use macros we
12542 can't quite recognize.
12543 (byte-compile-add-to-list): Remove.
12544 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
12545 (cconv-closure-convert): Add assertion.
12546
12547 * emacs-lisp/map-ynp.el: Use lexical-binding.
12548 (map-y-or-n-p): Remove unused vars `tail' and `object'.
12549 Factor out some repeated code.
12550
12551 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12552
12553 * subr.el (with-eval-after-load): New macro.
12554 (eval-after-load): Allow form to be a function.
12555 take advantage of lexical-binding.
12556 (do-after-load-evaluation): Use dolist and adjust to new format.
12557 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
12558
12559 2013-06-13 Juri Linkov <juri@jurta.org>
12560
12561 * replace.el (perform-replace): Display "symbol " and other search
12562 modes from `isearch-message-prefix' in the *Help* buffer.
12563
12564 * isearch.el (isearch-query-replace): Add " symbol" and other
12565 possible search modes from `isearch-message-prefix' to the prompt.
12566 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
12567 when reading a regexp to collect.
12568
12569 2013-06-13 Juri Linkov <juri@jurta.org>
12570
12571 * isearch.el (word-search-regexp): Match whitespace if the search
12572 string begins or ends in whitespace. The LAX arg is applied to
12573 both ends of the search string. Use `regexp-quote' and explicit
12574 \< and \> instead of \b. Use \` and \' instead of ^ and $.
12575 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
12576 boundaries are replaced with symbol boundaries, and characters
12577 between symbols match non-word non-symbol syntax. (Bug#14602)
12578
12579 2013-06-13 Juri Linkov <juri@jurta.org>
12580
12581 * isearch.el (isearch-del-char): Don't exceed the length of
12582 `isearch-string' by the prefix arg. (Bug#14563)
12583
12584 2013-06-13 Juri Linkov <juri@jurta.org>
12585
12586 * isearch.el (isearch-yank-word, isearch-yank-line)
12587 (isearch-char-by-name, isearch-quote-char)
12588 (isearch-printing-char, isearch-process-search-char):
12589 Add optional count prefix arg. (Bug#14563)
12590
12591 * international/isearch-x.el
12592 (isearch-process-search-multibyte-characters):
12593 Add optional count prefix arg.
12594
12595 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12596
12597 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
12598 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
12599 lexical-binding.
12600
12601 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
12602
12603 * subr.el (set-temporary-overlay-map): Add on-exit argument.
12604
12605 2013-06-13 Glenn Morris <rgm@gnu.org>
12606
12607 * startup.el (tty-handle-args):
12608 Don't just discard "--" and anything after. (Bug#14608)
12609
12610 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
12611
12612 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
12613
12614 Implement changes in Secret Service API. Make it backward compatible.
12615 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
12616 (secrets-create-item): Use it. Prefix properties with interface.
12617
12618 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
12619
12620 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
12621 (term-emulate-terminal): Respect term-suppress-hard-newline.
12622
12623 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
12624
12625 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
12626 Only remove a `thumb-file' overlay. (Bug#14548)
12627
12628 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
12629
12630 * mail/reporter.el (reporter-submit-bug-report):
12631 Handle missing package-name. (Bug#14600)
12632
12633 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12634
12635 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
12636 (reftex-citation-prompt, reftex-default-bibliography)
12637 (reftex-bib-or-thebib, reftex-get-bibfile-list)
12638 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
12639 (reftex-bib-sort-author, reftex-bib-sort-year)
12640 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
12641 (reftex-extract-bib-entries-from-thebibliography)
12642 (reftex-get-bibkey-default, reftex-get-bib-names)
12643 (reftex-parse-bibtex-entry, reftex-get-bib-field)
12644 (reftex-format-bib-entry, reftex-parse-bibitem)
12645 (reftex-format-bibitem, reftex-do-citation)
12646 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
12647 (reftex-restrict-bib-matches, reftex-extract-bib-file)
12648 (reftex-insert-bib-matches, reftex-format-citation)
12649 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
12650 (reftex-create-bibtex-file): Add docstrings, mostly by converting
12651 existing comments into docstrings.
12652
12653 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
12654
12655 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
12656
12657 2013-06-12 Andreas Schwab <schwab@suse.de>
12658
12659 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
12660 for auto-save files.
12661
12662 2013-06-12 Glenn Morris <rgm@gnu.org>
12663
12664 * ido.el (ido-delete-ignored-files): Remove.
12665 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
12666 Go back to calling ido-ignore-item-p directly.
12667
12668 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
12669
12670 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
12671
12672 * ido.el (ido-delete-ignored-files): New function,
12673 split from ido-make-file-list-1.
12674 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
12675 (ido-make-file-list-1): Use ido-delete-ignored-files.
12676
12677 2013-06-12 Leo Liu <sdl.web@gmail.com>
12678
12679 * progmodes/octave.el (inferior-octave-startup)
12680 (inferior-octave-completion-table)
12681 (inferior-octave-track-window-width-change)
12682 (octave-eldoc-function-signatures, octave-help)
12683 (octave-find-definition): Use single quoted strings.
12684 (inferior-octave-startup-args): Change default value.
12685 (inferior-octave-startup): Do not hard code "-i" and
12686 "--no-line-editing".
12687 (inferior-octave-resync-dirs): Add optional arg NOERROR.
12688 (inferior-octave-directory-tracker): Use it.
12689 (octave-goto-function-definition): Robustify.
12690 (octave-help): Support highlighting operators in 'See also'.
12691 (octave-find-definition): Find subfunctions only in Octave mode.
12692
12693 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12694
12695 * help-fns.el (help-fns--compiler-macro): If the handler function is
12696 named, then put a link to it.
12697 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
12698 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
12699 (cl-typep): Use it.
12700 (cl-eval-when): Simplify debug spec.
12701 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
12702 compiler-macro function instead of setting `compiler-macro-file'.
12703
12704 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
12705
12706 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
12707 * vc/vc-hooks.el (vc-stay-local): Doc fix.
12708
12709 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12710 Daniel Hackney <dan@haxney.org>
12711
12712 First part of Daniel Hackney's patch to package.el.
12713 * emacs-lisp/package.el: Use defstruct.
12714 (package-desc): New, main struct.
12715 (package--bi-desc, package--ac-desc): New structs, used to describe the
12716 format in external files.
12717 (package-desc-vers): Replace with package-desc-version accessor.
12718 (package-desc-doc): Replace with package-desc-summary accessor.
12719 (package-activate-1): Remove `package' arg since the pkg-vec now
12720 includes the name.
12721 (define-package): Use package-desc-from-define.
12722 (package-unpack-single): Change file-name arg to be a symbol.
12723 (package--add-to-archive-contents): Use package-desc-create and new
12724 accessor functions to package--ac-desc.
12725 (package-buffer-info, package-tar-file-info): Return a package-desc.
12726 (package-install-from-buffer): Remove `type' argument. Change pkg-info
12727 arg to be a package-desc.
12728 (package-install-file): Adjust accordingly. Use \' to match EOS.
12729 (package--from-builtin): New function.
12730 (describe-package-1, package-menu--generate): Use it.
12731 (package--make-autoloads-and-compile): Change name arg to be a symbol.
12732 (package-generate-autoloads): Idem and return the name of the file.
12733 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12734 Change pkg-info arg to be a package-desc.
12735 Use package-make-ac-desc.
12736 (package-upload-file): Use \' to match EOS.
12737 * finder.el (finder-compile-keywords): Use package-make-builtin.
12738
12739 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12740
12741 * vc/vc.el (vc-deduce-fileset): Change error message.
12742 (vc-read-backend): New function.
12743 (vc-next-action): Use it.
12744
12745 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
12746
12747 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
12748 (prolog-font-lock-keywords): Use regexp-opt instead.
12749 Don't manually highlight strings.
12750 (prolog-mode-variables): Simplify comment-start-skip.
12751 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
12752
12753 * emacs-lisp/generic.el (generic--normalise-comments)
12754 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
12755 (generic-mode-set-comments): Use them.
12756 (generic-bracket-support): Use setq-local.
12757 (generic-make-keywords-list): Declare obsolete.
12758
12759 2013-06-11 Glenn Morris <rgm@gnu.org>
12760
12761 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12762 Prettify after setting font-lock-defaults. (Bug#14574)
12763
12764 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
12765
12766 * replace.el (query-replace, occur-read-regexp-defaults-function)
12767 (replace-search):
12768 * subr.el (declare-function, number-sequence, local-set-key)
12769 (substitute-key-definition, locate-user-emacs-file)
12770 (with-silent-modifications, split-string, eval-after-load):
12771 Fix typos, remove unneeded backslashes and reflow some docstrings.
12772
12773 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12774
12775 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
12776 default for Elisp files.
12777
12778 2013-06-11 Glenn Morris <rgm@gnu.org>
12779
12780 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
12781 although define-derived-mode was doing this anyway. (Bug#14583)
12782
12783 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
12784
12785 * allout.el (allout-encryption-plaintext-sanitization-regexps):
12786 Fix make-variable-buffer-local call to refer to the correct variable.
12787
12788 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
12789
12790 * eshell/em-term.el (eshell-visual-commands)
12791 (eshell-visual-subcommands, eshell-visual-options):
12792 Add summary line to docstrings. Add cross-references.
12793
12794 2013-06-10 Glenn Morris <rgm@gnu.org>
12795
12796 * epa.el (epa-read-file-name): New function. (Bug#14510)
12797 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
12798
12799 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
12800
12801 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
12802 output redirection to be ignored with visual commands.
12803
12804 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
12805
12806 * eshell/em-term.el (eshell-visual-command-p): New function.
12807 (eshell-term-initialize): Move long lambda to separate function
12808 eshell-visual-command-p.
12809 * eshell/em-dirs.el (eshell-dirs-initialize):
12810 * eshell/em-script.el (eshell-script-initialize):
12811 Add missing #' to lambda.
12812
12813 2013-06-08 Leo Liu <sdl.web@gmail.com>
12814
12815 * progmodes/octave.el (octave-add-log-current-defun): New function.
12816 (octave-mode): Set add-log-current-defun-function.
12817 (octave-goto-function-definition): Do not move point if not found.
12818 (octave-find-definition): Enhance to try subfunctions first.
12819
12820 2013-06-08 Glenn Morris <rgm@gnu.org>
12821
12822 * emacs-lisp/bytecomp.el (byte-compile-char-before)
12823 (byte-compile-backward-char, byte-compile-backward-word):
12824 Improve previous change, to handle non-explicit nil.
12825
12826 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12827
12828 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
12829 (smie--opener/closer-at-point): New function.
12830 (smie--matching-block-data): Use it. Don't match from right after an
12831 opener or right before a closer. Obey smie-blink-matching-inners.
12832 Don't signal a mismatch for repeated inners like "switch..case..case".
12833
12834 2013-06-07 Leo Liu <sdl.web@gmail.com>
12835
12836 * progmodes/octave.el (octave-mode): Set comment-use-global-state
12837 to t. (Bug#14303)
12838 (octave-function-header-regexp): Fix. (Bug#14570)
12839 (octave-help-mode-finish-hook, octave-help-mode-finish):
12840 Remove. Just use temp-buffer-show-hook.
12841
12842 * newcomment.el (comment-search-backward): Revert last change.
12843 (Bug#14434)
12844
12845 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
12846
12847 2013-06-07 Eli Zaretskii <eliz@gnu.org>
12848
12849 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
12850 through xargs, to avoid failure due to MS-Windows limitations on
12851 command-line length.
12852
12853 2013-06-06 Glenn Morris <rgm@gnu.org>
12854
12855 * font-lock.el (lisp-font-lock-keywords-2):
12856 Treat user-error like error.
12857
12858 * emacs-lisp/bytecomp.el (byte-compile-char-before)
12859 (byte-compile-backward-char, byte-compile-backward-word):
12860 Handle explicit nil arguments. (Bug#14565)
12861
12862 2013-06-05 Alan Mackenzie <acm@muc.de>
12863
12864 * isearch.el (isearch-allow-prefix): New user option.
12865 (isearch-other-meta-char): Don't exit isearch when a prefix
12866 argument is typed whilst `isearch-allow-prefix' is non-nil.
12867 (Bug#9706)
12868
12869 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12870
12871 * autorevert.el (auto-revert-notify-handler): Use memq.
12872 Hide assertion failure.
12873
12874 * skeleton.el: Use cl-lib.
12875 (skeleton-further-elements): Use defvar-local.
12876 (skeleton-insert): Use cl-progv.
12877
12878 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
12879
12880 * progmodes/prog-mode.el (prog-prettify-symbols)
12881 (prog-prettify-install): Update docstrings.
12882
12883 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12884
12885 * simple.el: Move all the prog-mode code to prog-mode.el.
12886 * progmodes/prog-mode.el: New file.
12887 * loadup.el: Add prog-mode.el.
12888
12889 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
12890
12891 * simple.el (prog-prettify-symbols): Add version.
12892 (prog-prettify-install): Add convenience function to prettify symbols.
12893
12894 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
12895 (perl--augmented-font-lock-keywords-1)
12896 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
12897 variables and use it.
12898
12899 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
12900 (cfengine3-mode): Remove unneeded variable and use it.
12901
12902 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
12903 (lisp--augmented-font-lock-keywords-1)
12904 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
12905 Remove unneeded variables and use it.
12906
12907 2013-06-05 João Távora <joaotavora@gmail.com>
12908
12909 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
12910 to point when opening the connection. (Bug#14380)
12911
12912 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12913
12914 * subr.el (load-history-regexp, load-history-filename-element)
12915 (eval-after-load, after-load-functions, do-after-load-evaluation)
12916 (eval-next-after-load, display-delayed-warnings)
12917 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
12918 definition of save-match-data.
12919 (overriding-local-map): Remove accidental obsolescence declaration.
12920
12921 * emacs-lisp/edebug.el (edebug-result): Move before first use.
12922
12923 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
12924
12925 Generalize symbol prettify support to prog-mode and implement it
12926 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
12927 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
12928 (prog--prettify-font-lock-compose-symbol)
12929 (prog-prettify-font-lock-symbols-keywords): New variables and
12930 functions to support symbol prettification.
12931 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
12932 (lisp--augmented-font-lock-keywords-1)
12933 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
12934 (lisp--prettify-symbols-alist): Implement prettify of lambda.
12935 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
12936 (cfengine3--prettify-symbols-alist, cfengine3-mode):
12937 Implement prettify of -> => :: strings.
12938 * progmodes/perl-mode.el (perl-prettify-symbols)
12939 (perl--font-lock-compose-symbol)
12940 (perl--font-lock-symbols-keywords): Move to prog-mode.
12941 (perl--prettify-symbols-alist): Prettify -> => :: strings.
12942 (perl-font-lock-keywords-1)
12943 (perl-font-lock-keywords-2): Remove explicit prettify support.
12944 (perl--augmented-font-lock-keywords)
12945 (perl--augmented-font-lock-keywords-1)
12946 (perl--augmented-font-lock-keywords-2, perl-mode):
12947 Implement prettify support.
12948
12949 2013-06-05 Leo Liu <sdl.web@gmail.com>
12950
12951 Re-implement SMIE matching block highlight using
12952 show-paren-data-function. (Bug#14395)
12953 * emacs-lisp/smie.el (smie-matching-block-highlight)
12954 (smie--highlight-matching-block-overlay)
12955 (smie--highlight-matching-block-lastpos)
12956 (smie-highlight-matching-block)
12957 (smie-highlight-matching-block-mode): Remove.
12958 (smie--matching-block-data-cache): New variable.
12959 (smie--matching-block-data): New function.
12960 (smie-setup): Use smie--matching-block-data for
12961 show-paren-data-function.
12962
12963 * progmodes/octave.el (octave-mode-menu): Fix.
12964 (octave-find-definition): Skip garbage lines.
12965
12966 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12967
12968 Fix compilation error with simultaneous dynamic+lexical scoping.
12969 Add warning when a defvar appears after the first let-binding.
12970 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
12971 (byte-compile-close-variables): Initialize it.
12972 (byte-compile--declare-var): New function.
12973 (byte-compile-file-form-defvar)
12974 (byte-compile-file-form-define-abbrev-table)
12975 (byte-compile-file-form-custom-declare-variable): Use it.
12976 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
12977 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
12978 (byte-compile-bind): Handle dynamic bindings that shadow
12979 lexical bindings.
12980 (byte-compile-unbind): Make arg non-optional.
12981 (byte-compile-let): Simplify.
12982 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
12983 (cconv--analyse-function, cconv-analyse-form): Populate it.
12984 Protect byte-compile-bound-variables to limit the scope of defvars.
12985 (cconv-analyse-form): Add missing rule for (defvar <foo>).
12986 Remove unneeded rule for `declare'.
12987
12988 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
12989 so as to avoid depending on cl-adjoin at run-time.
12990 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
12991
12992 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
12993 (macroexp--warn-and-return): Use it.
12994
12995 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12996
12997 * subr.el: Convert to lexical binding.
12998 (overriding-local-map): Make obsolete.
12999 (add-to-list): Doc fix. Add compiler macro.
13000 (read-key): Swap values of local maps.
13001
13002 2013-06-05 Leo Liu <sdl.web@gmail.com>
13003
13004 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
13005
13006 2013-06-04 Leo Liu <sdl.web@gmail.com>
13007
13008 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
13009 (compilation-auto-jump): Suppress the "Mark set" message to give
13010 way to exit message.
13011
13012 2013-06-04 Alan Mackenzie <acm@muc.de>
13013
13014 Remove faulty optimisation from indentation calculation.
13015 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
13016 search limit based on 2000 characters back from indent-point.
13017
13018 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13019
13020 * eshell/em-term.el (cl-lib): Require `cl-lib'.
13021
13022 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
13023
13024 * emacs-lisp/lisp.el: Use lexical-binding.
13025 (lisp--local-variables-1, lisp--local-variables): New functions.
13026 (lisp--local-variables-completion-table): New var.
13027 (lisp-completion-at-point): Use it complete let-bound vars.
13028
13029 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
13030 eagerly (bug#14422).
13031
13032 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
13033
13034 * autorevert.el (auto-revert-notify-enabled)
13035 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
13036 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
13037 (auto-revert-notify-handler): Handle also gfilenotify.
13038
13039 * subr.el (file-notify-handle-event): New defun. Replacing ...
13040 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
13041 Remove.
13042
13043 2013-06-03 Juri Linkov <juri@jurta.org>
13044
13045 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
13046 `M-s h .'. (Bug#14427)
13047
13048 * hi-lock.el (highlight-symbol-at-point): New alias for the new
13049 command `hi-lock-face-symbol-at-point'.
13050 (hi-lock-face-symbol-at-point): New command.
13051 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
13052 (hi-lock-menu): Add `highlight-symbol-at-point'.
13053 (hi-lock-mode): Doc fix.
13054
13055 * isearch.el (isearch-forward-symbol-at-point): New command.
13056 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
13057 (isearch-highlight-regexp): Add a regexp which matches
13058 words/symbols for word/symbol mode.
13059
13060 * subr.el (find-tag-default-bounds): New function with the body
13061 mostly moved from `find-tag-default'.
13062 (find-tag-default): Move most code to `find-tag-default-bounds',
13063 call it and apply `buffer-substring-no-properties' afterwards.
13064
13065 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13066
13067 * eshell/em-term.el (eshell-term-initialize):
13068 Use `cl-intersection' rather than `intersection'.
13069
13070 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
13071
13072 * vc/log-view.el: Doc fix.
13073 (log-view-mode-map): Copy keymap from `special-mode-map'.
13074
13075 2013-06-02 Eric Ludlam <zappo@gnu.org>
13076
13077 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
13078 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
13079 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
13080 (eieio-unbound, eieio-default-superclass)
13081 (eieio--define-field-accessors, method-static, method-before)
13082 (method-primary, method-after, method-num-lists)
13083 (method-generic-before, method-generic-primary)
13084 (method-generic-after, method-num-slots)
13085 (eieio-specialized-key-to-generic-key)
13086 (eieio--check-type, class-v, class-p)
13087 (eieio-class-name, define-obsolete-function-alias)
13088 (eieio-class-parents-fast, eieio-class-children-fast)
13089 (same-class-fast-p, class-constructor, generic-p)
13090 (generic-primary-only-p, generic-primary-only-one-p)
13091 (class-option-assoc, class-option, eieio-object-p)
13092 (class-abstract-p, class-method-invocation-order)
13093 (eieio-defclass-autoload-map, eieio-defclass-autoload)
13094 (eieio-class-un-autoload, eieio-defclass)
13095 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
13096 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
13097 (eieio--defgeneric-init-form, eieio-defgeneric-form)
13098 (eieio-defgeneric-reset-generic-form)
13099 (eieio-defgeneric-form-primary-only)
13100 (eieio-defgeneric-reset-generic-form-primary-only)
13101 (eieio-defgeneric-form-primary-only-one)
13102 (eieio-defgeneric-reset-generic-form-primary-only-one)
13103 (eieio-unbind-method-implementations)
13104 (eieio--defmethod, eieio--typep)
13105 (eieio-perform-slot-validation, eieio-validate-slot-value)
13106 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
13107 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
13108 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
13109 (eieio-slot-name-index, eieio-class-slot-name-index)
13110 (eieio-set-defaults, eieio-initarg-to-attribute)
13111 (eieio-attribute-to-initarg, eieio-c3-candidate)
13112 (eieio-c3-merge-lists, eieio-class-precedence-c3)
13113 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
13114 (eieio-class-precedence-list, eieio-generic-call-methodname)
13115 (eieio-generic-call-arglst, eieio-generic-call-key)
13116 (eieio-generic-call-next-method-list)
13117 (eieio-pre-method-execution-functions, eieio-generic-call)
13118 (eieio-generic-call-primary-only, eieiomt-method-list)
13119 (eieiomt-optimizing-obarray, eieiomt-install)
13120 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
13121 (eieio-generic-form, eieio-defmethod, make-obsolete)
13122 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
13123 (defclass): Remove `eval-and-compile' from macro.
13124 (call-next-method, shared-initialize): Instead of using
13125 `scoped-class' variable, use new eieio--scoped-class, and
13126 eieio--with-scoped-class.
13127 (initialize-instance): Rename local variable 'scoped-class' to
13128 'this-class' to remove ambiguitity from old global.
13129
13130 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
13131 eieio.el.
13132 (eieio--scoped-class-stack): New variable.
13133 (eieio--scoped-class): New fcn.
13134 (eieio--with-scoped-class): New scoping macro.
13135 (eieio-defclass): Use pushnew instead of add-to-list.
13136 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
13137 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
13138 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
13139 `scoped-class' variable, use new eieio--scoped-class, and
13140 eieio--with-scoped-class.
13141
13142 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
13143
13144 2013-06-02 Tassilo Horn <tsdh@gnu.org>
13145
13146 * eshell/esh-ext.el (eshell-external-command): Pass args to
13147 `eshell-find-interpreter'.
13148 (eshell-find-interpreter): Add new second parameter ARGS.
13149
13150 * eshell/em-script.el (eshell-script-initialize): Add second arg
13151 to the function added as MATCH to `eshell-interpreter-alist'.
13152
13153 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
13154 the function added as MATCH to `eshell-interpreter-alist'.
13155
13156 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
13157 (eshell-visual-options): New defcustom.
13158 (eshell-escape-control-x): Adapt docstring.
13159 (eshell-term-initialize): Test `eshell-visual-subcommands' and
13160 `eshell-visual-options' in addition to `eshell-visual-commands'.
13161 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
13162
13163 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
13164
13165 * progmodes/python.el (python-indent-block-enders): Add break,
13166 continue and raise keywords.
13167
13168 2013-06-01 Glenn Morris <rgm@gnu.org>
13169
13170 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
13171
13172 Plain (f)boundp silences compilation warnings since Emacs 22.1.
13173 * progmodes/cc-cmds.el (delete-forward-p):
13174 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
13175 * progmodes/cc-engine.el (buffer-syntactic-context):
13176 * progmodes/cc-fonts.el (face-property-instance):
13177 * progmodes/cc-mode.el (set-keymap-parents):
13178 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
13179 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
13180 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
13181 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
13182 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
13183
13184 * progmodes/cc-vars.el (other): Emacs has this widget since
13185 at least 21.1, so don't (re)define it.
13186
13187 * eshell/em-cmpl.el (eshell-cmpl-initialize):
13188 Replace the obsolete alias pcomplete-arg-quote-list.
13189
13190 2013-06-01 Leo Liu <sdl.web@gmail.com>
13191
13192 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
13193 punctuation syntax.
13194 (inferior-octave-minimal-columns)
13195 (inferior-octave-last-column-width): New variables.
13196 (inferior-octave-track-window-width-change): New function.
13197 (inferior-octave-mode): Adjust column width so that Octave output,
13198 for example from 'ls', can fit into the window nicely.
13199
13200 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
13201
13202 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13203 Highlight expansions inside regexp literals.
13204
13205 2013-05-31 Glenn Morris <rgm@gnu.org>
13206
13207 * obsolete/sym-comp.el (symbol-complete):
13208 Replace obsolete completion-annotate-function.
13209
13210 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
13211
13212 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
13213
13214 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13215 New function, checks if point is inside a literal that allows
13216 expression expansion.
13217 (ruby-syntax-propertize-expansion): Use it.
13218 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
13219 around the body.
13220
13221 2013-05-30 Juri Linkov <juri@jurta.org>
13222
13223 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
13224 to "\M-si".
13225 (isearch-invisible): New variable.
13226 (isearch-forward): Doc fix.
13227 (isearch-mode): Set `isearch-invisible'
13228 to the value of `search-invisible'.
13229 (isearch-toggle-case-fold): Doc fix.
13230 (isearch-toggle-invisible): New command.
13231 (isearch-query-replace): Let-bind `search-invisible'
13232 to the value of `isearch-invisible'.
13233 (isearch-search): Use `isearch-invisible' instead of
13234 `search-invisible'. Let-bind `search-invisible'
13235 to the value of `isearch-invisible'. (Bug#11378)
13236
13237 2013-05-30 Juri Linkov <juri@jurta.org>
13238
13239 * replace.el (perform-replace): Avoid `isearch-range-invisible'
13240 call when `query-flag' is nil and `search-invisible' is non-nil.
13241 (Bug#11746)
13242
13243 2013-05-30 Glenn Morris <rgm@gnu.org>
13244
13245 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
13246
13247 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
13248 (cc-require): Suppress spurious "noruntime" warnings.
13249 (cc-require-when-compile): Use fboundp, for sake of compiler.
13250
13251 * progmodes/cc-mode.el: Move load of cc-vars before that of
13252 cc-langs (which in turn loads cc-vars), to quieten compiler.
13253
13254 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13255
13256 * paren.el: Simplify the code.
13257 (show-paren-mode): Always start the timer.
13258 (show-paren--idle-timer): Rename from show-paren-idle-timer.
13259 (show-paren--overlay, show-paren--overlay-1): Rename from
13260 show-paren-overlay and show-paren-overlay-1, and initialize to an
13261 overlay rather than to nil.
13262 (show-paren-function): Misc cleanup and simplifications.
13263
13264 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13265
13266 * paren.el (show-paren-data-function): New hook.
13267 (show-paren--default): New function, extracted from show-paren-function.
13268 (show-paren-function): Use show-paren-data-function.
13269
13270 2013-05-30 Glenn Morris <rgm@gnu.org>
13271
13272 * ielm.el (ielm-map, ielm-complete-symbol):
13273 Use completion-at-point rather than obsolete functions.
13274 (inferior-emacs-lisp-mode): Doc fix.
13275 Set completion-at-point-functions, rather than
13276 comint-dynamic-complete-functions.
13277
13278 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
13279 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
13280 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
13281
13282 * image.el (image-animated-p): Tweak definition.
13283
13284 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
13285 (rlogin-process-connection-type): Tweak default. Add set-after.
13286 (rlogin-host): Doc fix.
13287 (rlogin): Tweak prompt.
13288 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
13289
13290 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
13291 * progmodes/tcl.el (inferior-tcl-mode-map):
13292 Use completion-at-point rather than obsolete alias.
13293
13294 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
13295
13296 * minibuffer.el (read-file-name-completion-ignore-case):
13297 Move before completion--in-region, for eager macro expansion.
13298
13299 2013-05-29 Juri Linkov <juri@jurta.org>
13300
13301 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
13302 for total count of matching lines. Add `global-matches' for total
13303 count of matches. Rename `matches' to `lines' for count of
13304 matching lines. Add `matches' for count of matches.
13305 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
13306 to `prev-line' for line number of prev match endpt.
13307 Increment `matches' for every match. Print the number of
13308 matching lines in the header.
13309 (occur-context-lines): Rename `lines' to `curr-line'.
13310 Rename `prev-lines' to `prev-line'. (Bug#14017)
13311
13312 2013-05-29 Juri Linkov <juri@jurta.org>
13313
13314 * replace.el (perform-replace): Add `skip-read-only-count',
13315 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
13316 Increment them for corresponding conditions and report the number
13317 of skipped occurrences in the final message. (Bug#11746)
13318 (query-replace, query-replace-regexp, query-replace-regexp-eval)
13319 (replace-string, replace-regexp): Doc fix.
13320
13321 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
13322
13323 * emacs-lisp/trace.el (trace--read-args): Provide a default.
13324
13325 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
13326 prog-mode-map (bug#14504).
13327
13328 2013-05-29 Leo Liu <sdl.web@gmail.com>
13329
13330 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
13331 (octave-help): Small simplification.
13332
13333 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
13334 off the highlight first.
13335
13336 2013-05-29 Glenn Morris <rgm@gnu.org>
13337
13338 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
13339 Handle idlwave-last-system-routine-info-cons-cell being nil.
13340
13341 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
13342 (idlwave-write-paths): Simplify via with-temp-buffer.
13343
13344 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
13345 * emulation/cua-rect.el: Also load cua-base at run time.
13346
13347 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
13348 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
13349 (cperl-imenu-on-info): Require imenu.
13350
13351 2013-05-28 Alan Mackenzie <acm@muc.de>
13352
13353 Handle "capitalised keywords" correctly.
13354 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
13355
13356 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
13357
13358 * eshell/em-unix.el: Add -r option to cp.
13359
13360 2013-05-28 Glenn Morris <rgm@gnu.org>
13361
13362 * vc/vc-arch.el (vc-exec-after): Declare.
13363 (vc-switches): Autoload.
13364 * vc/vc-bzr.el: No need to require vc when compiling.
13365 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
13366 (vc-resynch-buffer, vc-dir-refresh): Declare.
13367 (vc-setup-buffer, vc-switches): Autoload.
13368 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
13369 (vc-resynch-buffer): Declare.
13370 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
13371 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
13372 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
13373 (grep-read-regexp, grep-read-files, grep-expand-template)
13374 (vc-dir-refresh): Declare.
13375 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
13376 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
13377 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
13378 * vc/vc-mtn.el (vc-exec-after): Declare.
13379 (vc-switches): Autoload.
13380 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
13381 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
13382 (vc-file-tree-walk): Declare.
13383 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
13384 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
13385 (vc-tag-precondition, vc-rename-master): Autoload.
13386 * vc/vc-svn.el (vc-exec-after): Declare.
13387 (vc-switches, vc-setup-buffer): Autoload.
13388 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
13389 Autoload.
13390 (vc-resynch-buffer): Declare.
13391
13392 * obsolete/fast-lock.el (byte-compile-warnings):
13393 Don't warn about obsolete features in this obsolete file.
13394
13395 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
13396 Move definition before use.
13397
13398 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
13399 (dun-unix-verbs): Remove dun-zippy.
13400 (dun-zippy): Remove function.
13401
13402 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
13403
13404 2013-05-27 Juri Linkov <juri@jurta.org>
13405
13406 * replace.el (replace-search): New function with code moved out
13407 from `perform-replace'.
13408 (replace-highlight, replace-dehighlight): Move function definitions
13409 up closer to `replace-search'. (Bug#11746)
13410
13411 2013-05-27 Juri Linkov <juri@jurta.org>
13412
13413 * replace.el (perform-replace): Ignore invisible matches.
13414 In addition to checking `query-replace-skip-read-only', also
13415 filter out matches by calling `run-hook-with-args-until-failure'
13416 on `isearch-filter-predicates', and also check `search-invisible'
13417 for t or call `isearch-range-invisible'.
13418 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
13419
13420 2013-05-27 Juri Linkov <juri@jurta.org>
13421
13422 * isearch.el (isearch-filter-predicates): Rename from
13423 `isearch-filter-predicate'. Doc fix. (Bug#11378)
13424 (isearch-message-prefix): Display text from the property
13425 `isearch-message-prefix' of the currently active filters.
13426 (isearch-search): Don't compare `isearch-filter-predicate' with
13427 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
13428 on `isearch-filter-predicates'. Also check `search-invisible' for t
13429 or call `isearch-range-invisible'.
13430 (isearch-filter-visible): Make obsolete.
13431 (isearch-lazy-highlight-search):
13432 Call `run-hook-with-args-until-failure' on
13433 `isearch-filter-predicates' and use `isearch-range-invisible'.
13434
13435 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
13436 `isearch-filter-predicates' instead of `funcall'ing
13437 `isearch-filter-predicate'.
13438 (Info-mode): Set `Info-isearch-filter' to
13439 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
13440
13441 * dired-aux.el (dired-isearch-filter-predicate-orig):
13442 Remove variable.
13443 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
13444 (dired-isearch-filenames-end): Add and remove
13445 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
13446 instead of changing the value of `isearch-filter-predicate'.
13447 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
13448 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
13449 Put property `isearch-message-prefix' to "filename " on
13450 `dired-isearch-filter-filenames'.
13451
13452 * wdired.el (wdired-change-to-wdired-mode):
13453 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
13454 locally instead of changing `isearch-filter-predicate'.
13455 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
13456
13457 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
13458
13459 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
13460 return the commit hash (Bug#14459). Also set the
13461 `vc-git-detached' property.
13462 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
13463 (vc-git-mode-line-string): Use the same help-echo format whether
13464 in detached mode or not, because we know the actual revision now.
13465 When in detached mode, shorten the revision to 7 chars.
13466
13467 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13468
13469 * emacs-lisp/easy-mmode.el (define-minor-mode):
13470 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
13471 mode hook and provide a docstring.
13472
13473 2013-05-27 Alan Mackenzie <acm@muc.de>
13474
13475 Remove spurious syntax-table text properties inserted by C-y.
13476 * progmodes/cc-mode.el (c-after-change): Also clear hard
13477 syntax-table property with value nil.
13478
13479 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
13480
13481 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
13482 when reading the events; the buffer layout shall not be changed.
13483
13484 2013-05-27 Leo Liu <sdl.web@gmail.com>
13485
13486 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
13487 New variable.
13488 (inferior-octave-directory-tracker): Automatically re-sync
13489 default-directory.
13490 (octave-help): Improve handling of 'See also'.
13491
13492 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13493
13494 * doc-view.el: Minor naming convention tweaks.
13495 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
13496
13497 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
13498 even if there's no `display' property yet (bug#14435).
13499
13500 2013-05-25 Eli Zaretskii <eliz@gnu.org>
13501
13502 * subr.el (unmsys--file-name): Rename from reveal-filename.
13503
13504 * Makefile.in (custom-deps, finder-data, autoloads)
13505 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
13506 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
13507 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
13508
13509 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13510
13511 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
13512 error-completion on the first 2 args of condition-case (bug#14446).
13513 Don't burp at EOB.
13514
13515 2013-05-25 Leo Liu <sdl.web@gmail.com>
13516
13517 * comint.el (comint-previous-matching-input): Do not flood the
13518 *Messages* buffer with trivial messages.
13519
13520 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13521
13522 * progmodes/flymake.el (flymake-nop): Don't return a string.
13523 (flymake-set-at): Fix typo.
13524
13525 * simple.el (read--expression): New function, extracted from
13526 eval-expression. Set completion-at-point-functions (bug#14465).
13527 (eval-expression, eval-minibuffer): Use it.
13528
13529 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
13530
13531 * progmodes/flymake.el (flymake-save-buffer-in-file)
13532 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
13533 (flymake-selected-frame, flymake-log, flymake-ins-after)
13534 (flymake-set-at, flymake-get-buildfile-from-cache)
13535 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
13536 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
13537 Refine the doc string.
13538 (flymake-get-file-name-mode-and-masks): Reformat.
13539 (flymake-get-real-file-name-function): Fix a minor bug.
13540
13541 2013-05-24 Juri Linkov <juri@jurta.org>
13542
13543 * progmodes/grep.el (grep-mode-font-lock-keywords):
13544 Support =linenumber= format used by git-grep for lines with
13545 function names. (Bug#13549)
13546
13547 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13548
13549 * progmodes/octave.el (octave-smie-rules): Return nil rather than
13550 0 after a semi-colon; it works better for smie-auto-fill.
13551 (octave--indent-new-comment-line): New function.
13552 (octave-indent-new-comment-line): Use it (indirectly).
13553 (octave-mode): Don't disable smie-auto-fill. Use add-function to
13554 modify comment-line-break-function.
13555
13556 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
13557 (smie-setup): Use add-function to set it.
13558
13559 2013-05-24 Sam Steingold <sds@gnu.org>
13560
13561 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
13562 argument (before the `interactive' argument).
13563
13564 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13565
13566 * image-mode.el (image-mode-winprops): Add winprops to
13567 image-mode-winprops-alist before running
13568 image-mode-new-window-functions.
13569 * doc-view.el (doc-view-new-window-function): Don't delay
13570 doc-view-goto-page via timers (bug#14435).
13571
13572 2013-05-24 Tassilo Horn <tsdh@gnu.org>
13573
13574 * doc-view.el: Integrate with desktop.el. (Bug#14435)
13575 (doc-view-desktop-save-buffer): New function.
13576 (doc-view-restore-desktop-buffer): New function.
13577 (desktop-buffer-mode-handlers):
13578 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
13579 handler.
13580 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
13581 `desktop-save-buffer' function.
13582
13583 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
13584
13585 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
13586 (tramp-gvfs-file-name-handler): Raise a user error when
13587 `tramp-gvfs-enabled' is nil.
13588 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
13589 Do not raise a user error when loading package. (Bug#14447)
13590
13591 * net/xesam.el: Move to obsolete/.
13592
13593 2013-05-24 Glenn Morris <rgm@gnu.org>
13594
13595 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
13596
13597 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
13598
13599 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
13600 (Info-find-node, Man-getpage-in-background): Declare.
13601
13602 * mail/unrmail.el (unrmail):
13603 Replace obsolete detect-coding-with-priority.
13604
13605 * net/socks.el (socks-split-string): Use this rather than split-string.
13606 (socks-nslookup-host): Update for above change.
13607 (dynamic-choice, s5-dynamic-choice-match)
13608 (s5-dynamic-choice-match-inline, s5-widget-value-create):
13609 Comment out unused code.
13610
13611 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
13612 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
13613 (gud-tooltip-echo-area): Make obsolete.
13614 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
13615
13616 * progmodes/js.el (js--optimize-arglist): Declare.
13617
13618 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
13619
13620 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
13621 (ediff-window-C): Declare.
13622
13623 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
13624 Tweak requires to silence compiler.
13625
13626 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
13627 (he-search-string, he-tried-table, he-expand-list)
13628 (he-init-string, he-string-member, he-substitute-string)
13629 (he-reset-string): Declare.
13630
13631 * obsolete/options.el (list-options): Use custom-variable-p,
13632 rather than obsolete alias.
13633
13634 2013-05-23 Sam Steingold <sds@gnu.org>
13635
13636 * simple.el (shell-command-on-region): Pass the `replace' argument
13637 down to `call-process-region' to comply with the doc as reported on
13638 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
13639
13640 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13641
13642 * emacs-lisp/smie.el (smie-indent-forward-token)
13643 (smie-indent-backward-token): Handle string tokens (bug#14381).
13644
13645 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13646
13647 * ielm.el (ielm-menu): New menu.
13648 (inferior-emacs-lisp-mode): Set comment-start.
13649
13650 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13651
13652 * textmodes/reftex.el (reftex-ref-style-toggle):
13653 Fix deactivate action.
13654
13655 * textmodes/reftex-vars.el (reftex-ref-style-alist):
13656 Add cleveref macros.
13657
13658 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
13659 Accept options for bibliography commands.
13660 * textmodes/reftex-vars.el (reftex-bibliography-commands):
13661 Add addbibresource. Basic Biblatex support.
13662
13663 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
13664
13665 * net/tramp-gvfs.el (top):
13666 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
13667 when loading package. (Bug#14447)
13668
13669 2013-05-23 Glenn Morris <rgm@gnu.org>
13670
13671 * progmodes/js.el: No need to load comint when compiling.
13672 (ring-insert, comint-send-string, comint-send-input)
13673 (comint-last-input-end, ido-chop): Declare.
13674
13675 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
13676 * vc/ediff-mult.el: Adjust requires.
13677 (ediff-directories-internal, ediff-directory-revisions-internal)
13678 (ediff-patch-file-internal): Declare.
13679 * vc/ediff-ptch.el: Adjust requires.
13680 (ediff-use-last-dir, ediff-buffers-internal): Declare.
13681 (ediff-find-file): Autoload.
13682 * vc/ediff-util.el: No need to load ediff when compiling.
13683 (ediff-regions-internal): Declare.
13684 * vc/ediff-wind.el: Adjust requires.
13685 (ediff-compute-toolbar-width): Define when compiling.
13686 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
13687 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
13688 (dired-get-filename, dired-get-marked-files)
13689 (ediff-last-dir-patch, ediff-patch-default-directory)
13690 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
13691 (ediff-patch-buffer-internal): Declare.
13692
13693 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
13694 (ispell-process, ispell-buffer-local-words, lm-summary)
13695 (lm-section-start, lm-section-end): Declare.
13696 (checkdoc-ispell-init): Simplify.
13697
13698 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
13699 (he-string-member, he-reset-string, he-substitute-string): Declare.
13700
13701 * eshell/em-ls.el: Adjust requires.
13702 (eshell-glob-regexp): Declare.
13703 * eshell/em-tramp.el: Adjust requires.
13704 (eshell-parse-command): Autoload.
13705 * eshell/em-xtra.el: Adjust requires.
13706 (eshell-parse-command): Autoload.
13707 * eshell/esh-ext.el: Adjust requires.
13708 (eshell-parse-command, eshell-close-handles): Autoload.
13709 * eshell/esh-io.el: Adjust requires.
13710 (eshell-output-filter): Autoload.
13711 * eshell/esh-util.el: No need to load tramp when compiling.
13712 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
13713 Declare.
13714 (eshell-parse-ange-ls): Require ange-ftp and tramp.
13715 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
13716 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
13717 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
13718 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
13719 * eshell/esh-opt.el, eshell/esh-proc.el:
13720 * eshell/esh-var.el: Adjust requires.
13721 * eshell/eshell.el: Do not require esh-util twice.
13722 (eshell-add-input-to-history): Declare.
13723 (eshell-command): Check history module is active before using it.
13724
13725 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
13726
13727 2013-05-22 Leo Liu <sdl.web@gmail.com>
13728
13729 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
13730
13731 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
13732
13733 * autorevert.el (auto-revert-notify-add-watch)
13734 (auto-revert-notify-handler): Add `attrib' for the inotify case,
13735 it indicates changes in file modification time.
13736
13737 2013-05-22 Glenn Morris <rgm@gnu.org>
13738
13739 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
13740 Always delete the autoloaded function from the noruntime and
13741 unresolved functions lists.
13742
13743 * allout.el: No need to load epa, epg, overlay when compiling.
13744 (epg-context-set-passphrase-callback, epg-list-keys)
13745 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
13746 (epg-key-user-id-list): Declare.
13747
13748 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
13749 (viper-set-parsing-style-toggling-macro)
13750 (viper-set-emacs-state-searchstyle-macros):
13751 Use called-interactively-p on Emacs.
13752 (viper-looking-back): Make it an obsolete alias. Update callers.
13753 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
13754 Use looking-back rather than viper-looking-back.
13755 (viper-tmp-insert-at-eob, viper-enlarge-region)
13756 (viper-read-string-with-history, viper-register-to-point)
13757 (viper-append-to-register, viper-change-state-to-vi)
13758 (viper-backward-char-carefully, viper-forward-char-carefully)
13759 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
13760 (viper-change-state-to-emacs): Declare.
13761 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
13762 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
13763 * emulation/viper-mous.el: Do not load viper-cmd.
13764 (viper-backward-char-carefully, viper-forward-char-carefully)
13765 (viper-forward-word, viper-adjust-window): Declare.
13766
13767 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
13768
13769 * progmodes/idlw-help.el (idlwave-help-fontify):
13770 Use called-interactively-p.
13771
13772 * term/w32console.el (w32-get-console-codepage)
13773 (w32-get-console-output-codepage): Declare.
13774
13775 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
13776 Remove unnecessary declarations.
13777 (dframe-message): Doc fix.
13778
13779 * info.el (dframe-select-attached-frame, dframe-current-frame):
13780 Declare.
13781
13782 * speedbar.el (speedbar-message): Make it an obsolete alias.
13783 Update all callers.
13784 (speedbar-with-attached-buffer)
13785 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
13786 (speedbar-with-writable): Use backquote.
13787 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
13788 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
13789 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
13790 rather than speedbar- aliases.
13791 * mail/rmail.el: Load dframe rather than speedbar when compiling.
13792 (speedbar-make-specialized-keymap, speedbar-insert-button)
13793 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
13794 (speedbar-do-function-pointer): Declare.
13795 (rmail-speedbar-button, rmail-speedbar-find-file)
13796 (rmail-speedbar-move-message):
13797 Use dframe-with-attached-buffer rather than speedbar- alias.
13798 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
13799 (dframe-message, speedbar-make-specialized-keymap)
13800 (speedbar-add-expansion-list, speedbar-mode-functions-list)
13801 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
13802 (speedbar-insert-button, dframe-select-attached-frame)
13803 (dframe-maybee-jump-to-attached-frame)
13804 (speedbar-change-initial-expansion-list)
13805 (speedbar-previously-used-expansion-list-name): Declare.
13806 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
13807 Use dframe-message, dframe-with-attached-buffer rather than
13808 speedbar- aliases.
13809 (gud-sentinel): Silence compiler.
13810 * progmodes/vhdl-mode.el (speedbar-refresh)
13811 (speedbar-do-function-pointer, speedbar-add-supported-extension)
13812 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
13813 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
13814 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
13815 (speedbar-file-lists, speedbar-make-tag-line)
13816 (speedbar-line-directory, speedbar-goto-this-file)
13817 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
13818 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
13819 (speedbar-make-button, speedbar-reset-scanners)
13820 (speedbar-files-item-info, speedbar-line-text)
13821 (speedbar-find-file-in-frame, speedbar-set-timer)
13822 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
13823 (speedbar-with-writable): Do not (re)define it.
13824 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
13825 rather than speedbar- alias.
13826
13827 2013-05-21 Leo Liu <sdl.web@gmail.com>
13828
13829 * progmodes/octave.el (octave-mode-menu): Update and re-organize
13830 menu items.
13831 (octave-mode): Tweak fill-nobreak-predicate.
13832 (inferior-octave-startup): Check process to avoid infinite loop.
13833 (inferior-octave): Pop to buffer first to show abornmal process
13834 exit information.
13835
13836 2013-05-21 Glenn Morris <rgm@gnu.org>
13837
13838 * printing.el (pr-menu-bar): Define when compiling.
13839
13840 2013-05-21 Leo Liu <sdl.web@gmail.com>
13841
13842 * progmodes/octave.el (octave-auto-fill): Remove.
13843 (octave-indent-new-comment-line): Improve.
13844 (octave-mode): Use auto fill mode through
13845 comment-line-break-function and fill-nobreak-predicate.
13846 (octave-goto-function-definition): Support DEFUN_DLD.
13847 (octave-beginning-of-defun): Small tweak.
13848 (octave-help): Show parent directory.
13849
13850 2013-05-21 Glenn Morris <rgm@gnu.org>
13851
13852 * files.el (dired-unmark):
13853 * progmodes/gud.el (gdb-input): Update declarations.
13854
13855 * calculator.el (electric, ehelp): No need to load when compiling.
13856 (Electric-command-loop, electric-describe-mode): Declare.
13857
13858 * doc-view.el (doc-view-current-converter-processes): Move before use.
13859
13860 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13861 Move MODE-set-explicitly definition before use.
13862
13863 * international/mule-diag.el (mule-diag):
13864 Don't use obsolete window-system-version.
13865
13866 * mail/feedmail.el (smtpmail): No need to load when compiling.
13867 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
13868
13869 * mail/mail-utils.el (rfc822): No need to load when compiling.
13870 (rfc822-addresses): Autoload it.
13871 (mail-strip-quoted-names): Trivial simplification.
13872
13873 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
13874 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
13875
13876 * net/snmp-mode.el (tempo): Don't duplicate requires.
13877
13878 * progmodes/prolog.el (info): No need to load when compiling.
13879 (comint): Require before shell requires it.
13880 (Info-goto-node): Autoload it.
13881 (Info-follow-nearest-node): Declare.
13882 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
13883
13884 * textmodes/artist.el (picture-mode-exit): Declare.
13885
13886 * textmodes/reftex-parse.el (reftex-parse-from-file):
13887 Trivial rewrite so the compiler can parse it better.
13888
13889 2013-05-20 Leo Liu <sdl.web@gmail.com>
13890
13891 * progmodes/octave.el (octave-help-mode-map)
13892 (octave-help-mode-finish-hook): New variables.
13893 (octave-help-mode, octave-help-mode-finish): New functions.
13894 (octave-help): Use octave-help-mode.
13895
13896 2013-05-20 Glenn Morris <rgm@gnu.org>
13897
13898 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
13899
13900 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
13901
13902 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
13903 start at point, so that expansion starting right after opening
13904 slash in a regexp is recognized.
13905 (ruby-syntax-before-regexp-re): New defvar, extracted from
13906 ruby-syntax-propertize-function. Since the value of this regexp
13907 is looked up at runtime now, we should be able to turn
13908 `ruby-syntax-methods-before-regexp' into a defcustom later.
13909 (ruby-syntax-propertize-function): Split regexp matching into two
13910 parts, for opening and closing slashes. That allows us to skip
13911 over string interpolations and support multiline regexps.
13912 Don't call `ruby-syntax-propertize-expansions', instead use another rule
13913 for them, which calls `ruby-syntax-propertize-expansion'.
13914 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
13915 call to `ruby-syntax-propertize-function'.
13916 (ruby-syntax-propertize-expansion): Extracted from
13917 `ruby-syntax-propertize-expansions'. Handles one expansion.
13918 (ruby-syntax-propertize-percent-literal): Leave point right after
13919 the percent symbol, so that the expression expansion rule can
13920 propertize the contents.
13921 (ruby-syntax-propertize-heredoc): Leave point at bol following the
13922 heredoc openers.
13923 (ruby-syntax-propertize-expansions): Remove.
13924
13925 2013-05-18 Juri Linkov <juri@jurta.org>
13926
13927 * man.el (Man-default-man-entry): Remove `-' from the end
13928 of the default value. (Bug#14400)
13929
13930 2013-05-18 Glenn Morris <rgm@gnu.org>
13931
13932 * comint.el (comint-password-prompt-regexp):
13933 Allow "password for XXX" where XXX contains colons (eg https://...).
13934
13935 2013-05-18 Leo Liu <sdl.web@gmail.com>
13936
13937 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
13938 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
13939 (octave-source-directories): Don't check process.
13940 (octave-source-directories, octave-find-definition): Doc fix.
13941
13942 2013-05-18 Glenn Morris <rgm@gnu.org>
13943
13944 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
13945 Remove backspace/delete bindings. (Bug#14392)
13946
13947 * cus-dep.el (custom-make-dependencies): Sort the output.
13948 (custom-versions-load-alist): Convert comment to doc.
13949
13950 2013-05-17 Leo Liu <sdl.web@gmail.com>
13951
13952 * newcomment.el (comment-search-backward): Stricter in finding
13953 comment start. (Bug#14303)
13954
13955 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
13956 (octave-comment-start-skip): Properly anchored.
13957
13958 2013-05-17 Leo Liu <sdl.web@gmail.com>
13959
13960 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
13961 Clean up when turned off. (Bug#14395)
13962 (smie--highlight-matching-block-overlay): No longer buffer-local.
13963 (smie-highlight-matching-block): Adjust.
13964
13965 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
13966
13967 Doc string fix for "nanoseconds" (Bug#14406).
13968 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
13969 Fix doc string typo that had "nanoseconds" instead of "microseconds".
13970
13971 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
13972
13973 * calc/calc-units.el (math-extract-units): Preserve powers
13974 of units.
13975
13976 2013-05-17 Leo Liu <sdl.web@gmail.com>
13977
13978 * subr.el (delete-consecutive-dups): New function.
13979 * ido.el (ido-set-matches-1): Use it.
13980 * progmodes/octave.el (inferior-octave-completion-table): Use it.
13981 * ido.el (ido-remove-consecutive-dups): Remove.
13982
13983 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13984
13985 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
13986 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
13987 regexp-opt's `words'.
13988
13989 2013-05-16 Leo Liu <sdl.web@gmail.com>
13990
13991 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
13992 (smie--highlight-matching-block-overlay)
13993 (smie--highlight-matching-block-lastpos)
13994 (smie--highlight-matching-block-timer): New variables.
13995 (smie-highlight-matching-block): New function.
13996 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
13997 (smie-setup): Conditionally enable smie-blink-matching-open.
13998
13999 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
14000
14001 Sync with upstream verilog-mode r840.
14002 * progmodes/verilog-mode.el (verilog-mode-version)
14003 (verilog-mode-release-date): Update.
14004 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
14005 (verilog-sig-tieoff): Fix string error on
14006 AUTORESET with colon define, bug594. Reported by Andrew Hou.
14007 (verilog-read-decls): Fix parameters confusing
14008 AUTOINST interfaces, bug565. Reported by Leith Johnson.
14009
14010 2013-05-16 Eli Zaretskii <eliz@gnu.org>
14011
14012 * subr.el (reveal-filename): New function.
14013
14014 * loadup.el: Compute Emacs executable versions on MS-Windows,
14015 where executables have the .exe extension. Add a hard link
14016 emacs-XX.YY.ZZ.exe on MS-Windows.
14017
14018 * Makefile.in (XARGS_LIMIT): New variable.
14019 (custom-deps, finder-data, autoloads)
14020 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14021 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14022 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
14023 (compile-main): Limit xargs according to $(XARGS_LIMIT).
14024
14025 2013-05-16 Leo Liu <sdl.web@gmail.com>
14026
14027 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
14028 (octave-mode-menu, octave-mode-map): Remove its uses.
14029
14030 2013-05-16 Reto Zimmermann <reto@gnu.org>
14031
14032 Sync with upstream vhdl mode v3.34.2.
14033 * progmodes/vhdl-mode.el: Use `push' throughout.
14034 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
14035 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
14036 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
14037 (vhdl-actual-generic-name): New option to derive actual generic name.
14038 (vhdl-port-paste-signals): Replace formal by actual generics.
14039 (vhdl-beautify): New name for old group vhdl-align. Update users.
14040 (vhdl-beautify-options): New option.
14041 (vhdl-last-input-event): New compat alias. Use throughout.
14042 (vhdl-goto-line): Replace user level function `goto-line'.
14043 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
14044 vhdl-fix-statement-buffer.
14045 (vhdl-create-mode-menu): Add some entries.
14046 (vhdl-align-region-groups): Respect vhdl-beautify-options.
14047 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
14048 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
14049 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
14050 to force statements on one line.
14051 (vhdl-remove-trailing-spaces-region):
14052 New, split from vhdl-remove-trailing-spaces.
14053 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
14054 Respect vhdl-beautify-options.
14055 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
14056 (vhdl-update-sensitivity-list): Not add with index if exists without.
14057 Not include array index with signal. Ignore keywords in comments.
14058 (vhdl-get-visible-signals): Regexp tweaks.
14059 (vhdl-template-component-inst): Handle empty library.
14060 (vhdl-template-type): Add template for 'enum' type.
14061 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
14062 Use vhdl-replace-string.
14063 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
14064 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
14065 (vhdl-speedbar-initialize): Update for above name change.
14066 (vhdl-compose-wire-components): Fix in handling of constants.
14067 (vhdl-error-regexp-emacs-alist): New variable.
14068 (vhdl-error-regexp-add-emacs): New function;
14069 adds support for new compile.el (Emacs 22+)
14070 (vhdl-generate-makefile-1): Change target order for single lib. units.
14071 Allow use of absolute file names.
14072
14073 2013-05-16 Leo Liu <sdl.web@gmail.com>
14074
14075 * simple.el (prog-indent-sexp): Indent enclosing defun.
14076
14077 2013-05-15 Glenn Morris <rgm@gnu.org>
14078
14079 * cus-start.el (show-trailing-whitespace): Move to editing basics.
14080 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
14081 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
14082 (whitespace-highlight): Move to whitespace group.
14083
14084 * comint.el (comint-source):
14085 * pcmpl-linux.el (pcmpl-linux):
14086 * shell.el (shell-faces):
14087 * eshell/esh-opt.el (eshell-opt):
14088 * international/ccl.el (ccl): Remove empty custom groups.
14089
14090 * completion.el (dynamic-completion-mode):
14091 * jit-lock.el (jit-lock-debug-mode):
14092 * minibuffer.el (completion-in-region-mode):
14093 * type-break.el (type-break-mode-line-message-mode)
14094 (type-break-query-mode):
14095 * emulation/tpu-edt.el (tpu-edt-mode):
14096 * progmodes/subword.el (global-subword-mode, global-superword-mode):
14097 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
14098 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
14099
14100 * term/xterm.el (xterm): Change parent group to terminals.
14101
14102 * master.el (master): Remove empty custom group.
14103 (master-mode): Remove unused :group argument.
14104 * textmodes/refill.el (refill): Remove empty custom group.
14105 (refill-mode): Remove unused :group argument.
14106
14107 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
14108
14109 * cus-dep.el: Provide a feature.
14110 (custom-make-dependencies): Ignore dotfiles (dir-locals).
14111 Don't mistakenly ignore files whose basenames match a basename
14112 from preloaded-file-list (eg cedet/ede/simple.el).
14113 Add a fallback method for getting :group.
14114
14115 2013-05-15 Juri Linkov <juri@jurta.org>
14116
14117 * isearch.el (isearch-char-by-name): Rename from
14118 `isearch-insert-char-by-name'. Doc fix.
14119 (isearch-forward): Mention `isearch-char-by-name' in
14120 the docstring. (Bug#13348)
14121
14122 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
14123 `exit-minibuffer' instead of
14124 `isearch-nonincremental-exit-minibuffer'.
14125 (isearch-edit-string): Remove mention of
14126 `isearch-nonincremental-exit-minibuffer' from docstring.
14127 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
14128 (isearch-forward-exit-minibuffer)
14129 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
14130
14131 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14132
14133 * loadup.el: Just use unversioned DOC.
14134
14135 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
14136 literals as extending to EOB.
14137 (nxml-last-fontify-end): Remove unused variable.
14138 (nxml-after-change1): Use with-silent-modifications.
14139 (nxml-extend-after-change-region): Simplify.
14140 (nxml-extend-after-change-region1): Remove function.
14141 (nxml-after-change1): Don't adjust for dependent regions.
14142 (nxml-fontify-matcher): Simplify.
14143 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
14144 (xmltok-add-dependent): Remove function.
14145 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
14146 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
14147 (xmltok-scan-prolog-after-processing-instruction-open): Treat
14148 unclosed <[[, <?, comment, and other literals as extending to EOB.
14149 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
14150 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
14151 Remove functions.
14152 (rng-do-some-validation-1): Don't mark dependent regions.
14153 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
14154 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
14155 (nxml-clear-dependent-regions): Remove functions.
14156 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
14157 (nxml-ensure-scan-up-to-date):
14158 Don't clear&mark dependent regions.
14159
14160 2013-05-15 Leo Liu <sdl.web@gmail.com>
14161
14162 * progmodes/octave.el (octave-goto-function-definition):
14163 Improve and fix callers.
14164
14165 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14166
14167 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
14168 the setter (bug#14387).
14169
14170 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
14171 surrounding group (bug#14402).
14172
14173 2013-05-14 Juri Linkov <juri@jurta.org>
14174
14175 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
14176 (Bug#14390)
14177
14178 2013-05-14 Glenn Morris <rgm@gnu.org>
14179
14180 * progmodes/f90.el (f90-imenu-generic-expression):
14181 Fix typo in 2013-05-08 change. (Bug#14402)
14182
14183 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14184
14185 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
14186 Remove signals for which replies are never received.
14187
14188 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14189
14190 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
14191 (gdb-handler-alist, gdb-handler-number): Remove variables.
14192 (gdb-handler-list): New variable.
14193 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
14194 (gdb-pending-handler-p, gdb-handle-reply)
14195 (gdb-remove-all-pending-triggers): New functions.
14196 (gdb-discard-unordered-replies): New defcustom.
14197 (gdb-handler): New defstruct.
14198 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
14199 instead of gdb-pending-triggers. Update docstring.
14200 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
14201 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
14202 (gdb-var-update-handler, def-gdb-auto-update-trigger)
14203 (def-gdb-auto-update-handler, gdb-get-changed-registers)
14204 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
14205 (gdb-frame-handler): Pending triggers are now automatically managed.
14206 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
14207 Remove argument.
14208 (gdb-input): Automatically handles pending triggers. Update docstring.
14209 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
14210 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
14211 Update comments.
14212 (gdb-done-or-error): Now use gdb-handle-reply.
14213
14214 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14215
14216 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
14217 gdb-debug-log.
14218
14219 2013-05-14 Glenn Morris <rgm@gnu.org>
14220
14221 * subr.el (user-emacs-directory-warning): New option.
14222 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
14223
14224 2013-05-14 Leo Liu <sdl.web@gmail.com>
14225
14226 * progmodes/octave.el (octave-font-lock-keywords): Fix error
14227 during redisplay.
14228 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
14229 (octave-font-lock-texinfo-comment): Fix invalid search bound
14230 error: wrong side of point.
14231
14232 2013-05-14 Glenn Morris <rgm@gnu.org>
14233
14234 * progmodes/flymake.el (flymake-xml-program): New option.
14235 (flymake-xml-init): Use it.
14236
14237 * term/xterm.el: Provide a feature.
14238
14239 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
14240
14241 2013-05-13 Glenn Morris <rgm@gnu.org>
14242
14243 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
14244 Add compat aliases as a hack workaround. (Bug#14384)
14245
14246 2013-05-13 Leo Liu <sdl.web@gmail.com>
14247
14248 * progmodes/octave.el (octave-indent-comment): Fix indentation for
14249 ###, and %!.
14250 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
14251 C-M-q.
14252 (octave-comment-start-skip): Include %!.
14253 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
14254
14255 2013-05-12 Leo Liu <sdl.web@gmail.com>
14256
14257 * progmodes/octave.el (inferior-octave-startup): Store the value
14258 of __octave_srcdir__ for octave-source-directories.
14259 (inferior-octave-check-process): New function refactored out of
14260 inferior-octave-send-list-and-digest.
14261 (octave-source-directories)
14262 (octave-find-definition-filename-function): New variables.
14263 (octave-source-directories)
14264 (octave-find-definition-default-filename): New functions.
14265 (octave-find-definition): Improve to find functions implemented in C++.
14266
14267 2013-05-12 Glenn Morris <rgm@gnu.org>
14268
14269 * calendar/diary-lib.el (diary-outlook-format-1):
14270 Don't include dayname in the output. (Bug#14349)
14271
14272 2013-05-11 Glenn Morris <rgm@gnu.org>
14273
14274 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
14275
14276 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
14277 Treat cc-provide like provide.
14278
14279 2013-05-11 Kevin Ryde <user42@zip.com.au>
14280
14281 * cus-dep.el (custom-make-dependencies):
14282 Use generated-autoload-load-name for the sake of files such
14283 such cedet/semantic/bovine/c.el, where the base file name
14284 is not in load-path. (Bug#5277)
14285
14286 2013-05-11 Glenn Morris <rgm@gnu.org>
14287
14288 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
14289 Provide features.
14290
14291 2013-05-11 Leo Liu <sdl.web@gmail.com>
14292
14293 * progmodes/octave.el (octave-indent-comment): Improve.
14294 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
14295 (octave-eldoc-function-signatures, octave-eldoc-function):
14296 New functions.
14297 (octave-mode, inferior-octave-mode): Add eldoc support.
14298
14299 2013-05-11 Richard Stallman <rms@gnu.org>
14300
14301 * epa.el (epa-decrypt-file): Take output file name as argument
14302 and read it using `interactive'.
14303
14304 2013-05-11 Leo Liu <sdl.web@gmail.com>
14305
14306 * progmodes/octave.el (octave-beginning-of-line)
14307 (octave-end-of-line): Check before using up-list because it jumps
14308 out of more syntactic contructs since moving to smie.
14309 (octave-indent-comment): New function.
14310 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
14311 (octave-begin-keywords, octave-end-keywords)
14312 (octave-reserved-words, octave-smie-bnf-table)
14313 (octave-smie-rules): Add new keywords from Octave 3.6.4.
14314
14315 2013-05-11 Glenn Morris <rgm@gnu.org>
14316
14317 * faces.el (internal-face-x-get-resource):
14318 * frame.el (ns-display-monitor-attributes-list):
14319 * calc/calc-aent.el (math-to-radians-2):
14320 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
14321 Fix declarations.
14322
14323 * calc/calc-menu.el: Make it loadable in isolation.
14324
14325 * net/eudcb-bbdb.el: Make it loadable without bbdb.
14326 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
14327 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
14328 (eudc-bbdb-query-internal): Require 'bbdb.
14329
14330 * lpr.el (lpr-headers-switches):
14331 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
14332
14333 * progmodes/sql.el (sql-login-params): Fix and improve :type.
14334
14335 * emulation/edt-mapper.el: In batch mode, error rather than hang.
14336
14337 * term.el (term-set-escape-char): Make it idempotent.
14338
14339 2013-05-10 Leo Liu <sdl.web@gmail.com>
14340
14341 * progmodes/octave.el (inferior-octave-completion-table):
14342 No longer a function and all uses changed. Use cache to speed up
14343 completion due to bug#11906.
14344 (octave-beginning-of-defun): Re-write to be more general.
14345
14346 2013-05-10 Glenn Morris <rgm@gnu.org>
14347
14348 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
14349
14350 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14351
14352 * comint.el (comint-redirect-send-command-to-process): Use :around
14353 rather than :override for comint-redirect-filter.
14354 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
14355 Call it instead of comint-redirect-original-filter-function (which
14356 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
14357
14358 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
14359
14360 * frame.el (display-monitor-attributes-list): Add NS case.
14361 (ns-display-monitor-attributes-list): Declare.
14362
14363 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
14364
14365 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
14366
14367 2013-05-09 Glenn Morris <rgm@gnu.org>
14368
14369 * international/fontset.el (vertical-centering-font-regexp):
14370 Set standard-value.
14371
14372 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
14373
14374 * bookmark.el (bookmark-search-delay):
14375 * cus-start.el (vertical-centering-font-regexp):
14376 * ps-mule.el (ps-mule-font-info-database-default):
14377 * ps-print.el (ps-default-fg, ps-default-bg):
14378 * type-break.el (type-break-good-break-interval):
14379 * whitespace.el (whitespace-indentation-regexp)
14380 (whitespace-space-after-tab-regexp):
14381 * emacs-lisp/testcover.el (testcover-1value-functions)
14382 (testcover-noreturn-functions, testcover-progn-functions)
14383 (testcover-prog1-functions):
14384 * emulation/viper-init.el (viper-emacs-state-cursor-color):
14385 * eshell/em-glob.el (eshell-glob-translate-alist):
14386 * play/tetris.el (tetris-tty-colors):
14387 * progmodes/cpp.el (cpp-face-default-list):
14388 * progmodes/flymake.el (flymake-allowed-file-name-masks):
14389 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
14390 (idlwave-help-browser-generic-args):
14391 * progmodes/make-mode.el (makefile-special-targets-list):
14392 * progmodes/python.el (python-shell-virtualenv-path):
14393 * progmodes/verilog-mode.el (verilog-active-low-regexp)
14394 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
14395 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
14396 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
14397 * textmodes/reftex-vars.el (reftex-format-label-function):
14398 * textmodes/remember.el (remember-diary-file): Fix custom types.
14399
14400 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
14401 Add :version.
14402
14403 2013-05-09 Leo Liu <sdl.web@gmail.com>
14404
14405 * progmodes/octave.el (inferior-octave-completion-at-point):
14406 Restore file completion. (Bug#14300)
14407 (inferior-octave-startup): Fix incorrect highlighting for the
14408 first prompt.
14409
14410 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14411
14412 * progmodes/ruby-mode.el: First cut at SMIE support.
14413 (ruby-use-smie): New var.
14414 (ruby-smie-grammar): New constant.
14415 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
14416 (ruby-smie--forward-token, ruby-smie--backward-token)
14417 (ruby-smie-rules): New functions.
14418 (ruby-mode-variables): Setup SMIE if applicable.
14419
14420 2013-05-08 Eli Zaretskii <eliz@gnu.org>
14421
14422 * simple.el (line-move-visual): Signal beginning/end of buffer
14423 only if vertical-motion moved less than it was requested. Avoids
14424 silly incorrect error messages when there are display strings with
14425 multiple newlines at EOL.
14426
14427 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14428
14429 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
14430 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
14431 (prolog-char-quote-workaround):
14432 * progmodes/cperl-mode.el (cperl-under-as-char):
14433 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
14434 Mark as obsolete.
14435 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
14436 their declaration.
14437 (vhdl-mode-syntax-table-init): Remove.
14438
14439 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
14440 last change.
14441
14442 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
14443 syntax for "_".
14444 (ld-script-font-lock-keywords):
14445 Change regexps to use things like \_< and \_>.
14446
14447 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
14448 Change all regexps to use things like \_< and \_>.
14449
14450 * progmodes/autoconf.el (autoconf-definition-regexp)
14451 (autoconf-font-lock-keywords, autoconf-current-defun-function):
14452 Handle a _ with symbol syntax.
14453 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
14454
14455 * progmodes/ada-mode.el (ada-mode-abbrev-table):
14456 Consolidate declaration.
14457 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
14458 the declaration.
14459 (ada-create-syntax-table): Remove.
14460 (ada-capitalize-word): Don't mess with the syntax of "_" since it
14461 already has the right syntax nowadays.
14462 (ada-goto-next-word): Don't change the syntax of "_".
14463
14464 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
14465 with-wrapper-hook.
14466
14467 2013-05-08 Sam Steingold <sds@gnu.org>
14468
14469 * thingatpt.el (thing-at-point): Accept optional second argument
14470 NO-PROPERTIES to strip the text properties from the return value.
14471 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
14472 to `thing-at-point' instead of stripping the properties ourselves.
14473 Also, when `thing-at-point' fails to find a url, prepend "http://"
14474 to the filename at point on the assumption that the user is
14475 pointing at something like gnu.org/gnu.
14476
14477 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
14478
14479 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
14480 * faces.el (crm-separator):
14481 Silence byte-compiler.
14482
14483 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
14484 (tool-bar-map): Remove unneeded defvars.
14485
14486 2013-05-08 Leo Liu <sdl.web@gmail.com>
14487
14488 Re-work a fix for bug#10994 based on Le Wang's patch.
14489 * ido.el (ido-remove-consecutive-dups): New helper.
14490 (ido-completing-read): Use it.
14491 (ido-chop): Revert fix for bug#10994.
14492
14493 2013-05-08 Adam Spiers <emacs@adamspiers.org>
14494
14495 * cus-edit.el (custom-save-variables):
14496 Pretty-print long values. (Bug#14187)
14497
14498 2013-05-08 Glenn Morris <rgm@gnu.org>
14499
14500 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
14501 (m4-mode-syntax-table): Init in the defvar.
14502 (m4-mode-abbrev-table): Let define-derived-mode define it.
14503
14504 2013-05-08 Tom Tromey <tromey@redhat.com>
14505
14506 * progmodes/m4-mode.el (m4-mode-syntax-table):
14507 Do not treat "_" as word constituent. (Bug#14167)
14508
14509 2013-05-07 Glenn Morris <rgm@gnu.org>
14510
14511 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
14512 Remove explicit eshell-isearch-cancel-map.
14513
14514 * progmodes/f90.el (f90-smart-end-names): New option.
14515 (f90-smart-end): Doc fix.
14516 (f90-end-block-optional-name): New constant.
14517 (f90-block-match): Respect f90-smart-end-names.
14518
14519 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14520
14521 * progmodes/octave.el (octave-smie-forward-token): Be more careful
14522 about implicit semi-colons (bug#14218).
14523
14524 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
14525
14526 * frame.el (display-monitor-attributes-list)
14527 (frame-monitor-attributes): New functions.
14528
14529 2013-05-06 Leo Liu <sdl.web@gmail.com>
14530
14531 * progmodes/octave.el (octave-syntax-propertize-function): Change
14532 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
14533 (octave-font-lock-keywords): Use octave-operator-regexp.
14534 (octave-completion-at-point): Rename from
14535 octave-completion-at-point-function.
14536 (inferior-octave-directory-tracker): Robustify.
14537 (octave-text-functions): Remove and fix its uses. No such things
14538 any more.
14539
14540 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14541
14542 * emacs-lisp/trace.el (trace--display-buffer): New function.
14543 (trace-make-advice): Use it.
14544
14545 2013-05-06 Juri Linkov <juri@jurta.org>
14546
14547 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
14548 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
14549 Doc fix.
14550 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
14551 in the help string. (Bug#12985)
14552
14553 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
14554
14555 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
14556
14557 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14558
14559 * progmodes/perl-mode.el: Add support for here documents.
14560 (perl-syntax-propertize-function): Match here-doc markers.
14561 (perl-syntax-propertize-special-constructs): Find their end.
14562 (perl-imenu-generic-expression): Use [:alnum:].
14563
14564 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
14565 (advice--add-function): Refresh the advice if already present
14566 (bug#14317).
14567
14568 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
14569
14570 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
14571
14572 2013-05-06 Glenn Morris <rgm@gnu.org>
14573
14574 * w32-fns.el (w32-charset-info-alist): Declare.
14575
14576 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
14577 of its defcustom properties.
14578 (eshell-cmpl-initialize): No need to load pcomplete.
14579
14580 * generic-x.el: No need to require comint when compiling.
14581
14582 * net/eudc-export.el: Make it loadable without bbdb.
14583 (top-level): Use require rather than load-library.
14584 (eudc-create-bbdb-record, eudc-bbdbify-phone)
14585 (eudc-batch-export-records-to-bbdb)
14586 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
14587 Require bbdb.
14588
14589 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14590
14591 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
14592 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
14593 some tweaks, instead.
14594
14595 2013-05-05 Leo Liu <sdl.web@gmail.com>
14596
14597 * progmodes/octave.el (octave-font-lock-keywords)
14598 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
14599 (inferior-octave-send-list-and-digest): Improve error message.
14600 (octave-mode, inferior-octave-mode): Use setq-local.
14601 (octave-help): Set info-lookup-mode.
14602
14603 2013-05-05 Richard Stallman <rms@gnu.org>
14604
14605 * vc/compare-w.el (compare-windows-whitespace):
14606 Treat no-break space as whitespace.
14607
14608 * mail/rmailsum.el (rmail-summary-rmail-update):
14609 Detect empty summary and don't change selected message.
14610 (rmail-summary-goto-msg): Likewise.
14611
14612 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
14613 Doc fixes, rename args.
14614
14615 2013-05-05 Alan Mackenzie <acm@muc.de>
14616
14617 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
14618
14619 2013-05-05 Juri Linkov <juri@jurta.org>
14620
14621 * info.el (Info-read-subfile): Use (point-min) instead of (point)
14622 to not add the length of the summary segment to the return value.
14623 (Bug#14125)
14624
14625 2013-05-05 Leo Liu <sdl.web@gmail.com>
14626
14627 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
14628 (inferior-octave-output-filter): Remove.
14629 (octave-send-region, inferior-octave-startup): Fix callers.
14630 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
14631 (octave-binary-file-extensions): New user variable.
14632 (octave-find-definition): Confirm if opening binary files.
14633 (octave-help-file): Use octave-find-definition to get the binary
14634 confirmation.
14635 (octave-help): Adjust for octave-help-file change.
14636
14637 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14638
14639 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
14640 Merge the two entries that handle function definitions.
14641 (pascal--syntax-propertize): New const.
14642 (pascal-mode): Use it. Use setq-local.
14643
14644 2013-05-04 Glenn Morris <rgm@gnu.org>
14645
14646 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
14647 (diary-from-outlook): Respect diary-from-outlook-function.
14648
14649 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14650
14651 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
14652 Move the declaration from C.
14653 (read-minibuffer, eval-minibuffer): Move from C.
14654 (completion-setup-function): Avoid minibuffer-completion-contents.
14655
14656 2013-05-03 Leo Liu <sdl.web@gmail.com>
14657
14658 * progmodes/octave.el (octave-font-lock-keywords): Do not
14659 dehighlight 'end' in comments or strings.
14660 (octave-completing-read, octave-goto-function-definition):
14661 New helpers.
14662 (octave-help-buffer): New user variable.
14663 (octave-help-file, octave-help-function): New button types.
14664 (octave-help): New command and bind it to C-h ;.
14665 (octave-find-definition): New command and bind it to M-.
14666 (user-error): Alias to error if not defined.
14667
14668 2013-05-02 Leo Liu <sdl.web@gmail.com>
14669
14670 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
14671 for \. (bug#14332)
14672 (octave-font-lock-keywords): Include [ and {.
14673
14674 2013-05-02 Leo Liu <sdl.web@gmail.com>
14675
14676 * progmodes/octave.el (inferior-octave-startup-file): Change default.
14677 (inferior-octave): Remove calling comint-mode and return the buffer.
14678 (inferior-octave-startup): Cosmetic changes.
14679
14680 2013-05-02 Leo Liu <sdl.web@gmail.com>
14681
14682 * progmodes/octave.el (octave-syntax-propertize-function):
14683 Include the case when ' is at line beginning. (Bug#14336)
14684
14685 2013-05-02 Glenn Morris <rgm@gnu.org>
14686
14687 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
14688 * desktop.el (vc-dir-mode): Just autoload it here.
14689
14690 2013-05-02 Alan Mackenzie <acm@muc.de>
14691
14692 Eliminate variable c-standard-font-lock-fontify-region-function.
14693 * progmodes/cc-mode.el
14694 (c-standard-font-lock-fontify-region-function): Remove.
14695 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
14696
14697 2013-05-01 Leo Liu <sdl.web@gmail.com>
14698
14699 * progmodes/octave.el: Compatible with older emacs-24 releases.
14700 (inferior-octave-has-built-in-variables): Remove. Built-in
14701 variables were removed from Octave in 2007.
14702 (inferior-octave-startup): Fix uses.
14703 (comint-line-beginning-position): Remove compatibility code for
14704 emacs 21.
14705
14706 2013-05-01 Juri Linkov <juri@jurta.org>
14707
14708 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
14709
14710 2013-05-01 Juri Linkov <juri@jurta.org>
14711
14712 * comint.el (comint-previous-matching-input): Don't print message
14713 "History item: %d" when `isearch-mode' is active.
14714 (comint-history-isearch-message): Print message "History item: %d"
14715 when `comint-input-ring-index' is not empty and this function is
14716 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
14717
14718 2013-05-01 Leo Liu <sdl.web@gmail.com>
14719
14720 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
14721 definitions. Use completion-at-point to insert keywords.
14722 (octave-abbrev-start): Remove.
14723 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
14724
14725 2013-04-30 Leo Liu <sdl.web@gmail.com>
14726
14727 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
14728 change.
14729
14730 2013-04-30 Alan Mackenzie <acm@muc.de>
14731
14732 Handle arbitrarily long C++ member initialisation lists.
14733 * progmodes/cc-engine.el (c-back-over-member-initializers):
14734 new function.
14735 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
14736 (most) member init lists.
14737
14738 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14739
14740 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
14741 variable.
14742
14743 2013-04-30 Leo Liu <sdl.web@gmail.com>
14744
14745 * progmodes/octave.el (octave-variables): Remove. No builtin
14746 variables any more. All converted to functions.
14747 (octave-font-lock-keywords, octave-completion-at-point-function):
14748 Fix uses.
14749 (octave-font-lock-texinfo-comment): New user variable.
14750 (octave-texinfo-font-lock-keywords): New variable for texinfo
14751 comment block.
14752 (octave-function-comment-block): New face.
14753 (octave-font-lock-texinfo-comment): New function.
14754 (octave-mode): Font lock texinfo comment block.
14755
14756 2013-04-29 Leo Liu <sdl.web@gmail.com>
14757
14758 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
14759 indexing expression.
14760 (octave-continuation-string): Do not use \.
14761 (inferior-octave-complete-impossible): Remove.
14762 (inferior-octave-completion-table)
14763 (inferior-octave-completion-at-point): Remove its uses.
14764 (inferior-octave-startup): completion_matches was introduced to
14765 Octave in 1996 so safe to assume it.
14766 (octave-function-file-comment): Improve to follow how Octave does it.
14767 (octave-update-function-file-comment): Tweak.
14768
14769 2013-04-29 Leo Liu <sdl.web@gmail.com>
14770
14771 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
14772 (inferior-octave-startup): Remove inferior-octave-startup-hook.
14773 (octave-function-file-comment): Fix typo.
14774 (octave-sync-function-file-names): Use read-char-choice.
14775
14776 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
14777
14778 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
14779 to t for the less important warnings.
14780
14781 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
14782
14783 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
14784
14785 2013-04-27 Glenn Morris <rgm@gnu.org>
14786
14787 * vc/log-view.el (log-view-current-entry):
14788 Treat "---" separator lines as part of the following rev. (Bug#14169)
14789
14790 2013-04-27 Juri Linkov <juri@jurta.org>
14791
14792 * subr.el (read-number): Doc fix about using it by interactive
14793 code letter `n'. (Bug#14254)
14794
14795 2013-04-27 Juri Linkov <juri@jurta.org>
14796
14797 * desktop.el (desktop-auto-save-timeout): New option.
14798 (desktop-file-checksum): New variable.
14799 (desktop-save): Add optional arg `auto-save' and don't auto-save
14800 if nothing changed.
14801 (desktop-auto-save-timer): New variable.
14802 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
14803 (after-init-hook): Call `desktop-auto-save-set-timer'.
14804 Suggested by Reuben Thomas <rrt@sc3d.org> in
14805 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
14806
14807 2013-04-27 Leo Liu <sdl.web@gmail.com>
14808
14809 * progmodes/octave.el (octave-function-file-p)
14810 (octave-skip-comment-forward, octave-function-file-comment)
14811 (octave-update-function-file-comment): New functions.
14812 (octave-mode-map): Bind C-c ; to
14813 octave-update-function-file-comment.
14814 (octave-mode-menu): Add octave-update-function-file-comment.
14815 (octave-mode, inferior-octave-mode): Fix doc-string.
14816 (octave-insert-defun): Conform to Octave's coding convention.
14817 (Bug#14285)
14818
14819 * files.el (basic-save-buffer): Don't let errors in
14820 before-save-hook prevent saving buffer.
14821
14822 2013-04-20 Roland Winkler <winkler@gnu.org>
14823
14824 * faces.el (read-face-name): Use completing-read if arg multiple
14825 is nil.
14826
14827 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
14828
14829 * ls-lisp.el (ls-lisp-insert-directory): If no files are
14830 displayed, move point to after the totals line.
14831 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
14832 for the details.
14833
14834 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
14835
14836 * emacs-lisp/package.el (package-autoload-ensure-default-file):
14837 Add current dir to the load-path.
14838 (package-generate-autoloads): Don't rely on
14839 autoload-ensure-default-file.
14840
14841 2013-04-26 Reuben Thomas <rrt@sc3d.org>
14842
14843 * textmodes/remember.el (remember-store-in-files): Document that
14844 the file name format is passed to `format-time-string'.
14845
14846 2013-04-26 Leo Liu <sdl.web@gmail.com>
14847
14848 * progmodes/octave.el (octave-sync-function-file-names): New function.
14849 (octave-mode): Use it in before-save-hook.
14850
14851 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
14852
14853 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
14854 (bug#14274).
14855
14856 * progmodes/octave.el (octave-smie-forward-token): Properly skip
14857 \n and comment, even if it's not an implicit ; (bug#14218).
14858
14859 2013-04-26 Glenn Morris <rgm@gnu.org>
14860
14861 * subr.el (read-number): Once more use `read' rather than
14862 `string-to-number', to trap non-numeric input. (Bug#14254)
14863
14864 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
14865
14866 * emacs-lisp/syntax.el (syntax-propertize-multiline):
14867 Use `syntax-multiline' text property consistently instead of
14868 `font-lock-multiline'. (Bug#14237)
14869
14870 2013-04-26 Glenn Morris <rgm@gnu.org>
14871
14872 * emacs-lisp/shadow.el (list-load-path-shadows):
14873 No longer necessary to check for duplicate simple.el, since
14874 2012-07-07 change to init_lread to not include installation lisp
14875 directories in load-path when running uninstalled. (Bug#14270)
14876
14877 2013-04-26 Leo Liu <sdl.web@gmail.com>
14878
14879 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
14880 (octave-mode, inferior-octave-mode): Use setq-local.
14881 (octave-not-in-string-or-comment-p): Rename to
14882 octave-in-string-or-comment-p.
14883 (octave-in-comment-p, octave-in-string-p)
14884 (octave-in-string-or-comment-p): Replace defsubst with defun.
14885
14886 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
14887
14888 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
14889
14890 2013-04-25 Bastien Guerry <bzg@gnu.org>
14891
14892 * textmodes/remember.el (remember-data-directory)
14893 (remember-directory-file-name-format): Fix custom types.
14894
14895 2013-04-25 Leo Liu <sdl.web@gmail.com>
14896
14897 * progmodes/octave.el (octave-completion-at-point-function):
14898 Make use of inferior octave process.
14899 (octave-initialize-completions): Remove.
14900 (inferior-octave-completion-table): New function.
14901 (inferior-octave-completion-at-point): Use it.
14902 (octave-completion-alist): Remove.
14903
14904 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14905
14906 * progmodes/opascal.el: Use font-lock and syntax-propertize.
14907 (opascal-mode-syntax-table): New var.
14908 (opascal-literal-kind, opascal-is-literal-end)
14909 (opascal-literal-token-at): Rewrite.
14910 (opascal--literal-start-re, opascal-font-lock-keywords)
14911 (opascal--syntax-propertize): New constants.
14912 (opascal-font-lock-defaults): Adjust.
14913 (opascal-mode): Use them. Set comment-<foo> variables as well.
14914 (delphi-comment-face, opascal-comment-face, delphi-string-face)
14915 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
14916 (delphi-other-face, opascal-other-face): Remove face variables.
14917 (opascal-save-state): Remove macro.
14918 (opascal-fontifying-progress-step): Remove constant.
14919 (opascal--ignore-changes): Remove var.
14920 (opascal-set-token-property, opascal-parse-next-literal)
14921 (opascal-is-stable-literal, opascal-complete-literal)
14922 (opascal-is-literal-start, opascal-face-of)
14923 (opascal-parse-region, opascal-parse-region-until-stable)
14924 (opascal-fontify-region, opascal-after-change)
14925 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
14926 (opascal-debug-parse-region, opascal-debug-parse-window)
14927 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
14928 (opascal-debug-fontify-buffer): Remove.
14929 (opascal-debug-mode-map): Adjust accordingly.
14930
14931 2013-04-25 Leo Liu <sdl.web@gmail.com>
14932
14933 Merge octave-mod.el and octave-inf.el into octave.el with some
14934 cleanups.
14935 * progmodes/octave.el: New file renamed from octave-mod.el.
14936 * progmodes/octave-inf.el: Merged into octave.el.
14937 * progmodes/octave-mod.el: Renamed to octave.el.
14938
14939 2013-04-25 Tassilo Horn <tsdh@gnu.org>
14940
14941 * textmodes/reftex-vars.el
14942 (reftex-label-ignored-macros-and-environments): New defcustom.
14943
14944 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
14945
14946 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14947
14948 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
14949 (smie-indent-keyword): Improve the check to ensure that the next
14950 comment is really on the same line.
14951 (smie-indent-comment): Don't align with a subsequent closer (or eob).
14952
14953 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
14954 semi-colons if the line is not otherwise empty (bug#14218).
14955
14956 2013-04-25 Glenn Morris <rgm@gnu.org>
14957
14958 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
14959
14960 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
14961
14962 * progmodes/opascal.el (opascal-set-token-property): Rename from
14963 opascal-set-text-properties and only set `token' (bug#14134).
14964 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
14965 (opascal-literal-text-properties): Remove.
14966 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
14967 Adjust callers.
14968
14969 2013-04-24 Reuben Thomas <rrt@sc3d.org>
14970
14971 * textmodes/remember.el (remember-handler-functions): Add an
14972 option for a new handler `remember-store-in-files'.
14973 (remember-data-directory, remember-directory-file-name-format):
14974 New options.
14975 (remember-store-in-files): New function to store remember notes
14976 as separate files within a directory.
14977
14978 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
14979
14980 * progmodes/compile.el (compilation-next-error-function):
14981 Pass "formats" to compilation-find-file (bug#11777).
14982
14983 2013-04-24 Glenn Morris <rgm@gnu.org>
14984
14985 * vc/vc-bzr.el (vc-bzr-print-log):
14986 * vc/vc-hg.el (vc-hg-print-log):
14987 * vc/vc-svn.el (vc-svn-print-log):
14988 Fix START-REVISION with LIMIT != 1. (Bug#14168)
14989
14990 * vc/vc-bzr.el (vc-bzr-print-log):
14991 * vc/vc-cvs.el (vc-cvs-print-log):
14992 * vc/vc-git.el (vc-git-print-log):
14993 * vc/vc-hg.el (vc-hg-print-log):
14994 * vc/vc-mtn.el (vc-mtn-print-log):
14995 * vc/vc-rcs.el (vc-rcs-print-log):
14996 * vc/vc-sccs.el (vc-sccs-print-log):
14997 * vc/vc-svn.el (vc-svn-print-log):
14998 * vc/vc.el (vc-print-log-internal): Doc fixes.
14999
15000 2013-04-23 Glenn Morris <rgm@gnu.org>
15001
15002 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
15003 Remove venerable code attempting to avoid substitute-command-keys.
15004
15005 2013-04-23 Tassilo Horn <tsdh@gnu.org>
15006
15007 * textmodes/reftex-vars.el (reftex-label-regexps):
15008 Call `reftex-compile-variables' after changes to this variable.
15009
15010 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
15011
15012 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
15013 Use lexical-binding.
15014 (jit-lock-force-redisplay): Use markers, check buffer's continued
15015 existence and beware narrowed buffers.
15016 (jit-lock-fontify-now): Adjust call accordingly.
15017
15018 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
15019
15020 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
15021 to avoid misleading the user.
15022
15023 2013-04-22 Leo Liu <sdl.web@gmail.com>
15024
15025 * info-look.el: Prefer latex2e.info. (Bug#14240)
15026
15027 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
15028
15029 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
15030
15031 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
15032 * net/tramp.el (tramp-call-process): ... here.
15033 (tramp-set-completion-function, tramp-parse-putty):
15034 * net/tramp-adb.el (tramp-adb-execute-adb-command):
15035 * net/tramp-gvfs.el (tramp-gvfs-send-command):
15036 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
15037 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
15038 (tramp-call-local-coding-command): Use `tramp-call-process'
15039 instead of `tramp-compat-call-process'.
15040
15041 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
15042 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
15043 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
15044 (tramp-find-inline-compress): Improve traces.
15045 (tramp-maybe-send-script): Check for Perl binary.
15046 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
15047
15048 2013-04-22 Daiki Ueno <ueno@gnu.org>
15049
15050 * epg.el (epg-context-pinentry-mode): New function.
15051 (epg-context-set-pinentry-mode): New function.
15052 (epg--start): Pass --pinentry-mode option to gpg command.
15053
15054 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
15055
15056 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
15057 `comint-dynamic-complete' is obsolete since 24.1, replaced by
15058 `completion-at-point'. (Bug#13774)
15059
15060 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
15061 default key binding for `describe-distribution' has been moved to
15062 `C-h C-o'. (Bug#13970)
15063
15064 2013-04-21 Glenn Morris <rgm@gnu.org>
15065
15066 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
15067 Add doc strings.
15068 (vc-print-log): Clarify interactive prompt.
15069
15070 2013-04-20 Glenn Morris <rgm@gnu.org>
15071
15072 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15073 No longer include timestamp etc information.
15074
15075 2013-04-20 Roland Winkler <winkler@gnu.org>
15076
15077 * faces.el (read-face-name): Bug fix, return just one face if arg
15078 multiple is nil. (Bug#14209)
15079
15080 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15081
15082 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
15083 (remove-function): Autoload.
15084
15085 * comint.el (comint-redirect-original-filter-function): Remove.
15086 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
15087 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
15088 (vc-cvs-annotate-command):
15089 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
15090 * progmodes/prolog.el (prolog-consult-compile):
15091 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
15092 Use add/remove-function instead.
15093 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
15094 (gud-tooltip-process-output, gud-tooltip-tips):
15095 Use add/remove-function instead.
15096 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
15097 (scheme-interaction-mode, exit-scheme-interaction-mode):
15098 Use add/remove-function instead.
15099
15100 * vc/vc-dispatcher.el: Use lexical-binding.
15101 (vc--process-sentinel): Rename from vc-process-sentinel.
15102 Change last arg to be the code to run. Don't use vc-previous-sentinel
15103 and vc-sentinel-commands any more.
15104 (vc-exec-after): Allow code to be a function. Use add/remove-function.
15105 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
15106
15107 2013-04-19 Masatake YAMATO <yamato@redhat.com>
15108
15109 * progmodes/sh-script.el (sh-imenu-generic-expression):
15110 Handle function names with a single character. (Bug#14111)
15111
15112 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
15113
15114 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
15115 for subroutines defined in an eval (bug#14182).
15116
15117 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15118
15119 * bookmark.el (bookmark-completing-read): Improve handling of empty
15120 string (bug#14176).
15121
15122 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15123
15124 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
15125
15126 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
15127
15128 New faster Imenu implementation (bug#14058).
15129 * progmodes/python.el (python-imenu-prev-index-position)
15130 (python-imenu-format-item-label-function)
15131 (python-imenu-format-parent-item-label-function)
15132 (python-imenu-format-parent-item-jump-label-function):
15133 New vars.
15134 (python-imenu-format-item-label)
15135 (python-imenu-format-parent-item-label)
15136 (python-imenu-format-parent-item-jump-label)
15137 (python-imenu--put-parent, python-imenu--build-tree)
15138 (python-imenu-create-index, python-imenu-create-flat-index)
15139 (python-util-popn): New functions.
15140 (python-mode): Set imenu-create-index-function to
15141 python-imenu-create-index.
15142
15143 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
15144
15145 * winner.el (winner-active-region): Use region-active-p, activate-mark
15146 and deactivate-mark (bug#14225).
15147
15148 * simple.el (deactivate-mark): Don't inline it.
15149
15150 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
15151
15152 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
15153
15154 2013-04-18 Tassilo Horn <tsdh@gnu.org>
15155
15156 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
15157 file extensions from the archive-mode entry in order to prefer
15158 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
15159
15160 2013-04-18 Leo Liu <sdl.web@gmail.com>
15161
15162 * bindings.el (help-event-list): Add ?\?.
15163
15164 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
15165
15166 * subr.el (with-wrapper-hook): Declare obsolete.
15167 * simple.el (filter-buffer-substring-function): New hook.
15168 (filter-buffer-substring): Use it.
15169 (filter-buffer-substring-functions): Mark obsolete.
15170 * minibuffer.el (completion-in-region-function): New hook.
15171 (completion-in-region): Use it.
15172 (completion-in-region-functions): Mark obsolete.
15173 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
15174 * abbrev.el (abbrev-expand-function): New hook.
15175 (expand-abbrev): Use it.
15176 (abbrev-expand-functions): Mark obsolete.
15177 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
15178 and :filter-return.
15179
15180 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15181
15182 * progmodes/python.el (python-nav--syntactically): Fix cornercases
15183 and do not care about match data.
15184
15185 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15186
15187 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
15188 completion tables when completing error conditions and
15189 `declare' arguments.
15190 (lisp-complete-symbol, field-complete): Mark as obsolete.
15191 (check-parens): Unmatched parens are user errors.
15192 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
15193
15194 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
15195
15196 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
15197 command changed buffer (ie. `flyspell-pre-buffer' is not current
15198 buffer), which prevents making decisions based on invalid value of
15199 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
15200 cause an error when `flyspell-pre-point' was nil after switching
15201 buffers.
15202 (flyspell-post-command-hook): No longer needs to change buffers when
15203 checking pre-word. While at it remove unnecessary progn.
15204
15205 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
15206
15207 * textmodes/ispell.el (ispell-add-per-file-word-list):
15208 Fix `flyspell-correct-word-before-point' error when accepting
15209 words and `coment-padding' is an integer by using
15210 `comment-normalize-vars' (Bug #14214).
15211
15212 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15213
15214 New defun movement commands.
15215 * progmodes/python.el (python-nav--syntactically)
15216 (python-nav--forward-defun, python-nav-backward-defun)
15217 (python-nav-forward-defun): New functions.
15218
15219 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15220
15221 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
15222 (python-syntax-context): Use named compiler-macro for backwards
15223 compatibility with Emacs 24.x.
15224
15225 2013-04-17 Leo Liu <sdl.web@gmail.com>
15226
15227 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
15228 octave-hide-process-buffer.
15229
15230 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15231
15232 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
15233 (bug#14216).
15234
15235 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
15236
15237 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
15238 Fix adjustment of offset when receiving incomplete responses from GDB
15239 (bug#14129).
15240
15241 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15242
15243 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
15244 python-mode-abbrev-table.
15245 (python-skeleton-define): Adjust accordingly.
15246 (python-mode-abbrev-table): New table that inherits from it so that
15247 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
15248
15249 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
15250 (abbrev-symbol): Use it.
15251 (abbrev--before-point): Use it since we already handle inheritance.
15252
15253 2013-04-16 Leo Liu <sdl.web@gmail.com>
15254
15255 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
15256 binding to info-lookup-symbol.
15257
15258 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
15259
15260 * minibuffer.el (completion--twq-all):
15261 * term/ns-win.el (ns-initialize-window-system):
15262 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
15263
15264 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15265
15266 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
15267 global bindings.
15268
15269 * doc-view.el (doc-view-start-process): Handle url-handler directories.
15270
15271 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
15272
15273 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
15274 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
15275 to nil.
15276 (ruby-end-of-defun): Remove the unused arg, change the docstring
15277 to reflect that this function is only used as the value of
15278 `end-of-defun-function'.
15279 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
15280 to reflect an earlier change that beginning/end-of-defun functions
15281 jump between methods in a class definition, as well as top-level
15282 functions.
15283
15284 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15285
15286 * minibuffer.el (minibuffer-complete): Don't just scroll
15287 a *Completions* that's been iconified.
15288 (minibuffer-force-complete): Make sure repetitions do cycle when going
15289 through completion-in-region -> minibuffer-complete.
15290
15291 2013-04-15 Alan Mackenzie <acm@muc.de>
15292
15293 Correct the placement of c-cpp-delimiters when there're #s not at
15294 col 0.
15295
15296 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
15297 place a submatch around the #.
15298 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
15299 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
15300 on the #, not BOL.
15301
15302 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15303
15304 * emacs-lisp/nadvice.el: Properly test names when adding advice.
15305 (advice--member-p): New arg `name'.
15306 (advice--add-function, advice-member-p): Use it (bug#14202).
15307
15308 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
15309
15310 Reformulate java imenu-generic-expression.
15311 The old expression contained ill formed regexps.
15312
15313 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
15314 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
15315 (cc-imenu-java-method-arg-regexp): New defconsts.
15316 (cc-imenu-java-build-type-args-regex): New defun.
15317 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
15318 handling of spaces in the regexp.
15319
15320 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15321
15322 * textmodes/ispell.el (ispell-command-loop): Remove
15323 flyspell highlight of a word when ispell accepts it (bug #14178).
15324
15325 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
15326
15327 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
15328 uses code from the previous `ange-ftp-run-real-handler'.
15329 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
15330 only in case that function exist. This is needed for proper
15331 unloading of Tramp.
15332
15333 2013-04-15 Tassilo Horn <tsdh@gnu.org>
15334
15335 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
15336
15337 * textmodes/reftex.el (reftex-compile-variables): Use it.
15338
15339 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15340
15341 * files.el (normal-mode): Only use default major-mode if no other mode
15342 was specified.
15343
15344 * emacs-lisp/trace.el (trace-values): New function.
15345
15346 * files.el: Allow : in local variables (bug#14089).
15347 (hack-local-variable-regexp): New var.
15348 (hack-local-variables-prop-line, hack-local-variables): Use it.
15349
15350 2013-04-13 Roland Winkler <winkler@gnu.org>
15351
15352 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
15353 data before it gets modified by bibtex-beginning-of-entry.
15354
15355 2013-04-13 Roland Winkler <winkler@gnu.org>
15356
15357 * textmodes/bibtex.el (bibtex-url): Doc fix.
15358
15359 2013-04-13 Roland Winkler <winkler@gnu.org>
15360
15361 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
15362 does not visit a BibTeX file, exclude it from the list of buffers
15363 returned by bibtex-initialize.
15364
15365 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
15366
15367 * window.el (split-window): Remove interactive form, since as a
15368 command this function is a special case of split-window-below.
15369 Correct doc string.
15370
15371 2013-04-12 Roland Winkler <winkler@gnu.org>
15372
15373 * faces.el (read-face-name): Do not override value of arg default.
15374 Allow single faces and strings as default values. Remove those
15375 elements from return value that are not faces.
15376 (describe-face): Simplify.
15377 (face-at-point): New optional args thing and multiple so that this
15378 function can provide the same functionality previously provided by
15379 read-face-name.
15380 (make-face-bold, make-face-unbold, make-face-italic)
15381 (make-face-unitalic, make-face-bold-italic, invert-face)
15382 (modify-face, read-face-and-attribute): Use face-at-point.
15383
15384 * cus-edit.el (customize-face, customize-face-other-window)
15385 * cus-theme.el (custom-theme-add-face)
15386 * face-remap.el (buffer-face-set)
15387 * facemenu.el (facemenu-set-face): Use face-at-point.
15388
15389 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
15390
15391 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
15392
15393 2013-04-10 Tassilo Horn <tsdh@gnu.org>
15394
15395 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
15396 off leading { and trailing } from field values.
15397
15398 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
15399
15400 * emacs-lisp/timer.el (timer--check): New function.
15401 (timer--time, timer-set-function, timer-event-handler): Use it.
15402 (timer-set-idle-time): Simplify.
15403 (timer--activate): CSE.
15404 (timer-event-handler): Give more info in error message.
15405 (internal-timer-start-idle): New function, moved from C.
15406
15407 * mpc.el (mpc-proc): Add `restart' argument.
15408 (mpc-proc-cmd): Use it.
15409 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
15410 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
15411 less often.
15412
15413 2013-04-10 Masatake YAMATO <yamato@redhat.com>
15414
15415 * progmodes/sh-script.el: Implement `sh-mode' own
15416 `add-log-current-defun-function' (bug#14112).
15417 (sh-current-defun-name): New function.
15418 (sh-mode): Use the function.
15419
15420 2013-04-09 Bastien Guerry <bzg@gnu.org>
15421
15422 * simple.el (choose-completion-string): Fix docstring (bug#14163).
15423
15424 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
15425
15426 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
15427
15428 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
15429 timer (bug#14156).
15430
15431 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
15432
15433 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
15434 declaration.
15435
15436 2013-04-07 Leo Liu <sdl.web@gmail.com>
15437
15438 * pcmpl-x.el: New file.
15439
15440 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
15441
15442 Do not set x-display-name until X connection is established.
15443 This is needed to prevent from weird situation described at
15444 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
15445 * frame.el (make-frame): Set x-display-name after call to
15446 window system initialization function, not before.
15447 * term/x-win.el (x-initialize-window-system): Add optional
15448 display argument and use it.
15449 * term/w32-win.el (w32-initialize-window-system):
15450 * term/ns-win.el (ns-initialize-window-system):
15451 * term/pc-win.el (msdos-initialize-window-system):
15452 Add compatible optional display argument.
15453
15454 2013-04-06 Eli Zaretskii <eliz@gnu.org>
15455
15456 * files.el (normal-backup-enable-predicate): On MS-Windows and
15457 MS-DOS compare truenames of temporary-file-directory and of the
15458 file, so that 8+3 aliases (usually found in $TEMP on Windows)
15459 don't fail comparison by compare-strings. Also, compare file
15460 names case-insensitively on MS-Windows and MS-DOS.
15461
15462 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15463
15464 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
15465 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
15466
15467 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
15468
15469 * whitespace.el (whitespace-color-on, whitespace-color-off):
15470 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
15471
15472 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
15473
15474 * ispell.el (ispell-set-spellchecker-params):
15475 Really set `ispell-args' for all equivs.
15476
15477 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15478
15479 * ido.el (ido-completions): Use extra elements of ido-decorations
15480 (bug#14143).
15481 (ido-decorations): Update docstring.
15482
15483 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
15484
15485 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
15486 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
15487 nil during initialization, in order not to miss changes since the
15488 file was opened. (Bug#14140)
15489
15490 2013-04-05 Leo Liu <sdl.web@gmail.com>
15491
15492 * kmacro.el (kmacro-call-macro): Fix bug#14135.
15493
15494 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
15495
15496 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
15497
15498 2013-04-04 Glenn Morris <rgm@gnu.org>
15499
15500 * electric.el (electric-pair-inhibit-predicate): Add :version.
15501
15502 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15503
15504 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
15505 when a package is required several times (bug#14082).
15506
15507 2013-04-04 Roland Winkler <winkler@gnu.org>
15508
15509 * faces.el (read-face-name): Behave as promised by the docstring.
15510 Assume that arg default is a list of faces.
15511 (describe-face): Call read-face-name with list of default faces.
15512
15513 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15514
15515 * bookmark.el: Fix deletion of bookmarks (bug#13972).
15516 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
15517 (bookmark-bmenu-execute-deletions): Only skip first line if it's
15518 the header.
15519 (bookmark-exit-hook-internal): Save even if list is empty.
15520
15521 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
15522
15523 * emacs-lisp/package.el (package-pinned-packages): New var.
15524 (package--add-to-archive-contents): Obey it (bug#14118).
15525
15526 2013-04-03 Alan Mackenzie <acm@muc.de>
15527
15528 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
15529 Also adapt to the new values of element 7 of a parse state.
15530
15531 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
15532 parameter `not-in-delimiter'. Handle being inside comment opener.
15533 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
15534 character in case we're typing a '*' after a '/'.
15535 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
15536 instead by passing the parameter to c-state-pp-to-literal.
15537
15538 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
15539 for elt. 7 of a parse state.
15540
15541 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
15542
15543 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
15544 * international/latin1-disp.el, international/mule-util.el:
15545 * language/cyril-util.el, language/european.el, language/ind-util.el:
15546 * language/lao-util.el, language/thai.el, language/tibet-util.el:
15547 * language/tibetan.el, language/viet-util.el:
15548 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
15549
15550 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
15551
15552 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
15553 (electric-pair-post-self-insert-function): Use it.
15554 (electric-pair-default-inhibit): New function, extracted from
15555 electric-pair-post-self-insert-function.
15556
15557 2013-03-31 Roland Winkler <winkler@gnu.org>
15558
15559 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
15560
15561 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
15562
15563 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
15564
15565 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
15566
15567 Un-indent after "pass" and "return" statements (Bug#13888)
15568 * progmodes/python.el (python-indent-block-enders): New var.
15569 (python-indent-calculate-indentation): Use it.
15570
15571 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
15572
15573 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
15574 defun. Defining it as defalias could introduce too eager
15575 byte-compiler optimization. (Bug#14030)
15576
15577 2013-03-30 Chong Yidong <cyd@gnu.org>
15578
15579 * iswitchb.el (iswitchb-read-buffer): Fix typo.
15580
15581 2013-03-30 Leo Liu <sdl.web@gmail.com>
15582
15583 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
15584 (kmacro-execute-from-register): Pass the keyboard macro to
15585 kmacro-call-macro or repeating won't work correctly.
15586
15587 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
15588
15589 * progmodes/subword.el: Back to using `forward-symbol'.
15590
15591 * subr.el (forward-whitespace, forward-symbol)
15592 (forward-same-syntax): Move from thingatpt.el.
15593
15594 2013-03-29 Leo Liu <sdl.web@gmail.com>
15595
15596 * kmacro.el (kmacro-to-register): New command.
15597 (kmacro-execute-from-register): New function.
15598 (kmacro-keymap): Bind to 'x'. (Bug#14071)
15599
15600 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
15601
15602 * mpc.el: Use defvar-local and setq-local.
15603 (mpc--proc-connect): Connection failures are not bugs.
15604 (mpc-mode-map): `follow-link' only applies to the buffer's content.
15605 (mpc-volume-map): Bind to the up-events.
15606
15607 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
15608
15609 * progmodes/subword.el (superword-mode): Use `forward-sexp'
15610 instead of `forward-symbol'.
15611
15612 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
15613
15614 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
15615 (edebug--recursive-edit): Use it.
15616 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
15617 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
15618
15619 2013-03-28 Leo Liu <sdl.web@gmail.com>
15620
15621 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
15622
15623 2013-03-27 Eli Zaretskii <eliz@gnu.org>
15624
15625 * facemenu.el (list-colors-callback): New defvar.
15626 (list-colors-redisplay): New function.
15627 (list-colors-display): Install list-colors-redisplay as the
15628 revert-buffer-function. (Bug#14063)
15629
15630 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
15631
15632 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
15633 and suffixes don't overlap (bug#14061).
15634
15635 * case-table.el: Use lexical-binding.
15636 (case-table-get-table): New function.
15637 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
15638
15639 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
15640
15641 * progmodes/subword.el: Add `superword-mode' to do word motion
15642 over symbol_words (parallels and leverages `subword-mode' which
15643 does word motion inside MixedCaseWords).
15644
15645 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
15646
15647 * eshell/em-unix.el: Move su and sudo to...
15648 * eshell/em-tramp.el: ...Eshell tramp module.
15649
15650 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15651
15652 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
15653 Change return value to be a sexp. Delay `get-buffer' to after
15654 restoring the desktop (bug#13951).
15655
15656 2013-03-26 Leo Liu <sdl.web@gmail.com>
15657
15658 * register.el: Move semantic tag handling back to
15659 cedet/semantic/senator.el. (Bug#14052)
15660
15661 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15662
15663 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
15664 into the prompt either (bug#13963).
15665
15666 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
15667
15668 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
15669 part of "(error-foo)".
15670
15671 2013-03-24 Juri Linkov <juri@jurta.org>
15672
15673 * replace.el (list-matching-lines-prefix-face): New defcustom.
15674 (occur-1): Pass `list-matching-lines-prefix-face' to the function
15675 `occur-engine' if `face-differs-from-default-p' returns t.
15676 (occur-engine): Add `,' inside backquote construct to evaluate
15677 `prefix-face'. Propertize the prefix with the `prefix-face' face.
15678 Pass `prefix-face' to the functions `occur-context-lines' and
15679 `occur-engine-add-prefix'.
15680 (occur-engine-add-prefix, occur-context-lines): Add optional arg
15681 `prefix-face' and propertize the prefix with `prefix-face'.
15682 (Bug#14017)
15683
15684 2013-03-24 Leo Liu <sdl.web@gmail.com>
15685
15686 * nxml/rng-valid.el (rng-validate-while-idle)
15687 (rng-validate-quick-while-idle): Guard against deleted buffer.
15688 (Bug#13999)
15689
15690 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
15691 is the last entry in kill-buffer-hook.
15692
15693 * files.el (kill-buffer-hook): Doc fix.
15694
15695 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
15696
15697 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
15698 Make it safe-local.
15699
15700 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
15701
15702 2013-03-23 Leo Liu <sdl.web@gmail.com>
15703
15704 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
15705 Remove.
15706
15707 * nxml/rng-valid.el (rng-validate-mode)
15708 (rng-after-change-function, rng-do-some-validation):
15709 * nxml/rng-maint.el (rng-validate-buffer):
15710 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
15711 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
15712 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
15713 (nxml-extend-after-change-region): Use with-silent-modifications.
15714
15715 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
15716 timer-idle-list.
15717
15718 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
15719 (rng-next-error-1, rng-previous-error-1): Do not let-bind
15720 timer-idle-list. (Bug#13999)
15721
15722 2013-03-23 Juri Linkov <juri@jurta.org>
15723
15724 * info.el (info-index-match): New face.
15725 (Info-index, Info-apropos-matches): Add a nested subgroup to the
15726 main pattern and add text properties with the new face to matches
15727 in index entries relative to the beginning of the index entry.
15728 (Bug#14015)
15729
15730 2013-03-21 Eric Ludlam <zappo@gnu.org>
15731
15732 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
15733 Inhibit read only while inserting objects.
15734
15735 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
15736
15737 * progmodes/cfengine.el: Update docs to mention
15738 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
15739 symbol motion. Remove "_" from the word syntax.
15740
15741 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
15742
15743 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
15744 syntax for both `cfengine2-mode' and `cfengine3-mode'.
15745
15746 2013-03-20 Juri Linkov <juri@jurta.org>
15747
15748 * info.el (Info-next-reference-or-link)
15749 (Info-prev-reference-or-link): New functions.
15750 (Info-next-reference, Info-prev-reference): Use them.
15751 (Info-try-follow-nearest-node): Handle footnote navigation.
15752 (Info-fontify-node): Fontify footnotes. (Bug#13989)
15753
15754 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
15755
15756 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
15757 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
15758
15759 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
15760
15761 Suppress unnecessary non-ASCII chatter during build process.
15762 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
15763 (batch-skkdic-convert): Suppress most of the chatter.
15764 It's not needed so much now that machines are faster,
15765 and its non-ASCII component was confusing; see Dmitry Gutov in
15766 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
15767
15768 2013-03-20 Leo Liu <sdl.web@gmail.com>
15769
15770 * ido.el (ido-chop): Fix bug#10994.
15771
15772 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
15773
15774 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
15775 Remove vars.
15776 (whitespace-color-on, whitespace-color-off):
15777 Use `font-lock-fontify-buffer' (Bug#13817).
15778
15779 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
15780
15781 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
15782 remapping in mode-line.
15783 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
15784
15785 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
15786
15787 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
15788 value for `whitespace-line' face (Bug#13875).
15789 (whitespace-font-lock-keywords): Change description.
15790 (whitespace-color-on): Don't save `font-lock-keywords' value, save
15791 the constructed keywords instead.
15792 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
15793
15794 2013-03-19 Leo Liu <sdl.web@gmail.com>
15795
15796 * progmodes/compile.el (compilation-display-error): New command.
15797 (compilation-mode-map, compilation-minor-mode-map): Bind it to
15798 C-o. (Bug#13992)
15799
15800 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
15801
15802 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
15803
15804 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
15805
15806 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
15807
15808 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
15809
15810 * net/tramp-compat.el (tramp-compat-user-error): New defun.
15811
15812 * net/tramp-adb.el (tramp-adb-handle-shell-command):
15813 * net/tramp-gvfs.el (top):
15814 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
15815 (tramp-handle-shell-command): Use it.
15816 (tramp-dissect-file-name): Raise an error when hostname is a
15817 method name, and neither method nor user is specified.
15818
15819 * net/trampver.el: Update release number.
15820
15821 2013-03-18 Leo Liu <sdl.web@gmail.com>
15822
15823 Make sure eldoc can be turned off properly.
15824 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
15825 eldoc-mode.
15826 (eldoc-display-message-p): Revert last change.
15827 (eldoc-display-message-no-interference-p)
15828 (eldoc-print-current-symbol-info): Tweak.
15829
15830 2013-03-18 Tassilo Horn <tsdh@gnu.org>
15831
15832 * doc-view.el (doc-view-new-window-function): Check the new window
15833 overlay's display property instead the char property of the
15834 buffer's first char. Use `with-selected-window' instead of
15835 `save-window-excursion' with `select-window'.
15836 (doc-view-document->bitmap): Check the current doc-view overlay's
15837 display property instead the char property of the buffer's first char.
15838
15839 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
15840
15841 Automate the build of ja-dic.el (Bug#13984).
15842 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
15843 from the input, rather than assume that it's been done for us by the
15844 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
15845 the current date into a ja-dic.el comment, as that complicates
15846 regression testing.
15847
15848 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
15849
15850 * whitespace.el: Fix double evaluation.
15851 (whitespace-space, whitespace-hspace, whitespace-tab)
15852 (whitespace-newline, whitespace-trailing, whitespace-line)
15853 (whitespace-space-before-tab, whitespace-indentation)
15854 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
15855 obsolete defvars.
15856 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
15857 (whitespace-color-on): Use a single font-lock-add-keywords call.
15858 Fix double-evaluation of face variables.
15859
15860 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
15861
15862 * net/tramp-adb.el (tramp-adb-parse-device-names):
15863 Use `start-process' instead of `call-process'. Otherwise, the
15864 function might be blocked under MS Windows. (Bug#13299)
15865
15866 2013-03-17 Leo Liu <sdl.web@gmail.com>
15867
15868 Extend eldoc to display info in the mode-line. (Bug#13978)
15869 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
15870 (eldoc-mode-line-string): New variable.
15871 (eldoc-minibuffer-message): New function.
15872 (eldoc-message-function): New variable.
15873 (eldoc-message): Use it.
15874 (eldoc-display-message-p)
15875 (eldoc-display-message-no-interference-p):
15876 Support eldoc-post-insert-mode.
15877
15878 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
15879 (eval-expression): Run it.
15880
15881 2013-03-17 Roland Winkler <winkler@gnu.org>
15882
15883 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
15884 strings in the list of return values.
15885
15886 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
15887
15888 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
15889 radix before checking for HMS forms.
15890
15891 2013-03-16 Leo Liu <sdl.web@gmail.com>
15892
15893 * progmodes/scheme.el: Add indentation and font-locking for λ.
15894 (Bug#13975)
15895
15896 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
15897
15898 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
15899 token before point (bug#13942).
15900
15901 2013-03-16 Leo Liu <sdl.web@gmail.com>
15902
15903 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
15904
15905 2013-03-16 Eli Zaretskii <eliz@gnu.org>
15906
15907 * startup.el (command-line-normalize-file-name): Fix handling of
15908 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
15909 <xfq.free@gmail.com> in
15910 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
15911
15912 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
15913
15914 Sync with Tramp 2.2.7.
15915
15916 * net/trampver.el: Update release number.
15917
15918 2013-03-14 Tassilo Horn <tsdh@gnu.org>
15919
15920 * doc-view.el: Fix bug#13887.
15921 (doc-view-insert-image): Don't modify overlay associated to
15922 non-live windows, and implement horizontal centering of image in
15923 case it's smaller than the window.
15924 (doc-view-new-window-function): Force redisplay of new windows on
15925 doc-view buffers.
15926
15927 2013-03-13 Karl Fogel <kfogel@red-bean.com>
15928
15929 * saveplace.el (save-place-alist-to-file): Don't sort
15930 `save-place-alist', just pretty-print it (bug#13882).
15931
15932 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
15933
15934 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
15935 Check whether `default-file-name-coding-system' is bound.
15936 It isn't in XEmacs.
15937
15938 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
15939
15940 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
15941 backquotes for `obsolete' (bug#13929).
15942
15943 * international/mule.el (find-auto-coding): Include file name in
15944 obsolescence warning (bug#13922).
15945
15946 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
15947
15948 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
15949 for CFEngine 3-specific indentation.
15950 (cfengine3-indent-line): Use it. Fix up category regex.
15951 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
15952
15953 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15954
15955 * type-break.el (type-break-file-name):
15956 * textmodes/remember.el (remember-data-file):
15957 * strokes.el (strokes-file):
15958 * shadowfile.el (shadow-initialize):
15959 * saveplace.el (save-place-file):
15960 * ps-bdf.el (bdf-cache-file):
15961 * progmodes/idlwave.el (idlwave-config-directory):
15962 * net/quickurl.el (quickurl-url-file):
15963 * international/kkc.el (kkc-init-file-name):
15964 * ido.el (ido-save-directory-list-file):
15965 * emulation/viper.el (viper-custom-file-name):
15966 * emulation/vip.el (vip-startup-file):
15967 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
15968 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
15969
15970 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
15971
15972 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
15973 * language/thai-word.el: Switch to UTF-8.
15974
15975 See ChangeLog.16 for earlier changes.
15976
15977 ;; Local Variables:
15978 ;; coding: utf-8
15979 ;; End:
15980
15981 Copyright (C) 2011-2014 Free Software Foundation, Inc.
15982
15983 This file is part of GNU Emacs.
15984
15985 GNU Emacs is free software: you can redistribute it and/or modify
15986 it under the terms of the GNU General Public License as published by
15987 the Free Software Foundation, either version 3 of the License, or
15988 (at your option) any later version.
15989
15990 GNU Emacs is distributed in the hope that it will be useful,
15991 but WITHOUT ANY WARRANTY; without even the implied warranty of
15992 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15993 GNU General Public License for more details.
15994
15995 You should have received a copy of the GNU General Public License
15996 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.