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