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