* lisp/progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
[bpt/emacs.git] / lisp / ChangeLog
1 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
4 params of lambda expressions.
5 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
6 (ruby-smie--opening-pipe-p): New function.
7 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
8 symbols and matched |...| for formal params.
9 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
10 from being treated as hanging. Handle "rescue".
11
12 2013-08-29 Glenn Morris <rgm@gnu.org>
13
14 * progmodes/cc-engine.el (c-pull-open-brace):
15 Move definition before use.
16
17 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
18
19 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
20 are immutable. Don't use `unsafe' any more.
21 (cl--defsubst-expand): Don't substitute at the same time as keeping
22 a residual unused let-binding. Don't use `unsafe' any more.
23
24 2013-08-29 Glenn Morris <rgm@gnu.org>
25
26 * calendar/cal-china.el (calendar-chinese-year-cache):
27 Recenter on 2015.
28
29 * nxml/nxml-util.el (nxml-debug-clear-inside):
30 Use cl-loop rather than loop.
31
32 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
33
34 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
35
36 2013-08-28 Glenn Morris <rgm@gnu.org>
37
38 * progmodes/antlr-mode.el: No need to require cc-mode twice.
39
40 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
41
42 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
43
44 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
45
46 * simple.el (repeat-complex-command--called-interactively-skip):
47 New function.
48 (repeat-complex-command): Use it (bug#14136).
49
50 * progmodes/cc-mode.el: Minor cleanup of var declarations.
51 (c-define-abbrev-table): Add `doc' argument.
52 (c-mode-abbrev-table, c++-mode-abbrev-table)
53 (objc-mode-abbrev-table, java-mode-abbrev-table)
54 (idl-mode-abbrev-table, pike-mode-abbrev-table)
55 (awk-mode-abbrev-table): Use it.
56 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
57 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
58 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
59 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
60 Move initialization into the declaration; and remove any
61 autoload cookie.
62
63 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
64 and dynamic let binding.
65
66 * vc/smerge-mode.el: Remove redundant :group args.
67
68 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
69 to load-path.
70
71 2013-08-28 Juri Linkov <juri@jurta.org>
72
73 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
74 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
75 (isearch-other-meta-char): Handle an undefined shifted printing
76 character by downshifting it. (Bug#15200)
77
78 2013-08-28 Juri Linkov <juri@jurta.org>
79
80 * isearch.el (isearch-search): Change regexp error message for
81 non-regexp searches. (Bug#15166)
82
83 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
84
85 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
86 for portability to hosts where /bin/sh has problems.
87
88 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
89
90 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
91
92 2013-08-27 Juri Linkov <juri@jurta.org>
93
94 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
95 in the keyboard macro. (Bug#15126)
96
97 2013-08-27 Juri Linkov <juri@jurta.org>
98
99 * isearch.el (isearch-quote-char): Comment out converting unibyte
100 to multibyte, thus syncing with its `quoted-insert' counterpart.
101 (Bug#15166)
102
103 2013-08-27 Martin Rudalics <rudalics@gmx.at>
104
105 * window.el (display-buffer-use-some-window): Add missing
106 argument in call of get-largest-window (Bug#15185).
107 Reported by Stephen Leake.
108
109 2013-08-27 Glenn Morris <rgm@gnu.org>
110
111 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
112
113 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
114
115 * progmodes/python.el (python-font-lock-keywords): Don't return nil
116 from a matcher-function unless there's no more matches (bug#15161).
117
118 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
119
120 * minibuffer.el: Revert change from 2013-08-20.
121
122 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
123 with text property `tramp-default', if appropriate.
124 (tramp-check-proper-host): New defun.
125 (tramp-dissect-file-name): Do not check hostname. Revert change
126 of 2013-03-18.
127 (tramp-backtrace): Make VEC-OR-PROC optional.
128
129 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
130 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
131 * net/tramp-sh.el (tramp-maybe-open-connection):
132 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
133 Apply `tramp-check-proper-host'.
134
135 2013-08-26 Tassilo Horn <tsdh@gnu.org>
136
137 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
138 lambda expression in order to have `describe-variable' display it.
139
140 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
141
142 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
143 BUF can be optional. (Bug#15186)
144
145 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
146
147 * progmodes/flymake.el (flymake-get-real-file-name-function):
148 Fix broken customization. (Bug#15184)
149
150 2013-08-25 Alan Mackenzie <acm@muc.de>
151
152 Improve indentation of bracelists defined by macros (without "=").
153
154 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
155 expansion begins with "{", regard it as bracelist when it doesn't
156 contain a ";".
157
158 Parse C++ inher-intro when there's a template split over 2 lines.
159
160 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
161 rigorously the search for "class" etc. followed by ":".
162
163 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
164 random languages a regexp which never matches rather than nil.
165
166 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
167
168 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
169 (c-awk-regexp-one-line-possibly-open-char-list-re)
170 (c-awk-one-line-possibly-open-regexp-re)
171 (c-awk-one-line-non-syn-ws*-re): Remove.
172 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
173 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
174 (c-awk-space*-unclosed-regexp-/-re): New constants.
175 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
176 aren't regexp delimiters.
177
178 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
179 handling for a rare situation in AWK Mode involving unterminated
180 strings/regexps.
181
182 2013-08-23 Glenn Morris <rgm@gnu.org>
183
184 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
185
186 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
187
188 * files.el (create-file-buffer): If the result would begin with
189 spaces, prepend a "|" instead of removing them. (Bug#15162)
190
191 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
192
193 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
194 text-properties (bug#15155).
195
196 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
197 exist any more.
198 (calc-keypad-redraw): Remove unused var `pad'.
199 (calc-keypad-press): Remove unused var `menu'.
200
201 2013-08-23 Martin Rudalics <rudalics@gmx.at>
202
203 * window.el (display-buffer-pop-up-frame):
204 Call pop-up-frame-function with BUFFER current so `make-frame' will
205 use it as the new frame's buffer (Bug#15133).
206
207 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
208
209 * calendar/timeclock.el: Minor cleanups.
210 (timeclock-ask-before-exiting, timeclock-use-display-time):
211 Use `symbol'.
212 (timeclock-modeline-display): Define as alias before the
213 actual definition.
214 (timeclock-mode-line-display): Use define-minor-mode.
215 (timeclock-day-list-template): Make it a function, add an argument.
216 (timeclock-day-list-required, timeclock-day-list-length)
217 (timeclock-day-list-debt, timeclock-day-list-span)
218 (timeclock-day-list-break): Adjust calls accordingly.
219
220 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
221
222 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
223 Use read--expression so that completion works again.
224
225 2013-08-21 Sam Steingold <sds@gnu.org>
226
227 Add rudimentary inferior shell interaction
228 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
229 (sh-set-shell): Reset it.
230 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
231 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
232
233 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
234
235 * align.el: Use lexical-binding.
236 (align-region): Simplify accordingly.
237
238 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
239
240 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
241
242 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
243 `non-essential' up.
244
245 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
246
247 * net/tramp.el:
248 * net/tramp-adb.el:
249 * net/tramp-cmds.el:
250 * net/tramp-ftp.el:
251 * net/tramp-gvfs.el:
252 * net/tramp-gw.el:
253 * net/tramp-sh.el: Don't wrap external variable declarations by
254 `eval-when-compile'.
255
256 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
257
258 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
259 now that Emacs supports ImageMagick animations.
260
261 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
262
263 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
264 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
265
266 2013-08-16 Martin Rudalics <rudalics@gmx.at>
267
268 * window.el (mouse-autoselect-window-select): Do autoselect when
269 mouse pointer is on margin.
270
271 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
272
273 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
274
275 2013-08-16 Glenn Morris <rgm@gnu.org>
276
277 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
278 Handle "Remote Directory" response of some clients. (Bug#15058)
279
280 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
281 Tweak warning. (Bug#14926)
282
283 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
284 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
285
286 * image-mode.el (image-mode-map): Add menu items to reverse,
287 increase, decrease, reset animation speed.
288 (image--set-speed, image-increase-speed, image-decrease-speed)
289 (image-reverse-speed, image-reset-speed): New functions.
290 (image-mode-map): Add bindings for speed commands.
291
292 * image.el (image-animate-get-speed, image-animate-set-speed):
293 New functions.
294 (image-animate-timeout): Respect image :speed property.
295
296 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
297
298 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
299 previous line (bug#15101).
300 (debugger-eval-expression, debugger-record-expression):
301 Use read--expression (bug#15102).
302
303 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
304
305 Remove byte compiler warnings, visible when compiling with
306 `byte-compile-force-lexical-warnings' set to t.
307
308 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
309 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
310 (tramp-handle-unhandled-file-name-directory)
311 (tramp-handle-file-notify-add-watch, tramp-action-login)
312 (tramp-action-succeed, tramp-action-permission-denied)
313 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
314 arguments with "_".
315
316 * net/tramp-adb.el (tramp-adb-parse-device-names)
317 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
318 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
319 (tramp-adb-handle-file-truename): Remove unused arguments.
320
321 * net/tramp-cache.el (tramp-flush-directory-property)
322 (tramp-flush-connection-property, tramp-list-connections)
323 (tramp-parse-connection-properties): Prefix unused arguments with "_".
324
325 * net/tramp-compat.el (tramp-compat-make-temp-file):
326 Rename FILENAME to F.
327
328 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
329 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
330 (tramp-zeroconf-parse-workstation-device-names)
331 (tramp-zeroconf-parse-webdav-device-names)
332 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
333
334 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
335 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
336
337 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
338 arguments.
339 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
340 (tramp-sh-handle-insert-file-contents-literally)
341 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
342 with "_".
343 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
344 Remove unused variables.
345
346 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
347 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
348 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
349
350 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
351 Make them a defconst.
352 (tramp-uuencode-region): Remove unused variable.
353
354 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
355
356 * frameset.el (frameset--prop-setter): New function.
357 (frameset-prop): Add gv-setter declaration.
358 (frameset-filter-minibuffer): Deal with the case that the minibuffer
359 parameter was already set in FILTERED. Doc fix.
360 (frameset--record-minibuffer-relationships): Allow saving a
361 minibufferless frame without its corresponding minibuffer frame.
362 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
363 frame, if the frame id matches.
364 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
365 frames before orphaned ones.
366 (frameset-restore): Warn about orphaned windows, instead of error out.
367
368 2013-08-14 Martin Rudalics <rudalics@gmx.at>
369
370 * window.el (window-make-atom): Don't overwrite parameter
371 already present.
372 (display-buffer-in-atom-window): Handle special case where we
373 split an already atomic window.
374 (window--major-non-side-window, display-buffer-in-side-window)
375 (window--side-check): Ignore minibuffer window when walking
376 window tree.
377 (window-deletable-p): Return 'frame only if no other frame uses
378 our minibuffer window.
379 (record-window-buffer): Run buffer-list-update-hook.
380 (split-window): Make sure window--check-frame won't destroy an
381 existing atomic window in case the new window gets nested
382 inside.
383 (display-buffer-at-bottom): Ignore minibuffer window when
384 walking window tree. Don't split a side window.
385 (pop-to-buffer): Don't set-buffer here, the select-window call
386 should do that.
387 (mouse-autoselect-window-select): Autoselect only if we are in the
388 text portion of the window.
389
390 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
391
392 * net/shr.el (shr-parse-image-data): New function to grab both the
393 data itself and the Content-Type.
394 (shr-put-image): Use it.
395
396 * net/eww.el (eww-display-image): Ditto.
397
398 * image.el (image-content-type-suffixes): New variable.
399
400 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
401
402 * progmodes/python.el (python-imenu--build-tree)
403 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
404
405 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
406
407 * simple.el (backward-word): Mention the optional argument.
408
409 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
410
411 * frameset.el (frameset--make): Rename constructor from make-frameset.
412 (frameset-p, frameset-valid-p): Don't autoload.
413 (frameset-valid-p): Use normal accessors.
414
415 2013-08-13 Glenn Morris <rgm@gnu.org>
416
417 * progmodes/compile.el (compile-command): Tweak example in doc.
418 * obsolete/scribe.el (scribe-mode):
419 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
420
421 * mail/feedmail.el (feedmail-confirm-outgoing)
422 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
423
424 * cus-start.el (truncate-partial-width-windows): Fix type.
425
426 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
427
428 * net/shr.el (shr-table-horizontal-line): Fix custom type.
429
430 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
431
432 * emacs-lisp/timer.el (timer--time-setter): New function.
433 (timer--time): Use it as gv-setter.
434
435 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
436 setter is not a symbol.
437
438 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
439
440 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
441 if sending fails. This makes debugging easier.
442
443 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
444
445 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
446 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
447 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
448
449 2013-08-12 Eli Zaretskii <eliz@gnu.org>
450
451 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
452
453 2013-08-12 Glenn Morris <rgm@gnu.org>
454
455 * format.el (format-annotate-function):
456 Handle read-only text properties in the source. (Bug#14887)
457
458 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
459
460 * net/eww.el (eww-display-html): Ignore coding system errors.
461 One web site uses "utf-8lias" as the coding system.
462
463 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
464
465 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
466
467 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
468
469 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
470 (tutorial--detailed-help): Remove unused local variables.
471 (tutorial--save-tutorial-to): Use ignore-errors.
472 (help-with-tutorial): Use looking-at-p.
473
474 * view.el (view-buffer-other-window, view-buffer-other-frame):
475 Mark unused arguments.
476
477 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
478 (woman-select-symbol-fonts, woman, woman-find-file)
479 (woman-insert-file-contents, woman-non-underline-faces):
480 Use string-match-p.
481 (woman1-unquote): Move declaration.
482
483 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
484 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
485 argument. Remove unused local variable.
486 (xml-parse-elem-type): Use string-match-p.
487 (xml-substitute-numeric-entities): Use ignore-errors.
488
489 * calculator.el (calculator): Mark unused argument.
490 (calculator-paste, calculator-quit, calculator-integer-p):
491 Use ignore-errors.
492 (calculator-string-to-number, calculator-decimal, calculator-exp)
493 (calculator-op-or-exp): Use string-match-p.
494
495 * dired.el (dired-buffer-more-recently-used-p): Declare.
496 (dired-insert-set-properties, dired-insert-old-subdirs):
497 Use ignore-errors.
498
499 * dired-aux.el (dired-compress): Use ignore-errors.
500 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
501 (dired-do-async-shell-command, dired-do-shell-command)
502 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
503 (dired-insert-subdir-validate): Use string-match-p.
504 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
505 (dired-add-entry): Use string-match-p, looking-at-p.
506 (dired-insert-subdir-newpos): Remove unused local variable.
507
508 * filenotify.el (file-notify-callback): Remove unused local variable.
509
510 * filesets.el (filesets-error): Mark unused argument.
511 (filesets-which-command-p, filesets-filter-dir-names)
512 (filesets-directory-files, filesets-get-external-viewer)
513 (filesets-ingroup-get-data): Use string-match-p.
514
515 * find-file.el (ff-other-file-name, ff-other-file-name)
516 (ff-find-the-other-file, ff-cc-hh-converter):
517 Remove unused local variables.
518 (ff-get-file-name): Use string-match-p.
519 (ff-all-dirs-under): Use ignore-errors.
520
521 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
522 (follow-select-if-visible): Remove unused local variable.
523
524 * forms.el (read-file-filter): Move declaration.
525 (forms--make-format, forms--make-parser, forms-insert-record):
526 Quote function with #'.
527 (forms--update): Use string-match-p. Quote function with #'.
528
529 * help-mode.el (help-dir-local-var-def): Mark unused argument.
530 (help-make-xrefs): Use looking-at-p.
531 (help-xref-on-pp): Use looking-at-p, ignore-errors.
532
533 * ibuffer.el (ibuffer-ext-visible-p): Declare.
534 (ibuffer-confirm-operation-on): Use string-match-p.
535
536 * msb.el (msb-item-handler, msb-dired-item-handler):
537 Mark unused arguments.
538
539 * ses.el (ses-decode-cell-symbol)
540 (ses-kill-override): Remove unused local variable.
541 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
542 (ses-load): Use ignore-errors, looking-at-p.
543 (ses-jump-safe): Use ignore-errors.
544 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
545
546 * tabify.el (untabify, tabify): Mark unused arguments.
547
548 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
549 Mark unused argument.
550 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
551 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
552
553 * emacs-lisp/timer.el (timer--time): Define setter with
554 gv-define-setter to avoid deprecation warning.
555
556 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
557 (*record-cmpl-statistics-p*): Remove (was commented out).
558 (cmpl-statistics-block): Remove (body was commented out).
559 All callers changed.
560 (add-completions-from-buffer, load-completions-from-file):
561 Remove unused variables.
562
563 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
564
565 * filecache.el (file-cache-delete-file-list):
566 Print message only when told so.
567 (file-cache-files-matching): Use #' in mapconcat argument.
568
569 * ffap.el (ffap-url-at-point): Fix reference to variable
570 thing-at-point-default-mail-uri-scheme.
571
572 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
573
574 * subr.el (define-error): New function.
575 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
576 error-file-not-found and define with define-error.
577 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
578 and define with define-error.
579 * userlock.el (file-locked, file-supersession):
580 * simple.el (mark-inactive):
581 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
582 * progmodes/ada-mode.el (ada-mode-errors):
583 * play/life.el (life-extinct):
584 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
585 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
586 * nxml/rng-util.el (rng-error):
587 * nxml/rng-uri.el (rng-uri-error):
588 * nxml/rng-match.el (rng-compile-error):
589 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
590 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
591 * nxml/nxml-rap.el (nxml-scan-error):
592 * nxml/nxml-outln.el (nxml-outline-error):
593 * net/soap-client.el (soap-error):
594 * net/gnutls.el (gnutls-error):
595 * net/ange-ftp.el (ftp-error):
596 * mpc.el (mpc-proc-error):
597 * json.el (json-error, json-readtable-error, json-unknown-keyword)
598 (json-number-format, json-string-escape, json-string-format)
599 (json-key-format, json-object-format):
600 * jka-compr.el (compression-error):
601 * international/quail.el (quail-error):
602 * international/kkc.el (kkc-error):
603 * emacs-lisp/ert.el (ert-test-failed):
604 * calc/calc.el (calc-error, inexact-result, math-overflow)
605 (math-underflow):
606 * bookmark.el (bookmark-error-no-filename):
607 * epg.el (epg-error): Define with define-error.
608
609 * time.el (display-time-event-handler)
610 (display-time-next-load-average): Don't call sit-for since it seems
611 unnecessary (bug#15045).
612
613 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
614 Use #' instead of ' to quote functions.
615 (checkdoc-output-mode): Use setq-local.
616 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
617 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
618 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
619 (checkdoc-ispell, checkdoc-ispell-current-buffer)
620 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
621 (checkdoc-ispell-message-text, checkdoc-ispell-start)
622 (checkdoc-ispell-continue, checkdoc-ispell-comments)
623 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
624
625 * ido.el (ido-completion-help): Fix up compiler warning.
626
627 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
628
629 * frameset.el (frameset-p): Add autoload cookie.
630 (frameset--jump-to-register): New function, based on code moved from
631 register.el.
632 (frameset-to-register): Move from register.el. Adapt to `registerv'.
633
634 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
635 (frameset-restore, frameset-save, frameset-session-filter-alist):
636 Remove declarations.
637 (register-alist): Doc fix.
638 (frameset-to-register): Move to frameset.el.
639 (jump-to-register, describe-register-1): Remove frameset-specific code.
640
641 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
642
643 * allout-widgets.el (allout-widgets-pre-command-business)
644 (allout-widgets-post-command-business)
645 (allout-widgets-after-change-handler)
646 (allout-decorate-item-and-context, allout-set-boundary-marker)
647 (allout-body-modification-handler)
648 (allout-graphics-modification-handler): Mark ignored arguments.
649 (allout-widgets-post-command-business)
650 (allout-widgets-exposure-change-processor)
651 (allout-widgets-exposure-undo-processor)
652 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
653 (allout-parse-item-at-point, allout-decorate-item-guides)
654 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
655 * allout.el (epa-passphrase-callback-function): Declare.
656 (allout-overlay-insert-in-front-handler)
657 (allout-overlay-interior-modification-handler)
658 (allout-isearch-end-handler, allout-chart-siblings)
659 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
660 (allout-yank-processing, allout-process-exposed)
661 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
662 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
663 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
664 (lisp-indent-defform): Mark ignored arguments.
665 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
666 (calculate-lisp-indent): Remove unused variables.
667 * international/characters.el (indian-2-column, arabic-2-column)
668 (tibetan): Mark ignored arguments.
669 (use-cjk-char-width-table): Mark ignored arguments.
670 Remove unused variables.
671 * international/fontset.el (build-default-fontset-data)
672 (x-compose-font-name, create-fontset-from-fontset-spec):
673 Mark ignored arguments.
674 (fontset-plain-name): Remove unused variables.
675 * international/mule.el (charset-id, charset-bytes, generic-char-p)
676 (keyboard-coding-system): Mark ignored arguments.
677 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
678 * help.el (resize-temp-buffer-window):
679 * window.el (display-buffer-in-major-side-window)
680 (display-buffer-in-side-window, display-buffer-in-previous-window):
681 Remove unused variables.
682 * isearch.el (isearch-forward-symbol):
683 * version.el (emacs-bzr-version-bzr):
684 * international/mule-cmds.el (current-language-environment):
685 * term/common-win.el (x-handle-iconic, x-handle-geometry)
686 (x-handle-display):
687 * term/pc-win.el (x-list-fonts, x-display-planes)
688 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
689 (x-server-version, x-display-screens, x-display-mm-height)
690 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
691 (x-selection-owner-p, x-own-selection-internal)
692 (x-disown-selection-internal, x-get-selection-internal)
693 (msdos-initialize-window-system):
694 * term/tty-colors.el (tty-color-alist, tty-color-clear):
695 * term/x-win.el (x-handle-no-bitmap-icon):
696 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
697 (vc-default-find-file-hook, vc-default-extra-menu):
698 Mark ignored arguments.
699
700 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
701
702 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
703 break-condition in the context of the debugged code (bug#12685).
704
705 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
706
707 * comint.el:
708 Do not use an overlay to highlight the last prompt. (Bug#14744)
709 (comint-mode): Make comint-last-prompt buffer local.
710 (comint-last-prompt): New variable.
711 (comint-last-prompt-overlay): Remove. Superseded by
712 comint-last-prompt.
713 (comint-snapshot-last-prompt, comint-output-filter):
714 Use comint-last-prompt.
715
716 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
717
718 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
719 (frameset-save): Check validity of the resulting frameset.
720
721 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
722
723 * ido.el (ido-record-command): Add doc string.
724
725 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
726
727 * frameset.el (frameset): Do not disable creation of the default
728 frameset-p predicate. Doc fix.
729 (frameset-valid-p): New function, copied from the old predicate-p.
730 Add additional checks.
731 (frameset-restore): Check with frameset-valid-p.
732 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
733 (frameset-name, frameset-description, frameset-properties)
734 (frameset-states): Add docstring.
735 (frameset-session-filter-alist, frameset-persistent-filter-alist)
736 (frameset-filter-alist): Doc fixes.
737
738 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
739
740 * frameset.el (frameset-p, frameset-prop): Doc fixes.
741
742 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
743
744 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
745 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
746 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
747 (byte-compile-normal-call): Remove obsolescence check.
748
749 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
750
751 * frameset.el (frameset-restore): Doc fix.
752
753 * register.el (frameset-frame-id, frameset-frame-with-id)
754 (frameset-p, frameset-restore, frameset-save): Declare.
755 (register-alist): Document framesets.
756 (frameset-session-filter-alist): Declare.
757 (frameset-to-register): New function.
758 (jump-to-register): Implement jumping to framesets. Doc fix.
759 (describe-register-1): Describe framesets.
760
761 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
762
763 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
764
765 * desktop.el (desktop-save-frameset): Use new frameset-save args.
766 Use lexical-binding.
767
768 * frameset.el (frameset): Use type vector, not list (incompatible
769 change). Do not declare a new constructor, use the default one.
770 Upgrade suggested properties `app', `name' and `desc' to slots `app',
771 `name' and `description', respectively, and add read-only slot
772 `timestamp'. Doc fixes.
773 (frameset-copy, frameset-persistent-filter-alist)
774 (frameset-filter-alist, frameset-switch-to-gui-p)
775 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
776 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
777 (frameset-filter-iconified, frameset-keep-original-display-p):
778 Doc fixes.
779 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
780 Rename from frameset-filter-(save|restore)-param. All callers changed.
781 Doc fix.
782 (frameset-p): Adapt to change to vector and be more thorough.
783 Change arg name to OBJECT. Doc fix.
784 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
785 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
786 All callers changed.
787 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
788 All callers changed.
789 (frameset--record-minibuffer-relationships): Rename from
790 frameset--process-minibuffer-frames. All callers changed.
791 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
792 Use new default constructor (again). Doc fix.
793 (frameset--find-frame-if): Rename from `frameset--find-frame.
794 All callers changed.
795 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
796 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
797 Doc fix.
798 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
799 PARAMETERS and WINDOW-STATE, respectively.
800 (frameset-restore): Add new keyword argument PREDICATE.
801 Reset frameset--target-display to nil. Doc fix.
802
803 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
804
805 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
806 (bat-mode): Use it.
807 (bat-mode-syntax-table): Mark \n as end-of-comment.
808 (bat-font-lock-keywords): Remove comment rule.
809
810 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
811 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
812
813 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
814 (byte-compile-callargs-warn): Use `push'.
815 (byte-compile-arglist-warn): Ignore higher-order "calls".
816 (byte-compile-file-form-autoload): Use `pcase'.
817 (byte-compile-function-form): If quoting a symbol, check that it exists.
818
819 2013-08-07 Eli Zaretskii <eliz@gnu.org>
820
821 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
822 and add a few popular commands found in batch files.
823 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
824 (dos-mode): Doc fixes.
825
826 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
827
828 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
829 (dos-mode): Use setq-local. Add space after "rem".
830 (dos-mode-syntax-table): Don't use "w" for symbol chars.
831 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
832
833 2013-08-07 Arni Magnusson <arnima@hafro.is>
834
835 * progmodes/dos.el: New file.
836 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
837 dos-mode.
838
839 2013-08-06 Glenn Morris <rgm@gnu.org>
840
841 * calendar/calendar.el: Add new faces, and day-header-array.
842 (calendar-weekday-header, calendar-weekend-header)
843 (calendar-month-header): New faces.
844 (calendar-day-header-construct): New function.
845 (calendar-day-header-width): Also :set calendar-day-header-array.
846 (calendar-american-month-header, calendar-european-month-header)
847 (calendar-iso-month-header): Use calendar- faces.
848 (calendar-generate-month):
849 Use calendar-day-header-array for day headers; apply faces to them.
850 (calendar-mode): Check calendar-font-lock-keywords non-nil.
851 (calendar-abbrev-construct): Add optional maxlen argument.
852 (calendar-day-name-array): Doc fix.
853 (calendar-day-name-array, calendar-abbrev-length)
854 (calendar-day-abbrev-array):
855 Also :set calendar-day-header-array, and maybe redraw.
856 (calendar-day-header-array): New option. (Bug#15007)
857 (calendar-font-lock-keywords): Set to nil and make obsolete.
858 (calendar-day-name): Add option to use header array.
859
860 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
861
862 * net/shr.el (shr-render-td): Remove debugging.
863 (shr-render-td): Make width computation consistent by defaulting
864 all zero-width columns to 10 characters. This may not be optimal,
865 but it's at least consistent.
866 (shr-make-table-1): Redo last change to fix the real problem in
867 colspan handling.
868
869 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
870
871 * files.el (cache-long-line-scans):
872 Make obsolete alias to `cache-long-scans'.
873
874 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
875
876 * frameset.el (frameset, frameset-filter-alist)
877 (frameset-filter-params, frameset-save, frameset--reuse-frame)
878 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
879 (frameset-compute-pos): Rename from frameset--compute-pos,
880 and add docstring.
881 (frameset-move-onscreen): Use frameset-compute-pos.
882 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
883
884 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
885 Fix typos in docstrings.
886
887 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
888
889 * frame.el (get-other-frame): Tiny cleanup.
890
891 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
892
893 * vc/vc.el (vc-default-ignore-completion-table):
894 Silence byte-compiler warning.
895
896 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
897 slot , which can indeed be nil.
898 (frameset-live-filter-alist, frameset-persistent-filter-alist):
899 Move entry for `left' from persistent to live filter alist.
900 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
901 Doc fixes.
902 (frameset-filter-params): When restoring a frame, copy items added to
903 `filtered', to avoid unwittingly modifying the original parameters.
904 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
905 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
906
907 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
908 to use looking-at-p instead of looking-at. (Bug#15028)
909
910 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
911
912 Revert introduction of isearch-filter-predicates (bug#14714).
913 Rely on add-function instead.
914 * isearch.el (isearch-filter-predicates): Rename it back to
915 isearch-filter-predicate.
916 (isearch-message-prefix): Use advice-function-mapc and advice
917 properties to get the isearch-message-prefix.
918 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
919 instead of run-hook-with-args-until-failure.
920 (isearch-filter-visible): Not obsolete any more.
921 * loadup.el: Preload nadvice.
922 * replace.el (perform-replace): Revert to funcall
923 instead of run-hook-with-args-until-failure.
924 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
925 * dired-aux.el (dired-isearch-filenames-mode): Rename from
926 dired-isearch-filenames-toggle; make it into a proper minor mode.
927 Use add/remove-function.
928 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
929 Call the minor-mode rather than add/remove-hook.
930 (dired-isearch-filter-filenames):
931 Remove isearch-message-prefix property.
932 * info.el (Info--search-loop): New function, extracted from Info-search.
933 Funcall isearch-filter-predicate instead of
934 run-hook-with-args-until-failure isearch-filter-predicates.
935 (Info-search): Use it.
936 (Info-mode): Use isearch-filter-predicate instead of
937 isearch-filter-predicates.
938
939 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
940
941 Do not call to `selected-window' where it is assumed by default.
942 Affected functions are `window-minibuffer-p', `window-dedicated-p',
943 `window-hscroll', `window-width', `window-height', `window-buffer',
944 `window-frame', `window-start', `window-point', `next-window'
945 and `window-display-table'.
946 * abbrev.el (abbrev--default-expand):
947 * bs.el (bs--show-with-configuration):
948 * buff-menu.el (Buffer-menu-mouse-select):
949 * calc/calc.el (calc):
950 * calendar/calendar.el (calendar-generate-window):
951 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
952 (diary-make-entry):
953 * comint.el (send-invisible, comint-dynamic-complete-filename)
954 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
955 * completion.el (complete):
956 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
957 * disp-table.el (describe-current-display-table):
958 * doc-view.el (doc-view-insert-image):
959 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
960 * ehelp.el (with-electric-help):
961 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
962 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
963 * emacs-lisp/helper.el (Helper-help-scroller):
964 * emulation/cua-base.el (cua--post-command-handler-1):
965 * eshell/esh-mode.el (eshell-output-filter):
966 * ffap.el (ffap-gnus-wrapper):
967 * help-macro.el (make-help-screen):
968 * hilit-chg.el (highlight-compare-buffers):
969 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
970 * hl-line.el (global-hl-line-highlight):
971 * icomplete.el (icomplete-simple-completing-p):
972 * isearch.el (isearch-done):
973 * jit-lock.el (jit-lock-stealth-fontify):
974 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
975 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
976 * mpc.el (mpc-tagbrowser, mpc):
977 * net/rcirc.el (rcirc-any-buffer):
978 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
979 * play/landmark.el (landmark-max-width, landmark-max-height):
980 * play/zone.el (zone):
981 * progmodes/compile.el (compilation-goto-locus):
982 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
983 * progmodes/etags.el (find-tag-other-window):
984 * progmodes/fortran.el (fortran-column-ruler):
985 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
986 * progmodes/verilog-mode.el (verilog-point-text):
987 * reposition.el (reposition-window):
988 * rot13.el (toggle-rot13-mode):
989 * server.el (server-switch-buffer):
990 * shell.el (shell-dynamic-complete-command)
991 (shell-dynamic-complete-environment-variable):
992 * simple.el (insert-buffer, set-selective-display)
993 (delete-completion-window):
994 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
995 (speedbar-recenter):
996 * startup.el (fancy-splash-head):
997 * textmodes/ispell.el (ispell-command-loop):
998 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
999 * tutorial.el (help-with-tutorial):
1000 * vc/add-log.el (add-change-log-entry):
1001 * vc/compare-w.el (compare-windows):
1002 * vc/ediff-help.el (ediff-indent-help-message):
1003 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
1004 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
1005 (ediff-setup-control-frame):
1006 * vc/emerge.el (emerge-position-region):
1007 * vc/pcvs-util.el (cvs-bury-buffer):
1008 * window.el (walk-windows, mouse-autoselect-window-select):
1009 * winner.el (winner-set-conf, winner-undo): Related users changed.
1010
1011 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
1012
1013 * frameset.el (frameset--set-id): Doc fix.
1014 (frameset-frame-id, frameset-frame-id-equal-p)
1015 (frameset-locate-frame-id): New functions.
1016 (frameset--process-minibuffer-frames, frameset--reuse-frame)
1017 (frameset-restore): Use them.
1018
1019 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
1020
1021 Do not call to `selected-frame' where it is assumed by default.
1022 Affected functions are `raise-frame', `redraw-frame',
1023 `frame-first-window', `frame-terminal' and `delete-frame'.
1024 * calendar/appt.el (appt-disp-window):
1025 * epg.el (epg-wait-for-completion):
1026 * follow.el (follow-delete-other-windows-and-split)
1027 (follow-avoid-tail-recenter):
1028 * international/mule.el (set-terminal-coding-system):
1029 * mail/rmail.el (rmail-mail-return):
1030 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
1031 * progmodes/f90.el (f90-add-imenu-menu):
1032 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
1033 * server.el (server-switch-buffer):
1034 * simple.el (delete-completion-window):
1035 * talk.el (talk):
1036 * term/xterm.el (terminal-init-xterm-modify-other-keys)
1037 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
1038 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
1039 * vc/ediff.el (ediff-documentation): Related users changed.
1040 * frame.el (selected-terminal): Remove the leftover.
1041
1042 2013-08-05 Glenn Morris <rgm@gnu.org>
1043
1044 * calendar/calendar.el (calendar-generate-month):
1045 Fix for calendar-column-width != 1 + calendar-day-digit-width.
1046 (calendar-generate-month, calendar-font-lock-keywords):
1047 Fix for calendar-day-header-width > length of any day name.
1048
1049 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
1050
1051 * desktop.el (desktop-clear): Use new name of sort predicate.
1052
1053 * frameset.el (frameset): Add docstring. Move :version property to its
1054 own `version' slot.
1055 (frameset-copy): Rename from copy-frameset.
1056 (frameset-p): Check more thoroughly.
1057 (frameset-prop): Do not check for :version, which is no longer a prop.
1058 (frameset-live-filter-alist, frameset-persistent-filter-alist):
1059 Use new :never value instead of t.
1060 (frameset-filter-alist): Expand and clarify docstring.
1061 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
1062 (frameset-filter-minibuffer, frameset-filter-save-param)
1063 (frameset-filter-restore-param, frameset-filter-iconified):
1064 Add pointer to docstring of frameset-filter-alist.
1065 (frameset-filter-params): Rename filter values to be more meaningful:
1066 :never instead of t, and reverse the meanings of :save and :restore.
1067 (frameset--process-minibuffer-frames): Clarify error message.
1068 (frameset-save): Avoid unnecessary and confusing call to framep.
1069 Use new BOA constructor for framesets.
1070 (frameset--reuse-list): Doc fix.
1071 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
1072 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
1073 (frameset-minibufferless-first-p): Doc fix.
1074 Rename from frameset-sort-frames-for-deletion.
1075 (frameset-restore): Doc fixes. Use new function names.
1076 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
1077
1078 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
1079
1080 * desktop.el (desktop-restore-forces-onscreen)
1081 (desktop-restore-reuses-frames): Document :keyword constant values.
1082 (desktop-filter-parameters-alist): Remove, now identical to
1083 frameset-filter-alist.
1084 (desktop--filter-tty*): Remove, moved to frameset.el.
1085 (desktop-save-frameset, desktop-restore-frameset):
1086 Do not pass :filters argument.
1087
1088 * frameset.el (frameset-live-filter-alist)
1089 (frameset-persistent-filter-alist): New variables.
1090 (frameset-filter-alist): Use them. Add autoload cookie.
1091 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
1092 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
1093 `frameset--id' (it's supposed to be internal to frameset.el).
1094 (frameset--process-minibuffer-frames): Ditto. Doc fix.
1095 (frameset--initial-params): New function.
1096 (frameset--get-frame): Use it. Doc fix.
1097 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
1098 Accept :all, not 'all.
1099 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
1100 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
1101 with fbound symbols. Fix frame id matching, and remove matching ids if
1102 the frame being restored is deleted. Obey :delete.
1103
1104 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
1105
1106 * subr.el (macrop): New function.
1107 (text-clone--maintaining): New var.
1108 (text-clone--maintain): Rename from text-clone-maintain. Use it
1109 instead of inhibit-modification-hooks.
1110
1111 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
1112 a proxy, so as handle autoloads and redefinitions of the target.
1113 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
1114
1115 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
1116 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
1117 (pcase--mutually-exclusive-p): New function.
1118 (pcase--split-consp): Use it.
1119 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
1120 mutually exclusive with the current predicate.
1121
1122 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
1123 (edebug-macrop): Remove. Use `macrop' instead.
1124 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
1125 (ad-macro-p):
1126 * eshell/esh-cmd.el (eshell-macrop):
1127 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
1128
1129 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
1130
1131 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
1132 (advice-mapc): New function, using it.
1133 (advice-function-member-p): New function.
1134 (advice--normalize): Store the cdr in advice--saved-rewrite since
1135 that's the part that will be changed.
1136 (advice--symbol-function): New function.
1137 (advice-remove): Handle removal before the function is defined.
1138 Adjust to new advice--saved-rewrite.
1139 (advice-member-p): Use advice-function-member-p and
1140 advice--symbol-function.
1141
1142 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
1143
1144 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
1145 (frameset-filter-minibuffer): Doc fix.
1146 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
1147 (frameset--set-id, frameset--process-minibuffer-frames)
1148 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
1149 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
1150
1151 * desktop.el (desktop-clear): Only delete frames when called
1152 interactively and desktop-restore-frames is non-nil. Doc fix.
1153 (desktop-read): Set desktop-saved-frameset to nil.
1154
1155 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
1156
1157 * vc/vc.el (vc-ignore): Rewrite.
1158 (vc-default-ignore-completion-table):
1159 (vc--read-lines):
1160 (vc--add-line, vc--remove-regexp): New functions.
1161
1162 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
1163 (vc-svn-ignore-completion-table): New function.
1164
1165 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
1166 (vc-hg-ignore-completion-table):
1167 (vc-hg-find-ignore-file): New functions.
1168
1169 * vc/vc-git.el (vc-git-ignore): Rewrite.
1170 (vc-git-ignore-completion-table):
1171 (vc-git-find-ignore-file): New functions.
1172
1173 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
1174
1175 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
1176 (vc-bzr-ignore-completion-table):
1177 (vc-bzr-find-ignore-file): New functions.
1178
1179 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
1180
1181 * frameset.el (frameset-prop): New function and setter.
1182 (frameset-save): Do not modify frame list passed by the caller.
1183
1184 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
1185
1186 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
1187
1188 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
1189
1190 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
1191 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
1192
1193 * custom.el (custom-initialize-default, custom-initialize-set)
1194 (custom-initialize-reset, custom-initialize-changed): Affect the
1195 toplevel-default-value (bug#6275, bug#14586).
1196 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
1197 for bug#6275.
1198
1199 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
1200
1201 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
1202 Add cl-def* expressions.
1203
1204 * frameset.el (frameset-filter-params): Fix order of arguments.
1205
1206 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
1207
1208 Move code related to saving frames to frameset.el.
1209 * desktop.el: Require frameset.
1210 (desktop-restore-frames): Doc fix.
1211 (desktop-restore-reuses-frames): Rename from
1212 desktop-restoring-reuses-frames.
1213 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
1214 (desktop-clear): Clear frames too.
1215 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
1216 (desktop--filter-tty*, desktop-save, desktop-read):
1217 Use frameset functions.
1218 (desktop-before-saving-frames-functions, desktop--filter-*-color)
1219 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
1220 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
1221 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
1222 (desktop--process-minibuffer-frames, desktop-save-frames)
1223 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
1224 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
1225 (desktop--sort-states, desktop-restoring-frames-p)
1226 (desktop-restore-frames): Remove. Most code moved to frameset.el.
1227 (desktop-restoring-frameset-p, desktop-restore-frameset)
1228 (desktop--check-dont-save, desktop-save-frameset): New functions.
1229 (desktop--app-id): New constant.
1230 (desktop-first-buffer, desktop-buffer-ok-count)
1231 (desktop-buffer-fail-count): Move before first use.
1232 * frameset.el: New file.
1233
1234 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
1235
1236 * files.el: Use lexical-binding.
1237 (dir-locals-read-from-file): Remove unused `err' variable.
1238 (hack-dir-local-variables--warned-coding): New var.
1239 (hack-dir-local-variables): Use it to avoid repeated warnings.
1240 (make-backup-file-name--default-function): New function.
1241 (make-backup-file-name-function): Use it as default.
1242 (buffer-stale--default-function): New function.
1243 (buffer-stale-function): Use it as default.
1244 (revert-buffer-insert-file-contents--default-function): New function.
1245 (revert-buffer-insert-file-contents-function): Use it as default.
1246 (insert-directory): Avoid add-to-list.
1247
1248 * autorevert.el (auto-revert-handler): Simplify.
1249 Use buffer-stale--default-function.
1250
1251 2013-08-01 Tassilo Horn <tsdh@gnu.org>
1252
1253 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
1254
1255 * whitespace.el (whitespace-ensure-local-variables): New function.
1256 (whitespace-cleanup-region): Call it.
1257 (whitespace-turn-on): Call it.
1258
1259 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
1260
1261 Complete file name handlers.
1262
1263 * net/tramp.el (tramp-handle-set-visited-file-modtime)
1264 (tramp-handle-verify-visited-file-modtime)
1265 (tramp-handle-file-notify-rm-watch): New functions.
1266 (tramp-call-process): Do not bind `default-directory'.
1267
1268 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1269 Order alphabetically.
1270 [access-file, add-name-to-file, dired-call-process]:
1271 [dired-compress-file, file-acl, file-notify-rm-watch]:
1272 [file-ownership-preserved-p, file-selinux-context]:
1273 [make-directory-internal, make-symbolic-link, set-file-acl]:
1274 [set-file-selinux-context, set-visited-file-modtime]:
1275 [verify-visited-file-modtime]: Add handler.
1276 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
1277
1278 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
1279 [file-notify-add-watch, file-notify-rm-watch]:
1280 [set-file-times, set-visited-file-modtime]:
1281 [verify-visited-file-modtime]: Add handler.
1282 (with-tramp-gvfs-error-message)
1283 (tramp-gvfs-handle-set-visited-file-modtime)
1284 (tramp-gvfs-fuse-file-name): Remove.
1285 (tramp-gvfs-handle-file-notify-add-watch)
1286 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
1287 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
1288
1289 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
1290 Order alphabetically.
1291 [file-notify-rm-watch ]: Use default Tramp handler.
1292 [executable-find]: Remove private handler.
1293 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
1294 `default-directory'.
1295 (tramp-sh-handle-executable-find)
1296 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
1297 (tramp-sh-file-gvfs-monitor-dir-process-filter)
1298 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
1299 Do not use `format' in `tramp-message'.
1300
1301 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
1302 [file-notify-rm-watch, set-visited-file-modtime]:
1303 [verify-visited-file-modtime]: Add handler.
1304 (tramp-smb-call-winexe): Do not bind `default-directory'.
1305
1306 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
1307
1308 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
1309
1310 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
1311
1312 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
1313 use it.
1314 (log-view-diff-changeset): Same.
1315 (log-view-diff-common): Call backend command `previous-revision'
1316 to find out the previous revision, in both cases. Swap the
1317 variables `to' and `fr', so that `fr' usually refers to the
1318 earlier revision (Bug#14989).
1319
1320 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
1321
1322 * ibuf-ext.el (ibuffer-filter-by-filename):
1323 Make it work with dired buffers too.
1324
1325 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
1326
1327 * emacs-lisp/re-builder.el (reb-color-display-p):
1328 * files.el (save-buffers-kill-terminal):
1329 * net/browse-url.el (browse-url):
1330 * server.el (server-save-buffers-kill-terminal):
1331 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
1332 Prefer nil to selected-frame for the first arg of frame-parameter.
1333
1334 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
1335
1336 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
1337
1338 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
1339
1340 * minibuffer.el (completion--twq-all): Try and preserve each
1341 completion's case choice (bug#14907).
1342
1343 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
1344
1345 * net/network-stream.el (open-network-stream): Mention the new
1346 :nogreeting parameter.
1347 (network-stream-open-starttls): Use the :nogreeting parameter
1348 (bug#14938).
1349
1350 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
1351
1352 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
1353 more natural than popping.
1354
1355 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
1356 (shr-urlify): Highlight under mouse.
1357
1358 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
1359
1360 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
1361
1362 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
1363
1364 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
1365 buffer for output.
1366
1367 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
1368 point-min==1. Fix search string. Fix parentheses missing.
1369
1370 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
1371 assume point-min==1. Fix search string. Fix parentheses missing.
1372
1373 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
1374
1375 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
1376 buffer for output.
1377
1378 2013-07-29 Eli Zaretskii <eliz@gnu.org>
1379
1380 * frame.el (frame-notice-user-settings): Avoid inflooping when the
1381 initial frame is minibuffer-less. (Bug#14841)
1382
1383 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
1384
1385 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
1386 option.
1387
1388 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
1389 (tramp-maybe-open-connection): Use it.
1390
1391 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
1392
1393 * desktop.el (desktop--make-frame): Include `minibuffer' in the
1394 minimal set of parameters passed when creating a frame, because
1395 the minibuffer status of a frame cannot be changed later.
1396
1397 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
1398
1399 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
1400 replace-regexp-in-string and inadvertent omissions in previous change.
1401 (todo-filter-items): Ensure only file names are comma-separated in
1402 name of filtered items buffer.
1403
1404 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
1405
1406 * desktop.el: Optionally force offscreen frames back onscreen.
1407 (desktop-restoring-reuses-frames): New option.
1408 (desktop--compute-pos, desktop--move-onscreen): New functions.
1409 (desktop--make-frame): Use desktop--move-onscreen.
1410
1411 2013-07-27 Alan Mackenzie <acm@muc.de>
1412
1413 Fontify a Java generic method as a function.
1414 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
1415 value to t.
1416
1417 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
1418
1419 * calendar/todo-mode.el: Add command to rename todo files.
1420 (todo-rename-file): New command.
1421 (todo-key-bindings-t): Add key binding for it. Change the
1422 bindings of todo-filter-regexp-items(-multifile) to use `x'
1423 instead of `r', since the latter is better suited to the new
1424 renaming command.
1425
1426 2013-07-27 Alan Mackenzie <acm@muc.de>
1427
1428 Make Java try-with-resources statement parse properly.
1429 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
1430 (c-block-stmt-1-2-key): New language constants/variables.
1431 * progmodes/cc-engine.el (c-beginning-of-statement-1)
1432 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
1433 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
1434 with c-block-stmt-1-2-key.
1435
1436 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
1437
1438 * desktop.el (desktop--make-frame): Apply most frame parameters after
1439 creating the frame to force (partially or totally) offscreen frames to
1440 be restored as such.
1441
1442 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
1443
1444 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
1445 (Bug#14948)
1446
1447 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
1448
1449 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
1450 `base' arg of backtrace-frame.
1451
1452 2013-07-26 Eli Zaretskii <eliz@gnu.org>
1453
1454 * simple.el (list-processes): Doc fix.
1455
1456 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
1457
1458 * desktop.el (desktop--select-frame):
1459 Try harder to reuse existing frames.
1460
1461 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
1462
1463 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
1464 (edebug-eval): Use backtrace-eval.
1465 (edebug--display, edebug--recursive-edit): Don't let-bind the
1466 edebug-outer-* vars that keep track of variables we locally let-bind.
1467 (edebug-outside-excursion): Don't restore outside values of locally
1468 let-bound vars.
1469 (edebug--display): Use user-error.
1470 (cl-lexical-debug, cl-debug-env): Remove.
1471
1472 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
1473
1474 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
1475 are restored to be sure that they are visible before deleting any
1476 remaining ones.
1477
1478 2013-07-26 Matthias Meulien <orontee@gmail.com>
1479
1480 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
1481 vc-print-root-log. (Bug#14948)
1482
1483 2013-07-26 Richard Stallman <rms@gnu.org>
1484
1485 Add aliases for encrypting mail.
1486 * epa.el (epa-mail-aliases): New option.
1487 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
1488 Bind inhibit-read-only so read-only text doesn't ruin everything.
1489 (epa-mail-default-recipients): New subroutine broken out.
1490 Handle epa-mail-aliases.
1491
1492 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
1493
1494 Add support for lexical variables to the debugger's `e' command.
1495 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
1496 vars, except for debugger-outer-match-data.
1497 (debugger-frame-number): Move check for "on a function call" from
1498 callers into it. Add `skip-base' argument.
1499 (debugger-frame, debugger-frame-clear): Simplify accordingly.
1500 (debugger-env-macro): Only reset the state stored in non-variables,
1501 i.e. current-buffer and match-data.
1502 (debugger-eval-expression): Rewrite using backtrace-eval.
1503 * subr.el (internal--called-interactively-p--get-frame): Remove.
1504 (called-interactively-p):
1505 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
1506 `base' arg of backtrace-frame instead.
1507
1508 2013-07-26 Glenn Morris <rgm@gnu.org>
1509
1510 * align.el (align-regexp): Doc fix. (Bug#14857)
1511 (align-region): Explicit error if subexpression missing/does not match.
1512
1513 * simple.el (global-visual-line-mode):
1514 Do not duplicate the mode lighter. (Bug#14858)
1515
1516 2013-07-25 Martin Rudalics <rudalics@gmx.at>
1517
1518 * window.el (display-buffer): In display-buffer bind
1519 split-window-keep-point to t, bug#14829.
1520
1521 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
1522
1523 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
1524 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
1525 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
1526 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
1527 Change accordingly.
1528 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
1529 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
1530
1531 2013-07-25 Glenn Morris <rgm@gnu.org>
1532
1533 * dired-x.el (dired-mark-extension): Convert comment to doc string.
1534
1535 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
1536
1537 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
1538 parameter to modify-frame-parameters if the value has not changed;
1539 this is a workaround for bug#14949.
1540 (desktop--make-frame): On cl-delete-if call, check parameter name,
1541 not full parameter.
1542
1543 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
1544
1545 * vc/vc.el (vc-ignore): New function.
1546
1547 * vc/vc-svn.el (vc-svn-ignore): New function.
1548
1549 * vc/vc-hg.el (vc-hg-ignore): New function.
1550
1551 * vc/vc-git.el (vc-git-ignore): New function.
1552
1553 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
1554 (vc-dir-ignore): New function.
1555
1556 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1557 (cvs-append-to-ignore): Move here from pcvs.el.
1558
1559 * vc/vc-bzr.el (vc-bzr-ignore): New function.
1560
1561 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
1562
1563 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
1564
1565 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
1566 (desktop-restore-frames): Warn when deleting an existing frame failed.
1567
1568 2013-07-24 Glenn Morris <rgm@gnu.org>
1569
1570 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
1571
1572 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
1573
1574 * filenotify.el (file-notify-supported-p):
1575 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
1576 Remove functions.
1577
1578 * autorevert.el (auto-revert-use-notify):
1579 (auto-revert-notify-add-watch):
1580 * net/tramp.el (tramp-file-name-for-operation):
1581 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1582 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1583 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
1584 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1585 Remove `file-notify-supported-p' entry.
1586
1587 2013-07-24 Glenn Morris <rgm@gnu.org>
1588
1589 * printing.el: Replace all uses of deleted ps-windows-system,
1590 ps-lp-system, ps-flatten-list with lpr- versions.
1591
1592 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
1593
1594 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
1595 checked with memq (bug#14935).
1596
1597 * files.el (revert-buffer-function): Use a non-nil default.
1598 (revert-buffer-preserve-modes): Declare var to
1599 provide access to the `preserve-modes' argument.
1600 (revert-buffer): Let-bind it.
1601 (revert-buffer--default): New function, extracted from revert-buffer.
1602
1603 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
1604
1605 * lpr.el: Signal print errors more prominently.
1606 (print-region-function): Don't default to nil.
1607 (lpr-print-region): New function, extracted from print-region-1.
1608 Check lpr's return value and signal an error in case of problem.
1609 (print-region-1): Use it.
1610 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
1611 versions instead.
1612 (ps-printer-name): Default to nil.
1613 (ps-printer-name-option): Default to lpr-printer-switch.
1614 (ps-print-region-function): Don't default to nil.
1615 (ps-postscript-code-directory): Simplify default.
1616 (ps-do-despool): Use lpr-print-region to properly check the outcome.
1617 (ps-string-list, ps-eval-switch, ps-flatten-list)
1618 (ps-flatten-list-1): Remove.
1619 (ps-multibyte-buffer): Avoid setq.
1620 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
1621 (print-region-function, ps-print-region-function): Don't set them here.
1622
1623 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
1624
1625 * ido.el (ido-fractionp):
1626 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
1627 (ido-max-file-prompt-width, ido-unc-hosts-cache)
1628 (ido-max-directory-size, ido-max-dir-file-cache)
1629 (ido-decorations): Doc fix.
1630
1631 * ansi-color.el: Fix old URL.
1632
1633 2013-07-23 Michael R. Mauger <michael@mauger.com>
1634
1635 * progmodes/sql.el Version 3.3
1636 (sql-product-alist): Improve oracle :prompt-cont-regexp.
1637 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
1638 (sql-interactive-remove-continuation-prompt): Rewrite, use
1639 functions above. Fix continuation prompt and complete output line
1640 handling.
1641 (sql-redirect-one, sql-execute): Use `read-only-mode' on
1642 redirected output buffer.
1643 (sql-mode): Restore deleted code (Bug#13591).
1644
1645 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
1646
1647 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
1648
1649 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
1650
1651 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
1652
1653 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1654 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1655 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
1656
1657 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
1658
1659 * desktop.el (desktop-clear): Simplify; remove useless checks
1660 against invalid buffer names.
1661 (desktop-list*): Use cl-list*.
1662 (desktop-buffer-info, desktop-create-buffer): Simplify.
1663
1664 2013-07-23 Leo Liu <sdl.web@gmail.com>
1665
1666 * bookmark.el (bookmark-make-record): Restore NAME as a default
1667 value. (Bug#14933)
1668
1669 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
1670
1671 * emacs-lisp/autoload.el (autoload--setup-output): New function,
1672 extracted from autoload--insert-text.
1673 (autoload--insert-text): Remove.
1674 (autoload--print-cookie-text): New function, extracted from
1675 autoload--insert-cookie-text.
1676 (autoload--insert-cookie-text): Remove.
1677 (autoload-generate-file-autoloads): Adjust calls accordingly.
1678
1679 * winner.el (winner-hook-installed-p): Remove.
1680 (winner-mode): Simplify accordingly.
1681
1682 * subr.el (add-to-list): Fix compiler-macro when `append' is
1683 not constant. Don't use `cl-member' for the base case.
1684
1685 * progmodes/subword.el: Fix boundary case (bug#13758).
1686 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
1687 own group.
1688 (subword-backward-regexp): Make it a constant.
1689 (subword-forward-internal): Don't treat a trailing capital as the
1690 beginning of a word.
1691
1692 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
1693
1694 * emacs-lisp/package.el (package-menu-mode): Don't modify the
1695 global value of tabulated-list-revert-hook (bug#14930).
1696
1697 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
1698
1699 * desktop.el: Require 'cl-lib.
1700 (desktop-before-saving-frames-functions): New hook.
1701 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
1702 for frames being saved. Rename from desktop--save-minibuffer-frames.
1703 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
1704 Do not save frames with non-nil `desktop-dont-save' parameter.
1705 Filter out deleted frames.
1706 (desktop--find-frame): Use cl-find-if.
1707 (desktop--select-frame): Use cl-(first|second|third) to access values
1708 of desktop-mini.
1709 (desktop--make-frame): Use cl-delete-if.
1710 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
1711 (desktop-restore-frames): Use cl-(first|second|third) to access values
1712 of desktop-mini. Look for visible frame at the end, not while
1713 restoring frames.
1714
1715 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
1716 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
1717 Use string-match-p, looking-at-p (bug#14927).
1718
1719 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
1720
1721 * desktop.el (desktop-saved-frame-states):
1722 Rename from desktop--saved-states; all users changed.
1723 (desktop-save-frames): Rename from desktop--save-frames.
1724 Do not save state to desktop file.
1725 (desktop-save): Save desktop-saved-frame-states to desktop file
1726 and reset to nil.
1727 (desktop-restoring-frames-p): New function.
1728 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
1729 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
1730 buffer-lists when restoring frames. Suggested by Martin Rudalics.
1731
1732 * desktop.el: Correctly restore iconified frames.
1733 (desktop--filter-iconified-position): New function.
1734 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
1735
1736 2013-07-20 Glenn Morris <rgm@gnu.org>
1737
1738 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
1739 Let `message' do the formatting.
1740 (def-gdb-preempt-display-buffer): Add explicit format.
1741
1742 * image-dired.el (image-dired-track-original-file):
1743 Use with-current-buffer.
1744 (image-dired-track-thumbnail): Use with-current-buffer.
1745 Avoid changing point of wrong window.
1746
1747 * image-dired.el (image-dired-track-original-file):
1748 Avoid changing point of wrong window. (Bug#14909)
1749
1750 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
1751
1752 * progmodes/gdb-mi.el (gdb-done-or-error):
1753 Guard against "%" in gdb output. (Bug#14127)
1754
1755 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
1756
1757 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
1758 (Bug#14826)
1759
1760 * international/mule.el (coding-system-iso-2022-flags): Fix last
1761 change.
1762
1763 2013-07-20 Kenichi Handa <handa@gnu.org>
1764
1765 * international/mule.el (coding-system-iso-2022-flags):
1766 Add `8-bit-level-4'. (Bug#8522)
1767
1768 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
1769
1770 * net/shr.el (shr-mouse-browse-url): New command and keystroke
1771 (bug#14815).
1772
1773 * net/eww.el (eww-process-text-input): Allow inputting when the
1774 point is at the start of the line, as the properties aren't
1775 front-sticky.
1776
1777 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
1778 degenerate widths.
1779
1780 2013-07-19 Richard Stallman <rms@gnu.org>
1781
1782 * epa.el (epa-popup-info-window): Doc fix.
1783
1784 * subr.el (split-string): New arg TRIM.
1785
1786 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
1787
1788 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
1789 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
1790
1791 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
1792
1793 * filenotify.el (file-notify--library): Rename from
1794 `file-notify-support'. Do not autoload. Adapt all uses.
1795 (file-notify-supported-p): New defun.
1796
1797 * autorevert.el (auto-revert-use-notify):
1798 Use `file-notify-supported-p' instead of `file-notify-support'.
1799 Adapt docstring.
1800 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
1801
1802 * net/tramp.el (tramp-file-name-for-operation):
1803 Add `file-notify-supported-p'.
1804
1805 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
1806 New defun.
1807 (tramp-sh-file-name-handler-alist): Add it as handler for
1808 `file-notify-supported-p '.
1809
1810 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1811 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1812 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1813 Add `ignore' as handler for `file-notify-*' functions.
1814
1815 2013-07-17 Eli Zaretskii <eliz@gnu.org>
1816
1817 * simple.el (line-move-partial, line-move): Don't start vscroll or
1818 scroll-up if the current line is not taller than the window.
1819 (Bug#14881)
1820
1821 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
1822
1823 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
1824 highlight question marks in the method names as strings.
1825 (ruby-block-beg-keywords): Inline.
1826 (ruby-font-lock-keyword-beg-re): Extract from
1827 `ruby-font-lock-keywords'.
1828
1829 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
1830
1831 * frame.el (blink-cursor-blinks): New defcustom.
1832 (blink-cursor-blinks-done): New defvar.
1833 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
1834 (blink-cursor-timer-function): Check if number of blinks has been
1835 done on X and NS.
1836 (blink-cursor-suspend, blink-cursor-check): New defuns.
1837
1838 2013-07-15 Glenn Morris <rgm@gnu.org>
1839
1840 * edmacro.el (edmacro-format-keys): Fix previous change.
1841
1842 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
1843
1844 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
1845 The hack didn't work outside English locales anyway.
1846
1847 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
1848
1849 * simple.el (define-alternatives): Rename from alternatives-define,
1850 per RMS' suggestion.
1851
1852 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
1853
1854 * desktop.el (desktop-restore-frames): Change default to t.
1855 (desktop-restore-in-current-display): Now offer more options.
1856 (desktop-restoring-reuses-frames): New customization option.
1857 (desktop--saved-states): Doc fix.
1858 (desktop-filter-parameters-alist): New variable, renamed and expanded
1859 from desktop--excluded-frame-parameters.
1860 (desktop--target-display): New variable.
1861 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
1862 (desktop--filter-tty*, desktop--filter-*-color)
1863 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
1864 (desktop--filter-save-desktop-parm)
1865 (desktop-restore-in-original-display-p): New functions.
1866 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
1867 (desktop--save-minibuffer-frames): New function, inspired by a similar
1868 function from Martin Rudalics.
1869 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
1870 (desktop--restore-in-this-display-p): Remove.
1871 (desktop--find-frame): Rename from desktop--find-frame-in-display
1872 and add predicate argument.
1873 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
1874 (desktop--reuse-list): New variable.
1875 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
1876 New functions.
1877 (desktop--restore-frames): Add support for "minibuffer-special" frames.
1878
1879 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
1880
1881 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
1882
1883 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
1884
1885 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1886 Highlight conversion methods on Kernel.
1887
1888 2013-07-13 Alan Mackenzie <acm@muc.de>
1889
1890 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
1891 and comment it out. This out-commenting enables certain C++
1892 declarations to be parsed correctly.
1893
1894 2013-07-13 Eli Zaretskii <eliz@gnu.org>
1895
1896 * international/mule.el (define-coding-system): Doc fix.
1897
1898 * simple.el (default-font-height): Don't call font-info if the
1899 frame's default font didn't change since the frame was created.
1900 (Bug#14838)
1901
1902 2013-07-13 Leo Liu <sdl.web@gmail.com>
1903
1904 * ido.el (ido-read-file-name): Guard against non-symbol value.
1905
1906 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1907
1908 * progmodes/python.el (python-imenu--build-tree): Fix corner case
1909 in nested defuns.
1910
1911 2013-07-13 Leo Liu <sdl.web@gmail.com>
1912
1913 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
1914 ido-set-matches call. (Bug#6852)
1915
1916 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
1917
1918 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
1919 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
1920 Ruby 2.0.
1921 (ruby-font-lock-keywords): Distinguish calls to functions with
1922 module-like names from module references. Highlight character
1923 literals.
1924
1925 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
1926
1927 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
1928 (gdb-send): Handle continued commands. (Bug#14847)
1929
1930 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
1931
1932 * desktop.el (desktop--v2s): Remove unused local variable.
1933 (desktop-save-buffer): Make defvar-local; adjust docstring.
1934 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
1935 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
1936
1937 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
1938
1939 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
1940
1941 2013-07-12 Eli Zaretskii <eliz@gnu.org>
1942
1943 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
1944 (Bug#14842)
1945
1946 2013-07-12 Glenn Morris <rgm@gnu.org>
1947
1948 * doc-view.el: Require cl-lib at runtime too.
1949 (doc-view-remove-if): Remove.
1950 (doc-view-search-next-match, doc-view-search-previous-match):
1951 Use cl-remove-if.
1952
1953 * edmacro.el: Require cl-lib at runtime too.
1954 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
1955 (edmacro-mismatch, edmacro-subseq): Remove.
1956
1957 * shadowfile.el: Require cl-lib.
1958 (shadow-remove-if): Remove.
1959 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
1960 Use cl-remove-if.
1961
1962 * wid-edit.el: Require cl-lib.
1963 (widget-choose): Use cl-remove-if.
1964 (widget-remove-if): Remove.
1965
1966 * progmodes/ebrowse.el: Require cl-lib at runtime too.
1967 (ebrowse-delete-if-not): Remove.
1968 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
1969 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
1970 Use cl-delete-if-not.
1971
1972 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
1973
1974 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
1975 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
1976
1977 2013-07-12 Leo Liu <sdl.web@gmail.com>
1978
1979 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
1980
1981 2013-07-11 Glenn Morris <rgm@gnu.org>
1982
1983 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
1984 (edebug-gensym-index, edebug-gensym):
1985 Remove reimplementation of cl-gensym.
1986 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
1987
1988 * thumbs.el: Require cl-lib at run-time too.
1989 (thumbs-gensym-counter, thumbs-gensym):
1990 Remove reimplementation of cl-gensym.
1991 (thumbs-temp-file): Use cl-gensym.
1992
1993 * emacs-lisp/ert.el: Require cl-lib at runtime too.
1994 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
1995 (ert--intersection, ert--set-difference, ert--set-difference-eq)
1996 (ert--union, ert--gensym-counter, ert--gensym-counter)
1997 (ert--coerce-to-vector, ert--remove*, ert--string-position)
1998 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
1999 (ert-make-test-unbound, ert--expand-should-1)
2000 (ert--expand-should, ert--should-error-handle-error)
2001 (should-error, ert--explain-equal-rec)
2002 (ert--plist-difference-explanation, ert-select-tests)
2003 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
2004 Use cl-lib functions rather than reimplementations.
2005
2006 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
2007
2008 * net/tramp.el (tramp-methods): Extend docstring.
2009 (tramp-connection-timeout): New defcustom.
2010 (tramp-error-with-buffer): Reset timestamp only when appropriate.
2011 (with-tramp-progress-reporter): Simplify.
2012 (tramp-process-actions): Improve messages.
2013
2014 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2015 * net/tramp-sh.el (tramp-maybe-open-connection):
2016 Use `tramp-connection-timeout'.
2017 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
2018 (Bug#14808)
2019
2020 2013-07-11 Leo Liu <sdl.web@gmail.com>
2021
2022 * ido.el (ido-read-file-name): Conform to the requirements of
2023 read-file-name. (Bug#11861)
2024 (ido-read-directory-name): Conform to the requirements of
2025 read-directory-name.
2026
2027 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
2028
2029 * subr.el (delay-warning): New function.
2030
2031 2013-07-10 Eli Zaretskii <eliz@gnu.org>
2032
2033 * simple.el (default-line-height): New function.
2034 (line-move-partial, line-move): Use it instead of computing the
2035 line height inline.
2036 (line-move-partial): Always compute ROWH. If the last line is
2037 partially-visible, but its text is completely visible, allow
2038 cursor to enter such a partially-visible line.
2039
2040 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
2041
2042 Improve error messages. (Bug#14808)
2043
2044 * net/tramp.el (tramp-current-connection): New defvar, moved from
2045 tramp-sh.el.
2046 (tramp-message-show-progress-reporter-message): Remove, not
2047 needed anymore.
2048 (tramp-error-with-buffer): Show message in minibuffer.
2049 Discard input before waiting. Reset connection timestamp.
2050 (with-tramp-progress-reporter): Improve messages.
2051 (tramp-process-actions): Use progress reporter. Delete process in
2052 case of error. Improve messages.
2053
2054 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
2055 Call `tramp-error-with-buffer' with vector and buffer.
2056 (tramp-current-connection): Remove.
2057 (tramp-maybe-open-connection): The car of
2058 `tramp-current-connection' are the first 3 slots of the vector.
2059
2060 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
2061
2062 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
2063 inside continued strings.
2064
2065 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
2066
2067 Timestamp fixes for undo (Bug#14824).
2068 * files.el (clear-visited-file-modtime): Move here from fileio.c.
2069
2070 2013-07-10 Leo Liu <sdl.web@gmail.com>
2071
2072 * files.el (require-final-newline): Allow safe local value.
2073 (Bug#14834)
2074
2075 2013-07-09 Leo Liu <sdl.web@gmail.com>
2076
2077 * ido.el (ido-read-directory-name): Handle fallback.
2078 (ido-read-file-name): Update DIR to ido-current-directory.
2079 (Bug#1516)
2080 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
2081
2082 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
2083
2084 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
2085 "autoload". Remove "warn lower camel case" section, previously
2086 commented out. Highlight negation char. Do not highlight the
2087 target in singleton method definitions.
2088
2089 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
2090
2091 * faces.el (tty-setup-hook): Declare the hook.
2092
2093 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
2094 and detect when a guard/pred depends on local vars (bug#14773).
2095 (pcase--u1): Adjust caller.
2096
2097 2013-07-08 Eli Zaretskii <eliz@gnu.org>
2098
2099 * simple.el (line-move-partial, line-move): Account for
2100 line-spacing.
2101 (line-move-partial): Avoid setting vscroll when the last
2102 partially-visible line in window is of default height.
2103
2104 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
2105
2106 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
2107 been used a while.
2108
2109 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
2110
2111 * subr.el (read-quoted-char): Remove unused local variable `char'.
2112
2113 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
2114
2115 * ediff.el (ediff-version): Version update.
2116 (ediff-files-command, ediff3-files-command, ediff-merge-command)
2117 (ediff-merge-with-ancestor-command, ediff-directories-command)
2118 (ediff-directories3-command, ediff-merge-directories-command)
2119 (ediff-merge-directories-with-ancestor-command): New functions.
2120 All are command-line interfaces to ediff: to facilitate calling
2121 Emacs with the appropriate ediff functions invoked.
2122
2123 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
2124 (viper-save-kill-buffer): Check if buffer is modified.
2125
2126 * viper.el (viper-version): Version update.
2127 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
2128
2129 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
2130
2131 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
2132 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
2133 (viper-intercept-ESC-key): Simplify.
2134 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
2135 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
2136 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
2137 (viper-setup-ESC-to-escape): New functions.
2138 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
2139 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
2140
2141 2013-07-07 Eli Zaretskii <eliz@gnu.org>
2142
2143 * simple.el (default-font-height, window-screen-lines):
2144 New functions.
2145 (line-move, line-move-partial): Use them instead of
2146 frame-char-height and window-text-height. This makes scrolling
2147 text smoother when the buffer's default face uses a font that is
2148 different from the frame's default font.
2149
2150 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
2151
2152 * files.el (write-file): Do not display confirm dialog for NS,
2153 it does its own dialog, which can't be cancelled (Bug#14578).
2154
2155 2013-07-06 Eli Zaretskii <eliz@gnu.org>
2156
2157 * simple.el (line-move-partial): Adjust the row returned by
2158 posn-at-point for the current window-vscroll. (Bug#14567)
2159
2160 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
2161
2162 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
2163 (tramp-sh-file-inotifywait-process-filter): Handle file names with
2164 spaces.
2165
2166 2013-07-06 Martin Rudalics <rudalics@gmx.at>
2167
2168 * window.el (window-state-put-stale-windows): New variable.
2169 (window--state-put-2): Save list of windows without matching buffer.
2170 (window-state-put): Remove "bufferless" windows if possible.
2171
2172 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
2173
2174 * simple.el (alternatives-define): Remove leftover :group keyword.
2175 Tweak docstring.
2176
2177 2013-07-06 Leo Liu <sdl.web@gmail.com>
2178
2179 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
2180 (ido-enable-virtual-buffers): New variable.
2181 (ido-buffer-internal, ido-toggle-virtual-buffers)
2182 (ido-make-buffer-list): Use it.
2183 (ido-exhibit): Support turning on and off virtual buffers
2184 automatically.
2185
2186 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
2187
2188 * simple.el (alternatives-define): New macro.
2189
2190 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
2191
2192 * subr.el (read-quoted-char): Use read-key.
2193 (sit-for): Let read-event decode tty input (bug#14782).
2194
2195 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
2196
2197 * calendar/todo-mode.el: Add handling of file deletion, both by
2198 mode command and externally. Fix various related bugs.
2199 Clarify Commentary and improve some documentation strings and code.
2200 (todo-delete-file): New command.
2201 (todo-check-file): New function.
2202 (todo-show): Handle external deletion of the file we're trying to
2203 show (bug#14688). Replace called-interactively-p by an optional
2204 prefix argument to avoid problematic interaction with catch form
2205 when byte compiled (bug#14702).
2206 (todo-quit): Handle external deletion of the archive's todo file.
2207 Make sure the buffer that was visiting the archive file is still
2208 live before trying to bury it.
2209 (todo-category-completions): Handle external deletion of any
2210 category completion files.
2211 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
2212 of todo files, in case of external deletion.
2213 (todo-add-file): Replace unnecessary setq by let-binding.
2214 (todo-find-archive): Check whether there are any archives.
2215 Replace unnecessary setq by let-binding.
2216 (todo-archive-done-item): Use find-file-noselect to get the
2217 archive buffer whether or not the archive already exists.
2218 Remove superfluous code. Use file size instead of buffer-file-name to
2219 check if the archive is new; if it is, update list of archives.
2220 (todo-default-todo-file): Allow nil to be a valid value for when
2221 there are no todo files.
2222 (todo-reevaluate-default-file-defcustom): Use corrected definition
2223 of todo-default-todo-file.
2224 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
2225 (todo-delete-category, todo-show-categories-table)
2226 (todo-category-number): Clarify comment.
2227 (todo-filter-items): Clarify documentation string.
2228 (todo-show-current-file, todo-display-as-todo-file)
2229 (todo-reset-and-enable-done-separator): Tweak documentation string.
2230 (todo-done-separator): Make separator length window-width, since
2231 bug#2749 is now fixed.
2232
2233 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
2234
2235 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2236 Support both "gvfs-monitor-dir" and "inotifywait".
2237 (tramp-sh-file-inotifywait-process-filter): Rename from
2238 `tramp-sh-file-notify-process-filter'.
2239 (tramp-sh-file-gvfs-monitor-dir-process-filter)
2240 (tramp-get-remote-gvfs-monitor-dir): New defuns.
2241
2242 2013-07-05 Leo Liu <sdl.web@gmail.com>
2243
2244 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
2245
2246 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2247
2248 * frame.el (display-pixel-height, display-pixel-width)
2249 (display-mm-height, display-mm-width): Mention behavior on
2250 multi-monitor setups in docstrings.
2251 (w32-display-monitor-attributes-list): Declare function.
2252 (display-monitor-attributes-list): Use it.
2253
2254 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
2255
2256 * filenotify.el: New package.
2257
2258 * autorevert.el (top): Require filenotify.el.
2259 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
2260 instead.
2261 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
2262 (auto-revert-notify-handler): Use `file-notify-*' functions.
2263
2264 * subr.el (file-notify-handle-event): Move function to filenotify.el.
2265
2266 * net/tramp.el (tramp-file-name-for-operation):
2267 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
2268
2269 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
2270 for `file-notify-add-watch' and `file-notify-rm-watch'.
2271 (tramp-process-sentinel): Improve trace.
2272 (tramp-sh-handle-file-notify-add-watch)
2273 (tramp-sh-file-notify-process-filter)
2274 (tramp-sh-handle-file-notify-rm-watch)
2275 (tramp-get-remote-inotifywait): New defuns.
2276
2277 2013-07-03 Juri Linkov <juri@jurta.org>
2278
2279 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
2280 call of `occur-read-primary-args' to interactive spec.
2281
2282 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
2283 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
2284
2285 2013-07-03 Matthias Meulien <orontee@gmail.com>
2286
2287 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
2288 `Buffer-menu-multi-occur'. Add it to the menu.
2289 (Buffer-menu-mode): Document it in docstring.
2290 (Buffer-menu-multi-occur): New command. (Bug#14673)
2291
2292 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
2293
2294 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
2295 keywords and built-ins.
2296
2297 2013-07-03 Glenn Morris <rgm@gnu.org>
2298
2299 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
2300
2301 Make info-xref checks case-sensitive by default
2302 * info.el (Info-find-node, Info-find-in-tag-table)
2303 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
2304 Add option for exact case matching of nodes.
2305 * info-xref.el (info-xref): New custom group.
2306 (info-xref-case-fold): New option.
2307 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
2308
2309 2013-07-03 Leo Liu <sdl.web@gmail.com>
2310
2311 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
2312
2313 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
2314
2315 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
2316 middle of block statement initially, lower the depth. Remove
2317 FIXME comment, not longer valid. Remove middle of block statement
2318 detection, no need to do that anymore since we've been using
2319 `ruby-parse-region' here.
2320
2321 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
2322
2323 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
2324
2325 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
2326
2327 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
2328
2329 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
2330
2331 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
2332 (desktop-restore-in-current-display): New customization option.
2333 (desktop--excluded-frame-parameters): Add `font'.
2334 (desktop--save-frames): Rename from desktop--save-windows.
2335 (desktop--restore-in-this-display-p): New function.
2336 (desktop--make-full-frame): Remove unwanted width/height from
2337 full(width|height) frames.
2338 (desktop--restore-frames): Rename from desktop--restore-windows.
2339 Obey desktop-restore-current-display. Do not delete old frames or
2340 select a new frame unless we were able to restore at least one frame.
2341
2342 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
2343
2344 * files.el (find-file-noselect): Simplify conditional expression.
2345
2346 * remember.el (remember-append-to-file):
2347 Don't mix `find-buffer-visiting' and `get-file-buffer'.
2348
2349 Add `remember-notes' function to store random notes across Emacs
2350 restarts.
2351 * remember.el (remember-data-file): Add :set callback to affect
2352 notes buffer (if any).
2353 (remember-notes): New command.
2354 (remember-notes-buffer-name, bury-remember-notes-on-kill):
2355 New defcustoms for the `remember-notes' function.
2356 (remember-notes-save-and-bury-buffer): New command.
2357 (remember-notes-mode-map): New variable.
2358 (remember-mode): New minor mode.
2359 (remember-notes--kill-buffer-query): New function.
2360 * startup.el (initial-buffer-choice): Add notes to custom type.
2361
2362 2013-06-30 Eli Zaretskii <eliz@gnu.org>
2363
2364 * bindings.el (right-char, left-char): Don't call sit-for, this is
2365 no longer needed. Use arithmetic comparison only for numerical
2366 arguments.
2367
2368 * international/mule-cmds.el (select-safe-coding-system):
2369 Handle the case of FROM being a string correctly. (Bug#14755)
2370
2371 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
2372
2373 * net/shr.el (shr-make-table-1): Add a sanity check that allows
2374 progression on degenerate tables.
2375 (shr-rescale-image): ImageMagick animated images currently don't work.
2376
2377 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
2378
2379 Some fixes and improvements for desktop frame restoration.
2380 It is still experimental and disabled by default.
2381 * desktop.el (desktop--save-windows): Put the selected frame at
2382 the head of the list.
2383 (desktop--make-full-frame): New function.
2384 (desktop--restore-windows): Try to re-select the frame that was
2385 selected upon saving. Do not abort if some frames fail to restore,
2386 just show an error message and continue. Set up maximized frames
2387 so they have default non-maximized dimensions.
2388
2389 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
2390
2391 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2392 Don't start heredoc inside a string or comment.
2393
2394 2013-06-29 Eli Zaretskii <eliz@gnu.org>
2395
2396 * bindings.el (visual-order-cursor-movement): New defcustom.
2397 (right-char, left-char): Provide visual-order cursor motion by
2398 calling move-point-visually. Update the doc strings.
2399
2400 2013-06-28 Kenichi Handa <handa@gnu.org>
2401
2402 * international/mule.el (define-coding-system): New coding system
2403 properties :inhibit-null-byte-detection,
2404 :inhibit-iso-escape-detection, and :prefer-utf-8.
2405 (set-buffer-file-coding-system): If :charset-list property of
2406 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
2407 appropriate for setting.
2408
2409 * international/mule-cmds.el (select-safe-coding-system):
2410 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
2411 multibyte characters, return utf-8 (or one of its siblings).
2412
2413 * international/mule-conf.el (prefer-utf-8): New coding system.
2414 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
2415 files.
2416
2417 2013-06-28 Ivan Kanis <ivan@kanis.fr>
2418
2419 * net/shr.el (shr-render-region): New function.
2420
2421 * net/eww.el: Autoload `eww-browse-url'.
2422
2423 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
2424
2425 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2426 Adapt to `package-desc-version' being a list.
2427 Use `package--ac-desc-version' to retrieve version from a package
2428 archive element.
2429
2430 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
2431
2432 New experimental feature to save&restore window and frame setup.
2433 * desktop.el (desktop-save-windows): New defcustom.
2434 (desktop--saved-states): New var.
2435 (desktop--excluded-frame-parameters): New defconst.
2436 (desktop--filter-frame-parms, desktop--find-frame-in-display)
2437 (desktop--restore-windows, desktop--save-windows): New functions.
2438 (desktop-save): Call `desktop--save-windows'.
2439 (desktop-read): Call `desktop--restore-windows'.
2440
2441 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
2442
2443 * net/shr.el (add-face-text-property): Remove compat definition.
2444
2445 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
2446
2447 * info.el (Info-try-follow-nearest-node): Move search for footnote
2448 above search for node name to prevent missing a footnote (bug#14717).
2449
2450 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
2451
2452 * obsolete/otodo-mode.el: Add obsolescence info to file header.
2453
2454 2013-06-27 Leo Liu <sdl.web@gmail.com>
2455
2456 * net/eww.el (eww-read-bookmarks): Check file size.
2457
2458 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
2459
2460 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
2461 advice--pending if newdef is nil or an autoload (bug#13820).
2462 (advice-mapc): New function.
2463
2464 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
2465
2466 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
2467 probably.
2468 (eww-mode-map): Add a menu bar.
2469 (eww-add-bookmark): New command.
2470 (eww-bookmark-mode): New mode and commands.
2471 (eww-add-bookmark): Remove newlines from the title.
2472 (eww-bookmark-browse): Don't bug out if it's the only window.
2473
2474 2013-06-26 Glenn Morris <rgm@gnu.org>
2475
2476 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
2477 (hfy-size): Handle ttys. (Bug#14668)
2478
2479 * info-xref.el: Update for Texinfo 5 change in *note format.
2480 (info-xref-node-re, info-xref-note-re): New constants.
2481 (info-xref-check-buffer): Use info-xref-note-re.
2482
2483 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
2484
2485 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
2486
2487 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
2488 nil terminate the loop (bug#14718).
2489
2490 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
2491
2492 * net/eww.el: Rework history traversal. When going forward/back,
2493 put these actions into the history, too, so that they can be
2494 replayed.
2495 (eww-render): Move the history reset to the correct buffer.
2496
2497 2013-06-25 Juri Linkov <juri@jurta.org>
2498
2499 * files-x.el (modify-dir-local-variable): Change the header comment
2500 in the file with directory local variables. (Bug#14692)
2501
2502 * files-x.el (read-file-local-variable-value): Add `default'.
2503 (Bug#14710)
2504
2505 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
2506
2507 * net/eww.el (eww-make-unique-file-name): Create a unique file
2508 name before saving to entering `y' accidentally asynchronously.
2509
2510 2013-06-25 Ivan Kanis <ivan@kanis.fr>
2511
2512 * net/eww.el (eww-download): New command and keystroke.
2513
2514 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
2515
2516 * net/eww.el (eww-copy-page-url): Change name of command.
2517
2518 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
2519 be more consistent with Info and dired.
2520
2521 * net/eww.el (eww-mode-map): Ditto.
2522
2523 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
2524
2525 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
2526 packages from archives.
2527 (package-archive-contents): Change format; include obsolete packages.
2528 (package-desc): Use `dir' to mark builtin packages.
2529 (package--from-builtin): Set the `dir' field to `builtin'.
2530 (generated-autoload-file, version-control): Declare.
2531 (package-compute-transaction): Change first arg and return value to be
2532 lists of package-descs. Adjust to new package-archive-contents format.
2533 (package--add-to-archive-contents): Adjust to new
2534 package-archive-contents format.
2535 (package-download-transaction): Arg is now a list of package-descs.
2536 (package-install): If `pkg' is a package name, pass it as
2537 a requirement, so it is subject to the usual (e.g. disabled) checks.
2538 (describe-package): Accept package-desc as well.
2539 (describe-package-1): Describe a specific package-desc. Add links to
2540 other package-descs for the same package name.
2541 (package-menu-describe-package): Pass the actual package-desc.
2542 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
2543 works correctly.
2544 (package-desc-status): New function.
2545 (package-menu--refresh): New function, extracted
2546 from package-menu--generate.
2547 (package-menu--generate): Use it.
2548 (package-delete): Update package-alist.
2549 (package-menu-execute): Don't call package-initialize.
2550
2551 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
2552 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
2553 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
2554 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
2555 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
2556 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
2557
2558 2013-06-25 Martin Rudalics <rudalics@gmx.at>
2559
2560 * window.el (window--state-get-1): Workaround for bug#14527.
2561 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
2562
2563 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
2564
2565 * net/eww.el (eww-back-url): Implement the history by stashing all
2566 the data into a list.
2567 (eww-forward-url): Allow going forward in the history, too.
2568
2569 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
2570
2571 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
2572 for values and use read--expression for expressions (bug#14710).
2573 (read-file-local-variable): Avoid setq.
2574 (read-file-local-variable-mode): Use minor-mode-list.
2575
2576 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2577
2578 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
2579 for DOI URLs.
2580
2581 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2582
2583 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
2584 Update imenu-support when dialect changes.
2585
2586 2013-06-25 Leo Liu <sdl.web@gmail.com>
2587
2588 * ido.el (ido-read-internal): Allow forward slash on windows.
2589
2590 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
2591
2592 * net/eww.el (eww): Start of strings is \\`, not ^.
2593
2594 2013-06-24 Ivan Kanis <ivan@kanis.fr>
2595
2596 * net/shr.el (shr-browse-url): Fix interactive spec.
2597
2598 * net/eww.el (eww): Add a trailing slash to domain names.
2599
2600 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
2601
2602 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
2603
2604 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
2605
2606 * net/shr.el (shr-browse-url): Use an external browser if given a
2607 prefix.
2608
2609 * net/eww.el (eww-external-browser): Move to shr.
2610
2611 2013-06-24 Ivan Kanis <ivan@kanis.fr>
2612
2613 * net/eww.el (eww): Work more correctly for file: URLs.
2614 (eww-detect-charset): Allow quoted charsets.
2615 (eww-yank-page-url): New command and keystroke.
2616
2617 2013-06-24 Daiki Ueno <ueno@gnu.org>
2618
2619 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
2620 file name of gpg executable.
2621 (epg-context-program): New function.
2622 (epg-context-home-directory): New function.
2623 (epg-context-set-program): New function.
2624 (epg-context-set-home-directory): New function.
2625 (epg--start): Use `epg-context-program' instead of
2626 'epg-gpg-program'.
2627 (epg--list-keys-1): Likewise.
2628
2629 2013-06-24 Leo Liu <sdl.web@gmail.com>
2630
2631 * ido.el (ido-read-internal): Fix bug#14620.
2632
2633 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
2634
2635 * faces.el (face-documentation): Simplify.
2636 (read-face-attribute, tty-find-type, x-resolve-font-name):
2637 Use `string-match-p'.
2638 (list-faces-display): Use `string-match-p'. Simplify.
2639 (face-spec-recalc): Check face to avoid face alias loops.
2640 (read-color): Use `string-match-p' and non-capturing parenthesis.
2641
2642 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
2643
2644 * net/shr.el (shr-rescale-image): Use the new
2645 :max-width/:max-height functionality.
2646
2647 2013-06-23 Ivan Kanis <ivan@kanis.fr>
2648
2649 * net/eww.el (eww-search-prefix): New variable.
2650 (eww): Use it.
2651 (eww-external-browser): New variable.
2652 (eww-mode-map): New keystroke.
2653 (eww-browse-with-external-browser): New command.
2654
2655 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
2656
2657 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
2658
2659 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
2660 Don't skip aligning the next header field when padding is 0;
2661 otherwise, field width is not respected unless the title is as
2662 wide as the field.
2663
2664 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
2665
2666 * emacs-lisp/package.el (package-el-version): Remove.
2667 (package-process-define-package): Fix inf-loop.
2668 (package-install): Allow symbols as arguments again.
2669
2670 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
2671
2672 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
2673 add some more keyword-like methods.
2674 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
2675
2676 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
2677
2678 * bs.el (bs-buffer-show-mark): Make defvar-local.
2679 (bs-mode): Use setq-local.
2680
2681 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
2682 (emacs-lock--try-unlocking): Make defvar-local.
2683
2684 2013-06-22 Glenn Morris <rgm@gnu.org>
2685
2686 * play/cookie1.el (cookie-apropos): Minor simplification.
2687
2688 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
2689
2690 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
2691
2692 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
2693 `regexp-opt', it breaks the build during dumping.
2694
2695 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
2696
2697 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2698 Highlight keyword-like methods on Kernel and Module with
2699 font-lock-builtin-face.
2700 (auto-mode-alist): Consolidate different entries into one regexp
2701 and add more *file-s.
2702
2703 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
2704
2705 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
2706
2707 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
2708 (diary-entry): Use it in the action of this button type instead of
2709 diary-goto-entry.
2710
2711 * calendar/todo-mode.el: New version.
2712 (todo-add-category): Append new category to end of file and give
2713 it the highest number, instead of putting it at the beginning and
2714 giving it 0. Incorporate noninteractive functionality.
2715 (todo-forward-category): Adapt to 1-based category numbering.
2716 Allow skipping over archived categories.
2717 (todo-backward-category): Derive from todo-forward-category.
2718 (todo-backward-item, todo-forward-item): Make noninteractive and
2719 delegate interactive part to new commands. Make sensitive to done items.
2720 (todo-categories): Make value an alist of category names and
2721 vectors of item counts.
2722 (todo-category-beg): Make a defconst.
2723 (todo-category-number): Use 1 instead of 0 as initial value.
2724 (todo-category-select): Make sensitive to overlays, optional item
2725 highlighting and done items.
2726 (todo-delete-item): Make sensitive to overlays and marked and done items.
2727 (todo-edit-item): Make sensitive to overlays and editing of
2728 date/time header optional. Add format checks.
2729 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
2730 no-op if point is not on an item. Advertise using todo-edit-quit.
2731 (todo-edit-mode): Make sensitive to new format, font-locking, and
2732 multiple todo files.
2733 (todo-insert-item, todo-insert-item-here): Derive from
2734 todo-basic-insert-item and extend functionality.
2735 (todo-item-end, todo-item-start): Make sensitive to done items.
2736 (todo-item-string): Don't return text properties. Restore point.
2737 (todo-jump-to-category): Make sensitive to multiple todo files and
2738 todo archives. Use extended category completion.
2739 (todo-lower-item, todo-raise-item): Rename to *-priority and
2740 derive from todo-set-item-priority.
2741 (todo-mode): Derive from special-mode. Make sensitive to new
2742 format, font-locking and multiple todo files. Make read-only.
2743 (todo-mode-map): Don't suppress digit keys, so they can supply
2744 prefix arguments. Add many new key bindings.
2745 (todo-prefix): Insert as an overlay instead of file text.
2746 Change semantics from diary date expression to purely visual mark.
2747 (todo-print): Rename to todo-print-buffer. Make buffer display
2748 features printable. Remove option to restrict number of items
2749 printed. Add option to print to file.
2750 (todo-print-function): Rename to todo-print-buffer-function.
2751 (todo-quit): Extend to handle exiting new todo modes.
2752 (todo-remove-item): Make sensitive to overlays.
2753 (todo-save): Extend to buffers of filtered items.
2754 (todo-show): Make sensitive to done items, multiple todo files and
2755 new todo modes. Offer to convert legacy todo file before creating
2756 first new todo file.
2757 (todo-show-priorities): Rename to todo-top-priorities.
2758 Change semantics of value 0.
2759 (todo-top-priorities): Rename to todo-filter-top-priorities,
2760 derive from todo-filter-items and extend functionality.
2761 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
2762 and extend functionality to other types of filtered items.
2763 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
2764 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
2765 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
2766 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
2767 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
2768 (todo-edit-mode-hook, todo-entry-prefix-function)
2769 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
2770 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
2771 (todo-initials, todo-insert-threshold, todo-item-string-start)
2772 (todo-line-string, todo-menu, todo-mode-hook)
2773 (todo-more-important-p, todo-previous-answer, todo-previous-line)
2774 (todo-print-priorities, todo-remove-separator)
2775 (todo-save-top-priorities-too, todo-string-count-lines)
2776 (todo-string-multiline-p, todo-time-string-format)
2777 (todo-tmp-buffer-name): Remove.
2778 (todo-add-file, todo-archive-done-item, todo-choose-archive)
2779 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
2780 (todo-edit-category-diary-inclusion)
2781 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
2782 (todo-edit-file, todo-edit-item-date-day)
2783 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
2784 (todo-edit-item-date-month, todo-edit-item-date-to-today)
2785 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
2786 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
2787 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
2788 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
2789 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
2790 (todo-filter-top-priorities-multifile, todo-find-archive)
2791 (todo-find-filtered-items-file, todo-go-to-source-item)
2792 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
2793 (todo-jump-to-archive-category, todo-lower-category)
2794 (todo-mark-category, todo-marked-item-p, todo-merge-category)
2795 (todo-move-category, todo-move-item, todo-next-button)
2796 (todo-next-item, todo-padded-string, todo-powerset)
2797 (todo-previous-button, todo-previous-item)
2798 (todo-print-buffer-to-file, todo-raise-category)
2799 (todo-rename-category, todo-repair-categories-sexp, todo-search)
2800 (todo-set-category-number, todo-set-item-priority)
2801 (todo-set-top-priorities-in-category)
2802 (todo-set-top-priorities-in-file, todo-show-categories-table)
2803 (todo-sort-categories-alphabetically-or-numerically)
2804 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
2805 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
2806 (todo-toggle-item-header, todo-toggle-item-highlighting)
2807 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
2808 (todo-toggle-view-done-items, todo-toggle-view-done-only)
2809 (todo-unarchive-items, todo-unmark-category): New commands.
2810 (todo-absolute-file-name, todo-add-to-buffer-list)
2811 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
2812 (todo-basic-insert-item, todo-category-completions)
2813 (todo-category-number, todo-category-string-matcher-1)
2814 (todo-category-string-matcher-2, todo-check-filtered-items-file)
2815 (todo-check-format, todo-clear-matches)
2816 (todo-comment-string-matcher, todo-convert-legacy-date-time)
2817 (todo-current-category, todo-date-string-matcher)
2818 (todo-define-insertion-command, todo-diary-expired-matcher)
2819 (todo-diary-goto-entry, todo-diary-item-p)
2820 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
2821 (todo-display-categories, todo-display-sorted, todo-done-item-p)
2822 (todo-done-item-section-p, todo-done-separator)
2823 (todo-done-string-matcher, todo-files, todo-filter-items)
2824 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
2825 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
2826 (todo-insert-category-line, todo-insert-item-from-calendar)
2827 (todo-insert-sort-button, todo-insert-with-overlays)
2828 (todo-insertion-command-name, todo-insertion-key-bindings)
2829 (todo-label-to-key, todo-longest-category-name-length)
2830 (todo-make-categories-list, todo-mode-external-set)
2831 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
2832 (todo-modes-set-3, todo-multiple-filter-files)
2833 (todo-nondiary-marker-matcher, todo-prefix-overlays)
2834 (todo-read-category, todo-read-date, todo-read-dayname)
2835 (todo-read-file-name, todo-read-time)
2836 (todo-reevaluate-category-completions-files-defcustom)
2837 (todo-reevaluate-default-file-defcustom)
2838 (todo-reevaluate-filelist-defcustoms)
2839 (todo-reevaluate-filter-files-defcustom)
2840 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
2841 (todo-reset-done-separator, todo-reset-done-separator-string)
2842 (todo-reset-done-string, todo-reset-global-current-todo-file)
2843 (todo-reset-highlight-item, todo-reset-nondiary-marker)
2844 (todo-reset-prefix, todo-set-categories)
2845 (todo-set-date-from-calendar, todo-set-show-current-file)
2846 (todo-set-top-priorities, todo-short-file-name)
2847 (todo-show-current-file, todo-sort, todo-time-string-matcher)
2848 (todo-total-item-counts, todo-update-buffer-list)
2849 (todo-update-categories-display, todo-update-categories-sexp)
2850 (todo-update-count, todo-validate-name, todo-y-or-n-p):
2851 New functions.
2852 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
2853 New major modes.
2854 (todo-categories, todo-display, todo-edit, todo-faces)
2855 (todo-filtered): New defgroups.
2856 (todo-archived-only, todo-button, todo-category-string, todo-date)
2857 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
2858 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
2859 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
2860 (todo-add-item-if-new-category, todo-always-add-time-string)
2861 (todo-categories-align, todo-categories-archived-label)
2862 (todo-categories-category-label, todo-categories-diary-label)
2863 (todo-categories-done-label, todo-categories-number-separator)
2864 (todo-categories-todo-label, todo-categories-totals-label)
2865 (todo-category-completions-files, todo-completion-ignore-case)
2866 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
2867 (todo-done-separator-string, todo-done-string)
2868 (todo-files-function, todo-filter-done-items, todo-filter-files)
2869 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
2870 (todo-initial-category, todo-initial-file, todo-item-mark)
2871 (todo-legacy-date-time-regexp, todo-mode-line-function)
2872 (todo-nondiary-marker, todo-number-prefix)
2873 (todo-print-buffer-function, todo-show-current-file)
2874 (todo-show-done-only, todo-show-first, todo-show-with-done)
2875 (todo-skip-archived-categories, todo-top-priorities-overrides)
2876 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
2877 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
2878 New defcustoms.
2879 (todo-category-done, todo-date-pattern, todo-date-string-start)
2880 (todo-diary-items-buffer, todo-done-string-start)
2881 (todo-filtered-items-buffer, todo-item-start)
2882 (todo-month-abbrev-array, todo-month-name-array)
2883 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
2884 (todo-top-priorities-buffer): New defconsts.
2885 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
2886 (todo-categories-with-marks, todo-category-string-face)
2887 (todo-comment-face, todo-comment-string, todo-current-todo-file)
2888 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
2889 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
2890 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
2891 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
2892 (todo-font-lock-keywords, todo-global-current-todo-file)
2893 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
2894 (todo-insertion-commands-args)
2895 (todo-insertion-commands-args-genlist)
2896 (todo-insertion-commands-names, todo-insertion-map)
2897 (todo-key-bindings-t, todo-key-bindings-t+a)
2898 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
2899 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
2900 (todo-nondiary-face, todo-print-buffer, todo-time-face)
2901 (todo-visited): New variables.
2902
2903 2013-06-21 Glenn Morris <rgm@gnu.org>
2904
2905 * play/cookie1.el (cookie-apropos): Add optional display argument.
2906 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
2907 (psychoanalyze-pinhead): Use cookie-doctor.
2908
2909 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
2910
2911 * emacs-lisp/package.el (tar-get-file-descriptor)
2912 (tar--extract): Declare.
2913
2914 2013-06-21 Eduard Wiebe <usenet@pusto.de>
2915
2916 Extend flymake's warning predicate to be a function (bug#14217).
2917 * progmodes/flymake.el (flymake-warning-predicate): New.
2918 (flymake-parse-line): Use it.
2919 (flymake-warning-re): Make obsolete alias to
2920 `flymake-warning-predicate'.
2921
2922 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
2923
2924 * emacs-lisp/package.el (package-alist): Include obsolete packages.
2925 (package-obsolete-list): Remove.
2926 (package-activate): Remove min-version argument. Add `force' argument.
2927 Adjust to new package-alist format.
2928 (package-mark-obsolete): Remove.
2929 (package-unpack): Force reload of the package's autoloads.
2930 (package-installed-p): Check builtins if the installed package is not
2931 recent enough.
2932 (package-initialize): Don't reset package-obsolete-list.
2933 Don't specify which package version to activate.
2934 (package-process-define-package, describe-package-1)
2935 (package-menu--generate): Adjust to new package-alist format.
2936
2937 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
2938
2939 * allout-widgets.el (allout-widgets-mode-off)
2940 (allout-widgets-mode-on, allout-widgets-pre-command-business)
2941 (allout-widgets-post-command-business)
2942 (allout-widgets-after-copy-or-kill-function)
2943 (allout-widgets-after-undo-function, allout-test-range-overlaps)
2944 (allout-decorate-item-and-context)
2945 (allout-graphics-modification-handler): Fix typos in docstrings.
2946 (allout-get-or-create-parent-widget): Use `looking-at-p'.
2947
2948 * cmuscheme.el (scheme-start-file): Doc fix.
2949 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
2950 (scheme-input-filter): Use `string-match-p'.
2951
2952 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
2953
2954 * dired-x.el: Use Dired consistently in docstrings.
2955
2956 * dired.el: Use Dired consistently in docstrings.
2957 (dired-readin, dired-mode): Use `setq-local'.
2958 (dired-switches-alist): Make defvar-local.
2959 (dired-buffers-for-dir): Use `zerop'.
2960 (dired-safe-switches-p, dired-switches-escape-p)
2961 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
2962 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
2963 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
2964 (dired-goto-next-nontrivial-file): Use `string-match-p'.
2965 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
2966 (dired-toggle-marks, dired-mark-files-containing-regexp)
2967 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
2968 (dired-flag-auto-save-files, dired-flag-backup-files):
2969 Use `looking-at-p'.
2970 (dired-mark-files-regexp, dired-build-subdir-alist):
2971 Use `string-match-p', `looking-at-p'.
2972
2973 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
2974 (direct-print-region-helper): Use `string-match-p'.
2975
2976 2013-06-21 Leo Liu <sdl.web@gmail.com>
2977
2978 * comint.el (comint-redirect-results-list-from-process):
2979 Fix infinite loop.
2980
2981 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2982
2983 * net/eww.el (eww-update-header-line-format): Quote % characters.
2984
2985 2013-06-21 Glenn Morris <rgm@gnu.org>
2986
2987 * play/cookie1.el (cookie): New custom group.
2988 (cookie-file): New option.
2989 (cookie-check-file): New function.
2990 (cookie): Make it interactive. Make start and end messages optional.
2991 Interactively, display the result. Default to cookie-file.
2992 (cookie-insert): Default to cookie-file.
2993 (cookie-snarf): Make start and end messages optional.
2994 Default to cookie-file. Use with-temp-buffer.
2995 (cookie-read): Rename from read-cookie.
2996 Make start and end messages optional. Default to cookie-file.
2997 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
2998 Do not autoload it.
2999 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
3000 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
3001
3002 2013-06-21 Leo Liu <sdl.web@gmail.com>
3003
3004 * progmodes/octave.el (octave-mode): Backward compatibility fix.
3005
3006 2013-06-21 Glenn Morris <rgm@gnu.org>
3007
3008 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
3009
3010 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
3011 Daniel Hackney <dan@haxney.org>
3012
3013 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
3014 Consolidate the single-file vs tarball code.
3015 (package-desc-suffix): New function.
3016 (package-desc-full-name): Don't bother inlining it.
3017 (package-load-descriptor): Return the new package-desc.
3018 (package-mark-obsolete): Remove unused arg `package'.
3019 (package-unpack): Make it work for single files as well.
3020 Make it update package-alist.
3021 (package--make-autoloads-and-stuff): Rename from
3022 package--make-autoloads-and-compile. Don't compile any more.
3023 (package--compile): New function.
3024 (package-generate-description-file): New function, extracted from
3025 package-unpack-single.
3026 (package-unpack-single): Remove.
3027 (package--with-work-buffer): Add indentation and debugging info.
3028 (package-download-single): Remove.
3029 (package-install-from-archive): Rename from package-download-tar, make
3030 it take a pkg-desc, and make it work for single files as well.
3031 (package-download-transaction): Simplify.
3032 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
3033 external tar program.
3034 (package-install-from-buffer): Remove `pkg-desc' argument.
3035 Use package-tar-file-info for tar-mode buffers.
3036 (package-install-file): Simplify accordingly.
3037 (package-archive-base): Change to take a pkg-desc.
3038 * tar-mode.el (tar--check-descriptor): New function, extracted from
3039 tar-get-descriptor.
3040 (tar-get-descriptor): Use it.
3041 (tar-get-file-descriptor): New function.
3042 (tar--extract): New function, extracted from tar-extract.
3043 (tar--extract): Use it.
3044 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
3045 case the summary uses non-ascii. Adjust to new calling convention of
3046 package-tar-file-info.
3047
3048 2013-06-21 Leo Liu <sdl.web@gmail.com>
3049
3050 * comint.el (comint-redirect-results-list-from-process):
3051 Fix random delay. (Bug#14681)
3052
3053 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
3054
3055 * profiler.el (profiler-format-number): Use log, not log10.
3056
3057 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
3058
3059 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
3060
3061 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
3062
3063 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
3064 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
3065 yet available.
3066 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
3067 (AUTOGENEL): ... here.
3068 * emacs-lisp/cl-macs.el (cl--sublis): New function.
3069 (cl--defsubst-expand): Use it.
3070
3071 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
3072
3073 * subr.el (log10): Move here from C code, and declare as obsolete.
3074 All uses of (log10 X) replaced with (log X 10).
3075
3076 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
3077
3078 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
3079 Declare with `defvar-local'.
3080 (tabulated-list-use-header-line, tabulated-list-entries)
3081 (tabulated-list-padding, tabulated-list-printer)
3082 (tabulated-list-sort-key): Declare with `defvar-local'.
3083 (tabulated-list-init-header, tabulated-list-print-fake-header):
3084 Use `setq-local'.
3085
3086 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
3087
3088 * arc-mode.el (archive-mode): Add `archive-write-file' to
3089 `write-contents-functions' also for remote files. (Bug#14652)
3090
3091 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
3092
3093 * cus-edit.el (custom-commands): Fix typos.
3094 (custom-display): Fix tooltip text.
3095 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
3096 Fix typos in docstrings.
3097 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
3098 (custom-unlispify-menu-entry, custom-magic-value-create)
3099 (custom-add-see-also, custom-group-value-create): Use ?\s.
3100 (custom-guess-type, customize-apropos, editable-field)
3101 (custom-face-value-create): Use `string-match-p'.
3102 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
3103
3104 * custom.el (custom-load-symbol): Use `string-match-p'.
3105
3106 * ansi-color.el: Convert to lexical binding.
3107 (ansi-colors): Fix URL.
3108 (ansi-color-context, ansi-color-context-region): Use defvar-local.
3109 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
3110 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
3111
3112 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
3113
3114 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
3115
3116 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
3117
3118 2013-06-19 Tom Tromey <tromey@redhat.com>
3119
3120 * net/eww.el (eww-top-url): Remove.
3121 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
3122 (eww-render): Set new variables. Don't set eww-top-url.
3123 (eww-handle-link): Handle "prev", "home", and "contents".
3124 Downcase the rel text.
3125 (eww-top-url): Choose best top URL.
3126
3127 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
3128
3129 * net/eww.el: Rewrite to implement form elements "by hand" instead of
3130 relying in widget.el. Using widget.el leads to too many
3131 user interface inconsistencies.
3132 (eww-self-insert): Implement entering commands in text fields.
3133 (eww-process-text-input): New function to make text input field editing
3134 work.
3135 (eww-submit): Rewrite to use the new-style form methods.
3136 (eww-select-display): Display the correct selected item.
3137 (eww-change-select): Implement changing the select value.
3138 (eww-toggle-checkbox): Implement radio/checkboxes.
3139 (eww-update-field): Fix compilation error.
3140 (eww-tag-textarea): Implement <textarea>.
3141
3142 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
3143 we don't shadow mode-specific bindings.
3144
3145 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
3146 nothing to push.
3147
3148 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
3149
3150 2013-06-19 Glenn Morris <rgm@gnu.org>
3151
3152 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
3153
3154 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
3155
3156 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
3157 not needed.
3158
3159 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
3160
3161 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
3162
3163 * net/browse-url.el (browse-url-browser-function):
3164 `eww-browse-url' has the right calling signature, `eww' does not.
3165
3166 2013-06-19 Glenn Morris <rgm@gnu.org>
3167
3168 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
3169 Only eval autoloaded macros.
3170 (byte-compile-autoload): Only give the macro warning for macros.
3171
3172 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
3173 (ps-underlined-faces): Declare.
3174
3175 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
3176 (speedbar-add-supported-extension): Declare.
3177
3178 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
3179 Don't include a date stamp in the header of the generated file;
3180 it leads to needless differences between output files.
3181
3182 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
3183
3184 * net/secrets.el (secrets-struct-secret-content-type):
3185 Replace check of introspection data by a test call of "CreateItem".
3186 Some servers do not offer introspection.
3187
3188 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
3189
3190 * electric.el (electric-pair-mode): Improve interaction with
3191 electric-layout-mode.
3192 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
3193 (electric-pair-syntax): Use text-mode-syntax-table in comments
3194 and strings.
3195 (electric-pair--insert): New function.
3196 (electric-pair-post-self-insert-function): Use it and
3197 electric--after-char-pos.
3198
3199 2013-06-19 Leo Liu <sdl.web@gmail.com>
3200
3201 * progmodes/octave.el (octave-help): Fix regexp.
3202
3203 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
3204
3205 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
3206 (shr-table-horizontal-line): Allow nil as a value, and change the
3207 default.
3208 (shr-insert-table-ruler): Respect the nil value.
3209
3210 2013-06-18 Tom Tromey <tromey@barimba>
3211
3212 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
3213 New defvars.
3214 (eww-open-file): New defun.
3215 (eww-render): Initialize new variables.
3216 (eww-display-html): Handle "link" and "a".
3217 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
3218 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
3219 (eww-back-url): Rename from eww-previous-url.
3220 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
3221 New defuns.
3222
3223 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
3224
3225 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
3226 Distinguish ternary operator tokens from slash symbol and slash
3227 char literal.
3228
3229 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
3230
3231 Convert symbol prettification into minor mode and global minor mode.
3232
3233 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
3234 `prog-prettify-symbols', and make a local defvar instead of defcustom.
3235 (prettify-symbols--keywords): Rename from
3236 `prog-prettify-symbols-alist' and make a local defvar.
3237 (prettify-symbols--compose-symbol): Rename from
3238 `prog--prettify-font-lock-compose-symbol'.
3239 (prettify-symbols--make-keywords): Rename from
3240 `prog-prettify-font-lock-symbols-keywords' and simplify.
3241 (prog-prettify-install): Remove.
3242 (prettify-symbols-mode): New minor mode, based on
3243 `prog-prettify-install'.
3244 (turn-on-prettify-symbols-mode): New function.
3245 (global-prettify-symbols-mode): New globalized minor mode.
3246
3247 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3248 * progmodes/cfengine.el (cfengine3-mode):
3249 * progmodes/perl-mode.el (perl-mode): Don't call
3250 `prog-prettify-install'; set `prettify-symbols-alist' instead.
3251
3252 2013-06-18 Juri Linkov <juri@jurta.org>
3253
3254 * files-x.el (modify-file-local-variable-message): New function.
3255 (modify-file-local-variable)
3256 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
3257 and call `modify-file-local-variable-message' when it's non-nil.
3258 (add-file-local-variable, delete-file-local-variable)
3259 (add-file-local-variable-prop-line)
3260 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
3261 and use it. (Bug#9820)
3262
3263 2013-06-18 Juri Linkov <juri@jurta.org>
3264
3265 * emulation/vi.el (vi-shell-op):
3266 * emulation/vip.el (vip-execute-com, ex-command):
3267 * emulation/viper-cmd.el (viper-exec-bang):
3268 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
3269 the call of `shell-command-on-region'. (Bug#14637)
3270
3271 * simple.el (shell-command-on-region): Doc fix.
3272
3273 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
3274
3275 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
3276 (bug#14633).
3277
3278 2013-06-18 Glenn Morris <rgm@gnu.org>
3279
3280 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
3281
3282 * newcomment.el (comment-search-forward, comment-search-backward):
3283 Doc fix. (Bug#14376)
3284
3285 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
3286
3287 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
3288 (buffer-face-mode-invoke): Doc fix.
3289
3290 2013-06-18 Matthias Meulien <orontee@gmail.com>
3291
3292 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
3293 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
3294
3295 2013-06-18 Glenn Morris <rgm@gnu.org>
3296
3297 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
3298 Replace obsolete function generic-make-keywords with its expansion.
3299
3300 * progmodes/python.el (ffap-alist): Declare.
3301
3302 * textmodes/reftex.el (bibtex-mode-map): Declare.
3303
3304 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
3305
3306 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
3307 (package-unpack, package-unpack-single): Return the pkg-dir.
3308 (package-download-transaction): Use it to update package-alist.
3309
3310 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
3311
3312 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
3313 possible choice.
3314
3315 2013-06-17 Juri Linkov <juri@jurta.org>
3316
3317 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
3318
3319 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
3320
3321 * emacs-lisp/package.el (package-load-descriptor):
3322 Remove `with-syntax-table' call, `read' doesn't need it.
3323 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
3324
3325 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
3326
3327 * startup.el (command-line): Expand package name returned by
3328 `package--description-file' (bug#14639).
3329
3330 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
3331
3332 * emacs-lisp/package.el (package-load-descriptor): Do not call
3333 `emacs-lisp-mode', just use its syntax table.
3334
3335 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
3336
3337 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
3338 `font-lock-extra-managed-props' if any prettifying keyword is added.
3339 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
3340 (prog-mode): Use `setq-local'.
3341
3342 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
3343
3344 * international/characters.el (standard-case-table): Set syntax of ?»
3345 and ?« to punctuation.
3346
3347 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
3348
3349 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
3350 Save relevant match data before calling `syntax-ppss' (bug#14595).
3351
3352 2013-06-15 Juri Linkov <juri@jurta.org>
3353
3354 * files-x.el (modify-file-local-variable-prop-line): Add local
3355 variables to the end of the existing comment on the first line.
3356 Use `file-auto-mode-skip' to skip interpreter magic line,
3357 and also skip XML declaration.
3358
3359 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
3360
3361 * startup.el (package--builtin-versions): New var.
3362 (package-subdirectory-regexp): Remove.
3363 (package--description-file): Hard code its value instead.
3364
3365 * emacs-lisp/package.el: Don't activate packages older than builtin.
3366 (package-obsolete-list): Rename from package-obsolete-alist, and make
3367 it into a simple list of package-desc.
3368 (package-strip-version): Remove.
3369 (package-built-in-p): Use package--builtin-versions.
3370 (package-mark-obsolete): Simplify.
3371 (package-process-define-package): Mark it obsolete if older than the
3372 builtin version.
3373 (package-handle-response): Use line-end-position.
3374 (package-read-archive-contents, package--download-one-archive):
3375 Simplify.
3376 (package--add-to-archive-contents): Skip if older than the builtin or
3377 installed version.
3378 (package-menu-describe-package): Fix last change.
3379 (package-list-unversioned): New var.
3380 (package-menu--generate): Use it.
3381
3382 * emacs-lisp/autoload.el: Manage package--builtin-versions.
3383 (autoload--insert-text, autoload--insert-cookie-text): New functions.
3384 (autoload-builtin-package-versions): New variable.
3385 (autoload-generate-file-autoloads): Use them.
3386 Remove the list of autoloaded functions/macros from the
3387 (autoload...) comments.
3388
3389 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
3390
3391 2013-06-15 Eli Zaretskii <eliz@gnu.org>
3392
3393 * simple.el (line-move-partial): Don't jump to the next screen
3394 line as soon as it becomes visible. Instead, continue enlarging
3395 the vscroll until the portion of a tall screen line that's left on
3396 display is about the height of the frame's default font.
3397 (Bug#14567)
3398
3399 2013-06-15 Glenn Morris <rgm@gnu.org>
3400
3401 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
3402 compilation-error-regexp-alist void, or local while let-bound.
3403
3404 * progmodes/make-mode.el (makefile-mode-syntax-table):
3405 Treat "=" as punctuation. (Bug#14614)
3406
3407 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
3408
3409 * help-fns.el (describe-variable):
3410 Add extra line for permanent-local variables.
3411
3412 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
3413
3414 * progmodes/scheme.el (scheme-font-lock-keywords-2):
3415 Add export, import, library. (Bug#9164)
3416 (library): Set indent function.
3417
3418 2013-06-14 Glenn Morris <rgm@gnu.org>
3419
3420 * term/xterm.el (xterm--query):
3421 Stop after first matching handler. (Bug#14615)
3422
3423 2013-06-14 Ivan Kanis <ivan@kanis.fr>
3424
3425 Add support for dired in saveplace.
3426 * dired.el (dired-initial-position-hook): New variable.
3427 (dired-initial-position): Call hook to place cursor position.
3428 * saveplace.el (save-place-to-alist): Add dired position.
3429 (save-place-dired-hook): New function.
3430
3431 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
3432
3433 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
3434 through a symbol rather than letrec.
3435
3436 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
3437 (package-desc): Add `dir' field.
3438 (package-desc-full-name): New function.
3439 (package-load-descriptor): Combine the two arguments. Don't use `load'.
3440 (package-maybe-load-descriptor): Remove.
3441 (package-load-all-descriptors): Just call package-load-descriptor.
3442 (package--disabled-p): New function.
3443 (package-desc-vers, package-desc-doc): Remove aliases.
3444 (package--dir): Remove function.
3445 (package-activate): Check if a package is disabled.
3446 (package-process-define-package): New function, extracted from
3447 define-package.
3448 (define-package): Turn into a place holder.
3449 (package-unpack-single, package-tar-file-info):
3450 Use package--description-file.
3451 (package-compute-transaction): Use package--disabled-p.
3452 (package-download-transaction): Don't call
3453 package-maybe-load-descriptor since they're all loaded anyway.
3454 (package-install): Change argument to be a pkg-desc.
3455 (package-delete): Use a single pkg-desc argument.
3456 (describe-package-1): Use package-desc-dir instead of package--dir.
3457 Use package-desc property instead of package-symbol.
3458 (package-install-button-action): Adjust accordingly.
3459 (package--push): Rewrite.
3460 (package-menu--print-info): Adjust accordingly. Change the ID format
3461 to be a pkg-desc.
3462 (package-menu-describe-package, package-menu-get-status)
3463 (package-menu--find-upgrades, package-menu-mark-upgrades)
3464 (package-menu-execute, package-menu--name-predicate):
3465 Adjust accordingly.
3466 * startup.el (package--description-file): New function.
3467 (command-line): Use it.
3468 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3469 Use package-desc-version.
3470
3471 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
3472 (byte-compile-preprocess): Use it.
3473 (byte-compile-file-form-defalias): Try a bit harder to use macros we
3474 can't quite recognize.
3475 (byte-compile-add-to-list): Remove.
3476 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
3477 (cconv-closure-convert): Add assertion.
3478
3479 * emacs-lisp/map-ynp.el: Use lexical-binding.
3480 (map-y-or-n-p): Remove unused vars `tail' and `object'.
3481 Factor out some repeated code.
3482
3483 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
3484
3485 * subr.el (with-eval-after-load): New macro.
3486 (eval-after-load): Allow form to be a function.
3487 take advantage of lexical-binding.
3488 (do-after-load-evaluation): Use dolist and adjust to new format.
3489 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
3490
3491 2013-06-13 Juri Linkov <juri@jurta.org>
3492
3493 * replace.el (perform-replace): Display "symbol " and other search
3494 modes from `isearch-message-prefix' in the *Help* buffer.
3495
3496 * isearch.el (isearch-query-replace): Add " symbol" and other
3497 possible search modes from `isearch-message-prefix' to the prompt.
3498 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
3499 when reading a regexp to collect.
3500
3501 2013-06-13 Juri Linkov <juri@jurta.org>
3502
3503 * isearch.el (word-search-regexp): Match whitespace if the search
3504 string begins or ends in whitespace. The LAX arg is applied to
3505 both ends of the search string. Use `regexp-quote' and explicit
3506 \< and \> instead of \b. Use \` and \' instead of ^ and $.
3507 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
3508 boundaries are replaced with symbol boundaries, and characters
3509 between symbols match non-word non-symbol syntax. (Bug#14602)
3510
3511 2013-06-13 Juri Linkov <juri@jurta.org>
3512
3513 * isearch.el (isearch-del-char): Don't exceed the length of
3514 `isearch-string' by the prefix arg. (Bug#14563)
3515
3516 2013-06-13 Juri Linkov <juri@jurta.org>
3517
3518 * isearch.el (isearch-yank-word, isearch-yank-line)
3519 (isearch-char-by-name, isearch-quote-char)
3520 (isearch-printing-char, isearch-process-search-char):
3521 Add optional count prefix arg. (Bug#14563)
3522
3523 * international/isearch-x.el
3524 (isearch-process-search-multibyte-characters):
3525 Add optional count prefix arg.
3526
3527 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
3528
3529 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
3530 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
3531 lexical-binding.
3532
3533 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
3534
3535 * subr.el (set-temporary-overlay-map): Add on-exit argument.
3536
3537 2013-06-13 Glenn Morris <rgm@gnu.org>
3538
3539 * startup.el (tty-handle-args):
3540 Don't just discard "--" and anything after. (Bug#14608)
3541
3542 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
3543
3544 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
3545
3546 Implement changes in Secret Service API. Make it backward compatible.
3547 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
3548 (secrets-create-item): Use it. Prefix properties with interface.
3549
3550 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
3551
3552 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
3553 (term-emulate-terminal): Respect term-suppress-hard-newline.
3554
3555 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
3556
3557 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
3558 Only remove a `thumb-file' overlay. (Bug#14548)
3559
3560 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
3561
3562 * mail/reporter.el (reporter-submit-bug-report):
3563 Handle missing package-name. (Bug#14600)
3564
3565 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3566
3567 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
3568 (reftex-citation-prompt, reftex-default-bibliography)
3569 (reftex-bib-or-thebib, reftex-get-bibfile-list)
3570 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
3571 (reftex-bib-sort-author, reftex-bib-sort-year)
3572 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
3573 (reftex-extract-bib-entries-from-thebibliography)
3574 (reftex-get-bibkey-default, reftex-get-bib-names)
3575 (reftex-parse-bibtex-entry, reftex-get-bib-field)
3576 (reftex-format-bib-entry, reftex-parse-bibitem)
3577 (reftex-format-bibitem, reftex-do-citation)
3578 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
3579 (reftex-restrict-bib-matches, reftex-extract-bib-file)
3580 (reftex-insert-bib-matches, reftex-format-citation)
3581 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
3582 (reftex-create-bibtex-file): Add docstrings, mostly by converting
3583 existing comments into docstrings.
3584
3585 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
3586
3587 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
3588
3589 2013-06-12 Andreas Schwab <schwab@suse.de>
3590
3591 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
3592 for auto-save files.
3593
3594 2013-06-12 Glenn Morris <rgm@gnu.org>
3595
3596 * ido.el (ido-delete-ignored-files): Remove.
3597 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
3598 Go back to calling ido-ignore-item-p directly.
3599
3600 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
3601
3602 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
3603
3604 * ido.el (ido-delete-ignored-files): New function,
3605 split from ido-make-file-list-1.
3606 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
3607 (ido-make-file-list-1): Use ido-delete-ignored-files.
3608
3609 2013-06-12 Leo Liu <sdl.web@gmail.com>
3610
3611 * progmodes/octave.el (inferior-octave-startup)
3612 (inferior-octave-completion-table)
3613 (inferior-octave-track-window-width-change)
3614 (octave-eldoc-function-signatures, octave-help)
3615 (octave-find-definition): Use single quoted strings.
3616 (inferior-octave-startup-args): Change default value.
3617 (inferior-octave-startup): Do not hard code "-i" and
3618 "--no-line-editing".
3619 (inferior-octave-resync-dirs): Add optional arg NOERROR.
3620 (inferior-octave-directory-tracker): Use it.
3621 (octave-goto-function-definition): Robustify.
3622 (octave-help): Support highlighting operators in 'See also'.
3623 (octave-find-definition): Find subfunctions only in Octave mode.
3624
3625 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
3626
3627 * help-fns.el (help-fns--compiler-macro): If the handler function is
3628 named, then put a link to it.
3629 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
3630 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
3631 (cl-typep): Use it.
3632 (cl-eval-when): Simplify debug spec.
3633 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
3634 compiler-macro function instead of setting `compiler-macro-file'.
3635
3636 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
3637
3638 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
3639 * vc/vc-hooks.el (vc-stay-local): Doc fix.
3640
3641 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
3642 Daniel Hackney <dan@haxney.org>
3643
3644 First part of Daniel Hackney's patch to package.el.
3645 * emacs-lisp/package.el: Use defstruct.
3646 (package-desc): New, main struct.
3647 (package--bi-desc, package--ac-desc): New structs, used to describe the
3648 format in external files.
3649 (package-desc-vers): Replace with package-desc-version accessor.
3650 (package-desc-doc): Replace with package-desc-summary accessor.
3651 (package-activate-1): Remove `package' arg since the pkg-vec now
3652 includes the name.
3653 (define-package): Use package-desc-from-define.
3654 (package-unpack-single): Change file-name arg to be a symbol.
3655 (package--add-to-archive-contents): Use package-desc-create and new
3656 accessor functions to package--ac-desc.
3657 (package-buffer-info, package-tar-file-info): Return a package-desc.
3658 (package-install-from-buffer): Remove `type' argument. Change pkg-info
3659 arg to be a package-desc.
3660 (package-install-file): Adjust accordingly. Use \' to match EOS.
3661 (package--from-builtin): New function.
3662 (describe-package-1, package-menu--generate): Use it.
3663 (package--make-autoloads-and-compile): Change name arg to be a symbol.
3664 (package-generate-autoloads): Idem and return the name of the file.
3665 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3666 Change pkg-info arg to be a package-desc.
3667 Use package-make-ac-desc.
3668 (package-upload-file): Use \' to match EOS.
3669 * finder.el (finder-compile-keywords): Use package-make-builtin.
3670
3671 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3672
3673 * vc/vc.el (vc-deduce-fileset): Change error message.
3674 (vc-read-backend): New function.
3675 (vc-next-action): Use it.
3676
3677 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
3678
3679 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
3680 (prolog-font-lock-keywords): Use regexp-opt instead.
3681 Don't manually highlight strings.
3682 (prolog-mode-variables): Simplify comment-start-skip.
3683 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
3684
3685 * emacs-lisp/generic.el (generic--normalise-comments)
3686 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
3687 (generic-mode-set-comments): Use them.
3688 (generic-bracket-support): Use setq-local.
3689 (generic-make-keywords-list): Declare obsolete.
3690
3691 2013-06-11 Glenn Morris <rgm@gnu.org>
3692
3693 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3694 Prettify after setting font-lock-defaults. (Bug#14574)
3695
3696 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
3697
3698 * replace.el (query-replace, occur-read-regexp-defaults-function)
3699 (replace-search):
3700 * subr.el (declare-function, number-sequence, local-set-key)
3701 (substitute-key-definition, locate-user-emacs-file)
3702 (with-silent-modifications, split-string, eval-after-load):
3703 Fix typos, remove unneeded backslashes and reflow some docstrings.
3704
3705 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3706
3707 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
3708 default for Elisp files.
3709
3710 2013-06-11 Glenn Morris <rgm@gnu.org>
3711
3712 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
3713 although define-derived-mode was doing this anyway. (Bug#14583)
3714
3715 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
3716
3717 * allout.el (allout-encryption-plaintext-sanitization-regexps):
3718 Fix make-variable-buffer-local call to refer to the correct variable.
3719
3720 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
3721
3722 * eshell/em-term.el (eshell-visual-commands)
3723 (eshell-visual-subcommands, eshell-visual-options):
3724 Add summary line to docstrings. Add cross-references.
3725
3726 2013-06-10 Glenn Morris <rgm@gnu.org>
3727
3728 * epa.el (epa-read-file-name): New function. (Bug#14510)
3729 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
3730
3731 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
3732
3733 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
3734 output redirection to be ignored with visual commands.
3735
3736 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
3737
3738 * eshell/em-term.el (eshell-visual-command-p): New function.
3739 (eshell-term-initialize): Move long lambda to separate function
3740 eshell-visual-command-p.
3741 * eshell/em-dirs.el (eshell-dirs-initialise):
3742 * eshell/em-script.el (eshell-script-initialize):
3743 Add missing #' to lambda.
3744
3745 2013-06-08 Leo Liu <sdl.web@gmail.com>
3746
3747 * progmodes/octave.el (octave-add-log-current-defun): New function.
3748 (octave-mode): Set add-log-current-defun-function.
3749 (octave-goto-function-definition): Do not move point if not found.
3750 (octave-find-definition): Enhance to try subfunctions first.
3751
3752 2013-06-08 Glenn Morris <rgm@gnu.org>
3753
3754 * emacs-lisp/bytecomp.el (byte-compile-char-before)
3755 (byte-compile-backward-char, byte-compile-backward-word):
3756 Improve previous change, to handle non-explicit nil.
3757
3758 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
3759
3760 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
3761 (smie--opener/closer-at-point): New function.
3762 (smie--matching-block-data): Use it. Don't match from right after an
3763 opener or right before a closer. Obey smie-blink-matching-inners.
3764 Don't signal a mismatch for repeated inners like "switch..case..case".
3765
3766 2013-06-07 Leo Liu <sdl.web@gmail.com>
3767
3768 * progmodes/octave.el (octave-mode): Set comment-use-global-state
3769 to t. (Bug#14303)
3770 (octave-function-header-regexp): Fix. (Bug#14570)
3771 (octave-help-mode-finish-hook, octave-help-mode-finish):
3772 Remove. Just use temp-buffer-show-hook.
3773
3774 * newcomment.el (comment-search-backward): Revert last change.
3775 (Bug#14434)
3776
3777 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
3778
3779 2013-06-07 Eli Zaretskii <eliz@gnu.org>
3780
3781 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
3782 through xargs, to avoid failure due to MS-Windows limitations on
3783 command-line length.
3784
3785 2013-06-06 Glenn Morris <rgm@gnu.org>
3786
3787 * font-lock.el (lisp-font-lock-keywords-2):
3788 Treat user-error like error.
3789
3790 * emacs-lisp/bytecomp.el (byte-compile-char-before)
3791 (byte-compile-backward-char, byte-compile-backward-word):
3792 Handle explicit nil arguments. (Bug#14565)
3793
3794 2013-06-05 Alan Mackenzie <acm@muc.de>
3795
3796 * isearch.el (isearch-allow-prefix): New user option.
3797 (isearch-other-meta-char): Don't exit isearch when a prefix
3798 argument is typed whilst `isearch-allow-prefix' is non-nil.
3799 (Bug#9706)
3800
3801 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
3802
3803 * autorevert.el (auto-revert-notify-handler): Use memq.
3804 Hide assertion failure.
3805
3806 * skeleton.el: Use cl-lib.
3807 (skeleton-further-elements): Use defvar-local.
3808 (skeleton-insert): Use cl-progv.
3809
3810 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
3811
3812 * progmodes/prog-mode.el (prog-prettify-symbols)
3813 (prog-prettify-install): Update docstrings.
3814
3815 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
3816
3817 * simple.el: Move all the prog-mode code to prog-mode.el.
3818 * progmodes/prog-mode.el: New file.
3819 * loadup.el: Add prog-mode.el.
3820
3821 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
3822
3823 * simple.el (prog-prettify-symbols): Add version.
3824 (prog-prettify-install): Add convenience function to prettify symbols.
3825
3826 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
3827 (perl--augmented-font-lock-keywords-1)
3828 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
3829 variables and use it.
3830
3831 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
3832 (cfengine3-mode): Remove unneeded variable and use it.
3833
3834 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
3835 (lisp--augmented-font-lock-keywords-1)
3836 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
3837 Remove unneeded variables and use it.
3838
3839 2013-06-05 João Távora <joaotavora@gmail.com>
3840
3841 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
3842 to point when opening the connection. (Bug#14380)
3843
3844 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
3845
3846 * subr.el (load-history-regexp, load-history-filename-element)
3847 (eval-after-load, after-load-functions, do-after-load-evaluation)
3848 (eval-next-after-load, display-delayed-warnings)
3849 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
3850 definition of save-match-data.
3851 (overriding-local-map): Remove accidental obsolescence declaration.
3852
3853 * emacs-lisp/edebug.el (edebug-result): Move before first use.
3854
3855 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
3856
3857 Generalize symbol prettify support to prog-mode and implement it
3858 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
3859 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
3860 (prog--prettify-font-lock-compose-symbol)
3861 (prog-prettify-font-lock-symbols-keywords): New variables and
3862 functions to support symbol prettification.
3863 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
3864 (lisp--augmented-font-lock-keywords-1)
3865 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
3866 (lisp--prettify-symbols-alist): Implement prettify of lambda.
3867 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
3868 (cfengine3--prettify-symbols-alist, cfengine3-mode):
3869 Implement prettify of -> => :: strings.
3870 * progmodes/perl-mode.el (perl-prettify-symbols)
3871 (perl--font-lock-compose-symbol)
3872 (perl--font-lock-symbols-keywords): Move to prog-mode.
3873 (perl--prettify-symbols-alist): Prettify -> => :: strings.
3874 (perl-font-lock-keywords-1)
3875 (perl-font-lock-keywords-2): Remove explicit prettify support.
3876 (perl--augmented-font-lock-keywords)
3877 (perl--augmented-font-lock-keywords-1)
3878 (perl--augmented-font-lock-keywords-2, perl-mode):
3879 Implement prettify support.
3880
3881 2013-06-05 Leo Liu <sdl.web@gmail.com>
3882
3883 Re-implement smie matching block highlight using
3884 show-paren-data-function. (Bug#14395)
3885 * emacs-lisp/smie.el (smie-matching-block-highlight)
3886 (smie--highlight-matching-block-overlay)
3887 (smie--highlight-matching-block-lastpos)
3888 (smie-highlight-matching-block)
3889 (smie-highlight-matching-block-mode): Remove.
3890 (smie--matching-block-data-cache): New variable.
3891 (smie--matching-block-data): New function.
3892 (smie-setup): Use smie--matching-block-data for
3893 show-paren-data-function.
3894
3895 * progmodes/octave.el (octave-mode-menu): Fix.
3896 (octave-find-definition): Skip garbage lines.
3897
3898 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
3899
3900 Fix compilation error with simultaneous dynamic+lexical scoping.
3901 Add warning when a defvar appears after the first let-binding.
3902 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
3903 (byte-compile-close-variables): Initialize it.
3904 (byte-compile--declare-var): New function.
3905 (byte-compile-file-form-defvar)
3906 (byte-compile-file-form-define-abbrev-table)
3907 (byte-compile-file-form-custom-declare-variable): Use it.
3908 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
3909 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
3910 (byte-compile-bind): Handle dynamic bindings that shadow
3911 lexical bindings.
3912 (byte-compile-unbind): Make arg non-optional.
3913 (byte-compile-let): Simplify.
3914 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
3915 (cconv--analyse-function, cconv-analyse-form): Populate it.
3916 Protect byte-compile-bound-variables to limit the scope of defvars.
3917 (cconv-analyse-form): Add missing rule for (defvar <foo>).
3918 Remove unneeded rule for `declare'.
3919
3920 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
3921 so as to avoid depending on cl-adjoin at run-time.
3922 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
3923
3924 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
3925 (macroexp--warn-and-return): Use it.
3926
3927 2013-06-05 Leo Liu <sdl.web@gmail.com>
3928
3929 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
3930
3931 2013-06-04 Leo Liu <sdl.web@gmail.com>
3932
3933 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
3934 (compilation-auto-jump): Suppress the "Mark set" message to give
3935 way to exit message.
3936
3937 2013-06-04 Alan Mackenzie <acm@muc.de>
3938
3939 Remove faulty optimisation from indentation calculation.
3940 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
3941 search limit based on 2000 characters back from indent-point.
3942
3943 2013-06-03 Tassilo Horn <tsdh@gnu.org>
3944
3945 * eshell/em-term.el (cl-lib): Require `cl-lib'.
3946
3947 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
3948
3949 * emacs-lisp/lisp.el: Use lexical-binding.
3950 (lisp--local-variables-1, lisp--local-variables): New functions.
3951 (lisp--local-variables-completion-table): New var.
3952 (lisp-completion-at-point): Use it complete let-bound vars.
3953
3954 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
3955 eagerly (bug#14422).
3956
3957 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
3958
3959 * autorevert.el (auto-revert-notify-enabled)
3960 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
3961 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
3962 (auto-revert-notify-handler): Handle also gfilenotify.
3963
3964 * subr.el (file-notify-handle-event): New defun. Replacing ...
3965 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
3966 Remove.
3967
3968 2013-06-03 Juri Linkov <juri@jurta.org>
3969
3970 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
3971 `M-s h .'. (Bug#14427)
3972
3973 * hi-lock.el (highlight-symbol-at-point): New alias for the new
3974 command `hi-lock-face-symbol-at-point'.
3975 (hi-lock-face-symbol-at-point): New command.
3976 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
3977 (hi-lock-menu): Add `highlight-symbol-at-point'.
3978 (hi-lock-mode): Doc fix.
3979
3980 * isearch.el (isearch-forward-symbol-at-point): New command.
3981 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
3982 (isearch-highlight-regexp): Add a regexp which matches
3983 words/symbols for word/symbol mode.
3984
3985 * subr.el (find-tag-default-bounds): New function with the body
3986 mostly moved from `find-tag-default'.
3987 (find-tag-default): Move most code to `find-tag-default-bounds',
3988 call it and apply `buffer-substring-no-properties' afterwards.
3989
3990 2013-06-03 Tassilo Horn <tsdh@gnu.org>
3991
3992 * eshell/em-term.el (eshell-term-initialize):
3993 Use `cl-intersection' rather than `intersection'.
3994
3995 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
3996
3997 * vc/log-view.el: Doc fix.
3998 (log-view-mode-map): Copy keymap from `special-mode-map'.
3999
4000 2013-06-02 Eric Ludlam <zappo@gnu.org>
4001
4002 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
4003 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
4004 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
4005 (eieio-unbound, eieio-default-superclass)
4006 (eieio--define-field-accessors, method-static, method-before)
4007 (method-primary, method-after, method-num-lists)
4008 (method-generic-before, method-generic-primary)
4009 (method-generic-after, method-num-slots)
4010 (eieio-specialized-key-to-generic-key)
4011 (eieio--check-type, class-v, class-p)
4012 (eieio-class-name, define-obsolete-function-alias)
4013 (eieio-class-parents-fast, eieio-class-children-fast)
4014 (same-class-fast-p, class-constructor, generic-p)
4015 (generic-primary-only-p, generic-primary-only-one-p)
4016 (class-option-assoc, class-option, eieio-object-p)
4017 (class-abstract-p, class-method-invocation-order)
4018 (eieio-defclass-autoload-map, eieio-defclass-autoload)
4019 (eieio-class-un-autoload, eieio-defclass)
4020 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
4021 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
4022 (eieio--defgeneric-init-form, eieio-defgeneric-form)
4023 (eieio-defgeneric-reset-generic-form)
4024 (eieio-defgeneric-form-primary-only)
4025 (eieio-defgeneric-reset-generic-form-primary-only)
4026 (eieio-defgeneric-form-primary-only-one)
4027 (eieio-defgeneric-reset-generic-form-primary-only-one)
4028 (eieio-unbind-method-implementations)
4029 (eieio--defmethod, eieio--typep)
4030 (eieio-perform-slot-validation, eieio-validate-slot-value)
4031 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
4032 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
4033 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
4034 (eieio-slot-name-index, eieio-class-slot-name-index)
4035 (eieio-set-defaults, eieio-initarg-to-attribute)
4036 (eieio-attribute-to-initarg, eieio-c3-candidate)
4037 (eieio-c3-merge-lists, eieio-class-precedence-c3)
4038 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
4039 (eieio-class-precedence-list, eieio-generic-call-methodname)
4040 (eieio-generic-call-arglst, eieio-generic-call-key)
4041 (eieio-generic-call-next-method-list)
4042 (eieio-pre-method-execution-functions, eieio-generic-call)
4043 (eieio-generic-call-primary-only, eieiomt-method-list)
4044 (eieiomt-optimizing-obarray, eieiomt-install)
4045 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
4046 (eieio-generic-form, eieio-defmethod, make-obsolete)
4047 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
4048 (defclass): Remove `eval-and-compile' from macro.
4049 (call-next-method, shared-initialize): Instead of using
4050 `scoped-class' variable, use new eieio--scoped-class, and
4051 eieio--with-scoped-class.
4052 (initialize-instance): Rename local variable 'scoped-class' to
4053 'this-class' to remove ambiguitity from old global.
4054
4055 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
4056 eieio.el.
4057 (eieio--scoped-class-stack): New variable.
4058 (eieio--scoped-class): New fcn.
4059 (eieio--with-scoped-class): New scoping macro.
4060 (eieio-defclass): Use pushnew instead of add-to-list.
4061 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
4062 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
4063 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
4064 `scoped-class' variable, use new eieio--scoped-class, and
4065 eieio--with-scoped-class.
4066
4067 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
4068
4069 2013-06-02 Tassilo Horn <tsdh@gnu.org>
4070
4071 * eshell/esh-ext.el (eshell-external-command): Pass args to
4072 `eshell-find-interpreter'.
4073 (eshell-find-interpreter): Add new second parameter ARGS.
4074
4075 * eshell/em-script.el (eshell-script-initialize): Add second arg
4076 to the function added as MATCH to `eshell-interpreter-alist'.
4077
4078 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
4079 the function added as MATCH to `eshell-interpreter-alist'.
4080
4081 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
4082 (eshell-visual-options): New defcustom.
4083 (eshell-escape-control-x): Adapt docstring.
4084 (eshell-term-initialize): Test `eshell-visual-subcommands' and
4085 `eshell-visual-options' in addition to `eshell-visual-commands'.
4086 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
4087
4088 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
4089
4090 * progmodes/python.el (python-indent-block-enders): Add break,
4091 continue and raise keywords.
4092
4093 2013-06-01 Glenn Morris <rgm@gnu.org>
4094
4095 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
4096
4097 Plain (f)boundp silences compilation warnings since Emacs 22.1.
4098 * progmodes/cc-cmds.el (delete-forward-p):
4099 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
4100 * progmodes/cc-engine.el (buffer-syntactic-context):
4101 * progmodes/cc-fonts.el (face-property-instance):
4102 * progmodes/cc-mode.el (set-keymap-parents):
4103 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
4104 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
4105 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
4106 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
4107 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
4108
4109 * progmodes/cc-vars.el (other): Emacs has this widget since
4110 at least 21.1, so don't (re)define it.
4111
4112 * eshell/em-cmpl.el (eshell-cmpl-initialize):
4113 Replace the obsolete alias pcomplete-arg-quote-list.
4114
4115 2013-06-01 Leo Liu <sdl.web@gmail.com>
4116
4117 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
4118 punctuation syntax.
4119 (inferior-octave-minimal-columns)
4120 (inferior-octave-last-column-width): New variables.
4121 (inferior-octave-track-window-width-change): New function.
4122 (inferior-octave-mode): Adjust column width so that Octave output,
4123 for example from 'ls', can fit into the window nicely.
4124
4125 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
4126
4127 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
4128 Highlight expansions inside regexp literals.
4129
4130 2013-05-31 Glenn Morris <rgm@gnu.org>
4131
4132 * obsolete/sym-comp.el (symbol-complete):
4133 Replace obsolete completion-annotate-function.
4134
4135 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
4136
4137 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
4138
4139 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
4140 New function, checks if point is inside a literal that allows
4141 expression expansion.
4142 (ruby-syntax-propertize-expansion): Use it.
4143 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
4144 around the body.
4145
4146 2013-05-30 Juri Linkov <juri@jurta.org>
4147
4148 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
4149 to "\M-si".
4150 (isearch-invisible): New variable.
4151 (isearch-forward): Doc fix.
4152 (isearch-mode): Set `isearch-invisible'
4153 to the value of `search-invisible'.
4154 (isearch-toggle-case-fold): Doc fix.
4155 (isearch-toggle-invisible): New command.
4156 (isearch-query-replace): Let-bind `search-invisible'
4157 to the value of `isearch-invisible'.
4158 (isearch-search): Use `isearch-invisible' instead of
4159 `search-invisible'. Let-bind `search-invisible'
4160 to the value of `isearch-invisible'. (Bug#11378)
4161
4162 2013-05-30 Juri Linkov <juri@jurta.org>
4163
4164 * replace.el (perform-replace): Avoid `isearch-range-invisible'
4165 call when `query-flag' is nil and `search-invisible' is non-nil.
4166 (Bug#11746)
4167
4168 2013-05-30 Glenn Morris <rgm@gnu.org>
4169
4170 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
4171
4172 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
4173 (cc-require): Suppress spurious "noruntime" warnings.
4174 (cc-require-when-compile): Use fboundp, for sake of compiler.
4175
4176 * progmodes/cc-mode.el: Move load of cc-vars before that of
4177 cc-langs (which in turn loads cc-vars), to quieten compiler.
4178
4179 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
4180
4181 * paren.el: Simplify the code.
4182 (show-paren-mode): Always start the timer.
4183 (show-paren--idle-timer): Rename from show-paren-idle-timer.
4184 (show-paren--overlay, show-paren--overlay-1): Rename from
4185 show-paren-overlay and show-paren-overlay-1, and initialize to an
4186 overlay rather than to nil.
4187 (show-paren-function): Misc cleanup and simplifications.
4188
4189 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
4190
4191 * paren.el (show-paren-data-function): New hook.
4192 (show-paren--default): New function, extracted from show-paren-function.
4193 (show-paren-function): Use show-paren-data-function.
4194
4195 2013-05-30 Glenn Morris <rgm@gnu.org>
4196
4197 * ielm.el (ielm-map, ielm-complete-symbol):
4198 Use completion-at-point rather than obsolete functions.
4199 (inferior-emacs-lisp-mode): Doc fix.
4200 Set completion-at-point-functions, rather than
4201 comint-dynamic-complete-functions.
4202
4203 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
4204 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
4205 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
4206
4207 * image.el (image-animated-p): Tweak definition.
4208
4209 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
4210 (rlogin-process-connection-type): Tweak default. Add set-after.
4211 (rlogin-host): Doc fix.
4212 (rlogin): Tweak prompt.
4213 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
4214
4215 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
4216 * progmodes/tcl.el (inferior-tcl-mode-map):
4217 Use completion-at-point rather than obsolete alias.
4218
4219 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
4220
4221 * minibuffer.el (read-file-name-completion-ignore-case):
4222 Move before completion--in-region, for eager macro expansion.
4223
4224 2013-05-29 Juri Linkov <juri@jurta.org>
4225
4226 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
4227 for total count of matching lines. Add `global-matches' for total
4228 count of matches. Rename `matches' to `lines' for count of
4229 matching lines. Add `matches' for count of matches.
4230 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
4231 to `prev-line' for line number of prev match endpt.
4232 Increment `matches' for every match. Print the number of
4233 matching lines in the header.
4234 (occur-context-lines): Rename `lines' to `curr-line'.
4235 Rename `prev-lines' to `prev-line'. (Bug#14017)
4236
4237 2013-05-29 Juri Linkov <juri@jurta.org>
4238
4239 * replace.el (perform-replace): Add `skip-read-only-count',
4240 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
4241 Increment them for corresponding conditions and report the number
4242 of skipped occurrences in the final message. (Bug#11746)
4243 (query-replace, query-replace-regexp, query-replace-regexp-eval)
4244 (replace-string, replace-regexp): Doc fix.
4245
4246 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
4247
4248 * emacs-lisp/trace.el (trace--read-args): Provide a default.
4249
4250 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
4251 prog-mode-map (bug#14504).
4252
4253 2013-05-29 Leo Liu <sdl.web@gmail.com>
4254
4255 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
4256 (octave-help): Small simplification.
4257
4258 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
4259 off the highlight first.
4260
4261 2013-05-29 Glenn Morris <rgm@gnu.org>
4262
4263 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
4264 Handle idlwave-last-system-routine-info-cons-cell being nil.
4265
4266 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
4267 (idlwave-write-paths): Simplify via with-temp-buffer.
4268
4269 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
4270 * emulation/cua-rect.el: Also load cua-base at run time.
4271
4272 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
4273 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
4274 (cperl-imenu-on-info): Require imenu.
4275
4276 2013-05-28 Alan Mackenzie <acm@muc.de>
4277
4278 Handle "capitalised keywords" correctly.
4279 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
4280
4281 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
4282
4283 * eshell/em-unix.el: Add -r option to cp.
4284
4285 2013-05-28 Glenn Morris <rgm@gnu.org>
4286
4287 * vc/vc-arch.el (vc-exec-after): Declare.
4288 (vc-switches): Autoload.
4289 * vc/vc-bzr.el: No need to require vc when compiling.
4290 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
4291 (vc-resynch-buffer, vc-dir-refresh): Declare.
4292 (vc-setup-buffer, vc-switches): Autoload.
4293 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
4294 (vc-resynch-buffer): Declare.
4295 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
4296 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
4297 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
4298 (grep-read-regexp, grep-read-files, grep-expand-template)
4299 (vc-dir-refresh): Declare.
4300 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
4301 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
4302 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
4303 * vc/vc-mtn.el (vc-exec-after): Declare.
4304 (vc-switches): Autoload.
4305 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
4306 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
4307 (vc-file-tree-walk): Declare.
4308 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
4309 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
4310 (vc-tag-precondition, vc-rename-master): Autoload.
4311 * vc/vc-svn.el (vc-exec-after): Declare.
4312 (vc-switches, vc-setup-buffer): Autoload.
4313 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
4314 Autoload.
4315 (vc-resynch-buffer): Declare.
4316
4317 * obsolete/fast-lock.el (byte-compile-warnings):
4318 Don't warn about obsolete features in this obsolete file.
4319
4320 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
4321 Move definition before use.
4322
4323 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
4324 (dun-unix-verbs): Remove dun-zippy.
4325 (dun-zippy): Remove function.
4326
4327 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
4328
4329 2013-05-27 Juri Linkov <juri@jurta.org>
4330
4331 * replace.el (replace-search): New function with code moved out
4332 from `perform-replace'.
4333 (replace-highlight, replace-dehighlight): Move function definitions
4334 up closer to `replace-search'. (Bug#11746)
4335
4336 2013-05-27 Juri Linkov <juri@jurta.org>
4337
4338 * replace.el (perform-replace): Ignore invisible matches.
4339 In addition to checking `query-replace-skip-read-only', also
4340 filter out matches by calling `run-hook-with-args-until-failure'
4341 on `isearch-filter-predicates', and also check `search-invisible'
4342 for t or call `isearch-range-invisible'.
4343 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
4344
4345 2013-05-27 Juri Linkov <juri@jurta.org>
4346
4347 * isearch.el (isearch-filter-predicates): Rename from
4348 `isearch-filter-predicate'. Doc fix. (Bug#11378)
4349 (isearch-message-prefix): Display text from the property
4350 `isearch-message-prefix' of the currently active filters.
4351 (isearch-search): Don't compare `isearch-filter-predicate' with
4352 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
4353 on `isearch-filter-predicates'. Also check `search-invisible' for t
4354 or call `isearch-range-invisible'.
4355 (isearch-filter-visible): Make obsolete.
4356 (isearch-lazy-highlight-search):
4357 Call `run-hook-with-args-until-failure' on
4358 `isearch-filter-predicates' and use `isearch-range-invisible'.
4359
4360 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
4361 `isearch-filter-predicates' instead of `funcall'ing
4362 `isearch-filter-predicate'.
4363 (Info-mode): Set `Info-isearch-filter' to
4364 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
4365
4366 * dired-aux.el (dired-isearch-filter-predicate-orig):
4367 Remove variable.
4368 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
4369 (dired-isearch-filenames-end): Add and remove
4370 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
4371 instead of changing the value of `isearch-filter-predicate'.
4372 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
4373 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
4374 Put property `isearch-message-prefix' to "filename " on
4375 `dired-isearch-filter-filenames'.
4376
4377 * wdired.el (wdired-change-to-wdired-mode):
4378 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
4379 locally instead of changing `isearch-filter-predicate'.
4380 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
4381
4382 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
4383
4384 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
4385 return the commit hash (Bug#14459). Also set the
4386 `vc-git-detached' property.
4387 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
4388 (vc-git-mode-line-string): Use the same help-echo format whether
4389 in detached mode or not, because we know the actual revision now.
4390 When in detached mode, shorten the revision to 7 chars.
4391
4392 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
4393
4394 * emacs-lisp/easy-mmode.el (define-minor-mode):
4395 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
4396 mode hook and provide a docstring.
4397
4398 2013-05-27 Alan Mackenzie <acm@muc.de>
4399
4400 Remove spurious syntax-table text properties inserted by C-y.
4401 * progmodes/cc-mode.el (c-after-change): Also clear hard
4402 syntax-table property with value nil.
4403
4404 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
4405
4406 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
4407 when reading the events; the buffer layout shall not be changed.
4408
4409 2013-05-27 Leo Liu <sdl.web@gmail.com>
4410
4411 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
4412 New variable.
4413 (inferior-octave-directory-tracker): Automatically re-sync
4414 default-directory.
4415 (octave-help): Improve handling of 'See also'.
4416
4417 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
4418
4419 * doc-view.el: Minor naming convention tweaks.
4420 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
4421
4422 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
4423 even if there's no `display' property yet (bug#14435).
4424
4425 2013-05-25 Eli Zaretskii <eliz@gnu.org>
4426
4427 * subr.el (unmsys--file-name): Rename from reveal-filename.
4428
4429 * Makefile.in (custom-deps, finder-data, autoloads)
4430 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
4431 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
4432 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
4433
4434 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
4435
4436 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
4437 error-completion on the first 2 args of condition-case (bug#14446).
4438 Don't burp at EOB.
4439
4440 2013-05-25 Leo Liu <sdl.web@gmail.com>
4441
4442 * comint.el (comint-previous-matching-input): Do not flood the
4443 *Messages* buffer with trivial messages.
4444
4445 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
4446
4447 * progmodes/flymake.el (flymake-nop): Don't return a string.
4448 (flymake-set-at): Fix typo.
4449
4450 * simple.el (read--expression): New function, extracted from
4451 eval-expression. Set completion-at-point-functions (bug#14465).
4452 (eval-expression, eval-minibuffer): Use it.
4453
4454 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
4455
4456 * progmodes/flymake.el (flymake-save-buffer-in-file)
4457 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
4458 (flymake-selected-frame, flymake-log, flymake-ins-after)
4459 (flymake-set-at, flymake-get-buildfile-from-cache)
4460 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
4461 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
4462 Refine the doc string.
4463 (flymake-get-file-name-mode-and-masks): Reformat.
4464 (flymake-get-real-file-name-function): Fix a minor bug.
4465
4466 2013-05-24 Juri Linkov <juri@jurta.org>
4467
4468 * progmodes/grep.el (grep-mode-font-lock-keywords):
4469 Support =linenumber= format used by git-grep for lines with
4470 function names. (Bug#13549)
4471
4472 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
4473
4474 * progmodes/octave.el (octave-smie-rules): Return nil rather than
4475 0 after a semi-colon; it works better for smie-auto-fill.
4476 (octave--indent-new-comment-line): New function.
4477 (octave-indent-new-comment-line): Use it (indirectly).
4478 (octave-mode): Don't disable smie-auto-fill. Use add-function to
4479 modify comment-line-break-function.
4480
4481 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
4482 (smie-setup): Use add-function to set it.
4483
4484 2013-05-24 Sam Steingold <sds@gnu.org>
4485
4486 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
4487 argument (before the `interactive' argument).
4488
4489 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
4490
4491 * image-mode.el (image-mode-winprops): Add winprops to
4492 image-mode-winprops-alist before running
4493 image-mode-new-window-functions.
4494 * doc-view.el (doc-view-new-window-function): Don't delay
4495 doc-view-goto-page via timers (bug#14435).
4496
4497 2013-05-24 Tassilo Horn <tsdh@gnu.org>
4498
4499 * doc-view.el: Integrate with desktop.el. (Bug#14435)
4500 (doc-view-desktop-save-buffer): New function.
4501 (doc-view-restore-desktop-buffer): New function.
4502 (desktop-buffer-mode-handlers):
4503 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
4504 handler.
4505 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
4506 `desktop-save-buffer' function.
4507
4508 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
4509
4510 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
4511 (tramp-gvfs-file-name-handler): Raise a user error when
4512 `tramp-gvfs-enabled' is nil.
4513 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
4514 Do not raise a user error when loading package. (Bug#14447)
4515
4516 * net/xesam.el: Move to obsolete/.
4517
4518 2013-05-24 Glenn Morris <rgm@gnu.org>
4519
4520 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
4521
4522 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
4523
4524 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
4525 (Info-find-node, Man-getpage-in-background): Declare.
4526
4527 * mail/unrmail.el (unrmail):
4528 Replace obsolete detect-coding-with-priority.
4529
4530 * net/socks.el (socks-split-string): Use this rather than split-string.
4531 (socks-nslookup-host): Update for above change.
4532 (dynamic-choice, s5-dynamic-choice-match)
4533 (s5-dynamic-choice-match-inline, s5-widget-value-create):
4534 Comment out unused code.
4535
4536 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
4537 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
4538 (gud-tooltip-echo-area): Make obsolete.
4539 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
4540
4541 * progmodes/js.el (js--optimize-arglist): Declare.
4542
4543 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
4544
4545 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
4546 (ediff-window-C): Declare.
4547
4548 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
4549 Tweak requires to silence compiler.
4550
4551 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
4552 (he-search-string, he-tried-table, he-expand-list)
4553 (he-init-string, he-string-member, he-substitute-string)
4554 (he-reset-string): Declare.
4555
4556 * obsolete/options.el (list-options): Use custom-variable-p,
4557 rather than obsolete alias.
4558
4559 2013-05-23 Sam Steingold <sds@gnu.org>
4560
4561 * simple.el (shell-command-on-region): Pass the `replace' argument
4562 down to `call-process-region' to comply with the doc as reported on
4563 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
4564
4565 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
4566
4567 * emacs-lisp/smie.el (smie-indent-forward-token)
4568 (smie-indent-backward-token): Handle string tokens (bug#14381).
4569
4570 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4571
4572 * ielm.el (ielm-menu): New menu.
4573 (inferior-emacs-lisp-mode): Set comment-start.
4574
4575 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4576
4577 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
4578 Fix deactivate action.
4579
4580 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
4581 Add cleveref macros.
4582
4583 * lisp/textmodes/reftex-parse.el
4584 (reftex-locate-bibliography-files): Accept options for
4585 bibliography commands.
4586 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
4587 Add addbibresource. Basic Biblatex support.
4588
4589 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
4590
4591 * net/tramp-gvfs.el (top):
4592 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
4593 when loading package. (Bug#14447)
4594
4595 2013-05-23 Glenn Morris <rgm@gnu.org>
4596
4597 * progmodes/js.el: No need to load comint when compiling.
4598 (ring-insert, comint-send-string, comint-send-input)
4599 (comint-last-input-end, ido-chop): Declare.
4600
4601 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
4602 * vc/ediff-mult.el: Adjust requires.
4603 (ediff-directories-internal, ediff-directory-revisions-internal)
4604 (ediff-patch-file-internal): Declare.
4605 * vc/ediff-ptch.el: Adjust requires.
4606 (ediff-use-last-dir, ediff-buffers-internal): Declare.
4607 (ediff-find-file): Autoload.
4608 * vc/ediff-util.el: No need to load ediff when compiling.
4609 (ediff-regions-internal): Declare.
4610 * vc/ediff-wind.el: Adjust requires.
4611 (ediff-compute-toolbar-width): Define when compiling.
4612 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
4613 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
4614 (dired-get-filename, dired-get-marked-files)
4615 (ediff-last-dir-patch, ediff-patch-default-directory)
4616 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
4617 (ediff-patch-buffer-internal): Declare.
4618
4619 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
4620 (ispell-process, ispell-buffer-local-words, lm-summary)
4621 (lm-section-start, lm-section-end): Declare.
4622 (checkdoc-ispell-init): Simplify.
4623
4624 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
4625 (he-string-member, he-reset-string, he-substitute-string): Declare.
4626
4627 * eshell/em-ls.el: Adjust requires.
4628 (eshell-glob-regexp): Declare.
4629 * eshell/em-tramp.el: Adjust requires.
4630 (eshell-parse-command): Autoload.
4631 * eshell/em-xtra.el: Adjust requires.
4632 (eshell-parse-command): Autoload.
4633 * eshell/esh-ext.el: Adjust requires.
4634 (eshell-parse-command, eshell-close-handles): Autoload.
4635 * eshell/esh-io.el: Adjust requires.
4636 (eshell-output-filter): Autoload.
4637 * eshell/esh-util.el: No need to load tramp when compiling.
4638 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
4639 Declare.
4640 (eshell-parse-ange-ls): Require ange-ftp and tramp.
4641 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4642 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
4643 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
4644 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
4645 * eshell/esh-opt.el, eshell/esh-proc.el:
4646 * eshell/esh-var.el: Adjust requires.
4647 * eshell/eshell.el: Do not require esh-util twice.
4648 (eshell-add-input-to-history): Declare.
4649 (eshell-command): Check history module is active before using it.
4650
4651 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
4652
4653 2013-05-22 Leo Liu <sdl.web@gmail.com>
4654
4655 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
4656
4657 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
4658
4659 * autorevert.el (auto-revert-notify-add-watch)
4660 (auto-revert-notify-handler): Add `attrib' for the inotify case,
4661 it indicates changes in file modification time.
4662
4663 2013-05-22 Glenn Morris <rgm@gnu.org>
4664
4665 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
4666 Always delete the autoloaded function from the noruntime and
4667 unresolved functions lists.
4668
4669 * allout.el: No need to load epa, epg, overlay when compiling.
4670 (epg-context-set-passphrase-callback, epg-list-keys)
4671 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
4672 (epg-key-user-id-list): Declare.
4673
4674 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
4675 (viper-set-parsing-style-toggling-macro)
4676 (viper-set-emacs-state-searchstyle-macros):
4677 Use called-interactively-p on Emacs.
4678 (viper-looking-back): Make it an obsolete alias. Update callers.
4679 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
4680 Use looking-back rather than viper-looking-back.
4681 (viper-tmp-insert-at-eob, viper-enlarge-region)
4682 (viper-read-string-with-history, viper-register-to-point)
4683 (viper-append-to-register, viper-change-state-to-vi)
4684 (viper-backward-char-carefully, viper-forward-char-carefully)
4685 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
4686 (viper-change-state-to-emacs): Declare.
4687 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
4688 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
4689 * emulation/viper-mous.el: Do not load viper-cmd.
4690 (viper-backward-char-carefully, viper-forward-char-carefully)
4691 (viper-forward-word, viper-adjust-window): Declare.
4692
4693 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
4694
4695 * progmodes/idlw-help.el (idlwave-help-fontify):
4696 Use called-interactively-p.
4697
4698 * term/w32console.el (w32-get-console-codepage)
4699 (w32-get-console-output-codepage): Declare.
4700
4701 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
4702 Remove unnecessary declarations.
4703 (dframe-message): Doc fix.
4704
4705 * info.el (dframe-select-attached-frame, dframe-current-frame):
4706 Declare.
4707
4708 * speedbar.el (speedbar-message): Make it an obsolete alias.
4709 Update all callers.
4710 (speedbar-with-attached-buffer)
4711 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
4712 (speedbar-with-writable): Use backquote.
4713 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
4714 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
4715 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
4716 rather than speedbar- aliases.
4717 * mail/rmail.el: Load dframe rather than speedbar when compiling.
4718 (speedbar-make-specialized-keymap, speedbar-insert-button)
4719 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
4720 (speedbar-do-function-pointer): Declare.
4721 (rmail-speedbar-button, rmail-speedbar-find-file)
4722 (rmail-speedbar-move-message):
4723 Use dframe-with-attached-buffer rather than speedbar- alias.
4724 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
4725 (dframe-message, speedbar-make-specialized-keymap)
4726 (speedbar-add-expansion-list, speedbar-mode-functions-list)
4727 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
4728 (speedbar-insert-button, dframe-select-attached-frame)
4729 (dframe-maybee-jump-to-attached-frame)
4730 (speedbar-change-initial-expansion-list)
4731 (speedbar-previously-used-expansion-list-name): Declare.
4732 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
4733 Use dframe-message, dframe-with-attached-buffer rather than
4734 speedbar- aliases.
4735 (gud-sentinel): Silence compiler.
4736 * progmodes/vhdl-mode.el (speedbar-refresh)
4737 (speedbar-do-function-pointer, speedbar-add-supported-extension)
4738 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
4739 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
4740 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
4741 (speedbar-file-lists, speedbar-make-tag-line)
4742 (speedbar-line-directory, speedbar-goto-this-file)
4743 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
4744 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
4745 (speedbar-make-button, speedbar-reset-scanners)
4746 (speedbar-files-item-info, speedbar-line-text)
4747 (speedbar-find-file-in-frame, speedbar-set-timer)
4748 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
4749 (speedbar-with-writable): Do not (re)define it.
4750 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
4751 rather than speedbar- alias.
4752
4753 2013-05-21 Leo Liu <sdl.web@gmail.com>
4754
4755 * progmodes/octave.el (octave-mode-menu): Update and re-organize
4756 menu items.
4757 (octave-mode): Tweak fill-nobreak-predicate.
4758 (inferior-octave-startup): Check process to avoid infinite loop.
4759 (inferior-octave): Pop to buffer first to show abornmal process
4760 exit information.
4761
4762 2013-05-21 Glenn Morris <rgm@gnu.org>
4763
4764 * printing.el (pr-menu-bar): Define when compiling.
4765
4766 2013-05-21 Leo Liu <sdl.web@gmail.com>
4767
4768 * progmodes/octave.el (octave-auto-fill): Remove.
4769 (octave-indent-new-comment-line): Improve.
4770 (octave-mode): Use auto fill mode through
4771 comment-line-break-function and fill-nobreak-predicate.
4772 (octave-goto-function-definition): Support DEFUN_DLD.
4773 (octave-beginning-of-defun): Small tweak.
4774 (octave-help): Show parent directory.
4775
4776 2013-05-21 Glenn Morris <rgm@gnu.org>
4777
4778 * files.el (dired-unmark):
4779 * progmodes/gud.el (gdb-input): Update declarations.
4780
4781 * calculator.el (electric, ehelp): No need to load when compiling.
4782 (Electric-command-loop, electric-describe-mode): Declare.
4783
4784 * doc-view.el (doc-view-current-converter-processes): Move before use.
4785
4786 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4787 Move MODE-set-explicitly definition before use.
4788
4789 * international/mule-diag.el (mule-diag):
4790 Don't use obsolete window-system-version.
4791
4792 * mail/feedmail.el (smtpmail): No need to load when compiling.
4793 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
4794
4795 * mail/mail-utils.el (rfc822): No need to load when compiling.
4796 (rfc822-addresses): Autoload it.
4797 (mail-strip-quoted-names): Trivial simplification.
4798
4799 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
4800 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
4801
4802 * net/snmp-mode.el (tempo): Don't duplicate requires.
4803
4804 * progmodes/prolog.el (info): No need to load when compiling.
4805 (comint): Require before shell requires it.
4806 (Info-goto-node): Autoload it.
4807 (Info-follow-nearest-node): Declare.
4808 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
4809
4810 * textmodes/artist.el (picture-mode-exit): Declare.
4811
4812 * textmodes/reftex-parse.el (reftex-parse-from-file):
4813 Trivial rewrite so the compiler can parse it better.
4814
4815 2013-05-20 Leo Liu <sdl.web@gmail.com>
4816
4817 * progmodes/octave.el (octave-help-mode-map)
4818 (octave-help-mode-finish-hook): New variables.
4819 (octave-help-mode, octave-help-mode-finish): New functions.
4820 (octave-help): Use octave-help-mode.
4821
4822 2013-05-20 Glenn Morris <rgm@gnu.org>
4823
4824 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
4825
4826 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
4827
4828 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
4829 start at point, so that expansion starting right after opening
4830 slash in a regexp is recognized.
4831 (ruby-syntax-before-regexp-re): New defvar, extracted from
4832 ruby-syntax-propertize-function. Since the value of this regexp
4833 is looked up at runtime now, we should be able to turn
4834 `ruby-syntax-methods-before-regexp' into a defcustom later.
4835 (ruby-syntax-propertize-function): Split regexp matching into two
4836 parts, for opening and closing slashes. That allows us to skip
4837 over string interpolations and support multiline regexps.
4838 Don't call `ruby-syntax-propertize-expansions', instead use another rule
4839 for them, which calls `ruby-syntax-propertize-expansion'.
4840 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
4841 call to `ruby-syntax-propertize-function'.
4842 (ruby-syntax-propertize-expansion): Extracted from
4843 `ruby-syntax-propertize-expansions'. Handles one expansion.
4844 (ruby-syntax-propertize-percent-literal): Leave point right after
4845 the percent symbol, so that the expression expansion rule can
4846 propertize the contents.
4847 (ruby-syntax-propertize-heredoc): Leave point at bol following the
4848 heredoc openers.
4849 (ruby-syntax-propertize-expansions): Remove.
4850
4851 2013-05-18 Juri Linkov <juri@jurta.org>
4852
4853 * man.el (Man-default-man-entry): Remove `-' from the end
4854 of the default value. (Bug#14400)
4855
4856 2013-05-18 Glenn Morris <rgm@gnu.org>
4857
4858 * comint.el (comint-password-prompt-regexp):
4859 Allow "password for XXX" where XXX contains colons (eg https://...).
4860
4861 2013-05-18 Leo Liu <sdl.web@gmail.com>
4862
4863 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
4864 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
4865 (octave-source-directories): Don't check process.
4866 (octave-source-directories, octave-find-definition): Doc fix.
4867
4868 2013-05-18 Glenn Morris <rgm@gnu.org>
4869
4870 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
4871 Remove backspace/delete bindings. (Bug#14392)
4872
4873 * cus-dep.el (custom-make-dependencies): Sort the output.
4874 (custom-versions-load-alist): Convert comment to doc.
4875
4876 2013-05-17 Leo Liu <sdl.web@gmail.com>
4877
4878 * newcomment.el (comment-search-backward): Stricter in finding
4879 comment start. (Bug#14303)
4880
4881 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
4882 (octave-comment-start-skip): Properly anchored.
4883
4884 2013-05-17 Leo Liu <sdl.web@gmail.com>
4885
4886 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
4887 Clean up when turned off. (Bug#14395)
4888 (smie--highlight-matching-block-overlay): No longer buffer-local.
4889 (smie-highlight-matching-block): Adjust.
4890
4891 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
4892
4893 Doc string fix for "nanoseconds" (Bug#14406).
4894 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
4895 Fix doc string typo that had "nanoseconds" instead of "microseconds".
4896
4897 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
4898
4899 * calc/calc-units.el (math-extract-units): Preserve powers
4900 of units.
4901
4902 2013-05-17 Leo Liu <sdl.web@gmail.com>
4903
4904 * subr.el (delete-consecutive-dups): New function.
4905 * ido.el (ido-set-matches-1): Use it.
4906 * progmodes/octave.el (inferior-octave-completion-table): Use it.
4907 * ido.el (ido-remove-consecutive-dups): Remove.
4908
4909 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4910
4911 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
4912 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
4913 regexp-opt's `words'.
4914
4915 2013-05-16 Leo Liu <sdl.web@gmail.com>
4916
4917 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
4918 (smie--highlight-matching-block-overlay)
4919 (smie--highlight-matching-block-lastpos)
4920 (smie--highlight-matching-block-timer): New variables.
4921 (smie-highlight-matching-block): New function.
4922 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
4923 (smie-setup): Conditionally enable smie-blink-matching-open.
4924
4925 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
4926
4927 Sync with upstream verilog-mode r840.
4928 * progmodes/verilog-mode.el (verilog-mode-version)
4929 (verilog-mode-release-date): Update.
4930 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
4931 (verilog-sig-tieoff): Fix string error on
4932 AUTORESET with colon define, bug594. Reported by Andrew Hou.
4933 (verilog-read-decls): Fix parameters confusing
4934 AUTOINST interfaces, bug565. Reported by Leith Johnson.
4935
4936 2013-05-16 Eli Zaretskii <eliz@gnu.org>
4937
4938 * subr.el (reveal-filename): New function.
4939
4940 * loadup.el: Compute Emacs executable versions on MS-Windows,
4941 where executables have the .exe extension. Add a hard link
4942 emacs-XX.YY.ZZ.exe on MS-Windows.
4943
4944 * Makefile.in (XARGS_LIMIT): New variable.
4945 (custom-deps, finder-data, autoloads)
4946 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
4947 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
4948 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
4949 (compile-main): Limit xargs according to $(XARGS_LIMIT).
4950
4951 2013-05-16 Leo Liu <sdl.web@gmail.com>
4952
4953 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
4954 (octave-mode-menu, octave-mode-map): Remove its uses.
4955
4956 2013-05-16 Reto Zimmermann <reto@gnu.org>
4957
4958 Sync with upstream vhdl mode v3.34.2.
4959 * progmodes/vhdl-mode.el: Use `push' throughout.
4960 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
4961 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
4962 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
4963 (vhdl-actual-generic-name): New option to derive actual generic name.
4964 (vhdl-port-paste-signals): Replace formal by actual generics.
4965 (vhdl-beautify): New name for old group vhdl-align. Update users.
4966 (vhdl-beautify-options): New option.
4967 (vhdl-last-input-event): New compat alias. Use throughout.
4968 (vhdl-goto-line): Replace user level function `goto-line'.
4969 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
4970 vhdl-fix-statement-buffer.
4971 (vhdl-create-mode-menu): Add some entries.
4972 (vhdl-align-region-groups): Respect vhdl-beautify-options.
4973 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
4974 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
4975 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
4976 to force statements on one line.
4977 (vhdl-remove-trailing-spaces-region):
4978 New, split from vhdl-remove-trailing-spaces.
4979 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
4980 Respect vhdl-beautify-options.
4981 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
4982 (vhdl-update-sensitivity-list): Not add with index if exists without.
4983 Not include array index with signal. Ignore keywords in comments.
4984 (vhdl-get-visible-signals): Regexp tweaks.
4985 (vhdl-template-component-inst): Handle empty library.
4986 (vhdl-template-type): Add template for 'enum' type.
4987 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
4988 Use vhdl-replace-string.
4989 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
4990 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
4991 (vhdl-speedbar-initialize): Update for above name change.
4992 (vhdl-compose-wire-components): Fix in handling of constants.
4993 (vhdl-error-regexp-emacs-alist): New variable.
4994 (vhdl-error-regexp-add-emacs): New function;
4995 adds support for new compile.el (Emacs 22+)
4996 (vhdl-generate-makefile-1): Change target order for single lib. units.
4997 Allow use of absolute file names.
4998
4999 2013-05-16 Leo Liu <sdl.web@gmail.com>
5000
5001 * simple.el (prog-indent-sexp): Indent enclosing defun.
5002
5003 2013-05-15 Glenn Morris <rgm@gnu.org>
5004
5005 * cus-start.el (show-trailing-whitespace): Move to editing basics.
5006 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
5007 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
5008 (whitespace-highlight): Move to whitespace group.
5009
5010 * comint.el (comint-source):
5011 * pcmpl-linux.el (pcmpl-linux):
5012 * shell.el (shell-faces):
5013 * eshell/esh-opt.el (eshell-opt):
5014 * international/ccl.el (ccl): Remove empty custom groups.
5015
5016 * completion.el (dynamic-completion-mode):
5017 * jit-lock.el (jit-lock-debug-mode):
5018 * minibuffer.el (completion-in-region-mode):
5019 * type-break.el (type-break-mode-line-message-mode)
5020 (type-break-query-mode):
5021 * emulation/tpu-edt.el (tpu-edt-mode):
5022 * progmodes/subword.el (global-subword-mode, global-superword-mode):
5023 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
5024 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
5025
5026 * term/xterm.el (xterm): Change parent group to terminals.
5027
5028 * master.el (master): Remove empty custom group.
5029 (master-mode): Remove unused :group argument.
5030 * textmodes/refill.el (refill): Remove empty custom group.
5031 (refill-mode): Remove unused :group argument.
5032
5033 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
5034
5035 * cus-dep.el: Provide a feature.
5036 (custom-make-dependencies): Ignore dotfiles (dir-locals).
5037 Don't mistakenly ignore files whose basenames match a basename
5038 from preloaded-file-list (eg cedet/ede/simple.el).
5039 Add a fallback method for getting :group.
5040
5041 2013-05-15 Juri Linkov <juri@jurta.org>
5042
5043 * isearch.el (isearch-char-by-name): Rename from
5044 `isearch-insert-char-by-name'. Doc fix.
5045 (isearch-forward): Mention `isearch-char-by-name' in
5046 the docstring. (Bug#13348)
5047
5048 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
5049 `exit-minibuffer' instead of
5050 `isearch-nonincremental-exit-minibuffer'.
5051 (isearch-edit-string): Remove mention of
5052 `isearch-nonincremental-exit-minibuffer' from docstring.
5053 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
5054 (isearch-forward-exit-minibuffer)
5055 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
5056
5057 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
5058
5059 * loadup.el: Just use unversioned DOC.
5060
5061 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
5062 literals as extending to EOB.
5063 (nxml-last-fontify-end): Remove unused variable.
5064 (nxml-after-change1): Use with-silent-modifications.
5065 (nxml-extend-after-change-region): Simplify.
5066 (nxml-extend-after-change-region1): Remove function.
5067 (nxml-after-change1): Don't adjust for dependent regions.
5068 (nxml-fontify-matcher): Simplify.
5069 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
5070 (xmltok-add-dependent): Remove function.
5071 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
5072 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
5073 (xmltok-scan-prolog-after-processing-instruction-open): Treat
5074 unclosed <[[, <?, comment, and other literals as extending to EOB.
5075 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
5076 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
5077 Remove functions.
5078 (rng-do-some-validation-1): Don't mark dependent regions.
5079 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
5080 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
5081 (nxml-clear-dependent-regions): Remove functions.
5082 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
5083 (nxml-ensure-scan-up-to-date):
5084 Don't clear&mark dependent regions.
5085
5086 2013-05-15 Leo Liu <sdl.web@gmail.com>
5087
5088 * progmodes/octave.el (octave-goto-function-definition):
5089 Improve and fix callers.
5090
5091 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
5092
5093 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
5094 the setter (bug#14387).
5095
5096 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
5097 surrounding group (bug#14402).
5098
5099 2013-05-14 Juri Linkov <juri@jurta.org>
5100
5101 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
5102 (Bug#14390)
5103
5104 2013-05-14 Glenn Morris <rgm@gnu.org>
5105
5106 * progmodes/f90.el (f90-imenu-generic-expression):
5107 Fix typo in 2013-05-08 change. (Bug#14402)
5108
5109 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
5110
5111 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
5112 Remove signals for which replies are never received.
5113
5114 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
5115
5116 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
5117 (gdb-handler-alist, gdb-handler-number): Remove variables.
5118 (gdb-handler-list): New variable.
5119 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
5120 (gdb-pending-handler-p, gdb-handle-reply)
5121 (gdb-remove-all-pending-triggers): New functions.
5122 (gdb-discard-unordered-replies): New defcustom.
5123 (gdb-handler): New defstruct.
5124 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
5125 instead of gdb-pending-triggers. Update docstring.
5126 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
5127 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
5128 (gdb-var-update-handler, def-gdb-auto-update-trigger)
5129 (def-gdb-auto-update-handler, gdb-get-changed-registers)
5130 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
5131 (gdb-frame-handler): Pending triggers are now automatically managed.
5132 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
5133 Remove argument.
5134 (gdb-input): Automatically handles pending triggers. Update docstring.
5135 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
5136 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
5137 Update comments.
5138 (gdb-done-or-error): Now use gdb-handle-reply.
5139
5140 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
5141
5142 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
5143 gdb-debug-log.
5144
5145 2013-05-14 Glenn Morris <rgm@gnu.org>
5146
5147 * subr.el (user-emacs-directory-warning): New option.
5148 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
5149
5150 2013-05-14 Leo Liu <sdl.web@gmail.com>
5151
5152 * progmodes/octave.el (octave-font-lock-keywords): Fix error
5153 during redisplay.
5154 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
5155 (octave-font-lock-texinfo-comment): Fix invalid search bound
5156 error: wrong side of point.
5157
5158 2013-05-14 Glenn Morris <rgm@gnu.org>
5159
5160 * progmodes/flymake.el (flymake-xml-program): New option.
5161 (flymake-xml-init): Use it.
5162
5163 * term/xterm.el: Provide a feature.
5164
5165 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
5166
5167 2013-05-13 Glenn Morris <rgm@gnu.org>
5168
5169 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
5170 Add compat aliases as a hack workaround. (Bug#14384)
5171
5172 2013-05-13 Leo Liu <sdl.web@gmail.com>
5173
5174 * progmodes/octave.el (octave-indent-comment): Fix indentation for
5175 ###, and %!.
5176 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
5177 C-M-q.
5178 (octave-comment-start-skip): Include %!.
5179 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
5180
5181 2013-05-12 Leo Liu <sdl.web@gmail.com>
5182
5183 * progmodes/octave.el (inferior-octave-startup): Store the value
5184 of __octave_srcdir__ for octave-source-directories.
5185 (inferior-octave-check-process): New function refactored out of
5186 inferior-octave-send-list-and-digest.
5187 (octave-source-directories)
5188 (octave-find-definition-filename-function): New variables.
5189 (octave-source-directories)
5190 (octave-find-definition-default-filename): New functions.
5191 (octave-find-definition): Improve to find functions implemented in C++.
5192
5193 2013-05-12 Glenn Morris <rgm@gnu.org>
5194
5195 * calendar/diary-lib.el (diary-outlook-format-1):
5196 Don't include dayname in the output. (Bug#14349)
5197
5198 2013-05-11 Glenn Morris <rgm@gnu.org>
5199
5200 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
5201
5202 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
5203 Treat cc-provide like provide.
5204
5205 2013-05-11 Kevin Ryde <user42@zip.com.au>
5206
5207 * cus-dep.el (custom-make-dependencies):
5208 Use generated-autoload-load-name for the sake of files such
5209 such cedet/semantic/bovine/c.el, where the base file name
5210 is not in load-path. (Bug#5277)
5211
5212 2013-05-11 Glenn Morris <rgm@gnu.org>
5213
5214 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
5215 Provide features.
5216
5217 2013-05-11 Leo Liu <sdl.web@gmail.com>
5218
5219 * progmodes/octave.el (octave-indent-comment): Improve.
5220 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5221 (octave-eldoc-function-signatures, octave-eldoc-function):
5222 New functions.
5223 (octave-mode, inferior-octave-mode): Add eldoc support.
5224
5225 2013-05-11 Richard Stallman <rms@gnu.org>
5226
5227 * epa.el (epa-decrypt-file): Take output file name as argument
5228 and read it using `interactive'.
5229
5230 2013-05-11 Leo Liu <sdl.web@gmail.com>
5231
5232 * progmodes/octave.el (octave-beginning-of-line)
5233 (octave-end-of-line): Check before using up-list because it jumps
5234 out of more syntactic contructs since moving to smie.
5235 (octave-indent-comment): New function.
5236 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
5237 (octave-begin-keywords, octave-end-keywords)
5238 (octave-reserved-words, octave-smie-bnf-table)
5239 (octave-smie-rules): Add new keywords from Octave 3.6.4.
5240
5241 2013-05-11 Glenn Morris <rgm@gnu.org>
5242
5243 * faces.el (internal-face-x-get-resource):
5244 * frame.el (ns-display-monitor-attributes-list):
5245 * calc/calc-aent.el (math-to-radians-2):
5246 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
5247 Fix declarations.
5248
5249 * calc/calc-menu.el: Make it loadable in isolation.
5250
5251 * net/eudcb-bbdb.el: Make it loadable without bbdb.
5252 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
5253 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
5254 (eudc-bbdb-query-internal): Require 'bbdb.
5255
5256 * lpr.el (lpr-headers-switches):
5257 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
5258
5259 * progmodes/sql.el (sql-login-params): Fix and improve :type.
5260
5261 * emulation/edt-mapper.el: In batch mode, error rather than hang.
5262
5263 * term.el (term-set-escape-char): Make it idempotent.
5264
5265 2013-05-10 Leo Liu <sdl.web@gmail.com>
5266
5267 * progmodes/octave.el (inferior-octave-completion-table):
5268 No longer a function and all uses changed. Use cache to speed up
5269 completion due to bug#11906.
5270 (octave-beginning-of-defun): Re-write to be more general.
5271
5272 2013-05-10 Glenn Morris <rgm@gnu.org>
5273
5274 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
5275
5276 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
5277
5278 * comint.el (comint-redirect-send-command-to-process): Use :around
5279 rather than :override for comint-redirect-filter.
5280 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
5281 Call it instead of comint-redirect-original-filter-function (which
5282 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
5283
5284 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
5285
5286 * frame.el (display-monitor-attributes-list): Add NS case.
5287 (ns-display-monitor-attributes-list): Declare.
5288
5289 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
5290
5291 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
5292
5293 2013-05-09 Glenn Morris <rgm@gnu.org>
5294
5295 * international/fontset.el (vertical-centering-font-regexp):
5296 Set standard-value.
5297
5298 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
5299
5300 * bookmark.el (bookmark-search-delay):
5301 * cus-start.el (vertical-centering-font-regexp):
5302 * ps-mule.el (ps-mule-font-info-database-default):
5303 * ps-print.el (ps-default-fg, ps-default-bg):
5304 * type-break.el (type-break-good-break-interval):
5305 * whitespace.el (whitespace-indentation-regexp)
5306 (whitespace-space-after-tab-regexp):
5307 * emacs-lisp/testcover.el (testcover-1value-functions)
5308 (testcover-noreturn-functions, testcover-progn-functions)
5309 (testcover-prog1-functions):
5310 * emulation/viper-init.el (viper-emacs-state-cursor-color):
5311 * eshell/em-glob.el (eshell-glob-translate-alist):
5312 * play/tetris.el (tetris-tty-colors):
5313 * progmodes/cpp.el (cpp-face-default-list):
5314 * progmodes/flymake.el (flymake-allowed-file-name-masks):
5315 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
5316 (idlwave-help-browser-generic-args):
5317 * progmodes/make-mode.el (makefile-special-targets-list):
5318 * progmodes/python.el (python-shell-virtualenv-path):
5319 * progmodes/verilog-mode.el (verilog-active-low-regexp)
5320 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
5321 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
5322 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
5323 * textmodes/reftex-vars.el (reftex-format-label-function):
5324 * textmodes/remember.el (remember-diary-file): Fix custom types.
5325
5326 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
5327 Add :version.
5328
5329 2013-05-09 Leo Liu <sdl.web@gmail.com>
5330
5331 * progmodes/octave.el (inferior-octave-completion-at-point):
5332 Restore file completion. (Bug#14300)
5333 (inferior-octave-startup): Fix incorrect highlighting for the
5334 first prompt.
5335
5336 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5337
5338 * progmodes/ruby-mode.el: First cut at SMIE support.
5339 (ruby-use-smie): New var.
5340 (ruby-smie-grammar): New constant.
5341 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
5342 (ruby-smie--forward-token, ruby-smie--backward-token)
5343 (ruby-smie-rules): New functions.
5344 (ruby-mode-variables): Setup SMIE if applicable.
5345
5346 2013-05-08 Eli Zaretskii <eliz@gnu.org>
5347
5348 * simple.el (line-move-visual): Signal beginning/end of buffer
5349 only if vertical-motion moved less than it was requested. Avoids
5350 silly incorrect error messages when there are display strings with
5351 multiple newlines at EOL.
5352
5353 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5354
5355 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
5356 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
5357 (prolog-char-quote-workaround):
5358 * progmodes/cperl-mode.el (cperl-under-as-char):
5359 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
5360 Mark as obsolete.
5361 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
5362 their declaration.
5363 (vhdl-mode-syntax-table-init): Remove.
5364
5365 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
5366 last change.
5367
5368 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
5369 syntax for "_".
5370 (ld-script-font-lock-keywords):
5371 Change regexps to use things like \_< and \_>.
5372
5373 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
5374 Change all regexps to use things like \_< and \_>.
5375
5376 * progmodes/autoconf.el (autoconf-definition-regexp)
5377 (autoconf-font-lock-keywords, autoconf-current-defun-function):
5378 Handle a _ with symbol syntax.
5379 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
5380
5381 * progmodes/ada-mode.el (ada-mode-abbrev-table):
5382 Consolidate declaration.
5383 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
5384 the declaration.
5385 (ada-create-syntax-table): Remove.
5386 (ada-capitalize-word): Don't mess with the syntax of "_" since it
5387 already has the right syntax nowadays.
5388 (ada-goto-next-word): Don't change the syntax of "_".
5389
5390 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
5391 with-wrapper-hook.
5392
5393 2013-05-08 Sam Steingold <sds@gnu.org>
5394
5395 * thingatpt.el (thing-at-point): Accept optional second argument
5396 NO-PROPERTIES to strip the text properties from the return value.
5397 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
5398 to `thing-at-point' instead of stripping the properties ourselves.
5399 Also, when `thing-at-point' fails to find a url, prepend "http://"
5400 to the filename at point on the assumption that the user is
5401 pointing at something like gnu.org/gnu.
5402
5403 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
5404
5405 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
5406 * faces.el (crm-separator):
5407 Silence byte-compiler.
5408
5409 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
5410 (tool-bar-map): Remove unneeded defvars.
5411
5412 2013-05-08 Leo Liu <sdl.web@gmail.com>
5413
5414 Re-work a fix for bug#10994 based on Le Wang's patch.
5415 * ido.el (ido-remove-consecutive-dups): New helper.
5416 (ido-completing-read): Use it.
5417 (ido-chop): Revert fix for bug#10994.
5418
5419 2013-05-08 Adam Spiers <emacs@adamspiers.org>
5420
5421 * cus-edit.el (custom-save-variables):
5422 Pretty-print long values. (Bug#14187)
5423
5424 2013-05-08 Glenn Morris <rgm@gnu.org>
5425
5426 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
5427 (m4-mode-syntax-table): Init in the defvar.
5428 (m4-mode-abbrev-table): Let define-derived-mode define it.
5429
5430 2013-05-08 Tom Tromey <tromey@redhat.com>
5431
5432 * progmodes/m4-mode.el (m4-mode-syntax-table):
5433 Do not treat "_" as word constituent. (Bug#14167)
5434
5435 2013-05-07 Glenn Morris <rgm@gnu.org>
5436
5437 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
5438 Remove explicit eshell-isearch-cancel-map.
5439
5440 * progmodes/f90.el (f90-smart-end-names): New option.
5441 (f90-smart-end): Doc fix.
5442 (f90-end-block-optional-name): New constant.
5443 (f90-block-match): Respect f90-smart-end-names.
5444
5445 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
5446
5447 * progmodes/octave.el (octave-smie-forward-token): Be more careful
5448 about implicit semi-colons (bug#14218).
5449
5450 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5451
5452 * frame.el (display-monitor-attributes-list)
5453 (frame-monitor-attributes): New functions.
5454
5455 2013-05-06 Leo Liu <sdl.web@gmail.com>
5456
5457 * progmodes/octave.el (octave-syntax-propertize-function): Change
5458 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
5459 (octave-font-lock-keywords): Use octave-operator-regexp.
5460 (octave-completion-at-point): Rename from
5461 octave-completion-at-point-function.
5462 (inferior-octave-directory-tracker): Robustify.
5463 (octave-text-functions): Remove and fix its uses. No such things
5464 any more.
5465
5466 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
5467
5468 * emacs-lisp/trace.el (trace--display-buffer): New function.
5469 (trace-make-advice): Use it.
5470
5471 2013-05-06 Juri Linkov <juri@jurta.org>
5472
5473 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
5474 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
5475 Doc fix.
5476 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
5477 in the help string. (Bug#12985)
5478
5479 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
5480
5481 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
5482
5483 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
5484
5485 * progmodes/perl-mode.el: Add support for here documents.
5486 (perl-syntax-propertize-function): Match here-doc markers.
5487 (perl-syntax-propertize-special-constructs): Find their end.
5488 (perl-imenu-generic-expression): Use [:alnum:].
5489
5490 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
5491 (advice--add-function): Refresh the advice if already present
5492 (bug#14317).
5493
5494 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
5495
5496 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
5497
5498 2013-05-06 Glenn Morris <rgm@gnu.org>
5499
5500 * w32-fns.el (w32-charset-info-alist): Declare.
5501
5502 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
5503 of its defcustom properties.
5504 (eshell-cmpl-initialize): No need to load pcomplete.
5505
5506 * generic-x.el: No need to require comint when compiling.
5507
5508 * net/eudc-export.el: Make it loadable without bbdb.
5509 (top-level): Use require rather than load-library.
5510 (eudc-create-bbdb-record, eudc-bbdbify-phone)
5511 (eudc-batch-export-records-to-bbdb)
5512 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
5513 Require bbdb.
5514
5515 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
5516
5517 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
5518 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
5519 some tweaks, instead.
5520
5521 2013-05-05 Leo Liu <sdl.web@gmail.com>
5522
5523 * progmodes/octave.el (octave-font-lock-keywords)
5524 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
5525 (inferior-octave-send-list-and-digest): Improve error message.
5526 (octave-mode, inferior-octave-mode): Use setq-local.
5527 (octave-help): Set info-lookup-mode.
5528
5529 2013-05-05 Richard Stallman <rms@gnu.org>
5530
5531 * vc/compare-w.el (compare-windows-whitespace):
5532 Treat no-break space as whitespace.
5533
5534 * mail/rmailsum.el (rmail-summary-rmail-update):
5535 Detect empty summary and don't change selected message.
5536 (rmail-summary-goto-msg): Likewise.
5537
5538 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
5539 Doc fixes, rename args.
5540
5541 2013-05-05 Alan Mackenzie <acm@muc.de>
5542
5543 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
5544
5545 2013-05-05 Juri Linkov <juri@jurta.org>
5546
5547 * info.el (Info-read-subfile): Use (point-min) instead of (point)
5548 to not add the length of the summary segment to the return value.
5549 (Bug#14125)
5550
5551 2013-05-05 Leo Liu <sdl.web@gmail.com>
5552
5553 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
5554 (inferior-octave-output-filter): Remove.
5555 (octave-send-region, inferior-octave-startup): Fix callers.
5556 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
5557 (octave-binary-file-extensions): New user variable.
5558 (octave-find-definition): Confirm if opening binary files.
5559 (octave-help-file): Use octave-find-definition to get the binary
5560 confirmation.
5561 (octave-help): Adjust for octave-help-file change.
5562
5563 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
5564
5565 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
5566 Merge the two entries that handle function definitions.
5567 (pascal--syntax-propertize): New const.
5568 (pascal-mode): Use it. Use setq-local.
5569
5570 2013-05-04 Glenn Morris <rgm@gnu.org>
5571
5572 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
5573 (diary-from-outlook): Respect diary-from-outlook-function.
5574
5575 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
5576
5577 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
5578 Move the declaration from C.
5579 (read-minibuffer, eval-minibuffer): Move from C.
5580 (completion-setup-function): Avoid minibuffer-completion-contents.
5581
5582 2013-05-03 Leo Liu <sdl.web@gmail.com>
5583
5584 * progmodes/octave.el (octave-font-lock-keywords): Do not
5585 dehighlight 'end' in comments or strings.
5586 (octave-completing-read, octave-goto-function-definition):
5587 New helpers.
5588 (octave-help-buffer): New user variable.
5589 (octave-help-file, octave-help-function): New button types.
5590 (octave-help): New command and bind it to C-h ;.
5591 (octave-find-definition): New command and bind it to M-.
5592 (user-error): Alias to error if not defined.
5593
5594 2013-05-02 Leo Liu <sdl.web@gmail.com>
5595
5596 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
5597 for \. (bug#14332)
5598 (octave-font-lock-keywords): Include [ and {.
5599
5600 2013-05-02 Leo Liu <sdl.web@gmail.com>
5601
5602 * progmodes/octave.el (inferior-octave-startup-file): Change default.
5603 (inferior-octave): Remove calling comint-mode and return the buffer.
5604 (inferior-octave-startup): Cosmetic changes.
5605
5606 2013-05-02 Leo Liu <sdl.web@gmail.com>
5607
5608 * progmodes/octave.el (octave-syntax-propertize-function):
5609 Include the case when ' is at line beginning. (Bug#14336)
5610
5611 2013-05-02 Glenn Morris <rgm@gnu.org>
5612
5613 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
5614 * desktop.el (vc-dir-mode): Just autoload it here.
5615
5616 2013-05-02 Alan Mackenzie <acm@muc.de>
5617
5618 Eliminate variable c-standard-font-lock-fontify-region-function.
5619 * progmodes/cc-mode.el
5620 (c-standard-font-lock-fontify-region-function): Remove.
5621 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
5622
5623 2013-05-01 Leo Liu <sdl.web@gmail.com>
5624
5625 * progmodes/octave.el: Compatible with older emacs-24 releases.
5626 (inferior-octave-has-built-in-variables): Remove. Built-in
5627 variables were removed from Octave in 2007.
5628 (inferior-octave-startup): Fix uses.
5629 (comint-line-beginning-position): Remove compatibility code for
5630 emacs 21.
5631
5632 2013-05-01 Juri Linkov <juri@jurta.org>
5633
5634 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
5635
5636 2013-05-01 Juri Linkov <juri@jurta.org>
5637
5638 * comint.el (comint-previous-matching-input): Don't print message
5639 "History item: %d" when `isearch-mode' is active.
5640 (comint-history-isearch-message): Print message "History item: %d"
5641 when `comint-input-ring-index' is not empty and this function is
5642 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
5643
5644 2013-05-01 Leo Liu <sdl.web@gmail.com>
5645
5646 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
5647 definitions. Use completion-at-point to insert keywords.
5648 (octave-abbrev-start): Remove.
5649 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
5650
5651 2013-04-30 Leo Liu <sdl.web@gmail.com>
5652
5653 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
5654 change.
5655
5656 2013-04-30 Alan Mackenzie <acm@muc.de>
5657
5658 Handle arbitrarily long C++ member initialisation lists.
5659 * progmodes/cc-engine.el (c-back-over-member-initializers):
5660 new function.
5661 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
5662 (most) member init lists.
5663
5664 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5665
5666 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
5667 variable.
5668
5669 2013-04-30 Leo Liu <sdl.web@gmail.com>
5670
5671 * progmodes/octave.el (octave-variables): Remove. No builtin
5672 variables any more. All converted to functions.
5673 (octave-font-lock-keywords, octave-completion-at-point-function):
5674 Fix uses.
5675 (octave-font-lock-texinfo-comment): New user variable.
5676 (octave-texinfo-font-lock-keywords): New variable for texinfo
5677 comment block.
5678 (octave-function-comment-block): New face.
5679 (octave-font-lock-texinfo-comment): New function.
5680 (octave-mode): Font lock texinfo comment block.
5681
5682 2013-04-29 Leo Liu <sdl.web@gmail.com>
5683
5684 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
5685 indexing expression.
5686 (octave-continuation-string): Do not use \.
5687 (inferior-octave-complete-impossible): Remove.
5688 (inferior-octave-completion-table)
5689 (inferior-octave-completion-at-point): Remove its uses.
5690 (inferior-octave-startup): completion_matches was introduced to
5691 Octave in 1996 so safe to assume it.
5692 (octave-function-file-comment): Improve to follow how Octave does it.
5693 (octave-update-function-file-comment): Tweak.
5694
5695 2013-04-29 Leo Liu <sdl.web@gmail.com>
5696
5697 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
5698 (inferior-octave-startup): Remove inferior-octave-startup-hook.
5699 (octave-function-file-comment): Fix typo.
5700 (octave-sync-function-file-names): Use read-char-choice.
5701
5702 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
5703
5704 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
5705 to t for the less important warnings.
5706
5707 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
5708
5709 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
5710
5711 2013-04-27 Glenn Morris <rgm@gnu.org>
5712
5713 * vc/log-view.el (log-view-current-entry):
5714 Treat "---" separator lines as part of the following rev. (Bug#14169)
5715
5716 2013-04-27 Juri Linkov <juri@jurta.org>
5717
5718 * subr.el (read-number): Doc fix about using it by interactive
5719 code letter `n'. (Bug#14254)
5720
5721 2013-04-27 Juri Linkov <juri@jurta.org>
5722
5723 * desktop.el (desktop-auto-save-timeout): New option.
5724 (desktop-file-checksum): New variable.
5725 (desktop-save): Add optional arg `auto-save' and don't auto-save
5726 if nothing changed.
5727 (desktop-auto-save-timer): New variable.
5728 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
5729 (after-init-hook): Call `desktop-auto-save-set-timer'.
5730 Suggested by Reuben Thomas <rrt@sc3d.org> in
5731 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
5732
5733 2013-04-27 Leo Liu <sdl.web@gmail.com>
5734
5735 * progmodes/octave.el (octave-function-file-p)
5736 (octave-skip-comment-forward, octave-function-file-comment)
5737 (octave-update-function-file-comment): New functions.
5738 (octave-mode-map): Bind C-c ; to
5739 octave-update-function-file-comment.
5740 (octave-mode-menu): Add octave-update-function-file-comment.
5741 (octave-mode, inferior-octave-mode): Fix doc-string.
5742 (octave-insert-defun): Conform to Octave's coding convention.
5743 (Bug#14285)
5744
5745 * files.el (basic-save-buffer): Don't let errors in
5746 before-save-hook prevent saving buffer.
5747
5748 2013-04-20 Roland Winkler <winkler@gnu.org>
5749
5750 * faces.el (read-face-name): Use completing-read if arg multiple
5751 is nil.
5752
5753 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
5754
5755 * ls-lisp.el (ls-lisp-insert-directory): If no files are
5756 displayed, move point to after the totals line.
5757 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
5758 for the details.
5759
5760 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
5761
5762 * emacs-lisp/package.el (package-autoload-ensure-default-file):
5763 Add current dir to the load-path.
5764 (package-generate-autoloads): Don't rely on
5765 autoload-ensure-default-file.
5766
5767 2013-04-26 Reuben Thomas <rrt@sc3d.org>
5768
5769 * textmodes/remember.el (remember-store-in-files): Document that
5770 the file name format is passed to `format-time-string'.
5771
5772 2013-04-26 Leo Liu <sdl.web@gmail.com>
5773
5774 * progmodes/octave.el (octave-sync-function-file-names): New function.
5775 (octave-mode): Use it in before-save-hook.
5776
5777 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
5778
5779 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
5780 (bug#14274).
5781
5782 * progmodes/octave.el (octave-smie-forward-token): Properly skip
5783 \n and comment, even if it's not an implicit ; (bug#14218).
5784
5785 2013-04-26 Glenn Morris <rgm@gnu.org>
5786
5787 * subr.el (read-number): Once more use `read' rather than
5788 `string-to-number', to trap non-numeric input. (Bug#14254)
5789
5790 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
5791
5792 * emacs-lisp/syntax.el (syntax-propertize-multiline):
5793 Use `syntax-multiline' text property consistently instead of
5794 `font-lock-multiline'. (Bug#14237)
5795
5796 2013-04-26 Glenn Morris <rgm@gnu.org>
5797
5798 * emacs-lisp/shadow.el (list-load-path-shadows):
5799 No longer necessary to check for duplicate simple.el, since
5800 2012-07-07 change to init_lread to not include installation lisp
5801 directories in load-path when running uninstalled. (Bug#14270)
5802
5803 2013-04-26 Leo Liu <sdl.web@gmail.com>
5804
5805 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
5806 (octave-mode, inferior-octave-mode): Use setq-local.
5807 (octave-not-in-string-or-comment-p): Rename to
5808 octave-in-string-or-comment-p.
5809 (octave-in-comment-p, octave-in-string-p)
5810 (octave-in-string-or-comment-p): Replace defsubst with defun.
5811
5812 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
5813
5814 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
5815
5816 2013-04-25 Bastien Guerry <bzg@gnu.org>
5817
5818 * textmodes/remember.el (remember-data-directory)
5819 (remember-directory-file-name-format): Fix custom types.
5820
5821 2013-04-25 Leo Liu <sdl.web@gmail.com>
5822
5823 * progmodes/octave.el (octave-completion-at-point-function):
5824 Make use of inferior octave process.
5825 (octave-initialize-completions): Remove.
5826 (inferior-octave-completion-table): New function.
5827 (inferior-octave-completion-at-point): Use it.
5828 (octave-completion-alist): Remove.
5829
5830 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
5831
5832 * progmodes/opascal.el: Use font-lock and syntax-propertize.
5833 (opascal-mode-syntax-table): New var.
5834 (opascal-literal-kind, opascal-is-literal-end)
5835 (opascal-literal-token-at): Rewrite.
5836 (opascal--literal-start-re, opascal-font-lock-keywords)
5837 (opascal--syntax-propertize): New constants.
5838 (opascal-font-lock-defaults): Adjust.
5839 (opascal-mode): Use them. Set comment-<foo> variables as well.
5840 (delphi-comment-face, opascal-comment-face, delphi-string-face)
5841 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
5842 (delphi-other-face, opascal-other-face): Remove face variables.
5843 (opascal-save-state): Remove macro.
5844 (opascal-fontifying-progress-step): Remove constant.
5845 (opascal--ignore-changes): Remove var.
5846 (opascal-set-token-property, opascal-parse-next-literal)
5847 (opascal-is-stable-literal, opascal-complete-literal)
5848 (opascal-is-literal-start, opascal-face-of)
5849 (opascal-parse-region, opascal-parse-region-until-stable)
5850 (opascal-fontify-region, opascal-after-change)
5851 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
5852 (opascal-debug-parse-region, opascal-debug-parse-window)
5853 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
5854 (opascal-debug-fontify-buffer): Remove.
5855 (opascal-debug-mode-map): Adjust accordingly.
5856
5857 2013-04-25 Leo Liu <sdl.web@gmail.com>
5858
5859 Merge octave-mod.el and octave-inf.el into octave.el with some
5860 cleanups.
5861 * progmodes/octave.el: New file renamed from octave-mod.el.
5862 * progmodes/octave-inf.el: Merged into octave.el.
5863 * progmodes/octave-mod.el: Renamed to octave.el.
5864
5865 2013-04-25 Tassilo Horn <tsdh@gnu.org>
5866
5867 * textmodes/reftex-vars.el
5868 (reftex-label-ignored-macros-and-environments): New defcustom.
5869
5870 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
5871
5872 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
5873
5874 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
5875 (smie-indent-keyword): Improve the check to ensure that the next
5876 comment is really on the same line.
5877 (smie-indent-comment): Don't align with a subsequent closer (or eob).
5878
5879 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
5880 semi-colons if the line is not otherwise empty (bug#14218).
5881
5882 2013-04-25 Glenn Morris <rgm@gnu.org>
5883
5884 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
5885
5886 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
5887
5888 * progmodes/opascal.el (opascal-set-token-property): Rename from
5889 opascal-set-text-properties and only set `token' (bug#14134).
5890 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
5891 (opascal-literal-text-properties): Remove.
5892 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
5893 Adjust callers.
5894
5895 2013-04-24 Reuben Thomas <rrt@sc3d.org>
5896
5897 * textmodes/remember.el (remember-handler-functions): Add an
5898 option for a new handler `remember-store-in-files'.
5899 (remember-data-directory, remember-directory-file-name-format):
5900 New options.
5901 (remember-store-in-files): New function to store remember notes
5902 as separate files within a directory.
5903
5904 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
5905
5906 * progmodes/compile.el (compilation-next-error-function):
5907 Pass "formats" to compilation-find-file (bug#11777).
5908
5909 2013-04-24 Glenn Morris <rgm@gnu.org>
5910
5911 * vc/vc-bzr.el (vc-bzr-print-log):
5912 * vc/vc-hg.el (vc-hg-print-log):
5913 * vc/vc-svn.el (vc-svn-print-log):
5914 Fix START-REVISION with LIMIT != 1. (Bug#14168)
5915
5916 * vc/vc-bzr.el (vc-bzr-print-log):
5917 * vc/vc-cvs.el (vc-cvs-print-log):
5918 * vc/vc-git.el (vc-git-print-log):
5919 * vc/vc-hg.el (vc-hg-print-log):
5920 * vc/vc-mtn.el (vc-mtn-print-log):
5921 * vc/vc-rcs.el (vc-rcs-print-log):
5922 * vc/vc-sccs.el (vc-sccs-print-log):
5923 * vc/vc-svn.el (vc-svn-print-log):
5924 * vc/vc.el (vc-print-log-internal): Doc fixes.
5925
5926 2013-04-23 Glenn Morris <rgm@gnu.org>
5927
5928 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
5929 Remove venerable code attempting to avoid substitute-command-keys.
5930
5931 2013-04-23 Tassilo Horn <tsdh@gnu.org>
5932
5933 * textmodes/reftex-vars.el (reftex-label-regexps):
5934 Call `reftex-compile-variables' after changes to this variable.
5935
5936 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
5937
5938 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
5939 Use lexical-binding.
5940 (jit-lock-force-redisplay): Use markers, check buffer's continued
5941 existence and beware narrowed buffers.
5942 (jit-lock-fontify-now): Adjust call accordingly.
5943
5944 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
5945
5946 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
5947 to avoid misleading the user.
5948
5949 2013-04-22 Leo Liu <sdl.web@gmail.com>
5950
5951 * info-look.el: Prefer latex2e.info. (Bug#14240)
5952
5953 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
5954
5955 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
5956
5957 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
5958 * net/tramp.el (tramp-call-process): ... here.
5959 (tramp-set-completion-function, tramp-parse-putty):
5960 * net/tramp-adb.el (tramp-adb-execute-adb-command):
5961 * net/tramp-gvfs.el (tramp-gvfs-send-command):
5962 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
5963 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
5964 (tramp-call-local-coding-command): Use `tramp-call-process'
5965 instead of `tramp-compat-call-process'.
5966
5967 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
5968 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
5969 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
5970 (tramp-find-inline-compress): Improve traces.
5971 (tramp-maybe-send-script): Check for Perl binary.
5972 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
5973
5974 2013-04-22 Daiki Ueno <ueno@gnu.org>
5975
5976 * epg.el (epg-context-pinentry-mode): New function.
5977 (epg-context-set-pinentry-mode): New function.
5978 (epg--start): Pass --pinentry-mode option to gpg command.
5979
5980 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
5981
5982 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5983 `comint-dynamic-complete' is obsolete since 24.1, replaced by
5984 `completion-at-point'. (Bug#13774)
5985
5986 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
5987 default key binding for `describe-distribution' has been moved to
5988 `C-h C-o'. (Bug#13970)
5989
5990 2013-04-21 Glenn Morris <rgm@gnu.org>
5991
5992 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
5993 Add doc strings.
5994 (vc-print-log): Clarify interactive prompt.
5995
5996 2013-04-20 Glenn Morris <rgm@gnu.org>
5997
5998 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
5999 No longer include timestamp etc information.
6000
6001 2013-04-20 Roland Winkler <winkler@gnu.org>
6002
6003 * faces.el (read-face-name): Bug fix, return just one face if arg
6004 multiple is nil. (Bug#14209)
6005
6006 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
6007
6008 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
6009 (remove-function): Autoload.
6010
6011 * comint.el (comint-redirect-original-filter-function): Remove.
6012 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
6013 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
6014 (vc-cvs-annotate-command):
6015 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
6016 * progmodes/prolog.el (prolog-consult-compile):
6017 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
6018 Use add/remove-function instead.
6019 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
6020 (gud-tooltip-process-output, gud-tooltip-tips):
6021 Use add/remove-function instead.
6022 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
6023 (scheme-interaction-mode, exit-scheme-interaction-mode):
6024 Use add/remove-function instead.
6025
6026 * vc/vc-dispatcher.el: Use lexical-binding.
6027 (vc--process-sentinel): Rename from vc-process-sentinel.
6028 Change last arg to be the code to run. Don't use vc-previous-sentinel
6029 and vc-sentinel-commands any more.
6030 (vc-exec-after): Allow code to be a function. Use add/remove-function.
6031 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
6032
6033 2013-04-19 Masatake YAMATO <yamato@redhat.com>
6034
6035 * progmodes/sh-script.el (sh-imenu-generic-expression):
6036 Handle function names with a single character. (Bug#14111)
6037
6038 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
6039
6040 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
6041 for subroutines defined in an eval (bug#14182).
6042
6043 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6044
6045 * bookmark.el (bookmark-completing-read): Improve handling of empty
6046 string (bug#14176).
6047
6048 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
6049
6050 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
6051
6052 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
6053
6054 New faster Imenu implementation (bug#14058).
6055 * progmodes/python.el:
6056 (python-imenu-prev-index-position):
6057 (python-imenu-format-item-label-function)
6058 (python-imenu-format-parent-item-label-function)
6059 (python-imenu-format-parent-item-jump-label-function):
6060 New vars.
6061 (python-imenu-format-item-label)
6062 (python-imenu-format-parent-item-label)
6063 (python-imenu-format-parent-item-jump-label)
6064 (python-imenu--put-parent, python-imenu--build-tree)
6065 (python-imenu-create-index, python-imenu-create-flat-index)
6066 (python-util-popn): New functions.
6067 (python-mode): Set imenu-create-index-function to
6068 python-imenu-create-index.
6069
6070 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
6071
6072 * winner.el (winner-active-region): Use region-active-p, activate-mark
6073 and deactivate-mark (bug#14225).
6074
6075 * simple.el (deactivate-mark): Don't inline it.
6076
6077 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
6078
6079 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
6080
6081 2013-04-18 Tassilo Horn <tsdh@gnu.org>
6082
6083 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
6084 file extensions from the archive-mode entry in order to prefer
6085 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
6086
6087 2013-04-18 Leo Liu <sdl.web@gmail.com>
6088
6089 * bindings.el (help-event-list): Add ?\?.
6090
6091 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
6092
6093 * subr.el (with-wrapper-hook): Declare obsolete.
6094 * simple.el (filter-buffer-substring-function): New hook.
6095 (filter-buffer-substring): Use it.
6096 (filter-buffer-substring-functions): Mark obsolete.
6097 * minibuffer.el (completion-in-region-function): New hook.
6098 (completion-in-region): Use it.
6099 (completion-in-region-functions): Mark obsolete.
6100 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
6101 * abbrev.el (abbrev-expand-function): New hook.
6102 (expand-abbrev): Use it.
6103 (abbrev-expand-functions): Mark obsolete.
6104 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
6105 and :filter-return.
6106
6107 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
6108
6109 * progmodes/python.el (python-nav--syntactically): Fix cornercases
6110 and do not care about match data.
6111
6112 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
6113
6114 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
6115 completion tables when completing error conditions and
6116 `declare' arguments.
6117 (lisp-complete-symbol, field-complete): Mark as obsolete.
6118 (check-parens): Unmatched parens are user errors.
6119 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
6120
6121 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
6122
6123 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
6124 command changed buffer (ie. `flyspell-pre-buffer' is not current
6125 buffer), which prevents making decisions based on invalid value of
6126 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
6127 cause an error when `flyspell-pre-point' was nil after switching
6128 buffers.
6129 (flyspell-post-command-hook): No longer needs to change buffers when
6130 checking pre-word. While at it remove unnecessary progn.
6131
6132 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
6133
6134 * textmodes/ispell.el (ispell-add-per-file-word-list):
6135 Fix `flyspell-correct-word-before-point' error when accepting
6136 words and `coment-padding' is an integer by using
6137 `comment-normalize-vars' (Bug #14214).
6138
6139 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
6140
6141 New defun movement commands.
6142 * progmodes/python.el (python-nav--syntactically)
6143 (python-nav--forward-defun, python-nav-backward-defun)
6144 (python-nav-forward-defun): New functions.
6145
6146 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
6147
6148 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
6149 (python-syntax-context): Use named compiler-macro for backwards
6150 compatibility with Emacs 24.x.
6151
6152 2013-04-17 Leo Liu <sdl.web@gmail.com>
6153
6154 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
6155 octave-hide-process-buffer.
6156
6157 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
6158
6159 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
6160 (bug#14216).
6161
6162 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
6163
6164 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
6165 Fix adjustment of offset when receiving incomplete responses from GDB
6166 (bug#14129).
6167
6168 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
6169
6170 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
6171 python-mode-abbrev-table.
6172 (python-skeleton-define): Adjust accordingly.
6173 (python-mode-abbrev-table): New table that inherits from it so that
6174 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
6175
6176 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
6177 (abbrev-symbol): Use it.
6178 (abbrev--before-point): Use it since we already handle inheritance.
6179
6180 2013-04-16 Leo Liu <sdl.web@gmail.com>
6181
6182 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
6183 binding to info-lookup-symbol.
6184
6185 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
6186
6187 * minibuffer.el (completion--twq-all):
6188 * term/ns-win.el (ns-initialize-window-system):
6189 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
6190
6191 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
6192
6193 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
6194 global bindings.
6195
6196 * doc-view.el (doc-view-start-process): Handle url-handler directories.
6197
6198 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
6199
6200 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
6201 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
6202 to nil.
6203 (ruby-end-of-defun): Remove the unused arg, change the docstring
6204 to reflect that this function is only used as the value of
6205 `end-of-defun-function'.
6206 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
6207 to reflect an earlier change that beginning/end-of-defun functions
6208 jump between methods in a class definition, as well as top-level
6209 functions.
6210
6211 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
6212
6213 * minibuffer.el (minibuffer-complete): Don't just scroll
6214 a *Completions* that's been iconified.
6215 (minibuffer-force-complete): Make sure repetitions do cycle when going
6216 through completion-in-region -> minibuffer-complete.
6217
6218 2013-04-15 Alan Mackenzie <acm@muc.de>
6219
6220 Correct the placement of c-cpp-delimiters when there're #s not at
6221 col 0.
6222
6223 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
6224 place a submatch around the #.
6225 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
6226 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
6227 on the #, not BOL.
6228
6229 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
6230
6231 * emacs-lisp/nadvice.el: Properly test names when adding advice.
6232 (advice--member-p): New arg `name'.
6233 (advice--add-function, advice-member-p): Use it (bug#14202).
6234
6235 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
6236
6237 Reformulate java imenu-generic-expression.
6238 The old expression contained ill formed regexps.
6239
6240 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
6241 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
6242 (cc-imenu-java-method-arg-regexp): New defconsts.
6243 (cc-imenu-java-build-type-args-regex): New defun.
6244 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
6245 handling of spaces in the regexp.
6246
6247 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6248
6249 * textmodes/ispell.el (ispell-command-loop): Remove
6250 flyspell highlight of a word when ispell accepts it (bug #14178).
6251
6252 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
6253
6254 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
6255 uses code from the previous `ange-ftp-run-real-handler'.
6256 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
6257 only in case that function exist. This is needed for proper
6258 unloading of Tramp.
6259
6260 2013-04-15 Tassilo Horn <tsdh@gnu.org>
6261
6262 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
6263
6264 * textmodes/reftex.el (reftex-compile-variables): Use it.
6265
6266 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
6267
6268 * files.el (normal-mode): Only use default major-mode if no other mode
6269 was specified.
6270
6271 * emacs-lisp/trace.el (trace-values): New function.
6272
6273 * files.el: Allow : in local variables (bug#14089).
6274 (hack-local-variable-regexp): New var.
6275 (hack-local-variables-prop-line, hack-local-variables): Use it.
6276
6277 2013-04-13 Roland Winkler <winkler@gnu.org>
6278
6279 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
6280 data before it gets modified by bibtex-beginning-of-entry.
6281
6282 2013-04-13 Roland Winkler <winkler@gnu.org>
6283
6284 * textmodes/bibtex.el (bibtex-url): Doc fix.
6285
6286 2013-04-13 Roland Winkler <winkler@gnu.org>
6287
6288 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
6289 does not visit a BibTeX file, exclude it from the list of buffers
6290 returned by bibtex-initialize.
6291
6292 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
6293
6294 * window.el (split-window): Remove interactive form, since as a
6295 command this function is a special case of split-window-below.
6296 Correct doc string.
6297
6298 2013-04-12 Roland Winkler <winkler@gnu.org>
6299
6300 * faces.el (read-face-name): Do not override value of arg default.
6301 Allow single faces and strings as default values. Remove those
6302 elements from return value that are not faces.
6303 (describe-face): Simplify.
6304 (face-at-point): New optional args thing and multiple so that this
6305 function can provide the same functionality previously provided by
6306 read-face-name.
6307 (make-face-bold, make-face-unbold, make-face-italic)
6308 (make-face-unitalic, make-face-bold-italic, invert-face)
6309 (modify-face, read-face-and-attribute): Use face-at-point.
6310
6311 * cus-edit.el (customize-face, customize-face-other-window)
6312 * cus-theme.el (custom-theme-add-face)
6313 * face-remap.el (buffer-face-set)
6314 * facemenu.el (facemenu-set-face): Use face-at-point.
6315
6316 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
6317
6318 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
6319
6320 2013-04-10 Tassilo Horn <tsdh@gnu.org>
6321
6322 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
6323 off leading { and trailing } from field values.
6324
6325 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
6326
6327 * emacs-lisp/timer.el (timer--check): New function.
6328 (timer--time, timer-set-function, timer-event-handler): Use it.
6329 (timer-set-idle-time): Simplify.
6330 (timer--activate): CSE.
6331 (timer-event-handler): Give more info in error message.
6332 (internal-timer-start-idle): New function, moved from C.
6333
6334 * mpc.el (mpc-proc): Add `restart' argument.
6335 (mpc-proc-cmd): Use it.
6336 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
6337 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
6338 less often.
6339
6340 2013-04-10 Masatake YAMATO <yamato@redhat.com>
6341
6342 * progmodes/sh-script.el: Implement `sh-mode' own
6343 `add-log-current-defun-function' (bug#14112).
6344 (sh-current-defun-name): New function.
6345 (sh-mode): Use the function.
6346
6347 2013-04-09 Bastien Guerry <bzg@gnu.org>
6348
6349 * simple.el (choose-completion-string): Fix docstring (bug#14163).
6350
6351 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
6352
6353 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
6354
6355 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
6356 timer (bug#14156).
6357
6358 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
6359
6360 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
6361 declaration.
6362
6363 2013-04-07 Leo Liu <sdl.web@gmail.com>
6364
6365 * pcmpl-x.el: New file.
6366
6367 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
6368
6369 Do not set x-display-name until X connection is established.
6370 This is needed to prevent from weird situation described at
6371 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
6372 * frame.el (make-frame): Set x-display-name after call to
6373 window system initialization function, not before.
6374 * term/x-win.el (x-initialize-window-system): Add optional
6375 display argument and use it.
6376 * term/w32-win.el (w32-initialize-window-system):
6377 * term/ns-win.el (ns-initialize-window-system):
6378 * term/pc-win.el (msdos-initialize-window-system):
6379 Add compatible optional display argument.
6380
6381 2013-04-06 Eli Zaretskii <eliz@gnu.org>
6382
6383 * files.el (normal-backup-enable-predicate): On MS-Windows and
6384 MS-DOS compare truenames of temporary-file-directory and of the
6385 file, so that 8+3 aliases (usually found in $TEMP on Windows)
6386 don't fail comparison by compare-strings. Also, compare file
6387 names case-insensitively on MS-Windows and MS-DOS.
6388
6389 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
6390
6391 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
6392 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
6393
6394 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
6395
6396 * whitespace.el (whitespace-color-on, whitespace-color-off):
6397 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
6398
6399 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
6400
6401 * ispell.el (ispell-set-spellchecker-params):
6402 Really set `ispell-args' for all equivs.
6403
6404 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
6405
6406 * ido.el (ido-completions): Use extra elements of ido-decorations
6407 (bug#14143).
6408 (ido-decorations): Update docstring.
6409
6410 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
6411
6412 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
6413 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
6414 nil during initialization, in order not to miss changes since the
6415 file was opened. (Bug#14140)
6416
6417 2013-04-05 Leo Liu <sdl.web@gmail.com>
6418
6419 * kmacro.el (kmacro-call-macro): Fix bug#14135.
6420
6421 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
6422
6423 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
6424
6425 2013-04-04 Glenn Morris <rgm@gnu.org>
6426
6427 * electric.el (electric-pair-inhibit-predicate): Add :version.
6428
6429 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
6430
6431 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
6432 when a package is required several times (bug#14082).
6433
6434 2013-04-04 Roland Winkler <winkler@gnu.org>
6435
6436 * faces.el (read-face-name): Behave as promised by the docstring.
6437 Assume that arg default is a list of faces.
6438 (describe-face): Call read-face-name with list of default faces.
6439
6440 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6441
6442 * bookmark.el: Fix deletion of bookmarks (bug#13972).
6443 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
6444 (bookmark-bmenu-execute-deletions): Only skip first line if it's
6445 the header.
6446 (bookmark-exit-hook-internal): Save even if list is empty.
6447
6448 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
6449
6450 * emacs-lisp/package.el (package-pinned-packages): New var.
6451 (package--add-to-archive-contents): Obey it (bug#14118).
6452
6453 2013-04-03 Alan Mackenzie <acm@muc.de>
6454
6455 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
6456 Also adapt to the new values of element 7 of a parse state.
6457
6458 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
6459 parameter `not-in-delimiter'. Handle being inside comment opener.
6460 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
6461 character in case we're typing a '*' after a '/'.
6462 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
6463 instead by passing the parameter to c-state-pp-to-literal.
6464
6465 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
6466 for elt. 7 of a parse state.
6467
6468 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
6469
6470 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
6471 * international/latin1-disp.el, international/mule-util.el:
6472 * language/cyril-util.el, language/european.el, language/ind-util.el:
6473 * language/lao-util.el, language/thai.el, language/tibet-util.el:
6474 * language/tibetan.el, language/viet-util.el:
6475 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
6476
6477 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
6478
6479 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
6480 (electric-pair-post-self-insert-function): Use it.
6481 (electric-pair-default-inhibit): New function, extracted from
6482 electric-pair-post-self-insert-function.
6483
6484 2013-03-31 Roland Winkler <winkler@gnu.org>
6485
6486 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
6487
6488 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
6489
6490 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
6491
6492 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
6493
6494 Un-indent after "pass" and "return" statements (Bug#13888)
6495 * progmodes/python.el (python-indent-block-enders): New var.
6496 (python-indent-calculate-indentation): Use it.
6497
6498 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
6499
6500 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
6501 defun. Defining it as defalias could introduce too eager
6502 byte-compiler optimization. (Bug#14030)
6503
6504 2013-03-30 Chong Yidong <cyd@gnu.org>
6505
6506 * iswitchb.el (iswitchb-read-buffer): Fix typo.
6507
6508 2013-03-30 Leo Liu <sdl.web@gmail.com>
6509
6510 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
6511 (kmacro-execute-from-register): Pass the keyboard macro to
6512 kmacro-call-macro or repeating won't work correctly.
6513
6514 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
6515
6516 * progmodes/subword.el: Back to using `forward-symbol'.
6517
6518 * subr.el (forward-whitespace, forward-symbol)
6519 (forward-same-syntax): Move from thingatpt.el.
6520
6521 2013-03-29 Leo Liu <sdl.web@gmail.com>
6522
6523 * kmacro.el (kmacro-to-register): New command.
6524 (kmacro-execute-from-register): New function.
6525 (kmacro-keymap): Bind to 'x'. (Bug#14071)
6526
6527 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
6528
6529 * mpc.el: Use defvar-local and setq-local.
6530 (mpc--proc-connect): Connection failures are not bugs.
6531 (mpc-mode-map): `follow-link' only applies to the buffer's content.
6532 (mpc-volume-map): Bind to the up-events.
6533
6534 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
6535
6536 * progmodes/subword.el (superword-mode): Use `forward-sexp'
6537 instead of `forward-symbol'.
6538
6539 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
6540
6541 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
6542 (edebug--recursive-edit): Use it.
6543 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
6544 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
6545
6546 2013-03-28 Leo Liu <sdl.web@gmail.com>
6547
6548 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
6549
6550 2013-03-27 Eli Zaretskii <eliz@gnu.org>
6551
6552 * facemenu.el (list-colors-callback): New defvar.
6553 (list-colors-redisplay): New function.
6554 (list-colors-display): Install list-colors-redisplay as the
6555 revert-buffer-function. (Bug#14063)
6556
6557 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
6558
6559 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
6560 and suffixes don't overlap (bug#14061).
6561
6562 * case-table.el: Use lexical-binding.
6563 (case-table-get-table): New function.
6564 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
6565
6566 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
6567
6568 * progmodes/subword.el: Add `superword-mode' to do word motion
6569 over symbol_words (parallels and leverages `subword-mode' which
6570 does word motion inside MixedCaseWords).
6571
6572 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
6573
6574 * eshell/em-unix.el: Move su and sudo to...
6575 * eshell/em-tramp.el: ...Eshell tramp module.
6576
6577 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
6578
6579 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
6580 Change return value to be a sexp. Delay `get-buffer' to after
6581 restoring the desktop (bug#13951).
6582
6583 2013-03-26 Leo Liu <sdl.web@gmail.com>
6584
6585 * register.el: Move semantic tag handling back to
6586 cedet/semantic/senator.el. (Bug#14052)
6587
6588 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
6589
6590 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
6591 into the prompt either (bug#13963).
6592
6593 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
6594
6595 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
6596 part of "(error-foo)".
6597
6598 2013-03-24 Juri Linkov <juri@jurta.org>
6599
6600 * replace.el (list-matching-lines-prefix-face): New defcustom.
6601 (occur-1): Pass `list-matching-lines-prefix-face' to the function
6602 `occur-engine' if `face-differs-from-default-p' returns t.
6603 (occur-engine): Add `,' inside backquote construct to evaluate
6604 `prefix-face'. Propertize the prefix with the `prefix-face' face.
6605 Pass `prefix-face' to the functions `occur-context-lines' and
6606 `occur-engine-add-prefix'.
6607 (occur-engine-add-prefix, occur-context-lines): Add optional arg
6608 `prefix-face' and propertize the prefix with `prefix-face'.
6609 (Bug#14017)
6610
6611 2013-03-24 Leo Liu <sdl.web@gmail.com>
6612
6613 * nxml/rng-valid.el (rng-validate-while-idle)
6614 (rng-validate-quick-while-idle): Guard against deleted buffer.
6615 (Bug#13999)
6616
6617 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
6618 is the last entry in kill-buffer-hook.
6619
6620 * files.el (kill-buffer-hook): Doc fix.
6621
6622 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
6623
6624 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
6625 Make it safe-local.
6626
6627 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
6628
6629 2013-03-23 Leo Liu <sdl.web@gmail.com>
6630
6631 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
6632 Remove.
6633
6634 * nxml/rng-valid.el (rng-validate-mode)
6635 (rng-after-change-function, rng-do-some-validation):
6636 * nxml/rng-maint.el (rng-validate-buffer):
6637 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
6638 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
6639 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
6640 (nxml-extend-after-change-region): Use with-silent-modifications.
6641
6642 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
6643 timer-idle-list.
6644
6645 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
6646 (rng-next-error-1, rng-previous-error-1): Do not let-bind
6647 timer-idle-list. (Bug#13999)
6648
6649 2013-03-23 Juri Linkov <juri@jurta.org>
6650
6651 * info.el (info-index-match): New face.
6652 (Info-index, Info-apropos-matches): Add a nested subgroup to the
6653 main pattern and add text properties with the new face to matches
6654 in index entries relative to the beginning of the index entry.
6655 (Bug#14015)
6656
6657 2013-03-21 Eric Ludlam <zappo@gnu.org>
6658
6659 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
6660 Inhibit read only while inserting objects.
6661
6662 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
6663
6664 * progmodes/cfengine.el: Update docs to mention
6665 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
6666 symbol motion. Remove "_" from the word syntax.
6667
6668 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
6669
6670 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
6671 syntax for both `cfengine2-mode' and `cfengine3-mode'.
6672
6673 2013-03-20 Juri Linkov <juri@jurta.org>
6674
6675 * info.el (Info-next-reference-or-link)
6676 (Info-prev-reference-or-link): New functions.
6677 (Info-next-reference, Info-prev-reference): Use them.
6678 (Info-try-follow-nearest-node): Handle footnote navigation.
6679 (Info-fontify-node): Fontify footnotes. (Bug#13989)
6680
6681 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
6682
6683 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
6684 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
6685
6686 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
6687
6688 Suppress unnecessary non-ASCII chatter during build process.
6689 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
6690 (batch-skkdic-convert): Suppress most of the chatter.
6691 It's not needed so much now that machines are faster,
6692 and its non-ASCII component was confusing; see Dmitry Gutov in
6693 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
6694
6695 2013-03-20 Leo Liu <sdl.web@gmail.com>
6696
6697 * ido.el (ido-chop): Fix bug#10994.
6698
6699 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
6700
6701 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
6702 Remove vars.
6703 (whitespace-color-on, whitespace-color-off):
6704 Use `font-lock-fontify-buffer' (Bug#13817).
6705
6706 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
6707
6708 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
6709 remapping in mode-line.
6710 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
6711
6712 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
6713
6714 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
6715 value for `whitespace-line' face (Bug#13875).
6716 (whitespace-font-lock-keywords): Change description.
6717 (whitespace-color-on): Don't save `font-lock-keywords' value, save
6718 the constructed keywords instead.
6719 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
6720
6721 2013-03-19 Leo Liu <sdl.web@gmail.com>
6722
6723 * progmodes/compile.el (compilation-display-error): New command.
6724 (compilation-mode-map, compilation-minor-mode-map): Bind it to
6725 C-o. (Bug#13992)
6726
6727 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
6728
6729 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
6730
6731 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
6732
6733 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
6734
6735 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
6736
6737 * net/tramp-compat.el (tramp-compat-user-error): New defun.
6738
6739 * net/tramp-adb.el (tramp-adb-handle-shell-command):
6740 * net/tramp-gvfs.el (top):
6741 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
6742 (tramp-handle-shell-command): Use it.
6743 (tramp-dissect-file-name): Raise an error when hostname is a
6744 method name, and neither method nor user is specified.
6745
6746 * net/trampver.el: Update release number.
6747
6748 2013-03-18 Leo Liu <sdl.web@gmail.com>
6749
6750 Make sure eldoc can be turned off properly.
6751 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
6752 eldoc-mode.
6753 (eldoc-display-message-p): Revert last change.
6754 (eldoc-display-message-no-interference-p)
6755 (eldoc-print-current-symbol-info): Tweak.
6756
6757 2013-03-18 Tassilo Horn <tsdh@gnu.org>
6758
6759 * doc-view.el (doc-view-new-window-function): Check the new window
6760 overlay's display property instead the char property of the
6761 buffer's first char. Use `with-selected-window' instead of
6762 `save-window-excursion' with `select-window'.
6763 (doc-view-document->bitmap): Check the current doc-view overlay's
6764 display property instead the char property of the buffer's first char.
6765
6766 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
6767
6768 Automate the build of ja-dic.el (Bug#13984).
6769 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
6770 from the input, rather than assume that it's been done for us by the
6771 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
6772 the current date into a ja-dic.el comment, as that complicates
6773 regression testing.
6774
6775 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
6776
6777 * whitespace.el: Fix double evaluation.
6778 (whitespace-space, whitespace-hspace, whitespace-tab)
6779 (whitespace-newline, whitespace-trailing, whitespace-line)
6780 (whitespace-space-before-tab, whitespace-indentation)
6781 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
6782 obsolete defvars.
6783 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
6784 (whitespace-color-on): Use a single font-lock-add-keywords call.
6785 Fix double-evaluation of face variables.
6786
6787 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
6788
6789 * net/tramp-adb.el (tramp-adb-parse-device-names):
6790 Use `start-process' instead of `call-process'. Otherwise, the
6791 function might be blocked under MS Windows. (Bug#13299)
6792
6793 2013-03-17 Leo Liu <sdl.web@gmail.com>
6794
6795 Extend eldoc to display info in the mode-line. (Bug#13978)
6796 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
6797 (eldoc-mode-line-string): New variable.
6798 (eldoc-minibuffer-message): New function.
6799 (eldoc-message-function): New variable.
6800 (eldoc-message): Use it.
6801 (eldoc-display-message-p)
6802 (eldoc-display-message-no-interference-p):
6803 Support eldoc-post-insert-mode.
6804
6805 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
6806 (eval-expression): Run it.
6807
6808 2013-03-17 Roland Winkler <winkler@gnu.org>
6809
6810 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
6811 strings in the list of return values.
6812
6813 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
6814
6815 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
6816 radix before checking for HMS forms.
6817
6818 2013-03-16 Leo Liu <sdl.web@gmail.com>
6819
6820 * progmodes/scheme.el: Add indentation and font-locking for λ.
6821 (Bug#13975)
6822
6823 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
6824
6825 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
6826 token before point (bug#13942).
6827
6828 2013-03-16 Leo Liu <sdl.web@gmail.com>
6829
6830 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
6831
6832 2013-03-16 Eli Zaretskii <eliz@gnu.org>
6833
6834 * startup.el (command-line-normalize-file-name): Fix handling of
6835 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
6836 <xfq.free@gmail.com> in
6837 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
6838
6839 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
6840
6841 Sync with Tramp 2.2.7.
6842
6843 * net/trampver.el: Update release number.
6844
6845 2013-03-14 Tassilo Horn <tsdh@gnu.org>
6846
6847 * doc-view.el Fix bug#13887.
6848 (doc-view-insert-image): Don't modify overlay associated to
6849 non-live windows, and implement horizontal centering of image in
6850 case it's smaller than the window.
6851 (doc-view-new-window-function): Force redisplay of new windows on
6852 doc-view buffers.
6853
6854 2013-03-13 Karl Fogel <kfogel@red-bean.com>
6855
6856 * saveplace.el (save-place-alist-to-file): Don't sort
6857 `save-place-alist', just pretty-print it (bug#13882).
6858
6859 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
6860
6861 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
6862 Check whether `default-file-name-coding-system' is bound.
6863 It isn't in XEmacs.
6864
6865 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
6866
6867 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
6868 backquotes for `obsolete' (bug#13929).
6869
6870 * international/mule.el (find-auto-coding): Include file name in
6871 obsolescence warning (bug#13922).
6872
6873 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
6874
6875 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
6876 for CFEngine 3-specific indentation.
6877 (cfengine3-indent-line): Use it. Fix up category regex.
6878 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
6879
6880 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6881
6882 * type-break.el (type-break-file-name):
6883 * textmodes/remember.el (remember-data-file):
6884 * strokes.el (strokes-file):
6885 * shadowfile.el (shadow-initialize):
6886 * saveplace.el (save-place-file):
6887 * ps-bdf.el (bdf-cache-file):
6888 * progmodes/idlwave.el (idlwave-config-directory):
6889 * net/quickurl.el (quickurl-url-file):
6890 * international/kkc.el (kkc-init-file-name):
6891 * ido.el (ido-save-directory-list-file):
6892 * emulation/viper.el (viper-custom-file-name):
6893 * emulation/vip.el (vip-startup-file):
6894 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
6895 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
6896
6897 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
6898
6899 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
6900 * language/thai-word.el: Switch to UTF-8.
6901
6902 See ChangeLog.16 for earlier changes.
6903
6904 ;; Local Variables:
6905 ;; coding: utf-8
6906 ;; End:
6907
6908 Copyright (C) 2011-2013 Free Software Foundation, Inc.
6909
6910 This file is part of GNU Emacs.
6911
6912 GNU Emacs is free software: you can redistribute it and/or modify
6913 it under the terms of the GNU General Public License as published by
6914 the Free Software Foundation, either version 3 of the License, or
6915 (at your option) any later version.
6916
6917 GNU Emacs is distributed in the hope that it will be useful,
6918 but WITHOUT ANY WARRANTY; without even the implied warranty of
6919 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
6920 GNU General Public License for more details.
6921
6922 You should have received a copy of the GNU General Public License
6923 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.