* lisp/calculator.el (calculator-funcall): Fix typo in last change.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
9d3f707c
SM
12013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
2
84032db7
SM
3 * calculator.el (calculator-funcall): Fix typo in last change.
4
724f5e41
SM
5 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
6
14b511d4
SM
7 * emacs-lisp/package.el (package-activate-1): Don't let a missing
8 <pkg>-autoloads.el file stop us.
9
9d3f707c 10 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 11 warnings, and factor out common code.
9d3f707c 12
88527bc0
DG
132013-09-03 Dmitry Gutov <dgutov@yandex.ru>
14
15 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
16 two-character operators and whether the character preceding them
17 changes their meaning (Bug#15208).
18
96edb677
FEG
192013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
20
21 Format code sent to Python shell for robustness.
9d3f707c
SM
22 * progmodes/python.el (python-shell-buffer-substring):
23 New function.
96edb677
FEG
24 (python-shell-send-region, python-shell-send-buffer): Use it.
25
95beaef3
MA
262013-09-02 Michael Albinus <michael.albinus@gmx.de>
27
28 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
29 * net/tramp.el (tramp-user-error): ... here.
30 (tramp-find-method, tramp-check-proper-host)
31 (tramp-dissect-file-name, tramp-debug-message)
32 (tramp-handle-shell-command):
33 * net/tramp-adb.el (tramp-adb-handle-shell-command):
34 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
35
36 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
37
f167c27b
MR
382013-09-02 Martin Rudalics <rudalics@gmx.at>
39
40 * avoid.el (mouse-avoidance-point-position)
41 (mouse-avoidance-too-close-p): Handle case where posn-at-point
42 returns nil.
43
cd16c5f1
FEG
442013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
45
46 * progmodes/python.el (python-shell-completion-get-completions):
47 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 48 (python-nav-if-name-main): New command.
cd16c5f1 49
e73c3a0d
GM
502013-09-01 Glenn Morris <rgm@gnu.org>
51
f8ccce03
GM
52 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
53 Avoid leading space in $wins. Otherwise the sed command used by
54 eg compile-main ends up containing "/*.el". (Bug#15170)
55
e73c3a0d
GM
56 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
57
415f808e
GM
582013-08-30 Glenn Morris <rgm@gnu.org>
59
60 * emacs-lisp/bytecomp.el (byte-recompile-directory):
61 Fix is-this-a-directory logic. (Bug#15220)
62
f069bba8
SM
632013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
64
112798c1
SM
65 * textmodes/css-mode.el: Use SMIE.
66 (css-smie-grammar): New var.
67 (css-smie--forward-token, css-smie--backward-token)
68 (css-smie-rules): New functions.
69 (css-mode): Use them.
70 (css-navigation-syntax-table): Remove var.
71 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
72 (css-indent-calculate, css-indent-line): Remove functions.
73
74 Misc changes to reduce use of `(lambda...); and other cleanups.
75 * cus-edit.el: Use lexical-binding.
76 (customize-push-and-save, customize-apropos)
77 (custom-buffer-create-internal): Use closures.
78 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
79 * progmodes/ada-xref.el: Use setq.
80 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
81 * dframe.el: Use lexical-binding.
82 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
83 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
84 * descr-text.el: Use lexical-binding.
85 (describe-text-widget, describe-text-sexp, describe-property-list):
86 Use closures.
87 * comint.el (comint-history-isearch-push-state): Use a closure.
88 * calculator.el: Use lexical-binding.
89 (calculator-number-to-string): Make it work with lexical-binding.
90 (calculator-funcall): Same and use cl-letf.
91
2da4c3ab
SM
92 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
93 (lisp--company-doc-string, lisp--company-location): New functions.
94 (lisp-completion-at-point): Use them to improve Company support.
95
f069bba8
SM
96 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
97 params of lambda expressions.
98 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
99 (ruby-smie--opening-pipe-p): New function.
100 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
101 symbols and matched |...| for formal params.
102 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
103 from being treated as hanging. Handle "rescue".
104
6758b6a8
GM
1052013-08-29 Glenn Morris <rgm@gnu.org>
106
107 * progmodes/cc-engine.el (c-pull-open-brace):
108 Move definition before use.
109
e8dfd197
SM
1102013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
111
112 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
113 are immutable. Don't use `unsafe' any more.
114 (cl--defsubst-expand): Don't substitute at the same time as keeping
115 a residual unused let-binding. Don't use `unsafe' any more.
116
cc585c96
GM
1172013-08-29 Glenn Morris <rgm@gnu.org>
118
ba579ea6
GM
119 * calendar/cal-china.el (calendar-chinese-year-cache):
120 Recenter on 2015.
121
8201a87e
GM
122 * nxml/nxml-util.el (nxml-debug-clear-inside):
123 Use cl-loop rather than loop.
124
6ee877c7
GM
125 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
126
cc585c96
GM
127 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
128
27be8d39
GM
1292013-08-28 Glenn Morris <rgm@gnu.org>
130
397440a1
GM
131 * progmodes/antlr-mode.el: No need to require cc-mode twice.
132
2bb762d4
GM
133 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
134
27be8d39
GM
135 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
136
2d69b99e
SM
1372013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
138
f663baa7
SM
139 * simple.el (repeat-complex-command--called-interactively-skip):
140 New function.
141 (repeat-complex-command): Use it (bug#14136).
142
dd4f8b74
SM
143 * progmodes/cc-mode.el: Minor cleanup of var declarations.
144 (c-define-abbrev-table): Add `doc' argument.
145 (c-mode-abbrev-table, c++-mode-abbrev-table)
146 (objc-mode-abbrev-table, java-mode-abbrev-table)
147 (idl-mode-abbrev-table, pike-mode-abbrev-table)
148 (awk-mode-abbrev-table): Use it.
149 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
150 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
151 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
152 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
153 Move initialization into the declaration; and remove any
154 autoload cookie.
155
b58969f7
SM
156 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
157 and dynamic let binding.
158
4021d6a6
SM
159 * vc/smerge-mode.el: Remove redundant :group args.
160
2d69b99e
SM
161 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
162 to load-path.
163
274919fd
JL
1642013-08-28 Juri Linkov <juri@jurta.org>
165
166 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
167 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
168 (isearch-other-meta-char): Handle an undefined shifted printing
169 character by downshifting it. (Bug#15200)
170
121f8c95
JL
1712013-08-28 Juri Linkov <juri@jurta.org>
172
173 * isearch.el (isearch-search): Change regexp error message for
174 non-regexp searches. (Bug#15166)
175
50b13cde
PE
1762013-08-28 Paul Eggert <eggert@cs.ucla.edu>
177
178 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
179 for portability to hosts where /bin/sh has problems.
180
95888bca
SM
1812013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
182
183 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
184
bbe558f1
JL
1852013-08-27 Juri Linkov <juri@jurta.org>
186
187 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
188 in the keyboard macro. (Bug#15126)
189
26f98a7d
JL
1902013-08-27 Juri Linkov <juri@jurta.org>
191
192 * isearch.el (isearch-quote-char): Comment out converting unibyte
193 to multibyte, thus syncing with its `quoted-insert' counterpart.
194 (Bug#15166)
195
7c97d35e
MR
1962013-08-27 Martin Rudalics <rudalics@gmx.at>
197
198 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
199 argument in call of get-largest-window (Bug#15185).
200 Reported by Stephen Leake.
7c97d35e 201
a0b5606e 2022013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
203
204 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
205
9e89d835
SM
2062013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
207
208 * progmodes/python.el (python-font-lock-keywords): Don't return nil
209 from a matcher-function unless there's no more matches (bug#15161).
210
78fc2530
MA
2112013-08-26 Michael Albinus <michael.albinus@gmx.de>
212
213 * minibuffer.el: Revert change from 2013-08-20.
214
215 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
216 with text property `tramp-default', if appropriate.
217 (tramp-check-proper-host): New defun.
218 (tramp-dissect-file-name): Do not check hostname. Revert change
219 of 2013-03-18.
220 (tramp-backtrace): Make VEC-OR-PROC optional.
221
222 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
223 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
224 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
225 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
226 Apply `tramp-check-proper-host'.
78fc2530 227
edca97cd
TH
2282013-08-26 Tassilo Horn <tsdh@gnu.org>
229
230 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
231 lambda expression in order to have `describe-variable' display it.
232
df54bcbd
MA
2332013-08-26 Michael Albinus <michael.albinus@gmx.de>
234
235 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
236 BUF can be optional. (Bug#15186)
237
eed99101
XF
2382013-08-25 Xue Fuqiao <xfq.free@gmail.com>
239
240 * progmodes/flymake.el (flymake-get-real-file-name-function):
241 Fix broken customization. (Bug#15184)
242
b5eb9035
AM
2432013-08-25 Alan Mackenzie <acm@muc.de>
244
8a51e842
AM
245 Improve indentation of bracelists defined by macros (without "=").
246
247 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
248 expansion begins with "{", regard it as bracelist when it doesn't
249 contain a ";".
250
869455d4
AM
251 Parse C++ inher-intro when there's a template split over 2 lines.
252
253 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
254 rigorously the search for "class" etc. followed by ":".
255
256 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
257 random languages a regexp which never matches rather than nil.
258
b5eb9035
AM
259 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
260
261 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
262 (c-awk-regexp-one-line-possibly-open-char-list-re)
263 (c-awk-one-line-possibly-open-regexp-re)
264 (c-awk-one-line-non-syn-ws*-re): Remove.
265 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
266 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
267 (c-awk-space*-unclosed-regexp-/-re): New constants.
268 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
269 aren't regexp delimiters.
270
271 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
272 handling for a rare situation in AWK Mode involving unterminated
273 strings/regexps.
274
61611d54
GM
2752013-08-23 Glenn Morris <rgm@gnu.org>
276
2d85dc34
GM
277 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
278
cb8d2612
GM
279 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
280
bb35f42f
GM
281 * files.el (create-file-buffer): If the result would begin with
282 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 283
b9808e77
SM
2842013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
285
e3a66363
SM
286 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
287 text-properties (bug#15155).
288
b9808e77
SM
289 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
290 exist any more.
291 (calc-keypad-redraw): Remove unused var `pad'.
292 (calc-keypad-press): Remove unused var `menu'.
293
7fd5f65e
MR
2942013-08-23 Martin Rudalics <rudalics@gmx.at>
295
b9808e77
SM
296 * window.el (display-buffer-pop-up-frame):
297 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
298 use it as the new frame's buffer (Bug#15133).
299
8352b530
SM
3002013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
301
302 * calendar/timeclock.el: Minor cleanups.
303 (timeclock-ask-before-exiting, timeclock-use-display-time):
304 Use `symbol'.
305 (timeclock-modeline-display): Define as alias before the
306 actual definition.
307 (timeclock-mode-line-display): Use define-minor-mode.
308 (timeclock-day-list-template): Make it a function, add an argument.
309 (timeclock-day-list-required, timeclock-day-list-length)
310 (timeclock-day-list-debt, timeclock-day-list-span)
311 (timeclock-day-list-break): Adjust calls accordingly.
312
9f7b1925
SM
3132013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
314
315 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
316 Use read--expression so that completion works again.
317
6e50e983
SS
3182013-08-21 Sam Steingold <sds@gnu.org>
319
320 Add rudimentary inferior shell interaction
321 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
322 (sh-set-shell): Reset it.
9f7b1925
SM
323 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
324 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 325
dbb0d350
SM
3262013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
327
328 * align.el: Use lexical-binding.
329 (align-region): Simplify accordingly.
330
c88586a9
MA
3312013-08-20 Michael Albinus <michael.albinus@gmx.de>
332
333 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
334
335 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
336 `non-essential' up.
337
f95527c8
MA
3382013-08-17 Michael Albinus <michael.albinus@gmx.de>
339
340 * net/tramp.el:
341 * net/tramp-adb.el:
342 * net/tramp-cmds.el:
343 * net/tramp-ftp.el:
344 * net/tramp-gvfs.el:
345 * net/tramp-gw.el:
346 * net/tramp-sh.el: Don't wrap external variable declarations by
347 `eval-when-compile'.
348
4b5fe4ee
LMI
3492013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
350
351 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
352 now that Emacs supports ImageMagick animations.
353
13c366c9
MA
3542013-08-16 Michael Albinus <michael.albinus@gmx.de>
355
356 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
357 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
358
3dfc5cd6
MR
3592013-08-16 Martin Rudalics <rudalics@gmx.at>
360
361 * window.el (mouse-autoselect-window-select): Do autoselect when
362 mouse pointer is on margin.
363
4bbb4381
WP
3642013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
365
366 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
367
3a2ddc2d
GM
3682013-08-16 Glenn Morris <rgm@gnu.org>
369
e8bedf5a
GM
370 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
371 Handle "Remote Directory" response of some clients. (Bug#15058)
372
58c4682f
GM
373 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
374 Tweak warning. (Bug#14926)
375
57953f49
GM
376 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
377 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
378
3a2ddc2d
GM
379 * image-mode.el (image-mode-map): Add menu items to reverse,
380 increase, decrease, reset animation speed.
381 (image--set-speed, image-increase-speed, image-decrease-speed)
382 (image-reverse-speed, image-reset-speed): New functions.
383 (image-mode-map): Add bindings for speed commands.
384
385 * image.el (image-animate-get-speed, image-animate-set-speed):
386 New functions.
387 (image-animate-timeout): Respect image :speed property.
388
10fa0ed3
SM
3892013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
390
391 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
392 previous line (bug#15101).
393 (debugger-eval-expression, debugger-record-expression):
394 Use read--expression (bug#15102).
395
5d89d9d2
MA
3962013-08-15 Michael Albinus <michael.albinus@gmx.de>
397
398 Remove byte compiler warnings, visible when compiling with
399 `byte-compile-force-lexical-warnings' set to t.
400
401 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
402 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
403 (tramp-handle-unhandled-file-name-directory)
404 (tramp-handle-file-notify-add-watch, tramp-action-login)
405 (tramp-action-succeed, tramp-action-permission-denied)
406 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
407 arguments with "_".
408
409 * net/tramp-adb.el (tramp-adb-parse-device-names)
410 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
411 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
412 (tramp-adb-handle-file-truename): Remove unused arguments.
413
414 * net/tramp-cache.el (tramp-flush-directory-property)
415 (tramp-flush-connection-property, tramp-list-connections)
416 (tramp-parse-connection-properties): Prefix unused arguments with "_".
417
10fa0ed3
SM
418 * net/tramp-compat.el (tramp-compat-make-temp-file):
419 Rename FILENAME to F.
5d89d9d2
MA
420
421 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
422 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
423 (tramp-zeroconf-parse-workstation-device-names)
424 (tramp-zeroconf-parse-webdav-device-names)
425 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
426
427 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
428 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
429
430 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
431 arguments.
432 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
433 (tramp-sh-handle-insert-file-contents-literally)
434 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
435 with "_".
436 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
437 Remove unused variables.
438
439 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
440 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
441 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
442
443 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
444 Make them a defconst.
445 (tramp-uuencode-region): Remove unused variable.
446
62f33bae
JB
4472013-08-14 Juanma Barranquero <lekktu@gmail.com>
448
449 * frameset.el (frameset--prop-setter): New function.
450 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
451 (frameset-filter-minibuffer): Deal with the case that the minibuffer
452 parameter was already set in FILTERED. Doc fix.
453 (frameset--record-minibuffer-relationships): Allow saving a
454 minibufferless frame without its corresponding minibuffer frame.
455 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
456 frame, if the frame id matches.
457 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
458 frames before orphaned ones.
459 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 460
c660a885
MR
4612013-08-14 Martin Rudalics <rudalics@gmx.at>
462
463 * window.el (window-make-atom): Don't overwrite parameter
464 already present.
465 (display-buffer-in-atom-window): Handle special case where we
466 split an already atomic window.
467 (window--major-non-side-window, display-buffer-in-side-window)
468 (window--side-check): Ignore minibuffer window when walking
469 window tree.
470 (window-deletable-p): Return 'frame only if no other frame uses
471 our minibuffer window.
472 (record-window-buffer): Run buffer-list-update-hook.
473 (split-window): Make sure window--check-frame won't destroy an
474 existing atomic window in case the new window gets nested
475 inside.
476 (display-buffer-at-bottom): Ignore minibuffer window when
477 walking window tree. Don't split a side window.
478 (pop-to-buffer): Don't set-buffer here, the select-window call
479 should do that.
480 (mouse-autoselect-window-select): Autoselect only if we are in the
481 text portion of the window.
482
8259030d
LMI
4832013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
484
21c58ae2
LMI
485 * net/shr.el (shr-parse-image-data): New function to grab both the
486 data itself and the Content-Type.
487 (shr-put-image): Use it.
488
489 * net/eww.el (eww-display-image): Ditto.
490
8259030d
LMI
491 * image.el (image-content-type-suffixes): New variable.
492
ad756449
FEG
4932013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
494
495 * progmodes/python.el (python-imenu--build-tree)
496 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
497
f73f4ce6
XF
4982013-08-13 Xue Fuqiao <xfq.free@gmail.com>
499
500 * simple.el (backward-word): Mention the optional argument.
501
1f585e65
SM
5022013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
503
504 * frameset.el (frameset--make): Rename constructor from make-frameset.
505 (frameset-p, frameset-valid-p): Don't autoload.
506 (frameset-valid-p): Use normal accessors.
507
af1c6c84
GM
5082013-08-13 Glenn Morris <rgm@gnu.org>
509
55e47f95
GM
510 * progmodes/compile.el (compile-command): Tweak example in doc.
511 * obsolete/scribe.el (scribe-mode):
512 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
513
f0024d8c
GM
514 * mail/feedmail.el (feedmail-confirm-outgoing)
515 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
516
517 * cus-start.el (truncate-partial-width-windows): Fix type.
518
519 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
520
af1c6c84
GM
521 * net/shr.el (shr-table-horizontal-line): Fix custom type.
522
5514cc4c
SM
5232013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
524
525 * emacs-lisp/timer.el (timer--time-setter): New function.
526 (timer--time): Use it as gv-setter.
527
528 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
529 setter is not a symbol.
530
7997a2f1
GJ
5312013-08-12 Grégoire Jadi <daimrod@gmail.com>
532
533 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
534 if sending fails. This makes debugging easier.
535
01f1a9ab
JB
5362013-08-12 Juanma Barranquero <lekktu@gmail.com>
537
538 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
539 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
540 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
541
594a4307
EZ
5422013-08-12 Eli Zaretskii <eliz@gnu.org>
543
544 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
545
7a22490f 5462013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
547
548 * format.el (format-annotate-function):
549 Handle read-only text properties in the source. (Bug#14887)
550
3e41a054
LMI
5512013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
552
5514cc4c
SM
553 * net/eww.el (eww-display-html): Ignore coding system errors.
554 One web site uses "utf-8lias" as the coding system.
3e41a054 555
7ec326db
JB
5562013-08-11 Juanma Barranquero <lekktu@gmail.com>
557
558 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
559
5660113b
JB
5602013-08-10 Juanma Barranquero <lekktu@gmail.com>
561
9a4ebc74
JB
562 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
563 (tutorial--detailed-help): Remove unused local variables.
564 (tutorial--save-tutorial-to): Use ignore-errors.
565 (help-with-tutorial): Use looking-at-p.
566
567 * view.el (view-buffer-other-window, view-buffer-other-frame):
568 Mark unused arguments.
569
570 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
571 (woman-select-symbol-fonts, woman, woman-find-file)
572 (woman-insert-file-contents, woman-non-underline-faces):
573 Use string-match-p.
574 (woman1-unquote): Move declaration.
575
576 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
577 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
578 argument. Remove unused local variable.
579 (xml-parse-elem-type): Use string-match-p.
580 (xml-substitute-numeric-entities): Use ignore-errors.
581
45fdb482
JB
582 * calculator.el (calculator): Mark unused argument.
583 (calculator-paste, calculator-quit, calculator-integer-p):
584 Use ignore-errors.
585 (calculator-string-to-number, calculator-decimal, calculator-exp)
586 (calculator-op-or-exp): Use string-match-p.
587
588 * dired.el (dired-buffer-more-recently-used-p): Declare.
589 (dired-insert-set-properties, dired-insert-old-subdirs):
590 Use ignore-errors.
591
592 * dired-aux.el (dired-compress): Use ignore-errors.
593 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
594 (dired-do-async-shell-command, dired-do-shell-command)
595 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
596 (dired-insert-subdir-validate): Use string-match-p.
597 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
598 (dired-add-entry): Use string-match-p, looking-at-p.
599 (dired-insert-subdir-newpos): Remove unused local variable.
600
601 * filenotify.el (file-notify-callback): Remove unused local variable.
602
603 * filesets.el (filesets-error): Mark unused argument.
604 (filesets-which-command-p, filesets-filter-dir-names)
605 (filesets-directory-files, filesets-get-external-viewer)
606 (filesets-ingroup-get-data): Use string-match-p.
607
608 * find-file.el (ff-other-file-name, ff-other-file-name)
609 (ff-find-the-other-file, ff-cc-hh-converter):
610 Remove unused local variables.
611 (ff-get-file-name): Use string-match-p.
612 (ff-all-dirs-under): Use ignore-errors.
613
614 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
615 (follow-select-if-visible): Remove unused local variable.
616
617 * forms.el (read-file-filter): Move declaration.
618 (forms--make-format, forms--make-parser, forms-insert-record):
619 Quote function with #'.
620 (forms--update): Use string-match-p. Quote function with #'.
621
622 * help-mode.el (help-dir-local-var-def): Mark unused argument.
623 (help-make-xrefs): Use looking-at-p.
624 (help-xref-on-pp): Use looking-at-p, ignore-errors.
625
626 * ibuffer.el (ibuffer-ext-visible-p): Declare.
627 (ibuffer-confirm-operation-on): Use string-match-p.
628
629 * msb.el (msb-item-handler, msb-dired-item-handler):
630 Mark unused arguments.
631
632 * ses.el (ses-decode-cell-symbol)
633 (ses-kill-override): Remove unused local variable.
634 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
635 (ses-load): Use ignore-errors, looking-at-p.
636 (ses-jump-safe): Use ignore-errors.
637 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
638
639 * tabify.el (untabify, tabify): Mark unused arguments.
640
641 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
642 Mark unused argument.
643 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
644 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
645
c880af52
JB
646 * emacs-lisp/timer.el (timer--time): Define setter with
647 gv-define-setter to avoid deprecation warning.
648
5660113b 649 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 650 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
651 (cmpl-statistics-block): Remove (body was commented out).
652 All callers changed.
653 (add-completions-from-buffer, load-completions-from-file):
654 Remove unused variables.
655
156aab80
JB
6562013-08-09 Juanma Barranquero <lekktu@gmail.com>
657
5c5dee78
JB
658 * filecache.el (file-cache-delete-file-list):
659 Print message only when told so.
660 (file-cache-files-matching): Use #' in mapconcat argument.
661
156aab80
JB
662 * ffap.el (ffap-url-at-point): Fix reference to variable
663 thing-at-point-default-mail-uri-scheme.
664
ad9dcd70
SM
6652013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
666
54bd972f
SM
667 * subr.el (define-error): New function.
668 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
669 error-file-not-found and define with define-error.
670 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
671 and define with define-error.
672 * userlock.el (file-locked, file-supersession):
673 * simple.el (mark-inactive):
674 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
675 * progmodes/ada-mode.el (ada-mode-errors):
676 * play/life.el (life-extinct):
677 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
678 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
679 * nxml/rng-util.el (rng-error):
680 * nxml/rng-uri.el (rng-uri-error):
681 * nxml/rng-match.el (rng-compile-error):
682 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
683 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
684 * nxml/nxml-rap.el (nxml-scan-error):
685 * nxml/nxml-outln.el (nxml-outline-error):
686 * net/soap-client.el (soap-error):
687 * net/gnutls.el (gnutls-error):
688 * net/ange-ftp.el (ftp-error):
689 * mpc.el (mpc-proc-error):
690 * json.el (json-error, json-readtable-error, json-unknown-keyword)
691 (json-number-format, json-string-escape, json-string-format)
692 (json-key-format, json-object-format):
693 * jka-compr.el (compression-error):
694 * international/quail.el (quail-error):
695 * international/kkc.el (kkc-error):
696 * emacs-lisp/ert.el (ert-test-failed):
697 * calc/calc.el (calc-error, inexact-result, math-overflow)
698 (math-underflow):
699 * bookmark.el (bookmark-error-no-filename):
700 * epg.el (epg-error): Define with define-error.
701
0ea9e53a
SM
702 * time.el (display-time-event-handler)
703 (display-time-next-load-average): Don't call sit-for since it seems
704 unnecessary (bug#15045).
705
b0429158
SM
706 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
707 Use #' instead of ' to quote functions.
708 (checkdoc-output-mode): Use setq-local.
709 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
710 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
711 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
712 (checkdoc-ispell, checkdoc-ispell-current-buffer)
713 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
714 (checkdoc-ispell-message-text, checkdoc-ispell-start)
715 (checkdoc-ispell-continue, checkdoc-ispell-comments)
716 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
717
ad9dcd70
SM
718 * ido.el (ido-completion-help): Fix up compiler warning.
719
77187e6f
JB
7202013-08-09 Juanma Barranquero <lekktu@gmail.com>
721
722 * frameset.el (frameset-p): Add autoload cookie.
723 (frameset--jump-to-register): New function, based on code moved from
724 register.el.
725 (frameset-to-register): Move from register.el. Adapt to `registerv'.
726
727 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
728 (frameset-restore, frameset-save, frameset-session-filter-alist):
729 Remove declarations.
730 (register-alist): Doc fix.
731 (frameset-to-register): Move to frameset.el.
732 (jump-to-register, describe-register-1): Remove frameset-specific code.
733
9d3aa82c
JB
7342013-08-08 Juanma Barranquero <lekktu@gmail.com>
735
736 * allout-widgets.el (allout-widgets-pre-command-business)
737 (allout-widgets-post-command-business)
738 (allout-widgets-after-change-handler)
739 (allout-decorate-item-and-context, allout-set-boundary-marker)
740 (allout-body-modification-handler)
741 (allout-graphics-modification-handler): Mark ignored arguments.
742 (allout-widgets-post-command-business)
743 (allout-widgets-exposure-change-processor)
744 (allout-widgets-exposure-undo-processor)
745 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
746 (allout-parse-item-at-point, allout-decorate-item-guides)
747 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
748 * allout.el (epa-passphrase-callback-function): Declare.
749 (allout-overlay-insert-in-front-handler)
750 (allout-overlay-interior-modification-handler)
751 (allout-isearch-end-handler, allout-chart-siblings)
752 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
753 (allout-yank-processing, allout-process-exposed)
754 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 755 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
756 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
757 (lisp-indent-defform): Mark ignored arguments.
758 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
759 (calculate-lisp-indent): Remove unused variables.
760 * international/characters.el (indian-2-column, arabic-2-column)
761 (tibetan): Mark ignored arguments.
762 (use-cjk-char-width-table): Mark ignored arguments.
763 Remove unused variables.
764 * international/fontset.el (build-default-fontset-data)
765 (x-compose-font-name, create-fontset-from-fontset-spec):
766 Mark ignored arguments.
767 (fontset-plain-name): Remove unused variables.
768 * international/mule.el (charset-id, charset-bytes, generic-char-p)
769 (keyboard-coding-system): Mark ignored arguments.
770 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
771 * help.el (resize-temp-buffer-window):
772 * window.el (display-buffer-in-major-side-window)
773 (display-buffer-in-side-window, display-buffer-in-previous-window):
774 Remove unused variables.
775 * isearch.el (isearch-forward-symbol):
776 * version.el (emacs-bzr-version-bzr):
777 * international/mule-cmds.el (current-language-environment):
778 * term/common-win.el (x-handle-iconic, x-handle-geometry)
779 (x-handle-display):
780 * term/pc-win.el (x-list-fonts, x-display-planes)
781 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
782 (x-server-version, x-display-screens, x-display-mm-height)
783 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
784 (x-selection-owner-p, x-own-selection-internal)
785 (x-disown-selection-internal, x-get-selection-internal)
786 (msdos-initialize-window-system):
787 * term/tty-colors.el (tty-color-alist, tty-color-clear):
788 * term/x-win.el (x-handle-no-bitmap-icon):
789 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
790 (vc-default-find-file-hook, vc-default-extra-menu):
791 Mark ignored arguments.
792
0ca3f70e
SM
7932013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
794
795 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
796 break-condition in the context of the debugged code (bug#12685).
797
74c5d24c
CS
7982013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
799
800 * comint.el:
801 Do not use an overlay to highlight the last prompt. (Bug#14744)
802 (comint-mode): Make comint-last-prompt buffer local.
803 (comint-last-prompt): New variable.
804 (comint-last-prompt-overlay): Remove. Superseded by
805 comint-last-prompt.
0ca3f70e
SM
806 (comint-snapshot-last-prompt, comint-output-filter):
807 Use comint-last-prompt.
74c5d24c 808
c03c02ee
JB
8092013-08-08 Juanma Barranquero <lekktu@gmail.com>
810
a3738d20 811 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
812 (frameset-save): Check validity of the resulting frameset.
813
04263d23
XF
8142013-08-08 Xue Fuqiao <xfq.free@gmail.com>
815
816 * ido.el (ido-record-command): Add doc string.
817
76c5e5ab
JB
8182013-08-08 Juanma Barranquero <lekktu@gmail.com>
819
820 * frameset.el (frameset): Do not disable creation of the default
821 frameset-p predicate. Doc fix.
822 (frameset-valid-p): New function, copied from the old predicate-p.
823 Add additional checks.
824 (frameset-restore): Check with frameset-valid-p.
825 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
826 (frameset-name, frameset-description, frameset-properties)
827 (frameset-states): Add docstring.
f9dbf1cb
JB
828 (frameset-session-filter-alist, frameset-persistent-filter-alist)
829 (frameset-filter-alist): Doc fixes.
76c5e5ab 830
bd0c3c0b
JB
8312013-08-08 Juanma Barranquero <lekktu@gmail.com>
832
833 * frameset.el (frameset-p, frameset-prop): Doc fixes.
834
c735544c
SM
8352013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
836
837 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
838 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
839 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
840 (byte-compile-normal-call): Remove obsolescence check.
841
2805a651
JB
8422013-08-08 Juanma Barranquero <lekktu@gmail.com>
843
3677ffeb
JB
844 * frameset.el (frameset-restore): Doc fix.
845
2805a651
JB
846 * register.el (frameset-frame-id, frameset-frame-with-id)
847 (frameset-p, frameset-restore, frameset-save): Declare.
848 (register-alist): Document framesets.
849 (frameset-session-filter-alist): Declare.
850 (frameset-to-register): New function.
851 (jump-to-register): Implement jumping to framesets. Doc fix.
852 (describe-register-1): Describe framesets.
853
854 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
855
a912c016
JB
8562013-08-07 Juanma Barranquero <lekktu@gmail.com>
857
858 * desktop.el (desktop-save-frameset): Use new frameset-save args.
859 Use lexical-binding.
860
861 * frameset.el (frameset): Use type vector, not list (incompatible
862 change). Do not declare a new constructor, use the default one.
863 Upgrade suggested properties `app', `name' and `desc' to slots `app',
864 `name' and `description', respectively, and add read-only slot
865 `timestamp'. Doc fixes.
866 (frameset-copy, frameset-persistent-filter-alist)
867 (frameset-filter-alist, frameset-switch-to-gui-p)
868 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
869 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
870 (frameset-filter-iconified, frameset-keep-original-display-p):
871 Doc fixes.
872 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
873 Rename from frameset-filter-(save|restore)-param. All callers changed.
874 Doc fix.
875 (frameset-p): Adapt to change to vector and be more thorough.
876 Change arg name to OBJECT. Doc fix.
877 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
878 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
879 All callers changed.
880 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
881 All callers changed.
882 (frameset--record-minibuffer-relationships): Rename from
883 frameset--process-minibuffer-frames. All callers changed.
884 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
885 Use new default constructor (again). Doc fix.
886 (frameset--find-frame-if): Rename from `frameset--find-frame.
887 All callers changed.
888 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
889 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
890 Doc fix.
891 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
892 PARAMETERS and WINDOW-STATE, respectively.
893 (frameset-restore): Add new keyword argument PREDICATE.
894 Reset frameset--target-display to nil. Doc fix.
895
bb41480a
SM
8962013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
897
f001e98e
SM
898 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
899 (bat-mode): Use it.
900 (bat-mode-syntax-table): Mark \n as end-of-comment.
901 (bat-font-lock-keywords): Remove comment rule.
902
7679edb1
SM
903 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
904 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
905
bb41480a
SM
906 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
907 (byte-compile-callargs-warn): Use `push'.
908 (byte-compile-arglist-warn): Ignore higher-order "calls".
909 (byte-compile-file-form-autoload): Use `pcase'.
910 (byte-compile-function-form): If quoting a symbol, check that it exists.
911
cdc1ebb9
EZ
9122013-08-07 Eli Zaretskii <eliz@gnu.org>
913
914 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
915 and add a few popular commands found in batch files.
916 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
917 (dos-mode): Doc fixes.
918
312b1740
SM
9192013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
920
921 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
922 (dos-mode): Use setq-local. Add space after "rem".
923 (dos-mode-syntax-table): Don't use "w" for symbol chars.
924 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
925
400a3178
AM
9262013-08-07 Arni Magnusson <arnima@hafro.is>
927
928 * progmodes/dos.el: New file.
929 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
930 dos-mode.
931
3b5c03d3
GM
9322013-08-06 Glenn Morris <rgm@gnu.org>
933
934 * calendar/calendar.el: Add new faces, and day-header-array.
935 (calendar-weekday-header, calendar-weekend-header)
936 (calendar-month-header): New faces.
937 (calendar-day-header-construct): New function.
938 (calendar-day-header-width): Also :set calendar-day-header-array.
939 (calendar-american-month-header, calendar-european-month-header)
940 (calendar-iso-month-header): Use calendar- faces.
941 (calendar-generate-month):
942 Use calendar-day-header-array for day headers; apply faces to them.
943 (calendar-mode): Check calendar-font-lock-keywords non-nil.
944 (calendar-abbrev-construct): Add optional maxlen argument.
945 (calendar-day-name-array): Doc fix.
946 (calendar-day-name-array, calendar-abbrev-length)
947 (calendar-day-abbrev-array):
948 Also :set calendar-day-header-array, and maybe redraw.
949 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 950 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
951 (calendar-day-name): Add option to use header array.
952
ec6a2d7a
LMI
9532013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
954
955 * net/shr.el (shr-render-td): Remove debugging.
956 (shr-render-td): Make width computation consistent by defaulting
957 all zero-width columns to 10 characters. This may not be optimal,
958 but it's at least consistent.
2122cb6d
LMI
959 (shr-make-table-1): Redo last change to fix the real problem in
960 colspan handling.
ec6a2d7a 961
ed4fd9c5
DA
9622013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
963
0ca3f70e
SM
964 * files.el (cache-long-line-scans):
965 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 966
64e22afe
JB
9672013-08-06 Juanma Barranquero <lekktu@gmail.com>
968
024b38fc
JB
969 * frameset.el (frameset, frameset-filter-alist)
970 (frameset-filter-params, frameset-save, frameset--reuse-frame)
971 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
972 (frameset-compute-pos): Rename from frameset--compute-pos,
973 and add docstring.
974 (frameset-move-onscreen): Use frameset-compute-pos.
975 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
976
64e22afe
JB
977 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
978 Fix typos in docstrings.
979
c8c2aca8
DA
9802013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
981
982 * frame.el (get-other-frame): Tiny cleanup.
983
1d237bba
JB
9842013-08-06 Juanma Barranquero <lekktu@gmail.com>
985
8951efef
JB
986 * vc/vc.el (vc-default-ignore-completion-table):
987 Silence byte-compiler warning.
988
307764cc
JB
989 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
990 slot , which can indeed be nil.
991 (frameset-live-filter-alist, frameset-persistent-filter-alist):
992 Move entry for `left' from persistent to live filter alist.
993 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
994 Doc fixes.
995 (frameset-filter-params): When restoring a frame, copy items added to
996 `filtered', to avoid unwittingly modifying the original parameters.
997 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
998 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
999
1d237bba
JB
1000 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
1001 to use looking-at-p instead of looking-at. (Bug#15028)
1002
dc6c0eda
SM
10032013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
1004
1005 Revert introduction of isearch-filter-predicates (bug#14714).
1006 Rely on add-function instead.
1007 * isearch.el (isearch-filter-predicates): Rename it back to
1008 isearch-filter-predicate.
1009 (isearch-message-prefix): Use advice-function-mapc and advice
1010 properties to get the isearch-message-prefix.
1011 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
1012 instead of run-hook-with-args-until-failure.
1013 (isearch-filter-visible): Not obsolete any more.
1014 * loadup.el: Preload nadvice.
1015 * replace.el (perform-replace): Revert to funcall
1016 instead of run-hook-with-args-until-failure.
1017 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
1018 * dired-aux.el (dired-isearch-filenames-mode): Rename from
1019 dired-isearch-filenames-toggle; make it into a proper minor mode.
1020 Use add/remove-function.
1021 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
1022 Call the minor-mode rather than add/remove-hook.
1023 (dired-isearch-filter-filenames):
1024 Remove isearch-message-prefix property.
1025 * info.el (Info--search-loop): New function, extracted from Info-search.
1026 Funcall isearch-filter-predicate instead of
1027 run-hook-with-args-until-failure isearch-filter-predicates.
1028 (Info-search): Use it.
1029 (Info-mode): Use isearch-filter-predicate instead of
1030 isearch-filter-predicates.
1031
290d5b58
DA
10322013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
1033
1034 Do not call to `selected-window' where it is assumed by default.
1035 Affected functions are `window-minibuffer-p', `window-dedicated-p',
1036 `window-hscroll', `window-width', `window-height', `window-buffer',
1037 `window-frame', `window-start', `window-point', `next-window'
1038 and `window-display-table'.
1039 * abbrev.el (abbrev--default-expand):
1040 * bs.el (bs--show-with-configuration):
1041 * buff-menu.el (Buffer-menu-mouse-select):
1042 * calc/calc.el (calc):
1043 * calendar/calendar.el (calendar-generate-window):
1044 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
1045 (diary-make-entry):
1046 * comint.el (send-invisible, comint-dynamic-complete-filename)
1047 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
1048 * completion.el (complete):
1049 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
1050 * disp-table.el (describe-current-display-table):
1051 * doc-view.el (doc-view-insert-image):
1052 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
1053 * ehelp.el (with-electric-help):
1054 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
1055 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
1056 * emacs-lisp/helper.el (Helper-help-scroller):
1057 * emulation/cua-base.el (cua--post-command-handler-1):
1058 * eshell/esh-mode.el (eshell-output-filter):
1059 * ffap.el (ffap-gnus-wrapper):
1060 * help-macro.el (make-help-screen):
1061 * hilit-chg.el (highlight-compare-buffers):
1062 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
1063 * hl-line.el (global-hl-line-highlight):
1064 * icomplete.el (icomplete-simple-completing-p):
1065 * isearch.el (isearch-done):
1066 * jit-lock.el (jit-lock-stealth-fontify):
1067 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
1068 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
1069 * mpc.el (mpc-tagbrowser, mpc):
1070 * net/rcirc.el (rcirc-any-buffer):
1071 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
1072 * play/landmark.el (landmark-max-width, landmark-max-height):
1073 * play/zone.el (zone):
1074 * progmodes/compile.el (compilation-goto-locus):
1075 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
1076 * progmodes/etags.el (find-tag-other-window):
1077 * progmodes/fortran.el (fortran-column-ruler):
1078 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
1079 * progmodes/verilog-mode.el (verilog-point-text):
1080 * reposition.el (reposition-window):
1081 * rot13.el (toggle-rot13-mode):
1082 * server.el (server-switch-buffer):
1083 * shell.el (shell-dynamic-complete-command)
1084 (shell-dynamic-complete-environment-variable):
1085 * simple.el (insert-buffer, set-selective-display)
1086 (delete-completion-window):
1087 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
1088 (speedbar-recenter):
1089 * startup.el (fancy-splash-head):
1090 * textmodes/ispell.el (ispell-command-loop):
1091 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
1092 * tutorial.el (help-with-tutorial):
1093 * vc/add-log.el (add-change-log-entry):
1094 * vc/compare-w.el (compare-windows):
1095 * vc/ediff-help.el (ediff-indent-help-message):
1096 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
1097 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
1098 (ediff-setup-control-frame):
1099 * vc/emerge.el (emerge-position-region):
1100 * vc/pcvs-util.el (cvs-bury-buffer):
1101 * window.el (walk-windows, mouse-autoselect-window-select):
1102 * winner.el (winner-set-conf, winner-undo): Related users changed.
1103
38276e01
JB
11042013-08-05 Juanma Barranquero <lekktu@gmail.com>
1105
1106 * frameset.el (frameset--set-id): Doc fix.
1107 (frameset-frame-id, frameset-frame-id-equal-p)
1108 (frameset-locate-frame-id): New functions.
1109 (frameset--process-minibuffer-frames, frameset--reuse-frame)
1110 (frameset-restore): Use them.
1111
12b4c0ea
DA
11122013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
1113
1114 Do not call to `selected-frame' where it is assumed by default.
1115 Affected functions are `raise-frame', `redraw-frame',
1116 `frame-first-window', `frame-terminal' and `delete-frame'.
1117 * calendar/appt.el (appt-disp-window):
1118 * epg.el (epg-wait-for-completion):
1119 * follow.el (follow-delete-other-windows-and-split)
1120 (follow-avoid-tail-recenter):
1121 * international/mule.el (set-terminal-coding-system):
1122 * mail/rmail.el (rmail-mail-return):
1123 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
1124 * progmodes/f90.el (f90-add-imenu-menu):
1125 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
1126 * server.el (server-switch-buffer):
1127 * simple.el (delete-completion-window):
1128 * talk.el (talk):
1129 * term/xterm.el (terminal-init-xterm-modify-other-keys)
1130 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
1131 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
1132 * vc/ediff.el (ediff-documentation): Related users changed.
1133 * frame.el (selected-terminal): Remove the leftover.
1134
17f25e76
GM
11352013-08-05 Glenn Morris <rgm@gnu.org>
1136
1137 * calendar/calendar.el (calendar-generate-month):
1138 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
1139 (calendar-generate-month, calendar-font-lock-keywords):
1140 Fix for calendar-day-header-width > length of any day name.
17f25e76 1141
063233c3
JB
11422013-08-05 Juanma Barranquero <lekktu@gmail.com>
1143
1144 * desktop.el (desktop-clear): Use new name of sort predicate.
1145
1146 * frameset.el (frameset): Add docstring. Move :version property to its
1147 own `version' slot.
1148 (frameset-copy): Rename from copy-frameset.
1149 (frameset-p): Check more thoroughly.
1150 (frameset-prop): Do not check for :version, which is no longer a prop.
1151 (frameset-live-filter-alist, frameset-persistent-filter-alist):
1152 Use new :never value instead of t.
1153 (frameset-filter-alist): Expand and clarify docstring.
1154 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
1155 (frameset-filter-minibuffer, frameset-filter-save-param)
1156 (frameset-filter-restore-param, frameset-filter-iconified):
1157 Add pointer to docstring of frameset-filter-alist.
1158 (frameset-filter-params): Rename filter values to be more meaningful:
1159 :never instead of t, and reverse the meanings of :save and :restore.
1160 (frameset--process-minibuffer-frames): Clarify error message.
1161 (frameset-save): Avoid unnecessary and confusing call to framep.
1162 Use new BOA constructor for framesets.
1163 (frameset--reuse-list): Doc fix.
1164 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
1165 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
1166 (frameset-minibufferless-first-p): Doc fix.
1167 Rename from frameset-sort-frames-for-deletion.
1168 (frameset-restore): Doc fixes. Use new function names.
1169 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
1170
d5671a82
JB
11712013-08-04 Juanma Barranquero <lekktu@gmail.com>
1172
1173 * desktop.el (desktop-restore-forces-onscreen)
1174 (desktop-restore-reuses-frames): Document :keyword constant values.
1175 (desktop-filter-parameters-alist): Remove, now identical to
1176 frameset-filter-alist.
1177 (desktop--filter-tty*): Remove, moved to frameset.el.
1178 (desktop-save-frameset, desktop-restore-frameset):
1179 Do not pass :filters argument.
1180
1181 * frameset.el (frameset-live-filter-alist)
1182 (frameset-persistent-filter-alist): New variables.
1183 (frameset-filter-alist): Use them. Add autoload cookie.
1184 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
1185 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
1186 `frameset--id' (it's supposed to be internal to frameset.el).
1187 (frameset--process-minibuffer-frames): Ditto. Doc fix.
1188 (frameset--initial-params): New function.
1189 (frameset--get-frame): Use it. Doc fix.
1190 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
1191 Accept :all, not 'all.
1192 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
1193 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
1194 with fbound symbols. Fix frame id matching, and remove matching ids if
1195 the frame being restored is deleted. Obey :delete.
1196
671d5c16
SM
11972013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
1198
1199 * subr.el (macrop): New function.
1200 (text-clone--maintaining): New var.
1201 (text-clone--maintain): Rename from text-clone-maintain. Use it
1202 instead of inhibit-modification-hooks.
1203
1204 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
1205 a proxy, so as handle autoloads and redefinitions of the target.
1206 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
1207
1208 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
1209 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
1210 (pcase--mutually-exclusive-p): New function.
1211 (pcase--split-consp): Use it.
1212 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
1213 mutually exclusive with the current predicate.
1214
1215 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
1216 (edebug-macrop): Remove. Use `macrop' instead.
1217 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
1218 (ad-macro-p):
1219 * eshell/esh-cmd.el (eshell-macrop):
1220 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
1221
1d44e9dc
SM
12222013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
1223
1224 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
1225 (advice-mapc): New function, using it.
1226 (advice-function-member-p): New function.
1227 (advice--normalize): Store the cdr in advice--saved-rewrite since
1228 that's the part that will be changed.
1229 (advice--symbol-function): New function.
1230 (advice-remove): Handle removal before the function is defined.
1231 Adjust to new advice--saved-rewrite.
1232 (advice-member-p): Use advice-function-member-p and
1233 advice--symbol-function.
1234
5414a283
JB
12352013-08-04 Juanma Barranquero <lekktu@gmail.com>
1236
51d30f2c
JB
1237 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
1238 (frameset-filter-minibuffer): Doc fix.
1239 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
1240 (frameset--set-id, frameset--process-minibuffer-frames)
1241 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
1242 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 1243
5414a283
JB
1244 * desktop.el (desktop-clear): Only delete frames when called
1245 interactively and desktop-restore-frames is non-nil. Doc fix.
1246 (desktop-read): Set desktop-saved-frameset to nil.
1247
ab419665
XF
12482013-08-04 Xue Fuqiao <xfq.free@gmail.com>
1249
1250 * vc/vc.el (vc-ignore): Rewrite.
1251 (vc-default-ignore-completion-table):
1252 (vc--read-lines):
1253 (vc--add-line, vc--remove-regexp): New functions.
1254
1255 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
1256 (vc-svn-ignore-completion-table): New function.
1257
1258 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
1259 (vc-hg-ignore-completion-table):
1260 (vc-hg-find-ignore-file): New functions.
1261
1262 * vc/vc-git.el (vc-git-ignore): Rewrite.
1263 (vc-git-ignore-completion-table):
1264 (vc-git-find-ignore-file): New functions.
1265
1266 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
1267
1268 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
1269 (vc-bzr-ignore-completion-table):
1270 (vc-bzr-find-ignore-file): New functions.
1271
2613dea2
JB
12722013-08-03 Juanma Barranquero <lekktu@gmail.com>
1273
1274 * frameset.el (frameset-prop): New function and setter.
1275 (frameset-save): Do not modify frame list passed by the caller.
1276
9c959872
SM
12772013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
1278
1279 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
1280
a104f656
SM
12812013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
1282
70122acf
SM
1283 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
1284 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
1285
a104f656
SM
1286 * custom.el (custom-initialize-default, custom-initialize-set)
1287 (custom-initialize-reset, custom-initialize-changed): Affect the
1288 toplevel-default-value (bug#6275, bug#14586).
1289 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
1290 for bug#6275.
1291
f078d570
JB
12922013-08-02 Juanma Barranquero <lekktu@gmail.com>
1293
185e3b5a
JB
1294 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
1295 Add cl-def* expressions.
1296
f078d570
JB
1297 * frameset.el (frameset-filter-params): Fix order of arguments.
1298
9421876d
JB
12992013-08-02 Juanma Barranquero <lekktu@gmail.com>
1300
1301 Move code related to saving frames to frameset.el.
1302 * desktop.el: Require frameset.
1303 (desktop-restore-frames): Doc fix.
1304 (desktop-restore-reuses-frames): Rename from
1305 desktop-restoring-reuses-frames.
1306 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
1307 (desktop-clear): Clear frames too.
1308 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
1309 (desktop--filter-tty*, desktop-save, desktop-read):
1310 Use frameset functions.
1311 (desktop-before-saving-frames-functions, desktop--filter-*-color)
1312 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
1313 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
1314 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
1315 (desktop--process-minibuffer-frames, desktop-save-frames)
1316 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
1317 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
1318 (desktop--sort-states, desktop-restoring-frames-p)
1319 (desktop-restore-frames): Remove. Most code moved to frameset.el.
1320 (desktop-restoring-frameset-p, desktop-restore-frameset)
1321 (desktop--check-dont-save, desktop-save-frameset): New functions.
1322 (desktop--app-id): New constant.
1323 (desktop-first-buffer, desktop-buffer-ok-count)
1324 (desktop-buffer-fail-count): Move before first use.
1325 * frameset.el: New file.
1326
76dc5996
SM
13272013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
1328
1329 * files.el: Use lexical-binding.
1330 (dir-locals-read-from-file): Remove unused `err' variable.
1331 (hack-dir-local-variables--warned-coding): New var.
1332 (hack-dir-local-variables): Use it to avoid repeated warnings.
1333 (make-backup-file-name--default-function): New function.
1334 (make-backup-file-name-function): Use it as default.
1335 (buffer-stale--default-function): New function.
1336 (buffer-stale-function): Use it as default.
1337 (revert-buffer-insert-file-contents--default-function): New function.
1338 (revert-buffer-insert-file-contents-function): Use it as default.
1339 (insert-directory): Avoid add-to-list.
1340
1341 * autorevert.el (auto-revert-handler): Simplify.
1342 Use buffer-stale--default-function.
1343
06d36e2b
TH
13442013-08-01 Tassilo Horn <tsdh@gnu.org>
1345
5f648ab4
TH
1346 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
1347
06d36e2b
TH
1348 * whitespace.el (whitespace-ensure-local-variables): New function.
1349 (whitespace-cleanup-region): Call it.
1350 (whitespace-turn-on): Call it.
1351
a43dc424
MA
13522013-08-01 Michael Albinus <michael.albinus@gmx.de>
1353
1354 Complete file name handlers.
1355
1356 * net/tramp.el (tramp-handle-set-visited-file-modtime)
1357 (tramp-handle-verify-visited-file-modtime)
1358 (tramp-handle-file-notify-rm-watch): New functions.
1359 (tramp-call-process): Do not bind `default-directory'.
1360
44e18199
JB
1361 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1362 Order alphabetically.
a43dc424
MA
1363 [access-file, add-name-to-file, dired-call-process]:
1364 [dired-compress-file, file-acl, file-notify-rm-watch]:
1365 [file-ownership-preserved-p, file-selinux-context]:
1366 [make-directory-internal, make-symbolic-link, set-file-acl]:
1367 [set-file-selinux-context, set-visited-file-modtime]:
1368 [verify-visited-file-modtime]: Add handler.
1369 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
1370
1371 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
1372 [file-notify-add-watch, file-notify-rm-watch]:
1373 [set-file-times, set-visited-file-modtime]:
1374 [verify-visited-file-modtime]: Add handler.
1375 (with-tramp-gvfs-error-message)
1376 (tramp-gvfs-handle-set-visited-file-modtime)
1377 (tramp-gvfs-fuse-file-name): Remove.
1378 (tramp-gvfs-handle-file-notify-add-watch)
1379 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
1380 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
1381
44e18199
JB
1382 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
1383 Order alphabetically.
a43dc424
MA
1384 [file-notify-rm-watch ]: Use default Tramp handler.
1385 [executable-find]: Remove private handler.
1386 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
1387 `default-directory'.
1388 (tramp-sh-handle-executable-find)
1389 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
1390 (tramp-sh-file-gvfs-monitor-dir-process-filter)
1391 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
1392 Do not use `format' in `tramp-message'.
1393
1394 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
1395 [file-notify-rm-watch, set-visited-file-modtime]:
1396 [verify-visited-file-modtime]: Add handler.
1397 (tramp-smb-call-winexe): Do not bind `default-directory'.
1398
7188b515
XF
13992013-08-01 Xue Fuqiao <xfq.free@gmail.com>
1400
1401 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
1402
2412ee1a
DG
14032013-07-31 Dmitry Gutov <dgutov@yandex.ru>
1404
1405 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
1406 use it.
1407 (log-view-diff-changeset): Same.
1408 (log-view-diff-common): Call backend command `previous-revision'
1409 to find out the previous revision, in both cases. Swap the
1410 variables `to' and `fr', so that `fr' usually refers to the
1411 earlier revision (Bug#14989).
1412
5002a754
KRC
14132013-07-31 Kan-Ru Chen <kanru@kanru.info>
1414
1415 * ibuf-ext.el (ibuffer-filter-by-filename):
1416 Make it work with dired buffers too.
1417
44e18199 14182013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
1419
1420 * emacs-lisp/re-builder.el (reb-color-display-p):
1421 * files.el (save-buffers-kill-terminal):
1422 * net/browse-url.el (browse-url):
1423 * server.el (server-save-buffers-kill-terminal):
1424 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
1425 Prefer nil to selected-frame for the first arg of frame-parameter.
1426
aeca3fbb
XF
14272013-07-31 Xue Fuqiao <xfq.free@gmail.com>
1428
1429 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
1430
158bc55c
SB
14312013-07-30 Stephen Berman <stephen.berman@gmx.net>
1432
1433 * minibuffer.el (completion--twq-all): Try and preserve each
1434 completion's case choice (bug#14907).
1435
d50fceab
LMI
14362013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
1437
ac38e731
LMI
1438 * net/network-stream.el (open-network-stream): Mention the new
1439 :nogreeting parameter.
1440 (network-stream-open-starttls): Use the :nogreeting parameter
1441 (bug#14938).
1442
1211de50
LMI
1443 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
1444
997798bf
LMI
1445 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
1446 more natural than popping.
1447
d50fceab 1448 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 1449 (shr-urlify): Highlight under mouse.
d50fceab 1450
5c09de04
XF
14512013-07-30 Xue Fuqiao <xfq.free@gmail.com>
1452
207d1d04
XF
1453 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
1454
1455 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
1456
5c09de04
XF
1457 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
1458 buffer for output.
1459
3cd51eaa
XF
1460 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
1461 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 1462
44e18199 1463 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 1464 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
1465
1466 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
1467
1468 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
1469 buffer for output.
1470
35a89bdd
EZ
14712013-07-29 Eli Zaretskii <eliz@gnu.org>
1472
1473 * frame.el (frame-notice-user-settings): Avoid inflooping when the
1474 initial frame is minibuffer-less. (Bug#14841)
1475
78822e94
MA
14762013-07-29 Michael Albinus <michael.albinus@gmx.de>
1477
1478 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
1479 option.
1480
1481 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
1482 (tramp-maybe-open-connection): Use it.
1483
9503c190
JB
14842013-07-28 Juanma Barranquero <lekktu@gmail.com>
1485
1486 * desktop.el (desktop--make-frame): Include `minibuffer' in the
1487 minimal set of parameters passed when creating a frame, because
1488 the minibuffer status of a frame cannot be changed later.
1489
d5a845b4
SB
14902013-07-28 Stephen Berman <stephen.berman@gmx.net>
1491
1492 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
1493 replace-regexp-in-string and inadvertent omissions in previous change.
1494 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 1495 name of filtered items buffer.
d5a845b4 1496
ddeffb17
JB
14972013-07-28 Juanma Barranquero <lekktu@gmail.com>
1498
1499 * desktop.el: Optionally force offscreen frames back onscreen.
1500 (desktop-restoring-reuses-frames): New option.
1501 (desktop--compute-pos, desktop--move-onscreen): New functions.
1502 (desktop--make-frame): Use desktop--move-onscreen.
1503
f5950f7a
AM
15042013-07-27 Alan Mackenzie <acm@muc.de>
1505
1506 Fontify a Java generic method as a function.
1507 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
1508 value to t.
1509
ae43b66a
SB
15102013-07-27 Stephen Berman <stephen.berman@gmx.net>
1511
1512 * calendar/todo-mode.el: Add command to rename todo files.
1513 (todo-rename-file): New command.
1514 (todo-key-bindings-t): Add key binding for it. Change the
1515 bindings of todo-filter-regexp-items(-multifile) to use `x'
1516 instead of `r', since the latter is better suited to the new
1517 renaming command.
1518
5ab78d3d
AM
15192013-07-27 Alan Mackenzie <acm@muc.de>
1520
1521 Make Java try-with-resources statement parse properly.
1522 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
1523 (c-block-stmt-1-2-key): New language constants/variables.
1524 * progmodes/cc-engine.el (c-beginning-of-statement-1)
1525 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
1526 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 1527 with c-block-stmt-1-2-key.
5ab78d3d 1528
d85c4d50
JB
15292013-07-27 Juanma Barranquero <lekktu@gmail.com>
1530
1531 * desktop.el (desktop--make-frame): Apply most frame parameters after
1532 creating the frame to force (partially or totally) offscreen frames to
1533 be restored as such.
1534
e4c467f9
XF
15352013-07-26 Xue Fuqiao <xfq.free@gmail.com>
1536
1537 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 1538 (Bug#14948)
e4c467f9 1539
7ced0d04
SM
15402013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
1541
1542 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
1543 `base' arg of backtrace-frame.
1544
fec92060
EZ
15452013-07-26 Eli Zaretskii <eliz@gnu.org>
1546
1547 * simple.el (list-processes): Doc fix.
1548
d58d31fb
JB
15492013-07-26 Juanma Barranquero <lekktu@gmail.com>
1550
1551 * desktop.el (desktop--select-frame):
d85c4d50 1552 Try harder to reuse existing frames.
d58d31fb 1553
53ff3e77
SM
15542013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
1555
1556 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
1557 (edebug-eval): Use backtrace-eval.
1558 (edebug--display, edebug--recursive-edit): Don't let-bind the
1559 edebug-outer-* vars that keep track of variables we locally let-bind.
1560 (edebug-outside-excursion): Don't restore outside values of locally
1561 let-bound vars.
1562 (edebug--display): Use user-error.
1563 (cl-lexical-debug, cl-debug-env): Remove.
1564
045f7a53
JB
15652013-07-26 Juanma Barranquero <lekktu@gmail.com>
1566
1567 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
1568 are restored to be sure that they are visible before deleting any
1569 remaining ones.
1570
59070b32
MM
15712013-07-26 Matthias Meulien <orontee@gmail.com>
1572
742a3501
XF
1573 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
1574 vc-print-root-log. (Bug#14948)
59070b32 1575
b1fb3596
RS
15762013-07-26 Richard Stallman <rms@gnu.org>
1577
1578 Add aliases for encrypting mail.
1579 * epa.el (epa-mail-aliases): New option.
1580 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
1581 Bind inhibit-read-only so read-only text doesn't ruin everything.
1582 (epa-mail-default-recipients): New subroutine broken out.
1583 Handle epa-mail-aliases.
1584
56ea7291
SM
15852013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
1586
1587 Add support for lexical variables to the debugger's `e' command.
1588 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
1589 vars, except for debugger-outer-match-data.
1590 (debugger-frame-number): Move check for "on a function call" from
1591 callers into it. Add `skip-base' argument.
1592 (debugger-frame, debugger-frame-clear): Simplify accordingly.
1593 (debugger-env-macro): Only reset the state stored in non-variables,
1594 i.e. current-buffer and match-data.
1595 (debugger-eval-expression): Rewrite using backtrace-eval.
1596 * subr.el (internal--called-interactively-p--get-frame): Remove.
1597 (called-interactively-p):
1598 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
1599 `base' arg of backtrace-frame instead.
1600
15ac32d5
GM
16012013-07-26 Glenn Morris <rgm@gnu.org>
1602
8358a09d
GM
1603 * align.el (align-regexp): Doc fix. (Bug#14857)
1604 (align-region): Explicit error if subexpression missing/does not match.
1605
15ac32d5
GM
1606 * simple.el (global-visual-line-mode):
1607 Do not duplicate the mode lighter. (Bug#14858)
1608
f47ad11b
MR
16092013-07-25 Martin Rudalics <rudalics@gmx.at>
1610
1611 * window.el (display-buffer): In display-buffer bind
1612 split-window-keep-point to t, bug#14829.
1613
02530987
JB
16142013-07-25 Juanma Barranquero <lekktu@gmail.com>
1615
1616 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
1617 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
1618 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
1619 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
1620 Change accordingly.
f63ebeb5
JB
1621 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
1622 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 1623
6ccb9cab 16242013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 1625
6ccb9cab 1626 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 1627
cb3a56d2
JB
16282013-07-25 Juanma Barranquero <lekktu@gmail.com>
1629
1630 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
1631 parameter to modify-frame-parameters if the value has not changed;
1632 this is a workaround for bug#14949.
1633 (desktop--make-frame): On cl-delete-if call, check parameter name,
1634 not full parameter.
1635
7aa7fff0
XF
16362013-07-30 Xue Fuqiao <xfq.free@gmail.com>
1637
1638 * vc/vc.el (vc-ignore): New function.
1639
1640 * vc/vc-svn.el (vc-svn-ignore): New function.
1641
1642 * vc/vc-hg.el (vc-hg-ignore): New function.
1643
1644 * vc/vc-git.el (vc-git-ignore): New function.
1645
1646 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
1647 (vc-dir-ignore): New function.
1648
1649 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 1650 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
1651
1652 * vc/vc-bzr.el (vc-bzr-ignore): New function.
1653
1654 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
1655
889acc5c
JB
16562013-07-24 Juanma Barranquero <lekktu@gmail.com>
1657
1658 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
1659 (desktop-restore-frames): Warn when deleting an existing frame failed.
1660
86c40970
GM
16612013-07-24 Glenn Morris <rgm@gnu.org>
1662
1663 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
1664
d5d3c58a
MA
16652013-07-24 Michael Albinus <michael.albinus@gmx.de>
1666
1667 * filenotify.el (file-notify-supported-p):
1668 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
1669 Remove functions.
1670
1671 * autorevert.el (auto-revert-use-notify):
1672 (auto-revert-notify-add-watch):
1673 * net/tramp.el (tramp-file-name-for-operation):
1674 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1675 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1676 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
1677 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1678 Remove `file-notify-supported-p' entry.
1679
d100084b
GM
16802013-07-24 Glenn Morris <rgm@gnu.org>
1681
1682 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 1683 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 1684
ac93e56b
SM
16852013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
1686
249eea30
SM
1687 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
1688 checked with memq (bug#14935).
1689
ac93e56b
SM
1690 * files.el (revert-buffer-function): Use a non-nil default.
1691 (revert-buffer-preserve-modes): Declare var to
1692 provide access to the `preserve-modes' argument.
1693 (revert-buffer): Let-bind it.
1694 (revert-buffer--default): New function, extracted from revert-buffer.
1695
2cdeb903
SM
16962013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
1697
1698 * lpr.el: Signal print errors more prominently.
1699 (print-region-function): Don't default to nil.
1700 (lpr-print-region): New function, extracted from print-region-1.
1701 Check lpr's return value and signal an error in case of problem.
1702 (print-region-1): Use it.
1703 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
1704 versions instead.
1705 (ps-printer-name): Default to nil.
1706 (ps-printer-name-option): Default to lpr-printer-switch.
1707 (ps-print-region-function): Don't default to nil.
1708 (ps-postscript-code-directory): Simplify default.
1709 (ps-do-despool): Use lpr-print-region to properly check the outcome.
1710 (ps-string-list, ps-eval-switch, ps-flatten-list)
1711 (ps-flatten-list-1): Remove.
1712 (ps-multibyte-buffer): Avoid setq.
1713 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
1714 (print-region-function, ps-print-region-function): Don't set them here.
1715
73600831
XF
17162013-07-24 Xue Fuqiao <xfq.free@gmail.com>
1717
0e55c076
XF
1718 * ido.el (ido-fractionp):
1719 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
1720 (ido-max-file-prompt-width, ido-unc-hosts-cache)
1721 (ido-max-directory-size, ido-max-dir-file-cache)
1722 (ido-decorations): Doc fix.
1723
73600831
XF
1724 * ansi-color.el: Fix old URL.
1725
3d012865
MM
17262013-07-23 Michael R. Mauger <michael@mauger.com>
1727
1728 * progmodes/sql.el Version 3.3
1729 (sql-product-alist): Improve oracle :prompt-cont-regexp.
1730 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
1731 (sql-interactive-remove-continuation-prompt): Rewrite, use
1732 functions above. Fix continuation prompt and complete output line
1733 handling.
1734 (sql-redirect-one, sql-execute): Use `read-only-mode' on
1735 redirected output buffer.
1736 (sql-mode): Restore deleted code (Bug#13591).
1737
da77a2e2
JB
17382013-07-23 Juanma Barranquero <lekktu@gmail.com>
1739
1740 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
1741
80ff0c71
MA
17422013-07-23 Michael Albinus <michael.albinus@gmx.de>
1743
1744 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
1745
1746 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1747 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1748 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
1749
b61d71e4
JB
17502013-07-23 Juanma Barranquero <lekktu@gmail.com>
1751
1752 * desktop.el (desktop-clear): Simplify; remove useless checks
1753 against invalid buffer names.
1754 (desktop-list*): Use cl-list*.
1755 (desktop-buffer-info, desktop-create-buffer): Simplify.
1756
c3512092
LL
17572013-07-23 Leo Liu <sdl.web@gmail.com>
1758
1759 * bookmark.el (bookmark-make-record): Restore NAME as a default
1760 value. (Bug#14933)
1761
0ac26976
SM
17622013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
1763
7d22ce18
SM
1764 * emacs-lisp/autoload.el (autoload--setup-output): New function,
1765 extracted from autoload--insert-text.
1766 (autoload--insert-text): Remove.
1767 (autoload--print-cookie-text): New function, extracted from
1768 autoload--insert-cookie-text.
1769 (autoload--insert-cookie-text): Remove.
1770 (autoload-generate-file-autoloads): Adjust calls accordingly.
1771
9b2607e8
SM
1772 * winner.el (winner-hook-installed-p): Remove.
1773 (winner-mode): Simplify accordingly.
1774
c43a8618
SM
1775 * subr.el (add-to-list): Fix compiler-macro when `append' is
1776 not constant. Don't use `cl-member' for the base case.
1777
0ac26976
SM
1778 * progmodes/subword.el: Fix boundary case (bug#13758).
1779 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
1780 own group.
1781 (subword-backward-regexp): Make it a constant.
1782 (subword-forward-internal): Don't treat a trailing capital as the
1783 beginning of a word.
1784
6874724a
AR
17852013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
1786
1787 * emacs-lisp/package.el (package-menu-mode): Don't modify the
1788 global value of tabulated-list-revert-hook (bug#14930).
1789
70f1b5e8
JB
17902013-07-22 Juanma Barranquero <lekktu@gmail.com>
1791
a1c80d9d
JB
1792 * desktop.el: Require 'cl-lib.
1793 (desktop-before-saving-frames-functions): New hook.
1794 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
1795 for frames being saved. Rename from desktop--save-minibuffer-frames.
1796 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
1797 Do not save frames with non-nil `desktop-dont-save' parameter.
1798 Filter out deleted frames.
a1c80d9d
JB
1799 (desktop--find-frame): Use cl-find-if.
1800 (desktop--select-frame): Use cl-(first|second|third) to access values
1801 of desktop-mini.
1802 (desktop--make-frame): Use cl-delete-if.
1803 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
1804 (desktop-restore-frames): Use cl-(first|second|third) to access values
1805 of desktop-mini. Look for visible frame at the end, not while
1806 restoring frames.
1807
70f1b5e8
JB
1808 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
1809 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
1810 Use string-match-p, looking-at-p (bug#14927).
1811
728dc3cc
JB
18122013-07-21 Juanma Barranquero <lekktu@gmail.com>
1813
56bc453c
JB
1814 * desktop.el (desktop-saved-frame-states):
1815 Rename from desktop--saved-states; all users changed.
1816 (desktop-save-frames): Rename from desktop--save-frames.
1817 Do not save state to desktop file.
1818 (desktop-save): Save desktop-saved-frame-states to desktop file
1819 and reset to nil.
1820 (desktop-restoring-frames-p): New function.
1821 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
1822 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
1823 buffer-lists when restoring frames. Suggested by Martin Rudalics.
1824
728dc3cc
JB
1825 * desktop.el: Correctly restore iconified frames.
1826 (desktop--filter-iconified-position): New function.
1827 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
1828
862f1c9c
GM
18292013-07-20 Glenn Morris <rgm@gnu.org>
1830
c4074c9f
GM
1831 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
1832 Let `message' do the formatting.
1833 (def-gdb-preempt-display-buffer): Add explicit format.
1834
d828e5f9
GM
1835 * image-dired.el (image-dired-track-original-file):
1836 Use with-current-buffer.
1837 (image-dired-track-thumbnail): Use with-current-buffer.
1838 Avoid changing point of wrong window.
1839
862f1c9c
GM
1840 * image-dired.el (image-dired-track-original-file):
1841 Avoid changing point of wrong window. (Bug#14909)
1842
f0398ec1 18432013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
1844
1845 * progmodes/gdb-mi.el (gdb-done-or-error):
1846 Guard against "%" in gdb output. (Bug#14127)
1847
1451928f
AS
18482013-07-20 Andreas Schwab <schwab@linux-m68k.org>
1849
763a086d
JB
1850 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
1851 (Bug#14826)
f7a03897 1852
1451928f
AS
1853 * international/mule.el (coding-system-iso-2022-flags): Fix last
1854 change.
1855
99107004
KH
18562013-07-20 Kenichi Handa <handa@gnu.org>
1857
763a086d
JB
1858 * international/mule.el (coding-system-iso-2022-flags):
1859 Add `8-bit-level-4'. (Bug#8522)
99107004 1860
48494e06
LMI
18612013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
1862
8ba8eec5
LMI
1863 * net/shr.el (shr-mouse-browse-url): New command and keystroke
1864 (bug#14815).
1865
dfbc66e3
LMI
1866 * net/eww.el (eww-process-text-input): Allow inputting when the
1867 point is at the start of the line, as the properties aren't
1868 front-sticky.
1869
48494e06
LMI
1870 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
1871 degenerate widths.
1872
77c92cb9
RS
18732013-07-19 Richard Stallman <rms@gnu.org>
1874
aec7da77
RS
1875 * epa.el (epa-popup-info-window): Doc fix.
1876
77c92cb9
RS
1877 * subr.el (split-string): New arg TRIM.
1878
945c5bb1
JB
18792013-07-18 Juanma Barranquero <lekktu@gmail.com>
1880
1881 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
1882 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
1883
e06ec67f
MA
18842013-07-18 Michael Albinus <michael.albinus@gmx.de>
1885
c7064f05 1886 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
1887 `file-notify-support'. Do not autoload. Adapt all uses.
1888 (file-notify-supported-p): New defun.
1889
c7064f05
JB
1890 * autorevert.el (auto-revert-use-notify):
1891 Use `file-notify-supported-p' instead of `file-notify-support'.
1892 Adapt docstring.
e06ec67f
MA
1893 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
1894
1895 * net/tramp.el (tramp-file-name-for-operation):
1896 Add `file-notify-supported-p'.
1897
1898 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
1899 New defun.
1900 (tramp-sh-file-name-handler-alist): Add it as handler for
1901 `file-notify-supported-p '.
1902
1903 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1904 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1905 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1906 Add `ignore' as handler for `file-notify-*' functions.
1907
5dc8a629
EZ
19082013-07-17 Eli Zaretskii <eliz@gnu.org>
1909
1910 * simple.el (line-move-partial, line-move): Don't start vscroll or
1911 scroll-up if the current line is not taller than the window.
1912 (Bug#14881)
1913
77aea2fb
DG
19142013-07-16 Dmitry Gutov <dgutov@yandex.ru>
1915
1916 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
1917 highlight question marks in the method names as strings.
ac72c08d
DG
1918 (ruby-block-beg-keywords): Inline.
1919 (ruby-font-lock-keyword-beg-re): Extract from
1920 `ruby-font-lock-keywords'.
77aea2fb 1921
18c26d81
JD
19222013-07-16 Jan Djärv <jan.h.d@swipnet.se>
1923
1924 * frame.el (blink-cursor-blinks): New defcustom.
1925 (blink-cursor-blinks-done): New defvar.
1926 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
1927 (blink-cursor-timer-function): Check if number of blinks has been
1928 done on X and NS.
1929 (blink-cursor-suspend, blink-cursor-check): New defuns.
1930
da48522e
GM
19312013-07-15 Glenn Morris <rgm@gnu.org>
1932
1933 * edmacro.el (edmacro-format-keys): Fix previous change.
1934
0463c1ef
PE
19352013-07-15 Paul Eggert <eggert@cs.ucla.edu>
1936
1937 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
1938 The hack didn't work outside English locales anyway.
1939
b43f6451
JB
19402013-07-15 Juanma Barranquero <lekktu@gmail.com>
1941
1942 * simple.el (define-alternatives): Rename from alternatives-define,
1943 per RMS' suggestion.
1944
b958c0ad
JB
19452013-07-14 Juanma Barranquero <lekktu@gmail.com>
1946
1947 * desktop.el (desktop-restore-frames): Change default to t.
1948 (desktop-restore-in-current-display): Now offer more options.
1949 (desktop-restoring-reuses-frames): New customization option.
1950 (desktop--saved-states): Doc fix.
1951 (desktop-filter-parameters-alist): New variable, renamed and expanded
1952 from desktop--excluded-frame-parameters.
1953 (desktop--target-display): New variable.
1954 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
1955 (desktop--filter-tty*, desktop--filter-*-color)
1956 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
1957 (desktop--filter-save-desktop-parm)
1958 (desktop-restore-in-original-display-p): New functions.
1959 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
1960 (desktop--save-minibuffer-frames): New function, inspired by a similar
1961 function from Martin Rudalics.
1962 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
1963 (desktop--restore-in-this-display-p): Remove.
1964 (desktop--find-frame): Rename from desktop--find-frame-in-display
1965 and add predicate argument.
1966 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
1967 (desktop--reuse-list): New variable.
1968 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
1969 New functions.
1970 (desktop--restore-frames): Add support for "minibuffer-special" frames.
1971
f6dd8b36
MA
19722013-07-14 Michael Albinus <michael.albinus@gmx.de>
1973
1974 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
1975
2ce3c565
DG
19762013-07-13 Dmitry Gutov <dgutov@yandex.ru>
1977
763a086d
JB
1978 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1979 Highlight conversion methods on Kernel.
2ce3c565 1980
2cdb7698
AM
19812013-07-13 Alan Mackenzie <acm@muc.de>
1982
1983 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
1984 and comment it out. This out-commenting enables certain C++
1985 declarations to be parsed correctly.
1986
1a67b811
EZ
19872013-07-13 Eli Zaretskii <eliz@gnu.org>
1988
1b796d6b
EZ
1989 * international/mule.el (define-coding-system): Doc fix.
1990
1a67b811
EZ
1991 * simple.el (default-font-height): Don't call font-info if the
1992 frame's default font didn't change since the frame was created.
1993 (Bug#14838)
1994
58fbe886
LL
19952013-07-13 Leo Liu <sdl.web@gmail.com>
1996
1997 * ido.el (ido-read-file-name): Guard against non-symbol value.
1998
1f0480d4
FEG
19992013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2000
2001 * progmodes/python.el (python-imenu--build-tree): Fix corner case
2002 in nested defuns.
2003
97ead0e5
LL
20042013-07-13 Leo Liu <sdl.web@gmail.com>
2005
2006 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
2007 ido-set-matches call. (Bug#6852)
2008
0880a952
DG
20092013-07-12 Dmitry Gutov <dgutov@yandex.ru>
2010
2011 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
2012 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
2013 Ruby 2.0.
2014 (ruby-font-lock-keywords): Distinguish calls to functions with
2015 module-like names from module references. Highlight character
2016 literals.
2017
a7d8babb
SDJ
20182013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
2019
2020 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 2021 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 2022
acfcc8c5
JB
20232013-07-12 Juanma Barranquero <lekktu@gmail.com>
2024
2025 * desktop.el (desktop--v2s): Remove unused local variable.
2026 (desktop-save-buffer): Make defvar-local; adjust docstring.
2027 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
2028 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
2029
051f2775
AS
20302013-07-12 Andreas Schwab <schwab@linux-m68k.org>
2031
2032 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
2033
f24e7572
GM
20342013-07-12 Eli Zaretskii <eliz@gnu.org>
2035
2036 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
2037 (Bug#14842)
2038
539a920c
GM
20392013-07-12 Glenn Morris <rgm@gnu.org>
2040
2041 * doc-view.el: Require cl-lib at runtime too.
2042 (doc-view-remove-if): Remove.
2043 (doc-view-search-next-match, doc-view-search-previous-match):
2044 Use cl-remove-if.
2045
2046 * edmacro.el: Require cl-lib at runtime too.
2047 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
2048 (edmacro-mismatch, edmacro-subseq): Remove.
2049
2050 * shadowfile.el: Require cl-lib.
2051 (shadow-remove-if): Remove.
2052 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
2053 Use cl-remove-if.
2054
2055 * wid-edit.el: Require cl-lib.
2056 (widget-choose): Use cl-remove-if.
2057 (widget-remove-if): Remove.
2058
2059 * progmodes/ebrowse.el: Require cl-lib at runtime too.
2060 (ebrowse-delete-if-not): Remove.
2061 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
2062 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
2063 Use cl-delete-if-not.
2064
1048af7c
JB
20652013-07-12 Juanma Barranquero <lekktu@gmail.com>
2066
2067 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
2068 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
2069
6c0674ee
LL
20702013-07-12 Leo Liu <sdl.web@gmail.com>
2071
2072 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
2073
a19b3c2d
GM
20742013-07-11 Glenn Morris <rgm@gnu.org>
2075
4582a01c
GM
2076 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
2077 (edebug-gensym-index, edebug-gensym):
2078 Remove reimplementation of cl-gensym.
2079 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
2080
2081 * thumbs.el: Require cl-lib at run-time too.
2082 (thumbs-gensym-counter, thumbs-gensym):
2083 Remove reimplementation of cl-gensym.
2084 (thumbs-temp-file): Use cl-gensym.
2085
a19b3c2d
GM
2086 * emacs-lisp/ert.el: Require cl-lib at runtime too.
2087 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
2088 (ert--intersection, ert--set-difference, ert--set-difference-eq)
2089 (ert--union, ert--gensym-counter, ert--gensym-counter)
2090 (ert--coerce-to-vector, ert--remove*, ert--string-position)
2091 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
2092 (ert-make-test-unbound, ert--expand-should-1)
2093 (ert--expand-should, ert--should-error-handle-error)
2094 (should-error, ert--explain-equal-rec)
2095 (ert--plist-difference-explanation, ert-select-tests)
2096 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
2097 Use cl-lib functions rather than reimplementations.
2098
88f6a933
MA
20992013-07-11 Michael Albinus <michael.albinus@gmx.de>
2100
2101 * net/tramp.el (tramp-methods): Extend docstring.
2102 (tramp-connection-timeout): New defcustom.
2103 (tramp-error-with-buffer): Reset timestamp only when appropriate.
2104 (with-tramp-progress-reporter): Simplify.
2105 (tramp-process-actions): Improve messages.
2106
2107 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2108 * net/tramp-sh.el (tramp-maybe-open-connection):
2109 Use `tramp-connection-timeout'.
2110 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
2111 (Bug#14808)
2112
a43d577e
LL
21132013-07-11 Leo Liu <sdl.web@gmail.com>
2114
2115 * ido.el (ido-read-file-name): Conform to the requirements of
2116 read-file-name. (Bug#11861)
2117 (ido-read-directory-name): Conform to the requirements of
2118 read-directory-name.
2119
d77974bf
JB
21202013-07-11 Juanma Barranquero <lekktu@gmail.com>
2121
2122 * subr.el (delay-warning): New function.
2123
35cb8a3e
EZ
21242013-07-10 Eli Zaretskii <eliz@gnu.org>
2125
2126 * simple.el (default-line-height): New function.
2127 (line-move-partial, line-move): Use it instead of computing the
2128 line height inline.
2129 (line-move-partial): Always compute ROWH. If the last line is
2130 partially-visible, but its text is completely visible, allow
2131 cursor to enter such a partially-visible line.
2132
525c5c77
MA
21332013-07-10 Michael Albinus <michael.albinus@gmx.de>
2134
2135 Improve error messages. (Bug#14808)
2136
2137 * net/tramp.el (tramp-current-connection): New defvar, moved from
2138 tramp-sh.el.
0ac26976 2139 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 2140 needed anymore.
0ac26976
SM
2141 (tramp-error-with-buffer): Show message in minibuffer.
2142 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
2143 (with-tramp-progress-reporter): Improve messages.
2144 (tramp-process-actions): Use progress reporter. Delete process in
2145 case of error. Improve messages.
2146
763a086d
JB
2147 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
2148 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 2149 (tramp-current-connection): Remove.
525c5c77
MA
2150 (tramp-maybe-open-connection): The car of
2151 `tramp-current-connection' are the first 3 slots of the vector.
2152
c7a4d368
TZ
21532013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
2154
2155 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
2156 inside continued strings.
2157
954b166e
PE
21582013-07-10 Paul Eggert <eggert@cs.ucla.edu>
2159
2160 Timestamp fixes for undo (Bug#14824).
2161 * files.el (clear-visited-file-modtime): Move here from fileio.c.
2162
56973319
LL
21632013-07-10 Leo Liu <sdl.web@gmail.com>
2164
2165 * files.el (require-final-newline): Allow safe local value.
2166 (Bug#14834)
2167
5550a72c
LL
21682013-07-09 Leo Liu <sdl.web@gmail.com>
2169
2170 * ido.el (ido-read-directory-name): Handle fallback.
2171 (ido-read-file-name): Update DIR to ido-current-directory.
2172 (Bug#1516)
c28b9050 2173 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 2174
70c46b28
DG
21752013-07-09 Dmitry Gutov <dgutov@yandex.ru>
2176
2177 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
2178 "autoload". Remove "warn lower camel case" section, previously
2179 commented out. Highlight negation char. Do not highlight the
2180 target in singleton method definitions.
2181
0b64b838
SM
21822013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
2183
7fd72e2c
SM
2184 * faces.el (tty-setup-hook): Declare the hook.
2185
0b64b838
SM
2186 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
2187 and detect when a guard/pred depends on local vars (bug#14773).
2188 (pcase--u1): Adjust caller.
2189
ab49d60b
EZ
21902013-07-08 Eli Zaretskii <eliz@gnu.org>
2191
2192 * simple.el (line-move-partial, line-move): Account for
2193 line-spacing.
701d79aa
EZ
2194 (line-move-partial): Avoid setting vscroll when the last
2195 partially-visible line in window is of default height.
ab49d60b 2196
2d756ae0
LMI
21972013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
2198
2199 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
2200 been used a while.
2201
ed095bd7
JB
22022013-07-07 Juanma Barranquero <lekktu@gmail.com>
2203
2204 * subr.el (read-quoted-char): Remove unused local variable `char'.
2205
f1e6674b
MK
22062013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
2207
584ee3fc
GM
2208 * ediff.el (ediff-version): Version update.
2209 (ediff-files-command, ediff3-files-command, ediff-merge-command)
2210 (ediff-merge-with-ancestor-command, ediff-directories-command)
2211 (ediff-directories3-command, ediff-merge-directories-command)
2212 (ediff-merge-directories-with-ancestor-command): New functions.
2213 All are command-line interfaces to ediff: to facilitate calling
2214 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
2215
2216 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
2217 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 2218
584ee3fc
GM
2219 * viper.el (viper-version): Version update.
2220 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 2221
584ee3fc
GM
22222013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
2223
2224 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
2225 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
2226 (viper-intercept-ESC-key): Simplify.
2227 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
2228 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
2229 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
2230 (viper-setup-ESC-to-escape): New functions.
2231 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
2232 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 2233
9aff9b38
EZ
22342013-07-07 Eli Zaretskii <eliz@gnu.org>
2235
5165d44a
JB
2236 * simple.el (default-font-height, window-screen-lines):
2237 New functions.
9aff9b38
EZ
2238 (line-move, line-move-partial): Use them instead of
2239 frame-char-height and window-text-height. This makes scrolling
2240 text smoother when the buffer's default face uses a font that is
2241 different from the frame's default font.
2242
1afb1d07
JD
22432013-07-06 Jan Djärv <jan.h.d@swipnet.se>
2244
2245 * files.el (write-file): Do not display confirm dialog for NS,
2246 it does its own dialog, which can't be cancelled (Bug#14578).
2247
23de972a
EZ
22482013-07-06 Eli Zaretskii <eliz@gnu.org>
2249
2250 * simple.el (line-move-partial): Adjust the row returned by
2251 posn-at-point for the current window-vscroll. (Bug#14567)
2252
54a42486
MA
22532013-07-06 Michael Albinus <michael.albinus@gmx.de>
2254
2255 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
2256 (tramp-sh-file-inotifywait-process-filter): Handle file names with
2257 spaces.
2258
34ada5f4
MR
22592013-07-06 Martin Rudalics <rudalics@gmx.at>
2260
2261 * window.el (window-state-put-stale-windows): New variable.
2262 (window--state-put-2): Save list of windows without matching buffer.
2263 (window-state-put): Remove "bufferless" windows if possible.
2264
11e03d89
JB
22652013-07-06 Juanma Barranquero <lekktu@gmail.com>
2266
2267 * simple.el (alternatives-define): Remove leftover :group keyword.
2268 Tweak docstring.
2269
3504a4be
LL
22702013-07-06 Leo Liu <sdl.web@gmail.com>
2271
2272 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
2273 (ido-enable-virtual-buffers): New variable.
2274 (ido-buffer-internal, ido-toggle-virtual-buffers)
2275 (ido-make-buffer-list): Use it.
2276 (ido-exhibit): Support turning on and off virtual buffers
2277 automatically.
2278
61e56e2c
JB
22792013-07-06 Juanma Barranquero <lekktu@gmail.com>
2280
2281 * simple.el (alternatives-define): New macro.
2282
321e1a9c
SM
22832013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
2284
2285 * subr.el (read-quoted-char): Use read-key.
2286 (sit-for): Let read-event decode tty input (bug#14782).
2287
d610f6dd
SB
22882013-07-05 Stephen Berman <stephen.berman@gmx.net>
2289
2290 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
2291 mode command and externally. Fix various related bugs.
2292 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
2293 (todo-delete-file): New command.
2294 (todo-check-file): New function.
2295 (todo-show): Handle external deletion of the file we're trying to
2296 show (bug#14688). Replace called-interactively-p by an optional
2297 prefix argument to avoid problematic interaction with catch form
2298 when byte compiled (bug#14702).
2299 (todo-quit): Handle external deletion of the archive's todo file.
2300 Make sure the buffer that was visiting the archive file is still
2301 live before trying to bury it.
2302 (todo-category-completions): Handle external deletion of any
2303 category completion files.
2304 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
2305 of todo files, in case of external deletion.
2306 (todo-add-file): Replace unnecessary setq by let-binding.
2307 (todo-find-archive): Check whether there are any archives.
2308 Replace unnecessary setq by let-binding.
2309 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
2310 archive buffer whether or not the archive already exists.
2311 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
2312 check if the archive is new; if it is, update list of archives.
2313 (todo-default-todo-file): Allow nil to be a valid value for when
2314 there are no todo files.
2315 (todo-reevaluate-default-file-defcustom): Use corrected definition
2316 of todo-default-todo-file.
2317 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
2318 (todo-delete-category, todo-show-categories-table)
2319 (todo-category-number): Clarify comment.
2320 (todo-filter-items): Clarify documentation string.
2321 (todo-show-current-file, todo-display-as-todo-file)
2322 (todo-reset-and-enable-done-separator): Tweak documentation string.
2323 (todo-done-separator): Make separator length window-width, since
2324 bug#2749 is now fixed.
2325
ddbdfd6f
MA
23262013-07-05 Michael Albinus <michael.albinus@gmx.de>
2327
321e1a9c
SM
2328 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2329 Support both "gvfs-monitor-dir" and "inotifywait".
2330 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
2331 `tramp-sh-file-notify-process-filter'.
2332 (tramp-sh-file-gvfs-monitor-dir-process-filter)
2333 (tramp-get-remote-gvfs-monitor-dir): New defuns.
2334
96eb829a
LL
23352013-07-05 Leo Liu <sdl.web@gmail.com>
2336
2337 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
2338
cf13177e
YM
23392013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2340
2341 * frame.el (display-pixel-height, display-pixel-width)
2342 (display-mm-height, display-mm-width): Mention behavior on
2343 multi-monitor setups in docstrings.
2344 (w32-display-monitor-attributes-list): Declare function.
2345 (display-monitor-attributes-list): Use it.
2346
864c58ca
MA
23472013-07-04 Michael Albinus <michael.albinus@gmx.de>
2348
2349 * filenotify.el: New package.
2350
2351 * autorevert.el (top): Require filenotify.el.
2352 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
2353 instead.
2354 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
2355 (auto-revert-notify-handler): Use `file-notify-*' functions.
2356
2357 * subr.el (file-notify-handle-event): Move function to filenotify.el.
2358
321e1a9c
SM
2359 * net/tramp.el (tramp-file-name-for-operation):
2360 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
2361
2362 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
2363 for `file-notify-add-watch' and `file-notify-rm-watch'.
2364 (tramp-process-sentinel): Improve trace.
2365 (tramp-sh-handle-file-notify-add-watch)
2366 (tramp-sh-file-notify-process-filter)
2367 (tramp-sh-handle-file-notify-rm-watch)
2368 (tramp-get-remote-inotifywait): New defuns.
2369
96673afe
JL
23702013-07-03 Juri Linkov <juri@jurta.org>
2371
2372 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
2373 call of `occur-read-primary-args' to interactive spec.
2374
2375 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
2376 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
2377
924494f4
MM
23782013-07-03 Matthias Meulien <orontee@gmail.com>
2379
2380 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
2381 `Buffer-menu-multi-occur'. Add it to the menu.
2382 (Buffer-menu-mode): Document it in docstring.
2383 (Buffer-menu-multi-occur): New command. (Bug#14673)
2384
56f75efc
DG
23852013-07-03 Dmitry Gutov <dgutov@yandex.ru>
2386
2387 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
2388 keywords and built-ins.
2389
9b057d61
GM
23902013-07-03 Glenn Morris <rgm@gnu.org>
2391
208dee4d
GM
2392 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
2393
9b057d61
GM
2394 Make info-xref checks case-sensitive by default
2395 * info.el (Info-find-node, Info-find-in-tag-table)
2396 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
2397 Add option for exact case matching of nodes.
2398 * info-xref.el (info-xref): New custom group.
2399 (info-xref-case-fold): New option.
2400 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
2401
e01aa29c
LL
24022013-07-03 Leo Liu <sdl.web@gmail.com>
2403
2404 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
2405
3086ca2e
DG
24062013-07-03 Dmitry Gutov <dgutov@yandex.ru>
2407
2408 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
2409 middle of block statement initially, lower the depth. Remove
2410 FIXME comment, not longer valid. Remove middle of block statement
2411 detection, no need to do that anymore since we've been using
2412 `ruby-parse-region' here.
2413
a3b49114
JD
24142013-07-02 Jan Djärv <jan.h.d@swipnet.se>
2415
2416 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
2417
08e5c823 24182013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
2419
2420 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
2421
2addf922
JB
24222013-07-01 Juanma Barranquero <lekktu@gmail.com>
2423
2424 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
2425 (desktop-restore-in-current-display): New customization option.
2426 (desktop--excluded-frame-parameters): Add `font'.
2427 (desktop--save-frames): Rename from desktop--save-windows.
2428 (desktop--restore-in-this-display-p): New function.
2429 (desktop--make-full-frame): Remove unwanted width/height from
2430 full(width|height) frames.
2431 (desktop--restore-frames): Rename from desktop--restore-windows.
2432 Obey desktop-restore-current-display. Do not delete old frames or
2433 select a new frame unless we were able to restore at least one frame.
2434
ef099a94
MN
24352013-06-30 Michal Nazarewicz <mina86@mina86.com>
2436
2437 * files.el (find-file-noselect): Simplify conditional expression.
2438
2439 * remember.el (remember-append-to-file):
2440 Don't mix `find-buffer-visiting' and `get-file-buffer'.
2441
2442 Add `remember-notes' function to store random notes across Emacs
2443 restarts.
2444 * remember.el (remember-data-file): Add :set callback to affect
2445 notes buffer (if any).
2446 (remember-notes): New command.
2447 (remember-notes-buffer-name, bury-remember-notes-on-kill):
2448 New defcustoms for the `remember-notes' function.
2449 (remember-notes-save-and-bury-buffer): New command.
2450 (remember-notes-mode-map): New variable.
2451 (remember-mode): New minor mode.
2452 (remember-notes--kill-buffer-query): New function.
2453 * startup.el (initial-buffer-choice): Add notes to custom type.
2454
0865d506
EZ
24552013-06-30 Eli Zaretskii <eliz@gnu.org>
2456
0ba54312
EZ
2457 * bindings.el (right-char, left-char): Don't call sit-for, this is
2458 no longer needed. Use arithmetic comparison only for numerical
2459 arguments.
2460
ef099a94
MN
2461 * international/mule-cmds.el (select-safe-coding-system):
2462 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 2463
2fae38e5
LMI
24642013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
2465
2466 * net/shr.el (shr-make-table-1): Add a sanity check that allows
2467 progression on degenerate tables.
ef099a94 2468 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 2469
a47cbd64
JB
24702013-06-30 Juanma Barranquero <lekktu@gmail.com>
2471
2472 Some fixes and improvements for desktop frame restoration.
2473 It is still experimental and disabled by default.
2474 * desktop.el (desktop--save-windows): Put the selected frame at
2475 the head of the list.
2476 (desktop--make-full-frame): New function.
2477 (desktop--restore-windows): Try to re-select the frame that was
2478 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
2479 just show an error message and continue. Set up maximized frames
2480 so they have default non-maximized dimensions.
a47cbd64 2481
6dbafa30
DG
24822013-06-30 Dmitry Gutov <dgutov@yandex.ru>
2483
ef099a94
MN
2484 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2485 Don't start heredoc inside a string or comment.
6dbafa30 2486
4c672a0f
EZ
24872013-06-29 Eli Zaretskii <eliz@gnu.org>
2488
2489 * bindings.el (visual-order-cursor-movement): New defcustom.
2490 (right-char, left-char): Provide visual-order cursor motion by
2491 calling move-point-visually. Update the doc strings.
2492
50960f36
KH
24932013-06-28 Kenichi Handa <handa@gnu.org>
2494
2495 * international/mule.el (define-coding-system): New coding system
2496 properties :inhibit-null-byte-detection,
2497 :inhibit-iso-escape-detection, and :prefer-utf-8.
2498 (set-buffer-file-coding-system): If :charset-list property of
2499 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
2500 appropriate for setting.
2501
c1ea3abf
JB
2502 * international/mule-cmds.el (select-safe-coding-system):
2503 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
2504 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
2505
2506 * international/mule-conf.el (prefer-utf-8): New coding system.
2507 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
2508 files.
2509
75dbaf9d
IK
25102013-06-28 Ivan Kanis <ivan@kanis.fr>
2511
eadb6068
IK
2512 * net/shr.el (shr-render-region): New function.
2513
75dbaf9d
IK
2514 * net/eww.el: Autoload `eww-browse-url'.
2515
9ea5cf9f
DG
25162013-06-27 Dmitry Gutov <dgutov@yandex.ru>
2517
c1ea3abf
JB
2518 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2519 Adapt to `package-desc-version' being a list.
2520 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
2521 archive element.
2522
39c0e36f
JB
25232013-06-27 Juanma Barranquero <lekktu@gmail.com>
2524
2525 New experimental feature to save&restore window and frame setup.
2526 * desktop.el (desktop-save-windows): New defcustom.
2527 (desktop--saved-states): New var.
2528 (desktop--excluded-frame-parameters): New defconst.
2529 (desktop--filter-frame-parms, desktop--find-frame-in-display)
2530 (desktop--restore-windows, desktop--save-windows): New functions.
2531 (desktop-save): Call `desktop--save-windows'.
2532 (desktop-read): Call `desktop--restore-windows'.
2533
7f13406b
LMI
25342013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
2535
ef099a94 2536 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 2537
1e072639
SB
25382013-06-27 Stephen Berman <stephen.berman@gmx.net>
2539
2540 * info.el (Info-try-follow-nearest-node): Move search for footnote
2541 above search for node name to prevent missing a footnote (bug#14717).
2542
f3e2cbde
SB
25432013-06-27 Stephen Berman <stephen.berman@gmx.net>
2544
2545 * obsolete/otodo-mode.el: Add obsolescence info to file header.
2546
99906aa0
LL
25472013-06-27 Leo Liu <sdl.web@gmail.com>
2548
2549 * net/eww.el (eww-read-bookmarks): Check file size.
2550
539f75f4
SM
25512013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
2552
2553 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
2554 advice--pending if newdef is nil or an autoload (bug#13820).
2555 (advice-mapc): New function.
2556
843571cb
LMI
25572013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
2558
2559 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
2560 probably.
23a75d7f 2561 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
2562 (eww-add-bookmark): New command.
2563 (eww-bookmark-mode): New mode and commands.
a285ce99 2564 (eww-add-bookmark): Remove newlines from the title.
47fd571b 2565 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 2566
f2136e1e
GM
25672013-06-26 Glenn Morris <rgm@gnu.org>
2568
eab35f39
GM
2569 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
2570 (hfy-size): Handle ttys. (Bug#14668)
2571
f2136e1e
GM
2572 * info-xref.el: Update for Texinfo 5 change in *note format.
2573 (info-xref-node-re, info-xref-note-re): New constants.
2574 (info-xref-check-buffer): Use info-xref-note-re.
2575
a49ff80c
SM
25762013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
2577
a343d218
SM
2578 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
2579
a49ff80c
SM
2580 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
2581 nil terminate the loop (bug#14718).
2582
8308f184
LMI
25832013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
2584
2585 * net/eww.el: Rework history traversal. When going forward/back,
2586 put these actions into the history, too, so that they can be
2587 replayed.
26bf2b82 2588 (eww-render): Move the history reset to the correct buffer.
8308f184 2589
ec64c273
JL
25902013-06-25 Juri Linkov <juri@jurta.org>
2591
2592 * files-x.el (modify-dir-local-variable): Change the header comment
2593 in the file with directory local variables. (Bug#14692)
2594
e080a9d7
JL
2595 * files-x.el (read-file-local-variable-value): Add `default'.
2596 (Bug#14710)
2597
bfbc93a1
IK
25982013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
2599
2600 * net/eww.el (eww-make-unique-file-name): Create a unique file
2601 name before saving to entering `y' accidentally asynchronously.
2602
26032013-06-25 Ivan Kanis <ivan@kanis.fr>
2604
2605 * net/eww.el (eww-download): New command and keystroke.
2606
16f74f10
LMI
26072013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
2608
a49ff80c 2609 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
2610
2611 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
2612 be more consistent with Info and dired.
2613
2614 * net/eww.el (eww-mode-map): Ditto.
2615
12059709
SM
26162013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
2617
2618 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
2619 packages from archives.
2620 (package-archive-contents): Change format; include obsolete packages.
2621 (package-desc): Use `dir' to mark builtin packages.
2622 (package--from-builtin): Set the `dir' field to `builtin'.
2623 (generated-autoload-file, version-control): Declare.
2624 (package-compute-transaction): Change first arg and return value to be
2625 lists of package-descs. Adjust to new package-archive-contents format.
2626 (package--add-to-archive-contents): Adjust to new
2627 package-archive-contents format.
2628 (package-download-transaction): Arg is now a list of package-descs.
2629 (package-install): If `pkg' is a package name, pass it as
2630 a requirement, so it is subject to the usual (e.g. disabled) checks.
2631 (describe-package): Accept package-desc as well.
2632 (describe-package-1): Describe a specific package-desc. Add links to
2633 other package-descs for the same package name.
2634 (package-menu-describe-package): Pass the actual package-desc.
2635 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
2636 works correctly.
2637 (package-desc-status): New function.
2638 (package-menu--refresh): New function, extracted
2639 from package-menu--generate.
2640 (package-menu--generate): Use it.
2641 (package-delete): Update package-alist.
2642 (package-menu-execute): Don't call package-initialize.
2643
2644 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
2645 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
2646 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
2647 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
2648 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
2649 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
2650
8bbdea0f
MR
26512013-06-25 Martin Rudalics <rudalics@gmx.at>
2652
2653 * window.el (window--state-get-1): Workaround for bug#14527.
2654 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
2655
e82b0991
LMI
26562013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
2657
2658 * net/eww.el (eww-back-url): Implement the history by stashing all
2659 the data into a list.
d3f0f918 2660 (eww-forward-url): Allow going forward in the history, too.
e82b0991 2661
c763842b
SM
26622013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
2663
2664 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
2665 for values and use read--expression for expressions (bug#14710).
2666 (read-file-local-variable): Avoid setq.
2667 (read-file-local-variable-mode): Use minor-mode-list.
2668
bceff189
RW
26692013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2670
864c58ca 2671 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
2672 for DOI URLs.
2673
45f431c6
RW
26742013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2675
864c58ca 2676 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
2677 Update imenu-support when dialect changes.
2678
f42d8237
LL
26792013-06-25 Leo Liu <sdl.web@gmail.com>
2680
2681 * ido.el (ido-read-internal): Allow forward slash on windows.
2682
be549ce6
LMI
26832013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
2684
2685 * net/eww.el (eww): Start of strings is \\`, not ^.
2686
71d4c19d
IK
26872013-06-24 Ivan Kanis <ivan@kanis.fr>
2688
5196f88a
IK
2689 * net/shr.el (shr-browse-url): Fix interactive spec.
2690
71d4c19d
IK
2691 * net/eww.el (eww): Add a trailing slash to domain names.
2692
ae36ca55
JB
26932013-06-24 Juanma Barranquero <lekktu@gmail.com>
2694
2695 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
2696
0ebd92a3
LMI
26972013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
2698
bdaa086b
LMI
2699 * net/shr.el (shr-browse-url): Use an external browser if given a
2700 prefix.
2701
c763842b 2702 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 2703
b89fc156
IK
27042013-06-24 Ivan Kanis <ivan@kanis.fr>
2705
2706 * net/eww.el (eww): Work more correctly for file: URLs.
2707 (eww-detect-charset): Allow quoted charsets.
2708 (eww-yank-page-url): New command and keystroke.
2709
18eb4bca
DU
27102013-06-24 Daiki Ueno <ueno@gnu.org>
2711
2712 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
2713 file name of gpg executable.
2714 (epg-context-program): New function.
2715 (epg-context-home-directory): New function.
2716 (epg-context-set-program): New function.
2717 (epg-context-set-home-directory): New function.
2718 (epg--start): Use `epg-context-program' instead of
2719 'epg-gpg-program'.
2720 (epg--list-keys-1): Likewise.
2721
6c6268c8
LL
27222013-06-24 Leo Liu <sdl.web@gmail.com>
2723
2724 * ido.el (ido-read-internal): Fix bug#14620.
2725
5e400cb3
JB
27262013-06-23 Juanma Barranquero <lekktu@gmail.com>
2727
2728 * faces.el (face-documentation): Simplify.
2729 (read-face-attribute, tty-find-type, x-resolve-font-name):
2730 Use `string-match-p'.
2731 (list-faces-display): Use `string-match-p'. Simplify.
2732 (face-spec-recalc): Check face to avoid face alias loops.
2733 (read-color): Use `string-match-p' and non-capturing parenthesis.
2734
f3f9606c
LMI
27352013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
2736
2737 * net/shr.el (shr-rescale-image): Use the new
2738 :max-width/:max-height functionality.
2739
a3ca09b9
IK
27402013-06-23 Ivan Kanis <ivan@kanis.fr>
2741
2742 * net/eww.el (eww-search-prefix): New variable.
2743 (eww): Use it.
f865b474
IK
2744 (eww-external-browser): New variable.
2745 (eww-mode-map): New keystroke.
2746 (eww-browse-with-external-browser): New command.
a3ca09b9 2747
e854cfc7
IK
2748 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
2749
18bb9e21
JB
27502013-06-23 Juanma Barranquero <lekktu@gmail.com>
2751
2752 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
2753 Don't skip aligning the next header field when padding is 0;
2754 otherwise, field width is not respected unless the title is as
2755 wide as the field.
2756
5b165ade
SM
27572013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
2758
2759 * emacs-lisp/package.el (package-el-version): Remove.
2760 (package-process-define-package): Fix inf-loop.
2761 (package-install): Allow symbols as arguments again.
2762
12adebe9
DG
27632013-06-22 Dmitry Gutov <dgutov@yandex.ru>
2764
2765 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
2766 add some more keyword-like methods.
2767 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
2768
388573ee
JB
27692013-06-22 Juanma Barranquero <lekktu@gmail.com>
2770
2771 * bs.el (bs-buffer-show-mark): Make defvar-local.
2772 (bs-mode): Use setq-local.
2773
2774 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
2775 (emacs-lock--try-unlocking): Make defvar-local.
2776
4582a01c 27772013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 2778
2663dd23
GM
2779 * play/cookie1.el (cookie-apropos): Minor simplification.
2780
3d94f3ad
GM
2781 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
2782
f72e2fdb
DG
27832013-06-22 Dmitry Gutov <dgutov@yandex.ru>
2784
2785 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
2786 `regexp-opt', it breaks the build during dumping.
2787
73eab938
DG
27882013-06-21 Dmitry Gutov <dgutov@yandex.ru>
2789
c763842b
SM
2790 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2791 Highlight keyword-like methods on Kernel and Module with
73eab938 2792 font-lock-builtin-face.
5cf8176d
DG
2793 (auto-mode-alist): Consolidate different entries into one regexp
2794 and add more *file-s.
73eab938 2795
d26255f6
SB
27962013-06-21 Stephen Berman <stephen.berman@gmx.net>
2797
2798 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
2799
2800 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
2801 (diary-entry): Use it in the action of this button type instead of
2802 diary-goto-entry.
2803
2804 * calendar/todo-mode.el: New version.
2805 (todo-add-category): Append new category to end of file and give
2806 it the highest number, instead of putting it at the beginning and
2807 giving it 0. Incorporate noninteractive functionality.
2808 (todo-forward-category): Adapt to 1-based category numbering.
2809 Allow skipping over archived categories.
2810 (todo-backward-category): Derive from todo-forward-category.
2811 (todo-backward-item, todo-forward-item): Make noninteractive and
2812 delegate interactive part to new commands. Make sensitive to done items.
2813 (todo-categories): Make value an alist of category names and
2814 vectors of item counts.
2815 (todo-category-beg): Make a defconst.
2816 (todo-category-number): Use 1 instead of 0 as initial value.
2817 (todo-category-select): Make sensitive to overlays, optional item
2818 highlighting and done items.
2819 (todo-delete-item): Make sensitive to overlays and marked and done items.
2820 (todo-edit-item): Make sensitive to overlays and editing of
2821 date/time header optional. Add format checks.
2822 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
2823 no-op if point is not on an item. Advertise using todo-edit-quit.
2824 (todo-edit-mode): Make sensitive to new format, font-locking, and
2825 multiple todo files.
2826 (todo-insert-item, todo-insert-item-here): Derive from
2827 todo-basic-insert-item and extend functionality.
2828 (todo-item-end, todo-item-start): Make sensitive to done items.
2829 (todo-item-string): Don't return text properties. Restore point.
2830 (todo-jump-to-category): Make sensitive to multiple todo files and
2831 todo archives. Use extended category completion.
2832 (todo-lower-item, todo-raise-item): Rename to *-priority and
2833 derive from todo-set-item-priority.
2834 (todo-mode): Derive from special-mode. Make sensitive to new
2835 format, font-locking and multiple todo files. Make read-only.
2836 (todo-mode-map): Don't suppress digit keys, so they can supply
2837 prefix arguments. Add many new key bindings.
2838 (todo-prefix): Insert as an overlay instead of file text.
2839 Change semantics from diary date expression to purely visual mark.
2840 (todo-print): Rename to todo-print-buffer. Make buffer display
2841 features printable. Remove option to restrict number of items
2842 printed. Add option to print to file.
2843 (todo-print-function): Rename to todo-print-buffer-function.
2844 (todo-quit): Extend to handle exiting new todo modes.
2845 (todo-remove-item): Make sensitive to overlays.
2846 (todo-save): Extend to buffers of filtered items.
2847 (todo-show): Make sensitive to done items, multiple todo files and
2848 new todo modes. Offer to convert legacy todo file before creating
2849 first new todo file.
2850 (todo-show-priorities): Rename to todo-top-priorities.
2851 Change semantics of value 0.
2852 (todo-top-priorities): Rename to todo-filter-top-priorities,
2853 derive from todo-filter-items and extend functionality.
2854 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
2855 and extend functionality to other types of filtered items.
2856 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
2857 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
2858 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
2859 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
2860 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
2861 (todo-edit-mode-hook, todo-entry-prefix-function)
2862 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
2863 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
2864 (todo-initials, todo-insert-threshold, todo-item-string-start)
2865 (todo-line-string, todo-menu, todo-mode-hook)
2866 (todo-more-important-p, todo-previous-answer, todo-previous-line)
2867 (todo-print-priorities, todo-remove-separator)
2868 (todo-save-top-priorities-too, todo-string-count-lines)
2869 (todo-string-multiline-p, todo-time-string-format)
2870 (todo-tmp-buffer-name): Remove.
2871 (todo-add-file, todo-archive-done-item, todo-choose-archive)
2872 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
2873 (todo-edit-category-diary-inclusion)
2874 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
2875 (todo-edit-file, todo-edit-item-date-day)
2876 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
2877 (todo-edit-item-date-month, todo-edit-item-date-to-today)
2878 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
2879 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
2880 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
2881 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
2882 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
2883 (todo-filter-top-priorities-multifile, todo-find-archive)
2884 (todo-find-filtered-items-file, todo-go-to-source-item)
2885 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
2886 (todo-jump-to-archive-category, todo-lower-category)
2887 (todo-mark-category, todo-marked-item-p, todo-merge-category)
2888 (todo-move-category, todo-move-item, todo-next-button)
2889 (todo-next-item, todo-padded-string, todo-powerset)
2890 (todo-previous-button, todo-previous-item)
2891 (todo-print-buffer-to-file, todo-raise-category)
2892 (todo-rename-category, todo-repair-categories-sexp, todo-search)
2893 (todo-set-category-number, todo-set-item-priority)
2894 (todo-set-top-priorities-in-category)
2895 (todo-set-top-priorities-in-file, todo-show-categories-table)
2896 (todo-sort-categories-alphabetically-or-numerically)
2897 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
2898 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
2899 (todo-toggle-item-header, todo-toggle-item-highlighting)
2900 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
2901 (todo-toggle-view-done-items, todo-toggle-view-done-only)
2902 (todo-unarchive-items, todo-unmark-category): New commands.
2903 (todo-absolute-file-name, todo-add-to-buffer-list)
2904 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
2905 (todo-basic-insert-item, todo-category-completions)
2906 (todo-category-number, todo-category-string-matcher-1)
2907 (todo-category-string-matcher-2, todo-check-filtered-items-file)
2908 (todo-check-format, todo-clear-matches)
2909 (todo-comment-string-matcher, todo-convert-legacy-date-time)
2910 (todo-current-category, todo-date-string-matcher)
2911 (todo-define-insertion-command, todo-diary-expired-matcher)
2912 (todo-diary-goto-entry, todo-diary-item-p)
2913 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
2914 (todo-display-categories, todo-display-sorted, todo-done-item-p)
2915 (todo-done-item-section-p, todo-done-separator)
2916 (todo-done-string-matcher, todo-files, todo-filter-items)
2917 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
2918 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
2919 (todo-insert-category-line, todo-insert-item-from-calendar)
2920 (todo-insert-sort-button, todo-insert-with-overlays)
2921 (todo-insertion-command-name, todo-insertion-key-bindings)
2922 (todo-label-to-key, todo-longest-category-name-length)
2923 (todo-make-categories-list, todo-mode-external-set)
2924 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
2925 (todo-modes-set-3, todo-multiple-filter-files)
2926 (todo-nondiary-marker-matcher, todo-prefix-overlays)
2927 (todo-read-category, todo-read-date, todo-read-dayname)
2928 (todo-read-file-name, todo-read-time)
2929 (todo-reevaluate-category-completions-files-defcustom)
2930 (todo-reevaluate-default-file-defcustom)
2931 (todo-reevaluate-filelist-defcustoms)
2932 (todo-reevaluate-filter-files-defcustom)
2933 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
2934 (todo-reset-done-separator, todo-reset-done-separator-string)
2935 (todo-reset-done-string, todo-reset-global-current-todo-file)
2936 (todo-reset-highlight-item, todo-reset-nondiary-marker)
2937 (todo-reset-prefix, todo-set-categories)
2938 (todo-set-date-from-calendar, todo-set-show-current-file)
2939 (todo-set-top-priorities, todo-short-file-name)
2940 (todo-show-current-file, todo-sort, todo-time-string-matcher)
2941 (todo-total-item-counts, todo-update-buffer-list)
2942 (todo-update-categories-display, todo-update-categories-sexp)
2943 (todo-update-count, todo-validate-name, todo-y-or-n-p):
2944 New functions.
2945 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
2946 New major modes.
2947 (todo-categories, todo-display, todo-edit, todo-faces)
2948 (todo-filtered): New defgroups.
2949 (todo-archived-only, todo-button, todo-category-string, todo-date)
2950 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
2951 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
2952 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
2953 (todo-add-item-if-new-category, todo-always-add-time-string)
2954 (todo-categories-align, todo-categories-archived-label)
2955 (todo-categories-category-label, todo-categories-diary-label)
2956 (todo-categories-done-label, todo-categories-number-separator)
2957 (todo-categories-todo-label, todo-categories-totals-label)
2958 (todo-category-completions-files, todo-completion-ignore-case)
2959 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
2960 (todo-done-separator-string, todo-done-string)
2961 (todo-files-function, todo-filter-done-items, todo-filter-files)
2962 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
2963 (todo-initial-category, todo-initial-file, todo-item-mark)
2964 (todo-legacy-date-time-regexp, todo-mode-line-function)
2965 (todo-nondiary-marker, todo-number-prefix)
2966 (todo-print-buffer-function, todo-show-current-file)
2967 (todo-show-done-only, todo-show-first, todo-show-with-done)
2968 (todo-skip-archived-categories, todo-top-priorities-overrides)
2969 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
2970 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
2971 New defcustoms.
2972 (todo-category-done, todo-date-pattern, todo-date-string-start)
2973 (todo-diary-items-buffer, todo-done-string-start)
2974 (todo-filtered-items-buffer, todo-item-start)
2975 (todo-month-abbrev-array, todo-month-name-array)
2976 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
2977 (todo-top-priorities-buffer): New defconsts.
2978 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
2979 (todo-categories-with-marks, todo-category-string-face)
2980 (todo-comment-face, todo-comment-string, todo-current-todo-file)
2981 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
2982 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
2983 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
2984 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
2985 (todo-font-lock-keywords, todo-global-current-todo-file)
2986 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
2987 (todo-insertion-commands-args)
2988 (todo-insertion-commands-args-genlist)
2989 (todo-insertion-commands-names, todo-insertion-map)
2990 (todo-key-bindings-t, todo-key-bindings-t+a)
2991 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
2992 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
2993 (todo-nondiary-face, todo-print-buffer, todo-time-face)
2994 (todo-visited): New variables.
2995
cad5d1cb
GM
29962013-06-21 Glenn Morris <rgm@gnu.org>
2997
2998 * play/cookie1.el (cookie-apropos): Add optional display argument.
2999 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
3000 (psychoanalyze-pinhead): Use cookie-doctor.
3001
9e277302
JB
30022013-06-21 Juanma Barranquero <lekktu@gmail.com>
3003
3004 * emacs-lisp/package.el (tar-get-file-descriptor)
3005 (tar--extract): Declare.
3006
c5b0993e
EW
30072013-06-21 Eduard Wiebe <usenet@pusto.de>
3008
3009 Extend flymake's warning predicate to be a function (bug#14217).
3010 * progmodes/flymake.el (flymake-warning-predicate): New.
3011 (flymake-parse-line): Use it.
3012 (flymake-warning-re): Make obsolete alias to
3013 `flymake-warning-predicate'.
3014
a7d2d465
SM
30152013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
3016
3017 * emacs-lisp/package.el (package-alist): Include obsolete packages.
3018 (package-obsolete-list): Remove.
3019 (package-activate): Remove min-version argument. Add `force' argument.
3020 Adjust to new package-alist format.
3021 (package-mark-obsolete): Remove.
3022 (package-unpack): Force reload of the package's autoloads.
3023 (package-installed-p): Check builtins if the installed package is not
3024 recent enough.
3025 (package-initialize): Don't reset package-obsolete-list.
3026 Don't specify which package version to activate.
3027 (package-process-define-package, describe-package-1)
3028 (package-menu--generate): Adjust to new package-alist format.
3029
cedf5c9d
JB
30302013-06-21 Juanma Barranquero <lekktu@gmail.com>
3031
3032 * allout-widgets.el (allout-widgets-mode-off)
3033 (allout-widgets-mode-on, allout-widgets-pre-command-business)
3034 (allout-widgets-post-command-business)
3035 (allout-widgets-after-copy-or-kill-function)
3036 (allout-widgets-after-undo-function, allout-test-range-overlaps)
3037 (allout-decorate-item-and-context)
3038 (allout-graphics-modification-handler): Fix typos in docstrings.
3039 (allout-get-or-create-parent-widget): Use `looking-at-p'.
3040
3041 * cmuscheme.el (scheme-start-file): Doc fix.
3042 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
3043 (scheme-input-filter): Use `string-match-p'.
3044
3045 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
3046
3047 * dired-x.el: Use Dired consistently in docstrings.
3048
3049 * dired.el: Use Dired consistently in docstrings.
3050 (dired-readin, dired-mode): Use `setq-local'.
3051 (dired-switches-alist): Make defvar-local.
3052 (dired-buffers-for-dir): Use `zerop'.
3053 (dired-safe-switches-p, dired-switches-escape-p)
3054 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
3055 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
3056 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
3057 (dired-goto-next-nontrivial-file): Use `string-match-p'.
3058 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
3059 (dired-toggle-marks, dired-mark-files-containing-regexp)
3060 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
3061 (dired-flag-auto-save-files, dired-flag-backup-files):
3062 Use `looking-at-p'.
3063 (dired-mark-files-regexp, dired-build-subdir-alist):
3064 Use `string-match-p', `looking-at-p'.
3065
3066 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
3067 (direct-print-region-helper): Use `string-match-p'.
3068
aed838b5
LL
30692013-06-21 Leo Liu <sdl.web@gmail.com>
3070
cedf5c9d
JB
3071 * comint.el (comint-redirect-results-list-from-process):
3072 Fix infinite loop.
aed838b5 3073
d80a808f
LMI
30742013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3075
3076 * net/eww.el (eww-update-header-line-format): Quote % characters.
3077
e7a526e3
GM
30782013-06-21 Glenn Morris <rgm@gnu.org>
3079
3080 * play/cookie1.el (cookie): New custom group.
3081 (cookie-file): New option.
3082 (cookie-check-file): New function.
3083 (cookie): Make it interactive. Make start and end messages optional.
3084 Interactively, display the result. Default to cookie-file.
3085 (cookie-insert): Default to cookie-file.
3086 (cookie-snarf): Make start and end messages optional.
3087 Default to cookie-file. Use with-temp-buffer.
3088 (cookie-read): Rename from read-cookie.
3089 Make start and end messages optional. Default to cookie-file.
3090 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 3091 Do not autoload it.
e7a526e3
GM
3092 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
3093 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
3094
62efb35e
LL
30952013-06-21 Leo Liu <sdl.web@gmail.com>
3096
3097 * progmodes/octave.el (octave-mode): Backward compatibility fix.
3098
21e3f963
GM
30992013-06-21 Glenn Morris <rgm@gnu.org>
3100
3101 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
3102
fd846ab4
SM
31032013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
3104 Daniel Hackney <dan@haxney.org>
3105
3106 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
3107 Consolidate the single-file vs tarball code.
3108 (package-desc-suffix): New function.
3109 (package-desc-full-name): Don't bother inlining it.
3110 (package-load-descriptor): Return the new package-desc.
3111 (package-mark-obsolete): Remove unused arg `package'.
3112 (package-unpack): Make it work for single files as well.
3113 Make it update package-alist.
3114 (package--make-autoloads-and-stuff): Rename from
3115 package--make-autoloads-and-compile. Don't compile any more.
3116 (package--compile): New function.
3117 (package-generate-description-file): New function, extracted from
3118 package-unpack-single.
3119 (package-unpack-single): Remove.
3120 (package--with-work-buffer): Add indentation and debugging info.
3121 (package-download-single): Remove.
3122 (package-install-from-archive): Rename from package-download-tar, make
3123 it take a pkg-desc, and make it work for single files as well.
3124 (package-download-transaction): Simplify.
3125 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
3126 external tar program.
3127 (package-install-from-buffer): Remove `pkg-desc' argument.
3128 Use package-tar-file-info for tar-mode buffers.
3129 (package-install-file): Simplify accordingly.
3130 (package-archive-base): Change to take a pkg-desc.
3131 * tar-mode.el (tar--check-descriptor): New function, extracted from
3132 tar-get-descriptor.
3133 (tar-get-descriptor): Use it.
3134 (tar-get-file-descriptor): New function.
3135 (tar--extract): New function, extracted from tar-extract.
3136 (tar--extract): Use it.
3137 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
3138 case the summary uses non-ascii. Adjust to new calling convention of
3139 package-tar-file-info.
3140
b7deae5e
LL
31412013-06-21 Leo Liu <sdl.web@gmail.com>
3142
fd846ab4
SM
3143 * comint.el (comint-redirect-results-list-from-process):
3144 Fix random delay. (Bug#14681)
b7deae5e 3145
7a65a0b2
JB
31462013-06-21 Juanma Barranquero <lekktu@gmail.com>
3147
3148 * profiler.el (profiler-format-number): Use log, not log10.
3149
1493c2af
JB
31502013-06-20 Juanma Barranquero <lekktu@gmail.com>
3151
3152 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
3153
aff6371e
SM
31542013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
3155
3156 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
3157 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
3158 yet available.
3159 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
3160 (AUTOGENEL): ... here.
3161 * emacs-lisp/cl-macs.el (cl--sublis): New function.
3162 (cl--defsubst-expand): Use it.
3163
89561f72
PE
31642013-06-20 Paul Eggert <eggert@cs.ucla.edu>
3165
3166 * subr.el (log10): Move here from C code, and declare as obsolete.
3167 All uses of (log10 X) replaced with (log X 10).
3168
47199123
JB
31692013-06-20 Juanma Barranquero <lekktu@gmail.com>
3170
3171 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
3172 Declare with `defvar-local'.
3173 (tabulated-list-use-header-line, tabulated-list-entries)
3174 (tabulated-list-padding, tabulated-list-printer)
3175 (tabulated-list-sort-key): Declare with `defvar-local'.
3176 (tabulated-list-init-header, tabulated-list-print-fake-header):
3177 Use `setq-local'.
3178
4a172eab
MA
31792013-06-20 Michael Albinus <michael.albinus@gmx.de>
3180
47199123
JB
3181 * arc-mode.el (archive-mode): Add `archive-write-file' to
3182 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 3183
5fc0acc0
JB
31842013-06-20 Juanma Barranquero <lekktu@gmail.com>
3185
d5b27848
JB
3186 * cus-edit.el (custom-commands): Fix typos.
3187 (custom-display): Fix tooltip text.
3188 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
3189 Fix typos in docstrings.
3190 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
3191 (custom-unlispify-menu-entry, custom-magic-value-create)
3192 (custom-add-see-also, custom-group-value-create): Use ?\s.
3193 (custom-guess-type, customize-apropos, editable-field)
3194 (custom-face-value-create): Use `string-match-p'.
3195 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
3196
3197 * custom.el (custom-load-symbol): Use `string-match-p'.
3198
a5c581d8
JB
3199 * ansi-color.el: Convert to lexical binding.
3200 (ansi-colors): Fix URL.
3201 (ansi-color-context, ansi-color-context-region): Use defvar-local.
3202 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
3203 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
3204
970ad972
G
32052013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
3206
3207 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
3208
3209 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
3210
32112013-06-19 Tom Tromey <tromey@redhat.com>
3212
3213 * net/eww.el (eww-top-url): Remove.
3214 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
3215 (eww-render): Set new variables. Don't set eww-top-url.
3216 (eww-handle-link): Handle "prev", "home", and "contents".
3217 Downcase the rel text.
3218 (eww-top-url): Choose best top URL.
3219
32202013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
3221
3222 * net/eww.el: Rewrite to implement form elements "by hand" instead of
3223 relying in widget.el. Using widget.el leads to too many
3224 user interface inconsistencies.
3225 (eww-self-insert): Implement entering commands in text fields.
3226 (eww-process-text-input): New function to make text input field editing
3227 work.
3228 (eww-submit): Rewrite to use the new-style form methods.
3229 (eww-select-display): Display the correct selected item.
3230 (eww-change-select): Implement changing the select value.
3231 (eww-toggle-checkbox): Implement radio/checkboxes.
3232 (eww-update-field): Fix compilation error.
3233 (eww-tag-textarea): Implement <textarea>.
3234
3235 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
3236 we don't shadow mode-specific bindings.
3237
3238 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
3239 nothing to push.
3240
3241 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
3242
4582a01c 32432013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
3244
3245 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
3246
15b263dc
MA
32472013-06-19 Michael Albinus <michael.albinus@gmx.de>
3248
3249 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
3250 not needed.
3251
3252 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
3253
8f5297f7
LMI
32542013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
3255
3256 * net/browse-url.el (browse-url-browser-function):
3257 `eww-browse-url' has the right calling signature, `eww' does not.
3258
011c4552
GM
32592013-06-19 Glenn Morris <rgm@gnu.org>
3260
2285bd27
GM
3261 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
3262 Only eval autoloaded macros.
3263 (byte-compile-autoload): Only give the macro warning for macros.
3264
1d653303
GM
3265 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
3266 (ps-underlined-faces): Declare.
3267
bdd779ec
GM
3268 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
3269 (speedbar-add-supported-extension): Declare.
3270
011c4552
GM
3271 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
3272 Don't include a date stamp in the header of the generated file;
3273 it leads to needless differences between output files.
3274
e59dfb0e
MA
32752013-06-19 Michael Albinus <michael.albinus@gmx.de>
3276
c763842b
SM
3277 * net/secrets.el (secrets-struct-secret-content-type):
3278 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 3279 Some servers do not offer introspection.
e59dfb0e 3280
102626e2
SM
32812013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
3282
3283 * electric.el (electric-pair-mode): Improve interaction with
3284 electric-layout-mode.
3285 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
3286 (electric-pair-syntax): Use text-mode-syntax-table in comments
3287 and strings.
3288 (electric-pair--insert): New function.
3289 (electric-pair-post-self-insert-function): Use it and
3290 electric--after-char-pos.
3291
ad528125
LL
32922013-06-19 Leo Liu <sdl.web@gmail.com>
3293
3294 * progmodes/octave.el (octave-help): Fix regexp.
3295
924d6997
G
32962013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
3297
3298 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
3299 (shr-table-horizontal-line): Allow nil as a value, and change the
3300 default.
3301 (shr-insert-table-ruler): Respect the nil value.
3302
33032013-06-18 Tom Tromey <tromey@barimba>
3304
3305 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
3306 New defvars.
3307 (eww-open-file): New defun.
3308 (eww-render): Initialize new variables.
3309 (eww-display-html): Handle "link" and "a".
3310 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
3311 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
3312 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
3313 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
3314 New defuns.
924d6997 3315
d1bbba4f
DG
33162013-06-18 Dmitry Gutov <dgutov@yandex.ru>
3317
3318 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
3319 Distinguish ternary operator tokens from slash symbol and slash
3320 char literal.
3321
14dd22d2
JB
33222013-06-18 Juanma Barranquero <lekktu@gmail.com>
3323
3324 Convert symbol prettification into minor mode and global minor mode.
3325
3326 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
3327 `prog-prettify-symbols', and make a local defvar instead of defcustom.
3328 (prettify-symbols--keywords): Rename from
3329 `prog-prettify-symbols-alist' and make a local defvar.
3330 (prettify-symbols--compose-symbol): Rename from
3331 `prog--prettify-font-lock-compose-symbol'.
3332 (prettify-symbols--make-keywords): Rename from
3333 `prog-prettify-font-lock-symbols-keywords' and simplify.
3334 (prog-prettify-install): Remove.
3335 (prettify-symbols-mode): New minor mode, based on
3336 `prog-prettify-install'.
3337 (turn-on-prettify-symbols-mode): New function.
3338 (global-prettify-symbols-mode): New globalized minor mode.
3339
3340 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3341 * progmodes/cfengine.el (cfengine3-mode):
3342 * progmodes/perl-mode.el (perl-mode): Don't call
3343 `prog-prettify-install'; set `prettify-symbols-alist' instead.
3344
292c880c
JL
33452013-06-18 Juri Linkov <juri@jurta.org>
3346
3347 * files-x.el (modify-file-local-variable-message): New function.
3348 (modify-file-local-variable)
3349 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
3350 and call `modify-file-local-variable-message' when it's non-nil.
3351 (add-file-local-variable, delete-file-local-variable)
3352 (add-file-local-variable-prop-line)
3353 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
3354 and use it. (Bug#9820)
3355
0950aa27
JL
33562013-06-18 Juri Linkov <juri@jurta.org>
3357
3358 * emulation/vi.el (vi-shell-op):
3359 * emulation/vip.el (vip-execute-com, ex-command):
3360 * emulation/viper-cmd.el (viper-exec-bang):
3361 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
3362 the call of `shell-command-on-region'. (Bug#14637)
3363
3364 * simple.el (shell-command-on-region): Doc fix.
3365
8fbcca16
SM
33662013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
3367
3368 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
3369 (bug#14633).
3370
dd7426ea
GM
33712013-06-18 Glenn Morris <rgm@gnu.org>
3372
4ba54f7d
GM
3373 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
3374
dd7426ea
GM
3375 * newcomment.el (comment-search-forward, comment-search-backward):
3376 Doc fix. (Bug#14376)
3377
58aa805b
JB
33782013-06-18 Juanma Barranquero <lekktu@gmail.com>
3379
3380 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
3381 (buffer-face-mode-invoke): Doc fix.
3382
9a08a617
MM
33832013-06-18 Matthias Meulien <orontee@gmail.com>
3384
3385 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 3386 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 3387
f2f426ca
GM
33882013-06-18 Glenn Morris <rgm@gnu.org>
3389
9445f99b
GM
3390 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
3391 Replace obsolete function generic-make-keywords with its expansion.
3392
e0df2d14
GM
3393 * progmodes/python.el (ffap-alist): Declare.
3394
f2f426ca
GM
3395 * textmodes/reftex.el (bibtex-mode-map): Declare.
3396
f7f9a720
SM
33972013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
3398
3399 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
3400 (package-unpack, package-unpack-single): Return the pkg-dir.
3401 (package-download-transaction): Use it to update package-alist.
3402
57ff04e0
LMI
34032013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
3404
3405 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
3406 possible choice.
3407
c048c022
JL
34082013-06-17 Juri Linkov <juri@jurta.org>
3409
3410 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
3411
b5bcaee5
DG
34122013-06-17 Dmitry Gutov <dgutov@yandex.ru>
3413
a020afb9
JB
3414 * emacs-lisp/package.el (package-load-descriptor):
3415 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
3416 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
3417
551e07e5
JB
34182013-06-17 Juanma Barranquero <lekktu@gmail.com>
3419
3420 * startup.el (command-line): Expand package name returned by
3421 `package--description-file' (bug#14639).
3422
d363bffb
DG
34232013-06-17 Dmitry Gutov <dgutov@yandex.ru>
3424
3425 * emacs-lisp/package.el (package-load-descriptor): Do not call
3426 `emacs-lisp-mode', just use its syntax table.
3427
f612933b
JB
34282013-06-17 Juanma Barranquero <lekktu@gmail.com>
3429
3430 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
3431 `font-lock-extra-managed-props' if any prettifying keyword is added.
3432 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
3433 (prog-mode): Use `setq-local'.
3434
db3b7db5
SM
34352013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
3436
3437 * international/characters.el (standard-case-table): Set syntax of ?»
3438 and ?« to punctuation.
3439
f3d674df
JB
34402013-06-16 Juanma Barranquero <lekktu@gmail.com>
3441
3442 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
3443 Save relevant match data before calling `syntax-ppss' (bug#14595).
3444
31489a32
JL
34452013-06-15 Juri Linkov <juri@jurta.org>
3446
3447 * files-x.el (modify-file-local-variable-prop-line): Add local
3448 variables to the end of the existing comment on the first line.
3449 Use `file-auto-mode-skip' to skip interpreter magic line,
3450 and also skip XML declaration.
3451
66bd25ab
SM
34522013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
3453
3454 * startup.el (package--builtin-versions): New var.
3455 (package-subdirectory-regexp): Remove.
3456 (package--description-file): Hard code its value instead.
3457
3458 * emacs-lisp/package.el: Don't activate packages older than builtin.
3459 (package-obsolete-list): Rename from package-obsolete-alist, and make
3460 it into a simple list of package-desc.
3461 (package-strip-version): Remove.
3462 (package-built-in-p): Use package--builtin-versions.
3463 (package-mark-obsolete): Simplify.
3464 (package-process-define-package): Mark it obsolete if older than the
3465 builtin version.
3466 (package-handle-response): Use line-end-position.
3467 (package-read-archive-contents, package--download-one-archive):
3468 Simplify.
3469 (package--add-to-archive-contents): Skip if older than the builtin or
3470 installed version.
3471 (package-menu-describe-package): Fix last change.
3472 (package-list-unversioned): New var.
3473 (package-menu--generate): Use it.
3474
3475 * emacs-lisp/autoload.el: Manage package--builtin-versions.
3476 (autoload--insert-text, autoload--insert-cookie-text): New functions.
3477 (autoload-builtin-package-versions): New variable.
3478 (autoload-generate-file-autoloads): Use them.
3479 Remove the list of autoloaded functions/macros from the
3480 (autoload...) comments.
3481
3482 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
3483
9583ec36
EZ
34842013-06-15 Eli Zaretskii <eliz@gnu.org>
3485
3486 * simple.el (line-move-partial): Don't jump to the next screen
3487 line as soon as it becomes visible. Instead, continue enlarging
3488 the vscroll until the portion of a tall screen line that's left on
3489 display is about the height of the frame's default font.
3490 (Bug#14567)
3491
f0100d8a
GM
34922013-06-15 Glenn Morris <rgm@gnu.org>
3493
b86a85ca
GM
3494 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
3495 compilation-error-regexp-alist void, or local while let-bound.
3496
f0100d8a
GM
3497 * progmodes/make-mode.el (makefile-mode-syntax-table):
3498 Treat "=" as punctuation. (Bug#14614)
3499
05e7ce90
JB
35002013-06-15 Juanma Barranquero <lekktu@gmail.com>
3501
3502 * help-fns.el (describe-variable):
3503 Add extra line for permanent-local variables.
3504
12e5e86e
SH
35052013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
3506
3507 * progmodes/scheme.el (scheme-font-lock-keywords-2):
3508 Add export, import, library. (Bug#9164)
3509 (library): Set indent function.
3510
230dcbaf
GM
35112013-06-14 Glenn Morris <rgm@gnu.org>
3512
3513 * term/xterm.el (xterm--query):
3514 Stop after first matching handler. (Bug#14615)
3515
a020afb9 35162013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
3517
3518 Add support for dired in saveplace.
3519 * dired.el (dired-initial-position-hook): New variable.
3520 (dired-initial-position): Call hook to place cursor position.
3521 * saveplace.el (save-place-to-alist): Add dired position.
3522 (save-place-dired-hook): New function.
3523
0b31660d
SM
35242013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
3525
bf1e6ae8
SM
3526 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
3527 through a symbol rather than letrec.
3528
1b8dff23
SM
3529 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
3530 (package-desc): Add `dir' field.
3531 (package-desc-full-name): New function.
3532 (package-load-descriptor): Combine the two arguments. Don't use `load'.
3533 (package-maybe-load-descriptor): Remove.
3534 (package-load-all-descriptors): Just call package-load-descriptor.
3535 (package--disabled-p): New function.
3536 (package-desc-vers, package-desc-doc): Remove aliases.
3537 (package--dir): Remove function.
3538 (package-activate): Check if a package is disabled.
3539 (package-process-define-package): New function, extracted from
3540 define-package.
3541 (define-package): Turn into a place holder.
3542 (package-unpack-single, package-tar-file-info):
3543 Use package--description-file.
3544 (package-compute-transaction): Use package--disabled-p.
3545 (package-download-transaction): Don't call
3546 package-maybe-load-descriptor since they're all loaded anyway.
3547 (package-install): Change argument to be a pkg-desc.
3548 (package-delete): Use a single pkg-desc argument.
3549 (describe-package-1): Use package-desc-dir instead of package--dir.
3550 Use package-desc property instead of package-symbol.
3551 (package-install-button-action): Adjust accordingly.
3552 (package--push): Rewrite.
3553 (package-menu--print-info): Adjust accordingly. Change the ID format
3554 to be a pkg-desc.
3555 (package-menu-describe-package, package-menu-get-status)
3556 (package-menu--find-upgrades, package-menu-mark-upgrades)
3557 (package-menu-execute, package-menu--name-predicate):
3558 Adjust accordingly.
3559 * startup.el (package--description-file): New function.
3560 (command-line): Use it.
3561 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3562 Use package-desc-version.
3563
0b31660d
SM
3564 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
3565 (byte-compile-preprocess): Use it.
3566 (byte-compile-file-form-defalias): Try a bit harder to use macros we
3567 can't quite recognize.
3568 (byte-compile-add-to-list): Remove.
3569 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
3570 (cconv-closure-convert): Add assertion.
3571
3572 * emacs-lisp/map-ynp.el: Use lexical-binding.
3573 (map-y-or-n-p): Remove unused vars `tail' and `object'.
3574 Factor out some repeated code.
3575
de0503df
SM
35762013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
3577
3578 * subr.el (with-eval-after-load): New macro.
3579 (eval-after-load): Allow form to be a function.
3580 take advantage of lexical-binding.
3581 (do-after-load-evaluation): Use dolist and adjust to new format.
3582 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
3583
bc5c8c5a
JL
35842013-06-13 Juri Linkov <juri@jurta.org>
3585
3586 * replace.el (perform-replace): Display "symbol " and other search
3587 modes from `isearch-message-prefix' in the *Help* buffer.
3588
3589 * isearch.el (isearch-query-replace): Add " symbol" and other
3590 possible search modes from `isearch-message-prefix' to the prompt.
3591 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
3592 when reading a regexp to collect.
3593
a22289f7
JL
35942013-06-13 Juri Linkov <juri@jurta.org>
3595
3596 * isearch.el (word-search-regexp): Match whitespace if the search
3597 string begins or ends in whitespace. The LAX arg is applied to
3598 both ends of the search string. Use `regexp-quote' and explicit
3599 \< and \> instead of \b. Use \` and \' instead of ^ and $.
3600 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
3601 boundaries are replaced with symbol boundaries, and characters
3602 between symbols match non-word non-symbol syntax. (Bug#14602)
3603
cb89acab
JL
36042013-06-13 Juri Linkov <juri@jurta.org>
3605
3606 * isearch.el (isearch-del-char): Don't exceed the length of
3607 `isearch-string' by the prefix arg. (Bug#14563)
3608
6e8cfc81
JL
36092013-06-13 Juri Linkov <juri@jurta.org>
3610
3611 * isearch.el (isearch-yank-word, isearch-yank-line)
3612 (isearch-char-by-name, isearch-quote-char)
3613 (isearch-printing-char, isearch-process-search-char):
3614 Add optional count prefix arg. (Bug#14563)
3615
3616 * international/isearch-x.el
3617 (isearch-process-search-multibyte-characters):
3618 Add optional count prefix arg.
3619
c23d55f4
VS
36202013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
3621
3622 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
3623 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
3624 lexical-binding.
3625
36262013-06-13 Vitalie Spinu <spinuvit@gmail.com>
3627
3628 * subr.el (set-temporary-overlay-map): Add on-exit argument.
3629
ba947bc4
GM
36302013-06-13 Glenn Morris <rgm@gnu.org>
3631
8baeb37a
GM
3632 * startup.el (tty-handle-args):
3633 Don't just discard "--" and anything after. (Bug#14608)
3634
ba947bc4
GM
3635 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
3636
9abefce4
MA
36372013-06-13 Michael Albinus <michael.albinus@gmx.de>
3638
3639 Implement changes in Secret Service API. Make it backward compatible.
3640 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
3641 (secrets-create-item): Use it. Prefix properties with interface.
3642
5755011f
MH
36432013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
3644
3645 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
3646 (term-emulate-terminal): Respect term-suppress-hard-newline.
3647
1261d2da
S
36482013-06-13 E Sabof <esabof@gmail.com> (tiny change)
3649
3650 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
3651 Only remove a `thumb-file' overlay. (Bug#14548)
3652
868490bb
GJ
36532013-06-12 Grégoire Jadi <daimrod@gmail.com>
3654
3655 * mail/reporter.el (reporter-submit-bug-report):
3656 Handle missing package-name. (Bug#14600)
3657
79d7167f
TH
36582013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3659
3660 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
3661 (reftex-citation-prompt, reftex-default-bibliography)
3662 (reftex-bib-or-thebib, reftex-get-bibfile-list)
3663 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
3664 (reftex-bib-sort-author, reftex-bib-sort-year)
3665 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
3666 (reftex-extract-bib-entries-from-thebibliography)
3667 (reftex-get-bibkey-default, reftex-get-bib-names)
3668 (reftex-parse-bibtex-entry, reftex-get-bib-field)
3669 (reftex-format-bib-entry, reftex-parse-bibitem)
3670 (reftex-format-bibitem, reftex-do-citation)
3671 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
3672 (reftex-restrict-bib-matches, reftex-extract-bib-file)
3673 (reftex-insert-bib-matches, reftex-format-citation)
3674 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
3675 (reftex-create-bibtex-file): Add docstrings, mostly by converting
3676 existing comments into docstrings.
3677
5f9dbd7a
XF
36782013-06-12 Xue Fuqiao <xfq.free@gmail.com>
3679
3680 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
3681
94df41ab
AS
36822013-06-12 Andreas Schwab <schwab@suse.de>
3683
3684 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
3685 for auto-save files.
3686
a7f3fecc
GM
36872013-06-12 Glenn Morris <rgm@gnu.org>
3688
001809f6
GM
3689 * ido.el (ido-delete-ignored-files): Remove.
3690 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
3691 Go back to calling ido-ignore-item-p directly.
a7f3fecc 3692
834b5ded
EL
36932013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
3694
08c73ed2
EL
3695 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
3696
834b5ded
EL
3697 * ido.el (ido-delete-ignored-files): New function,
3698 split from ido-make-file-list-1.
3699 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
3700 (ido-make-file-list-1): Use ido-delete-ignored-files.
3701
daabf15a
LL
37022013-06-12 Leo Liu <sdl.web@gmail.com>
3703
3704 * progmodes/octave.el (inferior-octave-startup)
3705 (inferior-octave-completion-table)
3706 (inferior-octave-track-window-width-change)
3707 (octave-eldoc-function-signatures, octave-help)
3708 (octave-find-definition): Use single quoted strings.
3709 (inferior-octave-startup-args): Change default value.
3710 (inferior-octave-startup): Do not hard code "-i" and
3711 "--no-line-editing".
3712 (inferior-octave-resync-dirs): Add optional arg NOERROR.
3713 (inferior-octave-directory-tracker): Use it.
3714 (octave-goto-function-definition): Robustify.
3715 (octave-help): Support highlighting operators in 'See also'.
3716 (octave-find-definition): Find subfunctions only in Octave mode.
3717
cf4e5178
SM
37182013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
3719
3720 * help-fns.el (help-fns--compiler-macro): If the handler function is
3721 named, then put a link to it.
3722 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
3723 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
3724 (cl-typep): Use it.
3725 (cl-eval-when): Simplify debug spec.
3726 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
3727 compiler-macro function instead of setting `compiler-macro-file'.
3728
99c81280 37292013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
3730
3731 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
3732 * vc/vc-hooks.el (vc-stay-local): Doc fix.
3733
f56be016
SM
37342013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
3735 Daniel Hackney <dan@haxney.org>
3736
3737 First part of Daniel Hackney's patch to package.el.
3738 * emacs-lisp/package.el: Use defstruct.
3739 (package-desc): New, main struct.
3740 (package--bi-desc, package--ac-desc): New structs, used to describe the
3741 format in external files.
3742 (package-desc-vers): Replace with package-desc-version accessor.
3743 (package-desc-doc): Replace with package-desc-summary accessor.
3744 (package-activate-1): Remove `package' arg since the pkg-vec now
3745 includes the name.
3746 (define-package): Use package-desc-from-define.
3747 (package-unpack-single): Change file-name arg to be a symbol.
3748 (package--add-to-archive-contents): Use package-desc-create and new
3749 accessor functions to package--ac-desc.
3750 (package-buffer-info, package-tar-file-info): Return a package-desc.
3751 (package-install-from-buffer): Remove `type' argument. Change pkg-info
3752 arg to be a package-desc.
3753 (package-install-file): Adjust accordingly. Use \' to match EOS.
3754 (package--from-builtin): New function.
3755 (describe-package-1, package-menu--generate): Use it.
3756 (package--make-autoloads-and-compile): Change name arg to be a symbol.
3757 (package-generate-autoloads): Idem and return the name of the file.
3758 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3759 Change pkg-info arg to be a package-desc.
3760 Use package-make-ac-desc.
3761 (package-upload-file): Use \' to match EOS.
3762 * finder.el (finder-compile-keywords): Use package-make-builtin.
3763
31119d63
SM
37642013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3765
931a2762
SM
3766 * vc/vc.el (vc-deduce-fileset): Change error message.
3767 (vc-read-backend): New function.
3768 (vc-next-action): Use it.
3769
5a3eb0c6
SM
3770 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
3771
e3eb1bb7
SM
3772 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
3773 (prolog-font-lock-keywords): Use regexp-opt instead.
3774 Don't manually highlight strings.
3775 (prolog-mode-variables): Simplify comment-start-skip.
3776 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
3777
31119d63
SM
3778 * emacs-lisp/generic.el (generic--normalise-comments)
3779 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
3780 (generic-mode-set-comments): Use them.
3781 (generic-bracket-support): Use setq-local.
3782 (generic-make-keywords-list): Declare obsolete.
3783
7de135d0
GM
37842013-06-11 Glenn Morris <rgm@gnu.org>
3785
3786 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3787 Prettify after setting font-lock-defaults. (Bug#14574)
3788
fa6bc6fd
JB
37892013-06-11 Juanma Barranquero <lekktu@gmail.com>
3790
3791 * replace.el (query-replace, occur-read-regexp-defaults-function)
3792 (replace-search):
3793 * subr.el (declare-function, number-sequence, local-set-key)
3794 (substitute-key-definition, locate-user-emacs-file)
3795 (with-silent-modifications, split-string, eval-after-load):
3796 Fix typos, remove unneeded backslashes and reflow some docstrings.
3797
cf1f9b9a
SM
37982013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3799
3800 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
3801 default for Elisp files.
3802
56602a4b
GM
38032013-06-11 Glenn Morris <rgm@gnu.org>
3804
3805 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
3806 although define-derived-mode was doing this anyway. (Bug#14583)
3807
30ae0b2c
JB
38082013-06-10 Juanma Barranquero <lekktu@gmail.com>
3809
3810 * allout.el (allout-encryption-plaintext-sanitization-regexps):
3811 Fix make-variable-buffer-local call to refer to the correct variable.
3812
fa472906
AG
38132013-06-10 Aidan Gauland <aidalgol@amuri.net>
3814
3815 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
3816 (eshell-visual-subcommands, eshell-visual-options):
3817 Add summary line to docstrings. Add cross-references.
fa472906 3818
ff4871b9
GM
38192013-06-10 Glenn Morris <rgm@gnu.org>
3820
3821 * epa.el (epa-read-file-name): New function. (Bug#14510)
3822 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
3823
04fcf1b0
AG
38242013-06-09 Aidan Gauland <aidalgol@amuri.net>
3825
3826 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
3827 output redirection to be ignored with visual commands.
3828
88b00caa
AG
38292013-06-09 Aidan Gauland <aidalgol@amuri.net>
3830
3831 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
3832 (eshell-term-initialize): Move long lambda to separate function
3833 eshell-visual-command-p.
e7b41c4c
JB
3834 * eshell/em-dirs.el (eshell-dirs-initialise):
3835 * eshell/em-script.el (eshell-script-initialize):
3836 Add missing #' to lambda.
88b00caa 3837
fda74125
LL
38382013-06-08 Leo Liu <sdl.web@gmail.com>
3839
3840 * progmodes/octave.el (octave-add-log-current-defun): New function.
3841 (octave-mode): Set add-log-current-defun-function.
3842 (octave-goto-function-definition): Do not move point if not found.
3843 (octave-find-definition): Enhance to try subfunctions first.
3844
467f3b33
GM
38452013-06-08 Glenn Morris <rgm@gnu.org>
3846
3847 * emacs-lisp/bytecomp.el (byte-compile-char-before)
3848 (byte-compile-backward-char, byte-compile-backward-word):
3849 Improve previous change, to handle non-explicit nil.
3850
544badc3
SM
38512013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
3852
3853 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
3854 (smie--opener/closer-at-point): New function.
3855 (smie--matching-block-data): Use it. Don't match from right after an
3856 opener or right before a closer. Obey smie-blink-matching-inners.
3857 Don't signal a mismatch for repeated inners like "switch..case..case".
3858
a175bf33
LL
38592013-06-07 Leo Liu <sdl.web@gmail.com>
3860
3861 * progmodes/octave.el (octave-mode): Set comment-use-global-state
3862 to t. (Bug#14303)
ce8209d4
LL
3863 (octave-function-header-regexp): Fix. (Bug#14570)
3864 (octave-help-mode-finish-hook, octave-help-mode-finish):
3865 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
3866
3867 * newcomment.el (comment-search-backward): Revert last change.
3868 (Bug#14434)
3869
3870 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
3871
a822acff
EZ
38722013-06-07 Eli Zaretskii <eliz@gnu.org>
3873
3874 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
3875 through xargs, to avoid failure due to MS-Windows limitations on
3876 command-line length.
3877
961166f5
GM
38782013-06-06 Glenn Morris <rgm@gnu.org>
3879
d0341459
GM
3880 * font-lock.el (lisp-font-lock-keywords-2):
3881 Treat user-error like error.
3882
961166f5
GM
3883 * emacs-lisp/bytecomp.el (byte-compile-char-before)
3884 (byte-compile-backward-char, byte-compile-backward-word):
3885 Handle explicit nil arguments. (Bug#14565)
3886
80fa505f
AM
38872013-06-05 Alan Mackenzie <acm@muc.de>
3888
3889 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 3890 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 3891 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 3892 (Bug#9706)
80fa505f 3893
fccdc796
SM
38942013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
3895
3896 * autorevert.el (auto-revert-notify-handler): Use memq.
3897 Hide assertion failure.
3898
3899 * skeleton.el: Use cl-lib.
3900 (skeleton-further-elements): Use defvar-local.
3901 (skeleton-insert): Use cl-progv.
3902
9bfff84b
TZ
39032013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
3904
3905 * progmodes/prog-mode.el (prog-prettify-symbols)
3906 (prog-prettify-install): Update docstrings.
3907
55577e7c
SM
39082013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
3909
3910 * simple.el: Move all the prog-mode code to prog-mode.el.
3911 * progmodes/prog-mode.el: New file.
3912 * loadup.el: Add prog-mode.el.
3913
8fc57765
TZ
39142013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
3915
3916 * simple.el (prog-prettify-symbols): Add version.
3917 (prog-prettify-install): Add convenience function to prettify symbols.
3918
3919 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
3920 (perl--augmented-font-lock-keywords-1)
3921 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
3922 variables and use it.
3923
3924 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
3925 (cfengine3-mode): Remove unneeded variable and use it.
3926
3927 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
3928 (lisp--augmented-font-lock-keywords-1)
3929 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
3930 Remove unneeded variables and use it.
3931
650645d5 39322013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
3933
3934 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 3935 to point when opening the connection. (Bug#14380)
28f5da6d 3936
781b4af6
SM
39372013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
3938
3939 * subr.el (load-history-regexp, load-history-filename-element)
3940 (eval-after-load, after-load-functions, do-after-load-evaluation)
3941 (eval-next-after-load, display-delayed-warnings)
3942 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
3943 definition of save-match-data.
3944 (overriding-local-map): Remove accidental obsolescence declaration.
3945
3946 * emacs-lisp/edebug.el (edebug-result): Move before first use.
3947
3ca0d0b4
TZ
39482013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
3949
3950 Generalize symbol prettify support to prog-mode and implement it
3951 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
3952 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
3953 (prog--prettify-font-lock-compose-symbol)
3954 (prog-prettify-font-lock-symbols-keywords): New variables and
3955 functions to support symbol prettification.
3956 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
3957 (lisp--augmented-font-lock-keywords-1)
3958 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
3959 (lisp--prettify-symbols-alist): Implement prettify of lambda.
3960 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
3961 (cfengine3--prettify-symbols-alist, cfengine3-mode):
3962 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
3963 * progmodes/perl-mode.el (perl-prettify-symbols)
3964 (perl--font-lock-compose-symbol)
3965 (perl--font-lock-symbols-keywords): Move to prog-mode.
3966 (perl--prettify-symbols-alist): Prettify -> => :: strings.
3967 (perl-font-lock-keywords-1)
3968 (perl-font-lock-keywords-2): Remove explicit prettify support.
3969 (perl--augmented-font-lock-keywords)
3970 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
3971 (perl--augmented-font-lock-keywords-2, perl-mode):
3972 Implement prettify support.
3ca0d0b4 3973
976cb066
LL
39742013-06-05 Leo Liu <sdl.web@gmail.com>
3975
3976 Re-implement smie matching block highlight using
3977 show-paren-data-function. (Bug#14395)
3978 * emacs-lisp/smie.el (smie-matching-block-highlight)
3979 (smie--highlight-matching-block-overlay)
3980 (smie--highlight-matching-block-lastpos)
3981 (smie-highlight-matching-block)
3982 (smie-highlight-matching-block-mode): Remove.
3983 (smie--matching-block-data-cache): New variable.
3984 (smie--matching-block-data): New function.
3985 (smie-setup): Use smie--matching-block-data for
3986 show-paren-data-function.
3987
3988 * progmodes/octave.el (octave-mode-menu): Fix.
3989 (octave-find-definition): Skip garbage lines.
3990
208d0342
SM
39912013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
3992
3993 Fix compilation error with simultaneous dynamic+lexical scoping.
3994 Add warning when a defvar appears after the first let-binding.
3995 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
3996 (byte-compile-close-variables): Initialize it.
3997 (byte-compile--declare-var): New function.
3998 (byte-compile-file-form-defvar)
3999 (byte-compile-file-form-define-abbrev-table)
4000 (byte-compile-file-form-custom-declare-variable): Use it.
4001 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
4002 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
4003 (byte-compile-bind): Handle dynamic bindings that shadow
4004 lexical bindings.
4005 (byte-compile-unbind): Make arg non-optional.
4006 (byte-compile-let): Simplify.
4007 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
4008 (cconv--analyse-function, cconv-analyse-form): Populate it.
4009 Protect byte-compile-bound-variables to limit the scope of defvars.
4010 (cconv-analyse-form): Add missing rule for (defvar <foo>).
4011 Remove unneeded rule for `declare'.
4012
4013 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
4014 so as to avoid depending on cl-adjoin at run-time.
4015 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
4016
4017 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
4018 (macroexp--warn-and-return): Use it.
4019
2587b005
LL
40202013-06-05 Leo Liu <sdl.web@gmail.com>
4021
4022 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
4023
f1da3c88
LL
40242013-06-04 Leo Liu <sdl.web@gmail.com>
4025
4026 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
4027 (compilation-auto-jump): Suppress the "Mark set" message to give
4028 way to exit message.
4029
3caa391f
AM
40302013-06-04 Alan Mackenzie <acm@muc.de>
4031
4032 Remove faulty optimisation from indentation calculation.
4033 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
4034 search limit based on 2000 characters back from indent-point.
4035
068922a2
TH
40362013-06-03 Tassilo Horn <tsdh@gnu.org>
4037
4038 * eshell/em-term.el (cl-lib): Require `cl-lib'.
4039
1f8fdd53
SM
40402013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
4041
bbcc4d97
SM
4042 * emacs-lisp/lisp.el: Use lexical-binding.
4043 (lisp--local-variables-1, lisp--local-variables): New functions.
4044 (lisp--local-variables-completion-table): New var.
208d0342 4045 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 4046
1f8fdd53
SM
4047 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
4048 eagerly (bug#14422).
4049
c9628c79
MA
40502013-06-03 Michael Albinus <michael.albinus@gmx.de>
4051
4052 * autorevert.el (auto-revert-notify-enabled)
4053 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
4054 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
4055 (auto-revert-notify-handler): Handle also gfilenotify.
4056
e7b41c4c 4057 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 4058 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 4059 Remove.
c9628c79 4060
e5e4a942
JL
40612013-06-03 Juri Linkov <juri@jurta.org>
4062
4063 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
4064 `M-s h .'. (Bug#14427)
4065
4066 * hi-lock.el (highlight-symbol-at-point): New alias for the new
4067 command `hi-lock-face-symbol-at-point'.
4068 (hi-lock-face-symbol-at-point): New command.
4069 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
4070 (hi-lock-menu): Add `highlight-symbol-at-point'.
4071 (hi-lock-mode): Doc fix.
4072
4073 * isearch.el (isearch-forward-symbol-at-point): New command.
4074 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
4075 (isearch-highlight-regexp): Add a regexp which matches
4076 words/symbols for word/symbol mode.
4077
4078 * subr.el (find-tag-default-bounds): New function with the body
4079 mostly moved from `find-tag-default'.
4080 (find-tag-default): Move most code to `find-tag-default-bounds',
4081 call it and apply `buffer-substring-no-properties' afterwards.
4082
26b3353a
TH
40832013-06-03 Tassilo Horn <tsdh@gnu.org>
4084
781b4af6
SM
4085 * eshell/em-term.el (eshell-term-initialize):
4086 Use `cl-intersection' rather than `intersection'.
26b3353a 4087
51b60f53
XF
40882013-06-02 Xue Fuqiao <xfq.free@gmail.com>
4089
fe054b63 4090 * vc/log-view.el: Doc fix.
d3ffe17c 4091 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 4092
a0eb10b3 40932013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
4094
4095 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
4096 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
4097 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
4098 (eieio-unbound, eieio-default-superclass)
4099 (eieio--define-field-accessors, method-static, method-before)
4100 (method-primary, method-after, method-num-lists)
4101 (method-generic-before, method-generic-primary)
4102 (method-generic-after, method-num-slots)
4103 (eieio-specialized-key-to-generic-key)
4104 (eieio--check-type, class-v, class-p)
4105 (eieio-class-name, define-obsolete-function-alias)
4106 (eieio-class-parents-fast, eieio-class-children-fast)
4107 (same-class-fast-p, class-constructor, generic-p)
4108 (generic-primary-only-p, generic-primary-only-one-p)
4109 (class-option-assoc, class-option, eieio-object-p)
4110 (class-abstract-p, class-method-invocation-order)
4111 (eieio-defclass-autoload-map, eieio-defclass-autoload)
4112 (eieio-class-un-autoload, eieio-defclass)
4113 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
4114 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
4115 (eieio--defgeneric-init-form, eieio-defgeneric-form)
4116 (eieio-defgeneric-reset-generic-form)
4117 (eieio-defgeneric-form-primary-only)
4118 (eieio-defgeneric-reset-generic-form-primary-only)
4119 (eieio-defgeneric-form-primary-only-one)
4120 (eieio-defgeneric-reset-generic-form-primary-only-one)
4121 (eieio-unbind-method-implementations)
4122 (eieio--defmethod, eieio--typep)
4123 (eieio-perform-slot-validation, eieio-validate-slot-value)
4124 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
4125 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
4126 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
4127 (eieio-slot-name-index, eieio-class-slot-name-index)
4128 (eieio-set-defaults, eieio-initarg-to-attribute)
4129 (eieio-attribute-to-initarg, eieio-c3-candidate)
4130 (eieio-c3-merge-lists, eieio-class-precedence-c3)
4131 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
4132 (eieio-class-precedence-list, eieio-generic-call-methodname)
4133 (eieio-generic-call-arglst, eieio-generic-call-key)
4134 (eieio-generic-call-next-method-list)
4135 (eieio-pre-method-execution-functions, eieio-generic-call)
4136 (eieio-generic-call-primary-only, eieiomt-method-list)
4137 (eieiomt-optimizing-obarray, eieiomt-install)
4138 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
4139 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 4140 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
4141 (defclass): Remove `eval-and-compile' from macro.
4142 (call-next-method, shared-initialize): Instead of using
4143 `scoped-class' variable, use new eieio--scoped-class, and
4144 eieio--with-scoped-class.
4145 (initialize-instance): Rename local variable 'scoped-class' to
4146 'this-class' to remove ambiguitity from old global.
4147
4148 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
4149 eieio.el.
4f405069
JB
4150 (eieio--scoped-class-stack): New variable.
4151 (eieio--scoped-class): New fcn.
890f7890
DE
4152 (eieio--with-scoped-class): New scoping macro.
4153 (eieio-defclass): Use pushnew instead of add-to-list.
4154 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
4155 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
4156 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
4157 `scoped-class' variable, use new eieio--scoped-class, and
4158 eieio--with-scoped-class.
4159
4160 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
4161
d105b0e2
TH
41622013-06-02 Tassilo Horn <tsdh@gnu.org>
4163
4164 * eshell/esh-ext.el (eshell-external-command): Pass args to
4165 `eshell-find-interpreter'.
4166 (eshell-find-interpreter): Add new second parameter ARGS.
4167
4168 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 4169 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
4170
4171 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 4172 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
4173
4174 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
4175 (eshell-visual-options): New defcustom.
4176 (eshell-escape-control-x): Adapt docstring.
4177 (eshell-term-initialize): Test `eshell-visual-subcommands' and
4178 `eshell-visual-options' in addition to `eshell-visual-commands'.
4179 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
4180
f46305c8 41812013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
4182
4183 * progmodes/python.el (python-indent-block-enders): Add break,
4184 continue and raise keywords.
4185
d870df21
GM
41862013-06-01 Glenn Morris <rgm@gnu.org>
4187
9133b82e
GM
4188 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
4189
02c992ec 4190 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
4191 * progmodes/cc-cmds.el (delete-forward-p):
4192 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
4193 * progmodes/cc-engine.el (buffer-syntactic-context):
4194 * progmodes/cc-fonts.el (face-property-instance):
4195 * progmodes/cc-mode.el (set-keymap-parents):
4196 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
4197 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
4198 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
4199 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
4200 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 4201
31e7b090
GM
4202 * progmodes/cc-vars.el (other): Emacs has this widget since
4203 at least 21.1, so don't (re)define it.
4204
d870df21
GM
4205 * eshell/em-cmpl.el (eshell-cmpl-initialize):
4206 Replace the obsolete alias pcomplete-arg-quote-list.
4207
c75c93c7
LL
42082013-06-01 Leo Liu <sdl.web@gmail.com>
4209
4210 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
4211 punctuation syntax.
4212 (inferior-octave-minimal-columns)
4213 (inferior-octave-last-column-width): New variables.
4214 (inferior-octave-track-window-width-change): New function.
4215 (inferior-octave-mode): Adjust column width so that Octave output,
4216 for example from 'ls', can fit into the window nicely.
4217
973d1e12
DG
42182013-05-31 Dmitry Gutov <dgutov@yandex.ru>
4219
4220 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
4221 Highlight expansions inside regexp literals.
4222
0888c286
GM
42232013-05-31 Glenn Morris <rgm@gnu.org>
4224
e26aac1f
GM
4225 * obsolete/sym-comp.el (symbol-complete):
4226 Replace obsolete completion-annotate-function.
4227
0888c286
GM
4228 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
4229
19bb8e62
DG
42302013-05-31 Dmitry Gutov <dgutov@yandex.ru>
4231
781b4af6
SM
4232 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
4233 New function, checks if point is inside a literal that allows
19bb8e62
DG
4234 expression expansion.
4235 (ruby-syntax-propertize-expansion): Use it.
4236 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
4237 around the body.
4238
01dea85f
JL
42392013-05-30 Juri Linkov <juri@jurta.org>
4240
4241 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
4242 to "\M-si".
4243 (isearch-invisible): New variable.
4244 (isearch-forward): Doc fix.
4245 (isearch-mode): Set `isearch-invisible'
4246 to the value of `search-invisible'.
4247 (isearch-toggle-case-fold): Doc fix.
4248 (isearch-toggle-invisible): New command.
4249 (isearch-query-replace): Let-bind `search-invisible'
4250 to the value of `isearch-invisible'.
4251 (isearch-search): Use `isearch-invisible' instead of
4252 `search-invisible'. Let-bind `search-invisible'
4253 to the value of `isearch-invisible'. (Bug#11378)
4254
ab1bdce5
JL
42552013-05-30 Juri Linkov <juri@jurta.org>
4256
4257 * replace.el (perform-replace): Avoid `isearch-range-invisible'
4258 call when `query-flag' is nil and `search-invisible' is non-nil.
4259 (Bug#11746)
4260
d6d236e2
GM
42612013-05-30 Glenn Morris <rgm@gnu.org>
4262
8accd027
GM
4263 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
4264
2a8bed1c
GM
4265 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
4266 (cc-require): Suppress spurious "noruntime" warnings.
4267 (cc-require-when-compile): Use fboundp, for sake of compiler.
4268
d6d236e2
GM
4269 * progmodes/cc-mode.el: Move load of cc-vars before that of
4270 cc-langs (which in turn loads cc-vars), to quieten compiler.
4271
9190b35b
SM
42722013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
4273
4274 * paren.el: Simplify the code.
4275 (show-paren-mode): Always start the timer.
4276 (show-paren--idle-timer): Rename from show-paren-idle-timer.
4277 (show-paren--overlay, show-paren--overlay-1): Rename from
4278 show-paren-overlay and show-paren-overlay-1, and initialize to an
4279 overlay rather than to nil.
4280 (show-paren-function): Misc cleanup and simplifications.
4281
4f8d1cf6
SM
42822013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
4283
4284 * paren.el (show-paren-data-function): New hook.
4285 (show-paren--default): New function, extracted from show-paren-function.
4286 (show-paren-function): Use show-paren-data-function.
4287
02d844b5
GM
42882013-05-30 Glenn Morris <rgm@gnu.org>
4289
d209d4a9
GM
4290 * ielm.el (ielm-map, ielm-complete-symbol):
4291 Use completion-at-point rather than obsolete functions.
4292 (inferior-emacs-lisp-mode): Doc fix.
4293 Set completion-at-point-functions, rather than
4294 comint-dynamic-complete-functions.
4295
2082faa6
GM
4296 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
4297 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
4298 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
4299
dd8620de
GM
4300 * image.el (image-animated-p): Tweak definition.
4301
ceca95b1
GM
4302 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
4303 (rlogin-process-connection-type): Tweak default. Add set-after.
4304 (rlogin-host): Doc fix.
4305 (rlogin): Tweak prompt.
4306 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
4307
ee9f1acc
GM
4308 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
4309 * progmodes/tcl.el (inferior-tcl-mode-map):
4310 Use completion-at-point rather than obsolete alias.
4311
45ce222e
GM
4312 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
4313
02d844b5
GM
4314 * minibuffer.el (read-file-name-completion-ignore-case):
4315 Move before completion--in-region, for eager macro expansion.
4316
ac44d6c1
JL
43172013-05-29 Juri Linkov <juri@jurta.org>
4318
4319 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
4320 for total count of matching lines. Add `global-matches' for total
4321 count of matches. Rename `matches' to `lines' for count of
4322 matching lines. Add `matches' for count of matches.
4323 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
4324 to `prev-line' for line number of prev match endpt.
4325 Increment `matches' for every match. Print the number of
4326 matching lines in the header.
4327 (occur-context-lines): Rename `lines' to `curr-line'.
4328 Rename `prev-lines' to `prev-line'. (Bug#14017)
4329
3c9c9d38
JL
43302013-05-29 Juri Linkov <juri@jurta.org>
4331
4332 * replace.el (perform-replace): Add `skip-read-only-count',
4333 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
4334 Increment them for corresponding conditions and report the number
4335 of skipped occurrences in the final message. (Bug#11746)
4336 (query-replace, query-replace-regexp, query-replace-regexp-eval)
4337 (replace-string, replace-regexp): Doc fix.
4338
33e249a2
SM
43392013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
4340
8e399682
SM
4341 * emacs-lisp/trace.el (trace--read-args): Provide a default.
4342
33e249a2 4343 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 4344 prog-mode-map (bug#14504).
33e249a2 4345
f236dd84
LL
43462013-05-29 Leo Liu <sdl.web@gmail.com>
4347
4348 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
4349 (octave-help): Small simplification.
4350
4351 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
4352 off the highlight first.
4353
3694d13f
GM
43542013-05-29 Glenn Morris <rgm@gnu.org>
4355
03983bdc
GM
4356 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
4357 Handle idlwave-last-system-routine-info-cons-cell being nil.
4358
bc74a74a
GM
4359 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
4360 (idlwave-write-paths): Simplify via with-temp-buffer.
4361
8b394200
GM
4362 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
4363 * emulation/cua-rect.el: Also load cua-base at run time.
4364
3694d13f
GM
4365 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
4366 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
4367 (cperl-imenu-on-info): Require imenu.
4368
336d7284
AM
43692013-05-28 Alan Mackenzie <acm@muc.de>
4370
4371 Handle "capitalised keywords" correctly.
33e249a2 4372 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 4373
cb29c582
AG
43742013-05-28 Aidan Gauland <aidalgol@amuri.net>
4375
781b4af6 4376 * eshell/em-unix.el: Add -r option to cp.
cb29c582 4377
690e44b2
GM
43782013-05-28 Glenn Morris <rgm@gnu.org>
4379
e658d75c
GM
4380 * vc/vc-arch.el (vc-exec-after): Declare.
4381 (vc-switches): Autoload.
4382 * vc/vc-bzr.el: No need to require vc when compiling.
4383 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
4384 (vc-resynch-buffer, vc-dir-refresh): Declare.
4385 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
4386 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
4387 (vc-resynch-buffer): Declare.
4388 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 4389 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
4390 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
4391 (grep-read-regexp, grep-read-files, grep-expand-template)
4392 (vc-dir-refresh): Declare.
4393 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
4394 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
4395 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
4396 * vc/vc-mtn.el (vc-exec-after): Declare.
4397 (vc-switches): Autoload.
4398 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
4399 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
4400 (vc-file-tree-walk): Declare.
712b9732
GM
4401 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
4402 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
4403 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
4404 * vc/vc-svn.el (vc-exec-after): Declare.
4405 (vc-switches, vc-setup-buffer): Autoload.
4406 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
4407 Autoload.
4408 (vc-resynch-buffer): Declare.
4409
98e87fb3
GM
4410 * obsolete/fast-lock.el (byte-compile-warnings):
4411 Don't warn about obsolete features in this obsolete file.
4412
f5379553
GM
4413 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
4414 Move definition before use.
4415
7a20ef83
GM
4416 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
4417 (dun-unix-verbs): Remove dun-zippy.
4418 (dun-zippy): Remove function.
4419
690e44b2
GM
4420 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
4421
3a52ccf7
JL
44222013-05-27 Juri Linkov <juri@jurta.org>
4423
4424 * replace.el (replace-search): New function with code moved out
4425 from `perform-replace'.
4426 (replace-highlight, replace-dehighlight): Move function definitions
4427 up closer to `replace-search'. (Bug#11746)
4428
d289938a
JL
44292013-05-27 Juri Linkov <juri@jurta.org>
4430
4431 * replace.el (perform-replace): Ignore invisible matches.
4432 In addition to checking `query-replace-skip-read-only', also
4433 filter out matches by calling `run-hook-with-args-until-failure'
4434 on `isearch-filter-predicates', and also check `search-invisible'
4435 for t or call `isearch-range-invisible'.
4436 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
4437
66fc57e3
JL
44382013-05-27 Juri Linkov <juri@jurta.org>
4439
4440 * isearch.el (isearch-filter-predicates): Rename from
4441 `isearch-filter-predicate'. Doc fix. (Bug#11378)
4442 (isearch-message-prefix): Display text from the property
4443 `isearch-message-prefix' of the currently active filters.
4444 (isearch-search): Don't compare `isearch-filter-predicate' with
4445 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
4446 on `isearch-filter-predicates'. Also check `search-invisible' for t
4447 or call `isearch-range-invisible'.
4448 (isearch-filter-visible): Make obsolete.
4449 (isearch-lazy-highlight-search):
4450 Call `run-hook-with-args-until-failure' on
4451 `isearch-filter-predicates' and use `isearch-range-invisible'.
4452
4453 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
4454 `isearch-filter-predicates' instead of `funcall'ing
4455 `isearch-filter-predicate'.
4456 (Info-mode): Set `Info-isearch-filter' to
4457 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
4458
4459 * dired-aux.el (dired-isearch-filter-predicate-orig):
4460 Remove variable.
4461 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
4462 (dired-isearch-filenames-end): Add and remove
4463 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
4464 instead of changing the value of `isearch-filter-predicate'.
4465 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
4466 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
4467 Put property `isearch-message-prefix' to "filename " on
4468 `dired-isearch-filter-filenames'.
4469
4470 * wdired.el (wdired-change-to-wdired-mode):
4471 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
4472 locally instead of changing `isearch-filter-predicate'.
4473 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
4474
f1a60a0f
DG
44752013-05-27 Dmitry Gutov <dgutov@yandex.ru>
4476
4477 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
4478 return the commit hash (Bug#14459). Also set the
4479 `vc-git-detached' property.
4480 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
4481 (vc-git-mode-line-string): Use the same help-echo format whether
4482 in detached mode or not, because we know the actual revision now.
4483 When in detached mode, shorten the revision to 7 chars.
4484
7f17cc40
SM
44852013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
4486
4487 * emacs-lisp/easy-mmode.el (define-minor-mode):
4488 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
4489 mode hook and provide a docstring.
4490
25c8401c
AM
44912013-05-27 Alan Mackenzie <acm@muc.de>
4492
4493 Remove spurious syntax-table text properties inserted by C-y.
4494 * progmodes/cc-mode.el (c-after-change): Also clear hard
4495 syntax-table property with value nil.
4496
dde84790
MA
44972013-05-27 Michael Albinus <michael.albinus@gmx.de>
4498
4499 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
4500 when reading the events; the buffer layout shall not be changed.
4501
837fd9af
LL
45022013-05-27 Leo Liu <sdl.web@gmail.com>
4503
4504 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
4505 New variable.
4506 (inferior-octave-directory-tracker): Automatically re-sync
4507 default-directory.
4508 (octave-help): Improve handling of 'See also'.
4509
4fd996b3
SM
45102013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
4511
416f1802
SM
4512 * doc-view.el: Minor naming convention tweaks.
4513 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
4514
4fd996b3
SM
4515 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
4516 even if there's no `display' property yet (bug#14435).
4517
a052ef3b
EZ
45182013-05-25 Eli Zaretskii <eliz@gnu.org>
4519
4fd996b3 4520 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
4521
4522 * Makefile.in (custom-deps, finder-data, autoloads)
4523 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
4524 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
4525 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
4526
c9023370
SM
45272013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
4528
4529 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
4530 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 4531 Don't burp at EOB.
c9023370 4532
24d699fa
LL
45332013-05-25 Leo Liu <sdl.web@gmail.com>
4534
4535 * comint.el (comint-previous-matching-input): Do not flood the
4536 *Messages* buffer with trivial messages.
4537
17e5c0cc
SM
45382013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
4539
4540 * progmodes/flymake.el (flymake-nop): Don't return a string.
4541 (flymake-set-at): Fix typo.
4542
4543 * simple.el (read--expression): New function, extracted from
4544 eval-expression. Set completion-at-point-functions (bug#14465).
4545 (eval-expression, eval-minibuffer): Use it.
4546
5d028165
XF
45472013-05-25 Xue Fuqiao <xfq.free@gmail.com>
4548
4549 * progmodes/flymake.el (flymake-save-buffer-in-file)
4550 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
4551 (flymake-selected-frame, flymake-log, flymake-ins-after)
4552 (flymake-set-at, flymake-get-buildfile-from-cache)
4553 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
4554 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
4555 Refine the doc string.
4556 (flymake-get-file-name-mode-and-masks): Reformat.
4557 (flymake-get-real-file-name-function): Fix a minor bug.
4558
7a1d7ba7
JL
45592013-05-24 Juri Linkov <juri@jurta.org>
4560
4561 * progmodes/grep.el (grep-mode-font-lock-keywords):
4562 Support =linenumber= format used by git-grep for lines with
4563 function names. (Bug#13549)
4564
650cff3d
SM
45652013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
4566
4567 * progmodes/octave.el (octave-smie-rules): Return nil rather than
4568 0 after a semi-colon; it works better for smie-auto-fill.
4569 (octave--indent-new-comment-line): New function.
4570 (octave-indent-new-comment-line): Use it (indirectly).
4571 (octave-mode): Don't disable smie-auto-fill. Use add-function to
4572 modify comment-line-break-function.
4573
4574 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
4575 (smie-setup): Use add-function to set it.
4576
9631677d
SS
45772013-05-24 Sam Steingold <sds@gnu.org>
4578
4579 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
4580 argument (before the `interactive' argument).
4581
50105835
SM
45822013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
4583
4584 * image-mode.el (image-mode-winprops): Add winprops to
4585 image-mode-winprops-alist before running
4586 image-mode-new-window-functions.
4587 * doc-view.el (doc-view-new-window-function): Don't delay
4588 doc-view-goto-page via timers (bug#14435).
4589
57b9823e
TH
45902013-05-24 Tassilo Horn <tsdh@gnu.org>
4591
4592 * doc-view.el: Integrate with desktop.el. (Bug#14435)
4593 (doc-view-desktop-save-buffer): New function.
4594 (doc-view-restore-desktop-buffer): New function.
50105835
SM
4595 (desktop-buffer-mode-handlers):
4596 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
4597 handler.
4598 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
4599 `desktop-save-buffer' function.
4600
91aafa16
MA
46012013-05-24 Michael Albinus <michael.albinus@gmx.de>
4602
4603 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
4604 (tramp-gvfs-file-name-handler): Raise a user error when
4605 `tramp-gvfs-enabled' is nil.
4606 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
4607 Do not raise a user error when loading package. (Bug#14447)
4608
ec076379
MA
4609 * net/xesam.el: Move to obsolete/.
4610
db785726
GM
46112013-05-24 Glenn Morris <rgm@gnu.org>
4612
af5c7606
GM
4613 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
4614
e5d1916a
GM
4615 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
4616
ded62b08
GM
4617 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
4618 (Info-find-node, Man-getpage-in-background): Declare.
4619
9e614a3f
GM
4620 * mail/unrmail.el (unrmail):
4621 Replace obsolete detect-coding-with-priority.
4622
892f8ca3
GM
4623 * net/socks.el (socks-split-string): Use this rather than split-string.
4624 (socks-nslookup-host): Update for above change.
4625 (dynamic-choice, s5-dynamic-choice-match)
4626 (s5-dynamic-choice-match-inline, s5-widget-value-create):
4627 Comment out unused code.
4628
3c291973
GM
4629 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
4630 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
4631 (gud-tooltip-echo-area): Make obsolete.
4632 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
4633
43cc956b
GM
4634 * progmodes/js.el (js--optimize-arglist): Declare.
4635
dab49a3b
GM
4636 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
4637
36b9d085
GM
4638 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
4639 (ediff-window-C): Declare.
4640
e354ae76
GM
4641 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
4642 Tweak requires to silence compiler.
4643
b8e57bf4
GM
4644 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
4645 (he-search-string, he-tried-table, he-expand-list)
4646 (he-init-string, he-string-member, he-substitute-string)
4647 (he-reset-string): Declare.
4648
db785726
GM
4649 * obsolete/options.el (list-options): Use custom-variable-p,
4650 rather than obsolete alias.
4651
b3531901
SS
46522013-05-23 Sam Steingold <sds@gnu.org>
4653
4654 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 4655 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
4656 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
4657
bdda4c66
SM
46582013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
4659
4660 * emacs-lisp/smie.el (smie-indent-forward-token)
4661 (smie-indent-backward-token): Handle string tokens (bug#14381).
4662
c43d45f9
TH
46632013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4664
fe1eb856
RS
4665 * ielm.el (ielm-menu): New menu.
4666 (inferior-emacs-lisp-mode): Set comment-start.
96172128 4667
fe1eb856
RS
46682013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4669
4670 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
4671 Fix deactivate action.
4672
4673 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
4674 Add cleveref macros.
074dd971 4675
c43d45f9
TH
4676 * lisp/textmodes/reftex-parse.el
4677 (reftex-locate-bibliography-files): Accept options for
4678 bibliography commands.
4679 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
4680 Add addbibresource. Basic Biblatex support.
4681
7764286e
MA
46822013-05-23 Michael Albinus <michael.albinus@gmx.de>
4683
4684 * net/tramp-gvfs.el (top):
4685 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
4686 when loading package. (Bug#14447)
4687
d361bc10
GM
46882013-05-23 Glenn Morris <rgm@gnu.org>
4689
8fa23984
GM
4690 * progmodes/js.el: No need to load comint when compiling.
4691 (ring-insert, comint-send-string, comint-send-input)
4692 (comint-last-input-end, ido-chop): Declare.
4693
a5c7df1a
GM
4694 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
4695 * vc/ediff-mult.el: Adjust requires.
4696 (ediff-directories-internal, ediff-directory-revisions-internal)
4697 (ediff-patch-file-internal): Declare.
4698 * vc/ediff-ptch.el: Adjust requires.
4699 (ediff-use-last-dir, ediff-buffers-internal): Declare.
4700 (ediff-find-file): Autoload.
4701 * vc/ediff-util.el: No need to load ediff when compiling.
4702 (ediff-regions-internal): Declare.
4703 * vc/ediff-wind.el: Adjust requires.
4704 (ediff-compute-toolbar-width): Define when compiling.
4705 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
4706 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
4707 (dired-get-filename, dired-get-marked-files)
4708 (ediff-last-dir-patch, ediff-patch-default-directory)
4709 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
4710 (ediff-patch-buffer-internal): Declare.
4711
e2aec513
GM
4712 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
4713 (ispell-process, ispell-buffer-local-words, lm-summary)
4714 (lm-section-start, lm-section-end): Declare.
4715 (checkdoc-ispell-init): Simplify.
4716
e68bbd7c
GM
4717 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
4718 (he-string-member, he-reset-string, he-substitute-string): Declare.
4719
7efe0991
GM
4720 * eshell/em-ls.el: Adjust requires.
4721 (eshell-glob-regexp): Declare.
f87b1284
GM
4722 * eshell/em-tramp.el: Adjust requires.
4723 (eshell-parse-command): Autoload.
4724 * eshell/em-xtra.el: Adjust requires.
4725 (eshell-parse-command): Autoload.
4726 * eshell/esh-ext.el: Adjust requires.
4727 (eshell-parse-command, eshell-close-handles): Autoload.
4728 * eshell/esh-io.el: Adjust requires.
4729 (eshell-output-filter): Autoload.
4730 * eshell/esh-util.el: No need to load tramp when compiling.
4731 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
4732 Declare.
4733 (eshell-parse-ange-ls): Require ange-ftp and tramp.
4734 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4735 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
4736 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
4737 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
4738 * eshell/esh-opt.el, eshell/esh-proc.el:
4739 * eshell/esh-var.el: Adjust requires.
4740 * eshell/eshell.el: Do not require esh-util twice.
4741 (eshell-add-input-to-history): Declare.
4742 (eshell-command): Check history module is active before using it.
4743
d361bc10
GM
4744 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
4745
85d090a9
LL
47462013-05-22 Leo Liu <sdl.web@gmail.com>
4747
4748 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
4749
5d0acd9d
MA
47502013-05-22 Michael Albinus <michael.albinus@gmx.de>
4751
4752 * autorevert.el (auto-revert-notify-add-watch)
4753 (auto-revert-notify-handler): Add `attrib' for the inotify case,
4754 it indicates changes in file modification time.
4755
0cdffd7d
GM
47562013-05-22 Glenn Morris <rgm@gnu.org>
4757
ca5995ec
GM
4758 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
4759 Always delete the autoloaded function from the noruntime and
4760 unresolved functions lists.
4761
6450907e
GM
4762 * allout.el: No need to load epa, epg, overlay when compiling.
4763 (epg-context-set-passphrase-callback, epg-list-keys)
4764 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
4765 (epg-key-user-id-list): Declare.
4766
9c6906f6
GM
4767 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
4768 (viper-set-parsing-style-toggling-macro)
4769 (viper-set-emacs-state-searchstyle-macros):
4770 Use called-interactively-p on Emacs.
4771 (viper-looking-back): Make it an obsolete alias. Update callers.
4772 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
4773 Use looking-back rather than viper-looking-back.
4774 (viper-tmp-insert-at-eob, viper-enlarge-region)
4775 (viper-read-string-with-history, viper-register-to-point)
4776 (viper-append-to-register, viper-change-state-to-vi)
4777 (viper-backward-char-carefully, viper-forward-char-carefully)
4778 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
4779 (viper-change-state-to-emacs): Declare.
4780 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
4781 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
4782 * emulation/viper-mous.el: Do not load viper-cmd.
4783 (viper-backward-char-carefully, viper-forward-char-carefully)
4784 (viper-forward-word, viper-adjust-window): Declare.
4785
5f70c169
GM
4786 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
4787
b1b7f300
GM
4788 * progmodes/idlw-help.el (idlwave-help-fontify):
4789 Use called-interactively-p.
4790
f6ebbb46
GM
4791 * term/w32console.el (w32-get-console-codepage)
4792 (w32-get-console-output-codepage): Declare.
4793
0cdffd7d
GM
4794 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
4795 Remove unnecessary declarations.
4796 (dframe-message): Doc fix.
4797
4798 * info.el (dframe-select-attached-frame, dframe-current-frame):
4799 Declare.
4800
4801 * speedbar.el (speedbar-message): Make it an obsolete alias.
4802 Update all callers.
4803 (speedbar-with-attached-buffer)
4804 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
4805 (speedbar-with-writable): Use backquote.
4806 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
4807 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
4808 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
4809 rather than speedbar- aliases.
4810 * mail/rmail.el: Load dframe rather than speedbar when compiling.
4811 (speedbar-make-specialized-keymap, speedbar-insert-button)
4812 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
4813 (speedbar-do-function-pointer): Declare.
4814 (rmail-speedbar-button, rmail-speedbar-find-file)
4815 (rmail-speedbar-move-message):
4816 Use dframe-with-attached-buffer rather than speedbar- alias.
4817 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
4818 (dframe-message, speedbar-make-specialized-keymap)
4819 (speedbar-add-expansion-list, speedbar-mode-functions-list)
4820 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
4821 (speedbar-insert-button, dframe-select-attached-frame)
4822 (dframe-maybee-jump-to-attached-frame)
4823 (speedbar-change-initial-expansion-list)
4824 (speedbar-previously-used-expansion-list-name): Declare.
4825 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
4826 Use dframe-message, dframe-with-attached-buffer rather than
4827 speedbar- aliases.
4828 (gud-sentinel): Silence compiler.
4829 * progmodes/vhdl-mode.el (speedbar-refresh)
4830 (speedbar-do-function-pointer, speedbar-add-supported-extension)
4831 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
4832 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
4833 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
4834 (speedbar-file-lists, speedbar-make-tag-line)
4835 (speedbar-line-directory, speedbar-goto-this-file)
4836 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
4837 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
4838 (speedbar-make-button, speedbar-reset-scanners)
4839 (speedbar-files-item-info, speedbar-line-text)
4840 (speedbar-find-file-in-frame, speedbar-set-timer)
4841 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
4842 (speedbar-with-writable): Do not (re)define it.
4843 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
4844 rather than speedbar- alias.
4845
ee44b62a
LL
48462013-05-21 Leo Liu <sdl.web@gmail.com>
4847
4848 * progmodes/octave.el (octave-mode-menu): Update and re-organize
4849 menu items.
4850 (octave-mode): Tweak fill-nobreak-predicate.
4851 (inferior-octave-startup): Check process to avoid infinite loop.
4852 (inferior-octave): Pop to buffer first to show abornmal process
4853 exit information.
4854
640f050f
GM
48552013-05-21 Glenn Morris <rgm@gnu.org>
4856
79458038
GM
4857 * printing.el (pr-menu-bar): Define when compiling.
4858
9cc3e83f
LL
48592013-05-21 Leo Liu <sdl.web@gmail.com>
4860
4861 * progmodes/octave.el (octave-auto-fill): Remove.
4862 (octave-indent-new-comment-line): Improve.
4863 (octave-mode): Use auto fill mode through
4f405069 4864 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 4865 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 4866 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
4867 (octave-help): Show parent directory.
4868
f440830d
GM
48692013-05-21 Glenn Morris <rgm@gnu.org>
4870
4871 * files.el (dired-unmark):
4872 * progmodes/gud.el (gdb-input): Update declarations.
4873
4874 * calculator.el (electric, ehelp): No need to load when compiling.
4875 (Electric-command-loop, electric-describe-mode): Declare.
4876
4877 * doc-view.el (doc-view-current-converter-processes): Move before use.
4878
4879 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4880 Move MODE-set-explicitly definition before use.
4881
4882 * international/mule-diag.el (mule-diag):
4883 Don't use obsolete window-system-version.
4884
4885 * mail/feedmail.el (smtpmail): No need to load when compiling.
4886 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
4887
4888 * mail/mail-utils.el (rfc822): No need to load when compiling.
4889 (rfc822-addresses): Autoload it.
4890 (mail-strip-quoted-names): Trivial simplification.
4891
4892 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
4893 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
4894
4895 * net/snmp-mode.el (tempo): Don't duplicate requires.
4896
4897 * progmodes/prolog.el (info): No need to load when compiling.
4898 (comint): Require before shell requires it.
4899 (Info-goto-node): Autoload it.
4900 (Info-follow-nearest-node): Declare.
4901 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
4902
4903 * textmodes/artist.el (picture-mode-exit): Declare.
4904
4905 * textmodes/reftex-parse.el (reftex-parse-from-file):
4906 Trivial rewrite so the compiler can parse it better.
4907
b4da2cbb
LL
49082013-05-20 Leo Liu <sdl.web@gmail.com>
4909
4910 * progmodes/octave.el (octave-help-mode-map)
4911 (octave-help-mode-finish-hook): New variables.
4912 (octave-help-mode, octave-help-mode-finish): New functions.
4913 (octave-help): Use octave-help-mode.
4914
33c0f65b
GM
49152013-05-20 Glenn Morris <rgm@gnu.org>
4916
4917 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
4918
1a0a0a8a
DG
49192013-05-19 Dmitry Gutov <dgutov@yandex.ru>
4920
4921 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
4922 start at point, so that expansion starting right after opening
4923 slash in a regexp is recognized.
4924 (ruby-syntax-before-regexp-re): New defvar, extracted from
4925 ruby-syntax-propertize-function. Since the value of this regexp
4926 is looked up at runtime now, we should be able to turn
4927 `ruby-syntax-methods-before-regexp' into a defcustom later.
4928 (ruby-syntax-propertize-function): Split regexp matching into two
4929 parts, for opening and closing slashes. That allows us to skip
4930 over string interpolations and support multiline regexps.
4931 Don't call `ruby-syntax-propertize-expansions', instead use another rule
4932 for them, which calls `ruby-syntax-propertize-expansion'.
4933 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
4934 call to `ruby-syntax-propertize-function'.
4935 (ruby-syntax-propertize-expansion): Extracted from
4936 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
4937 (ruby-syntax-propertize-percent-literal): Leave point right after
4938 the percent symbol, so that the expression expansion rule can
4939 propertize the contents.
462388b6
DG
4940 (ruby-syntax-propertize-heredoc): Leave point at bol following the
4941 heredoc openers.
4942 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 4943
c1a6c0a4
JL
49442013-05-18 Juri Linkov <juri@jurta.org>
4945
4946 * man.el (Man-default-man-entry): Remove `-' from the end
4947 of the default value. (Bug#14400)
4948
8051fccd
GM
49492013-05-18 Glenn Morris <rgm@gnu.org>
4950
4951 * comint.el (comint-password-prompt-regexp):
4952 Allow "password for XXX" where XXX contains colons (eg https://...).
4953
5e80b74f
LL
49542013-05-18 Leo Liu <sdl.web@gmail.com>
4955
4956 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 4957 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
4958 (octave-source-directories): Don't check process.
4959 (octave-source-directories, octave-find-definition): Doc fix.
4960
521a54c5
GM
49612013-05-18 Glenn Morris <rgm@gnu.org>
4962
86a94b05
GM
4963 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
4964 Remove backspace/delete bindings. (Bug#14392)
4965
521a54c5
GM
4966 * cus-dep.el (custom-make-dependencies): Sort the output.
4967 (custom-versions-load-alist): Convert comment to doc.
4968
42caeb89
LL
49692013-05-17 Leo Liu <sdl.web@gmail.com>
4970
4971 * newcomment.el (comment-search-backward): Stricter in finding
4972 comment start. (Bug#14303)
4973
4974 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
4975 (octave-comment-start-skip): Properly anchored.
4976
e219dd97
LL
49772013-05-17 Leo Liu <sdl.web@gmail.com>
4978
fe1eb856
RS
4979 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
4980 Clean up when turned off. (Bug#14395)
e219dd97
LL
4981 (smie--highlight-matching-block-overlay): No longer buffer-local.
4982 (smie-highlight-matching-block): Adjust.
4983
dc5dcb4b
PE
49842013-05-17 Paul Eggert <eggert@cs.ucla.edu>
4985
4986 Doc string fix for "nanoseconds" (Bug#14406).
4987 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
4988 Fix doc string typo that had "nanoseconds" instead of "microseconds".
4989
1db165f0
JB
49902013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
4991
4992 * calc/calc-units.el (math-extract-units): Preserve powers
4993 of units.
4994
c7a8fcac
LL
49952013-05-17 Leo Liu <sdl.web@gmail.com>
4996
4997 * subr.el (delete-consecutive-dups): New function.
4998 * ido.el (ido-set-matches-1): Use it.
4999 * progmodes/octave.el (inferior-octave-completion-table): Use it.
5000 * ido.el (ido-remove-consecutive-dups): Remove.
5001
f678b18a
SM
50022013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5003
5004 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
5005 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
5006 regexp-opt's `words'.
5007
ebfe68e8
LL
50082013-05-16 Leo Liu <sdl.web@gmail.com>
5009
5010 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
5011 (smie--highlight-matching-block-overlay)
5012 (smie--highlight-matching-block-lastpos)
5013 (smie--highlight-matching-block-timer): New variables.
5014 (smie-highlight-matching-block): New function.
5015 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
5016 (smie-setup): Conditionally enable smie-blink-matching-open.
5017
bc8bc17d
WS
50182013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
5019
5020 Sync with upstream verilog-mode r840.
5021 * progmodes/verilog-mode.el (verilog-mode-version)
5022 (verilog-mode-release-date): Update.
5023 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
5024 (verilog-sig-tieoff): Fix string error on
5025 AUTORESET with colon define, bug594. Reported by Andrew Hou.
5026 (verilog-read-decls): Fix parameters confusing
5027 AUTOINST interfaces, bug565. Reported by Leith Johnson.
5028
df065a0b
EZ
50292013-05-16 Eli Zaretskii <eliz@gnu.org>
5030
5031 * subr.el (reveal-filename): New function.
5032
5033 * loadup.el: Compute Emacs executable versions on MS-Windows,
5034 where executables have the .exe extension. Add a hard link
5035 emacs-XX.YY.ZZ.exe on MS-Windows.
5036
5037 * Makefile.in (XARGS_LIMIT): New variable.
5038 (custom-deps, finder-data, autoloads)
5039 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
5040 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
5041 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
5042 (compile-main): Limit xargs according to $(XARGS_LIMIT).
5043
2d4bf34b
LL
50442013-05-16 Leo Liu <sdl.web@gmail.com>
5045
5046 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
5047 (octave-mode-menu, octave-mode-map): Remove its uses.
5048
6b9c2d85
RZ
50492013-05-16 Reto Zimmermann <reto@gnu.org>
5050
5051 Sync with upstream vhdl mode v3.34.2.
5052 * progmodes/vhdl-mode.el: Use `push' throughout.
5053 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
5054 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
5055 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
5056 (vhdl-actual-generic-name): New option to derive actual generic name.
5057 (vhdl-port-paste-signals): Replace formal by actual generics.
5058 (vhdl-beautify): New name for old group vhdl-align. Update users.
5059 (vhdl-beautify-options): New option.
5060 (vhdl-last-input-event): New compat alias. Use throughout.
5061 (vhdl-goto-line): Replace user level function `goto-line'.
5062 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
5063 vhdl-fix-statement-buffer.
5064 (vhdl-create-mode-menu): Add some entries.
5065 (vhdl-align-region-groups): Respect vhdl-beautify-options.
5066 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
5067 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
5068 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
5069 to force statements on one line.
5070 (vhdl-remove-trailing-spaces-region):
5071 New, split from vhdl-remove-trailing-spaces.
5072 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
5073 Respect vhdl-beautify-options.
5074 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
5075 (vhdl-update-sensitivity-list): Not add with index if exists without.
5076 Not include array index with signal. Ignore keywords in comments.
5077 (vhdl-get-visible-signals): Regexp tweaks.
5078 (vhdl-template-component-inst): Handle empty library.
5079 (vhdl-template-type): Add template for 'enum' type.
5080 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
5081 Use vhdl-replace-string.
5082 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
5083 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
5084 (vhdl-speedbar-initialize): Update for above name change.
5085 (vhdl-compose-wire-components): Fix in handling of constants.
5086 (vhdl-error-regexp-emacs-alist): New variable.
5087 (vhdl-error-regexp-add-emacs): New function;
5088 adds support for new compile.el (Emacs 22+)
5089 (vhdl-generate-makefile-1): Change target order for single lib. units.
5090 Allow use of absolute file names.
5091
9df4ec5e
LL
50922013-05-16 Leo Liu <sdl.web@gmail.com>
5093
5094 * simple.el (prog-indent-sexp): Indent enclosing defun.
5095
f5ba00a6
GM
50962013-05-15 Glenn Morris <rgm@gnu.org>
5097
ed8be7ff
GM
5098 * cus-start.el (show-trailing-whitespace): Move to editing basics.
5099 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
5100 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
5101 (whitespace-highlight): Move to whitespace group.
5102
5103 * comint.el (comint-source):
5104 * pcmpl-linux.el (pcmpl-linux):
5105 * shell.el (shell-faces):
5106 * eshell/esh-opt.el (eshell-opt):
5107 * international/ccl.el (ccl): Remove empty custom groups.
5108
5109 * completion.el (dynamic-completion-mode):
5110 * jit-lock.el (jit-lock-debug-mode):
5111 * minibuffer.el (completion-in-region-mode):
5112 * type-break.el (type-break-mode-line-message-mode)
5113 (type-break-query-mode):
5114 * emulation/tpu-edt.el (tpu-edt-mode):
5115 * progmodes/subword.el (global-subword-mode, global-superword-mode):
5116 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
5117 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
5118
5119 * term/xterm.el (xterm): Change parent group to terminals.
5120
5121 * master.el (master): Remove empty custom group.
5122 (master-mode): Remove unused :group argument.
5123 * textmodes/refill.el (refill): Remove empty custom group.
5124 (refill-mode): Remove unused :group argument.
5125
5126 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
5127
82a7c41b
GM
5128 * cus-dep.el: Provide a feature.
5129 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
5130 Don't mistakenly ignore files whose basenames match a basename
5131 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 5132 Add a fallback method for getting :group.
f5ba00a6 5133
6d65486d
JL
51342013-05-15 Juri Linkov <juri@jurta.org>
5135
da547b32
JL
5136 * isearch.el (isearch-char-by-name): Rename from
5137 `isearch-insert-char-by-name'. Doc fix.
5138 (isearch-forward): Mention `isearch-char-by-name' in
5139 the docstring. (Bug#13348)
5140
6d65486d
JL
5141 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
5142 `exit-minibuffer' instead of
5143 `isearch-nonincremental-exit-minibuffer'.
5144 (isearch-edit-string): Remove mention of
5145 `isearch-nonincremental-exit-minibuffer' from docstring.
5146 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
5147 (isearch-forward-exit-minibuffer)
5148 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
5149
c9990474
SM
51502013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
5151
6e911150
SM
5152 * loadup.el: Just use unversioned DOC.
5153
c9990474
SM
5154 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
5155 literals as extending to EOB.
5156 (nxml-last-fontify-end): Remove unused variable.
5157 (nxml-after-change1): Use with-silent-modifications.
5158 (nxml-extend-after-change-region): Simplify.
5159 (nxml-extend-after-change-region1): Remove function.
5160 (nxml-after-change1): Don't adjust for dependent regions.
5161 (nxml-fontify-matcher): Simplify.
5162 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
5163 (xmltok-add-dependent): Remove function.
5164 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
5165 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
5166 (xmltok-scan-prolog-after-processing-instruction-open): Treat
5167 unclosed <[[, <?, comment, and other literals as extending to EOB.
5168 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
5169 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
5170 Remove functions.
5171 (rng-do-some-validation-1): Don't mark dependent regions.
5172 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
5173 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
5174 (nxml-clear-dependent-regions): Remove functions.
5175 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
5176 (nxml-ensure-scan-up-to-date):
5177 Don't clear&mark dependent regions.
5178
e3772e98
LL
51792013-05-15 Leo Liu <sdl.web@gmail.com>
5180
c9990474
SM
5181 * progmodes/octave.el (octave-goto-function-definition):
5182 Improve and fix callers.
e3772e98 5183
5ac2eb34
SM
51842013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
5185
c46c57b0
SM
5186 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
5187 the setter (bug#14387).
5188
5ac2eb34
SM
5189 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
5190 surrounding group (bug#14402).
5191
180ed218
JL
51922013-05-14 Juri Linkov <juri@jurta.org>
5193
5194 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
5195 (Bug#14390)
5196
0ac0fecb
GM
51972013-05-14 Glenn Morris <rgm@gnu.org>
5198
5199 * progmodes/f90.el (f90-imenu-generic-expression):
5200 Fix typo in 2013-05-08 change. (Bug#14402)
5201
2e78e6a7
JPG
52022013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
5203
5ac2eb34
SM
5204 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
5205 Remove signals for which replies are never received.
2e78e6a7 5206
53267cca
JPG
52072013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
5208
5209 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
5210 (gdb-handler-alist, gdb-handler-number): Remove variables.
5211 (gdb-handler-list): New variable.
5212 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
5213 (gdb-pending-handler-p, gdb-handle-reply)
5214 (gdb-remove-all-pending-triggers): New functions.
5215 (gdb-discard-unordered-replies): New defcustom.
5216 (gdb-handler): New defstruct.
5217 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
5218 instead of gdb-pending-triggers. Update docstring.
5219 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
5220 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
5221 (gdb-var-update-handler, def-gdb-auto-update-trigger)
5222 (def-gdb-auto-update-handler, gdb-get-changed-registers)
5223 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
5224 (gdb-frame-handler): Pending triggers are now automatically managed.
5225 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
5226 Remove argument.
5227 (gdb-input): Automatically handles pending triggers. Update docstring.
5228 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
5229 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
5230 Update comments.
5231 (gdb-done-or-error): Now use gdb-handle-reply.
5232
d04ce803
JPG
52332013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
5234
5235 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
5236 gdb-debug-log.
5237
0114073a
GM
52382013-05-14 Glenn Morris <rgm@gnu.org>
5239
5240 * subr.el (user-emacs-directory-warning): New option.
5241 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
5242
4d25fd7e
LL
52432013-05-14 Leo Liu <sdl.web@gmail.com>
5244
5245 * progmodes/octave.el (octave-font-lock-keywords): Fix error
5246 during redisplay.
5247 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
5248 (octave-font-lock-texinfo-comment): Fix invalid search bound
5249 error: wrong side of point.
4d25fd7e 5250
27c8b6eb
GM
52512013-05-14 Glenn Morris <rgm@gnu.org>
5252
61aaeb01
GM
5253 * progmodes/flymake.el (flymake-xml-program): New option.
5254 (flymake-xml-init): Use it.
5255
5bf90bc5
GM
5256 * term/xterm.el: Provide a feature.
5257
5258 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 5259
f4c7dfd2
GM
52602013-05-13 Glenn Morris <rgm@gnu.org>
5261
5262 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
5263 Add compat aliases as a hack workaround. (Bug#14384)
5264
2aeb3a1d
LL
52652013-05-13 Leo Liu <sdl.web@gmail.com>
5266
b0e069c2
LL
5267 * progmodes/octave.el (octave-indent-comment): Fix indentation for
5268 ###, and %!.
f5a9432f
LL
5269 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
5270 C-M-q.
b0e069c2
LL
5271 (octave-comment-start-skip): Include %!.
5272 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 5273
30ea8374
LL
52742013-05-12 Leo Liu <sdl.web@gmail.com>
5275
5276 * progmodes/octave.el (inferior-octave-startup): Store the value
5277 of __octave_srcdir__ for octave-source-directories.
5278 (inferior-octave-check-process): New function refactored out of
5279 inferior-octave-send-list-and-digest.
5280 (octave-source-directories)
5281 (octave-find-definition-filename-function): New variables.
5282 (octave-source-directories)
5283 (octave-find-definition-default-filename): New functions.
5284 (octave-find-definition): Improve to find functions implemented in C++.
5285
472a3834
GM
52862013-05-12 Glenn Morris <rgm@gnu.org>
5287
5288 * calendar/diary-lib.el (diary-outlook-format-1):
5289 Don't include dayname in the output. (Bug#14349)
5290
3191b52f
GM
52912013-05-11 Glenn Morris <rgm@gnu.org>
5292
0060ac73
GM
5293 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
5294
3191b52f
GM
5295 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
5296 Treat cc-provide like provide.
5297
e065ba74
KR
52982013-05-11 Kevin Ryde <user42@zip.com.au>
5299
5300 * cus-dep.el (custom-make-dependencies):
5301 Use generated-autoload-load-name for the sake of files such
5302 such cedet/semantic/bovine/c.el, where the base file name
5303 is not in load-path. (Bug#5277)
5304
36f84c37
GM
53052013-05-11 Glenn Morris <rgm@gnu.org>
5306
5307 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
5308 Provide features.
5309
c8730c3a
LL
53102013-05-11 Leo Liu <sdl.web@gmail.com>
5311
5312 * progmodes/octave.el (octave-indent-comment): Improve.
5313 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
5314 (octave-eldoc-function-signatures, octave-eldoc-function):
5315 New functions.
c8730c3a
LL
5316 (octave-mode, inferior-octave-mode): Add eldoc support.
5317
212e29f2
RS
53182013-05-11 Richard Stallman <rms@gnu.org>
5319
5320 * epa.el (epa-decrypt-file): Take output file name as argument
5321 and read it using `interactive'.
5322
083fe0d7
LL
53232013-05-11 Leo Liu <sdl.web@gmail.com>
5324
5325 * progmodes/octave.el (octave-beginning-of-line)
5326 (octave-end-of-line): Check before using up-list because it jumps
5327 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
5328 (octave-indent-comment): New function.
5329 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
5330 (octave-begin-keywords, octave-end-keywords)
5331 (octave-reserved-words, octave-smie-bnf-table)
5332 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 5333
8582e4c4
GM
53342013-05-11 Glenn Morris <rgm@gnu.org>
5335
f20def1f
GM
5336 * faces.el (internal-face-x-get-resource):
5337 * frame.el (ns-display-monitor-attributes-list):
d78abe37 5338 * calc/calc-aent.el (math-to-radians-2):
f20def1f 5339 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 5340 Fix declarations.
f20def1f 5341
445f95e2
GM
5342 * calc/calc-menu.el: Make it loadable in isolation.
5343
5344 * net/eudcb-bbdb.el: Make it loadable without bbdb.
5345 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
5346 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
5347 (eudc-bbdb-query-internal): Require 'bbdb.
5348
99fb2756
GM
5349 * lpr.el (lpr-headers-switches):
5350 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
5351
5352 * progmodes/sql.el (sql-login-params): Fix and improve :type.
5353
0da7ad96
GM
5354 * emulation/edt-mapper.el: In batch mode, error rather than hang.
5355
8582e4c4
GM
5356 * term.el (term-set-escape-char): Make it idempotent.
5357
f71c50d0
LL
53582013-05-10 Leo Liu <sdl.web@gmail.com>
5359
5ac2eb34
SM
5360 * progmodes/octave.el (inferior-octave-completion-table):
5361 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
5362 completion due to bug#11906.
5363 (octave-beginning-of-defun): Re-write to be more general.
5364
d5837773
GM
53652013-05-10 Glenn Morris <rgm@gnu.org>
5366
5367 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
5368
027c0f75
SM
53692013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
5370
5371 * comint.el (comint-redirect-send-command-to-process): Use :around
5372 rather than :override for comint-redirect-filter.
5373 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
5374 Call it instead of comint-redirect-original-filter-function (which
5375 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
5376
4465bfb4
JD
53772013-05-09 Jan Djärv <jan.h.d@swipnet.se>
5378
5379 * frame.el (display-monitor-attributes-list): Add NS case.
5380 (ns-display-monitor-attributes-list): Declare.
5381
2d809ffa 53822013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
5383
5384 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
5385
e54eeb9b
GM
53862013-05-09 Glenn Morris <rgm@gnu.org>
5387
56cd351d
GM
5388 * international/fontset.el (vertical-centering-font-regexp):
5389 Set standard-value.
5390
d84b6108
GM
5391 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
5392
a931698a
GM
5393 * bookmark.el (bookmark-search-delay):
5394 * cus-start.el (vertical-centering-font-regexp):
5395 * ps-mule.el (ps-mule-font-info-database-default):
5396 * ps-print.el (ps-default-fg, ps-default-bg):
5397 * type-break.el (type-break-good-break-interval):
5398 * whitespace.el (whitespace-indentation-regexp)
5399 (whitespace-space-after-tab-regexp):
5400 * emacs-lisp/testcover.el (testcover-1value-functions)
5401 (testcover-noreturn-functions, testcover-progn-functions)
5402 (testcover-prog1-functions):
5403 * emulation/viper-init.el (viper-emacs-state-cursor-color):
5404 * eshell/em-glob.el (eshell-glob-translate-alist):
5405 * play/tetris.el (tetris-tty-colors):
5406 * progmodes/cpp.el (cpp-face-default-list):
5407 * progmodes/flymake.el (flymake-allowed-file-name-masks):
5408 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
5409 (idlwave-help-browser-generic-args):
5410 * progmodes/make-mode.el (makefile-special-targets-list):
5411 * progmodes/python.el (python-shell-virtualenv-path):
5412 * progmodes/verilog-mode.el (verilog-active-low-regexp)
5413 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
5414 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
5415 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
5416 * textmodes/reftex-vars.el (reftex-format-label-function):
5417 * textmodes/remember.el (remember-diary-file): Fix custom types.
5418
e54eeb9b
GM
5419 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
5420 Add :version.
5421
455851dd
LL
54222013-05-09 Leo Liu <sdl.web@gmail.com>
5423
5424 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 5425 Restore file completion. (Bug#14300)
455851dd
LL
5426 (inferior-octave-startup): Fix incorrect highlighting for the
5427 first prompt.
5428
a9e4425b
SM
54292013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5430
5431 * progmodes/ruby-mode.el: First cut at SMIE support.
5432 (ruby-use-smie): New var.
5433 (ruby-smie-grammar): New constant.
5434 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
5435 (ruby-smie--forward-token, ruby-smie--backward-token)
5436 (ruby-smie-rules): New functions.
5437 (ruby-mode-variables): Setup SMIE if applicable.
5438
060ca408
EZ
54392013-05-08 Eli Zaretskii <eliz@gnu.org>
5440
5441 * simple.el (line-move-visual): Signal beginning/end of buffer
5442 only if vertical-motion moved less than it was requested. Avoids
5443 silly incorrect error messages when there are display strings with
5444 multiple newlines at EOL.
5445
1d5963cc
SM
54462013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5447
5448 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
5449 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
5450 (prolog-char-quote-workaround):
5451 * progmodes/cperl-mode.el (cperl-under-as-char):
5452 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
5453 Mark as obsolete.
5454 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
5455 their declaration.
5456 (vhdl-mode-syntax-table-init): Remove.
5457
c9990474
SM
5458 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
5459 last change.
1d5963cc
SM
5460
5461 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
5462 syntax for "_".
5463 (ld-script-font-lock-keywords):
5464 Change regexps to use things like \_< and \_>.
5465
5466 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
5467 Change all regexps to use things like \_< and \_>.
5468
5469 * progmodes/autoconf.el (autoconf-definition-regexp)
5470 (autoconf-font-lock-keywords, autoconf-current-defun-function):
5471 Handle a _ with symbol syntax.
5472 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
5473
c9990474
SM
5474 * progmodes/ada-mode.el (ada-mode-abbrev-table):
5475 Consolidate declaration.
1d5963cc
SM
5476 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
5477 the declaration.
5478 (ada-create-syntax-table): Remove.
5479 (ada-capitalize-word): Don't mess with the syntax of "_" since it
5480 already has the right syntax nowadays.
5481 (ada-goto-next-word): Don't change the syntax of "_".
5482
5483 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
5484 with-wrapper-hook.
5485
72d3cfca
SS
54862013-05-08 Sam Steingold <sds@gnu.org>
5487
5488 * thingatpt.el (thing-at-point): Accept optional second argument
5489 NO-PROPERTIES to strip the text properties from the return value.
5490 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
5491 to `thing-at-point' instead of stripping the properties ourselves.
5492 Also, when `thing-at-point' fails to find a url, prepend "http://"
5493 to the filename at point on the assumption that the user is
5494 pointing at something like gnu.org/gnu.
5495
5cb15713
JB
54962013-05-08 Juanma Barranquero <lekktu@gmail.com>
5497
5498 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
5499 * faces.el (crm-separator):
5500 Silence byte-compiler.
5501
5502 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
5503 (tool-bar-map): Remove unneeded defvars.
5504
ea78b95b
LL
55052013-05-08 Leo Liu <sdl.web@gmail.com>
5506
5507 Re-work a fix for bug#10994 based on Le Wang's patch.
5508 * ido.el (ido-remove-consecutive-dups): New helper.
5509 (ido-completing-read): Use it.
5510 (ido-chop): Revert fix for bug#10994.
5511
dc7466df
AS
55122013-05-08 Adam Spiers <emacs@adamspiers.org>
5513
5514 * cus-edit.el (custom-save-variables):
5515 Pretty-print long values. (Bug#14187)
5516
9ecf672a
GM
55172013-05-08 Glenn Morris <rgm@gnu.org>
5518
5519 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
5520 (m4-mode-syntax-table): Init in the defvar.
5521 (m4-mode-abbrev-table): Let define-derived-mode define it.
5522
3f555be8
TT
55232013-05-08 Tom Tromey <tromey@redhat.com>
5524
5525 * progmodes/m4-mode.el (m4-mode-syntax-table):
5526 Do not treat "_" as word constituent. (Bug#14167)
5527
7cc8ae06
GM
55282013-05-07 Glenn Morris <rgm@gnu.org>
5529
4f58bc06
GM
5530 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
5531 Remove explicit eshell-isearch-cancel-map.
5532
7cc8ae06
GM
5533 * progmodes/f90.el (f90-smart-end-names): New option.
5534 (f90-smart-end): Doc fix.
5535 (f90-end-block-optional-name): New constant.
5536 (f90-block-match): Respect f90-smart-end-names.
5537
ceb57e59
SM
55382013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
5539
5540 * progmodes/octave.el (octave-smie-forward-token): Be more careful
5541 about implicit semi-colons (bug#14218).
5542
4e3f9230
YM
55432013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5544
5545 * frame.el (display-monitor-attributes-list)
5546 (frame-monitor-attributes): New functions.
5547
203a5572
LL
55482013-05-06 Leo Liu <sdl.web@gmail.com>
5549
5550 * progmodes/octave.el (octave-syntax-propertize-function): Change
5551 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
5552 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 5553 (octave-completion-at-point): Rename from
203a5572
LL
5554 octave-completion-at-point-function.
5555 (inferior-octave-directory-tracker): Robustify.
5556 (octave-text-functions): Remove and fix its uses. No such things
5557 any more.
5558
ee6cff99
SM
55592013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
5560
5561 * emacs-lisp/trace.el (trace--display-buffer): New function.
5562 (trace-make-advice): Use it.
5563
32985194
JL
55642013-05-06 Juri Linkov <juri@jurta.org>
5565
5566 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
5567 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
5568 Doc fix.
5569 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
5570 in the help string. (Bug#12985)
5571
a1c700de
KD
55722013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
5573
5574 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
5575
c67c0839
SM
55762013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
5577
323885fd
SM
5578 * progmodes/perl-mode.el: Add support for here documents.
5579 (perl-syntax-propertize-function): Match here-doc markers.
5580 (perl-syntax-propertize-special-constructs): Find their end.
5581 (perl-imenu-generic-expression): Use [:alnum:].
5582
c67c0839
SM
5583 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
5584 (advice--add-function): Refresh the advice if already present
5585 (bug#14317).
5586
d491e7a8
IA
55872013-05-06 Ivan Andrus <darthandrus@gmail.com>
5588
5589 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
5590
ddf9925e
GM
55912013-05-06 Glenn Morris <rgm@gnu.org>
5592
7cc3af27
GM
5593 * w32-fns.el (w32-charset-info-alist): Declare.
5594
16e343d6
GM
5595 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
5596 of its defcustom properties.
5597 (eshell-cmpl-initialize): No need to load pcomplete.
5598
7d889a47
GM
5599 * generic-x.el: No need to require comint when compiling.
5600
ddf9925e
GM
5601 * net/eudc-export.el: Make it loadable without bbdb.
5602 (top-level): Use require rather than load-library.
5603 (eudc-create-bbdb-record, eudc-bbdbify-phone)
5604 (eudc-batch-export-records-to-bbdb)
5605 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
5606 Require bbdb.
5607
1e2c18df
SM
56082013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
5609
5610 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
5611 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
5612 some tweaks, instead.
5613
02502a5f
LL
56142013-05-05 Leo Liu <sdl.web@gmail.com>
5615
5616 * progmodes/octave.el (octave-font-lock-keywords)
5617 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
5618 (inferior-octave-send-list-and-digest): Improve error message.
5619 (octave-mode, inferior-octave-mode): Use setq-local.
5620 (octave-help): Set info-lookup-mode.
5621
0dc04f42
RS
56222013-05-05 Richard Stallman <rms@gnu.org>
5623
6c54491c
RS
5624 * vc/compare-w.el (compare-windows-whitespace):
5625 Treat no-break space as whitespace.
5626
0dc04f42
RS
5627 * mail/rmailsum.el (rmail-summary-rmail-update):
5628 Detect empty summary and don't change selected message.
5629 (rmail-summary-goto-msg): Likewise.
5630
df8f35df
RS
5631 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
5632 Doc fixes, rename args.
5633
5356e1a3
AM
56342013-05-05 Alan Mackenzie <acm@muc.de>
5635
5636 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
5637
d44014cb
JL
56382013-05-05 Juri Linkov <juri@jurta.org>
5639
5640 * info.el (Info-read-subfile): Use (point-min) instead of (point)
5641 to not add the length of the summary segment to the return value.
5642 (Bug#14125)
5643
c129b51f
LL
56442013-05-05 Leo Liu <sdl.web@gmail.com>
5645
5646 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
5647 (inferior-octave-output-filter): Remove.
5648 (octave-send-region, inferior-octave-startup): Fix callers.
5649 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
5650 (octave-binary-file-extensions): New user variable.
5651 (octave-find-definition): Confirm if opening binary files.
5652 (octave-help-file): Use octave-find-definition to get the binary
5653 confirmation.
5654 (octave-help): Adjust for octave-help-file change.
5655
aa7dab97
SM
56562013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
5657
5658 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
5659 Merge the two entries that handle function definitions.
5660 (pascal--syntax-propertize): New const.
5661 (pascal-mode): Use it. Use setq-local.
5662
fd3a9a6b
GM
56632013-05-04 Glenn Morris <rgm@gnu.org>
5664
5665 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
5666 (diary-from-outlook): Respect diary-from-outlook-function.
5667
30c7e542
SM
56682013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
5669
5670 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
5671 Move the declaration from C.
5672 (read-minibuffer, eval-minibuffer): Move from C.
5673 (completion-setup-function): Avoid minibuffer-completion-contents.
5674
b54f978b
LL
56752013-05-03 Leo Liu <sdl.web@gmail.com>
5676
5677 * progmodes/octave.el (octave-font-lock-keywords): Do not
5678 dehighlight 'end' in comments or strings.
30c7e542
SM
5679 (octave-completing-read, octave-goto-function-definition):
5680 New helpers.
d4d0f9b3
LL
5681 (octave-help-buffer): New user variable.
5682 (octave-help-file, octave-help-function): New button types.
5683 (octave-help): New command and bind it to C-h ;.
5684 (octave-find-definition): New command and bind it to M-.
d74a1581 5685 (user-error): Alias to error if not defined.
b54f978b 5686
27135018
LL
56872013-05-02 Leo Liu <sdl.web@gmail.com>
5688
5689 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
5690 for \. (bug#14332)
5691 (octave-font-lock-keywords): Include [ and {.
5692
0d634d3a
LL
56932013-05-02 Leo Liu <sdl.web@gmail.com>
5694
5695 * progmodes/octave.el (inferior-octave-startup-file): Change default.
5696 (inferior-octave): Remove calling comint-mode and return the buffer.
5697 (inferior-octave-startup): Cosmetic changes.
5698
b4c8295e
LL
56992013-05-02 Leo Liu <sdl.web@gmail.com>
5700
30c7e542
SM
5701 * progmodes/octave.el (octave-syntax-propertize-function):
5702 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 5703
f12ad6ec
GM
57042013-05-02 Glenn Morris <rgm@gnu.org>
5705
5706 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
5707 * desktop.el (vc-dir-mode): Just autoload it here.
5708
30cac1e0
AM
57092013-05-02 Alan Mackenzie <acm@muc.de>
5710
5711 Eliminate variable c-standard-font-lock-fontify-region-function.
5712 * progmodes/cc-mode.el
5713 (c-standard-font-lock-fontify-region-function): Remove.
5714 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
5715
d8ef28b1
LL
57162013-05-01 Leo Liu <sdl.web@gmail.com>
5717
2640d52e 5718 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 5719 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 5720 variables were removed from Octave in 2007.
d8ef28b1
LL
5721 (inferior-octave-startup): Fix uses.
5722 (comint-line-beginning-position): Remove compatibility code for
5723 emacs 21.
5724
ac63ec89
JL
57252013-05-01 Juri Linkov <juri@jurta.org>
5726
5727 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
5728
9e9be37c
JL
57292013-05-01 Juri Linkov <juri@jurta.org>
5730
5731 * comint.el (comint-previous-matching-input): Don't print message
5732 "History item: %d" when `isearch-mode' is active.
5733 (comint-history-isearch-message): Print message "History item: %d"
5734 when `comint-input-ring-index' is not empty and this function is
5735 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
5736
9b92c13b
LL
57372013-05-01 Leo Liu <sdl.web@gmail.com>
5738
5739 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
5740 definitions. Use completion-at-point to insert keywords.
5741 (octave-abbrev-start): Remove.
5742 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
5743
b12d33d7
LL
57442013-04-30 Leo Liu <sdl.web@gmail.com>
5745
5746 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
5747 change.
5748
3d1c39fa
AM
57492013-04-30 Alan Mackenzie <acm@muc.de>
5750
5751 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
5752 * progmodes/cc-engine.el (c-back-over-member-initializers):
5753 new function.
3d1c39fa
AM
5754 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
5755 (most) member init lists.
5756
5147fc17
RS
57572013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5758
5759 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
5760 variable.
5761
5b78d7fc
LL
57622013-04-30 Leo Liu <sdl.web@gmail.com>
5763
5764 * progmodes/octave.el (octave-variables): Remove. No builtin
5765 variables any more. All converted to functions.
5766 (octave-font-lock-keywords, octave-completion-at-point-function):
5767 Fix uses.
5768 (octave-font-lock-texinfo-comment): New user variable.
5769 (octave-texinfo-font-lock-keywords): New variable for texinfo
5770 comment block.
5771 (octave-function-comment-block): New face.
5772 (octave-font-lock-texinfo-comment): New function.
5773 (octave-mode): Font lock texinfo comment block.
5774
38d8527b
LL
57752013-04-29 Leo Liu <sdl.web@gmail.com>
5776
5777 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
5778 indexing expression.
5779 (octave-continuation-string): Do not use \.
5780 (inferior-octave-complete-impossible): Remove.
5781 (inferior-octave-completion-table)
5782 (inferior-octave-completion-at-point): Remove its uses.
5783 (inferior-octave-startup): completion_matches was introduced to
5784 Octave in 1996 so safe to assume it.
5785 (octave-function-file-comment): Improve to follow how Octave does it.
5786 (octave-update-function-file-comment): Tweak.
5787
2ec12cb0
LL
57882013-04-29 Leo Liu <sdl.web@gmail.com>
5789
5790 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
5791 (inferior-octave-startup): Remove inferior-octave-startup-hook.
5792 (octave-function-file-comment): Fix typo.
5793 (octave-sync-function-file-names): Use read-char-choice.
5794
6eaed048
JB
57952013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
5796
5797 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
5798 to t for the less important warnings.
5799
3ffa2d4f
DH
58002013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
5801
5802 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
5803
685c9501
GM
58042013-04-27 Glenn Morris <rgm@gnu.org>
5805
5806 * vc/log-view.el (log-view-current-entry):
5807 Treat "---" separator lines as part of the following rev. (Bug#14169)
5808
0208ede7
JL
58092013-04-27 Juri Linkov <juri@jurta.org>
5810
5811 * subr.el (read-number): Doc fix about using it by interactive
5812 code letter `n'. (Bug#14254)
5813
5db9dace
JL
58142013-04-27 Juri Linkov <juri@jurta.org>
5815
5816 * desktop.el (desktop-auto-save-timeout): New option.
5817 (desktop-file-checksum): New variable.
5818 (desktop-save): Add optional arg `auto-save' and don't auto-save
5819 if nothing changed.
5820 (desktop-auto-save-timer): New variable.
5821 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
5822 (after-init-hook): Call `desktop-auto-save-set-timer'.
5823 Suggested by Reuben Thomas <rrt@sc3d.org> in
5824 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
5825
b7260dd4
LL
58262013-04-27 Leo Liu <sdl.web@gmail.com>
5827
5828 * progmodes/octave.el (octave-function-file-p)
5829 (octave-skip-comment-forward, octave-function-file-comment)
5830 (octave-update-function-file-comment): New functions.
5831 (octave-mode-map): Bind C-c ; to
5832 octave-update-function-file-comment.
5833 (octave-mode-menu): Add octave-update-function-file-comment.
5834 (octave-mode, inferior-octave-mode): Fix doc-string.
5835 (octave-insert-defun): Conform to Octave's coding convention.
5836 (Bug#14285)
5837
5838 * files.el (basic-save-buffer): Don't let errors in
5839 before-save-hook prevent saving buffer.
5840
c46da669
RW
58412013-04-20 Roland Winkler <winkler@gnu.org>
5842
5843 * faces.el (read-face-name): Use completing-read if arg multiple
5844 is nil.
5845
a81ee1eb
IL
58462013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
5847
5848 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
5849 displayed, move point to after the totals line.
5850 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
5851 for the details.
5852
4fac34ce
SM
58532013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
5854
5855 * emacs-lisp/package.el (package-autoload-ensure-default-file):
5856 Add current dir to the load-path.
5857 (package-generate-autoloads): Don't rely on
5858 autoload-ensure-default-file.
5859
f6bfc063
RT
58602013-04-26 Reuben Thomas <rrt@sc3d.org>
5861
d40ab5cf
BG
5862 * textmodes/remember.el (remember-store-in-files): Document that
5863 the file name format is passed to `format-time-string'.
f6bfc063 5864
e55d3b04
LL
58652013-04-26 Leo Liu <sdl.web@gmail.com>
5866
5867 * progmodes/octave.el (octave-sync-function-file-names): New function.
5868 (octave-mode): Use it in before-save-hook.
5869
e53052d3
SM
58702013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
5871
140ef50c
SM
5872 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
5873 (bug#14274).
5874
e53052d3
SM
5875 * progmodes/octave.el (octave-smie-forward-token): Properly skip
5876 \n and comment, even if it's not an implicit ; (bug#14218).
5877
af80458d 58782013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
5879
5880 * subr.el (read-number): Once more use `read' rather than
5881 `string-to-number', to trap non-numeric input. (Bug#14254)
5882
af80458d 58832013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
5884
5885 * emacs-lisp/syntax.el (syntax-propertize-multiline):
5886 Use `syntax-multiline' text property consistently instead of
8a621d53 5887 `font-lock-multiline'. (Bug#14237)
70203c2e 5888
e6ea1f6c
GM
58892013-04-26 Glenn Morris <rgm@gnu.org>
5890
5891 * emacs-lisp/shadow.el (list-load-path-shadows):
5892 No longer necessary to check for duplicate simple.el, since
5893 2012-07-07 change to init_lread to not include installation lisp
5894 directories in load-path when running uninstalled. (Bug#14270)
5895
070ccca4
LL
58962013-04-26 Leo Liu <sdl.web@gmail.com>
5897
5898 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
5899 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 5900 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
5901 octave-in-string-or-comment-p.
5902 (octave-in-comment-p, octave-in-string-p)
5903 (octave-in-string-or-comment-p): Replace defsubst with defun.
5904
9d1c5fb6
PE
59052013-04-25 Paul Eggert <eggert@cs.ucla.edu>
5906
5907 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
5908
c034abda
BG
59092013-04-25 Bastien Guerry <bzg@gnu.org>
5910
5911 * textmodes/remember.el (remember-data-directory)
5912 (remember-directory-file-name-format): Fix custom types.
5913
584ea277
LL
59142013-04-25 Leo Liu <sdl.web@gmail.com>
5915
e53052d3
SM
5916 * progmodes/octave.el (octave-completion-at-point-function):
5917 Make use of inferior octave process.
584ea277
LL
5918 (octave-initialize-completions): Remove.
5919 (inferior-octave-completion-table): New function.
5920 (inferior-octave-completion-at-point): Use it.
5921 (octave-completion-alist): Remove.
5922
1693b06a
SM
59232013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
5924
5925 * progmodes/opascal.el: Use font-lock and syntax-propertize.
5926 (opascal-mode-syntax-table): New var.
5927 (opascal-literal-kind, opascal-is-literal-end)
5928 (opascal-literal-token-at): Rewrite.
5929 (opascal--literal-start-re, opascal-font-lock-keywords)
5930 (opascal--syntax-propertize): New constants.
5931 (opascal-font-lock-defaults): Adjust.
5932 (opascal-mode): Use them. Set comment-<foo> variables as well.
5933 (delphi-comment-face, opascal-comment-face, delphi-string-face)
5934 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
5935 (delphi-other-face, opascal-other-face): Remove face variables.
5936 (opascal-save-state): Remove macro.
5937 (opascal-fontifying-progress-step): Remove constant.
5938 (opascal--ignore-changes): Remove var.
5939 (opascal-set-token-property, opascal-parse-next-literal)
5940 (opascal-is-stable-literal, opascal-complete-literal)
5941 (opascal-is-literal-start, opascal-face-of)
5942 (opascal-parse-region, opascal-parse-region-until-stable)
5943 (opascal-fontify-region, opascal-after-change)
5944 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
5945 (opascal-debug-parse-region, opascal-debug-parse-window)
5946 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
5947 (opascal-debug-fontify-buffer): Remove.
5948 (opascal-debug-mode-map): Adjust accordingly.
5949
be64c05d
LL
59502013-04-25 Leo Liu <sdl.web@gmail.com>
5951
5952 Merge octave-mod.el and octave-inf.el into octave.el with some
5953 cleanups.
5954 * progmodes/octave.el: New file renamed from octave-mod.el.
5955 * progmodes/octave-inf.el: Merged into octave.el.
5956 * progmodes/octave-mod.el: Renamed to octave.el.
5957
d79d37bd
TH
59582013-04-25 Tassilo Horn <tsdh@gnu.org>
5959
5960 * textmodes/reftex-vars.el
5961 (reftex-label-ignored-macros-and-environments): New defcustom.
5962
5963 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
5964
ced3fc5d
SM
59652013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
5966
5967 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
5968 (smie-indent-keyword): Improve the check to ensure that the next
5969 comment is really on the same line.
5970 (smie-indent-comment): Don't align with a subsequent closer (or eob).
5971
5972 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
5973 semi-colons if the line is not otherwise empty (bug#14218).
5974
1c141dad
GM
59752013-04-25 Glenn Morris <rgm@gnu.org>
5976
5977 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
5978
5058062a
SM
59792013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
5980
5981 * progmodes/opascal.el (opascal-set-token-property): Rename from
5982 opascal-set-text-properties and only set `token' (bug#14134).
5983 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
5984 (opascal-literal-text-properties): Remove.
5985 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
5986 Adjust callers.
5987
5db9dace 59882013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
5989
5990 * textmodes/remember.el (remember-handler-functions): Add an
5991 option for a new handler `remember-store-in-files'.
5992 (remember-data-directory, remember-directory-file-name-format):
5993 New options.
5994 (remember-store-in-files): New function to store remember notes
5995 as separate files within a directory.
5996
4391916c
MH
59972013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
5998
5999 * progmodes/compile.el (compilation-next-error-function):
6000 Pass "formats" to compilation-find-file (bug#11777).
6001
bb7cdf58
GM
60022013-04-24 Glenn Morris <rgm@gnu.org>
6003
3b8fe752 6004 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
6005 * vc/vc-hg.el (vc-hg-print-log):
6006 * vc/vc-svn.el (vc-svn-print-log):
6007 Fix START-REVISION with LIMIT != 1. (Bug#14168)
6008
bb7cdf58
GM
6009 * vc/vc-bzr.el (vc-bzr-print-log):
6010 * vc/vc-cvs.el (vc-cvs-print-log):
6011 * vc/vc-git.el (vc-git-print-log):
6012 * vc/vc-hg.el (vc-hg-print-log):
6013 * vc/vc-mtn.el (vc-mtn-print-log):
6014 * vc/vc-rcs.el (vc-rcs-print-log):
6015 * vc/vc-sccs.el (vc-sccs-print-log):
6016 * vc/vc-svn.el (vc-svn-print-log):
6017 * vc/vc.el (vc-print-log-internal): Doc fixes.
6018
b46a056e
GM
60192013-04-23 Glenn Morris <rgm@gnu.org>
6020
6021 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
6022 Remove venerable code attempting to avoid substitute-command-keys.
6023
0aecf718
TH
60242013-04-23 Tassilo Horn <tsdh@gnu.org>
6025
4391916c
MH
6026 * textmodes/reftex-vars.el (reftex-label-regexps):
6027 Call `reftex-compile-variables' after changes to this variable.
0aecf718 6028
117f94cf
SM
60292013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
6030
4391916c 6031 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
6032 Use lexical-binding.
6033 (jit-lock-force-redisplay): Use markers, check buffer's continued
6034 existence and beware narrowed buffers.
6035 (jit-lock-fontify-now): Adjust call accordingly.
6036
1d829c64
SM
60372013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
6038
6039 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
6040 to avoid misleading the user.
6041
72d548a9
LL
60422013-04-22 Leo Liu <sdl.web@gmail.com>
6043
6044 * info-look.el: Prefer latex2e.info. (Bug#14240)
6045
d0853629
MA
60462013-04-22 Michael Albinus <michael.albinus@gmx.de>
6047
6048 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
6049
6050 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 6051 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
6052 (tramp-set-completion-function, tramp-parse-putty):
6053 * net/tramp-adb.el (tramp-adb-execute-adb-command):
6054 * net/tramp-gvfs.el (tramp-gvfs-send-command):
6055 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
6056 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
6057 (tramp-call-local-coding-command): Use `tramp-call-process'
6058 instead of `tramp-compat-call-process'.
6059
6060 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
6061 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
6062 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 6063 (tramp-find-inline-compress): Improve traces.
d0853629
MA
6064 (tramp-maybe-send-script): Check for Perl binary.
6065 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
6066
38cc0210
DU
60672013-04-22 Daiki Ueno <ueno@gnu.org>
6068
6069 * epg.el (epg-context-pinentry-mode): New function.
6070 (epg-context-set-pinentry-mode): New function.
6071 (epg--start): Pass --pinentry-mode option to gpg command.
6072
cc641ee1
XF
60732013-04-21 Xue Fuqiao <xfq.free@gmail.com>
6074
02d844b5 6075 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 6076 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 6077 `completion-at-point'. (Bug#13774)
5d4e5c31 6078
cc641ee1
XF
6079 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
6080 default key binding for `describe-distribution' has been moved to
6081 `C-h C-o'. (Bug#13970)
6082
1b42ee43
GM
60832013-04-21 Glenn Morris <rgm@gnu.org>
6084
6085 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
6086 Add doc strings.
6087 (vc-print-log): Clarify interactive prompt.
6088
a6d63d97
GM
60892013-04-20 Glenn Morris <rgm@gnu.org>
6090
6091 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
6092 No longer include timestamp etc information.
6093
d7f5c16f
RW
60942013-04-20 Roland Winkler <winkler@gnu.org>
6095
6096 * faces.el (read-face-name): Bug fix, return just one face if arg
6097 multiple is nil. (Bug#14209)
6098
bcd7a0a4
SM
60992013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
6100
6101 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
6102 (remove-function): Autoload.
6103
6104 * comint.el (comint-redirect-original-filter-function): Remove.
6105 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
6106 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
6107 (vc-cvs-annotate-command):
bcd7a0a4
SM
6108 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
6109 * progmodes/prolog.el (prolog-consult-compile):
6110 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
6111 Use add/remove-function instead.
6112 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
6113 (gud-tooltip-process-output, gud-tooltip-tips):
6114 Use add/remove-function instead.
6115 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
6116 (scheme-interaction-mode, exit-scheme-interaction-mode):
6117 Use add/remove-function instead.
6118
6119 * vc/vc-dispatcher.el: Use lexical-binding.
6120 (vc--process-sentinel): Rename from vc-process-sentinel.
6121 Change last arg to be the code to run. Don't use vc-previous-sentinel
6122 and vc-sentinel-commands any more.
6123 (vc-exec-after): Allow code to be a function. Use add/remove-function.
6124 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
6125
4d3268ba
MY
61262013-04-19 Masatake YAMATO <yamato@redhat.com>
6127
bcd7a0a4 6128 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 6129 Handle function names with a single character. (Bug#14111)
4d3268ba 6130
781b4af6 61312013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
6132
6133 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
6134 for subroutines defined in an eval (bug#14182).
6135
7d688336
TV
61362013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6137
6138 * bookmark.el (bookmark-completing-read): Improve handling of empty
6139 string (bug#14176).
6140
31dcede0
SM
61412013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
6142
6143 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
6144
adc31213
FEG
61452013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
6146
6147 New faster Imenu implementation (bug#14058).
6148 * progmodes/python.el:
6149 (python-imenu-prev-index-position):
6150 (python-imenu-format-item-label-function)
6151 (python-imenu-format-parent-item-label-function)
6152 (python-imenu-format-parent-item-jump-label-function):
6153 New vars.
6154 (python-imenu-format-item-label)
6155 (python-imenu-format-parent-item-label)
6156 (python-imenu-format-parent-item-jump-label)
6157 (python-imenu--put-parent, python-imenu--build-tree)
6158 (python-imenu-create-index, python-imenu-create-flat-index)
6159 (python-util-popn): New functions.
6160 (python-mode): Set imenu-create-index-function to
6161 python-imenu-create-index.
6162
cdca8255
SM
61632013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
6164
6165 * winner.el (winner-active-region): Use region-active-p, activate-mark
6166 and deactivate-mark (bug#14225).
6167
6168 * simple.el (deactivate-mark): Don't inline it.
6169
beb42340
MA
61702013-04-18 Michael Albinus <michael.albinus@gmx.de>
6171
6172 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
6173
fc7f4d7e
TH
61742013-04-18 Tassilo Horn <tsdh@gnu.org>
6175
6176 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
6177 file extensions from the archive-mode entry in order to prefer
6178 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
6179
29f47822
LL
61802013-04-18 Leo Liu <sdl.web@gmail.com>
6181
6182 * bindings.el (help-event-list): Add ?\?.
6183
d36ed1c8
SM
61842013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
6185
6186 * subr.el (with-wrapper-hook): Declare obsolete.
6187 * simple.el (filter-buffer-substring-function): New hook.
6188 (filter-buffer-substring): Use it.
6189 (filter-buffer-substring-functions): Mark obsolete.
6190 * minibuffer.el (completion-in-region-function): New hook.
6191 (completion-in-region): Use it.
6192 (completion-in-region-functions): Mark obsolete.
6193 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
6194 * abbrev.el (abbrev-expand-function): New hook.
6195 (expand-abbrev): Use it.
6196 (abbrev-expand-functions): Mark obsolete.
6197 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
6198 and :filter-return.
6199
04754d36
FEG
62002013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
6201
6202 * progmodes/python.el (python-nav--syntactically): Fix cornercases
6203 and do not care about match data.
6204
dd8791e9
SM
62052013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
6206
6207 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
6208 completion tables when completing error conditions and
6209 `declare' arguments.
6210 (lisp-complete-symbol, field-complete): Mark as obsolete.
6211 (check-parens): Unmatched parens are user errors.
6212 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
6213
ffe54a13
AM
62142013-04-17 Michal Nazarewicz <mina86@mina86.com>
6215
dd8791e9
SM
6216 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
6217 command changed buffer (ie. `flyspell-pre-buffer' is not current
6218 buffer), which prevents making decisions based on invalid value of
6219 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
6220 cause an error when `flyspell-pre-point' was nil after switching
6221 buffers.
6222 (flyspell-post-command-hook): No longer needs to change buffers when
6223 checking pre-word. While at it remove unnecessary progn.
ffe54a13 6224
ec7e39f2
AM
62252013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
6226
6227 * textmodes/ispell.el (ispell-add-per-file-word-list):
6228 Fix `flyspell-correct-word-before-point' error when accepting
6229 words and `coment-padding' is an integer by using
6230 `comment-normalize-vars' (Bug #14214).
6231
083850a6
FEG
62322013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
6233
6234 New defun movement commands.
6235 * progmodes/python.el (python-nav--syntactically)
6236 (python-nav--forward-defun, python-nav-backward-defun)
6237 (python-nav-forward-defun): New functions.
6238
619ed6e1
FEG
62392013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
6240
6241 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
6242 (python-syntax-context): Use named compiler-macro for backwards
6243 compatibility with Emacs 24.x.
6244
7a1beb6c
LL
62452013-04-17 Leo Liu <sdl.web@gmail.com>
6246
6247 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
6248 octave-hide-process-buffer.
6249
2d3fa3e5
SM
62502013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
6251
6252 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
6253 (bug#14216).
6254
7ce5be54
JPG
62552013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
6256
6257 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
6258 Fix adjustment of offset when receiving incomplete responses from GDB
6259 (bug#14129).
6260
351edece
SM
62612013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
6262
6263 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
6264 python-mode-abbrev-table.
6265 (python-skeleton-define): Adjust accordingly.
6266 (python-mode-abbrev-table): New table that inherits from it so that
6267 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
6268
6269 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
6270 (abbrev-symbol): Use it.
6271 (abbrev--before-point): Use it since we already handle inheritance.
6272
613f9481
LL
62732013-04-16 Leo Liu <sdl.web@gmail.com>
6274
6275 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
6276 binding to info-lookup-symbol.
6277
51646b62
JB
62782013-04-16 Juanma Barranquero <lekktu@gmail.com>
6279
6280 * minibuffer.el (completion--twq-all):
6281 * term/ns-win.el (ns-initialize-window-system):
6282 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
6283
efb3f01d
SM
62842013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
6285
36c0a301
SM
6286 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
6287 global bindings.
6288
efb3f01d
SM
6289 * doc-view.el (doc-view-start-process): Handle url-handler directories.
6290
fb549d64
DG
62912013-04-15 Dmitry Gutov <dgutov@yandex.ru>
6292
6293 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
6294 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
6295 to nil.
6296 (ruby-end-of-defun): Remove the unused arg, change the docstring
6297 to reflect that this function is only used as the value of
6298 `end-of-defun-function'.
6299 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
6300 to reflect an earlier change that beginning/end-of-defun functions
6301 jump between methods in a class definition, as well as top-level
6302 functions.
6303
21e8fe2f
SM
63042013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
6305
6306 * minibuffer.el (minibuffer-complete): Don't just scroll
6307 a *Completions* that's been iconified.
6308 (minibuffer-force-complete): Make sure repetitions do cycle when going
6309 through completion-in-region -> minibuffer-complete.
6310
20e527d0
AM
63112013-04-15 Alan Mackenzie <acm@muc.de>
6312
6313 Correct the placement of c-cpp-delimiters when there're #s not at
6314 col 0.
6315
6316 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
6317 place a submatch around the #.
21e8fe2f
SM
6318 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
6319 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
6320 on the #, not BOL.
6321
dabefae5
SM
63222013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
6323
6324 * emacs-lisp/nadvice.el: Properly test names when adding advice.
6325 (advice--member-p): New arg `name'.
6326 (advice--add-function, advice-member-p): Use it (bug#14202).
6327
85c9ab64
AM
63282013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
6329
6330 Reformulate java imenu-generic-expression.
6331 The old expression contained ill formed regexps.
6332
6333 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
6334 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
6335 (cc-imenu-java-method-arg-regexp): New defconsts.
6336 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 6337 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
6338 handling of spaces in the regexp.
6339
0f821d99
AM
63402013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6341
6342 * textmodes/ispell.el (ispell-command-loop): Remove
6343 flyspell highlight of a word when ispell accepts it (bug #14178).
6344
eb922adf
MA
63452013-04-15 Michael Albinus <michael.albinus@gmx.de>
6346
6347 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
6348 uses code from the previous `ange-ftp-run-real-handler'.
6349 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
6350 only in case that function exist. This is needed for proper
6351 unloading of Tramp.
6352
4d9a0979
TH
63532013-04-15 Tassilo Horn <tsdh@gnu.org>
6354
6355 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
6356
6357 * textmodes/reftex.el (reftex-compile-variables): Use it.
6358
a829b0dc
SM
63592013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
6360
91e8293c
SM
6361 * files.el (normal-mode): Only use default major-mode if no other mode
6362 was specified.
6363
830aed4d
SM
6364 * emacs-lisp/trace.el (trace-values): New function.
6365
a829b0dc
SM
6366 * files.el: Allow : in local variables (bug#14089).
6367 (hack-local-variable-regexp): New var.
6368 (hack-local-variables-prop-line, hack-local-variables): Use it.
6369
7ae9f0fb
RW
63702013-04-13 Roland Winkler <winkler@gnu.org>
6371
6372 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
6373 data before it gets modified by bibtex-beginning-of-entry.
6374
6646e848
RW
63752013-04-13 Roland Winkler <winkler@gnu.org>
6376
6377 * textmodes/bibtex.el (bibtex-url): Doc fix.
6378
63792013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
6380
6381 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
6382 does not visit a BibTeX file, exclude it from the list of buffers
6383 returned by bibtex-initialize.
6384
0aa3616e
SB
63852013-04-13 Stephen Berman <stephen.berman@gmx.net>
6386
6387 * window.el (split-window): Remove interactive form, since as a
6388 command this function is a special case of split-window-below.
6389 Correct doc string.
6390
011cddd6
RW
63912013-04-12 Roland Winkler <winkler@gnu.org>
6392
6393 * faces.el (read-face-name): Do not override value of arg default.
6394 Allow single faces and strings as default values. Remove those
6395 elements from return value that are not faces.
6396 (describe-face): Simplify.
6397 (face-at-point): New optional args thing and multiple so that this
6398 function can provide the same functionality previously provided by
6399 read-face-name.
6400 (make-face-bold, make-face-unbold, make-face-italic)
6401 (make-face-unitalic, make-face-bold-italic, invert-face)
6402 (modify-face, read-face-and-attribute): Use face-at-point.
6403
6404 * cus-edit.el (customize-face, customize-face-other-window)
6405 * cus-theme.el (custom-theme-add-face)
6406 * face-remap.el (buffer-face-set)
6407 * facemenu.el (facemenu-set-face): Use face-at-point.
6408
f24e0036
MA
64092013-04-12 Michael Albinus <michael.albinus@gmx.de>
6410
6411 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
6412
da3cda2d
TH
64132013-04-10 Tassilo Horn <tsdh@gnu.org>
6414
6415 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
6416 off leading { and trailing } from field values.
6417
15e54145
SM
64182013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
6419
78ce603d
SM
6420 * emacs-lisp/timer.el (timer--check): New function.
6421 (timer--time, timer-set-function, timer-event-handler): Use it.
6422 (timer-set-idle-time): Simplify.
6423 (timer--activate): CSE.
6424 (timer-event-handler): Give more info in error message.
6425 (internal-timer-start-idle): New function, moved from C.
6426
15e54145
SM
6427 * mpc.el (mpc-proc): Add `restart' argument.
6428 (mpc-proc-cmd): Use it.
6429 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
6430 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
6431 less often.
6432
7144c627
MY
64332013-04-10 Masatake YAMATO <yamato@redhat.com>
6434
6435 * progmodes/sh-script.el: Implement `sh-mode' own
6436 `add-log-current-defun-function' (bug#14112).
6437 (sh-current-defun-name): New function.
6438 (sh-mode): Use the function.
6439
b39792eb
BG
64402013-04-09 Bastien Guerry <bzg@gnu.org>
6441
6442 * simple.el (choose-completion-string): Fix docstring (bug#14163).
6443
8acdeb71
SM
64442013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
6445
6fcdab68
SM
6446 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
6447
8acdeb71
SM
6448 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
6449 timer (bug#14156).
6450
e3e7b504
NF
64512013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
6452
6453 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
6454 declaration.
6455
201bb296
LL
64562013-04-07 Leo Liu <sdl.web@gmail.com>
6457
6458 * pcmpl-x.el: New file.
6459
ebb19708
DA
64602013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
6461
6462 Do not set x-display-name until X connection is established.
6463 This is needed to prevent from weird situation described at
6464 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
6465 * frame.el (make-frame): Set x-display-name after call to
6466 window system initialization function, not before.
6467 * term/x-win.el (x-initialize-window-system): Add optional
6468 display argument and use it.
6469 * term/w32-win.el (w32-initialize-window-system):
6470 * term/ns-win.el (ns-initialize-window-system):
6471 * term/pc-win.el (msdos-initialize-window-system):
6472 Add compatible optional display argument.
6473
33bb237a
EZ
64742013-04-06 Eli Zaretskii <eliz@gnu.org>
6475
6476 * files.el (normal-backup-enable-predicate): On MS-Windows and
6477 MS-DOS compare truenames of temporary-file-directory and of the
6478 file, so that 8+3 aliases (usually found in $TEMP on Windows)
6479 don't fail comparison by compare-strings. Also, compare file
6480 names case-insensitively on MS-Windows and MS-DOS.
6481
134abf1f
SM
64822013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
6483
6484 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
6485 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
6486
d695cb94
DG
64872013-04-05 Dmitry Gutov <dgutov@yandex.ru>
6488
e3e7b504
NF
6489 * whitespace.el (whitespace-color-on, whitespace-color-off):
6490 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 6491
f4ad7ea1 64922013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
6493
6494 * ispell.el (ispell-set-spellchecker-params):
6495 Really set `ispell-args' for all equivs.
6496
632556e4
SM
64972013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
6498
6499 * ido.el (ido-completions): Use extra elements of ido-decorations
6500 (bug#14143).
6501 (ido-decorations): Update docstring.
6502
2a417372
MA
65032013-04-05 Michael Albinus <michael.albinus@gmx.de>
6504
6505 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
6506 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
6507 nil during initialization, in order not to miss changes since the
6508 file was opened. (Bug#14140)
6509
fc164b0c
LL
65102013-04-05 Leo Liu <sdl.web@gmail.com>
6511
6512 * kmacro.el (kmacro-call-macro): Fix bug#14135.
6513
0ccecc08
JB
65142013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
6515
6516 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
6517
51af1aa2
GM
65182013-04-04 Glenn Morris <rgm@gnu.org>
6519
6520 * electric.el (electric-pair-inhibit-predicate): Add :version.
6521
b208ebc6
SM
65222013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
6523
6524 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
6525 when a package is required several times (bug#14082).
6526
f3d3eaf0
RW
65272013-04-04 Roland Winkler <winkler@gnu.org>
6528
6529 * faces.el (read-face-name): Behave as promised by the docstring.
6530 Assume that arg default is a list of faces.
6531 (describe-face): Call read-face-name with list of default faces.
6532
2575da50
TV
65332013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6534
6535 * bookmark.el: Fix deletion of bookmarks (bug#13972).
6536 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
6537 (bookmark-bmenu-execute-deletions): Only skip first line if it's
6538 the header.
6539 (bookmark-exit-hook-internal): Save even if list is empty.
6540
397703b4
YH
65412013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
6542
6543 * emacs-lisp/package.el (package-pinned-packages): New var.
6544 (package--add-to-archive-contents): Obey it (bug#14118).
6545
691e26ae
AM
65462013-04-03 Alan Mackenzie <acm@muc.de>
6547
8a621d53
JB
6548 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
6549 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
6550
6551 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
6552 parameter `not-in-delimiter'. Handle being inside comment opener.
6553 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
6554 character in case we're typing a '*' after a '/'.
6555 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
6556 instead by passing the parameter to c-state-pp-to-literal.
6557
6558 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
6559 for elt. 7 of a parse state.
6560
4b725a70
PE
65612013-04-01 Paul Eggert <eggert@cs.ucla.edu>
6562
6563 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
6564 * international/latin1-disp.el, international/mule-util.el:
6565 * language/cyril-util.el, language/european.el, language/ind-util.el:
6566 * language/lao-util.el, language/thai.el, language/tibet-util.el:
6567 * language/tibetan.el, language/viet-util.el:
6568 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
6569
15c579f0
SM
65702013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
6571
6572 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
6573 (electric-pair-post-self-insert-function): Use it.
6574 (electric-pair-default-inhibit): New function, extracted from
6575 electric-pair-post-self-insert-function.
6576
a77e2924
RW
65772013-03-31 Roland Winkler <winkler@gnu.org>
6578
6579 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
6580
2bd8a4a8
SM
65812013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
6582
6583 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
6584
8d3655be 65852013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
6586
6587 Un-indent after "pass" and "return" statements (Bug#13888)
6588 * progmodes/python.el (python-indent-block-enders): New var.
6589 (python-indent-calculate-indentation): Use it.
6590
8d3655be 65912013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
6592
6593 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
6594 defun. Defining it as defalias could introduce too eager
6595 byte-compiler optimization. (Bug#14030)
6596
8d3655be 65972013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
6598
6599 * iswitchb.el (iswitchb-read-buffer): Fix typo.
6600
0b1619da
LL
66012013-03-30 Leo Liu <sdl.web@gmail.com>
6602
6603 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
6604 (kmacro-execute-from-register): Pass the keyboard macro to
6605 kmacro-call-macro or repeating won't work correctly.
6606
0b938190
TZ
66072013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
6608
6609 * progmodes/subword.el: Back to using `forward-symbol'.
6610
6611 * subr.el (forward-whitespace, forward-symbol)
6612 (forward-same-syntax): Move from thingatpt.el.
6613
35710234
LL
66142013-03-29 Leo Liu <sdl.web@gmail.com>
6615
6616 * kmacro.el (kmacro-to-register): New command.
6617 (kmacro-execute-from-register): New function.
6618 (kmacro-keymap): Bind to 'x'. (Bug#14071)
6619
efc0bb73
SM
66202013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
6621
6622 * mpc.el: Use defvar-local and setq-local.
6623 (mpc--proc-connect): Connection failures are not bugs.
6624 (mpc-mode-map): `follow-link' only applies to the buffer's content.
6625 (mpc-volume-map): Bind to the up-events.
6626
75a2f981
TZ
66272013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
6628
6629 * progmodes/subword.el (superword-mode): Use `forward-sexp'
6630 instead of `forward-symbol'.
6631
17c781d1
SM
66322013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
6633
6634 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
6635 (edebug--recursive-edit): Use it.
6636 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
6637 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
6638
f67bfbcf
LL
66392013-03-28 Leo Liu <sdl.web@gmail.com>
6640
6641 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
6642
b59f639d
EZ
66432013-03-27 Eli Zaretskii <eliz@gnu.org>
6644
6645 * facemenu.el (list-colors-callback): New defvar.
6646 (list-colors-redisplay): New function.
6647 (list-colors-display): Install list-colors-redisplay as the
6648 revert-buffer-function. (Bug#14063)
6649
f557c1b1
SM
66502013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
6651
b1da2957
SM
6652 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
6653 and suffixes don't overlap (bug#14061).
6654
f557c1b1
SM
6655 * case-table.el: Use lexical-binding.
6656 (case-table-get-table): New function.
6657 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
6658
002668e1
TZ
66592013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
6660
6661 * progmodes/subword.el: Add `superword-mode' to do word motion
6662 over symbol_words (parallels and leverages `subword-mode' which
6663 does word motion inside MixedCaseWords).
6664
73572c72
AG
66652013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
6666
78b8f320 6667 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 6668 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 6669
69b2c07e
SM
66702013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
6671
6672 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
6673 Change return value to be a sexp. Delay `get-buffer' to after
6674 restoring the desktop (bug#13951).
6675
08bb5ee2
LL
66762013-03-26 Leo Liu <sdl.web@gmail.com>
6677
6678 * register.el: Move semantic tag handling back to
6679 cedet/semantic/senator.el. (Bug#14052)
6680
8d4c974e
SM
66812013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
6682
6683 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
6684 into the prompt either (bug#13963).
6685
b234d92c
SM
66862013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
6687
6688 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
6689 part of "(error-foo)".
6690
ddfa3cb4
JL
66912013-03-24 Juri Linkov <juri@jurta.org>
6692
6693 * replace.el (list-matching-lines-prefix-face): New defcustom.
6694 (occur-1): Pass `list-matching-lines-prefix-face' to the function
6695 `occur-engine' if `face-differs-from-default-p' returns t.
6696 (occur-engine): Add `,' inside backquote construct to evaluate
6697 `prefix-face'. Propertize the prefix with the `prefix-face' face.
6698 Pass `prefix-face' to the functions `occur-context-lines' and
6699 `occur-engine-add-prefix'.
6700 (occur-engine-add-prefix, occur-context-lines): Add optional arg
6701 `prefix-face' and propertize the prefix with `prefix-face'.
6702 (Bug#14017)
6703
7b0e2f85
LL
67042013-03-24 Leo Liu <sdl.web@gmail.com>
6705
6706 * nxml/rng-valid.el (rng-validate-while-idle)
6707 (rng-validate-quick-while-idle): Guard against deleted buffer.
6708 (Bug#13999)
6709
6710 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
6711 is the last entry in kill-buffer-hook.
6712
6713 * files.el (kill-buffer-hook): Doc fix.
6714
b3082f49
DG
67152013-03-23 Dmitry Gutov <dgutov@yandex.ru>
6716
b234d92c
SM
6717 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
6718 Make it safe-local.
bde73d27 6719
b3082f49
DG
6720 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
6721
a320a2db
LL
67222013-03-23 Leo Liu <sdl.web@gmail.com>
6723
7e74b0fb
LL
6724 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
6725 Remove.
6726
6727 * nxml/rng-valid.el (rng-validate-mode)
6728 (rng-after-change-function, rng-do-some-validation):
6729 * nxml/rng-maint.el (rng-validate-buffer):
6730 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
6731 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
6732 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
6733 (nxml-extend-after-change-region): Use with-silent-modifications.
6734
a320a2db
LL
6735 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
6736 timer-idle-list.
6737
6738 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
6739 (rng-next-error-1, rng-previous-error-1): Do not let-bind
6740 timer-idle-list. (Bug#13999)
6741
e38e6780
JL
67422013-03-23 Juri Linkov <juri@jurta.org>
6743
6744 * info.el (info-index-match): New face.
6745 (Info-index, Info-apropos-matches): Add a nested subgroup to the
6746 main pattern and add text properties with the new face to matches
6747 in index entries relative to the beginning of the index entry.
6748 (Bug#14015)
6749
e8cc7880
DE
67502013-03-21 Eric Ludlam <zappo@gnu.org>
6751
6752 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
6753 Inhibit read only while inserting objects.
6754
9bb0d822
TZ
67552013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
6756
6757 * progmodes/cfengine.el: Update docs to mention
6758 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
6759 symbol motion. Remove "_" from the word syntax.
6760
aa703640
TZ
67612013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
6762
6763 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
6764 syntax for both `cfengine2-mode' and `cfengine3-mode'.
6765
afff09d0
JL
67662013-03-20 Juri Linkov <juri@jurta.org>
6767
6768 * info.el (Info-next-reference-or-link)
6769 (Info-prev-reference-or-link): New functions.
6770 (Info-next-reference, Info-prev-reference): Use them.
6771 (Info-try-follow-nearest-node): Handle footnote navigation.
6772 (Info-fontify-node): Fontify footnotes. (Bug#13989)
6773
9a1ff164
SM
67742013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
6775
6776 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
6777 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
6778
2667d15d
PE
67792013-03-20 Paul Eggert <eggert@cs.ucla.edu>
6780
6781 Suppress unnecessary non-ASCII chatter during build process.
6782 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
6783 (batch-skkdic-convert): Suppress most of the chatter.
6784 It's not needed so much now that machines are faster,
6785 and its non-ASCII component was confusing; see Dmitry Gutov in
6786 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
6787
438b0579
LL
67882013-03-20 Leo Liu <sdl.web@gmail.com>
6789
6790 * ido.el (ido-chop): Fix bug#10994.
6791
c128ab07
DG
67922013-03-19 Dmitry Gutov <dgutov@yandex.ru>
6793
6794 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
6795 Remove vars.
9a1ff164
SM
6796 (whitespace-color-on, whitespace-color-off):
6797 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 6798
0e6008c5
SM
67992013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
6800
6801 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
6802 remapping in mode-line.
6803 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
6804
627b52b0
DG
68052013-03-19 Dmitry Gutov <dgutov@yandex.ru>
6806
6807 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
6808 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
6809 (whitespace-font-lock-keywords): Change description.
6810 (whitespace-color-on): Don't save `font-lock-keywords' value, save
6811 the constructed keywords instead.
6812 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 6813
50c3a20b
LL
68142013-03-19 Leo Liu <sdl.web@gmail.com>
6815
6816 * progmodes/compile.el (compilation-display-error): New command.
6817 (compilation-mode-map, compilation-minor-mode-map): Bind it to
6818 C-o. (Bug#13992)
6819
2aa2157b
PE
68202013-03-18 Paul Eggert <eggert@cs.ucla.edu>
6821
6822 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
6823
e477dbfa
JD
68242013-03-18 Jan Djärv <jan.h.d@swipnet.se>
6825
6826 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
6827
64ab82d1
MA
68282013-03-18 Michael Albinus <michael.albinus@gmx.de>
6829
6830 * net/tramp-compat.el (tramp-compat-user-error): New defun.
6831
6832 * net/tramp-adb.el (tramp-adb-handle-shell-command):
6833 * net/tramp-gvfs.el (top):
6834 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
6835 (tramp-handle-shell-command): Use it.
6836 (tramp-dissect-file-name): Raise an error when hostname is a
6837 method name, and neither method nor user is specified.
6838
6839 * net/trampver.el: Update release number.
6840
33cef733
LL
68412013-03-18 Leo Liu <sdl.web@gmail.com>
6842
6843 Make sure eldoc can be turned off properly.
6844 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
6845 eldoc-mode.
6846 (eldoc-display-message-p): Revert last change.
6847 (eldoc-display-message-no-interference-p)
6848 (eldoc-print-current-symbol-info): Tweak.
6849
2167b7b2
TH
68502013-03-18 Tassilo Horn <tsdh@gnu.org>
6851
6852 * doc-view.el (doc-view-new-window-function): Check the new window
6853 overlay's display property instead the char property of the
6854 buffer's first char. Use `with-selected-window' instead of
6855 `save-window-excursion' with `select-window'.
6856 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 6857 display property instead the char property of the buffer's first char.
2167b7b2 6858
982efbcd
PE
68592013-03-18 Paul Eggert <eggert@cs.ucla.edu>
6860
6861 Automate the build of ja-dic.el (Bug#13984).
6862 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
6863 from the input, rather than assume that it's been done for us by the
6864 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
6865 the current date into a ja-dic.el comment, as that complicates
6866 regression testing.
6867
2fcc7665
SM
68682013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
6869
6870 * whitespace.el: Fix double evaluation.
6871 (whitespace-space, whitespace-hspace, whitespace-tab)
6872 (whitespace-newline, whitespace-trailing, whitespace-line)
6873 (whitespace-space-before-tab, whitespace-indentation)
6874 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
6875 obsolete defvars.
6876 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
6877 (whitespace-color-on): Use a single font-lock-add-keywords call.
6878 Fix double-evaluation of face variables.
6879
67c0a6e6
MA
68802013-03-17 Michael Albinus <michael.albinus@gmx.de>
6881
2fcc7665
SM
6882 * net/tramp-adb.el (tramp-adb-parse-device-names):
6883 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 6884 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 6885
69489f1d
LL
68862013-03-17 Leo Liu <sdl.web@gmail.com>
6887
6888 Extend eldoc to display info in the mode-line. (Bug#13978)
6889 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
6890 (eldoc-mode-line-string): New variable.
6891 (eldoc-minibuffer-message): New function.
6892 (eldoc-message-function): New variable.
6893 (eldoc-message): Use it.
6894 (eldoc-display-message-p)
2fcc7665
SM
6895 (eldoc-display-message-no-interference-p):
6896 Support eldoc-post-insert-mode.
69489f1d
LL
6897
6898 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
6899 (eval-expression): Run it.
6900
9c44569e
RW
69012013-03-17 Roland Winkler <winkler@gnu.org>
6902
6903 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
6904 strings in the list of return values.
6905
327f1f6f
JB
69062013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
6907
6908 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
6909 radix before checking for HMS forms.
6910
67ed8fcd
LL
69112013-03-16 Leo Liu <sdl.web@gmail.com>
6912
6913 * progmodes/scheme.el: Add indentation and font-locking for λ.
6914 (Bug#13975)
6915
78be8b64 69162013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
6917
6918 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
6919 token before point (bug#13942).
6920
78be8b64 69212013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 6922
95b43468 6923 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 6924
98e775e6
EZ
69252013-03-16 Eli Zaretskii <eliz@gnu.org>
6926
6927 * startup.el (command-line-normalize-file-name): Fix handling of
6928 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
6929 <xfq.free@gmail.com> in
6930 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
6931
2edd6029
MA
69322013-03-15 Michael Albinus <michael.albinus@gmx.de>
6933
6934 Sync with Tramp 2.2.7.
6935
6936 * net/trampver.el: Update release number.
6937
d35f5864
TH
69382013-03-14 Tassilo Horn <tsdh@gnu.org>
6939
f35ffe5e
TH
6940 * doc-view.el Fix bug#13887.
6941 (doc-view-insert-image): Don't modify overlay associated to
6942 non-live windows, and implement horizontal centering of image in
6943 case it's smaller than the window.
6944 (doc-view-new-window-function): Force redisplay of new windows on
6945 doc-view buffers.
d35f5864 6946
1c4a85ed
KF
69472013-03-13 Karl Fogel <kfogel@red-bean.com>
6948
6949 * saveplace.el (save-place-alist-to-file): Don't sort
6950 `save-place-alist', just pretty-print it (bug#13882).
6951
85b66a21
MA
69522013-03-13 Michael Albinus <michael.albinus@gmx.de>
6953
a020afb9
JB
6954 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
6955 Check whether `default-file-name-coding-system' is bound.
6956 It isn't in XEmacs.
85b66a21 6957
175600da
SM
69582013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
6959
e7f7cb1a
SM
6960 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
6961 backquotes for `obsolete' (bug#13929).
6962
175600da
SM
6963 * international/mule.el (find-auto-coding): Include file name in
6964 obsolescence warning (bug#13922).
6965
ca68a22e
TZ
69662013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
6967
6968 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
6969 for CFEngine 3-specific indentation.
6970 (cfengine3-indent-line): Use it. Fix up category regex.
6971 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
6972
940e5099
SM
69732013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6974
6975 * type-break.el (type-break-file-name):
6976 * textmodes/remember.el (remember-data-file):
6977 * strokes.el (strokes-file):
6978 * shadowfile.el (shadow-initialize):
6979 * saveplace.el (save-place-file):
6980 * ps-bdf.el (bdf-cache-file):
6981 * progmodes/idlwave.el (idlwave-config-directory):
6982 * net/quickurl.el (quickurl-url-file):
6983 * international/kkc.el (kkc-init-file-name):
6984 * ido.el (ido-save-directory-list-file):
6985 * emulation/viper.el (viper-custom-file-name):
6986 * emulation/vip.el (vip-startup-file):
6987 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
6988 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
6989
cc725808
PE
69902013-03-12 Paul Eggert <eggert@cs.ucla.edu>
6991
6992 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
6993 * language/thai-word.el: Switch to UTF-8.
6994
a020afb9 6995See ChangeLog.16 for earlier changes.
e3d51b27
MR
6996
6997;; Local Variables:
6998;; coding: utf-8
e3d51b27
MR
6999;; End:
7000
ab422c4d 7001 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
7002
7003 This file is part of GNU Emacs.
7004
7005 GNU Emacs is free software: you can redistribute it and/or modify
7006 it under the terms of the GNU General Public License as published by
7007 the Free Software Foundation, either version 3 of the License, or
7008 (at your option) any later version.
7009
7010 GNU Emacs is distributed in the hope that it will be useful,
7011 but WITHOUT ANY WARRANTY; without even the implied warranty of
7012 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7013 GNU General Public License for more details.
7014
7015 You should have received a copy of the GNU General Public License
7016 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.