]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
* test/automated/tildify-tests.el: New file.
[gnu-emacs] / lisp / ChangeLog
1 2014-05-21 Michal Nazarewicz <mina86@mina86.com>
2
3 * textmodes/tildify.el (tildify-buffer, tildify-region):
4 Add dont-ask option.
5
6 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
7
8 * subr.el (zerop): Move from C. Add compiler-macro (bug#17475).
9 * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
10
11 * subr.el (internal--funcall-interactively): New.
12 (internal--call-interactively): Remove.
13 (called-interactively-p): Detect funcall-interactively instead of
14 call-interactively.
15 * simple.el (repeat-complex-command): Use funcall-interactively.
16 (repeat-complex-command--called-interactively-skip): Remove.
17
18 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
19
20 * register.el (register-read-with-preview): Don't burp on
21 frame switches (e.g. due to the frame we just popped).
22
23 * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
24 (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
25
26 2014-05-26 Andreas Schwab <schwab@linux-m68k.org>
27
28 * cus-face.el (custom-face-attributes): Add :distant-foreground.
29
30 2014-05-26 Martin Rudalics <rudalics@gmx.at>
31
32 * window.el (window--dump-frame): Remove interactive specification.
33
34 2014-05-26 Glenn Morris <rgm@gnu.org>
35
36 * hippie-exp.el (he-line-search-regexp):
37 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
38
39 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
40
41 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
42 to avoid errors when trying to create or visit a file foo.todo
43 located outside to todo-directory, and to allow having such files
44 without them being tied to Todo mode (bug#17482).
45 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
46 (todo-archive-done-item, todo-find-filtered-items-file)
47 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
48 (todo-category-completions, todo-read-category): When visiting a
49 Todo file, make sure we're in the right mode and the buffer local
50 variables are set.
51 (todo-make-categories-list, todo-reset-nondiary-marker)
52 (todo-reset-done-string, todo-reset-comment-string):
53 After processing all Todo files, kill the buffers of those files that
54 weren't being visited before the processing.
55 (todo-display-as-todo-file, todo-add-to-buffer-list)
56 (todo-visit-files-commands): Comment out.
57 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
58 (auto-mode-alist): Remove add-to-list calls making Todo file
59 extensions unrestrictedly tied to Todo modes.
60
61 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
62
63 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
64 (advice-function-member-p): Tell it to check both names and functions
65 (bug#17531).
66 (advice--add-function): Adjust call accordingly.
67
68 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
69
70 * calendar/todo-mode.el: Miscellaneous bug fixes.
71 (todo-delete-file): When deleting an archive but not its todo
72 file, make sure to update the todo file's category sexp.
73 (todo-move-category): Keep the moved category's name unless the
74 file moved to already has a category with that name. If the
75 numerically last category of the source file was moved, make the
76 first category current to avoid selecting a nonexisting category.
77 (todo-merge-category): Fix implementation to make merging to a
78 category in another file work as documented. Eliminate now
79 insufficient and unnecessary renaming of archive category, correct
80 document string accordingly, and clarify it. If the numerically
81 last category of the source file was merged, make the first
82 category current to avoid selecting a nonexisting category.
83 (todo-archive-done-item): When there are marked items and point
84 happens to be on an unmarked item, ignore the latter. Don't leave
85 point below last item after archiving marked items.
86 (todo-unarchive-items): Fix logic to ensure unarchiving an item
87 from an archive with only one category deletes the archive only
88 when the category is empty after unarchiving. Make sure the todo
89 file's category sexp is updated.
90 (todo-read-file-name): Allow an existing file name even when it is
91 not required (todo-move-category needs this to work as documented).
92 (todo-add-file): Call todo-validate-name to reject the name of an
93 existing todo file (needed due to fix in todo-read-file-name).
94 (todo-reset-nondiary-marker): Also reset in filtered items files.
95 (todo-reset-done-string, todo-reset-comment-string): Also reset in
96 regexp filtered items files.
97 (todo-reset-highlight-item): Also reset in filtered items files.
98 Fix incorrect variable reference in document string.
99
100 2014-05-26 Glenn Morris <rgm@gnu.org>
101
102 * window.el (window--dump-frame): Avoid error in --without-x builds.
103
104 2014-05-26 Glenn Morris <rgm@gnu.org>
105
106 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
107
108 2014-05-26 Eli Zaretskii <eliz@gnu.org>
109
110 * frame.el (set-frame-font): Doc fix.
111
112 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
113
114 2014-05-26 Dmitry Gutov <dgutov@yandex.ru>
115
116 * emacs-lisp/package.el (package--download-one-archive):
117 Use `write-region' instead of `save-buffer' to avoid running various
118 hooks. (Bug#17155)
119 (describe-package-1): Same. Insert newline at the end of the
120 buffer if appropriate.
121
122 2014-05-26 Juri Linkov <juri@jurta.org>
123
124 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
125 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
126 Add more modifiers: meta, control, shift, hyper, super, alt.
127 (Bug#17439)
128
129 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
130 to allow changing its value with `set-variable'.
131
132 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
133
134 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
135 #; comments.
136 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
137 New functions.
138 (scheme-mode-variables): Set syntax-propertize-function instead of
139 font-lock-syntactic-face-function.
140 (scheme-font-lock-syntactic-face-function): Delete.
141
142 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
143
144 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
145 (bug#17392).
146
147 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
148
149 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
150 for a temporary file name.
151
152 2014-05-26 Eli Zaretskii <eliz@gnu.org>
153
154 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
155
156 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
157
158 * net/dbus.el (dbus-init-bus, dbus-call-method)
159 (dbus-call-method-asynchronously, dbus-send-signal)
160 (dbus-method-return-internal, dbus-method-error-internal):
161 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
162
163 2014-05-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
164
165 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
166 methods which do not have a doc string. (Bug#17490)
167
168 2014-05-25 Tassilo Horn <tsdh@gnu.org>
169
170 * textmodes/reftex-ref.el (reftex-format-special): Make it work
171 also for AMS Math's \eqref macro.
172
173 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
174
175 Arrange to never byte-compile the generated -pkg.el file.
176
177 * emacs-lisp/package.el (package-generate-description-file):
178 Output first-line comment to set buffer-local var `no-byte-compile'.
179 Suggested by Dmitry Gutov:
180 <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
181
182 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
183
184 Fix bug: Properly quote args to generated -pkg.el `define-package'.
185
186 * emacs-lisp/package.el (package-generate-description-file):
187 Inline `package--alist-to-plist'; rewrite to selectively
188 quote alist values that are not self-quoting.
189 (package--alist-to-plist): Delete func.
190
191 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
192
193 * term/xterm.el (xterm-function-map): Add mapping for shifted
194 keypad keys.
195
196 2014-05-24 Daniel Colascione <dancol@dancol.org>
197
198 * progmodes/subword.el (subword-find-word-boundary): Move point to
199 correct spot before search. (Bug#17580)
200
201 * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
202 breaking the build.
203
204 2014-05-24 Leo Liu <sdl.web@gmail.com>
205
206 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
207
208 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
209
210 * minibuffer.el (completion--sreverse): Remove.
211 (completion--common-suffix): Use `reverse' instead.
212 * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
213
214 2014-05-22 Glenn Morris <rgm@gnu.org>
215
216 * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
217
218 2014-05-21 Daniel Colascione <dancol@dancol.org>
219
220 * files.el (interpreter-mode-alist): Add mksh.
221
222 * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
223 derivative.
224 (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
225 mksh. Improve custom spec; allow regular expressions.
226 (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
227 (sh-after-hack-local-variables): New function.
228 (sh-mode): Use it; respect file-local `sh-shell' variable. (bug#17333)
229 (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
230 the normalization.
231 (sh-canonicalize-shell): Rewrite to support regexes.
232
233 2014-05-21 Leo Liu <sdl.web@gmail.com>
234
235 * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
236
237 2014-05-19 Leo Liu <sdl.web@gmail.com>
238
239 * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
240
241 2014-05-18 Glenn Morris <rgm@gnu.org>
242
243 * loadup.el:
244 * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
245
246 2014-05-14 Sam Steingold <sds@gnu.org>
247
248 * progmodes/python.el (python-shell-get-or-create-process):
249 Do not bind `current-prefix-arg' so that C-c C-z does not talk
250 back unless requested.
251
252 2014-05-14 Glenn Morris <rgm@gnu.org>
253
254 * subr.el (with-file-modes): New macro.
255 * printing.el (pr-save-file-modes): Make obsolete.
256 * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
257 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
258 Add with-file-modes.
259 * doc-view.el (doc-view-make-safe-dir):
260 * epg.el (epg--start):
261 * files.el (locate-user-emacs-file, make-temp-file)
262 (backup-buffer-copy, move-file-to-trash):
263 * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
264 * eshell/esh-util.el (eshell-with-private-file-modes)
265 (eshell-make-private-directory):
266 * net/browse-url.el (browse-url-mosaic):
267 * obsolete/mailpost.el (post-mail-send-it):
268 * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
269 * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
270 Use with-file-modes.
271
272 * vc/emerge.el (emerge-make-temp-file): Simplify.
273
274 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
275 Stefan Monnier <monnier@iro.umontreal.ca>
276
277 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
278 suffix (bug#15419).
279
280 2014-05-14 Glenn Morris <rgm@gnu.org>
281
282 * vc/emerge.el (emerge-temp-file-prefix):
283 Make pointless option obsolete.
284 (emerge-temp-file-mode): Make non-functional option obsolete.
285
286 2014-05-14 Michael Albinus <michael.albinus@gmx.de>
287
288 * net/browse-url.el (browse-url):
289 Use `unhandled-file-name-directory' when setting `default-directory',
290 in order to circumvent stalled remote connections. (Bug#17425)
291
292 2014-05-14 Glenn Morris <rgm@gnu.org>
293
294 * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
295 Optimize on Emacs, which has the relevant functions for ages.
296
297 2014-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
298
299 * simple.el (undo-make-selective-list): Obey undo-no-redo.
300
301 2014-05-12 Sam Steingold <sds@gnu.org>
302
303 * calendar/time-date.el (seconds-to-string): New function to
304 pretty print time delay in seconds.
305
306 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
307
308 * mpc.el (mpc-format): Trim Date to the year.
309 (mpc-songs-hashcons): Shorten the Date field.
310
311 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
312 into autoloading just because of a silly indirection.
313
314 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com> (tiny change)
315
316 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
317
318 2014-05-12 Glenn Morris <rgm@gnu.org>
319
320 * emacs-lisp/find-gc.el: Move to ../admin.
321
322 * printing.el (pr-version):
323 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
324
325 * net/browse-url.el (browse-url-mosaic):
326 Create /tmp/Mosaic.PID as a private file.
327
328 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
329
330 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
331 (advice--member-p): If name is given, only compare the name.
332 (advice--remove-function): Don't stop at the first match.
333 (advice--normalize-place): New function.
334 (add-function, remove-function): Use it.
335 (advice--add-function): Pass the name, if any, to
336 advice--remove-function.
337
338 2014-05-12 Philipp Rumpf <prumpf@gmail.com> (tiny change)
339
340 * electric.el (electric-indent-post-self-insert-function): Don't use
341 `pos' after modifying the buffer (bug#17449).
342
343 2014-05-12 Stephen Berman <stephen.berman@gmx.net>
344
345 * calendar/todo-mode.el (todo-insert-item-from-calendar):
346 Correct argument list to conform to todo-insert-item--basic.
347
348 2014-05-12 Glenn Morris <rgm@gnu.org>
349
350 * files.el (cd-absolute): Test if directory is accessible
351 rather than executable. (Bug#17330)
352
353 * progmodes/compile.el (recompile):
354 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
355
356 * net/browse-url.el (browse-url-mosaic):
357 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
358 This is CVE-2014-3423.
359
360 2014-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
361
362 * mouse.el: Use the normal toplevel loop while dragging.
363 (mouse-set-point): Handle multi-clicks.
364 (mouse-set-region): Handle multi-clicks for drags.
365 (mouse-drag-region): Update call accordingly.
366 (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
367 Use the normal event loop instead of a local while/read-event loop.
368 (global-map): Remove redundant bindings for double/triple-mouse-1.
369 * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
370 Generate synthetic down events when the protocol only sends up events.
371 (xterm-mouse-last): Remove.
372 (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
373 terminal parameter instead.
374 (xterm-mouse--set-click-count): New function.
375 (xterm-mouse-event): Detect/generate double/triple clicks.
376 * reveal.el (reveal-close-old-overlays): Don't close while dragging.
377
378 * info.el (Info-quoted): New face.
379 (Info-mode-font-lock-keywords): New var.
380 (Info-mode): Use it.
381
382 * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
383 are a hindrance for C-x C-e.
384
385 2014-05-11 Leo Liu <sdl.web@gmail.com>
386
387 * net/rcirc.el (rcirc-sentinel): Fix last change.
388
389 2014-05-08 Sam Steingold <sds@gnu.org>
390
391 * net/rcirc.el (rcirc-reconnect-delay): New user option.
392 (rcirc-sentinel): Auto-reconnect to the server if
393 `rcirc-reconnect-delay' is non-0 (but not more often than its
394 value in case the host is off-line).
395
396 2014-05-09 Eli Zaretskii <eliz@gnu.org>
397
398 * progmodes/grep.el (lgrep): Fix a typo in last commit.
399
400 2014-05-09 Glenn Morris <rgm@gnu.org>
401
402 * files.el (file-expand-wildcards):
403 * man.el (Man-support-local-filenames):
404 * printing.el (pr-i-directory, pr-interface-directory):
405 * progmodes/grep.el (lgrep, rgrep):
406 * textmodes/ispell.el (ispell-call-process)
407 (ispell-call-process-region, ispell-start-process)
408 (ispell-init-process): Use file-accessible-directory-p.
409
410 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
411
412 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
413 (xterm-mouse--read-event-sequence-1000): Return nil if something
414 looks fishy.
415 (xterm-mouse-event): Propagate it.
416 (xterm-mouse-translate-1): Handle it.
417
418 2014-05-08 Stephen Berman <stephen.berman@gmx.net>
419
420 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
421 four slots of the parameter list are filled, make sure to pass it
422 to the argument list of todo-insert-item--basic.
423
424 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
425
426 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
427 Add optional `seen' argument to detect and break infinite loops.
428
429 2014-05-08 Eli Zaretskii <eliz@gnu.org>
430
431 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
432 (trace-unsafe, trace-use-tree): Make parentheses style be
433 according to Emacs style.
434
435 2014-05-08 Michael Albinus <michael.albinus@gmx.de>
436
437 * net/tramp-sh.el (tramp-remote-process-environment):
438 Remove HISTFILE and HISTSIZE; it's too late to set them here.
439 Add :version entry.
440 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
441 Add "HISTSIZE=/dev/null" to the shell's env arguments. Do not send
442 extra "PSx=..." commands.
443 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
444 (Bug#17295)
445
446 (tramp-uudecode): Replace the hard-coded temporary file name by a
447 format specifier.
448 (tramp-remote-coding-commands): Enhance docstring.
449 (tramp-find-inline-encoding): Replace "%t" by a temporary file
450 name. (Bug#17415)
451 This is CVE-2014-3424.
452
453 2014-05-08 Glenn Morris <rgm@gnu.org>
454
455 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
456 (find-gc-source-files): Update some names.
457 (trace-call-tree): Simplify and update.
458 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
459 This is CVE-2014-3422.
460
461 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
462
463 * minibuffer.el (completion--try-word-completion): Revert fix for
464 Bug#15980 (bug#17375).
465
466 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
467 Always store button numbers in the same way in xterm-mouse-last;
468 Don't burp is xterm-mouse-last is not set as expected.
469 Never return negative indices.
470
471 2014-05-08 Dmitry Gutov <dgutov@yandex.ru>
472
473 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
474 Backtrack one char if the global/char-literal var matcher hits
475 inside a string. The next char could be the beginning of an
476 expression expansion.
477
478 2014-05-08 Glenn Morris <rgm@gnu.org>
479
480 * help-fns.el (describe-function-1): Test for an autoload before a
481 macro, since `macrop' works on autoloads. (Bug#17410)
482
483 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
484
485 * electric.el (electric-indent-functions-without-reindent): Add yaml.
486
487 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
488 Make sure the new point we return is within the new string (bug#17239).
489
490 2014-05-05 Daniel Colascione <dancol@dancol.org>
491
492 * progmodes/compile.el (compilation-error-regexp-alist-alist):
493 Port `gnu' pattern to rx.
494
495 2014-05-05 Jarek Czekalski <jarekczek@poczta.onet.pl>
496
497 Remove unneeded prompt when closing a buffer with active
498 emacsclient ("Buffer ... still has clients"), #16548.
499 * server.el (server-start): Remove the only call to:
500 (server-kill-buffer-query-function): Remove.
501
502 2014-05-04 Leo Liu <sdl.web@gmail.com>
503
504 * calendar/diary-lib.el (calendar-chinese-month-name-array):
505 Defvar to pacify compiler.
506
507 2014-05-04 Eli Zaretskii <eliz@gnu.org>
508
509 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
510
511 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
512
513 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
514 Use nil rather than `default' for the "default" appearance (bug#17388).
515 * vc/ediff-util.el (ediff-inferior-compare-regions)
516 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
517 a misleading `default' value when it's really a boolean.
518 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
519 overlay is not visible.
520
521 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
522
523 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
524 (todo-menu): Uncomment and update.
525
526 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
527
528 * calendar/todo-mode.el: Reimplement item editing to have the same
529 basic user interface as item insertion, and make small UI and
530 larger internal improvements to the latter.
531 (todo-insert-item): Add reference to the Todo mode user manual to
532 the documentation string.
533 (todo-insert-item--basic): Rename from todo-basic-insert-item and
534 adjust all callers. Change signature to combine diary and
535 nonmarking arguments. Incorporate functionality of deleted item
536 copying command and add error checking. Remove detailed
537 descriptions of the arguments from the documentation string, since
538 this is treated in the Todo mode user manual.
539 (todo-copy-item, todo-edit-multiline-item)
540 (todo-edit-done-item-comment, todo-edit-item-header)
541 (todo-edit-item-time, todo-edit-item-date-from-calendar)
542 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
543 (todo-edit-item-date-year, todo-edit-item-date-month)
544 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
545 Remove.
546 (todo-edit-item): Reimplement as wrapper command for
547 todo-edit-item--next-key and make it distinguish done and not done
548 todo items.
549 (todo-edit-item--text): New function, replacing old command
550 todo-edit-item and incorporating deleted commands
551 todo-edit-multiline-item and todo-edit-done-item-comment.
552 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
553 Use only numeric value of prefix argument. Remove detailed
554 descriptions of the arguments from the documentation string, since
555 this is treated in the Todo mode user manual.
556 (todo-edit-item--diary-inclusion): New function, replacing old
557 command todo-edit-item-diary-inclusion and incorporating and fixing
558 functionality of deleted command todo-edit-item-diary-nonmarking,
559 making sure to remove todo-nondiary-marker when adding
560 diary-nonmarking-symbol.
561 (todo-edit-category-diary-inclusion): Make sure to delete
562 diary-nonmarking-symbol when adding todo-nondiary-marker.
563 (todo-edit-category-diary-nonmarking): Fix indentation.
564 (todo-insert-item--parameters): Group diary and nonmarking
565 parameters together.
566 (todo-insert-item--apply-args): Adjust to signature of
567 todo-insert-item--basic and incorporate copy parameter.
568 Make small code improvements.
569 (todo-insert-item--next-param): Improve prompt and adjust it to
570 new parameter grouping. Remove obsolete code.
571 (todo-edit-item--param-key-alist)
572 (todo-edit-item--date-param-key-alist)
573 (todo-edit-done-item--param-key-alist): New defconsts.
574 (todo-edit-item--prompt): New variable.
575 (todo-edit-item--next-key): New function.
576 (todo-key-bindings-t): Bind "e" to todo-edit-item.
577 Remove bindings of deleted commands.
578
579 2014-05-04 Leo Liu <sdl.web@gmail.com>
580
581 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
582
583 2014-05-04 Glenn Morris <rgm@gnu.org>
584
585 * allout-widgets.el (allout-widgets-tally)
586 (allout-decorate-item-guides):
587 * menu-bar.el (menu-bar-positive-p):
588 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
589 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
590 * progmodes/js.el (js--inside-param-list-p)
591 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
592 * progmodes/prolog.el (region-exists-p):
593 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
594 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
595 Doc fixes (replace `iff').
596
597 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
598
599 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
600
601 2014-05-04 Leo Liu <sdl.web@gmail.com>
602
603 Support Chinese diary entries in calendar and diary. (Bug#17393)
604 * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
605 (calendar-chinese-from-absolute-for-diary)
606 (calendar-chinese-to-absolute-for-diary)
607 (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
608 (diary-chinese-list-entries): New functions to list and mark
609 Chinese diary entries in the calendar window.
610 (diary-chinese-anniversary)
611 (diary-chinese-insert-anniversary-entry)
612 (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
613 (diary-chinese-insert-yearly-entry): New commands to insert
614 Chinese diary entries.
615
616 * calendar/diary-lib.el (diary-font-lock-keywords):
617 Support font-locking Chinese dates.
618
619 * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
620 inserting Chinese diary entries.
621
622 * calendar/calendar.el (diary-chinese-entry-symbol):
623 New customizable variable.
624 (calendar-mode-map): Add bindings for inserting Chinese diary
625 entries.
626
627 2014-05-03 Juri Linkov <juri@jurta.org>
628
629 * dired.el (dired-check-switches, dired-switches-recursive-p):
630 New functions. (Bug#17218)
631 (dired-switches-escape-p, dired-move-to-end-of-filename):
632 Use `dired-check-switches'.
633 (dired-insert-old-subdirs, dired-build-subdir-alist)
634 (dired-sort-R-check): Use `dired-switches-recursive-p'.
635
636 2014-05-01 Barry O'Reilly <gundaetiapo@gmail.com>
637
638 * simple.el (undo-make-selective-list): New algorithm fixes
639 incorrectness of position adjustments when undoing in region.
640 (Bug#17235)
641 (undo-elt-crosses-region): Make obsolete.
642 (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
643 New functions to adjust positions using undo-deltas.
644
645 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
646
647 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
648 the last consecutive closing paren (bug#17345).
649
650 2014-04-30 Reuben Thomas <rrt@sc3d.org>
651
652 * dired.el (dired-mode): make terminology for eXpunge command
653 consistent. (Bug#17276)
654
655 2014-04-30 Eli Zaretskii <eliz@gnu.org>
656
657 * dired.el (dired-initial-position-hook, dired-initial-position):
658 Doc string fixes.
659
660 2014-04-30 Glenn Morris <rgm@gnu.org>
661
662 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
663
664 2014-04-30 Matthias Dahl <matthias.dahl@binary-island.eu>
665
666 * faces.el (face-spec-recalc): Apply X resources only after the
667 defface spec has been applied. Thus, X resources are no longer
668 overriden by the defface spec which also fixes issues on win32 where
669 the toolbar coloring was wrong because it is set through X resources
670 and was (wrongfully) overriden. (Bug#16694)
671
672 2014-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
673
674 * textmodes/rst.el (electric-pair-pairs): Declare.
675 (rst-mode): Set it (bug#17131).
676
677 2014-04-30 Juri Linkov <juri@jurta.org>
678
679 * desktop.el (desktop-value-to-string): Let-bind `print-length'
680 and `print-level' to nil. (Bug#17351)
681
682 2014-04-30 Nicolas Richard <theonewiththeevillook@yahoo.fr>
683
684 * battery.el (battery-update): Handle the case where battery
685 status is "N/A" (bug#17319).
686
687 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
688
689 * progmodes/ps-mode.el: Use SMIE. Move string and comment recognition
690 to syntax-propertize.
691 (ps-mode-auto-indent): Mark as obsolete.
692 (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
693 (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
694 word regexp operators.
695 (ps-mode-map): Move initialization into declaration. Remove binding
696 for TAB, RET, >, ], and }.
697 (ps-mode-syntax-table): Move initialization into declaration.
698 Don't give word syntax to non-word chars.
699 (ps-run-mode-map): Move initialization into declaration.
700 (ps-mode-menu-main): Remove auto-indent entry.
701 (ps-mode-smie-rules): New function.
702 (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
703 (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
704 (ps-mode--string-syntax-table): New const.
705 (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
706 New functions.
707 (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
708 (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
709
710 2014-04-27 Daniel Colascione <dancol@dancol.org>
711
712 * term/xterm.el (xterm-paste): Use large finite timeout when
713 reading event to avoid putting keys in this-command-keys.
714
715 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
716
717 * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
718 (perl-syntax-propertize-function): Use it. Extend handling of
719 here-docs to the unquoted case.
720
721 2014-04-25 Eli Zaretskii <eliz@gnu.org>
722
723 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
724 Use equal-including-properties to compare help-echo strings (bug#17331).
725
726 2014-04-25 Leo Liu <sdl.web@gmail.com>
727
728 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
729 Fix syntax for @. (Bug#17325)
730
731 2014-04-25 Daniel Colascione <dancol@dancol.org>
732
733 * emacs-lisp/cl.el (gv): Require gv early to break eager
734 macro-expansion cycles.
735
736 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
737
738 * simple.el (region-active-p): Check there's a mark (bug#17324).
739
740 * simple.el (completion-list-mode-map): Use choose-completion for the
741 mouse binding as well (bug#17302).
742 (completion-list-mode, completion-setup-function): Adjust docstring and
743 echo area message accordingly.
744 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
745 calling convention of choose-completion.
746 * comint.el (comint-dynamic-list-completions):
747 * term.el (term-dynamic-list-completions): Accept choose-completion.
748
749 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
750 &, |, +, - and * can't be a division (bug#17317).
751
752 * term/xterm.el (xterm--version-handler): Don't use modern xterm
753 features on gnome-terminal (bug#16988).
754
755 2014-04-25 Thien-Thi Nguyen <ttn@gnu.org>
756
757 Improve Scheme font-locking for (define ((foo ...) ...) ...).
758
759 * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
760 the declared object, ignore zero or more parens, not zero or one.
761
762 2014-04-24 Leo Liu <sdl.web@gmail.com>
763
764 * progmodes/xscheme.el (xscheme-expressions-ring)
765 (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
766 (xscheme-control-g-disabled-p, xscheme-process-filter-state)
767 (xscheme-allow-output-p, xscheme-prompt)
768 (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
769
770 * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
771 Comment out unused functions.
772
773 2014-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
774
775 * info.el: Use lexical-binding and cl-lib.
776 Use defvar-local and setq-local instead of make-local-variable.
777 (Info-apropos-matches): Avoid add-to-list.
778 (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
779
780 2014-04-24 Daniel Colascione <dancol@dancol.org>
781
782 * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
783
784 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
785
786 * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
787
788 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
789
790 * dired.el (dired-insert-set-properties): Do not consider
791 subdirectory headings and empty lines to be information that
792 `dired-hide-details-mode' should hide. (Bug#17228)
793
794 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
795
796 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
797 Remove test messages.
798 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
799 and `target' twice.
800
801 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
802
803 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
804 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
805
806 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
807
808 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
809
810 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
811 Set "IFS=" when using read builtin, in order to preserve spaces in
812 the file name. Add test messages for hunting a bug on hydra.
813 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
814
815 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
816
817 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
818 Don't prettify a word within a symbol.
819
820 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
821
822 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
823 possible.
824
825 2014-04-22 Daniel Colascione <dancol@dancol.org>
826
827 * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
828 use defun to define `function-put'.
829
830 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
831
832 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
833 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
834 (lisp-mode-variables): Set font-lock-extra-managed-props.
835
836 * emacs-lisp/byte-run.el (function-put): New function.
837 (defun-declarations-alist): Use it. Add `pure' and `side-effect-free'.
838 * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
839 (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
840 Use them.
841
842 2014-04-22 Daniel Colascione <dancol@dancol.org>
843
844 * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
845 Add `full-p' parameter; when nil, call `macroexpand' instead of
846 `macroexpand-all'.
847
848 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
849 Improve docstrings.
850
851 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
852 Use lambda function values, not quoted lambdas.
853 (byte-compile-recurse-toplevel): Remove extraneous &optional.
854
855 * emacs-lisp/cl-macs.el
856 (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
857 (cl-struct-slot-value): Conditionally use aref or nth so that the
858 compiler produces optimal code.
859
860 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
861
862 * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
863 (inline): Don't inline cl--set-elt.
864 (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
865 Define as inlinable instead.
866 (cl-struct-set-slot-value): Remove.
867
868 * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
869 * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
870 Use setf instead.
871
872 2014-04-21 Daniel Colascione <dancol@dancol.org>
873
874 * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
875 last two parameters after all.
876 (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
877 (cl--compiler-macro-assoc,cl-struct-slot-value)
878 (cl-struct-set-slot-value): Stop using them.
879
880 (2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
881
882 * image-mode.el (image-mode-window-put): Don't assume there's a `t'
883 entry in image-mode-winprops-alist.
884
885 2014-04-21 Daniel Colascione <dancol@dancol.org>
886
887 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
888 (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
889 (byte-compile-toplevel-file-form): Use it.
890
891 * emacs-lisp/cl-macs.el:
892 (cl--loop-let): Properly destructure `while' clauses.
893
894 2014-04-20 Daniel Colascione <dancol@dancol.org>
895
896 * vc/vc.el (vc-root-dir): New public autoloaded function for
897 generically finding the current VC root.
898 * vc/vc-hooks.el (vc-not-supported): New error.
899 (vc-call-backend): Signal `vc-not-supported' instead of generic error.
900
901 2014-04-20 Daniel Colascione <dancol@dancol.org>
902
903 * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
904 argument.
905 (cl--const-expr-val): cl--const-expr-val should macroexpand its
906 argument in case we're inside a symbol-macrolet.
907 (cl--do-arglist, cl--compiler-macro-typep)
908 (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
909 environment to `cl--const-expr-val'.
910 (cl-struct-sequence-type,cl-struct-slot-info)
911 (cl-struct-slot-offset, cl-struct-slot-value)
912 (cl-struct-set-slot-value): New functions.
913
914 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
915
916 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
917 assignments such as "case=hello" (bug#17297).
918
919 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
920
921 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
922 Do not autoload.
923 (tramp-file-name-handler, tramp-completion-file-name-handler):
924 Revert patch from 2014-04-10, it isn't necessary anymore.
925 (tramp-autoload-file-name-handler)
926 (tramp-register-autoload-file-name-handlers): New defuns.
927 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
928 (tramp-register-file-name-handlers): Remove also
929 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
930 Do not autoload its invocation, but eval it after loading of 'tramp.
931
932 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
933
934 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
935
936 2014-04-17 Daniel Colascione <dancol@dancol.org>
937
938 Add support for bracketed paste mode; add infrastructure for
939 managing terminal mode enabling and disabling automatically.
940
941 * xt-mouse.el:
942 (xterm-mouse-mode): Simplify.
943 (xterm-mouse-tracking-enable-sequence)
944 (xterm-mouse-tracking-disable-sequence): New constants.
945 (turn-on-xterm-mouse-tracking-on-terminal)
946 (turn-off-xterm-mouse-tracking-on-terminal):
947 Use tty-mode-set-strings and tty-mode-reset-strings terminal
948 parameters instead of random hooks.
949 (turn-on-xterm-mouse-tracking)
950 (turn-off-xterm-mouse-tracking): Delete.
951
952 * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
953 (xterm-paste-ending-sequence): New constant.
954 (xterm-paste): New command used for bracketed paste support.
955
956 (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
957 (terminal-init-xterm-bracketed-paste-mode): New function.
958 (terminal-init-xterm): Call it.
959 (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
960 and tty-mode-reset-strings instead of random hooks.
961 (xterm-turn-on-modify-other-keys)
962 (xterm-turn-off-modify-other-keys)
963 (xterm-remove-modify-other-keys): Delete obsolete functions.
964
965 * term/screen.el: Rewrite to just use the xterm code.
966 Add copyright notice. Mention tmux.
967
968 2014-04-17 Ian D <dunni@gnu.org> (tiny change)
969
970 * image-mode.el (image-mode-window-put): Also update the property of
971 the "default window".
972 * doc-view.el (doc-view-new-window-function): If no window
973 exists, move to the last known page.
974
975 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
976
977 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
978 here-documents (bug#17262).
979
980 2014-04-16 Eli Zaretskii <eliz@gnu.org>
981
982 * term/pc-win.el (x-list-fonts, x-get-selection-value):
983 Provide doc strings, as required by snarf-documentation.
984
985 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
986
987 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
988 arg of overlays-at. Use `invisible-p'.
989
990 * obsolete/lucid.el (extent-at):
991 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
992 overlays-at.
993 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
994
995 2014-04-16 João Távora <joaotavora@gmail.com>
996
997 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
998 links. (Bug#17217).
999
1000 2014-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1001
1002 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
1003 Use mapc to loop over a vector. (Bug#17257).
1004
1005 2014-04-16 Michael Albinus <michael.albinus@gmx.de>
1006
1007 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
1008 patch, there are new problems with file names containing spaces.
1009 Get rid of backticks. (Bug#17238)
1010
1011 2014-04-16 João Távora <joaotavora@gmail.com>
1012
1013 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
1014 possible bug.
1015
1016 2014-04-16 Eli Zaretskii <eliz@gnu.org>
1017
1018 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
1019 (blink-cursor-mode): Mention customization variables and the
1020 effect of 'blink-cursor-blinks'.
1021
1022 2014-04-16 Barry O'Reilly <gundaetiapo@gmail.com>
1023
1024 * simple.el (undo): Prevent insertion of identity mapping into
1025 undo-equiv-table so as undo-only does not inf loop in the presence
1026 of consecutive nils in undo list.
1027
1028 2014-04-16 Matthias Dahl <matthias.dahl@binary-island.eu>
1029
1030 * faces.el (make-face): Deprecate optional argument as it is no
1031 longer needed/used since the conditional X resources handling
1032 has been pushed down to make-face-x-resource-internal itself.
1033 (make-empty-face): Don't pass optional argument to make-face.
1034
1035 2014-04-16 Karl Fogel <kfogel@red-bean.com>
1036
1037 * savehist.el (savehist-save): Remove workaround for a read-passwd
1038 bug that was fixed before 24.3. Thanks to Juanma Barranquero for
1039 noticing that the shim was still present.
1040
1041 2014-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1042
1043 * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
1044
1045 2014-04-14 Juanma Barranquero <lekktu@gmail.com>
1046
1047 * faces.el (face-set-after-frame-default): Remove unused local variable.
1048
1049 2014-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1050
1051 * progmodes/grep.el: Use lexical-binding.
1052 (grep-expand-template): Pass explicit lexical env to `eval'.
1053 (zrgrep): Let-bind grep-find-template explicitly.
1054
1055 * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
1056 * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
1057
1058 2014-04-12 Eli Zaretskii <eliz@gnu.org>
1059
1060 * international/characters.el <standard-case-table>: Add entries
1061 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
1062 Set category of Coptic characters be 'g' (Greek).
1063
1064 2014-04-12 Leo Liu <sdl.web@gmail.com>
1065
1066 * progmodes/octave.el (completion-table-with-cache):
1067 Define if not available.
1068 (octave-goto-function-definition, octave-sync-function-file-names)
1069 (octave-find-definition-default-filename):
1070 Backquote upattern for compatibility.
1071
1072 2014-04-12 Michael Albinus <michael.albinus@gmx.de>
1073
1074 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
1075 name twice due to backticks. (Bug#17238)
1076
1077 2014-04-12 Glenn Morris <rgm@gnu.org>
1078
1079 * term/w32-win.el (x-win-suspend-error):
1080 * term/x-win.el (x-win-suspend-error): Sync docs.
1081
1082 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
1083
1084 * faces.el (make-face): Remove deprecated optional argument.
1085 The conditional application of X resources is handled directly by
1086 make-face-x-resource-internal since Emacs 24.4.
1087 (make-empty-face): Don't pass optional argument to make-face.
1088
1089 2014-04-11 Glenn Morris <rgm@gnu.org>
1090
1091 * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport. (Bug#16429)
1092
1093 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1094
1095 Ediff's overlay priorities cause more trouble than they solve.
1096 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
1097 (ediff-highest-priority): Remove function (bug#17234).
1098 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
1099 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
1100 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
1101 overlay priorities.
1102
1103 2014-04-11 Feng Li <fengli@gmail.com> (tiny change)
1104
1105 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
1106 entry; use symbol boundaries to avoid mis-matches.
1107
1108 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
1109
1110 * net/tramp.el (tramp-file-name-handler)
1111 (tramp-completion-file-name-handler): Avoid recursive loading.
1112
1113 * net/tramp-sh.el (tramp-make-copy-program-file-name):
1114 Quote result also locally.
1115
1116 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1117
1118 * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
1119 Remove left-over code.
1120
1121 * newcomment.el (comment-indent-new-line): Sink code where it's used.
1122 Reuse the previous comment's indentation unconditionally if it's on its
1123 own line.
1124
1125 2014-04-09 Daniel Colascione <dancol@dancol.org>
1126
1127 * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
1128 `no-syntax-crossing' arguments. Forward to `up-list'.
1129 (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
1130 Implement logic for escaping from strings. Use narrowing to deal
1131 with corner cases.
1132
1133 2014-04-09 Leo Liu <sdl.web@gmail.com>
1134
1135 * net/rcirc.el (rcirc-connection-info): New variable.
1136 (rcirc-connect): Use it to store connection info.
1137 (rcirc-buffer-process): Avoid get-buffer-process which returns nil
1138 for killed process.
1139 (rcirc-cmd-reconnect): New command. (Bug#17045)
1140 (rcirc-mode, set-rcirc-encode-coding-system)
1141 (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
1142
1143 2014-04-09 Daniel Colascione <dancol@dancol.org>
1144
1145 * emacs-lisp/cl-indent.el: Add comment claiming
1146 facility is also good for elisp.
1147 (lisp-indent-find-method): New function.
1148 (common-lisp-indent-function): Recognize cl-loop.
1149 (common-lisp-indent-function-1): Recognize cl constructs; use
1150 `lisp-indent-find-method' instead of `get' directly.
1151 (if): Use else-body style for elisp.
1152
1153 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
1154
1155 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
1156 Module methods. (Bug#17216)
1157
1158 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
1159
1160 * help.el (describe-bindings): Fix buffer handling (bug#17210).
1161 (describe-bindings-internal): Mark obsolete.
1162
1163 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
1164
1165 * subr.el (with-silent-modifications): Don't bind deactivate-mark,
1166 buffer-file-name, and buffer-file-truename any more.
1167
1168 2014-04-08 Leo Liu <sdl.web@gmail.com>
1169
1170 Use lexical-binding and require cl-lib.
1171 * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
1172 (rcirc-handler-generic, rcirc-fill-paragraph)
1173 (rcirc-format-response-string, rcirc-target-buffer)
1174 (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
1175 (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
1176 (rcirc-ctcp-sender-PING, rcirc-browse-url)
1177 (rcirc-markup-timestamp, rcirc-markup-attributes)
1178 (rcirc-markup-my-nick, rcirc-markup-urls)
1179 (rcirc-markup-bright-nicks, rcirc-markup-fill)
1180 (rcirc-check-auth-status, rcirc-handler-WALLOPS)
1181 (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
1182 (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
1183 (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
1184 (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
1185 (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
1186 (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
1187 (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
1188 (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
1189 (rcirc-handler-CTCP-response): Fix unused arguments warnings and
1190 use cl-lib.
1191
1192 2014-04-07 João Távora <joaotavora@gmail.com>
1193
1194 * elec-pair.el (electric-pair--syntax-ppss):
1195 When inside comments parse from comment beginning.
1196 (electric-pair--balance-info): Fix typo in comment.
1197 (electric-pair--in-unterminated-string-p): Delete.
1198 (electric-pair--unbalanced-strings-p): New function.
1199 (electric-pair-string-bound-function): New var.
1200 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
1201 according to `electric-pair--in-unterminated-string-p'
1202
1203 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
1204 Inhibit quote pairing if point-max is inside an unterminated string.
1205 (electric-pair--looking-at-unterminated-string-p): Delete.
1206 (electric-pair--in-unterminated-string-p): New function.
1207
1208 2014-04-07 Glenn Morris <rgm@gnu.org>
1209
1210 * shell.el (shell-directory-tracker):
1211 Go back to just ignoring failures. (Bug#17159)
1212
1213 2014-04-07 João Távora <joaotavora@gmail.com>
1214
1215 Fix `electric-pair-delete-adjacent-pairs' in modes binding
1216 backspace. (bug#16981)
1217 * elec-pair.el (electric-pair-backward-delete-char): Delete.
1218 (electric-pair-backward-delete-char-untabify): Delete.
1219 (electric-pair-mode-map): Bind backspace to a menu item filtering
1220 a new `electric-pair-delete-pair' command.
1221 (electric-pair-delete-pair): New command.
1222
1223 * progmodes/python.el (python-electric-pair-string-delimiter):
1224 Fix triple-quoting electricity. (Bug#17192)
1225
1226 * elec-pair.el (electric-pair-post-self-insert-function):
1227 Don't skip whitespace when `electric-pair-text-pairs' and
1228 `electric-pair-pairs' were used. syntax to
1229 electric-pair--skip-whitespace. (Bug#17183)
1230
1231 2014-04-07 Eli Zaretskii <eliz@gnu.org>
1232
1233 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
1234 "<F>". (Bug#17199)
1235
1236 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
1237
1238 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
1239 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
1240
1241 2014-04-07 Glenn Morris <rgm@gnu.org>
1242
1243 * help.el (view-lossage): Doc tweak.
1244
1245 2014-04-07 Matthias Dahl <ml_emacs-lists@binary-island.eu>
1246
1247 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
1248 only when inhibit-x-resources is nil, and do that earlier in the
1249 function. Doc fix. (Bug#16694)
1250 (face-spec-choose): Accept additional optional argument, whose
1251 value is returned if no matching attributes are found.
1252 (face-spec-recalc): Use the new optional argument when calling
1253 face-spec-choose. (Bug#16378)
1254 (make-face-x-resource-internal): Do nothing when
1255 inhibit-x-resources is non-nil. Don't touch the default face if
1256 reversed video is given--as was done in previous versions of Emacs.
1257 (face-set-after-frame-default): Don't call
1258 make-face-x-resource-internal here. (Bug#16434)
1259
1260 2014-04-07 Tassilo Horn <tsdh@gnu.org>
1261
1262 * doc-view.el (doc-view-bookmark-jump):
1263 Use `bookmark-after-jump-hook' to jump to the right page after the
1264 buffer is shown in a window. (bug#16090)
1265
1266 2014-04-07 Eli Zaretskii <eliz@gnu.org>
1267
1268 * international/characters.el (mirroring): Fix last change:
1269 instead of loading uni-mirrored.el explicitly, do that implicitly
1270 by creating the 'mirroring' uniprop table. This avoids announcing
1271 the loading of uni-mirrored.el.
1272
1273 2014-04-07 Glenn Morris <rgm@gnu.org>
1274
1275 * files.el (buffer-stale--default-function)
1276 (buffer-stale-function, revert-buffer--default):
1277 * autorevert.el (auto-revert-buffers): Doc tweaks.
1278
1279 2014-04-07 Eli Zaretskii <eliz@gnu.org>
1280
1281 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
1282
1283 2014-04-07 Glenn Morris <rgm@gnu.org>
1284
1285 * files.el (make-backup-file-name-function)
1286 (make-backup-file-name, make-backup-file-name--default-function)
1287 (make-backup-file-name-1, find-backup-file-name)
1288 (revert-buffer-function, revert-buffer-insert-file-contents-function)
1289 (buffer-stale--default-function, buffer-stale-function)
1290 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
1291 (revert-buffer, revert-buffer--default)
1292 (revert-buffer-insert-file-contents--default-function):
1293 Doc fixes related to defaults no longer being nil.
1294 (make-backup-file-name-function): Bump :version.
1295 Restore nil as a valid but deprecated custom type.
1296
1297 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
1298
1299 * progmodes/perl-mode.el (perl-syntax-propertize-function):
1300 Handle $' used as a variable (bug#17174).
1301
1302 * progmodes/perl-mode.el (perl-indent-new-calculate):
1303 Handle forward-sexp failure (bug#16985).
1304 (perl-syntax-propertize-function): Add "foreach" and "for" statement
1305 modifiers introducing expressions (bug#17116).
1306
1307 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
1308
1309 * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
1310
1311 2014-04-05 Leo Liu <sdl.web@gmail.com>
1312
1313 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
1314 Add define-compilation-mode.
1315
1316 2014-04-04 João Távora <joaotavora@gmail.com>
1317
1318 * elec-pair.el (electric-pair--syntax-ppss): When inside comments
1319 parse from comment beginning.
1320 (electric-pair--balance-info): Fix typo in comment.
1321 (electric-pair--in-unterminated-string-p): Delete.
1322 (electric-pair--unbalanced-strings-p): New function.
1323 (electric-pair-string-bound-function): New var.
1324 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
1325 according to `electric-pair--in-unterminated-string-p'.
1326
1327 2014-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1328
1329 * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
1330 Move declaration before first use.
1331 (reftex-move-to-next-arg): Silence compiler warning.
1332
1333 2014-04-04 Joost Kremers <joostkremers@fastmail.fm> (tiny change)
1334
1335 * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
1336 Use `window-total-width' instead of `window-width'.
1337
1338 2014-04-03 Daniel Colascione <dancol@dancol.org>
1339
1340 * subr.el (set-transient-map): Remove rms's workaround entirely;
1341 use new `suspicious-object' subr to mark our lambda for closer
1342 scrutiny during gc.
1343
1344 2014-04-02 Richard Stallman <rms@gnu.org>
1345
1346 * subr.el (set-transient-map): Comment out previous change.
1347
1348 2014-04-02 Glenn Morris <rgm@gnu.org>
1349
1350 * menu-bar.el (menu-bar-file-menu):
1351 * vc/ediff.el (ediff-current-file):
1352 Update for revert-buffer-function no longer being nil by default.
1353
1354 * simple.el (command-execute): Respect nil disabled-command-function.
1355
1356 2014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1357
1358 * simple.el (command-execute): Do not execute the command when it
1359 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
1360
1361 2014-04-02 Juri Linkov <juri@jurta.org>
1362
1363 * dired-aux.el (dired-compress-file): Don't use string-match-p
1364 because its match data is used afterwards.
1365
1366 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
1367
1368 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
1369 0 like nil.
1370
1371 2014-04-02 João Távora <joaotavora@gmail.com>
1372
1373 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
1374 Inhibit quote pairing if point-max is inside an unterminated string.
1375 (electric-pair--looking-at-unterminated-string-p):
1376 Delete.
1377 (electric-pair--in-unterminated-string-p): New function.
1378
1379 2014-04-01 Daniel Colascione <dancol@dancol.org>
1380
1381 * minibuffer.el (minibuffer-complete): Prevent assertion failure
1382 when trying to complete the prompt.
1383
1384 2014-03-31 Leo Liu <sdl.web@gmail.com>
1385
1386 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
1387 Refactor out eldoc-documentation-function-default.
1388 (eldoc-documentation-function-default): New function.
1389 (eldoc-documentation-function): Change value.
1390
1391 2014-03-31 Glenn Morris <rgm@gnu.org>
1392
1393 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
1394
1395 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
1396 (vhdl-compose-components-package, vhdl-compose-configuration):
1397 Abbreviate default-directory (missing from some previous upstream sync).
1398
1399 2014-03-31 Reto Zimmermann <reto@gnu.org>
1400
1401 Sync with upstream vhdl mode v3.35.2.
1402 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
1403 (top-level): No longer require assoc.
1404 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
1405 New functions. Use throughout to replace aget etc.
1406 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
1407 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
1408 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
1409 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
1410 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
1411 except `vhdl-compiler'.
1412 (vhdl-error-regexp-add-emacs): Remove all other compilers,
1413 when appropriate.
1414
1415 2014-03-31 Glenn Morris <rgm@gnu.org>
1416
1417 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
1418 Revert 2014-03-26 merge goof; go back to using defalias.
1419
1420 2014-03-30 Daniel Colascione <dancol@dancol.org>
1421
1422 * comint.el (comint-send-input):
1423 Deactivate completion-in-region-mode before we send comint input.
1424 (Bug#17139).
1425
1426 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
1427 on keyboard-quit.
1428
1429 2014-03-29 Glenn Morris <rgm@gnu.org>
1430
1431 * textmodes/reftex.el: Manage most autoloads automatically.
1432 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
1433 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
1434 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
1435 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
1436 * textmodes/reftex-toc.el: Set generated-autoload-file,
1437 and add autoload cookies for reftex.el.
1438 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
1439
1440 2014-03-28 Glenn Morris <rgm@gnu.org>
1441
1442 * cus-start.el (report-emacs-bug-address): Set custom properties.
1443 * mail/emacsbug.el (report-emacs-bug-address):
1444 Variable is now defined in emacs.c.
1445
1446 * mail/emacsbug.el (report-emacs-bug):
1447 Include system-configuration-features.
1448
1449 2014-03-28 Michal Nazarewicz <mina86@mina86.com>
1450
1451 * simple.el (cycle-spacing): Never delete spaces on first run by
1452 default, but do so in a new 'fast mode and if there are already
1453 N spaces (the previous behavior).
1454 Compare N with its value in previous invocation so that changing
1455 prefix argument restarts `cycle-spacing' sequence.
1456 The idea is that with this change, binding M-SPC to
1457 `cycle-spacing' should not introduce any changes in behavior of
1458 the binding so long as users do not type M-SPC twice in a raw with
1459 the same prefix argument or lack thereof.
1460
1461 2014-03-28 Glenn Morris <rgm@gnu.org>
1462
1463 * faces.el (term-file-aliases): New variable.
1464 (tty-run-terminal-initialization): Respect term-file-aliases.
1465 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
1466 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
1467 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
1468
1469 2014-03-27 Glenn Morris <rgm@gnu.org>
1470
1471 * startup.el (inhibit-startup-hooks): Doc tweak.
1472 (normal-top-level): Simplify running of hooks.
1473 For window-setup-hook, respect inhibit-startup-hooks.
1474 (command-line-1): Don't set window-setup-hook to nil.
1475
1476 Allow selective autoloading from obsolete/ directory.
1477 * Makefile.in (obsolete-autoloads): New rule.
1478 (autoloads): Run obsolete-autoloads.
1479 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
1480 * simple.el (iswitchb-mode): Remove hand-written autoloads.
1481
1482 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
1483
1484 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1485 Highlight special globals with font-lock-builtin-face. (Bug#17057)
1486
1487 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1488 Don't propertize `?' or `!' as symbol constituent when after
1489 colon. (Bug#17097)
1490
1491 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
1492
1493 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
1494 which is no longer needed and causes trouble in GTK builds (bug#17046).
1495
1496 * emacs-lisp/package-x.el (package--archive-contents-from-url):
1497 Use url-insert-file-contents; package-handle-response no longer exists.
1498
1499 2014-03-26 Daniel Colascione <dancol@dancol.org>
1500
1501 * simple.el (process-menu-mode-map): New variable.
1502 (process-menu-delete-process): New command.
1503
1504 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
1505
1506 * emacs-lisp/package.el: Fix bug#16733 (again).
1507 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
1508 (url-http-target-url): Remove unused declarations.
1509 (package-handle-response): Remove.
1510 (package--with-work-buffer): Use url-insert-file-contents and simplify.
1511 (package--download-one-archive): Use current-buffer instead of
1512 dynamic binding of `buffer'.
1513 (describe-package-1): Do not decode readme-string.
1514
1515 2014-03-26 Michael Albinus <michael.albinus@gmx.de>
1516
1517 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
1518
1519 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
1520 from 2014-03-07, it decreases performance unnecessarily. Let-bind
1521 `remote-file-name-inhibit-cache' to nil in the second pass.
1522 (tramp-find-executable): Do not call "which" on SunOS.
1523 (tramp-send-command-and-check): Fix docstring.
1524 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
1525 check whether source directory has set the sticky bit.
1526
1527 2014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
1528
1529 * simple.el (primitive-undo): Only process marker adjustments
1530 validated against their corresponding (TEXT . POS). Issue warning
1531 for lone marker adjustments in undo history. (Bug#16818)
1532 (undo-make-selective-list): Add marker adjustments to selective
1533 undo list based on whether their corresponding (TEXT . POS) is in
1534 the region. Remove variable adjusted-markers, which was unused
1535 and only non nil during undo-make-selective-list.
1536 (undo-elt-in-region): Return nil when passed a marker adjustment
1537 and explain in function doc.
1538
1539 2014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1540
1541 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
1542
1543 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
1544
1545 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
1546 Match special global variables without curlies, too.
1547 (ruby-font-lock-keywords): Simplify the matcher for special global
1548 variables. Don't require a non-word character after the variable.
1549 (Bug#17057)
1550
1551 2014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1552
1553 * simple.el (redisplay-highlight-region-function): Increase priority of
1554 overlay to make sure boundaries are visible (bug#15899).
1555
1556 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
1557
1558 * frameset.el (frameset--initial-params): Fix typo in parameter name.
1559 (frameset-restore): Compare display strings with equal.
1560
1561 * frame.el (make-frame): Don't quote display name in error message,
1562 it is already a string.
1563
1564 2014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1565
1566 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
1567 the password.
1568
1569 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
1570
1571 * emacs-lisp/package.el (package--add-to-archive-contents):
1572 Include already installed and built-in packages in
1573 `package-archive-contents'.
1574 (package-install): Don't include already installed packages in the
1575 options during interactive invocation. (Bug#16762)
1576 (package-show-package-list): If the buffer is already displayed in
1577 another window, switch to that window.
1578
1579 2014-03-26 Reto Zimmermann <reto@gnu.org>
1580
1581 Sync with upstream vhdl mode v3.35.1.
1582 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
1583 (vhdl-compiler-alist): Doc fix.
1584 (vhdl-goto-line): Remove.
1585 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
1586 (vhdl-mode) <paragraph-start>: Fix value.
1587 (vhdl-fix-statement-region): Not `for' in wait-statement.
1588 (vhdl-beautify-region): Also (un)tabify.
1589 (vhdl-get-visible-signals):
1590 Scan declarative part of generate statements.
1591 (vhdl-template-record): Fix indentation for record type declaration.
1592 (vhdl-expand-abbrev, vhdl-expand-paren):
1593 Revert to using fset again rather than defalias.
1594 (vhdl-scan-directory-contents): Tweak.
1595 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
1596 (vhdl-compose-components-package):
1597 Replace vhdl-goto-line with forward-line.
1598 (top-level): Tweak speedbar frame selection.
1599 (vhdl-generate-makefile-1): Support for compilers with no
1600 unit-to-file name mapping (create directory with dummy files).
1601
1602 2014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
1603
1604 Sync with upstream verilog-mode revision 702457d.
1605 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1606 (create-lockfiles): Declare.
1607 (verilog-read-decls): Fix module header imports, bug709.
1608 Reported by Victor Lau.
1609 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
1610 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
1611 interface-only modules, bug721. Reported by Dean Hoyt.
1612
1613 2014-03-26 Glenn Morris <rgm@gnu.org>
1614
1615 * obsolete/gulp.el: Move here from emacs-lisp/.
1616
1617 * files.el (lock-buffer, unlock-buffer, file-locked-p):
1618 Remove fallback aliases, since they are always defined now.
1619
1620 2014-03-24 Daniel Colascione <dancol@dancol.org>
1621
1622 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
1623 instead of cl-loop search function.
1624
1625 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
1626
1627 * calendar/parse-time.el (parse-time-iso8601-regexp)
1628 (parse-iso8601-time-string): Copied from `url-dav' so that we can use
1629 it more generally.
1630
1631 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
1632
1633 * net/dns.el (network-interface-list): Define for XEmacs.
1634
1635 2014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
1636
1637 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
1638 the network interfaces changed.
1639 (dns-query): Use it to flush the data.
1640
1641 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
1642
1643 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
1644
1645 2014-03-23 Daniel Colascione <dancol@dancol.org>
1646
1647 Change subword-mode to use `find-word-boundary-function-table' and
1648 replace `capitalized-words-mode'. Also, convert to lexical
1649 binding.
1650
1651 * progmodes/cap-words.el: Delete now-obsolete file.
1652 * progmodes/subword.el: Reimplement using
1653 `find-word-boundary-function-table'.
1654 (subword-mode-map): Hollow out.
1655 (capitalized-words-mode): Define as obsolete alias for
1656 `subword-mode'.
1657 (subword-mode, superword-mode): Tweak documentation to reflect new
1658 implementation; call `subword-setup-buffer'.
1659 (subword-forward, subword-capitalize): Add underscore to indicate
1660 unused variable.
1661 (subword-find-word-boundary-function-table): New constant.
1662 (subword-empty-char-table): New constant.
1663 (subword-setup-buffer): New function.
1664 (subword-find-word-boundary): New function.
1665
1666 2014-03-23 Daniel Colascione <dancol@dancol.org>
1667
1668 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
1669 list to look for keyword arguments instead of `memq', fixing
1670 (Bug#3647) --- unfortunately, only for freshly-compiled code.
1671 Please make bootstrap.
1672
1673 2014-03-22 Glenn Morris <rgm@gnu.org>
1674
1675 * dired.el (dired-read-regexp): Make obsolete.
1676 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
1677 (dired-flag-files-regexp):
1678 * dired-aux.el (dired-mark-read-regexp):
1679 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
1680
1681 * startup.el (fancy-startup-text):
1682 * help.el (describe-gnu-project): Visit online info about GNU project.
1683
1684 * help-fns.el (help-fns--interactive-only): New function.
1685 (help-fns-describe-function-functions): Add the above function.
1686 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
1687 (next-line, previous-line): Remove hand-written interactive-only
1688 information from doc strings, it is auto-generated now.
1689 * bookmark.el (bookmark-write):
1690 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
1691 (epa-mail-import-keys): Mark interactive-only,
1692 and remove hand-written interactive-only information from doc strings.
1693 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
1694 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
1695 * files.el (not-modified):
1696 * simple.el (mark-whole-buffer): Mark interactive-only.
1697
1698 * emacs-lisp/byte-run.el (defun-declarations-alist):
1699 Add interactive-only. Doc tweak.
1700 (macro-declarations-alist): Doc tweak.
1701 * subr.el (declare): Doc tweak (add xref to manual).
1702 * comint.el (comint-run):
1703 * files.el (insert-file-literally, insert-file):
1704 * replace.el (replace-string, replace-regexp):
1705 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1706 (delete-forward-char, goto-line, insert-buffer, next-line)
1707 (previous-line): Set interactive-only via declare.
1708
1709 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
1710
1711 * emacs-lisp/package.el (package-desc): Use the contents of the
1712 quoted form, not its cdr. (Bug#16873)
1713
1714 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
1715
1716 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
1717 benefit of doc.c; change parameter profile to match the X function.
1718
1719 2014-03-22 Leo Liu <sdl.web@gmail.com>
1720
1721 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
1722 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
1723
1724 2014-03-21 Richard Stallman <rms@gnu.org>
1725
1726 * battery.el (battery-linux-sysfs): Search for each field
1727 from the beginning of the buffer.
1728
1729 * subr.el (set-transient-map): Clear out function and value
1730 of the temporary symbol when we're done with it.
1731
1732 * mail/rmailsum.el (rmail-summary-delete-forward):
1733 Optimize case of reaching end and handling count.
1734 (rmail-summary-mark-deleted): Optimize when N is current msg.
1735 Don't create new summary line.
1736 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
1737 (rmail-summary-undelete-many): Rewrite for speed.
1738 (rmail-summary-msg-number): New function.
1739
1740 * mail/rmail.el (rmail-delete-message): Update summary.
1741 (rmail-undelete-previous-message): Handle repeat count arg.
1742 (rmail-delete-backward, rmail-delete-forward): Likewise.
1743
1744 2014-03-21 Daniel Colascione <dancol@dancol.org>
1745
1746 * mail/emacsbug.el (report-emacs-bug): Include memory usage
1747 information in bug reports.
1748
1749 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
1750
1751 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
1752 and `tramp-copy-env'.
1753
1754 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
1755 (tramp-maybe-open-connection): Handle `tramp-login-env'.
1756
1757 2014-03-21 Glenn Morris <rgm@gnu.org>
1758
1759 * electric.el (electric-indent-post-self-insert-function): Add doc.
1760
1761 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
1762
1763 * emacs-lisp/package.el (package-compute-transaction):
1764 Use `version-list-<=' to compare the requirement version against
1765 the version of package already to be installed. Update the error
1766 message. (Bug#16826)
1767
1768 * progmodes/ruby-mode.el (ruby-smie-rules):
1769 Add indentation rule for ` @ '. (Bug#17050)
1770
1771 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
1772
1773 * align.el (align-regexp): Remove superfluous backslash.
1774
1775 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
1776 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
1777 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
1778 Fix docstring typos.
1779 (ffap-next): Use C-u in docstring.
1780 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
1781 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
1782 Remove superfluous backslashes.
1783 (ffap-string-at-point): Reflow docstring.
1784
1785 * server.el (server-host): Reflow docstring.
1786 (server-unload-function): Fix docstring typo.
1787 (server-eval-at): Remove superfluous backslash.
1788
1789 * skeleton.el (skeleton-insert): Remove superfluous backslash.
1790 (skeleton-insert): Doc fix.
1791 (skeleton-insert): Reflow docstring.
1792
1793 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
1794 (tty-color-approximate, tty-color-by-index, tty-color-values)
1795 (tty-color-desc): Remove superfluous backslashes.
1796
1797 2014-03-21 Glenn Morris <rgm@gnu.org>
1798
1799 * cus-start.el (history-length): Bump :version.
1800
1801 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1802 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
1803 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1804 Don't set `make-backup-files'.
1805
1806 * info.el (info--prettify-description): New function,
1807 to give info-finder descriptions consistent case, punctuation.
1808 (Info-finder-find-node): Use it. Sort packages.
1809 Refer to "description" rather than "commentary".
1810
1811 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
1812
1813 * frameset.el (frameset--print-register): New function.
1814 (frameset-to-register): Use it.
1815
1816 2014-03-20 Juanma Barranquero <lekktu@gmail.com>
1817
1818 * progmodes/hideif.el (hif-string-to-number): New function.
1819 (hif-tokenize): Use it to understand non-decimal floats.
1820
1821 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
1822
1823 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
1824
1825 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
1826
1827 * electric.el (electric-newline-and-maybe-indent): New command.
1828 Bind it globally to C-j.
1829 (electric-indent-mode): Don't mess with the global map any more.
1830 Don't drop the post-self-insert-hook is some buffer is still using it
1831 (bug#16770).
1832
1833 * bindings.el (global-map): Remove C-j binding.
1834
1835 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
1836 the docstring of functions advised before dumping (bug#16993).
1837
1838 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
1839
1840 * ps-print.el (ps-generate-postscript-with-faces):
1841 Explicitly deactivate the mark (bug#16866).
1842 * simple.el (deactivate-mark): Update region highlight.
1843
1844 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
1845
1846 * emacs-lisp/package.el (describe-package-1):
1847 Decode commentary (bug#16733).
1848
1849 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
1850
1851 * custom.el (defcustom): Doc fix: recommend avoiding destructive
1852 modification of the value argument of :set (bug#16755).
1853
1854 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1855
1856 * simple.el (newline-and-indent): Do autofill (bug#17031).
1857
1858 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
1859
1860 * newcomment.el (comment-normalize-vars): Only add escaping check
1861 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
1862 (comment-beginning): Use `narrow-to-region' instead of moving back
1863 one character.
1864 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
1865 (comment-start-skip): Update the docstring.
1866
1867 2014-03-18 Richard Stallman <rms@gnu.org>
1868
1869 * dired.el (dired-display-file): Force use of other window.
1870
1871 2014-03-18 Daniel Colascione <dancol@dancol.org>
1872
1873 * startup.el (tty-handle-args): Remove debug message from 2007.
1874
1875 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
1876
1877 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
1878 (advice--make-interactive-form): Use it to avoid (auto)loading function.
1879 (advice--make-1, advice-add, advice-remove):
1880 Remove braindead :advice-pending hack.
1881
1882 2014-03-17 Glenn Morris <rgm@gnu.org>
1883
1884 * calendar/calendar.el (calendar-generate-month): Apply weekend
1885 face to the right days; fixes 2013-08-06 change. (Bug#17028)
1886
1887 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
1888
1889 * net/tramp.el (tramp-action-out-of-band): Read pending output.
1890 (tramp-call-process): Trace also DESTINATION.
1891
1892 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1893 Quote file names when they are local. Remove superfluous trace.
1894
1895 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
1896
1897 * newcomment.el (comment-beginning): If `comment-start-skip'
1898 doesn't match, move back one char and try again. (Bug#16971)
1899
1900 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1901 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
1902 Set `comment-start-skip' to a simpler value that doesn't try to
1903 check if the semicolon is escaped (this is handled by
1904 `syntax-ppss' now). (Bug#16971)
1905
1906 * progmodes/scheme.el (scheme-mode-variables): Same.
1907
1908 2014-03-16 Martin Rudalics <rudalics@gmx.at>
1909
1910 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
1911 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
1912 current (Bug#16816, Bug#17007).
1913 (with-current-buffer-window): New macro doing the same as
1914 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
1915 * help.el (help-print-return-message): Warn in doc-string to not
1916 use this in `with-help-window'.
1917 (describe-bindings-internal): Call `describe-buffer-bindings'
1918 from within help buffer. See Juanma's scenario in (Bug#16816).
1919 (with-help-window): Update doc-string.
1920 * dired.el (dired-mark-pop-up):
1921 * files.el (save-buffers-kill-emacs):
1922 * register.el (register-preview): Use `with-current-buffer-window'
1923 instead of `with-temp-buffer-window'.
1924
1925 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
1926
1927 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
1928 Implement inserting into current buffer, documented in their docstrings.
1929 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
1930 (rst-section-tree-point, rst-forward-section, rst-indent)
1931 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
1932 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
1933 (rst-font-lock-handle-adornment-pre-match-form)
1934 (rst-repeat-last-character): Reflow docstrings.
1935 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
1936 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
1937 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
1938 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
1939 Fix docstring typos.
1940 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
1941 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
1942 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
1943
1944 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
1945
1946 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
1947 for compatibility with other ports.
1948 (ns-initialize-window-system): Use it. It is set in term/common-win.el
1949 from the -xrm command line argument, but in the Nextstep port its value
1950 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
1951
1952 * progmodes/python.el (defconst, python-syntax-count-quotes)
1953 (python-indent-region, python-indent-shift-right)
1954 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
1955 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
1956 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
1957 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
1958 (inferior-python-mode, python-shell-make-comint, run-python-internal)
1959 (python-shell-buffer-substring, python-shell-send-buffer)
1960 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
1961 (python-completion-complete-at-point, python-fill-docstring-style)
1962 (python-eldoc-function, python-imenu-format-item-label)
1963 (python-imenu-format-parent-item-label)
1964 (python-imenu-format-parent-item-jump-label)
1965 (python-imenu--build-tree, python-imenu-create-index)
1966 (python-imenu-create-flat-index): Fix docstring typos.
1967 (python-indent-context, python-shell-prompt-regexp, run-python):
1968 Remove superfluous backslashes.
1969 (python-indent-line, python-nav-beginning-of-defun)
1970 (python-shell-get-buffer, python-shell-get-process)
1971 (python-info-current-defun, python-info-current-line-comment-p)
1972 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
1973 (python-indent-post-self-insert-function, python-shell-send-file)
1974 (python-shell-completion-get-completions)
1975 (python-shell-completion-complete-or-indent)
1976 (python-eldoc--get-doc-at-point): Reflow docstrings.
1977
1978 2014-03-14 Glenn Morris <rgm@gnu.org>
1979
1980 * emacs-lisp/package.el (package-menu-mode-map):
1981 Replace use of obsolete function alias. Tweak menu item text.
1982
1983 * info.el (Info-finder-find-node):
1984 Ignore the `emacs' metapackage. (Bug#10813)
1985
1986 * finder.el (finder-list-matches): Include unversioned packages
1987 in the result of a keyword search.
1988
1989 * finder.el (finder--builtins-descriptions): New constant.
1990 (finder-compile-keywords): Use finder--builtins-descriptions.
1991
1992 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
1993
1994 * simple.el (blink-matching-paren): Describe the new value,
1995 `jump', enabling the old behavior.
1996 (blink-matching-open): Use that value. (Bug#17008)
1997
1998 2014-03-14 Glenn Morris <rgm@gnu.org>
1999
2000 * finder.el (finder-no-scan-regexp): Add leim-list.
2001 (finder-compile-keywords):
2002 Don't skip files with same basename. (Bug#14010)
2003 * Makefile.in (setwins_finder): New, excluding leim.
2004 (finder-data): Use setwins_finder.
2005
2006 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
2007 (help-function-arglist, help-make-usage): Move from here...
2008 * help.el (help-split-fundoc, help-add-fundoc-usage)
2009 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
2010 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
2011
2012 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
2013
2014 * net/socks.el (socks, socks-override-functions)
2015 (socks-find-services-entry):
2016 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
2017 (hif-find-ifdef-block):
2018 * progmodes/modula2.el (m2-indent): Fix docstring typos.
2019
2020 * net/tls.el (tls-program): Reflow docstring.
2021
2022 * progmodes/pascal.el (pascal-mode-abbrev-table)
2023 (pascal-imenu-generic-expression, pascal-auto-endcomments)
2024 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
2025 (pascal-outline-mode): Fix docstring typos.
2026 (pascal-mode): Let define-derived-mode document mode hook.
2027 (pascal-uncomment-area): Reflow.
2028 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
2029
2030 * progmodes/opascal.el (opascal-compound-block-indent)
2031 (opascal-case-label-indent): Fix docstring typos.
2032 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
2033
2034 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
2035
2036 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2037 Fontify multiple adjacent negation chars. (Bug#17004)
2038
2039 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
2040
2041 * emacs-lisp/package.el (package--prepare-dependencies):
2042 Accept requirements without explicit version (bug#14941).
2043
2044 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2045
2046 * register.el (register-separator, copy-to-register): Doc fixes.
2047 (register-preview-default): Remove unnecessary call to concat.
2048
2049 * frameset.el (frameset-restore): When checking for a visible frame,
2050 use the action map instead of calling visible-frame-list.
2051
2052 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
2053
2054 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
2055
2056 2014-03-12 Martin Rudalics <rudalics@gmx.at>
2057
2058 * window.el (fit-frame-to-buffer): Get maximum width from
2059 display's width instead of height.
2060
2061 2014-03-12 Glenn Morris <rgm@gnu.org>
2062
2063 * desktop.el (desktop-restore-frames)
2064 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
2065 (desktop-restore-reuses-frames): Doc tweaks.
2066
2067 * electric.el (electric-indent-mode): Doc fix.
2068
2069 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2070
2071 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
2072 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
2073 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
2074 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
2075 (cvs-dired-use-hook): Fix docstring typos.
2076 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
2077 Doc fixes.
2078
2079 * vc/pcvs-defs.el (cvs-auto-remove-handled)
2080 (cvs-auto-remove-directories, cvs-default-ignore-marks)
2081 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
2082 (cvs-execute-single-dir): Fix docstring typos.
2083
2084 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
2085 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
2086
2087 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
2088
2089 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
2090 Fix docstring typos.
2091
2092 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2093
2094 * frameset.el (frameset--jump-to-register): Add autoload; it could be
2095 called from jump-to-register after unloading the frameset package.
2096
2097 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2098
2099 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
2100 (bug#16975). Deactivate the mark before setting it to nil.
2101 (activate-mark): Do nothing if region is already active.
2102
2103 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
2104
2105 * frameset.el (frameset--target-display): Remove definition; declare.
2106 (frameset-save, frameset-restore): Let-bind frameset--target-display.
2107
2108 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2109
2110 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
2111 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
2112 when the advice is pending.
2113 (advice-remove): Remove this marker when not needed any more.
2114
2115 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
2116
2117 * frameset.el: Separate options for reusing frames and cleaning up.
2118 (frameset--reuse-list): Remove definition; declare.
2119 (frameset--action-map): Declare.
2120 (frameset--find-frame-if): Doc fix.
2121 (frameset--restore-frame): Cache frame action.
2122 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
2123 how to clean up the frame list after restoring. Remove cleaning
2124 options from REUSE-FRAMES. Change all keyword values to symbols.
2125 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
2126
2127 * desktop.el (desktop-restore-forces-onscreen)
2128 (desktop-restore-reuses-frames): Use non-keyword values.
2129 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
2130
2131 2014-03-10 Glenn Morris <rgm@gnu.org>
2132
2133 * files.el (find-file): Doc fix: update info node name.
2134
2135 * emacs-lisp/advice.el (ad-add-advice, defadvice):
2136 Doc fix: remove references to deleted info nodes.
2137
2138 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
2139
2140 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
2141 Do not add `nil' to the environment, when there's no remote `locale'.
2142 (tramp-find-inline-encoding): Check, that the remote host has
2143 installed perl, before sending scripts.
2144
2145 2014-03-10 Leo Liu <sdl.web@gmail.com>
2146
2147 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2148 Clear eldoc-last-message. (Bug#16920)
2149
2150 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
2151
2152 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
2153 (bug#14430).
2154
2155 2014-03-09 Juri Linkov <juri@jurta.org>
2156
2157 * ansi-color.el (ansi-color-names-vector): Copy default colors
2158 from `xterm-standard-colors' that look well on the default white
2159 background (and also on the black background) to avoid illegible
2160 color combinations like yellow-on-white and white-on-white.
2161 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
2162
2163 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
2164
2165 * frameset.el (frameset-restore): When no frame is visible, do not
2166 generate a list of frames, just make visible the selected one.
2167
2168 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
2169
2170 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
2171 it only contains the repository root. (Bug#16897)
2172
2173 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
2174
2175 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
2176 only when `remote-file-name-inhibit-cache' is nil.
2177 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
2178
2179 2014-03-06 Martin Rudalics <rudalics@gmx.at>
2180
2181 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
2182 Fix doc-strings.
2183 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
2184 fit-frame-to-buffer variable. Fix doc-string.
2185 (fit-window-to-buffer): Set ONLY argument in call of
2186 fit-frame-to-buffer. Fix doc-string.
2187
2188 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
2189
2190 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
2191 (tramp-action-password): Clear password cache if needed.
2192 (tramp-read-passwd): Do not clear password cache.
2193
2194 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
2195 cache unless it is the first password request.
2196
2197 2014-03-06 Glenn Morris <rgm@gnu.org>
2198
2199 * simple.el (newline): Doc tweak.
2200
2201 * emacs-lisp/shadow.el (load-path-shadows-find):
2202 Ignore dir-locals. (Bug#12357)
2203
2204 2014-03-05 Glenn Morris <rgm@gnu.org>
2205
2206 * files.el (interpreter-mode-alist):
2207 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
2208
2209 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
2210
2211 * frameset.el (frameset--initial-params): Filter out null entries.
2212
2213 2014-03-05 Martin Rudalics <rudalics@gmx.at>
2214
2215 * window.el (window-min-height, window-min-width):
2216 Rewrite doc-strings.
2217 (window-body-size): Add PIXELWISE argument to make it consistent
2218 with its callees.
2219
2220 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
2221
2222 * finder.el (finder-mode-map, finder-mode-syntax-table):
2223 Revert part of 2014-02-28 change.
2224
2225 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
2226
2227 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
2228 (eww-setup-buffer): Clear next/prev/etc more reliably.
2229 (eww-textarea-map): [tab] doesn't work on tty.
2230 Reported by Mario Lang.
2231
2232 * net/shr.el (shr-map): Ditto.
2233
2234 2014-03-04 Glenn Morris <rgm@gnu.org>
2235
2236 * minibuffer.el (completion-hilit-commonality):
2237 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
2238
2239 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
2240
2241 * hilit-chg.el (hilit-chg-unload-function): New function.
2242 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
2243 (hilit-chg-map-changes): Prefer cardinal number to digit.
2244 (hilit-chg-display-changes): Reflow docstring.
2245 (highlight-changes-rotate-faces): Remove superfluous backslash.
2246
2247 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
2248
2249 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
2250 `tramp-send-command-and-check'.
2251
2252 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
2253
2254 * hexl.el (hexl-address-region, hexl-ascii-region)
2255 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
2256 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
2257 (hexl-forward-word, hexl-previous-line, hexl-next-line):
2258 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
2259 (hexl-mode): Doc fix.
2260 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
2261 (hexl-mode-ruler): Fix typos in docstrings.
2262
2263 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
2264 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
2265 Remove superfluous backslashes.
2266 (strokes-last-stroke, strokes-global-map, strokes-mode):
2267 Reflow docstrings.
2268 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
2269 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
2270 (strokes-distance-squared, strokes-global-set-stroke)
2271 (strokes-global-set-stroke-string): Doc fixes.
2272 (strokes-help): Fix typos; reflow docstring.
2273
2274 2014-03-04 Martin Rudalics <rudalics@gmx.at>
2275
2276 * window.el (window-in-direction): Fix doc-string.
2277
2278 2014-03-04 Glenn Morris <rgm@gnu.org>
2279
2280 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
2281 Explicit error if no grammar.
2282 (smie-config-save): Doc fix. Fix quote typo.
2283
2284 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
2285
2286 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
2287 electric-indent-mode-hook if we obey electric-indent-mode.
2288 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
2289 decide whether we obey electric-indent-mode.
2290 (c-change-set-fl-decl-start, c-extend-after-change-region):
2291 Silence warnings.
2292 (c-electric-indent-mode-hook): Assume we do want to obey
2293 electric-indent-mode.
2294
2295 * electric.el (electric-indent-mode-has-been-called): Remove.
2296 (electric-indent-mode): Fix accordingly.
2297
2298 * files.el (hack-local-variables): Mention file name in warning.
2299
2300 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
2301
2302 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
2303
2304 * bindings.el: Add comment describing why C-d binds to `delete-char'.
2305 * simple.el (delete-forward-char): Mark as interactive-only.
2306
2307 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
2308
2309 * icomplete.el (icomplete-completions):
2310 Follow-up to 2014-03-01 change.
2311
2312 * icomplete.el: Miscellaneous doc fixes.
2313 Use Icomplete everywhere instead of icomplete for consistency.
2314 (icomplete-max-delay-chars): Fix typo.
2315 (icomplete-mode): Use \[].
2316 (icomplete-tidy, icomplete-exhibit): Reflow.
2317 (icomplete-minibuffer-setup-hook, icomplete-completions):
2318 Remove superfluous backlashes.
2319
2320 * ido.el: Miscellaneous doc fixes.
2321 Use Ido everywhere instead of ido or `ido' for consistency.
2322 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
2323 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
2324 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
2325 (ido-separator): Extract obsolescence info from docstring and declare
2326 with make-obsolete-variable.
2327 (ido-minibuffer-setup-hook): Simplify example.
2328 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
2329 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
2330 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
2331 (ido-everywhere): Reflow docstring.
2332 (ido-toggle-vc): Doc fix.
2333 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
2334 of long list of keybindings.
2335
2336 2014-03-03 Glenn Morris <rgm@gnu.org>
2337
2338 * frame.el (display-pixel-height, display-pixel-width)
2339 (display-mm-dimensions-alist, display-mm-height)
2340 (display-mm-width): Doc tweaks.
2341
2342 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
2343
2344 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
2345 case of undo in region.
2346
2347 2014-03-02 Martin Rudalics <rudalics@gmx.at>
2348
2349 * window.el (fit-window-to-buffer): Fix argument in window-size
2350 call when window is horizontally combined.
2351
2352 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
2353
2354 * icomplete.el (icomplete-completions): Use string-width.
2355 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
2356
2357 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
2358
2359 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2360 Highlight regexp options. (Bug#16914)
2361
2362 2014-03-01 Martin Rudalics <rudalics@gmx.at>
2363
2364 * window.el (window--max-delta-1): Round down when calculating
2365 how many lines/columns we can get from a window.
2366
2367 2014-03-01 Glenn Morris <rgm@gnu.org>
2368
2369 * isearch.el (search-invisible): Doc fix.
2370
2371 * minibuffer.el (completion-hilit-commonality):
2372 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
2373 * comint.el (comint-dynamic-list-completions): Doc fix.
2374 * comint.el (comint-dynamic-list-completions):
2375 * filecache.el (file-cache-minibuffer-complete):
2376 * tempo.el (tempo-display-completions):
2377 * eshell/em-hist.el (eshell-list-history):
2378 Replace use of obsolete argument of display-completion-list.
2379
2380 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
2381
2382 * icomplete.el (icomplete-completions):
2383 Revert back to using "..." when ?… cannot be displayed.
2384
2385 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
2386
2387 * finder.el (finder-unload-function): New function.
2388
2389 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
2390
2391 * dframe.el (dframe-detach):
2392 * find-dired.el (find-dired, find-name-dired):
2393 * finder.el (finder-mode-map, finder-mode-syntax-table)
2394 (finder-headmark, finder-select, finder-mouse-select):
2395 Fix docstring typos.
2396
2397 2014-02-28 Martin Rudalics <rudalics@gmx.at>
2398
2399 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
2400 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
2401 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
2402 Fix doc-string based on a suggestion by Nicolas Richard
2403 <theonewiththeevillook@yahoo.fr>.
2404 * help.el (with-help-window): Fix doc-string.
2405
2406 2014-02-28 Ivan Kanis <ivan@kanis.fr>
2407
2408 * net/shr.el (shr-image-animate): New option.
2409 (shr-put-image): Respect shr-image-animate.
2410
2411 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
2412
2413 * net/tramp-adb.el (tramp-adb-parse-device-names):
2414 Use `accept-process-output'.
2415 (tramp-adb-handle-file-truename): Cache the localname only.
2416 (tramp-adb-handle-make-directory)
2417 (tramp-adb-handle-delete-directory): Flush file properties correctly.
2418 (tramp-adb-handle-set-file-modes): Do not raise an error when file
2419 modes cannot be changed.
2420
2421 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
2422 file properties of symlinks.
2423
2424 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
2425
2426 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
2427 required/optional fields to match development biblatex. (Bug#16781)
2428
2429 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
2430
2431 * saveplace.el (toggle-save-place):
2432 Fix argument handling. (Bug#16673)
2433
2434 2014-02-28 Glenn Morris <rgm@gnu.org>
2435
2436 * minibuffer.el (completions-first-difference)
2437 (completions-common-part, completion-hilit-commonality): Doc fixes.
2438
2439 2014-02-28 Karl Berry <karl@gnu.org>
2440
2441 * info.el (Info-mode-map): Add H for describe-mode,
2442 to synchronize with standalone Info.
2443
2444 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
2445
2446 * progmodes/sql.el (sql-interactive-mode):
2447 Avoid setting global comint-input-ring-separator. (Bug#16814)
2448
2449 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
2450
2451 * net/dbus.el (dbus--init-bus): Declare function.
2452 (dbus-path-local, dbus-interface-local): New defconst.
2453 (dbus-init-bus): Use them.
2454 (dbus-return-values-table): Extend doc.
2455 (dbus-handle-bus-disconnect): Extend error message.
2456
2457 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
2458
2459 * subr.el (y-or-n-p): Fix double space issue in message.
2460
2461 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
2462
2463 * net/tramp.el (tramp-call-process): Improve trace message.
2464 (tramp-handle-insert-file-contents): Trace error case.
2465
2466 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
2467 <insert-directory>: Use `tramp-handle-insert-directory'.
2468 (tramp-adb-handle-insert-directory): Remove function.
2469 (tramp-adb-send-command-and-check): New defun, replacing
2470 `tramp-adb-command-exit-status'. Change all callees.
2471 (tramp-adb-handle-file-attributes)
2472 (tramp-adb-handle-directory-files-and-attributes): Use it.
2473 (tramp-adb-ls-output-name-less-p):
2474 Use `directory-listing-before-filename-regexp'.
2475 (tramp-adb-handle-delete-directory): Flush also file properties of
2476 the truename of directory.
2477 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
2478 (tramp-adb-handle-file-local-copy): Make the local copy readable.
2479 (tramp-adb-handle-write-region): Implement APPEND.
2480 (tramp-adb-handle-rename-file): Make it more robust. Flush file
2481 properties correctly.
2482 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
2483 variables. Check for connected devices only when needed.
2484
2485 2014-02-27 Glenn Morris <rgm@gnu.org>
2486
2487 * minibuffer.el (completion-table-dynamic)
2488 (completion-table-with-cache): Doc fixes.
2489
2490 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
2491 (completing-read-multiple): Doc fixes.
2492
2493 2014-02-27 Daniel Colascione <dancol@dancol.org>
2494
2495 * minibuffer.el (completion--nth-completion): Fix indentation.
2496
2497 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
2498 explicit tramp path is empty.
2499
2500 2014-02-27 Glenn Morris <rgm@gnu.org>
2501
2502 * emacs-lisp/crm.el (completing-read-multiple):
2503 Empower help-enable-auto-load.
2504
2505 2014-02-26 Glenn Morris <rgm@gnu.org>
2506
2507 * startup.el (command-line): Don't init the tty in daemon mode.
2508
2509 Avoid calling tty-setup-hook twice, eg if a term file
2510 explicitly calls tty-run-terminal-initialization. (Bug#16859)
2511 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
2512 (tty-create-frame-with-faces): Use it.
2513 * startup.el (command-line): Pass run-hook argument
2514 to tty-run-terminal-initialization.
2515
2516 * dired.el (dired-restore-desktop-buffer): Demote errors;
2517 eg in case a glob match fails. (Bug#16884)
2518
2519 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
2520
2521 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
2522 error from `read-from-string'. (Bug#16850)
2523
2524 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
2525 result of `completing-read' in the interactive form. (Bug#16854)
2526
2527 2014-02-25 Glenn Morris <rgm@gnu.org>
2528
2529 * image.el (image-animate, image-animate-timeout):
2530 Stop animating images in dead buffers. (Bug#16878)
2531
2532 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
2533
2534 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
2535 Doc fixes.
2536 * startup.el (term-setup-hook): Doc fix. Make obsolete.
2537 * term/sun.el (sun-raw-prefix-hooks):
2538 Use tty-setup-hook instead of term-setup-hook.
2539 (terminal-init-sun): Construct message from bytecomp plist.
2540 * term/wyse50.el (enable-arrow-keys): Doc fix.
2541
2542 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
2543
2544 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
2545 Fix docstring typos.
2546
2547 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
2548
2549 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
2550
2551 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2552
2553 * minibuffer.el (completion--try-word-completion):
2554 Fix error when completing M-x commands (bug#16808).
2555
2556 2014-02-24 Leo Liu <sdl.web@gmail.com>
2557
2558 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
2559
2560 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
2561
2562 * apropos.el (apropos-print): Avoid formatting error when
2563 apropos-do-all and apropos-compact-layout are both t.
2564
2565 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
2566
2567 * apropos.el (apropos-property, apropos-all-words-regexp)
2568 (apropos-true-hit, apropos-variable, apropos-print):
2569 Fix docstring typos, and remove obsolete comment.
2570
2571 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
2572
2573 * net/tramp-sh.el (tramp-sh-handle-file-truename):
2574 Preserve trailing "/". (Bug#16851)
2575
2576 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
2577
2578 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
2579 after `=>' (bug#16811).
2580 (ruby-smie-rules): Handle the inconsistent second element of the
2581 list returned by `smie-indent--parent'.
2582 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
2583 method call.
2584
2585 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
2586
2587 * elec-pair.el (electric-pair-text-syntax-table)
2588 (electric-pair-syntax-info, electric-pair--syntax-ppss)
2589 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
2590 (electric-pair--looking-at-unterminated-string-p): Doc fix.
2591 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
2592
2593 2014-02-22 Glenn Morris <rgm@gnu.org>
2594
2595 * imenu.el (imenu--generic-function): Doc fix.
2596
2597 * register.el (frame-configuration-to-register): Make obsolete.
2598
2599 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
2600
2601 * desktop.el (desktop-save-buffer-p): Do not fail when
2602 desktop-files-not-to-save is nil. Return t for true result
2603 as the doc says.
2604
2605 2014-02-22 Daniel Colascione <dancol@dancol.org>
2606
2607 * net/secrets.el (secrets-create-item, secrets-search-items):
2608 Check that attribute values are strings, avoiding the construction
2609 of invalid dbus messages.
2610
2611 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2612
2613 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
2614 defun-declarations-alist.
2615
2616 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
2617
2618 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
2619 (bug#16829).
2620
2621 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2622
2623 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
2624 (whitespace-newline, whitespace-trailing, whitespace-line)
2625 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
2626 (whitespace-space-after-tab): Fix typo in docstrings.
2627
2628 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
2629
2630 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
2631
2632 * electric.el (electric-indent-functions-without-reindent):
2633 Add `yaml-indent-line'.
2634
2635 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2636
2637 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
2638 It has done nothing for years; should be removed after the release.
2639
2640 * simple.el (choose-completion): Fix docstring typo.
2641 (read-quoted-char-radix): Remove unneeded * in docstring.
2642 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
2643 Don't escape parentheses unnecessarily in docstrings.
2644
2645 2014-02-21 Martin Rudalics <rudalics@gmx.at>
2646
2647 Fix handling of window-min-height/-width (Bug#16738).
2648 * window.el (window--dump-window, window--dump-frame):
2649 New functions.
2650 (window--min-size-1): Account for window dividers.
2651 When window-resize-pixelwise is nil, delay rounding till after the
2652 sum of the window components has been calculated.
2653 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
2654 nil make sure at least one text line and two text columns remain
2655 fully visible.
2656 (window-resize): Signal an error when window-resize-apply fails.
2657 (window--resize-child-windows): Fix calculation of by how many
2658 pixels a window can still be shrunk via window-new-normal.
2659 (adjust-window-trailing-edge): Call window--resizable with
2660 correct TRAIL argument.
2661
2662 (with-temp-buffer-window): Don't evaluate BODY within
2663 with-current-buffer (Bug#16816).
2664
2665 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
2666
2667 * net/tramp.el (tramp-check-cached-permissions):
2668 Call `file-attributes' with `suffix' being a symbol but a string.
2669
2670 2014-02-21 Daniel Colascione <dancol@dancol.org>
2671
2672 * net/dbus.el (dbus-init-bus-1): Declare new subr.
2673 (dbus-init-bus): New function: call into dbus-init-bus-1
2674 and installs a handler for the disconnect signal.
2675 (dbus-call-method): Rewrite to look for result in cons.
2676 (dbus-call-method-handler): Store result in cons.
2677 (dbus-check-event): Recognize events with nil sender as valid.
2678 (dbus-handle-bus-disconnect): New function. React to bus
2679 disconnection signal by synthesizing dbus error for each
2680 pending synchronous or asynchronous call.
2681 (dbus-notice-synchronous-call-errors): New function.
2682 (dbus-handle-event): Raise errors directly only when `dbus-debug'
2683 is true, not all the time.
2684
2685 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2686
2687 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
2688 Remove obsolescence declarations, these variables do not exist anymore.
2689
2690 * savehist.el (savehist-save-minibuffer-history)
2691 (savehist-additional-variables, savehist-file, savehist-mode-hook)
2692 (savehist-save-hook, savehist-coding-system, savehist-loaded)
2693 (savehist-load, savehist-install, savehist-autosave): Fix typos;
2694 mostly, refer to "Savehist mode" when talking about the mode,
2695 and not the function.
2696
2697 * saveplace.el (save-place): Remove redundant info in docstring.
2698 (save-place-forget-unreadable-files, toggle-save-place)
2699 (save-place-forget-unreadable-files, save-place-dired-hook):
2700 Fix typos and remove unneeded backslashes.
2701
2702 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
2703
2704 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
2705 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
2706
2707 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
2708 <insert-directory>: Use `tramp-handle-insert-directory'.
2709 (tramp-gvfs-handle-insert-directory): Remove function.
2710
2711 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2712 Call `tramp-handle-insert-directory'.
2713
2714 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
2715
2716 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
2717 before the start of buffer/region (bug#16799).
2718
2719 2014-02-20 Glenn Morris <rgm@gnu.org>
2720
2721 * isearch.el (search-invisible): Doc fix.
2722
2723 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
2724
2725 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
2726 (bug#16657).
2727
2728 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
2729
2730 * frameset.el (frameset-restore): Delay removing an old frame's
2731 duplicate id until the new frame has been correctly created.
2732
2733 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
2734
2735 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
2736 (tramp-check-cached-permissions): Call `file-attributes' if the
2737 cache is empty.
2738
2739 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
2740 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
2741
2742 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
2743 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
2744 (tramp-gvfs-maybe-open-connection): Set always connection
2745 properties, even if target is mounted already.
2746
2747 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
2748 Set tramp-autoload cookie.
2749 (tramp-get-remote-touch): New defun.
2750 (tramp-sh-handle-set-file-times): Use it.
2751 (tramp-sh-handle-directory-files-and-attributes):
2752 Use `tramp-handle-directory-files-and-attributes' if neither stat
2753 nor perl are available on the remote host.
2754
2755 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
2756 "/". Write long listing only when "l" belongs to the switches.
2757
2758 * net/trampver.el: Update release number.
2759
2760 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
2761
2762 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
2763
2764 2014-02-19 Martin Rudalics <rudalics@gmx.at>
2765
2766 * window.el (window-state-put): Allow WINDOW to refer to an
2767 internal window (Bug#16793).
2768
2769 2014-02-19 Glenn Morris <rgm@gnu.org>
2770
2771 * textmodes/remember.el: Move provide statement to end.
2772 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
2773 (remember-notes): Doc fixes.
2774
2775 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
2776
2777 * delsel.el (delete-char): Restore incorrectly erased property
2778 (bug#16795).
2779
2780 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
2781
2782 * frameset.el (frameset--restore-frame): When a frame is being reused
2783 and its root window is not alive, delete all the frame's windows before
2784 restoring the window state. This works around the issue in bug#16793.
2785
2786 2014-02-18 Glenn Morris <rgm@gnu.org>
2787
2788 * textmodes/remember.el (remember-data-directory)
2789 (remember-directory-file-name-format, remember-store-in-files)
2790 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
2791 (remember-notes-save-and-bury-buffer)
2792 (remember-notes--kill-buffer-query): Doc fixes.
2793
2794 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
2795
2796 2014-02-17 Alan Mackenzie <acm@muc.de>
2797
2798 Connect electric-indent-mode up with CC Mode. Bug #15478.
2799 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
2800 to electric-indent-{,local-}-mode.
2801 (c-basic-common-init): Set electric-indent-inhibit.
2802 Initialise c-electric-flag from electric-indent-mode.
2803 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
2804 New hook functions which propagate electric-indent-mode to CC mode.
2805
2806 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
2807 hit, toggle electric-indent-local-mode.
2808
2809 * electric.el (electric-indent-mode-has-been-called):
2810 New variable.
2811
2812 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
2813
2814 * frameset.el (frameset-cfg-id): New function.
2815 (frameset--reuse-frame, frameset-restore): Use it.
2816 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
2817
2818 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
2819
2820 * ido.el (ido-file-internal): Remove unused var `d'.
2821 Use \` for to match BoS. Fit within 80n columns.
2822
2823 2014-02-17 Daniel Colascione <dancol@dancol.org>
2824
2825 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
2826 dbus-call-method check for completion using a busy-wait loop with
2827 gradual backoff.
2828
2829 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
2830
2831 Sync with Tramp 2.2.9.
2832
2833 * net/trampver.el: Update release number.
2834
2835 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
2836
2837 * ido.el (ido-file-internal): Don't add the name of an existing
2838 directory twice. (Bug#16747)
2839
2840 2014-02-16 Glenn Morris <rgm@gnu.org>
2841
2842 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
2843 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
2844
2845 2014-02-15 Michael R. Mauger <michael@mauger.com>
2846
2847 * progmodes/sql.el: Version 3.4
2848 (sql-oracle-options): New default value ("-L").
2849 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
2850 (sql-placeholders-filter): Correct placeholder pattern.
2851 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
2852 (sql-login-delay): New variable.
2853 (sql-product-interactive): Use it.
2854
2855 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
2856
2857 * frameset.el (frameset--jump-to-register): Check that buffer is live
2858 (bug#16749).
2859
2860 2014-02-15 Glenn Morris <rgm@gnu.org>
2861
2862 * info.el (info-initialize): Revert 2014-01-10 change.
2863
2864 2014-02-14 Glenn Morris <rgm@gnu.org>
2865
2866 * replace.el (map-query-replace-regexp)
2867 (read-regexp-defaults-function, read-regexp): Doc fixes.
2868
2869 * dired.el (dired-read-regexp):
2870 * faces.el (list-faces-display):
2871 * misearch.el (multi-isearch-read-matching-buffers)
2872 (multi-isearch-read-matching-files):
2873 * play/cookie1.el (cookie-apropos):
2874 * progmodes/grep.el (grep-read-regexp): Doc fixes.
2875
2876 * textmodes/remember.el (remember): Use frameset-to-register
2877 rather than frame-configuration-to-register.
2878
2879 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
2880
2881 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
2882 incorrect keybinding.
2883
2884 2014-02-13 Daniel Colascione <dancol@dancol.org>
2885
2886 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
2887 when adding overlays so that line numbers from compiler match line
2888 numbers we use.
2889
2890 2014-02-13 Glenn Morris <rgm@gnu.org>
2891
2892 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
2893
2894 * jit-lock.el (jit-lock-mode): Doc fix.
2895
2896 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
2897
2898 * apropos.el (apropos-read-pattern): When the user passes an empty
2899 string, give a more helpful error message than "Wrong type
2900 argument: stringp, nil".
2901
2902 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
2903
2904 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
2905
2906 2014-02-13 Glenn Morris <rgm@gnu.org>
2907
2908 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
2909
2910 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
2911
2912 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
2913 shift-select commands.
2914
2915 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
2916
2917 * progmodes/js.el (js-indent-line): Don't widen.
2918 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
2919
2920 2014-02-12 Glenn Morris <rgm@gnu.org>
2921
2922 * icomplete.el (icomplete): Add info-link to defgroup.
2923 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
2924 (icomplete-minibuffer-map, icomplete-mode)
2925 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
2926
2927 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
2928 (package-menu-filter): Rename from package-menu-filter-interactive.
2929 Doc fix.
2930
2931 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
2932
2933 * frameset.el (frameset--jump-to-register): Select the required
2934 window and buffer before restoring position (bug#16696).
2935
2936 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
2937
2938 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
2939
2940 2014-02-10 Glenn Morris <rgm@gnu.org>
2941
2942 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
2943
2944 2014-02-10 Eli Zaretskii <eliz@gnu.org>
2945
2946 * w32-common-fns.el (x-get-selection): Doc fix.
2947 * select.el (x-get-selection): Doc fix. (Bug#15109)
2948
2949 * face-remap.el (face-remap-add-relative)
2950 (face-remap-remove-relative, face-remap-reset-base)
2951 (face-remap-set-base): Call force-mode-line-update to redisplay
2952 the current buffer due to potential change in faces. (Bug#16709)
2953
2954 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
2955
2956 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
2957 script more robustly.
2958
2959 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
2960
2961 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
2962
2963 * simple.el (choose-completion): Doc fix (bug#14160).
2964
2965 * subr.el (event-start): Say what a nil EVENT value means.
2966
2967 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
2968 (bug#14197).
2969
2970 * progmodes/grep.el (find-program): Doc fix (bug#14289).
2971
2972 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
2973
2974 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
2975
2976 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
2977 predicate function (bug#15455).
2978
2979 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
2980
2981 * ielm.el (inferior-emacs-lisp-mode): Instead of
2982 `comment-use-global-state', set `comment-use-syntax'.
2983
2984 2014-02-10 Glenn Morris <rgm@gnu.org>
2985
2986 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
2987
2988 2014-02-09 Alan Mackenzie <acm@muc.de>
2989
2990 Fix c-invalidate-state-cache on narrowed buffers.
2991 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
2992 Widen when setting and clearing the CPP delimiter properties.
2993
2994 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
2995
2996 * help.el (describe-bindings): Doc fix (bug#9888).
2997
2998 * files.el (save-buffer): Use ARG as the parameter name for
2999 consistency (bug#10346).
3000 (save-buffer): Clarify the 0 argument (bug#10346).
3001
3002 * cus-edit.el (customize-apropos): Fix error string.
3003 (custom-buffer-create): Doc fix (bug#11122).
3004 (custom-sort-items): Doc fix (bug#11121).
3005
3006 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
3007
3008 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
3009 (icomplete-simple-completing-p): Mention the previous variable.
3010
3011 * font-lock.el (font-lock-value-in-major-mode): Clarify the
3012 meaning of the parameter (bug#12282).
3013
3014 * files.el (find-file-noselect): Clarify prompt when changing
3015 readedness (bug#13261).
3016 (locate-file): Suffixes aren't returned, so don't say that they
3017 are (bug#12674).
3018 (backup-inhibited): Doc clarification (bug#12525).
3019
3020 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
3021 before we actually start to delete things (bug#16331).
3022
3023 * subr.el (event-start): Doc fix (bug#14228).
3024 (event-end): Ditto.
3025
3026 2014-02-09 Glenn Morris <rgm@gnu.org>
3027
3028 * emacs-lisp/warnings.el (lwarn):
3029 Empower help-enable-auto-load. (Bug#15940)
3030
3031 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
3032
3033 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
3034 (Bug#16690)
3035
3036 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
3037
3038 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3039 Insert output at end of buffer. (Bug#16120)
3040
3041 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3042
3043 * simple.el (choose-completion-string-functions): Document new
3044 calling convention (bug#14153).
3045 (execute-extended-command): Clarify doc string (bug#13373).
3046
3047 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
3048
3049 * find-dired.el (find-name-dired): Doc fix (bug#14290).
3050 (find-grep-dired): Doc fix (bug#14288).
3051
3052 2014-02-08 Juri Linkov <juri@jurta.org>
3053
3054 * isearch.el (isearch-quote-char): Check character validity
3055 like in `quoted-insert' (bug#16677).
3056
3057 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3058
3059 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
3060
3061 * isearch.el (isearch-hide-immediately): Doc clarification
3062 (bug#14723).
3063
3064 * simple.el (line-move): Document utility function used many
3065 places in the Emacs sources (bug#14843).
3066
3067 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
3068 (dired-prev-marked-file): Doc fix (bug#14855).
3069 (dired-up-directory): Doc fix (bug#14848).
3070
3071 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
3072
3073 * files.el (file-relative-name): Doc fix (bug#15159).
3074
3075 * fringe.el (fringe-styles): Doc fix (bug#15239).
3076
3077 * isearch.el (isearch-filter-predicate): Documentation typo fix
3078 (bug#15474).
3079
3080 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
3081
3082 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
3083
3084 * replace.el (replace-match-maybe-edit): Doc clarification
3085 (bug#15632).
3086
3087 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
3088
3089 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
3090
3091 2014-02-08 Glenn Morris <rgm@gnu.org>
3092
3093 * help-fns.el (describe-variable):
3094 Check {file,dir}-local-variables-alist, and buffer-file-name,
3095 in the correct buffer.
3096
3097 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
3098
3099 * help-fns.el (describe-variable): Fix the case where
3100 a value is directory-local with no dir-locals file. (Bug#16635)
3101
3102 2014-02-08 Glenn Morris <rgm@gnu.org>
3103
3104 * abbrev.el (edit-abbrevs-mode):
3105 Derive from fundamental-mode. (Bug#16682)
3106
3107 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
3108
3109 * simple.el (quoted-insert): Check character validity (bug#16677).
3110
3111 2014-02-07 Juri Linkov <juri@jurta.org>
3112
3113 * desktop.el (desktop-read): Claim the lock when the owner is not
3114 the current process. (Bug#16157)
3115
3116 2014-02-07 Juri Linkov <juri@jurta.org>
3117
3118 * desktop.el (desktop-buffers-not-to-save): Change default from nil
3119 to "\\` ". (Bug#16651)
3120
3121 2014-02-07 Juri Linkov <juri@jurta.org>
3122
3123 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
3124 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
3125 (desktop-auto-save-cancel-timer): New function with some code from
3126 `desktop-auto-save-set-timer'.
3127 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
3128 Instead of setting `desktop-save-mode' to nil, call
3129 `desktop-save-mode' with arg 0. (Bug#16630)
3130
3131 2014-02-07 Glenn Morris <rgm@gnu.org>
3132
3133 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
3134 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
3135 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
3136
3137 * obsolete/iswitchb.el: Move to obsolete/.
3138 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
3139 since obsolete/ is not scanned for autoloads.
3140 * emacs-lisp/authors.el (authors-valid-file-names):
3141 Add iswitchb.el.
3142
3143 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
3144 Disable now non-functional find-file-hook.
3145
3146 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
3147
3148 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
3149 instead of ";" in order to avoid additional prompts. Let heredoc
3150 scripts read from tty. (Bug#16582)
3151 (tramp-send-command): No special handling of heredocs, it isn't
3152 necessary anymore.
3153
3154 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
3155
3156 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
3157 with a space (bug#16664). Limit the symbols considered to the ones
3158 that are bound or fbound (bug#16646).
3159
3160 2014-02-06 Glenn Morris <rgm@gnu.org>
3161
3162 * epa.el (epa-mail-aliases): Doc fix.
3163
3164 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
3165
3166 * emacs-lisp/lisp.el (lisp-completion-at-point):
3167 Use `completion-table-merge' instead of `completion-table-in-turn'
3168 (bug#16604).
3169
3170 * minibuffer.el (completion-table-merge): New function.
3171
3172 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
3173
3174 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
3175 (tramp-sh-handle-set-file-acl)
3176 (tramp-sh-handle-start-file-process)
3177 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
3178 (tramp-find-executable, tramp-send-command): Use it.
3179
3180 2014-02-05 Glenn Morris <rgm@gnu.org>
3181
3182 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
3183
3184 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
3185
3186 * progmodes/python.el (python-shell-send-string)
3187 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
3188
3189 2014-02-04 Anders Lindgren <andlind@gmail.com>
3190
3191 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
3192 the names (bug#16620).
3193
3194 2014-02-03 Martin Rudalics <rudalics@gmx.at>
3195
3196 * faces.el (window-divider): New default value. Rewrite doc-string.
3197 (window-divider-first-pixel, window-divider-last-pixel): New faces.
3198
3199 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
3200
3201 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
3202 `protected' and `public' can also be called without arguments.
3203
3204 2014-02-03 Glenn Morris <rgm@gnu.org>
3205
3206 * register.el (window-configuration-to-register)
3207 (frame-configuration-to-register): Unadvertise unused argument.
3208 * frameset.el (frameset-to-register): Remove unused argument.
3209
3210 * frameset.el (frameset-to-register):
3211 * kmacro.el (kmacro-to-register):
3212 * register.el (increment-register):
3213 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
3214 (calc-append-to-register, calc-prepend-to-register):
3215 * play/gametree.el (gametree-layout-to-register)
3216 (gametree-apply-register-layout):
3217 * textmodes/picture.el (picture-clear-rectangle-to-register)
3218 (picture-yank-rectangle-from-register):
3219 * vc/emerge.el (emerge-combine-versions-register):
3220 Use register-read-with-preview to read registers.
3221
3222 2014-02-03 João Távora <joaotavora@gmail.com>
3223
3224 * elec-pair.el (electric-pair-backward-delete-char): Don't error
3225 when at beginning of (possibly narrowed) buffer.
3226
3227 2014-02-02 Daniel Colascione <dancol@dancol.org>
3228
3229 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
3230 Also try to display local help from just before point.
3231
3232 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
3233
3234 c-parse-state. Don't "append-lower-brace-pair" in certain
3235 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
3236 recognised as a comment.
3237
3238 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
3239 as well as normal comment starter.
3240 (c-parse-state-get-strategy): Extra return possibility
3241 'back-and-forward.
3242 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
3243 return value list to indicate replacement of a brace-pair cons
3244 with its car.
3245 (c-parse-state-1): With 'back-and-forward, only call
3246 c-append-lower-brace-pair-to state-cache when cons-separated.
3247
3248 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
3249
3250 * term/ns-win.el (ns-suspend-error): New function.
3251 (ns-initialize-window-system): Add ns-suspend-error to
3252 suspend-hook (Bug#16612).
3253
3254 2014-02-02 Daniel Colascione <dancol@dancol.org>
3255
3256 * progmodes/cc-defs.el (c-find-assignment-for-mode):
3257 Make loading cc-mode silent.
3258
3259 2014-02-02 Daniel Colascione <dancol@dancol.org>
3260
3261 * comint.el (comint-prompt-read-only): Change doc to suggest
3262 remap keybinding.
3263
3264 2014-02-02 Glenn Morris <rgm@gnu.org>
3265
3266 * register.el (register-read-with-preview, point-to-register)
3267 (window-configuration-to-register, frame-configuration-to-register)
3268 (jump-to-register, number-to-register, view-register, insert-register)
3269 (copy-to-register, append-to-register, prepend-to-register)
3270 (copy-rectangle-to-register): Doc fixes.
3271
3272 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3273
3274 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
3275 * emacs-lisp/find-func.el (find-function-C-source): Idem.
3276 * emacs-lisp/nadvice.el (advice--cd*r): New function.
3277 * help-fns.el (describe-function-1): Use it.
3278
3279 2014-02-02 Glenn Morris <rgm@gnu.org>
3280
3281 * register.el (register-preview-default): New function,
3282 split from register-preview.
3283 (register-preview-function): Rename from register-preview-functions,
3284 make it not a hook.
3285 (register-preview): Use register-preview-function.
3286 (register-read-with-preview): Error on non-character event. (Bug#16595)
3287
3288 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
3289
3290 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
3291 `:' before binary operators (bug#16609). Don't check for `:'
3292 before `[' and `(', or their syntax status. A percent literal
3293 can't end with either.
3294 (ruby-font-lock-keywords): For built-ins that require arguments,
3295 check that they're followed by something that looks like argument
3296 (bug#16610).
3297
3298 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
3299
3300 * subr.el (butlast): Document what an omitted N means (bug#13437).
3301 (nbutlast): Ditto.
3302
3303 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
3304
3305 * net/shr.el (shr-generic): Make into a defsubst to make the stack
3306 depth shallower (bug#16587).
3307 (shr-tag-svg): Respect `shr-inhibit-images'.
3308 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
3309
3310 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
3311
3312 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
3313 (ruby-smie-grammar): Make "." right-associative. Make its priority
3314 lower than the ternary and all binary operators.
3315 (ruby-smie-rules): Indent "(" relative to the first non-"."
3316 parent, or the first "." parent at indentation.
3317 Use `ruby-align-chained-calls' for indentation of "." tokens.
3318 (Bug#16593)
3319
3320 2014-01-31 Juri Linkov <juri@jurta.org>
3321
3322 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
3323 from `make-hash-table'.
3324
3325 * textmodes/ispell.el (ispell-init-process): Change message format
3326 to be consistent with other messages.
3327
3328 2014-01-31 Glenn Morris <rgm@gnu.org>
3329
3330 * delsel.el (delete-selection-mode): Doc fix.
3331
3332 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
3333 (trace-function-background): Doc fixes.
3334
3335 * ido.el (ido-use-virtual-buffers): Doc fix.
3336 Reset :version, since the default value has not changed.
3337
3338 * register.el (register-preview-delay, register-read-with-preview):
3339 Doc fixes.
3340
3341 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
3342 do not mess with mail-buffer position (fixes 2009-11-03 change).
3343 * progmodes/cc-mode.el (c-submit-bug-report):
3344 Check auto-fill-mode is bound. (Bug#16592)
3345
3346 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
3347
3348 * startup.el (fancy-splash-image-file): New function,
3349 split from fancy-splash-head.
3350 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
3351 so that we are both using the same image. (Bug#16574)
3352
3353 2014-01-30 Glenn Morris <rgm@gnu.org>
3354
3355 * simple.el (eval-expression): Doc fix.
3356
3357 * hexl.el (hexl-mode-hook):
3358 * ielm.el (ielm-mode-hook):
3359 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
3360 (lisp-interaction-mode-hook):
3361 * progmodes/cfengine.el (cfengine3-documentation-function):
3362 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
3363
3364 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3365
3366 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
3367 is a symbol (bug#16584).
3368
3369 2014-01-30 Glenn Morris <rgm@gnu.org>
3370
3371 * help.el (help-for-help-internal): Add "P" to text.
3372
3373 2014-01-29 Glenn Morris <rgm@gnu.org>
3374
3375 * simple.el (just-one-space, cycle-spacing): Doc fixes.
3376
3377 2014-01-28 Martin Rudalics <rudalics@gmx.at>
3378
3379 * window.el (fit-frame-to-buffer): Fix calculations for margins and
3380 height constraints.
3381
3382 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
3383
3384 * progmodes/hideif.el: Extend to full CPP expression syntax.
3385 (hif-token-alist): Add missing tokens.
3386 (hif-token-regexp): Add support for float/octal/hex immediates.
3387 (hif-string-literal-regexp): New const.
3388 (hif-tokenize): Recognize strings and float/octal/hex immediates.
3389 (hif-exprlist): New function.
3390 (hif-parse-if-exp): Use it.
3391 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
3392 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
3393 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
3394 (hif-logxor, hif-comma): New functions.
3395
3396 2014-01-28 Glenn Morris <rgm@gnu.org>
3397
3398 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
3399
3400 * indent.el (tab-stop-list): Doc fix. Add :version.
3401
3402 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
3403 (cvs-append-to-ignore): Add compatibility alias.
3404
3405 2014-01-27 Glenn Morris <rgm@gnu.org>
3406
3407 * dired.el (dired-hide-details-mode): Don't autoload it,
3408 since it cannot be used outside Dired buffers anyway.
3409
3410 * emulation/cua-base.el (cua-mode): Doc fix.
3411
3412 * dired.el (dired-hide-details-hide-symlink-targets)
3413 (dired-hide-details-hide-information-lines)
3414 (dired-hide-details-mode): Doc fixes.
3415
3416 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
3417 * strokes.el (strokes-file): Doc fix. Bump :version.
3418 (strokes-help): Doc fix.
3419 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
3420 * emulation/viper.el (viper): Doc fix for custom group.
3421 (top-level): Remove oh-so-no-longer-relevant text about vip.
3422 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
3423
3424 * ido.el (ido-save-directory-list-file):
3425 * saveplace.el (save-place-file):
3426 * calendar/timeclock.el (timeclock-file):
3427 * net/quickurl.el (quickurl-url-file):
3428 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
3429 * progmodes/idlwave.el (idlwave-config-directory):
3430 * textmodes/remember.el (remember-data-file):
3431 Bump :version.
3432
3433 2014-01-26 Glenn Morris <rgm@gnu.org>
3434
3435 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
3436 Doc fix. Make obsolete.
3437 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
3438
3439 * sort.el (delete-duplicate-lines): Doc fix.
3440
3441 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3442
3443 * progmodes/ada-mode.el (ada):
3444 * woman.el (woman): Link to info manual and Commentary section.
3445
3446 * progmodes/flymake.el (flymake):
3447 * nxml/nxml-mode.el (nxml):
3448 * net/eww.el (eww):
3449 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
3450 * htmlfontify.el (htmlfontify):
3451 * ses.el (ses):
3452 * epa.el (epa):
3453 * ido.el (ido): Link to info manual.
3454
3455 2014-01-25 Leo Liu <sdl.web@gmail.com>
3456
3457 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
3458
3459 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
3460
3461 * net/shr.el (shr-tag-img): Prefer the title over the alt text
3462 (bug#16537).
3463
3464 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
3465
3466 * net/eww.el (eww-download-callback):
3467 Fix reference to eww-download-directory.
3468
3469 * emacs-lisp/bytecomp.el (byte-compile-file):
3470 Remove unused local variable `file-name'.
3471
3472 2014-01-24 Glenn Morris <rgm@gnu.org>
3473
3474 * woman.el (woman-default-faces, woman-monochrome-faces):
3475 Fix obsolescence specification.
3476
3477 * subr.el (with-demoted-errors): Doc fix.
3478
3479 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
3480
3481 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
3482 (cl--macroexp-fboundp): New function.
3483 (cl--make-type-test): Use it.
3484
3485 2014-01-23 Glenn Morris <rgm@gnu.org>
3486
3487 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
3488 * simple.el (eval-expression): Doc fixes.
3489
3490 2014-01-22 Glenn Morris <rgm@gnu.org>
3491
3492 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
3493
3494 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
3495
3496 * emacs-lisp/package.el: Write files silently.
3497 (package-autoload-ensure-default-file, package--write-file-no-coding)
3498 (package-generate-description-file, package--download-one-archive)
3499 (package-install-from-archive): Tell `write-region' to stay quiet.
3500 (package-menu-mode, package-menu--print-info): Omit the Archive column
3501 if there's only one archive.
3502 (package-all-keywords, package--has-keyword-p): Remove dead code.
3503
3504 2014-01-22 Glenn Morris <rgm@gnu.org>
3505
3506 * version.el (emacs-bzr-version-bzr): Fix typo.
3507
3508 * version.el (emacs-repository-get-version):
3509 Check either .bzr or .git, but not both.
3510 Make the git case actually use the DIR argument, and return nil
3511 rather than the empty string.
3512 Avoid error if .git exists but the git executable is not found.
3513
3514 2014-01-22 Martin Rudalics <rudalics@gmx.at>
3515
3516 Fixes in window size functions around Bug#16430 and Bug#16470.
3517 * window.el (window-total-size, window-size): New argument ROUND.
3518 (window--min-delta-1, window-min-delta, window--max-delta-1):
3519 Be more conservative when calculating the numbers of lines or
3520 columns a window can shrink (Bug#16430).
3521 (fit-window-to-buffer): Simplify code.
3522 * term.el (term-window-width): Call window-body-width again.
3523
3524 2014-01-22 Glenn Morris <rgm@gnu.org>
3525
3526 * image.el (image-format-suffixes): Doc fix.
3527
3528 * international/quail.el (quail-define-package): Doc fix.
3529
3530 * emacs-lisp/authors.el (authors-valid-file-names)
3531 (authors-renamed-files-alist): Additions.
3532
3533 * vc/vc-git.el (vc-git-print-log): Remove --follow;
3534 reverts 2014-01-09 change. (Bug#16422)
3535
3536 * calc/calc-embed.el (thing-at-point-looking-at):
3537 * emacs-lisp/map-ynp.el (x-popup-dialog):
3538 * obsolete/lmenu.el (x-popup-dialog):
3539 * emacs-lisp/package.el (url-recreate-url):
3540 * mail/mailclient.el (clipboard-kill-ring-save):
3541 * subr.el (x-popup-dialog): Update declaration.
3542 * mail/rmail.el (rmail-mime-message-p):
3543 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
3544
3545 2014-01-21 Daniel Colascione <dancol@dancol.org>
3546
3547 * progmodes/sh-script.el (sh--inside-noncommand-expression):
3548 Correctly detect when we're inside an arithmetic expansion form
3549 containing nested parenthesis.
3550 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
3551 to detect cases where we shouldn't expand "<<" to a heredoc
3552 skeleton.
3553
3554 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
3555
3556 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
3557 (eldoc--message-command-p): New function.
3558 (eldoc-display-message-p): Use it.
3559 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
3560 message is not automatically erased for us.
3561 (eldoc-print-current-symbol-info): Erase previous message, if any.
3562
3563 2014-01-21 Tassilo Horn <tsdh@gnu.org>
3564
3565 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
3566 specify it's an interactive function.
3567
3568 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
3569 Fix regex used for scanning for citation keys which failed for
3570 citations with optional arguments.
3571
3572 2014-01-21 Leo Liu <sdl.web@gmail.com>
3573
3574 * simple.el (read--expression): Don't enable eldoc-mode.
3575
3576 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
3577
3578 * simple.el (move-beginning-of-line): Make sure we don't move forward
3579 (bug#16497).
3580
3581 2014-01-20 Juri Linkov <juri@jurta.org>
3582
3583 * saveplace.el (toggle-save-place, save-place-to-alist)
3584 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
3585 'dired-mode) before checking for dired-directory. (Bug#16477)
3586
3587 2014-01-20 Juri Linkov <juri@jurta.org>
3588
3589 * indent.el (indent-line-to): Use backward-to-indentation
3590 instead of back-to-indentation. (Bug#16461)
3591
3592 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
3593
3594 Revert some of the CANNOT_DUMP fix (Bug#16494).
3595 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
3596 but fixing this can wait until after the next release.
3597 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
3598
3599 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
3600
3601 * eshell/esh-mode.el (eshell-password-prompt-regexp):
3602 Use `password-word-equivalents'.
3603 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
3604 to t. (Bug#5664, Bug#13124)
3605
3606 2014-01-19 Alan Mackenzie <acm@muc.de>
3607
3608 Bind open-paren-in-column-0-is-defun-start to nil at some entry
3609 points.
3610 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
3611 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
3612 * progmodes/cc-mode.el (c-before-change, c-after-change)
3613 (c-font-lock-fontify-region): Bind it here.
3614
3615 2014-01-19 Martin Rudalics <rudalics@gmx.at>
3616
3617 * term.el (term-window-width): Call window-text-width instead of
3618 window-width (Bug#16470).
3619
3620 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
3621
3622 * simple.el (password-word-equivalents): Remove duplicates.
3623 Sort, to make this easier next time.
3624 Downcase. Omit ": " after "jelszó".
3625
3626 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
3627
3628 * term/common-win.el (saved-region-selection): Defvar it.
3629 (x-select-text): Set saved-region-selection (Bug#16382).
3630
3631 2014-01-18 Glenn Morris <rgm@gnu.org>
3632
3633 * emacs-lisp/authors.el (authors-aliases)
3634 (authors-renamed-files-alist): Add some entries.
3635
3636 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
3637
3638 * net/tramp.el (tramp-password-prompt-regexp):
3639 Use `password-word-equivalents' if available.
3640 (tramp-action-password, tramp-process-one-action)
3641 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
3642
3643 2014-01-17 Chong Yidong <cyd@gnu.org>
3644
3645 * simple.el (password-word-equivalents): New defcustom.
3646 * comint.el (comint-password-prompt-regexp): Use it. Bump version
3647 to 24.4.
3648 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
3649 to t. (Bug#13124)
3650
3651 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
3652
3653 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
3654 (ruby-align-to-stmt-keywords): Change the default value.
3655 Use `ruby-alignable-keywords' to generate the possible customization
3656 choices.
3657 (ruby-smie-rules): Instead of using a hardcoded list of alignable
3658 keywords, check against the value of `ruby-alignable-keywords'
3659 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
3660
3661 2014-01-17 Glenn Morris <rgm@gnu.org>
3662
3663 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
3664
3665 Make M-x authors return zero *Authors Errors* from current logs.
3666 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
3667 (authors-ignored-files): Add some entries, remove others.
3668 (authors-ambiguous-files, authors-valid-file-names):
3669 Add some entries.
3670 (authors-renamed-files-alist): Add, remove, and adjust entries.
3671 (authors-renamed-files-regexps): Add some entries.
3672 Remove some very broad ones. Make some entries `lax'.
3673 (authors-lax-changelogs): New constant.
3674 (authors-disambiguate-file-name): Treat top-level specially.
3675 (authors-lax-changelog-p): New function.
3676 (authors-canonical-file-name): Check file as written against
3677 authors-valid-file-names. Do not special-case etc/.
3678 Handle `lax' logs and authors-renamed-files-regexps elements.
3679
3680 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
3681
3682 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
3683 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
3684 callers.
3685
3686 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3687
3688 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
3689 Assume we're already in the proper buffer.
3690 Inspired by Anders Lindgren <andlind@gmail.com>.
3691 (follow-post-command-hook): Call it from the right buffer.
3692 (follow-comint-scroll-to-bottom): Adjust call.
3693 (follow-all-followers): Use get-buffer-window-list.
3694
3695 2014-01-15 Daniel Colascione <dancol@dancol.org>
3696
3697 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
3698 `buffer-file-name' in interactive-form so that we don't leave
3699 pathless file names in `file-name-history'.
3700
3701 2014-01-15 Juri Linkov <juri@jurta.org>
3702
3703 * indent.el (indent-rigidly): Set deactivate-mark to nil
3704 in transient indentation mode. (Bug#16438)
3705
3706 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
3707
3708 * emacs-lisp/package.el (package-desc-keywords): New function
3709 (Bug#16222).
3710 (describe-package-1, package-all-keywords)
3711 (package--has-keyword-p): Use it.
3712
3713 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3714
3715 * simple.el (define-alternatives): When creating the
3716 COMMAND-alternatives variable, assign COMMAND as its definition
3717 name so that `describe-variable' can relocate it.
3718
3719 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
3720
3721 * font-lock.el (font-lock-keywords): Fix typo in docstring
3722 (bug#16307).
3723
3724 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3725
3726 * ispell.el (ispell-region): Reset `in-comment' for new line
3727 instead of wrongly reset `add-coment' (bug#13577).
3728
3729 2014-01-14 Daiki Ueno <ueno@gnu.org>
3730
3731 * epa-file.el (epa-file-write-region): Encode the region according
3732 to `buffer-file-format'. Problem reported at:
3733 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
3734
3735 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
3736
3737 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
3738 so it applies in the right buffer (bug#16410).
3739
3740 2014-01-13 Daniel Colascione <dancol@dancol.org>
3741
3742 * textmodes/rst.el (rst-define-key): Provide deprecated
3743 keybindings through named functions instead of anonymous ones so
3744 that "??" doesn't appear in describe-mode output.
3745
3746 2014-01-13 Bastien Guerry <bzg@gnu.org>
3747
3748 * simple.el (define-alternatives): Call the selected command
3749 interactively. When setting `COMMAND--implementation' for the
3750 first time, tell the user how to chose another implementation.
3751 Enhance the docstring.
3752
3753 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3754
3755 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
3756 (log-edit--match-first-line): New function.
3757 (log-edit-font-lock-keywords): Use it.
3758 (log-edit-mode): Make jit-lock-defer-multiline work.
3759
3760 2014-01-13 Bastien Guerry <bzg@gnu.org>
3761
3762 * rect.el (rectangle-mark-mode): When the region is not active,
3763 display a message saying that the mark as been set and that
3764 rectangle mode is in use.
3765 (rectangle--highlight-for-redisplay): Only put an overlay with a
3766 visible vertical bar when (display-graphic-p) is non-nil.
3767 This partially fixes Bug#16403.
3768
3769 2014-01-13 Juri Linkov <juri@jurta.org>
3770
3771 * info.el (Info-find-file): Go to DIR before displaying the error
3772 about a nonexistent file if no previous Info file is visited.
3773 Use `user-error' instead of `error' for "Info file %s does not exist".
3774 (Info-find-node-2): In case of a nonexistent node in unwind forms
3775 go to the Top node if there is no previous node to revert to.
3776 (Bug#16405)
3777
3778 2014-01-13 Martin Rudalics <rudalics@gmx.at>
3779
3780 fit-frame/window-to-buffer code fixes including one for Bug#14096.
3781 * window.el (fit-frame-to-buffer): Fix doc-string.
3782 Respect window-min-height/-width. Fit pixelwise when
3783 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
3784 when avoiding that frame goes partially off-screen.
3785 (fit-window-to-buffer): Respect window-min-height/-width
3786 (Bug#14096).
3787
3788 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3789
3790 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
3791 after an empty line.
3792
3793 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
3794
3795 * net/shr.el (shr-render-region): Autoload.
3796
3797 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
3798
3799 * net/eww.el (eww-download-directory): Rename from
3800 `eww-download-path' (Bug#16419).
3801
3802 2014-01-12 Leo Liu <sdl.web@gmail.com>
3803
3804 * dired-x.el (dired-mode-map): Fix last change.
3805
3806 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
3807
3808 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
3809
3810 Spelling fixes.
3811 * emacs-lisp/generic.el (generic--normalize-comments):
3812 Rename from generic--normalise-comments. All uses changed.
3813 * play/bubbles.el (bubbles--neighborhood-score)
3814 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
3815 (bubbles--neighborhood-available)
3816 (bubbles--update-neighborhood-score):
3817 Rename from names with 'neighbourhood'. All uses changed.
3818
3819 2014-01-12 Leo Liu <sdl.web@gmail.com>
3820
3821 Re-implement the feature of showing eldoc info after editing.
3822 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
3823 (eldoc-edit-message-commands): New function.
3824 (eldoc-print-after-edit): New variable.
3825 (eldoc-pre-command-refresh-echo-area): Emit message only by
3826 eldoc-message-commands.
3827 (eldoc-mode): Restrict eldoc-message-commands to editing commands
3828 if eldoc-print-after-edit is set. (Bug#16346)
3829 * simple.el (read--expression): Enable eldoc-mode.
3830 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
3831
3832 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
3833 Eric S. Raymond <esr@thyrsus.com>
3834
3835 * version.el (emacs-repository-get-version): Enhance so the
3836 function works correctly in either a Bazaar or Git repo.
3837
3838 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
3839
3840 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
3841 Goes with removal of the joke manpages from /etc.
3842
3843 2014-01-10 Kenichi Handa <handa@gnu.org>
3844
3845 * mail/rmail.el (rmail-get-coding-system):
3846 Check rmail-get-coding-function before "funcall"ing it.
3847
3848 2014-01-10 Glenn Morris <rgm@gnu.org>
3849
3850 * emacs-lisp/authors.el (authors-fixed-entries):
3851 Update for files that no longer exist.
3852
3853 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
3854
3855 * version.el (emacs-bzr-get-version): Restore compatibilty with
3856 24.3 (Tested).
3857
3858 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
3859
3860 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
3861 and Podfile.
3862
3863 2014-01-10 Eli Zaretskii <eliz@gnu.org>
3864
3865 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
3866
3867 2014-01-10 Chong Yidong <cyd@gnu.org>
3868
3869 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
3870
3871 2014-01-10 Anders Lindgren <andlind@gmail.com>
3872
3873 * follow.el (follow-cache-command-list): Include right-char and
3874 left-char.
3875
3876 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
3877
3878 Spelling fixes.
3879 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
3880 * woman.el (woman-mark-horizontal-position):
3881 Rename from woman-mark-horizonal-position. Use changed.
3882
3883 2014-01-10 Glenn Morris <rgm@gnu.org>
3884
3885 * info.el (info-initialize): If running uninstalled, ensure our
3886 own info files are always found first, even if INFOPATH is set.
3887
3888 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
3889
3890 2014-01-09 David Engster <deng@randomsample.de>
3891
3892 * emacs-lisp/eieio-custom.el:
3893 * emacs-lisp/eieio-opt.el: Set generated autoload file to
3894 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
3895 * emacs-lisp/eieio.el: Regenerate autoloads.
3896
3897 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
3898
3899 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
3900 following renames. (Bug#8756)
3901
3902 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
3903
3904 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
3905 (bug#16382).
3906 (activate-mark): Add `no-tmm' argument.
3907 (set-mark, push-mark-command): Use it instead of running
3908 activate-mark-hook by hand.
3909
3910 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
3911
3912 In preparation for the move to git, sanitize out some
3913 Bazaar-specific names.
3914
3915 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
3916
3917 * version.el (emacs-bzr-version): Name changed to
3918 emacs-repository-version. Obsolete-variable alias made.
3919 * loadup.el: Follow through on this name change.
3920 * mail/emacsbug.el (report-emacs-bug): Factor out any
3921 assumption about the version control system in use.
3922
3923 2014-01-08 David Engster <deng@randomsample.de>
3924
3925 * help-fns.el (help-fns-describe-function-functions):
3926 New variable to call functions for augmenting help buffers.
3927 (describe-function-1): Remove explicit calls to
3928 `help-fns--compiler-macro', `help-fns--parent-mode' and
3929 `help-fns--obsolete'. Put them in above new variable instead, and
3930 call them through `run-hook-with-args'.
3931 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
3932 `eieio-describe-class'. Not meant for interactive use anymore,
3933 but to augment existing help buffers. Remove optional second
3934 argument. Create proper button for file location.
3935 Rewrite function to use `insert' instead of `princ' and `prin1' where
3936 possible.
3937 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
3938 (eieio-method-def, eieio-class-def): Move further up.
3939 (describe-method, describe-generic, eieio-describe-method):
3940 Remove aliases.
3941 (eieio-help-constructor, eieio-help-generic): Rename from
3942 `eieio-describe-constructor' and `eieio-describe-generic', resp.
3943 Rewrite to use `insert' in the current buffer and use proper help
3944 buttons.
3945 (eieio-help-find-method-definition)
3946 (eieio-help-find-class-definition): Also accept symbols as
3947 arguments.
3948 (eieio-help-mode-augmentation-maybee): Remove.
3949 (eieio-describe-class-sb): Use `describe-function'.
3950 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
3951 Add `eieio-help-generic' and `eieio-help-constructor'.
3952
3953 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
3954
3955 Spelling fixes.
3956 * language/china-util.el (hz-ascii-designation):
3957 Rename from hz-ascii-designnation.
3958 (hz-ascii-designation): Rename from hz-ascii-designnation.
3959 All uses changed.
3960
3961 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3962
3963 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
3964 package-alist.
3965
3966 2014-01-08 Bastien Guerry <bzg@gnu.org>
3967
3968 * emacs-lisp/package.el (package-delete):
3969 Correctly delete the package from package-alist.
3970
3971 2014-01-08 Daiki Ueno <ueno@gnu.org>
3972
3973 * emacs-lisp/package.el (url-recreate-url): Declare.
3974 (url-http-target-url): Declare.
3975 (package-handle-response): Include requested URL in the error message.
3976 (package--check-signature): Don't re-signal errors from
3977 package--with-work-buffer. Suggested by Stefan Monnier.
3978
3979 2014-01-07 Bastien Guerry <bzg@gnu.org>
3980
3981 * minibuffer.el (completion--try-word-completion): When both a
3982 hyphen and a space are possible candidates for the character
3983 following a word, display both candidates. (Bug#15980)
3984
3985 2014-01-07 Martin Rudalics <rudalics@gmx.at>
3986
3987 * window.el (balance-windows-2): While rounding don't give a
3988 window more than the remainder. Bug#16351, bug#16383.
3989
3990 2014-01-07 Glenn Morris <rgm@gnu.org>
3991
3992 * menu-bar.el (menu-bar-help-extra-packages): Remove.
3993 (menu-bar-help-menu): Use view-external-packages instead.
3994
3995 2014-01-07 Bastien Guerry <bzg@gnu.org>
3996
3997 * emacs-lisp/package.el (package-delete): Also delete the package
3998 name from `package-alist', not its description only.
3999
4000 2014-01-07 Glenn Morris <rgm@gnu.org>
4001
4002 * help.el (view-external-packages):
4003 * menu-bar.el (menu-bar-help-extra-packages):
4004 Visit efaq.info rather than etc/MORE.STUFF.
4005
4006 2014-01-07 Juri Linkov <juri@jurta.org>
4007
4008 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
4009 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
4010
4011 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
4012 that shadows RET. (Bug#16342)
4013
4014 2014-01-07 Chong Yidong <cyd@gnu.org>
4015
4016 * isearch.el (isearch-yank-char, isearch-yank-word)
4017 (isearch-yank-line): Doc fix.
4018
4019 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4020
4021 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
4022 * emacs-lisp/elint.el (elint-find-builtins):
4023 * emacs-lisp/eldoc.el (eldoc-symbol-function):
4024 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
4025 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
4026 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4027 * apropos.el (apropos-safe-documentation):
4028 * subr.el (symbol-file): Remove redundant fboundp.
4029 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
4030
4031 2014-01-06 Bastien Guerry <bzg@gnu.org>
4032
4033 * hl-line.el (global-hl-line-overlay): Make a local variable.
4034 (global-hl-line-overlays): New variable to store all overlays.
4035 (global-hl-line-mode): Don't delete overlays from the current
4036 buffer when `global-hl-line-sticky-flag' is non-nil.
4037 (global-hl-line-highlight): Add new overlays to
4038 `global-hl-line-overlays'.
4039 (global-hl-line-unhighlight-all): New function to delete all
4040 overlays when turning off `global-hl-line-mode'.
4041 This fixes Bug#16183.
4042
4043 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4044
4045 * subr.el (set-transient-map): Fix nested case and docstring.
4046
4047 2014-01-06 Tassilo Horn <tsdh@gnu.org>
4048
4049 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
4050 `Texinfo' entry.
4051
4052 2014-01-06 Daniel Colascione <dancol@dancol.org>
4053
4054 Fix defun navigation in vc log view.
4055
4056 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
4057 like `beginning-of-defun'.
4058 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
4059 log-view-end-of-defun to log-view-end-of-defun-1. Replace
4060 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
4061 (log-view-extract-comment): Call `log-view-current-entry' directly
4062 instead of relying on broken `log-view-beginning-of-defun' behavior.
4063
4064 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
4065
4066 Spelling fixes.
4067 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
4068 * emacs-lisp/debug.el (cancel-debug-on-entry):
4069 * epg.el (epg-error-to-string):
4070 * files.el (recover-file):
4071 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
4072 * mail/emacsbug.el (report-emacs-bug-hook):
4073 * mail/sendmail.el (mail-recover):
4074 * ses.el (ses-yank-resize):
4075 * term/ns-win.el (ns-print-buffer):
4076 Spelling fixes in diagnostics, mostly for "canceled" with one L.
4077 * epg.el (epg-key-capability-alist): Rename from misspelled version.
4078 All uses changed.
4079 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
4080
4081 2014-01-06 Leo Liu <sdl.web@gmail.com>
4082
4083 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
4084 to avoid shadowing global key. (Bug#16354)
4085
4086 2014-01-06 Daniel Colascione <dancol@dancol.org>
4087
4088 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
4089 rst-mode.
4090
4091 2014-01-05 Martin Rudalics <rudalics@gmx.at>
4092
4093 * window.el (balance-windows): Add mising t to fix Bug#16351.
4094
4095 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4096
4097 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
4098 (bug#16285).
4099 (shr-insert): If we have a word that's longer than `shr-width',
4100 break after it anyway. Otherwise we'll do no breaking once we get
4101 such a long word.
4102
4103 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4104
4105 * net/eww.el (eww): Support single/double quote for search.
4106 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
4107 (eww-history-quit): Delete and use quit-window.
4108 (eww-history-kill): Delete, because it doesn't work well and
4109 not necessary.
4110 (eww-history-mode-map): Delete some keys and add easy-menu.
4111
4112 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
4113
4114 Fix misspelling of 'chinese' in rx (Bug#16237).
4115 * emacs-lisp/rx.el (rx-categories): Correct spelling of
4116 chinese-two-byte.
4117
4118 Change subword regexps back to vars (Bug#16296).
4119 * progmodes/subword.el (subword-forward-regexp)
4120 (subword-backward-regexp): Change these back to variables.
4121
4122 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
4123
4124 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
4125 syntax-begin-function (bug#16247).
4126
4127 2014-01-03 Chong Yidong <cyd@gnu.org>
4128
4129 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
4130 (advice--docstring): Delete variable.
4131 (advice--make-1): Leave the docstring empty.
4132 (advice-add): Use function-documentation for advised docstring.
4133
4134 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
4135 Ignore function-documentation property when getting documentation.
4136 (ad-activate-advised-definition): Use function-documentation
4137 generate the docstring.
4138 (ad-make-advised-definition): Don't call
4139 ad-make-advised-definition-docstring.
4140 (ad-make-advised-definition-docstring, ad-advised-definition-p):
4141 Delete functions.
4142
4143 * progmodes/sql.el (sql-help): Use function-documentation instead
4144 of dynamic-docstring-function property. No need to autoload now.
4145 (sql--help-docstring): New variable.
4146 (sql--make-help-docstring): Use it.
4147
4148 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
4149
4150 * ielm.el (ielm-tab): Retarget.
4151 (ielm-map): Use ielm-tab for tab.
4152 (ielm-complete-filename): Use comint-filename-completion.
4153 (ielm-complete-symbol): Remove.
4154 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
4155 remove ielm-tab from completion-at-point-functions (bug#16224).
4156
4157 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
4158 Beware signals raised by predicates (bug#16201).
4159
4160 2014-01-02 Richard Stallman <rms@gnu.org>
4161
4162 * dired-aux.el (dired-do-print): Handle printer-name.
4163
4164 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
4165 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
4166 (rmail-epa-decrypt): Turn off mime processing.
4167
4168 * mail/rmail.el (rmail-make-in-reply-to-field):
4169 Add parens in message-id.
4170
4171 * mail/rmail.el (rmail-get-coding-function): Variable.
4172 (rmail-get-coding-system): Use it.
4173
4174 2013-12-31 Eli Zaretskii <eliz@gnu.org>
4175
4176 * international/mule-conf.el: Unify the charset indian-is13194.
4177 (indian-is13194): Specify unify-map.
4178
4179 2013-12-31 Leo Liu <sdl.web@gmail.com>
4180
4181 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
4182
4183 2013-12-30 Daniel Colascione <dancol@dancol.org>
4184
4185 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
4186 of printing a useless when we resume from sleep.
4187
4188 * progmodes/sh-script.el
4189 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
4190 in indentation code. (Bug#16233)
4191
4192 2013-12-28 João Távora <joaotavora@gmail.com>
4193
4194 * elec-pair.el (electric-pair-post-self-insert-function):
4195 Don't open extra newlines at beginning of buffer. (Bug#16272)
4196
4197 2013-12-28 Eli Zaretskii <eliz@gnu.org>
4198
4199 * frame.el (window-system-for-display): Don't allow to create a
4200 GUI frame from a -nw session on MS-Windows. (Bug#14739)
4201
4202 2013-12-28 Glenn Morris <rgm@gnu.org>
4203
4204 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
4205 Update callers.
4206
4207 * apropos.el (apropos-match-face):
4208 * calculator.el (calculator-displayer):
4209 * dabbrev.el (dabbrev-search-these-buffers-only):
4210 * face-remap.el (buffer-face-mode-face):
4211 * simple.el (yank-handled-properties):
4212 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
4213 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
4214 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
4215 (hashcash-double-spend-database):
4216 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
4217 (ruby-deep-indent-paren-style):
4218 * textmodes/flyspell.el (flyspell-auto-correct-binding):
4219 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
4220 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
4221 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
4222 Specify custom types.
4223
4224 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
4225 * bookmark.el (bookmark-bmenu-use-header-line):
4226 * doc-view.el (doc-view-scale-internally):
4227 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
4228 * register.el (register-preview-delay):
4229 * net/shr.el (shr-bullet):
4230 * progmodes/cfengine.el (cfengine-cf-promises)
4231 (cfengine-parameters-indent):
4232 * progmodes/octave.el (inferior-octave-error-regexp-alist):
4233 * textmodes/reftex-vars.el (reftex-label-regexps):
4234 * vc/log-edit.el (log-edit-setup-add-author): Add version.
4235
4236 * net/tls.el (tls-certtool-program): Fix default value.
4237
4238 * desktop.el (desktop-restore-in-current-display):
4239 * newcomment.el (comment-empty-lines):
4240 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
4241 (idlwave-pad-keyword):
4242 * progmodes/tcl.el (tcl-tab-always-indent):
4243 * textmodes/reftex-vars.el (reftex-index-default-tag):
4244 * elec-pair.el (electric-pair-skip-whitespace):
4245 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
4246
4247 * emacs-lisp/authors.el (authors-ignored-files)
4248 (authors-valid-file-names, authors-renamed-files-alist): Additions.
4249
4250 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
4251
4252 * shell.el (shell-dynamic-complete-command): Doc fix.
4253 (shell--command-completion-data): Shell completion now matches
4254 executable filenames from the current buffer's directory, on
4255 systems in which this behavior is the default (windows-nt, ms-dos).
4256
4257 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4258
4259 * net/shr.el (shr-insert): Don't infloop if the width is zero.
4260
4261 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
4262
4263 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
4264 (bug#16251).
4265
4266 * electric.el: Move all electric-pair-* to elec-pair.el.
4267 * elec-pair.el: New file, split from electric.el.
4268
4269 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4270
4271 * net/shr.el (shr-find-fill-point): Don't try to fill if the
4272 indentation level is larger than the width, because that will
4273 infloop.
4274 (shr-insert): Fill repeatedly long texts, so that Japanese is
4275 formatted correctly (bug#16263).
4276 (shr-find-fill-point): Off by one error in comparison with the
4277 indentation.
4278
4279 2013-12-26 João Távora <joaotavora@gmail.com>
4280
4281 * electric.el (electric-pair-mode): More flexible engine for skip-
4282 and inhibit predicates, new options for pairing-related functionality.
4283 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
4284 if that keeps or improves their balance in buffers.
4285 (electric-pair-delete-adjacent-pairs): Delete the pair when
4286 backspacing over adjacent matched delimiters.
4287 (electric-pair-open-extra-newline): Open extra newline when
4288 inserting newlines between adjacent matched delimiters.
4289 (electric--sort-post-self-insertion-hook):
4290 Sort post-self-insert-hook according to priority values when
4291 minor-modes are activated.
4292 * simple.el (newline-and-indent): Call newline with interactive
4293 set to t.
4294 (blink-paren-post-self-insert-function): Set priority to 100.
4295 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4296 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
4297 comments. Locally set electric-pair-skip-whitespace to 'chomp and
4298 electric-pair-open-newline-between-pairs to nil.
4299
4300 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
4301
4302 * progmodes/python.el: Use lexical-binding.
4303 (python-nav-beginning-of-defun): Stop searching ASAP.
4304
4305 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
4306
4307 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
4308 Fix interactive spec. Doc fix. (Bug#15754)
4309
4310 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
4311
4312 * emacs-lisp/byte-run.el (eval-when-compile):
4313 * progmodes/cc-defs.el (cc-eval-when-compile):
4314 Fix edebug spec (bug#16184).
4315
4316 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4317
4318 * net/shr.el (shr-visit-file): Remove debugging function.
4319 (shr-insert): Don't infloop if we can't find a good place to break
4320 the line (bug#16256).
4321
4322 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
4323
4324 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
4325 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
4326 python-nav-lisp-forward-sexp-safe.
4327 (python-nav--forward-sexp): New argument SAFE allows switching
4328 forward sexp movement behavior for parens.
4329 (python-nav-forward-sexp): Throw errors on unterminated parens
4330 (Bug#16191).
4331 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
4332 (python-nav-backward-sexp-safe): New functions.
4333 (python-shell-buffer-substring):
4334 Use `python-nav-forward-sexp-safe'.
4335
4336 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4337
4338 * net/shr.el (shr-find-fill-point): Don't break lines before a
4339 quotation mark.
4340 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
4341 (shr-find-fill-point): Remove the special checks for the quotation
4342 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
4343
4344 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4345
4346 * net/eww.el (eww-form-textarea): Use a different face for
4347 textareas than text input since they have different keymaps
4348 (bug#16142).
4349
4350 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
4351
4352 * progmodes/python.el (python-nav-beginning-of-statement):
4353 Speed up (Bug#15295).
4354
4355 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4356
4357 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
4358 the window configuration.
4359
4360 2013-12-24 Eli Zaretskii <eliz@gnu.org>
4361
4362 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
4363 we run on MS-Windows or MS-DOS.
4364
4365 2013-12-24 Martin Rudalics <rudalics@gmx.at>
4366
4367 * window.el (balance-windows-area): Call window-size instead of
4368 window-height and window-width. Bug#16241.
4369
4370 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4371
4372 * net/eww.el (eww-bookmark-quit): Remove.
4373 (eww-bookmark-browse): Restore the window configuration when you
4374 choose a bookmark (bug#16144).
4375
4376 2013-12-24 Daniel Colascione <dancol@dancol.org>
4377
4378 * icomplete.el: Remove redundant :group arguments to `defcustom'
4379 throughout.
4380 (icomplete-show-matches-on-no-input): New customizable variable.
4381 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
4382 we have something to show.
4383 (icomplete-exhibit): Compute completions even if we have no user input.
4384
4385 2013-12-23 Daniel Colascione <dancol@dancol.org>
4386
4387 * icomplete.el: Move `provide' to end of file.
4388
4389 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
4390
4391 * net/gnutls.el (gnutls-verify-error): Add version tag.
4392
4393 2013-12-23 Chong Yidong <cyd@gnu.org>
4394
4395 * subr.el (set-transient-map): Rename from
4396 set-temporary-overlay-map. Doc fix.
4397
4398 * face-remap.el (text-scale-adjust):
4399 * indent.el (indent-rigidly):
4400 * kmacro.el (kmacro-call-macro):
4401 * minibuffer.el (minibuffer-force-complete):
4402 * repeat.el (repeat):
4403 * simple.el (universal-argument--mode):
4404 * calendar/todo-mode.el (todo-insert-item--next-param):
4405 * progmodes/f90.el (f90-abbrev-start): Callers changed.
4406
4407 * indent.el (indent-rigidly): Use substitute-command-keys.
4408
4409 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4410
4411 * net/eww.el (eww-tag-select): Add text-property to jump to next
4412 select field.
4413 (eww): Add non-supported ftp error.
4414
4415 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4416
4417 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
4418 comments. Handle electric indent after typing `?' and `!'.
4419
4420 2013-12-22 Chong Yidong <cyd@gnu.org>
4421
4422 * faces.el (face-spec-recalc): If the theme specs are not
4423 applicable to a frame, fall back on the defface spec.
4424 This prevents themes from obliterating faces on low-color terminals.
4425
4426 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4427
4428 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
4429 after `{'. We need it after block openers, and it doesn't seem
4430 to hurt after hash openers.
4431
4432 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4433
4434 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
4435 extracted from `ruby-smie-rules'.
4436 (ruby--electric-indent-chars): New variable.
4437 (ruby--electric-indent-p): New function.
4438 (ruby-mode): Use `electric-indent-functions' instead of
4439 `electric-indent-chars'.
4440
4441 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4442
4443 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
4444 docstring.
4445 (ruby-smie-rules): Indent plus one level after `=>'.
4446
4447 2013-12-21 Richard Stallman <rms@gnu.org>
4448
4449 * simple.el (newline): Doc fix.
4450
4451 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4452
4453 * net/eww.el (eww-list-histories, eww-list-histories)
4454 (eww-history-browse, eww-history-quit, eww-history-kill)
4455 (eww-history-mode-map, eww-history-mode): New command and
4456 functions to list browser histories.
4457 (eww-form-text): Support text form with disabled
4458 and readonly attributes.
4459 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
4460
4461 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4462
4463 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
4464 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
4465 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
4466 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
4467 Use `user-error'.
4468 (eww-bookmark-mode-map): Add menu.
4469 (eww-render, eww-mode): Use `setq-local'.
4470 (eww-tool-bar-map): New variable.
4471 (eww-mode): Set `tool-bar-map'.
4472 (eww-view-source): Check for `html-mode' with `fboundp'.
4473
4474 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4475
4476 * net/shr.el (shr--extract-best-source): Don't bug out on audio
4477 elements with text inside. Also remove debugging.
4478
4479 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
4480
4481 * cus-start.el (all): Add ns-use-srgb-colorspace.
4482
4483 2013-12-21 Chong Yidong <cyd@gnu.org>
4484
4485 * custom.el (custom-theme-recalc-face): Do nothing if the face is
4486 undefined. Thus, theme settings for undefined faces do not take
4487 effect until the faces are defined with defface, the same as with
4488 theme variables.
4489
4490 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
4491 (face-spec-reset-face): Don't assign extra properties in temacs.
4492 (face-spec-recalc): Apply X resources too.
4493
4494 2013-12-21 Chong Yidong <cyd@gnu.org>
4495
4496 * faces.el (face-spec-set):
4497 * cus-face.el (custom-theme-set-faces, custom-set-faces):
4498 * custom.el (defface): Doc fixes (Bug#16203).
4499
4500 * indent.el (indent-rigidly-map): Add docstring, and move commands
4501 into named functions.
4502 (indent-rigidly-left, indent-rigidly-right)
4503 (indent-rigidly-left-to-tab-stop)
4504 (indent-rigidly-right-to-tab-stop): New functions. Decide on
4505 indentation direction based on bidi direction, and accumulate
4506 sequential commands in a single undo boundary.
4507 (indent-rigidly--pop-undo): New utility function.
4508
4509 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
4510
4511 * faces.el (read-face-name): Require crm.el when using crm-separator.
4512
4513 2013-12-20 Daniel Colascione <dancol@dancol.org>
4514
4515 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
4516 so that we don't reflow comments into the shebang line.
4517
4518 2013-12-20 Juri Linkov <juri@jurta.org>
4519
4520 * saveplace.el (save-place-to-alist): Add `dired-filename' as
4521 a position when `dired-directory' is non-nil. Check integer
4522 positions with `integerp'.
4523 (toggle-save-place, save-places-to-alist): Add check for
4524 `dired-directory'.
4525 (save-place-find-file-hook): Check integer positions with
4526 `integerp'.
4527 (save-place-dired-hook): Use `dired-goto-file' when
4528 `dired-filename' is found in the assoc list. Check integer
4529 positions with `integerp'.
4530 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
4531
4532 * dired.el (dired-initial-position-hook): Rename back from
4533 `dired-initial-point-hook'.
4534 (dired-initial-position): Rename `dired-initial-point-hook' to
4535 `dired-initial-position-hook'.
4536 (dired-file-name-at-point): Doc fix. (Bug#15329)
4537
4538 2013-12-20 Juri Linkov <juri@jurta.org>
4539
4540 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
4541 (read-regexp-suggestions): New function.
4542 (read-regexp): Use `read-regexp-defaults-function' to get default values.
4543 Use `read-regexp-suggestions'. Add non-empty default to history
4544 for empty input.
4545 (occur-read-regexp-defaults-function): Remove function.
4546 (occur-read-primary-args): Use `regexp-history-last' instead of
4547 `occur-read-regexp-defaults-function'.
4548
4549 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
4550 (hi-lock-line-face-buffer, hi-lock-face-buffer)
4551 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
4552 `hi-lock-read-regexp-defaults-function'. Doc fix.
4553 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
4554 with `find-tag-default-as-symbol-regexp'. Doc fix.
4555 (hi-lock-read-regexp-defaults): Remove function.
4556 (hi-lock-regexp-okay): Add check for null.
4557
4558 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
4559 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
4560
4561 * subr.el (find-tag-default-as-symbol-regexp): New function.
4562 (find-tag-default-as-regexp): Move symbol regexp formatting to
4563 `find-tag-default-as-symbol-regexp'.
4564
4565 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
4566
4567 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
4568 (Bug#14179)
4569
4570 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
4571
4572 * calendar/todo-mode.el: New implementation of item insertion
4573 commands and key bindings.
4574 (todo-key-prompt): New face.
4575 (todo-insert-item): New command.
4576 (todo-insert-item--parameters): New defconst, replacing defvar
4577 todo-insertion-commands-args-genlist.
4578 (todo-insert-item--param-key-alist): New defconst, replacing
4579 defvar todo-insertion-commands-arg-key-list.
4580 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
4581 (todo-insert-item--argsleft, todo-insert-item--apply-args)
4582 (todo-insert-item--next-param): New functions.
4583 (todo-insert-item--args, todo-insert-item--argleft)
4584 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
4585 New variables.
4586 (todo-key-bindings-t): Change binding of "i" from
4587 todo-insertion-map to todo-insert-item.
4588 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
4589 (todo-insertion-command-name, todo-insertion-commands-names)
4590 (todo-define-insertion-command, todo-insertion-commands)
4591 (todo-insertion-key-bindings, todo-insertion-map): Remove.
4592
4593 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
4594
4595 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
4596 (todo-toggle-item-highlighting): Use eval-and-compile instead of
4597 eval-when-compile.
4598 (todo-move-category): Allow choosing a non-existing todo file to
4599 move the category to, and create that file.
4600 (todo-default-priority): New user option.
4601 (todo-set-item-priority): Use it.
4602 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
4603 (desktop-restore-file-buffer): Declare.
4604 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
4605 (todo-modes-set-2): Locally set desktop-save-buffer to
4606 todo-desktop-save-buffer.
4607 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
4608 (auto-mode-alist): Add autoload cookie.
4609
4610 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
4611
4612 * emacs-lisp/subr-x.el: Renamed from helpers.el.
4613 helpers.el was a poor choice of name.
4614 (string-remove-prefix): New function.
4615 (string-remove-suffix): New function.
4616
4617 2013-12-20 Martin Rudalics <rudalics@gmx.at>
4618
4619 Fix assignment for new window total sizes.
4620 * window.el (window--pixel-to-size): Remove function.
4621 (window--pixel-to-total-1, window--pixel-to-total):
4622 Fix calculation of new total sizes.
4623
4624 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
4625
4626 * comint.el (comint-output-filter): Fix rear-nonsticky property
4627 placement (Bug#16010).
4628
4629 2013-12-20 Chong Yidong <cyd@gnu.org>
4630
4631 * faces.el (read-color): Minor fix for completion function.
4632
4633 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
4634
4635 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
4636 New option. (Bug#16182)
4637 (ruby-smie--indent-to-stmt-p): Use it.
4638 (ruby-smie-rules): Revert the logic in the handling of `when'.
4639 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
4640 (ruby-deep-arglist, ruby-deep-indent-paren)
4641 (ruby-deep-indent-paren-style): Update docstrings to note that the
4642 vars don't have any effect with SMIE.
4643
4644 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
4645
4646 * calc/calc.el (calc-enter, calc-pop): Use the variable
4647 `calc-context-sensitive-enter'.
4648
4649 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
4650
4651 * net/shr.el (shr-insert): Protect against infloops in degenerate
4652 tables.
4653
4654 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4655
4656 * progmodes/octave.el (octave): Add link to manual and octave
4657 homepage.
4658 (octave-mode-menu): Link to octave-mode manual.
4659
4660 2013-12-20 Leo Liu <sdl.web@gmail.com>
4661
4662 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
4663 insertion using skeleton-end-newline. (Bug#16138)
4664
4665 2013-12-20 Juri Linkov <juri@jurta.org>
4666
4667 * replace.el (occur-engine): Use `add-face-text-property'
4668 to add the face property to matches and titles. (Bug#14645)
4669
4670 * hi-lock.el (hi-green): Use lighter color "light green" closer to
4671 the palette of other hi-lock colors.
4672 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
4673
4674 2013-12-19 Juri Linkov <juri@jurta.org>
4675
4676 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
4677 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
4678 (minibuffer-history-symbol): Move variable declaration closer to
4679 its usage.
4680
4681 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
4682 (Bug#14785)
4683
4684 2013-12-19 Juri Linkov <juri@jurta.org>
4685
4686 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
4687 New function.
4688 (log-edit-hook): Add it to :options. (Bug#16170)
4689
4690 2013-12-19 Juri Linkov <juri@jurta.org>
4691
4692 * simple.el (eval-expression-print-format): Don't check for
4693 command names and the last command. Always display additional
4694 formats of the integer result in the echo area, and insert them
4695 to the current buffer only with a zero prefix arg.
4696 Display character when char-displayable-p is non-nil.
4697 (eval-expression): With a zero prefix arg, set `print-length' and
4698 `print-level' to nil, and insert the integer values from
4699 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
4700
4701 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
4702 `eval-last-sexp-arg-internal'. Doc fix.
4703 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
4704 `eval-last-sexp-print-value'. Doc fix.
4705 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
4706 Set `print-length' and `print-level' to nil when arg is zero.
4707 (eval-last-sexp): Doc fix.
4708 (eval-defun-2): Print the integer values from
4709 `eval-expression-print-format' at the end.
4710
4711 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
4712 values from `eval-expression-print-format' at the end.
4713
4714 * ielm.el (ielm-eval-input): Print the integer
4715 values from `eval-expression-print-format' at the end.
4716
4717 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
4718
4719 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
4720 2013-12-11T19:01:44Z!tzz@lifelogs.com.
4721
4722 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
4723
4724 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
4725 (hl-line-highlight, global-hl-line-highlight): Use it.
4726 (hl-line-overlay): Use defvar-local.
4727
4728 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
4729
4730 * term/ns-win.el: Require dnd.
4731 (global-map): Remove drag items.
4732 (ns-insert-text, ns-set-foreground-at-mouse)
4733 (ns-set-background-at-mouse):
4734 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
4735 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
4736 New functions.
4737
4738 2013-12-19 Glenn Morris <rgm@gnu.org>
4739
4740 * emacs-lisp/ert.el (ert-select-tests):
4741 Fix string/symbol mixup. (Bug#16121)
4742
4743 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
4744
4745 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
4746 keywords to their parent.
4747
4748 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
4749
4750 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
4751 first arg to be a string (fixed dead code), or an operator symbol.
4752 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
4753 operator symbols.
4754 (ruby-smie-rules): Remove parent token check in the `.' clause, it
4755 did nothing. Don't respond to `(:after ".")', it will be called
4756 with :before anyway. Remove the ` @ ' rule, it didn't seem to
4757 change anything. Only return indentation for binary operators
4758 when they are hanging. De-dent opening paren when its parent is
4759 `.', otherwise it looks bad when the dot is not at bol or eol
4760 (bug#16182).
4761
4762 2013-12-19 Juri Linkov <juri@jurta.org>
4763
4764 * replace.el (query-replace-read-args): Split a non-negative arg
4765 and a negative arg into separate elements.
4766 (query-replace, query-replace-regexp, replace-string)
4767 (replace-regexp): Add arg `backward'. Doc fix.
4768 (replace-match-maybe-edit): When new arg `backward' is non-nil,
4769 move point to the beginning of the match.
4770 (replace-search, replace-highlight): Use new arg `backward'
4771 to set the value of `isearch-forward'.
4772 (perform-replace): Add arg `backward' and use it to perform
4773 replacement backward. (Bug#14979)
4774
4775 * isearch.el (isearch-query-replace): Use a negative prefix arg
4776 to call `perform-replace' with a non-nil arg `backward'.
4777
4778 2013-12-18 Juri Linkov <juri@jurta.org>
4779
4780 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
4781 to the default list. Move `log-edit-show-files' to the end.
4782 Add more available functions to options.
4783 (log-edit): Move default specific settings to
4784 `log-edit-insert-message-template'. Don't move point.
4785 (log-edit-insert-message-template): New function.
4786 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
4787 (Bug#16170)
4788
4789 2013-12-18 Juri Linkov <juri@jurta.org>
4790
4791 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
4792 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
4793
4794 2013-12-18 Leo Liu <sdl.web@gmail.com>
4795
4796 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
4797 (Bug#16186)
4798
4799 2013-12-18 Eli Zaretskii <eliz@gnu.org>
4800
4801 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
4802 formats for displaying file sizes when the -s switch is given.
4803 Instead, compute a separate format for displaying the size in
4804 blocks, which is displayed in addition to the "regular" size.
4805 When -h is given in addition to -s, produce size in blocks in
4806 human-readable form as well. (Bug#16179)
4807
4808 2013-12-18 Tassilo Horn <tsdh@gnu.org>
4809
4810 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
4811 Reference tables with ~\ref{...} instead of only \ref{...}.
4812
4813 2013-12-18 Chong Yidong <cyd@gnu.org>
4814
4815 * cus-edit.el (custom-magic-alist): Fix "themed" description
4816 (Bug#14348).
4817
4818 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
4819 is non-nil, do not create a new entry in the symbol's theme-value
4820 or theme-face property; update theme-settings only (Bug#14664).
4821 (custom-available-themes): Doc fix.
4822
4823 * cus-theme.el (custom-new-theme-mode-map): Add bindings
4824 (Bug#15674).
4825
4826 * replace.el (occur-engine): Avoid infloop (Bug#7593).
4827
4828 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
4829
4830 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
4831 (Bug#13914).
4832
4833 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
4834
4835 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
4836
4837 2013-12-18 Glenn Morris <rgm@gnu.org>
4838
4839 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
4840 * cus-start.el (load-prefer-newer): New option.
4841
4842 2013-12-18 Le Wang <l26wang@gmail.com>
4843
4844 * comint.el (comint-previous-matching-input-from-input):
4845 Retain point (Bug#13404).
4846
4847 2013-12-18 Chong Yidong <cyd@gnu.org>
4848
4849 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
4850
4851 2013-12-18 Glenn Morris <rgm@gnu.org>
4852
4853 * mail/emacsbug.el (report-emacs-bug):
4854 Only mention enable-multibyte-characters if non-standard.
4855
4856 2013-12-17 Juri Linkov <juri@jurta.org>
4857
4858 * arc-mode.el (archive-extract-by-file): Check if directory exists
4859 before deletion to not show irrelevant errors if it doesn't exist.
4860
4861 2013-12-17 Juri Linkov <juri@jurta.org>
4862
4863 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
4864 (Bug#14751)
4865
4866 * net/eww.el (browse-web): Add alias to `eww'.
4867 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
4868 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
4869
4870 * net/browse-url.el (browse-url-browser-function): Move `eww'
4871 closer to similar functions.
4872
4873 * startup.el (fancy-startup-screen, fancy-about-screen):
4874 Set browse-url-browser-function to eww-browse-url locally.
4875 (Bug#14751)
4876
4877 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
4878
4879 * window.el (window--pixel-to-total): Remove unused `mini' var.
4880 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
4881 (split-window): Remove unused `new' var.
4882 (window--display-buffer): Remove unused `frame' and `delta' vars.
4883 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
4884 and display-width'.
4885
4886 2013-12-17 Martin Rudalics <rudalics@gmx.at>
4887
4888 * dired.el (dired-mark-pop-up):
4889 * register.el (register-preview): Don't bind
4890 split-height-threshold here since it's now done in
4891 display-buffer-below-selected.
4892
4893 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
4894
4895 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
4896 xterm-rgb-convert-to-16bit.
4897 (rxvt-register-default-colors): Standardize with
4898 xterm-register-default-colors (Bug#14078).
4899
4900 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
4901
4902 * simple.el (kill-region): Pass mark first, then point, so that
4903 kill-append works right (Bug#12819).
4904 (copy-region-as-kill, kill-ring-save): Likewise.
4905
4906 2013-12-17 Leo Liu <sdl.web@gmail.com>
4907
4908 * net/rcirc.el (rcirc-add-face):
4909 * eshell/em-prompt.el (eshell-emit-prompt):
4910 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
4911 (Bug#16167)
4912
4913 2013-12-17 Chong Yidong <cyd@gnu.org>
4914
4915 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
4916 Suggested by Xue Fuqiao.
4917
4918 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
4919
4920 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
4921
4922 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
4923
4924 * net/shr.el (shr-insert-document): Remove unused var
4925 `shr-preliminary-table-render'.
4926 (shr-rescale-image): Remove unused arg `force'.
4927 (shr-put-image): Update calls accordingly.
4928 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
4929
4930 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
4931
4932 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
4933 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
4934 :close-all, to see which indentation method to use (Bug#16116).
4935 (smie-rules-function): Document the method :close-all.
4936
4937 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4938
4939 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
4940
4941 * net/eww.el (eww-display-html): If we can't find the anchor we're
4942 looking for, then go to point-min.
4943
4944 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
4945
4946 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
4947 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
4948 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
4949 Expand dir too, in case it's relative.
4950
4951 2013-12-16 Juri Linkov <juri@jurta.org>
4952
4953 * desktop.el (desktop-auto-save-timeout): Change default to
4954 `auto-save-timeout'. Doc fix.
4955 (desktop-save): Skip the timestamp in desktop-saved-frameset
4956 when checking for auto-save changes.
4957 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
4958 `desktop-auto-save' is called repeatedly by the idle timer.
4959 (desktop-auto-save-set-timer): Replace `run-with-timer' with
4960 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
4961 (Bug#15331)
4962
4963 2013-12-16 Juri Linkov <juri@jurta.org>
4964
4965 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
4966 (Bug#16035)
4967 (isearch-pre-command-hook): Check `this-command' for symbolp.
4968
4969 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
4970
4971 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
4972
4973 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
4974
4975 * progmodes/cfengine.el (cfengine3--current-word): Remove.
4976 (cfengine3--current-function): Bring in the current-function
4977 functionality from `cfengine3--current-word'.
4978 (cfengine3-completion-function): Bring in the
4979 bounds-of-current-word functionality from
4980 `cfengine3--current-word'.
4981
4982 2013-12-16 Martin Rudalics <rudalics@gmx.at>
4983
4984 * window.el (display-buffer-below-selected):
4985 Bind split-height-threshold to 0 as suggested by Juri Linkov.
4986
4987 2013-12-16 Leo Liu <sdl.web@gmail.com>
4988
4989 * progmodes/compile.el (compile-goto-error): Do not push-mark.
4990 Remove NOMSG arg and all uses changed.
4991
4992 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
4993
4994 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
4995 (cua--deactivate-rectangle): Don't deactivate the mark.
4996 (cua-set-rectangle-mark): Don't set mark-active since
4997 cua--activate-rectangle already does it for us.
4998 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
4999 non-rectangular region.
5000
5001 * emulation/cua-base.el (cua-repeat-replace-region):
5002 Use with-current-buffer.
5003
5004 * net/gnutls.el: Use cl-lib.
5005 (gnutls-negotiate): `mapcan' -> cl-mapcan.
5006
5007 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5008
5009 * emacs-lisp/package.el (package-built-in-p): Support both
5010 built-in and the package.el converted package descriptions.
5011 (package-show-package-list): Allow keywords.
5012 (package-keyword-button-action): Use it instead of
5013 `finder-list-matches'.
5014 (package-menu-filter-interactive): Interactive filtering (by
5015 keyword) function.
5016 (package-menu--generate): Support keywords and change keymappings
5017 and headers when they are given.
5018 (package--has-keyword-p): Helper function.
5019 (package-menu--refresh): Use it.
5020 (package--mapc): Helper function.
5021 (package-all-keywords): Use it.
5022 (package-menu-mode-map): Set up menu items and keybindings to
5023 provide a filtering UI.
5024
5025 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5026
5027 * net/gnutls.el (gnutls-verify-error): New defcustom to control
5028 the behavior when a certificate fails validation. Defaults to
5029 old behavior: never abort, just warn.
5030 (gnutls-negotiate): Use it.
5031
5032 2013-12-14 Martin Rudalics <rudalics@gmx.at>
5033
5034 * window.el (display-buffer-below-selected): Never split window
5035 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
5036
5037 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
5038
5039 * emacs-lisp/package.el (package--prepare-dependencies): New function.
5040 (package-buffer-info): Use it (bug#15108).
5041
5042 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
5043
5044 * icomplete.el (icomplete-completions): Make sure the prefix is already
5045 displayed elsewhere before hiding it (bug#16219).
5046
5047 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
5048
5049 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
5050 open-paren tokens when preceded by a open-paren, too.
5051 (ruby-smie-rules): Handle virtual indentation after open-paren
5052 tokens specially. If there is code between it and eol, return the
5053 column where is starts (Bug#16118).
5054
5055 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5056
5057 * progmodes/cfengine.el: Fix `add-hook' doc.
5058 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
5059 (cfengine3--current-word): Fix parameters.
5060 (cfengine3-make-syntax-cache): Simplify further.
5061 (cfengine3-completion-function, cfengine3--current-function):
5062 Use `assq' for symbols.
5063 (cfengine3--current-function): Fix `cfengine3--current-word' call.
5064
5065 2013-12-13 Glenn Morris <rgm@gnu.org>
5066
5067 * loadup.el (load-path): Warn if site-load or site-init changes it.
5068 No more need to reset it when bootstrapping.
5069
5070 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5071
5072 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
5073 locations for cf-promises.
5074 (cfengine-mode-syntax-functions-regex): New caching variable.
5075 (cfengine3-fallback-syntax): Fallback syntax for cases where
5076 cf-promises doesn't run.
5077 (cfengine3--current-word): Reimplement using
5078 `cfengine-mode-syntax-functions-regex'.
5079 (cfengine3-completion-function, cfengine3--current-function):
5080 Use `cfengine3-make-syntax-cache' directly.
5081 (cfengine3-clear-syntax-cache): New function.
5082 (cfengine3-make-syntax-cache): Simplify and create
5083 `cfengine-mode-syntax-functions-regex' on demand.
5084 (cfengine3-format-function-docstring): Don't call
5085 `cfengine3-make-syntax-cache' explicitly.
5086
5087 2013-12-13 Martin Rudalics <rudalics@gmx.at>
5088
5089 Fix windmove-find-other-window broken after pixelwise resizing
5090 (Bug#16017).
5091 * windmove.el (windmove-other-window-loc): Revert change from
5092 2013-12-04.
5093 (windmove-find-other-window): Call window-in-direction.
5094 * window.el (window-in-direction): New arguments SIGN, WRAP and
5095 MINI to emulate original windmove-find-other-window behavior.
5096
5097 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
5098
5099 * simple.el (blink-matching--overlay): New variable.
5100 (blink-matching-open): Instead of moving point, highlight the
5101 matching paren with an overlay
5102 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
5103
5104 * faces.el (paren-showing-faces, show-paren-match)
5105 (show-paren-mismatch): Move from paren.el.
5106
5107 2013-12-13 Leo Liu <sdl.web@gmail.com>
5108
5109 * indent.el (indent-region): Disable progress reporter in
5110 minibuffer. (Bug#16108)
5111
5112 * bindings.el (visual-order-cursor-movement): Fix version.
5113
5114 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5115
5116 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
5117 Also match after beginning of line.
5118 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
5119 files. Thanks to Russell Sim. (Bug#15378)
5120
5121 2013-12-13 Juri Linkov <juri@jurta.org>
5122
5123 * simple.el <Keypad support>: Remove key bindings duplicated
5124 with bindings.el. (Bug#14397)
5125
5126 2013-12-13 Juri Linkov <juri@jurta.org>
5127
5128 * comint.el (comint-mode-map): Replace `delete-char' with
5129 `delete-forward-char'. (Bug#16109)
5130
5131 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5132
5133 * progmodes/python.el (python-indent-calculate-indentation):
5134 Fix de-denters cornercase. (Bug#15731)
5135
5136 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
5137
5138 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
5139 (advice--make): Pay attention to `depth'.
5140 (advice--make-1): Don't autoload commands eagerly.
5141 * emacs-lisp/elp.el (elp-instrument-function):
5142 * emacs-lisp/trace.el (trace-function-internal):
5143 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
5144
5145 * iswitchb.el (iswitchb-mode): Don't belittle ido.
5146
5147 2013-12-12 Eli Zaretskii <eliz@gnu.org>
5148
5149 * term/w32-win.el (w32-handle-dropped-file):
5150 * startup.el (normal-top-level):
5151 * net/browse-url.el (browse-url-file-url):
5152 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
5153 decode file names using 'utf-8' rather than
5154 file-name-coding-system.
5155
5156 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5157
5158 * progmodes/python.el (python-indent-context)
5159 (python-indent-calculate-indentation): Fix auto-identation
5160 behavior for comment blocks. (Bug#15916)
5161
5162 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5163
5164 * progmodes/python.el (python-indent-calculate-indentation):
5165 When determining indentation, don't treat "return", "pass", etc., as
5166 operators when they are just string constituents. (Bug#15812)
5167
5168 2013-12-12 Juri Linkov <juri@jurta.org>
5169
5170 * uniquify.el (uniquify-buffer-name-style): Change default to
5171 `post-forward-angle-brackets'.
5172
5173 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
5174 `uniquify'. Change default to `post-forward-angle-brackets'.
5175
5176 2013-12-11 Glenn Morris <rgm@gnu.org>
5177
5178 * emacs-lisp/package.el (finder-list-matches):
5179 Autoload rather than falsely declaring.
5180
5181 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
5182
5183 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
5184 (eww-mode-map): Use them.
5185
5186 2013-12-11 Martin Rudalics <rudalics@gmx.at>
5187
5188 * window.el (display-buffer-in-side-window): Fix doc-string
5189 (Bug#16115).
5190
5191 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
5192
5193 * vc/vc-git.el: Silence byte-compiler warnings.
5194 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
5195 (log-edit-set-header): Declare.
5196
5197 2013-12-11 Eli Zaretskii <eliz@gnu.org>
5198
5199 * Makefile.in (custom-deps, finder-data): Run output file names
5200 through unmsys--file-name. (Bug#16099)
5201
5202 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
5203
5204 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
5205 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
5206
5207 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
5208 instead of deleting the selection "by hand" (bug#16098).
5209 Rely on insert-for-yank to yank rectangles.
5210 (cua-highlight-region-shift-only): Mark obsolete.
5211 (cua-mode): Don't enable/disable transient-mark-mode,
5212 shift-select-mode (cua-mode works both with and without them), and
5213 pc-selection-mode (obsolete).
5214 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
5215 (cua--deactivate-rectangle): Deactivate it.
5216
5217 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
5218 (delete-selection-helper): Make sure yank starts at the top of the
5219 deleted region.
5220 (minibuffer-keyboard-quit): Use region-active-p.
5221
5222 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
5223
5224 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
5225 to `delete' (bug#16109).
5226
5227 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5228
5229 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
5230 info manual and show keybindings and set `:group' keyword.
5231
5232 2013-12-11 Juri Linkov <juri@jurta.org>
5233
5234 * delsel.el (delete-active-region): Let-bind `this-command'
5235 to prevent `kill-region' from changing its original value.
5236 (delete-selection-helper): Handle `overwrite-mode' for the type
5237 `kill' exactly the same way as for the type `t'.
5238 (insert-char, quoted-insert, reindent-then-newline-and-indent):
5239 Support more commands. (Bug#13312)
5240
5241 2013-12-11 Juri Linkov <juri@jurta.org>
5242
5243 * bindings.el: Map kp keys to non-kp keys systematically
5244 with basic modifiers control, meta and shift. (Bug#14397)
5245
5246 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5247
5248 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
5249 "Close browser" menu items. Fix wrong function of "List
5250 bookmarks".
5251
5252 2013-12-11 Juri Linkov <juri@jurta.org>
5253
5254 * misearch.el (multi-isearch-buffers): Set the value of
5255 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5256 arg of isearch-forward to t.
5257 (multi-isearch-buffers-regexp): Set the value of
5258 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5259 arg of isearch-forward-regexp to t.
5260 (multi-isearch-files): Set the value of
5261 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
5262 arg of isearch-forward to t.
5263 (multi-isearch-files-regexp): Set the value of
5264 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
5265 arg of isearch-forward-regexp to t. (Bug#16035)
5266
5267 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
5268 arg of isearch-forward to t.
5269 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
5270 arg of isearch-forward-regexp to t.
5271 (dired-isearch-filter-filenames): Remove unnecessary check for
5272 `dired-isearch-filenames'.
5273
5274 * comint.el (comint-history-isearch-backward):
5275 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
5276 (comint-history-isearch-backward-regexp):
5277 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
5278
5279 2013-12-10 Eli Zaretskii <eliz@gnu.org>
5280
5281 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
5282 unmsys--file-name. (Bug#16099)
5283
5284 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
5285
5286 * emacs-lisp/package.el (package-keyword-button-action):
5287 Remove finder.el require dependency.
5288
5289 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
5290
5291 * emacs-lisp/package.el: Require finder.el.
5292 (describe-package-1): Add keyword buttons.
5293 (package-make-button): New convenience function.
5294 (package-keyword-button-action): Keyword button action using
5295 `finder-list-matches'.
5296
5297 2013-12-09 Eli Zaretskii <eliz@gnu.org>
5298
5299 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
5300 last commit.
5301
5302 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
5303
5304 * autorevert.el (auto-revert-notify-add-watch): Do not handle
5305 symlinked files.
5306
5307 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5308
5309 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5310 after the end of a percent literal.
5311
5312 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
5313
5314 * progmodes/ruby-mode.el (ruby-forward-string): Document.
5315 Handle caret-delimited strings (Bug#16079).
5316
5317 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5318
5319 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
5320 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
5321 `ruby-parse-partial' (Bug#16078).
5322
5323 2013-12-09 Leo Liu <sdl.web@gmail.com>
5324
5325 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
5326
5327 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
5328
5329 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
5330 (js-switch-indent-offset): New option.
5331 (js--proper-indentation): Use it. And handle the case when
5332 "default" is actually a key in an object literal.
5333 (js--same-line): New function.
5334 (js--multi-line-declaration-indentation): Use it.
5335 (js--indent-in-array-comp, js--array-comp-indentation):
5336 New functions.
5337 (js--proper-indentation): Use them, to handle array comprehension
5338 continuations.
5339
5340 2013-12-08 Leo Liu <sdl.web@gmail.com>
5341
5342 * progmodes/flymake.el (flymake-highlight-line): Re-write.
5343 (flymake-make-overlay): Remove arg MOUSE-FACE.
5344 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
5345
5346 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5347
5348 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
5349 New function.
5350 (redisplay-highlight-region-function): Use it.
5351
5352 * emulation/cua-base.el (cua--explicit-region-start)
5353 (cua--last-region-shifted): Remove.
5354 (cua--deactivate): Use deactivate-mark.
5355 (cua--pre-command-handler-1): Don't handle shift-selection.
5356 (cua--post-command-handler-1): Don't change transient-mark-mode.
5357 (cua--select-keymaps): Use region-active-p rather than
5358 cua--explicit-region-start or cua--last-region-shifted.
5359 (cua-mode): Enable shift-select-mode.
5360
5361 2013-12-08 Leo Liu <sdl.web@gmail.com>
5362
5363 * progmodes/flymake.el (flymake-popup-current-error-menu):
5364 Rename from flymake-display-err-menu-for-current-line. Reimplement.
5365 (flymake-posn-at-point-as-event, flymake-popup-menu)
5366 (flymake-make-emacs-menu): Remove. (Bug#16077)
5367
5368 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5369
5370 * rect.el (rectangle-mark-mode): Activate mark even if
5371 transient-mark-mode is off (bug#16066).
5372 (rectangle--highlight-for-redisplay): Fix boundary condition when point
5373 is > mark and at bolp.
5374
5375 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
5376 (region-extract-function): Use it.
5377 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
5378 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
5379 Delete functions.
5380 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
5381 kill-ring-save, kill-region, delete-char, delete-forward-char.
5382 Ignore self-insert-iso.
5383
5384 * emulation/cua-gmrk.el (cua--init-global-mark):
5385 Ignore `self-insert-iso'.
5386
5387 * emulation/cua-base.el (cua--prefix-copy-handler)
5388 (cua--prefix-cut-handler): Rely on region-extract-function rather than
5389 checking cua--rectangle.
5390 (cua-delete-region): Use region-extract-function.
5391 (cua-replace-region): Delete function.
5392 (cua-copy-region, cua-cut-region): Obey region-extract-function.
5393 (cua--pre-command-handler-1): Don't do the delete-selection thing.
5394 (cua--self-insert-char-p): Ignore `self-insert-iso'.
5395 (cua--init-keymaps): Don't remap delete-selection commands.
5396 (cua-mode): Use delete-selection-mode instead of rolling our own
5397 (bug#16085).
5398
5399 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
5400 Obey region-extract-function.
5401
5402 Make registers and delete-selection-mode work on rectangles.
5403 * register.el (describe-register-1): Don't modify the register's value.
5404 (copy-to-register): Obey region-extract-function.
5405 * delsel.el (delete-active-region): Obey region-extract-function.
5406
5407 2013-12-08 Leo Liu <sdl.web@gmail.com>
5408
5409 * progmodes/flymake.el (flymake, flymake-error-bitmap)
5410 (flymake-warning-bitmap, flymake-fringe-indicator-position)
5411 (flymake-compilation-prevents-syntax-check)
5412 (flymake-start-syntax-check-on-newline)
5413 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
5414 (flymake-start-syntax-check-on-find-file, flymake-log-level)
5415 (flymake-xml-program, flymake-master-file-dirs)
5416 (flymake-master-file-count-limit)
5417 (flymake-allowed-file-name-masks): Relocate.
5418 (flymake-makehash, flymake-float-time)
5419 (flymake-replace-regexp-in-string, flymake-split-string)
5420 (flymake-get-temp-dir): Remove.
5421 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
5422 (flymake-current-row, flymake-selected-frame)
5423 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
5424 related functions. (Bug#16077)
5425
5426 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
5427
5428 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
5429
5430 2013-12-07 Tassilo Horn <tsdh@gnu.org>
5431
5432 * help-fns.el (describe-function-1): Use new advice-* functions
5433 rather than old ad-* functions. Fix function type description and
5434 source links for advised functions and subrs.
5435
5436 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5437
5438 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
5439
5440 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
5441
5442 * progmodes/compile.el (compilation-start):
5443 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
5444
5445 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
5446 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
5447
5448 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5449
5450 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5451 Touch up the last change.
5452
5453 2013-12-06 Leo Liu <sdl.web@gmail.com>
5454
5455 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
5456 (inferior-octave-startup): Always use "octave> " for prompt.
5457 (octave-goto-function-definition)
5458 (octave-sync-function-file-names)
5459 (octave-find-definition-default-filename): Remove redundant backquotes.
5460
5461 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5462
5463 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
5464 syntax for `?'.
5465 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
5466 where appropriate already.
5467 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
5468 end of method names (Bug#15874).
5469
5470 2013-12-06 Juri Linkov <juri@jurta.org>
5471
5472 * isearch.el (isearch--saved-overriding-local-map):
5473 New internal variable.
5474 (isearch-mode): Set it to the initial value of
5475 `overriding-terminal-local-map'.
5476 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
5477 with `isearch--saved-overriding-local-map'. (Bug#16035)
5478
5479 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5480
5481 * progmodes/octave.el (inferior-octave-completion-table):
5482 Turn back into function, use `completion-table-with-cache'
5483 (Bug#11906). Update all references.
5484
5485 * minibuffer.el (completion-table-with-cache): New function.
5486
5487 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
5488
5489 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
5490
5491 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
5492
5493 * net/eww.el (eww-current-source): New variable to store page
5494 source.
5495 (eww-display-html, eww-mode, eww-save-history)
5496 (eww-restore-history): Use it.
5497 (eww-view-source): New command to view page source.
5498 Opportunistically uses `html-mode' to highlight the buffer.
5499 (eww-mode-map): Install it.
5500
5501 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
5502
5503 * net/dbus.el (dbus-unregister-service)
5504 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
5505 Fix docstring.
5506 (dbus-unregister-service): Skip :serial entries in
5507 `dbus-registered-objects-table'.
5508 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
5509
5510 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
5511
5512 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
5513 around keywords with extra `split-string' argument.
5514
5515 2013-12-04 Martin Rudalics <rudalics@gmx.at>
5516
5517 * windmove.el (windmove-other-window-loc): Handle navigation
5518 between windows (excluding the minibuffer window - Bug#16017).
5519
5520 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
5521
5522 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
5523 in D-Bus type syntax.
5524 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
5525 preserve unibyte strings. (Bug#16048)
5526
5527 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
5528
5529 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
5530 Call force-mode-line-update is the proper buffer (bug#16042).
5531
5532 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
5533
5534 * vc/log-edit.el (log-edit-add-new-comment): Rename to
5535 `log-edit-remember-comment', make argument optional. Adjust all
5536 callers.
5537 (log-edit-mode): Add `log-edit-remember-comment' to
5538 `kill-buffer-hook' locally.
5539 (log-edit-kill-buffer): Don't remember comment explicitly since
5540 the buffer is killed anyway.
5541
5542 2013-12-04 Juri Linkov <juri@jurta.org>
5543
5544 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
5545 add-hook and remove-hook for multi-buffer search. (Bug#16035)
5546
5547 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
5548
5549 * notifications.el (notifications-close-notification): Call the
5550 D-Bus method with ID being a `:uint32'. (Bug#16030)
5551
5552 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
5553
5554 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
5555
5556 2013-12-03 Juri Linkov <juri@jurta.org>
5557
5558 * progmodes/compile.el (compilation-start): Rename window alist
5559 entry `no-display-ok' to `allow-no-window'.
5560
5561 * simple.el (shell-command): Add window alist entry
5562 `allow-no-window' to `display-buffer'.
5563 (async-shell-command): Doc fix.
5564
5565 * window.el (display-buffer-no-window): New action function.
5566 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
5567
5568 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5569
5570 * vc/log-edit.el (log-edit-set-header): Extract from
5571 `log-edit-toggle-header'.
5572 (log-edit-extract-headers): Separate the summary, when extracted
5573 from header, from the rest of the message with an empty line.
5574
5575 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
5576 line, if present, to the Summary header.
5577
5578 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5579
5580 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
5581 in current-buffer (bug#16029).
5582
5583 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
5584
5585 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
5586 (debugger-mode-map): Bind it.
5587 (debugger--backtrace-base): New function.
5588 (debugger-eval-expression): Use it.
5589 (debugger-frame-number): Skip local vars when present.
5590 (debugger--locals-visible-p, debugger--insert-locals)
5591 (debugger--show-locals, debugger--hide-locals): New functions.
5592
5593 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
5594
5595 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
5596 "LC_ALL".
5597 (tramp-get-remote-locale): New defun.
5598 (tramp-open-connection-setup-interactive-shell): Use it.
5599
5600 2013-12-02 Leo Liu <sdl.web@gmail.com>
5601
5602 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
5603
5604 * progmodes/sh-script.el (sh-shell-process):
5605 * progmodes/octave.el (inferior-octave-process-live-p):
5606 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
5607 (gdb-inferior-io-sentinel):
5608 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
5609
5610 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5611
5612 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
5613 `save-selected-window' to `log-edit-hide-buf'. This makes
5614 `log-edit-show-files' idempotent.
5615 (log-edit-show-files): Mark the new window as dedicated.
5616
5617 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5618
5619 * vc/log-edit.el (log-edit-mode-map): Add binding for
5620 `log-edit-kill-biffer'.
5621 (log-edit-hide-buf): Add a FIXME comment.
5622 (log-edit-add-new-comment): New function, extracted from
5623 `log-edit-done'.
5624 (log-edit-done, log-edit-add-to-changelog): Use it.
5625 (log-edit-kill-buffer): New command.
5626
5627 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5628
5629 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
5630 instead of killing the buffer.
5631
5632 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
5633
5634 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
5635
5636 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5637
5638 * net/eww.el (eww-form-checkbox-selected-symbol)
5639 (eww-form-checkbox-symbol): New customizable variable.
5640 (eww-form-checkbox, eww-toggle-checkbox):
5641 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
5642
5643 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
5644 (shr--get-media-pref, shr--extract-best-source): New function.
5645 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
5646 no :src tag was specified.
5647
5648 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
5649 (eww-render): Handle `eww-use-external-browser-for-content-type'.
5650 Use \\` to match beginning of string instead of ^.
5651 (eww-browse-with-external-browser): Provide optional URL parameter.
5652 (eww-render): Set `eww-current-title' back to "".
5653
5654 * net/shr.el (shr-tag-video): Display content for video if no
5655 poster is available.
5656 (shr-tag-audio): Add support for <audio> tag.
5657
5658 * net/eww.el (eww-text-input-types): New const.
5659 (eww-process-text-input): Treat input types in
5660 `eww-text-input-types' as text.
5661
5662 * net/shr.el (shr-tag-table): Fix comment typo.
5663
5664 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5665
5666 * net/eww.el (eww-follow-link): New command to avoid reloading
5667 pages when we follow #target links (bug#15243).
5668 (eww-quit): Special mode buffers shouldn't query before exiting.
5669
5670 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5671
5672 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
5673 forms.
5674
5675 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5676
5677 * net/eww.el (eww-restore-history): Update the window title after
5678 moving in the history.
5679 (eww-current-dom): New variable used to save the current DOM.
5680
5681 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
5682
5683 * vc/log-edit.el (log-edit-mode-map): Add binding for
5684 `log-edit-beginning-of-line'.
5685 (log-edit-setup-add-author): New user option.
5686 (log-edit-beginning-of-line): New command.
5687 (log-edit): Move major mode call above the contents setup so that
5688 the local variable values are already applied.
5689 (log-edit): Only insert "Author: " when
5690 `log-edit-setup-add-author' is non-nil.
5691 (log-edit): When SETUP is non-nil, position point after ": "
5692 instead of point-min.
5693
5694 2013-12-01 Glenn Morris <rgm@gnu.org>
5695
5696 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
5697
5698 2013-11-30 Eli Zaretskii <eliz@gnu.org>
5699
5700 * startup.el (fancy-splash-frame): On MS-Windows, trigger
5701 redisplay to make sure the initial frame gets a chance to become
5702 visible. (Bug#16014)
5703
5704 2013-11-30 Martin Rudalics <rudalics@gmx.at>
5705
5706 Support resizing frames and windows pixelwise.
5707 * cus-start.el (frame-resize-pixelwise)
5708 (window-resize-pixelwise): New entries.
5709 * emacs-lisp/debug.el (debug): Use window-total-height instead
5710 of window-total-size.
5711 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
5712 * help.el (describe-bindings-internal): Use help-buffer as
5713 argument for with-help-window.
5714 (temp-buffer-max-width): New option.
5715 (resize-temp-buffer-window, help-window-setup)
5716 (with-help-window): Rewrite.
5717 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
5718 dragging dividers.
5719 * window.el (frame-char-size, window-min-pixel-height)
5720 (window-safe-min-pixel-height, window-safe-min-pixel-width)
5721 (window-min-pixel-width, window-safe-min-pixel-size)
5722 (window-combination-p, window-safe-min-size)
5723 (window-resizable-p, window--size-to-pixel)
5724 (window--pixel-to-size, window--resize-apply-p): New functions.
5725 (window-safe-min-height): Fix doc-string.
5726 (window-size, window-min-size, window--min-size-1)
5727 (window-sizable, window-sizable-p, window--min-delta-1)
5728 (window-min-delta, window--max-delta-1, window-max-delta)
5729 (window--resizable, window--resizable-p, window-resizable)
5730 (window-full-height-p, window-full-width-p, window-at-side-p)
5731 (window--in-direction-2, window-in-direction)
5732 (window--resize-reset-1, window--resize-mini-window)
5733 (window-resize, window-resize-no-error)
5734 (window--resize-child-windows-normal)
5735 (window--resize-child-windows, window--resize-siblings)
5736 (window--resize-this-window, window--resize-root-window)
5737 (window--resize-root-window-vertically)
5738 (adjust-window-trailing-edge, enlarge-window, shrink-window)
5739 (maximize-window, minimize-window, delete-window)
5740 (quit-restore-window, window-split-min-size, split-window)
5741 (balance-windows-2, balance-windows)
5742 (balance-windows-area-adjust, balance-windows-area)
5743 (window--state-get-1, window-state-get, window--state-put-1)
5744 (window--state-put-2, window-state-put)
5745 (display-buffer-record-window, window--display-buffer):
5746 Make functions handle pixelwise sizing of windows.
5747 (display-buffer--action-function-custom-type)
5748 (display-buffer-fallback-action):
5749 Add display-buffer-in-previous-window.
5750 (display-buffer-use-some-window): Resize window to height it had
5751 before.
5752 (fit-window-to-buffer-horizontally): New option.
5753 (fit-frame-to-buffer): Describe new values.
5754 (fit-frame-to-buffer-bottom-margin): Replace with
5755 fit-frame-to-buffer-margins.
5756 (window--sanitize-margin): New function.
5757 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
5758 using window-text-pixel-size.
5759
5760 2013-11-30 Glenn Morris <rgm@gnu.org>
5761
5762 * emacs-lisp/bytecomp.el (byte-compile-form):
5763 Make the `interactive-only' warning like the `obsolete' one.
5764 * comint.el (comint-run):
5765 * files.el (insert-file-literally, insert-file):
5766 * replace.el (replace-string, replace-regexp):
5767 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
5768 (goto-line, insert-buffer, next-line, previous-line):
5769 Tweak `interactive-only' spec.
5770
5771 Stop keeping (most) generated cedet grammar files in the repository.
5772 * Makefile.in (semantic): New.
5773 (compile-main): Depend on semantic.
5774
5775 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5776
5777 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
5778 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
5779
5780 * uniquify.el (uniquify-buffer-name-style): Change default.
5781
5782 * loadup.el: Preload "uniquify".
5783
5784 * time.el (display-time-update): Update all mode lines (bug#15999).
5785
5786 * electric.el (electric-indent-mode): Enable by default.
5787 * loadup.el: Preload "electric".
5788
5789 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
5790
5791 * emacs-lisp/helpers.el (string-empty-p): New function.
5792 (string-blank-p): New function.
5793
5794 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
5795
5796 * imenu.el (imenu--index-alist): Add missing dot to the docstring
5797 (Bug#14029).
5798
5799 2013-11-29 Andreas Politz <politza@fh-trier.de>
5800 * imenu.el (imenu--subalist-p): Don't error on non-conses and
5801 allow non-lambda lists as functions.
5802 (imenu--in-alist): Don't recurse into non-subalists.
5803 (imenu): Don't pass function itself as an argument (Bug#14029).
5804
5805 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5806
5807 * progmodes/python.el (python-mode-map): Remove binding for ":".
5808 (python-indent-electric-colon): Remove command.
5809 (python-indent-post-self-insert-function): Integrate the previous code
5810 of python-indent-electric-colon. Make it conditional on
5811 electric-indent-mode.
5812 (python-mode): Add ?: to electric-indent-chars.
5813 Move python-indent-post-self-insert-function to the end of
5814 post-self-insert-hook.
5815
5816 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
5817
5818 * doc-view.el (doc-view-goto-page): Update mode-line.
5819
5820 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
5821
5822 2013-11-27 Glenn Morris <rgm@gnu.org>
5823
5824 * international/charprop.el, international/uni-bidi.el:
5825 * international/uni-category.el, international/uni-combining.el:
5826 * international/uni-comment.el, international/uni-decimal.el:
5827 * international/uni-decomposition.el, international/uni-digit.el:
5828 * international/uni-lowercase.el, international/uni-mirrored.el:
5829 * international/uni-name.el, international/uni-numeric.el:
5830 * international/uni-old-name.el, international/uni-titlecase.el:
5831 * international/uni-uppercase.el:
5832 Remove generated files from VCS repository.
5833
5834 2013-11-27 Eli Zaretskii <eliz@gnu.org>
5835
5836 * filenotify.el (file-notify-add-watch): Don't special-case
5837 w32notify when computing the directory to watch.
5838
5839 2013-11-27 Glenn Morris <rgm@gnu.org>
5840
5841 Make bootstrap without generated uni-*.el files possible again.
5842 * loadup.el: Update command-line-args checking for unidata-gen.
5843 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
5844 * composite.el, international/characters.el:
5845 Handle unicode tables being undefined.
5846
5847 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
5848 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
5849 (compile-main): Depend on leim rule.
5850 (leim): New rule.
5851 * loadup.el: Move leim-list.el to leim/ subdirectory.
5852 * startup.el (normal-top-level): No more leim directory.
5853 * international/ja-dic-cnv.el (skkdic-convert):
5854 Disable version-control and autoloads in output files.
5855 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
5856 Disable version-control and autoloads in output files.
5857 * leim/quail: Move here from ../leim.
5858 * leim/quail/hangul.el (hangul-input-method-activate):
5859 Add autoload cookie.
5860 (generated-autoload-load-name): Set file-local value.
5861 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
5862 (generated-autoload-load-name): Set file-local value.
5863
5864 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
5865
5866 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
5867 (eww-add-bookmark): Ask confirmation when add to bookmarks.
5868 (eww-quit): Ask confirmation before quitting eww.
5869
5870 2013-11-26 Eli Zaretskii <eliz@gnu.org>
5871
5872 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
5873 reading output from Diff on MS-Windows and MS-DOS.
5874
5875 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
5876
5877 * emacs-lisp/helpers.el (string-reverse): New function.
5878
5879 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
5880
5881 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
5882 names on MS Windows, like "/[::1]:".
5883
5884 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
5885 SWITCHES.
5886
5887 2013-11-26 Glenn Morris <rgm@gnu.org>
5888
5889 * progmodes/python.el (python-indent-guess-indent-offset):
5890 Avoid corner-case error. (Bug#15975)
5891
5892 Preload leim-list.el. (Bug#4789)
5893 * loadup.el: Load leim-list.el when found.
5894 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
5895
5896 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
5897
5898 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
5899
5900 * emacs-lisp/helpers.el (string-join): New function.
5901
5902 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
5903
5904 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5905 Mark as obsolete and replace it with a symbol property.
5906 (byte-compile-form): Use new 'interactive-only property.
5907 * comint.el, files.el, replace.el, simple.el:
5908 Apply new 'interactive-only properly.
5909
5910 2013-11-25 Martin Rudalics <rudalics@gmx.at>
5911
5912 * window.el (display-buffer-at-bottom): Make sure that
5913 split-window-sensibly creates the new window on bottom
5914 (Bug#15961).
5915
5916 2013-11-23 David Kastrup <dak@gnu.org>
5917
5918 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
5919 on the conflict markers when available.
5920 (smerge--get-marker): New function.
5921 (smerge-end-re, smerge-base-re): Add subgroup.
5922
5923 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
5924
5925 * frame.el (handle-focus-in, handle-focus-out): Add missing
5926 interactive spec.
5927
5928 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
5929
5930 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
5931 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
5932
5933 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
5934
5935 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
5936 (gomoku--last-pos): New var.
5937 (gomoku--intangible-chars): New const.
5938 (gomoku--intangible): New function.
5939 (gomoku-mode): Use it. Derive from special-mode.
5940 (gomoku-move-up): Adjust line count.
5941 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
5942 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
5943 Simplify accordingly.
5944
5945 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
5946 Remove blink-cursor code.
5947 (blink-cursor-timer-function, blink-cursor-suspend):
5948 Don't special-case GUIs.
5949 (blink-cursor-mode): Use focus-in/out-hook.
5950
5951 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
5952
5953 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
5954 work when annotation is invisible (Bug#13886).
5955
5956 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
5957
5958 * json.el (json-alist-p): Only return non-nil if the alist has
5959 simple keys (Bug#13518).
5960
5961 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
5962
5963 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
5964 when control-statement is the first statement in a buffer (Bug#15956).
5965
5966 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
5967
5968 * imenu.el (imenu-generic-skip-comments-and-strings):
5969 New option (Bug#15560).
5970 (imenu--generic-function): Use it.
5971
5972 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
5973
5974 * minibuffer.el (completion--in-region-1): Scroll the correct window.
5975 (Bug#13898)
5976
5977 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
5978
5979 * emacs-lisp/helpers.el: Add some string helpers.
5980 (string-trim-left): Removes leading whitespace.
5981 (string-trim-right): Removes trailing whitespace.
5982 (string-trim): Removes leading and trailing whitespace.
5983
5984 * subr.el (string-suffix-p): New function.
5985
5986 2013-11-23 Glenn Morris <rgm@gnu.org>
5987
5988 * progmodes/python.el (python-shell-send-file):
5989 Add option to delete file when done. (Bug#15647)
5990 (python-shell-send-string, python-shell-send-region): Use it.
5991
5992 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
5993
5994 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
5995 to set buffer-read-only to t, never to nil. (Bug#15938)
5996
5997 * textmodes/tex-mode.el (latex-noindent-environments):
5998 Add safe-local-variable property. (Bug#15936)
5999
6000 2013-11-23 Glenn Morris <rgm@gnu.org>
6001
6002 * textmodes/enriched.el (enriched-mode): Doc fix.
6003 * emacs-lisp/authors.el (authors-renamed-files-alist):
6004 Add enriched.doc -> enriched.txt.
6005
6006 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
6007
6008 2013-11-22 Leo Liu <sdl.web@gmail.com>
6009
6010 * progmodes/octave.el (inferior-octave-startup): Spit out error
6011 message.
6012
6013 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
6014
6015 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6016 Improve docstring.
6017 Add :version.
6018 (ruby-encoding-magic-comment-style): Add :version.
6019
6020 2013-11-22 Leo Liu <sdl.web@gmail.com>
6021
6022 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
6023 (Bug#15076)
6024 (octave-help-mode): Adapt to change to help-mode-finish to use
6025 derived-mode-p on 2013-09-17.
6026 (inferior-octave-prompt): Also match octave-gui.
6027 (octave-kill-process): Don't ask twice. (Bug#10564)
6028
6029 2013-11-22 Leo Liu <sdl.web@gmail.com>
6030
6031 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
6032 (inferior-octave-startup, inferior-octave-check-process)
6033 (inferior-octave-track-window-width-change)
6034 (octave-completion-at-point, octave-eldoc-function): Use it.
6035 (octave-kill-process): Provide confirmation. (Bug#10564)
6036
6037 2013-11-21 Leo Liu <sdl.web@gmail.com>
6038
6039 * progmodes/octave.el (octave-mode, inferior-octave-mode):
6040 Fix obsolete variable comment-use-global-state.
6041
6042 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6043
6044 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
6045 Add `octave-source-file'.
6046 (octave-source-file): New function. (Bug#15935)
6047
6048 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
6049
6050 * net/eww.el (eww-local-regex): New variable.
6051 (eww): Use it to detect localhost and similar.
6052
6053 2013-11-21 Leo Liu <sdl.web@gmail.com>
6054
6055 Add completion for command `ag'.
6056 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
6057 (pcomplete/ag): New function.
6058 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
6059
6060 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6061
6062 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
6063 (bug#14646).
6064 (make-obsolete): Remove interactive spec.
6065
6066 2013-11-21 Glenn Morris <rgm@gnu.org>
6067
6068 * startup.el (command-line-1): Use path-separator with -L.
6069
6070 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
6071
6072 * emacs-lisp/package.el (describe-package-1): Add package archive
6073 to shown fields.
6074
6075 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
6076
6077 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6078 Change default to "# encoding: %s" to differentiate it from the
6079 default Ruby encoding comment template.
6080
6081 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
6082
6083 * ses.el (ses-mode): Doc fix. (Bug#14748)
6084
6085 2013-11-20 Leo Liu <sdl.web@gmail.com>
6086
6087 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
6088
6089 2013-11-19 Dan Nicolaescu <dann@gnu.org>
6090
6091 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
6092 when rebase or bisect are in progress.
6093
6094 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
6095
6096 * filenotify.el (file-notify-add-watch): Doc fix.
6097
6098 2013-11-19 Leo Liu <sdl.web@gmail.com>
6099
6100 * obsolete/rcompile.el: Mark obsolete.
6101
6102 * progmodes/compile.el (compilation-start)
6103 (compilation-goto-locus, compilation-find-file):
6104 Pass no-display-ok and handle nil value from display-buffer.
6105 (Bug#13594)
6106
6107 * window.el (display-buffer-alist, display-buffer): Document the
6108 new parameter no-display-ok. Return either a window or nil
6109 but never a non-window value.
6110
6111 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
6112
6113 * electric.el (electric-indent-mode-map): Remove.
6114 (electric-indent-mode): Change the global-map instead (bug#15915).
6115
6116 * textmodes/text-mode.el (paragraph-indent-minor-mode):
6117 Use add-function.
6118
6119 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
6120
6121 * emacs-lisp/nadvice.el (remove-function): Align with
6122 add-function's behavior.
6123
6124 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
6125 (gdb--string-regexp): New constant.
6126 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
6127 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
6128 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
6129 submatch 1.
6130 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
6131 Adjust use accordingly.
6132 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
6133
6134 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
6135
6136 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
6137 interpolation curlies (Bug#15914).
6138
6139 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
6140
6141 * calc/calc.el (calc-context-sensitive-enter): New variable.
6142 (calc-enter): Use `calc-context-sensitive-enter'.
6143
6144 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
6145
6146 * progmodes/cfengine.el: Version bump.
6147 (cfengine-cf-promises): New defcustom to locate cf-promises.
6148 (cfengine3-vartypes): Add new "data" type.
6149 (cfengine3--current-word): New function to get current name-like
6150 word or its bounds.
6151 (cfengine3--current-function): New function to look up a CFEngine
6152 function's definition.
6153 (cfengine3-format-function-docstring): New function.
6154 (cfengine3-make-syntax-cache): New function.
6155 (cfengine3-documentation-function): New function: ElDoc glue.
6156 (cfengine3-completion-function): New function: completion glue.
6157 (cfengine3-mode): Set `compile-command',
6158 `eldoc-documentation-function', and add to
6159 `completion-at-point-functions'.
6160
6161 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
6162
6163 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6164 `tramp-current-connection'.
6165
6166 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
6167
6168 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
6169 nil/self/true/false with "end of symbol".
6170
6171 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
6172
6173 * subr.el (version-regexp-alist): Fix a typo.
6174
6175 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
6176
6177 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
6178 "en_US.utf8" and "LC_CTYPE" to "".
6179 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
6180 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
6181
6182 2013-11-15 Leo Liu <sdl.web@gmail.com>
6183
6184 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
6185
6186 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6187
6188 * progmodes/gud.el (ctl-x-map):
6189 Remove C-x SPC binding. (Bug#12342)
6190 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
6191
6192 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
6193
6194 * subr.el (version-regexp-alist):
6195 Recognize hg, svn and darcs versions as snapshot versions.
6196
6197 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
6198 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
6199 (ruby--encoding-comment-required-p): Extract from
6200 `ruby-mode-set-encoding'.
6201 (ruby-mode-set-encoding): Add the ability to always insert an
6202 utf-8 encoding comment. Fix and simplify coding comment update
6203 logic.
6204
6205 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
6206
6207 * net/tramp-gvfs.el (top): Run init code only when
6208 `tramp-gvfs-enabled' is not nil.
6209 (tramp-gvfs-enabled): Check also :system bus.
6210
6211 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6212
6213 Sync with upstream verilog-mode revision 78e66ba.
6214 * progmodes/verilog-mode.el (verilog-end-of-defun)
6215 (verilog-type-completion, verilog-get-list): Remove unused funcs.
6216 (verilog-get-end-of-defun): Remove unused argument.
6217 (verilog-comment-depth): Remove unused local `e'.
6218 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
6219 Don't pass arg to verilog-get-end-of-defun.
6220
6221 2013-11-14 Glenn Morris <rgm@gnu.org>
6222
6223 * obsolete/assoc.el (aget): Prefix dynamic variable.
6224
6225 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
6226
6227 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6228
6229 * widget.el, hfy-cmap.el: Remove bogus package version number.
6230
6231 2013-11-13 Glenn Morris <rgm@gnu.org>
6232
6233 * replace.el (replace-eval-replacement):
6234 Try to give more helpful error message. (Bug#15836)
6235
6236 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6237 (archive-7z-update): Avoid custom type mismatches.
6238
6239 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
6240
6241 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
6242
6243 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
6244 address can be empty.
6245
6246 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
6247 Accept nil SWITCHES.
6248 (tramp-gvfs-handle-write-region): Implement APPEND.
6249
6250 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
6251
6252 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
6253 binary "|" operator and closing block args delimiter.
6254 Remove FIXME comment referring to Ruby 1.8-only syntax.
6255 (ruby-smie--implicit-semi-p): Not after "|" operator.
6256 (ruby-smie--closing-pipe-p): New function.
6257 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
6258 (ruby-smie-rules): Indent after "|".
6259
6260 2013-11-12 Glenn Morris <rgm@gnu.org>
6261
6262 * ps-print.el (ps-face-attribute-list):
6263 Handle anonymous faces. (Bug#15827)
6264
6265 2013-11-12 Martin Rudalics <rudalics@gmx.at>
6266
6267 * window.el (display-buffer-other-frame): Fix doc-string.
6268 (Bug#15868)
6269
6270 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6271
6272 * subr.el (force-mode-line-update): Delete, move to buffer.c.
6273
6274 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
6275
6276 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
6277 (tramp-sh-handle-file-local-copy): Don't write a message when
6278 saving temporary files.
6279
6280 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
6281 both directories are remote.
6282 (tramp-smb-handle-directory-files): Do not return double entries.
6283 Do not expand full file names.
6284 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
6285 (tramp-smb-handle-write-region): Implement APPEND.
6286 (tramp-smb-get-stat-capability): Fix a stupid bug.
6287
6288 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6289
6290 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
6291
6292 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6293
6294 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
6295 throwing error over malformed let/let* (bug#15814).
6296
6297 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6298
6299 * iswitchb.el (iswitchb-mode): Mark obsolete.
6300
6301 2013-11-11 Glenn Morris <rgm@gnu.org>
6302
6303 * international/uni-bidi.el, international/uni-category.el:
6304 * international/uni-name.el, international/uni-numeric.el:
6305 Regenerate for Unicode 6.3.0.
6306
6307 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
6308
6309 * net/tramp.el (tramp-methods):
6310 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
6311 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
6312
6313 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
6314
6315 * progmodes/sh-script.el (sh-font-lock-keywords-var):
6316 Force highlighting text after Summary keyword in doc face for rpm.
6317
6318 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
6319
6320 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
6321 available and the word has no wildcards, append one to the grep pattern.
6322 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
6323 (ispell-complete-word): Call `ispell-lookup-words' with the value
6324 independent of `ispell-look-p'.
6325
6326 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6327
6328 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
6329 Not after "||".
6330 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
6331 their parent.
6332
6333 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6334
6335 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
6336 (ruby-font-lock-keywords): Use backquote.
6337
6338 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6339
6340 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6341 (ruby-smie--backward-token): Only consider full-string matches.
6342
6343 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
6344
6345 * faces.el (describe-face): Add distant-foreground.
6346
6347 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
6348
6349 * progmodes/ruby-mode.el: Improve encoding comment handling.
6350 (ruby-encoding-magic-comment-style): New option.
6351 (ruby-custom-encoding-magic-comment-template): New option.
6352 (ruby--insert-coding-comment, ruby--detect-encoding):
6353 New functions extracted from `ruby-mode-set-encoding'.
6354 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
6355 to control the style of the auto-inserted encoding comment.
6356
6357 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6358
6359 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
6360 Use `smie-backward-sexp' with token argument.
6361
6362 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
6363
6364 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6365 Remove instrumentation code.
6366
6367 2013-11-08 Glenn Morris <rgm@gnu.org>
6368
6369 * progmodes/autoconf.el (autoconf-mode):
6370 Tweak comment-start-skip. (Bug#15822)
6371
6372 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6373
6374 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
6375 at bobp (bug#15826).
6376 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
6377
6378 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
6379
6380 * man.el (Man-start-calling): New macro, extracted from
6381 Man-getpage-in-background.
6382 (Man-getpage-in-background): Use it.
6383 (Man-update-manpage): New command.
6384 (Man-mode-map): Bind it.
6385
6386 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6387
6388 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
6389 of "and", "or", "&&" and "||".
6390 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
6391 argument. Prohibit opening curly brace because it could only be a
6392 block opener in that position.
6393 (ruby-smie--forward-token, ruby-smie--backward-token):
6394 Separate "|" from "&" or "*" going after it. That can happen in block
6395 arguments.
6396 (ruby-smie--indent-to-stmt): New function, seeks the end of
6397 previous statement or beginning of buffer.
6398 (ruby-smie-rules): Use it.
6399 (ruby-smie-rules): Check if there's a ":" before a curly block
6400 opener candidate; if there is, it's a hash.
6401
6402 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
6403
6404 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
6405 (cl--block-wrapper): Fix last accidental change.
6406
6407 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
6408
6409 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6410 Instrument, in order to hunt failure on hydra.
6411
6412 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6413
6414 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
6415 malformed bindings form (bug#15814).
6416
6417 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
6418
6419 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
6420 "." compared to " @ ". This incidentally fixes some indentation
6421 examples with "do".
6422 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
6423 (ruby-smie-grammar): New tokens: "and" and "or".
6424 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
6425 Exclude "and" and "or". Remove "do" in order to work around token
6426 priorities.
6427 (ruby-smie-rules): Add all infix tokens. Handle the case of
6428 beginning-of-buffer.
6429
6430 2013-11-06 Glenn Morris <rgm@gnu.org>
6431
6432 * Makefile.in (setwins_almost, setwins_for_subdirs):
6433 Avoid accidental matches.
6434
6435 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6436
6437 * menu-bar.el (popup-menu): Use key-binding.
6438
6439 2013-11-06 Eli Zaretskii <eliz@gnu.org>
6440
6441 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
6442 menus, support also the menus produced by minor modes.
6443 (Bug#15817)
6444
6445 2013-11-06 Leo Liu <sdl.web@gmail.com>
6446
6447 * thingatpt.el (thing-at-point-looking-at): Add optional arg
6448 DISTANCE to bound the search. All uses changed. (Bug#15808)
6449
6450 2013-11-06 Glenn Morris <rgm@gnu.org>
6451
6452 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
6453 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
6454 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
6455
6456 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6457
6458 * electric.el (electric-indent-just-newline): New command.
6459 (electric-indent-mode-map): New keymap.
6460 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
6461 Re-add :group which weren't redundant.
6462
6463 * electric.el (electric-indent-local-mode): New minor mode.
6464 (electric-indent-functions-without-reindent): New var.
6465 (electric-indent-post-self-insert-function): Use it.
6466 * emacs-lisp/gv.el (buffer-local-value): Add setter.
6467
6468 2013-11-05 Eli Zaretskii <eliz@gnu.org>
6469
6470 * international/quail.el (quail-help): Be more explicit about the
6471 meaning of the labels shown on the keys. (Bug#15800)
6472
6473 * startup.el (normal-top-level): Load the subdirs.el files before
6474 setting the locale environment. (Bug#15805)
6475
6476 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
6477
6478 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
6479 via arguments so as to get the right ones (bug#15418).
6480
6481 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
6482
6483 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
6484
6485 Fix problems found while writing a test suite.
6486
6487 * net/tramp-compat.el (tramp-compat-load): New defun.
6488 * net/tramp.el (tramp-handle-load): Use it.
6489
6490 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
6491 "(numberp ok-if-already-exists)" correctly.
6492
6493 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
6494
6495 * international/characters.el (glyphless-char-display-control):
6496 Add usage note.
6497
6498 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
6499
6500 * progmodes/python.el (python-mode):
6501 * progmodes/scheme.el (scheme-mode):
6502 * progmodes/prolog.el (prolog-mode):
6503 * progmodes/ruby-mode.el (ruby-mode):
6504 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
6505 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
6506
6507 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6508
6509 * rect.el (rectangle--highlight-for-redisplay):
6510 * emacs-lisp/smie.el (smie--next-indent-change):
6511 Use buffer-chars-modified-tick.
6512
6513 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
6514
6515 * electric.el (electric-indent-post-self-insert-function):
6516 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
6517
6518 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
6519
6520 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
6521
6522 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6523
6524 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
6525 (bug#15786).
6526
6527 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6528
6529 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
6530
6531 * progmodes/python.el: Fix up last change.
6532 (python-shell--save-temp-file): New function.
6533 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
6534 `string' comes from the current buffer.
6535 (python-shell-send-string-no-output): Remove `msg' arg.
6536 (python--use-fake-loc): New var.
6537 (python-shell-buffer-substring): Obey it. Try to compensate for the
6538 extra coding line added by python-shell--save-temp-file.
6539 (python-shell-send-region): Use python-shell--save-temp-file and
6540 python-shell-send-file directly. Add `nomain' argument.
6541 (python-shell-send-buffer): Use python-shell-send-region.
6542 (python-electric-pair-string-delimiter): New function.
6543 (python-mode): Use it.
6544
6545 2013-11-04 Eli Zaretskii <eliz@gnu.org>
6546
6547 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
6548 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
6549 environment and decoding all of the default-directory's to here
6550 from command-line.
6551 (command-line): Decode also argv[0].
6552
6553 * loadup.el: Error out if default-directory is a multibyte string
6554 when we are dumping.
6555
6556 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
6557
6558 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
6559
6560 * emacs-lisp/package.el (package-menu-mode)
6561 (package-menu--print-info, package-menu--archive-predicate):
6562 Add Archive column to package list.
6563
6564 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
6565
6566 Fix problems found while writing a test suite.
6567
6568 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
6569 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
6570 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
6571 to nil when running original file name handler. Otherwise,
6572 there are problems with constructs like "$$FOO".
6573
6574 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
6575 for `localname'.
6576
6577 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
6578
6579 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
6580
6581 * subr.el (version<, version<=, version=):
6582 Update docstrings with information for snapshot versions.
6583
6584 * helpers.el: New library for misc helper functions.
6585 (hash-table-keys): New function returning a list of hash keys.
6586 (hash-table-values): New function returning a list of hash values.
6587
6588 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
6589
6590 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6591 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
6592
6593 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
6594
6595 * textmodes/fill.el (fill-single-char-nobreak-p): New function
6596 checking whether point is after a 1-letter word.
6597
6598 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6599
6600 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
6601 Don't infloop when expanding region over `multiline' syntax-type that
6602 begins a line (bug#15778).
6603
6604 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6605
6606 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
6607 Make it into a proper minor mode.
6608 (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
6609 (rectangle-mark-mode-map): New keymap.
6610 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
6611
6612 2013-11-04 Glenn Morris <rgm@gnu.org>
6613
6614 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
6615
6616 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
6617
6618 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
6619 (ruby-smie-rules): Use smie-rule-parent instead.
6620
6621 * emacs-lisp/smie.el (smie-rule-parent): Always call
6622 smie-indent-virtual rather than only for hanging tokens.
6623 (smie--next-indent-change): New helper command.
6624
6625 2013-11-03 Glenn Morris <rgm@gnu.org>
6626
6627 * Makefile.in (abs_srcdir): Remove.
6628 (emacs): Unset EMACSLOADPATH.
6629
6630 2013-11-02 Glenn Morris <rgm@gnu.org>
6631
6632 * Makefile.in (EMACS): Use a relative filename.
6633 (abs_top_builddir): Remove.
6634 (custom-deps, finder-data, autoloads): Use --chdir.
6635
6636 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
6637
6638 Use relative filenames in TAGS files.
6639 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
6640 (lisptagsfiles4, TAGS): Use relative file names.
6641 (TAGS-LISP): Remove.
6642 (maintainer-clean): No more TAGS-LISP file.
6643
6644 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
6645 (lisptagsfiles4): Use absolute filenames again.
6646 (TAGS, TAGS-LISP): Not everything needs to run in one line.
6647 Remove all *loaddefs files, not just the first. Remove esh-groups.
6648 (maintainer-clean): Delete TAGS, TAGS-LISP.
6649
6650 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6651
6652 * emacs-lisp/package.el (package-version-join):
6653 Recognize snapshot versions.
6654
6655 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6656
6657 * subr.el (version-regexp-alist): Add support for snapshot versions.
6658
6659 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
6660
6661 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
6662 New function, replacement for `smie-rule-parent' for when we want to
6663 skip over our direct parent if it's an assignment token..
6664 (ruby-smie-rules): Use it.
6665
6666 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
6667
6668 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
6669 unconditionally. Remove now unnecessary forward declarations.
6670 Remove XEmacs-specific setup.
6671 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
6672 (ruby-font-lock-syntactic-keywords)
6673 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
6674 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
6675 (ruby-here-doc-end-syntax): Remove.
6676 (ruby-mode): Don't check whether `syntax-propertize-rules' is
6677 defined as function.
6678
6679 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6680
6681 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
6682
6683 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
6684
6685 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
6686 table and abbrev table, `define-derived-mode' does that for us
6687 anyway.
6688
6689 2013-11-01 Glenn Morris <rgm@gnu.org>
6690
6691 * Makefile.in: Remove manual mh-e dependencies (writing .elc
6692 files is atomic for some time, so no parallel compilation issues).
6693
6694 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
6695
6696 * faces.el (face-x-resources): Add :distant-foreground.
6697 (region): Use :distant-foreground for gtk and ns.
6698
6699 2013-11-01 Tassilo Horn <tsdh@gnu.org>
6700
6701 Allow multiple bibliographies when BibLaTeX is used rather than
6702 BibTeX.
6703 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
6704 (reftex-locate-bibliography-files): Us it.
6705
6706 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
6707
6708 * image.el (image-type-header-regexps): Fix the 'pbm' part to
6709 allow comments in pbm files.
6710
6711 * term/w32-win.el (dynamic-library-alist): Support newer versions
6712 of libjpeg starting with v7: look only for the DLL from the
6713 version against which Emacs was built.
6714 Support versions of libpng beyond 1.4.x.
6715 Support libtiff v4.x.
6716
6717 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
6718
6719 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
6720 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
6721 Add property :safe.
6722 (ruby-deep-arglist): Add property :type.
6723
6724 2013-10-31 Glenn Morris <rgm@gnu.org>
6725
6726 * Makefile.in (custom-deps, finder-data): No need to setq the target
6727 variables, we are in the right directory and the defaults work fine.
6728
6729 2013-10-30 Glenn Morris <rgm@gnu.org>
6730
6731 * Makefile.in (autoloads): Do not use abs_lisp.
6732
6733 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6734 `newline' does not respect `standard-output', so use `princ'.
6735
6736 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
6737
6738 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
6739 * buff-menu.el (Buffer-menu--unmark): New function.
6740 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
6741
6742 2013-10-30 Glenn Morris <rgm@gnu.org>
6743
6744 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
6745
6746 * emacs-lisp/package.el (lm-homepage): Declare.
6747
6748 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
6749 Fix doc typos.
6750
6751 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
6752
6753 * Makefile.in (finder-data, autoloads, update-subdirs)
6754 (compile-main, compile-clean, compile-always, bootstrap-clean):
6755 Check return value of cd.
6756 (compile-calc): Remove.
6757
6758 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
6759
6760 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
6761
6762 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
6763 (byte-compile-and-folded): New function.
6764 (=, <, >, <=, >=): Use it.
6765
6766 * dos-w32.el (minibuffer-history-case-insensitive-variables)
6767 (path-separator, null-device, buffer-file-coding-system)
6768 (lpr-headers-switches): Check system-type before modifying them.
6769 (find-buffer-file-type-coding-system): Mark obsolete.
6770 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
6771 find-file-not-found-set-buffer-file-coding-system.
6772 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
6773 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
6774 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
6775 (w32-direct-print-region-helper, w32-direct-print-region-function)
6776 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
6777 * startup.el (normal-top-level-add-subdirs-to-load-path):
6778 * ps-print.el (ps-print-region-function):
6779 * lpr.el (print-region-function): Use new name.
6780
6781 * subr.el (custom-declare-variable-early): Remove function.
6782 (custom-declare-variable-list): Remove var.
6783 (error, user-error): Remove `while' loop.
6784 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
6785 (user-emacs-directory-warning, locate-user-emacs-file):
6786 Move to files.el.
6787 * simple.el (read-quoted-char-radix, read-quoted-char):
6788 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
6789 Move from subr.el.
6790 * custom.el (custom-declare-variable-list): Don't process
6791 custom-declare-variable-list.
6792
6793 * progmodes/python.el (python-shell-get-buffer): New function.
6794 (python-shell-get-process): Use it.
6795 (python-shell-send-string): Always use utf-8 and add a cookie to tell
6796 Python which encoding was used. Don't split-string since we only care
6797 about the first line. Return the temp-file, if applicable.
6798 (python-shell-send-region): Tell compile.el how to turn locations in
6799 the temp-file into locations in the source buffer.
6800
6801 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
6802
6803 * subr.el (undefined): Add missing behavior from the C code for
6804 unbound keys.
6805
6806 * rect.el: Use lexical-binding. Add new rectangular region support.
6807 (rectangle-mark): New command.
6808 (rectangle--region): New var.
6809 (deactivate-mark-hook): Reset rectangle--region.
6810 (rectangle--extract-region, rectangle--insert-for-yank)
6811 (rectangle--highlight-for-redisplay)
6812 (rectangle--unhighlight-for-redisplay): New functions.
6813 (region-extract-function, redisplay-unhighlight-region-function)
6814 (redisplay-highlight-region-function): Use them to handle
6815 rectangular region.
6816 * simple.el (region-extract-function): New var.
6817 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
6818 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
6819 (kill-region): Replace obsolete `yank-handler' arg with `region'.
6820 (copy-region-as-kill, kill-ring-save): Add `region' argument.
6821 (redisplay-unhighlight-region-function)
6822 (redisplay-highlight-region-function): New vars.
6823 (redisplay--update-region-highlight): New function.
6824 (pre-redisplay-function): Use it.
6825 (exchange-point-and-mark): Don't deactivate the mark before
6826 reactivate-it anyway.
6827 * comint.el (comint-kill-region): Remove yank-handler argument.
6828 * delsel.el (delete-backward-char, backward-delete-char-untabify)
6829 (delete-char): Remove property, since it's now part of their
6830 default behavior.
6831 (self-insert-iso): Remove property since this command doesn't exist.
6832
6833 * emacs-lisp/package.el (package--download-one-archive)
6834 (describe-package-1): Don't query the user about final newline.
6835
6836 2013-10-29 Daniel Colascione <dancol@dancol.org>
6837
6838 * net/tramp.el (tramp-methods): Document new functionality.
6839 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
6840 tramp-hostname-checker if method provides one instead of scanning
6841 argument list for "%h" to decide hostname acceptability.
6842
6843 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
6844
6845 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
6846 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
6847 Handle COPY-CONTENTS. (Bug#15737)
6848
6849 2013-10-28 Daiki Ueno <ueno@gnu.org>
6850
6851 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
6852 Document that this option has no effect with GnuPG 2.0 (bug#15552).
6853
6854 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
6855
6856 * image.el (defimage, image-load-path): Doc fixes.
6857
6858 2013-10-27 Alan Mackenzie <acm@muc.de>
6859
6860 Indent statements in macros following "##" correctly.
6861 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
6862 Modify the "#" arm of a cond form to handle "#" and "##" operators.
6863
6864 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6865
6866 * linum.el (linum-update-window): Fix boundary test (bug#13446).
6867
6868 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
6869
6870 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
6871 after `=' is probably a new expression.
6872
6873 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6874
6875 * man.el (man-imenu-title): New option.
6876 (Man-mode-map): Add menu. (Bug#15722)
6877 (Man-mode): Add imenu to menu.
6878
6879 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
6880
6881 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
6882 specific in what the first arg can be: a non-keyword word,
6883 string/regexp/percent literal opener, opening paren, or unary
6884 operator followed directly by word.
6885
6886 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6887
6888 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
6889 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
6890 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
6891 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
6892 Remove vars, they do not apply any more.
6893 (prolog-mode-abbrev-table): Remove redundant declaration.
6894 (prolog-upper-case-string, prolog-lower-case-string): Remove.
6895 (prolog-use-smie): Remove.
6896 (prolog-smie-rules): Add indentation rule for the if-then-else layout
6897 supported by prolog-electric-if-then-else-flag.
6898 (prolog-mode-variables, prolog-menu): Use setq-local.
6899 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
6900 Remove binding to `Backspace' since this key doesn't exist anyway.
6901 Remove bindings for electric self-inserting keys.
6902 (prog-mode): Assume it's defined.
6903 (prolog-post-self-insert): New function.
6904 (prolog-mode): Use it.
6905 (prolog-indent-line, prolog-indent-level)
6906 (prolog-find-indent-of-matching-paren)
6907 (prolog-indentation-level-of-line, prolog-goto-comment-column)
6908 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
6909 (prolog-goto-next-paren, prolog-in-string-or-comment)
6910 (prolog-tokenize, prolog-inside-mline-comment)
6911 (prolog-find-start-of-mline-comment): Remove functions.
6912 (prolog-find-unmatched-paren, prolog-clause-end)
6913 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
6914 (prolog-electric--if-then-else): Rename from
6915 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
6916 (prolog-tokenize-searchkey): Remove const.
6917 (prolog-clause-info): Use forward-sexp.
6918 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
6919 (prolog-electric-if-then-else): Remove commands.
6920 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
6921 for use in post-self-insert-hook.
6922 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
6923 for use in post-self-insert-hook.
6924 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
6925 for use in post-self-insert-hook.
6926 (prolog-electric--underscore): Rename from prolog-electric--underscore;
6927 adapt it for use in post-self-insert-hook.
6928
6929 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
6930
6931 * emacs-lisp/ert.el (ert-run-tests-interactively):
6932 Use `completing-read'. (Bug#9756)
6933
6934 2013-10-25 Eli Zaretskii <eliz@gnu.org>
6935
6936 * simple.el (line-move): Call line-move-1 instead of
6937 line-move-visual when the current window hscroll is zero, but
6938 temporary-goal-column indicates we will need to hscroll as result
6939 of the movement. (Bug#15712)
6940
6941 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
6942
6943 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
6944 capitalization. Use :visible instead of :active.
6945 Fix `ruby-indent-exp' reference. Add menu items for the generic
6946 commands that are used with SMIE.
6947 (ruby-do-end-to-brace): Insert space after `{'.
6948
6949 2013-10-25 John Anthony <john@jo.hnanthony.com>
6950
6951 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
6952
6953 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
6954
6955 2013-10-25 Glenn Morris <rgm@gnu.org>
6956
6957 * vc/vc.el (vc-print-log): Don't use a working revision unless
6958 one was explicitly specified. (Bug#15322)
6959
6960 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6961
6962 * subr.el (add-to-list): Preserve return value in compiler-macro
6963 (bug#15692).
6964
6965 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6966
6967 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
6968 result. Ask user to retry using '-all' flag. (Bug#15701)
6969
6970 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6971
6972 * emacs-lisp/smie.el: New smie-config system.
6973 (smie-config): New defcustom.
6974 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
6975 (smie-config-guess, smie-config-save): New commands.
6976 (smie-config--mode-local, smie-config--buffer-local)
6977 (smie-config--trace, smie-config--modefuns): New vars.
6978 (smie-config--advice, smie-config--mode-hook)
6979 (smie-config--setter, smie-config-local, smie-config--get-trace)
6980 (smie-config--guess-value, smie-config--guess): New functions.
6981 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
6982 text properties. Treat "string fence" syntax like string syntax.
6983
6984 * progmodes/sh-script.el (sh-use-smie): Change default.
6985 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
6986 (sh-var-value): Simplify by CSE.
6987 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
6988 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
6989 is used.
6990 (sh-guess-basic-offset): Use cl-incf.
6991 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
6992
6993 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
6994
6995 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
6996 (bug#15699).
6997
6998 2013-10-24 Glenn Morris <rgm@gnu.org>
6999
7000 * Makefile.in (abs_top_srcdir): Remove.
7001 (update-subdirs): Use relative path to update-subdirs.
7002
7003 2013-10-24 Eli Zaretskii <eliz@gnu.org>
7004
7005 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
7006 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
7007 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
7008 Call unmsys--file-name before expand-file-name, not after it.
7009
7010 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
7011
7012 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
7013 (ert-test-skipped): New error.
7014 (ert-skip, ert-stats-skipped): New defuns.
7015 (ert--skip-unless): New macro.
7016 (ert-test-skipped): New struct.
7017 (ert--run-test-debugger, ert-test-result-type-p)
7018 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
7019 (ert--stats-set-test-and-result, ert-char-for-test-result)
7020 (ert-string-for-test-result, ert-run-tests-batch)
7021 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
7022 Handle skipped tests. (Bug#9803)
7023
7024 2013-10-24 Glenn Morris <rgm@gnu.org>
7025
7026 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
7027
7028 * Makefile.in (abs_top_srcdir): New, set by configure.
7029 (update-subdirs): Correct build-aux location.
7030
7031 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
7032
7033 * vc/vc.el (vc-print-root-log): Always set `default-directory'
7034 value, whether we could auto-deduce `backend', or not.
7035
7036 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
7037 with parameters" example. Simplify the "is it block or is it
7038 hash" check, but also make it more thorough.
7039
7040 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
7041
7042 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
7043
7044 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7045
7046 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
7047 { if it is hanging.
7048
7049 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
7050 :before ";".
7051
7052 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
7053
7054 * progmodes/compile.el (compilation-directory-matcher)
7055 (compilation-page-delimiter):
7056 Support GNU Make-4.0 directory quoting. (Bug#15678)
7057
7058 2013-10-23 Leo Liu <sdl.web@gmail.com>
7059
7060 * ido.el (ido-tidy): Handle read-only text.
7061
7062 2013-10-23 Glenn Morris <rgm@gnu.org>
7063
7064 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
7065 (emacs, compile, compile-always):
7066 Quote entities that might contain whitespace.
7067 (custom-deps, finder-data, autoloads): Use abs_lisp.
7068 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7069 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7070 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
7071
7072 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
7073
7074 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
7075 Use `following-char'.
7076
7077 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7078
7079 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
7080 * progmodes/ruby-mode.el (ruby-smie-rules):
7081 Remove corresponding workaround. Fix indentation rule of ";" so it
7082 also applies when ";" is the parent.
7083
7084 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
7085
7086 * frame.el (display-screens, display-pixel-height)
7087 (display-pixel-width, display-mm-width, display-backing-store)
7088 (display-save-under, display-planes, display-color-cells)
7089 (display-visual-class, display-monitor-attributes-list):
7090 Mention the optional ‘display’ argument in doc strings.
7091
7092 2013-10-22 Michael Gauland <mikelygee@amuri.net>
7093
7094 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
7095 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
7096
7097 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7098
7099 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
7100 TODO. Add "." after " @ ".
7101 (ruby-smie--at-dot-call): New function. Checks if point at method
7102 call with explicit target.
7103 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
7104 to the method name tokens when it precedes them.
7105 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
7106 (ruby-smie-rules): Add rule for indentation before and after "."
7107 token.
7108
7109 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
7110
7111 * textmodes/remember.el (remember-diary-extract-entries):
7112 Avoid add-to-list.
7113
7114 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
7115 an instruction.
7116
7117 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7118
7119 * progmodes/ruby-mode.el (ruby-smie-grammar):
7120 Add (almost) all infix operators.
7121 (ruby-smie--implicit-semi-p): Add new operator chars.
7122
7123 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
7124 `smie-down-list'.
7125 (ruby-smie--args-separator-p): Check that there's no newline
7126 between method call and its arguments.
7127
7128 2013-10-20 Alan Mackenzie <acm@muc.de>
7129
7130 Allow comma separated lists after Java "implements".
7131
7132 * progmodes/cc-engine.el (c-backward-over-enum-header):
7133 Parse commas.
7134 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
7135 from a "disallowed" list in enum fontification.
7136
7137 2013-10-20 Johan Bockgård <bojohan@gnu.org>
7138
7139 * startup.el (default-frame-background-mode): Remove unused defvar.
7140
7141 * progmodes/verilog-mode.el (verilog-mode): Don't set
7142 comment-indent-function globally.
7143
7144 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
7145
7146 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
7147 Move Info menu item creation to ns-win.el.
7148
7149 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
7150 in menu bar.
7151
7152 * menu-bar.el: Move GNUstep specific menus...
7153
7154 * term/ns-win.el (ns-initialize-window-system): ... to here.
7155
7156 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7157
7158 * simple.el (newline): Only run post-self-insert-hook when
7159 called interactively.
7160
7161 2013-10-19 Johan Bockgård <bojohan@gnu.org>
7162
7163 * icomplete.el (icomplete-with-completion-tables): Add :version.
7164
7165 2013-10-19 Alan Mackenzie <acm@muc.de>
7166
7167 Fix fontification bugs with constructors and const.
7168
7169 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
7170 CASE 2) Remove the check for the absence of a suffix construct
7171 after a function declaration with only types (no identifiers) in
7172 the parentheses. Also, accept a function declaration with just a
7173 type inside the parentheses, if this type can be positively
7174 recognised as such, or if a prefix keyword like "explicit" nails
7175 down the construct as a declaration.
7176
7177 2013-10-19 Eli Zaretskii <eliz@gnu.org>
7178
7179 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
7180 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
7181 the problem whereby selecting a menu item that leads to a
7182 minibuffer prompt moves the cursor out of the minibuffer window,
7183 making it hard to type at the prompt. Suggested by Stefan Monnier
7184 <monnier@iro.umontreal.ca>.
7185
7186 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
7187
7188 * menu-bar.el: Don't make Services menu.
7189
7190 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7191
7192 * ffap.el: Handle "/usr/include/c++/<version>" directories.
7193 (ffap-alist): Use ffap-c++-mode for c++-mode.
7194 (ffap-c++-path): New variable.
7195 (ffap-c++-mode): New function.
7196
7197 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
7198
7199 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
7200
7201 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
7202
7203 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
7204 introduced on 2013-09-08, which results in an infinite loop
7205 requesting a password.
7206
7207 2013-10-18 Glenn Morris <rgm@gnu.org>
7208
7209 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
7210
7211 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
7212
7213 Sync with upstream verilog-mode revision 1a6ecec7.
7214 * progmodes/verilog-mode.el (verilog-mode-version): Update.
7215 (verilog-mode-release-date): Remove.
7216 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
7217 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
7218 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
7219 (verilog-auto-tieoff-ignore-regexp)
7220 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
7221 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
7222 (verilog-signals-with, verilog-dir-cache-preserving)
7223 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
7224 Doc fixes.
7225 (verilog-case-fold): New option, to control case folding in
7226 regexp searches, bug597.
7227 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
7228 (verilog-string-match-fold, verilog-in-paren-count)
7229 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
7230 (verilog-at-close-struct-p): New functions.
7231 (verilog-beg-block-re-ordered, verilog-extended-case-re)
7232 (verilog-forward-sexp, verilog-set-auto-endcomments)
7233 (verilog-leap-to-case-head): Handle "unique0" case.
7234 (verilog-in-constraint-re): New constant.
7235 (verilog-keywords, verilog-type-font-keywords):
7236 Add some SystemVerilog 1800-2012 keywords.
7237 (verilog-label-be): Remove unimplemented argument, bug669.
7238 (verilog-batch-execute-func): When batch expanding clear
7239 create-lockfiles to prevent spurious user locks when a file ends
7240 up not changing.
7241 (verilog-calculate-indent, verilog-calc-1)
7242 (verilog-at-close-constraint-p, verilog-at-constraint-p)
7243 (verilog-do-indent): Fix indentation of nested constraints
7244 and structures.
7245 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
7246 (verilog-auto-inst-param): Use verilog-string-match-fold.
7247 (verilog-read-inst-module-matcher):
7248 Fix AUTOINST on gate primitives with #1.
7249 (verilog-read-decls): Fix double-declaring user-defined typed signals.
7250 Reads all user-defined typed variables.
7251 (verilog-read-defines): Fix reading definitions inside comments, bug647.
7252 (verilog-signals-matching-regexp)
7253 (verilog-signals-not-matching-regexp, verilog-auto):
7254 Respect verilog-case-fold.
7255 (verilog-diff-report): Fix line count.
7256 (verilog-auto-assign-modport): Remove unused local `modi'.
7257 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
7258 better handle multidimensional arrays.
7259 Fix packed array ports misadding bit index in AUTOINST, bug637.
7260 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
7261 to not double-declare existing outputs and inputs, respectively.
7262 (verilog-template-map): Bind U to verilog-sk-uvm-component.
7263 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
7264 (verilog-sk-uvm-component): New skeleton.
7265 (verilog-submit-bug-report): Add verilog-case-fold,
7266 remove verilog-mode-release-date.
7267
7268 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
7269
7270 * subr.el (sit-for): Call (input-pending-p t) so as to behave
7271 as before.
7272
7273 2013-10-18 Reuben Thomas <rrt@sc3d.org>
7274
7275 * textmodes/remember.el (remember): Set buffer-offer-save in
7276 remember buffers (bug#13566).
7277
7278 2013-10-18 Daniel Colascione <dancol@dancol.org>
7279
7280 When evaluating forms in ielm, direct standard output to ielm
7281 buffer. Add new ielm-return-for-effect command. Remove trailing
7282 whitespace throughout.
7283
7284 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
7285 (ielm-return-for-effect): New command.
7286 (ielm-send-input): Accept optional `for-effect' parameter.
7287 (ielm-eval-input): Accept optional `for-effect' parameter.
7288 Bind `standard-output' to stream we create using
7289 `ielm-standard-output-impl'. Suppress printing result when
7290 `for-effect'.
7291 (ielm-standard-output-impl): New function.
7292 (inferior-emacs-lisp-mode): Explain new features in documentation.
7293
7294 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
7295
7296 Code cleanup.
7297
7298 * net/tramp.el (tramp-debug-message): Do not check for connection
7299 buffer.
7300 (tramp-message): Use "vector" connection property.
7301
7302 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
7303 (tramp-equal-remote, tramp-eshell-directory-change)
7304 * net/tramp-adb.el (tramp-adb-handle-copy-file)
7305 (tramp-adb-handle-rename-file)
7306 * net/tramp-cmds.el (tramp-list-remote-buffers)
7307 (tramp-cleanup-connection, tramp-cleanup-this-connection)
7308 * net/tramp-compat.el (tramp-compat-process-running-p)
7309 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
7310 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
7311 (tramp-gvfs-handle-rename-file)
7312 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
7313 (tramp-set-file-uid-gid)
7314 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7315 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
7316 of `file-remote-p'.
7317
7318 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
7319 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7320 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
7321 (tramp-gw-open-network-stream): Suppress unrelated traces.
7322
7323 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
7324 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7325 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7326 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
7327 connection property.
7328
7329 * net/tramp-cache.el (top): Suppress traces when reading
7330 persistency file.
7331
7332 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7333 Refactor common code. Improve debug message.
7334 (tramp-maybe-open-connection)
7335 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
7336 connection buffer too early.
7337
7338 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
7339 from `tramp-smb-actions-with-acl'.
7340 (tramp-smb-actions-set-acl): New defconst.
7341 (tramp-smb-handle-copy-directory)
7342 (tramp-smb-action-get-acl): New defun, renamed from
7343 `tramp-smb-action-with-acl'.
7344 (tramp-smb-action-set-acl): New defun.
7345 (tramp-smb-handle-set-file-acl): Rewrite.
7346
7347 2013-10-17 Glenn Morris <rgm@gnu.org>
7348
7349 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
7350
7351 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7352
7353 * skeleton.el (skeleton-newline): Remove.
7354 (skeleton-internal-1): Use (insert "\n") instead.
7355
7356 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
7357 let-bindings.
7358
7359 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
7360 forward-sexp-function while we redo its job (bug#15613).
7361
7362 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
7363
7364 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
7365 represented by lists.
7366
7367 2013-10-16 Glenn Morris <rgm@gnu.org>
7368
7369 * tmm.el (tmm--history): New dynamic variable.
7370 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
7371
7372 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
7373
7374 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
7375 (tramp-smb-errors): Add error messages.
7376 (tramp-smb-actions-with-acl): New defconst.
7377 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
7378 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
7379 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
7380 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
7381 (tramp-smb-get-stat-capability): Fix tests.
7382
7383 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
7384
7385 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
7386 (bug#15580).
7387
7388 2013-10-16 Glenn Morris <rgm@gnu.org>
7389
7390 * ansi-color.el (ansi-color-drop-regexp):
7391 Add 1J, 1K, 2K. (Bug#15617)
7392
7393 * files.el (hack-local-variables--warned-lexical): New.
7394 (hack-local-variables):
7395 Warn about misplaced lexical-binding. (Bug#15616)
7396
7397 * net/eww.el (eww-render): Always set eww-current-url,
7398 and update header line. (Bug#15622)
7399 (eww-display-html): ... Rather than just doing it here.
7400
7401 2013-10-15 Eli Zaretskii <eliz@gnu.org>
7402
7403 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
7404 menu navigations commands.
7405
7406 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
7407
7408 * progmodes/subword.el (subword-capitalize): Be careful when
7409 the search for [[:alpha:]] fails (bug#15580).
7410
7411 2013-10-14 Eli Zaretskii <eliz@gnu.org>
7412
7413 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
7414 to commands that scroll the menu.
7415
7416 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
7417
7418 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
7419 Handle methods ending with `?' and `!'.
7420
7421 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
7422
7423 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
7424 `japanese-cp932' to `cp932' to fix the problem where saving a
7425 source file written in Shift_JIS twice would end up having
7426 `coding: japanese-cp932' which Ruby could not recognize.
7427 (ruby-mode-set-encoding): Add support for encodings mapped to nil
7428 in `ruby-encoding-map'.
7429 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
7430 doesn't need to be explicitly declared in magic comment.
7431 (ruby-encoding-map): Add type declaration for better customize UI.
7432
7433 2013-10-13 Glenn Morris <rgm@gnu.org>
7434
7435 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
7436 Occur buffers are read-only. http://bugs.debian.org/720775
7437
7438 * emacs-lisp/authors.el (authors-fixed-entries):
7439 Comment out old alpha stuff.
7440
7441 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
7442
7443 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
7444 to `after-save-hook' instead of `before-save-hook'.
7445 (ruby-mode-set-encoding): Use the value of coding system used to
7446 write the file. Call `basic-save-buffer-1' after modifying the
7447 buffer.
7448
7449 2013-10-13 Alan Mackenzie <acm@muc.de>
7450
7451 Fix indentation/fontification of Java enum with
7452 "implements"/generic.
7453
7454 * progmodes/cc-engine.el (c-backward-over-enum-header):
7455 Extracted from the three other places and enhanced to handle generics.
7456 (c-inside-bracelist-p): Uses new function above.
7457 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
7458 function above.
7459 (c-font-lock-enum-tail): Uses new function above.
7460
7461 2013-10-13 Kenichi Handa <handa@gnu.org>
7462
7463 * international/mule-cmds.el (select-safe-coding-system): Remove a
7464 superfluous condition in chekcing whether a coding system is safe
7465 or not.
7466
7467 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
7468
7469 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
7470
7471 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
7472
7473 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
7474
7475 2013-10-13 Glenn Morris <rgm@gnu.org>
7476
7477 * menu-bar.el (menu-bar-update-buffers):
7478 Unify Buffers menu prompt string. (Bug#15576)
7479
7480 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
7481
7482 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
7483 Add some entries.
7484 (authors-fixed-entries): Use accented form of name.
7485
7486 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7487
7488 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
7489 method calls (bug#15594).
7490 (ruby-smie--args-separator-p): New function.
7491 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
7492 recognize paren-free method calls.
7493
7494 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
7495 internals of universal-argument.
7496
7497 2013-10-11 Eli Zaretskii <eliz@gnu.org>
7498
7499 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
7500 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
7501 dropped menu on second mouse click on the menu bar.
7502
7503 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7504
7505 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
7506 (explicit-shell-file-name): Declare.
7507 (sh--vars-before-point, sh--cmd-completion-table): New functions.
7508 (sh-completion-at-point-function): New function.
7509 (sh-mode): Use it.
7510 (sh-smie--keyword-p): Remove unused argument.
7511 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
7512 vars.
7513 (sh-set-shell): Always setup SMIE, even if we use the
7514 old indentation code.
7515
7516 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
7517
7518 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
7519 cases of ? and =.
7520 (ruby-smie-rules): Simplify the "do" rule. The cases when the
7521 predicate would return nil are almost non-existent.
7522 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
7523
7524 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
7525 cache also after commands that modify the buffer but don't move
7526 point.
7527
7528 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7529
7530 * env.el (substitute-env-in-file-name): New function.
7531 (substitute-env-vars): Extend the meaning of the optional arg.
7532
7533 2013-10-10 Eli Zaretskii <eliz@gnu.org>
7534
7535 * term/w32-win.el (dynamic-library-alist): Define separate lists
7536 of GIF DLLs for versions before and after 5.0.0 of giflib.
7537 (Bug#15531)
7538
7539 2013-10-10 João Távora <joaotavora@gmail.com>
7540
7541 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
7542 not locked, use last revision and current source as
7543 defaults. (Bug#15569)
7544
7545 2013-10-10 Masatake YAMATO <yamato@redhat.com>
7546
7547 * menu-bar.el (menu-bar-open): Don't use popup-menu if
7548 menu-bar is hidden.
7549
7550 2013-10-10 Martin Rudalics <rudalics@gmx.at>
7551
7552 * window.el (pop-to-buffer-same-window): Fix doc-string.
7553 (Bug#15492)
7554
7555 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7556
7557 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
7558
7559 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
7560
7561 * calendar/icalendar.el (icalendar-import-file):
7562 Fix interactive spec. (Bug#15482)
7563
7564 2013-10-10 Glenn Morris <rgm@gnu.org>
7565
7566 * desktop.el (desktop-save): Default to saving in .emacs.d,
7567 since PWD is no longer in desktop-path by default. (Bug#15319)
7568
7569 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
7570 now that text mode has a menu with the same entry.
7571 (menu-bar-text-mode-auto-fill): Remove now unused func.
7572 * textmodes/text-mode.el (text-mode-map):
7573 Use auto-fill help text from menu-bar.el.
7574
7575 2013-10-10 John Anthony <john@jo.hnanthony.com>
7576
7577 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
7578
7579 2013-10-09 Juri Linkov <juri@jurta.org>
7580
7581 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
7582 instead of this-command-keys. Add universal-argument-more and
7583 universal-argument-minus to the list of prefix commands. (Bug#15568)
7584
7585 2013-10-09 Glenn Morris <rgm@gnu.org>
7586
7587 * vc/vc-svn.el (vc-svn-create-repo):
7588 Expand paths in file://... url. (Bug#15446)
7589
7590 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
7591 Add some entries.
7592 (authors): Remove unused local variables.
7593
7594 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7595
7596 * profiler.el: Create a more coherent calltree from partial backtraces.
7597 (profiler-format): Hide the tail with `invisible' so that C-s can still
7598 find the hidden elements.
7599 (profiler-calltree-depth): Don't recurse so enthusiastically.
7600 (profiler-function-equal): New hash-table-test.
7601 (profiler-calltree-build-unified): New function.
7602 (profiler-calltree-build): Use it.
7603 (profiler-report-make-name-part): Indent the calltree less.
7604 (profiler-report-mode): Add visibility specs for profiler-format.
7605 (profiler-report-expand-entry, profiler-report-toggle-entry):
7606 Expand the whole subtree when provided with a prefix arg.
7607
7608 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
7609
7610 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
7611 iuwu-mod token.
7612 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
7613 hanging iuwu-mod token.
7614 (ruby-smie--forward-token): Do not include a dot after a token in
7615 that token.
7616 (ruby-smie--backward-token): Likewise.
7617
7618 2013-10-08 Juri Linkov <juri@jurta.org>
7619
7620 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
7621 to isearch-other-control-char.
7622 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
7623 and isearch-post-command-hook to post-command-hook.
7624 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
7625 and isearch-post-command-hook from post-command-hook.
7626 (isearch-unread-key-sequence)
7627 (isearch-reread-key-sequence-naturally)
7628 (isearch-lookup-scroll-key, isearch-other-control-char)
7629 (isearch-other-meta-char): Remove functions.
7630 (isearch-pre-command-hook, isearch-post-command-hook):
7631 New functions based on isearch-other-meta-char rewritten
7632 relying on the new behavior of overriding-terminal-local-map
7633 that does not replace the local keymaps any more. (Bug#15200)
7634
7635 2013-10-08 Eli Zaretskii <eliz@gnu.org>
7636
7637 Support menus on text-mode terminals.
7638 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
7639 functionality.
7640
7641 * tooltip.el (tooltip-mode): Don't error out on TTYs.
7642
7643 * menu-bar.el (popup-menu, popup-menu-normalize-position):
7644 Move here from mouse.el.
7645 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
7646 and arrow keys.
7647 (tty-menu-navigation-map): New map for TTY menu navigation.
7648
7649 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
7650
7651 * frame.el (display-mouse-p): Report text-mode mouse as available
7652 on w32.
7653 (display-popup-menus-p): Report availability if mouse is
7654 available; don't condition on window-system.
7655
7656 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
7657 (tty-menu-selected-face): New faces.
7658
7659 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7660
7661 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
7662 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
7663 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
7664 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
7665 New constants.
7666 (lisp-mode-variables): New `elisp' argument.
7667 (emacs-lisp-mode): Use it.
7668 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
7669 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
7670
7671 * indent.el: Use lexical-binding.
7672 (indent-region): Add progress reporter.
7673 (tab-stop-list): Make it implicitly extend to infinity by repeating the
7674 last step.
7675 (indent--next-tab-stop): New function to implement this behavior.
7676 (tab-to-tab-stop, move-to-tab-stop): Use it.
7677
7678 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
7679
7680 * indent.el (indent-rigidly--current-indentation): New function.
7681 (indent-rigidly-map): New var.
7682 (indent-rigidly): Use it to provide interactive mode (bug#8196).
7683
7684 2013-10-08 Bastien Guerry <bzg@gnu.org>
7685
7686 * register.el (insert-register): Fix 2013-10-07 change.
7687
7688 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7689
7690 * progmodes/perl-mode.el: Use lexical-binding.
7691 Remove redundant :group args.
7692 (perl-nochange): Change default to be closer to other major modes's
7693 standard behavior.
7694 (perl-indent-line): Don't consider text on current line as a
7695 valid beginning of function from which to indent.
7696
7697 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
7698 with more than one argument (bug#15538).
7699
7700 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
7701
7702 * vc/pcvs.el: Use lexical-binding.
7703 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
7704 environment of `eval'.
7705 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
7706 than a list of expressions. Adjust callers.
7707 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
7708
7709 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
7710
7711 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
7712 case of the dot in a chained method call being on the following line.
7713
7714 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7715
7716 * electric.el (electric-indent-inhibit): New var.
7717 (electric-indent-post-self-insert-function): Use it.
7718 * progmodes/python.el (python-mode): Set it.
7719
7720 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
7721 open braces.
7722
7723 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
7724
7725 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
7726 (css-mode): Use electric-indent-chars.
7727
7728 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
7729 (font-lock-beg, font-lock-end): Move before first use.
7730 (nxml-mode): Use syntax-propertize-function.
7731 (nxml-after-change, nxml-after-change1): Adjust accordingly.
7732 (nxml-extend-after-change-region): Remove.
7733 * nxml/xmltok.el: Use lexical-binding.
7734 (xmltok-save): Use `declare'.
7735 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
7736 * nxml/nxml-util.el: Use lexical-binding.
7737 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
7738 Use `declare'.
7739 * nxml/nxml-ns.el: Use lexical-binding.
7740 (nxml-ns-save): Use `declare'.
7741 (nxml-ns-prefixes-for): Avoid add-to-list.
7742 * nxml/rng-match.el: Use lexical-binding.
7743 (rng--ipattern): Use cl-defstruct.
7744 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
7745 (rng-cons-group-after, rng-subst-group-after)
7746 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
7747 Use closures instead of `(lambda...).
7748
7749 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
7750
7751 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
7752 of BEG and END.
7753
7754 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7755 Use `tramp-handle-insert-file-contents'.
7756 (tramp-gvfs-handle-insert-file-contents): Remove function.
7757
7758 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
7759 Use `save-restriction' in order to keep markers.
7760
7761 * net/trampver.el: Update release number.
7762
7763 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7764
7765 * progmodes/compile.el (compilation-parse-errors):
7766 Use compilation--put-prop.
7767 (compilation--ensure-parse): Check compilation-multiline.
7768
7769 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
7770
7771 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
7772 lexical-binding.
7773
7774 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
7775
7776 * progmodes/ruby-mode.el: Fix recently added tests.
7777 (ruby-smie-grammar): Add - and +.
7778 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
7779 (ruby-smie--backward-id): New functions.
7780 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
7781 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
7782 any more.
7783
7784 2013-10-07 Leo Liu <sdl.web@gmail.com>
7785
7786 * register.el (register-preview-delay)
7787 (register-preview-functions): New variables.
7788 (register-read-with-preview, register-preview)
7789 (register-describe-oneline): New functions.
7790 (point-to-register, window-configuration-to-register)
7791 (frame-configuration-to-register, jump-to-register)
7792 (number-to-register, view-register, insert-register)
7793 (copy-to-register, append-to-register, prepend-to-register)
7794 (copy-rectangle-to-register): Use register-read-with-preview to
7795 read register. (Bug#15525)
7796
7797 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
7798
7799 * net/network-stream.el (network-stream-open-starttls): Don't add
7800 --insecure if it's already present, because that gnutls-cli
7801 rejects getting that parameter twice.
7802
7803 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
7804
7805 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
7806 keyword, too.
7807
7808 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
7809
7810 * newcomment.el (comment-use-global-state): Change default value
7811 to t, mark obsolete (Bug#15251).
7812 (comment-beginning): In addition to `comment-to-syntax', check the
7813 value of `comment-use-global-state'.
7814
7815 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7816
7817 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
7818 (ruby-comment-column): Follow the global default, by default.
7819 (ruby-smie-grammar): Add assignment syntax.
7820 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
7821 open-paren, a comma, or a \.
7822 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
7823 and line continuations.
7824 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
7825 followed by implicit semi-colons. Add rule for string concatenation
7826 and for indentation at BOB.
7827 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
7828
7829 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
7830 calling next-sexp, since next-token may have skipped chars which
7831 next-sexp doesn't know should be skipped!
7832
7833 2013-10-05 Leo Liu <sdl.web@gmail.com>
7834
7835 * progmodes/octave.el (octave-send-region):
7836 Call compilation-forget-errors.
7837
7838 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
7839
7840 * vc/vc-svn.el (vc-svn-find-admin-dir):
7841 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
7842 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
7843 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
7844 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
7845
7846 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
7847
7848 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
7849
7850 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
7851
7852 * subr.el (read-passwd): Hide chars even when called within a context
7853 where after-change-functions is disabled (bug#15501).
7854 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
7855 until we removed ourself from overriding-terminal-local-map.
7856
7857 2013-10-04 Leo Liu <sdl.web@gmail.com>
7858
7859 * progmodes/octave.el (inferior-octave-mode):
7860 Call compilation-forget-errors.
7861
7862 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
7863
7864 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
7865
7866 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
7867
7868 * net/secrets.el (secrets-create-collection): Add optional
7869 argument ALIAS. Use proper Label keyword. Append ALIAS as
7870 dbus-call-method argument. (Bug#15516)
7871
7872 2013-10-04 Leo Liu <sdl.web@gmail.com>
7873
7874 * progmodes/octave.el (inferior-octave-error-regexp-alist)
7875 (inferior-octave-compilation-font-lock-keywords): New variables.
7876 (compilation-error-regexp-alist)
7877 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
7878 (inferior-octave-mode): Use compilation-shell-minor-mode.
7879
7880 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
7881
7882 * minibuffer.el (completion--replace): Be careful that `end' might be
7883 a marker.
7884
7885 2013-10-03 Daiki Ueno <ueno@gnu.org>
7886
7887 Add support for package signature checking.
7888 * emacs-lisp/package.el (url-http-file-exists-p)
7889 (epg-make-context, epg-context-set-home-directory)
7890 (epg-verify-string, epg-context-result-for)
7891 (epg-signature-status, epg-signature-to-string)
7892 (epg-check-configuration, epg-configuration)
7893 (epg-import-keys-from-file): Declare.
7894 (package-check-signature): New user option.
7895 (package-unsigned-archives): New user option.
7896 (package-desc): Add `signed' field.
7897 (package-load-descriptor): Set `signed' field if .signed file exists.
7898 (package--archive-file-exists-p): New function.
7899 (package--check-signature): New function.
7900 (package-install-from-archive): Check package signature.
7901 (package--download-one-archive): Check archive signature.
7902 (package-delete): Remove .signed file.
7903 (package-import-keyring): New command.
7904 (package-refresh-contents): Import default keyring.
7905 (package-desc-status): Add "unsigned" status.
7906 (describe-package-1, package-menu--print-info)
7907 (package-menu-mark-delete, package-menu--find-upgrades)
7908 (package-menu--status-predicate): Support "unsigned" status.
7909
7910 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7911
7912 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
7913 the new compilation scheme using the new byte-codes.
7914
7915 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
7916 (byte-pophandler): New byte codes.
7917 (byte-goto-ops): Adjust accordingly.
7918 (byte-compile--use-old-handlers): New var.
7919 (byte-compile-catch): Use new byte codes depending on
7920 byte-compile--use-old-handlers.
7921 (byte-compile-condition-case--old): Rename from
7922 byte-compile-condition-case.
7923 (byte-compile-condition-case--new): New function.
7924 (byte-compile-condition-case): New function that dispatches depending
7925 on byte-compile--use-old-handlers.
7926 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
7927 when we can.
7928
7929 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
7930 Optimize under `condition-case' and `catch' if
7931 byte-compile--use-old-handlers is nil.
7932 (disassemble-offset): Handle new bytecodes.
7933
7934 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7935
7936 * subr.el (error): Use `declare'.
7937 (decode-char, encode-char): Use advertised-calling-convention instead
7938 of the docstring to discourage use of the `restriction' arg.
7939
7940 2013-10-03 Daiki Ueno <ueno@gnu.org>
7941
7942 * epg.el (epg-verify-file): Add a comment saying that it does not
7943 notify verification error as a return value nor a signal.
7944 (epg-verify-string): Ditto.
7945
7946 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
7947
7948 * progmodes/compile.el (compilation-start): Try globbing the arg to
7949 `cd' (bug#15417).
7950
7951 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
7952
7953 Sync with Tramp 2.2.8.
7954
7955 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
7956 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
7957 * net/trampver.el: Update release number.
7958
7959 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
7960
7961 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
7962 and default-process-coding-system for darwin only.
7963
7964 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
7965
7966 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
7967
7968 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
7969
7970 * vc/vc-git.el (vc-git-grep): Disable pager.
7971
7972 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
7973
7974 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
7975 Use :url instead of :homepage, as per
7976 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
7977
7978 * newcomment.el (comment-beginning): When `comment-use-syntax' is
7979 non-nil, use `syntax-ppss' (Bug#15251).
7980
7981 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7982
7983 * progmodes/octave.el (inferior-octave-startup-file):
7984 Prefer ~/.emacs.d/init_octave.m.
7985
7986 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
7987
7988 * emacs-lisp/package.el (package-desc-from-define):
7989 Accept additional arguments as plist, convert them to an alist and store
7990 them in the `extras' slot.
7991 (package-generate-description-file): Convert extras alist back to
7992 plist and append to the `define-package' form arguments.
7993 (package--alist-to-plist): New function.
7994 (package--ac-desc): Add `extras' slot.
7995 (package--add-to-archive-contents): Check if the archive-contents
7996 vector is long enough, and if it is, pass its `extras' slot value
7997 to `package-desc-create'.
7998 (package-buffer-info): Call `lm-homepage', pass the returned value
7999 to `package-desc-from-define'.
8000 (describe-package-1): Render the homepage button (Bug#13291).
8001
8002 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8003 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
8004
8005 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
8006
8007 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8008 and default-process-coding-system to utf-8-unix (Bug#15402).
8009
8010 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
8011
8012 * subr.el (looking-back): Do not recommend using looking-back.
8013
8014 2013-09-28 Alan Mackenzie <acm@muc.de>
8015
8016 Fix indentation/fontification of Java enum with "implements".
8017
8018 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
8019 regexp which matches "implements", etc., in Java.
8020 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
8021 specifier clauses coming after "enum".
8022 * progmodes/cc-fonts.el (c-font-lock-declarations)
8023 (c-font-lock-enum-tail): Check for extra specifier clauses coming
8024 after "enum".
8025
8026 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
8027
8028 * faces.el (region): Change ns_selection_color to
8029 ns_selection_fg_color, add ns_selection_bg_color.
8030
8031 2013-09-28 Leo Liu <sdl.web@gmail.com>
8032
8033 * progmodes/octave.el (inferior-octave-completion-table)
8034 (inferior-octave-completion-at-point): Minor tweaks.
8035
8036 * textmodes/ispell.el (ispell-lookup-words): Rename from
8037 lookup-words. (Bug#15460)
8038 (lookup-words): Obsolete.
8039 (ispell-complete-word, ispell-command-loop): All uses changed.
8040
8041 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8042
8043 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
8044 (octave-mode-menu): Add octave-send-buffer.
8045 (octave-send-buffer): New function.
8046
8047 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8048
8049 * progmodes/octave.el (octave-mode-map): Add key binding for
8050 octave-lookfor.
8051 (octave-mode-menu): Add octave-lookfor.
8052 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
8053 octave-lookfor.
8054 (octave-lookfor): New function.
8055
8056 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8057
8058 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
8059 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
8060 its convention.
8061 (cl--loop-set-iterator-function): New function.
8062 (cl-loop): Adjust accordingly, so as not to use cl-subst.
8063 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
8064 Bind `it' with `let' instead of substituting it with `cl-subst'.
8065 (cl--unused-var-p): New function.
8066 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
8067 Eliminate some unused variable warnings (bug#15326).
8068
8069 2013-09-27 Tassilo Horn <tsdh@gnu.org>
8070
8071 * doc-view.el (doc-view-scale-reset): Rename from
8072 `doc-view-reset-zoom-level'.
8073 (doc-view-scale-adjust): New command.
8074 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
8075 `doc-view-scale-adjust'.
8076
8077 2013-09-26 Tassilo Horn <tsdh@gnu.org>
8078
8079 * doc-view.el (doc-view-reset-zoom-level): New command.
8080 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
8081 zoom commands (bug#15466).
8082
8083 2013-09-26 Kenichi Handa <handa@gnu.org>
8084
8085 * international/quail.el (quail-help): Make it not a command.
8086
8087 2013-09-26 Leo Liu <sdl.web@gmail.com>
8088
8089 * minibuffer.el (completion-all-sorted-completions): Make args
8090 optional as they are.
8091
8092 2013-09-25 Daniel Colascione <dancol@dancol.org>
8093
8094 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
8095 specs are and that they're not evaluated.
8096
8097 2013-09-24 Sam Steingold <sds@gnu.org>
8098
8099 * midnight.el (clean-buffer-list-kill-regexps)
8100 (clean-buffer-list-kill-buffer-names): Update for the new Man
8101 buffer naming which includes the object name.
8102
8103 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8104
8105 * eshell/esh-cmd.el (eshell--sep-terms): New var.
8106 (eshell-parse-command, eshell-parse-pipeline): Use it since
8107 eshell-separate-commands requires a dynamic scoped var.
8108 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
8109
8110 2013-09-23 Leo Liu <sdl.web@gmail.com>
8111
8112 * autoinsert.el (auto-insert-alist): Make the value of
8113 lexical-binding match its file setting.
8114
8115 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
8116
8117 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
8118
8119 * autoarg.el (autoarg-kp-digit-argument):
8120 * electric.el (Electric-command-loop):
8121 * kmacro.el (kmacro-step-edit-insert):
8122 Do not set universal-argument-num-events.
8123
8124 2013-09-22 Leo Liu <sdl.web@gmail.com>
8125
8126 * files.el (interpreter-mode-alist): Add octave.
8127
8128 2013-09-21 Alan Mackenzie <acm@muc.de>
8129
8130 C++: fontify identifier in declaration following "public:" correctly.
8131 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
8132 to match "public", etc.
8133 (c-decl-prefix-re): Add ":" into the C++ value.
8134 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
8135 bit. Add a check for a ":" preceded by "public", etc.
8136
8137 2013-09-21 Eli Zaretskii <eliz@gnu.org>
8138
8139 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
8140 recognized by GDB 7.5 and later.
8141
8142 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
8143
8144 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
8145
8146 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8147
8148 * subr.el (internal--call-interactively): New const.
8149 (called-interactively-p): Use it (bug#3984).
8150
8151 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
8152
8153 * vc/pcvs.el (cvs-mode-ignore):
8154 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
8155 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
8156
8157 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8158
8159 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
8160 (eshell-ls-orig-insert-directory): Remove.
8161 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
8162 (eshell-ls-use-in-dired): Use advice-add/remove.
8163 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
8164 Add `orig-fun' arg for use in :around advice.
8165 Make it check (redundantly) eshell-ls-use-in-dired.
8166
8167 2013-09-19 Glenn Morris <rgm@gnu.org>
8168
8169 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
8170
8171 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
8172
8173 * emacs-lisp/eieio.el (class-parent): Undo previous change.
8174
8175 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
8176
8177 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
8178 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
8179 (tramp-get-remote-python): New defuns.
8180 (tramp-get-remote-uid-with-perl)
8181 (tramp-get-remote-gid-with-perl): New defuns. Perl code
8182 contributed by yary <not.com@gmail.com> (tiny change).
8183 (tramp-get-remote-uid-with-python)
8184 (tramp-get-remote-gid-with-python): New defuns. Python code
8185 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
8186 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
8187
8188 2013-09-19 Glenn Morris <rgm@gnu.org>
8189
8190 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
8191
8192 * eshell/em-unix.el (eshell-remove-entries):
8193 Rename argument to avoid name-clash with global `top-level'.
8194
8195 * eshell/esh-proc.el (eshell-kill-process-function):
8196 Remove eshell-reset-after-proc from eshell-kill-hook if present.
8197 (eshell-reset-after-proc): Remove unused arg `proc'.
8198
8199 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
8200 (directory-files-and-attributes): Mark unused arg.
8201
8202 * eshell/em-unix.el (eshell-remove-entries):
8203 Remove unused arg `path'. Update callers.
8204
8205 * eshell/em-hist.el (eshell-hist-parse-arguments):
8206 Remove unused arg `silent'. Update callers.
8207
8208 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
8209 Fix (f)boundp mix-up.
8210
8211 * eshell/em-smart.el (eshell-smart-scroll-window)
8212 (eshell-disable-after-change):
8213 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
8214
8215 2013-09-18 Alan Mackenzie <acm@muc.de>
8216
8217 Fix fontification of type when followed by "const".
8218 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
8219 "known" types from fontification.
8220
8221 2013-09-18 Glenn Morris <rgm@gnu.org>
8222
8223 * emacs-lisp/chart.el (x-display-color-cells): Declare.
8224 (chart-face-list): Drop Emacsen without display-color-p.
8225
8226 * net/eww.el (libxml-parse-html-region): Declare.
8227 (eww-display-html): Explicit error if no libxml2 support.
8228
8229 * doc-view.el (doc-view-mode): Silence --without-x compilation.
8230
8231 * image.el (image-type-from-buffer, image-multi-frame-p):
8232 Remove --without-x warning/error.
8233
8234 * mouse.el (mouse-yank-primary):
8235 * term.el (term-mouse-paste):
8236 Reorder to silence --without-x compilation.
8237
8238 * mpc.el (doc-view-mode): Silence --without-x compilation.
8239
8240 * mail/rmailmm.el (rmail-mime-set-bulk-data):
8241 Silence --without-x compilation.
8242
8243 * progmodes/gud.el (gud-find-file, gud-mode):
8244 Silence --without-x compilation.
8245 (tooltip-mode): Declare.
8246
8247 * wdired.el (dired-backup-overwrite): Remove declaration.
8248 (wdired-mode-map): Add doc string.
8249
8250 * custom.el (x-get-resource): Declare.
8251
8252 * eshell/em-glob.el (ange-cache):
8253 * eshell/em-unix.el (ange-cache): Declare.
8254
8255 * faces.el (x-display-list, x-open-connection, x-get-resource):
8256 Declare.
8257
8258 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
8259 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
8260 Declare.
8261
8262 * frame.el (x-display-grayscale-p, x-display-name): Declare.
8263
8264 * net/gnutls.el (gnutls-log-level): Declare.
8265
8266 * net/shr.el (image-size, image-animate): Declare.
8267
8268 * simple.el (font-info): Declare.
8269
8270 * subr.el (x-popup-dialog): Declare.
8271
8272 * term/common-win.el (x-select-enable-primary)
8273 (x-last-selected-text-primary, x-last-selected-text-clipboard):
8274 Declare.
8275
8276 * term/ns-win.el (x-handle-args): Declare.
8277
8278 * term/x-win.el (x-select-enable-clipboard): Declare.
8279
8280 * term/w32-win.el (create-default-fontset): Declare.
8281
8282 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
8283 Declare.
8284
8285 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
8286 (fit-frame-to-buffer): Explicit error if --without-x.
8287 (mouse-autoselect-window-select): Silence compiler.
8288
8289 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
8290
8291 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
8292 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
8293 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
8294 * eshell/esh-util.el (eshell-sublist):
8295 Remove unused local variables.
8296
8297 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
8298
8299 * textmodes/two-column.el: Make 2C-split work for --without-x.
8300 (scroll-bar-columns): Autoload.
8301 (top-level): Require fringe when compiling.
8302
8303 2013-09-18 Leo Liu <sdl.web@gmail.com>
8304
8305 * subr.el (add-hook): Robustify to handle closure as well.
8306
8307 2013-09-17 Glenn Morris <rgm@gnu.org>
8308
8309 * simple.el (messages-buffer-mode-map): Unbind "g".
8310
8311 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8312
8313 * help-mode.el (help-mode-finish): Use derived-mode-p.
8314 Remove obsolete highlighting.
8315
8316 * play/life.el (life-mode): Use define-derived-mode. Derive from
8317 special-mode.
8318 (life): Let-bind inhibit-read-only.
8319 (life-setup): Avoid `setq'. Use `life-mode'.
8320
8321 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
8322 which should not be needed any more.
8323 (package-menu-refresh, package-menu-describe-package): Use user-error.
8324
8325 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
8326 (eshell-post-rewrite-command-hook): Make obsolete.
8327 (eshell-parse-command): Simplify.
8328 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
8329 (eshell--cmd): Declare.
8330 (eshell-parse-pipeline): Remove unused var `final-p'.
8331 Pass a dynvar to eshell-post-rewrite-command-hook.
8332 Implement the new eshell-post-rewrite-command-function.
8333 (eshell-invoke-directly): Remove unused arg `input'.
8334 * eshell/esh-io.el (eshell-io-initialize):
8335 Use eshell-post-rewrite-command-function (bug#15399).
8336 (eshell--apply-redirections): Rename from eshell-apply-redirections;
8337 adjust to new calling convention.
8338 (eshell-create-handles): Rename args to avoid clashing with dynvar
8339 `standard-output'.
8340
8341 2013-09-17 Glenn Morris <rgm@gnu.org>
8342
8343 * simple.el (messages-buffer-mode): New major mode.
8344 (messages-buffer): New function.
8345 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
8346 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
8347 (ert-run-test): Use `messages-buffer' function.
8348 (ert--force-message-log-buffer-truncation): Ignore read-only.
8349 * help.el (view-echo-area-messages): Use `messages-buffer' function.
8350 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
8351
8352 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8353
8354 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
8355
8356 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
8357
8358 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
8359
8360 * icomplete.el (icomplete-in-buffer): New var.
8361 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
8362 vars and replace them with functions.
8363 (icomplete-minibuffer-setup): Adjust accordingly.
8364 (icomplete--completion-table, icomplete--completion-predicate)
8365 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
8366 New functions.
8367 (icomplete-forward-completions, icomplete-backward-completions)
8368 (icomplete-simple-completing-p, icomplete-exhibit)
8369 (icomplete-completions): Use them.
8370 (icomplete--in-region-buffer): New var.
8371 (icomplete--in-region-setup): New function.
8372 (icomplete-mode): Use it.
8373
8374 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
8375 (bug#15379).
8376 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
8377 return args and options.
8378 (eshell-eval-using-options): Use the new return value of
8379 eshell--do-opts to set the options's vars in their scope.
8380 (eshell--set-option): Rename from eshell-set-option.
8381 Add arg `opt-vals'.
8382 (eshell--process-option): Rename from eshell-process-option.
8383 Add arg `opt-vals'.
8384 (eshell--process-args): Use an `opt-vals' alist to store the options's
8385 values during their processing and return them additionally to the
8386 remaining args.
8387
8388 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
8389
8390 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
8391 continuation character an operator, as far as indentation is
8392 concerned (Bug#15369).
8393
8394 2013-09-15 Martin Rudalics <rudalics@gmx.at>
8395
8396 * window.el (window--state-put-2): Don't process buffer state
8397 when buffer doesn't exist any more (Bug#15382).
8398
8399 2013-09-15 Glenn Morris <rgm@gnu.org>
8400
8401 * eshell/em-unix.el (eshell/rm):
8402 Make -f ignore missing files. (Bug#15373)
8403
8404 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
8405 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
8406 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
8407
8408 2013-09-14 Glenn Morris <rgm@gnu.org>
8409
8410 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
8411
8412 2013-09-13 Glenn Morris <rgm@gnu.org>
8413
8414 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
8415 (dired-guess-default): Make `file' available in the env. (Bug#15363)
8416
8417 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
8418
8419 * frame.el (x-focus-frame): Mark as declared in frame.c.
8420
8421 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
8422
8423 * ls-lisp.el: Use advice-add.
8424 (original-insert-directory): Remove.
8425 (ls-lisp--insert-directory): Rename from insert-directory; add
8426 `orig-fun' argument.
8427 (insert-directory): Advise.
8428
8429 2013-09-13 Eli Zaretskii <eliz@gnu.org>
8430
8431 * term.el (term-emulate-terminal): Decode the command string
8432 before passing it to term-command-hook. (Bug#15337)
8433
8434 2013-09-13 Glenn Morris <rgm@gnu.org>
8435
8436 * eshell/esh-util.el (ange-cache): Move declaration earlier.
8437
8438 * eshell/esh-ext.el (eshell-search-path): Declare.
8439
8440 * eshell/em-prompt.el (eshell/pwd): Autoload it.
8441 Otherwise an error occurs if eshell-dirs module not loaded.
8442
8443 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
8444
8445 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
8446
8447 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
8448 `tramp-check-proper-host'. Check for a valid method name.
8449
8450 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8451 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8452 * net/tramp-sh.el (tramp-maybe-open-connection):
8453 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
8454
8455 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
8456 also for hash values.
8457
8458 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8459
8460 * term/ns-win.el (parameters): Don't declare as dynamic.
8461 (before-make-frame-hook): Don't add ineffective function.
8462
8463 * eshell/*.el: Use lexical-binding (bug#15231).
8464
8465 2013-09-12 Kenichi Handa <handa@gnu.org>
8466
8467 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
8468
8469 2013-09-12 Glenn Morris <rgm@gnu.org>
8470
8471 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
8472 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
8473
8474 * subr.el (do-after-load-evaluation): Also give compiler warnings
8475 when obsolete files are used (except by obsolete files).
8476
8477 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
8478 in the status output, assume `filename' is the first. (Bug#15322)
8479
8480 * vc/vc.el (vc-deduce-fileset): Doc fix.
8481
8482 * calc/calc-help.el (Info-goto-node):
8483 * progmodes/cperl-mode.el (Info-find-node):
8484 * vc/ediff.el (Info-goto-node): Update declarations.
8485
8486 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
8487
8488 * vc/vc-bzr.el (vc-compilation-mode): Declare.
8489 (vc-bzr-pull): Require vc-dispatcher.
8490 * vc/vc-git.el (vc-compilation-mode): Declare.
8491 (vc-git-pull): Require vc-dispatcher.
8492
8493 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
8494
8495 * progmodes/octave.el (help-button-action): Declare.
8496
8497 * shell.el (shell-directory-tracker): Output error as a message
8498 rather than just returning it as a string.
8499 (shell-process-pushd): Remove useless use of message.
8500
8501 * dframe.el (dframe-timer-fn):
8502 * files.el (dir-locals-read-from-file):
8503 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
8504 (mpc-format):
8505 * reveal.el (reveal-post-command):
8506 * saveplace.el (load-save-place-alist-from-file):
8507 * shell.el (shell-resync-dirs):
8508 * w32-common-fns.el (x-get-selection-value):
8509 * emacs-lisp/copyright.el (copyright-find-copyright):
8510 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
8511 * emulation/tpu-edt.el (tpu-copy-keyfile):
8512 * play/bubbles.el (bubbles--mark-neighbourhood):
8513 * progmodes/executable.el
8514 (executable-make-buffer-file-executable-if-script-p):
8515 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
8516
8517 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8518
8519 Cleanup Eshell to rely less on dynamic scoping.
8520 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
8521 last-value, and ext-command here. Bind `args' closer to `body'.
8522 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
8523 (eshell--args): Declare new dynamic var.
8524 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
8525 last-value, and ext-command. Pass `args' to `body'.
8526 (eshell-process-args): Bind eshell--args.
8527 (eshell-set-option): Use eshell--args.
8528 * eshell/eshell.el (eshell): Use derived-mode-p.
8529 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
8530 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
8531 (eshell-glob-function): Declare.
8532 * eshell/esh-util.el: Require cl-lib.
8533 (eshell-read-hosts-file): Avoid add-to-list.
8534 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
8535 `err'.
8536 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
8537 Declare.
8538 (eshell/diff): Remove unused var `err'.
8539 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
8540 `killflag'.
8541 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
8542 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
8543 first use.
8544 * eshell/em-glob.el (eshell-glob-matches, message-shown):
8545 Move declaration before first use.
8546 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
8547 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
8548 rely on cl-return.
8549
8550 2013-09-12 Glenn Morris <rgm@gnu.org>
8551
8552 * term/ns-win.el (global-map): Remove binding for ispell-next,
8553 deleted 1999-05-29. (Bug#15357)
8554
8555 2013-09-11 Glenn Morris <rgm@gnu.org>
8556
8557 * echistory.el (electric-command-history): Remove call to deleted func.
8558
8559 * play/landmark.el (landmark-mode): Fix typos.
8560
8561 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
8562 Check cvs-sort-ignore-file is bound.
8563
8564 * savehist.el: No need for cl when compiling on Emacs.
8565
8566 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8567
8568 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
8569 (bug#15338).
8570 (eshell-self-insert-command, eshell-send-invisible):
8571 Remove unused argument.
8572 (eshell-handle-control-codes): Remove unused var `orig'.
8573 Avoid delete-backward-char.
8574
8575 * files.el (set-auto-mode): Simplify a bit further.
8576
8577 2013-09-11 Glenn Morris <rgm@gnu.org>
8578
8579 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
8580 (set-auto-mode): Don't regexp-quote elements.
8581 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
8582 * progmodes/cc-mode.el (interpreter-mode-alist):
8583 * progmodes/ruby-mode.el (interpreter-mode-alist):
8584 Revert previous change.
8585
8586 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8587
8588 * play/snake.el (snake-mode):
8589 * play/mpuz.el (mpuz-mode):
8590 * play/landmark.el (lm-mode):
8591 * play/blackbox.el (blackbox-mode):
8592 * play/5x5.el (5x5-mode):
8593 * obsolete/options.el (Edit-options-mode):
8594 * net/quickurl.el (quickurl-list-mode):
8595 * net/newst-treeview.el (newsticker-treeview-mode):
8596 * mail/rmailsum.el (rmail-summary-mode):
8597 * mail/mspools.el (mspools-mode):
8598 * locate.el (locate-mode):
8599 * ibuffer.el (ibuffer-mode):
8600 * emulation/ws-mode.el (wordstar-mode):
8601 * emacs-lisp/debug.el (debugger-mode):
8602 * array.el (array-mode):
8603 * net/eudc.el (eudc-mode): Use define-derived-mode.
8604 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
8605 Move initialization into declaration.
8606 (mairix-searches-mode): Use define-derived-mode.
8607 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
8608 (eudc-edit-hotlist): Use dolist.
8609 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
8610 (Man-mode): Use define-derived-mode.
8611 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
8612 (Info-edit-mode): Use define-derived-mode.
8613 (Info-cease-edit): Use Info-mode.
8614 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
8615 into declaration.
8616 (eshell-mode): Use define-derived-mode.
8617 * chistory.el (command-history-mode-map): Rename from
8618 command-history-map.
8619 (command-history-mode): Use define-derived-mode.
8620 (Command-history-setup): Remove function.
8621 * calc/calc.el (calc-trail-mode-map): New var.
8622 (calc-trail-mode): Use define-derived-mode.
8623 (calc-trail-buffer): Set calc-main-buffer manually.
8624 * bookmark.el (bookmark-insert-annotation): New function.
8625 (bookmark-edit-annotation): Use it.
8626 (bookmark-edit-annotation-mode): Make it a proper major mode.
8627 (bookmark-send-edited-annotation): Use derived-mode-p.
8628 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
8629 closer to its ideal place. Use \' to match EOS.
8630
8631 * profiler.el (profiler-calltree-find): Use function-equal.
8632
8633 2013-09-10 Glenn Morris <rgm@gnu.org>
8634
8635 * files.el (interpreter-mode-alist): Convert to regexps.
8636 (set-auto-mode): Adapt for this. (Bug#15306)
8637 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
8638 Comment out unused variable.
8639 * progmodes/cc-mode.el (interpreter-mode-alist):
8640 * progmodes/python.el (interpreter-mode-alist):
8641 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
8642 * progmodes/sh-script.el (sh-set-shell):
8643 No longer use interpreter-mode-alist to get list of shells.
8644
8645 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
8646
8647 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
8648
8649 * simple.el: Use set-temporary-overlay-map for universal-argument.
8650 (universal-argument-map): Don't use default-bindings (bug#15317).
8651 Bind switch-frame explicitly. Replace universal-argument-minus with
8652 a conditional binding.
8653 (universal-argument-num-events, saved-overriding-map): Remove.
8654 (restore-overriding-map): Remove.
8655 (universal-argument--mode): Rename from save&set-overriding-map,
8656 and rewrite.
8657 (universal-argument, universal-argument-more, negative-argument)
8658 (digit-argument): Adjust accordingly.
8659 (universal-argument-minus): Remove.
8660 (universal-argument-other-key): Remove.
8661
8662 * subr.el (with-demoted-errors): Add `format' argument.
8663
8664 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
8665
8666 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
8667 `tramp-cleanup-connection'.
8668
8669 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
8670 parameters KEEP-DEBUG and KEEP-PASSWORD.
8671
8672 * net/tramp.el (tramp-file-name-handler):
8673 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8674 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
8675 (tramp-maybe-open-connection):
8676 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
8677 Use `tramp-cleanup-connection'.
8678
8679 * net/tramp-sh.el (tramp-maybe-open-connection):
8680 Catch 'uname-changed inside the progress reporter.
8681
8682 2013-09-10 Glenn Morris <rgm@gnu.org>
8683
8684 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
8685
8686 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
8687 returns "alternate access method" in mode (eg "-rw-r--r--.").
8688
8689 2013-09-08 Glenn Morris <rgm@gnu.org>
8690
8691 * saveplace.el (load-save-place-alist-from-file):
8692 Demote errors. (Bug#15305)
8693
8694 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
8695
8696 Improve compatibility with older Emacsen, and XEmacs.
8697
8698 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
8699 only if it is bound. It isn't for XEmacs.
8700 (with-tramp-progress-reporter): Do not let-bind `result'.
8701 This yields to scoping errors in XEmacs.
8702 (tramp-handle-make-auto-save-file-name): New function, moved from
8703 tramp-sh.el.
8704
8705 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
8706 for `make-auto-save-file-name'.
8707 (tramp-adb--gnu-switches-to-ash):
8708 Use `tramp-compat-replace-regexp-in-string'.
8709
8710 * net/tramp-cache.el (tramp-cache-print): Call
8711 `substring-no-properties' only if it is bound. It isn't for XEmacs.
8712
8713 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
8714 bound. It isn't for XEmacs.
8715
8716 * net/tramp-compat.el (tramp-compat-copy-file):
8717 Catch `wrong-number-of-arguments' error.
8718 (tramp-compat-replace-regexp-in-string): New defun.
8719
8720 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
8721 for `make-auto-save-file-name'.
8722 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
8723 `copy-file'.
8724 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
8725 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
8726 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
8727
8728 * net/tramp-gw.el (tramp-gw-open-network-stream):
8729 Use `tramp-compat-replace-regexp-in-string'.
8730
8731 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8732 Call `tramp-handle-make-auto-save-file-name'.
8733 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
8734 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8735 (tramp-sh-file-inotifywait-process-filter):
8736 Use `tramp-compat-replace-regexp-in-string'.
8737 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
8738
8739 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
8740 for `make-auto-save-file-name'.
8741 (tramp-smb-handle-copy-directory):
8742 Call `tramp-compat-replace-regexp-in-string'.
8743 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
8744 (tramp-smb-handle-copy-file): Improve error message.
8745 (tramp-smb-handle-rename-file): Rename directly only in case
8746 `newname' does not exist yet. This is a restriction of smbclient.
8747 (tramp-smb-maybe-open-connection): Rerun the function only when
8748 `auth-sources' is non-nil.
8749
8750 2013-09-08 Kenichi Handa <handa@gnu.org>
8751
8752 * international/characters.el: Set category "^" (Combining) for
8753 more characters.
8754
8755 2013-09-07 Alan Mackenzie <acm@muc.de>
8756
8757 Correctly fontify Java class constructors.
8758 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
8759 in Java Mode.
8760 (c-recognize-typeless-decls): Set the Java value to t.
8761 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
8762 While handling a "(", add a check for, effectively, Java, and handle a
8763 "typeless" declaration there.
8764
8765 2013-09-07 Roland Winkler <winkler@gnu.org>
8766
8767 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
8768 field subtitle for entry type book.
8769
8770 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8771
8772 * minibuffer.el: Make minibuffer-complete call completion-in-region
8773 rather than other way around.
8774 (completion--some, completion-pcm--find-all-completions):
8775 Don't delay signals when debugging.
8776 (minibuffer-completion-contents): Beware fields within the
8777 minibuffer contents.
8778 (completion-all-sorted-completions): Use defvar-local.
8779 (completion--do-completion, completion--cache-all-sorted-completions)
8780 (completion-all-sorted-completions, minibuffer-force-complete):
8781 Add args `beg' and `end'.
8782 (completion--in-region-1): New fun, extracted from minibuffer-complete.
8783 (minibuffer-complete): Use completion-in-region.
8784 (completion-complete-and-exit): New fun, extracted from
8785 minibuffer-complete-and-exit.
8786 (minibuffer-complete-and-exit): Use it.
8787 (completion--complete-and-exit): Rename from
8788 minibuffer--complete-and-exit.
8789 (completion-in-region--single-word): New function, extracted from
8790 minibuffer-complete-word.
8791 (minibuffer-complete-word): Use it.
8792 (display-completion-list): Make `common-substring' argument obsolete.
8793 (completion--in-region): Call completion--in-region-1 instead of
8794 minibuffer-complete.
8795 (completion-help-at-point): Pass boundaries to
8796 minibuffer-completion-help as args rather than via an overlay.
8797 (completion-pcm--string->pattern): Use `any-delim'.
8798 (completion-pcm--optimize-pattern): New function.
8799 (completion-pcm--pattern->regex): Handle `any-delim'.
8800 * icomplete.el (icomplete-forward-completions)
8801 (icomplete-backward-completions, icomplete-completions):
8802 Adjust calls to completion-all-sorted-completions and
8803 completion--cache-all-sorted-completions.
8804 (icomplete-with-completion-tables): Default to t.
8805 * emacs-lisp/crm.el (crm--current-element): Rename from
8806 crm--select-current-element. Don't put an overlay but return the
8807 boundaries instead.
8808 (crm--completion-command): Take two new args to bind to the boundaries.
8809 (crm-completion-help): Adjust accordingly.
8810 (crm-complete): Use completion-in-region.
8811 (crm-complete-word): Use completion-in-region--single-word.
8812 (crm-complete-and-exit): Use completion-complete-and-exit.
8813
8814 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8815
8816 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
8817 than dynamically.
8818
8819 2013-09-06 Juri Linkov <juri@jurta.org>
8820
8821 * info.el (Info-display-images-node): When image file doesn't exist
8822 display text version of the image if it's provided in the Info file.
8823 Otherwise, display the location of missing image from SRC attribute.
8824 Add help-echo text property from ALT attribute. (Bug#15279)
8825
8826 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8827
8828 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
8829 (edit-abbrevs-mode): Use define-derived-mode.
8830
8831 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
8832 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
8833 that it's defined.
8834 (epa-key-list-mode, epa-key-mode, epa-info-mode):
8835 Use define-derived-mode.
8836
8837 * epg.el (epg-start-encrypt): Minor CSE simplification.
8838
8839 2013-09-06 William Xu <william.xwl@gmail.com>
8840
8841 * arc-mode.el: Add support for 7za (bug#15264).
8842 (archive-7z-program): New var.
8843 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
8844 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
8845 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
8846
8847 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
8848
8849 Remove URL syntax.
8850
8851 * net/tramp.el (tramp-syntax, tramp-prefix-format)
8852 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
8853 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
8854 (tramp-postfix-host-format, tramp-file-name-regexp)
8855 (tramp-completion-file-name-regexp)
8856 (tramp-completion-dissect-file-name)
8857 (tramp-handle-substitute-in-file-name): Remove 'url case.
8858 (tramp-file-name-regexp-url)
8859 (tramp-completion-file-name-regexp-url): Remove constants.
8860
8861 2013-09-06 Glenn Morris <rgm@gnu.org>
8862
8863 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
8864
8865 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
8866
8867 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
8868 keywords" below "here-doc beginnings" (Bug#15270).
8869
8870 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
8871
8872 * subr.el (pop): Use `car-safe'.
8873 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
8874 to detect unused `pop' return value.
8875
8876 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
8877 var `block-regexp'.
8878 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
8879 (python-fill-string): Remove unused var `marker'.
8880 (python-skeleton-add-menu-items): Remove unused var `items'.
8881
8882 * international/mule-cmds.el: Require CL.
8883 (find-coding-systems-for-charsets): Avoid add-to-list.
8884 (sanitize-coding-system-list): New function, extracted from
8885 select-safe-coding-system-interactively.
8886 (select-safe-coding-system-interactively): Use it.
8887 (read-input-method-name): Accept symbols for `default'.
8888
8889 * emacs-lisp/advice.el (defadvice): Add indent rule.
8890
8891 2013-09-05 Daniel Hackney <dan@haxney.org>
8892
8893 * dired-x.el:
8894 * net/ange-ftp.el:
8895 * net/browse-url.el:
8896 * net/dbus.el:
8897 * net/eudc.el:
8898 * net/eudcb-ldap.el:
8899 * net/eww.el:
8900 * net/imap.el:
8901 * printing.el:
8902 * vc/ediff-diff.el:
8903 * vc/ediff-init.el:
8904 * vc/ediff-merg.el:
8905 * vc/ediff-mult.el:
8906 * vc/ediff-util.el:
8907 * vc/ediff-wind.el:
8908 * vc/ediff.el:
8909 * vc/emerge.el:
8910 * vc/pcvs.el:
8911 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
8912 byte compiler. Remove some unused let-bound variables.
8913
8914 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
8915
8916 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
8917 a "ref-cell", since it gets better optimized (bug#14883).
8918
8919 2013-09-05 Glenn Morris <rgm@gnu.org>
8920
8921 * progmodes/cc-awk.el (c-forward-sws): Declare.
8922
8923 2013-09-04 Glenn Morris <rgm@gnu.org>
8924
8925 * generic-x.el [rul-generic-mode]: Require cc-mode.
8926 (c++-mode-syntax-table): Declare.
8927 (rul-generic-mode-syntax-table): Init in the defvar.
8928
8929 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
8930
8931 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
8932 (vc-do-command, vc-set-async-update):
8933 * vc/vc-mtn.el (vc-mtn-dir-status):
8934 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
8935 (vc-hg-pull, vc-hg-merge-branch):
8936 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
8937 (vc-git-merge-branch):
8938 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
8939 (vc-cvs-dir-status-files):
8940 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
8941 (vc-bzr-dir-status-files):
8942 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
8943 * vc/vc-annotate.el: Use lexical-binding.
8944 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
8945 (vc-sentinel-movepoint): Declare.
8946 (vc-annotate): Don't use `goto-line'.
8947 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
8948 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
8949 (vc-sentinel-movepoint): Declare.
8950 * vc/vc-svn.el: Use lexical-binding.
8951 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
8952 * vc/vc-sccs.el:
8953 * vc/vc-rcs.el: Use lexical-binding.
8954
8955 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
8956 `deleted'. Don't drop errors silently.
8957
8958 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
8959
8960 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
8961
8962 * vc/vc.el (vc-ignore): Rewrite.
8963 (vc-default-ignore): New function.
8964 (vc-default-ignore-completion-table): Use find-ignore-file.
8965
8966 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
8967 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
8968 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
8969 Remove. Most code moved to vc.el.
8970
8971 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
8972
8973 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
8974 * net/tramp-smb.el (tramp-smb-get-file-entries):
8975 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
8976 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
8977
8978 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
8979 Update call to it.
8980 (eww-change-select): Remove unused var `properties'.
8981 (eww-make-unique-file-name): Remove unused var `base'.
8982
8983 * finder.el (finder-compile-keywords): Don't mess with windows.
8984
8985 * calculator.el (calculator-funcall): Fix typo in last change.
8986
8987 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
8988
8989 * emacs-lisp/package.el (package-activate-1): Don't let a missing
8990 <pkg>-autoloads.el file stop us.
8991
8992 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
8993 warnings, and factor out common code.
8994
8995 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
8996
8997 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
8998 two-character operators and whether the character preceding them
8999 changes their meaning (Bug#15208).
9000
9001 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9002
9003 Format code sent to Python shell for robustness.
9004 * progmodes/python.el (python-shell-buffer-substring):
9005 New function.
9006 (python-shell-send-region, python-shell-send-buffer): Use it.
9007
9008 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
9009
9010 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
9011 * net/tramp.el (tramp-user-error): ... here.
9012 (tramp-find-method, tramp-check-proper-host)
9013 (tramp-dissect-file-name, tramp-debug-message)
9014 (tramp-handle-shell-command):
9015 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9016 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
9017
9018 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
9019
9020 2013-09-02 Martin Rudalics <rudalics@gmx.at>
9021
9022 * avoid.el (mouse-avoidance-point-position)
9023 (mouse-avoidance-too-close-p): Handle case where posn-at-point
9024 returns nil.
9025
9026 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9027
9028 * progmodes/python.el (python-shell-completion-get-completions):
9029 Drop use of deleted `comint-last-prompt-overlay'.
9030 (python-nav-if-name-main): New command.
9031
9032 2013-09-01 Glenn Morris <rgm@gnu.org>
9033
9034 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9035 Avoid leading space in $wins. Otherwise the sed command used by
9036 eg compile-main ends up containing "/*.el". (Bug#15170)
9037
9038 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
9039
9040 2013-08-30 Glenn Morris <rgm@gnu.org>
9041
9042 * emacs-lisp/bytecomp.el (byte-recompile-directory):
9043 Fix is-this-a-directory logic. (Bug#15220)
9044
9045 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9046
9047 * textmodes/css-mode.el: Use SMIE.
9048 (css-smie-grammar): New var.
9049 (css-smie--forward-token, css-smie--backward-token)
9050 (css-smie-rules): New functions.
9051 (css-mode): Use them.
9052 (css-navigation-syntax-table): Remove var.
9053 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
9054 (css-indent-calculate, css-indent-line): Remove functions.
9055
9056 Misc changes to reduce use of `(lambda...); and other cleanups.
9057 * cus-edit.el: Use lexical-binding.
9058 (customize-push-and-save, customize-apropos)
9059 (custom-buffer-create-internal): Use closures.
9060 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
9061 * progmodes/ada-xref.el: Use setq.
9062 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
9063 * dframe.el: Use lexical-binding.
9064 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
9065 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
9066 * descr-text.el: Use lexical-binding.
9067 (describe-text-widget, describe-text-sexp, describe-property-list):
9068 Use closures.
9069 * comint.el (comint-history-isearch-push-state): Use a closure.
9070 * calculator.el: Use lexical-binding.
9071 (calculator-number-to-string): Make it work with lexical-binding.
9072 (calculator-funcall): Same and use cl-letf.
9073
9074 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
9075 (lisp--company-doc-string, lisp--company-location): New functions.
9076 (lisp-completion-at-point): Use them to improve Company support.
9077
9078 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
9079 params of lambda expressions.
9080 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
9081 (ruby-smie--opening-pipe-p): New function.
9082 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
9083 symbols and matched |...| for formal params.
9084 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
9085 from being treated as hanging. Handle "rescue".
9086
9087 2013-08-29 Glenn Morris <rgm@gnu.org>
9088
9089 * progmodes/cc-engine.el (c-pull-open-brace):
9090 Move definition before use.
9091
9092 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9093
9094 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
9095 are immutable. Don't use `unsafe' any more.
9096 (cl--defsubst-expand): Don't substitute at the same time as keeping
9097 a residual unused let-binding. Don't use `unsafe' any more.
9098
9099 2013-08-29 Glenn Morris <rgm@gnu.org>
9100
9101 * calendar/cal-china.el (calendar-chinese-year-cache):
9102 Recenter on 2015.
9103
9104 * nxml/nxml-util.el (nxml-debug-clear-inside):
9105 Use cl-loop rather than loop.
9106
9107 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
9108
9109 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
9110
9111 2013-08-28 Glenn Morris <rgm@gnu.org>
9112
9113 * progmodes/antlr-mode.el: No need to require cc-mode twice.
9114
9115 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
9116
9117 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
9118
9119 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9120
9121 * simple.el (repeat-complex-command--called-interactively-skip):
9122 New function.
9123 (repeat-complex-command): Use it (bug#14136).
9124
9125 * progmodes/cc-mode.el: Minor cleanup of var declarations.
9126 (c-define-abbrev-table): Add `doc' argument.
9127 (c-mode-abbrev-table, c++-mode-abbrev-table)
9128 (objc-mode-abbrev-table, java-mode-abbrev-table)
9129 (idl-mode-abbrev-table, pike-mode-abbrev-table)
9130 (awk-mode-abbrev-table): Use it.
9131 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
9132 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
9133 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
9134 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
9135 Move initialization into the declaration; and remove any
9136 autoload cookie.
9137
9138 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
9139 and dynamic let binding.
9140
9141 * vc/smerge-mode.el: Remove redundant :group args.
9142
9143 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
9144 to load-path.
9145
9146 2013-08-28 Juri Linkov <juri@jurta.org>
9147
9148 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
9149 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
9150 (isearch-other-meta-char): Handle an undefined shifted printing
9151 character by downshifting it. (Bug#15200)
9152
9153 2013-08-28 Juri Linkov <juri@jurta.org>
9154
9155 * isearch.el (isearch-search): Change regexp error message for
9156 non-regexp searches. (Bug#15166)
9157
9158 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
9159
9160 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
9161 for portability to hosts where /bin/sh has problems.
9162
9163 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9164
9165 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
9166
9167 2013-08-27 Juri Linkov <juri@jurta.org>
9168
9169 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
9170 in the keyboard macro. (Bug#15126)
9171
9172 2013-08-27 Juri Linkov <juri@jurta.org>
9173
9174 * isearch.el (isearch-quote-char): Comment out converting unibyte
9175 to multibyte, thus syncing with its `quoted-insert' counterpart.
9176 (Bug#15166)
9177
9178 2013-08-27 Martin Rudalics <rudalics@gmx.at>
9179
9180 * window.el (display-buffer-use-some-window): Add missing
9181 argument in call of get-largest-window (Bug#15185).
9182 Reported by Stephen Leake.
9183
9184 2013-08-27 Glenn Morris <rgm@gnu.org>
9185
9186 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
9187
9188 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
9189
9190 * progmodes/python.el (python-font-lock-keywords): Don't return nil
9191 from a matcher-function unless there's no more matches (bug#15161).
9192
9193 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
9194
9195 * minibuffer.el: Revert change from 2013-08-20.
9196
9197 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
9198 with text property `tramp-default', if appropriate.
9199 (tramp-check-proper-host): New defun.
9200 (tramp-dissect-file-name): Do not check hostname. Revert change
9201 of 2013-03-18.
9202 (tramp-backtrace): Make VEC-OR-PROC optional.
9203
9204 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9205 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9206 * net/tramp-sh.el (tramp-maybe-open-connection):
9207 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9208 Apply `tramp-check-proper-host'.
9209
9210 2013-08-26 Tassilo Horn <tsdh@gnu.org>
9211
9212 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
9213 lambda expression in order to have `describe-variable' display it.
9214
9215 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
9216
9217 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
9218 BUF can be optional. (Bug#15186)
9219
9220 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
9221
9222 * progmodes/flymake.el (flymake-get-real-file-name-function):
9223 Fix broken customization. (Bug#15184)
9224
9225 2013-08-25 Alan Mackenzie <acm@muc.de>
9226
9227 Improve indentation of bracelists defined by macros (without "=").
9228
9229 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
9230 expansion begins with "{", regard it as bracelist when it doesn't
9231 contain a ";".
9232
9233 Parse C++ inher-intro when there's a template split over 2 lines.
9234
9235 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
9236 rigorously the search for "class" etc. followed by ":".
9237
9238 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
9239 random languages a regexp which never matches rather than nil.
9240
9241 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
9242
9243 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
9244 (c-awk-regexp-one-line-possibly-open-char-list-re)
9245 (c-awk-one-line-possibly-open-regexp-re)
9246 (c-awk-one-line-non-syn-ws*-re): Remove.
9247 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
9248 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
9249 (c-awk-space*-unclosed-regexp-/-re): New constants.
9250 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
9251 aren't regexp delimiters.
9252
9253 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
9254 handling for a rare situation in AWK Mode involving unterminated
9255 strings/regexps.
9256
9257 2013-08-23 Glenn Morris <rgm@gnu.org>
9258
9259 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
9260
9261 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
9262
9263 * files.el (create-file-buffer): If the result would begin with
9264 spaces, prepend a "|" instead of removing them. (Bug#15162)
9265
9266 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9267
9268 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
9269 text-properties (bug#15155).
9270
9271 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
9272 exist any more.
9273 (calc-keypad-redraw): Remove unused var `pad'.
9274 (calc-keypad-press): Remove unused var `menu'.
9275
9276 2013-08-23 Martin Rudalics <rudalics@gmx.at>
9277
9278 * window.el (display-buffer-pop-up-frame):
9279 Call pop-up-frame-function with BUFFER current so `make-frame' will
9280 use it as the new frame's buffer (Bug#15133).
9281
9282 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
9283
9284 * calendar/timeclock.el: Minor cleanups.
9285 (timeclock-ask-before-exiting, timeclock-use-display-time):
9286 Use `symbol'.
9287 (timeclock-modeline-display): Define as alias before the
9288 actual definition.
9289 (timeclock-mode-line-display): Use define-minor-mode.
9290 (timeclock-day-list-template): Make it a function, add an argument.
9291 (timeclock-day-list-required, timeclock-day-list-length)
9292 (timeclock-day-list-debt, timeclock-day-list-span)
9293 (timeclock-day-list-break): Adjust calls accordingly.
9294
9295 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
9296
9297 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
9298 Use read--expression so that completion works again.
9299
9300 2013-08-21 Sam Steingold <sds@gnu.org>
9301
9302 Add rudimentary inferior shell interaction
9303 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
9304 (sh-set-shell): Reset it.
9305 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
9306 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
9307
9308 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
9309
9310 * align.el: Use lexical-binding.
9311 (align-region): Simplify accordingly.
9312
9313 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
9314
9315 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
9316
9317 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
9318 `non-essential' up.
9319
9320 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
9321
9322 * net/tramp.el:
9323 * net/tramp-adb.el:
9324 * net/tramp-cmds.el:
9325 * net/tramp-ftp.el:
9326 * net/tramp-gvfs.el:
9327 * net/tramp-gw.el:
9328 * net/tramp-sh.el: Don't wrap external variable declarations by
9329 `eval-when-compile'.
9330
9331 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
9332
9333 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
9334 now that Emacs supports ImageMagick animations.
9335
9336 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
9337
9338 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
9339 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
9340
9341 2013-08-16 Martin Rudalics <rudalics@gmx.at>
9342
9343 * window.el (mouse-autoselect-window-select): Do autoselect when
9344 mouse pointer is on margin.
9345
9346 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
9347
9348 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
9349
9350 2013-08-16 Glenn Morris <rgm@gnu.org>
9351
9352 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
9353 Handle "Remote Directory" response of some clients. (Bug#15058)
9354
9355 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
9356 Tweak warning. (Bug#14926)
9357
9358 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
9359 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
9360
9361 * image-mode.el (image-mode-map): Add menu items to reverse,
9362 increase, decrease, reset animation speed.
9363 (image--set-speed, image-increase-speed, image-decrease-speed)
9364 (image-reverse-speed, image-reset-speed): New functions.
9365 (image-mode-map): Add bindings for speed commands.
9366
9367 * image.el (image-animate-get-speed, image-animate-set-speed):
9368 New functions.
9369 (image-animate-timeout): Respect image :speed property.
9370
9371 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9372
9373 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
9374 previous line (bug#15101).
9375 (debugger-eval-expression, debugger-record-expression):
9376 Use read--expression (bug#15102).
9377
9378 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
9379
9380 Remove byte compiler warnings, visible when compiling with
9381 `byte-compile-force-lexical-warnings' set to t.
9382
9383 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
9384 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
9385 (tramp-handle-unhandled-file-name-directory)
9386 (tramp-handle-file-notify-add-watch, tramp-action-login)
9387 (tramp-action-succeed, tramp-action-permission-denied)
9388 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
9389 arguments with "_".
9390
9391 * net/tramp-adb.el (tramp-adb-parse-device-names)
9392 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
9393 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
9394 (tramp-adb-handle-file-truename): Remove unused arguments.
9395
9396 * net/tramp-cache.el (tramp-flush-directory-property)
9397 (tramp-flush-connection-property, tramp-list-connections)
9398 (tramp-parse-connection-properties): Prefix unused arguments with "_".
9399
9400 * net/tramp-compat.el (tramp-compat-make-temp-file):
9401 Rename FILENAME to F.
9402
9403 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
9404 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
9405 (tramp-zeroconf-parse-workstation-device-names)
9406 (tramp-zeroconf-parse-webdav-device-names)
9407 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
9408
9409 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
9410 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
9411
9412 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
9413 arguments.
9414 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
9415 (tramp-sh-handle-insert-file-contents-literally)
9416 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
9417 with "_".
9418 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
9419 Remove unused variables.
9420
9421 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
9422 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
9423 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
9424
9425 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
9426 Make them a defconst.
9427 (tramp-uuencode-region): Remove unused variable.
9428
9429 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
9430
9431 * frameset.el (frameset--prop-setter): New function.
9432 (frameset-prop): Add gv-setter declaration.
9433 (frameset-filter-minibuffer): Deal with the case that the minibuffer
9434 parameter was already set in FILTERED. Doc fix.
9435 (frameset--record-minibuffer-relationships): Allow saving a
9436 minibufferless frame without its corresponding minibuffer frame.
9437 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
9438 frame, if the frame id matches.
9439 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
9440 frames before orphaned ones.
9441 (frameset-restore): Warn about orphaned windows, instead of error out.
9442
9443 2013-08-14 Martin Rudalics <rudalics@gmx.at>
9444
9445 * window.el (window-make-atom): Don't overwrite parameter
9446 already present.
9447 (display-buffer-in-atom-window): Handle special case where we
9448 split an already atomic window.
9449 (window--major-non-side-window, display-buffer-in-side-window)
9450 (window--side-check): Ignore minibuffer window when walking
9451 window tree.
9452 (window-deletable-p): Return 'frame only if no other frame uses
9453 our minibuffer window.
9454 (record-window-buffer): Run buffer-list-update-hook.
9455 (split-window): Make sure window--check-frame won't destroy an
9456 existing atomic window in case the new window gets nested
9457 inside.
9458 (display-buffer-at-bottom): Ignore minibuffer window when
9459 walking window tree. Don't split a side window.
9460 (pop-to-buffer): Don't set-buffer here, the select-window call
9461 should do that.
9462 (mouse-autoselect-window-select): Autoselect only if we are in the
9463 text portion of the window.
9464
9465 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9466
9467 * net/shr.el (shr-parse-image-data): New function to grab both the
9468 data itself and the Content-Type.
9469 (shr-put-image): Use it.
9470
9471 * net/eww.el (eww-display-image): Ditto.
9472
9473 * image.el (image-content-type-suffixes): New variable.
9474
9475 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
9476
9477 * progmodes/python.el (python-imenu--build-tree)
9478 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
9479
9480 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
9481
9482 * simple.el (backward-word): Mention the optional argument.
9483
9484 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9485
9486 * frameset.el (frameset--make): Rename constructor from make-frameset.
9487 (frameset-p, frameset-valid-p): Don't autoload.
9488 (frameset-valid-p): Use normal accessors.
9489
9490 2013-08-13 Glenn Morris <rgm@gnu.org>
9491
9492 * progmodes/compile.el (compile-command): Tweak example in doc.
9493 * obsolete/scribe.el (scribe-mode):
9494 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
9495
9496 * mail/feedmail.el (feedmail-confirm-outgoing)
9497 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
9498
9499 * cus-start.el (truncate-partial-width-windows): Fix type.
9500
9501 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
9502
9503 * net/shr.el (shr-table-horizontal-line): Fix custom type.
9504
9505 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9506
9507 * emacs-lisp/timer.el (timer--time-setter): New function.
9508 (timer--time): Use it as gv-setter.
9509
9510 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
9511 setter is not a symbol.
9512
9513 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
9514
9515 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
9516 if sending fails. This makes debugging easier.
9517
9518 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
9519
9520 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
9521 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
9522 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
9523
9524 2013-08-12 Eli Zaretskii <eliz@gnu.org>
9525
9526 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
9527
9528 2013-08-12 Glenn Morris <rgm@gnu.org>
9529
9530 * format.el (format-annotate-function):
9531 Handle read-only text properties in the source. (Bug#14887)
9532
9533 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9534
9535 * net/eww.el (eww-display-html): Ignore coding system errors.
9536 One web site uses "utf-8lias" as the coding system.
9537
9538 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
9539
9540 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
9541
9542 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
9543
9544 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
9545 (tutorial--detailed-help): Remove unused local variables.
9546 (tutorial--save-tutorial-to): Use ignore-errors.
9547 (help-with-tutorial): Use looking-at-p.
9548
9549 * view.el (view-buffer-other-window, view-buffer-other-frame):
9550 Mark unused arguments.
9551
9552 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
9553 (woman-select-symbol-fonts, woman, woman-find-file)
9554 (woman-insert-file-contents, woman-non-underline-faces):
9555 Use string-match-p.
9556 (woman1-unquote): Move declaration.
9557
9558 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
9559 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
9560 argument. Remove unused local variable.
9561 (xml-parse-elem-type): Use string-match-p.
9562 (xml-substitute-numeric-entities): Use ignore-errors.
9563
9564 * calculator.el (calculator): Mark unused argument.
9565 (calculator-paste, calculator-quit, calculator-integer-p):
9566 Use ignore-errors.
9567 (calculator-string-to-number, calculator-decimal, calculator-exp)
9568 (calculator-op-or-exp): Use string-match-p.
9569
9570 * dired.el (dired-buffer-more-recently-used-p): Declare.
9571 (dired-insert-set-properties, dired-insert-old-subdirs):
9572 Use ignore-errors.
9573
9574 * dired-aux.el (dired-compress): Use ignore-errors.
9575 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
9576 (dired-do-async-shell-command, dired-do-shell-command)
9577 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
9578 (dired-insert-subdir-validate): Use string-match-p.
9579 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
9580 (dired-add-entry): Use string-match-p, looking-at-p.
9581 (dired-insert-subdir-newpos): Remove unused local variable.
9582
9583 * filenotify.el (file-notify-callback): Remove unused local variable.
9584
9585 * filesets.el (filesets-error): Mark unused argument.
9586 (filesets-which-command-p, filesets-filter-dir-names)
9587 (filesets-directory-files, filesets-get-external-viewer)
9588 (filesets-ingroup-get-data): Use string-match-p.
9589
9590 * find-file.el (ff-other-file-name, ff-other-file-name)
9591 (ff-find-the-other-file, ff-cc-hh-converter):
9592 Remove unused local variables.
9593 (ff-get-file-name): Use string-match-p.
9594 (ff-all-dirs-under): Use ignore-errors.
9595
9596 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
9597 (follow-select-if-visible): Remove unused local variable.
9598
9599 * forms.el (read-file-filter): Move declaration.
9600 (forms--make-format, forms--make-parser, forms-insert-record):
9601 Quote function with #'.
9602 (forms--update): Use string-match-p. Quote function with #'.
9603
9604 * help-mode.el (help-dir-local-var-def): Mark unused argument.
9605 (help-make-xrefs): Use looking-at-p.
9606 (help-xref-on-pp): Use looking-at-p, ignore-errors.
9607
9608 * ibuffer.el (ibuffer-ext-visible-p): Declare.
9609 (ibuffer-confirm-operation-on): Use string-match-p.
9610
9611 * msb.el (msb-item-handler, msb-dired-item-handler):
9612 Mark unused arguments.
9613
9614 * ses.el (ses-decode-cell-symbol)
9615 (ses-kill-override): Remove unused local variable.
9616 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
9617 (ses-load): Use ignore-errors, looking-at-p.
9618 (ses-jump-safe): Use ignore-errors.
9619 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
9620
9621 * tabify.el (untabify, tabify): Mark unused arguments.
9622
9623 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
9624 Mark unused argument.
9625 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
9626 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
9627
9628 * emacs-lisp/timer.el (timer--time): Define setter with
9629 gv-define-setter to avoid deprecation warning.
9630
9631 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
9632 (*record-cmpl-statistics-p*): Remove (was commented out).
9633 (cmpl-statistics-block): Remove (body was commented out).
9634 All callers changed.
9635 (add-completions-from-buffer, load-completions-from-file):
9636 Remove unused variables.
9637
9638 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
9639
9640 * filecache.el (file-cache-delete-file-list):
9641 Print message only when told so.
9642 (file-cache-files-matching): Use #' in mapconcat argument.
9643
9644 * ffap.el (ffap-url-at-point): Fix reference to variable
9645 thing-at-point-default-mail-uri-scheme.
9646
9647 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
9648
9649 * subr.el (define-error): New function.
9650 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
9651 error-file-not-found and define with define-error.
9652 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
9653 and define with define-error.
9654 * userlock.el (file-locked, file-supersession):
9655 * simple.el (mark-inactive):
9656 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
9657 * progmodes/ada-mode.el (ada-mode-errors):
9658 * play/life.el (life-extinct):
9659 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
9660 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
9661 * nxml/rng-util.el (rng-error):
9662 * nxml/rng-uri.el (rng-uri-error):
9663 * nxml/rng-match.el (rng-compile-error):
9664 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
9665 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
9666 * nxml/nxml-rap.el (nxml-scan-error):
9667 * nxml/nxml-outln.el (nxml-outline-error):
9668 * net/soap-client.el (soap-error):
9669 * net/gnutls.el (gnutls-error):
9670 * net/ange-ftp.el (ftp-error):
9671 * mpc.el (mpc-proc-error):
9672 * json.el (json-error, json-readtable-error, json-unknown-keyword)
9673 (json-number-format, json-string-escape, json-string-format)
9674 (json-key-format, json-object-format):
9675 * jka-compr.el (compression-error):
9676 * international/quail.el (quail-error):
9677 * international/kkc.el (kkc-error):
9678 * emacs-lisp/ert.el (ert-test-failed):
9679 * calc/calc.el (calc-error, inexact-result, math-overflow)
9680 (math-underflow):
9681 * bookmark.el (bookmark-error-no-filename):
9682 * epg.el (epg-error): Define with define-error.
9683
9684 * time.el (display-time-event-handler)
9685 (display-time-next-load-average): Don't call sit-for since it seems
9686 unnecessary (bug#15045).
9687
9688 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
9689 Use #' instead of ' to quote functions.
9690 (checkdoc-output-mode): Use setq-local.
9691 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
9692 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
9693 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
9694 (checkdoc-ispell, checkdoc-ispell-current-buffer)
9695 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
9696 (checkdoc-ispell-message-text, checkdoc-ispell-start)
9697 (checkdoc-ispell-continue, checkdoc-ispell-comments)
9698 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
9699
9700 * ido.el (ido-completion-help): Fix up compiler warning.
9701
9702 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
9703
9704 * frameset.el (frameset-p): Add autoload cookie.
9705 (frameset--jump-to-register): New function, based on code moved from
9706 register.el.
9707 (frameset-to-register): Move from register.el. Adapt to `registerv'.
9708
9709 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
9710 (frameset-restore, frameset-save, frameset-session-filter-alist):
9711 Remove declarations.
9712 (register-alist): Doc fix.
9713 (frameset-to-register): Move to frameset.el.
9714 (jump-to-register, describe-register-1): Remove frameset-specific code.
9715
9716 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9717
9718 * allout-widgets.el (allout-widgets-pre-command-business)
9719 (allout-widgets-post-command-business)
9720 (allout-widgets-after-change-handler)
9721 (allout-decorate-item-and-context, allout-set-boundary-marker)
9722 (allout-body-modification-handler)
9723 (allout-graphics-modification-handler): Mark ignored arguments.
9724 (allout-widgets-post-command-business)
9725 (allout-widgets-exposure-change-processor)
9726 (allout-widgets-exposure-undo-processor)
9727 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
9728 (allout-parse-item-at-point, allout-decorate-item-guides)
9729 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
9730 * allout.el (epa-passphrase-callback-function): Declare.
9731 (allout-overlay-insert-in-front-handler)
9732 (allout-overlay-interior-modification-handler)
9733 (allout-isearch-end-handler, allout-chart-siblings)
9734 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
9735 (allout-yank-processing, allout-process-exposed)
9736 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
9737 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9738 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
9739 (lisp-indent-defform): Mark ignored arguments.
9740 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
9741 (calculate-lisp-indent): Remove unused variables.
9742 * international/characters.el (indian-2-column, arabic-2-column)
9743 (tibetan): Mark ignored arguments.
9744 (use-cjk-char-width-table): Mark ignored arguments.
9745 Remove unused variables.
9746 * international/fontset.el (build-default-fontset-data)
9747 (x-compose-font-name, create-fontset-from-fontset-spec):
9748 Mark ignored arguments.
9749 (fontset-plain-name): Remove unused variables.
9750 * international/mule.el (charset-id, charset-bytes, generic-char-p)
9751 (keyboard-coding-system): Mark ignored arguments.
9752 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
9753 * help.el (resize-temp-buffer-window):
9754 * window.el (display-buffer-in-major-side-window)
9755 (display-buffer-in-side-window, display-buffer-in-previous-window):
9756 Remove unused variables.
9757 * isearch.el (isearch-forward-symbol):
9758 * version.el (emacs-bzr-version-bzr):
9759 * international/mule-cmds.el (current-language-environment):
9760 * term/common-win.el (x-handle-iconic, x-handle-geometry)
9761 (x-handle-display):
9762 * term/pc-win.el (x-list-fonts, x-display-planes)
9763 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
9764 (x-server-version, x-display-screens, x-display-mm-height)
9765 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
9766 (x-selection-owner-p, x-own-selection-internal)
9767 (x-disown-selection-internal, x-get-selection-internal)
9768 (msdos-initialize-window-system):
9769 * term/tty-colors.el (tty-color-alist, tty-color-clear):
9770 * term/x-win.el (x-handle-no-bitmap-icon):
9771 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
9772 (vc-default-find-file-hook, vc-default-extra-menu):
9773 Mark ignored arguments.
9774
9775 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9776
9777 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
9778 break-condition in the context of the debugged code (bug#12685).
9779
9780 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
9781
9782 * comint.el:
9783 Do not use an overlay to highlight the last prompt. (Bug#14744)
9784 (comint-mode): Make comint-last-prompt buffer local.
9785 (comint-last-prompt): New variable.
9786 (comint-last-prompt-overlay): Remove. Superseded by
9787 comint-last-prompt.
9788 (comint-snapshot-last-prompt, comint-output-filter):
9789 Use comint-last-prompt.
9790
9791 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9792
9793 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
9794 (frameset-save): Check validity of the resulting frameset.
9795
9796 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
9797
9798 * ido.el (ido-record-command): Add doc string.
9799
9800 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9801
9802 * frameset.el (frameset): Do not disable creation of the default
9803 frameset-p predicate. Doc fix.
9804 (frameset-valid-p): New function, copied from the old predicate-p.
9805 Add additional checks.
9806 (frameset-restore): Check with frameset-valid-p.
9807 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
9808 (frameset-name, frameset-description, frameset-properties)
9809 (frameset-states): Add docstring.
9810 (frameset-session-filter-alist, frameset-persistent-filter-alist)
9811 (frameset-filter-alist): Doc fixes.
9812
9813 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9814
9815 * frameset.el (frameset-p, frameset-prop): Doc fixes.
9816
9817 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9818
9819 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
9820 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
9821 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
9822 (byte-compile-normal-call): Remove obsolescence check.
9823
9824 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9825
9826 * frameset.el (frameset-restore): Doc fix.
9827
9828 * register.el (frameset-frame-id, frameset-frame-with-id)
9829 (frameset-p, frameset-restore, frameset-save): Declare.
9830 (register-alist): Document framesets.
9831 (frameset-session-filter-alist): Declare.
9832 (frameset-to-register): New function.
9833 (jump-to-register): Implement jumping to framesets. Doc fix.
9834 (describe-register-1): Describe framesets.
9835
9836 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
9837
9838 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
9839
9840 * desktop.el (desktop-save-frameset): Use new frameset-save args.
9841 Use lexical-binding.
9842
9843 * frameset.el (frameset): Use type vector, not list (incompatible
9844 change). Do not declare a new constructor, use the default one.
9845 Upgrade suggested properties `app', `name' and `desc' to slots `app',
9846 `name' and `description', respectively, and add read-only slot
9847 `timestamp'. Doc fixes.
9848 (frameset-copy, frameset-persistent-filter-alist)
9849 (frameset-filter-alist, frameset-switch-to-gui-p)
9850 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
9851 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
9852 (frameset-filter-iconified, frameset-keep-original-display-p):
9853 Doc fixes.
9854 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
9855 Rename from frameset-filter-(save|restore)-param. All callers changed.
9856 Doc fix.
9857 (frameset-p): Adapt to change to vector and be more thorough.
9858 Change arg name to OBJECT. Doc fix.
9859 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
9860 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
9861 All callers changed.
9862 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
9863 All callers changed.
9864 (frameset--record-minibuffer-relationships): Rename from
9865 frameset--process-minibuffer-frames. All callers changed.
9866 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
9867 Use new default constructor (again). Doc fix.
9868 (frameset--find-frame-if): Rename from `frameset--find-frame'.
9869 All callers changed.
9870 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
9871 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
9872 Doc fix.
9873 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
9874 PARAMETERS and WINDOW-STATE, respectively.
9875 (frameset-restore): Add new keyword argument PREDICATE.
9876 Reset frameset--target-display to nil. Doc fix.
9877
9878 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
9879
9880 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
9881 (bat-mode): Use it.
9882 (bat-mode-syntax-table): Mark \n as end-of-comment.
9883 (bat-font-lock-keywords): Remove comment rule.
9884
9885 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
9886 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
9887
9888 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
9889 (byte-compile-callargs-warn): Use `push'.
9890 (byte-compile-arglist-warn): Ignore higher-order "calls".
9891 (byte-compile-file-form-autoload): Use `pcase'.
9892 (byte-compile-function-form): If quoting a symbol, check that it exists.
9893
9894 2013-08-07 Eli Zaretskii <eliz@gnu.org>
9895
9896 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
9897 and add a few popular commands found in batch files.
9898 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
9899 (dos-mode): Doc fixes.
9900
9901 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
9902
9903 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
9904 (dos-mode): Use setq-local. Add space after "rem".
9905 (dos-mode-syntax-table): Don't use "w" for symbol chars.
9906 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
9907
9908 2013-08-07 Arni Magnusson <arnima@hafro.is>
9909
9910 * progmodes/dos.el: New file.
9911 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
9912 dos-mode.
9913
9914 2013-08-06 Glenn Morris <rgm@gnu.org>
9915
9916 * calendar/calendar.el: Add new faces, and day-header-array.
9917 (calendar-weekday-header, calendar-weekend-header)
9918 (calendar-month-header): New faces.
9919 (calendar-day-header-construct): New function.
9920 (calendar-day-header-width): Also :set calendar-day-header-array.
9921 (calendar-american-month-header, calendar-european-month-header)
9922 (calendar-iso-month-header): Use calendar- faces.
9923 (calendar-generate-month):
9924 Use calendar-day-header-array for day headers; apply faces to them.
9925 (calendar-mode): Check calendar-font-lock-keywords non-nil.
9926 (calendar-abbrev-construct): Add optional maxlen argument.
9927 (calendar-day-name-array): Doc fix.
9928 (calendar-day-name-array, calendar-abbrev-length)
9929 (calendar-day-abbrev-array):
9930 Also :set calendar-day-header-array, and maybe redraw.
9931 (calendar-day-header-array): New option. (Bug#15007)
9932 (calendar-font-lock-keywords): Set to nil and make obsolete.
9933 (calendar-day-name): Add option to use header array.
9934
9935 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9936
9937 * net/shr.el (shr-render-td): Remove debugging.
9938 (shr-render-td): Make width computation consistent by defaulting
9939 all zero-width columns to 10 characters. This may not be optimal,
9940 but it's at least consistent.
9941 (shr-make-table-1): Redo last change to fix the real problem in
9942 colspan handling.
9943
9944 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
9945
9946 * files.el (cache-long-line-scans):
9947 Make obsolete alias to `cache-long-scans'.
9948
9949 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
9950
9951 * frameset.el (frameset, frameset-filter-alist)
9952 (frameset-filter-params, frameset-save, frameset--reuse-frame)
9953 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
9954 (frameset-compute-pos): Rename from frameset--compute-pos,
9955 and add docstring.
9956 (frameset-move-onscreen): Use frameset-compute-pos.
9957 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
9958
9959 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
9960 Fix typos in docstrings.
9961
9962 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
9963
9964 * frame.el (get-other-frame): Tiny cleanup.
9965
9966 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
9967
9968 * vc/vc.el (vc-default-ignore-completion-table):
9969 Silence byte-compiler warning.
9970
9971 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
9972 slot, which can indeed be nil.
9973 (frameset-live-filter-alist, frameset-persistent-filter-alist):
9974 Move entry for `left' from persistent to live filter alist.
9975 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
9976 Doc fixes.
9977 (frameset-filter-params): When restoring a frame, copy items added to
9978 `filtered', to avoid unwittingly modifying the original parameters.
9979 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
9980 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
9981
9982 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
9983 to use looking-at-p instead of looking-at. (Bug#15028)
9984
9985 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
9986
9987 Revert introduction of isearch-filter-predicates (bug#14714).
9988 Rely on add-function instead.
9989 * isearch.el (isearch-filter-predicates): Rename it back to
9990 isearch-filter-predicate.
9991 (isearch-message-prefix): Use advice-function-mapc and advice
9992 properties to get the isearch-message-prefix.
9993 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
9994 instead of run-hook-with-args-until-failure.
9995 (isearch-filter-visible): Not obsolete any more.
9996 * loadup.el: Preload nadvice.
9997 * replace.el (perform-replace): Revert to funcall
9998 instead of run-hook-with-args-until-failure.
9999 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
10000 * dired-aux.el (dired-isearch-filenames-mode): Rename from
10001 dired-isearch-filenames-toggle; make it into a proper minor mode.
10002 Use add/remove-function.
10003 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
10004 Call the minor-mode rather than add/remove-hook.
10005 (dired-isearch-filter-filenames):
10006 Remove isearch-message-prefix property.
10007 * info.el (Info--search-loop): New function, extracted from Info-search.
10008 Funcall isearch-filter-predicate instead of
10009 run-hook-with-args-until-failure isearch-filter-predicates.
10010 (Info-search): Use it.
10011 (Info-mode): Use isearch-filter-predicate instead of
10012 isearch-filter-predicates.
10013
10014 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10015
10016 Do not call to `selected-window' where it is assumed by default.
10017 Affected functions are `window-minibuffer-p', `window-dedicated-p',
10018 `window-hscroll', `window-width', `window-height', `window-buffer',
10019 `window-frame', `window-start', `window-point', `next-window'
10020 and `window-display-table'.
10021 * abbrev.el (abbrev--default-expand):
10022 * bs.el (bs--show-with-configuration):
10023 * buff-menu.el (Buffer-menu-mouse-select):
10024 * calc/calc.el (calc):
10025 * calendar/calendar.el (calendar-generate-window):
10026 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
10027 (diary-make-entry):
10028 * comint.el (send-invisible, comint-dynamic-complete-filename)
10029 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
10030 * completion.el (complete):
10031 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
10032 * disp-table.el (describe-current-display-table):
10033 * doc-view.el (doc-view-insert-image):
10034 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
10035 * ehelp.el (with-electric-help):
10036 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
10037 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
10038 * emacs-lisp/helper.el (Helper-help-scroller):
10039 * emulation/cua-base.el (cua--post-command-handler-1):
10040 * eshell/esh-mode.el (eshell-output-filter):
10041 * ffap.el (ffap-gnus-wrapper):
10042 * help-macro.el (make-help-screen):
10043 * hilit-chg.el (highlight-compare-buffers):
10044 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
10045 * hl-line.el (global-hl-line-highlight):
10046 * icomplete.el (icomplete-simple-completing-p):
10047 * isearch.el (isearch-done):
10048 * jit-lock.el (jit-lock-stealth-fontify):
10049 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
10050 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
10051 * mpc.el (mpc-tagbrowser, mpc):
10052 * net/rcirc.el (rcirc-any-buffer):
10053 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
10054 * play/landmark.el (landmark-max-width, landmark-max-height):
10055 * play/zone.el (zone):
10056 * progmodes/compile.el (compilation-goto-locus):
10057 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
10058 * progmodes/etags.el (find-tag-other-window):
10059 * progmodes/fortran.el (fortran-column-ruler):
10060 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
10061 * progmodes/verilog-mode.el (verilog-point-text):
10062 * reposition.el (reposition-window):
10063 * rot13.el (toggle-rot13-mode):
10064 * server.el (server-switch-buffer):
10065 * shell.el (shell-dynamic-complete-command)
10066 (shell-dynamic-complete-environment-variable):
10067 * simple.el (insert-buffer, set-selective-display)
10068 (delete-completion-window):
10069 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
10070 (speedbar-recenter):
10071 * startup.el (fancy-splash-head):
10072 * textmodes/ispell.el (ispell-command-loop):
10073 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
10074 * tutorial.el (help-with-tutorial):
10075 * vc/add-log.el (add-change-log-entry):
10076 * vc/compare-w.el (compare-windows):
10077 * vc/ediff-help.el (ediff-indent-help-message):
10078 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
10079 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
10080 (ediff-setup-control-frame):
10081 * vc/emerge.el (emerge-position-region):
10082 * vc/pcvs-util.el (cvs-bury-buffer):
10083 * window.el (walk-windows, mouse-autoselect-window-select):
10084 * winner.el (winner-set-conf, winner-undo): Related users changed.
10085
10086 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
10087
10088 * frameset.el (frameset--set-id): Doc fix.
10089 (frameset-frame-id, frameset-frame-id-equal-p)
10090 (frameset-locate-frame-id): New functions.
10091 (frameset--process-minibuffer-frames, frameset--reuse-frame)
10092 (frameset-restore): Use them.
10093
10094 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10095
10096 Do not call to `selected-frame' where it is assumed by default.
10097 Affected functions are `raise-frame', `redraw-frame',
10098 `frame-first-window', `frame-terminal' and `delete-frame'.
10099 * calendar/appt.el (appt-disp-window):
10100 * epg.el (epg-wait-for-completion):
10101 * follow.el (follow-delete-other-windows-and-split)
10102 (follow-avoid-tail-recenter):
10103 * international/mule.el (set-terminal-coding-system):
10104 * mail/rmail.el (rmail-mail-return):
10105 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
10106 * progmodes/f90.el (f90-add-imenu-menu):
10107 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
10108 * server.el (server-switch-buffer):
10109 * simple.el (delete-completion-window):
10110 * talk.el (talk):
10111 * term/xterm.el (terminal-init-xterm-modify-other-keys)
10112 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
10113 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
10114 * vc/ediff.el (ediff-documentation): Related users changed.
10115 * frame.el (selected-terminal): Remove the leftover.
10116
10117 2013-08-05 Glenn Morris <rgm@gnu.org>
10118
10119 * calendar/calendar.el (calendar-generate-month):
10120 Fix for calendar-column-width != 1 + calendar-day-digit-width.
10121 (calendar-generate-month, calendar-font-lock-keywords):
10122 Fix for calendar-day-header-width > length of any day name.
10123
10124 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
10125
10126 * desktop.el (desktop-clear): Use new name of sort predicate.
10127
10128 * frameset.el (frameset): Add docstring. Move :version property to its
10129 own `version' slot.
10130 (frameset-copy): Rename from copy-frameset.
10131 (frameset-p): Check more thoroughly.
10132 (frameset-prop): Do not check for :version, which is no longer a prop.
10133 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10134 Use new :never value instead of t.
10135 (frameset-filter-alist): Expand and clarify docstring.
10136 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
10137 (frameset-filter-minibuffer, frameset-filter-save-param)
10138 (frameset-filter-restore-param, frameset-filter-iconified):
10139 Add pointer to docstring of frameset-filter-alist.
10140 (frameset-filter-params): Rename filter values to be more meaningful:
10141 :never instead of t, and reverse the meanings of :save and :restore.
10142 (frameset--process-minibuffer-frames): Clarify error message.
10143 (frameset-save): Avoid unnecessary and confusing call to framep.
10144 Use new BOA constructor for framesets.
10145 (frameset--reuse-list): Doc fix.
10146 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
10147 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
10148 (frameset-minibufferless-first-p): Doc fix.
10149 Rename from frameset-sort-frames-for-deletion.
10150 (frameset-restore): Doc fixes. Use new function names.
10151 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10152
10153 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
10154
10155 * desktop.el (desktop-restore-forces-onscreen)
10156 (desktop-restore-reuses-frames): Document :keyword constant values.
10157 (desktop-filter-parameters-alist): Remove, now identical to
10158 frameset-filter-alist.
10159 (desktop--filter-tty*): Remove, moved to frameset.el.
10160 (desktop-save-frameset, desktop-restore-frameset):
10161 Do not pass :filters argument.
10162
10163 * frameset.el (frameset-live-filter-alist)
10164 (frameset-persistent-filter-alist): New variables.
10165 (frameset-filter-alist): Use them. Add autoload cookie.
10166 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
10167 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
10168 `frameset--id' (it's supposed to be internal to frameset.el).
10169 (frameset--process-minibuffer-frames): Ditto. Doc fix.
10170 (frameset--initial-params): New function.
10171 (frameset--get-frame): Use it. Doc fix.
10172 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
10173 Accept :all, not 'all.
10174 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
10175 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
10176 with fbound symbols. Fix frame id matching, and remove matching ids if
10177 the frame being restored is deleted. Obey :delete.
10178
10179 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10180
10181 * subr.el (macrop): New function.
10182 (text-clone--maintaining): New var.
10183 (text-clone--maintain): Rename from text-clone-maintain. Use it
10184 instead of inhibit-modification-hooks.
10185
10186 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
10187 a proxy, so as handle autoloads and redefinitions of the target.
10188 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
10189
10190 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
10191 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
10192 (pcase--mutually-exclusive-p): New function.
10193 (pcase--split-consp): Use it.
10194 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
10195 mutually exclusive with the current predicate.
10196
10197 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
10198 (edebug-macrop): Remove. Use `macrop' instead.
10199 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
10200 (ad-macro-p):
10201 * eshell/esh-cmd.el (eshell-macrop):
10202 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
10203
10204 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10205
10206 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
10207 (advice-mapc): New function, using it.
10208 (advice-function-member-p): New function.
10209 (advice--normalize): Store the cdr in advice--saved-rewrite since
10210 that's the part that will be changed.
10211 (advice--symbol-function): New function.
10212 (advice-remove): Handle removal before the function is defined.
10213 Adjust to new advice--saved-rewrite.
10214 (advice-member-p): Use advice-function-member-p and
10215 advice--symbol-function.
10216
10217 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
10218
10219 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
10220 (frameset-filter-minibuffer): Doc fix.
10221 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
10222 (frameset--set-id, frameset--process-minibuffer-frames)
10223 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
10224 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
10225
10226 * desktop.el (desktop-clear): Only delete frames when called
10227 interactively and desktop-restore-frames is non-nil. Doc fix.
10228 (desktop-read): Set desktop-saved-frameset to nil.
10229
10230 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
10231
10232 * vc/vc.el (vc-ignore): Rewrite.
10233 (vc-default-ignore-completion-table, vc--read-lines)
10234 (vc--add-line, vc--remove-regexp): New functions.
10235
10236 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
10237 (vc-svn-ignore-completion-table): New function.
10238
10239 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
10240 (vc-hg-ignore-completion-table)
10241 (vc-hg-find-ignore-file): New functions.
10242
10243 * vc/vc-git.el (vc-git-ignore): Rewrite.
10244 (vc-git-ignore-completion-table)
10245 (vc-git-find-ignore-file): New functions.
10246
10247 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
10248
10249 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
10250 (vc-bzr-ignore-completion-table)
10251 (vc-bzr-find-ignore-file): New functions.
10252
10253 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
10254
10255 * frameset.el (frameset-prop): New function and setter.
10256 (frameset-save): Do not modify frame list passed by the caller.
10257
10258 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10259
10260 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
10261
10262 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
10263
10264 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
10265 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
10266
10267 * custom.el (custom-initialize-default, custom-initialize-set)
10268 (custom-initialize-reset, custom-initialize-changed): Affect the
10269 toplevel-default-value (bug#6275, bug#14586).
10270 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
10271 for bug#6275.
10272
10273 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
10274
10275 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
10276 Add cl-def* expressions.
10277
10278 * frameset.el (frameset-filter-params): Fix order of arguments.
10279
10280 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
10281
10282 Move code related to saving frames to frameset.el.
10283 * desktop.el: Require frameset.
10284 (desktop-restore-frames): Doc fix.
10285 (desktop-restore-reuses-frames): Rename from
10286 desktop-restoring-reuses-frames.
10287 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
10288 (desktop-clear): Clear frames too.
10289 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
10290 (desktop--filter-tty*, desktop-save, desktop-read):
10291 Use frameset functions.
10292 (desktop-before-saving-frames-functions, desktop--filter-*-color)
10293 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
10294 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
10295 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
10296 (desktop--process-minibuffer-frames, desktop-save-frames)
10297 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
10298 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
10299 (desktop--sort-states, desktop-restoring-frames-p)
10300 (desktop-restore-frames): Remove. Most code moved to frameset.el.
10301 (desktop-restoring-frameset-p, desktop-restore-frameset)
10302 (desktop--check-dont-save, desktop-save-frameset): New functions.
10303 (desktop--app-id): New constant.
10304 (desktop-first-buffer, desktop-buffer-ok-count)
10305 (desktop-buffer-fail-count): Move before first use.
10306 * frameset.el: New file.
10307
10308 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
10309
10310 * files.el: Use lexical-binding.
10311 (dir-locals-read-from-file): Remove unused `err' variable.
10312 (hack-dir-local-variables--warned-coding): New var.
10313 (hack-dir-local-variables): Use it to avoid repeated warnings.
10314 (make-backup-file-name--default-function): New function.
10315 (make-backup-file-name-function): Use it as default.
10316 (buffer-stale--default-function): New function.
10317 (buffer-stale-function): Use it as default.
10318 (revert-buffer-insert-file-contents--default-function): New function.
10319 (revert-buffer-insert-file-contents-function): Use it as default.
10320 (insert-directory): Avoid add-to-list.
10321
10322 * autorevert.el (auto-revert-handler): Simplify.
10323 Use buffer-stale--default-function.
10324
10325 2013-08-01 Tassilo Horn <tsdh@gnu.org>
10326
10327 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
10328
10329 * whitespace.el (whitespace-ensure-local-variables): New function.
10330 (whitespace-cleanup-region): Call it.
10331 (whitespace-turn-on): Call it.
10332
10333 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
10334
10335 Complete file name handlers.
10336
10337 * net/tramp.el (tramp-handle-set-visited-file-modtime)
10338 (tramp-handle-verify-visited-file-modtime)
10339 (tramp-handle-file-notify-rm-watch): New functions.
10340 (tramp-call-process): Do not bind `default-directory'.
10341
10342 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10343 Order alphabetically.
10344 <access-file, add-name-to-file, dired-call-process>:
10345 <dired-compress-file, file-acl, file-notify-rm-watch>:
10346 <file-ownership-preserved-p, file-selinux-context>:
10347 <make-directory-internal, make-symbolic-link, set-file-acl>:
10348 <set-file-selinux-context, set-visited-file-modtime>:
10349 <verify-visited-file-modtime>: Add handler.
10350 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
10351
10352 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
10353 <file-notify-add-watch, file-notify-rm-watch>:
10354 <set-file-times, set-visited-file-modtime>:
10355 <verify-visited-file-modtime>: Add handler.
10356 (with-tramp-gvfs-error-message)
10357 (tramp-gvfs-handle-set-visited-file-modtime)
10358 (tramp-gvfs-fuse-file-name): Remove.
10359 (tramp-gvfs-handle-file-notify-add-watch)
10360 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
10361 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
10362
10363 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10364 Order alphabetically.
10365 <file-notify-rm-watch>: Use default Tramp handler.
10366 <executable-find>: Remove private handler.
10367 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
10368 `default-directory'.
10369 (tramp-sh-handle-executable-find)
10370 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
10371 (tramp-sh-file-gvfs-monitor-dir-process-filter)
10372 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
10373 Do not use `format' in `tramp-message'.
10374
10375 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
10376 <file-notify-rm-watch, set-visited-file-modtime>:
10377 <verify-visited-file-modtime>: Add handler.
10378 (tramp-smb-call-winexe): Do not bind `default-directory'.
10379
10380 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
10381
10382 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
10383
10384 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
10385
10386 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
10387 use it.
10388 (log-view-diff-changeset): Same.
10389 (log-view-diff-common): Call backend command `previous-revision'
10390 to find out the previous revision, in both cases. Swap the
10391 variables `to' and `fr', so that `fr' usually refers to the
10392 earlier revision (Bug#14989).
10393
10394 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
10395
10396 * ibuf-ext.el (ibuffer-filter-by-filename):
10397 Make it work with dired buffers too.
10398
10399 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
10400
10401 * emacs-lisp/re-builder.el (reb-color-display-p):
10402 * files.el (save-buffers-kill-terminal):
10403 * net/browse-url.el (browse-url):
10404 * server.el (server-save-buffers-kill-terminal):
10405 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
10406 Prefer nil to selected-frame for the first arg of frame-parameter.
10407
10408 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
10409
10410 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
10411
10412 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
10413
10414 * minibuffer.el (completion--twq-all): Try and preserve each
10415 completion's case choice (bug#14907).
10416
10417 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10418
10419 * net/network-stream.el (open-network-stream): Mention the new
10420 :nogreeting parameter.
10421 (network-stream-open-starttls): Use the :nogreeting parameter
10422 (bug#14938).
10423
10424 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
10425
10426 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
10427 more natural than popping.
10428
10429 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
10430 (shr-urlify): Highlight under mouse.
10431
10432 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10433
10434 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
10435
10436 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
10437
10438 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
10439 buffer for output.
10440
10441 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
10442 point-min==1. Fix search string. Fix parentheses missing.
10443
10444 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
10445 assume point-min==1. Fix search string. Fix parentheses missing.
10446
10447 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
10448
10449 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
10450 buffer for output.
10451
10452 2013-07-29 Eli Zaretskii <eliz@gnu.org>
10453
10454 * frame.el (frame-notice-user-settings): Avoid inflooping when the
10455 initial frame is minibuffer-less. (Bug#14841)
10456
10457 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
10458
10459 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
10460 option.
10461
10462 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10463 (tramp-maybe-open-connection): Use it.
10464
10465 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
10466
10467 * desktop.el (desktop--make-frame): Include `minibuffer' in the
10468 minimal set of parameters passed when creating a frame, because
10469 the minibuffer status of a frame cannot be changed later.
10470
10471 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
10472
10473 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
10474 replace-regexp-in-string and inadvertent omissions in previous change.
10475 (todo-filter-items): Ensure only file names are comma-separated in
10476 name of filtered items buffer.
10477
10478 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
10479
10480 * desktop.el: Optionally force offscreen frames back onscreen.
10481 (desktop-restoring-reuses-frames): New option.
10482 (desktop--compute-pos, desktop--move-onscreen): New functions.
10483 (desktop--make-frame): Use desktop--move-onscreen.
10484
10485 2013-07-27 Alan Mackenzie <acm@muc.de>
10486
10487 Fontify a Java generic method as a function.
10488 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
10489 value to t.
10490
10491 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
10492
10493 * calendar/todo-mode.el: Add command to rename todo files.
10494 (todo-rename-file): New command.
10495 (todo-key-bindings-t): Add key binding for it. Change the
10496 bindings of todo-filter-regexp-items(-multifile) to use `x'
10497 instead of `r', since the latter is better suited to the new
10498 renaming command.
10499
10500 2013-07-27 Alan Mackenzie <acm@muc.de>
10501
10502 Make Java try-with-resources statement parse properly.
10503 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
10504 (c-block-stmt-1-2-key): New language constants/variables.
10505 * progmodes/cc-engine.el (c-beginning-of-statement-1)
10506 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
10507 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
10508 with c-block-stmt-1-2-key.
10509
10510 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
10511
10512 * desktop.el (desktop--make-frame): Apply most frame parameters after
10513 creating the frame to force (partially or totally) offscreen frames to
10514 be restored as such.
10515
10516 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
10517
10518 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
10519 (Bug#14948)
10520
10521 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10522
10523 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
10524 `base' arg of backtrace-frame.
10525
10526 2013-07-26 Eli Zaretskii <eliz@gnu.org>
10527
10528 * simple.el (list-processes): Doc fix.
10529
10530 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
10531
10532 * desktop.el (desktop--select-frame):
10533 Try harder to reuse existing frames.
10534
10535 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10536
10537 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
10538 (edebug-eval): Use backtrace-eval.
10539 (edebug--display, edebug--recursive-edit): Don't let-bind the
10540 edebug-outer-* vars that keep track of variables we locally let-bind.
10541 (edebug-outside-excursion): Don't restore outside values of locally
10542 let-bound vars.
10543 (edebug--display): Use user-error.
10544 (cl-lexical-debug, cl-debug-env): Remove.
10545
10546 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
10547
10548 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
10549 are restored to be sure that they are visible before deleting any
10550 remaining ones.
10551
10552 2013-07-26 Matthias Meulien <orontee@gmail.com>
10553
10554 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
10555 vc-print-root-log. (Bug#14948)
10556
10557 2013-07-26 Richard Stallman <rms@gnu.org>
10558
10559 Add aliases for encrypting mail.
10560 * epa.el (epa-mail-aliases): New option.
10561 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
10562 Bind inhibit-read-only so read-only text doesn't ruin everything.
10563 (epa-mail-default-recipients): New subroutine broken out.
10564 Handle epa-mail-aliases.
10565
10566 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10567
10568 Add support for lexical variables to the debugger's `e' command.
10569 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
10570 vars, except for debugger-outer-match-data.
10571 (debugger-frame-number): Move check for "on a function call" from
10572 callers into it. Add `skip-base' argument.
10573 (debugger-frame, debugger-frame-clear): Simplify accordingly.
10574 (debugger-env-macro): Only reset the state stored in non-variables,
10575 i.e. current-buffer and match-data.
10576 (debugger-eval-expression): Rewrite using backtrace-eval.
10577 * subr.el (internal--called-interactively-p--get-frame): Remove.
10578 (called-interactively-p):
10579 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
10580 `base' arg of backtrace-frame instead.
10581
10582 2013-07-26 Glenn Morris <rgm@gnu.org>
10583
10584 * align.el (align-regexp): Doc fix. (Bug#14857)
10585 (align-region): Explicit error if subexpression missing/does not match.
10586
10587 * simple.el (global-visual-line-mode):
10588 Do not duplicate the mode lighter. (Bug#14858)
10589
10590 2013-07-25 Martin Rudalics <rudalics@gmx.at>
10591
10592 * window.el (display-buffer): In display-buffer bind
10593 split-window-keep-point to t, bug#14829.
10594
10595 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
10596
10597 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
10598 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
10599 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
10600 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10601 Change accordingly.
10602 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10603 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
10604
10605 2013-07-25 Glenn Morris <rgm@gnu.org>
10606
10607 * dired-x.el (dired-mark-extension): Convert comment to doc string.
10608
10609 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
10610
10611 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
10612 parameter to modify-frame-parameters if the value has not changed;
10613 this is a workaround for bug#14949.
10614 (desktop--make-frame): On cl-delete-if call, check parameter name,
10615 not full parameter.
10616
10617 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10618
10619 * vc/vc.el (vc-ignore): New function.
10620
10621 * vc/vc-svn.el (vc-svn-ignore): New function.
10622
10623 * vc/vc-hg.el (vc-hg-ignore): New function.
10624
10625 * vc/vc-git.el (vc-git-ignore): New function.
10626
10627 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
10628 (vc-dir-ignore): New function.
10629
10630 * vc/vc-cvs.el (vc-cvs-ignore): New function.
10631 (cvs-append-to-ignore): Move here from pcvs.el.
10632
10633 * vc/vc-bzr.el (vc-bzr-ignore): New function.
10634
10635 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
10636
10637 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
10638
10639 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
10640 (desktop-restore-frames): Warn when deleting an existing frame failed.
10641
10642 2013-07-24 Glenn Morris <rgm@gnu.org>
10643
10644 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
10645
10646 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
10647
10648 * filenotify.el (file-notify-supported-p):
10649 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
10650 Remove functions.
10651
10652 * autorevert.el (auto-revert-use-notify)
10653 (auto-revert-notify-add-watch):
10654 * net/tramp.el (tramp-file-name-for-operation):
10655 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10656 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10657 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10658 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
10659 Remove `file-notify-supported-p' entry.
10660
10661 2013-07-24 Glenn Morris <rgm@gnu.org>
10662
10663 * printing.el: Replace all uses of deleted ps-windows-system,
10664 ps-lp-system, ps-flatten-list with lpr- versions.
10665
10666 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
10667
10668 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
10669 checked with memq (bug#14935).
10670
10671 * files.el (revert-buffer-function): Use a non-nil default.
10672 (revert-buffer-preserve-modes): Declare var to
10673 provide access to the `preserve-modes' argument.
10674 (revert-buffer): Let-bind it.
10675 (revert-buffer--default): New function, extracted from revert-buffer.
10676
10677 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
10678
10679 * lpr.el: Signal print errors more prominently.
10680 (print-region-function): Don't default to nil.
10681 (lpr-print-region): New function, extracted from print-region-1.
10682 Check lpr's return value and signal an error in case of problem.
10683 (print-region-1): Use it.
10684 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
10685 versions instead.
10686 (ps-printer-name): Default to nil.
10687 (ps-printer-name-option): Default to lpr-printer-switch.
10688 (ps-print-region-function): Don't default to nil.
10689 (ps-postscript-code-directory): Simplify default.
10690 (ps-do-despool): Use lpr-print-region to properly check the outcome.
10691 (ps-string-list, ps-eval-switch, ps-flatten-list)
10692 (ps-flatten-list-1): Remove.
10693 (ps-multibyte-buffer): Avoid setq.
10694 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
10695 (print-region-function, ps-print-region-function): Don't set them here.
10696
10697 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
10698
10699 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
10700 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
10701 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
10702 (ido-decorations): Doc fix.
10703
10704 * ansi-color.el: Fix old URL.
10705
10706 2013-07-23 Michael R. Mauger <michael@mauger.com>
10707
10708 * progmodes/sql.el: Version 3.3
10709 (sql-product-alist): Improve oracle :prompt-cont-regexp.
10710 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
10711 (sql-interactive-remove-continuation-prompt): Rewrite, use
10712 functions above. Fix continuation prompt and complete output line
10713 handling.
10714 (sql-redirect-one, sql-execute): Use `read-only-mode' on
10715 redirected output buffer.
10716 (sql-mode): Restore deleted code (Bug#13591).
10717
10718 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
10719
10720 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
10721
10722 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
10723
10724 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
10725
10726 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10727 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10728 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
10729
10730 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
10731
10732 * desktop.el (desktop-clear): Simplify; remove useless checks
10733 against invalid buffer names.
10734 (desktop-list*): Use cl-list*.
10735 (desktop-buffer-info, desktop-create-buffer): Simplify.
10736
10737 2013-07-23 Leo Liu <sdl.web@gmail.com>
10738
10739 * bookmark.el (bookmark-make-record): Restore NAME as a default
10740 value. (Bug#14933)
10741
10742 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
10743
10744 * emacs-lisp/autoload.el (autoload--setup-output): New function,
10745 extracted from autoload--insert-text.
10746 (autoload--insert-text): Remove.
10747 (autoload--print-cookie-text): New function, extracted from
10748 autoload--insert-cookie-text.
10749 (autoload--insert-cookie-text): Remove.
10750 (autoload-generate-file-autoloads): Adjust calls accordingly.
10751
10752 * winner.el (winner-hook-installed-p): Remove.
10753 (winner-mode): Simplify accordingly.
10754
10755 * subr.el (add-to-list): Fix compiler-macro when `append' is
10756 not constant. Don't use `cl-member' for the base case.
10757
10758 * progmodes/subword.el: Fix boundary case (bug#13758).
10759 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
10760 own group.
10761 (subword-backward-regexp): Make it a constant.
10762 (subword-forward-internal): Don't treat a trailing capital as the
10763 beginning of a word.
10764
10765 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
10766
10767 * emacs-lisp/package.el (package-menu-mode): Don't modify the
10768 global value of tabulated-list-revert-hook (bug#14930).
10769
10770 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
10771
10772 * desktop.el: Require 'cl-lib.
10773 (desktop-before-saving-frames-functions): New hook.
10774 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
10775 for frames being saved. Rename from desktop--save-minibuffer-frames.
10776 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
10777 Do not save frames with non-nil `desktop-dont-save' parameter.
10778 Filter out deleted frames.
10779 (desktop--find-frame): Use cl-find-if.
10780 (desktop--select-frame): Use cl-(first|second|third) to access values
10781 of desktop-mini.
10782 (desktop--make-frame): Use cl-delete-if.
10783 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
10784 (desktop-restore-frames): Use cl-(first|second|third) to access values
10785 of desktop-mini. Look for visible frame at the end, not while
10786 restoring frames.
10787
10788 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
10789 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
10790 Use string-match-p, looking-at-p (bug#14927).
10791
10792 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
10793
10794 * desktop.el (desktop-saved-frame-states):
10795 Rename from desktop--saved-states; all users changed.
10796 (desktop-save-frames): Rename from desktop--save-frames.
10797 Do not save state to desktop file.
10798 (desktop-save): Save desktop-saved-frame-states to desktop file
10799 and reset to nil.
10800 (desktop-restoring-frames-p): New function.
10801 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
10802 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
10803 buffer-lists when restoring frames. Suggested by Martin Rudalics.
10804
10805 * desktop.el: Correctly restore iconified frames.
10806 (desktop--filter-iconified-position): New function.
10807 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
10808
10809 2013-07-20 Glenn Morris <rgm@gnu.org>
10810
10811 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
10812 Let `message' do the formatting.
10813 (def-gdb-preempt-display-buffer): Add explicit format.
10814
10815 * image-dired.el (image-dired-track-original-file):
10816 Use with-current-buffer.
10817 (image-dired-track-thumbnail): Use with-current-buffer.
10818 Avoid changing point of wrong window.
10819
10820 * image-dired.el (image-dired-track-original-file):
10821 Avoid changing point of wrong window. (Bug#14909)
10822
10823 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
10824
10825 * progmodes/gdb-mi.el (gdb-done-or-error):
10826 Guard against "%" in gdb output. (Bug#14127)
10827
10828 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
10829
10830 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
10831 (Bug#14826)
10832
10833 * international/mule.el (coding-system-iso-2022-flags): Fix last
10834 change.
10835
10836 2013-07-20 Kenichi Handa <handa@gnu.org>
10837
10838 * international/mule.el (coding-system-iso-2022-flags):
10839 Add `8-bit-level-4'. (Bug#8522)
10840
10841 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10842
10843 * net/shr.el (shr-mouse-browse-url): New command and keystroke
10844 (bug#14815).
10845
10846 * net/eww.el (eww-process-text-input): Allow inputting when the
10847 point is at the start of the line, as the properties aren't
10848 front-sticky.
10849
10850 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
10851 degenerate widths.
10852
10853 2013-07-19 Richard Stallman <rms@gnu.org>
10854
10855 * epa.el (epa-popup-info-window): Doc fix.
10856
10857 * subr.el (split-string): New arg TRIM.
10858
10859 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
10860
10861 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
10862 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
10863
10864 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
10865
10866 * filenotify.el (file-notify--library): Rename from
10867 `file-notify-support'. Do not autoload. Adapt all uses.
10868 (file-notify-supported-p): New defun.
10869
10870 * autorevert.el (auto-revert-use-notify):
10871 Use `file-notify-supported-p' instead of `file-notify-support'.
10872 Adapt docstring.
10873 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
10874
10875 * net/tramp.el (tramp-file-name-for-operation):
10876 Add `file-notify-supported-p'.
10877
10878 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
10879 New defun.
10880 (tramp-sh-file-name-handler-alist): Add it as handler for
10881 `file-notify-supported-p '.
10882
10883 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10884 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10885 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
10886 Add `ignore' as handler for `file-notify-*' functions.
10887
10888 2013-07-17 Eli Zaretskii <eliz@gnu.org>
10889
10890 * simple.el (line-move-partial, line-move): Don't start vscroll or
10891 scroll-up if the current line is not taller than the window.
10892 (Bug#14881)
10893
10894 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
10895
10896 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
10897 highlight question marks in the method names as strings.
10898 (ruby-block-beg-keywords): Inline.
10899 (ruby-font-lock-keyword-beg-re): Extract from
10900 `ruby-font-lock-keywords'.
10901
10902 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
10903
10904 * frame.el (blink-cursor-blinks): New defcustom.
10905 (blink-cursor-blinks-done): New defvar.
10906 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
10907 (blink-cursor-timer-function): Check if number of blinks has been
10908 done on X and NS.
10909 (blink-cursor-suspend, blink-cursor-check): New defuns.
10910
10911 2013-07-15 Glenn Morris <rgm@gnu.org>
10912
10913 * edmacro.el (edmacro-format-keys): Fix previous change.
10914
10915 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
10916
10917 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
10918 The hack didn't work outside English locales anyway.
10919
10920 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
10921
10922 * simple.el (define-alternatives): Rename from alternatives-define,
10923 per RMS' suggestion.
10924
10925 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
10926
10927 * desktop.el (desktop-restore-frames): Change default to t.
10928 (desktop-restore-in-current-display): Now offer more options.
10929 (desktop-restoring-reuses-frames): New customization option.
10930 (desktop--saved-states): Doc fix.
10931 (desktop-filter-parameters-alist): New variable, renamed and expanded
10932 from desktop--excluded-frame-parameters.
10933 (desktop--target-display): New variable.
10934 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
10935 (desktop--filter-tty*, desktop--filter-*-color)
10936 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
10937 (desktop--filter-save-desktop-parm)
10938 (desktop-restore-in-original-display-p): New functions.
10939 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
10940 (desktop--save-minibuffer-frames): New function, inspired by a similar
10941 function from Martin Rudalics.
10942 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
10943 (desktop--restore-in-this-display-p): Remove.
10944 (desktop--find-frame): Rename from desktop--find-frame-in-display
10945 and add predicate argument.
10946 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
10947 (desktop--reuse-list): New variable.
10948 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
10949 New functions.
10950 (desktop--restore-frames): Add support for "minibuffer-special" frames.
10951
10952 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
10953
10954 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
10955
10956 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
10957
10958 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
10959 Highlight conversion methods on Kernel.
10960
10961 2013-07-13 Alan Mackenzie <acm@muc.de>
10962
10963 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
10964 and comment it out. This out-commenting enables certain C++
10965 declarations to be parsed correctly.
10966
10967 2013-07-13 Eli Zaretskii <eliz@gnu.org>
10968
10969 * international/mule.el (define-coding-system): Doc fix.
10970
10971 * simple.el (default-font-height): Don't call font-info if the
10972 frame's default font didn't change since the frame was created.
10973 (Bug#14838)
10974
10975 2013-07-13 Leo Liu <sdl.web@gmail.com>
10976
10977 * ido.el (ido-read-file-name): Guard against non-symbol value.
10978
10979 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
10980
10981 * progmodes/python.el (python-imenu--build-tree): Fix corner case
10982 in nested defuns.
10983
10984 2013-07-13 Leo Liu <sdl.web@gmail.com>
10985
10986 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
10987 ido-set-matches call. (Bug#6852)
10988
10989 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
10990
10991 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
10992 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
10993 Ruby 2.0.
10994 (ruby-font-lock-keywords): Distinguish calls to functions with
10995 module-like names from module references. Highlight character
10996 literals.
10997
10998 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
10999
11000 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
11001 (gdb-send): Handle continued commands. (Bug#14847)
11002
11003 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11004
11005 * desktop.el (desktop--v2s): Remove unused local variable.
11006 (desktop-save-buffer): Make defvar-local; adjust docstring.
11007 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
11008 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
11009
11010 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
11011
11012 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
11013
11014 2013-07-12 Eli Zaretskii <eliz@gnu.org>
11015
11016 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
11017 (Bug#14842)
11018
11019 2013-07-12 Glenn Morris <rgm@gnu.org>
11020
11021 * doc-view.el: Require cl-lib at runtime too.
11022 (doc-view-remove-if): Remove.
11023 (doc-view-search-next-match, doc-view-search-previous-match):
11024 Use cl-remove-if.
11025
11026 * edmacro.el: Require cl-lib at runtime too.
11027 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
11028 (edmacro-mismatch, edmacro-subseq): Remove.
11029
11030 * shadowfile.el: Require cl-lib.
11031 (shadow-remove-if): Remove.
11032 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
11033 Use cl-remove-if.
11034
11035 * wid-edit.el: Require cl-lib.
11036 (widget-choose): Use cl-remove-if.
11037 (widget-remove-if): Remove.
11038
11039 * progmodes/ebrowse.el: Require cl-lib at runtime too.
11040 (ebrowse-delete-if-not): Remove.
11041 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
11042 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
11043 Use cl-delete-if-not.
11044
11045 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11046
11047 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
11048 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
11049
11050 2013-07-12 Leo Liu <sdl.web@gmail.com>
11051
11052 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
11053
11054 2013-07-11 Glenn Morris <rgm@gnu.org>
11055
11056 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
11057 (edebug-gensym-index, edebug-gensym):
11058 Remove reimplementation of cl-gensym.
11059 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
11060
11061 * thumbs.el: Require cl-lib at run-time too.
11062 (thumbs-gensym-counter, thumbs-gensym):
11063 Remove reimplementation of cl-gensym.
11064 (thumbs-temp-file): Use cl-gensym.
11065
11066 * emacs-lisp/ert.el: Require cl-lib at runtime too.
11067 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
11068 (ert--intersection, ert--set-difference, ert--set-difference-eq)
11069 (ert--union, ert--gensym-counter, ert--gensym-counter)
11070 (ert--coerce-to-vector, ert--remove*, ert--string-position)
11071 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
11072 (ert-make-test-unbound, ert--expand-should-1)
11073 (ert--expand-should, ert--should-error-handle-error)
11074 (should-error, ert--explain-equal-rec)
11075 (ert--plist-difference-explanation, ert-select-tests)
11076 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
11077 Use cl-lib functions rather than reimplementations.
11078
11079 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
11080
11081 * net/tramp.el (tramp-methods): Extend docstring.
11082 (tramp-connection-timeout): New defcustom.
11083 (tramp-error-with-buffer): Reset timestamp only when appropriate.
11084 (with-tramp-progress-reporter): Simplify.
11085 (tramp-process-actions): Improve messages.
11086
11087 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
11088 * net/tramp-sh.el (tramp-maybe-open-connection):
11089 Use `tramp-connection-timeout'.
11090 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
11091 (Bug#14808)
11092
11093 2013-07-11 Leo Liu <sdl.web@gmail.com>
11094
11095 * ido.el (ido-read-file-name): Conform to the requirements of
11096 read-file-name. (Bug#11861)
11097 (ido-read-directory-name): Conform to the requirements of
11098 read-directory-name.
11099
11100 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
11101
11102 * subr.el (delay-warning): New function.
11103
11104 2013-07-10 Eli Zaretskii <eliz@gnu.org>
11105
11106 * simple.el (default-line-height): New function.
11107 (line-move-partial, line-move): Use it instead of computing the
11108 line height inline.
11109 (line-move-partial): Always compute ROWH. If the last line is
11110 partially-visible, but its text is completely visible, allow
11111 cursor to enter such a partially-visible line.
11112
11113 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
11114
11115 Improve error messages. (Bug#14808)
11116
11117 * net/tramp.el (tramp-current-connection): New defvar, moved from
11118 tramp-sh.el.
11119 (tramp-message-show-progress-reporter-message): Remove, not
11120 needed anymore.
11121 (tramp-error-with-buffer): Show message in minibuffer.
11122 Discard input before waiting. Reset connection timestamp.
11123 (with-tramp-progress-reporter): Improve messages.
11124 (tramp-process-actions): Use progress reporter. Delete process in
11125 case of error. Improve messages.
11126
11127 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
11128 Call `tramp-error-with-buffer' with vector and buffer.
11129 (tramp-current-connection): Remove.
11130 (tramp-maybe-open-connection): The car of
11131 `tramp-current-connection' are the first 3 slots of the vector.
11132
11133 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
11134
11135 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
11136 inside continued strings.
11137
11138 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
11139
11140 Timestamp fixes for undo (Bug#14824).
11141 * files.el (clear-visited-file-modtime): Move here from fileio.c.
11142
11143 2013-07-10 Leo Liu <sdl.web@gmail.com>
11144
11145 * files.el (require-final-newline): Allow safe local value.
11146 (Bug#14834)
11147
11148 2013-07-09 Leo Liu <sdl.web@gmail.com>
11149
11150 * ido.el (ido-read-directory-name): Handle fallback.
11151 (ido-read-file-name): Update DIR to ido-current-directory.
11152 (Bug#1516)
11153 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
11154
11155 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
11156
11157 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
11158 "autoload". Remove "warn lower camel case" section, previously
11159 commented out. Highlight negation char. Do not highlight the
11160 target in singleton method definitions.
11161
11162 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11163
11164 * faces.el (tty-setup-hook): Declare the hook.
11165
11166 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
11167 and detect when a guard/pred depends on local vars (bug#14773).
11168 (pcase--u1): Adjust caller.
11169
11170 2013-07-08 Eli Zaretskii <eliz@gnu.org>
11171
11172 * simple.el (line-move-partial, line-move): Account for
11173 line-spacing.
11174 (line-move-partial): Avoid setting vscroll when the last
11175 partially-visible line in window is of default height.
11176
11177 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
11178
11179 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
11180 been used a while.
11181
11182 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
11183
11184 * subr.el (read-quoted-char): Remove unused local variable `char'.
11185
11186 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
11187
11188 * ediff.el (ediff-version): Version update.
11189 (ediff-files-command, ediff3-files-command, ediff-merge-command)
11190 (ediff-merge-with-ancestor-command, ediff-directories-command)
11191 (ediff-directories3-command, ediff-merge-directories-command)
11192 (ediff-merge-directories-with-ancestor-command): New functions.
11193 All are command-line interfaces to ediff: to facilitate calling
11194 Emacs with the appropriate ediff functions invoked.
11195
11196 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
11197 (viper-save-kill-buffer): Check if buffer is modified.
11198
11199 * viper.el (viper-version): Version update.
11200 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
11201
11202 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
11203
11204 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
11205 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
11206 (viper-intercept-ESC-key): Simplify.
11207 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
11208 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
11209 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
11210 (viper-setup-ESC-to-escape): New functions.
11211 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
11212 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
11213
11214 2013-07-07 Eli Zaretskii <eliz@gnu.org>
11215
11216 * simple.el (default-font-height, window-screen-lines):
11217 New functions.
11218 (line-move, line-move-partial): Use them instead of
11219 frame-char-height and window-text-height. This makes scrolling
11220 text smoother when the buffer's default face uses a font that is
11221 different from the frame's default font.
11222
11223 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
11224
11225 * files.el (write-file): Do not display confirm dialog for NS,
11226 it does its own dialog, which can't be canceled (Bug#14578).
11227
11228 2013-07-06 Eli Zaretskii <eliz@gnu.org>
11229
11230 * simple.el (line-move-partial): Adjust the row returned by
11231 posn-at-point for the current window-vscroll. (Bug#14567)
11232
11233 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
11234
11235 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
11236 (tramp-sh-file-inotifywait-process-filter): Handle file names with
11237 spaces.
11238
11239 2013-07-06 Martin Rudalics <rudalics@gmx.at>
11240
11241 * window.el (window-state-put-stale-windows): New variable.
11242 (window--state-put-2): Save list of windows without matching buffer.
11243 (window-state-put): Remove "bufferless" windows if possible.
11244
11245 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
11246
11247 * simple.el (alternatives-define): Remove leftover :group keyword.
11248 Tweak docstring.
11249
11250 2013-07-06 Leo Liu <sdl.web@gmail.com>
11251
11252 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
11253 (ido-enable-virtual-buffers): New variable.
11254 (ido-buffer-internal, ido-toggle-virtual-buffers)
11255 (ido-make-buffer-list): Use it.
11256 (ido-exhibit): Support turning on and off virtual buffers
11257 automatically.
11258
11259 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
11260
11261 * simple.el (alternatives-define): New macro.
11262
11263 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
11264
11265 * subr.el (read-quoted-char): Use read-key.
11266 (sit-for): Let read-event decode tty input (bug#14782).
11267
11268 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
11269
11270 * calendar/todo-mode.el: Add handling of file deletion, both by
11271 mode command and externally. Fix various related bugs.
11272 Clarify Commentary and improve some documentation strings and code.
11273 (todo-delete-file): New command.
11274 (todo-check-file): New function.
11275 (todo-show): Handle external deletion of the file we're trying to
11276 show (bug#14688). Replace called-interactively-p by an optional
11277 prefix argument to avoid problematic interaction with catch form
11278 when byte compiled (bug#14702).
11279 (todo-quit): Handle external deletion of the archive's todo file.
11280 Make sure the buffer that was visiting the archive file is still
11281 live before trying to bury it.
11282 (todo-category-completions): Handle external deletion of any
11283 category completion files.
11284 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
11285 of todo files, in case of external deletion.
11286 (todo-add-file): Replace unnecessary setq by let-binding.
11287 (todo-find-archive): Check whether there are any archives.
11288 Replace unnecessary setq by let-binding.
11289 (todo-archive-done-item): Use find-file-noselect to get the
11290 archive buffer whether or not the archive already exists.
11291 Remove superfluous code. Use file size instead of buffer-file-name to
11292 check if the archive is new; if it is, update list of archives.
11293 (todo-default-todo-file): Allow nil to be a valid value for when
11294 there are no todo files.
11295 (todo-reevaluate-default-file-defcustom): Use corrected definition
11296 of todo-default-todo-file.
11297 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
11298 (todo-delete-category, todo-show-categories-table)
11299 (todo-category-number): Clarify comment.
11300 (todo-filter-items): Clarify documentation string.
11301 (todo-show-current-file, todo-display-as-todo-file)
11302 (todo-reset-and-enable-done-separator): Tweak documentation string.
11303 (todo-done-separator): Make separator length window-width, since
11304 bug#2749 is now fixed.
11305
11306 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
11307
11308 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
11309 Support both "gvfs-monitor-dir" and "inotifywait".
11310 (tramp-sh-file-inotifywait-process-filter): Rename from
11311 `tramp-sh-file-notify-process-filter'.
11312 (tramp-sh-file-gvfs-monitor-dir-process-filter)
11313 (tramp-get-remote-gvfs-monitor-dir): New defuns.
11314
11315 2013-07-05 Leo Liu <sdl.web@gmail.com>
11316
11317 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
11318
11319 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11320
11321 * frame.el (display-pixel-height, display-pixel-width)
11322 (display-mm-height, display-mm-width): Mention behavior on
11323 multi-monitor setups in docstrings.
11324 (w32-display-monitor-attributes-list): Declare function.
11325 (display-monitor-attributes-list): Use it.
11326
11327 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
11328
11329 * filenotify.el: New package.
11330
11331 * autorevert.el (top): Require filenotify.el.
11332 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
11333 instead.
11334 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11335 (auto-revert-notify-handler): Use `file-notify-*' functions.
11336
11337 * subr.el (file-notify-handle-event): Move function to filenotify.el.
11338
11339 * net/tramp.el (tramp-file-name-for-operation):
11340 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
11341
11342 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
11343 for `file-notify-add-watch' and `file-notify-rm-watch'.
11344 (tramp-process-sentinel): Improve trace.
11345 (tramp-sh-handle-file-notify-add-watch)
11346 (tramp-sh-file-notify-process-filter)
11347 (tramp-sh-handle-file-notify-rm-watch)
11348 (tramp-get-remote-inotifywait): New defuns.
11349
11350 2013-07-03 Juri Linkov <juri@jurta.org>
11351
11352 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
11353 call of `occur-read-primary-args' to interactive spec.
11354
11355 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
11356 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
11357
11358 2013-07-03 Matthias Meulien <orontee@gmail.com>
11359
11360 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
11361 `Buffer-menu-multi-occur'. Add it to the menu.
11362 (Buffer-menu-mode): Document it in docstring.
11363 (Buffer-menu-multi-occur): New command. (Bug#14673)
11364
11365 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11366
11367 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
11368 keywords and built-ins.
11369
11370 2013-07-03 Glenn Morris <rgm@gnu.org>
11371
11372 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
11373
11374 Make info-xref checks case-sensitive by default
11375 * info.el (Info-find-node, Info-find-in-tag-table)
11376 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
11377 Add option for exact case matching of nodes.
11378 * info-xref.el (info-xref): New custom group.
11379 (info-xref-case-fold): New option.
11380 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
11381
11382 2013-07-03 Leo Liu <sdl.web@gmail.com>
11383
11384 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
11385
11386 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11387
11388 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
11389 middle of block statement initially, lower the depth. Remove
11390 FIXME comment, not longer valid. Remove middle of block statement
11391 detection, no need to do that anymore since we've been using
11392 `ruby-parse-region' here.
11393
11394 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
11395
11396 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
11397
11398 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
11399
11400 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
11401
11402 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
11403
11404 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
11405 (desktop-restore-in-current-display): New customization option.
11406 (desktop--excluded-frame-parameters): Add `font'.
11407 (desktop--save-frames): Rename from desktop--save-windows.
11408 (desktop--restore-in-this-display-p): New function.
11409 (desktop--make-full-frame): Remove unwanted width/height from
11410 full(width|height) frames.
11411 (desktop--restore-frames): Rename from desktop--restore-windows.
11412 Obey desktop-restore-current-display. Do not delete old frames or
11413 select a new frame unless we were able to restore at least one frame.
11414
11415 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
11416
11417 * files.el (find-file-noselect): Simplify conditional expression.
11418
11419 * textmodes/remember.el (remember-append-to-file):
11420 Don't mix `find-buffer-visiting' and `get-file-buffer'.
11421
11422 Add `remember-notes' function to store random notes across Emacs
11423 restarts.
11424 * textmodes/remember.el (remember-data-file): Add :set callback to
11425 affect notes buffer (if any).
11426 (remember-notes): New command.
11427 (remember-notes-buffer-name, bury-remember-notes-on-kill):
11428 New defcustoms for the `remember-notes' function.
11429 (remember-notes-save-and-bury-buffer): New command.
11430 (remember-notes-mode-map): New variable.
11431 (remember-mode): New minor mode.
11432 (remember-notes--kill-buffer-query): New function.
11433 * startup.el (initial-buffer-choice): Add notes to custom type.
11434
11435 2013-06-30 Eli Zaretskii <eliz@gnu.org>
11436
11437 * bindings.el (right-char, left-char): Don't call sit-for, this is
11438 no longer needed. Use arithmetic comparison only for numerical
11439 arguments.
11440
11441 * international/mule-cmds.el (select-safe-coding-system):
11442 Handle the case of FROM being a string correctly. (Bug#14755)
11443
11444 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11445
11446 * net/shr.el (shr-make-table-1): Add a sanity check that allows
11447 progression on degenerate tables.
11448 (shr-rescale-image): ImageMagick animated images currently don't work.
11449
11450 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
11451
11452 Some fixes and improvements for desktop frame restoration.
11453 It is still experimental and disabled by default.
11454 * desktop.el (desktop--save-windows): Put the selected frame at
11455 the head of the list.
11456 (desktop--make-full-frame): New function.
11457 (desktop--restore-windows): Try to re-select the frame that was
11458 selected upon saving. Do not abort if some frames fail to restore,
11459 just show an error message and continue. Set up maximized frames
11460 so they have default non-maximized dimensions.
11461
11462 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
11463
11464 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
11465 Don't start heredoc inside a string or comment.
11466
11467 2013-06-29 Eli Zaretskii <eliz@gnu.org>
11468
11469 * bindings.el (visual-order-cursor-movement): New defcustom.
11470 (right-char, left-char): Provide visual-order cursor motion by
11471 calling move-point-visually. Update the doc strings.
11472
11473 2013-06-28 Kenichi Handa <handa@gnu.org>
11474
11475 * international/mule.el (define-coding-system): New coding system
11476 properties :inhibit-null-byte-detection,
11477 :inhibit-iso-escape-detection, and :prefer-utf-8.
11478 (set-buffer-file-coding-system): If :charset-list property of
11479 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
11480 appropriate for setting.
11481
11482 * international/mule-cmds.el (select-safe-coding-system):
11483 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
11484 multibyte characters, return utf-8 (or one of its siblings).
11485
11486 * international/mule-conf.el (prefer-utf-8): New coding system.
11487 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
11488 files.
11489
11490 2013-06-28 Ivan Kanis <ivan@kanis.fr>
11491
11492 * net/shr.el (shr-render-region): New function.
11493
11494 * net/eww.el: Autoload `eww-browse-url'.
11495
11496 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
11497
11498 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11499 Adapt to `package-desc-version' being a list.
11500 Use `package--ac-desc-version' to retrieve version from a package
11501 archive element.
11502
11503 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
11504
11505 New experimental feature to save&restore window and frame setup.
11506 * desktop.el (desktop-save-windows): New defcustom.
11507 (desktop--saved-states): New var.
11508 (desktop--excluded-frame-parameters): New defconst.
11509 (desktop--filter-frame-parms, desktop--find-frame-in-display)
11510 (desktop--restore-windows, desktop--save-windows): New functions.
11511 (desktop-save): Call `desktop--save-windows'.
11512 (desktop-read): Call `desktop--restore-windows'.
11513
11514 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11515
11516 * net/shr.el (add-face-text-property): Remove compat definition.
11517
11518 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
11519
11520 * info.el (Info-try-follow-nearest-node): Move search for footnote
11521 above search for node name to prevent missing a footnote (bug#14717).
11522
11523 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
11524
11525 * obsolete/otodo-mode.el: Add obsolescence info to file header.
11526
11527 2013-06-27 Leo Liu <sdl.web@gmail.com>
11528
11529 * net/eww.el (eww-read-bookmarks): Check file size.
11530
11531 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11532
11533 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
11534 advice--pending if newdef is nil or an autoload (bug#13820).
11535 (advice-mapc): New function.
11536
11537 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11538
11539 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
11540 probably.
11541 (eww-mode-map): Add a menu bar.
11542 (eww-add-bookmark): New command.
11543 (eww-bookmark-mode): New mode and commands.
11544 (eww-add-bookmark): Remove newlines from the title.
11545 (eww-bookmark-browse): Don't bug out if it's the only window.
11546
11547 2013-06-26 Glenn Morris <rgm@gnu.org>
11548
11549 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
11550 (hfy-size): Handle ttys. (Bug#14668)
11551
11552 * info-xref.el: Update for Texinfo 5 change in *note format.
11553 (info-xref-node-re, info-xref-note-re): New constants.
11554 (info-xref-check-buffer): Use info-xref-note-re.
11555
11556 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11557
11558 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
11559
11560 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
11561 nil terminate the loop (bug#14718).
11562
11563 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11564
11565 * net/eww.el: Rework history traversal. When going forward/back,
11566 put these actions into the history, too, so that they can be
11567 replayed.
11568 (eww-render): Move the history reset to the correct buffer.
11569
11570 2013-06-25 Juri Linkov <juri@jurta.org>
11571
11572 * files-x.el (modify-dir-local-variable): Change the header comment
11573 in the file with directory local variables. (Bug#14692)
11574
11575 * files-x.el (read-file-local-variable-value): Add `default'.
11576 (Bug#14710)
11577
11578 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11579
11580 * net/eww.el (eww-make-unique-file-name): Create a unique file
11581 name before saving to entering `y' accidentally asynchronously.
11582
11583 2013-06-25 Ivan Kanis <ivan@kanis.fr>
11584
11585 * net/eww.el (eww-download): New command and keystroke.
11586
11587 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11588
11589 * net/eww.el (eww-copy-page-url): Change name of command.
11590
11591 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
11592 be more consistent with Info and dired.
11593
11594 * net/eww.el (eww-mode-map): Ditto.
11595
11596 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11597
11598 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
11599 packages from archives.
11600 (package-archive-contents): Change format; include obsolete packages.
11601 (package-desc): Use `dir' to mark builtin packages.
11602 (package--from-builtin): Set the `dir' field to `builtin'.
11603 (generated-autoload-file, version-control): Declare.
11604 (package-compute-transaction): Change first arg and return value to be
11605 lists of package-descs. Adjust to new package-archive-contents format.
11606 (package--add-to-archive-contents): Adjust to new
11607 package-archive-contents format.
11608 (package-download-transaction): Arg is now a list of package-descs.
11609 (package-install): If `pkg' is a package name, pass it as
11610 a requirement, so it is subject to the usual (e.g. disabled) checks.
11611 (describe-package): Accept package-desc as well.
11612 (describe-package-1): Describe a specific package-desc. Add links to
11613 other package-descs for the same package name.
11614 (package-menu-describe-package): Pass the actual package-desc.
11615 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
11616 works correctly.
11617 (package-desc-status): New function.
11618 (package-menu--refresh): New function, extracted
11619 from package-menu--generate.
11620 (package-menu--generate): Use it.
11621 (package-delete): Update package-alist.
11622 (package-menu-execute): Don't call package-initialize.
11623
11624 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
11625 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
11626 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
11627 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
11628 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
11629 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
11630
11631 2013-06-25 Martin Rudalics <rudalics@gmx.at>
11632
11633 * window.el (window--state-get-1): Workaround for bug#14527.
11634 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
11635
11636 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11637
11638 * net/eww.el (eww-back-url): Implement the history by stashing all
11639 the data into a list.
11640 (eww-forward-url): Allow going forward in the history, too.
11641
11642 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11643
11644 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
11645 for values and use read--expression for expressions (bug#14710).
11646 (read-file-local-variable): Avoid setq.
11647 (read-file-local-variable-mode): Use minor-mode-list.
11648
11649 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11650
11651 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
11652 for DOI URLs.
11653
11654 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11655
11656 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
11657 Update imenu-support when dialect changes.
11658
11659 2013-06-25 Leo Liu <sdl.web@gmail.com>
11660
11661 * ido.el (ido-read-internal): Allow forward slash on windows.
11662
11663 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
11664
11665 * net/eww.el (eww): Start of strings is \\`, not ^.
11666
11667 2013-06-24 Ivan Kanis <ivan@kanis.fr>
11668
11669 * net/shr.el (shr-browse-url): Fix interactive spec.
11670
11671 * net/eww.el (eww): Add a trailing slash to domain names.
11672
11673 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
11674
11675 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
11676
11677 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
11678
11679 * net/shr.el (shr-browse-url): Use an external browser if given a
11680 prefix.
11681
11682 * net/eww.el (eww-external-browser): Move to shr.
11683
11684 2013-06-24 Ivan Kanis <ivan@kanis.fr>
11685
11686 * net/eww.el (eww): Work more correctly for file: URLs.
11687 (eww-detect-charset): Allow quoted charsets.
11688 (eww-yank-page-url): New command and keystroke.
11689
11690 2013-06-24 Daiki Ueno <ueno@gnu.org>
11691
11692 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
11693 file name of gpg executable.
11694 (epg-context-program): New function.
11695 (epg-context-home-directory): New function.
11696 (epg-context-set-program): New function.
11697 (epg-context-set-home-directory): New function.
11698 (epg--start): Use `epg-context-program' instead of
11699 'epg-gpg-program'.
11700 (epg--list-keys-1): Likewise.
11701
11702 2013-06-24 Leo Liu <sdl.web@gmail.com>
11703
11704 * ido.el (ido-read-internal): Fix bug#14620.
11705
11706 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
11707
11708 * faces.el (face-documentation): Simplify.
11709 (read-face-attribute, tty-find-type, x-resolve-font-name):
11710 Use `string-match-p'.
11711 (list-faces-display): Use `string-match-p'. Simplify.
11712 (face-spec-recalc): Check face to avoid face alias loops.
11713 (read-color): Use `string-match-p' and non-capturing parenthesis.
11714
11715 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
11716
11717 * net/shr.el (shr-rescale-image): Use the new
11718 :max-width/:max-height functionality.
11719
11720 2013-06-23 Ivan Kanis <ivan@kanis.fr>
11721
11722 * net/eww.el (eww-search-prefix): New variable.
11723 (eww): Use it.
11724 (eww-external-browser): New variable.
11725 (eww-mode-map): New keystroke.
11726 (eww-browse-with-external-browser): New command.
11727
11728 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
11729
11730 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
11731
11732 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
11733 Don't skip aligning the next header field when padding is 0;
11734 otherwise, field width is not respected unless the title is as
11735 wide as the field.
11736
11737 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11738
11739 * emacs-lisp/package.el (package-el-version): Remove.
11740 (package-process-define-package): Fix inf-loop.
11741 (package-install): Allow symbols as arguments again.
11742
11743 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
11744
11745 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
11746 add some more keyword-like methods.
11747 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
11748
11749 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
11750
11751 * bs.el (bs-buffer-show-mark): Make defvar-local.
11752 (bs-mode): Use setq-local.
11753
11754 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
11755 (emacs-lock--try-unlocking): Make defvar-local.
11756
11757 2013-06-22 Glenn Morris <rgm@gnu.org>
11758
11759 * play/cookie1.el (cookie-apropos): Minor simplification.
11760
11761 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
11762
11763 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
11764
11765 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
11766 `regexp-opt', it breaks the build during dumping.
11767
11768 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
11769
11770 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11771 Highlight keyword-like methods on Kernel and Module with
11772 font-lock-builtin-face.
11773 (auto-mode-alist): Consolidate different entries into one regexp
11774 and add more *file-s.
11775
11776 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
11777
11778 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
11779
11780 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
11781 (diary-entry): Use it in the action of this button type instead of
11782 diary-goto-entry.
11783
11784 * calendar/todo-mode.el: New version.
11785 (todo-add-category): Append new category to end of file and give
11786 it the highest number, instead of putting it at the beginning and
11787 giving it 0. Incorporate noninteractive functionality.
11788 (todo-forward-category): Adapt to 1-based category numbering.
11789 Allow skipping over archived categories.
11790 (todo-backward-category): Derive from todo-forward-category.
11791 (todo-backward-item, todo-forward-item): Make noninteractive and
11792 delegate interactive part to new commands. Make sensitive to done items.
11793 (todo-categories): Make value an alist of category names and
11794 vectors of item counts.
11795 (todo-category-beg): Make a defconst.
11796 (todo-category-number): Use 1 instead of 0 as initial value.
11797 (todo-category-select): Make sensitive to overlays, optional item
11798 highlighting and done items.
11799 (todo-delete-item): Make sensitive to overlays and marked and done items.
11800 (todo-edit-item): Make sensitive to overlays and editing of
11801 date/time header optional. Add format checks.
11802 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
11803 no-op if point is not on an item. Advertise using todo-edit-quit.
11804 (todo-edit-mode): Make sensitive to new format, font-locking, and
11805 multiple todo files.
11806 (todo-insert-item, todo-insert-item-here): Derive from
11807 todo-basic-insert-item and extend functionality.
11808 (todo-item-end, todo-item-start): Make sensitive to done items.
11809 (todo-item-string): Don't return text properties. Restore point.
11810 (todo-jump-to-category): Make sensitive to multiple todo files and
11811 todo archives. Use extended category completion.
11812 (todo-lower-item, todo-raise-item): Rename to *-priority and
11813 derive from todo-set-item-priority.
11814 (todo-mode): Derive from special-mode. Make sensitive to new
11815 format, font-locking and multiple todo files. Make read-only.
11816 (todo-mode-map): Don't suppress digit keys, so they can supply
11817 prefix arguments. Add many new key bindings.
11818 (todo-prefix): Insert as an overlay instead of file text.
11819 Change semantics from diary date expression to purely visual mark.
11820 (todo-print): Rename to todo-print-buffer. Make buffer display
11821 features printable. Remove option to restrict number of items
11822 printed. Add option to print to file.
11823 (todo-print-function): Rename to todo-print-buffer-function.
11824 (todo-quit): Extend to handle exiting new todo modes.
11825 (todo-remove-item): Make sensitive to overlays.
11826 (todo-save): Extend to buffers of filtered items.
11827 (todo-show): Make sensitive to done items, multiple todo files and
11828 new todo modes. Offer to convert legacy todo file before creating
11829 first new todo file.
11830 (todo-show-priorities): Rename to todo-top-priorities.
11831 Change semantics of value 0.
11832 (todo-top-priorities): Rename to todo-filter-top-priorities,
11833 derive from todo-filter-items and extend functionality.
11834 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
11835 and extend functionality to other types of filtered items.
11836 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
11837 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
11838 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
11839 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
11840 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
11841 (todo-edit-mode-hook, todo-entry-prefix-function)
11842 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
11843 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
11844 (todo-initials, todo-insert-threshold, todo-item-string-start)
11845 (todo-line-string, todo-menu, todo-mode-hook)
11846 (todo-more-important-p, todo-previous-answer, todo-previous-line)
11847 (todo-print-priorities, todo-remove-separator)
11848 (todo-save-top-priorities-too, todo-string-count-lines)
11849 (todo-string-multiline-p, todo-time-string-format)
11850 (todo-tmp-buffer-name): Remove.
11851 (todo-add-file, todo-archive-done-item, todo-choose-archive)
11852 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
11853 (todo-edit-category-diary-inclusion)
11854 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
11855 (todo-edit-file, todo-edit-item-date-day)
11856 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
11857 (todo-edit-item-date-month, todo-edit-item-date-to-today)
11858 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
11859 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
11860 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
11861 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
11862 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
11863 (todo-filter-top-priorities-multifile, todo-find-archive)
11864 (todo-find-filtered-items-file, todo-go-to-source-item)
11865 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
11866 (todo-jump-to-archive-category, todo-lower-category)
11867 (todo-mark-category, todo-marked-item-p, todo-merge-category)
11868 (todo-move-category, todo-move-item, todo-next-button)
11869 (todo-next-item, todo-padded-string, todo-powerset)
11870 (todo-previous-button, todo-previous-item)
11871 (todo-print-buffer-to-file, todo-raise-category)
11872 (todo-rename-category, todo-repair-categories-sexp, todo-search)
11873 (todo-set-category-number, todo-set-item-priority)
11874 (todo-set-top-priorities-in-category)
11875 (todo-set-top-priorities-in-file, todo-show-categories-table)
11876 (todo-sort-categories-alphabetically-or-numerically)
11877 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
11878 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
11879 (todo-toggle-item-header, todo-toggle-item-highlighting)
11880 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
11881 (todo-toggle-view-done-items, todo-toggle-view-done-only)
11882 (todo-unarchive-items, todo-unmark-category): New commands.
11883 (todo-absolute-file-name, todo-add-to-buffer-list)
11884 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
11885 (todo-basic-insert-item, todo-category-completions)
11886 (todo-category-number, todo-category-string-matcher-1)
11887 (todo-category-string-matcher-2, todo-check-filtered-items-file)
11888 (todo-check-format, todo-clear-matches)
11889 (todo-comment-string-matcher, todo-convert-legacy-date-time)
11890 (todo-current-category, todo-date-string-matcher)
11891 (todo-define-insertion-command, todo-diary-expired-matcher)
11892 (todo-diary-goto-entry, todo-diary-item-p)
11893 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
11894 (todo-display-categories, todo-display-sorted, todo-done-item-p)
11895 (todo-done-item-section-p, todo-done-separator)
11896 (todo-done-string-matcher, todo-files, todo-filter-items)
11897 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
11898 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
11899 (todo-insert-category-line, todo-insert-item-from-calendar)
11900 (todo-insert-sort-button, todo-insert-with-overlays)
11901 (todo-insertion-command-name, todo-insertion-key-bindings)
11902 (todo-label-to-key, todo-longest-category-name-length)
11903 (todo-make-categories-list, todo-mode-external-set)
11904 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
11905 (todo-modes-set-3, todo-multiple-filter-files)
11906 (todo-nondiary-marker-matcher, todo-prefix-overlays)
11907 (todo-read-category, todo-read-date, todo-read-dayname)
11908 (todo-read-file-name, todo-read-time)
11909 (todo-reevaluate-category-completions-files-defcustom)
11910 (todo-reevaluate-default-file-defcustom)
11911 (todo-reevaluate-filelist-defcustoms)
11912 (todo-reevaluate-filter-files-defcustom)
11913 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
11914 (todo-reset-done-separator, todo-reset-done-separator-string)
11915 (todo-reset-done-string, todo-reset-global-current-todo-file)
11916 (todo-reset-highlight-item, todo-reset-nondiary-marker)
11917 (todo-reset-prefix, todo-set-categories)
11918 (todo-set-date-from-calendar, todo-set-show-current-file)
11919 (todo-set-top-priorities, todo-short-file-name)
11920 (todo-show-current-file, todo-sort, todo-time-string-matcher)
11921 (todo-total-item-counts, todo-update-buffer-list)
11922 (todo-update-categories-display, todo-update-categories-sexp)
11923 (todo-update-count, todo-validate-name, todo-y-or-n-p):
11924 New functions.
11925 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
11926 New major modes.
11927 (todo-categories, todo-display, todo-edit, todo-faces)
11928 (todo-filtered): New defgroups.
11929 (todo-archived-only, todo-button, todo-category-string, todo-date)
11930 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
11931 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
11932 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
11933 (todo-add-item-if-new-category, todo-always-add-time-string)
11934 (todo-categories-align, todo-categories-archived-label)
11935 (todo-categories-category-label, todo-categories-diary-label)
11936 (todo-categories-done-label, todo-categories-number-separator)
11937 (todo-categories-todo-label, todo-categories-totals-label)
11938 (todo-category-completions-files, todo-completion-ignore-case)
11939 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
11940 (todo-done-separator-string, todo-done-string)
11941 (todo-files-function, todo-filter-done-items, todo-filter-files)
11942 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
11943 (todo-initial-category, todo-initial-file, todo-item-mark)
11944 (todo-legacy-date-time-regexp, todo-mode-line-function)
11945 (todo-nondiary-marker, todo-number-prefix)
11946 (todo-print-buffer-function, todo-show-current-file)
11947 (todo-show-done-only, todo-show-first, todo-show-with-done)
11948 (todo-skip-archived-categories, todo-top-priorities-overrides)
11949 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
11950 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
11951 New defcustoms.
11952 (todo-category-done, todo-date-pattern, todo-date-string-start)
11953 (todo-diary-items-buffer, todo-done-string-start)
11954 (todo-filtered-items-buffer, todo-item-start)
11955 (todo-month-abbrev-array, todo-month-name-array)
11956 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
11957 (todo-top-priorities-buffer): New defconsts.
11958 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
11959 (todo-categories-with-marks, todo-category-string-face)
11960 (todo-comment-face, todo-comment-string, todo-current-todo-file)
11961 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
11962 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
11963 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
11964 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
11965 (todo-font-lock-keywords, todo-global-current-todo-file)
11966 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
11967 (todo-insertion-commands-args)
11968 (todo-insertion-commands-args-genlist)
11969 (todo-insertion-commands-names, todo-insertion-map)
11970 (todo-key-bindings-t, todo-key-bindings-t+a)
11971 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
11972 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
11973 (todo-nondiary-face, todo-print-buffer, todo-time-face)
11974 (todo-visited): New variables.
11975
11976 2013-06-21 Glenn Morris <rgm@gnu.org>
11977
11978 * play/cookie1.el (cookie-apropos): Add optional display argument.
11979 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
11980 (psychoanalyze-pinhead): Use cookie-doctor.
11981
11982 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
11983
11984 * emacs-lisp/package.el (tar-get-file-descriptor)
11985 (tar--extract): Declare.
11986
11987 2013-06-21 Eduard Wiebe <usenet@pusto.de>
11988
11989 Extend flymake's warning predicate to be a function (bug#14217).
11990 * progmodes/flymake.el (flymake-warning-predicate): New.
11991 (flymake-parse-line): Use it.
11992 (flymake-warning-re): Make obsolete alias to
11993 `flymake-warning-predicate'.
11994
11995 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11996
11997 * emacs-lisp/package.el (package-alist): Include obsolete packages.
11998 (package-obsolete-list): Remove.
11999 (package-activate): Remove min-version argument. Add `force' argument.
12000 Adjust to new package-alist format.
12001 (package-mark-obsolete): Remove.
12002 (package-unpack): Force reload of the package's autoloads.
12003 (package-installed-p): Check builtins if the installed package is not
12004 recent enough.
12005 (package-initialize): Don't reset package-obsolete-list.
12006 Don't specify which package version to activate.
12007 (package-process-define-package, describe-package-1)
12008 (package-menu--generate): Adjust to new package-alist format.
12009
12010 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12011
12012 * allout-widgets.el (allout-widgets-mode-off)
12013 (allout-widgets-mode-on, allout-widgets-pre-command-business)
12014 (allout-widgets-post-command-business)
12015 (allout-widgets-after-copy-or-kill-function)
12016 (allout-widgets-after-undo-function, allout-test-range-overlaps)
12017 (allout-decorate-item-and-context)
12018 (allout-graphics-modification-handler): Fix typos in docstrings.
12019 (allout-get-or-create-parent-widget): Use `looking-at-p'.
12020
12021 * cmuscheme.el (scheme-start-file): Doc fix.
12022 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
12023 (scheme-input-filter): Use `string-match-p'.
12024
12025 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
12026
12027 * dired-x.el: Use Dired consistently in docstrings.
12028
12029 * dired.el: Use Dired consistently in docstrings.
12030 (dired-readin, dired-mode): Use `setq-local'.
12031 (dired-switches-alist): Make defvar-local.
12032 (dired-buffers-for-dir): Use `zerop'.
12033 (dired-safe-switches-p, dired-switches-escape-p)
12034 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
12035 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
12036 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
12037 (dired-goto-next-nontrivial-file): Use `string-match-p'.
12038 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
12039 (dired-toggle-marks, dired-mark-files-containing-regexp)
12040 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
12041 (dired-flag-auto-save-files, dired-flag-backup-files):
12042 Use `looking-at-p'.
12043 (dired-mark-files-regexp, dired-build-subdir-alist):
12044 Use `string-match-p', `looking-at-p'.
12045
12046 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
12047 (direct-print-region-helper): Use `string-match-p'.
12048
12049 2013-06-21 Leo Liu <sdl.web@gmail.com>
12050
12051 * comint.el (comint-redirect-results-list-from-process):
12052 Fix infinite loop.
12053
12054 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12055
12056 * net/eww.el (eww-update-header-line-format): Quote % characters.
12057
12058 2013-06-21 Glenn Morris <rgm@gnu.org>
12059
12060 * play/cookie1.el (cookie): New custom group.
12061 (cookie-file): New option.
12062 (cookie-check-file): New function.
12063 (cookie): Make it interactive. Make start and end messages optional.
12064 Interactively, display the result. Default to cookie-file.
12065 (cookie-insert): Default to cookie-file.
12066 (cookie-snarf): Make start and end messages optional.
12067 Default to cookie-file. Use with-temp-buffer.
12068 (cookie-read): Rename from read-cookie.
12069 Make start and end messages optional. Default to cookie-file.
12070 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
12071 Do not autoload it.
12072 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
12073 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
12074
12075 2013-06-21 Leo Liu <sdl.web@gmail.com>
12076
12077 * progmodes/octave.el (octave-mode): Backward compatibility fix.
12078
12079 2013-06-21 Glenn Morris <rgm@gnu.org>
12080
12081 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
12082
12083 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12084 Daniel Hackney <dan@haxney.org>
12085
12086 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
12087 Consolidate the single-file vs tarball code.
12088 (package-desc-suffix): New function.
12089 (package-desc-full-name): Don't bother inlining it.
12090 (package-load-descriptor): Return the new package-desc.
12091 (package-mark-obsolete): Remove unused arg `package'.
12092 (package-unpack): Make it work for single files as well.
12093 Make it update package-alist.
12094 (package--make-autoloads-and-stuff): Rename from
12095 package--make-autoloads-and-compile. Don't compile any more.
12096 (package--compile): New function.
12097 (package-generate-description-file): New function, extracted from
12098 package-unpack-single.
12099 (package-unpack-single): Remove.
12100 (package--with-work-buffer): Add indentation and debugging info.
12101 (package-download-single): Remove.
12102 (package-install-from-archive): Rename from package-download-tar, make
12103 it take a pkg-desc, and make it work for single files as well.
12104 (package-download-transaction): Simplify.
12105 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
12106 external tar program.
12107 (package-install-from-buffer): Remove `pkg-desc' argument.
12108 Use package-tar-file-info for tar-mode buffers.
12109 (package-install-file): Simplify accordingly.
12110 (package-archive-base): Change to take a pkg-desc.
12111 * tar-mode.el (tar--check-descriptor): New function, extracted from
12112 tar-get-descriptor.
12113 (tar-get-descriptor): Use it.
12114 (tar-get-file-descriptor): New function.
12115 (tar--extract): New function, extracted from tar-extract.
12116 (tar--extract): Use it.
12117 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
12118 case the summary uses non-ascii. Adjust to new calling convention of
12119 package-tar-file-info.
12120
12121 2013-06-21 Leo Liu <sdl.web@gmail.com>
12122
12123 * comint.el (comint-redirect-results-list-from-process):
12124 Fix random delay. (Bug#14681)
12125
12126 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12127
12128 * profiler.el (profiler-format-number): Use log, not log10.
12129
12130 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12131
12132 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
12133
12134 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
12135
12136 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
12137 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
12138 yet available.
12139 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
12140 (AUTOGENEL): ... here.
12141 * emacs-lisp/cl-macs.el (cl--sublis): New function.
12142 (cl--defsubst-expand): Use it.
12143
12144 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
12145
12146 * subr.el (log10): Move here from C code, and declare as obsolete.
12147 All uses of (log10 X) replaced with (log X 10).
12148
12149 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12150
12151 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
12152 Declare with `defvar-local'.
12153 (tabulated-list-use-header-line, tabulated-list-entries)
12154 (tabulated-list-padding, tabulated-list-printer)
12155 (tabulated-list-sort-key): Declare with `defvar-local'.
12156 (tabulated-list-init-header, tabulated-list-print-fake-header):
12157 Use `setq-local'.
12158
12159 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
12160
12161 * arc-mode.el (archive-mode): Add `archive-write-file' to
12162 `write-contents-functions' also for remote files. (Bug#14652)
12163
12164 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12165
12166 * cus-edit.el (custom-commands): Fix typos.
12167 (custom-display): Fix tooltip text.
12168 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
12169 Fix typos in docstrings.
12170 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
12171 (custom-unlispify-menu-entry, custom-magic-value-create)
12172 (custom-add-see-also, custom-group-value-create): Use ?\s.
12173 (custom-guess-type, customize-apropos, editable-field)
12174 (custom-face-value-create): Use `string-match-p'.
12175 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
12176
12177 * custom.el (custom-load-symbol): Use `string-match-p'.
12178
12179 * ansi-color.el: Convert to lexical binding.
12180 (ansi-colors): Fix URL.
12181 (ansi-color-context, ansi-color-context-region): Use defvar-local.
12182 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
12183 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
12184
12185 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12186
12187 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
12188
12189 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
12190
12191 2013-06-19 Tom Tromey <tromey@redhat.com>
12192
12193 * net/eww.el (eww-top-url): Remove.
12194 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
12195 (eww-render): Set new variables. Don't set eww-top-url.
12196 (eww-handle-link): Handle "prev", "home", and "contents".
12197 Downcase the rel text.
12198 (eww-top-url): Choose best top URL.
12199
12200 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12201
12202 * net/eww.el: Rewrite to implement form elements "by hand" instead of
12203 relying in widget.el. Using widget.el leads to too many
12204 user interface inconsistencies.
12205 (eww-self-insert): Implement entering commands in text fields.
12206 (eww-process-text-input): New function to make text input field editing
12207 work.
12208 (eww-submit): Rewrite to use the new-style form methods.
12209 (eww-select-display): Display the correct selected item.
12210 (eww-change-select): Implement changing the select value.
12211 (eww-toggle-checkbox): Implement radio/checkboxes.
12212 (eww-update-field): Fix compilation error.
12213 (eww-tag-textarea): Implement <textarea>.
12214
12215 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
12216 we don't shadow mode-specific bindings.
12217
12218 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
12219 nothing to push.
12220
12221 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
12222
12223 2013-06-19 Glenn Morris <rgm@gnu.org>
12224
12225 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
12226
12227 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
12228
12229 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
12230 not needed.
12231
12232 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
12233
12234 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12235
12236 * net/browse-url.el (browse-url-browser-function):
12237 `eww-browse-url' has the right calling signature, `eww' does not.
12238
12239 2013-06-19 Glenn Morris <rgm@gnu.org>
12240
12241 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
12242 Only eval autoloaded macros.
12243 (byte-compile-autoload): Only give the macro warning for macros.
12244
12245 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
12246 (ps-underlined-faces): Declare.
12247
12248 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
12249 (speedbar-add-supported-extension): Declare.
12250
12251 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
12252 Don't include a date stamp in the header of the generated file;
12253 it leads to needless differences between output files.
12254
12255 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
12256
12257 * net/secrets.el (secrets-struct-secret-content-type):
12258 Replace check of introspection data by a test call of "CreateItem".
12259 Some servers do not offer introspection.
12260
12261 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
12262
12263 * electric.el (electric-pair-mode): Improve interaction with
12264 electric-layout-mode.
12265 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
12266 (electric-pair-syntax): Use text-mode-syntax-table in comments
12267 and strings.
12268 (electric-pair--insert): New function.
12269 (electric-pair-post-self-insert-function): Use it and
12270 electric--after-char-pos.
12271
12272 2013-06-19 Leo Liu <sdl.web@gmail.com>
12273
12274 * progmodes/octave.el (octave-help): Fix regexp.
12275
12276 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
12277
12278 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
12279 (shr-table-horizontal-line): Allow nil as a value, and change the
12280 default.
12281 (shr-insert-table-ruler): Respect the nil value.
12282
12283 2013-06-18 Tom Tromey <tromey@barimba>
12284
12285 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12286 New defvars.
12287 (eww-open-file): New defun.
12288 (eww-render): Initialize new variables.
12289 (eww-display-html): Handle "link" and "a".
12290 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
12291 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
12292 (eww-back-url): Rename from eww-previous-url.
12293 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12294 New defuns.
12295
12296 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
12297
12298 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
12299 Distinguish ternary operator tokens from slash symbol and slash
12300 char literal.
12301
12302 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
12303
12304 Convert symbol prettification into minor mode and global minor mode.
12305
12306 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
12307 `prog-prettify-symbols', and make a local defvar instead of defcustom.
12308 (prettify-symbols--keywords): Rename from
12309 `prog-prettify-symbols-alist' and make a local defvar.
12310 (prettify-symbols--compose-symbol): Rename from
12311 `prog--prettify-font-lock-compose-symbol'.
12312 (prettify-symbols--make-keywords): Rename from
12313 `prog-prettify-font-lock-symbols-keywords' and simplify.
12314 (prog-prettify-install): Remove.
12315 (prettify-symbols-mode): New minor mode, based on
12316 `prog-prettify-install'.
12317 (turn-on-prettify-symbols-mode): New function.
12318 (global-prettify-symbols-mode): New globalized minor mode.
12319
12320 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12321 * progmodes/cfengine.el (cfengine3-mode):
12322 * progmodes/perl-mode.el (perl-mode): Don't call
12323 `prog-prettify-install'; set `prettify-symbols-alist' instead.
12324
12325 2013-06-18 Juri Linkov <juri@jurta.org>
12326
12327 * files-x.el (modify-file-local-variable-message): New function.
12328 (modify-file-local-variable)
12329 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
12330 and call `modify-file-local-variable-message' when it's non-nil.
12331 (add-file-local-variable, delete-file-local-variable)
12332 (add-file-local-variable-prop-line)
12333 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
12334 and use it. (Bug#9820)
12335
12336 2013-06-18 Juri Linkov <juri@jurta.org>
12337
12338 * emulation/vi.el (vi-shell-op):
12339 * emulation/vip.el (vip-execute-com, ex-command):
12340 * emulation/viper-cmd.el (viper-exec-bang):
12341 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
12342 the call of `shell-command-on-region'. (Bug#14637)
12343
12344 * simple.el (shell-command-on-region): Doc fix.
12345
12346 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12347
12348 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
12349 (bug#14633).
12350
12351 2013-06-18 Glenn Morris <rgm@gnu.org>
12352
12353 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
12354
12355 * newcomment.el (comment-search-forward, comment-search-backward):
12356 Doc fix. (Bug#14376)
12357
12358 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
12359
12360 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
12361 (buffer-face-mode-invoke): Doc fix.
12362
12363 2013-06-18 Matthias Meulien <orontee@gmail.com>
12364
12365 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
12366 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
12367
12368 2013-06-18 Glenn Morris <rgm@gnu.org>
12369
12370 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
12371 Replace obsolete function generic-make-keywords with its expansion.
12372
12373 * progmodes/python.el (ffap-alist): Declare.
12374
12375 * textmodes/reftex.el (bibtex-mode-map): Declare.
12376
12377 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12378
12379 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
12380 (package-unpack, package-unpack-single): Return the pkg-dir.
12381 (package-download-transaction): Use it to update package-alist.
12382
12383 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12384
12385 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
12386 possible choice.
12387
12388 2013-06-17 Juri Linkov <juri@jurta.org>
12389
12390 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
12391
12392 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12393
12394 * emacs-lisp/package.el (package-load-descriptor):
12395 Remove `with-syntax-table' call, `read' doesn't need it.
12396 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
12397
12398 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
12399
12400 * startup.el (command-line): Expand package name returned by
12401 `package--description-file' (bug#14639).
12402
12403 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12404
12405 * emacs-lisp/package.el (package-load-descriptor): Do not call
12406 `emacs-lisp-mode', just use its syntax table.
12407
12408 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
12409
12410 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
12411 `font-lock-extra-managed-props' if any prettifying keyword is added.
12412 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
12413 (prog-mode): Use `setq-local'.
12414
12415 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
12416
12417 * international/characters.el (standard-case-table): Set syntax of ?»
12418 and ?« to punctuation.
12419
12420 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
12421
12422 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
12423 Save relevant match data before calling `syntax-ppss' (bug#14595).
12424
12425 2013-06-15 Juri Linkov <juri@jurta.org>
12426
12427 * files-x.el (modify-file-local-variable-prop-line): Add local
12428 variables to the end of the existing comment on the first line.
12429 Use `file-auto-mode-skip' to skip interpreter magic line,
12430 and also skip XML declaration.
12431
12432 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12433
12434 * startup.el (package--builtin-versions): New var.
12435 (package-subdirectory-regexp): Remove.
12436 (package--description-file): Hard code its value instead.
12437
12438 * emacs-lisp/package.el: Don't activate packages older than builtin.
12439 (package-obsolete-list): Rename from package-obsolete-alist, and make
12440 it into a simple list of package-desc.
12441 (package-strip-version): Remove.
12442 (package-built-in-p): Use package--builtin-versions.
12443 (package-mark-obsolete): Simplify.
12444 (package-process-define-package): Mark it obsolete if older than the
12445 builtin version.
12446 (package-handle-response): Use line-end-position.
12447 (package-read-archive-contents, package--download-one-archive):
12448 Simplify.
12449 (package--add-to-archive-contents): Skip if older than the builtin or
12450 installed version.
12451 (package-menu-describe-package): Fix last change.
12452 (package-list-unversioned): New var.
12453 (package-menu--generate): Use it.
12454
12455 * emacs-lisp/autoload.el: Manage package--builtin-versions.
12456 (autoload--insert-text, autoload--insert-cookie-text): New functions.
12457 (autoload-builtin-package-versions): New variable.
12458 (autoload-generate-file-autoloads): Use them.
12459 Remove the list of autoloaded functions/macros from the
12460 (autoload...) comments.
12461
12462 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
12463
12464 2013-06-15 Eli Zaretskii <eliz@gnu.org>
12465
12466 * simple.el (line-move-partial): Don't jump to the next screen
12467 line as soon as it becomes visible. Instead, continue enlarging
12468 the vscroll until the portion of a tall screen line that's left on
12469 display is about the height of the frame's default font.
12470 (Bug#14567)
12471
12472 2013-06-15 Glenn Morris <rgm@gnu.org>
12473
12474 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
12475 compilation-error-regexp-alist void, or local while let-bound.
12476
12477 * progmodes/make-mode.el (makefile-mode-syntax-table):
12478 Treat "=" as punctuation. (Bug#14614)
12479
12480 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
12481
12482 * help-fns.el (describe-variable):
12483 Add extra line for permanent-local variables.
12484
12485 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
12486
12487 * progmodes/scheme.el (scheme-font-lock-keywords-2):
12488 Add export, import, library. (Bug#9164)
12489 (library): Set indent function.
12490
12491 2013-06-14 Glenn Morris <rgm@gnu.org>
12492
12493 * term/xterm.el (xterm--query):
12494 Stop after first matching handler. (Bug#14615)
12495
12496 2013-06-14 Ivan Kanis <ivan@kanis.fr>
12497
12498 Add support for dired in saveplace.
12499 * dired.el (dired-initial-position-hook): New variable.
12500 (dired-initial-position): Call hook to place cursor position.
12501 * saveplace.el (save-place-to-alist): Add dired position.
12502 (save-place-dired-hook): New function.
12503
12504 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
12505
12506 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
12507 through a symbol rather than letrec.
12508
12509 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
12510 (package-desc): Add `dir' field.
12511 (package-desc-full-name): New function.
12512 (package-load-descriptor): Combine the two arguments. Don't use `load'.
12513 (package-maybe-load-descriptor): Remove.
12514 (package-load-all-descriptors): Just call package-load-descriptor.
12515 (package--disabled-p): New function.
12516 (package-desc-vers, package-desc-doc): Remove aliases.
12517 (package--dir): Remove function.
12518 (package-activate): Check if a package is disabled.
12519 (package-process-define-package): New function, extracted from
12520 define-package.
12521 (define-package): Turn into a place holder.
12522 (package-unpack-single, package-tar-file-info):
12523 Use package--description-file.
12524 (package-compute-transaction): Use package--disabled-p.
12525 (package-download-transaction): Don't call
12526 package-maybe-load-descriptor since they're all loaded anyway.
12527 (package-install): Change argument to be a pkg-desc.
12528 (package-delete): Use a single pkg-desc argument.
12529 (describe-package-1): Use package-desc-dir instead of package--dir.
12530 Use package-desc property instead of package-symbol.
12531 (package-install-button-action): Adjust accordingly.
12532 (package--push): Rewrite.
12533 (package-menu--print-info): Adjust accordingly. Change the ID format
12534 to be a pkg-desc.
12535 (package-menu-describe-package, package-menu-get-status)
12536 (package-menu--find-upgrades, package-menu-mark-upgrades)
12537 (package-menu-execute, package-menu--name-predicate):
12538 Adjust accordingly.
12539 * startup.el (package--description-file): New function.
12540 (command-line): Use it.
12541 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12542 Use package-desc-version.
12543
12544 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
12545 (byte-compile-preprocess): Use it.
12546 (byte-compile-file-form-defalias): Try a bit harder to use macros we
12547 can't quite recognize.
12548 (byte-compile-add-to-list): Remove.
12549 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
12550 (cconv-closure-convert): Add assertion.
12551
12552 * emacs-lisp/map-ynp.el: Use lexical-binding.
12553 (map-y-or-n-p): Remove unused vars `tail' and `object'.
12554 Factor out some repeated code.
12555
12556 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12557
12558 * subr.el (with-eval-after-load): New macro.
12559 (eval-after-load): Allow form to be a function.
12560 take advantage of lexical-binding.
12561 (do-after-load-evaluation): Use dolist and adjust to new format.
12562 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
12563
12564 2013-06-13 Juri Linkov <juri@jurta.org>
12565
12566 * replace.el (perform-replace): Display "symbol " and other search
12567 modes from `isearch-message-prefix' in the *Help* buffer.
12568
12569 * isearch.el (isearch-query-replace): Add " symbol" and other
12570 possible search modes from `isearch-message-prefix' to the prompt.
12571 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
12572 when reading a regexp to collect.
12573
12574 2013-06-13 Juri Linkov <juri@jurta.org>
12575
12576 * isearch.el (word-search-regexp): Match whitespace if the search
12577 string begins or ends in whitespace. The LAX arg is applied to
12578 both ends of the search string. Use `regexp-quote' and explicit
12579 \< and \> instead of \b. Use \` and \' instead of ^ and $.
12580 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
12581 boundaries are replaced with symbol boundaries, and characters
12582 between symbols match non-word non-symbol syntax. (Bug#14602)
12583
12584 2013-06-13 Juri Linkov <juri@jurta.org>
12585
12586 * isearch.el (isearch-del-char): Don't exceed the length of
12587 `isearch-string' by the prefix arg. (Bug#14563)
12588
12589 2013-06-13 Juri Linkov <juri@jurta.org>
12590
12591 * isearch.el (isearch-yank-word, isearch-yank-line)
12592 (isearch-char-by-name, isearch-quote-char)
12593 (isearch-printing-char, isearch-process-search-char):
12594 Add optional count prefix arg. (Bug#14563)
12595
12596 * international/isearch-x.el
12597 (isearch-process-search-multibyte-characters):
12598 Add optional count prefix arg.
12599
12600 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12601
12602 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
12603 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
12604 lexical-binding.
12605
12606 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
12607
12608 * subr.el (set-temporary-overlay-map): Add on-exit argument.
12609
12610 2013-06-13 Glenn Morris <rgm@gnu.org>
12611
12612 * startup.el (tty-handle-args):
12613 Don't just discard "--" and anything after. (Bug#14608)
12614
12615 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
12616
12617 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
12618
12619 Implement changes in Secret Service API. Make it backward compatible.
12620 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
12621 (secrets-create-item): Use it. Prefix properties with interface.
12622
12623 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
12624
12625 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
12626 (term-emulate-terminal): Respect term-suppress-hard-newline.
12627
12628 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
12629
12630 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
12631 Only remove a `thumb-file' overlay. (Bug#14548)
12632
12633 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
12634
12635 * mail/reporter.el (reporter-submit-bug-report):
12636 Handle missing package-name. (Bug#14600)
12637
12638 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12639
12640 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
12641 (reftex-citation-prompt, reftex-default-bibliography)
12642 (reftex-bib-or-thebib, reftex-get-bibfile-list)
12643 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
12644 (reftex-bib-sort-author, reftex-bib-sort-year)
12645 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
12646 (reftex-extract-bib-entries-from-thebibliography)
12647 (reftex-get-bibkey-default, reftex-get-bib-names)
12648 (reftex-parse-bibtex-entry, reftex-get-bib-field)
12649 (reftex-format-bib-entry, reftex-parse-bibitem)
12650 (reftex-format-bibitem, reftex-do-citation)
12651 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
12652 (reftex-restrict-bib-matches, reftex-extract-bib-file)
12653 (reftex-insert-bib-matches, reftex-format-citation)
12654 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
12655 (reftex-create-bibtex-file): Add docstrings, mostly by converting
12656 existing comments into docstrings.
12657
12658 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
12659
12660 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
12661
12662 2013-06-12 Andreas Schwab <schwab@suse.de>
12663
12664 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
12665 for auto-save files.
12666
12667 2013-06-12 Glenn Morris <rgm@gnu.org>
12668
12669 * ido.el (ido-delete-ignored-files): Remove.
12670 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
12671 Go back to calling ido-ignore-item-p directly.
12672
12673 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
12674
12675 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
12676
12677 * ido.el (ido-delete-ignored-files): New function,
12678 split from ido-make-file-list-1.
12679 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
12680 (ido-make-file-list-1): Use ido-delete-ignored-files.
12681
12682 2013-06-12 Leo Liu <sdl.web@gmail.com>
12683
12684 * progmodes/octave.el (inferior-octave-startup)
12685 (inferior-octave-completion-table)
12686 (inferior-octave-track-window-width-change)
12687 (octave-eldoc-function-signatures, octave-help)
12688 (octave-find-definition): Use single quoted strings.
12689 (inferior-octave-startup-args): Change default value.
12690 (inferior-octave-startup): Do not hard code "-i" and
12691 "--no-line-editing".
12692 (inferior-octave-resync-dirs): Add optional arg NOERROR.
12693 (inferior-octave-directory-tracker): Use it.
12694 (octave-goto-function-definition): Robustify.
12695 (octave-help): Support highlighting operators in 'See also'.
12696 (octave-find-definition): Find subfunctions only in Octave mode.
12697
12698 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12699
12700 * help-fns.el (help-fns--compiler-macro): If the handler function is
12701 named, then put a link to it.
12702 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
12703 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
12704 (cl-typep): Use it.
12705 (cl-eval-when): Simplify debug spec.
12706 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
12707 compiler-macro function instead of setting `compiler-macro-file'.
12708
12709 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
12710
12711 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
12712 * vc/vc-hooks.el (vc-stay-local): Doc fix.
12713
12714 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12715 Daniel Hackney <dan@haxney.org>
12716
12717 First part of Daniel Hackney's patch to package.el.
12718 * emacs-lisp/package.el: Use defstruct.
12719 (package-desc): New, main struct.
12720 (package--bi-desc, package--ac-desc): New structs, used to describe the
12721 format in external files.
12722 (package-desc-vers): Replace with package-desc-version accessor.
12723 (package-desc-doc): Replace with package-desc-summary accessor.
12724 (package-activate-1): Remove `package' arg since the pkg-vec now
12725 includes the name.
12726 (define-package): Use package-desc-from-define.
12727 (package-unpack-single): Change file-name arg to be a symbol.
12728 (package--add-to-archive-contents): Use package-desc-create and new
12729 accessor functions to package--ac-desc.
12730 (package-buffer-info, package-tar-file-info): Return a package-desc.
12731 (package-install-from-buffer): Remove `type' argument. Change pkg-info
12732 arg to be a package-desc.
12733 (package-install-file): Adjust accordingly. Use \' to match EOS.
12734 (package--from-builtin): New function.
12735 (describe-package-1, package-menu--generate): Use it.
12736 (package--make-autoloads-and-compile): Change name arg to be a symbol.
12737 (package-generate-autoloads): Idem and return the name of the file.
12738 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12739 Change pkg-info arg to be a package-desc.
12740 Use package-make-ac-desc.
12741 (package-upload-file): Use \' to match EOS.
12742 * finder.el (finder-compile-keywords): Use package-make-builtin.
12743
12744 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12745
12746 * vc/vc.el (vc-deduce-fileset): Change error message.
12747 (vc-read-backend): New function.
12748 (vc-next-action): Use it.
12749
12750 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
12751
12752 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
12753 (prolog-font-lock-keywords): Use regexp-opt instead.
12754 Don't manually highlight strings.
12755 (prolog-mode-variables): Simplify comment-start-skip.
12756 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
12757
12758 * emacs-lisp/generic.el (generic--normalise-comments)
12759 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
12760 (generic-mode-set-comments): Use them.
12761 (generic-bracket-support): Use setq-local.
12762 (generic-make-keywords-list): Declare obsolete.
12763
12764 2013-06-11 Glenn Morris <rgm@gnu.org>
12765
12766 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12767 Prettify after setting font-lock-defaults. (Bug#14574)
12768
12769 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
12770
12771 * replace.el (query-replace, occur-read-regexp-defaults-function)
12772 (replace-search):
12773 * subr.el (declare-function, number-sequence, local-set-key)
12774 (substitute-key-definition, locate-user-emacs-file)
12775 (with-silent-modifications, split-string, eval-after-load):
12776 Fix typos, remove unneeded backslashes and reflow some docstrings.
12777
12778 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12779
12780 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
12781 default for Elisp files.
12782
12783 2013-06-11 Glenn Morris <rgm@gnu.org>
12784
12785 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
12786 although define-derived-mode was doing this anyway. (Bug#14583)
12787
12788 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
12789
12790 * allout.el (allout-encryption-plaintext-sanitization-regexps):
12791 Fix make-variable-buffer-local call to refer to the correct variable.
12792
12793 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
12794
12795 * eshell/em-term.el (eshell-visual-commands)
12796 (eshell-visual-subcommands, eshell-visual-options):
12797 Add summary line to docstrings. Add cross-references.
12798
12799 2013-06-10 Glenn Morris <rgm@gnu.org>
12800
12801 * epa.el (epa-read-file-name): New function. (Bug#14510)
12802 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
12803
12804 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
12805
12806 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
12807 output redirection to be ignored with visual commands.
12808
12809 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
12810
12811 * eshell/em-term.el (eshell-visual-command-p): New function.
12812 (eshell-term-initialize): Move long lambda to separate function
12813 eshell-visual-command-p.
12814 * eshell/em-dirs.el (eshell-dirs-initialize):
12815 * eshell/em-script.el (eshell-script-initialize):
12816 Add missing #' to lambda.
12817
12818 2013-06-08 Leo Liu <sdl.web@gmail.com>
12819
12820 * progmodes/octave.el (octave-add-log-current-defun): New function.
12821 (octave-mode): Set add-log-current-defun-function.
12822 (octave-goto-function-definition): Do not move point if not found.
12823 (octave-find-definition): Enhance to try subfunctions first.
12824
12825 2013-06-08 Glenn Morris <rgm@gnu.org>
12826
12827 * emacs-lisp/bytecomp.el (byte-compile-char-before)
12828 (byte-compile-backward-char, byte-compile-backward-word):
12829 Improve previous change, to handle non-explicit nil.
12830
12831 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12832
12833 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
12834 (smie--opener/closer-at-point): New function.
12835 (smie--matching-block-data): Use it. Don't match from right after an
12836 opener or right before a closer. Obey smie-blink-matching-inners.
12837 Don't signal a mismatch for repeated inners like "switch..case..case".
12838
12839 2013-06-07 Leo Liu <sdl.web@gmail.com>
12840
12841 * progmodes/octave.el (octave-mode): Set comment-use-global-state
12842 to t. (Bug#14303)
12843 (octave-function-header-regexp): Fix. (Bug#14570)
12844 (octave-help-mode-finish-hook, octave-help-mode-finish):
12845 Remove. Just use temp-buffer-show-hook.
12846
12847 * newcomment.el (comment-search-backward): Revert last change.
12848 (Bug#14434)
12849
12850 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
12851
12852 2013-06-07 Eli Zaretskii <eliz@gnu.org>
12853
12854 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
12855 through xargs, to avoid failure due to MS-Windows limitations on
12856 command-line length.
12857
12858 2013-06-06 Glenn Morris <rgm@gnu.org>
12859
12860 * font-lock.el (lisp-font-lock-keywords-2):
12861 Treat user-error like error.
12862
12863 * emacs-lisp/bytecomp.el (byte-compile-char-before)
12864 (byte-compile-backward-char, byte-compile-backward-word):
12865 Handle explicit nil arguments. (Bug#14565)
12866
12867 2013-06-05 Alan Mackenzie <acm@muc.de>
12868
12869 * isearch.el (isearch-allow-prefix): New user option.
12870 (isearch-other-meta-char): Don't exit isearch when a prefix
12871 argument is typed whilst `isearch-allow-prefix' is non-nil.
12872 (Bug#9706)
12873
12874 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12875
12876 * autorevert.el (auto-revert-notify-handler): Use memq.
12877 Hide assertion failure.
12878
12879 * skeleton.el: Use cl-lib.
12880 (skeleton-further-elements): Use defvar-local.
12881 (skeleton-insert): Use cl-progv.
12882
12883 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
12884
12885 * progmodes/prog-mode.el (prog-prettify-symbols)
12886 (prog-prettify-install): Update docstrings.
12887
12888 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12889
12890 * simple.el: Move all the prog-mode code to prog-mode.el.
12891 * progmodes/prog-mode.el: New file.
12892 * loadup.el: Add prog-mode.el.
12893
12894 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
12895
12896 * simple.el (prog-prettify-symbols): Add version.
12897 (prog-prettify-install): Add convenience function to prettify symbols.
12898
12899 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
12900 (perl--augmented-font-lock-keywords-1)
12901 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
12902 variables and use it.
12903
12904 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
12905 (cfengine3-mode): Remove unneeded variable and use it.
12906
12907 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
12908 (lisp--augmented-font-lock-keywords-1)
12909 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
12910 Remove unneeded variables and use it.
12911
12912 2013-06-05 João Távora <joaotavora@gmail.com>
12913
12914 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
12915 to point when opening the connection. (Bug#14380)
12916
12917 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12918
12919 * subr.el (load-history-regexp, load-history-filename-element)
12920 (eval-after-load, after-load-functions, do-after-load-evaluation)
12921 (eval-next-after-load, display-delayed-warnings)
12922 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
12923 definition of save-match-data.
12924 (overriding-local-map): Remove accidental obsolescence declaration.
12925
12926 * emacs-lisp/edebug.el (edebug-result): Move before first use.
12927
12928 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
12929
12930 Generalize symbol prettify support to prog-mode and implement it
12931 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
12932 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
12933 (prog--prettify-font-lock-compose-symbol)
12934 (prog-prettify-font-lock-symbols-keywords): New variables and
12935 functions to support symbol prettification.
12936 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
12937 (lisp--augmented-font-lock-keywords-1)
12938 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
12939 (lisp--prettify-symbols-alist): Implement prettify of lambda.
12940 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
12941 (cfengine3--prettify-symbols-alist, cfengine3-mode):
12942 Implement prettify of -> => :: strings.
12943 * progmodes/perl-mode.el (perl-prettify-symbols)
12944 (perl--font-lock-compose-symbol)
12945 (perl--font-lock-symbols-keywords): Move to prog-mode.
12946 (perl--prettify-symbols-alist): Prettify -> => :: strings.
12947 (perl-font-lock-keywords-1)
12948 (perl-font-lock-keywords-2): Remove explicit prettify support.
12949 (perl--augmented-font-lock-keywords)
12950 (perl--augmented-font-lock-keywords-1)
12951 (perl--augmented-font-lock-keywords-2, perl-mode):
12952 Implement prettify support.
12953
12954 2013-06-05 Leo Liu <sdl.web@gmail.com>
12955
12956 Re-implement SMIE matching block highlight using
12957 show-paren-data-function. (Bug#14395)
12958 * emacs-lisp/smie.el (smie-matching-block-highlight)
12959 (smie--highlight-matching-block-overlay)
12960 (smie--highlight-matching-block-lastpos)
12961 (smie-highlight-matching-block)
12962 (smie-highlight-matching-block-mode): Remove.
12963 (smie--matching-block-data-cache): New variable.
12964 (smie--matching-block-data): New function.
12965 (smie-setup): Use smie--matching-block-data for
12966 show-paren-data-function.
12967
12968 * progmodes/octave.el (octave-mode-menu): Fix.
12969 (octave-find-definition): Skip garbage lines.
12970
12971 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12972
12973 Fix compilation error with simultaneous dynamic+lexical scoping.
12974 Add warning when a defvar appears after the first let-binding.
12975 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
12976 (byte-compile-close-variables): Initialize it.
12977 (byte-compile--declare-var): New function.
12978 (byte-compile-file-form-defvar)
12979 (byte-compile-file-form-define-abbrev-table)
12980 (byte-compile-file-form-custom-declare-variable): Use it.
12981 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
12982 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
12983 (byte-compile-bind): Handle dynamic bindings that shadow
12984 lexical bindings.
12985 (byte-compile-unbind): Make arg non-optional.
12986 (byte-compile-let): Simplify.
12987 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
12988 (cconv--analyse-function, cconv-analyse-form): Populate it.
12989 Protect byte-compile-bound-variables to limit the scope of defvars.
12990 (cconv-analyse-form): Add missing rule for (defvar <foo>).
12991 Remove unneeded rule for `declare'.
12992
12993 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
12994 so as to avoid depending on cl-adjoin at run-time.
12995 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
12996
12997 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
12998 (macroexp--warn-and-return): Use it.
12999
13000 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13001
13002 * subr.el: Convert to lexical binding.
13003 (overriding-local-map): Make obsolete.
13004 (add-to-list): Doc fix. Add compiler macro.
13005 (read-key): Swap values of local maps.
13006
13007 2013-06-05 Leo Liu <sdl.web@gmail.com>
13008
13009 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
13010
13011 2013-06-04 Leo Liu <sdl.web@gmail.com>
13012
13013 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
13014 (compilation-auto-jump): Suppress the "Mark set" message to give
13015 way to exit message.
13016
13017 2013-06-04 Alan Mackenzie <acm@muc.de>
13018
13019 Remove faulty optimisation from indentation calculation.
13020 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
13021 search limit based on 2000 characters back from indent-point.
13022
13023 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13024
13025 * eshell/em-term.el (cl-lib): Require `cl-lib'.
13026
13027 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
13028
13029 * emacs-lisp/lisp.el: Use lexical-binding.
13030 (lisp--local-variables-1, lisp--local-variables): New functions.
13031 (lisp--local-variables-completion-table): New var.
13032 (lisp-completion-at-point): Use it complete let-bound vars.
13033
13034 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
13035 eagerly (bug#14422).
13036
13037 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
13038
13039 * autorevert.el (auto-revert-notify-enabled)
13040 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
13041 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
13042 (auto-revert-notify-handler): Handle also gfilenotify.
13043
13044 * subr.el (file-notify-handle-event): New defun. Replacing ...
13045 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
13046 Remove.
13047
13048 2013-06-03 Juri Linkov <juri@jurta.org>
13049
13050 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
13051 `M-s h .'. (Bug#14427)
13052
13053 * hi-lock.el (highlight-symbol-at-point): New alias for the new
13054 command `hi-lock-face-symbol-at-point'.
13055 (hi-lock-face-symbol-at-point): New command.
13056 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
13057 (hi-lock-menu): Add `highlight-symbol-at-point'.
13058 (hi-lock-mode): Doc fix.
13059
13060 * isearch.el (isearch-forward-symbol-at-point): New command.
13061 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
13062 (isearch-highlight-regexp): Add a regexp which matches
13063 words/symbols for word/symbol mode.
13064
13065 * subr.el (find-tag-default-bounds): New function with the body
13066 mostly moved from `find-tag-default'.
13067 (find-tag-default): Move most code to `find-tag-default-bounds',
13068 call it and apply `buffer-substring-no-properties' afterwards.
13069
13070 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13071
13072 * eshell/em-term.el (eshell-term-initialize):
13073 Use `cl-intersection' rather than `intersection'.
13074
13075 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
13076
13077 * vc/log-view.el: Doc fix.
13078 (log-view-mode-map): Copy keymap from `special-mode-map'.
13079
13080 2013-06-02 Eric Ludlam <zappo@gnu.org>
13081
13082 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
13083 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
13084 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
13085 (eieio-unbound, eieio-default-superclass)
13086 (eieio--define-field-accessors, method-static, method-before)
13087 (method-primary, method-after, method-num-lists)
13088 (method-generic-before, method-generic-primary)
13089 (method-generic-after, method-num-slots)
13090 (eieio-specialized-key-to-generic-key)
13091 (eieio--check-type, class-v, class-p)
13092 (eieio-class-name, define-obsolete-function-alias)
13093 (eieio-class-parents-fast, eieio-class-children-fast)
13094 (same-class-fast-p, class-constructor, generic-p)
13095 (generic-primary-only-p, generic-primary-only-one-p)
13096 (class-option-assoc, class-option, eieio-object-p)
13097 (class-abstract-p, class-method-invocation-order)
13098 (eieio-defclass-autoload-map, eieio-defclass-autoload)
13099 (eieio-class-un-autoload, eieio-defclass)
13100 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
13101 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
13102 (eieio--defgeneric-init-form, eieio-defgeneric-form)
13103 (eieio-defgeneric-reset-generic-form)
13104 (eieio-defgeneric-form-primary-only)
13105 (eieio-defgeneric-reset-generic-form-primary-only)
13106 (eieio-defgeneric-form-primary-only-one)
13107 (eieio-defgeneric-reset-generic-form-primary-only-one)
13108 (eieio-unbind-method-implementations)
13109 (eieio--defmethod, eieio--typep)
13110 (eieio-perform-slot-validation, eieio-validate-slot-value)
13111 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
13112 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
13113 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
13114 (eieio-slot-name-index, eieio-class-slot-name-index)
13115 (eieio-set-defaults, eieio-initarg-to-attribute)
13116 (eieio-attribute-to-initarg, eieio-c3-candidate)
13117 (eieio-c3-merge-lists, eieio-class-precedence-c3)
13118 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
13119 (eieio-class-precedence-list, eieio-generic-call-methodname)
13120 (eieio-generic-call-arglst, eieio-generic-call-key)
13121 (eieio-generic-call-next-method-list)
13122 (eieio-pre-method-execution-functions, eieio-generic-call)
13123 (eieio-generic-call-primary-only, eieiomt-method-list)
13124 (eieiomt-optimizing-obarray, eieiomt-install)
13125 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
13126 (eieio-generic-form, eieio-defmethod, make-obsolete)
13127 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
13128 (defclass): Remove `eval-and-compile' from macro.
13129 (call-next-method, shared-initialize): Instead of using
13130 `scoped-class' variable, use new eieio--scoped-class, and
13131 eieio--with-scoped-class.
13132 (initialize-instance): Rename local variable 'scoped-class' to
13133 'this-class' to remove ambiguitity from old global.
13134
13135 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
13136 eieio.el.
13137 (eieio--scoped-class-stack): New variable.
13138 (eieio--scoped-class): New fcn.
13139 (eieio--with-scoped-class): New scoping macro.
13140 (eieio-defclass): Use pushnew instead of add-to-list.
13141 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
13142 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
13143 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
13144 `scoped-class' variable, use new eieio--scoped-class, and
13145 eieio--with-scoped-class.
13146
13147 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
13148
13149 2013-06-02 Tassilo Horn <tsdh@gnu.org>
13150
13151 * eshell/esh-ext.el (eshell-external-command): Pass args to
13152 `eshell-find-interpreter'.
13153 (eshell-find-interpreter): Add new second parameter ARGS.
13154
13155 * eshell/em-script.el (eshell-script-initialize): Add second arg
13156 to the function added as MATCH to `eshell-interpreter-alist'.
13157
13158 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
13159 the function added as MATCH to `eshell-interpreter-alist'.
13160
13161 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
13162 (eshell-visual-options): New defcustom.
13163 (eshell-escape-control-x): Adapt docstring.
13164 (eshell-term-initialize): Test `eshell-visual-subcommands' and
13165 `eshell-visual-options' in addition to `eshell-visual-commands'.
13166 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
13167
13168 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
13169
13170 * progmodes/python.el (python-indent-block-enders): Add break,
13171 continue and raise keywords.
13172
13173 2013-06-01 Glenn Morris <rgm@gnu.org>
13174
13175 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
13176
13177 Plain (f)boundp silences compilation warnings since Emacs 22.1.
13178 * progmodes/cc-cmds.el (delete-forward-p):
13179 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
13180 * progmodes/cc-engine.el (buffer-syntactic-context):
13181 * progmodes/cc-fonts.el (face-property-instance):
13182 * progmodes/cc-mode.el (set-keymap-parents):
13183 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
13184 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
13185 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
13186 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
13187 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
13188
13189 * progmodes/cc-vars.el (other): Emacs has this widget since
13190 at least 21.1, so don't (re)define it.
13191
13192 * eshell/em-cmpl.el (eshell-cmpl-initialize):
13193 Replace the obsolete alias pcomplete-arg-quote-list.
13194
13195 2013-06-01 Leo Liu <sdl.web@gmail.com>
13196
13197 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
13198 punctuation syntax.
13199 (inferior-octave-minimal-columns)
13200 (inferior-octave-last-column-width): New variables.
13201 (inferior-octave-track-window-width-change): New function.
13202 (inferior-octave-mode): Adjust column width so that Octave output,
13203 for example from 'ls', can fit into the window nicely.
13204
13205 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
13206
13207 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13208 Highlight expansions inside regexp literals.
13209
13210 2013-05-31 Glenn Morris <rgm@gnu.org>
13211
13212 * obsolete/sym-comp.el (symbol-complete):
13213 Replace obsolete completion-annotate-function.
13214
13215 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
13216
13217 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
13218
13219 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13220 New function, checks if point is inside a literal that allows
13221 expression expansion.
13222 (ruby-syntax-propertize-expansion): Use it.
13223 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
13224 around the body.
13225
13226 2013-05-30 Juri Linkov <juri@jurta.org>
13227
13228 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
13229 to "\M-si".
13230 (isearch-invisible): New variable.
13231 (isearch-forward): Doc fix.
13232 (isearch-mode): Set `isearch-invisible'
13233 to the value of `search-invisible'.
13234 (isearch-toggle-case-fold): Doc fix.
13235 (isearch-toggle-invisible): New command.
13236 (isearch-query-replace): Let-bind `search-invisible'
13237 to the value of `isearch-invisible'.
13238 (isearch-search): Use `isearch-invisible' instead of
13239 `search-invisible'. Let-bind `search-invisible'
13240 to the value of `isearch-invisible'. (Bug#11378)
13241
13242 2013-05-30 Juri Linkov <juri@jurta.org>
13243
13244 * replace.el (perform-replace): Avoid `isearch-range-invisible'
13245 call when `query-flag' is nil and `search-invisible' is non-nil.
13246 (Bug#11746)
13247
13248 2013-05-30 Glenn Morris <rgm@gnu.org>
13249
13250 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
13251
13252 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
13253 (cc-require): Suppress spurious "noruntime" warnings.
13254 (cc-require-when-compile): Use fboundp, for sake of compiler.
13255
13256 * progmodes/cc-mode.el: Move load of cc-vars before that of
13257 cc-langs (which in turn loads cc-vars), to quieten compiler.
13258
13259 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13260
13261 * paren.el: Simplify the code.
13262 (show-paren-mode): Always start the timer.
13263 (show-paren--idle-timer): Rename from show-paren-idle-timer.
13264 (show-paren--overlay, show-paren--overlay-1): Rename from
13265 show-paren-overlay and show-paren-overlay-1, and initialize to an
13266 overlay rather than to nil.
13267 (show-paren-function): Misc cleanup and simplifications.
13268
13269 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13270
13271 * paren.el (show-paren-data-function): New hook.
13272 (show-paren--default): New function, extracted from show-paren-function.
13273 (show-paren-function): Use show-paren-data-function.
13274
13275 2013-05-30 Glenn Morris <rgm@gnu.org>
13276
13277 * ielm.el (ielm-map, ielm-complete-symbol):
13278 Use completion-at-point rather than obsolete functions.
13279 (inferior-emacs-lisp-mode): Doc fix.
13280 Set completion-at-point-functions, rather than
13281 comint-dynamic-complete-functions.
13282
13283 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
13284 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
13285 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
13286
13287 * image.el (image-animated-p): Tweak definition.
13288
13289 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
13290 (rlogin-process-connection-type): Tweak default. Add set-after.
13291 (rlogin-host): Doc fix.
13292 (rlogin): Tweak prompt.
13293 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
13294
13295 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
13296 * progmodes/tcl.el (inferior-tcl-mode-map):
13297 Use completion-at-point rather than obsolete alias.
13298
13299 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
13300
13301 * minibuffer.el (read-file-name-completion-ignore-case):
13302 Move before completion--in-region, for eager macro expansion.
13303
13304 2013-05-29 Juri Linkov <juri@jurta.org>
13305
13306 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
13307 for total count of matching lines. Add `global-matches' for total
13308 count of matches. Rename `matches' to `lines' for count of
13309 matching lines. Add `matches' for count of matches.
13310 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
13311 to `prev-line' for line number of prev match endpt.
13312 Increment `matches' for every match. Print the number of
13313 matching lines in the header.
13314 (occur-context-lines): Rename `lines' to `curr-line'.
13315 Rename `prev-lines' to `prev-line'. (Bug#14017)
13316
13317 2013-05-29 Juri Linkov <juri@jurta.org>
13318
13319 * replace.el (perform-replace): Add `skip-read-only-count',
13320 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
13321 Increment them for corresponding conditions and report the number
13322 of skipped occurrences in the final message. (Bug#11746)
13323 (query-replace, query-replace-regexp, query-replace-regexp-eval)
13324 (replace-string, replace-regexp): Doc fix.
13325
13326 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
13327
13328 * emacs-lisp/trace.el (trace--read-args): Provide a default.
13329
13330 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
13331 prog-mode-map (bug#14504).
13332
13333 2013-05-29 Leo Liu <sdl.web@gmail.com>
13334
13335 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
13336 (octave-help): Small simplification.
13337
13338 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
13339 off the highlight first.
13340
13341 2013-05-29 Glenn Morris <rgm@gnu.org>
13342
13343 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
13344 Handle idlwave-last-system-routine-info-cons-cell being nil.
13345
13346 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
13347 (idlwave-write-paths): Simplify via with-temp-buffer.
13348
13349 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
13350 * emulation/cua-rect.el: Also load cua-base at run time.
13351
13352 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
13353 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
13354 (cperl-imenu-on-info): Require imenu.
13355
13356 2013-05-28 Alan Mackenzie <acm@muc.de>
13357
13358 Handle "capitalised keywords" correctly.
13359 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
13360
13361 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
13362
13363 * eshell/em-unix.el: Add -r option to cp.
13364
13365 2013-05-28 Glenn Morris <rgm@gnu.org>
13366
13367 * vc/vc-arch.el (vc-exec-after): Declare.
13368 (vc-switches): Autoload.
13369 * vc/vc-bzr.el: No need to require vc when compiling.
13370 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
13371 (vc-resynch-buffer, vc-dir-refresh): Declare.
13372 (vc-setup-buffer, vc-switches): Autoload.
13373 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
13374 (vc-resynch-buffer): Declare.
13375 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
13376 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
13377 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
13378 (grep-read-regexp, grep-read-files, grep-expand-template)
13379 (vc-dir-refresh): Declare.
13380 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
13381 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
13382 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
13383 * vc/vc-mtn.el (vc-exec-after): Declare.
13384 (vc-switches): Autoload.
13385 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
13386 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
13387 (vc-file-tree-walk): Declare.
13388 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
13389 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
13390 (vc-tag-precondition, vc-rename-master): Autoload.
13391 * vc/vc-svn.el (vc-exec-after): Declare.
13392 (vc-switches, vc-setup-buffer): Autoload.
13393 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
13394 Autoload.
13395 (vc-resynch-buffer): Declare.
13396
13397 * obsolete/fast-lock.el (byte-compile-warnings):
13398 Don't warn about obsolete features in this obsolete file.
13399
13400 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
13401 Move definition before use.
13402
13403 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
13404 (dun-unix-verbs): Remove dun-zippy.
13405 (dun-zippy): Remove function.
13406
13407 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
13408
13409 2013-05-27 Juri Linkov <juri@jurta.org>
13410
13411 * replace.el (replace-search): New function with code moved out
13412 from `perform-replace'.
13413 (replace-highlight, replace-dehighlight): Move function definitions
13414 up closer to `replace-search'. (Bug#11746)
13415
13416 2013-05-27 Juri Linkov <juri@jurta.org>
13417
13418 * replace.el (perform-replace): Ignore invisible matches.
13419 In addition to checking `query-replace-skip-read-only', also
13420 filter out matches by calling `run-hook-with-args-until-failure'
13421 on `isearch-filter-predicates', and also check `search-invisible'
13422 for t or call `isearch-range-invisible'.
13423 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
13424
13425 2013-05-27 Juri Linkov <juri@jurta.org>
13426
13427 * isearch.el (isearch-filter-predicates): Rename from
13428 `isearch-filter-predicate'. Doc fix. (Bug#11378)
13429 (isearch-message-prefix): Display text from the property
13430 `isearch-message-prefix' of the currently active filters.
13431 (isearch-search): Don't compare `isearch-filter-predicate' with
13432 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
13433 on `isearch-filter-predicates'. Also check `search-invisible' for t
13434 or call `isearch-range-invisible'.
13435 (isearch-filter-visible): Make obsolete.
13436 (isearch-lazy-highlight-search):
13437 Call `run-hook-with-args-until-failure' on
13438 `isearch-filter-predicates' and use `isearch-range-invisible'.
13439
13440 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
13441 `isearch-filter-predicates' instead of `funcall'ing
13442 `isearch-filter-predicate'.
13443 (Info-mode): Set `Info-isearch-filter' to
13444 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
13445
13446 * dired-aux.el (dired-isearch-filter-predicate-orig):
13447 Remove variable.
13448 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
13449 (dired-isearch-filenames-end): Add and remove
13450 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
13451 instead of changing the value of `isearch-filter-predicate'.
13452 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
13453 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
13454 Put property `isearch-message-prefix' to "filename " on
13455 `dired-isearch-filter-filenames'.
13456
13457 * wdired.el (wdired-change-to-wdired-mode):
13458 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
13459 locally instead of changing `isearch-filter-predicate'.
13460 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
13461
13462 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
13463
13464 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
13465 return the commit hash (Bug#14459). Also set the
13466 `vc-git-detached' property.
13467 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
13468 (vc-git-mode-line-string): Use the same help-echo format whether
13469 in detached mode or not, because we know the actual revision now.
13470 When in detached mode, shorten the revision to 7 chars.
13471
13472 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13473
13474 * emacs-lisp/easy-mmode.el (define-minor-mode):
13475 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
13476 mode hook and provide a docstring.
13477
13478 2013-05-27 Alan Mackenzie <acm@muc.de>
13479
13480 Remove spurious syntax-table text properties inserted by C-y.
13481 * progmodes/cc-mode.el (c-after-change): Also clear hard
13482 syntax-table property with value nil.
13483
13484 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
13485
13486 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
13487 when reading the events; the buffer layout shall not be changed.
13488
13489 2013-05-27 Leo Liu <sdl.web@gmail.com>
13490
13491 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
13492 New variable.
13493 (inferior-octave-directory-tracker): Automatically re-sync
13494 default-directory.
13495 (octave-help): Improve handling of 'See also'.
13496
13497 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13498
13499 * doc-view.el: Minor naming convention tweaks.
13500 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
13501
13502 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
13503 even if there's no `display' property yet (bug#14435).
13504
13505 2013-05-25 Eli Zaretskii <eliz@gnu.org>
13506
13507 * subr.el (unmsys--file-name): Rename from reveal-filename.
13508
13509 * Makefile.in (custom-deps, finder-data, autoloads)
13510 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
13511 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
13512 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
13513
13514 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13515
13516 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
13517 error-completion on the first 2 args of condition-case (bug#14446).
13518 Don't burp at EOB.
13519
13520 2013-05-25 Leo Liu <sdl.web@gmail.com>
13521
13522 * comint.el (comint-previous-matching-input): Do not flood the
13523 *Messages* buffer with trivial messages.
13524
13525 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13526
13527 * progmodes/flymake.el (flymake-nop): Don't return a string.
13528 (flymake-set-at): Fix typo.
13529
13530 * simple.el (read--expression): New function, extracted from
13531 eval-expression. Set completion-at-point-functions (bug#14465).
13532 (eval-expression, eval-minibuffer): Use it.
13533
13534 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
13535
13536 * progmodes/flymake.el (flymake-save-buffer-in-file)
13537 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
13538 (flymake-selected-frame, flymake-log, flymake-ins-after)
13539 (flymake-set-at, flymake-get-buildfile-from-cache)
13540 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
13541 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
13542 Refine the doc string.
13543 (flymake-get-file-name-mode-and-masks): Reformat.
13544 (flymake-get-real-file-name-function): Fix a minor bug.
13545
13546 2013-05-24 Juri Linkov <juri@jurta.org>
13547
13548 * progmodes/grep.el (grep-mode-font-lock-keywords):
13549 Support =linenumber= format used by git-grep for lines with
13550 function names. (Bug#13549)
13551
13552 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13553
13554 * progmodes/octave.el (octave-smie-rules): Return nil rather than
13555 0 after a semi-colon; it works better for smie-auto-fill.
13556 (octave--indent-new-comment-line): New function.
13557 (octave-indent-new-comment-line): Use it (indirectly).
13558 (octave-mode): Don't disable smie-auto-fill. Use add-function to
13559 modify comment-line-break-function.
13560
13561 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
13562 (smie-setup): Use add-function to set it.
13563
13564 2013-05-24 Sam Steingold <sds@gnu.org>
13565
13566 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
13567 argument (before the `interactive' argument).
13568
13569 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13570
13571 * image-mode.el (image-mode-winprops): Add winprops to
13572 image-mode-winprops-alist before running
13573 image-mode-new-window-functions.
13574 * doc-view.el (doc-view-new-window-function): Don't delay
13575 doc-view-goto-page via timers (bug#14435).
13576
13577 2013-05-24 Tassilo Horn <tsdh@gnu.org>
13578
13579 * doc-view.el: Integrate with desktop.el. (Bug#14435)
13580 (doc-view-desktop-save-buffer): New function.
13581 (doc-view-restore-desktop-buffer): New function.
13582 (desktop-buffer-mode-handlers):
13583 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
13584 handler.
13585 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
13586 `desktop-save-buffer' function.
13587
13588 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
13589
13590 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
13591 (tramp-gvfs-file-name-handler): Raise a user error when
13592 `tramp-gvfs-enabled' is nil.
13593 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
13594 Do not raise a user error when loading package. (Bug#14447)
13595
13596 * net/xesam.el: Move to obsolete/.
13597
13598 2013-05-24 Glenn Morris <rgm@gnu.org>
13599
13600 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
13601
13602 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
13603
13604 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
13605 (Info-find-node, Man-getpage-in-background): Declare.
13606
13607 * mail/unrmail.el (unrmail):
13608 Replace obsolete detect-coding-with-priority.
13609
13610 * net/socks.el (socks-split-string): Use this rather than split-string.
13611 (socks-nslookup-host): Update for above change.
13612 (dynamic-choice, s5-dynamic-choice-match)
13613 (s5-dynamic-choice-match-inline, s5-widget-value-create):
13614 Comment out unused code.
13615
13616 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
13617 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
13618 (gud-tooltip-echo-area): Make obsolete.
13619 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
13620
13621 * progmodes/js.el (js--optimize-arglist): Declare.
13622
13623 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
13624
13625 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
13626 (ediff-window-C): Declare.
13627
13628 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
13629 Tweak requires to silence compiler.
13630
13631 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
13632 (he-search-string, he-tried-table, he-expand-list)
13633 (he-init-string, he-string-member, he-substitute-string)
13634 (he-reset-string): Declare.
13635
13636 * obsolete/options.el (list-options): Use custom-variable-p,
13637 rather than obsolete alias.
13638
13639 2013-05-23 Sam Steingold <sds@gnu.org>
13640
13641 * simple.el (shell-command-on-region): Pass the `replace' argument
13642 down to `call-process-region' to comply with the doc as reported on
13643 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
13644
13645 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13646
13647 * emacs-lisp/smie.el (smie-indent-forward-token)
13648 (smie-indent-backward-token): Handle string tokens (bug#14381).
13649
13650 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13651
13652 * ielm.el (ielm-menu): New menu.
13653 (inferior-emacs-lisp-mode): Set comment-start.
13654
13655 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13656
13657 * textmodes/reftex.el (reftex-ref-style-toggle):
13658 Fix deactivate action.
13659
13660 * textmodes/reftex-vars.el (reftex-ref-style-alist):
13661 Add cleveref macros.
13662
13663 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
13664 Accept options for bibliography commands.
13665 * textmodes/reftex-vars.el (reftex-bibliography-commands):
13666 Add addbibresource. Basic Biblatex support.
13667
13668 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
13669
13670 * net/tramp-gvfs.el (top):
13671 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
13672 when loading package. (Bug#14447)
13673
13674 2013-05-23 Glenn Morris <rgm@gnu.org>
13675
13676 * progmodes/js.el: No need to load comint when compiling.
13677 (ring-insert, comint-send-string, comint-send-input)
13678 (comint-last-input-end, ido-chop): Declare.
13679
13680 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
13681 * vc/ediff-mult.el: Adjust requires.
13682 (ediff-directories-internal, ediff-directory-revisions-internal)
13683 (ediff-patch-file-internal): Declare.
13684 * vc/ediff-ptch.el: Adjust requires.
13685 (ediff-use-last-dir, ediff-buffers-internal): Declare.
13686 (ediff-find-file): Autoload.
13687 * vc/ediff-util.el: No need to load ediff when compiling.
13688 (ediff-regions-internal): Declare.
13689 * vc/ediff-wind.el: Adjust requires.
13690 (ediff-compute-toolbar-width): Define when compiling.
13691 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
13692 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
13693 (dired-get-filename, dired-get-marked-files)
13694 (ediff-last-dir-patch, ediff-patch-default-directory)
13695 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
13696 (ediff-patch-buffer-internal): Declare.
13697
13698 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
13699 (ispell-process, ispell-buffer-local-words, lm-summary)
13700 (lm-section-start, lm-section-end): Declare.
13701 (checkdoc-ispell-init): Simplify.
13702
13703 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
13704 (he-string-member, he-reset-string, he-substitute-string): Declare.
13705
13706 * eshell/em-ls.el: Adjust requires.
13707 (eshell-glob-regexp): Declare.
13708 * eshell/em-tramp.el: Adjust requires.
13709 (eshell-parse-command): Autoload.
13710 * eshell/em-xtra.el: Adjust requires.
13711 (eshell-parse-command): Autoload.
13712 * eshell/esh-ext.el: Adjust requires.
13713 (eshell-parse-command, eshell-close-handles): Autoload.
13714 * eshell/esh-io.el: Adjust requires.
13715 (eshell-output-filter): Autoload.
13716 * eshell/esh-util.el: No need to load tramp when compiling.
13717 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
13718 Declare.
13719 (eshell-parse-ange-ls): Require ange-ftp and tramp.
13720 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
13721 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
13722 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
13723 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
13724 * eshell/esh-opt.el, eshell/esh-proc.el:
13725 * eshell/esh-var.el: Adjust requires.
13726 * eshell/eshell.el: Do not require esh-util twice.
13727 (eshell-add-input-to-history): Declare.
13728 (eshell-command): Check history module is active before using it.
13729
13730 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
13731
13732 2013-05-22 Leo Liu <sdl.web@gmail.com>
13733
13734 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
13735
13736 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
13737
13738 * autorevert.el (auto-revert-notify-add-watch)
13739 (auto-revert-notify-handler): Add `attrib' for the inotify case,
13740 it indicates changes in file modification time.
13741
13742 2013-05-22 Glenn Morris <rgm@gnu.org>
13743
13744 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
13745 Always delete the autoloaded function from the noruntime and
13746 unresolved functions lists.
13747
13748 * allout.el: No need to load epa, epg, overlay when compiling.
13749 (epg-context-set-passphrase-callback, epg-list-keys)
13750 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
13751 (epg-key-user-id-list): Declare.
13752
13753 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
13754 (viper-set-parsing-style-toggling-macro)
13755 (viper-set-emacs-state-searchstyle-macros):
13756 Use called-interactively-p on Emacs.
13757 (viper-looking-back): Make it an obsolete alias. Update callers.
13758 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
13759 Use looking-back rather than viper-looking-back.
13760 (viper-tmp-insert-at-eob, viper-enlarge-region)
13761 (viper-read-string-with-history, viper-register-to-point)
13762 (viper-append-to-register, viper-change-state-to-vi)
13763 (viper-backward-char-carefully, viper-forward-char-carefully)
13764 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
13765 (viper-change-state-to-emacs): Declare.
13766 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
13767 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
13768 * emulation/viper-mous.el: Do not load viper-cmd.
13769 (viper-backward-char-carefully, viper-forward-char-carefully)
13770 (viper-forward-word, viper-adjust-window): Declare.
13771
13772 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
13773
13774 * progmodes/idlw-help.el (idlwave-help-fontify):
13775 Use called-interactively-p.
13776
13777 * term/w32console.el (w32-get-console-codepage)
13778 (w32-get-console-output-codepage): Declare.
13779
13780 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
13781 Remove unnecessary declarations.
13782 (dframe-message): Doc fix.
13783
13784 * info.el (dframe-select-attached-frame, dframe-current-frame):
13785 Declare.
13786
13787 * speedbar.el (speedbar-message): Make it an obsolete alias.
13788 Update all callers.
13789 (speedbar-with-attached-buffer)
13790 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
13791 (speedbar-with-writable): Use backquote.
13792 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
13793 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
13794 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
13795 rather than speedbar- aliases.
13796 * mail/rmail.el: Load dframe rather than speedbar when compiling.
13797 (speedbar-make-specialized-keymap, speedbar-insert-button)
13798 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
13799 (speedbar-do-function-pointer): Declare.
13800 (rmail-speedbar-button, rmail-speedbar-find-file)
13801 (rmail-speedbar-move-message):
13802 Use dframe-with-attached-buffer rather than speedbar- alias.
13803 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
13804 (dframe-message, speedbar-make-specialized-keymap)
13805 (speedbar-add-expansion-list, speedbar-mode-functions-list)
13806 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
13807 (speedbar-insert-button, dframe-select-attached-frame)
13808 (dframe-maybee-jump-to-attached-frame)
13809 (speedbar-change-initial-expansion-list)
13810 (speedbar-previously-used-expansion-list-name): Declare.
13811 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
13812 Use dframe-message, dframe-with-attached-buffer rather than
13813 speedbar- aliases.
13814 (gud-sentinel): Silence compiler.
13815 * progmodes/vhdl-mode.el (speedbar-refresh)
13816 (speedbar-do-function-pointer, speedbar-add-supported-extension)
13817 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
13818 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
13819 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
13820 (speedbar-file-lists, speedbar-make-tag-line)
13821 (speedbar-line-directory, speedbar-goto-this-file)
13822 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
13823 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
13824 (speedbar-make-button, speedbar-reset-scanners)
13825 (speedbar-files-item-info, speedbar-line-text)
13826 (speedbar-find-file-in-frame, speedbar-set-timer)
13827 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
13828 (speedbar-with-writable): Do not (re)define it.
13829 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
13830 rather than speedbar- alias.
13831
13832 2013-05-21 Leo Liu <sdl.web@gmail.com>
13833
13834 * progmodes/octave.el (octave-mode-menu): Update and re-organize
13835 menu items.
13836 (octave-mode): Tweak fill-nobreak-predicate.
13837 (inferior-octave-startup): Check process to avoid infinite loop.
13838 (inferior-octave): Pop to buffer first to show abornmal process
13839 exit information.
13840
13841 2013-05-21 Glenn Morris <rgm@gnu.org>
13842
13843 * printing.el (pr-menu-bar): Define when compiling.
13844
13845 2013-05-21 Leo Liu <sdl.web@gmail.com>
13846
13847 * progmodes/octave.el (octave-auto-fill): Remove.
13848 (octave-indent-new-comment-line): Improve.
13849 (octave-mode): Use auto fill mode through
13850 comment-line-break-function and fill-nobreak-predicate.
13851 (octave-goto-function-definition): Support DEFUN_DLD.
13852 (octave-beginning-of-defun): Small tweak.
13853 (octave-help): Show parent directory.
13854
13855 2013-05-21 Glenn Morris <rgm@gnu.org>
13856
13857 * files.el (dired-unmark):
13858 * progmodes/gud.el (gdb-input): Update declarations.
13859
13860 * calculator.el (electric, ehelp): No need to load when compiling.
13861 (Electric-command-loop, electric-describe-mode): Declare.
13862
13863 * doc-view.el (doc-view-current-converter-processes): Move before use.
13864
13865 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13866 Move MODE-set-explicitly definition before use.
13867
13868 * international/mule-diag.el (mule-diag):
13869 Don't use obsolete window-system-version.
13870
13871 * mail/feedmail.el (smtpmail): No need to load when compiling.
13872 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
13873
13874 * mail/mail-utils.el (rfc822): No need to load when compiling.
13875 (rfc822-addresses): Autoload it.
13876 (mail-strip-quoted-names): Trivial simplification.
13877
13878 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
13879 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
13880
13881 * net/snmp-mode.el (tempo): Don't duplicate requires.
13882
13883 * progmodes/prolog.el (info): No need to load when compiling.
13884 (comint): Require before shell requires it.
13885 (Info-goto-node): Autoload it.
13886 (Info-follow-nearest-node): Declare.
13887 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
13888
13889 * textmodes/artist.el (picture-mode-exit): Declare.
13890
13891 * textmodes/reftex-parse.el (reftex-parse-from-file):
13892 Trivial rewrite so the compiler can parse it better.
13893
13894 2013-05-20 Leo Liu <sdl.web@gmail.com>
13895
13896 * progmodes/octave.el (octave-help-mode-map)
13897 (octave-help-mode-finish-hook): New variables.
13898 (octave-help-mode, octave-help-mode-finish): New functions.
13899 (octave-help): Use octave-help-mode.
13900
13901 2013-05-20 Glenn Morris <rgm@gnu.org>
13902
13903 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
13904
13905 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
13906
13907 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
13908 start at point, so that expansion starting right after opening
13909 slash in a regexp is recognized.
13910 (ruby-syntax-before-regexp-re): New defvar, extracted from
13911 ruby-syntax-propertize-function. Since the value of this regexp
13912 is looked up at runtime now, we should be able to turn
13913 `ruby-syntax-methods-before-regexp' into a defcustom later.
13914 (ruby-syntax-propertize-function): Split regexp matching into two
13915 parts, for opening and closing slashes. That allows us to skip
13916 over string interpolations and support multiline regexps.
13917 Don't call `ruby-syntax-propertize-expansions', instead use another rule
13918 for them, which calls `ruby-syntax-propertize-expansion'.
13919 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
13920 call to `ruby-syntax-propertize-function'.
13921 (ruby-syntax-propertize-expansion): Extracted from
13922 `ruby-syntax-propertize-expansions'. Handles one expansion.
13923 (ruby-syntax-propertize-percent-literal): Leave point right after
13924 the percent symbol, so that the expression expansion rule can
13925 propertize the contents.
13926 (ruby-syntax-propertize-heredoc): Leave point at bol following the
13927 heredoc openers.
13928 (ruby-syntax-propertize-expansions): Remove.
13929
13930 2013-05-18 Juri Linkov <juri@jurta.org>
13931
13932 * man.el (Man-default-man-entry): Remove `-' from the end
13933 of the default value. (Bug#14400)
13934
13935 2013-05-18 Glenn Morris <rgm@gnu.org>
13936
13937 * comint.el (comint-password-prompt-regexp):
13938 Allow "password for XXX" where XXX contains colons (eg https://...).
13939
13940 2013-05-18 Leo Liu <sdl.web@gmail.com>
13941
13942 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
13943 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
13944 (octave-source-directories): Don't check process.
13945 (octave-source-directories, octave-find-definition): Doc fix.
13946
13947 2013-05-18 Glenn Morris <rgm@gnu.org>
13948
13949 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
13950 Remove backspace/delete bindings. (Bug#14392)
13951
13952 * cus-dep.el (custom-make-dependencies): Sort the output.
13953 (custom-versions-load-alist): Convert comment to doc.
13954
13955 2013-05-17 Leo Liu <sdl.web@gmail.com>
13956
13957 * newcomment.el (comment-search-backward): Stricter in finding
13958 comment start. (Bug#14303)
13959
13960 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
13961 (octave-comment-start-skip): Properly anchored.
13962
13963 2013-05-17 Leo Liu <sdl.web@gmail.com>
13964
13965 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
13966 Clean up when turned off. (Bug#14395)
13967 (smie--highlight-matching-block-overlay): No longer buffer-local.
13968 (smie-highlight-matching-block): Adjust.
13969
13970 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
13971
13972 Doc string fix for "nanoseconds" (Bug#14406).
13973 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
13974 Fix doc string typo that had "nanoseconds" instead of "microseconds".
13975
13976 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
13977
13978 * calc/calc-units.el (math-extract-units): Preserve powers
13979 of units.
13980
13981 2013-05-17 Leo Liu <sdl.web@gmail.com>
13982
13983 * subr.el (delete-consecutive-dups): New function.
13984 * ido.el (ido-set-matches-1): Use it.
13985 * progmodes/octave.el (inferior-octave-completion-table): Use it.
13986 * ido.el (ido-remove-consecutive-dups): Remove.
13987
13988 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13989
13990 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
13991 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
13992 regexp-opt's `words'.
13993
13994 2013-05-16 Leo Liu <sdl.web@gmail.com>
13995
13996 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
13997 (smie--highlight-matching-block-overlay)
13998 (smie--highlight-matching-block-lastpos)
13999 (smie--highlight-matching-block-timer): New variables.
14000 (smie-highlight-matching-block): New function.
14001 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
14002 (smie-setup): Conditionally enable smie-blink-matching-open.
14003
14004 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
14005
14006 Sync with upstream verilog-mode r840.
14007 * progmodes/verilog-mode.el (verilog-mode-version)
14008 (verilog-mode-release-date): Update.
14009 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
14010 (verilog-sig-tieoff): Fix string error on
14011 AUTORESET with colon define, bug594. Reported by Andrew Hou.
14012 (verilog-read-decls): Fix parameters confusing
14013 AUTOINST interfaces, bug565. Reported by Leith Johnson.
14014
14015 2013-05-16 Eli Zaretskii <eliz@gnu.org>
14016
14017 * subr.el (reveal-filename): New function.
14018
14019 * loadup.el: Compute Emacs executable versions on MS-Windows,
14020 where executables have the .exe extension. Add a hard link
14021 emacs-XX.YY.ZZ.exe on MS-Windows.
14022
14023 * Makefile.in (XARGS_LIMIT): New variable.
14024 (custom-deps, finder-data, autoloads)
14025 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14026 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14027 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
14028 (compile-main): Limit xargs according to $(XARGS_LIMIT).
14029
14030 2013-05-16 Leo Liu <sdl.web@gmail.com>
14031
14032 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
14033 (octave-mode-menu, octave-mode-map): Remove its uses.
14034
14035 2013-05-16 Reto Zimmermann <reto@gnu.org>
14036
14037 Sync with upstream vhdl mode v3.34.2.
14038 * progmodes/vhdl-mode.el: Use `push' throughout.
14039 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
14040 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
14041 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
14042 (vhdl-actual-generic-name): New option to derive actual generic name.
14043 (vhdl-port-paste-signals): Replace formal by actual generics.
14044 (vhdl-beautify): New name for old group vhdl-align. Update users.
14045 (vhdl-beautify-options): New option.
14046 (vhdl-last-input-event): New compat alias. Use throughout.
14047 (vhdl-goto-line): Replace user level function `goto-line'.
14048 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
14049 vhdl-fix-statement-buffer.
14050 (vhdl-create-mode-menu): Add some entries.
14051 (vhdl-align-region-groups): Respect vhdl-beautify-options.
14052 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
14053 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
14054 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
14055 to force statements on one line.
14056 (vhdl-remove-trailing-spaces-region):
14057 New, split from vhdl-remove-trailing-spaces.
14058 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
14059 Respect vhdl-beautify-options.
14060 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
14061 (vhdl-update-sensitivity-list): Not add with index if exists without.
14062 Not include array index with signal. Ignore keywords in comments.
14063 (vhdl-get-visible-signals): Regexp tweaks.
14064 (vhdl-template-component-inst): Handle empty library.
14065 (vhdl-template-type): Add template for 'enum' type.
14066 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
14067 Use vhdl-replace-string.
14068 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
14069 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
14070 (vhdl-speedbar-initialize): Update for above name change.
14071 (vhdl-compose-wire-components): Fix in handling of constants.
14072 (vhdl-error-regexp-emacs-alist): New variable.
14073 (vhdl-error-regexp-add-emacs): New function;
14074 adds support for new compile.el (Emacs 22+)
14075 (vhdl-generate-makefile-1): Change target order for single lib. units.
14076 Allow use of absolute file names.
14077
14078 2013-05-16 Leo Liu <sdl.web@gmail.com>
14079
14080 * simple.el (prog-indent-sexp): Indent enclosing defun.
14081
14082 2013-05-15 Glenn Morris <rgm@gnu.org>
14083
14084 * cus-start.el (show-trailing-whitespace): Move to editing basics.
14085 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
14086 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
14087 (whitespace-highlight): Move to whitespace group.
14088
14089 * comint.el (comint-source):
14090 * pcmpl-linux.el (pcmpl-linux):
14091 * shell.el (shell-faces):
14092 * eshell/esh-opt.el (eshell-opt):
14093 * international/ccl.el (ccl): Remove empty custom groups.
14094
14095 * completion.el (dynamic-completion-mode):
14096 * jit-lock.el (jit-lock-debug-mode):
14097 * minibuffer.el (completion-in-region-mode):
14098 * type-break.el (type-break-mode-line-message-mode)
14099 (type-break-query-mode):
14100 * emulation/tpu-edt.el (tpu-edt-mode):
14101 * progmodes/subword.el (global-subword-mode, global-superword-mode):
14102 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
14103 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
14104
14105 * term/xterm.el (xterm): Change parent group to terminals.
14106
14107 * master.el (master): Remove empty custom group.
14108 (master-mode): Remove unused :group argument.
14109 * textmodes/refill.el (refill): Remove empty custom group.
14110 (refill-mode): Remove unused :group argument.
14111
14112 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
14113
14114 * cus-dep.el: Provide a feature.
14115 (custom-make-dependencies): Ignore dotfiles (dir-locals).
14116 Don't mistakenly ignore files whose basenames match a basename
14117 from preloaded-file-list (eg cedet/ede/simple.el).
14118 Add a fallback method for getting :group.
14119
14120 2013-05-15 Juri Linkov <juri@jurta.org>
14121
14122 * isearch.el (isearch-char-by-name): Rename from
14123 `isearch-insert-char-by-name'. Doc fix.
14124 (isearch-forward): Mention `isearch-char-by-name' in
14125 the docstring. (Bug#13348)
14126
14127 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
14128 `exit-minibuffer' instead of
14129 `isearch-nonincremental-exit-minibuffer'.
14130 (isearch-edit-string): Remove mention of
14131 `isearch-nonincremental-exit-minibuffer' from docstring.
14132 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
14133 (isearch-forward-exit-minibuffer)
14134 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
14135
14136 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14137
14138 * loadup.el: Just use unversioned DOC.
14139
14140 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
14141 literals as extending to EOB.
14142 (nxml-last-fontify-end): Remove unused variable.
14143 (nxml-after-change1): Use with-silent-modifications.
14144 (nxml-extend-after-change-region): Simplify.
14145 (nxml-extend-after-change-region1): Remove function.
14146 (nxml-after-change1): Don't adjust for dependent regions.
14147 (nxml-fontify-matcher): Simplify.
14148 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
14149 (xmltok-add-dependent): Remove function.
14150 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
14151 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
14152 (xmltok-scan-prolog-after-processing-instruction-open): Treat
14153 unclosed <[[, <?, comment, and other literals as extending to EOB.
14154 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
14155 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
14156 Remove functions.
14157 (rng-do-some-validation-1): Don't mark dependent regions.
14158 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
14159 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
14160 (nxml-clear-dependent-regions): Remove functions.
14161 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
14162 (nxml-ensure-scan-up-to-date):
14163 Don't clear&mark dependent regions.
14164
14165 2013-05-15 Leo Liu <sdl.web@gmail.com>
14166
14167 * progmodes/octave.el (octave-goto-function-definition):
14168 Improve and fix callers.
14169
14170 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14171
14172 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
14173 the setter (bug#14387).
14174
14175 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
14176 surrounding group (bug#14402).
14177
14178 2013-05-14 Juri Linkov <juri@jurta.org>
14179
14180 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
14181 (Bug#14390)
14182
14183 2013-05-14 Glenn Morris <rgm@gnu.org>
14184
14185 * progmodes/f90.el (f90-imenu-generic-expression):
14186 Fix typo in 2013-05-08 change. (Bug#14402)
14187
14188 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14189
14190 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
14191 Remove signals for which replies are never received.
14192
14193 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14194
14195 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
14196 (gdb-handler-alist, gdb-handler-number): Remove variables.
14197 (gdb-handler-list): New variable.
14198 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
14199 (gdb-pending-handler-p, gdb-handle-reply)
14200 (gdb-remove-all-pending-triggers): New functions.
14201 (gdb-discard-unordered-replies): New defcustom.
14202 (gdb-handler): New defstruct.
14203 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
14204 instead of gdb-pending-triggers. Update docstring.
14205 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
14206 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
14207 (gdb-var-update-handler, def-gdb-auto-update-trigger)
14208 (def-gdb-auto-update-handler, gdb-get-changed-registers)
14209 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
14210 (gdb-frame-handler): Pending triggers are now automatically managed.
14211 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
14212 Remove argument.
14213 (gdb-input): Automatically handles pending triggers. Update docstring.
14214 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
14215 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
14216 Update comments.
14217 (gdb-done-or-error): Now use gdb-handle-reply.
14218
14219 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14220
14221 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
14222 gdb-debug-log.
14223
14224 2013-05-14 Glenn Morris <rgm@gnu.org>
14225
14226 * subr.el (user-emacs-directory-warning): New option.
14227 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
14228
14229 2013-05-14 Leo Liu <sdl.web@gmail.com>
14230
14231 * progmodes/octave.el (octave-font-lock-keywords): Fix error
14232 during redisplay.
14233 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
14234 (octave-font-lock-texinfo-comment): Fix invalid search bound
14235 error: wrong side of point.
14236
14237 2013-05-14 Glenn Morris <rgm@gnu.org>
14238
14239 * progmodes/flymake.el (flymake-xml-program): New option.
14240 (flymake-xml-init): Use it.
14241
14242 * term/xterm.el: Provide a feature.
14243
14244 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
14245
14246 2013-05-13 Glenn Morris <rgm@gnu.org>
14247
14248 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
14249 Add compat aliases as a hack workaround. (Bug#14384)
14250
14251 2013-05-13 Leo Liu <sdl.web@gmail.com>
14252
14253 * progmodes/octave.el (octave-indent-comment): Fix indentation for
14254 ###, and %!.
14255 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
14256 C-M-q.
14257 (octave-comment-start-skip): Include %!.
14258 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
14259
14260 2013-05-12 Leo Liu <sdl.web@gmail.com>
14261
14262 * progmodes/octave.el (inferior-octave-startup): Store the value
14263 of __octave_srcdir__ for octave-source-directories.
14264 (inferior-octave-check-process): New function refactored out of
14265 inferior-octave-send-list-and-digest.
14266 (octave-source-directories)
14267 (octave-find-definition-filename-function): New variables.
14268 (octave-source-directories)
14269 (octave-find-definition-default-filename): New functions.
14270 (octave-find-definition): Improve to find functions implemented in C++.
14271
14272 2013-05-12 Glenn Morris <rgm@gnu.org>
14273
14274 * calendar/diary-lib.el (diary-outlook-format-1):
14275 Don't include dayname in the output. (Bug#14349)
14276
14277 2013-05-11 Glenn Morris <rgm@gnu.org>
14278
14279 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
14280
14281 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
14282 Treat cc-provide like provide.
14283
14284 2013-05-11 Kevin Ryde <user42@zip.com.au>
14285
14286 * cus-dep.el (custom-make-dependencies):
14287 Use generated-autoload-load-name for the sake of files such
14288 such cedet/semantic/bovine/c.el, where the base file name
14289 is not in load-path. (Bug#5277)
14290
14291 2013-05-11 Glenn Morris <rgm@gnu.org>
14292
14293 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
14294 Provide features.
14295
14296 2013-05-11 Leo Liu <sdl.web@gmail.com>
14297
14298 * progmodes/octave.el (octave-indent-comment): Improve.
14299 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
14300 (octave-eldoc-function-signatures, octave-eldoc-function):
14301 New functions.
14302 (octave-mode, inferior-octave-mode): Add eldoc support.
14303
14304 2013-05-11 Richard Stallman <rms@gnu.org>
14305
14306 * epa.el (epa-decrypt-file): Take output file name as argument
14307 and read it using `interactive'.
14308
14309 2013-05-11 Leo Liu <sdl.web@gmail.com>
14310
14311 * progmodes/octave.el (octave-beginning-of-line)
14312 (octave-end-of-line): Check before using up-list because it jumps
14313 out of more syntactic contructs since moving to smie.
14314 (octave-indent-comment): New function.
14315 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
14316 (octave-begin-keywords, octave-end-keywords)
14317 (octave-reserved-words, octave-smie-bnf-table)
14318 (octave-smie-rules): Add new keywords from Octave 3.6.4.
14319
14320 2013-05-11 Glenn Morris <rgm@gnu.org>
14321
14322 * faces.el (internal-face-x-get-resource):
14323 * frame.el (ns-display-monitor-attributes-list):
14324 * calc/calc-aent.el (math-to-radians-2):
14325 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
14326 Fix declarations.
14327
14328 * calc/calc-menu.el: Make it loadable in isolation.
14329
14330 * net/eudcb-bbdb.el: Make it loadable without bbdb.
14331 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
14332 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
14333 (eudc-bbdb-query-internal): Require 'bbdb.
14334
14335 * lpr.el (lpr-headers-switches):
14336 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
14337
14338 * progmodes/sql.el (sql-login-params): Fix and improve :type.
14339
14340 * emulation/edt-mapper.el: In batch mode, error rather than hang.
14341
14342 * term.el (term-set-escape-char): Make it idempotent.
14343
14344 2013-05-10 Leo Liu <sdl.web@gmail.com>
14345
14346 * progmodes/octave.el (inferior-octave-completion-table):
14347 No longer a function and all uses changed. Use cache to speed up
14348 completion due to bug#11906.
14349 (octave-beginning-of-defun): Re-write to be more general.
14350
14351 2013-05-10 Glenn Morris <rgm@gnu.org>
14352
14353 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
14354
14355 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14356
14357 * comint.el (comint-redirect-send-command-to-process): Use :around
14358 rather than :override for comint-redirect-filter.
14359 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
14360 Call it instead of comint-redirect-original-filter-function (which
14361 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
14362
14363 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
14364
14365 * frame.el (display-monitor-attributes-list): Add NS case.
14366 (ns-display-monitor-attributes-list): Declare.
14367
14368 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
14369
14370 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
14371
14372 2013-05-09 Glenn Morris <rgm@gnu.org>
14373
14374 * international/fontset.el (vertical-centering-font-regexp):
14375 Set standard-value.
14376
14377 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
14378
14379 * bookmark.el (bookmark-search-delay):
14380 * cus-start.el (vertical-centering-font-regexp):
14381 * ps-mule.el (ps-mule-font-info-database-default):
14382 * ps-print.el (ps-default-fg, ps-default-bg):
14383 * type-break.el (type-break-good-break-interval):
14384 * whitespace.el (whitespace-indentation-regexp)
14385 (whitespace-space-after-tab-regexp):
14386 * emacs-lisp/testcover.el (testcover-1value-functions)
14387 (testcover-noreturn-functions, testcover-progn-functions)
14388 (testcover-prog1-functions):
14389 * emulation/viper-init.el (viper-emacs-state-cursor-color):
14390 * eshell/em-glob.el (eshell-glob-translate-alist):
14391 * play/tetris.el (tetris-tty-colors):
14392 * progmodes/cpp.el (cpp-face-default-list):
14393 * progmodes/flymake.el (flymake-allowed-file-name-masks):
14394 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
14395 (idlwave-help-browser-generic-args):
14396 * progmodes/make-mode.el (makefile-special-targets-list):
14397 * progmodes/python.el (python-shell-virtualenv-path):
14398 * progmodes/verilog-mode.el (verilog-active-low-regexp)
14399 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
14400 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
14401 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
14402 * textmodes/reftex-vars.el (reftex-format-label-function):
14403 * textmodes/remember.el (remember-diary-file): Fix custom types.
14404
14405 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
14406 Add :version.
14407
14408 2013-05-09 Leo Liu <sdl.web@gmail.com>
14409
14410 * progmodes/octave.el (inferior-octave-completion-at-point):
14411 Restore file completion. (Bug#14300)
14412 (inferior-octave-startup): Fix incorrect highlighting for the
14413 first prompt.
14414
14415 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14416
14417 * progmodes/ruby-mode.el: First cut at SMIE support.
14418 (ruby-use-smie): New var.
14419 (ruby-smie-grammar): New constant.
14420 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
14421 (ruby-smie--forward-token, ruby-smie--backward-token)
14422 (ruby-smie-rules): New functions.
14423 (ruby-mode-variables): Setup SMIE if applicable.
14424
14425 2013-05-08 Eli Zaretskii <eliz@gnu.org>
14426
14427 * simple.el (line-move-visual): Signal beginning/end of buffer
14428 only if vertical-motion moved less than it was requested. Avoids
14429 silly incorrect error messages when there are display strings with
14430 multiple newlines at EOL.
14431
14432 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14433
14434 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
14435 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
14436 (prolog-char-quote-workaround):
14437 * progmodes/cperl-mode.el (cperl-under-as-char):
14438 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
14439 Mark as obsolete.
14440 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
14441 their declaration.
14442 (vhdl-mode-syntax-table-init): Remove.
14443
14444 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
14445 last change.
14446
14447 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
14448 syntax for "_".
14449 (ld-script-font-lock-keywords):
14450 Change regexps to use things like \_< and \_>.
14451
14452 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
14453 Change all regexps to use things like \_< and \_>.
14454
14455 * progmodes/autoconf.el (autoconf-definition-regexp)
14456 (autoconf-font-lock-keywords, autoconf-current-defun-function):
14457 Handle a _ with symbol syntax.
14458 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
14459
14460 * progmodes/ada-mode.el (ada-mode-abbrev-table):
14461 Consolidate declaration.
14462 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
14463 the declaration.
14464 (ada-create-syntax-table): Remove.
14465 (ada-capitalize-word): Don't mess with the syntax of "_" since it
14466 already has the right syntax nowadays.
14467 (ada-goto-next-word): Don't change the syntax of "_".
14468
14469 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
14470 with-wrapper-hook.
14471
14472 2013-05-08 Sam Steingold <sds@gnu.org>
14473
14474 * thingatpt.el (thing-at-point): Accept optional second argument
14475 NO-PROPERTIES to strip the text properties from the return value.
14476 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
14477 to `thing-at-point' instead of stripping the properties ourselves.
14478 Also, when `thing-at-point' fails to find a url, prepend "http://"
14479 to the filename at point on the assumption that the user is
14480 pointing at something like gnu.org/gnu.
14481
14482 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
14483
14484 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
14485 * faces.el (crm-separator):
14486 Silence byte-compiler.
14487
14488 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
14489 (tool-bar-map): Remove unneeded defvars.
14490
14491 2013-05-08 Leo Liu <sdl.web@gmail.com>
14492
14493 Re-work a fix for bug#10994 based on Le Wang's patch.
14494 * ido.el (ido-remove-consecutive-dups): New helper.
14495 (ido-completing-read): Use it.
14496 (ido-chop): Revert fix for bug#10994.
14497
14498 2013-05-08 Adam Spiers <emacs@adamspiers.org>
14499
14500 * cus-edit.el (custom-save-variables):
14501 Pretty-print long values. (Bug#14187)
14502
14503 2013-05-08 Glenn Morris <rgm@gnu.org>
14504
14505 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
14506 (m4-mode-syntax-table): Init in the defvar.
14507 (m4-mode-abbrev-table): Let define-derived-mode define it.
14508
14509 2013-05-08 Tom Tromey <tromey@redhat.com>
14510
14511 * progmodes/m4-mode.el (m4-mode-syntax-table):
14512 Do not treat "_" as word constituent. (Bug#14167)
14513
14514 2013-05-07 Glenn Morris <rgm@gnu.org>
14515
14516 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
14517 Remove explicit eshell-isearch-cancel-map.
14518
14519 * progmodes/f90.el (f90-smart-end-names): New option.
14520 (f90-smart-end): Doc fix.
14521 (f90-end-block-optional-name): New constant.
14522 (f90-block-match): Respect f90-smart-end-names.
14523
14524 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14525
14526 * progmodes/octave.el (octave-smie-forward-token): Be more careful
14527 about implicit semi-colons (bug#14218).
14528
14529 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
14530
14531 * frame.el (display-monitor-attributes-list)
14532 (frame-monitor-attributes): New functions.
14533
14534 2013-05-06 Leo Liu <sdl.web@gmail.com>
14535
14536 * progmodes/octave.el (octave-syntax-propertize-function): Change
14537 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
14538 (octave-font-lock-keywords): Use octave-operator-regexp.
14539 (octave-completion-at-point): Rename from
14540 octave-completion-at-point-function.
14541 (inferior-octave-directory-tracker): Robustify.
14542 (octave-text-functions): Remove and fix its uses. No such things
14543 any more.
14544
14545 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14546
14547 * emacs-lisp/trace.el (trace--display-buffer): New function.
14548 (trace-make-advice): Use it.
14549
14550 2013-05-06 Juri Linkov <juri@jurta.org>
14551
14552 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
14553 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
14554 Doc fix.
14555 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
14556 in the help string. (Bug#12985)
14557
14558 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
14559
14560 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
14561
14562 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14563
14564 * progmodes/perl-mode.el: Add support for here documents.
14565 (perl-syntax-propertize-function): Match here-doc markers.
14566 (perl-syntax-propertize-special-constructs): Find their end.
14567 (perl-imenu-generic-expression): Use [:alnum:].
14568
14569 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
14570 (advice--add-function): Refresh the advice if already present
14571 (bug#14317).
14572
14573 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
14574
14575 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
14576
14577 2013-05-06 Glenn Morris <rgm@gnu.org>
14578
14579 * w32-fns.el (w32-charset-info-alist): Declare.
14580
14581 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
14582 of its defcustom properties.
14583 (eshell-cmpl-initialize): No need to load pcomplete.
14584
14585 * generic-x.el: No need to require comint when compiling.
14586
14587 * net/eudc-export.el: Make it loadable without bbdb.
14588 (top-level): Use require rather than load-library.
14589 (eudc-create-bbdb-record, eudc-bbdbify-phone)
14590 (eudc-batch-export-records-to-bbdb)
14591 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
14592 Require bbdb.
14593
14594 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14595
14596 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
14597 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
14598 some tweaks, instead.
14599
14600 2013-05-05 Leo Liu <sdl.web@gmail.com>
14601
14602 * progmodes/octave.el (octave-font-lock-keywords)
14603 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
14604 (inferior-octave-send-list-and-digest): Improve error message.
14605 (octave-mode, inferior-octave-mode): Use setq-local.
14606 (octave-help): Set info-lookup-mode.
14607
14608 2013-05-05 Richard Stallman <rms@gnu.org>
14609
14610 * vc/compare-w.el (compare-windows-whitespace):
14611 Treat no-break space as whitespace.
14612
14613 * mail/rmailsum.el (rmail-summary-rmail-update):
14614 Detect empty summary and don't change selected message.
14615 (rmail-summary-goto-msg): Likewise.
14616
14617 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
14618 Doc fixes, rename args.
14619
14620 2013-05-05 Alan Mackenzie <acm@muc.de>
14621
14622 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
14623
14624 2013-05-05 Juri Linkov <juri@jurta.org>
14625
14626 * info.el (Info-read-subfile): Use (point-min) instead of (point)
14627 to not add the length of the summary segment to the return value.
14628 (Bug#14125)
14629
14630 2013-05-05 Leo Liu <sdl.web@gmail.com>
14631
14632 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
14633 (inferior-octave-output-filter): Remove.
14634 (octave-send-region, inferior-octave-startup): Fix callers.
14635 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
14636 (octave-binary-file-extensions): New user variable.
14637 (octave-find-definition): Confirm if opening binary files.
14638 (octave-help-file): Use octave-find-definition to get the binary
14639 confirmation.
14640 (octave-help): Adjust for octave-help-file change.
14641
14642 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14643
14644 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
14645 Merge the two entries that handle function definitions.
14646 (pascal--syntax-propertize): New const.
14647 (pascal-mode): Use it. Use setq-local.
14648
14649 2013-05-04 Glenn Morris <rgm@gnu.org>
14650
14651 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
14652 (diary-from-outlook): Respect diary-from-outlook-function.
14653
14654 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14655
14656 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
14657 Move the declaration from C.
14658 (read-minibuffer, eval-minibuffer): Move from C.
14659 (completion-setup-function): Avoid minibuffer-completion-contents.
14660
14661 2013-05-03 Leo Liu <sdl.web@gmail.com>
14662
14663 * progmodes/octave.el (octave-font-lock-keywords): Do not
14664 dehighlight 'end' in comments or strings.
14665 (octave-completing-read, octave-goto-function-definition):
14666 New helpers.
14667 (octave-help-buffer): New user variable.
14668 (octave-help-file, octave-help-function): New button types.
14669 (octave-help): New command and bind it to C-h ;.
14670 (octave-find-definition): New command and bind it to M-.
14671 (user-error): Alias to error if not defined.
14672
14673 2013-05-02 Leo Liu <sdl.web@gmail.com>
14674
14675 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
14676 for \. (bug#14332)
14677 (octave-font-lock-keywords): Include [ and {.
14678
14679 2013-05-02 Leo Liu <sdl.web@gmail.com>
14680
14681 * progmodes/octave.el (inferior-octave-startup-file): Change default.
14682 (inferior-octave): Remove calling comint-mode and return the buffer.
14683 (inferior-octave-startup): Cosmetic changes.
14684
14685 2013-05-02 Leo Liu <sdl.web@gmail.com>
14686
14687 * progmodes/octave.el (octave-syntax-propertize-function):
14688 Include the case when ' is at line beginning. (Bug#14336)
14689
14690 2013-05-02 Glenn Morris <rgm@gnu.org>
14691
14692 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
14693 * desktop.el (vc-dir-mode): Just autoload it here.
14694
14695 2013-05-02 Alan Mackenzie <acm@muc.de>
14696
14697 Eliminate variable c-standard-font-lock-fontify-region-function.
14698 * progmodes/cc-mode.el
14699 (c-standard-font-lock-fontify-region-function): Remove.
14700 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
14701
14702 2013-05-01 Leo Liu <sdl.web@gmail.com>
14703
14704 * progmodes/octave.el: Compatible with older emacs-24 releases.
14705 (inferior-octave-has-built-in-variables): Remove. Built-in
14706 variables were removed from Octave in 2007.
14707 (inferior-octave-startup): Fix uses.
14708 (comint-line-beginning-position): Remove compatibility code for
14709 emacs 21.
14710
14711 2013-05-01 Juri Linkov <juri@jurta.org>
14712
14713 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
14714
14715 2013-05-01 Juri Linkov <juri@jurta.org>
14716
14717 * comint.el (comint-previous-matching-input): Don't print message
14718 "History item: %d" when `isearch-mode' is active.
14719 (comint-history-isearch-message): Print message "History item: %d"
14720 when `comint-input-ring-index' is not empty and this function is
14721 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
14722
14723 2013-05-01 Leo Liu <sdl.web@gmail.com>
14724
14725 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
14726 definitions. Use completion-at-point to insert keywords.
14727 (octave-abbrev-start): Remove.
14728 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
14729
14730 2013-04-30 Leo Liu <sdl.web@gmail.com>
14731
14732 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
14733 change.
14734
14735 2013-04-30 Alan Mackenzie <acm@muc.de>
14736
14737 Handle arbitrarily long C++ member initialisation lists.
14738 * progmodes/cc-engine.el (c-back-over-member-initializers):
14739 new function.
14740 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
14741 (most) member init lists.
14742
14743 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14744
14745 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
14746 variable.
14747
14748 2013-04-30 Leo Liu <sdl.web@gmail.com>
14749
14750 * progmodes/octave.el (octave-variables): Remove. No builtin
14751 variables any more. All converted to functions.
14752 (octave-font-lock-keywords, octave-completion-at-point-function):
14753 Fix uses.
14754 (octave-font-lock-texinfo-comment): New user variable.
14755 (octave-texinfo-font-lock-keywords): New variable for texinfo
14756 comment block.
14757 (octave-function-comment-block): New face.
14758 (octave-font-lock-texinfo-comment): New function.
14759 (octave-mode): Font lock texinfo comment block.
14760
14761 2013-04-29 Leo Liu <sdl.web@gmail.com>
14762
14763 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
14764 indexing expression.
14765 (octave-continuation-string): Do not use \.
14766 (inferior-octave-complete-impossible): Remove.
14767 (inferior-octave-completion-table)
14768 (inferior-octave-completion-at-point): Remove its uses.
14769 (inferior-octave-startup): completion_matches was introduced to
14770 Octave in 1996 so safe to assume it.
14771 (octave-function-file-comment): Improve to follow how Octave does it.
14772 (octave-update-function-file-comment): Tweak.
14773
14774 2013-04-29 Leo Liu <sdl.web@gmail.com>
14775
14776 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
14777 (inferior-octave-startup): Remove inferior-octave-startup-hook.
14778 (octave-function-file-comment): Fix typo.
14779 (octave-sync-function-file-names): Use read-char-choice.
14780
14781 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
14782
14783 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
14784 to t for the less important warnings.
14785
14786 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
14787
14788 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
14789
14790 2013-04-27 Glenn Morris <rgm@gnu.org>
14791
14792 * vc/log-view.el (log-view-current-entry):
14793 Treat "---" separator lines as part of the following rev. (Bug#14169)
14794
14795 2013-04-27 Juri Linkov <juri@jurta.org>
14796
14797 * subr.el (read-number): Doc fix about using it by interactive
14798 code letter `n'. (Bug#14254)
14799
14800 2013-04-27 Juri Linkov <juri@jurta.org>
14801
14802 * desktop.el (desktop-auto-save-timeout): New option.
14803 (desktop-file-checksum): New variable.
14804 (desktop-save): Add optional arg `auto-save' and don't auto-save
14805 if nothing changed.
14806 (desktop-auto-save-timer): New variable.
14807 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
14808 (after-init-hook): Call `desktop-auto-save-set-timer'.
14809 Suggested by Reuben Thomas <rrt@sc3d.org> in
14810 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
14811
14812 2013-04-27 Leo Liu <sdl.web@gmail.com>
14813
14814 * progmodes/octave.el (octave-function-file-p)
14815 (octave-skip-comment-forward, octave-function-file-comment)
14816 (octave-update-function-file-comment): New functions.
14817 (octave-mode-map): Bind C-c ; to
14818 octave-update-function-file-comment.
14819 (octave-mode-menu): Add octave-update-function-file-comment.
14820 (octave-mode, inferior-octave-mode): Fix doc-string.
14821 (octave-insert-defun): Conform to Octave's coding convention.
14822 (Bug#14285)
14823
14824 * files.el (basic-save-buffer): Don't let errors in
14825 before-save-hook prevent saving buffer.
14826
14827 2013-04-20 Roland Winkler <winkler@gnu.org>
14828
14829 * faces.el (read-face-name): Use completing-read if arg multiple
14830 is nil.
14831
14832 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
14833
14834 * ls-lisp.el (ls-lisp-insert-directory): If no files are
14835 displayed, move point to after the totals line.
14836 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
14837 for the details.
14838
14839 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
14840
14841 * emacs-lisp/package.el (package-autoload-ensure-default-file):
14842 Add current dir to the load-path.
14843 (package-generate-autoloads): Don't rely on
14844 autoload-ensure-default-file.
14845
14846 2013-04-26 Reuben Thomas <rrt@sc3d.org>
14847
14848 * textmodes/remember.el (remember-store-in-files): Document that
14849 the file name format is passed to `format-time-string'.
14850
14851 2013-04-26 Leo Liu <sdl.web@gmail.com>
14852
14853 * progmodes/octave.el (octave-sync-function-file-names): New function.
14854 (octave-mode): Use it in before-save-hook.
14855
14856 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
14857
14858 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
14859 (bug#14274).
14860
14861 * progmodes/octave.el (octave-smie-forward-token): Properly skip
14862 \n and comment, even if it's not an implicit ; (bug#14218).
14863
14864 2013-04-26 Glenn Morris <rgm@gnu.org>
14865
14866 * subr.el (read-number): Once more use `read' rather than
14867 `string-to-number', to trap non-numeric input. (Bug#14254)
14868
14869 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
14870
14871 * emacs-lisp/syntax.el (syntax-propertize-multiline):
14872 Use `syntax-multiline' text property consistently instead of
14873 `font-lock-multiline'. (Bug#14237)
14874
14875 2013-04-26 Glenn Morris <rgm@gnu.org>
14876
14877 * emacs-lisp/shadow.el (list-load-path-shadows):
14878 No longer necessary to check for duplicate simple.el, since
14879 2012-07-07 change to init_lread to not include installation lisp
14880 directories in load-path when running uninstalled. (Bug#14270)
14881
14882 2013-04-26 Leo Liu <sdl.web@gmail.com>
14883
14884 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
14885 (octave-mode, inferior-octave-mode): Use setq-local.
14886 (octave-not-in-string-or-comment-p): Rename to
14887 octave-in-string-or-comment-p.
14888 (octave-in-comment-p, octave-in-string-p)
14889 (octave-in-string-or-comment-p): Replace defsubst with defun.
14890
14891 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
14892
14893 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
14894
14895 2013-04-25 Bastien Guerry <bzg@gnu.org>
14896
14897 * textmodes/remember.el (remember-data-directory)
14898 (remember-directory-file-name-format): Fix custom types.
14899
14900 2013-04-25 Leo Liu <sdl.web@gmail.com>
14901
14902 * progmodes/octave.el (octave-completion-at-point-function):
14903 Make use of inferior octave process.
14904 (octave-initialize-completions): Remove.
14905 (inferior-octave-completion-table): New function.
14906 (inferior-octave-completion-at-point): Use it.
14907 (octave-completion-alist): Remove.
14908
14909 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14910
14911 * progmodes/opascal.el: Use font-lock and syntax-propertize.
14912 (opascal-mode-syntax-table): New var.
14913 (opascal-literal-kind, opascal-is-literal-end)
14914 (opascal-literal-token-at): Rewrite.
14915 (opascal--literal-start-re, opascal-font-lock-keywords)
14916 (opascal--syntax-propertize): New constants.
14917 (opascal-font-lock-defaults): Adjust.
14918 (opascal-mode): Use them. Set comment-<foo> variables as well.
14919 (delphi-comment-face, opascal-comment-face, delphi-string-face)
14920 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
14921 (delphi-other-face, opascal-other-face): Remove face variables.
14922 (opascal-save-state): Remove macro.
14923 (opascal-fontifying-progress-step): Remove constant.
14924 (opascal--ignore-changes): Remove var.
14925 (opascal-set-token-property, opascal-parse-next-literal)
14926 (opascal-is-stable-literal, opascal-complete-literal)
14927 (opascal-is-literal-start, opascal-face-of)
14928 (opascal-parse-region, opascal-parse-region-until-stable)
14929 (opascal-fontify-region, opascal-after-change)
14930 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
14931 (opascal-debug-parse-region, opascal-debug-parse-window)
14932 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
14933 (opascal-debug-fontify-buffer): Remove.
14934 (opascal-debug-mode-map): Adjust accordingly.
14935
14936 2013-04-25 Leo Liu <sdl.web@gmail.com>
14937
14938 Merge octave-mod.el and octave-inf.el into octave.el with some
14939 cleanups.
14940 * progmodes/octave.el: New file renamed from octave-mod.el.
14941 * progmodes/octave-inf.el: Merged into octave.el.
14942 * progmodes/octave-mod.el: Renamed to octave.el.
14943
14944 2013-04-25 Tassilo Horn <tsdh@gnu.org>
14945
14946 * textmodes/reftex-vars.el
14947 (reftex-label-ignored-macros-and-environments): New defcustom.
14948
14949 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
14950
14951 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14952
14953 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
14954 (smie-indent-keyword): Improve the check to ensure that the next
14955 comment is really on the same line.
14956 (smie-indent-comment): Don't align with a subsequent closer (or eob).
14957
14958 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
14959 semi-colons if the line is not otherwise empty (bug#14218).
14960
14961 2013-04-25 Glenn Morris <rgm@gnu.org>
14962
14963 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
14964
14965 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
14966
14967 * progmodes/opascal.el (opascal-set-token-property): Rename from
14968 opascal-set-text-properties and only set `token' (bug#14134).
14969 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
14970 (opascal-literal-text-properties): Remove.
14971 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
14972 Adjust callers.
14973
14974 2013-04-24 Reuben Thomas <rrt@sc3d.org>
14975
14976 * textmodes/remember.el (remember-handler-functions): Add an
14977 option for a new handler `remember-store-in-files'.
14978 (remember-data-directory, remember-directory-file-name-format):
14979 New options.
14980 (remember-store-in-files): New function to store remember notes
14981 as separate files within a directory.
14982
14983 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
14984
14985 * progmodes/compile.el (compilation-next-error-function):
14986 Pass "formats" to compilation-find-file (bug#11777).
14987
14988 2013-04-24 Glenn Morris <rgm@gnu.org>
14989
14990 * vc/vc-bzr.el (vc-bzr-print-log):
14991 * vc/vc-hg.el (vc-hg-print-log):
14992 * vc/vc-svn.el (vc-svn-print-log):
14993 Fix START-REVISION with LIMIT != 1. (Bug#14168)
14994
14995 * vc/vc-bzr.el (vc-bzr-print-log):
14996 * vc/vc-cvs.el (vc-cvs-print-log):
14997 * vc/vc-git.el (vc-git-print-log):
14998 * vc/vc-hg.el (vc-hg-print-log):
14999 * vc/vc-mtn.el (vc-mtn-print-log):
15000 * vc/vc-rcs.el (vc-rcs-print-log):
15001 * vc/vc-sccs.el (vc-sccs-print-log):
15002 * vc/vc-svn.el (vc-svn-print-log):
15003 * vc/vc.el (vc-print-log-internal): Doc fixes.
15004
15005 2013-04-23 Glenn Morris <rgm@gnu.org>
15006
15007 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
15008 Remove venerable code attempting to avoid substitute-command-keys.
15009
15010 2013-04-23 Tassilo Horn <tsdh@gnu.org>
15011
15012 * textmodes/reftex-vars.el (reftex-label-regexps):
15013 Call `reftex-compile-variables' after changes to this variable.
15014
15015 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
15016
15017 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
15018 Use lexical-binding.
15019 (jit-lock-force-redisplay): Use markers, check buffer's continued
15020 existence and beware narrowed buffers.
15021 (jit-lock-fontify-now): Adjust call accordingly.
15022
15023 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
15024
15025 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
15026 to avoid misleading the user.
15027
15028 2013-04-22 Leo Liu <sdl.web@gmail.com>
15029
15030 * info-look.el: Prefer latex2e.info. (Bug#14240)
15031
15032 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
15033
15034 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
15035
15036 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
15037 * net/tramp.el (tramp-call-process): ... here.
15038 (tramp-set-completion-function, tramp-parse-putty):
15039 * net/tramp-adb.el (tramp-adb-execute-adb-command):
15040 * net/tramp-gvfs.el (tramp-gvfs-send-command):
15041 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
15042 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
15043 (tramp-call-local-coding-command): Use `tramp-call-process'
15044 instead of `tramp-compat-call-process'.
15045
15046 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
15047 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
15048 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
15049 (tramp-find-inline-compress): Improve traces.
15050 (tramp-maybe-send-script): Check for Perl binary.
15051 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
15052
15053 2013-04-22 Daiki Ueno <ueno@gnu.org>
15054
15055 * epg.el (epg-context-pinentry-mode): New function.
15056 (epg-context-set-pinentry-mode): New function.
15057 (epg--start): Pass --pinentry-mode option to gpg command.
15058
15059 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
15060
15061 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
15062 `comint-dynamic-complete' is obsolete since 24.1, replaced by
15063 `completion-at-point'. (Bug#13774)
15064
15065 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
15066 default key binding for `describe-distribution' has been moved to
15067 `C-h C-o'. (Bug#13970)
15068
15069 2013-04-21 Glenn Morris <rgm@gnu.org>
15070
15071 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
15072 Add doc strings.
15073 (vc-print-log): Clarify interactive prompt.
15074
15075 2013-04-20 Glenn Morris <rgm@gnu.org>
15076
15077 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15078 No longer include timestamp etc information.
15079
15080 2013-04-20 Roland Winkler <winkler@gnu.org>
15081
15082 * faces.el (read-face-name): Bug fix, return just one face if arg
15083 multiple is nil. (Bug#14209)
15084
15085 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15086
15087 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
15088 (remove-function): Autoload.
15089
15090 * comint.el (comint-redirect-original-filter-function): Remove.
15091 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
15092 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
15093 (vc-cvs-annotate-command):
15094 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
15095 * progmodes/prolog.el (prolog-consult-compile):
15096 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
15097 Use add/remove-function instead.
15098 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
15099 (gud-tooltip-process-output, gud-tooltip-tips):
15100 Use add/remove-function instead.
15101 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
15102 (scheme-interaction-mode, exit-scheme-interaction-mode):
15103 Use add/remove-function instead.
15104
15105 * vc/vc-dispatcher.el: Use lexical-binding.
15106 (vc--process-sentinel): Rename from vc-process-sentinel.
15107 Change last arg to be the code to run. Don't use vc-previous-sentinel
15108 and vc-sentinel-commands any more.
15109 (vc-exec-after): Allow code to be a function. Use add/remove-function.
15110 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
15111
15112 2013-04-19 Masatake YAMATO <yamato@redhat.com>
15113
15114 * progmodes/sh-script.el (sh-imenu-generic-expression):
15115 Handle function names with a single character. (Bug#14111)
15116
15117 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
15118
15119 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
15120 for subroutines defined in an eval (bug#14182).
15121
15122 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15123
15124 * bookmark.el (bookmark-completing-read): Improve handling of empty
15125 string (bug#14176).
15126
15127 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15128
15129 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
15130
15131 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
15132
15133 New faster Imenu implementation (bug#14058).
15134 * progmodes/python.el (python-imenu-prev-index-position)
15135 (python-imenu-format-item-label-function)
15136 (python-imenu-format-parent-item-label-function)
15137 (python-imenu-format-parent-item-jump-label-function):
15138 New vars.
15139 (python-imenu-format-item-label)
15140 (python-imenu-format-parent-item-label)
15141 (python-imenu-format-parent-item-jump-label)
15142 (python-imenu--put-parent, python-imenu--build-tree)
15143 (python-imenu-create-index, python-imenu-create-flat-index)
15144 (python-util-popn): New functions.
15145 (python-mode): Set imenu-create-index-function to
15146 python-imenu-create-index.
15147
15148 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
15149
15150 * winner.el (winner-active-region): Use region-active-p, activate-mark
15151 and deactivate-mark (bug#14225).
15152
15153 * simple.el (deactivate-mark): Don't inline it.
15154
15155 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
15156
15157 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
15158
15159 2013-04-18 Tassilo Horn <tsdh@gnu.org>
15160
15161 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
15162 file extensions from the archive-mode entry in order to prefer
15163 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
15164
15165 2013-04-18 Leo Liu <sdl.web@gmail.com>
15166
15167 * bindings.el (help-event-list): Add ?\?.
15168
15169 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
15170
15171 * subr.el (with-wrapper-hook): Declare obsolete.
15172 * simple.el (filter-buffer-substring-function): New hook.
15173 (filter-buffer-substring): Use it.
15174 (filter-buffer-substring-functions): Mark obsolete.
15175 * minibuffer.el (completion-in-region-function): New hook.
15176 (completion-in-region): Use it.
15177 (completion-in-region-functions): Mark obsolete.
15178 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
15179 * abbrev.el (abbrev-expand-function): New hook.
15180 (expand-abbrev): Use it.
15181 (abbrev-expand-functions): Mark obsolete.
15182 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
15183 and :filter-return.
15184
15185 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15186
15187 * progmodes/python.el (python-nav--syntactically): Fix cornercases
15188 and do not care about match data.
15189
15190 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15191
15192 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
15193 completion tables when completing error conditions and
15194 `declare' arguments.
15195 (lisp-complete-symbol, field-complete): Mark as obsolete.
15196 (check-parens): Unmatched parens are user errors.
15197 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
15198
15199 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
15200
15201 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
15202 command changed buffer (ie. `flyspell-pre-buffer' is not current
15203 buffer), which prevents making decisions based on invalid value of
15204 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
15205 cause an error when `flyspell-pre-point' was nil after switching
15206 buffers.
15207 (flyspell-post-command-hook): No longer needs to change buffers when
15208 checking pre-word. While at it remove unnecessary progn.
15209
15210 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
15211
15212 * textmodes/ispell.el (ispell-add-per-file-word-list):
15213 Fix `flyspell-correct-word-before-point' error when accepting
15214 words and `coment-padding' is an integer by using
15215 `comment-normalize-vars' (Bug #14214).
15216
15217 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15218
15219 New defun movement commands.
15220 * progmodes/python.el (python-nav--syntactically)
15221 (python-nav--forward-defun, python-nav-backward-defun)
15222 (python-nav-forward-defun): New functions.
15223
15224 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15225
15226 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
15227 (python-syntax-context): Use named compiler-macro for backwards
15228 compatibility with Emacs 24.x.
15229
15230 2013-04-17 Leo Liu <sdl.web@gmail.com>
15231
15232 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
15233 octave-hide-process-buffer.
15234
15235 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15236
15237 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
15238 (bug#14216).
15239
15240 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
15241
15242 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
15243 Fix adjustment of offset when receiving incomplete responses from GDB
15244 (bug#14129).
15245
15246 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15247
15248 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
15249 python-mode-abbrev-table.
15250 (python-skeleton-define): Adjust accordingly.
15251 (python-mode-abbrev-table): New table that inherits from it so that
15252 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
15253
15254 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
15255 (abbrev-symbol): Use it.
15256 (abbrev--before-point): Use it since we already handle inheritance.
15257
15258 2013-04-16 Leo Liu <sdl.web@gmail.com>
15259
15260 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
15261 binding to info-lookup-symbol.
15262
15263 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
15264
15265 * minibuffer.el (completion--twq-all):
15266 * term/ns-win.el (ns-initialize-window-system):
15267 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
15268
15269 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15270
15271 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
15272 global bindings.
15273
15274 * doc-view.el (doc-view-start-process): Handle url-handler directories.
15275
15276 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
15277
15278 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
15279 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
15280 to nil.
15281 (ruby-end-of-defun): Remove the unused arg, change the docstring
15282 to reflect that this function is only used as the value of
15283 `end-of-defun-function'.
15284 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
15285 to reflect an earlier change that beginning/end-of-defun functions
15286 jump between methods in a class definition, as well as top-level
15287 functions.
15288
15289 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15290
15291 * minibuffer.el (minibuffer-complete): Don't just scroll
15292 a *Completions* that's been iconified.
15293 (minibuffer-force-complete): Make sure repetitions do cycle when going
15294 through completion-in-region -> minibuffer-complete.
15295
15296 2013-04-15 Alan Mackenzie <acm@muc.de>
15297
15298 Correct the placement of c-cpp-delimiters when there're #s not at
15299 col 0.
15300
15301 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
15302 place a submatch around the #.
15303 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
15304 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
15305 on the #, not BOL.
15306
15307 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15308
15309 * emacs-lisp/nadvice.el: Properly test names when adding advice.
15310 (advice--member-p): New arg `name'.
15311 (advice--add-function, advice-member-p): Use it (bug#14202).
15312
15313 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
15314
15315 Reformulate java imenu-generic-expression.
15316 The old expression contained ill formed regexps.
15317
15318 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
15319 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
15320 (cc-imenu-java-method-arg-regexp): New defconsts.
15321 (cc-imenu-java-build-type-args-regex): New defun.
15322 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
15323 handling of spaces in the regexp.
15324
15325 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15326
15327 * textmodes/ispell.el (ispell-command-loop): Remove
15328 flyspell highlight of a word when ispell accepts it (bug #14178).
15329
15330 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
15331
15332 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
15333 uses code from the previous `ange-ftp-run-real-handler'.
15334 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
15335 only in case that function exist. This is needed for proper
15336 unloading of Tramp.
15337
15338 2013-04-15 Tassilo Horn <tsdh@gnu.org>
15339
15340 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
15341
15342 * textmodes/reftex.el (reftex-compile-variables): Use it.
15343
15344 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15345
15346 * files.el (normal-mode): Only use default major-mode if no other mode
15347 was specified.
15348
15349 * emacs-lisp/trace.el (trace-values): New function.
15350
15351 * files.el: Allow : in local variables (bug#14089).
15352 (hack-local-variable-regexp): New var.
15353 (hack-local-variables-prop-line, hack-local-variables): Use it.
15354
15355 2013-04-13 Roland Winkler <winkler@gnu.org>
15356
15357 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
15358 data before it gets modified by bibtex-beginning-of-entry.
15359
15360 2013-04-13 Roland Winkler <winkler@gnu.org>
15361
15362 * textmodes/bibtex.el (bibtex-url): Doc fix.
15363
15364 2013-04-13 Roland Winkler <winkler@gnu.org>
15365
15366 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
15367 does not visit a BibTeX file, exclude it from the list of buffers
15368 returned by bibtex-initialize.
15369
15370 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
15371
15372 * window.el (split-window): Remove interactive form, since as a
15373 command this function is a special case of split-window-below.
15374 Correct doc string.
15375
15376 2013-04-12 Roland Winkler <winkler@gnu.org>
15377
15378 * faces.el (read-face-name): Do not override value of arg default.
15379 Allow single faces and strings as default values. Remove those
15380 elements from return value that are not faces.
15381 (describe-face): Simplify.
15382 (face-at-point): New optional args thing and multiple so that this
15383 function can provide the same functionality previously provided by
15384 read-face-name.
15385 (make-face-bold, make-face-unbold, make-face-italic)
15386 (make-face-unitalic, make-face-bold-italic, invert-face)
15387 (modify-face, read-face-and-attribute): Use face-at-point.
15388
15389 * cus-edit.el (customize-face, customize-face-other-window)
15390 * cus-theme.el (custom-theme-add-face)
15391 * face-remap.el (buffer-face-set)
15392 * facemenu.el (facemenu-set-face): Use face-at-point.
15393
15394 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
15395
15396 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
15397
15398 2013-04-10 Tassilo Horn <tsdh@gnu.org>
15399
15400 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
15401 off leading { and trailing } from field values.
15402
15403 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
15404
15405 * emacs-lisp/timer.el (timer--check): New function.
15406 (timer--time, timer-set-function, timer-event-handler): Use it.
15407 (timer-set-idle-time): Simplify.
15408 (timer--activate): CSE.
15409 (timer-event-handler): Give more info in error message.
15410 (internal-timer-start-idle): New function, moved from C.
15411
15412 * mpc.el (mpc-proc): Add `restart' argument.
15413 (mpc-proc-cmd): Use it.
15414 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
15415 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
15416 less often.
15417
15418 2013-04-10 Masatake YAMATO <yamato@redhat.com>
15419
15420 * progmodes/sh-script.el: Implement `sh-mode' own
15421 `add-log-current-defun-function' (bug#14112).
15422 (sh-current-defun-name): New function.
15423 (sh-mode): Use the function.
15424
15425 2013-04-09 Bastien Guerry <bzg@gnu.org>
15426
15427 * simple.el (choose-completion-string): Fix docstring (bug#14163).
15428
15429 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
15430
15431 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
15432
15433 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
15434 timer (bug#14156).
15435
15436 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
15437
15438 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
15439 declaration.
15440
15441 2013-04-07 Leo Liu <sdl.web@gmail.com>
15442
15443 * pcmpl-x.el: New file.
15444
15445 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
15446
15447 Do not set x-display-name until X connection is established.
15448 This is needed to prevent from weird situation described at
15449 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
15450 * frame.el (make-frame): Set x-display-name after call to
15451 window system initialization function, not before.
15452 * term/x-win.el (x-initialize-window-system): Add optional
15453 display argument and use it.
15454 * term/w32-win.el (w32-initialize-window-system):
15455 * term/ns-win.el (ns-initialize-window-system):
15456 * term/pc-win.el (msdos-initialize-window-system):
15457 Add compatible optional display argument.
15458
15459 2013-04-06 Eli Zaretskii <eliz@gnu.org>
15460
15461 * files.el (normal-backup-enable-predicate): On MS-Windows and
15462 MS-DOS compare truenames of temporary-file-directory and of the
15463 file, so that 8+3 aliases (usually found in $TEMP on Windows)
15464 don't fail comparison by compare-strings. Also, compare file
15465 names case-insensitively on MS-Windows and MS-DOS.
15466
15467 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15468
15469 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
15470 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
15471
15472 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
15473
15474 * whitespace.el (whitespace-color-on, whitespace-color-off):
15475 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
15476
15477 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
15478
15479 * ispell.el (ispell-set-spellchecker-params):
15480 Really set `ispell-args' for all equivs.
15481
15482 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15483
15484 * ido.el (ido-completions): Use extra elements of ido-decorations
15485 (bug#14143).
15486 (ido-decorations): Update docstring.
15487
15488 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
15489
15490 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
15491 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
15492 nil during initialization, in order not to miss changes since the
15493 file was opened. (Bug#14140)
15494
15495 2013-04-05 Leo Liu <sdl.web@gmail.com>
15496
15497 * kmacro.el (kmacro-call-macro): Fix bug#14135.
15498
15499 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
15500
15501 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
15502
15503 2013-04-04 Glenn Morris <rgm@gnu.org>
15504
15505 * electric.el (electric-pair-inhibit-predicate): Add :version.
15506
15507 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15508
15509 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
15510 when a package is required several times (bug#14082).
15511
15512 2013-04-04 Roland Winkler <winkler@gnu.org>
15513
15514 * faces.el (read-face-name): Behave as promised by the docstring.
15515 Assume that arg default is a list of faces.
15516 (describe-face): Call read-face-name with list of default faces.
15517
15518 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15519
15520 * bookmark.el: Fix deletion of bookmarks (bug#13972).
15521 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
15522 (bookmark-bmenu-execute-deletions): Only skip first line if it's
15523 the header.
15524 (bookmark-exit-hook-internal): Save even if list is empty.
15525
15526 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
15527
15528 * emacs-lisp/package.el (package-pinned-packages): New var.
15529 (package--add-to-archive-contents): Obey it (bug#14118).
15530
15531 2013-04-03 Alan Mackenzie <acm@muc.de>
15532
15533 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
15534 Also adapt to the new values of element 7 of a parse state.
15535
15536 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
15537 parameter `not-in-delimiter'. Handle being inside comment opener.
15538 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
15539 character in case we're typing a '*' after a '/'.
15540 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
15541 instead by passing the parameter to c-state-pp-to-literal.
15542
15543 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
15544 for elt. 7 of a parse state.
15545
15546 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
15547
15548 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
15549 * international/latin1-disp.el, international/mule-util.el:
15550 * language/cyril-util.el, language/european.el, language/ind-util.el:
15551 * language/lao-util.el, language/thai.el, language/tibet-util.el:
15552 * language/tibetan.el, language/viet-util.el:
15553 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
15554
15555 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
15556
15557 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
15558 (electric-pair-post-self-insert-function): Use it.
15559 (electric-pair-default-inhibit): New function, extracted from
15560 electric-pair-post-self-insert-function.
15561
15562 2013-03-31 Roland Winkler <winkler@gnu.org>
15563
15564 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
15565
15566 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
15567
15568 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
15569
15570 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
15571
15572 Un-indent after "pass" and "return" statements (Bug#13888)
15573 * progmodes/python.el (python-indent-block-enders): New var.
15574 (python-indent-calculate-indentation): Use it.
15575
15576 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
15577
15578 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
15579 defun. Defining it as defalias could introduce too eager
15580 byte-compiler optimization. (Bug#14030)
15581
15582 2013-03-30 Chong Yidong <cyd@gnu.org>
15583
15584 * iswitchb.el (iswitchb-read-buffer): Fix typo.
15585
15586 2013-03-30 Leo Liu <sdl.web@gmail.com>
15587
15588 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
15589 (kmacro-execute-from-register): Pass the keyboard macro to
15590 kmacro-call-macro or repeating won't work correctly.
15591
15592 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
15593
15594 * progmodes/subword.el: Back to using `forward-symbol'.
15595
15596 * subr.el (forward-whitespace, forward-symbol)
15597 (forward-same-syntax): Move from thingatpt.el.
15598
15599 2013-03-29 Leo Liu <sdl.web@gmail.com>
15600
15601 * kmacro.el (kmacro-to-register): New command.
15602 (kmacro-execute-from-register): New function.
15603 (kmacro-keymap): Bind to 'x'. (Bug#14071)
15604
15605 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
15606
15607 * mpc.el: Use defvar-local and setq-local.
15608 (mpc--proc-connect): Connection failures are not bugs.
15609 (mpc-mode-map): `follow-link' only applies to the buffer's content.
15610 (mpc-volume-map): Bind to the up-events.
15611
15612 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
15613
15614 * progmodes/subword.el (superword-mode): Use `forward-sexp'
15615 instead of `forward-symbol'.
15616
15617 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
15618
15619 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
15620 (edebug--recursive-edit): Use it.
15621 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
15622 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
15623
15624 2013-03-28 Leo Liu <sdl.web@gmail.com>
15625
15626 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
15627
15628 2013-03-27 Eli Zaretskii <eliz@gnu.org>
15629
15630 * facemenu.el (list-colors-callback): New defvar.
15631 (list-colors-redisplay): New function.
15632 (list-colors-display): Install list-colors-redisplay as the
15633 revert-buffer-function. (Bug#14063)
15634
15635 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
15636
15637 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
15638 and suffixes don't overlap (bug#14061).
15639
15640 * case-table.el: Use lexical-binding.
15641 (case-table-get-table): New function.
15642 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
15643
15644 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
15645
15646 * progmodes/subword.el: Add `superword-mode' to do word motion
15647 over symbol_words (parallels and leverages `subword-mode' which
15648 does word motion inside MixedCaseWords).
15649
15650 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
15651
15652 * eshell/em-unix.el: Move su and sudo to...
15653 * eshell/em-tramp.el: ...Eshell tramp module.
15654
15655 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15656
15657 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
15658 Change return value to be a sexp. Delay `get-buffer' to after
15659 restoring the desktop (bug#13951).
15660
15661 2013-03-26 Leo Liu <sdl.web@gmail.com>
15662
15663 * register.el: Move semantic tag handling back to
15664 cedet/semantic/senator.el. (Bug#14052)
15665
15666 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15667
15668 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
15669 into the prompt either (bug#13963).
15670
15671 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
15672
15673 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
15674 part of "(error-foo)".
15675
15676 2013-03-24 Juri Linkov <juri@jurta.org>
15677
15678 * replace.el (list-matching-lines-prefix-face): New defcustom.
15679 (occur-1): Pass `list-matching-lines-prefix-face' to the function
15680 `occur-engine' if `face-differs-from-default-p' returns t.
15681 (occur-engine): Add `,' inside backquote construct to evaluate
15682 `prefix-face'. Propertize the prefix with the `prefix-face' face.
15683 Pass `prefix-face' to the functions `occur-context-lines' and
15684 `occur-engine-add-prefix'.
15685 (occur-engine-add-prefix, occur-context-lines): Add optional arg
15686 `prefix-face' and propertize the prefix with `prefix-face'.
15687 (Bug#14017)
15688
15689 2013-03-24 Leo Liu <sdl.web@gmail.com>
15690
15691 * nxml/rng-valid.el (rng-validate-while-idle)
15692 (rng-validate-quick-while-idle): Guard against deleted buffer.
15693 (Bug#13999)
15694
15695 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
15696 is the last entry in kill-buffer-hook.
15697
15698 * files.el (kill-buffer-hook): Doc fix.
15699
15700 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
15701
15702 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
15703 Make it safe-local.
15704
15705 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
15706
15707 2013-03-23 Leo Liu <sdl.web@gmail.com>
15708
15709 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
15710 Remove.
15711
15712 * nxml/rng-valid.el (rng-validate-mode)
15713 (rng-after-change-function, rng-do-some-validation):
15714 * nxml/rng-maint.el (rng-validate-buffer):
15715 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
15716 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
15717 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
15718 (nxml-extend-after-change-region): Use with-silent-modifications.
15719
15720 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
15721 timer-idle-list.
15722
15723 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
15724 (rng-next-error-1, rng-previous-error-1): Do not let-bind
15725 timer-idle-list. (Bug#13999)
15726
15727 2013-03-23 Juri Linkov <juri@jurta.org>
15728
15729 * info.el (info-index-match): New face.
15730 (Info-index, Info-apropos-matches): Add a nested subgroup to the
15731 main pattern and add text properties with the new face to matches
15732 in index entries relative to the beginning of the index entry.
15733 (Bug#14015)
15734
15735 2013-03-21 Eric Ludlam <zappo@gnu.org>
15736
15737 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
15738 Inhibit read only while inserting objects.
15739
15740 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
15741
15742 * progmodes/cfengine.el: Update docs to mention
15743 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
15744 symbol motion. Remove "_" from the word syntax.
15745
15746 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
15747
15748 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
15749 syntax for both `cfengine2-mode' and `cfengine3-mode'.
15750
15751 2013-03-20 Juri Linkov <juri@jurta.org>
15752
15753 * info.el (Info-next-reference-or-link)
15754 (Info-prev-reference-or-link): New functions.
15755 (Info-next-reference, Info-prev-reference): Use them.
15756 (Info-try-follow-nearest-node): Handle footnote navigation.
15757 (Info-fontify-node): Fontify footnotes. (Bug#13989)
15758
15759 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
15760
15761 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
15762 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
15763
15764 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
15765
15766 Suppress unnecessary non-ASCII chatter during build process.
15767 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
15768 (batch-skkdic-convert): Suppress most of the chatter.
15769 It's not needed so much now that machines are faster,
15770 and its non-ASCII component was confusing; see Dmitry Gutov in
15771 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
15772
15773 2013-03-20 Leo Liu <sdl.web@gmail.com>
15774
15775 * ido.el (ido-chop): Fix bug#10994.
15776
15777 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
15778
15779 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
15780 Remove vars.
15781 (whitespace-color-on, whitespace-color-off):
15782 Use `font-lock-fontify-buffer' (Bug#13817).
15783
15784 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
15785
15786 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
15787 remapping in mode-line.
15788 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
15789
15790 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
15791
15792 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
15793 value for `whitespace-line' face (Bug#13875).
15794 (whitespace-font-lock-keywords): Change description.
15795 (whitespace-color-on): Don't save `font-lock-keywords' value, save
15796 the constructed keywords instead.
15797 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
15798
15799 2013-03-19 Leo Liu <sdl.web@gmail.com>
15800
15801 * progmodes/compile.el (compilation-display-error): New command.
15802 (compilation-mode-map, compilation-minor-mode-map): Bind it to
15803 C-o. (Bug#13992)
15804
15805 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
15806
15807 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
15808
15809 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
15810
15811 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
15812
15813 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
15814
15815 * net/tramp-compat.el (tramp-compat-user-error): New defun.
15816
15817 * net/tramp-adb.el (tramp-adb-handle-shell-command):
15818 * net/tramp-gvfs.el (top):
15819 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
15820 (tramp-handle-shell-command): Use it.
15821 (tramp-dissect-file-name): Raise an error when hostname is a
15822 method name, and neither method nor user is specified.
15823
15824 * net/trampver.el: Update release number.
15825
15826 2013-03-18 Leo Liu <sdl.web@gmail.com>
15827
15828 Make sure eldoc can be turned off properly.
15829 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
15830 eldoc-mode.
15831 (eldoc-display-message-p): Revert last change.
15832 (eldoc-display-message-no-interference-p)
15833 (eldoc-print-current-symbol-info): Tweak.
15834
15835 2013-03-18 Tassilo Horn <tsdh@gnu.org>
15836
15837 * doc-view.el (doc-view-new-window-function): Check the new window
15838 overlay's display property instead the char property of the
15839 buffer's first char. Use `with-selected-window' instead of
15840 `save-window-excursion' with `select-window'.
15841 (doc-view-document->bitmap): Check the current doc-view overlay's
15842 display property instead the char property of the buffer's first char.
15843
15844 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
15845
15846 Automate the build of ja-dic.el (Bug#13984).
15847 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
15848 from the input, rather than assume that it's been done for us by the
15849 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
15850 the current date into a ja-dic.el comment, as that complicates
15851 regression testing.
15852
15853 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
15854
15855 * whitespace.el: Fix double evaluation.
15856 (whitespace-space, whitespace-hspace, whitespace-tab)
15857 (whitespace-newline, whitespace-trailing, whitespace-line)
15858 (whitespace-space-before-tab, whitespace-indentation)
15859 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
15860 obsolete defvars.
15861 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
15862 (whitespace-color-on): Use a single font-lock-add-keywords call.
15863 Fix double-evaluation of face variables.
15864
15865 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
15866
15867 * net/tramp-adb.el (tramp-adb-parse-device-names):
15868 Use `start-process' instead of `call-process'. Otherwise, the
15869 function might be blocked under MS Windows. (Bug#13299)
15870
15871 2013-03-17 Leo Liu <sdl.web@gmail.com>
15872
15873 Extend eldoc to display info in the mode-line. (Bug#13978)
15874 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
15875 (eldoc-mode-line-string): New variable.
15876 (eldoc-minibuffer-message): New function.
15877 (eldoc-message-function): New variable.
15878 (eldoc-message): Use it.
15879 (eldoc-display-message-p)
15880 (eldoc-display-message-no-interference-p):
15881 Support eldoc-post-insert-mode.
15882
15883 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
15884 (eval-expression): Run it.
15885
15886 2013-03-17 Roland Winkler <winkler@gnu.org>
15887
15888 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
15889 strings in the list of return values.
15890
15891 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
15892
15893 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
15894 radix before checking for HMS forms.
15895
15896 2013-03-16 Leo Liu <sdl.web@gmail.com>
15897
15898 * progmodes/scheme.el: Add indentation and font-locking for λ.
15899 (Bug#13975)
15900
15901 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
15902
15903 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
15904 token before point (bug#13942).
15905
15906 2013-03-16 Leo Liu <sdl.web@gmail.com>
15907
15908 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
15909
15910 2013-03-16 Eli Zaretskii <eliz@gnu.org>
15911
15912 * startup.el (command-line-normalize-file-name): Fix handling of
15913 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
15914 <xfq.free@gmail.com> in
15915 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
15916
15917 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
15918
15919 Sync with Tramp 2.2.7.
15920
15921 * net/trampver.el: Update release number.
15922
15923 2013-03-14 Tassilo Horn <tsdh@gnu.org>
15924
15925 * doc-view.el: Fix bug#13887.
15926 (doc-view-insert-image): Don't modify overlay associated to
15927 non-live windows, and implement horizontal centering of image in
15928 case it's smaller than the window.
15929 (doc-view-new-window-function): Force redisplay of new windows on
15930 doc-view buffers.
15931
15932 2013-03-13 Karl Fogel <kfogel@red-bean.com>
15933
15934 * saveplace.el (save-place-alist-to-file): Don't sort
15935 `save-place-alist', just pretty-print it (bug#13882).
15936
15937 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
15938
15939 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
15940 Check whether `default-file-name-coding-system' is bound.
15941 It isn't in XEmacs.
15942
15943 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
15944
15945 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
15946 backquotes for `obsolete' (bug#13929).
15947
15948 * international/mule.el (find-auto-coding): Include file name in
15949 obsolescence warning (bug#13922).
15950
15951 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
15952
15953 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
15954 for CFEngine 3-specific indentation.
15955 (cfengine3-indent-line): Use it. Fix up category regex.
15956 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
15957
15958 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15959
15960 * type-break.el (type-break-file-name):
15961 * textmodes/remember.el (remember-data-file):
15962 * strokes.el (strokes-file):
15963 * shadowfile.el (shadow-initialize):
15964 * saveplace.el (save-place-file):
15965 * ps-bdf.el (bdf-cache-file):
15966 * progmodes/idlwave.el (idlwave-config-directory):
15967 * net/quickurl.el (quickurl-url-file):
15968 * international/kkc.el (kkc-init-file-name):
15969 * ido.el (ido-save-directory-list-file):
15970 * emulation/viper.el (viper-custom-file-name):
15971 * emulation/vip.el (vip-startup-file):
15972 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
15973 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
15974
15975 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
15976
15977 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
15978 * language/thai-word.el: Switch to UTF-8.
15979
15980 See ChangeLog.16 for earlier changes.
15981
15982 ;; Local Variables:
15983 ;; coding: utf-8
15984 ;; End:
15985
15986 Copyright (C) 2011-2014 Free Software Foundation, Inc.
15987
15988 This file is part of GNU Emacs.
15989
15990 GNU Emacs is free software: you can redistribute it and/or modify
15991 it under the terms of the GNU General Public License as published by
15992 the Free Software Foundation, either version 3 of the License, or
15993 (at your option) any later version.
15994
15995 GNU Emacs is distributed in the hope that it will be useful,
15996 but WITHOUT ANY WARRANTY; without even the implied warranty of
15997 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15998 GNU General Public License for more details.
15999
16000 You should have received a copy of the GNU General Public License
16001 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.