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