* lisp/align.el: Use lexical-binding.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
dbb0d350
SM
12013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * align.el: Use lexical-binding.
4 (align-region): Simplify accordingly.
5
c88586a9
MA
62013-08-20 Michael Albinus <michael.albinus@gmx.de>
7
8 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
9
10 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
11 `non-essential' up.
12
f95527c8
MA
132013-08-17 Michael Albinus <michael.albinus@gmx.de>
14
15 * net/tramp.el:
16 * net/tramp-adb.el:
17 * net/tramp-cmds.el:
18 * net/tramp-ftp.el:
19 * net/tramp-gvfs.el:
20 * net/tramp-gw.el:
21 * net/tramp-sh.el: Don't wrap external variable declarations by
22 `eval-when-compile'.
23
4b5fe4ee
LMI
242013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
25
26 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
27 now that Emacs supports ImageMagick animations.
28
13c366c9
MA
292013-08-16 Michael Albinus <michael.albinus@gmx.de>
30
31 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
32 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
33
3dfc5cd6
MR
342013-08-16 Martin Rudalics <rudalics@gmx.at>
35
36 * window.el (mouse-autoselect-window-select): Do autoselect when
37 mouse pointer is on margin.
38
4bbb4381
WP
392013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
40
41 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
42
3a2ddc2d
GM
432013-08-16 Glenn Morris <rgm@gnu.org>
44
e8bedf5a
GM
45 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
46 Handle "Remote Directory" response of some clients. (Bug#15058)
47
58c4682f
GM
48 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
49 Tweak warning. (Bug#14926)
50
57953f49
GM
51 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
52 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
53
3a2ddc2d
GM
54 * image-mode.el (image-mode-map): Add menu items to reverse,
55 increase, decrease, reset animation speed.
56 (image--set-speed, image-increase-speed, image-decrease-speed)
57 (image-reverse-speed, image-reset-speed): New functions.
58 (image-mode-map): Add bindings for speed commands.
59
60 * image.el (image-animate-get-speed, image-animate-set-speed):
61 New functions.
62 (image-animate-timeout): Respect image :speed property.
63
10fa0ed3
SM
642013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
65
66 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
67 previous line (bug#15101).
68 (debugger-eval-expression, debugger-record-expression):
69 Use read--expression (bug#15102).
70
5d89d9d2
MA
712013-08-15 Michael Albinus <michael.albinus@gmx.de>
72
73 Remove byte compiler warnings, visible when compiling with
74 `byte-compile-force-lexical-warnings' set to t.
75
76 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
77 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
78 (tramp-handle-unhandled-file-name-directory)
79 (tramp-handle-file-notify-add-watch, tramp-action-login)
80 (tramp-action-succeed, tramp-action-permission-denied)
81 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
82 arguments with "_".
83
84 * net/tramp-adb.el (tramp-adb-parse-device-names)
85 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
86 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
87 (tramp-adb-handle-file-truename): Remove unused arguments.
88
89 * net/tramp-cache.el (tramp-flush-directory-property)
90 (tramp-flush-connection-property, tramp-list-connections)
91 (tramp-parse-connection-properties): Prefix unused arguments with "_".
92
10fa0ed3
SM
93 * net/tramp-compat.el (tramp-compat-make-temp-file):
94 Rename FILENAME to F.
5d89d9d2
MA
95
96 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
97 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
98 (tramp-zeroconf-parse-workstation-device-names)
99 (tramp-zeroconf-parse-webdav-device-names)
100 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
101
102 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
103 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
104
105 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
106 arguments.
107 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
108 (tramp-sh-handle-insert-file-contents-literally)
109 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
110 with "_".
111 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
112 Remove unused variables.
113
114 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
115 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
116 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
117
118 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
119 Make them a defconst.
120 (tramp-uuencode-region): Remove unused variable.
121
62f33bae
JB
1222013-08-14 Juanma Barranquero <lekktu@gmail.com>
123
124 * frameset.el (frameset--prop-setter): New function.
125 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
126 (frameset-filter-minibuffer): Deal with the case that the minibuffer
127 parameter was already set in FILTERED. Doc fix.
128 (frameset--record-minibuffer-relationships): Allow saving a
129 minibufferless frame without its corresponding minibuffer frame.
130 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
131 frame, if the frame id matches.
132 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
133 frames before orphaned ones.
134 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 135
c660a885
MR
1362013-08-14 Martin Rudalics <rudalics@gmx.at>
137
138 * window.el (window-make-atom): Don't overwrite parameter
139 already present.
140 (display-buffer-in-atom-window): Handle special case where we
141 split an already atomic window.
142 (window--major-non-side-window, display-buffer-in-side-window)
143 (window--side-check): Ignore minibuffer window when walking
144 window tree.
145 (window-deletable-p): Return 'frame only if no other frame uses
146 our minibuffer window.
147 (record-window-buffer): Run buffer-list-update-hook.
148 (split-window): Make sure window--check-frame won't destroy an
149 existing atomic window in case the new window gets nested
150 inside.
151 (display-buffer-at-bottom): Ignore minibuffer window when
152 walking window tree. Don't split a side window.
153 (pop-to-buffer): Don't set-buffer here, the select-window call
154 should do that.
155 (mouse-autoselect-window-select): Autoselect only if we are in the
156 text portion of the window.
157
8259030d
LMI
1582013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
159
21c58ae2
LMI
160 * net/shr.el (shr-parse-image-data): New function to grab both the
161 data itself and the Content-Type.
162 (shr-put-image): Use it.
163
164 * net/eww.el (eww-display-image): Ditto.
165
8259030d
LMI
166 * image.el (image-content-type-suffixes): New variable.
167
ad756449
FEG
1682013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
169
170 * progmodes/python.el (python-imenu--build-tree)
171 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
172
f73f4ce6
XF
1732013-08-13 Xue Fuqiao <xfq.free@gmail.com>
174
175 * simple.el (backward-word): Mention the optional argument.
176
1f585e65
SM
1772013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
178
179 * frameset.el (frameset--make): Rename constructor from make-frameset.
180 (frameset-p, frameset-valid-p): Don't autoload.
181 (frameset-valid-p): Use normal accessors.
182
af1c6c84
GM
1832013-08-13 Glenn Morris <rgm@gnu.org>
184
55e47f95
GM
185 * progmodes/compile.el (compile-command): Tweak example in doc.
186 * obsolete/scribe.el (scribe-mode):
187 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
188
f0024d8c
GM
189 * mail/feedmail.el (feedmail-confirm-outgoing)
190 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
191
192 * cus-start.el (truncate-partial-width-windows): Fix type.
193
194 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
195
af1c6c84
GM
196 * net/shr.el (shr-table-horizontal-line): Fix custom type.
197
5514cc4c
SM
1982013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
199
200 * emacs-lisp/timer.el (timer--time-setter): New function.
201 (timer--time): Use it as gv-setter.
202
203 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
204 setter is not a symbol.
205
7997a2f1
GJ
2062013-08-12 Grégoire Jadi <daimrod@gmail.com>
207
208 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
209 if sending fails. This makes debugging easier.
210
01f1a9ab
JB
2112013-08-12 Juanma Barranquero <lekktu@gmail.com>
212
213 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
214 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
215 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
216
594a4307
EZ
2172013-08-12 Eli Zaretskii <eliz@gnu.org>
218
219 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
220
7a22490f 2212013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
222
223 * format.el (format-annotate-function):
224 Handle read-only text properties in the source. (Bug#14887)
225
3e41a054
LMI
2262013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
227
5514cc4c
SM
228 * net/eww.el (eww-display-html): Ignore coding system errors.
229 One web site uses "utf-8lias" as the coding system.
3e41a054 230
7ec326db
JB
2312013-08-11 Juanma Barranquero <lekktu@gmail.com>
232
233 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
234
5660113b
JB
2352013-08-10 Juanma Barranquero <lekktu@gmail.com>
236
9a4ebc74
JB
237 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
238 (tutorial--detailed-help): Remove unused local variables.
239 (tutorial--save-tutorial-to): Use ignore-errors.
240 (help-with-tutorial): Use looking-at-p.
241
242 * view.el (view-buffer-other-window, view-buffer-other-frame):
243 Mark unused arguments.
244
245 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
246 (woman-select-symbol-fonts, woman, woman-find-file)
247 (woman-insert-file-contents, woman-non-underline-faces):
248 Use string-match-p.
249 (woman1-unquote): Move declaration.
250
251 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
252 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
253 argument. Remove unused local variable.
254 (xml-parse-elem-type): Use string-match-p.
255 (xml-substitute-numeric-entities): Use ignore-errors.
256
45fdb482
JB
257 * calculator.el (calculator): Mark unused argument.
258 (calculator-paste, calculator-quit, calculator-integer-p):
259 Use ignore-errors.
260 (calculator-string-to-number, calculator-decimal, calculator-exp)
261 (calculator-op-or-exp): Use string-match-p.
262
263 * dired.el (dired-buffer-more-recently-used-p): Declare.
264 (dired-insert-set-properties, dired-insert-old-subdirs):
265 Use ignore-errors.
266
267 * dired-aux.el (dired-compress): Use ignore-errors.
268 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
269 (dired-do-async-shell-command, dired-do-shell-command)
270 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
271 (dired-insert-subdir-validate): Use string-match-p.
272 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
273 (dired-add-entry): Use string-match-p, looking-at-p.
274 (dired-insert-subdir-newpos): Remove unused local variable.
275
276 * filenotify.el (file-notify-callback): Remove unused local variable.
277
278 * filesets.el (filesets-error): Mark unused argument.
279 (filesets-which-command-p, filesets-filter-dir-names)
280 (filesets-directory-files, filesets-get-external-viewer)
281 (filesets-ingroup-get-data): Use string-match-p.
282
283 * find-file.el (ff-other-file-name, ff-other-file-name)
284 (ff-find-the-other-file, ff-cc-hh-converter):
285 Remove unused local variables.
286 (ff-get-file-name): Use string-match-p.
287 (ff-all-dirs-under): Use ignore-errors.
288
289 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
290 (follow-select-if-visible): Remove unused local variable.
291
292 * forms.el (read-file-filter): Move declaration.
293 (forms--make-format, forms--make-parser, forms-insert-record):
294 Quote function with #'.
295 (forms--update): Use string-match-p. Quote function with #'.
296
297 * help-mode.el (help-dir-local-var-def): Mark unused argument.
298 (help-make-xrefs): Use looking-at-p.
299 (help-xref-on-pp): Use looking-at-p, ignore-errors.
300
301 * ibuffer.el (ibuffer-ext-visible-p): Declare.
302 (ibuffer-confirm-operation-on): Use string-match-p.
303
304 * msb.el (msb-item-handler, msb-dired-item-handler):
305 Mark unused arguments.
306
307 * ses.el (ses-decode-cell-symbol)
308 (ses-kill-override): Remove unused local variable.
309 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
310 (ses-load): Use ignore-errors, looking-at-p.
311 (ses-jump-safe): Use ignore-errors.
312 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
313
314 * tabify.el (untabify, tabify): Mark unused arguments.
315
316 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
317 Mark unused argument.
318 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
319 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
320
c880af52
JB
321 * emacs-lisp/timer.el (timer--time): Define setter with
322 gv-define-setter to avoid deprecation warning.
323
5660113b 324 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 325 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
326 (cmpl-statistics-block): Remove (body was commented out).
327 All callers changed.
328 (add-completions-from-buffer, load-completions-from-file):
329 Remove unused variables.
330
156aab80
JB
3312013-08-09 Juanma Barranquero <lekktu@gmail.com>
332
5c5dee78
JB
333 * filecache.el (file-cache-delete-file-list):
334 Print message only when told so.
335 (file-cache-files-matching): Use #' in mapconcat argument.
336
156aab80
JB
337 * ffap.el (ffap-url-at-point): Fix reference to variable
338 thing-at-point-default-mail-uri-scheme.
339
ad9dcd70
SM
3402013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
341
54bd972f
SM
342 * subr.el (define-error): New function.
343 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
344 error-file-not-found and define with define-error.
345 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
346 and define with define-error.
347 * userlock.el (file-locked, file-supersession):
348 * simple.el (mark-inactive):
349 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
350 * progmodes/ada-mode.el (ada-mode-errors):
351 * play/life.el (life-extinct):
352 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
353 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
354 * nxml/rng-util.el (rng-error):
355 * nxml/rng-uri.el (rng-uri-error):
356 * nxml/rng-match.el (rng-compile-error):
357 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
358 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
359 * nxml/nxml-rap.el (nxml-scan-error):
360 * nxml/nxml-outln.el (nxml-outline-error):
361 * net/soap-client.el (soap-error):
362 * net/gnutls.el (gnutls-error):
363 * net/ange-ftp.el (ftp-error):
364 * mpc.el (mpc-proc-error):
365 * json.el (json-error, json-readtable-error, json-unknown-keyword)
366 (json-number-format, json-string-escape, json-string-format)
367 (json-key-format, json-object-format):
368 * jka-compr.el (compression-error):
369 * international/quail.el (quail-error):
370 * international/kkc.el (kkc-error):
371 * emacs-lisp/ert.el (ert-test-failed):
372 * calc/calc.el (calc-error, inexact-result, math-overflow)
373 (math-underflow):
374 * bookmark.el (bookmark-error-no-filename):
375 * epg.el (epg-error): Define with define-error.
376
0ea9e53a
SM
377 * time.el (display-time-event-handler)
378 (display-time-next-load-average): Don't call sit-for since it seems
379 unnecessary (bug#15045).
380
b0429158
SM
381 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
382 Use #' instead of ' to quote functions.
383 (checkdoc-output-mode): Use setq-local.
384 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
385 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
386 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
387 (checkdoc-ispell, checkdoc-ispell-current-buffer)
388 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
389 (checkdoc-ispell-message-text, checkdoc-ispell-start)
390 (checkdoc-ispell-continue, checkdoc-ispell-comments)
391 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
392
ad9dcd70
SM
393 * ido.el (ido-completion-help): Fix up compiler warning.
394
77187e6f
JB
3952013-08-09 Juanma Barranquero <lekktu@gmail.com>
396
397 * frameset.el (frameset-p): Add autoload cookie.
398 (frameset--jump-to-register): New function, based on code moved from
399 register.el.
400 (frameset-to-register): Move from register.el. Adapt to `registerv'.
401
402 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
403 (frameset-restore, frameset-save, frameset-session-filter-alist):
404 Remove declarations.
405 (register-alist): Doc fix.
406 (frameset-to-register): Move to frameset.el.
407 (jump-to-register, describe-register-1): Remove frameset-specific code.
408
9d3aa82c
JB
4092013-08-08 Juanma Barranquero <lekktu@gmail.com>
410
411 * allout-widgets.el (allout-widgets-pre-command-business)
412 (allout-widgets-post-command-business)
413 (allout-widgets-after-change-handler)
414 (allout-decorate-item-and-context, allout-set-boundary-marker)
415 (allout-body-modification-handler)
416 (allout-graphics-modification-handler): Mark ignored arguments.
417 (allout-widgets-post-command-business)
418 (allout-widgets-exposure-change-processor)
419 (allout-widgets-exposure-undo-processor)
420 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
421 (allout-parse-item-at-point, allout-decorate-item-guides)
422 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
423 * allout.el (epa-passphrase-callback-function): Declare.
424 (allout-overlay-insert-in-front-handler)
425 (allout-overlay-interior-modification-handler)
426 (allout-isearch-end-handler, allout-chart-siblings)
427 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
428 (allout-yank-processing, allout-process-exposed)
429 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 430 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
431 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
432 (lisp-indent-defform): Mark ignored arguments.
433 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
434 (calculate-lisp-indent): Remove unused variables.
435 * international/characters.el (indian-2-column, arabic-2-column)
436 (tibetan): Mark ignored arguments.
437 (use-cjk-char-width-table): Mark ignored arguments.
438 Remove unused variables.
439 * international/fontset.el (build-default-fontset-data)
440 (x-compose-font-name, create-fontset-from-fontset-spec):
441 Mark ignored arguments.
442 (fontset-plain-name): Remove unused variables.
443 * international/mule.el (charset-id, charset-bytes, generic-char-p)
444 (keyboard-coding-system): Mark ignored arguments.
445 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
446 * help.el (resize-temp-buffer-window):
447 * window.el (display-buffer-in-major-side-window)
448 (display-buffer-in-side-window, display-buffer-in-previous-window):
449 Remove unused variables.
450 * isearch.el (isearch-forward-symbol):
451 * version.el (emacs-bzr-version-bzr):
452 * international/mule-cmds.el (current-language-environment):
453 * term/common-win.el (x-handle-iconic, x-handle-geometry)
454 (x-handle-display):
455 * term/pc-win.el (x-list-fonts, x-display-planes)
456 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
457 (x-server-version, x-display-screens, x-display-mm-height)
458 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
459 (x-selection-owner-p, x-own-selection-internal)
460 (x-disown-selection-internal, x-get-selection-internal)
461 (msdos-initialize-window-system):
462 * term/tty-colors.el (tty-color-alist, tty-color-clear):
463 * term/x-win.el (x-handle-no-bitmap-icon):
464 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
465 (vc-default-find-file-hook, vc-default-extra-menu):
466 Mark ignored arguments.
467
0ca3f70e
SM
4682013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
469
470 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
471 break-condition in the context of the debugged code (bug#12685).
472
74c5d24c
CS
4732013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
474
475 * comint.el:
476 Do not use an overlay to highlight the last prompt. (Bug#14744)
477 (comint-mode): Make comint-last-prompt buffer local.
478 (comint-last-prompt): New variable.
479 (comint-last-prompt-overlay): Remove. Superseded by
480 comint-last-prompt.
0ca3f70e
SM
481 (comint-snapshot-last-prompt, comint-output-filter):
482 Use comint-last-prompt.
74c5d24c 483
c03c02ee
JB
4842013-08-08 Juanma Barranquero <lekktu@gmail.com>
485
a3738d20 486 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
487 (frameset-save): Check validity of the resulting frameset.
488
04263d23
XF
4892013-08-08 Xue Fuqiao <xfq.free@gmail.com>
490
491 * ido.el (ido-record-command): Add doc string.
492
76c5e5ab
JB
4932013-08-08 Juanma Barranquero <lekktu@gmail.com>
494
495 * frameset.el (frameset): Do not disable creation of the default
496 frameset-p predicate. Doc fix.
497 (frameset-valid-p): New function, copied from the old predicate-p.
498 Add additional checks.
499 (frameset-restore): Check with frameset-valid-p.
500 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
501 (frameset-name, frameset-description, frameset-properties)
502 (frameset-states): Add docstring.
f9dbf1cb
JB
503 (frameset-session-filter-alist, frameset-persistent-filter-alist)
504 (frameset-filter-alist): Doc fixes.
76c5e5ab 505
bd0c3c0b
JB
5062013-08-08 Juanma Barranquero <lekktu@gmail.com>
507
508 * frameset.el (frameset-p, frameset-prop): Doc fixes.
509
c735544c
SM
5102013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
511
512 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
513 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
514 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
515 (byte-compile-normal-call): Remove obsolescence check.
516
2805a651
JB
5172013-08-08 Juanma Barranquero <lekktu@gmail.com>
518
3677ffeb
JB
519 * frameset.el (frameset-restore): Doc fix.
520
2805a651
JB
521 * register.el (frameset-frame-id, frameset-frame-with-id)
522 (frameset-p, frameset-restore, frameset-save): Declare.
523 (register-alist): Document framesets.
524 (frameset-session-filter-alist): Declare.
525 (frameset-to-register): New function.
526 (jump-to-register): Implement jumping to framesets. Doc fix.
527 (describe-register-1): Describe framesets.
528
529 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
530
a912c016
JB
5312013-08-07 Juanma Barranquero <lekktu@gmail.com>
532
533 * desktop.el (desktop-save-frameset): Use new frameset-save args.
534 Use lexical-binding.
535
536 * frameset.el (frameset): Use type vector, not list (incompatible
537 change). Do not declare a new constructor, use the default one.
538 Upgrade suggested properties `app', `name' and `desc' to slots `app',
539 `name' and `description', respectively, and add read-only slot
540 `timestamp'. Doc fixes.
541 (frameset-copy, frameset-persistent-filter-alist)
542 (frameset-filter-alist, frameset-switch-to-gui-p)
543 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
544 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
545 (frameset-filter-iconified, frameset-keep-original-display-p):
546 Doc fixes.
547 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
548 Rename from frameset-filter-(save|restore)-param. All callers changed.
549 Doc fix.
550 (frameset-p): Adapt to change to vector and be more thorough.
551 Change arg name to OBJECT. Doc fix.
552 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
553 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
554 All callers changed.
555 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
556 All callers changed.
557 (frameset--record-minibuffer-relationships): Rename from
558 frameset--process-minibuffer-frames. All callers changed.
559 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
560 Use new default constructor (again). Doc fix.
561 (frameset--find-frame-if): Rename from `frameset--find-frame.
562 All callers changed.
563 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
564 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
565 Doc fix.
566 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
567 PARAMETERS and WINDOW-STATE, respectively.
568 (frameset-restore): Add new keyword argument PREDICATE.
569 Reset frameset--target-display to nil. Doc fix.
570
bb41480a
SM
5712013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
572
f001e98e
SM
573 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
574 (bat-mode): Use it.
575 (bat-mode-syntax-table): Mark \n as end-of-comment.
576 (bat-font-lock-keywords): Remove comment rule.
577
7679edb1
SM
578 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
579 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
580
bb41480a
SM
581 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
582 (byte-compile-callargs-warn): Use `push'.
583 (byte-compile-arglist-warn): Ignore higher-order "calls".
584 (byte-compile-file-form-autoload): Use `pcase'.
585 (byte-compile-function-form): If quoting a symbol, check that it exists.
586
cdc1ebb9
EZ
5872013-08-07 Eli Zaretskii <eliz@gnu.org>
588
589 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
590 and add a few popular commands found in batch files.
591 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
592 (dos-mode): Doc fixes.
593
312b1740
SM
5942013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
595
596 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
597 (dos-mode): Use setq-local. Add space after "rem".
598 (dos-mode-syntax-table): Don't use "w" for symbol chars.
599 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
600
400a3178
AM
6012013-08-07 Arni Magnusson <arnima@hafro.is>
602
603 * progmodes/dos.el: New file.
604 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
605 dos-mode.
606
3b5c03d3
GM
6072013-08-06 Glenn Morris <rgm@gnu.org>
608
609 * calendar/calendar.el: Add new faces, and day-header-array.
610 (calendar-weekday-header, calendar-weekend-header)
611 (calendar-month-header): New faces.
612 (calendar-day-header-construct): New function.
613 (calendar-day-header-width): Also :set calendar-day-header-array.
614 (calendar-american-month-header, calendar-european-month-header)
615 (calendar-iso-month-header): Use calendar- faces.
616 (calendar-generate-month):
617 Use calendar-day-header-array for day headers; apply faces to them.
618 (calendar-mode): Check calendar-font-lock-keywords non-nil.
619 (calendar-abbrev-construct): Add optional maxlen argument.
620 (calendar-day-name-array): Doc fix.
621 (calendar-day-name-array, calendar-abbrev-length)
622 (calendar-day-abbrev-array):
623 Also :set calendar-day-header-array, and maybe redraw.
624 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 625 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
626 (calendar-day-name): Add option to use header array.
627
ec6a2d7a
LMI
6282013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
629
630 * net/shr.el (shr-render-td): Remove debugging.
631 (shr-render-td): Make width computation consistent by defaulting
632 all zero-width columns to 10 characters. This may not be optimal,
633 but it's at least consistent.
2122cb6d
LMI
634 (shr-make-table-1): Redo last change to fix the real problem in
635 colspan handling.
ec6a2d7a 636
ed4fd9c5
DA
6372013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
638
0ca3f70e
SM
639 * files.el (cache-long-line-scans):
640 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 641
64e22afe
JB
6422013-08-06 Juanma Barranquero <lekktu@gmail.com>
643
024b38fc
JB
644 * frameset.el (frameset, frameset-filter-alist)
645 (frameset-filter-params, frameset-save, frameset--reuse-frame)
646 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
647 (frameset-compute-pos): Rename from frameset--compute-pos,
648 and add docstring.
649 (frameset-move-onscreen): Use frameset-compute-pos.
650 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
651
64e22afe
JB
652 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
653 Fix typos in docstrings.
654
c8c2aca8
DA
6552013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
656
657 * frame.el (get-other-frame): Tiny cleanup.
658
1d237bba
JB
6592013-08-06 Juanma Barranquero <lekktu@gmail.com>
660
8951efef
JB
661 * vc/vc.el (vc-default-ignore-completion-table):
662 Silence byte-compiler warning.
663
307764cc
JB
664 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
665 slot , which can indeed be nil.
666 (frameset-live-filter-alist, frameset-persistent-filter-alist):
667 Move entry for `left' from persistent to live filter alist.
668 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
669 Doc fixes.
670 (frameset-filter-params): When restoring a frame, copy items added to
671 `filtered', to avoid unwittingly modifying the original parameters.
672 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
673 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
674
1d237bba
JB
675 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
676 to use looking-at-p instead of looking-at. (Bug#15028)
677
dc6c0eda
SM
6782013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
679
680 Revert introduction of isearch-filter-predicates (bug#14714).
681 Rely on add-function instead.
682 * isearch.el (isearch-filter-predicates): Rename it back to
683 isearch-filter-predicate.
684 (isearch-message-prefix): Use advice-function-mapc and advice
685 properties to get the isearch-message-prefix.
686 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
687 instead of run-hook-with-args-until-failure.
688 (isearch-filter-visible): Not obsolete any more.
689 * loadup.el: Preload nadvice.
690 * replace.el (perform-replace): Revert to funcall
691 instead of run-hook-with-args-until-failure.
692 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
693 * dired-aux.el (dired-isearch-filenames-mode): Rename from
694 dired-isearch-filenames-toggle; make it into a proper minor mode.
695 Use add/remove-function.
696 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
697 Call the minor-mode rather than add/remove-hook.
698 (dired-isearch-filter-filenames):
699 Remove isearch-message-prefix property.
700 * info.el (Info--search-loop): New function, extracted from Info-search.
701 Funcall isearch-filter-predicate instead of
702 run-hook-with-args-until-failure isearch-filter-predicates.
703 (Info-search): Use it.
704 (Info-mode): Use isearch-filter-predicate instead of
705 isearch-filter-predicates.
706
290d5b58
DA
7072013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
708
709 Do not call to `selected-window' where it is assumed by default.
710 Affected functions are `window-minibuffer-p', `window-dedicated-p',
711 `window-hscroll', `window-width', `window-height', `window-buffer',
712 `window-frame', `window-start', `window-point', `next-window'
713 and `window-display-table'.
714 * abbrev.el (abbrev--default-expand):
715 * bs.el (bs--show-with-configuration):
716 * buff-menu.el (Buffer-menu-mouse-select):
717 * calc/calc.el (calc):
718 * calendar/calendar.el (calendar-generate-window):
719 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
720 (diary-make-entry):
721 * comint.el (send-invisible, comint-dynamic-complete-filename)
722 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
723 * completion.el (complete):
724 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
725 * disp-table.el (describe-current-display-table):
726 * doc-view.el (doc-view-insert-image):
727 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
728 * ehelp.el (with-electric-help):
729 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
730 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
731 * emacs-lisp/helper.el (Helper-help-scroller):
732 * emulation/cua-base.el (cua--post-command-handler-1):
733 * eshell/esh-mode.el (eshell-output-filter):
734 * ffap.el (ffap-gnus-wrapper):
735 * help-macro.el (make-help-screen):
736 * hilit-chg.el (highlight-compare-buffers):
737 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
738 * hl-line.el (global-hl-line-highlight):
739 * icomplete.el (icomplete-simple-completing-p):
740 * isearch.el (isearch-done):
741 * jit-lock.el (jit-lock-stealth-fontify):
742 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
743 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
744 * mpc.el (mpc-tagbrowser, mpc):
745 * net/rcirc.el (rcirc-any-buffer):
746 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
747 * play/landmark.el (landmark-max-width, landmark-max-height):
748 * play/zone.el (zone):
749 * progmodes/compile.el (compilation-goto-locus):
750 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
751 * progmodes/etags.el (find-tag-other-window):
752 * progmodes/fortran.el (fortran-column-ruler):
753 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
754 * progmodes/verilog-mode.el (verilog-point-text):
755 * reposition.el (reposition-window):
756 * rot13.el (toggle-rot13-mode):
757 * server.el (server-switch-buffer):
758 * shell.el (shell-dynamic-complete-command)
759 (shell-dynamic-complete-environment-variable):
760 * simple.el (insert-buffer, set-selective-display)
761 (delete-completion-window):
762 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
763 (speedbar-recenter):
764 * startup.el (fancy-splash-head):
765 * textmodes/ispell.el (ispell-command-loop):
766 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
767 * tutorial.el (help-with-tutorial):
768 * vc/add-log.el (add-change-log-entry):
769 * vc/compare-w.el (compare-windows):
770 * vc/ediff-help.el (ediff-indent-help-message):
771 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
772 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
773 (ediff-setup-control-frame):
774 * vc/emerge.el (emerge-position-region):
775 * vc/pcvs-util.el (cvs-bury-buffer):
776 * window.el (walk-windows, mouse-autoselect-window-select):
777 * winner.el (winner-set-conf, winner-undo): Related users changed.
778
38276e01
JB
7792013-08-05 Juanma Barranquero <lekktu@gmail.com>
780
781 * frameset.el (frameset--set-id): Doc fix.
782 (frameset-frame-id, frameset-frame-id-equal-p)
783 (frameset-locate-frame-id): New functions.
784 (frameset--process-minibuffer-frames, frameset--reuse-frame)
785 (frameset-restore): Use them.
786
12b4c0ea
DA
7872013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
788
789 Do not call to `selected-frame' where it is assumed by default.
790 Affected functions are `raise-frame', `redraw-frame',
791 `frame-first-window', `frame-terminal' and `delete-frame'.
792 * calendar/appt.el (appt-disp-window):
793 * epg.el (epg-wait-for-completion):
794 * follow.el (follow-delete-other-windows-and-split)
795 (follow-avoid-tail-recenter):
796 * international/mule.el (set-terminal-coding-system):
797 * mail/rmail.el (rmail-mail-return):
798 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
799 * progmodes/f90.el (f90-add-imenu-menu):
800 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
801 * server.el (server-switch-buffer):
802 * simple.el (delete-completion-window):
803 * talk.el (talk):
804 * term/xterm.el (terminal-init-xterm-modify-other-keys)
805 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
806 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
807 * vc/ediff.el (ediff-documentation): Related users changed.
808 * frame.el (selected-terminal): Remove the leftover.
809
17f25e76
GM
8102013-08-05 Glenn Morris <rgm@gnu.org>
811
812 * calendar/calendar.el (calendar-generate-month):
813 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
814 (calendar-generate-month, calendar-font-lock-keywords):
815 Fix for calendar-day-header-width > length of any day name.
17f25e76 816
063233c3
JB
8172013-08-05 Juanma Barranquero <lekktu@gmail.com>
818
819 * desktop.el (desktop-clear): Use new name of sort predicate.
820
821 * frameset.el (frameset): Add docstring. Move :version property to its
822 own `version' slot.
823 (frameset-copy): Rename from copy-frameset.
824 (frameset-p): Check more thoroughly.
825 (frameset-prop): Do not check for :version, which is no longer a prop.
826 (frameset-live-filter-alist, frameset-persistent-filter-alist):
827 Use new :never value instead of t.
828 (frameset-filter-alist): Expand and clarify docstring.
829 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
830 (frameset-filter-minibuffer, frameset-filter-save-param)
831 (frameset-filter-restore-param, frameset-filter-iconified):
832 Add pointer to docstring of frameset-filter-alist.
833 (frameset-filter-params): Rename filter values to be more meaningful:
834 :never instead of t, and reverse the meanings of :save and :restore.
835 (frameset--process-minibuffer-frames): Clarify error message.
836 (frameset-save): Avoid unnecessary and confusing call to framep.
837 Use new BOA constructor for framesets.
838 (frameset--reuse-list): Doc fix.
839 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
840 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
841 (frameset-minibufferless-first-p): Doc fix.
842 Rename from frameset-sort-frames-for-deletion.
843 (frameset-restore): Doc fixes. Use new function names.
844 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
845
d5671a82
JB
8462013-08-04 Juanma Barranquero <lekktu@gmail.com>
847
848 * desktop.el (desktop-restore-forces-onscreen)
849 (desktop-restore-reuses-frames): Document :keyword constant values.
850 (desktop-filter-parameters-alist): Remove, now identical to
851 frameset-filter-alist.
852 (desktop--filter-tty*): Remove, moved to frameset.el.
853 (desktop-save-frameset, desktop-restore-frameset):
854 Do not pass :filters argument.
855
856 * frameset.el (frameset-live-filter-alist)
857 (frameset-persistent-filter-alist): New variables.
858 (frameset-filter-alist): Use them. Add autoload cookie.
859 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
860 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
861 `frameset--id' (it's supposed to be internal to frameset.el).
862 (frameset--process-minibuffer-frames): Ditto. Doc fix.
863 (frameset--initial-params): New function.
864 (frameset--get-frame): Use it. Doc fix.
865 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
866 Accept :all, not 'all.
867 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
868 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
869 with fbound symbols. Fix frame id matching, and remove matching ids if
870 the frame being restored is deleted. Obey :delete.
871
671d5c16
SM
8722013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
873
874 * subr.el (macrop): New function.
875 (text-clone--maintaining): New var.
876 (text-clone--maintain): Rename from text-clone-maintain. Use it
877 instead of inhibit-modification-hooks.
878
879 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
880 a proxy, so as handle autoloads and redefinitions of the target.
881 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
882
883 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
884 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
885 (pcase--mutually-exclusive-p): New function.
886 (pcase--split-consp): Use it.
887 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
888 mutually exclusive with the current predicate.
889
890 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
891 (edebug-macrop): Remove. Use `macrop' instead.
892 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
893 (ad-macro-p):
894 * eshell/esh-cmd.el (eshell-macrop):
895 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
896
1d44e9dc
SM
8972013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
898
899 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
900 (advice-mapc): New function, using it.
901 (advice-function-member-p): New function.
902 (advice--normalize): Store the cdr in advice--saved-rewrite since
903 that's the part that will be changed.
904 (advice--symbol-function): New function.
905 (advice-remove): Handle removal before the function is defined.
906 Adjust to new advice--saved-rewrite.
907 (advice-member-p): Use advice-function-member-p and
908 advice--symbol-function.
909
5414a283
JB
9102013-08-04 Juanma Barranquero <lekktu@gmail.com>
911
51d30f2c
JB
912 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
913 (frameset-filter-minibuffer): Doc fix.
914 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
915 (frameset--set-id, frameset--process-minibuffer-frames)
916 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
917 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 918
5414a283
JB
919 * desktop.el (desktop-clear): Only delete frames when called
920 interactively and desktop-restore-frames is non-nil. Doc fix.
921 (desktop-read): Set desktop-saved-frameset to nil.
922
ab419665
XF
9232013-08-04 Xue Fuqiao <xfq.free@gmail.com>
924
925 * vc/vc.el (vc-ignore): Rewrite.
926 (vc-default-ignore-completion-table):
927 (vc--read-lines):
928 (vc--add-line, vc--remove-regexp): New functions.
929
930 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
931 (vc-svn-ignore-completion-table): New function.
932
933 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
934 (vc-hg-ignore-completion-table):
935 (vc-hg-find-ignore-file): New functions.
936
937 * vc/vc-git.el (vc-git-ignore): Rewrite.
938 (vc-git-ignore-completion-table):
939 (vc-git-find-ignore-file): New functions.
940
941 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
942
943 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
944 (vc-bzr-ignore-completion-table):
945 (vc-bzr-find-ignore-file): New functions.
946
2613dea2
JB
9472013-08-03 Juanma Barranquero <lekktu@gmail.com>
948
949 * frameset.el (frameset-prop): New function and setter.
950 (frameset-save): Do not modify frame list passed by the caller.
951
9c959872
SM
9522013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
953
954 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
955
a104f656
SM
9562013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
957
70122acf
SM
958 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
959 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
960
a104f656
SM
961 * custom.el (custom-initialize-default, custom-initialize-set)
962 (custom-initialize-reset, custom-initialize-changed): Affect the
963 toplevel-default-value (bug#6275, bug#14586).
964 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
965 for bug#6275.
966
f078d570
JB
9672013-08-02 Juanma Barranquero <lekktu@gmail.com>
968
185e3b5a
JB
969 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
970 Add cl-def* expressions.
971
f078d570
JB
972 * frameset.el (frameset-filter-params): Fix order of arguments.
973
9421876d
JB
9742013-08-02 Juanma Barranquero <lekktu@gmail.com>
975
976 Move code related to saving frames to frameset.el.
977 * desktop.el: Require frameset.
978 (desktop-restore-frames): Doc fix.
979 (desktop-restore-reuses-frames): Rename from
980 desktop-restoring-reuses-frames.
981 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
982 (desktop-clear): Clear frames too.
983 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
984 (desktop--filter-tty*, desktop-save, desktop-read):
985 Use frameset functions.
986 (desktop-before-saving-frames-functions, desktop--filter-*-color)
987 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
988 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
989 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
990 (desktop--process-minibuffer-frames, desktop-save-frames)
991 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
992 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
993 (desktop--sort-states, desktop-restoring-frames-p)
994 (desktop-restore-frames): Remove. Most code moved to frameset.el.
995 (desktop-restoring-frameset-p, desktop-restore-frameset)
996 (desktop--check-dont-save, desktop-save-frameset): New functions.
997 (desktop--app-id): New constant.
998 (desktop-first-buffer, desktop-buffer-ok-count)
999 (desktop-buffer-fail-count): Move before first use.
1000 * frameset.el: New file.
1001
76dc5996
SM
10022013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
1003
1004 * files.el: Use lexical-binding.
1005 (dir-locals-read-from-file): Remove unused `err' variable.
1006 (hack-dir-local-variables--warned-coding): New var.
1007 (hack-dir-local-variables): Use it to avoid repeated warnings.
1008 (make-backup-file-name--default-function): New function.
1009 (make-backup-file-name-function): Use it as default.
1010 (buffer-stale--default-function): New function.
1011 (buffer-stale-function): Use it as default.
1012 (revert-buffer-insert-file-contents--default-function): New function.
1013 (revert-buffer-insert-file-contents-function): Use it as default.
1014 (insert-directory): Avoid add-to-list.
1015
1016 * autorevert.el (auto-revert-handler): Simplify.
1017 Use buffer-stale--default-function.
1018
06d36e2b
TH
10192013-08-01 Tassilo Horn <tsdh@gnu.org>
1020
5f648ab4
TH
1021 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
1022
06d36e2b
TH
1023 * whitespace.el (whitespace-ensure-local-variables): New function.
1024 (whitespace-cleanup-region): Call it.
1025 (whitespace-turn-on): Call it.
1026
a43dc424
MA
10272013-08-01 Michael Albinus <michael.albinus@gmx.de>
1028
1029 Complete file name handlers.
1030
1031 * net/tramp.el (tramp-handle-set-visited-file-modtime)
1032 (tramp-handle-verify-visited-file-modtime)
1033 (tramp-handle-file-notify-rm-watch): New functions.
1034 (tramp-call-process): Do not bind `default-directory'.
1035
44e18199
JB
1036 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1037 Order alphabetically.
a43dc424
MA
1038 [access-file, add-name-to-file, dired-call-process]:
1039 [dired-compress-file, file-acl, file-notify-rm-watch]:
1040 [file-ownership-preserved-p, file-selinux-context]:
1041 [make-directory-internal, make-symbolic-link, set-file-acl]:
1042 [set-file-selinux-context, set-visited-file-modtime]:
1043 [verify-visited-file-modtime]: Add handler.
1044 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
1045
1046 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
1047 [file-notify-add-watch, file-notify-rm-watch]:
1048 [set-file-times, set-visited-file-modtime]:
1049 [verify-visited-file-modtime]: Add handler.
1050 (with-tramp-gvfs-error-message)
1051 (tramp-gvfs-handle-set-visited-file-modtime)
1052 (tramp-gvfs-fuse-file-name): Remove.
1053 (tramp-gvfs-handle-file-notify-add-watch)
1054 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
1055 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
1056
44e18199
JB
1057 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
1058 Order alphabetically.
a43dc424
MA
1059 [file-notify-rm-watch ]: Use default Tramp handler.
1060 [executable-find]: Remove private handler.
1061 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
1062 `default-directory'.
1063 (tramp-sh-handle-executable-find)
1064 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
1065 (tramp-sh-file-gvfs-monitor-dir-process-filter)
1066 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
1067 Do not use `format' in `tramp-message'.
1068
1069 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
1070 [file-notify-rm-watch, set-visited-file-modtime]:
1071 [verify-visited-file-modtime]: Add handler.
1072 (tramp-smb-call-winexe): Do not bind `default-directory'.
1073
7188b515
XF
10742013-08-01 Xue Fuqiao <xfq.free@gmail.com>
1075
1076 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
1077
2412ee1a
DG
10782013-07-31 Dmitry Gutov <dgutov@yandex.ru>
1079
1080 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
1081 use it.
1082 (log-view-diff-changeset): Same.
1083 (log-view-diff-common): Call backend command `previous-revision'
1084 to find out the previous revision, in both cases. Swap the
1085 variables `to' and `fr', so that `fr' usually refers to the
1086 earlier revision (Bug#14989).
1087
5002a754
KRC
10882013-07-31 Kan-Ru Chen <kanru@kanru.info>
1089
1090 * ibuf-ext.el (ibuffer-filter-by-filename):
1091 Make it work with dired buffers too.
1092
44e18199 10932013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
1094
1095 * emacs-lisp/re-builder.el (reb-color-display-p):
1096 * files.el (save-buffers-kill-terminal):
1097 * net/browse-url.el (browse-url):
1098 * server.el (server-save-buffers-kill-terminal):
1099 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
1100 Prefer nil to selected-frame for the first arg of frame-parameter.
1101
aeca3fbb
XF
11022013-07-31 Xue Fuqiao <xfq.free@gmail.com>
1103
1104 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
1105
158bc55c
SB
11062013-07-30 Stephen Berman <stephen.berman@gmx.net>
1107
1108 * minibuffer.el (completion--twq-all): Try and preserve each
1109 completion's case choice (bug#14907).
1110
d50fceab
LMI
11112013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
1112
ac38e731
LMI
1113 * net/network-stream.el (open-network-stream): Mention the new
1114 :nogreeting parameter.
1115 (network-stream-open-starttls): Use the :nogreeting parameter
1116 (bug#14938).
1117
1211de50
LMI
1118 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
1119
997798bf
LMI
1120 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
1121 more natural than popping.
1122
d50fceab 1123 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 1124 (shr-urlify): Highlight under mouse.
d50fceab 1125
5c09de04
XF
11262013-07-30 Xue Fuqiao <xfq.free@gmail.com>
1127
207d1d04
XF
1128 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
1129
1130 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
1131
5c09de04
XF
1132 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
1133 buffer for output.
1134
3cd51eaa
XF
1135 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
1136 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 1137
44e18199 1138 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 1139 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
1140
1141 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
1142
1143 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
1144 buffer for output.
1145
35a89bdd
EZ
11462013-07-29 Eli Zaretskii <eliz@gnu.org>
1147
1148 * frame.el (frame-notice-user-settings): Avoid inflooping when the
1149 initial frame is minibuffer-less. (Bug#14841)
1150
78822e94
MA
11512013-07-29 Michael Albinus <michael.albinus@gmx.de>
1152
1153 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
1154 option.
1155
1156 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
1157 (tramp-maybe-open-connection): Use it.
1158
9503c190
JB
11592013-07-28 Juanma Barranquero <lekktu@gmail.com>
1160
1161 * desktop.el (desktop--make-frame): Include `minibuffer' in the
1162 minimal set of parameters passed when creating a frame, because
1163 the minibuffer status of a frame cannot be changed later.
1164
d5a845b4
SB
11652013-07-28 Stephen Berman <stephen.berman@gmx.net>
1166
1167 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
1168 replace-regexp-in-string and inadvertent omissions in previous change.
1169 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 1170 name of filtered items buffer.
d5a845b4 1171
ddeffb17
JB
11722013-07-28 Juanma Barranquero <lekktu@gmail.com>
1173
1174 * desktop.el: Optionally force offscreen frames back onscreen.
1175 (desktop-restoring-reuses-frames): New option.
1176 (desktop--compute-pos, desktop--move-onscreen): New functions.
1177 (desktop--make-frame): Use desktop--move-onscreen.
1178
f5950f7a
AM
11792013-07-27 Alan Mackenzie <acm@muc.de>
1180
1181 Fontify a Java generic method as a function.
1182 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
1183 value to t.
1184
ae43b66a
SB
11852013-07-27 Stephen Berman <stephen.berman@gmx.net>
1186
1187 * calendar/todo-mode.el: Add command to rename todo files.
1188 (todo-rename-file): New command.
1189 (todo-key-bindings-t): Add key binding for it. Change the
1190 bindings of todo-filter-regexp-items(-multifile) to use `x'
1191 instead of `r', since the latter is better suited to the new
1192 renaming command.
1193
5ab78d3d
AM
11942013-07-27 Alan Mackenzie <acm@muc.de>
1195
1196 Make Java try-with-resources statement parse properly.
1197 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
1198 (c-block-stmt-1-2-key): New language constants/variables.
1199 * progmodes/cc-engine.el (c-beginning-of-statement-1)
1200 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
1201 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 1202 with c-block-stmt-1-2-key.
5ab78d3d 1203
d85c4d50
JB
12042013-07-27 Juanma Barranquero <lekktu@gmail.com>
1205
1206 * desktop.el (desktop--make-frame): Apply most frame parameters after
1207 creating the frame to force (partially or totally) offscreen frames to
1208 be restored as such.
1209
e4c467f9
XF
12102013-07-26 Xue Fuqiao <xfq.free@gmail.com>
1211
1212 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 1213 (Bug#14948)
e4c467f9 1214
7ced0d04
SM
12152013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
1216
1217 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
1218 `base' arg of backtrace-frame.
1219
fec92060
EZ
12202013-07-26 Eli Zaretskii <eliz@gnu.org>
1221
1222 * simple.el (list-processes): Doc fix.
1223
d58d31fb
JB
12242013-07-26 Juanma Barranquero <lekktu@gmail.com>
1225
1226 * desktop.el (desktop--select-frame):
d85c4d50 1227 Try harder to reuse existing frames.
d58d31fb 1228
53ff3e77
SM
12292013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
1230
1231 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
1232 (edebug-eval): Use backtrace-eval.
1233 (edebug--display, edebug--recursive-edit): Don't let-bind the
1234 edebug-outer-* vars that keep track of variables we locally let-bind.
1235 (edebug-outside-excursion): Don't restore outside values of locally
1236 let-bound vars.
1237 (edebug--display): Use user-error.
1238 (cl-lexical-debug, cl-debug-env): Remove.
1239
045f7a53
JB
12402013-07-26 Juanma Barranquero <lekktu@gmail.com>
1241
1242 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
1243 are restored to be sure that they are visible before deleting any
1244 remaining ones.
1245
59070b32
MM
12462013-07-26 Matthias Meulien <orontee@gmail.com>
1247
742a3501
XF
1248 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
1249 vc-print-root-log. (Bug#14948)
59070b32 1250
b1fb3596
RS
12512013-07-26 Richard Stallman <rms@gnu.org>
1252
1253 Add aliases for encrypting mail.
1254 * epa.el (epa-mail-aliases): New option.
1255 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
1256 Bind inhibit-read-only so read-only text doesn't ruin everything.
1257 (epa-mail-default-recipients): New subroutine broken out.
1258 Handle epa-mail-aliases.
1259
56ea7291
SM
12602013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
1261
1262 Add support for lexical variables to the debugger's `e' command.
1263 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
1264 vars, except for debugger-outer-match-data.
1265 (debugger-frame-number): Move check for "on a function call" from
1266 callers into it. Add `skip-base' argument.
1267 (debugger-frame, debugger-frame-clear): Simplify accordingly.
1268 (debugger-env-macro): Only reset the state stored in non-variables,
1269 i.e. current-buffer and match-data.
1270 (debugger-eval-expression): Rewrite using backtrace-eval.
1271 * subr.el (internal--called-interactively-p--get-frame): Remove.
1272 (called-interactively-p):
1273 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
1274 `base' arg of backtrace-frame instead.
1275
15ac32d5
GM
12762013-07-26 Glenn Morris <rgm@gnu.org>
1277
8358a09d
GM
1278 * align.el (align-regexp): Doc fix. (Bug#14857)
1279 (align-region): Explicit error if subexpression missing/does not match.
1280
15ac32d5
GM
1281 * simple.el (global-visual-line-mode):
1282 Do not duplicate the mode lighter. (Bug#14858)
1283
f47ad11b
MR
12842013-07-25 Martin Rudalics <rudalics@gmx.at>
1285
1286 * window.el (display-buffer): In display-buffer bind
1287 split-window-keep-point to t, bug#14829.
1288
02530987
JB
12892013-07-25 Juanma Barranquero <lekktu@gmail.com>
1290
1291 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
1292 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
1293 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
1294 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
1295 Change accordingly.
f63ebeb5
JB
1296 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
1297 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 1298
6ccb9cab 12992013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 1300
6ccb9cab 1301 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 1302
cb3a56d2
JB
13032013-07-25 Juanma Barranquero <lekktu@gmail.com>
1304
1305 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
1306 parameter to modify-frame-parameters if the value has not changed;
1307 this is a workaround for bug#14949.
1308 (desktop--make-frame): On cl-delete-if call, check parameter name,
1309 not full parameter.
1310
7aa7fff0
XF
13112013-07-30 Xue Fuqiao <xfq.free@gmail.com>
1312
1313 * vc/vc.el (vc-ignore): New function.
1314
1315 * vc/vc-svn.el (vc-svn-ignore): New function.
1316
1317 * vc/vc-hg.el (vc-hg-ignore): New function.
1318
1319 * vc/vc-git.el (vc-git-ignore): New function.
1320
1321 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
1322 (vc-dir-ignore): New function.
1323
1324 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 1325 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
1326
1327 * vc/vc-bzr.el (vc-bzr-ignore): New function.
1328
1329 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
1330
889acc5c
JB
13312013-07-24 Juanma Barranquero <lekktu@gmail.com>
1332
1333 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
1334 (desktop-restore-frames): Warn when deleting an existing frame failed.
1335
86c40970
GM
13362013-07-24 Glenn Morris <rgm@gnu.org>
1337
1338 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
1339
d5d3c58a
MA
13402013-07-24 Michael Albinus <michael.albinus@gmx.de>
1341
1342 * filenotify.el (file-notify-supported-p):
1343 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
1344 Remove functions.
1345
1346 * autorevert.el (auto-revert-use-notify):
1347 (auto-revert-notify-add-watch):
1348 * net/tramp.el (tramp-file-name-for-operation):
1349 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1350 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1351 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
1352 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1353 Remove `file-notify-supported-p' entry.
1354
d100084b
GM
13552013-07-24 Glenn Morris <rgm@gnu.org>
1356
1357 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 1358 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 1359
ac93e56b
SM
13602013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
1361
249eea30
SM
1362 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
1363 checked with memq (bug#14935).
1364
ac93e56b
SM
1365 * files.el (revert-buffer-function): Use a non-nil default.
1366 (revert-buffer-preserve-modes): Declare var to
1367 provide access to the `preserve-modes' argument.
1368 (revert-buffer): Let-bind it.
1369 (revert-buffer--default): New function, extracted from revert-buffer.
1370
2cdeb903
SM
13712013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
1372
1373 * lpr.el: Signal print errors more prominently.
1374 (print-region-function): Don't default to nil.
1375 (lpr-print-region): New function, extracted from print-region-1.
1376 Check lpr's return value and signal an error in case of problem.
1377 (print-region-1): Use it.
1378 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
1379 versions instead.
1380 (ps-printer-name): Default to nil.
1381 (ps-printer-name-option): Default to lpr-printer-switch.
1382 (ps-print-region-function): Don't default to nil.
1383 (ps-postscript-code-directory): Simplify default.
1384 (ps-do-despool): Use lpr-print-region to properly check the outcome.
1385 (ps-string-list, ps-eval-switch, ps-flatten-list)
1386 (ps-flatten-list-1): Remove.
1387 (ps-multibyte-buffer): Avoid setq.
1388 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
1389 (print-region-function, ps-print-region-function): Don't set them here.
1390
73600831
XF
13912013-07-24 Xue Fuqiao <xfq.free@gmail.com>
1392
0e55c076
XF
1393 * ido.el (ido-fractionp):
1394 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
1395 (ido-max-file-prompt-width, ido-unc-hosts-cache)
1396 (ido-max-directory-size, ido-max-dir-file-cache)
1397 (ido-decorations): Doc fix.
1398
73600831
XF
1399 * ansi-color.el: Fix old URL.
1400
3d012865
MM
14012013-07-23 Michael R. Mauger <michael@mauger.com>
1402
1403 * progmodes/sql.el Version 3.3
1404 (sql-product-alist): Improve oracle :prompt-cont-regexp.
1405 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
1406 (sql-interactive-remove-continuation-prompt): Rewrite, use
1407 functions above. Fix continuation prompt and complete output line
1408 handling.
1409 (sql-redirect-one, sql-execute): Use `read-only-mode' on
1410 redirected output buffer.
1411 (sql-mode): Restore deleted code (Bug#13591).
1412
da77a2e2
JB
14132013-07-23 Juanma Barranquero <lekktu@gmail.com>
1414
1415 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
1416
80ff0c71
MA
14172013-07-23 Michael Albinus <michael.albinus@gmx.de>
1418
1419 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
1420
1421 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1422 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1423 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
1424
b61d71e4
JB
14252013-07-23 Juanma Barranquero <lekktu@gmail.com>
1426
1427 * desktop.el (desktop-clear): Simplify; remove useless checks
1428 against invalid buffer names.
1429 (desktop-list*): Use cl-list*.
1430 (desktop-buffer-info, desktop-create-buffer): Simplify.
1431
c3512092
LL
14322013-07-23 Leo Liu <sdl.web@gmail.com>
1433
1434 * bookmark.el (bookmark-make-record): Restore NAME as a default
1435 value. (Bug#14933)
1436
0ac26976
SM
14372013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
1438
7d22ce18
SM
1439 * emacs-lisp/autoload.el (autoload--setup-output): New function,
1440 extracted from autoload--insert-text.
1441 (autoload--insert-text): Remove.
1442 (autoload--print-cookie-text): New function, extracted from
1443 autoload--insert-cookie-text.
1444 (autoload--insert-cookie-text): Remove.
1445 (autoload-generate-file-autoloads): Adjust calls accordingly.
1446
9b2607e8
SM
1447 * winner.el (winner-hook-installed-p): Remove.
1448 (winner-mode): Simplify accordingly.
1449
c43a8618
SM
1450 * subr.el (add-to-list): Fix compiler-macro when `append' is
1451 not constant. Don't use `cl-member' for the base case.
1452
0ac26976
SM
1453 * progmodes/subword.el: Fix boundary case (bug#13758).
1454 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
1455 own group.
1456 (subword-backward-regexp): Make it a constant.
1457 (subword-forward-internal): Don't treat a trailing capital as the
1458 beginning of a word.
1459
6874724a
AR
14602013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
1461
1462 * emacs-lisp/package.el (package-menu-mode): Don't modify the
1463 global value of tabulated-list-revert-hook (bug#14930).
1464
70f1b5e8
JB
14652013-07-22 Juanma Barranquero <lekktu@gmail.com>
1466
a1c80d9d
JB
1467 * desktop.el: Require 'cl-lib.
1468 (desktop-before-saving-frames-functions): New hook.
1469 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
1470 for frames being saved. Rename from desktop--save-minibuffer-frames.
1471 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
1472 Do not save frames with non-nil `desktop-dont-save' parameter.
1473 Filter out deleted frames.
a1c80d9d
JB
1474 (desktop--find-frame): Use cl-find-if.
1475 (desktop--select-frame): Use cl-(first|second|third) to access values
1476 of desktop-mini.
1477 (desktop--make-frame): Use cl-delete-if.
1478 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
1479 (desktop-restore-frames): Use cl-(first|second|third) to access values
1480 of desktop-mini. Look for visible frame at the end, not while
1481 restoring frames.
1482
70f1b5e8
JB
1483 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
1484 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
1485 Use string-match-p, looking-at-p (bug#14927).
1486
728dc3cc
JB
14872013-07-21 Juanma Barranquero <lekktu@gmail.com>
1488
56bc453c
JB
1489 * desktop.el (desktop-saved-frame-states):
1490 Rename from desktop--saved-states; all users changed.
1491 (desktop-save-frames): Rename from desktop--save-frames.
1492 Do not save state to desktop file.
1493 (desktop-save): Save desktop-saved-frame-states to desktop file
1494 and reset to nil.
1495 (desktop-restoring-frames-p): New function.
1496 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
1497 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
1498 buffer-lists when restoring frames. Suggested by Martin Rudalics.
1499
728dc3cc
JB
1500 * desktop.el: Correctly restore iconified frames.
1501 (desktop--filter-iconified-position): New function.
1502 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
1503
862f1c9c
GM
15042013-07-20 Glenn Morris <rgm@gnu.org>
1505
c4074c9f
GM
1506 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
1507 Let `message' do the formatting.
1508 (def-gdb-preempt-display-buffer): Add explicit format.
1509
d828e5f9
GM
1510 * image-dired.el (image-dired-track-original-file):
1511 Use with-current-buffer.
1512 (image-dired-track-thumbnail): Use with-current-buffer.
1513 Avoid changing point of wrong window.
1514
862f1c9c
GM
1515 * image-dired.el (image-dired-track-original-file):
1516 Avoid changing point of wrong window. (Bug#14909)
1517
f0398ec1 15182013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
1519
1520 * progmodes/gdb-mi.el (gdb-done-or-error):
1521 Guard against "%" in gdb output. (Bug#14127)
1522
1451928f
AS
15232013-07-20 Andreas Schwab <schwab@linux-m68k.org>
1524
763a086d
JB
1525 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
1526 (Bug#14826)
f7a03897 1527
1451928f
AS
1528 * international/mule.el (coding-system-iso-2022-flags): Fix last
1529 change.
1530
99107004
KH
15312013-07-20 Kenichi Handa <handa@gnu.org>
1532
763a086d
JB
1533 * international/mule.el (coding-system-iso-2022-flags):
1534 Add `8-bit-level-4'. (Bug#8522)
99107004 1535
48494e06
LMI
15362013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
1537
8ba8eec5
LMI
1538 * net/shr.el (shr-mouse-browse-url): New command and keystroke
1539 (bug#14815).
1540
dfbc66e3
LMI
1541 * net/eww.el (eww-process-text-input): Allow inputting when the
1542 point is at the start of the line, as the properties aren't
1543 front-sticky.
1544
48494e06
LMI
1545 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
1546 degenerate widths.
1547
77c92cb9
RS
15482013-07-19 Richard Stallman <rms@gnu.org>
1549
aec7da77
RS
1550 * epa.el (epa-popup-info-window): Doc fix.
1551
77c92cb9
RS
1552 * subr.el (split-string): New arg TRIM.
1553
945c5bb1
JB
15542013-07-18 Juanma Barranquero <lekktu@gmail.com>
1555
1556 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
1557 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
1558
e06ec67f
MA
15592013-07-18 Michael Albinus <michael.albinus@gmx.de>
1560
c7064f05 1561 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
1562 `file-notify-support'. Do not autoload. Adapt all uses.
1563 (file-notify-supported-p): New defun.
1564
c7064f05
JB
1565 * autorevert.el (auto-revert-use-notify):
1566 Use `file-notify-supported-p' instead of `file-notify-support'.
1567 Adapt docstring.
e06ec67f
MA
1568 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
1569
1570 * net/tramp.el (tramp-file-name-for-operation):
1571 Add `file-notify-supported-p'.
1572
1573 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
1574 New defun.
1575 (tramp-sh-file-name-handler-alist): Add it as handler for
1576 `file-notify-supported-p '.
1577
1578 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1579 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1580 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1581 Add `ignore' as handler for `file-notify-*' functions.
1582
5dc8a629
EZ
15832013-07-17 Eli Zaretskii <eliz@gnu.org>
1584
1585 * simple.el (line-move-partial, line-move): Don't start vscroll or
1586 scroll-up if the current line is not taller than the window.
1587 (Bug#14881)
1588
77aea2fb
DG
15892013-07-16 Dmitry Gutov <dgutov@yandex.ru>
1590
1591 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
1592 highlight question marks in the method names as strings.
ac72c08d
DG
1593 (ruby-block-beg-keywords): Inline.
1594 (ruby-font-lock-keyword-beg-re): Extract from
1595 `ruby-font-lock-keywords'.
77aea2fb 1596
18c26d81
JD
15972013-07-16 Jan Djärv <jan.h.d@swipnet.se>
1598
1599 * frame.el (blink-cursor-blinks): New defcustom.
1600 (blink-cursor-blinks-done): New defvar.
1601 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
1602 (blink-cursor-timer-function): Check if number of blinks has been
1603 done on X and NS.
1604 (blink-cursor-suspend, blink-cursor-check): New defuns.
1605
da48522e
GM
16062013-07-15 Glenn Morris <rgm@gnu.org>
1607
1608 * edmacro.el (edmacro-format-keys): Fix previous change.
1609
0463c1ef
PE
16102013-07-15 Paul Eggert <eggert@cs.ucla.edu>
1611
1612 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
1613 The hack didn't work outside English locales anyway.
1614
b43f6451
JB
16152013-07-15 Juanma Barranquero <lekktu@gmail.com>
1616
1617 * simple.el (define-alternatives): Rename from alternatives-define,
1618 per RMS' suggestion.
1619
b958c0ad
JB
16202013-07-14 Juanma Barranquero <lekktu@gmail.com>
1621
1622 * desktop.el (desktop-restore-frames): Change default to t.
1623 (desktop-restore-in-current-display): Now offer more options.
1624 (desktop-restoring-reuses-frames): New customization option.
1625 (desktop--saved-states): Doc fix.
1626 (desktop-filter-parameters-alist): New variable, renamed and expanded
1627 from desktop--excluded-frame-parameters.
1628 (desktop--target-display): New variable.
1629 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
1630 (desktop--filter-tty*, desktop--filter-*-color)
1631 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
1632 (desktop--filter-save-desktop-parm)
1633 (desktop-restore-in-original-display-p): New functions.
1634 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
1635 (desktop--save-minibuffer-frames): New function, inspired by a similar
1636 function from Martin Rudalics.
1637 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
1638 (desktop--restore-in-this-display-p): Remove.
1639 (desktop--find-frame): Rename from desktop--find-frame-in-display
1640 and add predicate argument.
1641 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
1642 (desktop--reuse-list): New variable.
1643 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
1644 New functions.
1645 (desktop--restore-frames): Add support for "minibuffer-special" frames.
1646
f6dd8b36
MA
16472013-07-14 Michael Albinus <michael.albinus@gmx.de>
1648
1649 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
1650
2ce3c565
DG
16512013-07-13 Dmitry Gutov <dgutov@yandex.ru>
1652
763a086d
JB
1653 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1654 Highlight conversion methods on Kernel.
2ce3c565 1655
2cdb7698
AM
16562013-07-13 Alan Mackenzie <acm@muc.de>
1657
1658 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
1659 and comment it out. This out-commenting enables certain C++
1660 declarations to be parsed correctly.
1661
1a67b811
EZ
16622013-07-13 Eli Zaretskii <eliz@gnu.org>
1663
1b796d6b
EZ
1664 * international/mule.el (define-coding-system): Doc fix.
1665
1a67b811
EZ
1666 * simple.el (default-font-height): Don't call font-info if the
1667 frame's default font didn't change since the frame was created.
1668 (Bug#14838)
1669
58fbe886
LL
16702013-07-13 Leo Liu <sdl.web@gmail.com>
1671
1672 * ido.el (ido-read-file-name): Guard against non-symbol value.
1673
1f0480d4
FEG
16742013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1675
1676 * progmodes/python.el (python-imenu--build-tree): Fix corner case
1677 in nested defuns.
1678
97ead0e5
LL
16792013-07-13 Leo Liu <sdl.web@gmail.com>
1680
1681 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
1682 ido-set-matches call. (Bug#6852)
1683
0880a952
DG
16842013-07-12 Dmitry Gutov <dgutov@yandex.ru>
1685
1686 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
1687 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
1688 Ruby 2.0.
1689 (ruby-font-lock-keywords): Distinguish calls to functions with
1690 module-like names from module references. Highlight character
1691 literals.
1692
a7d8babb
SDJ
16932013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
1694
1695 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 1696 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 1697
acfcc8c5
JB
16982013-07-12 Juanma Barranquero <lekktu@gmail.com>
1699
1700 * desktop.el (desktop--v2s): Remove unused local variable.
1701 (desktop-save-buffer): Make defvar-local; adjust docstring.
1702 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
1703 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
1704
051f2775
AS
17052013-07-12 Andreas Schwab <schwab@linux-m68k.org>
1706
1707 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
1708
f24e7572
GM
17092013-07-12 Eli Zaretskii <eliz@gnu.org>
1710
1711 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
1712 (Bug#14842)
1713
539a920c
GM
17142013-07-12 Glenn Morris <rgm@gnu.org>
1715
1716 * doc-view.el: Require cl-lib at runtime too.
1717 (doc-view-remove-if): Remove.
1718 (doc-view-search-next-match, doc-view-search-previous-match):
1719 Use cl-remove-if.
1720
1721 * edmacro.el: Require cl-lib at runtime too.
1722 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
1723 (edmacro-mismatch, edmacro-subseq): Remove.
1724
1725 * shadowfile.el: Require cl-lib.
1726 (shadow-remove-if): Remove.
1727 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
1728 Use cl-remove-if.
1729
1730 * wid-edit.el: Require cl-lib.
1731 (widget-choose): Use cl-remove-if.
1732 (widget-remove-if): Remove.
1733
1734 * progmodes/ebrowse.el: Require cl-lib at runtime too.
1735 (ebrowse-delete-if-not): Remove.
1736 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
1737 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
1738 Use cl-delete-if-not.
1739
1048af7c
JB
17402013-07-12 Juanma Barranquero <lekktu@gmail.com>
1741
1742 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
1743 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
1744
6c0674ee
LL
17452013-07-12 Leo Liu <sdl.web@gmail.com>
1746
1747 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
1748
a19b3c2d
GM
17492013-07-11 Glenn Morris <rgm@gnu.org>
1750
4582a01c
GM
1751 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
1752 (edebug-gensym-index, edebug-gensym):
1753 Remove reimplementation of cl-gensym.
1754 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
1755
1756 * thumbs.el: Require cl-lib at run-time too.
1757 (thumbs-gensym-counter, thumbs-gensym):
1758 Remove reimplementation of cl-gensym.
1759 (thumbs-temp-file): Use cl-gensym.
1760
a19b3c2d
GM
1761 * emacs-lisp/ert.el: Require cl-lib at runtime too.
1762 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
1763 (ert--intersection, ert--set-difference, ert--set-difference-eq)
1764 (ert--union, ert--gensym-counter, ert--gensym-counter)
1765 (ert--coerce-to-vector, ert--remove*, ert--string-position)
1766 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
1767 (ert-make-test-unbound, ert--expand-should-1)
1768 (ert--expand-should, ert--should-error-handle-error)
1769 (should-error, ert--explain-equal-rec)
1770 (ert--plist-difference-explanation, ert-select-tests)
1771 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
1772 Use cl-lib functions rather than reimplementations.
1773
88f6a933
MA
17742013-07-11 Michael Albinus <michael.albinus@gmx.de>
1775
1776 * net/tramp.el (tramp-methods): Extend docstring.
1777 (tramp-connection-timeout): New defcustom.
1778 (tramp-error-with-buffer): Reset timestamp only when appropriate.
1779 (with-tramp-progress-reporter): Simplify.
1780 (tramp-process-actions): Improve messages.
1781
1782 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
1783 * net/tramp-sh.el (tramp-maybe-open-connection):
1784 Use `tramp-connection-timeout'.
1785 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
1786 (Bug#14808)
1787
a43d577e
LL
17882013-07-11 Leo Liu <sdl.web@gmail.com>
1789
1790 * ido.el (ido-read-file-name): Conform to the requirements of
1791 read-file-name. (Bug#11861)
1792 (ido-read-directory-name): Conform to the requirements of
1793 read-directory-name.
1794
d77974bf
JB
17952013-07-11 Juanma Barranquero <lekktu@gmail.com>
1796
1797 * subr.el (delay-warning): New function.
1798
35cb8a3e
EZ
17992013-07-10 Eli Zaretskii <eliz@gnu.org>
1800
1801 * simple.el (default-line-height): New function.
1802 (line-move-partial, line-move): Use it instead of computing the
1803 line height inline.
1804 (line-move-partial): Always compute ROWH. If the last line is
1805 partially-visible, but its text is completely visible, allow
1806 cursor to enter such a partially-visible line.
1807
525c5c77
MA
18082013-07-10 Michael Albinus <michael.albinus@gmx.de>
1809
1810 Improve error messages. (Bug#14808)
1811
1812 * net/tramp.el (tramp-current-connection): New defvar, moved from
1813 tramp-sh.el.
0ac26976 1814 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 1815 needed anymore.
0ac26976
SM
1816 (tramp-error-with-buffer): Show message in minibuffer.
1817 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
1818 (with-tramp-progress-reporter): Improve messages.
1819 (tramp-process-actions): Use progress reporter. Delete process in
1820 case of error. Improve messages.
1821
763a086d
JB
1822 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
1823 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 1824 (tramp-current-connection): Remove.
525c5c77
MA
1825 (tramp-maybe-open-connection): The car of
1826 `tramp-current-connection' are the first 3 slots of the vector.
1827
c7a4d368
TZ
18282013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
1829
1830 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
1831 inside continued strings.
1832
954b166e
PE
18332013-07-10 Paul Eggert <eggert@cs.ucla.edu>
1834
1835 Timestamp fixes for undo (Bug#14824).
1836 * files.el (clear-visited-file-modtime): Move here from fileio.c.
1837
56973319
LL
18382013-07-10 Leo Liu <sdl.web@gmail.com>
1839
1840 * files.el (require-final-newline): Allow safe local value.
1841 (Bug#14834)
1842
5550a72c
LL
18432013-07-09 Leo Liu <sdl.web@gmail.com>
1844
1845 * ido.el (ido-read-directory-name): Handle fallback.
1846 (ido-read-file-name): Update DIR to ido-current-directory.
1847 (Bug#1516)
c28b9050 1848 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 1849
70c46b28
DG
18502013-07-09 Dmitry Gutov <dgutov@yandex.ru>
1851
1852 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
1853 "autoload". Remove "warn lower camel case" section, previously
1854 commented out. Highlight negation char. Do not highlight the
1855 target in singleton method definitions.
1856
0b64b838
SM
18572013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
1858
7fd72e2c
SM
1859 * faces.el (tty-setup-hook): Declare the hook.
1860
0b64b838
SM
1861 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
1862 and detect when a guard/pred depends on local vars (bug#14773).
1863 (pcase--u1): Adjust caller.
1864
ab49d60b
EZ
18652013-07-08 Eli Zaretskii <eliz@gnu.org>
1866
1867 * simple.el (line-move-partial, line-move): Account for
1868 line-spacing.
701d79aa
EZ
1869 (line-move-partial): Avoid setting vscroll when the last
1870 partially-visible line in window is of default height.
ab49d60b 1871
2d756ae0
LMI
18722013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
1873
1874 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
1875 been used a while.
1876
ed095bd7
JB
18772013-07-07 Juanma Barranquero <lekktu@gmail.com>
1878
1879 * subr.el (read-quoted-char): Remove unused local variable `char'.
1880
f1e6674b
MK
18812013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
1882
584ee3fc
GM
1883 * ediff.el (ediff-version): Version update.
1884 (ediff-files-command, ediff3-files-command, ediff-merge-command)
1885 (ediff-merge-with-ancestor-command, ediff-directories-command)
1886 (ediff-directories3-command, ediff-merge-directories-command)
1887 (ediff-merge-directories-with-ancestor-command): New functions.
1888 All are command-line interfaces to ediff: to facilitate calling
1889 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
1890
1891 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
1892 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 1893
584ee3fc
GM
1894 * viper.el (viper-version): Version update.
1895 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 1896
584ee3fc
GM
18972013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
1898
1899 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
1900 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
1901 (viper-intercept-ESC-key): Simplify.
1902 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
1903 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
1904 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
1905 (viper-setup-ESC-to-escape): New functions.
1906 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
1907 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 1908
9aff9b38
EZ
19092013-07-07 Eli Zaretskii <eliz@gnu.org>
1910
5165d44a
JB
1911 * simple.el (default-font-height, window-screen-lines):
1912 New functions.
9aff9b38
EZ
1913 (line-move, line-move-partial): Use them instead of
1914 frame-char-height and window-text-height. This makes scrolling
1915 text smoother when the buffer's default face uses a font that is
1916 different from the frame's default font.
1917
1afb1d07
JD
19182013-07-06 Jan Djärv <jan.h.d@swipnet.se>
1919
1920 * files.el (write-file): Do not display confirm dialog for NS,
1921 it does its own dialog, which can't be cancelled (Bug#14578).
1922
23de972a
EZ
19232013-07-06 Eli Zaretskii <eliz@gnu.org>
1924
1925 * simple.el (line-move-partial): Adjust the row returned by
1926 posn-at-point for the current window-vscroll. (Bug#14567)
1927
54a42486
MA
19282013-07-06 Michael Albinus <michael.albinus@gmx.de>
1929
1930 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
1931 (tramp-sh-file-inotifywait-process-filter): Handle file names with
1932 spaces.
1933
34ada5f4
MR
19342013-07-06 Martin Rudalics <rudalics@gmx.at>
1935
1936 * window.el (window-state-put-stale-windows): New variable.
1937 (window--state-put-2): Save list of windows without matching buffer.
1938 (window-state-put): Remove "bufferless" windows if possible.
1939
11e03d89
JB
19402013-07-06 Juanma Barranquero <lekktu@gmail.com>
1941
1942 * simple.el (alternatives-define): Remove leftover :group keyword.
1943 Tweak docstring.
1944
3504a4be
LL
19452013-07-06 Leo Liu <sdl.web@gmail.com>
1946
1947 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
1948 (ido-enable-virtual-buffers): New variable.
1949 (ido-buffer-internal, ido-toggle-virtual-buffers)
1950 (ido-make-buffer-list): Use it.
1951 (ido-exhibit): Support turning on and off virtual buffers
1952 automatically.
1953
61e56e2c
JB
19542013-07-06 Juanma Barranquero <lekktu@gmail.com>
1955
1956 * simple.el (alternatives-define): New macro.
1957
321e1a9c
SM
19582013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
1959
1960 * subr.el (read-quoted-char): Use read-key.
1961 (sit-for): Let read-event decode tty input (bug#14782).
1962
d610f6dd
SB
19632013-07-05 Stephen Berman <stephen.berman@gmx.net>
1964
1965 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
1966 mode command and externally. Fix various related bugs.
1967 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
1968 (todo-delete-file): New command.
1969 (todo-check-file): New function.
1970 (todo-show): Handle external deletion of the file we're trying to
1971 show (bug#14688). Replace called-interactively-p by an optional
1972 prefix argument to avoid problematic interaction with catch form
1973 when byte compiled (bug#14702).
1974 (todo-quit): Handle external deletion of the archive's todo file.
1975 Make sure the buffer that was visiting the archive file is still
1976 live before trying to bury it.
1977 (todo-category-completions): Handle external deletion of any
1978 category completion files.
1979 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
1980 of todo files, in case of external deletion.
1981 (todo-add-file): Replace unnecessary setq by let-binding.
1982 (todo-find-archive): Check whether there are any archives.
1983 Replace unnecessary setq by let-binding.
1984 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
1985 archive buffer whether or not the archive already exists.
1986 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
1987 check if the archive is new; if it is, update list of archives.
1988 (todo-default-todo-file): Allow nil to be a valid value for when
1989 there are no todo files.
1990 (todo-reevaluate-default-file-defcustom): Use corrected definition
1991 of todo-default-todo-file.
1992 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
1993 (todo-delete-category, todo-show-categories-table)
1994 (todo-category-number): Clarify comment.
1995 (todo-filter-items): Clarify documentation string.
1996 (todo-show-current-file, todo-display-as-todo-file)
1997 (todo-reset-and-enable-done-separator): Tweak documentation string.
1998 (todo-done-separator): Make separator length window-width, since
1999 bug#2749 is now fixed.
2000
ddbdfd6f
MA
20012013-07-05 Michael Albinus <michael.albinus@gmx.de>
2002
321e1a9c
SM
2003 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2004 Support both "gvfs-monitor-dir" and "inotifywait".
2005 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
2006 `tramp-sh-file-notify-process-filter'.
2007 (tramp-sh-file-gvfs-monitor-dir-process-filter)
2008 (tramp-get-remote-gvfs-monitor-dir): New defuns.
2009
96eb829a
LL
20102013-07-05 Leo Liu <sdl.web@gmail.com>
2011
2012 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
2013
cf13177e
YM
20142013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2015
2016 * frame.el (display-pixel-height, display-pixel-width)
2017 (display-mm-height, display-mm-width): Mention behavior on
2018 multi-monitor setups in docstrings.
2019 (w32-display-monitor-attributes-list): Declare function.
2020 (display-monitor-attributes-list): Use it.
2021
864c58ca
MA
20222013-07-04 Michael Albinus <michael.albinus@gmx.de>
2023
2024 * filenotify.el: New package.
2025
2026 * autorevert.el (top): Require filenotify.el.
2027 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
2028 instead.
2029 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
2030 (auto-revert-notify-handler): Use `file-notify-*' functions.
2031
2032 * subr.el (file-notify-handle-event): Move function to filenotify.el.
2033
321e1a9c
SM
2034 * net/tramp.el (tramp-file-name-for-operation):
2035 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
2036
2037 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
2038 for `file-notify-add-watch' and `file-notify-rm-watch'.
2039 (tramp-process-sentinel): Improve trace.
2040 (tramp-sh-handle-file-notify-add-watch)
2041 (tramp-sh-file-notify-process-filter)
2042 (tramp-sh-handle-file-notify-rm-watch)
2043 (tramp-get-remote-inotifywait): New defuns.
2044
96673afe
JL
20452013-07-03 Juri Linkov <juri@jurta.org>
2046
2047 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
2048 call of `occur-read-primary-args' to interactive spec.
2049
2050 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
2051 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
2052
924494f4
MM
20532013-07-03 Matthias Meulien <orontee@gmail.com>
2054
2055 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
2056 `Buffer-menu-multi-occur'. Add it to the menu.
2057 (Buffer-menu-mode): Document it in docstring.
2058 (Buffer-menu-multi-occur): New command. (Bug#14673)
2059
56f75efc
DG
20602013-07-03 Dmitry Gutov <dgutov@yandex.ru>
2061
2062 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
2063 keywords and built-ins.
2064
9b057d61
GM
20652013-07-03 Glenn Morris <rgm@gnu.org>
2066
208dee4d
GM
2067 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
2068
9b057d61
GM
2069 Make info-xref checks case-sensitive by default
2070 * info.el (Info-find-node, Info-find-in-tag-table)
2071 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
2072 Add option for exact case matching of nodes.
2073 * info-xref.el (info-xref): New custom group.
2074 (info-xref-case-fold): New option.
2075 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
2076
e01aa29c
LL
20772013-07-03 Leo Liu <sdl.web@gmail.com>
2078
2079 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
2080
3086ca2e
DG
20812013-07-03 Dmitry Gutov <dgutov@yandex.ru>
2082
2083 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
2084 middle of block statement initially, lower the depth. Remove
2085 FIXME comment, not longer valid. Remove middle of block statement
2086 detection, no need to do that anymore since we've been using
2087 `ruby-parse-region' here.
2088
a3b49114
JD
20892013-07-02 Jan Djärv <jan.h.d@swipnet.se>
2090
2091 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
2092
08e5c823 20932013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
2094
2095 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
2096
2addf922
JB
20972013-07-01 Juanma Barranquero <lekktu@gmail.com>
2098
2099 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
2100 (desktop-restore-in-current-display): New customization option.
2101 (desktop--excluded-frame-parameters): Add `font'.
2102 (desktop--save-frames): Rename from desktop--save-windows.
2103 (desktop--restore-in-this-display-p): New function.
2104 (desktop--make-full-frame): Remove unwanted width/height from
2105 full(width|height) frames.
2106 (desktop--restore-frames): Rename from desktop--restore-windows.
2107 Obey desktop-restore-current-display. Do not delete old frames or
2108 select a new frame unless we were able to restore at least one frame.
2109
ef099a94
MN
21102013-06-30 Michal Nazarewicz <mina86@mina86.com>
2111
2112 * files.el (find-file-noselect): Simplify conditional expression.
2113
2114 * remember.el (remember-append-to-file):
2115 Don't mix `find-buffer-visiting' and `get-file-buffer'.
2116
2117 Add `remember-notes' function to store random notes across Emacs
2118 restarts.
2119 * remember.el (remember-data-file): Add :set callback to affect
2120 notes buffer (if any).
2121 (remember-notes): New command.
2122 (remember-notes-buffer-name, bury-remember-notes-on-kill):
2123 New defcustoms for the `remember-notes' function.
2124 (remember-notes-save-and-bury-buffer): New command.
2125 (remember-notes-mode-map): New variable.
2126 (remember-mode): New minor mode.
2127 (remember-notes--kill-buffer-query): New function.
2128 * startup.el (initial-buffer-choice): Add notes to custom type.
2129
0865d506
EZ
21302013-06-30 Eli Zaretskii <eliz@gnu.org>
2131
0ba54312
EZ
2132 * bindings.el (right-char, left-char): Don't call sit-for, this is
2133 no longer needed. Use arithmetic comparison only for numerical
2134 arguments.
2135
ef099a94
MN
2136 * international/mule-cmds.el (select-safe-coding-system):
2137 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 2138
2fae38e5
LMI
21392013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
2140
2141 * net/shr.el (shr-make-table-1): Add a sanity check that allows
2142 progression on degenerate tables.
ef099a94 2143 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 2144
a47cbd64
JB
21452013-06-30 Juanma Barranquero <lekktu@gmail.com>
2146
2147 Some fixes and improvements for desktop frame restoration.
2148 It is still experimental and disabled by default.
2149 * desktop.el (desktop--save-windows): Put the selected frame at
2150 the head of the list.
2151 (desktop--make-full-frame): New function.
2152 (desktop--restore-windows): Try to re-select the frame that was
2153 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
2154 just show an error message and continue. Set up maximized frames
2155 so they have default non-maximized dimensions.
a47cbd64 2156
6dbafa30
DG
21572013-06-30 Dmitry Gutov <dgutov@yandex.ru>
2158
ef099a94
MN
2159 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2160 Don't start heredoc inside a string or comment.
6dbafa30 2161
4c672a0f
EZ
21622013-06-29 Eli Zaretskii <eliz@gnu.org>
2163
2164 * bindings.el (visual-order-cursor-movement): New defcustom.
2165 (right-char, left-char): Provide visual-order cursor motion by
2166 calling move-point-visually. Update the doc strings.
2167
50960f36
KH
21682013-06-28 Kenichi Handa <handa@gnu.org>
2169
2170 * international/mule.el (define-coding-system): New coding system
2171 properties :inhibit-null-byte-detection,
2172 :inhibit-iso-escape-detection, and :prefer-utf-8.
2173 (set-buffer-file-coding-system): If :charset-list property of
2174 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
2175 appropriate for setting.
2176
c1ea3abf
JB
2177 * international/mule-cmds.el (select-safe-coding-system):
2178 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
2179 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
2180
2181 * international/mule-conf.el (prefer-utf-8): New coding system.
2182 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
2183 files.
2184
75dbaf9d
IK
21852013-06-28 Ivan Kanis <ivan@kanis.fr>
2186
eadb6068
IK
2187 * net/shr.el (shr-render-region): New function.
2188
75dbaf9d
IK
2189 * net/eww.el: Autoload `eww-browse-url'.
2190
9ea5cf9f
DG
21912013-06-27 Dmitry Gutov <dgutov@yandex.ru>
2192
c1ea3abf
JB
2193 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2194 Adapt to `package-desc-version' being a list.
2195 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
2196 archive element.
2197
39c0e36f
JB
21982013-06-27 Juanma Barranquero <lekktu@gmail.com>
2199
2200 New experimental feature to save&restore window and frame setup.
2201 * desktop.el (desktop-save-windows): New defcustom.
2202 (desktop--saved-states): New var.
2203 (desktop--excluded-frame-parameters): New defconst.
2204 (desktop--filter-frame-parms, desktop--find-frame-in-display)
2205 (desktop--restore-windows, desktop--save-windows): New functions.
2206 (desktop-save): Call `desktop--save-windows'.
2207 (desktop-read): Call `desktop--restore-windows'.
2208
7f13406b
LMI
22092013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
2210
ef099a94 2211 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 2212
1e072639
SB
22132013-06-27 Stephen Berman <stephen.berman@gmx.net>
2214
2215 * info.el (Info-try-follow-nearest-node): Move search for footnote
2216 above search for node name to prevent missing a footnote (bug#14717).
2217
f3e2cbde
SB
22182013-06-27 Stephen Berman <stephen.berman@gmx.net>
2219
2220 * obsolete/otodo-mode.el: Add obsolescence info to file header.
2221
99906aa0
LL
22222013-06-27 Leo Liu <sdl.web@gmail.com>
2223
2224 * net/eww.el (eww-read-bookmarks): Check file size.
2225
539f75f4
SM
22262013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
2227
2228 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
2229 advice--pending if newdef is nil or an autoload (bug#13820).
2230 (advice-mapc): New function.
2231
843571cb
LMI
22322013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
2233
2234 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
2235 probably.
23a75d7f 2236 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
2237 (eww-add-bookmark): New command.
2238 (eww-bookmark-mode): New mode and commands.
a285ce99 2239 (eww-add-bookmark): Remove newlines from the title.
47fd571b 2240 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 2241
f2136e1e
GM
22422013-06-26 Glenn Morris <rgm@gnu.org>
2243
eab35f39
GM
2244 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
2245 (hfy-size): Handle ttys. (Bug#14668)
2246
f2136e1e
GM
2247 * info-xref.el: Update for Texinfo 5 change in *note format.
2248 (info-xref-node-re, info-xref-note-re): New constants.
2249 (info-xref-check-buffer): Use info-xref-note-re.
2250
a49ff80c
SM
22512013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
2252
a343d218
SM
2253 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
2254
a49ff80c
SM
2255 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
2256 nil terminate the loop (bug#14718).
2257
8308f184
LMI
22582013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
2259
2260 * net/eww.el: Rework history traversal. When going forward/back,
2261 put these actions into the history, too, so that they can be
2262 replayed.
26bf2b82 2263 (eww-render): Move the history reset to the correct buffer.
8308f184 2264
ec64c273
JL
22652013-06-25 Juri Linkov <juri@jurta.org>
2266
2267 * files-x.el (modify-dir-local-variable): Change the header comment
2268 in the file with directory local variables. (Bug#14692)
2269
e080a9d7
JL
2270 * files-x.el (read-file-local-variable-value): Add `default'.
2271 (Bug#14710)
2272
bfbc93a1
IK
22732013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
2274
2275 * net/eww.el (eww-make-unique-file-name): Create a unique file
2276 name before saving to entering `y' accidentally asynchronously.
2277
22782013-06-25 Ivan Kanis <ivan@kanis.fr>
2279
2280 * net/eww.el (eww-download): New command and keystroke.
2281
16f74f10
LMI
22822013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
2283
a49ff80c 2284 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
2285
2286 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
2287 be more consistent with Info and dired.
2288
2289 * net/eww.el (eww-mode-map): Ditto.
2290
12059709
SM
22912013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
2292
2293 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
2294 packages from archives.
2295 (package-archive-contents): Change format; include obsolete packages.
2296 (package-desc): Use `dir' to mark builtin packages.
2297 (package--from-builtin): Set the `dir' field to `builtin'.
2298 (generated-autoload-file, version-control): Declare.
2299 (package-compute-transaction): Change first arg and return value to be
2300 lists of package-descs. Adjust to new package-archive-contents format.
2301 (package--add-to-archive-contents): Adjust to new
2302 package-archive-contents format.
2303 (package-download-transaction): Arg is now a list of package-descs.
2304 (package-install): If `pkg' is a package name, pass it as
2305 a requirement, so it is subject to the usual (e.g. disabled) checks.
2306 (describe-package): Accept package-desc as well.
2307 (describe-package-1): Describe a specific package-desc. Add links to
2308 other package-descs for the same package name.
2309 (package-menu-describe-package): Pass the actual package-desc.
2310 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
2311 works correctly.
2312 (package-desc-status): New function.
2313 (package-menu--refresh): New function, extracted
2314 from package-menu--generate.
2315 (package-menu--generate): Use it.
2316 (package-delete): Update package-alist.
2317 (package-menu-execute): Don't call package-initialize.
2318
2319 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
2320 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
2321 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
2322 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
2323 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
2324 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
2325
8bbdea0f
MR
23262013-06-25 Martin Rudalics <rudalics@gmx.at>
2327
2328 * window.el (window--state-get-1): Workaround for bug#14527.
2329 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
2330
e82b0991
LMI
23312013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
2332
2333 * net/eww.el (eww-back-url): Implement the history by stashing all
2334 the data into a list.
d3f0f918 2335 (eww-forward-url): Allow going forward in the history, too.
e82b0991 2336
c763842b
SM
23372013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
2338
2339 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
2340 for values and use read--expression for expressions (bug#14710).
2341 (read-file-local-variable): Avoid setq.
2342 (read-file-local-variable-mode): Use minor-mode-list.
2343
bceff189
RW
23442013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2345
864c58ca 2346 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
2347 for DOI URLs.
2348
45f431c6
RW
23492013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2350
864c58ca 2351 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
2352 Update imenu-support when dialect changes.
2353
f42d8237
LL
23542013-06-25 Leo Liu <sdl.web@gmail.com>
2355
2356 * ido.el (ido-read-internal): Allow forward slash on windows.
2357
be549ce6
LMI
23582013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
2359
2360 * net/eww.el (eww): Start of strings is \\`, not ^.
2361
71d4c19d
IK
23622013-06-24 Ivan Kanis <ivan@kanis.fr>
2363
5196f88a
IK
2364 * net/shr.el (shr-browse-url): Fix interactive spec.
2365
71d4c19d
IK
2366 * net/eww.el (eww): Add a trailing slash to domain names.
2367
ae36ca55
JB
23682013-06-24 Juanma Barranquero <lekktu@gmail.com>
2369
2370 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
2371
0ebd92a3
LMI
23722013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
2373
bdaa086b
LMI
2374 * net/shr.el (shr-browse-url): Use an external browser if given a
2375 prefix.
2376
c763842b 2377 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 2378
b89fc156
IK
23792013-06-24 Ivan Kanis <ivan@kanis.fr>
2380
2381 * net/eww.el (eww): Work more correctly for file: URLs.
2382 (eww-detect-charset): Allow quoted charsets.
2383 (eww-yank-page-url): New command and keystroke.
2384
18eb4bca
DU
23852013-06-24 Daiki Ueno <ueno@gnu.org>
2386
2387 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
2388 file name of gpg executable.
2389 (epg-context-program): New function.
2390 (epg-context-home-directory): New function.
2391 (epg-context-set-program): New function.
2392 (epg-context-set-home-directory): New function.
2393 (epg--start): Use `epg-context-program' instead of
2394 'epg-gpg-program'.
2395 (epg--list-keys-1): Likewise.
2396
6c6268c8
LL
23972013-06-24 Leo Liu <sdl.web@gmail.com>
2398
2399 * ido.el (ido-read-internal): Fix bug#14620.
2400
5e400cb3
JB
24012013-06-23 Juanma Barranquero <lekktu@gmail.com>
2402
2403 * faces.el (face-documentation): Simplify.
2404 (read-face-attribute, tty-find-type, x-resolve-font-name):
2405 Use `string-match-p'.
2406 (list-faces-display): Use `string-match-p'. Simplify.
2407 (face-spec-recalc): Check face to avoid face alias loops.
2408 (read-color): Use `string-match-p' and non-capturing parenthesis.
2409
f3f9606c
LMI
24102013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
2411
2412 * net/shr.el (shr-rescale-image): Use the new
2413 :max-width/:max-height functionality.
2414
a3ca09b9
IK
24152013-06-23 Ivan Kanis <ivan@kanis.fr>
2416
2417 * net/eww.el (eww-search-prefix): New variable.
2418 (eww): Use it.
f865b474
IK
2419 (eww-external-browser): New variable.
2420 (eww-mode-map): New keystroke.
2421 (eww-browse-with-external-browser): New command.
a3ca09b9 2422
e854cfc7
IK
2423 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
2424
18bb9e21
JB
24252013-06-23 Juanma Barranquero <lekktu@gmail.com>
2426
2427 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
2428 Don't skip aligning the next header field when padding is 0;
2429 otherwise, field width is not respected unless the title is as
2430 wide as the field.
2431
5b165ade
SM
24322013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
2433
2434 * emacs-lisp/package.el (package-el-version): Remove.
2435 (package-process-define-package): Fix inf-loop.
2436 (package-install): Allow symbols as arguments again.
2437
12adebe9
DG
24382013-06-22 Dmitry Gutov <dgutov@yandex.ru>
2439
2440 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
2441 add some more keyword-like methods.
2442 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
2443
388573ee
JB
24442013-06-22 Juanma Barranquero <lekktu@gmail.com>
2445
2446 * bs.el (bs-buffer-show-mark): Make defvar-local.
2447 (bs-mode): Use setq-local.
2448
2449 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
2450 (emacs-lock--try-unlocking): Make defvar-local.
2451
4582a01c 24522013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 2453
2663dd23
GM
2454 * play/cookie1.el (cookie-apropos): Minor simplification.
2455
3d94f3ad
GM
2456 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
2457
f72e2fdb
DG
24582013-06-22 Dmitry Gutov <dgutov@yandex.ru>
2459
2460 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
2461 `regexp-opt', it breaks the build during dumping.
2462
73eab938
DG
24632013-06-21 Dmitry Gutov <dgutov@yandex.ru>
2464
c763842b
SM
2465 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2466 Highlight keyword-like methods on Kernel and Module with
73eab938 2467 font-lock-builtin-face.
5cf8176d
DG
2468 (auto-mode-alist): Consolidate different entries into one regexp
2469 and add more *file-s.
73eab938 2470
d26255f6
SB
24712013-06-21 Stephen Berman <stephen.berman@gmx.net>
2472
2473 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
2474
2475 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
2476 (diary-entry): Use it in the action of this button type instead of
2477 diary-goto-entry.
2478
2479 * calendar/todo-mode.el: New version.
2480 (todo-add-category): Append new category to end of file and give
2481 it the highest number, instead of putting it at the beginning and
2482 giving it 0. Incorporate noninteractive functionality.
2483 (todo-forward-category): Adapt to 1-based category numbering.
2484 Allow skipping over archived categories.
2485 (todo-backward-category): Derive from todo-forward-category.
2486 (todo-backward-item, todo-forward-item): Make noninteractive and
2487 delegate interactive part to new commands. Make sensitive to done items.
2488 (todo-categories): Make value an alist of category names and
2489 vectors of item counts.
2490 (todo-category-beg): Make a defconst.
2491 (todo-category-number): Use 1 instead of 0 as initial value.
2492 (todo-category-select): Make sensitive to overlays, optional item
2493 highlighting and done items.
2494 (todo-delete-item): Make sensitive to overlays and marked and done items.
2495 (todo-edit-item): Make sensitive to overlays and editing of
2496 date/time header optional. Add format checks.
2497 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
2498 no-op if point is not on an item. Advertise using todo-edit-quit.
2499 (todo-edit-mode): Make sensitive to new format, font-locking, and
2500 multiple todo files.
2501 (todo-insert-item, todo-insert-item-here): Derive from
2502 todo-basic-insert-item and extend functionality.
2503 (todo-item-end, todo-item-start): Make sensitive to done items.
2504 (todo-item-string): Don't return text properties. Restore point.
2505 (todo-jump-to-category): Make sensitive to multiple todo files and
2506 todo archives. Use extended category completion.
2507 (todo-lower-item, todo-raise-item): Rename to *-priority and
2508 derive from todo-set-item-priority.
2509 (todo-mode): Derive from special-mode. Make sensitive to new
2510 format, font-locking and multiple todo files. Make read-only.
2511 (todo-mode-map): Don't suppress digit keys, so they can supply
2512 prefix arguments. Add many new key bindings.
2513 (todo-prefix): Insert as an overlay instead of file text.
2514 Change semantics from diary date expression to purely visual mark.
2515 (todo-print): Rename to todo-print-buffer. Make buffer display
2516 features printable. Remove option to restrict number of items
2517 printed. Add option to print to file.
2518 (todo-print-function): Rename to todo-print-buffer-function.
2519 (todo-quit): Extend to handle exiting new todo modes.
2520 (todo-remove-item): Make sensitive to overlays.
2521 (todo-save): Extend to buffers of filtered items.
2522 (todo-show): Make sensitive to done items, multiple todo files and
2523 new todo modes. Offer to convert legacy todo file before creating
2524 first new todo file.
2525 (todo-show-priorities): Rename to todo-top-priorities.
2526 Change semantics of value 0.
2527 (todo-top-priorities): Rename to todo-filter-top-priorities,
2528 derive from todo-filter-items and extend functionality.
2529 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
2530 and extend functionality to other types of filtered items.
2531 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
2532 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
2533 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
2534 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
2535 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
2536 (todo-edit-mode-hook, todo-entry-prefix-function)
2537 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
2538 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
2539 (todo-initials, todo-insert-threshold, todo-item-string-start)
2540 (todo-line-string, todo-menu, todo-mode-hook)
2541 (todo-more-important-p, todo-previous-answer, todo-previous-line)
2542 (todo-print-priorities, todo-remove-separator)
2543 (todo-save-top-priorities-too, todo-string-count-lines)
2544 (todo-string-multiline-p, todo-time-string-format)
2545 (todo-tmp-buffer-name): Remove.
2546 (todo-add-file, todo-archive-done-item, todo-choose-archive)
2547 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
2548 (todo-edit-category-diary-inclusion)
2549 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
2550 (todo-edit-file, todo-edit-item-date-day)
2551 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
2552 (todo-edit-item-date-month, todo-edit-item-date-to-today)
2553 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
2554 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
2555 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
2556 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
2557 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
2558 (todo-filter-top-priorities-multifile, todo-find-archive)
2559 (todo-find-filtered-items-file, todo-go-to-source-item)
2560 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
2561 (todo-jump-to-archive-category, todo-lower-category)
2562 (todo-mark-category, todo-marked-item-p, todo-merge-category)
2563 (todo-move-category, todo-move-item, todo-next-button)
2564 (todo-next-item, todo-padded-string, todo-powerset)
2565 (todo-previous-button, todo-previous-item)
2566 (todo-print-buffer-to-file, todo-raise-category)
2567 (todo-rename-category, todo-repair-categories-sexp, todo-search)
2568 (todo-set-category-number, todo-set-item-priority)
2569 (todo-set-top-priorities-in-category)
2570 (todo-set-top-priorities-in-file, todo-show-categories-table)
2571 (todo-sort-categories-alphabetically-or-numerically)
2572 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
2573 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
2574 (todo-toggle-item-header, todo-toggle-item-highlighting)
2575 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
2576 (todo-toggle-view-done-items, todo-toggle-view-done-only)
2577 (todo-unarchive-items, todo-unmark-category): New commands.
2578 (todo-absolute-file-name, todo-add-to-buffer-list)
2579 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
2580 (todo-basic-insert-item, todo-category-completions)
2581 (todo-category-number, todo-category-string-matcher-1)
2582 (todo-category-string-matcher-2, todo-check-filtered-items-file)
2583 (todo-check-format, todo-clear-matches)
2584 (todo-comment-string-matcher, todo-convert-legacy-date-time)
2585 (todo-current-category, todo-date-string-matcher)
2586 (todo-define-insertion-command, todo-diary-expired-matcher)
2587 (todo-diary-goto-entry, todo-diary-item-p)
2588 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
2589 (todo-display-categories, todo-display-sorted, todo-done-item-p)
2590 (todo-done-item-section-p, todo-done-separator)
2591 (todo-done-string-matcher, todo-files, todo-filter-items)
2592 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
2593 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
2594 (todo-insert-category-line, todo-insert-item-from-calendar)
2595 (todo-insert-sort-button, todo-insert-with-overlays)
2596 (todo-insertion-command-name, todo-insertion-key-bindings)
2597 (todo-label-to-key, todo-longest-category-name-length)
2598 (todo-make-categories-list, todo-mode-external-set)
2599 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
2600 (todo-modes-set-3, todo-multiple-filter-files)
2601 (todo-nondiary-marker-matcher, todo-prefix-overlays)
2602 (todo-read-category, todo-read-date, todo-read-dayname)
2603 (todo-read-file-name, todo-read-time)
2604 (todo-reevaluate-category-completions-files-defcustom)
2605 (todo-reevaluate-default-file-defcustom)
2606 (todo-reevaluate-filelist-defcustoms)
2607 (todo-reevaluate-filter-files-defcustom)
2608 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
2609 (todo-reset-done-separator, todo-reset-done-separator-string)
2610 (todo-reset-done-string, todo-reset-global-current-todo-file)
2611 (todo-reset-highlight-item, todo-reset-nondiary-marker)
2612 (todo-reset-prefix, todo-set-categories)
2613 (todo-set-date-from-calendar, todo-set-show-current-file)
2614 (todo-set-top-priorities, todo-short-file-name)
2615 (todo-show-current-file, todo-sort, todo-time-string-matcher)
2616 (todo-total-item-counts, todo-update-buffer-list)
2617 (todo-update-categories-display, todo-update-categories-sexp)
2618 (todo-update-count, todo-validate-name, todo-y-or-n-p):
2619 New functions.
2620 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
2621 New major modes.
2622 (todo-categories, todo-display, todo-edit, todo-faces)
2623 (todo-filtered): New defgroups.
2624 (todo-archived-only, todo-button, todo-category-string, todo-date)
2625 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
2626 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
2627 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
2628 (todo-add-item-if-new-category, todo-always-add-time-string)
2629 (todo-categories-align, todo-categories-archived-label)
2630 (todo-categories-category-label, todo-categories-diary-label)
2631 (todo-categories-done-label, todo-categories-number-separator)
2632 (todo-categories-todo-label, todo-categories-totals-label)
2633 (todo-category-completions-files, todo-completion-ignore-case)
2634 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
2635 (todo-done-separator-string, todo-done-string)
2636 (todo-files-function, todo-filter-done-items, todo-filter-files)
2637 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
2638 (todo-initial-category, todo-initial-file, todo-item-mark)
2639 (todo-legacy-date-time-regexp, todo-mode-line-function)
2640 (todo-nondiary-marker, todo-number-prefix)
2641 (todo-print-buffer-function, todo-show-current-file)
2642 (todo-show-done-only, todo-show-first, todo-show-with-done)
2643 (todo-skip-archived-categories, todo-top-priorities-overrides)
2644 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
2645 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
2646 New defcustoms.
2647 (todo-category-done, todo-date-pattern, todo-date-string-start)
2648 (todo-diary-items-buffer, todo-done-string-start)
2649 (todo-filtered-items-buffer, todo-item-start)
2650 (todo-month-abbrev-array, todo-month-name-array)
2651 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
2652 (todo-top-priorities-buffer): New defconsts.
2653 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
2654 (todo-categories-with-marks, todo-category-string-face)
2655 (todo-comment-face, todo-comment-string, todo-current-todo-file)
2656 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
2657 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
2658 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
2659 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
2660 (todo-font-lock-keywords, todo-global-current-todo-file)
2661 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
2662 (todo-insertion-commands-args)
2663 (todo-insertion-commands-args-genlist)
2664 (todo-insertion-commands-names, todo-insertion-map)
2665 (todo-key-bindings-t, todo-key-bindings-t+a)
2666 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
2667 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
2668 (todo-nondiary-face, todo-print-buffer, todo-time-face)
2669 (todo-visited): New variables.
2670
cad5d1cb
GM
26712013-06-21 Glenn Morris <rgm@gnu.org>
2672
2673 * play/cookie1.el (cookie-apropos): Add optional display argument.
2674 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
2675 (psychoanalyze-pinhead): Use cookie-doctor.
2676
9e277302
JB
26772013-06-21 Juanma Barranquero <lekktu@gmail.com>
2678
2679 * emacs-lisp/package.el (tar-get-file-descriptor)
2680 (tar--extract): Declare.
2681
c5b0993e
EW
26822013-06-21 Eduard Wiebe <usenet@pusto.de>
2683
2684 Extend flymake's warning predicate to be a function (bug#14217).
2685 * progmodes/flymake.el (flymake-warning-predicate): New.
2686 (flymake-parse-line): Use it.
2687 (flymake-warning-re): Make obsolete alias to
2688 `flymake-warning-predicate'.
2689
a7d2d465
SM
26902013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
2691
2692 * emacs-lisp/package.el (package-alist): Include obsolete packages.
2693 (package-obsolete-list): Remove.
2694 (package-activate): Remove min-version argument. Add `force' argument.
2695 Adjust to new package-alist format.
2696 (package-mark-obsolete): Remove.
2697 (package-unpack): Force reload of the package's autoloads.
2698 (package-installed-p): Check builtins if the installed package is not
2699 recent enough.
2700 (package-initialize): Don't reset package-obsolete-list.
2701 Don't specify which package version to activate.
2702 (package-process-define-package, describe-package-1)
2703 (package-menu--generate): Adjust to new package-alist format.
2704
cedf5c9d
JB
27052013-06-21 Juanma Barranquero <lekktu@gmail.com>
2706
2707 * allout-widgets.el (allout-widgets-mode-off)
2708 (allout-widgets-mode-on, allout-widgets-pre-command-business)
2709 (allout-widgets-post-command-business)
2710 (allout-widgets-after-copy-or-kill-function)
2711 (allout-widgets-after-undo-function, allout-test-range-overlaps)
2712 (allout-decorate-item-and-context)
2713 (allout-graphics-modification-handler): Fix typos in docstrings.
2714 (allout-get-or-create-parent-widget): Use `looking-at-p'.
2715
2716 * cmuscheme.el (scheme-start-file): Doc fix.
2717 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
2718 (scheme-input-filter): Use `string-match-p'.
2719
2720 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
2721
2722 * dired-x.el: Use Dired consistently in docstrings.
2723
2724 * dired.el: Use Dired consistently in docstrings.
2725 (dired-readin, dired-mode): Use `setq-local'.
2726 (dired-switches-alist): Make defvar-local.
2727 (dired-buffers-for-dir): Use `zerop'.
2728 (dired-safe-switches-p, dired-switches-escape-p)
2729 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
2730 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
2731 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
2732 (dired-goto-next-nontrivial-file): Use `string-match-p'.
2733 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
2734 (dired-toggle-marks, dired-mark-files-containing-regexp)
2735 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
2736 (dired-flag-auto-save-files, dired-flag-backup-files):
2737 Use `looking-at-p'.
2738 (dired-mark-files-regexp, dired-build-subdir-alist):
2739 Use `string-match-p', `looking-at-p'.
2740
2741 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
2742 (direct-print-region-helper): Use `string-match-p'.
2743
aed838b5
LL
27442013-06-21 Leo Liu <sdl.web@gmail.com>
2745
cedf5c9d
JB
2746 * comint.el (comint-redirect-results-list-from-process):
2747 Fix infinite loop.
aed838b5 2748
d80a808f
LMI
27492013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2750
2751 * net/eww.el (eww-update-header-line-format): Quote % characters.
2752
e7a526e3
GM
27532013-06-21 Glenn Morris <rgm@gnu.org>
2754
2755 * play/cookie1.el (cookie): New custom group.
2756 (cookie-file): New option.
2757 (cookie-check-file): New function.
2758 (cookie): Make it interactive. Make start and end messages optional.
2759 Interactively, display the result. Default to cookie-file.
2760 (cookie-insert): Default to cookie-file.
2761 (cookie-snarf): Make start and end messages optional.
2762 Default to cookie-file. Use with-temp-buffer.
2763 (cookie-read): Rename from read-cookie.
2764 Make start and end messages optional. Default to cookie-file.
2765 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 2766 Do not autoload it.
e7a526e3
GM
2767 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
2768 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
2769
62efb35e
LL
27702013-06-21 Leo Liu <sdl.web@gmail.com>
2771
2772 * progmodes/octave.el (octave-mode): Backward compatibility fix.
2773
21e3f963
GM
27742013-06-21 Glenn Morris <rgm@gnu.org>
2775
2776 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
2777
fd846ab4
SM
27782013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
2779 Daniel Hackney <dan@haxney.org>
2780
2781 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
2782 Consolidate the single-file vs tarball code.
2783 (package-desc-suffix): New function.
2784 (package-desc-full-name): Don't bother inlining it.
2785 (package-load-descriptor): Return the new package-desc.
2786 (package-mark-obsolete): Remove unused arg `package'.
2787 (package-unpack): Make it work for single files as well.
2788 Make it update package-alist.
2789 (package--make-autoloads-and-stuff): Rename from
2790 package--make-autoloads-and-compile. Don't compile any more.
2791 (package--compile): New function.
2792 (package-generate-description-file): New function, extracted from
2793 package-unpack-single.
2794 (package-unpack-single): Remove.
2795 (package--with-work-buffer): Add indentation and debugging info.
2796 (package-download-single): Remove.
2797 (package-install-from-archive): Rename from package-download-tar, make
2798 it take a pkg-desc, and make it work for single files as well.
2799 (package-download-transaction): Simplify.
2800 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
2801 external tar program.
2802 (package-install-from-buffer): Remove `pkg-desc' argument.
2803 Use package-tar-file-info for tar-mode buffers.
2804 (package-install-file): Simplify accordingly.
2805 (package-archive-base): Change to take a pkg-desc.
2806 * tar-mode.el (tar--check-descriptor): New function, extracted from
2807 tar-get-descriptor.
2808 (tar-get-descriptor): Use it.
2809 (tar-get-file-descriptor): New function.
2810 (tar--extract): New function, extracted from tar-extract.
2811 (tar--extract): Use it.
2812 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
2813 case the summary uses non-ascii. Adjust to new calling convention of
2814 package-tar-file-info.
2815
b7deae5e
LL
28162013-06-21 Leo Liu <sdl.web@gmail.com>
2817
fd846ab4
SM
2818 * comint.el (comint-redirect-results-list-from-process):
2819 Fix random delay. (Bug#14681)
b7deae5e 2820
7a65a0b2
JB
28212013-06-21 Juanma Barranquero <lekktu@gmail.com>
2822
2823 * profiler.el (profiler-format-number): Use log, not log10.
2824
1493c2af
JB
28252013-06-20 Juanma Barranquero <lekktu@gmail.com>
2826
2827 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
2828
aff6371e
SM
28292013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
2830
2831 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
2832 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
2833 yet available.
2834 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
2835 (AUTOGENEL): ... here.
2836 * emacs-lisp/cl-macs.el (cl--sublis): New function.
2837 (cl--defsubst-expand): Use it.
2838
89561f72
PE
28392013-06-20 Paul Eggert <eggert@cs.ucla.edu>
2840
2841 * subr.el (log10): Move here from C code, and declare as obsolete.
2842 All uses of (log10 X) replaced with (log X 10).
2843
47199123
JB
28442013-06-20 Juanma Barranquero <lekktu@gmail.com>
2845
2846 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
2847 Declare with `defvar-local'.
2848 (tabulated-list-use-header-line, tabulated-list-entries)
2849 (tabulated-list-padding, tabulated-list-printer)
2850 (tabulated-list-sort-key): Declare with `defvar-local'.
2851 (tabulated-list-init-header, tabulated-list-print-fake-header):
2852 Use `setq-local'.
2853
4a172eab
MA
28542013-06-20 Michael Albinus <michael.albinus@gmx.de>
2855
47199123
JB
2856 * arc-mode.el (archive-mode): Add `archive-write-file' to
2857 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 2858
5fc0acc0
JB
28592013-06-20 Juanma Barranquero <lekktu@gmail.com>
2860
d5b27848
JB
2861 * cus-edit.el (custom-commands): Fix typos.
2862 (custom-display): Fix tooltip text.
2863 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
2864 Fix typos in docstrings.
2865 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
2866 (custom-unlispify-menu-entry, custom-magic-value-create)
2867 (custom-add-see-also, custom-group-value-create): Use ?\s.
2868 (custom-guess-type, customize-apropos, editable-field)
2869 (custom-face-value-create): Use `string-match-p'.
2870 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
2871
2872 * custom.el (custom-load-symbol): Use `string-match-p'.
2873
a5c581d8
JB
2874 * ansi-color.el: Convert to lexical binding.
2875 (ansi-colors): Fix URL.
2876 (ansi-color-context, ansi-color-context-region): Use defvar-local.
2877 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
2878 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
2879
970ad972
G
28802013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
2881
2882 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
2883
2884 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
2885
28862013-06-19 Tom Tromey <tromey@redhat.com>
2887
2888 * net/eww.el (eww-top-url): Remove.
2889 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
2890 (eww-render): Set new variables. Don't set eww-top-url.
2891 (eww-handle-link): Handle "prev", "home", and "contents".
2892 Downcase the rel text.
2893 (eww-top-url): Choose best top URL.
2894
28952013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
2896
2897 * net/eww.el: Rewrite to implement form elements "by hand" instead of
2898 relying in widget.el. Using widget.el leads to too many
2899 user interface inconsistencies.
2900 (eww-self-insert): Implement entering commands in text fields.
2901 (eww-process-text-input): New function to make text input field editing
2902 work.
2903 (eww-submit): Rewrite to use the new-style form methods.
2904 (eww-select-display): Display the correct selected item.
2905 (eww-change-select): Implement changing the select value.
2906 (eww-toggle-checkbox): Implement radio/checkboxes.
2907 (eww-update-field): Fix compilation error.
2908 (eww-tag-textarea): Implement <textarea>.
2909
2910 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
2911 we don't shadow mode-specific bindings.
2912
2913 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
2914 nothing to push.
2915
2916 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
2917
4582a01c 29182013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
2919
2920 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
2921
15b263dc
MA
29222013-06-19 Michael Albinus <michael.albinus@gmx.de>
2923
2924 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
2925 not needed.
2926
2927 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
2928
8f5297f7
LMI
29292013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
2930
2931 * net/browse-url.el (browse-url-browser-function):
2932 `eww-browse-url' has the right calling signature, `eww' does not.
2933
011c4552
GM
29342013-06-19 Glenn Morris <rgm@gnu.org>
2935
2285bd27
GM
2936 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
2937 Only eval autoloaded macros.
2938 (byte-compile-autoload): Only give the macro warning for macros.
2939
1d653303
GM
2940 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
2941 (ps-underlined-faces): Declare.
2942
bdd779ec
GM
2943 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
2944 (speedbar-add-supported-extension): Declare.
2945
011c4552
GM
2946 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
2947 Don't include a date stamp in the header of the generated file;
2948 it leads to needless differences between output files.
2949
e59dfb0e
MA
29502013-06-19 Michael Albinus <michael.albinus@gmx.de>
2951
c763842b
SM
2952 * net/secrets.el (secrets-struct-secret-content-type):
2953 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 2954 Some servers do not offer introspection.
e59dfb0e 2955
102626e2
SM
29562013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
2957
2958 * electric.el (electric-pair-mode): Improve interaction with
2959 electric-layout-mode.
2960 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
2961 (electric-pair-syntax): Use text-mode-syntax-table in comments
2962 and strings.
2963 (electric-pair--insert): New function.
2964 (electric-pair-post-self-insert-function): Use it and
2965 electric--after-char-pos.
2966
ad528125
LL
29672013-06-19 Leo Liu <sdl.web@gmail.com>
2968
2969 * progmodes/octave.el (octave-help): Fix regexp.
2970
924d6997
G
29712013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
2972
2973 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
2974 (shr-table-horizontal-line): Allow nil as a value, and change the
2975 default.
2976 (shr-insert-table-ruler): Respect the nil value.
2977
29782013-06-18 Tom Tromey <tromey@barimba>
2979
2980 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
2981 New defvars.
2982 (eww-open-file): New defun.
2983 (eww-render): Initialize new variables.
2984 (eww-display-html): Handle "link" and "a".
2985 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
2986 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
2987 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
2988 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
2989 New defuns.
924d6997 2990
d1bbba4f
DG
29912013-06-18 Dmitry Gutov <dgutov@yandex.ru>
2992
2993 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
2994 Distinguish ternary operator tokens from slash symbol and slash
2995 char literal.
2996
14dd22d2
JB
29972013-06-18 Juanma Barranquero <lekktu@gmail.com>
2998
2999 Convert symbol prettification into minor mode and global minor mode.
3000
3001 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
3002 `prog-prettify-symbols', and make a local defvar instead of defcustom.
3003 (prettify-symbols--keywords): Rename from
3004 `prog-prettify-symbols-alist' and make a local defvar.
3005 (prettify-symbols--compose-symbol): Rename from
3006 `prog--prettify-font-lock-compose-symbol'.
3007 (prettify-symbols--make-keywords): Rename from
3008 `prog-prettify-font-lock-symbols-keywords' and simplify.
3009 (prog-prettify-install): Remove.
3010 (prettify-symbols-mode): New minor mode, based on
3011 `prog-prettify-install'.
3012 (turn-on-prettify-symbols-mode): New function.
3013 (global-prettify-symbols-mode): New globalized minor mode.
3014
3015 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3016 * progmodes/cfengine.el (cfengine3-mode):
3017 * progmodes/perl-mode.el (perl-mode): Don't call
3018 `prog-prettify-install'; set `prettify-symbols-alist' instead.
3019
292c880c
JL
30202013-06-18 Juri Linkov <juri@jurta.org>
3021
3022 * files-x.el (modify-file-local-variable-message): New function.
3023 (modify-file-local-variable)
3024 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
3025 and call `modify-file-local-variable-message' when it's non-nil.
3026 (add-file-local-variable, delete-file-local-variable)
3027 (add-file-local-variable-prop-line)
3028 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
3029 and use it. (Bug#9820)
3030
0950aa27
JL
30312013-06-18 Juri Linkov <juri@jurta.org>
3032
3033 * emulation/vi.el (vi-shell-op):
3034 * emulation/vip.el (vip-execute-com, ex-command):
3035 * emulation/viper-cmd.el (viper-exec-bang):
3036 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
3037 the call of `shell-command-on-region'. (Bug#14637)
3038
3039 * simple.el (shell-command-on-region): Doc fix.
3040
8fbcca16
SM
30412013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
3042
3043 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
3044 (bug#14633).
3045
dd7426ea
GM
30462013-06-18 Glenn Morris <rgm@gnu.org>
3047
4ba54f7d
GM
3048 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
3049
dd7426ea
GM
3050 * newcomment.el (comment-search-forward, comment-search-backward):
3051 Doc fix. (Bug#14376)
3052
58aa805b
JB
30532013-06-18 Juanma Barranquero <lekktu@gmail.com>
3054
3055 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
3056 (buffer-face-mode-invoke): Doc fix.
3057
9a08a617
MM
30582013-06-18 Matthias Meulien <orontee@gmail.com>
3059
3060 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 3061 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 3062
f2f426ca
GM
30632013-06-18 Glenn Morris <rgm@gnu.org>
3064
9445f99b
GM
3065 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
3066 Replace obsolete function generic-make-keywords with its expansion.
3067
e0df2d14
GM
3068 * progmodes/python.el (ffap-alist): Declare.
3069
f2f426ca
GM
3070 * textmodes/reftex.el (bibtex-mode-map): Declare.
3071
f7f9a720
SM
30722013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
3073
3074 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
3075 (package-unpack, package-unpack-single): Return the pkg-dir.
3076 (package-download-transaction): Use it to update package-alist.
3077
57ff04e0
LMI
30782013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
3079
3080 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
3081 possible choice.
3082
c048c022
JL
30832013-06-17 Juri Linkov <juri@jurta.org>
3084
3085 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
3086
b5bcaee5
DG
30872013-06-17 Dmitry Gutov <dgutov@yandex.ru>
3088
a020afb9
JB
3089 * emacs-lisp/package.el (package-load-descriptor):
3090 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
3091 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
3092
551e07e5
JB
30932013-06-17 Juanma Barranquero <lekktu@gmail.com>
3094
3095 * startup.el (command-line): Expand package name returned by
3096 `package--description-file' (bug#14639).
3097
d363bffb
DG
30982013-06-17 Dmitry Gutov <dgutov@yandex.ru>
3099
3100 * emacs-lisp/package.el (package-load-descriptor): Do not call
3101 `emacs-lisp-mode', just use its syntax table.
3102
f612933b
JB
31032013-06-17 Juanma Barranquero <lekktu@gmail.com>
3104
3105 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
3106 `font-lock-extra-managed-props' if any prettifying keyword is added.
3107 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
3108 (prog-mode): Use `setq-local'.
3109
db3b7db5
SM
31102013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
3111
3112 * international/characters.el (standard-case-table): Set syntax of ?»
3113 and ?« to punctuation.
3114
f3d674df
JB
31152013-06-16 Juanma Barranquero <lekktu@gmail.com>
3116
3117 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
3118 Save relevant match data before calling `syntax-ppss' (bug#14595).
3119
31489a32
JL
31202013-06-15 Juri Linkov <juri@jurta.org>
3121
3122 * files-x.el (modify-file-local-variable-prop-line): Add local
3123 variables to the end of the existing comment on the first line.
3124 Use `file-auto-mode-skip' to skip interpreter magic line,
3125 and also skip XML declaration.
3126
66bd25ab
SM
31272013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
3128
3129 * startup.el (package--builtin-versions): New var.
3130 (package-subdirectory-regexp): Remove.
3131 (package--description-file): Hard code its value instead.
3132
3133 * emacs-lisp/package.el: Don't activate packages older than builtin.
3134 (package-obsolete-list): Rename from package-obsolete-alist, and make
3135 it into a simple list of package-desc.
3136 (package-strip-version): Remove.
3137 (package-built-in-p): Use package--builtin-versions.
3138 (package-mark-obsolete): Simplify.
3139 (package-process-define-package): Mark it obsolete if older than the
3140 builtin version.
3141 (package-handle-response): Use line-end-position.
3142 (package-read-archive-contents, package--download-one-archive):
3143 Simplify.
3144 (package--add-to-archive-contents): Skip if older than the builtin or
3145 installed version.
3146 (package-menu-describe-package): Fix last change.
3147 (package-list-unversioned): New var.
3148 (package-menu--generate): Use it.
3149
3150 * emacs-lisp/autoload.el: Manage package--builtin-versions.
3151 (autoload--insert-text, autoload--insert-cookie-text): New functions.
3152 (autoload-builtin-package-versions): New variable.
3153 (autoload-generate-file-autoloads): Use them.
3154 Remove the list of autoloaded functions/macros from the
3155 (autoload...) comments.
3156
3157 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
3158
9583ec36
EZ
31592013-06-15 Eli Zaretskii <eliz@gnu.org>
3160
3161 * simple.el (line-move-partial): Don't jump to the next screen
3162 line as soon as it becomes visible. Instead, continue enlarging
3163 the vscroll until the portion of a tall screen line that's left on
3164 display is about the height of the frame's default font.
3165 (Bug#14567)
3166
f0100d8a
GM
31672013-06-15 Glenn Morris <rgm@gnu.org>
3168
b86a85ca
GM
3169 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
3170 compilation-error-regexp-alist void, or local while let-bound.
3171
f0100d8a
GM
3172 * progmodes/make-mode.el (makefile-mode-syntax-table):
3173 Treat "=" as punctuation. (Bug#14614)
3174
05e7ce90
JB
31752013-06-15 Juanma Barranquero <lekktu@gmail.com>
3176
3177 * help-fns.el (describe-variable):
3178 Add extra line for permanent-local variables.
3179
12e5e86e
SH
31802013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
3181
3182 * progmodes/scheme.el (scheme-font-lock-keywords-2):
3183 Add export, import, library. (Bug#9164)
3184 (library): Set indent function.
3185
230dcbaf
GM
31862013-06-14 Glenn Morris <rgm@gnu.org>
3187
3188 * term/xterm.el (xterm--query):
3189 Stop after first matching handler. (Bug#14615)
3190
a020afb9 31912013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
3192
3193 Add support for dired in saveplace.
3194 * dired.el (dired-initial-position-hook): New variable.
3195 (dired-initial-position): Call hook to place cursor position.
3196 * saveplace.el (save-place-to-alist): Add dired position.
3197 (save-place-dired-hook): New function.
3198
0b31660d
SM
31992013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
3200
bf1e6ae8
SM
3201 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
3202 through a symbol rather than letrec.
3203
1b8dff23
SM
3204 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
3205 (package-desc): Add `dir' field.
3206 (package-desc-full-name): New function.
3207 (package-load-descriptor): Combine the two arguments. Don't use `load'.
3208 (package-maybe-load-descriptor): Remove.
3209 (package-load-all-descriptors): Just call package-load-descriptor.
3210 (package--disabled-p): New function.
3211 (package-desc-vers, package-desc-doc): Remove aliases.
3212 (package--dir): Remove function.
3213 (package-activate): Check if a package is disabled.
3214 (package-process-define-package): New function, extracted from
3215 define-package.
3216 (define-package): Turn into a place holder.
3217 (package-unpack-single, package-tar-file-info):
3218 Use package--description-file.
3219 (package-compute-transaction): Use package--disabled-p.
3220 (package-download-transaction): Don't call
3221 package-maybe-load-descriptor since they're all loaded anyway.
3222 (package-install): Change argument to be a pkg-desc.
3223 (package-delete): Use a single pkg-desc argument.
3224 (describe-package-1): Use package-desc-dir instead of package--dir.
3225 Use package-desc property instead of package-symbol.
3226 (package-install-button-action): Adjust accordingly.
3227 (package--push): Rewrite.
3228 (package-menu--print-info): Adjust accordingly. Change the ID format
3229 to be a pkg-desc.
3230 (package-menu-describe-package, package-menu-get-status)
3231 (package-menu--find-upgrades, package-menu-mark-upgrades)
3232 (package-menu-execute, package-menu--name-predicate):
3233 Adjust accordingly.
3234 * startup.el (package--description-file): New function.
3235 (command-line): Use it.
3236 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3237 Use package-desc-version.
3238
0b31660d
SM
3239 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
3240 (byte-compile-preprocess): Use it.
3241 (byte-compile-file-form-defalias): Try a bit harder to use macros we
3242 can't quite recognize.
3243 (byte-compile-add-to-list): Remove.
3244 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
3245 (cconv-closure-convert): Add assertion.
3246
3247 * emacs-lisp/map-ynp.el: Use lexical-binding.
3248 (map-y-or-n-p): Remove unused vars `tail' and `object'.
3249 Factor out some repeated code.
3250
de0503df
SM
32512013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
3252
3253 * subr.el (with-eval-after-load): New macro.
3254 (eval-after-load): Allow form to be a function.
3255 take advantage of lexical-binding.
3256 (do-after-load-evaluation): Use dolist and adjust to new format.
3257 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
3258
bc5c8c5a
JL
32592013-06-13 Juri Linkov <juri@jurta.org>
3260
3261 * replace.el (perform-replace): Display "symbol " and other search
3262 modes from `isearch-message-prefix' in the *Help* buffer.
3263
3264 * isearch.el (isearch-query-replace): Add " symbol" and other
3265 possible search modes from `isearch-message-prefix' to the prompt.
3266 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
3267 when reading a regexp to collect.
3268
a22289f7
JL
32692013-06-13 Juri Linkov <juri@jurta.org>
3270
3271 * isearch.el (word-search-regexp): Match whitespace if the search
3272 string begins or ends in whitespace. The LAX arg is applied to
3273 both ends of the search string. Use `regexp-quote' and explicit
3274 \< and \> instead of \b. Use \` and \' instead of ^ and $.
3275 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
3276 boundaries are replaced with symbol boundaries, and characters
3277 between symbols match non-word non-symbol syntax. (Bug#14602)
3278
cb89acab
JL
32792013-06-13 Juri Linkov <juri@jurta.org>
3280
3281 * isearch.el (isearch-del-char): Don't exceed the length of
3282 `isearch-string' by the prefix arg. (Bug#14563)
3283
6e8cfc81
JL
32842013-06-13 Juri Linkov <juri@jurta.org>
3285
3286 * isearch.el (isearch-yank-word, isearch-yank-line)
3287 (isearch-char-by-name, isearch-quote-char)
3288 (isearch-printing-char, isearch-process-search-char):
3289 Add optional count prefix arg. (Bug#14563)
3290
3291 * international/isearch-x.el
3292 (isearch-process-search-multibyte-characters):
3293 Add optional count prefix arg.
3294
c23d55f4
VS
32952013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
3296
3297 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
3298 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
3299 lexical-binding.
3300
33012013-06-13 Vitalie Spinu <spinuvit@gmail.com>
3302
3303 * subr.el (set-temporary-overlay-map): Add on-exit argument.
3304
ba947bc4
GM
33052013-06-13 Glenn Morris <rgm@gnu.org>
3306
8baeb37a
GM
3307 * startup.el (tty-handle-args):
3308 Don't just discard "--" and anything after. (Bug#14608)
3309
ba947bc4
GM
3310 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
3311
9abefce4
MA
33122013-06-13 Michael Albinus <michael.albinus@gmx.de>
3313
3314 Implement changes in Secret Service API. Make it backward compatible.
3315 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
3316 (secrets-create-item): Use it. Prefix properties with interface.
3317
5755011f
MH
33182013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
3319
3320 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
3321 (term-emulate-terminal): Respect term-suppress-hard-newline.
3322
1261d2da
S
33232013-06-13 E Sabof <esabof@gmail.com> (tiny change)
3324
3325 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
3326 Only remove a `thumb-file' overlay. (Bug#14548)
3327
868490bb
GJ
33282013-06-12 Grégoire Jadi <daimrod@gmail.com>
3329
3330 * mail/reporter.el (reporter-submit-bug-report):
3331 Handle missing package-name. (Bug#14600)
3332
79d7167f
TH
33332013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3334
3335 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
3336 (reftex-citation-prompt, reftex-default-bibliography)
3337 (reftex-bib-or-thebib, reftex-get-bibfile-list)
3338 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
3339 (reftex-bib-sort-author, reftex-bib-sort-year)
3340 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
3341 (reftex-extract-bib-entries-from-thebibliography)
3342 (reftex-get-bibkey-default, reftex-get-bib-names)
3343 (reftex-parse-bibtex-entry, reftex-get-bib-field)
3344 (reftex-format-bib-entry, reftex-parse-bibitem)
3345 (reftex-format-bibitem, reftex-do-citation)
3346 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
3347 (reftex-restrict-bib-matches, reftex-extract-bib-file)
3348 (reftex-insert-bib-matches, reftex-format-citation)
3349 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
3350 (reftex-create-bibtex-file): Add docstrings, mostly by converting
3351 existing comments into docstrings.
3352
5f9dbd7a
XF
33532013-06-12 Xue Fuqiao <xfq.free@gmail.com>
3354
3355 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
3356
94df41ab
AS
33572013-06-12 Andreas Schwab <schwab@suse.de>
3358
3359 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
3360 for auto-save files.
3361
a7f3fecc
GM
33622013-06-12 Glenn Morris <rgm@gnu.org>
3363
001809f6
GM
3364 * ido.el (ido-delete-ignored-files): Remove.
3365 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
3366 Go back to calling ido-ignore-item-p directly.
a7f3fecc 3367
834b5ded
EL
33682013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
3369
08c73ed2
EL
3370 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
3371
834b5ded
EL
3372 * ido.el (ido-delete-ignored-files): New function,
3373 split from ido-make-file-list-1.
3374 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
3375 (ido-make-file-list-1): Use ido-delete-ignored-files.
3376
daabf15a
LL
33772013-06-12 Leo Liu <sdl.web@gmail.com>
3378
3379 * progmodes/octave.el (inferior-octave-startup)
3380 (inferior-octave-completion-table)
3381 (inferior-octave-track-window-width-change)
3382 (octave-eldoc-function-signatures, octave-help)
3383 (octave-find-definition): Use single quoted strings.
3384 (inferior-octave-startup-args): Change default value.
3385 (inferior-octave-startup): Do not hard code "-i" and
3386 "--no-line-editing".
3387 (inferior-octave-resync-dirs): Add optional arg NOERROR.
3388 (inferior-octave-directory-tracker): Use it.
3389 (octave-goto-function-definition): Robustify.
3390 (octave-help): Support highlighting operators in 'See also'.
3391 (octave-find-definition): Find subfunctions only in Octave mode.
3392
cf4e5178
SM
33932013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
3394
3395 * help-fns.el (help-fns--compiler-macro): If the handler function is
3396 named, then put a link to it.
3397 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
3398 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
3399 (cl-typep): Use it.
3400 (cl-eval-when): Simplify debug spec.
3401 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
3402 compiler-macro function instead of setting `compiler-macro-file'.
3403
99c81280 34042013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
3405
3406 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
3407 * vc/vc-hooks.el (vc-stay-local): Doc fix.
3408
f56be016
SM
34092013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
3410 Daniel Hackney <dan@haxney.org>
3411
3412 First part of Daniel Hackney's patch to package.el.
3413 * emacs-lisp/package.el: Use defstruct.
3414 (package-desc): New, main struct.
3415 (package--bi-desc, package--ac-desc): New structs, used to describe the
3416 format in external files.
3417 (package-desc-vers): Replace with package-desc-version accessor.
3418 (package-desc-doc): Replace with package-desc-summary accessor.
3419 (package-activate-1): Remove `package' arg since the pkg-vec now
3420 includes the name.
3421 (define-package): Use package-desc-from-define.
3422 (package-unpack-single): Change file-name arg to be a symbol.
3423 (package--add-to-archive-contents): Use package-desc-create and new
3424 accessor functions to package--ac-desc.
3425 (package-buffer-info, package-tar-file-info): Return a package-desc.
3426 (package-install-from-buffer): Remove `type' argument. Change pkg-info
3427 arg to be a package-desc.
3428 (package-install-file): Adjust accordingly. Use \' to match EOS.
3429 (package--from-builtin): New function.
3430 (describe-package-1, package-menu--generate): Use it.
3431 (package--make-autoloads-and-compile): Change name arg to be a symbol.
3432 (package-generate-autoloads): Idem and return the name of the file.
3433 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3434 Change pkg-info arg to be a package-desc.
3435 Use package-make-ac-desc.
3436 (package-upload-file): Use \' to match EOS.
3437 * finder.el (finder-compile-keywords): Use package-make-builtin.
3438
31119d63
SM
34392013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3440
931a2762
SM
3441 * vc/vc.el (vc-deduce-fileset): Change error message.
3442 (vc-read-backend): New function.
3443 (vc-next-action): Use it.
3444
5a3eb0c6
SM
3445 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
3446
e3eb1bb7
SM
3447 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
3448 (prolog-font-lock-keywords): Use regexp-opt instead.
3449 Don't manually highlight strings.
3450 (prolog-mode-variables): Simplify comment-start-skip.
3451 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
3452
31119d63
SM
3453 * emacs-lisp/generic.el (generic--normalise-comments)
3454 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
3455 (generic-mode-set-comments): Use them.
3456 (generic-bracket-support): Use setq-local.
3457 (generic-make-keywords-list): Declare obsolete.
3458
7de135d0
GM
34592013-06-11 Glenn Morris <rgm@gnu.org>
3460
3461 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3462 Prettify after setting font-lock-defaults. (Bug#14574)
3463
fa6bc6fd
JB
34642013-06-11 Juanma Barranquero <lekktu@gmail.com>
3465
3466 * replace.el (query-replace, occur-read-regexp-defaults-function)
3467 (replace-search):
3468 * subr.el (declare-function, number-sequence, local-set-key)
3469 (substitute-key-definition, locate-user-emacs-file)
3470 (with-silent-modifications, split-string, eval-after-load):
3471 Fix typos, remove unneeded backslashes and reflow some docstrings.
3472
cf1f9b9a
SM
34732013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3474
3475 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
3476 default for Elisp files.
3477
56602a4b
GM
34782013-06-11 Glenn Morris <rgm@gnu.org>
3479
3480 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
3481 although define-derived-mode was doing this anyway. (Bug#14583)
3482
30ae0b2c
JB
34832013-06-10 Juanma Barranquero <lekktu@gmail.com>
3484
3485 * allout.el (allout-encryption-plaintext-sanitization-regexps):
3486 Fix make-variable-buffer-local call to refer to the correct variable.
3487
fa472906
AG
34882013-06-10 Aidan Gauland <aidalgol@amuri.net>
3489
3490 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
3491 (eshell-visual-subcommands, eshell-visual-options):
3492 Add summary line to docstrings. Add cross-references.
fa472906 3493
ff4871b9
GM
34942013-06-10 Glenn Morris <rgm@gnu.org>
3495
3496 * epa.el (epa-read-file-name): New function. (Bug#14510)
3497 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
3498
04fcf1b0
AG
34992013-06-09 Aidan Gauland <aidalgol@amuri.net>
3500
3501 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
3502 output redirection to be ignored with visual commands.
3503
88b00caa
AG
35042013-06-09 Aidan Gauland <aidalgol@amuri.net>
3505
3506 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
3507 (eshell-term-initialize): Move long lambda to separate function
3508 eshell-visual-command-p.
e7b41c4c
JB
3509 * eshell/em-dirs.el (eshell-dirs-initialise):
3510 * eshell/em-script.el (eshell-script-initialize):
3511 Add missing #' to lambda.
88b00caa 3512
fda74125
LL
35132013-06-08 Leo Liu <sdl.web@gmail.com>
3514
3515 * progmodes/octave.el (octave-add-log-current-defun): New function.
3516 (octave-mode): Set add-log-current-defun-function.
3517 (octave-goto-function-definition): Do not move point if not found.
3518 (octave-find-definition): Enhance to try subfunctions first.
3519
467f3b33
GM
35202013-06-08 Glenn Morris <rgm@gnu.org>
3521
3522 * emacs-lisp/bytecomp.el (byte-compile-char-before)
3523 (byte-compile-backward-char, byte-compile-backward-word):
3524 Improve previous change, to handle non-explicit nil.
3525
544badc3
SM
35262013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
3527
3528 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
3529 (smie--opener/closer-at-point): New function.
3530 (smie--matching-block-data): Use it. Don't match from right after an
3531 opener or right before a closer. Obey smie-blink-matching-inners.
3532 Don't signal a mismatch for repeated inners like "switch..case..case".
3533
a175bf33
LL
35342013-06-07 Leo Liu <sdl.web@gmail.com>
3535
3536 * progmodes/octave.el (octave-mode): Set comment-use-global-state
3537 to t. (Bug#14303)
ce8209d4
LL
3538 (octave-function-header-regexp): Fix. (Bug#14570)
3539 (octave-help-mode-finish-hook, octave-help-mode-finish):
3540 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
3541
3542 * newcomment.el (comment-search-backward): Revert last change.
3543 (Bug#14434)
3544
3545 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
3546
a822acff
EZ
35472013-06-07 Eli Zaretskii <eliz@gnu.org>
3548
3549 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
3550 through xargs, to avoid failure due to MS-Windows limitations on
3551 command-line length.
3552
961166f5
GM
35532013-06-06 Glenn Morris <rgm@gnu.org>
3554
d0341459
GM
3555 * font-lock.el (lisp-font-lock-keywords-2):
3556 Treat user-error like error.
3557
961166f5
GM
3558 * emacs-lisp/bytecomp.el (byte-compile-char-before)
3559 (byte-compile-backward-char, byte-compile-backward-word):
3560 Handle explicit nil arguments. (Bug#14565)
3561
80fa505f
AM
35622013-06-05 Alan Mackenzie <acm@muc.de>
3563
3564 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 3565 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 3566 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 3567 (Bug#9706)
80fa505f 3568
fccdc796
SM
35692013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
3570
3571 * autorevert.el (auto-revert-notify-handler): Use memq.
3572 Hide assertion failure.
3573
3574 * skeleton.el: Use cl-lib.
3575 (skeleton-further-elements): Use defvar-local.
3576 (skeleton-insert): Use cl-progv.
3577
9bfff84b
TZ
35782013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
3579
3580 * progmodes/prog-mode.el (prog-prettify-symbols)
3581 (prog-prettify-install): Update docstrings.
3582
55577e7c
SM
35832013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
3584
3585 * simple.el: Move all the prog-mode code to prog-mode.el.
3586 * progmodes/prog-mode.el: New file.
3587 * loadup.el: Add prog-mode.el.
3588
8fc57765
TZ
35892013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
3590
3591 * simple.el (prog-prettify-symbols): Add version.
3592 (prog-prettify-install): Add convenience function to prettify symbols.
3593
3594 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
3595 (perl--augmented-font-lock-keywords-1)
3596 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
3597 variables and use it.
3598
3599 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
3600 (cfengine3-mode): Remove unneeded variable and use it.
3601
3602 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
3603 (lisp--augmented-font-lock-keywords-1)
3604 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
3605 Remove unneeded variables and use it.
3606
650645d5 36072013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
3608
3609 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 3610 to point when opening the connection. (Bug#14380)
28f5da6d 3611
781b4af6
SM
36122013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
3613
3614 * subr.el (load-history-regexp, load-history-filename-element)
3615 (eval-after-load, after-load-functions, do-after-load-evaluation)
3616 (eval-next-after-load, display-delayed-warnings)
3617 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
3618 definition of save-match-data.
3619 (overriding-local-map): Remove accidental obsolescence declaration.
3620
3621 * emacs-lisp/edebug.el (edebug-result): Move before first use.
3622
3ca0d0b4
TZ
36232013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
3624
3625 Generalize symbol prettify support to prog-mode and implement it
3626 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
3627 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
3628 (prog--prettify-font-lock-compose-symbol)
3629 (prog-prettify-font-lock-symbols-keywords): New variables and
3630 functions to support symbol prettification.
3631 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
3632 (lisp--augmented-font-lock-keywords-1)
3633 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
3634 (lisp--prettify-symbols-alist): Implement prettify of lambda.
3635 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
3636 (cfengine3--prettify-symbols-alist, cfengine3-mode):
3637 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
3638 * progmodes/perl-mode.el (perl-prettify-symbols)
3639 (perl--font-lock-compose-symbol)
3640 (perl--font-lock-symbols-keywords): Move to prog-mode.
3641 (perl--prettify-symbols-alist): Prettify -> => :: strings.
3642 (perl-font-lock-keywords-1)
3643 (perl-font-lock-keywords-2): Remove explicit prettify support.
3644 (perl--augmented-font-lock-keywords)
3645 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
3646 (perl--augmented-font-lock-keywords-2, perl-mode):
3647 Implement prettify support.
3ca0d0b4 3648
976cb066
LL
36492013-06-05 Leo Liu <sdl.web@gmail.com>
3650
3651 Re-implement smie matching block highlight using
3652 show-paren-data-function. (Bug#14395)
3653 * emacs-lisp/smie.el (smie-matching-block-highlight)
3654 (smie--highlight-matching-block-overlay)
3655 (smie--highlight-matching-block-lastpos)
3656 (smie-highlight-matching-block)
3657 (smie-highlight-matching-block-mode): Remove.
3658 (smie--matching-block-data-cache): New variable.
3659 (smie--matching-block-data): New function.
3660 (smie-setup): Use smie--matching-block-data for
3661 show-paren-data-function.
3662
3663 * progmodes/octave.el (octave-mode-menu): Fix.
3664 (octave-find-definition): Skip garbage lines.
3665
208d0342
SM
36662013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
3667
3668 Fix compilation error with simultaneous dynamic+lexical scoping.
3669 Add warning when a defvar appears after the first let-binding.
3670 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
3671 (byte-compile-close-variables): Initialize it.
3672 (byte-compile--declare-var): New function.
3673 (byte-compile-file-form-defvar)
3674 (byte-compile-file-form-define-abbrev-table)
3675 (byte-compile-file-form-custom-declare-variable): Use it.
3676 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
3677 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
3678 (byte-compile-bind): Handle dynamic bindings that shadow
3679 lexical bindings.
3680 (byte-compile-unbind): Make arg non-optional.
3681 (byte-compile-let): Simplify.
3682 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
3683 (cconv--analyse-function, cconv-analyse-form): Populate it.
3684 Protect byte-compile-bound-variables to limit the scope of defvars.
3685 (cconv-analyse-form): Add missing rule for (defvar <foo>).
3686 Remove unneeded rule for `declare'.
3687
3688 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
3689 so as to avoid depending on cl-adjoin at run-time.
3690 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
3691
3692 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
3693 (macroexp--warn-and-return): Use it.
3694
2587b005
LL
36952013-06-05 Leo Liu <sdl.web@gmail.com>
3696
3697 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
3698
f1da3c88
LL
36992013-06-04 Leo Liu <sdl.web@gmail.com>
3700
3701 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
3702 (compilation-auto-jump): Suppress the "Mark set" message to give
3703 way to exit message.
3704
3caa391f
AM
37052013-06-04 Alan Mackenzie <acm@muc.de>
3706
3707 Remove faulty optimisation from indentation calculation.
3708 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
3709 search limit based on 2000 characters back from indent-point.
3710
068922a2
TH
37112013-06-03 Tassilo Horn <tsdh@gnu.org>
3712
3713 * eshell/em-term.el (cl-lib): Require `cl-lib'.
3714
1f8fdd53
SM
37152013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
3716
bbcc4d97
SM
3717 * emacs-lisp/lisp.el: Use lexical-binding.
3718 (lisp--local-variables-1, lisp--local-variables): New functions.
3719 (lisp--local-variables-completion-table): New var.
208d0342 3720 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 3721
1f8fdd53
SM
3722 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
3723 eagerly (bug#14422).
3724
c9628c79
MA
37252013-06-03 Michael Albinus <michael.albinus@gmx.de>
3726
3727 * autorevert.el (auto-revert-notify-enabled)
3728 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
3729 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
3730 (auto-revert-notify-handler): Handle also gfilenotify.
3731
e7b41c4c 3732 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 3733 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 3734 Remove.
c9628c79 3735
e5e4a942
JL
37362013-06-03 Juri Linkov <juri@jurta.org>
3737
3738 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
3739 `M-s h .'. (Bug#14427)
3740
3741 * hi-lock.el (highlight-symbol-at-point): New alias for the new
3742 command `hi-lock-face-symbol-at-point'.
3743 (hi-lock-face-symbol-at-point): New command.
3744 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
3745 (hi-lock-menu): Add `highlight-symbol-at-point'.
3746 (hi-lock-mode): Doc fix.
3747
3748 * isearch.el (isearch-forward-symbol-at-point): New command.
3749 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
3750 (isearch-highlight-regexp): Add a regexp which matches
3751 words/symbols for word/symbol mode.
3752
3753 * subr.el (find-tag-default-bounds): New function with the body
3754 mostly moved from `find-tag-default'.
3755 (find-tag-default): Move most code to `find-tag-default-bounds',
3756 call it and apply `buffer-substring-no-properties' afterwards.
3757
26b3353a
TH
37582013-06-03 Tassilo Horn <tsdh@gnu.org>
3759
781b4af6
SM
3760 * eshell/em-term.el (eshell-term-initialize):
3761 Use `cl-intersection' rather than `intersection'.
26b3353a 3762
51b60f53
XF
37632013-06-02 Xue Fuqiao <xfq.free@gmail.com>
3764
fe054b63 3765 * vc/log-view.el: Doc fix.
d3ffe17c 3766 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 3767
a0eb10b3 37682013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
3769
3770 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
3771 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
3772 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
3773 (eieio-unbound, eieio-default-superclass)
3774 (eieio--define-field-accessors, method-static, method-before)
3775 (method-primary, method-after, method-num-lists)
3776 (method-generic-before, method-generic-primary)
3777 (method-generic-after, method-num-slots)
3778 (eieio-specialized-key-to-generic-key)
3779 (eieio--check-type, class-v, class-p)
3780 (eieio-class-name, define-obsolete-function-alias)
3781 (eieio-class-parents-fast, eieio-class-children-fast)
3782 (same-class-fast-p, class-constructor, generic-p)
3783 (generic-primary-only-p, generic-primary-only-one-p)
3784 (class-option-assoc, class-option, eieio-object-p)
3785 (class-abstract-p, class-method-invocation-order)
3786 (eieio-defclass-autoload-map, eieio-defclass-autoload)
3787 (eieio-class-un-autoload, eieio-defclass)
3788 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
3789 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
3790 (eieio--defgeneric-init-form, eieio-defgeneric-form)
3791 (eieio-defgeneric-reset-generic-form)
3792 (eieio-defgeneric-form-primary-only)
3793 (eieio-defgeneric-reset-generic-form-primary-only)
3794 (eieio-defgeneric-form-primary-only-one)
3795 (eieio-defgeneric-reset-generic-form-primary-only-one)
3796 (eieio-unbind-method-implementations)
3797 (eieio--defmethod, eieio--typep)
3798 (eieio-perform-slot-validation, eieio-validate-slot-value)
3799 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
3800 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
3801 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
3802 (eieio-slot-name-index, eieio-class-slot-name-index)
3803 (eieio-set-defaults, eieio-initarg-to-attribute)
3804 (eieio-attribute-to-initarg, eieio-c3-candidate)
3805 (eieio-c3-merge-lists, eieio-class-precedence-c3)
3806 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
3807 (eieio-class-precedence-list, eieio-generic-call-methodname)
3808 (eieio-generic-call-arglst, eieio-generic-call-key)
3809 (eieio-generic-call-next-method-list)
3810 (eieio-pre-method-execution-functions, eieio-generic-call)
3811 (eieio-generic-call-primary-only, eieiomt-method-list)
3812 (eieiomt-optimizing-obarray, eieiomt-install)
3813 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
3814 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 3815 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
3816 (defclass): Remove `eval-and-compile' from macro.
3817 (call-next-method, shared-initialize): Instead of using
3818 `scoped-class' variable, use new eieio--scoped-class, and
3819 eieio--with-scoped-class.
3820 (initialize-instance): Rename local variable 'scoped-class' to
3821 'this-class' to remove ambiguitity from old global.
3822
3823 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
3824 eieio.el.
4f405069
JB
3825 (eieio--scoped-class-stack): New variable.
3826 (eieio--scoped-class): New fcn.
890f7890
DE
3827 (eieio--with-scoped-class): New scoping macro.
3828 (eieio-defclass): Use pushnew instead of add-to-list.
3829 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
3830 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
3831 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
3832 `scoped-class' variable, use new eieio--scoped-class, and
3833 eieio--with-scoped-class.
3834
3835 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
3836
d105b0e2
TH
38372013-06-02 Tassilo Horn <tsdh@gnu.org>
3838
3839 * eshell/esh-ext.el (eshell-external-command): Pass args to
3840 `eshell-find-interpreter'.
3841 (eshell-find-interpreter): Add new second parameter ARGS.
3842
3843 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 3844 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
3845
3846 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 3847 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
3848
3849 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
3850 (eshell-visual-options): New defcustom.
3851 (eshell-escape-control-x): Adapt docstring.
3852 (eshell-term-initialize): Test `eshell-visual-subcommands' and
3853 `eshell-visual-options' in addition to `eshell-visual-commands'.
3854 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
3855
f46305c8 38562013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
3857
3858 * progmodes/python.el (python-indent-block-enders): Add break,
3859 continue and raise keywords.
3860
d870df21
GM
38612013-06-01 Glenn Morris <rgm@gnu.org>
3862
9133b82e
GM
3863 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
3864
02c992ec 3865 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
3866 * progmodes/cc-cmds.el (delete-forward-p):
3867 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
3868 * progmodes/cc-engine.el (buffer-syntactic-context):
3869 * progmodes/cc-fonts.el (face-property-instance):
3870 * progmodes/cc-mode.el (set-keymap-parents):
3871 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
3872 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
3873 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
3874 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
3875 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 3876
31e7b090
GM
3877 * progmodes/cc-vars.el (other): Emacs has this widget since
3878 at least 21.1, so don't (re)define it.
3879
d870df21
GM
3880 * eshell/em-cmpl.el (eshell-cmpl-initialize):
3881 Replace the obsolete alias pcomplete-arg-quote-list.
3882
c75c93c7
LL
38832013-06-01 Leo Liu <sdl.web@gmail.com>
3884
3885 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
3886 punctuation syntax.
3887 (inferior-octave-minimal-columns)
3888 (inferior-octave-last-column-width): New variables.
3889 (inferior-octave-track-window-width-change): New function.
3890 (inferior-octave-mode): Adjust column width so that Octave output,
3891 for example from 'ls', can fit into the window nicely.
3892
973d1e12
DG
38932013-05-31 Dmitry Gutov <dgutov@yandex.ru>
3894
3895 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
3896 Highlight expansions inside regexp literals.
3897
0888c286
GM
38982013-05-31 Glenn Morris <rgm@gnu.org>
3899
e26aac1f
GM
3900 * obsolete/sym-comp.el (symbol-complete):
3901 Replace obsolete completion-annotate-function.
3902
0888c286
GM
3903 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
3904
19bb8e62
DG
39052013-05-31 Dmitry Gutov <dgutov@yandex.ru>
3906
781b4af6
SM
3907 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
3908 New function, checks if point is inside a literal that allows
19bb8e62
DG
3909 expression expansion.
3910 (ruby-syntax-propertize-expansion): Use it.
3911 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
3912 around the body.
3913
01dea85f
JL
39142013-05-30 Juri Linkov <juri@jurta.org>
3915
3916 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
3917 to "\M-si".
3918 (isearch-invisible): New variable.
3919 (isearch-forward): Doc fix.
3920 (isearch-mode): Set `isearch-invisible'
3921 to the value of `search-invisible'.
3922 (isearch-toggle-case-fold): Doc fix.
3923 (isearch-toggle-invisible): New command.
3924 (isearch-query-replace): Let-bind `search-invisible'
3925 to the value of `isearch-invisible'.
3926 (isearch-search): Use `isearch-invisible' instead of
3927 `search-invisible'. Let-bind `search-invisible'
3928 to the value of `isearch-invisible'. (Bug#11378)
3929
ab1bdce5
JL
39302013-05-30 Juri Linkov <juri@jurta.org>
3931
3932 * replace.el (perform-replace): Avoid `isearch-range-invisible'
3933 call when `query-flag' is nil and `search-invisible' is non-nil.
3934 (Bug#11746)
3935
d6d236e2
GM
39362013-05-30 Glenn Morris <rgm@gnu.org>
3937
8accd027
GM
3938 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
3939
2a8bed1c
GM
3940 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
3941 (cc-require): Suppress spurious "noruntime" warnings.
3942 (cc-require-when-compile): Use fboundp, for sake of compiler.
3943
d6d236e2
GM
3944 * progmodes/cc-mode.el: Move load of cc-vars before that of
3945 cc-langs (which in turn loads cc-vars), to quieten compiler.
3946
9190b35b
SM
39472013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
3948
3949 * paren.el: Simplify the code.
3950 (show-paren-mode): Always start the timer.
3951 (show-paren--idle-timer): Rename from show-paren-idle-timer.
3952 (show-paren--overlay, show-paren--overlay-1): Rename from
3953 show-paren-overlay and show-paren-overlay-1, and initialize to an
3954 overlay rather than to nil.
3955 (show-paren-function): Misc cleanup and simplifications.
3956
4f8d1cf6
SM
39572013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
3958
3959 * paren.el (show-paren-data-function): New hook.
3960 (show-paren--default): New function, extracted from show-paren-function.
3961 (show-paren-function): Use show-paren-data-function.
3962
02d844b5
GM
39632013-05-30 Glenn Morris <rgm@gnu.org>
3964
d209d4a9
GM
3965 * ielm.el (ielm-map, ielm-complete-symbol):
3966 Use completion-at-point rather than obsolete functions.
3967 (inferior-emacs-lisp-mode): Doc fix.
3968 Set completion-at-point-functions, rather than
3969 comint-dynamic-complete-functions.
3970
2082faa6
GM
3971 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
3972 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
3973 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
3974
dd8620de
GM
3975 * image.el (image-animated-p): Tweak definition.
3976
ceca95b1
GM
3977 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
3978 (rlogin-process-connection-type): Tweak default. Add set-after.
3979 (rlogin-host): Doc fix.
3980 (rlogin): Tweak prompt.
3981 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
3982
ee9f1acc
GM
3983 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
3984 * progmodes/tcl.el (inferior-tcl-mode-map):
3985 Use completion-at-point rather than obsolete alias.
3986
45ce222e
GM
3987 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
3988
02d844b5
GM
3989 * minibuffer.el (read-file-name-completion-ignore-case):
3990 Move before completion--in-region, for eager macro expansion.
3991
ac44d6c1
JL
39922013-05-29 Juri Linkov <juri@jurta.org>
3993
3994 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
3995 for total count of matching lines. Add `global-matches' for total
3996 count of matches. Rename `matches' to `lines' for count of
3997 matching lines. Add `matches' for count of matches.
3998 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
3999 to `prev-line' for line number of prev match endpt.
4000 Increment `matches' for every match. Print the number of
4001 matching lines in the header.
4002 (occur-context-lines): Rename `lines' to `curr-line'.
4003 Rename `prev-lines' to `prev-line'. (Bug#14017)
4004
3c9c9d38
JL
40052013-05-29 Juri Linkov <juri@jurta.org>
4006
4007 * replace.el (perform-replace): Add `skip-read-only-count',
4008 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
4009 Increment them for corresponding conditions and report the number
4010 of skipped occurrences in the final message. (Bug#11746)
4011 (query-replace, query-replace-regexp, query-replace-regexp-eval)
4012 (replace-string, replace-regexp): Doc fix.
4013
33e249a2
SM
40142013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
4015
8e399682
SM
4016 * emacs-lisp/trace.el (trace--read-args): Provide a default.
4017
33e249a2 4018 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 4019 prog-mode-map (bug#14504).
33e249a2 4020
f236dd84
LL
40212013-05-29 Leo Liu <sdl.web@gmail.com>
4022
4023 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
4024 (octave-help): Small simplification.
4025
4026 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
4027 off the highlight first.
4028
3694d13f
GM
40292013-05-29 Glenn Morris <rgm@gnu.org>
4030
03983bdc
GM
4031 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
4032 Handle idlwave-last-system-routine-info-cons-cell being nil.
4033
bc74a74a
GM
4034 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
4035 (idlwave-write-paths): Simplify via with-temp-buffer.
4036
8b394200
GM
4037 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
4038 * emulation/cua-rect.el: Also load cua-base at run time.
4039
3694d13f
GM
4040 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
4041 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
4042 (cperl-imenu-on-info): Require imenu.
4043
336d7284
AM
40442013-05-28 Alan Mackenzie <acm@muc.de>
4045
4046 Handle "capitalised keywords" correctly.
33e249a2 4047 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 4048
cb29c582
AG
40492013-05-28 Aidan Gauland <aidalgol@amuri.net>
4050
781b4af6 4051 * eshell/em-unix.el: Add -r option to cp.
cb29c582 4052
690e44b2
GM
40532013-05-28 Glenn Morris <rgm@gnu.org>
4054
e658d75c
GM
4055 * vc/vc-arch.el (vc-exec-after): Declare.
4056 (vc-switches): Autoload.
4057 * vc/vc-bzr.el: No need to require vc when compiling.
4058 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
4059 (vc-resynch-buffer, vc-dir-refresh): Declare.
4060 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
4061 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
4062 (vc-resynch-buffer): Declare.
4063 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 4064 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
4065 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
4066 (grep-read-regexp, grep-read-files, grep-expand-template)
4067 (vc-dir-refresh): Declare.
4068 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
4069 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
4070 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
4071 * vc/vc-mtn.el (vc-exec-after): Declare.
4072 (vc-switches): Autoload.
4073 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
4074 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
4075 (vc-file-tree-walk): Declare.
712b9732
GM
4076 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
4077 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
4078 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
4079 * vc/vc-svn.el (vc-exec-after): Declare.
4080 (vc-switches, vc-setup-buffer): Autoload.
4081 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
4082 Autoload.
4083 (vc-resynch-buffer): Declare.
4084
98e87fb3
GM
4085 * obsolete/fast-lock.el (byte-compile-warnings):
4086 Don't warn about obsolete features in this obsolete file.
4087
f5379553
GM
4088 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
4089 Move definition before use.
4090
7a20ef83
GM
4091 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
4092 (dun-unix-verbs): Remove dun-zippy.
4093 (dun-zippy): Remove function.
4094
690e44b2
GM
4095 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
4096
3a52ccf7
JL
40972013-05-27 Juri Linkov <juri@jurta.org>
4098
4099 * replace.el (replace-search): New function with code moved out
4100 from `perform-replace'.
4101 (replace-highlight, replace-dehighlight): Move function definitions
4102 up closer to `replace-search'. (Bug#11746)
4103
d289938a
JL
41042013-05-27 Juri Linkov <juri@jurta.org>
4105
4106 * replace.el (perform-replace): Ignore invisible matches.
4107 In addition to checking `query-replace-skip-read-only', also
4108 filter out matches by calling `run-hook-with-args-until-failure'
4109 on `isearch-filter-predicates', and also check `search-invisible'
4110 for t or call `isearch-range-invisible'.
4111 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
4112
66fc57e3
JL
41132013-05-27 Juri Linkov <juri@jurta.org>
4114
4115 * isearch.el (isearch-filter-predicates): Rename from
4116 `isearch-filter-predicate'. Doc fix. (Bug#11378)
4117 (isearch-message-prefix): Display text from the property
4118 `isearch-message-prefix' of the currently active filters.
4119 (isearch-search): Don't compare `isearch-filter-predicate' with
4120 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
4121 on `isearch-filter-predicates'. Also check `search-invisible' for t
4122 or call `isearch-range-invisible'.
4123 (isearch-filter-visible): Make obsolete.
4124 (isearch-lazy-highlight-search):
4125 Call `run-hook-with-args-until-failure' on
4126 `isearch-filter-predicates' and use `isearch-range-invisible'.
4127
4128 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
4129 `isearch-filter-predicates' instead of `funcall'ing
4130 `isearch-filter-predicate'.
4131 (Info-mode): Set `Info-isearch-filter' to
4132 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
4133
4134 * dired-aux.el (dired-isearch-filter-predicate-orig):
4135 Remove variable.
4136 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
4137 (dired-isearch-filenames-end): Add and remove
4138 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
4139 instead of changing the value of `isearch-filter-predicate'.
4140 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
4141 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
4142 Put property `isearch-message-prefix' to "filename " on
4143 `dired-isearch-filter-filenames'.
4144
4145 * wdired.el (wdired-change-to-wdired-mode):
4146 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
4147 locally instead of changing `isearch-filter-predicate'.
4148 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
4149
f1a60a0f
DG
41502013-05-27 Dmitry Gutov <dgutov@yandex.ru>
4151
4152 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
4153 return the commit hash (Bug#14459). Also set the
4154 `vc-git-detached' property.
4155 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
4156 (vc-git-mode-line-string): Use the same help-echo format whether
4157 in detached mode or not, because we know the actual revision now.
4158 When in detached mode, shorten the revision to 7 chars.
4159
7f17cc40
SM
41602013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
4161
4162 * emacs-lisp/easy-mmode.el (define-minor-mode):
4163 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
4164 mode hook and provide a docstring.
4165
25c8401c
AM
41662013-05-27 Alan Mackenzie <acm@muc.de>
4167
4168 Remove spurious syntax-table text properties inserted by C-y.
4169 * progmodes/cc-mode.el (c-after-change): Also clear hard
4170 syntax-table property with value nil.
4171
dde84790
MA
41722013-05-27 Michael Albinus <michael.albinus@gmx.de>
4173
4174 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
4175 when reading the events; the buffer layout shall not be changed.
4176
837fd9af
LL
41772013-05-27 Leo Liu <sdl.web@gmail.com>
4178
4179 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
4180 New variable.
4181 (inferior-octave-directory-tracker): Automatically re-sync
4182 default-directory.
4183 (octave-help): Improve handling of 'See also'.
4184
4fd996b3
SM
41852013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
4186
416f1802
SM
4187 * doc-view.el: Minor naming convention tweaks.
4188 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
4189
4fd996b3
SM
4190 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
4191 even if there's no `display' property yet (bug#14435).
4192
a052ef3b
EZ
41932013-05-25 Eli Zaretskii <eliz@gnu.org>
4194
4fd996b3 4195 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
4196
4197 * Makefile.in (custom-deps, finder-data, autoloads)
4198 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
4199 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
4200 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
4201
c9023370
SM
42022013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
4203
4204 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
4205 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 4206 Don't burp at EOB.
c9023370 4207
24d699fa
LL
42082013-05-25 Leo Liu <sdl.web@gmail.com>
4209
4210 * comint.el (comint-previous-matching-input): Do not flood the
4211 *Messages* buffer with trivial messages.
4212
17e5c0cc
SM
42132013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
4214
4215 * progmodes/flymake.el (flymake-nop): Don't return a string.
4216 (flymake-set-at): Fix typo.
4217
4218 * simple.el (read--expression): New function, extracted from
4219 eval-expression. Set completion-at-point-functions (bug#14465).
4220 (eval-expression, eval-minibuffer): Use it.
4221
5d028165
XF
42222013-05-25 Xue Fuqiao <xfq.free@gmail.com>
4223
4224 * progmodes/flymake.el (flymake-save-buffer-in-file)
4225 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
4226 (flymake-selected-frame, flymake-log, flymake-ins-after)
4227 (flymake-set-at, flymake-get-buildfile-from-cache)
4228 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
4229 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
4230 Refine the doc string.
4231 (flymake-get-file-name-mode-and-masks): Reformat.
4232 (flymake-get-real-file-name-function): Fix a minor bug.
4233
7a1d7ba7
JL
42342013-05-24 Juri Linkov <juri@jurta.org>
4235
4236 * progmodes/grep.el (grep-mode-font-lock-keywords):
4237 Support =linenumber= format used by git-grep for lines with
4238 function names. (Bug#13549)
4239
650cff3d
SM
42402013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
4241
4242 * progmodes/octave.el (octave-smie-rules): Return nil rather than
4243 0 after a semi-colon; it works better for smie-auto-fill.
4244 (octave--indent-new-comment-line): New function.
4245 (octave-indent-new-comment-line): Use it (indirectly).
4246 (octave-mode): Don't disable smie-auto-fill. Use add-function to
4247 modify comment-line-break-function.
4248
4249 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
4250 (smie-setup): Use add-function to set it.
4251
9631677d
SS
42522013-05-24 Sam Steingold <sds@gnu.org>
4253
4254 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
4255 argument (before the `interactive' argument).
4256
50105835
SM
42572013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
4258
4259 * image-mode.el (image-mode-winprops): Add winprops to
4260 image-mode-winprops-alist before running
4261 image-mode-new-window-functions.
4262 * doc-view.el (doc-view-new-window-function): Don't delay
4263 doc-view-goto-page via timers (bug#14435).
4264
57b9823e
TH
42652013-05-24 Tassilo Horn <tsdh@gnu.org>
4266
4267 * doc-view.el: Integrate with desktop.el. (Bug#14435)
4268 (doc-view-desktop-save-buffer): New function.
4269 (doc-view-restore-desktop-buffer): New function.
50105835
SM
4270 (desktop-buffer-mode-handlers):
4271 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
4272 handler.
4273 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
4274 `desktop-save-buffer' function.
4275
91aafa16
MA
42762013-05-24 Michael Albinus <michael.albinus@gmx.de>
4277
4278 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
4279 (tramp-gvfs-file-name-handler): Raise a user error when
4280 `tramp-gvfs-enabled' is nil.
4281 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
4282 Do not raise a user error when loading package. (Bug#14447)
4283
ec076379
MA
4284 * net/xesam.el: Move to obsolete/.
4285
db785726
GM
42862013-05-24 Glenn Morris <rgm@gnu.org>
4287
af5c7606
GM
4288 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
4289
e5d1916a
GM
4290 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
4291
ded62b08
GM
4292 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
4293 (Info-find-node, Man-getpage-in-background): Declare.
4294
9e614a3f
GM
4295 * mail/unrmail.el (unrmail):
4296 Replace obsolete detect-coding-with-priority.
4297
892f8ca3
GM
4298 * net/socks.el (socks-split-string): Use this rather than split-string.
4299 (socks-nslookup-host): Update for above change.
4300 (dynamic-choice, s5-dynamic-choice-match)
4301 (s5-dynamic-choice-match-inline, s5-widget-value-create):
4302 Comment out unused code.
4303
3c291973
GM
4304 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
4305 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
4306 (gud-tooltip-echo-area): Make obsolete.
4307 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
4308
43cc956b
GM
4309 * progmodes/js.el (js--optimize-arglist): Declare.
4310
dab49a3b
GM
4311 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
4312
36b9d085
GM
4313 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
4314 (ediff-window-C): Declare.
4315
e354ae76
GM
4316 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
4317 Tweak requires to silence compiler.
4318
b8e57bf4
GM
4319 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
4320 (he-search-string, he-tried-table, he-expand-list)
4321 (he-init-string, he-string-member, he-substitute-string)
4322 (he-reset-string): Declare.
4323
db785726
GM
4324 * obsolete/options.el (list-options): Use custom-variable-p,
4325 rather than obsolete alias.
4326
b3531901
SS
43272013-05-23 Sam Steingold <sds@gnu.org>
4328
4329 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 4330 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
4331 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
4332
bdda4c66
SM
43332013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
4334
4335 * emacs-lisp/smie.el (smie-indent-forward-token)
4336 (smie-indent-backward-token): Handle string tokens (bug#14381).
4337
c43d45f9
TH
43382013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4339
fe1eb856
RS
4340 * ielm.el (ielm-menu): New menu.
4341 (inferior-emacs-lisp-mode): Set comment-start.
96172128 4342
fe1eb856
RS
43432013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4344
4345 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
4346 Fix deactivate action.
4347
4348 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
4349 Add cleveref macros.
074dd971 4350
c43d45f9
TH
4351 * lisp/textmodes/reftex-parse.el
4352 (reftex-locate-bibliography-files): Accept options for
4353 bibliography commands.
4354 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
4355 Add addbibresource. Basic Biblatex support.
4356
7764286e
MA
43572013-05-23 Michael Albinus <michael.albinus@gmx.de>
4358
4359 * net/tramp-gvfs.el (top):
4360 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
4361 when loading package. (Bug#14447)
4362
d361bc10
GM
43632013-05-23 Glenn Morris <rgm@gnu.org>
4364
8fa23984
GM
4365 * progmodes/js.el: No need to load comint when compiling.
4366 (ring-insert, comint-send-string, comint-send-input)
4367 (comint-last-input-end, ido-chop): Declare.
4368
a5c7df1a
GM
4369 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
4370 * vc/ediff-mult.el: Adjust requires.
4371 (ediff-directories-internal, ediff-directory-revisions-internal)
4372 (ediff-patch-file-internal): Declare.
4373 * vc/ediff-ptch.el: Adjust requires.
4374 (ediff-use-last-dir, ediff-buffers-internal): Declare.
4375 (ediff-find-file): Autoload.
4376 * vc/ediff-util.el: No need to load ediff when compiling.
4377 (ediff-regions-internal): Declare.
4378 * vc/ediff-wind.el: Adjust requires.
4379 (ediff-compute-toolbar-width): Define when compiling.
4380 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
4381 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
4382 (dired-get-filename, dired-get-marked-files)
4383 (ediff-last-dir-patch, ediff-patch-default-directory)
4384 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
4385 (ediff-patch-buffer-internal): Declare.
4386
e2aec513
GM
4387 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
4388 (ispell-process, ispell-buffer-local-words, lm-summary)
4389 (lm-section-start, lm-section-end): Declare.
4390 (checkdoc-ispell-init): Simplify.
4391
e68bbd7c
GM
4392 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
4393 (he-string-member, he-reset-string, he-substitute-string): Declare.
4394
7efe0991
GM
4395 * eshell/em-ls.el: Adjust requires.
4396 (eshell-glob-regexp): Declare.
f87b1284
GM
4397 * eshell/em-tramp.el: Adjust requires.
4398 (eshell-parse-command): Autoload.
4399 * eshell/em-xtra.el: Adjust requires.
4400 (eshell-parse-command): Autoload.
4401 * eshell/esh-ext.el: Adjust requires.
4402 (eshell-parse-command, eshell-close-handles): Autoload.
4403 * eshell/esh-io.el: Adjust requires.
4404 (eshell-output-filter): Autoload.
4405 * eshell/esh-util.el: No need to load tramp when compiling.
4406 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
4407 Declare.
4408 (eshell-parse-ange-ls): Require ange-ftp and tramp.
4409 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4410 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
4411 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
4412 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
4413 * eshell/esh-opt.el, eshell/esh-proc.el:
4414 * eshell/esh-var.el: Adjust requires.
4415 * eshell/eshell.el: Do not require esh-util twice.
4416 (eshell-add-input-to-history): Declare.
4417 (eshell-command): Check history module is active before using it.
4418
d361bc10
GM
4419 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
4420
85d090a9
LL
44212013-05-22 Leo Liu <sdl.web@gmail.com>
4422
4423 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
4424
5d0acd9d
MA
44252013-05-22 Michael Albinus <michael.albinus@gmx.de>
4426
4427 * autorevert.el (auto-revert-notify-add-watch)
4428 (auto-revert-notify-handler): Add `attrib' for the inotify case,
4429 it indicates changes in file modification time.
4430
0cdffd7d
GM
44312013-05-22 Glenn Morris <rgm@gnu.org>
4432
ca5995ec
GM
4433 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
4434 Always delete the autoloaded function from the noruntime and
4435 unresolved functions lists.
4436
6450907e
GM
4437 * allout.el: No need to load epa, epg, overlay when compiling.
4438 (epg-context-set-passphrase-callback, epg-list-keys)
4439 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
4440 (epg-key-user-id-list): Declare.
4441
9c6906f6
GM
4442 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
4443 (viper-set-parsing-style-toggling-macro)
4444 (viper-set-emacs-state-searchstyle-macros):
4445 Use called-interactively-p on Emacs.
4446 (viper-looking-back): Make it an obsolete alias. Update callers.
4447 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
4448 Use looking-back rather than viper-looking-back.
4449 (viper-tmp-insert-at-eob, viper-enlarge-region)
4450 (viper-read-string-with-history, viper-register-to-point)
4451 (viper-append-to-register, viper-change-state-to-vi)
4452 (viper-backward-char-carefully, viper-forward-char-carefully)
4453 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
4454 (viper-change-state-to-emacs): Declare.
4455 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
4456 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
4457 * emulation/viper-mous.el: Do not load viper-cmd.
4458 (viper-backward-char-carefully, viper-forward-char-carefully)
4459 (viper-forward-word, viper-adjust-window): Declare.
4460
5f70c169
GM
4461 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
4462
b1b7f300
GM
4463 * progmodes/idlw-help.el (idlwave-help-fontify):
4464 Use called-interactively-p.
4465
f6ebbb46
GM
4466 * term/w32console.el (w32-get-console-codepage)
4467 (w32-get-console-output-codepage): Declare.
4468
0cdffd7d
GM
4469 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
4470 Remove unnecessary declarations.
4471 (dframe-message): Doc fix.
4472
4473 * info.el (dframe-select-attached-frame, dframe-current-frame):
4474 Declare.
4475
4476 * speedbar.el (speedbar-message): Make it an obsolete alias.
4477 Update all callers.
4478 (speedbar-with-attached-buffer)
4479 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
4480 (speedbar-with-writable): Use backquote.
4481 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
4482 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
4483 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
4484 rather than speedbar- aliases.
4485 * mail/rmail.el: Load dframe rather than speedbar when compiling.
4486 (speedbar-make-specialized-keymap, speedbar-insert-button)
4487 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
4488 (speedbar-do-function-pointer): Declare.
4489 (rmail-speedbar-button, rmail-speedbar-find-file)
4490 (rmail-speedbar-move-message):
4491 Use dframe-with-attached-buffer rather than speedbar- alias.
4492 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
4493 (dframe-message, speedbar-make-specialized-keymap)
4494 (speedbar-add-expansion-list, speedbar-mode-functions-list)
4495 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
4496 (speedbar-insert-button, dframe-select-attached-frame)
4497 (dframe-maybee-jump-to-attached-frame)
4498 (speedbar-change-initial-expansion-list)
4499 (speedbar-previously-used-expansion-list-name): Declare.
4500 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
4501 Use dframe-message, dframe-with-attached-buffer rather than
4502 speedbar- aliases.
4503 (gud-sentinel): Silence compiler.
4504 * progmodes/vhdl-mode.el (speedbar-refresh)
4505 (speedbar-do-function-pointer, speedbar-add-supported-extension)
4506 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
4507 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
4508 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
4509 (speedbar-file-lists, speedbar-make-tag-line)
4510 (speedbar-line-directory, speedbar-goto-this-file)
4511 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
4512 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
4513 (speedbar-make-button, speedbar-reset-scanners)
4514 (speedbar-files-item-info, speedbar-line-text)
4515 (speedbar-find-file-in-frame, speedbar-set-timer)
4516 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
4517 (speedbar-with-writable): Do not (re)define it.
4518 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
4519 rather than speedbar- alias.
4520
ee44b62a
LL
45212013-05-21 Leo Liu <sdl.web@gmail.com>
4522
4523 * progmodes/octave.el (octave-mode-menu): Update and re-organize
4524 menu items.
4525 (octave-mode): Tweak fill-nobreak-predicate.
4526 (inferior-octave-startup): Check process to avoid infinite loop.
4527 (inferior-octave): Pop to buffer first to show abornmal process
4528 exit information.
4529
640f050f
GM
45302013-05-21 Glenn Morris <rgm@gnu.org>
4531
79458038
GM
4532 * printing.el (pr-menu-bar): Define when compiling.
4533
9cc3e83f
LL
45342013-05-21 Leo Liu <sdl.web@gmail.com>
4535
4536 * progmodes/octave.el (octave-auto-fill): Remove.
4537 (octave-indent-new-comment-line): Improve.
4538 (octave-mode): Use auto fill mode through
4f405069 4539 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 4540 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 4541 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
4542 (octave-help): Show parent directory.
4543
f440830d
GM
45442013-05-21 Glenn Morris <rgm@gnu.org>
4545
4546 * files.el (dired-unmark):
4547 * progmodes/gud.el (gdb-input): Update declarations.
4548
4549 * calculator.el (electric, ehelp): No need to load when compiling.
4550 (Electric-command-loop, electric-describe-mode): Declare.
4551
4552 * doc-view.el (doc-view-current-converter-processes): Move before use.
4553
4554 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4555 Move MODE-set-explicitly definition before use.
4556
4557 * international/mule-diag.el (mule-diag):
4558 Don't use obsolete window-system-version.
4559
4560 * mail/feedmail.el (smtpmail): No need to load when compiling.
4561 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
4562
4563 * mail/mail-utils.el (rfc822): No need to load when compiling.
4564 (rfc822-addresses): Autoload it.
4565 (mail-strip-quoted-names): Trivial simplification.
4566
4567 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
4568 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
4569
4570 * net/snmp-mode.el (tempo): Don't duplicate requires.
4571
4572 * progmodes/prolog.el (info): No need to load when compiling.
4573 (comint): Require before shell requires it.
4574 (Info-goto-node): Autoload it.
4575 (Info-follow-nearest-node): Declare.
4576 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
4577
4578 * textmodes/artist.el (picture-mode-exit): Declare.
4579
4580 * textmodes/reftex-parse.el (reftex-parse-from-file):
4581 Trivial rewrite so the compiler can parse it better.
4582
b4da2cbb
LL
45832013-05-20 Leo Liu <sdl.web@gmail.com>
4584
4585 * progmodes/octave.el (octave-help-mode-map)
4586 (octave-help-mode-finish-hook): New variables.
4587 (octave-help-mode, octave-help-mode-finish): New functions.
4588 (octave-help): Use octave-help-mode.
4589
33c0f65b
GM
45902013-05-20 Glenn Morris <rgm@gnu.org>
4591
4592 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
4593
1a0a0a8a
DG
45942013-05-19 Dmitry Gutov <dgutov@yandex.ru>
4595
4596 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
4597 start at point, so that expansion starting right after opening
4598 slash in a regexp is recognized.
4599 (ruby-syntax-before-regexp-re): New defvar, extracted from
4600 ruby-syntax-propertize-function. Since the value of this regexp
4601 is looked up at runtime now, we should be able to turn
4602 `ruby-syntax-methods-before-regexp' into a defcustom later.
4603 (ruby-syntax-propertize-function): Split regexp matching into two
4604 parts, for opening and closing slashes. That allows us to skip
4605 over string interpolations and support multiline regexps.
4606 Don't call `ruby-syntax-propertize-expansions', instead use another rule
4607 for them, which calls `ruby-syntax-propertize-expansion'.
4608 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
4609 call to `ruby-syntax-propertize-function'.
4610 (ruby-syntax-propertize-expansion): Extracted from
4611 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
4612 (ruby-syntax-propertize-percent-literal): Leave point right after
4613 the percent symbol, so that the expression expansion rule can
4614 propertize the contents.
462388b6
DG
4615 (ruby-syntax-propertize-heredoc): Leave point at bol following the
4616 heredoc openers.
4617 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 4618
c1a6c0a4
JL
46192013-05-18 Juri Linkov <juri@jurta.org>
4620
4621 * man.el (Man-default-man-entry): Remove `-' from the end
4622 of the default value. (Bug#14400)
4623
8051fccd
GM
46242013-05-18 Glenn Morris <rgm@gnu.org>
4625
4626 * comint.el (comint-password-prompt-regexp):
4627 Allow "password for XXX" where XXX contains colons (eg https://...).
4628
5e80b74f
LL
46292013-05-18 Leo Liu <sdl.web@gmail.com>
4630
4631 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 4632 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
4633 (octave-source-directories): Don't check process.
4634 (octave-source-directories, octave-find-definition): Doc fix.
4635
521a54c5
GM
46362013-05-18 Glenn Morris <rgm@gnu.org>
4637
86a94b05
GM
4638 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
4639 Remove backspace/delete bindings. (Bug#14392)
4640
521a54c5
GM
4641 * cus-dep.el (custom-make-dependencies): Sort the output.
4642 (custom-versions-load-alist): Convert comment to doc.
4643
42caeb89
LL
46442013-05-17 Leo Liu <sdl.web@gmail.com>
4645
4646 * newcomment.el (comment-search-backward): Stricter in finding
4647 comment start. (Bug#14303)
4648
4649 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
4650 (octave-comment-start-skip): Properly anchored.
4651
e219dd97
LL
46522013-05-17 Leo Liu <sdl.web@gmail.com>
4653
fe1eb856
RS
4654 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
4655 Clean up when turned off. (Bug#14395)
e219dd97
LL
4656 (smie--highlight-matching-block-overlay): No longer buffer-local.
4657 (smie-highlight-matching-block): Adjust.
4658
dc5dcb4b
PE
46592013-05-17 Paul Eggert <eggert@cs.ucla.edu>
4660
4661 Doc string fix for "nanoseconds" (Bug#14406).
4662 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
4663 Fix doc string typo that had "nanoseconds" instead of "microseconds".
4664
1db165f0
JB
46652013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
4666
4667 * calc/calc-units.el (math-extract-units): Preserve powers
4668 of units.
4669
c7a8fcac
LL
46702013-05-17 Leo Liu <sdl.web@gmail.com>
4671
4672 * subr.el (delete-consecutive-dups): New function.
4673 * ido.el (ido-set-matches-1): Use it.
4674 * progmodes/octave.el (inferior-octave-completion-table): Use it.
4675 * ido.el (ido-remove-consecutive-dups): Remove.
4676
f678b18a
SM
46772013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4678
4679 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
4680 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
4681 regexp-opt's `words'.
4682
ebfe68e8
LL
46832013-05-16 Leo Liu <sdl.web@gmail.com>
4684
4685 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
4686 (smie--highlight-matching-block-overlay)
4687 (smie--highlight-matching-block-lastpos)
4688 (smie--highlight-matching-block-timer): New variables.
4689 (smie-highlight-matching-block): New function.
4690 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
4691 (smie-setup): Conditionally enable smie-blink-matching-open.
4692
bc8bc17d
WS
46932013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
4694
4695 Sync with upstream verilog-mode r840.
4696 * progmodes/verilog-mode.el (verilog-mode-version)
4697 (verilog-mode-release-date): Update.
4698 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
4699 (verilog-sig-tieoff): Fix string error on
4700 AUTORESET with colon define, bug594. Reported by Andrew Hou.
4701 (verilog-read-decls): Fix parameters confusing
4702 AUTOINST interfaces, bug565. Reported by Leith Johnson.
4703
df065a0b
EZ
47042013-05-16 Eli Zaretskii <eliz@gnu.org>
4705
4706 * subr.el (reveal-filename): New function.
4707
4708 * loadup.el: Compute Emacs executable versions on MS-Windows,
4709 where executables have the .exe extension. Add a hard link
4710 emacs-XX.YY.ZZ.exe on MS-Windows.
4711
4712 * Makefile.in (XARGS_LIMIT): New variable.
4713 (custom-deps, finder-data, autoloads)
4714 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
4715 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
4716 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
4717 (compile-main): Limit xargs according to $(XARGS_LIMIT).
4718
2d4bf34b
LL
47192013-05-16 Leo Liu <sdl.web@gmail.com>
4720
4721 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
4722 (octave-mode-menu, octave-mode-map): Remove its uses.
4723
6b9c2d85
RZ
47242013-05-16 Reto Zimmermann <reto@gnu.org>
4725
4726 Sync with upstream vhdl mode v3.34.2.
4727 * progmodes/vhdl-mode.el: Use `push' throughout.
4728 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
4729 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
4730 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
4731 (vhdl-actual-generic-name): New option to derive actual generic name.
4732 (vhdl-port-paste-signals): Replace formal by actual generics.
4733 (vhdl-beautify): New name for old group vhdl-align. Update users.
4734 (vhdl-beautify-options): New option.
4735 (vhdl-last-input-event): New compat alias. Use throughout.
4736 (vhdl-goto-line): Replace user level function `goto-line'.
4737 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
4738 vhdl-fix-statement-buffer.
4739 (vhdl-create-mode-menu): Add some entries.
4740 (vhdl-align-region-groups): Respect vhdl-beautify-options.
4741 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
4742 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
4743 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
4744 to force statements on one line.
4745 (vhdl-remove-trailing-spaces-region):
4746 New, split from vhdl-remove-trailing-spaces.
4747 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
4748 Respect vhdl-beautify-options.
4749 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
4750 (vhdl-update-sensitivity-list): Not add with index if exists without.
4751 Not include array index with signal. Ignore keywords in comments.
4752 (vhdl-get-visible-signals): Regexp tweaks.
4753 (vhdl-template-component-inst): Handle empty library.
4754 (vhdl-template-type): Add template for 'enum' type.
4755 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
4756 Use vhdl-replace-string.
4757 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
4758 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
4759 (vhdl-speedbar-initialize): Update for above name change.
4760 (vhdl-compose-wire-components): Fix in handling of constants.
4761 (vhdl-error-regexp-emacs-alist): New variable.
4762 (vhdl-error-regexp-add-emacs): New function;
4763 adds support for new compile.el (Emacs 22+)
4764 (vhdl-generate-makefile-1): Change target order for single lib. units.
4765 Allow use of absolute file names.
4766
9df4ec5e
LL
47672013-05-16 Leo Liu <sdl.web@gmail.com>
4768
4769 * simple.el (prog-indent-sexp): Indent enclosing defun.
4770
f5ba00a6
GM
47712013-05-15 Glenn Morris <rgm@gnu.org>
4772
ed8be7ff
GM
4773 * cus-start.el (show-trailing-whitespace): Move to editing basics.
4774 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
4775 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
4776 (whitespace-highlight): Move to whitespace group.
4777
4778 * comint.el (comint-source):
4779 * pcmpl-linux.el (pcmpl-linux):
4780 * shell.el (shell-faces):
4781 * eshell/esh-opt.el (eshell-opt):
4782 * international/ccl.el (ccl): Remove empty custom groups.
4783
4784 * completion.el (dynamic-completion-mode):
4785 * jit-lock.el (jit-lock-debug-mode):
4786 * minibuffer.el (completion-in-region-mode):
4787 * type-break.el (type-break-mode-line-message-mode)
4788 (type-break-query-mode):
4789 * emulation/tpu-edt.el (tpu-edt-mode):
4790 * progmodes/subword.el (global-subword-mode, global-superword-mode):
4791 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
4792 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
4793
4794 * term/xterm.el (xterm): Change parent group to terminals.
4795
4796 * master.el (master): Remove empty custom group.
4797 (master-mode): Remove unused :group argument.
4798 * textmodes/refill.el (refill): Remove empty custom group.
4799 (refill-mode): Remove unused :group argument.
4800
4801 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
4802
82a7c41b
GM
4803 * cus-dep.el: Provide a feature.
4804 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
4805 Don't mistakenly ignore files whose basenames match a basename
4806 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 4807 Add a fallback method for getting :group.
f5ba00a6 4808
6d65486d
JL
48092013-05-15 Juri Linkov <juri@jurta.org>
4810
da547b32
JL
4811 * isearch.el (isearch-char-by-name): Rename from
4812 `isearch-insert-char-by-name'. Doc fix.
4813 (isearch-forward): Mention `isearch-char-by-name' in
4814 the docstring. (Bug#13348)
4815
6d65486d
JL
4816 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
4817 `exit-minibuffer' instead of
4818 `isearch-nonincremental-exit-minibuffer'.
4819 (isearch-edit-string): Remove mention of
4820 `isearch-nonincremental-exit-minibuffer' from docstring.
4821 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
4822 (isearch-forward-exit-minibuffer)
4823 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
4824
c9990474
SM
48252013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
4826
6e911150
SM
4827 * loadup.el: Just use unversioned DOC.
4828
c9990474
SM
4829 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
4830 literals as extending to EOB.
4831 (nxml-last-fontify-end): Remove unused variable.
4832 (nxml-after-change1): Use with-silent-modifications.
4833 (nxml-extend-after-change-region): Simplify.
4834 (nxml-extend-after-change-region1): Remove function.
4835 (nxml-after-change1): Don't adjust for dependent regions.
4836 (nxml-fontify-matcher): Simplify.
4837 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
4838 (xmltok-add-dependent): Remove function.
4839 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
4840 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
4841 (xmltok-scan-prolog-after-processing-instruction-open): Treat
4842 unclosed <[[, <?, comment, and other literals as extending to EOB.
4843 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
4844 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
4845 Remove functions.
4846 (rng-do-some-validation-1): Don't mark dependent regions.
4847 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
4848 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
4849 (nxml-clear-dependent-regions): Remove functions.
4850 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
4851 (nxml-ensure-scan-up-to-date):
4852 Don't clear&mark dependent regions.
4853
e3772e98
LL
48542013-05-15 Leo Liu <sdl.web@gmail.com>
4855
c9990474
SM
4856 * progmodes/octave.el (octave-goto-function-definition):
4857 Improve and fix callers.
e3772e98 4858
5ac2eb34
SM
48592013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
4860
c46c57b0
SM
4861 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
4862 the setter (bug#14387).
4863
5ac2eb34
SM
4864 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
4865 surrounding group (bug#14402).
4866
180ed218
JL
48672013-05-14 Juri Linkov <juri@jurta.org>
4868
4869 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
4870 (Bug#14390)
4871
0ac0fecb
GM
48722013-05-14 Glenn Morris <rgm@gnu.org>
4873
4874 * progmodes/f90.el (f90-imenu-generic-expression):
4875 Fix typo in 2013-05-08 change. (Bug#14402)
4876
2e78e6a7
JPG
48772013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
4878
5ac2eb34
SM
4879 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
4880 Remove signals for which replies are never received.
2e78e6a7 4881
53267cca
JPG
48822013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
4883
4884 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
4885 (gdb-handler-alist, gdb-handler-number): Remove variables.
4886 (gdb-handler-list): New variable.
4887 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
4888 (gdb-pending-handler-p, gdb-handle-reply)
4889 (gdb-remove-all-pending-triggers): New functions.
4890 (gdb-discard-unordered-replies): New defcustom.
4891 (gdb-handler): New defstruct.
4892 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
4893 instead of gdb-pending-triggers. Update docstring.
4894 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
4895 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
4896 (gdb-var-update-handler, def-gdb-auto-update-trigger)
4897 (def-gdb-auto-update-handler, gdb-get-changed-registers)
4898 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
4899 (gdb-frame-handler): Pending triggers are now automatically managed.
4900 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
4901 Remove argument.
4902 (gdb-input): Automatically handles pending triggers. Update docstring.
4903 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
4904 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
4905 Update comments.
4906 (gdb-done-or-error): Now use gdb-handle-reply.
4907
d04ce803
JPG
49082013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
4909
4910 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
4911 gdb-debug-log.
4912
0114073a
GM
49132013-05-14 Glenn Morris <rgm@gnu.org>
4914
4915 * subr.el (user-emacs-directory-warning): New option.
4916 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
4917
4d25fd7e
LL
49182013-05-14 Leo Liu <sdl.web@gmail.com>
4919
4920 * progmodes/octave.el (octave-font-lock-keywords): Fix error
4921 during redisplay.
4922 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
4923 (octave-font-lock-texinfo-comment): Fix invalid search bound
4924 error: wrong side of point.
4d25fd7e 4925
27c8b6eb
GM
49262013-05-14 Glenn Morris <rgm@gnu.org>
4927
61aaeb01
GM
4928 * progmodes/flymake.el (flymake-xml-program): New option.
4929 (flymake-xml-init): Use it.
4930
5bf90bc5
GM
4931 * term/xterm.el: Provide a feature.
4932
4933 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 4934
f4c7dfd2
GM
49352013-05-13 Glenn Morris <rgm@gnu.org>
4936
4937 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
4938 Add compat aliases as a hack workaround. (Bug#14384)
4939
2aeb3a1d
LL
49402013-05-13 Leo Liu <sdl.web@gmail.com>
4941
b0e069c2
LL
4942 * progmodes/octave.el (octave-indent-comment): Fix indentation for
4943 ###, and %!.
f5a9432f
LL
4944 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
4945 C-M-q.
b0e069c2
LL
4946 (octave-comment-start-skip): Include %!.
4947 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 4948
30ea8374
LL
49492013-05-12 Leo Liu <sdl.web@gmail.com>
4950
4951 * progmodes/octave.el (inferior-octave-startup): Store the value
4952 of __octave_srcdir__ for octave-source-directories.
4953 (inferior-octave-check-process): New function refactored out of
4954 inferior-octave-send-list-and-digest.
4955 (octave-source-directories)
4956 (octave-find-definition-filename-function): New variables.
4957 (octave-source-directories)
4958 (octave-find-definition-default-filename): New functions.
4959 (octave-find-definition): Improve to find functions implemented in C++.
4960
472a3834
GM
49612013-05-12 Glenn Morris <rgm@gnu.org>
4962
4963 * calendar/diary-lib.el (diary-outlook-format-1):
4964 Don't include dayname in the output. (Bug#14349)
4965
3191b52f
GM
49662013-05-11 Glenn Morris <rgm@gnu.org>
4967
0060ac73
GM
4968 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
4969
3191b52f
GM
4970 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
4971 Treat cc-provide like provide.
4972
e065ba74
KR
49732013-05-11 Kevin Ryde <user42@zip.com.au>
4974
4975 * cus-dep.el (custom-make-dependencies):
4976 Use generated-autoload-load-name for the sake of files such
4977 such cedet/semantic/bovine/c.el, where the base file name
4978 is not in load-path. (Bug#5277)
4979
36f84c37
GM
49802013-05-11 Glenn Morris <rgm@gnu.org>
4981
4982 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
4983 Provide features.
4984
c8730c3a
LL
49852013-05-11 Leo Liu <sdl.web@gmail.com>
4986
4987 * progmodes/octave.el (octave-indent-comment): Improve.
4988 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
4989 (octave-eldoc-function-signatures, octave-eldoc-function):
4990 New functions.
c8730c3a
LL
4991 (octave-mode, inferior-octave-mode): Add eldoc support.
4992
212e29f2
RS
49932013-05-11 Richard Stallman <rms@gnu.org>
4994
4995 * epa.el (epa-decrypt-file): Take output file name as argument
4996 and read it using `interactive'.
4997
083fe0d7
LL
49982013-05-11 Leo Liu <sdl.web@gmail.com>
4999
5000 * progmodes/octave.el (octave-beginning-of-line)
5001 (octave-end-of-line): Check before using up-list because it jumps
5002 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
5003 (octave-indent-comment): New function.
5004 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
5005 (octave-begin-keywords, octave-end-keywords)
5006 (octave-reserved-words, octave-smie-bnf-table)
5007 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 5008
8582e4c4
GM
50092013-05-11 Glenn Morris <rgm@gnu.org>
5010
f20def1f
GM
5011 * faces.el (internal-face-x-get-resource):
5012 * frame.el (ns-display-monitor-attributes-list):
d78abe37 5013 * calc/calc-aent.el (math-to-radians-2):
f20def1f 5014 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 5015 Fix declarations.
f20def1f 5016
445f95e2
GM
5017 * calc/calc-menu.el: Make it loadable in isolation.
5018
5019 * net/eudcb-bbdb.el: Make it loadable without bbdb.
5020 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
5021 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
5022 (eudc-bbdb-query-internal): Require 'bbdb.
5023
99fb2756
GM
5024 * lpr.el (lpr-headers-switches):
5025 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
5026
5027 * progmodes/sql.el (sql-login-params): Fix and improve :type.
5028
0da7ad96
GM
5029 * emulation/edt-mapper.el: In batch mode, error rather than hang.
5030
8582e4c4
GM
5031 * term.el (term-set-escape-char): Make it idempotent.
5032
f71c50d0
LL
50332013-05-10 Leo Liu <sdl.web@gmail.com>
5034
5ac2eb34
SM
5035 * progmodes/octave.el (inferior-octave-completion-table):
5036 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
5037 completion due to bug#11906.
5038 (octave-beginning-of-defun): Re-write to be more general.
5039
d5837773
GM
50402013-05-10 Glenn Morris <rgm@gnu.org>
5041
5042 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
5043
027c0f75
SM
50442013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
5045
5046 * comint.el (comint-redirect-send-command-to-process): Use :around
5047 rather than :override for comint-redirect-filter.
5048 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
5049 Call it instead of comint-redirect-original-filter-function (which
5050 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
5051
4465bfb4
JD
50522013-05-09 Jan Djärv <jan.h.d@swipnet.se>
5053
5054 * frame.el (display-monitor-attributes-list): Add NS case.
5055 (ns-display-monitor-attributes-list): Declare.
5056
2d809ffa 50572013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
5058
5059 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
5060
e54eeb9b
GM
50612013-05-09 Glenn Morris <rgm@gnu.org>
5062
56cd351d
GM
5063 * international/fontset.el (vertical-centering-font-regexp):
5064 Set standard-value.
5065
d84b6108
GM
5066 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
5067
a931698a
GM
5068 * bookmark.el (bookmark-search-delay):
5069 * cus-start.el (vertical-centering-font-regexp):
5070 * ps-mule.el (ps-mule-font-info-database-default):
5071 * ps-print.el (ps-default-fg, ps-default-bg):
5072 * type-break.el (type-break-good-break-interval):
5073 * whitespace.el (whitespace-indentation-regexp)
5074 (whitespace-space-after-tab-regexp):
5075 * emacs-lisp/testcover.el (testcover-1value-functions)
5076 (testcover-noreturn-functions, testcover-progn-functions)
5077 (testcover-prog1-functions):
5078 * emulation/viper-init.el (viper-emacs-state-cursor-color):
5079 * eshell/em-glob.el (eshell-glob-translate-alist):
5080 * play/tetris.el (tetris-tty-colors):
5081 * progmodes/cpp.el (cpp-face-default-list):
5082 * progmodes/flymake.el (flymake-allowed-file-name-masks):
5083 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
5084 (idlwave-help-browser-generic-args):
5085 * progmodes/make-mode.el (makefile-special-targets-list):
5086 * progmodes/python.el (python-shell-virtualenv-path):
5087 * progmodes/verilog-mode.el (verilog-active-low-regexp)
5088 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
5089 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
5090 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
5091 * textmodes/reftex-vars.el (reftex-format-label-function):
5092 * textmodes/remember.el (remember-diary-file): Fix custom types.
5093
e54eeb9b
GM
5094 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
5095 Add :version.
5096
455851dd
LL
50972013-05-09 Leo Liu <sdl.web@gmail.com>
5098
5099 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 5100 Restore file completion. (Bug#14300)
455851dd
LL
5101 (inferior-octave-startup): Fix incorrect highlighting for the
5102 first prompt.
5103
a9e4425b
SM
51042013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5105
5106 * progmodes/ruby-mode.el: First cut at SMIE support.
5107 (ruby-use-smie): New var.
5108 (ruby-smie-grammar): New constant.
5109 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
5110 (ruby-smie--forward-token, ruby-smie--backward-token)
5111 (ruby-smie-rules): New functions.
5112 (ruby-mode-variables): Setup SMIE if applicable.
5113
060ca408
EZ
51142013-05-08 Eli Zaretskii <eliz@gnu.org>
5115
5116 * simple.el (line-move-visual): Signal beginning/end of buffer
5117 only if vertical-motion moved less than it was requested. Avoids
5118 silly incorrect error messages when there are display strings with
5119 multiple newlines at EOL.
5120
1d5963cc
SM
51212013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5122
5123 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
5124 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
5125 (prolog-char-quote-workaround):
5126 * progmodes/cperl-mode.el (cperl-under-as-char):
5127 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
5128 Mark as obsolete.
5129 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
5130 their declaration.
5131 (vhdl-mode-syntax-table-init): Remove.
5132
c9990474
SM
5133 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
5134 last change.
1d5963cc
SM
5135
5136 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
5137 syntax for "_".
5138 (ld-script-font-lock-keywords):
5139 Change regexps to use things like \_< and \_>.
5140
5141 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
5142 Change all regexps to use things like \_< and \_>.
5143
5144 * progmodes/autoconf.el (autoconf-definition-regexp)
5145 (autoconf-font-lock-keywords, autoconf-current-defun-function):
5146 Handle a _ with symbol syntax.
5147 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
5148
c9990474
SM
5149 * progmodes/ada-mode.el (ada-mode-abbrev-table):
5150 Consolidate declaration.
1d5963cc
SM
5151 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
5152 the declaration.
5153 (ada-create-syntax-table): Remove.
5154 (ada-capitalize-word): Don't mess with the syntax of "_" since it
5155 already has the right syntax nowadays.
5156 (ada-goto-next-word): Don't change the syntax of "_".
5157
5158 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
5159 with-wrapper-hook.
5160
72d3cfca
SS
51612013-05-08 Sam Steingold <sds@gnu.org>
5162
5163 * thingatpt.el (thing-at-point): Accept optional second argument
5164 NO-PROPERTIES to strip the text properties from the return value.
5165 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
5166 to `thing-at-point' instead of stripping the properties ourselves.
5167 Also, when `thing-at-point' fails to find a url, prepend "http://"
5168 to the filename at point on the assumption that the user is
5169 pointing at something like gnu.org/gnu.
5170
5cb15713
JB
51712013-05-08 Juanma Barranquero <lekktu@gmail.com>
5172
5173 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
5174 * faces.el (crm-separator):
5175 Silence byte-compiler.
5176
5177 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
5178 (tool-bar-map): Remove unneeded defvars.
5179
ea78b95b
LL
51802013-05-08 Leo Liu <sdl.web@gmail.com>
5181
5182 Re-work a fix for bug#10994 based on Le Wang's patch.
5183 * ido.el (ido-remove-consecutive-dups): New helper.
5184 (ido-completing-read): Use it.
5185 (ido-chop): Revert fix for bug#10994.
5186
dc7466df
AS
51872013-05-08 Adam Spiers <emacs@adamspiers.org>
5188
5189 * cus-edit.el (custom-save-variables):
5190 Pretty-print long values. (Bug#14187)
5191
9ecf672a
GM
51922013-05-08 Glenn Morris <rgm@gnu.org>
5193
5194 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
5195 (m4-mode-syntax-table): Init in the defvar.
5196 (m4-mode-abbrev-table): Let define-derived-mode define it.
5197
3f555be8
TT
51982013-05-08 Tom Tromey <tromey@redhat.com>
5199
5200 * progmodes/m4-mode.el (m4-mode-syntax-table):
5201 Do not treat "_" as word constituent. (Bug#14167)
5202
7cc8ae06
GM
52032013-05-07 Glenn Morris <rgm@gnu.org>
5204
4f58bc06
GM
5205 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
5206 Remove explicit eshell-isearch-cancel-map.
5207
7cc8ae06
GM
5208 * progmodes/f90.el (f90-smart-end-names): New option.
5209 (f90-smart-end): Doc fix.
5210 (f90-end-block-optional-name): New constant.
5211 (f90-block-match): Respect f90-smart-end-names.
5212
ceb57e59
SM
52132013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
5214
5215 * progmodes/octave.el (octave-smie-forward-token): Be more careful
5216 about implicit semi-colons (bug#14218).
5217
4e3f9230
YM
52182013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5219
5220 * frame.el (display-monitor-attributes-list)
5221 (frame-monitor-attributes): New functions.
5222
203a5572
LL
52232013-05-06 Leo Liu <sdl.web@gmail.com>
5224
5225 * progmodes/octave.el (octave-syntax-propertize-function): Change
5226 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
5227 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 5228 (octave-completion-at-point): Rename from
203a5572
LL
5229 octave-completion-at-point-function.
5230 (inferior-octave-directory-tracker): Robustify.
5231 (octave-text-functions): Remove and fix its uses. No such things
5232 any more.
5233
ee6cff99
SM
52342013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
5235
5236 * emacs-lisp/trace.el (trace--display-buffer): New function.
5237 (trace-make-advice): Use it.
5238
32985194
JL
52392013-05-06 Juri Linkov <juri@jurta.org>
5240
5241 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
5242 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
5243 Doc fix.
5244 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
5245 in the help string. (Bug#12985)
5246
a1c700de
KD
52472013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
5248
5249 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
5250
c67c0839
SM
52512013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
5252
323885fd
SM
5253 * progmodes/perl-mode.el: Add support for here documents.
5254 (perl-syntax-propertize-function): Match here-doc markers.
5255 (perl-syntax-propertize-special-constructs): Find their end.
5256 (perl-imenu-generic-expression): Use [:alnum:].
5257
c67c0839
SM
5258 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
5259 (advice--add-function): Refresh the advice if already present
5260 (bug#14317).
5261
d491e7a8
IA
52622013-05-06 Ivan Andrus <darthandrus@gmail.com>
5263
5264 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
5265
ddf9925e
GM
52662013-05-06 Glenn Morris <rgm@gnu.org>
5267
7cc3af27
GM
5268 * w32-fns.el (w32-charset-info-alist): Declare.
5269
16e343d6
GM
5270 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
5271 of its defcustom properties.
5272 (eshell-cmpl-initialize): No need to load pcomplete.
5273
7d889a47
GM
5274 * generic-x.el: No need to require comint when compiling.
5275
ddf9925e
GM
5276 * net/eudc-export.el: Make it loadable without bbdb.
5277 (top-level): Use require rather than load-library.
5278 (eudc-create-bbdb-record, eudc-bbdbify-phone)
5279 (eudc-batch-export-records-to-bbdb)
5280 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
5281 Require bbdb.
5282
1e2c18df
SM
52832013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
5284
5285 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
5286 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
5287 some tweaks, instead.
5288
02502a5f
LL
52892013-05-05 Leo Liu <sdl.web@gmail.com>
5290
5291 * progmodes/octave.el (octave-font-lock-keywords)
5292 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
5293 (inferior-octave-send-list-and-digest): Improve error message.
5294 (octave-mode, inferior-octave-mode): Use setq-local.
5295 (octave-help): Set info-lookup-mode.
5296
0dc04f42
RS
52972013-05-05 Richard Stallman <rms@gnu.org>
5298
6c54491c
RS
5299 * vc/compare-w.el (compare-windows-whitespace):
5300 Treat no-break space as whitespace.
5301
0dc04f42
RS
5302 * mail/rmailsum.el (rmail-summary-rmail-update):
5303 Detect empty summary and don't change selected message.
5304 (rmail-summary-goto-msg): Likewise.
5305
df8f35df
RS
5306 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
5307 Doc fixes, rename args.
5308
5356e1a3
AM
53092013-05-05 Alan Mackenzie <acm@muc.de>
5310
5311 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
5312
d44014cb
JL
53132013-05-05 Juri Linkov <juri@jurta.org>
5314
5315 * info.el (Info-read-subfile): Use (point-min) instead of (point)
5316 to not add the length of the summary segment to the return value.
5317 (Bug#14125)
5318
c129b51f
LL
53192013-05-05 Leo Liu <sdl.web@gmail.com>
5320
5321 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
5322 (inferior-octave-output-filter): Remove.
5323 (octave-send-region, inferior-octave-startup): Fix callers.
5324 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
5325 (octave-binary-file-extensions): New user variable.
5326 (octave-find-definition): Confirm if opening binary files.
5327 (octave-help-file): Use octave-find-definition to get the binary
5328 confirmation.
5329 (octave-help): Adjust for octave-help-file change.
5330
aa7dab97
SM
53312013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
5332
5333 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
5334 Merge the two entries that handle function definitions.
5335 (pascal--syntax-propertize): New const.
5336 (pascal-mode): Use it. Use setq-local.
5337
fd3a9a6b
GM
53382013-05-04 Glenn Morris <rgm@gnu.org>
5339
5340 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
5341 (diary-from-outlook): Respect diary-from-outlook-function.
5342
30c7e542
SM
53432013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
5344
5345 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
5346 Move the declaration from C.
5347 (read-minibuffer, eval-minibuffer): Move from C.
5348 (completion-setup-function): Avoid minibuffer-completion-contents.
5349
b54f978b
LL
53502013-05-03 Leo Liu <sdl.web@gmail.com>
5351
5352 * progmodes/octave.el (octave-font-lock-keywords): Do not
5353 dehighlight 'end' in comments or strings.
30c7e542
SM
5354 (octave-completing-read, octave-goto-function-definition):
5355 New helpers.
d4d0f9b3
LL
5356 (octave-help-buffer): New user variable.
5357 (octave-help-file, octave-help-function): New button types.
5358 (octave-help): New command and bind it to C-h ;.
5359 (octave-find-definition): New command and bind it to M-.
d74a1581 5360 (user-error): Alias to error if not defined.
b54f978b 5361
27135018
LL
53622013-05-02 Leo Liu <sdl.web@gmail.com>
5363
5364 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
5365 for \. (bug#14332)
5366 (octave-font-lock-keywords): Include [ and {.
5367
0d634d3a
LL
53682013-05-02 Leo Liu <sdl.web@gmail.com>
5369
5370 * progmodes/octave.el (inferior-octave-startup-file): Change default.
5371 (inferior-octave): Remove calling comint-mode and return the buffer.
5372 (inferior-octave-startup): Cosmetic changes.
5373
b4c8295e
LL
53742013-05-02 Leo Liu <sdl.web@gmail.com>
5375
30c7e542
SM
5376 * progmodes/octave.el (octave-syntax-propertize-function):
5377 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 5378
f12ad6ec
GM
53792013-05-02 Glenn Morris <rgm@gnu.org>
5380
5381 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
5382 * desktop.el (vc-dir-mode): Just autoload it here.
5383
30cac1e0
AM
53842013-05-02 Alan Mackenzie <acm@muc.de>
5385
5386 Eliminate variable c-standard-font-lock-fontify-region-function.
5387 * progmodes/cc-mode.el
5388 (c-standard-font-lock-fontify-region-function): Remove.
5389 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
5390
d8ef28b1
LL
53912013-05-01 Leo Liu <sdl.web@gmail.com>
5392
2640d52e 5393 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 5394 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 5395 variables were removed from Octave in 2007.
d8ef28b1
LL
5396 (inferior-octave-startup): Fix uses.
5397 (comint-line-beginning-position): Remove compatibility code for
5398 emacs 21.
5399
ac63ec89
JL
54002013-05-01 Juri Linkov <juri@jurta.org>
5401
5402 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
5403
9e9be37c
JL
54042013-05-01 Juri Linkov <juri@jurta.org>
5405
5406 * comint.el (comint-previous-matching-input): Don't print message
5407 "History item: %d" when `isearch-mode' is active.
5408 (comint-history-isearch-message): Print message "History item: %d"
5409 when `comint-input-ring-index' is not empty and this function is
5410 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
5411
9b92c13b
LL
54122013-05-01 Leo Liu <sdl.web@gmail.com>
5413
5414 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
5415 definitions. Use completion-at-point to insert keywords.
5416 (octave-abbrev-start): Remove.
5417 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
5418
b12d33d7
LL
54192013-04-30 Leo Liu <sdl.web@gmail.com>
5420
5421 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
5422 change.
5423
3d1c39fa
AM
54242013-04-30 Alan Mackenzie <acm@muc.de>
5425
5426 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
5427 * progmodes/cc-engine.el (c-back-over-member-initializers):
5428 new function.
3d1c39fa
AM
5429 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
5430 (most) member init lists.
5431
5147fc17
RS
54322013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5433
5434 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
5435 variable.
5436
5b78d7fc
LL
54372013-04-30 Leo Liu <sdl.web@gmail.com>
5438
5439 * progmodes/octave.el (octave-variables): Remove. No builtin
5440 variables any more. All converted to functions.
5441 (octave-font-lock-keywords, octave-completion-at-point-function):
5442 Fix uses.
5443 (octave-font-lock-texinfo-comment): New user variable.
5444 (octave-texinfo-font-lock-keywords): New variable for texinfo
5445 comment block.
5446 (octave-function-comment-block): New face.
5447 (octave-font-lock-texinfo-comment): New function.
5448 (octave-mode): Font lock texinfo comment block.
5449
38d8527b
LL
54502013-04-29 Leo Liu <sdl.web@gmail.com>
5451
5452 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
5453 indexing expression.
5454 (octave-continuation-string): Do not use \.
5455 (inferior-octave-complete-impossible): Remove.
5456 (inferior-octave-completion-table)
5457 (inferior-octave-completion-at-point): Remove its uses.
5458 (inferior-octave-startup): completion_matches was introduced to
5459 Octave in 1996 so safe to assume it.
5460 (octave-function-file-comment): Improve to follow how Octave does it.
5461 (octave-update-function-file-comment): Tweak.
5462
2ec12cb0
LL
54632013-04-29 Leo Liu <sdl.web@gmail.com>
5464
5465 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
5466 (inferior-octave-startup): Remove inferior-octave-startup-hook.
5467 (octave-function-file-comment): Fix typo.
5468 (octave-sync-function-file-names): Use read-char-choice.
5469
6eaed048
JB
54702013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
5471
5472 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
5473 to t for the less important warnings.
5474
3ffa2d4f
DH
54752013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
5476
5477 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
5478
685c9501
GM
54792013-04-27 Glenn Morris <rgm@gnu.org>
5480
5481 * vc/log-view.el (log-view-current-entry):
5482 Treat "---" separator lines as part of the following rev. (Bug#14169)
5483
0208ede7
JL
54842013-04-27 Juri Linkov <juri@jurta.org>
5485
5486 * subr.el (read-number): Doc fix about using it by interactive
5487 code letter `n'. (Bug#14254)
5488
5db9dace
JL
54892013-04-27 Juri Linkov <juri@jurta.org>
5490
5491 * desktop.el (desktop-auto-save-timeout): New option.
5492 (desktop-file-checksum): New variable.
5493 (desktop-save): Add optional arg `auto-save' and don't auto-save
5494 if nothing changed.
5495 (desktop-auto-save-timer): New variable.
5496 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
5497 (after-init-hook): Call `desktop-auto-save-set-timer'.
5498 Suggested by Reuben Thomas <rrt@sc3d.org> in
5499 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
5500
b7260dd4
LL
55012013-04-27 Leo Liu <sdl.web@gmail.com>
5502
5503 * progmodes/octave.el (octave-function-file-p)
5504 (octave-skip-comment-forward, octave-function-file-comment)
5505 (octave-update-function-file-comment): New functions.
5506 (octave-mode-map): Bind C-c ; to
5507 octave-update-function-file-comment.
5508 (octave-mode-menu): Add octave-update-function-file-comment.
5509 (octave-mode, inferior-octave-mode): Fix doc-string.
5510 (octave-insert-defun): Conform to Octave's coding convention.
5511 (Bug#14285)
5512
5513 * files.el (basic-save-buffer): Don't let errors in
5514 before-save-hook prevent saving buffer.
5515
c46da669
RW
55162013-04-20 Roland Winkler <winkler@gnu.org>
5517
5518 * faces.el (read-face-name): Use completing-read if arg multiple
5519 is nil.
5520
a81ee1eb
IL
55212013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
5522
5523 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
5524 displayed, move point to after the totals line.
5525 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
5526 for the details.
5527
4fac34ce
SM
55282013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
5529
5530 * emacs-lisp/package.el (package-autoload-ensure-default-file):
5531 Add current dir to the load-path.
5532 (package-generate-autoloads): Don't rely on
5533 autoload-ensure-default-file.
5534
f6bfc063
RT
55352013-04-26 Reuben Thomas <rrt@sc3d.org>
5536
d40ab5cf
BG
5537 * textmodes/remember.el (remember-store-in-files): Document that
5538 the file name format is passed to `format-time-string'.
f6bfc063 5539
e55d3b04
LL
55402013-04-26 Leo Liu <sdl.web@gmail.com>
5541
5542 * progmodes/octave.el (octave-sync-function-file-names): New function.
5543 (octave-mode): Use it in before-save-hook.
5544
e53052d3
SM
55452013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
5546
140ef50c
SM
5547 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
5548 (bug#14274).
5549
e53052d3
SM
5550 * progmodes/octave.el (octave-smie-forward-token): Properly skip
5551 \n and comment, even if it's not an implicit ; (bug#14218).
5552
af80458d 55532013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
5554
5555 * subr.el (read-number): Once more use `read' rather than
5556 `string-to-number', to trap non-numeric input. (Bug#14254)
5557
af80458d 55582013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
5559
5560 * emacs-lisp/syntax.el (syntax-propertize-multiline):
5561 Use `syntax-multiline' text property consistently instead of
8a621d53 5562 `font-lock-multiline'. (Bug#14237)
70203c2e 5563
e6ea1f6c
GM
55642013-04-26 Glenn Morris <rgm@gnu.org>
5565
5566 * emacs-lisp/shadow.el (list-load-path-shadows):
5567 No longer necessary to check for duplicate simple.el, since
5568 2012-07-07 change to init_lread to not include installation lisp
5569 directories in load-path when running uninstalled. (Bug#14270)
5570
070ccca4
LL
55712013-04-26 Leo Liu <sdl.web@gmail.com>
5572
5573 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
5574 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 5575 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
5576 octave-in-string-or-comment-p.
5577 (octave-in-comment-p, octave-in-string-p)
5578 (octave-in-string-or-comment-p): Replace defsubst with defun.
5579
9d1c5fb6
PE
55802013-04-25 Paul Eggert <eggert@cs.ucla.edu>
5581
5582 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
5583
c034abda
BG
55842013-04-25 Bastien Guerry <bzg@gnu.org>
5585
5586 * textmodes/remember.el (remember-data-directory)
5587 (remember-directory-file-name-format): Fix custom types.
5588
584ea277
LL
55892013-04-25 Leo Liu <sdl.web@gmail.com>
5590
e53052d3
SM
5591 * progmodes/octave.el (octave-completion-at-point-function):
5592 Make use of inferior octave process.
584ea277
LL
5593 (octave-initialize-completions): Remove.
5594 (inferior-octave-completion-table): New function.
5595 (inferior-octave-completion-at-point): Use it.
5596 (octave-completion-alist): Remove.
5597
1693b06a
SM
55982013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
5599
5600 * progmodes/opascal.el: Use font-lock and syntax-propertize.
5601 (opascal-mode-syntax-table): New var.
5602 (opascal-literal-kind, opascal-is-literal-end)
5603 (opascal-literal-token-at): Rewrite.
5604 (opascal--literal-start-re, opascal-font-lock-keywords)
5605 (opascal--syntax-propertize): New constants.
5606 (opascal-font-lock-defaults): Adjust.
5607 (opascal-mode): Use them. Set comment-<foo> variables as well.
5608 (delphi-comment-face, opascal-comment-face, delphi-string-face)
5609 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
5610 (delphi-other-face, opascal-other-face): Remove face variables.
5611 (opascal-save-state): Remove macro.
5612 (opascal-fontifying-progress-step): Remove constant.
5613 (opascal--ignore-changes): Remove var.
5614 (opascal-set-token-property, opascal-parse-next-literal)
5615 (opascal-is-stable-literal, opascal-complete-literal)
5616 (opascal-is-literal-start, opascal-face-of)
5617 (opascal-parse-region, opascal-parse-region-until-stable)
5618 (opascal-fontify-region, opascal-after-change)
5619 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
5620 (opascal-debug-parse-region, opascal-debug-parse-window)
5621 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
5622 (opascal-debug-fontify-buffer): Remove.
5623 (opascal-debug-mode-map): Adjust accordingly.
5624
be64c05d
LL
56252013-04-25 Leo Liu <sdl.web@gmail.com>
5626
5627 Merge octave-mod.el and octave-inf.el into octave.el with some
5628 cleanups.
5629 * progmodes/octave.el: New file renamed from octave-mod.el.
5630 * progmodes/octave-inf.el: Merged into octave.el.
5631 * progmodes/octave-mod.el: Renamed to octave.el.
5632
d79d37bd
TH
56332013-04-25 Tassilo Horn <tsdh@gnu.org>
5634
5635 * textmodes/reftex-vars.el
5636 (reftex-label-ignored-macros-and-environments): New defcustom.
5637
5638 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
5639
ced3fc5d
SM
56402013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
5641
5642 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
5643 (smie-indent-keyword): Improve the check to ensure that the next
5644 comment is really on the same line.
5645 (smie-indent-comment): Don't align with a subsequent closer (or eob).
5646
5647 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
5648 semi-colons if the line is not otherwise empty (bug#14218).
5649
1c141dad
GM
56502013-04-25 Glenn Morris <rgm@gnu.org>
5651
5652 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
5653
5058062a
SM
56542013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
5655
5656 * progmodes/opascal.el (opascal-set-token-property): Rename from
5657 opascal-set-text-properties and only set `token' (bug#14134).
5658 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
5659 (opascal-literal-text-properties): Remove.
5660 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
5661 Adjust callers.
5662
5db9dace 56632013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
5664
5665 * textmodes/remember.el (remember-handler-functions): Add an
5666 option for a new handler `remember-store-in-files'.
5667 (remember-data-directory, remember-directory-file-name-format):
5668 New options.
5669 (remember-store-in-files): New function to store remember notes
5670 as separate files within a directory.
5671
4391916c
MH
56722013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
5673
5674 * progmodes/compile.el (compilation-next-error-function):
5675 Pass "formats" to compilation-find-file (bug#11777).
5676
bb7cdf58
GM
56772013-04-24 Glenn Morris <rgm@gnu.org>
5678
3b8fe752 5679 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
5680 * vc/vc-hg.el (vc-hg-print-log):
5681 * vc/vc-svn.el (vc-svn-print-log):
5682 Fix START-REVISION with LIMIT != 1. (Bug#14168)
5683
bb7cdf58
GM
5684 * vc/vc-bzr.el (vc-bzr-print-log):
5685 * vc/vc-cvs.el (vc-cvs-print-log):
5686 * vc/vc-git.el (vc-git-print-log):
5687 * vc/vc-hg.el (vc-hg-print-log):
5688 * vc/vc-mtn.el (vc-mtn-print-log):
5689 * vc/vc-rcs.el (vc-rcs-print-log):
5690 * vc/vc-sccs.el (vc-sccs-print-log):
5691 * vc/vc-svn.el (vc-svn-print-log):
5692 * vc/vc.el (vc-print-log-internal): Doc fixes.
5693
b46a056e
GM
56942013-04-23 Glenn Morris <rgm@gnu.org>
5695
5696 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
5697 Remove venerable code attempting to avoid substitute-command-keys.
5698
0aecf718
TH
56992013-04-23 Tassilo Horn <tsdh@gnu.org>
5700
4391916c
MH
5701 * textmodes/reftex-vars.el (reftex-label-regexps):
5702 Call `reftex-compile-variables' after changes to this variable.
0aecf718 5703
117f94cf
SM
57042013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
5705
4391916c 5706 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
5707 Use lexical-binding.
5708 (jit-lock-force-redisplay): Use markers, check buffer's continued
5709 existence and beware narrowed buffers.
5710 (jit-lock-fontify-now): Adjust call accordingly.
5711
1d829c64
SM
57122013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
5713
5714 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
5715 to avoid misleading the user.
5716
72d548a9
LL
57172013-04-22 Leo Liu <sdl.web@gmail.com>
5718
5719 * info-look.el: Prefer latex2e.info. (Bug#14240)
5720
d0853629
MA
57212013-04-22 Michael Albinus <michael.albinus@gmx.de>
5722
5723 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
5724
5725 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 5726 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
5727 (tramp-set-completion-function, tramp-parse-putty):
5728 * net/tramp-adb.el (tramp-adb-execute-adb-command):
5729 * net/tramp-gvfs.el (tramp-gvfs-send-command):
5730 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
5731 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
5732 (tramp-call-local-coding-command): Use `tramp-call-process'
5733 instead of `tramp-compat-call-process'.
5734
5735 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
5736 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
5737 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 5738 (tramp-find-inline-compress): Improve traces.
d0853629
MA
5739 (tramp-maybe-send-script): Check for Perl binary.
5740 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
5741
38cc0210
DU
57422013-04-22 Daiki Ueno <ueno@gnu.org>
5743
5744 * epg.el (epg-context-pinentry-mode): New function.
5745 (epg-context-set-pinentry-mode): New function.
5746 (epg--start): Pass --pinentry-mode option to gpg command.
5747
cc641ee1
XF
57482013-04-21 Xue Fuqiao <xfq.free@gmail.com>
5749
02d844b5 5750 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 5751 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 5752 `completion-at-point'. (Bug#13774)
5d4e5c31 5753
cc641ee1
XF
5754 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
5755 default key binding for `describe-distribution' has been moved to
5756 `C-h C-o'. (Bug#13970)
5757
1b42ee43
GM
57582013-04-21 Glenn Morris <rgm@gnu.org>
5759
5760 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
5761 Add doc strings.
5762 (vc-print-log): Clarify interactive prompt.
5763
a6d63d97
GM
57642013-04-20 Glenn Morris <rgm@gnu.org>
5765
5766 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
5767 No longer include timestamp etc information.
5768
d7f5c16f
RW
57692013-04-20 Roland Winkler <winkler@gnu.org>
5770
5771 * faces.el (read-face-name): Bug fix, return just one face if arg
5772 multiple is nil. (Bug#14209)
5773
bcd7a0a4
SM
57742013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
5775
5776 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
5777 (remove-function): Autoload.
5778
5779 * comint.el (comint-redirect-original-filter-function): Remove.
5780 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
5781 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
5782 (vc-cvs-annotate-command):
bcd7a0a4
SM
5783 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
5784 * progmodes/prolog.el (prolog-consult-compile):
5785 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
5786 Use add/remove-function instead.
5787 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
5788 (gud-tooltip-process-output, gud-tooltip-tips):
5789 Use add/remove-function instead.
5790 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
5791 (scheme-interaction-mode, exit-scheme-interaction-mode):
5792 Use add/remove-function instead.
5793
5794 * vc/vc-dispatcher.el: Use lexical-binding.
5795 (vc--process-sentinel): Rename from vc-process-sentinel.
5796 Change last arg to be the code to run. Don't use vc-previous-sentinel
5797 and vc-sentinel-commands any more.
5798 (vc-exec-after): Allow code to be a function. Use add/remove-function.
5799 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
5800
4d3268ba
MY
58012013-04-19 Masatake YAMATO <yamato@redhat.com>
5802
bcd7a0a4 5803 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 5804 Handle function names with a single character. (Bug#14111)
4d3268ba 5805
781b4af6 58062013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
5807
5808 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
5809 for subroutines defined in an eval (bug#14182).
5810
7d688336
TV
58112013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5812
5813 * bookmark.el (bookmark-completing-read): Improve handling of empty
5814 string (bug#14176).
5815
31dcede0
SM
58162013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
5817
5818 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
5819
adc31213
FEG
58202013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
5821
5822 New faster Imenu implementation (bug#14058).
5823 * progmodes/python.el:
5824 (python-imenu-prev-index-position):
5825 (python-imenu-format-item-label-function)
5826 (python-imenu-format-parent-item-label-function)
5827 (python-imenu-format-parent-item-jump-label-function):
5828 New vars.
5829 (python-imenu-format-item-label)
5830 (python-imenu-format-parent-item-label)
5831 (python-imenu-format-parent-item-jump-label)
5832 (python-imenu--put-parent, python-imenu--build-tree)
5833 (python-imenu-create-index, python-imenu-create-flat-index)
5834 (python-util-popn): New functions.
5835 (python-mode): Set imenu-create-index-function to
5836 python-imenu-create-index.
5837
cdca8255
SM
58382013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
5839
5840 * winner.el (winner-active-region): Use region-active-p, activate-mark
5841 and deactivate-mark (bug#14225).
5842
5843 * simple.el (deactivate-mark): Don't inline it.
5844
beb42340
MA
58452013-04-18 Michael Albinus <michael.albinus@gmx.de>
5846
5847 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
5848
fc7f4d7e
TH
58492013-04-18 Tassilo Horn <tsdh@gnu.org>
5850
5851 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
5852 file extensions from the archive-mode entry in order to prefer
5853 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
5854
29f47822
LL
58552013-04-18 Leo Liu <sdl.web@gmail.com>
5856
5857 * bindings.el (help-event-list): Add ?\?.
5858
d36ed1c8
SM
58592013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
5860
5861 * subr.el (with-wrapper-hook): Declare obsolete.
5862 * simple.el (filter-buffer-substring-function): New hook.
5863 (filter-buffer-substring): Use it.
5864 (filter-buffer-substring-functions): Mark obsolete.
5865 * minibuffer.el (completion-in-region-function): New hook.
5866 (completion-in-region): Use it.
5867 (completion-in-region-functions): Mark obsolete.
5868 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
5869 * abbrev.el (abbrev-expand-function): New hook.
5870 (expand-abbrev): Use it.
5871 (abbrev-expand-functions): Mark obsolete.
5872 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
5873 and :filter-return.
5874
04754d36
FEG
58752013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
5876
5877 * progmodes/python.el (python-nav--syntactically): Fix cornercases
5878 and do not care about match data.
5879
dd8791e9
SM
58802013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
5881
5882 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
5883 completion tables when completing error conditions and
5884 `declare' arguments.
5885 (lisp-complete-symbol, field-complete): Mark as obsolete.
5886 (check-parens): Unmatched parens are user errors.
5887 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
5888
ffe54a13
AM
58892013-04-17 Michal Nazarewicz <mina86@mina86.com>
5890
dd8791e9
SM
5891 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
5892 command changed buffer (ie. `flyspell-pre-buffer' is not current
5893 buffer), which prevents making decisions based on invalid value of
5894 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
5895 cause an error when `flyspell-pre-point' was nil after switching
5896 buffers.
5897 (flyspell-post-command-hook): No longer needs to change buffers when
5898 checking pre-word. While at it remove unnecessary progn.
ffe54a13 5899
ec7e39f2
AM
59002013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
5901
5902 * textmodes/ispell.el (ispell-add-per-file-word-list):
5903 Fix `flyspell-correct-word-before-point' error when accepting
5904 words and `coment-padding' is an integer by using
5905 `comment-normalize-vars' (Bug #14214).
5906
083850a6
FEG
59072013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
5908
5909 New defun movement commands.
5910 * progmodes/python.el (python-nav--syntactically)
5911 (python-nav--forward-defun, python-nav-backward-defun)
5912 (python-nav-forward-defun): New functions.
5913
619ed6e1
FEG
59142013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
5915
5916 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
5917 (python-syntax-context): Use named compiler-macro for backwards
5918 compatibility with Emacs 24.x.
5919
7a1beb6c
LL
59202013-04-17 Leo Liu <sdl.web@gmail.com>
5921
5922 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
5923 octave-hide-process-buffer.
5924
2d3fa3e5
SM
59252013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
5926
5927 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
5928 (bug#14216).
5929
7ce5be54
JPG
59302013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
5931
5932 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
5933 Fix adjustment of offset when receiving incomplete responses from GDB
5934 (bug#14129).
5935
351edece
SM
59362013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
5937
5938 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
5939 python-mode-abbrev-table.
5940 (python-skeleton-define): Adjust accordingly.
5941 (python-mode-abbrev-table): New table that inherits from it so that
5942 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
5943
5944 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
5945 (abbrev-symbol): Use it.
5946 (abbrev--before-point): Use it since we already handle inheritance.
5947
613f9481
LL
59482013-04-16 Leo Liu <sdl.web@gmail.com>
5949
5950 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
5951 binding to info-lookup-symbol.
5952
51646b62
JB
59532013-04-16 Juanma Barranquero <lekktu@gmail.com>
5954
5955 * minibuffer.el (completion--twq-all):
5956 * term/ns-win.el (ns-initialize-window-system):
5957 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
5958
efb3f01d
SM
59592013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
5960
36c0a301
SM
5961 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
5962 global bindings.
5963
efb3f01d
SM
5964 * doc-view.el (doc-view-start-process): Handle url-handler directories.
5965
fb549d64
DG
59662013-04-15 Dmitry Gutov <dgutov@yandex.ru>
5967
5968 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
5969 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
5970 to nil.
5971 (ruby-end-of-defun): Remove the unused arg, change the docstring
5972 to reflect that this function is only used as the value of
5973 `end-of-defun-function'.
5974 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
5975 to reflect an earlier change that beginning/end-of-defun functions
5976 jump between methods in a class definition, as well as top-level
5977 functions.
5978
21e8fe2f
SM
59792013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
5980
5981 * minibuffer.el (minibuffer-complete): Don't just scroll
5982 a *Completions* that's been iconified.
5983 (minibuffer-force-complete): Make sure repetitions do cycle when going
5984 through completion-in-region -> minibuffer-complete.
5985
20e527d0
AM
59862013-04-15 Alan Mackenzie <acm@muc.de>
5987
5988 Correct the placement of c-cpp-delimiters when there're #s not at
5989 col 0.
5990
5991 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
5992 place a submatch around the #.
21e8fe2f
SM
5993 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
5994 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
5995 on the #, not BOL.
5996
dabefae5
SM
59972013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
5998
5999 * emacs-lisp/nadvice.el: Properly test names when adding advice.
6000 (advice--member-p): New arg `name'.
6001 (advice--add-function, advice-member-p): Use it (bug#14202).
6002
85c9ab64
AM
60032013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
6004
6005 Reformulate java imenu-generic-expression.
6006 The old expression contained ill formed regexps.
6007
6008 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
6009 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
6010 (cc-imenu-java-method-arg-regexp): New defconsts.
6011 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 6012 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
6013 handling of spaces in the regexp.
6014
0f821d99
AM
60152013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6016
6017 * textmodes/ispell.el (ispell-command-loop): Remove
6018 flyspell highlight of a word when ispell accepts it (bug #14178).
6019
eb922adf
MA
60202013-04-15 Michael Albinus <michael.albinus@gmx.de>
6021
6022 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
6023 uses code from the previous `ange-ftp-run-real-handler'.
6024 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
6025 only in case that function exist. This is needed for proper
6026 unloading of Tramp.
6027
4d9a0979
TH
60282013-04-15 Tassilo Horn <tsdh@gnu.org>
6029
6030 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
6031
6032 * textmodes/reftex.el (reftex-compile-variables): Use it.
6033
a829b0dc
SM
60342013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
6035
91e8293c
SM
6036 * files.el (normal-mode): Only use default major-mode if no other mode
6037 was specified.
6038
830aed4d
SM
6039 * emacs-lisp/trace.el (trace-values): New function.
6040
a829b0dc
SM
6041 * files.el: Allow : in local variables (bug#14089).
6042 (hack-local-variable-regexp): New var.
6043 (hack-local-variables-prop-line, hack-local-variables): Use it.
6044
7ae9f0fb
RW
60452013-04-13 Roland Winkler <winkler@gnu.org>
6046
6047 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
6048 data before it gets modified by bibtex-beginning-of-entry.
6049
6646e848
RW
60502013-04-13 Roland Winkler <winkler@gnu.org>
6051
6052 * textmodes/bibtex.el (bibtex-url): Doc fix.
6053
60542013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
6055
6056 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
6057 does not visit a BibTeX file, exclude it from the list of buffers
6058 returned by bibtex-initialize.
6059
0aa3616e
SB
60602013-04-13 Stephen Berman <stephen.berman@gmx.net>
6061
6062 * window.el (split-window): Remove interactive form, since as a
6063 command this function is a special case of split-window-below.
6064 Correct doc string.
6065
011cddd6
RW
60662013-04-12 Roland Winkler <winkler@gnu.org>
6067
6068 * faces.el (read-face-name): Do not override value of arg default.
6069 Allow single faces and strings as default values. Remove those
6070 elements from return value that are not faces.
6071 (describe-face): Simplify.
6072 (face-at-point): New optional args thing and multiple so that this
6073 function can provide the same functionality previously provided by
6074 read-face-name.
6075 (make-face-bold, make-face-unbold, make-face-italic)
6076 (make-face-unitalic, make-face-bold-italic, invert-face)
6077 (modify-face, read-face-and-attribute): Use face-at-point.
6078
6079 * cus-edit.el (customize-face, customize-face-other-window)
6080 * cus-theme.el (custom-theme-add-face)
6081 * face-remap.el (buffer-face-set)
6082 * facemenu.el (facemenu-set-face): Use face-at-point.
6083
f24e0036
MA
60842013-04-12 Michael Albinus <michael.albinus@gmx.de>
6085
6086 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
6087
da3cda2d
TH
60882013-04-10 Tassilo Horn <tsdh@gnu.org>
6089
6090 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
6091 off leading { and trailing } from field values.
6092
15e54145
SM
60932013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
6094
78ce603d
SM
6095 * emacs-lisp/timer.el (timer--check): New function.
6096 (timer--time, timer-set-function, timer-event-handler): Use it.
6097 (timer-set-idle-time): Simplify.
6098 (timer--activate): CSE.
6099 (timer-event-handler): Give more info in error message.
6100 (internal-timer-start-idle): New function, moved from C.
6101
15e54145
SM
6102 * mpc.el (mpc-proc): Add `restart' argument.
6103 (mpc-proc-cmd): Use it.
6104 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
6105 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
6106 less often.
6107
7144c627
MY
61082013-04-10 Masatake YAMATO <yamato@redhat.com>
6109
6110 * progmodes/sh-script.el: Implement `sh-mode' own
6111 `add-log-current-defun-function' (bug#14112).
6112 (sh-current-defun-name): New function.
6113 (sh-mode): Use the function.
6114
b39792eb
BG
61152013-04-09 Bastien Guerry <bzg@gnu.org>
6116
6117 * simple.el (choose-completion-string): Fix docstring (bug#14163).
6118
8acdeb71
SM
61192013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
6120
6fcdab68
SM
6121 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
6122
8acdeb71
SM
6123 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
6124 timer (bug#14156).
6125
e3e7b504
NF
61262013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
6127
6128 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
6129 declaration.
6130
201bb296
LL
61312013-04-07 Leo Liu <sdl.web@gmail.com>
6132
6133 * pcmpl-x.el: New file.
6134
ebb19708
DA
61352013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
6136
6137 Do not set x-display-name until X connection is established.
6138 This is needed to prevent from weird situation described at
6139 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
6140 * frame.el (make-frame): Set x-display-name after call to
6141 window system initialization function, not before.
6142 * term/x-win.el (x-initialize-window-system): Add optional
6143 display argument and use it.
6144 * term/w32-win.el (w32-initialize-window-system):
6145 * term/ns-win.el (ns-initialize-window-system):
6146 * term/pc-win.el (msdos-initialize-window-system):
6147 Add compatible optional display argument.
6148
33bb237a
EZ
61492013-04-06 Eli Zaretskii <eliz@gnu.org>
6150
6151 * files.el (normal-backup-enable-predicate): On MS-Windows and
6152 MS-DOS compare truenames of temporary-file-directory and of the
6153 file, so that 8+3 aliases (usually found in $TEMP on Windows)
6154 don't fail comparison by compare-strings. Also, compare file
6155 names case-insensitively on MS-Windows and MS-DOS.
6156
134abf1f
SM
61572013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
6158
6159 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
6160 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
6161
d695cb94
DG
61622013-04-05 Dmitry Gutov <dgutov@yandex.ru>
6163
e3e7b504
NF
6164 * whitespace.el (whitespace-color-on, whitespace-color-off):
6165 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 6166
f4ad7ea1 61672013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
6168
6169 * ispell.el (ispell-set-spellchecker-params):
6170 Really set `ispell-args' for all equivs.
6171
632556e4
SM
61722013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
6173
6174 * ido.el (ido-completions): Use extra elements of ido-decorations
6175 (bug#14143).
6176 (ido-decorations): Update docstring.
6177
2a417372
MA
61782013-04-05 Michael Albinus <michael.albinus@gmx.de>
6179
6180 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
6181 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
6182 nil during initialization, in order not to miss changes since the
6183 file was opened. (Bug#14140)
6184
fc164b0c
LL
61852013-04-05 Leo Liu <sdl.web@gmail.com>
6186
6187 * kmacro.el (kmacro-call-macro): Fix bug#14135.
6188
0ccecc08
JB
61892013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
6190
6191 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
6192
51af1aa2
GM
61932013-04-04 Glenn Morris <rgm@gnu.org>
6194
6195 * electric.el (electric-pair-inhibit-predicate): Add :version.
6196
b208ebc6
SM
61972013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
6198
6199 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
6200 when a package is required several times (bug#14082).
6201
f3d3eaf0
RW
62022013-04-04 Roland Winkler <winkler@gnu.org>
6203
6204 * faces.el (read-face-name): Behave as promised by the docstring.
6205 Assume that arg default is a list of faces.
6206 (describe-face): Call read-face-name with list of default faces.
6207
2575da50
TV
62082013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6209
6210 * bookmark.el: Fix deletion of bookmarks (bug#13972).
6211 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
6212 (bookmark-bmenu-execute-deletions): Only skip first line if it's
6213 the header.
6214 (bookmark-exit-hook-internal): Save even if list is empty.
6215
397703b4
YH
62162013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
6217
6218 * emacs-lisp/package.el (package-pinned-packages): New var.
6219 (package--add-to-archive-contents): Obey it (bug#14118).
6220
691e26ae
AM
62212013-04-03 Alan Mackenzie <acm@muc.de>
6222
8a621d53
JB
6223 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
6224 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
6225
6226 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
6227 parameter `not-in-delimiter'. Handle being inside comment opener.
6228 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
6229 character in case we're typing a '*' after a '/'.
6230 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
6231 instead by passing the parameter to c-state-pp-to-literal.
6232
6233 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
6234 for elt. 7 of a parse state.
6235
4b725a70
PE
62362013-04-01 Paul Eggert <eggert@cs.ucla.edu>
6237
6238 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
6239 * international/latin1-disp.el, international/mule-util.el:
6240 * language/cyril-util.el, language/european.el, language/ind-util.el:
6241 * language/lao-util.el, language/thai.el, language/tibet-util.el:
6242 * language/tibetan.el, language/viet-util.el:
6243 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
6244
15c579f0
SM
62452013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
6246
6247 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
6248 (electric-pair-post-self-insert-function): Use it.
6249 (electric-pair-default-inhibit): New function, extracted from
6250 electric-pair-post-self-insert-function.
6251
a77e2924
RW
62522013-03-31 Roland Winkler <winkler@gnu.org>
6253
6254 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
6255
2bd8a4a8
SM
62562013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
6257
6258 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
6259
8d3655be 62602013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
6261
6262 Un-indent after "pass" and "return" statements (Bug#13888)
6263 * progmodes/python.el (python-indent-block-enders): New var.
6264 (python-indent-calculate-indentation): Use it.
6265
8d3655be 62662013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
6267
6268 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
6269 defun. Defining it as defalias could introduce too eager
6270 byte-compiler optimization. (Bug#14030)
6271
8d3655be 62722013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
6273
6274 * iswitchb.el (iswitchb-read-buffer): Fix typo.
6275
0b1619da
LL
62762013-03-30 Leo Liu <sdl.web@gmail.com>
6277
6278 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
6279 (kmacro-execute-from-register): Pass the keyboard macro to
6280 kmacro-call-macro or repeating won't work correctly.
6281
0b938190
TZ
62822013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
6283
6284 * progmodes/subword.el: Back to using `forward-symbol'.
6285
6286 * subr.el (forward-whitespace, forward-symbol)
6287 (forward-same-syntax): Move from thingatpt.el.
6288
35710234
LL
62892013-03-29 Leo Liu <sdl.web@gmail.com>
6290
6291 * kmacro.el (kmacro-to-register): New command.
6292 (kmacro-execute-from-register): New function.
6293 (kmacro-keymap): Bind to 'x'. (Bug#14071)
6294
efc0bb73
SM
62952013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
6296
6297 * mpc.el: Use defvar-local and setq-local.
6298 (mpc--proc-connect): Connection failures are not bugs.
6299 (mpc-mode-map): `follow-link' only applies to the buffer's content.
6300 (mpc-volume-map): Bind to the up-events.
6301
75a2f981
TZ
63022013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
6303
6304 * progmodes/subword.el (superword-mode): Use `forward-sexp'
6305 instead of `forward-symbol'.
6306
17c781d1
SM
63072013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
6308
6309 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
6310 (edebug--recursive-edit): Use it.
6311 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
6312 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
6313
f67bfbcf
LL
63142013-03-28 Leo Liu <sdl.web@gmail.com>
6315
6316 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
6317
b59f639d
EZ
63182013-03-27 Eli Zaretskii <eliz@gnu.org>
6319
6320 * facemenu.el (list-colors-callback): New defvar.
6321 (list-colors-redisplay): New function.
6322 (list-colors-display): Install list-colors-redisplay as the
6323 revert-buffer-function. (Bug#14063)
6324
f557c1b1
SM
63252013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
6326
b1da2957
SM
6327 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
6328 and suffixes don't overlap (bug#14061).
6329
f557c1b1
SM
6330 * case-table.el: Use lexical-binding.
6331 (case-table-get-table): New function.
6332 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
6333
002668e1
TZ
63342013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
6335
6336 * progmodes/subword.el: Add `superword-mode' to do word motion
6337 over symbol_words (parallels and leverages `subword-mode' which
6338 does word motion inside MixedCaseWords).
6339
73572c72
AG
63402013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
6341
78b8f320 6342 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 6343 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 6344
69b2c07e
SM
63452013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
6346
6347 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
6348 Change return value to be a sexp. Delay `get-buffer' to after
6349 restoring the desktop (bug#13951).
6350
08bb5ee2
LL
63512013-03-26 Leo Liu <sdl.web@gmail.com>
6352
6353 * register.el: Move semantic tag handling back to
6354 cedet/semantic/senator.el. (Bug#14052)
6355
8d4c974e
SM
63562013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
6357
6358 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
6359 into the prompt either (bug#13963).
6360
b234d92c
SM
63612013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
6362
6363 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
6364 part of "(error-foo)".
6365
ddfa3cb4
JL
63662013-03-24 Juri Linkov <juri@jurta.org>
6367
6368 * replace.el (list-matching-lines-prefix-face): New defcustom.
6369 (occur-1): Pass `list-matching-lines-prefix-face' to the function
6370 `occur-engine' if `face-differs-from-default-p' returns t.
6371 (occur-engine): Add `,' inside backquote construct to evaluate
6372 `prefix-face'. Propertize the prefix with the `prefix-face' face.
6373 Pass `prefix-face' to the functions `occur-context-lines' and
6374 `occur-engine-add-prefix'.
6375 (occur-engine-add-prefix, occur-context-lines): Add optional arg
6376 `prefix-face' and propertize the prefix with `prefix-face'.
6377 (Bug#14017)
6378
7b0e2f85
LL
63792013-03-24 Leo Liu <sdl.web@gmail.com>
6380
6381 * nxml/rng-valid.el (rng-validate-while-idle)
6382 (rng-validate-quick-while-idle): Guard against deleted buffer.
6383 (Bug#13999)
6384
6385 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
6386 is the last entry in kill-buffer-hook.
6387
6388 * files.el (kill-buffer-hook): Doc fix.
6389
b3082f49
DG
63902013-03-23 Dmitry Gutov <dgutov@yandex.ru>
6391
b234d92c
SM
6392 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
6393 Make it safe-local.
bde73d27 6394
b3082f49
DG
6395 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
6396
a320a2db
LL
63972013-03-23 Leo Liu <sdl.web@gmail.com>
6398
7e74b0fb
LL
6399 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
6400 Remove.
6401
6402 * nxml/rng-valid.el (rng-validate-mode)
6403 (rng-after-change-function, rng-do-some-validation):
6404 * nxml/rng-maint.el (rng-validate-buffer):
6405 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
6406 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
6407 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
6408 (nxml-extend-after-change-region): Use with-silent-modifications.
6409
a320a2db
LL
6410 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
6411 timer-idle-list.
6412
6413 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
6414 (rng-next-error-1, rng-previous-error-1): Do not let-bind
6415 timer-idle-list. (Bug#13999)
6416
e38e6780
JL
64172013-03-23 Juri Linkov <juri@jurta.org>
6418
6419 * info.el (info-index-match): New face.
6420 (Info-index, Info-apropos-matches): Add a nested subgroup to the
6421 main pattern and add text properties with the new face to matches
6422 in index entries relative to the beginning of the index entry.
6423 (Bug#14015)
6424
e8cc7880
DE
64252013-03-21 Eric Ludlam <zappo@gnu.org>
6426
6427 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
6428 Inhibit read only while inserting objects.
6429
9bb0d822
TZ
64302013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
6431
6432 * progmodes/cfengine.el: Update docs to mention
6433 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
6434 symbol motion. Remove "_" from the word syntax.
6435
aa703640
TZ
64362013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
6437
6438 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
6439 syntax for both `cfengine2-mode' and `cfengine3-mode'.
6440
afff09d0
JL
64412013-03-20 Juri Linkov <juri@jurta.org>
6442
6443 * info.el (Info-next-reference-or-link)
6444 (Info-prev-reference-or-link): New functions.
6445 (Info-next-reference, Info-prev-reference): Use them.
6446 (Info-try-follow-nearest-node): Handle footnote navigation.
6447 (Info-fontify-node): Fontify footnotes. (Bug#13989)
6448
9a1ff164
SM
64492013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
6450
6451 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
6452 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
6453
2667d15d
PE
64542013-03-20 Paul Eggert <eggert@cs.ucla.edu>
6455
6456 Suppress unnecessary non-ASCII chatter during build process.
6457 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
6458 (batch-skkdic-convert): Suppress most of the chatter.
6459 It's not needed so much now that machines are faster,
6460 and its non-ASCII component was confusing; see Dmitry Gutov in
6461 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
6462
438b0579
LL
64632013-03-20 Leo Liu <sdl.web@gmail.com>
6464
6465 * ido.el (ido-chop): Fix bug#10994.
6466
c128ab07
DG
64672013-03-19 Dmitry Gutov <dgutov@yandex.ru>
6468
6469 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
6470 Remove vars.
9a1ff164
SM
6471 (whitespace-color-on, whitespace-color-off):
6472 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 6473
0e6008c5
SM
64742013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
6475
6476 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
6477 remapping in mode-line.
6478 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
6479
627b52b0
DG
64802013-03-19 Dmitry Gutov <dgutov@yandex.ru>
6481
6482 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
6483 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
6484 (whitespace-font-lock-keywords): Change description.
6485 (whitespace-color-on): Don't save `font-lock-keywords' value, save
6486 the constructed keywords instead.
6487 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 6488
50c3a20b
LL
64892013-03-19 Leo Liu <sdl.web@gmail.com>
6490
6491 * progmodes/compile.el (compilation-display-error): New command.
6492 (compilation-mode-map, compilation-minor-mode-map): Bind it to
6493 C-o. (Bug#13992)
6494
2aa2157b
PE
64952013-03-18 Paul Eggert <eggert@cs.ucla.edu>
6496
6497 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
6498
e477dbfa
JD
64992013-03-18 Jan Djärv <jan.h.d@swipnet.se>
6500
6501 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
6502
64ab82d1
MA
65032013-03-18 Michael Albinus <michael.albinus@gmx.de>
6504
6505 * net/tramp-compat.el (tramp-compat-user-error): New defun.
6506
6507 * net/tramp-adb.el (tramp-adb-handle-shell-command):
6508 * net/tramp-gvfs.el (top):
6509 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
6510 (tramp-handle-shell-command): Use it.
6511 (tramp-dissect-file-name): Raise an error when hostname is a
6512 method name, and neither method nor user is specified.
6513
6514 * net/trampver.el: Update release number.
6515
33cef733
LL
65162013-03-18 Leo Liu <sdl.web@gmail.com>
6517
6518 Make sure eldoc can be turned off properly.
6519 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
6520 eldoc-mode.
6521 (eldoc-display-message-p): Revert last change.
6522 (eldoc-display-message-no-interference-p)
6523 (eldoc-print-current-symbol-info): Tweak.
6524
2167b7b2
TH
65252013-03-18 Tassilo Horn <tsdh@gnu.org>
6526
6527 * doc-view.el (doc-view-new-window-function): Check the new window
6528 overlay's display property instead the char property of the
6529 buffer's first char. Use `with-selected-window' instead of
6530 `save-window-excursion' with `select-window'.
6531 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 6532 display property instead the char property of the buffer's first char.
2167b7b2 6533
982efbcd
PE
65342013-03-18 Paul Eggert <eggert@cs.ucla.edu>
6535
6536 Automate the build of ja-dic.el (Bug#13984).
6537 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
6538 from the input, rather than assume that it's been done for us by the
6539 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
6540 the current date into a ja-dic.el comment, as that complicates
6541 regression testing.
6542
2fcc7665
SM
65432013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
6544
6545 * whitespace.el: Fix double evaluation.
6546 (whitespace-space, whitespace-hspace, whitespace-tab)
6547 (whitespace-newline, whitespace-trailing, whitespace-line)
6548 (whitespace-space-before-tab, whitespace-indentation)
6549 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
6550 obsolete defvars.
6551 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
6552 (whitespace-color-on): Use a single font-lock-add-keywords call.
6553 Fix double-evaluation of face variables.
6554
67c0a6e6
MA
65552013-03-17 Michael Albinus <michael.albinus@gmx.de>
6556
2fcc7665
SM
6557 * net/tramp-adb.el (tramp-adb-parse-device-names):
6558 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 6559 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 6560
69489f1d
LL
65612013-03-17 Leo Liu <sdl.web@gmail.com>
6562
6563 Extend eldoc to display info in the mode-line. (Bug#13978)
6564 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
6565 (eldoc-mode-line-string): New variable.
6566 (eldoc-minibuffer-message): New function.
6567 (eldoc-message-function): New variable.
6568 (eldoc-message): Use it.
6569 (eldoc-display-message-p)
2fcc7665
SM
6570 (eldoc-display-message-no-interference-p):
6571 Support eldoc-post-insert-mode.
69489f1d
LL
6572
6573 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
6574 (eval-expression): Run it.
6575
9c44569e
RW
65762013-03-17 Roland Winkler <winkler@gnu.org>
6577
6578 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
6579 strings in the list of return values.
6580
327f1f6f
JB
65812013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
6582
6583 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
6584 radix before checking for HMS forms.
6585
67ed8fcd
LL
65862013-03-16 Leo Liu <sdl.web@gmail.com>
6587
6588 * progmodes/scheme.el: Add indentation and font-locking for λ.
6589 (Bug#13975)
6590
78be8b64 65912013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
6592
6593 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
6594 token before point (bug#13942).
6595
78be8b64 65962013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 6597
95b43468 6598 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 6599
98e775e6
EZ
66002013-03-16 Eli Zaretskii <eliz@gnu.org>
6601
6602 * startup.el (command-line-normalize-file-name): Fix handling of
6603 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
6604 <xfq.free@gmail.com> in
6605 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
6606
2edd6029
MA
66072013-03-15 Michael Albinus <michael.albinus@gmx.de>
6608
6609 Sync with Tramp 2.2.7.
6610
6611 * net/trampver.el: Update release number.
6612
d35f5864
TH
66132013-03-14 Tassilo Horn <tsdh@gnu.org>
6614
f35ffe5e
TH
6615 * doc-view.el Fix bug#13887.
6616 (doc-view-insert-image): Don't modify overlay associated to
6617 non-live windows, and implement horizontal centering of image in
6618 case it's smaller than the window.
6619 (doc-view-new-window-function): Force redisplay of new windows on
6620 doc-view buffers.
d35f5864 6621
1c4a85ed
KF
66222013-03-13 Karl Fogel <kfogel@red-bean.com>
6623
6624 * saveplace.el (save-place-alist-to-file): Don't sort
6625 `save-place-alist', just pretty-print it (bug#13882).
6626
85b66a21
MA
66272013-03-13 Michael Albinus <michael.albinus@gmx.de>
6628
a020afb9
JB
6629 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
6630 Check whether `default-file-name-coding-system' is bound.
6631 It isn't in XEmacs.
85b66a21 6632
175600da
SM
66332013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
6634
e7f7cb1a
SM
6635 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
6636 backquotes for `obsolete' (bug#13929).
6637
175600da
SM
6638 * international/mule.el (find-auto-coding): Include file name in
6639 obsolescence warning (bug#13922).
6640
ca68a22e
TZ
66412013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
6642
6643 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
6644 for CFEngine 3-specific indentation.
6645 (cfengine3-indent-line): Use it. Fix up category regex.
6646 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
6647
940e5099
SM
66482013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6649
6650 * type-break.el (type-break-file-name):
6651 * textmodes/remember.el (remember-data-file):
6652 * strokes.el (strokes-file):
6653 * shadowfile.el (shadow-initialize):
6654 * saveplace.el (save-place-file):
6655 * ps-bdf.el (bdf-cache-file):
6656 * progmodes/idlwave.el (idlwave-config-directory):
6657 * net/quickurl.el (quickurl-url-file):
6658 * international/kkc.el (kkc-init-file-name):
6659 * ido.el (ido-save-directory-list-file):
6660 * emulation/viper.el (viper-custom-file-name):
6661 * emulation/vip.el (vip-startup-file):
6662 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
6663 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
6664
cc725808
PE
66652013-03-12 Paul Eggert <eggert@cs.ucla.edu>
6666
6667 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
6668 * language/thai-word.el: Switch to UTF-8.
6669
a020afb9 6670See ChangeLog.16 for earlier changes.
e3d51b27
MR
6671
6672;; Local Variables:
6673;; coding: utf-8
e3d51b27
MR
6674;; End:
6675
ab422c4d 6676 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
6677
6678 This file is part of GNU Emacs.
6679
6680 GNU Emacs is free software: you can redistribute it and/or modify
6681 it under the terms of the GNU General Public License as published by
6682 the Free Software Foundation, either version 3 of the License, or
6683 (at your option) any later version.
6684
6685 GNU Emacs is distributed in the hope that it will be useful,
6686 but WITHOUT ANY WARRANTY; without even the implied warranty of
6687 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
6688 GNU General Public License for more details.
6689
6690 You should have received a copy of the GNU General Public License
6691 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.