Guard (looking-at "\\s!") from XEmacs.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
9155e80d
AM
12014-05-30 Alan Mackenzie <acm@muc.de>
2
3 Guard (looking-at "\\s!") from XEmacs.
4 * progmodes/cc-engine.el (c-state-pp-to-literal): add guard form.
5
e50e0340
KO
62014-05-30 Ken Olum <kdo@cosmos.phy.tufts.edu> (tiny change)
7
8 * mail/rmail.el (rmail-delete-forward, rmail-delete-backward): The
9 argument COUNT is now optional, to be more backward-compatible.
10 Doc fix. (Bug#17560)
11
6ddcaa8f
RT
122014-05-29 Reuben Thomas <rrt@sc3d.org>
13
b0877c44
RT
14 * whitespace.el (whitespace-report-region): Simplify
15 documentation.
b4c1ce8a
RT
16 (whitespace-report-region): Allow report-if-bogus to take the
17 value `never', for non-interactive use.
b0877c44
RT
18 (whitespace-report): Refer to whitespace-report-region's
19 documentation.
6ddcaa8f 20
6711a21f
SM
212014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
22
4d05fe98
SM
23 * whitespace.el: Use font-lock-flush. Minimize refontifications.
24 Side benefit: it works without jit-lock.
25 (whitespace-point--used): New buffer-local var.
26 (whitespace-color-on): Initialize it and flush it. Use font-lock-flush.
27 (whitespace-color-off): Use font-lock-flush.
28 (whitespace-point--used, whitespace-point--flush-used): New functions.
29 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
30 (whitespace-empty-at-eob-regexp): Use them.
31 (whitespace-post-command-hook): Rewrite.
32
6711a21f
SM
33 * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
34 (font-lock-fontify-buffer): Mark interactive-only.
35 (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
36 Make buffer-local.
37 (font-lock-specified-p): Remove redundant boundp check.
38 (font-lock-flush-function, font-lock-ensure-function): New vars.
39 (font-lock-turn-on-thing-lock): Set them.
40 (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
41 (font-lock-after-change-function): Make `old-len' optional.
42 (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
43 Call font-lock-flush, just in case.
44 * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
45 recent Emacsen.
46 * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
47 (vera-mode-map, vera-mode-menu): Remove bindings to it.
48 * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
49 and with-syntax-table.
50 * textmodes/conf-mode.el (conf-quote-normal):
51 * progmodes/sh-script.el (sh-set-shell):
52 * progmodes/prog-mode.el (prettify-symbols-mode):
53 * progmodes/f90.el (f90-font-lock-n):
54 * progmodes/cwarn.el (cwarn-mode):
55 * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
56 * progmodes/compile.el (compilation-setup, compilation--unsetup):
57 * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
58 (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
59 * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
60 font-lock-fontify-buffer-function and
61 font-lock-unfontify-buffer-function.
62 (rmail-unfontify-buffer-function, rmail-fontify-message):
63 Use with-silent-modifications.
64 * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
65 and font-lock-ensure.
66 * bs.el (bs-show-in-buffer): Use font-lock-ensure.
67
c63982dd
TTN
682014-05-28 Thien-Thi Nguyen <ttn@gnu.org>
69
70 * emacs-lisp/package.el (package-generate-autoloads):
71 Inhibit backup files.
72
1af6db7d
SM
732014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
74
75 * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
76 (bug#17608).
77
fc21a7de
MN
782014-05-21 Michal Nazarewicz <mina86@mina86.com>
79
80 * textmodes/tildify.el (tildify-buffer, tildify-region):
81 Add dont-ask option.
82
0e4857b7
SM
832014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
84
4c539a7b
SM
85 * subr.el (zerop): Move from C. Add compiler-macro (bug#17475).
86 * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
87
0e4857b7
SM
88 * subr.el (internal--funcall-interactively): New.
89 (internal--call-interactively): Remove.
90 (called-interactively-p): Detect funcall-interactively instead of
91 call-interactively.
0e4857b7
SM
92 * simple.el (repeat-complex-command): Use funcall-interactively.
93 (repeat-complex-command--called-interactively-skip): Remove.
94
a366fbe2
SM
952014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
96
0da7d35c
SM
97 * register.el (register-read-with-preview): Don't burp on
98 frame switches (e.g. due to the frame we just popped).
99
a366fbe2
SM
100 * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
101 (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
102
015936fb 1032014-05-26 Andreas Schwab <schwab@linux-m68k.org>
12ddce55
AS
104
105 * cus-face.el (custom-face-attributes): Add :distant-foreground.
106
015936fb 1072014-05-26 Martin Rudalics <rudalics@gmx.at>
f408fbe4 108
015936fb 109 * window.el (window--dump-frame): Remove interactive specification.
f408fbe4 110
015936fb 1112014-05-26 Glenn Morris <rgm@gnu.org>
486eebac
GM
112
113 * hippie-exp.el (he-line-search-regexp):
114 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
115
015936fb 1162014-05-26 Stephen Berman <stephen.berman@gmx.net>
903204bb
SB
117
118 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
119 to avoid errors when trying to create or visit a file foo.todo
120 located outside to todo-directory, and to allow having such files
121 without them being tied to Todo mode (bug#17482).
122 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
123 (todo-archive-done-item, todo-find-filtered-items-file)
124 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
125 (todo-category-completions, todo-read-category): When visiting a
126 Todo file, make sure we're in the right mode and the buffer local
127 variables are set.
128 (todo-make-categories-list, todo-reset-nondiary-marker)
a366fbe2
SM
129 (todo-reset-done-string, todo-reset-comment-string):
130 After processing all Todo files, kill the buffers of those files that
903204bb
SB
131 weren't being visited before the processing.
132 (todo-display-as-todo-file, todo-add-to-buffer-list)
133 (todo-visit-files-commands): Comment out.
134 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
135 (auto-mode-alist): Remove add-to-list calls making Todo file
136 extensions unrestrictedly tied to Todo modes.
137
015936fb 1382014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
15ad4013
SM
139
140 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
141 (advice-function-member-p): Tell it to check both names and functions
142 (bug#17531).
143 (advice--add-function): Adjust call accordingly.
144
015936fb 1452014-05-26 Stephen Berman <stephen.berman@gmx.net>
982ccf03
SB
146
147 * calendar/todo-mode.el: Miscellaneous bug fixes.
148 (todo-delete-file): When deleting an archive but not its todo
149 file, make sure to update the todo file's category sexp.
150 (todo-move-category): Keep the moved category's name unless the
151 file moved to already has a category with that name. If the
152 numerically last category of the source file was moved, make the
153 first category current to avoid selecting a nonexisting category.
154 (todo-merge-category): Fix implementation to make merging to a
155 category in another file work as documented. Eliminate now
156 insufficient and unnecessary renaming of archive category, correct
157 document string accordingly, and clarify it. If the numerically
158 last category of the source file was merged, make the first
159 category current to avoid selecting a nonexisting category.
160 (todo-archive-done-item): When there are marked items and point
161 happens to be on an unmarked item, ignore the latter. Don't leave
162 point below last item after archiving marked items.
163 (todo-unarchive-items): Fix logic to ensure unarchiving an item
164 from an archive with only one category deletes the archive only
165 when the category is empty after unarchiving. Make sure the todo
166 file's category sexp is updated.
167 (todo-read-file-name): Allow an existing file name even when it is
168 not required (todo-move-category needs this to work as documented).
169 (todo-add-file): Call todo-validate-name to reject the name of an
170 existing todo file (needed due to fix in todo-read-file-name).
171 (todo-reset-nondiary-marker): Also reset in filtered items files.
172 (todo-reset-done-string, todo-reset-comment-string): Also reset in
173 regexp filtered items files.
174 (todo-reset-highlight-item): Also reset in filtered items files.
175 Fix incorrect variable reference in document string.
176
015936fb 1772014-05-26 Glenn Morris <rgm@gnu.org>
bcba2d85
GM
178
179 * window.el (window--dump-frame): Avoid error in --without-x builds.
180
015936fb 1812014-05-26 Glenn Morris <rgm@gnu.org>
fb4ca841
GM
182
183 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
184
015936fb 1852014-05-26 Eli Zaretskii <eliz@gnu.org>
13a83f05
EZ
186
187 * frame.el (set-frame-font): Doc fix.
188
189 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
190
015936fb 1912014-05-26 Dmitry Gutov <dgutov@yandex.ru>
b0df8b95 192
a366fbe2
SM
193 * emacs-lisp/package.el (package--download-one-archive):
194 Use `write-region' instead of `save-buffer' to avoid running various
b0df8b95
DG
195 hooks. (Bug#17155)
196 (describe-package-1): Same. Insert newline at the end of the
197 buffer if appropriate.
198
015936fb 1992014-05-26 Juri Linkov <juri@jurta.org>
a2115113
JL
200
201 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
202 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
203 Add more modifiers: meta, control, shift, hyper, super, alt.
204 (Bug#17439)
205
2614b25f
JL
206 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
207 to allow changing its value with `set-variable'.
208
015936fb 2092014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
7b952d61 210
0a5cfeee
SM
211 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
212 #; comments.
213 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
214 New functions.
215 (scheme-mode-variables): Set syntax-propertize-function instead of
216 font-lock-syntactic-face-function.
217 (scheme-font-lock-syntactic-face-function): Delete.
218
7b952d61
SM
219 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
220
08a2434e
SM
221 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
222 (bug#17392).
223
015936fb 2242014-05-26 Michael Albinus <michael.albinus@gmx.de>
43425aec
MA
225
226 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
227 for a temporary file name.
228
015936fb 2292014-05-26 Eli Zaretskii <eliz@gnu.org>
1e046d37
EZ
230
231 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
232
015936fb 2332014-05-26 Michael Albinus <michael.albinus@gmx.de>
1bafb1de
MA
234
235 * net/dbus.el (dbus-init-bus, dbus-call-method)
236 (dbus-call-method-asynchronously, dbus-send-signal)
e8cbb768 237 (dbus-method-return-internal, dbus-method-error-internal):
1bafb1de
MA
238 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
239
015936fb 2402014-05-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
ec264fbb
NR
241
242 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
243 methods which do not have a doc string. (Bug#17490)
244
5e26d984
TH
2452014-05-25 Tassilo Horn <tsdh@gnu.org>
246
247 * textmodes/reftex-ref.el (reftex-format-special): Make it work
248 also for AMS Math's \eqref macro.
249
770a6a91
TTN
2502014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
251
252 Arrange to never byte-compile the generated -pkg.el file.
253
254 * emacs-lisp/package.el (package-generate-description-file):
255 Output first-line comment to set buffer-local var `no-byte-compile'.
256 Suggested by Dmitry Gutov:
257 <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
258
e50a0b6e
TTN
2592014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
260
261 Fix bug: Properly quote args to generated -pkg.el `define-package'.
262
263 * emacs-lisp/package.el (package-generate-description-file):
264 Inline `package--alist-to-plist'; rewrite to selectively
265 quote alist values that are not self-quoting.
266 (package--alist-to-plist): Delete func.
267
d93cfca0
AS
2682014-05-25 Andreas Schwab <schwab@linux-m68k.org>
269
270 * term/xterm.el (xterm-function-map): Add mapping for shifted
271 keypad keys.
272
8bb17f64
DC
2732014-05-24 Daniel Colascione <dancol@dancol.org>
274
166aaa37
DC
275 * progmodes/subword.el (subword-find-word-boundary): Move point to
276 correct spot before search. (Bug#17580)
277
8bb17f64
DC
278 * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
279 breaking the build.
280
ec774634
LL
2812014-05-24 Leo Liu <sdl.web@gmail.com>
282
283 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
284
e4829cb8
SM
2852014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
286
287 * minibuffer.el (completion--sreverse): Remove.
288 (completion--common-suffix): Use `reverse' instead.
289 * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
290
aad65192
GM
2912014-05-22 Glenn Morris <rgm@gnu.org>
292
293 * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
294
708374c7
DC
2952014-05-21 Daniel Colascione <dancol@dancol.org>
296
297 * files.el (interpreter-mode-alist): Add mksh.
298
299 * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
300 derivative.
301 (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
302 mksh. Improve custom spec; allow regular expressions.
303 (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
304 (sh-after-hack-local-variables): New function.
305 (sh-mode): Use it; respect file-local `sh-shell' variable. (bug#17333)
306 (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
307 the normalization.
308 (sh-canonicalize-shell): Rewrite to support regexes.
309
8ea51e4f
LL
3102014-05-21 Leo Liu <sdl.web@gmail.com>
311
312 * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
313
427de535
LL
3142014-05-19 Leo Liu <sdl.web@gmail.com>
315
316 * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
317
3c8d9107
GM
3182014-05-18 Glenn Morris <rgm@gnu.org>
319
320 * loadup.el:
321 * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
322
b8e11d41
SS
3232014-05-14 Sam Steingold <sds@gnu.org>
324
325 * progmodes/python.el (python-shell-get-or-create-process):
326 Do not bind `current-prefix-arg' so that C-c C-z does not talk
327 back unless requested.
328
abad7b05
GM
3292014-05-14 Glenn Morris <rgm@gnu.org>
330
d63d883a
GM
331 * subr.el (with-file-modes): New macro.
332 * printing.el (pr-save-file-modes): Make obsolete.
333 * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
334 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
335 Add with-file-modes.
336 * doc-view.el (doc-view-make-safe-dir):
337 * epg.el (epg--start):
338 * files.el (locate-user-emacs-file, make-temp-file)
339 (backup-buffer-copy, move-file-to-trash):
340 * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
341 * eshell/esh-util.el (eshell-with-private-file-modes)
342 (eshell-make-private-directory):
343 * net/browse-url.el (browse-url-mosaic):
344 * obsolete/mailpost.el (post-mail-send-it):
345 * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
346 * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
347 Use with-file-modes.
348
abad7b05
GM
349 * vc/emerge.el (emerge-make-temp-file): Simplify.
350
34cba8e8
SB
3512014-05-14 Stephen Berman <stephen.berman@gmx.net>
352 Stefan Monnier <monnier@iro.umontreal.ca>
353
354 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
355 suffix (bug#15419).
356
a5d09243
GM
3572014-05-14 Glenn Morris <rgm@gnu.org>
358
359 * vc/emerge.el (emerge-temp-file-prefix):
360 Make pointless option obsolete.
361 (emerge-temp-file-mode): Make non-functional option obsolete.
362
f4da4720 3632014-05-14 Michael Albinus <michael.albinus@gmx.de>
e95b937a
MA
364
365 * net/browse-url.el (browse-url):
366 Use `unhandled-file-name-directory' when setting `default-directory',
367 in order to circumvent stalled remote connections. (Bug#17425)
368
f0036ec2
GM
3692014-05-14 Glenn Morris <rgm@gnu.org>
370
371 * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
372 Optimize on Emacs, which has the relevant functions for ages.
373
27a69ff0
SM
3742014-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
375
376 * simple.el (undo-make-selective-list): Obey undo-no-redo.
377
ecaf7f4d
SS
3782014-05-12 Sam Steingold <sds@gnu.org>
379
380 * calendar/time-date.el (seconds-to-string): New function to
381 pretty print time delay in seconds.
382
97100b43
SM
3832014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
384
400e8286
SM
385 * mpc.el (mpc-format): Trim Date to the year.
386 (mpc-songs-hashcons): Shorten the Date field.
387
97100b43
SM
388 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
389 into autoloading just because of a silly indirection.
390
bbbabffe 3912014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com> (tiny change)
0add0959
SPM
392
393 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
394
bbbabffe 3952014-05-12 Glenn Morris <rgm@gnu.org>
e7caef59
GM
396
397 * emacs-lisp/find-gc.el: Move to ../admin.
398
6b45ef35
GM
399 * printing.el (pr-version):
400 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
401
8c6699ab
GM
402 * net/browse-url.el (browse-url-mosaic):
403 Create /tmp/Mosaic.PID as a private file.
404
bbbabffe 4052014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
5d03fb43
SM
406
407 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
408 (advice--member-p): If name is given, only compare the name.
409 (advice--remove-function): Don't stop at the first match.
410 (advice--normalize-place): New function.
411 (add-function, remove-function): Use it.
412 (advice--add-function): Pass the name, if any, to
413 advice--remove-function.
414
bbbabffe 4152014-05-12 Philipp Rumpf <prumpf@gmail.com> (tiny change)
3ebdceaf
PR
416
417 * electric.el (electric-indent-post-self-insert-function): Don't use
418 `pos' after modifying the buffer (bug#17449).
419
bbbabffe 4202014-05-12 Stephen Berman <stephen.berman@gmx.net>
472c15bf
SB
421
422 * calendar/todo-mode.el (todo-insert-item-from-calendar):
423 Correct argument list to conform to todo-insert-item--basic.
424
bbbabffe 4252014-05-12 Glenn Morris <rgm@gnu.org>
bb1f4b8f 426
2651ed05
GM
427 * files.el (cd-absolute): Test if directory is accessible
428 rather than executable. (Bug#17330)
429
bb1f4b8f
GM
430 * progmodes/compile.el (recompile):
431 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
432
4049faae
GM
433 * net/browse-url.el (browse-url-mosaic):
434 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
435 This is CVE-2014-3423.
436
4eb43682
SM
4372014-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
438
fbd5cc6c
SM
439 * mouse.el: Use the normal toplevel loop while dragging.
440 (mouse-set-point): Handle multi-clicks.
441 (mouse-set-region): Handle multi-clicks for drags.
442 (mouse-drag-region): Update call accordingly.
443 (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
444 Use the normal event loop instead of a local while/read-event loop.
445 (global-map): Remove redundant bindings for double/triple-mouse-1.
446 * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
447 Generate synthetic down events when the protocol only sends up events.
448 (xterm-mouse-last): Remove.
449 (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
450 terminal parameter instead.
451 (xterm-mouse--set-click-count): New function.
452 (xterm-mouse-event): Detect/generate double/triple clicks.
453 * reveal.el (reveal-close-old-overlays): Don't close while dragging.
454
80a78d23
SM
455 * info.el (Info-quoted): New face.
456 (Info-mode-font-lock-keywords): New var.
457 (Info-mode): Use it.
458
4eb43682
SM
459 * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
460 are a hindrance for C-x C-e.
461
2f9b4cfc
LL
4622014-05-11 Leo Liu <sdl.web@gmail.com>
463
464 * net/rcirc.el (rcirc-sentinel): Fix last change.
465
f36f0bca
SS
4662014-05-08 Sam Steingold <sds@gnu.org>
467
468 * net/rcirc.el (rcirc-reconnect-delay): New user option.
469 (rcirc-sentinel): Auto-reconnect to the server if
470 `rcirc-reconnect-delay' is non-0 (but not more often than its
471 value in case the host is off-line).
472
b722ea4e
EZ
4732014-05-09 Eli Zaretskii <eliz@gnu.org>
474
475 * progmodes/grep.el (lgrep): Fix a typo in last commit.
476
1d75432d
GM
4772014-05-09 Glenn Morris <rgm@gnu.org>
478
479 * files.el (file-expand-wildcards):
480 * man.el (Man-support-local-filenames):
481 * printing.el (pr-i-directory, pr-interface-directory):
482 * progmodes/grep.el (lgrep, rgrep):
483 * textmodes/ispell.el (ispell-call-process)
484 (ispell-call-process-region, ispell-start-process)
485 (ispell-init-process): Use file-accessible-directory-p.
486
b406487f
SM
4872014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
488
489 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
490 (xterm-mouse--read-event-sequence-1000): Return nil if something
491 looks fishy.
492 (xterm-mouse-event): Propagate it.
493 (xterm-mouse-translate-1): Handle it.
494
fb3f83f5 4952014-05-08 Stephen Berman <stephen.berman@gmx.net>
1ddb2150
SB
496
497 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
498 four slots of the parameter list are filled, make sure to pass it
499 to the argument list of todo-insert-item--basic.
500
fb3f83f5 5012014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5e87fcb1
SM
502
503 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
504 Add optional `seen' argument to detect and break infinite loops.
505
fb3f83f5 5062014-05-08 Eli Zaretskii <eliz@gnu.org>
c5d670f5
EZ
507
508 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
509 (trace-unsafe, trace-use-tree): Make parentheses style be
510 according to Emacs style.
511
fb3f83f5 5122014-05-08 Michael Albinus <michael.albinus@gmx.de>
3e59ead1 513
5e87fcb1
SM
514 * net/tramp-sh.el (tramp-remote-process-environment):
515 Remove HISTFILE and HISTSIZE; it's too late to set them here.
516 Add :version entry.
517 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
518 Add "HISTSIZE=/dev/null" to the shell's env arguments. Do not send
3e59ead1
MA
519 extra "PSx=..." commands.
520 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
521 (Bug#17295)
522
23e19cf2
MA
523 (tramp-uudecode): Replace the hard-coded temporary file name by a
524 format specifier.
525 (tramp-remote-coding-commands): Enhance docstring.
526 (tramp-find-inline-encoding): Replace "%t" by a temporary file
527 name. (Bug#17415)
a9fd3545 528 This is CVE-2014-3424.
23e19cf2 529
fb3f83f5 5302014-05-08 Glenn Morris <rgm@gnu.org>
0c4decae
GM
531
532 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
533 (find-gc-source-files): Update some names.
534 (trace-call-tree): Simplify and update.
535 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
a9fd3545 536 This is CVE-2014-3422.
0c4decae 537
fb3f83f5 5382014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
c22f24f6 539
bf67c3f7
SM
540 * minibuffer.el (completion--try-word-completion): Revert fix for
541 Bug#15980 (bug#17375).
542
c22f24f6
SM
543 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
544 Always store button numbers in the same way in xterm-mouse-last;
545 Don't burp is xterm-mouse-last is not set as expected.
546 Never return negative indices.
547
fb3f83f5 5482014-05-08 Dmitry Gutov <dgutov@yandex.ru>
4dd3c4d5
DG
549
550 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
551 Backtrack one char if the global/char-literal var matcher hits
552 inside a string. The next char could be the beginning of an
553 expression expansion.
554
fb3f83f5 5552014-05-08 Glenn Morris <rgm@gnu.org>
6da8d069
GM
556
557 * help-fns.el (describe-function-1): Test for an autoload before a
558 macro, since `macrop' works on autoloads. (Bug#17410)
559
fb3f83f5 5602014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
dccb0688 561
e6025d72
SM
562 * electric.el (electric-indent-functions-without-reindent): Add yaml.
563
dccb0688
SM
564 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
565 Make sure the new point we return is within the new string (bug#17239).
566
049534ad
DC
5672014-05-05 Daniel Colascione <dancol@dancol.org>
568
569 * progmodes/compile.el (compilation-error-regexp-alist-alist):
570 Port `gnu' pattern to rx.
571
80e377c0
JC
5722014-05-05 Jarek Czekalski <jarekczek@poczta.onet.pl>
573
574 Remove unneeded prompt when closing a buffer with active
575 emacsclient ("Buffer ... still has clients"), #16548.
576 * server.el (server-start): Remove the only call to:
577 (server-kill-buffer-query-function): Remove.
578
f930a063
LL
5792014-05-04 Leo Liu <sdl.web@gmail.com>
580
581 * calendar/diary-lib.el (calendar-chinese-month-name-array):
582 Defvar to pacify compiler.
583
3e9fa60a 5842014-05-04 Eli Zaretskii <eliz@gnu.org>
74a9022a
EZ
585
586 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
587
3e9fa60a 5882014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
e6cf6ca0
SM
589
590 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
591 Use nil rather than `default' for the "default" appearance (bug#17388).
592 * vc/ediff-util.el (ediff-inferior-compare-regions)
593 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
594 a misleading `default' value when it's really a boolean.
595 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
596 overlay is not visible.
597
3e9fa60a 5982014-05-04 Stephen Berman <stephen.berman@gmx.net>
7bd9ce64
SB
599
600 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
601 (todo-menu): Uncomment and update.
602
3e9fa60a 6032014-05-04 Stephen Berman <stephen.berman@gmx.net>
aed4b12d
SB
604
605 * calendar/todo-mode.el: Reimplement item editing to have the same
606 basic user interface as item insertion, and make small UI and
607 larger internal improvements to the latter.
608 (todo-insert-item): Add reference to the Todo mode user manual to
609 the documentation string.
610 (todo-insert-item--basic): Rename from todo-basic-insert-item and
611 adjust all callers. Change signature to combine diary and
612 nonmarking arguments. Incorporate functionality of deleted item
613 copying command and add error checking. Remove detailed
614 descriptions of the arguments from the documentation string, since
615 this is treated in the Todo mode user manual.
616 (todo-copy-item, todo-edit-multiline-item)
617 (todo-edit-done-item-comment, todo-edit-item-header)
618 (todo-edit-item-time, todo-edit-item-date-from-calendar)
619 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
620 (todo-edit-item-date-year, todo-edit-item-date-month)
621 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
622 Remove.
623 (todo-edit-item): Reimplement as wrapper command for
624 todo-edit-item--next-key and make it distinguish done and not done
625 todo items.
626 (todo-edit-item--text): New function, replacing old command
627 todo-edit-item and incorporating deleted commands
628 todo-edit-multiline-item and todo-edit-done-item-comment.
629 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
630 Use only numeric value of prefix argument. Remove detailed
631 descriptions of the arguments from the documentation string, since
632 this is treated in the Todo mode user manual.
633 (todo-edit-item--diary-inclusion): New function, replacing old
634 command todo-edit-item-diary-inclusion and incorporating and fixing
635 functionality of deleted command todo-edit-item-diary-nonmarking,
636 making sure to remove todo-nondiary-marker when adding
637 diary-nonmarking-symbol.
638 (todo-edit-category-diary-inclusion): Make sure to delete
639 diary-nonmarking-symbol when adding todo-nondiary-marker.
640 (todo-edit-category-diary-nonmarking): Fix indentation.
641 (todo-insert-item--parameters): Group diary and nonmarking
642 parameters together.
643 (todo-insert-item--apply-args): Adjust to signature of
644 todo-insert-item--basic and incorporate copy parameter.
645 Make small code improvements.
646 (todo-insert-item--next-param): Improve prompt and adjust it to
647 new parameter grouping. Remove obsolete code.
648 (todo-edit-item--param-key-alist)
649 (todo-edit-item--date-param-key-alist)
650 (todo-edit-done-item--param-key-alist): New defconsts.
651 (todo-edit-item--prompt): New variable.
652 (todo-edit-item--next-key): New function.
5e87fcb1
SM
653 (todo-key-bindings-t): Bind "e" to todo-edit-item.
654 Remove bindings of deleted commands.
aed4b12d 655
3e9fa60a 6562014-05-04 Leo Liu <sdl.web@gmail.com>
157e8cfd
LL
657
658 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
659
3e9fa60a 6602014-05-04 Glenn Morris <rgm@gnu.org>
d136f184
GM
661
662 * allout-widgets.el (allout-widgets-tally)
663 (allout-decorate-item-guides):
664 * menu-bar.el (menu-bar-positive-p):
665 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
666 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
667 * progmodes/js.el (js--inside-param-list-p)
668 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
669 * progmodes/prolog.el (region-exists-p):
670 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
671 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
672 Doc fixes (replace `iff').
673
3e9fa60a 6742014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
4ec0cf9c
SM
675
676 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
677
bbdcf64f
LL
6782014-05-04 Leo Liu <sdl.web@gmail.com>
679
680 Support Chinese diary entries in calendar and diary. (Bug#17393)
681 * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
682 (calendar-chinese-from-absolute-for-diary)
683 (calendar-chinese-to-absolute-for-diary)
684 (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
685 (diary-chinese-list-entries): New functions to list and mark
686 Chinese diary entries in the calendar window.
687 (diary-chinese-anniversary)
688 (diary-chinese-insert-anniversary-entry)
689 (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
690 (diary-chinese-insert-yearly-entry): New commands to insert
691 Chinese diary entries.
692
80a78d23
SM
693 * calendar/diary-lib.el (diary-font-lock-keywords):
694 Support font-locking Chinese dates.
bbdcf64f
LL
695
696 * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
697 inserting Chinese diary entries.
698
80a78d23
SM
699 * calendar/calendar.el (diary-chinese-entry-symbol):
700 New customizable variable.
bbdcf64f
LL
701 (calendar-mode-map): Add bindings for inserting Chinese diary
702 entries.
703
cfd59d67
JL
7042014-05-03 Juri Linkov <juri@jurta.org>
705
706 * dired.el (dired-check-switches, dired-switches-recursive-p):
707 New functions. (Bug#17218)
708 (dired-switches-escape-p, dired-move-to-end-of-filename):
709 Use `dired-check-switches'.
710 (dired-insert-old-subdirs, dired-build-subdir-alist)
711 (dired-sort-R-check): Use `dired-switches-recursive-p'.
712
4807c7eb
BR
7132014-05-01 Barry O'Reilly <gundaetiapo@gmail.com>
714
a7e1ffdc
BR
715 * simple.el (undo-make-selective-list): New algorithm fixes
716 incorrectness of position adjustments when undoing in region.
717 (Bug#17235)
718 (undo-elt-crosses-region): Make obsolete.
80a78d23
SM
719 (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
720 New functions to adjust positions using undo-deltas.
4807c7eb 721
17a873c5
SM
7222014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
723
724 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
725 the last consecutive closing paren (bug#17345).
726
724ee6dc
RT
7272014-04-30 Reuben Thomas <rrt@sc3d.org>
728
729 * dired.el (dired-mode): make terminology for eXpunge command
730 consistent. (Bug#17276)
731
72962dd8
EZ
7322014-04-30 Eli Zaretskii <eliz@gnu.org>
733
734 * dired.el (dired-initial-position-hook, dired-initial-position):
735 Doc string fixes.
736
09b911ad 7372014-04-30 Glenn Morris <rgm@gnu.org>
9a3f71f7
GM
738
739 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
740
09b911ad 7412014-04-30 Matthias Dahl <matthias.dahl@binary-island.eu>
bc6953b3
MD
742
743 * faces.el (face-spec-recalc): Apply X resources only after the
2cfb51ef 744 defface spec has been applied. Thus, X resources are no longer
bc6953b3
MD
745 overriden by the defface spec which also fixes issues on win32 where
746 the toolbar coloring was wrong because it is set through X resources
747 and was (wrongfully) overriden. (Bug#16694)
748
09b911ad 7492014-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
4f5fa755
SM
750
751 * textmodes/rst.el (electric-pair-pairs): Declare.
752 (rst-mode): Set it (bug#17131).
753
09b911ad 7542014-04-30 Juri Linkov <juri@jurta.org>
8e554df0
JL
755
756 * desktop.el (desktop-value-to-string): Let-bind `print-length'
757 and `print-level' to nil. (Bug#17351)
758
09b911ad 7592014-04-30 Nicolas Richard <theonewiththeevillook@yahoo.fr>
0507406b
NR
760
761 * battery.el (battery-update): Handle the case where battery
762 status is "N/A" (bug#17319).
763
9b7b020d
SM
7642014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
765
766 * progmodes/ps-mode.el: Use SMIE. Move string and comment recognition
767 to syntax-propertize.
768 (ps-mode-auto-indent): Mark as obsolete.
769 (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
770 (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
771 word regexp operators.
772 (ps-mode-map): Move initialization into declaration. Remove binding
773 for TAB, RET, >, ], and }.
774 (ps-mode-syntax-table): Move initialization into declaration.
775 Don't give word syntax to non-word chars.
776 (ps-run-mode-map): Move initialization into declaration.
777 (ps-mode-menu-main): Remove auto-indent entry.
778 (ps-mode-smie-rules): New function.
779 (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
780 (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
781 (ps-mode--string-syntax-table): New const.
782 (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
783 New functions.
784 (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
785 (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
786
196bfaec
DC
7872014-04-27 Daniel Colascione <dancol@dancol.org>
788
789 * term/xterm.el (xterm-paste): Use large finite timeout when
790 reading event to avoid putting keys in this-command-keys.
791
5ba339c7
SM
7922014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
793
794 * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
795 (perl-syntax-propertize-function): Use it. Extend handling of
796 here-docs to the unquoted case.
797
dff4a9f6 7982014-04-25 Eli Zaretskii <eliz@gnu.org>
bc0650fd 799
5ba339c7
SM
800 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
801 Use equal-including-properties to compare help-echo strings (bug#17331).
bc0650fd 802
dff4a9f6 8032014-04-25 Leo Liu <sdl.web@gmail.com>
00104e59
LL
804
805 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
806 Fix syntax for @. (Bug#17325)
807
dff4a9f6 8082014-04-25 Daniel Colascione <dancol@dancol.org>
543e3c63
DC
809
810 * emacs-lisp/cl.el (gv): Require gv early to break eager
811 macro-expansion cycles.
812
dff4a9f6 8132014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
c0868451 814
05452dc4
SM
815 * simple.el (region-active-p): Check there's a mark (bug#17324).
816
0e8a9331
SM
817 * simple.el (completion-list-mode-map): Use choose-completion for the
818 mouse binding as well (bug#17302).
819 (completion-list-mode, completion-setup-function): Adjust docstring and
820 echo area message accordingly.
821 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
822 calling convention of choose-completion.
823 * comint.el (comint-dynamic-list-completions):
824 * term.el (term-dynamic-list-completions): Accept choose-completion.
825
c0868451
SM
826 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
827 &, |, +, - and * can't be a division (bug#17317).
828
f7e0450a
SM
829 * term/xterm.el (xterm--version-handler): Don't use modern xterm
830 features on gnome-terminal (bug#16988).
831
5e4ab4e4
TTN
8322014-04-25 Thien-Thi Nguyen <ttn@gnu.org>
833
834 Improve Scheme font-locking for (define ((foo ...) ...) ...).
835
836 * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
837 the declared object, ignore zero or more parens, not zero or one.
838
d5031a2a
LL
8392014-04-24 Leo Liu <sdl.web@gmail.com>
840
841 * progmodes/xscheme.el (xscheme-expressions-ring)
842 (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
843 (xscheme-control-g-disabled-p, xscheme-process-filter-state)
844 (xscheme-allow-output-p, xscheme-prompt)
845 (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
846
847 * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
848 Comment out unused functions.
849
118b5a92
SM
8502014-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
851
852 * info.el: Use lexical-binding and cl-lib.
853 Use defvar-local and setq-local instead of make-local-variable.
854 (Info-apropos-matches): Avoid add-to-list.
855 (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
856
9b233997
DC
8572014-04-24 Daniel Colascione <dancol@dancol.org>
858
859 * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
860
ddc13efd
SM
8612014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
862
863 * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
864
f2df692c
MH
8652014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
866
867 * dired.el (dired-insert-set-properties): Do not consider
868 subdirectory headings and empty lines to be information that
869 `dired-hide-details-mode' should hide. (Bug#17228)
870
14828a95
MA
8712014-04-22 Michael Albinus <michael.albinus@gmx.de>
872
873 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
874 Remove test messages.
875 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
876 and `target' twice.
877
42e91034 8782014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
622eef68 879
9c104369
SM
880 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
881 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
882
622eef68
SM
883 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
884
42e91034 8852014-04-22 Michael Albinus <michael.albinus@gmx.de>
505fa2ab 886
622eef68
SM
887 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
888 Set "IFS=" when using read builtin, in order to preserve spaces in
505fa2ab
MA
889 the file name. Add test messages for hunting a bug on hydra.
890 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
891
42e91034 8922014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
f0ffb9b7
SM
893
894 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
895 Don't prettify a word within a symbol.
896
42e91034 8972014-04-22 Michael Albinus <michael.albinus@gmx.de>
feb5d8a4
MA
898
899 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
900 possible.
901
1b0f10d2
DC
9022014-04-22 Daniel Colascione <dancol@dancol.org>
903
904 * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
905 use defun to define `function-put'.
906
67c477ae
SM
9072014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
908
4f965793
SM
909 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
910 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
911 (lisp-mode-variables): Set font-lock-extra-managed-props.
912
67c477ae
SM
913 * emacs-lisp/byte-run.el (function-put): New function.
914 (defun-declarations-alist): Use it. Add `pure' and `side-effect-free'.
915 * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
916 (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
917 Use them.
918
66fda794
DC
9192014-04-22 Daniel Colascione <dancol@dancol.org>
920
67c477ae
SM
921 * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
922 Add `full-p' parameter; when nil, call `macroexpand' instead of
12b1389c
DC
923 `macroexpand-all'.
924
925 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
926 Improve docstrings.
927
c98212f9
DC
928 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
929 Use lambda function values, not quoted lambdas.
930 (byte-compile-recurse-toplevel): Remove extraneous &optional.
931
66fda794 932 * emacs-lisp/cl-macs.el
c98212f9 933 (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
66fda794
DC
934 (cl-struct-slot-value): Conditionally use aref or nth so that the
935 compiler produces optimal code.
936
d6f14ca7
SM
9372014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
938
939 * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
940 (inline): Don't inline cl--set-elt.
941 (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
942 Define as inlinable instead.
943 (cl-struct-set-slot-value): Remove.
944
945 * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
946 * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
947 Use setf instead.
948
44faec17
DC
9492014-04-21 Daniel Colascione <dancol@dancol.org>
950
951 * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
952 last two parameters after all.
953 (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
954 (cl--compiler-macro-assoc,cl-struct-slot-value)
955 (cl-struct-set-slot-value): Stop using them.
956
957(2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
9253f7af
SM
958
959 * image-mode.el (image-mode-window-put): Don't assume there's a `t'
960 entry in image-mode-winprops-alist.
961
2fa1b97d
DC
9622014-04-21 Daniel Colascione <dancol@dancol.org>
963
9253f7af
SM
964 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
965 (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
985c035f
DC
966 (byte-compile-toplevel-file-form): Use it.
967
2fa1b97d
DC
968 * emacs-lisp/cl-macs.el:
969 (cl--loop-let): Properly destructure `while' clauses.
970
e8a77f24
DC
9712014-04-20 Daniel Colascione <dancol@dancol.org>
972
973 * vc/vc.el (vc-root-dir): New public autoloaded function for
974 generically finding the current VC root.
975 * vc/vc-hooks.el (vc-not-supported): New error.
9253f7af 976 (vc-call-backend): Signal `vc-not-supported' instead of generic error.
e8a77f24 977
89a2e783
DC
9782014-04-20 Daniel Colascione <dancol@dancol.org>
979
980 * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
981 argument.
982 (cl--const-expr-val): cl--const-expr-val should macroexpand its
983 argument in case we're inside a symbol-macrolet.
984 (cl--do-arglist, cl--compiler-macro-typep)
985 (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
986 environment to `cl--const-expr-val'.
987 (cl-struct-sequence-type,cl-struct-slot-info)
988 (cl-struct-slot-offset, cl-struct-slot-value)
989 (cl-struct-set-slot-value): New functions.
990
fe36068f
SM
9912014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
992
993 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
994 assignments such as "case=hello" (bug#17297).
995
ce8c5107
MA
9962014-04-18 Michael Albinus <michael.albinus@gmx.de>
997
998 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
999 Do not autoload.
1000 (tramp-file-name-handler, tramp-completion-file-name-handler):
1001 Revert patch from 2014-04-10, it isn't necessary anymore.
1002 (tramp-autoload-file-name-handler)
1003 (tramp-register-autoload-file-name-handlers): New defuns.
1004 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
1005 (tramp-register-file-name-handlers): Remove also
1006 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
1007 Do not autoload its invocation, but eval it after loading of 'tramp.
1008
1009 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
1010
1011 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
1012
bfc30790
DC
10132014-04-17 Daniel Colascione <dancol@dancol.org>
1014
1015 Add support for bracketed paste mode; add infrastructure for
1016 managing terminal mode enabling and disabling automatically.
1017
1018 * xt-mouse.el:
1019 (xterm-mouse-mode): Simplify.
1020 (xterm-mouse-tracking-enable-sequence)
1021 (xterm-mouse-tracking-disable-sequence): New constants.
1022 (turn-on-xterm-mouse-tracking-on-terminal)
67c477ae
SM
1023 (turn-off-xterm-mouse-tracking-on-terminal):
1024 Use tty-mode-set-strings and tty-mode-reset-strings terminal
bfc30790
DC
1025 parameters instead of random hooks.
1026 (turn-on-xterm-mouse-tracking)
1027 (turn-off-xterm-mouse-tracking): Delete.
1028
1029 * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
1030 (xterm-paste-ending-sequence): New constant.
1031 (xterm-paste): New command used for bracketed paste support.
1032
1033 (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
1034 (terminal-init-xterm-bracketed-paste-mode): New function.
1035 (terminal-init-xterm): Call it.
1036 (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
1037 and tty-mode-reset-strings instead of random hooks.
1038 (xterm-turn-on-modify-other-keys)
1039 (xterm-turn-off-modify-other-keys)
1040 (xterm-remove-modify-other-keys): Delete obsolete functions.
1041
67c477ae
SM
1042 * term/screen.el: Rewrite to just use the xterm code.
1043 Add copyright notice. Mention tmux.
bfc30790 1044
e51c8d91
I
10452014-04-17 Ian D <dunni@gnu.org> (tiny change)
1046
1047 * image-mode.el (image-mode-window-put): Also update the property of
1048 the "default window".
1049 * doc-view.el (doc-view-new-window-function): If no window
1050 exists, move to the last known page.
1051
c76a7a5c
SM
10522014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1053
1054 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
1055 here-documents (bug#17262).
1056
bf6b4923
EZ
10572014-04-16 Eli Zaretskii <eliz@gnu.org>
1058
c76a7a5c
SM
1059 * term/pc-win.el (x-list-fonts, x-get-selection-value):
1060 Provide doc strings, as required by snarf-documentation.
bf6b4923 1061
290d7ac2 10622014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
20fa59a0
SM
1063
1064 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
1065 arg of overlays-at. Use `invisible-p'.
1066
1067 * obsolete/lucid.el (extent-at):
1068 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
1069 overlays-at.
1070 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
1071
290d7ac2 10722014-04-16 João Távora <joaotavora@gmail.com>
f596f897
JT
1073
1074 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
1075 links. (Bug#17217).
1076
290d7ac2 10772014-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
a73b9dda
YM
1078
1079 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
1080 Use mapc to loop over a vector. (Bug#17257).
1081
290d7ac2 10822014-04-16 Michael Albinus <michael.albinus@gmx.de>
f2d164a4
MA
1083
1084 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
1085 patch, there are new problems with file names containing spaces.
1086 Get rid of backticks. (Bug#17238)
1087
290d7ac2 10882014-04-16 João Távora <joaotavora@gmail.com>
498d3768
JT
1089
1090 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
1091 possible bug.
1092
290d7ac2 10932014-04-16 Eli Zaretskii <eliz@gnu.org>
83451189
EZ
1094
1095 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
1096 (blink-cursor-mode): Mention customization variables and the
1097 effect of 'blink-cursor-blinks'.
1098
290d7ac2 10992014-04-16 Barry O'Reilly <gundaetiapo@gmail.com>
175a3a51
BR
1100
1101 * simple.el (undo): Prevent insertion of identity mapping into
1102 undo-equiv-table so as undo-only does not inf loop in the presence
1103 of consecutive nils in undo list.
1104
290d7ac2 11052014-04-16 Matthias Dahl <matthias.dahl@binary-island.eu>
5f91455c
MD
1106
1107 * faces.el (make-face): Deprecate optional argument as it is no
1108 longer needed/used since the conditional X resources handling
1109 has been pushed down to make-face-x-resource-internal itself.
1110 (make-empty-face): Don't pass optional argument to make-face.
1111
5f6b4154
KF
11122014-04-16 Karl Fogel <kfogel@red-bean.com>
1113
1114 * savehist.el (savehist-save): Remove workaround for a read-passwd
1115 bug that was fixed before 24.3. Thanks to Juanma Barranquero for
1116 noticing that the shim was still present.
1117
005551fe
SM
11182014-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1119
1120 * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
1121
b92583c4
JB
11222014-04-14 Juanma Barranquero <lekktu@gmail.com>
1123
1124 * faces.el (face-set-after-frame-default): Remove unused local variable.
1125
6c2453e0
SM
11262014-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1127
f7993853
SM
1128 * progmodes/grep.el: Use lexical-binding.
1129 (grep-expand-template): Pass explicit lexical env to `eval'.
1130 (zrgrep): Let-bind grep-find-template explicitly.
1131
6c2453e0
SM
1132 * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
1133 * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
1134
ac387dd1
EZ
11352014-04-12 Eli Zaretskii <eliz@gnu.org>
1136
1137 * international/characters.el <standard-case-table>: Add entries
1138 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
204db02a 1139 Set category of Coptic characters be 'g' (Greek).
ac387dd1 1140
2e611da6
LL
11412014-04-12 Leo Liu <sdl.web@gmail.com>
1142
e0af4095
GM
1143 * progmodes/octave.el (completion-table-with-cache):
1144 Define if not available.
1145 (octave-goto-function-definition, octave-sync-function-file-names)
1146 (octave-find-definition-default-filename):
1147 Backquote upattern for compatibility.
2e611da6 1148
e0af4095 11492014-04-12 Michael Albinus <michael.albinus@gmx.de>
f628e17c
MA
1150
1151 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
1152 name twice due to backticks. (Bug#17238)
1153
e0af4095 11542014-04-12 Glenn Morris <rgm@gnu.org>
fd492166
GM
1155
1156 * term/w32-win.el (x-win-suspend-error):
1157 * term/x-win.el (x-win-suspend-error): Sync docs.
1158
7f0f4c25
MD
11592014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
1160
f7993853
SM
1161 * faces.el (make-face): Remove deprecated optional argument.
1162 The conditional application of X resources is handled directly by
7f0f4c25
MD
1163 make-face-x-resource-internal since Emacs 24.4.
1164 (make-empty-face): Don't pass optional argument to make-face.
1165
e088b01d
GM
11662014-04-11 Glenn Morris <rgm@gnu.org>
1167
1168 * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport. (Bug#16429)
1169
536aa466 11702014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
e46561a2
SM
1171
1172 Ediff's overlay priorities cause more trouble than they solve.
1173 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
1174 (ediff-highest-priority): Remove function (bug#17234).
1175 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
1176 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
1177 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
1178 overlay priorities.
1179
536aa466 11802014-04-11 Feng Li <fengli@gmail.com> (tiny change)
39764caa
FL
1181
1182 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
1183 entry; use symbol boundaries to avoid mis-matches.
1184
536aa466 11852014-04-11 Michael Albinus <michael.albinus@gmx.de>
bcbb83a9
MA
1186
1187 * net/tramp.el (tramp-file-name-handler)
1188 (tramp-completion-file-name-handler): Avoid recursive loading.
1189
1190 * net/tramp-sh.el (tramp-make-copy-program-file-name):
1191 Quote result also locally.
1192
0d6a1375
SM
11932014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1194
c99ce7d8
SM
1195 * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
1196 Remove left-over code.
1197
0d6a1375
SM
1198 * newcomment.el (comment-indent-new-line): Sink code where it's used.
1199 Reuse the previous comment's indentation unconditionally if it's on its
1200 own line.
1201
3f63a9f7
DC
12022014-04-09 Daniel Colascione <dancol@dancol.org>
1203
1204 * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
1205 `no-syntax-crossing' arguments. Forward to `up-list'.
1206 (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
1207 Implement logic for escaping from strings. Use narrowing to deal
1208 with corner cases.
1209
0b816f15
LL
12102014-04-09 Leo Liu <sdl.web@gmail.com>
1211
1212 * net/rcirc.el (rcirc-connection-info): New variable.
1213 (rcirc-connect): Use it to store connection info.
1214 (rcirc-buffer-process): Avoid get-buffer-process which returns nil
1215 for killed process.
1216 (rcirc-cmd-reconnect): New command. (Bug#17045)
1217 (rcirc-mode, set-rcirc-encode-coding-system)
1218 (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
1219
22683580
DC
12202014-04-09 Daniel Colascione <dancol@dancol.org>
1221
1222 * emacs-lisp/cl-indent.el: Add comment claiming
1223 facility is also good for elisp.
1224 (lisp-indent-find-method): New function.
1225 (common-lisp-indent-function): Recognize cl-loop.
1226 (common-lisp-indent-function-1): Recognize cl constructs; use
1227 `lisp-indent-find-method' instead of `get' directly.
1228 (if): Use else-body style for elisp.
1229
0122b24d
DG
12302014-04-09 Dmitry Gutov <dgutov@yandex.ru>
1231
1232 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
1233 Module methods. (Bug#17216)
1234
559836fb 12352014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
5b9925ae
SM
1236
1237 * help.el (describe-bindings): Fix buffer handling (bug#17210).
1238 (describe-bindings-internal): Mark obsolete.
1239
6bc76cee
SM
12402014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
1241
1242 * subr.el (with-silent-modifications): Don't bind deactivate-mark,
1243 buffer-file-name, and buffer-file-truename any more.
1244
dc0b0454
LL
12452014-04-08 Leo Liu <sdl.web@gmail.com>
1246
1247 Use lexical-binding and require cl-lib.
1248 * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
1249 (rcirc-handler-generic, rcirc-fill-paragraph)
1250 (rcirc-format-response-string, rcirc-target-buffer)
1251 (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
1252 (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
1253 (rcirc-ctcp-sender-PING, rcirc-browse-url)
1254 (rcirc-markup-timestamp, rcirc-markup-attributes)
1255 (rcirc-markup-my-nick, rcirc-markup-urls)
1256 (rcirc-markup-bright-nicks, rcirc-markup-fill)
1257 (rcirc-check-auth-status, rcirc-handler-WALLOPS)
1258 (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
1259 (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
1260 (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
1261 (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
1262 (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
1263 (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
1264 (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
1265 (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
1266 (rcirc-handler-CTCP-response): Fix unused arguments warnings and
1267 use cl-lib.
1268
190f899a
JT
12692014-04-07 João Távora <joaotavora@gmail.com>
1270
6f287c89
GM
1271 * elec-pair.el (electric-pair--syntax-ppss):
1272 When inside comments parse from comment beginning.
190f899a
JT
1273 (electric-pair--balance-info): Fix typo in comment.
1274 (electric-pair--in-unterminated-string-p): Delete.
1275 (electric-pair--unbalanced-strings-p): New function.
1276 (electric-pair-string-bound-function): New var.
1277 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
1278 according to `electric-pair--in-unterminated-string-p'
1279
6f287c89
GM
1280 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
1281 Inhibit quote pairing if point-max is inside an unterminated string.
1282 (electric-pair--looking-at-unterminated-string-p): Delete.
528c33b5
JT
1283 (electric-pair--in-unterminated-string-p): New function.
1284
a9c921e6
GM
12852014-04-07 Glenn Morris <rgm@gnu.org>
1286
1287 * shell.el (shell-directory-tracker):
1288 Go back to just ignoring failures. (Bug#17159)
1289
6f287c89 12902014-04-07 João Távora <joaotavora@gmail.com>
be411138
JT
1291
1292 Fix `electric-pair-delete-adjacent-pairs' in modes binding
1293 backspace. (bug#16981)
1294 * elec-pair.el (electric-pair-backward-delete-char): Delete.
1295 (electric-pair-backward-delete-char-untabify): Delete.
1296 (electric-pair-mode-map): Bind backspace to a menu item filtering
1297 a new `electric-pair-delete-pair' command.
1298 (electric-pair-delete-pair): New command.
1299
6f287c89
GM
1300 * progmodes/python.el (python-electric-pair-string-delimiter):
1301 Fix triple-quoting electricity. (Bug#17192)
89f20f76 1302
6f287c89
GM
1303 * elec-pair.el (electric-pair-post-self-insert-function):
1304 Don't skip whitespace when `electric-pair-text-pairs' and
89f20f76 1305 `electric-pair-pairs' were used. syntax to
7aecc2f6 1306 electric-pair--skip-whitespace. (Bug#17183)
89f20f76 1307
6f287c89 13082014-04-07 Eli Zaretskii <eliz@gnu.org>
c8e7f832
EZ
1309
1310 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
1311 "<F>". (Bug#17199)
1312
6f287c89 13132014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
0beb7fb7
SM
1314
1315 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
1316 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
1317
6f287c89 13182014-04-07 Glenn Morris <rgm@gnu.org>
50ea0f87
GM
1319
1320 * help.el (view-lossage): Doc tweak.
1321
6f287c89 13222014-04-07 Matthias Dahl <ml_emacs-lists@binary-island.eu>
eb7a03cc
MD
1323
1324 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
1325 only when inhibit-x-resources is nil, and do that earlier in the
1326 function. Doc fix. (Bug#16694)
fdafd487
MD
1327 (face-spec-choose): Accept additional optional argument, whose
1328 value is returned if no matching attributes are found.
1329 (face-spec-recalc): Use the new optional argument when calling
1330 face-spec-choose. (Bug#16378)
f5e4494c
MD
1331 (make-face-x-resource-internal): Do nothing when
1332 inhibit-x-resources is non-nil. Don't touch the default face if
0beb7fb7 1333 reversed video is given--as was done in previous versions of Emacs.
f5e4494c
MD
1334 (face-set-after-frame-default): Don't call
1335 make-face-x-resource-internal here. (Bug#16434)
eb7a03cc 1336
6f287c89 13372014-04-07 Tassilo Horn <tsdh@gnu.org>
3ccd4eaf 1338
0beb7fb7
SM
1339 * doc-view.el (doc-view-bookmark-jump):
1340 Use `bookmark-after-jump-hook' to jump to the right page after the
3ccd4eaf
TH
1341 buffer is shown in a window. (bug#16090)
1342
6f287c89 13432014-04-07 Eli Zaretskii <eliz@gnu.org>
b7cf27ed
EZ
1344
1345 * international/characters.el (mirroring): Fix last change:
1346 instead of loading uni-mirrored.el explicitly, do that implicitly
1347 by creating the 'mirroring' uniprop table. This avoids announcing
1348 the loading of uni-mirrored.el.
1349
6f287c89 13502014-04-07 Glenn Morris <rgm@gnu.org>
8a1d24b1
GM
1351
1352 * files.el (buffer-stale--default-function)
1353 (buffer-stale-function, revert-buffer--default):
1354 * autorevert.el (auto-revert-buffers): Doc tweaks.
1355
6f287c89 13562014-04-07 Eli Zaretskii <eliz@gnu.org>
bbab1c4f
EZ
1357
1358 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
1359
6f287c89 13602014-04-07 Glenn Morris <rgm@gnu.org>
d738ebdc
GM
1361
1362 * files.el (make-backup-file-name-function)
1363 (make-backup-file-name, make-backup-file-name--default-function)
1364 (make-backup-file-name-1, find-backup-file-name)
1365 (revert-buffer-function, revert-buffer-insert-file-contents-function)
1366 (buffer-stale--default-function, buffer-stale-function)
1367 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
1368 (revert-buffer, revert-buffer--default)
1369 (revert-buffer-insert-file-contents--default-function):
1370 Doc fixes related to defaults no longer being nil.
1371 (make-backup-file-name-function): Bump :version.
1372 Restore nil as a valid but deprecated custom type.
1373
6f287c89 13742014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
062e286b 1375
6f287c89
GM
1376 * progmodes/perl-mode.el (perl-syntax-propertize-function):
1377 Handle $' used as a variable (bug#17174).
66f50b12
SM
1378
1379 * progmodes/perl-mode.el (perl-indent-new-calculate):
1380 Handle forward-sexp failure (bug#16985).
8a7fd442
SM
1381 (perl-syntax-propertize-function): Add "foreach" and "for" statement
1382 modifiers introducing expressions (bug#17116).
66f50b12 1383
7b656e4a
SM
13842014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
1385
1386 * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
1387
722237d5
LL
13882014-04-05 Leo Liu <sdl.web@gmail.com>
1389
7b656e4a
SM
1390 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
1391 Add define-compilation-mode.
722237d5 1392
5cb0cc90
JT
13932014-04-04 João Távora <joaotavora@gmail.com>
1394
9b017563
JB
1395 * elec-pair.el (electric-pair--syntax-ppss): When inside comments
1396 parse from comment beginning.
5cb0cc90
JT
1397 (electric-pair--balance-info): Fix typo in comment.
1398 (electric-pair--in-unterminated-string-p): Delete.
1399 (electric-pair--unbalanced-strings-p): New function.
1400 (electric-pair-string-bound-function): New var.
1401 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
9b017563 1402 according to `electric-pair--in-unterminated-string-p'.
5cb0cc90 1403
6b31e6b1
SM
14042014-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1405
1406 * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
1407 Move declaration before first use.
1408 (reftex-move-to-next-arg): Silence compiler warning.
1409
0de7d982
JK
14102014-04-04 Joost Kremers <joostkremers@fastmail.fm> (tiny change)
1411
6b31e6b1
SM
1412 * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
1413 Use `window-total-width' instead of `window-width'.
0de7d982 1414
01ae0fbf
DC
14152014-04-03 Daniel Colascione <dancol@dancol.org>
1416
1417 * subr.el (set-transient-map): Remove rms's workaround entirely;
1418 use new `suspicious-object' subr to mark our lambda for closer
1419 scrutiny during gc.
1420
4fd68bf6
RS
14212014-04-02 Richard Stallman <rms@gnu.org>
1422
1423 * subr.el (set-transient-map): Comment out previous change.
1424
c7510f6e
GM
14252014-04-02 Glenn Morris <rgm@gnu.org>
1426
0b908bf2
GM
1427 * menu-bar.el (menu-bar-file-menu):
1428 * vc/ediff.el (ediff-current-file):
1429 Update for revert-buffer-function no longer being nil by default.
1430
c7510f6e
GM
1431 * simple.el (command-execute): Respect nil disabled-command-function.
1432
09aba815 14332014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
6116a727
NR
1434
1435 * simple.el (command-execute): Do not execute the command when it
1436 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
1437
09aba815 14382014-04-02 Juri Linkov <juri@jurta.org>
8778eb5e
JL
1439
1440 * dired-aux.el (dired-compress-file): Don't use string-match-p
1441 because its match data is used afterwards.
1442
09aba815 14432014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
929c0500
SM
1444
1445 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
1446 0 like nil.
1447
200c532b
JT
14482014-04-02 João Távora <joaotavora@gmail.com>
1449
6b31e6b1
SM
1450 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
1451 Inhibit quote pairing if point-max is inside an unterminated string.
200c532b
JT
1452 (electric-pair--looking-at-unterminated-string-p):
1453 Delete.
1454 (electric-pair--in-unterminated-string-p): New function.
1455
2395f2b9
DC
14562014-04-01 Daniel Colascione <dancol@dancol.org>
1457
1458 * minibuffer.el (minibuffer-complete): Prevent assertion failure
1459 when trying to complete the prompt.
1460
294b2b09
LL
14612014-03-31 Leo Liu <sdl.web@gmail.com>
1462
6b31e6b1
SM
1463 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
1464 Refactor out eldoc-documentation-function-default.
294b2b09
LL
1465 (eldoc-documentation-function-default): New function.
1466 (eldoc-documentation-function): Change value.
1467
4f3a895b
GM
14682014-03-31 Glenn Morris <rgm@gnu.org>
1469
1470 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
1471
1db854cc
GM
1472 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
1473 (vhdl-compose-components-package, vhdl-compose-configuration):
1474 Abbreviate default-directory (missing from some previous upstream sync).
1475
3c2d4776
RZ
14762014-03-31 Reto Zimmermann <reto@gnu.org>
1477
1478 Sync with upstream vhdl mode v3.35.2.
1479 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
1480 (top-level): No longer require assoc.
1481 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
1482 New functions. Use throughout to replace aget etc.
1483 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
1484 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
1485 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
1486 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
1487 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
1488 except `vhdl-compiler'.
1489 (vhdl-error-regexp-add-emacs): Remove all other compilers,
1490 when appropriate.
1491
5c30ab7a
GM
14922014-03-31 Glenn Morris <rgm@gnu.org>
1493
1494 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
1495 Revert 2014-03-26 merge goof; go back to using defalias.
1496
1861d5a7
DC
14972014-03-30 Daniel Colascione <dancol@dancol.org>
1498
6b31e6b1
SM
1499 * comint.el (comint-send-input):
1500 Deactivate completion-in-region-mode before we send comint input.
1861d5a7
DC
1501 (Bug#17139).
1502
1503 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
1504 on keyboard-quit.
1505
41116c5a
GM
15062014-03-29 Glenn Morris <rgm@gnu.org>
1507
1508 * textmodes/reftex.el: Manage most autoloads automatically.
1509 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
1510 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
1511 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
1512 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
1513 * textmodes/reftex-toc.el: Set generated-autoload-file,
1514 and add autoload cookies for reftex.el.
1515 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
1516
c3153003
GM
15172014-03-28 Glenn Morris <rgm@gnu.org>
1518
7b207d6d
GM
1519 * cus-start.el (report-emacs-bug-address): Set custom properties.
1520 * mail/emacsbug.el (report-emacs-bug-address):
1521 Variable is now defined in emacs.c.
1522
c3153003
GM
1523 * mail/emacsbug.el (report-emacs-bug):
1524 Include system-configuration-features.
1525
687e0e19
MN
15262014-03-28 Michal Nazarewicz <mina86@mina86.com>
1527
1528 * simple.el (cycle-spacing): Never delete spaces on first run by
1529 default, but do so in a new 'fast mode and if there are already
4f3a895b 1530 N spaces (the previous behavior).
687e0e19
MN
1531 Compare N with its value in previous invocation so that changing
1532 prefix argument restarts `cycle-spacing' sequence.
687e0e19 1533 The idea is that with this change, binding M-SPC to
4f3a895b 1534 `cycle-spacing' should not introduce any changes in behavior of
687e0e19
MN
1535 the binding so long as users do not type M-SPC twice in a raw with
1536 the same prefix argument or lack thereof.
1537
95de732d
GM
15382014-03-28 Glenn Morris <rgm@gnu.org>
1539
1540 * faces.el (term-file-aliases): New variable.
1541 (tty-run-terminal-initialization): Respect term-file-aliases.
1542 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
1543 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
1544 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
1545
6730259f
GM
15462014-03-27 Glenn Morris <rgm@gnu.org>
1547
862a4e4a
GM
1548 * startup.el (inhibit-startup-hooks): Doc tweak.
1549 (normal-top-level): Simplify running of hooks.
1550 For window-setup-hook, respect inhibit-startup-hooks.
1551 (command-line-1): Don't set window-setup-hook to nil.
1552
6730259f
GM
1553 Allow selective autoloading from obsolete/ directory.
1554 * Makefile.in (obsolete-autoloads): New rule.
1555 (autoloads): Run obsolete-autoloads.
1556 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
1557 * simple.el (iswitchb-mode): Remove hand-written autoloads.
1558
42ebc34e
DG
15592014-03-27 Dmitry Gutov <dgutov@yandex.ru>
1560
929c0500
SM
1561 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1562 Highlight special globals with font-lock-builtin-face. (Bug#17057)
8de64bb8 1563
42ebc34e
DG
1564 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1565 Don't propertize `?' or `!' as symbol constituent when after
1566 colon. (Bug#17097)
1567
b1c870c9
JB
15682014-03-27 Juanma Barranquero <lekktu@gmail.com>
1569
857ba6ec
JB
1570 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
1571 which is no longer needed and causes trouble in GTK builds (bug#17046).
1572
b1c870c9
JB
1573 * emacs-lisp/package-x.el (package--archive-contents-from-url):
1574 Use url-insert-file-contents; package-handle-response no longer exists.
1575
8ab9876a
DC
15762014-03-26 Daniel Colascione <dancol@dancol.org>
1577
1578 * simple.el (process-menu-mode-map): New variable.
1579 (process-menu-delete-process): New command.
1580
196716cf
JB
15812014-03-26 Juanma Barranquero <lekktu@gmail.com>
1582
1583 * emacs-lisp/package.el: Fix bug#16733 (again).
1584 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
1585 (url-http-target-url): Remove unused declarations.
1586 (package-handle-response): Remove.
1587 (package--with-work-buffer): Use url-insert-file-contents and simplify.
1588 (package--download-one-archive): Use current-buffer instead of
1589 dynamic binding of `buffer'.
1590 (describe-package-1): Do not decode readme-string.
1591
16adf2e6 15922014-03-26 Michael Albinus <michael.albinus@gmx.de>
1f73d6c6
MA
1593
1594 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
1595
1596 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
1597 from 2014-03-07, it decreases performance unnecessarily. Let-bind
1598 `remote-file-name-inhibit-cache' to nil in the second pass.
1599 (tramp-find-executable): Do not call "which" on SunOS.
1600 (tramp-send-command-and-check): Fix docstring.
08cf935b
MA
1601 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
1602 check whether source directory has set the sticky bit.
1f73d6c6 1603
16adf2e6 16042014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
37ea8275
BR
1605
1606 * simple.el (primitive-undo): Only process marker adjustments
1607 validated against their corresponding (TEXT . POS). Issue warning
1608 for lone marker adjustments in undo history. (Bug#16818)
1609 (undo-make-selective-list): Add marker adjustments to selective
1610 undo list based on whether their corresponding (TEXT . POS) is in
1611 the region. Remove variable adjusted-markers, which was unused
1612 and only non nil during undo-make-selective-list.
1613 (undo-elt-in-region): Return nil when passed a marker adjustment
1614 and explain in function doc.
1615
16adf2e6 16162014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
74be1649
NR
1617
1618 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
1619
16adf2e6 16202014-03-26 Dmitry Gutov <dgutov@yandex.ru>
c2d6c639
DG
1621
1622 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
1623 Match special global variables without curlies, too.
1624 (ruby-font-lock-keywords): Simplify the matcher for special global
1625 variables. Don't require a non-word character after the variable.
1626 (Bug#17057)
1627
16adf2e6 16282014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
f6614a47
SM
1629
1630 * simple.el (redisplay-highlight-region-function): Increase priority of
1631 overlay to make sure boundaries are visible (bug#15899).
1632
16adf2e6 16332014-03-26 Juanma Barranquero <lekktu@gmail.com>
3ea2c781 1634
16adf2e6
JB
1635 * frameset.el (frameset--initial-params): Fix typo in parameter name.
1636 (frameset-restore): Compare display strings with equal.
ee79b33f 1637
3ea2c781
JB
1638 * frame.el (make-frame): Don't quote display name in error message,
1639 it is already a string.
1640
16adf2e6 16412014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
f1e06f7b
TV
1642
1643 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
1644 the password.
1645
16adf2e6 16462014-03-26 Dmitry Gutov <dgutov@yandex.ru>
2614c1af 1647
16adf2e6
JB
1648 * emacs-lisp/package.el (package--add-to-archive-contents):
1649 Include already installed and built-in packages in
1650 `package-archive-contents'.
1651 (package-install): Don't include already installed packages in the
1652 options during interactive invocation. (Bug#16762)
1653 (package-show-package-list): If the buffer is already displayed in
1654 another window, switch to that window.
1655
fb3deac8
RZ
16562014-03-26 Reto Zimmermann <reto@gnu.org>
1657
1658 Sync with upstream vhdl mode v3.35.1.
1659 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
1660 (vhdl-compiler-alist): Doc fix.
1661 (vhdl-goto-line): Remove.
1662 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
1663 (vhdl-mode) <paragraph-start>: Fix value.
1664 (vhdl-fix-statement-region): Not `for' in wait-statement.
1665 (vhdl-beautify-region): Also (un)tabify.
1666 (vhdl-get-visible-signals):
1667 Scan declarative part of generate statements.
1668 (vhdl-template-record): Fix indentation for record type declaration.
c1e6bc0a
GM
1669 (vhdl-expand-abbrev, vhdl-expand-paren):
1670 Revert to using fset again rather than defalias.
fb3deac8
RZ
1671 (vhdl-scan-directory-contents): Tweak.
1672 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
1673 (vhdl-compose-components-package):
1674 Replace vhdl-goto-line with forward-line.
1675 (top-level): Tweak speedbar frame selection.
1676 (vhdl-generate-makefile-1): Support for compilers with no
1677 unit-to-file name mapping (create directory with dummy files).
1678
511df08c
WS
16792014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
1680
1681 Sync with upstream verilog-mode revision 702457d.
1682 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1683 (create-lockfiles): Declare.
1684 (verilog-read-decls): Fix module header imports, bug709.
1685 Reported by Victor Lau.
1686 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
1687 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
9b017563 1688 interface-only modules, bug721. Reported by Dean Hoyt.
511df08c 1689
11ee65af
GM
16902014-03-26 Glenn Morris <rgm@gnu.org>
1691
b4aca021
GM
1692 * obsolete/gulp.el: Move here from emacs-lisp/.
1693
11ee65af
GM
1694 * files.el (lock-buffer, unlock-buffer, file-locked-p):
1695 Remove fallback aliases, since they are always defined now.
1696
1edb4a2e
DC
16972014-03-24 Daniel Colascione <dancol@dancol.org>
1698
1699 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
1700 instead of cl-loop search function.
1701
7a31038f
G
17022014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
1703
1704 * calendar/parse-time.el (parse-time-iso8601-regexp)
1705 (parse-iso8601-time-string): Copied from `url-dav' so that we can use
1706 it more generally.
1707
17082014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
1709
1710 * net/dns.el (network-interface-list): Define for XEmacs.
1711
17122014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
1713
1714 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
1715 the network interfaces changed.
1716 (dns-query): Use it to flush the data.
1717
835af719
JB
17182014-03-23 Juanma Barranquero <lekktu@gmail.com>
1719
1720 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
1721
6ddc4422
DC
17222014-03-23 Daniel Colascione <dancol@dancol.org>
1723
1724 Change subword-mode to use `find-word-boundary-function-table' and
1725 replace `capitalized-words-mode'. Also, convert to lexical
1726 binding.
1727
1728 * progmodes/cap-words.el: Delete now-obsolete file.
1729 * progmodes/subword.el: Reimplement using
1730 `find-word-boundary-function-table'.
1731 (subword-mode-map): Hollow out.
1732 (capitalized-words-mode): Define as obsolete alias for
1733 `subword-mode'.
9b017563 1734 (subword-mode, superword-mode): Tweak documentation to reflect new
6ddc4422 1735 implementation; call `subword-setup-buffer'.
9b017563 1736 (subword-forward, subword-capitalize): Add underscore to indicate
6ddc4422
DC
1737 unused variable.
1738 (subword-find-word-boundary-function-table): New constant.
1739 (subword-empty-char-table): New constant.
1740 (subword-setup-buffer): New function.
1741 (subword-find-word-boundary): New function.
1742
c6b0fbe7
DC
17432014-03-23 Daniel Colascione <dancol@dancol.org>
1744
1745 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
1746 list to look for keyword arguments instead of `memq', fixing
1747 (Bug#3647) --- unfortunately, only for freshly-compiled code.
1748 Please make bootstrap.
1749
5076d275
GM
17502014-03-22 Glenn Morris <rgm@gnu.org>
1751
5dbc3244
GM
1752 * dired.el (dired-read-regexp): Make obsolete.
1753 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
1754 (dired-flag-files-regexp):
1755 * dired-aux.el (dired-mark-read-regexp):
1756 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
1757
00156f95
GM
1758 * startup.el (fancy-startup-text):
1759 * help.el (describe-gnu-project): Visit online info about GNU project.
1760
f9c81e7b
GM
1761 * help-fns.el (help-fns--interactive-only): New function.
1762 (help-fns-describe-function-functions): Add the above function.
1763 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
1764 (next-line, previous-line): Remove hand-written interactive-only
1765 information from doc strings, it is auto-generated now.
1766 * bookmark.el (bookmark-write):
1767 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
1768 (epa-mail-import-keys): Mark interactive-only,
1769 and remove hand-written interactive-only information from doc strings.
1770 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
1771 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
1772 * files.el (not-modified):
1773 * simple.el (mark-whole-buffer): Mark interactive-only.
1774
5076d275
GM
1775 * emacs-lisp/byte-run.el (defun-declarations-alist):
1776 Add interactive-only. Doc tweak.
1777 (macro-declarations-alist): Doc tweak.
1778 * subr.el (declare): Doc tweak (add xref to manual).
1779 * comint.el (comint-run):
1780 * files.el (insert-file-literally, insert-file):
1781 * replace.el (replace-string, replace-regexp):
1782 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1783 (delete-forward-char, goto-line, insert-buffer, next-line)
1784 (previous-line): Set interactive-only via declare.
1785
1197f2e6
DG
17862014-03-22 Dmitry Gutov <dgutov@yandex.ru>
1787
1788 * emacs-lisp/package.el (package-desc): Use the contents of the
1789 quoted form, not its cdr. (Bug#16873)
1790
aac06179
JB
17912014-03-22 Juanma Barranquero <lekktu@gmail.com>
1792
1793 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
1794 benefit of doc.c; change parameter profile to match the X function.
1795
3e7bc044
LL
17962014-03-22 Leo Liu <sdl.web@gmail.com>
1797
1798 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
1799 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
1800
59271b3e
RS
18012014-03-21 Richard Stallman <rms@gnu.org>
1802
8266cd88
RS
1803 * battery.el (battery-linux-sysfs): Search for each field
1804 from the beginning of the buffer.
1805
16ec0742
RS
1806 * subr.el (set-transient-map): Clear out function and value
1807 of the temporary symbol when we're done with it.
1808
59271b3e
RS
1809 * mail/rmailsum.el (rmail-summary-delete-forward):
1810 Optimize case of reaching end and handling count.
1811 (rmail-summary-mark-deleted): Optimize when N is current msg.
1812 Don't create new summary line.
1813 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
1814 (rmail-summary-undelete-many): Rewrite for speed.
1815 (rmail-summary-msg-number): New function.
1816
1817 * mail/rmail.el (rmail-delete-message): Update summary.
1818 (rmail-undelete-previous-message): Handle repeat count arg.
1819 (rmail-delete-backward, rmail-delete-forward): Likewise.
1820
0d8ac93e
DC
18212014-03-21 Daniel Colascione <dancol@dancol.org>
1822
1823 * mail/emacsbug.el (report-emacs-bug): Include memory usage
1824 information in bug reports.
1825
1e92a8a3
MA
18262014-03-21 Michael Albinus <michael.albinus@gmx.de>
1827
1828 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
1829 and `tramp-copy-env'.
1830
1831 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
1832 (tramp-maybe-open-connection): Handle `tramp-login-env'.
1833
78540c42
GM
18342014-03-21 Glenn Morris <rgm@gnu.org>
1835
1836 * electric.el (electric-indent-post-self-insert-function): Add doc.
1837
1fc8f655
DG
18382014-03-21 Dmitry Gutov <dgutov@yandex.ru>
1839
dcf78667
DG
1840 * emacs-lisp/package.el (package-compute-transaction):
1841 Use `version-list-<=' to compare the requirement version against
1842 the version of package already to be installed. Update the error
1843 message. (Bug#16826)
1844
1fc8f655
DG
1845 * progmodes/ruby-mode.el (ruby-smie-rules):
1846 Add indentation rule for ` @ '. (Bug#17050)
1847
dada060d
JB
18482014-03-21 Juanma Barranquero <lekktu@gmail.com>
1849
1850 * align.el (align-regexp): Remove superfluous backslash.
1851
1852 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
1853 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
1854 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
1855 Fix docstring typos.
1856 (ffap-next): Use C-u in docstring.
1857 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
1858 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
1859 Remove superfluous backslashes.
1860 (ffap-string-at-point): Reflow docstring.
1861
1862 * server.el (server-host): Reflow docstring.
1863 (server-unload-function): Fix docstring typo.
1864 (server-eval-at): Remove superfluous backslash.
1865
1866 * skeleton.el (skeleton-insert): Remove superfluous backslash.
1867 (skeleton-insert): Doc fix.
1868 (skeleton-insert): Reflow docstring.
1869
1870 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
1871 (tty-color-approximate, tty-color-by-index, tty-color-values)
1872 (tty-color-desc): Remove superfluous backslashes.
1873
f428101f
GM
18742014-03-21 Glenn Morris <rgm@gnu.org>
1875
26e91130
GM
1876 * cus-start.el (history-length): Bump :version.
1877
aa3a7b51
GM
1878 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1879 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
1880 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1881 Don't set `make-backup-files'.
1882
f428101f
GM
1883 * info.el (info--prettify-description): New function,
1884 to give info-finder descriptions consistent case, punctuation.
1885 (Info-finder-find-node): Use it. Sort packages.
1886 Refer to "description" rather than "commentary".
1887
6ce1b56e
JB
18882014-03-21 Juanma Barranquero <lekktu@gmail.com>
1889
1890 * frameset.el (frameset--print-register): New function.
1891 (frameset-to-register): Use it.
1892
b730af26
JB
18932014-03-20 Juanma Barranquero <lekktu@gmail.com>
1894
45393801
JB
1895 * progmodes/hideif.el (hif-string-to-number): New function.
1896 (hif-tokenize): Use it to understand non-decimal floats.
1897
814e26fa
JB
1898 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
1899
b730af26
JB
1900 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
1901
6f287c89
GM
19022014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
1903
1904 * electric.el (electric-newline-and-maybe-indent): New command.
1905 Bind it globally to C-j.
1906 (electric-indent-mode): Don't mess with the global map any more.
1907 Don't drop the post-self-insert-hook is some buffer is still using it
1908 (bug#16770).
1909
1910 * bindings.el (global-map): Remove C-j binding.
1911
1912 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
1913 the docstring of functions advised before dumping (bug#16993).
1914
f15ec1ba 19152014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
6a72e405
SH
1916
1917 * ps-print.el (ps-generate-postscript-with-faces):
1918 Explicitly deactivate the mark (bug#16866).
1919 * simple.el (deactivate-mark): Update region highlight.
1920
f88bdc45
JB
19212014-03-19 Juanma Barranquero <lekktu@gmail.com>
1922
1923 * emacs-lisp/package.el (describe-package-1):
1924 Decode commentary (bug#16733).
1925
6b88e570
JB
19262014-03-18 Juanma Barranquero <lekktu@gmail.com>
1927
1928 * custom.el (defcustom): Doc fix: recommend avoiding destructive
1929 modification of the value argument of :set (bug#16755).
1930
ac9b4703
SM
19312014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1932
1933 * simple.el (newline-and-indent): Do autofill (bug#17031).
1934
2b7858ec
DG
19352014-03-18 Dmitry Gutov <dgutov@yandex.ru>
1936
1937 * newcomment.el (comment-normalize-vars): Only add escaping check
1938 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
1939 (comment-beginning): Use `narrow-to-region' instead of moving back
1940 one character.
1941 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
1942 (comment-start-skip): Update the docstring.
1943
11eff3ae
RS
19442014-03-18 Richard Stallman <rms@gnu.org>
1945
1946 * dired.el (dired-display-file): Force use of other window.
1947
07f44fdb
JB
19482014-03-18 Daniel Colascione <dancol@dancol.org>
1949
1950 * startup.el (tty-handle-args): Remove debug message from 2007.
1951
19522014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
adbfe42c
SM
1953
1954 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
1955 (advice--make-interactive-form): Use it to avoid (auto)loading function.
1956 (advice--make-1, advice-add, advice-remove):
1957 Remove braindead :advice-pending hack.
1958
61debe4a
GM
19592014-03-17 Glenn Morris <rgm@gnu.org>
1960
1961 * calendar/calendar.el (calendar-generate-month): Apply weekend
1962 face to the right days; fixes 2013-08-06 change. (Bug#17028)
1963
8273986b
MA
19642014-03-17 Michael Albinus <michael.albinus@gmx.de>
1965
1966 * net/tramp.el (tramp-action-out-of-band): Read pending output.
1967 (tramp-call-process): Trace also DESTINATION.
1968
1969 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1970 Quote file names when they are local. Remove superfluous trace.
1971
4f8aeb84
DG
19722014-03-17 Dmitry Gutov <dgutov@yandex.ru>
1973
218feefc
DG
1974 * newcomment.el (comment-beginning): If `comment-start-skip'
1975 doesn't match, move back one char and try again. (Bug#16971)
1976
6c187ef5
SM
1977 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1978 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
4f8aeb84
DG
1979 Set `comment-start-skip' to a simpler value that doesn't try to
1980 check if the semicolon is escaped (this is handled by
1981 `syntax-ppss' now). (Bug#16971)
1982
1983 * progmodes/scheme.el (scheme-mode-variables): Same.
1984
b92631bf
MR
19852014-03-16 Martin Rudalics <rudalics@gmx.at>
1986
1987 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
1988 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
1989 current (Bug#16816, Bug#17007).
1990 (with-current-buffer-window): New macro doing the same as
1991 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
1992 * help.el (help-print-return-message): Warn in doc-string to not
1993 use this in `with-help-window'.
1994 (describe-bindings-internal): Call `describe-buffer-bindings'
1995 from within help buffer. See Juanma's scenario in (Bug#16816).
1996 (with-help-window): Update doc-string.
1997 * dired.el (dired-mark-pop-up):
1998 * files.el (save-buffers-kill-emacs):
1999 * register.el (register-preview): Use `with-current-buffer-window'
2000 instead of `with-temp-buffer-window'.
2001
57348c4d
JB
20022014-03-16 Juanma Barranquero <lekktu@gmail.com>
2003
2004 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
2005 Implement inserting into current buffer, documented in their docstrings.
2006 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
2007 (rst-section-tree-point, rst-forward-section, rst-indent)
2008 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
2009 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
2010 (rst-font-lock-handle-adornment-pre-match-form)
2011 (rst-repeat-last-character): Reflow docstrings.
2012 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
2013 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
2014 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
2015 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
2016 Fix docstring typos.
2017 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
2018 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
2019 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
2020
fd16b061
JB
20212014-03-15 Juanma Barranquero <lekktu@gmail.com>
2022
a2403e3d
JB
2023 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
2024 for compatibility with other ports.
2025 (ns-initialize-window-system): Use it. It is set in term/common-win.el
2026 from the -xrm command line argument, but in the Nextstep port its value
2027 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
2028
fd16b061
JB
2029 * progmodes/python.el (defconst, python-syntax-count-quotes)
2030 (python-indent-region, python-indent-shift-right)
2031 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
2032 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
2033 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
2034 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
2035 (inferior-python-mode, python-shell-make-comint, run-python-internal)
2036 (python-shell-buffer-substring, python-shell-send-buffer)
2037 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
2038 (python-completion-complete-at-point, python-fill-docstring-style)
2039 (python-eldoc-function, python-imenu-format-item-label)
2040 (python-imenu-format-parent-item-label)
2041 (python-imenu-format-parent-item-jump-label)
2042 (python-imenu--build-tree, python-imenu-create-index)
2043 (python-imenu-create-flat-index): Fix docstring typos.
2044 (python-indent-context, python-shell-prompt-regexp, run-python):
2045 Remove superfluous backslashes.
2046 (python-indent-line, python-nav-beginning-of-defun)
2047 (python-shell-get-buffer, python-shell-get-process)
2048 (python-info-current-defun, python-info-current-line-comment-p)
2049 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
2050 (python-indent-post-self-insert-function, python-shell-send-file)
2051 (python-shell-completion-get-completions)
2052 (python-shell-completion-complete-or-indent)
2053 (python-eldoc--get-doc-at-point): Reflow docstrings.
2054
e94807f0
GM
20552014-03-14 Glenn Morris <rgm@gnu.org>
2056
88103345
GM
2057 * emacs-lisp/package.el (package-menu-mode-map):
2058 Replace use of obsolete function alias. Tweak menu item text.
2059
f2dd4ba8
GM
2060 * info.el (Info-finder-find-node):
2061 Ignore the `emacs' metapackage. (Bug#10813)
2062
ac0f82ef
GM
2063 * finder.el (finder-list-matches): Include unversioned packages
2064 in the result of a keyword search.
2065
e94807f0
GM
2066 * finder.el (finder--builtins-descriptions): New constant.
2067 (finder-compile-keywords): Use finder--builtins-descriptions.
2068
50d434d1
DG
20692014-03-14 Dmitry Gutov <dgutov@yandex.ru>
2070
2071 * simple.el (blink-matching-paren): Describe the new value,
2072 `jump', enabling the old behavior.
2073 (blink-matching-open): Use that value. (Bug#17008)
2074
56759cf1
GM
20752014-03-14 Glenn Morris <rgm@gnu.org>
2076
459d74ef
GM
2077 * finder.el (finder-no-scan-regexp): Add leim-list.
2078 (finder-compile-keywords):
2079 Don't skip files with same basename. (Bug#14010)
2080 * Makefile.in (setwins_finder): New, excluding leim.
2081 (finder-data): Use setwins_finder.
2082
56759cf1
GM
2083 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
2084 (help-function-arglist, help-make-usage): Move from here...
2085 * help.el (help-split-fundoc, help-add-fundoc-usage)
2086 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
2087 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
2088
7644aa97
JB
20892014-03-14 Juanma Barranquero <lekktu@gmail.com>
2090
2091 * net/socks.el (socks, socks-override-functions)
fd16b061 2092 (socks-find-services-entry):
7644aa97
JB
2093 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
2094 (hif-find-ifdef-block):
2095 * progmodes/modula2.el (m2-indent): Fix docstring typos.
2096
2097 * net/tls.el (tls-program): Reflow docstring.
2098
2099 * progmodes/pascal.el (pascal-mode-abbrev-table)
2100 (pascal-imenu-generic-expression, pascal-auto-endcomments)
2101 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
2102 (pascal-outline-mode): Fix docstring typos.
2103 (pascal-mode): Let define-derived-mode document mode hook.
2104 (pascal-uncomment-area): Reflow.
2105 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
2106
2107 * progmodes/opascal.el (opascal-compound-block-indent)
2108 (opascal-case-label-indent): Fix docstring typos.
2109 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
2110
1f44df94
DG
21112014-03-13 Dmitry Gutov <dgutov@yandex.ru>
2112
07f44fdb
JB
2113 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2114 Fontify multiple adjacent negation chars. (Bug#17004)
1f44df94 2115
0d71dfb3
TW
21162014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
2117
2118 * emacs-lisp/package.el (package--prepare-dependencies):
2119 Accept requirements without explicit version (bug#14941).
2120
d27a1a7b
JB
21212014-03-12 Juanma Barranquero <lekktu@gmail.com>
2122
a5765a3d
JB
2123 * register.el (register-separator, copy-to-register): Doc fixes.
2124 (register-preview-default): Remove unnecessary call to concat.
2125
d27a1a7b
JB
2126 * frameset.el (frameset-restore): When checking for a visible frame,
2127 use the action map instead of calling visible-frame-list.
2128
08dfa0b7
JB
21292014-03-12 Jonas Bernoulli <jonas@bernoul.li>
2130
2131 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
2132
8960529e
MR
21332014-03-12 Martin Rudalics <rudalics@gmx.at>
2134
2135 * window.el (fit-frame-to-buffer): Get maximum width from
2136 display's width instead of height.
2137
8a51e8e4
GM
21382014-03-12 Glenn Morris <rgm@gnu.org>
2139
46456005
GM
2140 * desktop.el (desktop-restore-frames)
2141 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
2142 (desktop-restore-reuses-frames): Doc tweaks.
2143
8a51e8e4
GM
2144 * electric.el (electric-indent-mode): Doc fix.
2145
5983b317
JB
21462014-03-12 Juanma Barranquero <lekktu@gmail.com>
2147
2148 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
2149 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
2150 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
2151 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
2152 (cvs-dired-use-hook): Fix docstring typos.
2153 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
2154 Doc fixes.
2155
2156 * vc/pcvs-defs.el (cvs-auto-remove-handled)
2157 (cvs-auto-remove-directories, cvs-default-ignore-marks)
2158 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
2159 (cvs-execute-single-dir): Fix docstring typos.
2160
2161 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
2162 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
2163
2164 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
2165
2166 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
2167 Fix docstring typos.
2168
13c00cf0
JB
21692014-03-12 Juanma Barranquero <lekktu@gmail.com>
2170
2171 * frameset.el (frameset--jump-to-register): Add autoload; it could be
2172 called from jump-to-register after unloading the frameset package.
2173
536a17e3
SM
21742014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2175
2176 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
2177 (bug#16975). Deactivate the mark before setting it to nil.
2178 (activate-mark): Do nothing if region is already active.
2179
baf8d0ac
JB
21802014-03-11 Juanma Barranquero <lekktu@gmail.com>
2181
2182 * frameset.el (frameset--target-display): Remove definition; declare.
2183 (frameset-save, frameset-restore): Let-bind frameset--target-display.
2184
1ea22560
SM
21852014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2186
2187 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
2188 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
2189 when the advice is pending.
2190 (advice-remove): Remove this marker when not needed any more.
2191
4538c058
JB
21922014-03-11 Juanma Barranquero <lekktu@gmail.com>
2193
2194 * frameset.el: Separate options for reusing frames and cleaning up.
2195 (frameset--reuse-list): Remove definition; declare.
2196 (frameset--action-map): Declare.
2197 (frameset--find-frame-if): Doc fix.
2198 (frameset--restore-frame): Cache frame action.
2199 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
2200 how to clean up the frame list after restoring. Remove cleaning
2201 options from REUSE-FRAMES. Change all keyword values to symbols.
2202 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
2203
2204 * desktop.el (desktop-restore-forces-onscreen)
2205 (desktop-restore-reuses-frames): Use non-keyword values.
2206 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
2207
ba1a5c78
GM
22082014-03-10 Glenn Morris <rgm@gnu.org>
2209
776aa432
GM
2210 * files.el (find-file): Doc fix: update info node name.
2211
ba1a5c78
GM
2212 * emacs-lisp/advice.el (ad-add-advice, defadvice):
2213 Doc fix: remove references to deleted info nodes.
2214
183d706e
MA
22152014-03-10 Michael Albinus <michael.albinus@gmx.de>
2216
2217 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
2218 Do not add `nil' to the environment, when there's no remote `locale'.
2219 (tramp-find-inline-encoding): Check, that the remote host has
2220 installed perl, before sending scripts.
2221
6f0f96e7
LL
22222014-03-10 Leo Liu <sdl.web@gmail.com>
2223
536a17e3
SM
2224 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2225 Clear eldoc-last-message. (Bug#16920)
6f0f96e7 2226
ca70fe78
SM
22272014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
2228
2229 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
2230 (bug#14430).
2231
eb67db41
JL
22322014-03-09 Juri Linkov <juri@jurta.org>
2233
2234 * ansi-color.el (ansi-color-names-vector): Copy default colors
2235 from `xterm-standard-colors' that look well on the default white
2236 background (and also on the black background) to avoid illegible
8cf07e5a 2237 color combinations like yellow-on-white and white-on-white.
eb67db41
JL
2238 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
2239
e7db5447
JB
22402014-03-08 Juanma Barranquero <lekktu@gmail.com>
2241
2242 * frameset.el (frameset-restore): When no frame is visible, do not
2243 generate a list of frames, just make visible the selected one.
2244
f0a4c8d7
DG
22452014-03-08 Dmitry Gutov <dgutov@yandex.ru>
2246
2247 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
2248 it only contains the repository root. (Bug#16897)
2249
e50772e3
MA
22502014-03-07 Michael Albinus <michael.albinus@gmx.de>
2251
2252 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
2253 only when `remote-file-name-inhibit-cache' is nil.
2254 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
2255
cac0a1d6
MR
22562014-03-06 Martin Rudalics <rudalics@gmx.at>
2257
2258 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
2259 Fix doc-strings.
2260 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
2261 fit-frame-to-buffer variable. Fix doc-string.
2262 (fit-window-to-buffer): Set ONLY argument in call of
2263 fit-frame-to-buffer. Fix doc-string.
2264
fa965cbf
MA
22652014-03-06 Michael Albinus <michael.albinus@gmx.de>
2266
2267 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
2268 (tramp-action-password): Clear password cache if needed.
2269 (tramp-read-passwd): Do not clear password cache.
2270
2271 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
2272 cache unless it is the first password request.
2273
c94e6ee4
GM
22742014-03-06 Glenn Morris <rgm@gnu.org>
2275
03bc753e
GM
2276 * simple.el (newline): Doc tweak.
2277
c94e6ee4
GM
2278 * emacs-lisp/shadow.el (load-path-shadows-find):
2279 Ignore dir-locals. (Bug#12357)
2280
bd2d43dc
GM
22812014-03-05 Glenn Morris <rgm@gnu.org>
2282
2283 * files.el (interpreter-mode-alist):
2284 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
2285
9284000e
JB
22862014-03-05 Juanma Barranquero <lekktu@gmail.com>
2287
2288 * frameset.el (frameset--initial-params): Filter out null entries.
2289
e1a2cb1c
MR
22902014-03-05 Martin Rudalics <rudalics@gmx.at>
2291
27821a89
JB
2292 * window.el (window-min-height, window-min-width):
2293 Rewrite doc-strings.
e1a2cb1c
MR
2294 (window-body-size): Add PIXELWISE argument to make it consistent
2295 with its callees.
2296
6bf67038
JB
22972014-03-05 Juanma Barranquero <lekktu@gmail.com>
2298
2299 * finder.el (finder-mode-map, finder-mode-syntax-table):
2300 Revert part of 2014-02-28 change.
2301
90f04e4c
LI
23022014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
2303
2304 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
2305 (eww-setup-buffer): Clear next/prev/etc more reliably.
27821a89
JB
2306 (eww-textarea-map): [tab] doesn't work on tty.
2307 Reported by Mario Lang.
6952100d
LI
2308
2309 * net/shr.el (shr-map): Ditto.
90f04e4c 2310
3106d59b
GM
23112014-03-04 Glenn Morris <rgm@gnu.org>
2312
2313 * minibuffer.el (completion-hilit-commonality):
2314 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
2315
f604dfdc
JB
23162014-03-04 Juanma Barranquero <lekktu@gmail.com>
2317
2318 * hilit-chg.el (hilit-chg-unload-function): New function.
2319 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
2320 (hilit-chg-map-changes): Prefer cardinal number to digit.
2321 (hilit-chg-display-changes): Reflow docstring.
2322 (highlight-changes-rotate-faces): Remove superfluous backslash.
2323
5dc65319
MA
23242014-03-04 Michael Albinus <michael.albinus@gmx.de>
2325
2326 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
2327 `tramp-send-command-and-check'.
2328
4242d21d
JB
23292014-03-04 Juanma Barranquero <lekktu@gmail.com>
2330
b01fa838
JB
2331 * hexl.el (hexl-address-region, hexl-ascii-region)
2332 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
2333 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
2334 (hexl-forward-word, hexl-previous-line, hexl-next-line):
2335 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
2336 (hexl-mode): Doc fix.
2337 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
2338 (hexl-mode-ruler): Fix typos in docstrings.
2339
4242d21d
JB
2340 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
2341 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
2342 Remove superfluous backslashes.
2343 (strokes-last-stroke, strokes-global-map, strokes-mode):
2344 Reflow docstrings.
2345 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
2346 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
2347 (strokes-distance-squared, strokes-global-set-stroke)
2348 (strokes-global-set-stroke-string): Doc fixes.
2349 (strokes-help): Fix typos; reflow docstring.
2350
87132570
MR
23512014-03-04 Martin Rudalics <rudalics@gmx.at>
2352
2353 * window.el (window-in-direction): Fix doc-string.
2354
d82e752c
GM
23552014-03-04 Glenn Morris <rgm@gnu.org>
2356
2357 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
2358 Explicit error if no grammar.
2359 (smie-config-save): Doc fix. Fix quote typo.
2360
62528af0
SM
23612014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
2362
8d4901dc
SM
2363 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
2364 electric-indent-mode-hook if we obey electric-indent-mode.
2365 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
2366 decide whether we obey electric-indent-mode.
2367 (c-change-set-fl-decl-start, c-extend-after-change-region):
2368 Silence warnings.
2369 (c-electric-indent-mode-hook): Assume we do want to obey
2370 electric-indent-mode.
2371
2372 * electric.el (electric-indent-mode-has-been-called): Remove.
2373 (electric-indent-mode): Fix accordingly.
2374
092c12b2
SM
2375 * files.el (hack-local-variables): Mention file name in warning.
2376
62528af0
SM
2377 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
2378
5b87d0d9
MN
23792014-03-04 Michal Nazarewicz <mina86@mina86.com>
2380
20f39add 2381 * bindings.el: Add comment describing why C-d binds to `delete-char'.
5b87d0d9
MN
2382 * simple.el (delete-forward-char): Mark as interactive-only.
2383
542a3840
JB
23842014-03-03 Juanma Barranquero <lekktu@gmail.com>
2385
f2d2402e
GM
2386 * icomplete.el (icomplete-completions):
2387 Follow-up to 2014-03-01 change.
d11320e5
JB
2388
2389 * icomplete.el: Miscellaneous doc fixes.
2390 Use Icomplete everywhere instead of icomplete for consistency.
2391 (icomplete-max-delay-chars): Fix typo.
2392 (icomplete-mode): Use \[].
2393 (icomplete-tidy, icomplete-exhibit): Reflow.
2394 (icomplete-minibuffer-setup-hook, icomplete-completions):
2395 Remove superfluous backlashes.
2396
2397 * ido.el: Miscellaneous doc fixes.
2398 Use Ido everywhere instead of ido or `ido' for consistency.
2399 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
2400 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
2401 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
2402 (ido-separator): Extract obsolescence info from docstring and declare
2403 with make-obsolete-variable.
2404 (ido-minibuffer-setup-hook): Simplify example.
2405 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
2406 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
2407 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
2408 (ido-everywhere): Reflow docstring.
2409 (ido-toggle-vc): Doc fix.
2410 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
2411 of long list of keybindings.
2412
7ebd57e9
GM
24132014-03-03 Glenn Morris <rgm@gnu.org>
2414
2415 * frame.el (display-pixel-height, display-pixel-width)
2416 (display-mm-dimensions-alist, display-mm-height)
2417 (display-mm-width): Doc tweaks.
2418
35e951cd 24192014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
e3d090b4
BR
2420
2421 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
2422 case of undo in region.
2423
b923819c
MR
24242014-03-02 Martin Rudalics <rudalics@gmx.at>
2425
2426 * window.el (fit-window-to-buffer): Fix argument in window-size
2427 call when window is horizontally combined.
2428
b6e443c5
JB
24292014-03-02 Juanma Barranquero <lekktu@gmail.com>
2430
2431 * icomplete.el (icomplete-completions): Use string-width.
35e951cd 2432 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
b6e443c5 2433
1850913d
DG
24342014-03-01 Dmitry Gutov <dgutov@yandex.ru>
2435
35e951cd
JB
2436 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2437 Highlight regexp options. (Bug#16914)
1850913d 2438
04b577b6
MR
24392014-03-01 Martin Rudalics <rudalics@gmx.at>
2440
2441 * window.el (window--max-delta-1): Round down when calculating
2442 how many lines/columns we can get from a window.
2443
b829360f
GM
24442014-03-01 Glenn Morris <rgm@gnu.org>
2445
2501c912
GM
2446 * isearch.el (search-invisible): Doc fix.
2447
b829360f
GM
2448 * minibuffer.el (completion-hilit-commonality):
2449 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
2450 * comint.el (comint-dynamic-list-completions): Doc fix.
2451 * comint.el (comint-dynamic-list-completions):
2452 * filecache.el (file-cache-minibuffer-complete):
2453 * tempo.el (tempo-display-completions):
2454 * eshell/em-hist.el (eshell-list-history):
2455 Replace use of obsolete argument of display-completion-list.
2456
9a155058
JB
24572014-03-01 Juanma Barranquero <lekktu@gmail.com>
2458
2459 * icomplete.el (icomplete-completions):
2460 Revert back to using "..." when ?… cannot be displayed.
2461
53f6cda8
JB
24622014-02-28 Juanma Barranquero <lekktu@gmail.com>
2463
2464 * finder.el (finder-unload-function): New function.
2465
43977c23
JB
24662014-02-28 Juanma Barranquero <lekktu@gmail.com>
2467
2468 * dframe.el (dframe-detach):
2469 * find-dired.el (find-dired, find-name-dired):
2470 * finder.el (finder-mode-map, finder-mode-syntax-table)
2471 (finder-headmark, finder-select, finder-mouse-select):
2472 Fix docstring typos.
2473
9dda75ad
MR
24742014-02-28 Martin Rudalics <rudalics@gmx.at>
2475
2476 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
27821a89
JB
2477 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
2478 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
2479 Fix doc-string based on a suggestion by Nicolas Richard
2480 <theonewiththeevillook@yahoo.fr>.
9dda75ad
MR
2481 * help.el (with-help-window): Fix doc-string.
2482
8a73034e
IK
24832014-02-28 Ivan Kanis <ivan@kanis.fr>
2484
b70257b0
GM
2485 * net/shr.el (shr-image-animate): New option.
2486 (shr-put-image): Respect shr-image-animate.
8a73034e 2487
245aa73e
MA
24882014-02-28 Michael Albinus <michael.albinus@gmx.de>
2489
2490 * net/tramp-adb.el (tramp-adb-parse-device-names):
2491 Use `accept-process-output'.
2492 (tramp-adb-handle-file-truename): Cache the localname only.
2493 (tramp-adb-handle-make-directory)
2494 (tramp-adb-handle-delete-directory): Flush file properties correctly.
2495 (tramp-adb-handle-set-file-modes): Do not raise an error when file
2496 modes cannot be changed.
2497
2498 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
2499 file properties of symlinks.
2500
48e15d64
PS
25012014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
2502
2503 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
2504 required/optional fields to match development biblatex. (Bug#16781)
2505
65b77347
AS
25062014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
2507
2508 * saveplace.el (toggle-save-place):
2509 Fix argument handling. (Bug#16673)
2510
5e618aba
GM
25112014-02-28 Glenn Morris <rgm@gnu.org>
2512
2513 * minibuffer.el (completions-first-difference)
2514 (completions-common-part, completion-hilit-commonality): Doc fixes.
2515
6deb314e
KB
25162014-02-28 Karl Berry <karl@gnu.org>
2517
2518 * info.el (Info-mode-map): Add H for describe-mode,
2519 to synchronize with standalone Info.
2520
289996f5
EL
25212014-02-28 Emilio C. Lopes <eclig@gmx.net>
2522
2523 * progmodes/sql.el (sql-interactive-mode):
2524 Avoid setting global comint-input-ring-separator. (Bug#16814)
2525
79fc1191
MA
25262014-02-27 Michael Albinus <michael.albinus@gmx.de>
2527
2528 * net/dbus.el (dbus--init-bus): Declare function.
2529 (dbus-path-local, dbus-interface-local): New defconst.
2530 (dbus-init-bus): Use them.
2531 (dbus-return-values-table): Extend doc.
2532 (dbus-handle-bus-disconnect): Extend error message.
2533
298520df
JB
25342014-02-27 Juanma Barranquero <lekktu@gmail.com>
2535
2536 * subr.el (y-or-n-p): Fix double space issue in message.
2537
c22c1614
MA
25382014-02-27 Michael Albinus <michael.albinus@gmx.de>
2539
2540 * net/tramp.el (tramp-call-process): Improve trace message.
2541 (tramp-handle-insert-file-contents): Trace error case.
2542
2543 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
2544 <insert-directory>: Use `tramp-handle-insert-directory'.
2545 (tramp-adb-handle-insert-directory): Remove function.
2546 (tramp-adb-send-command-and-check): New defun, replacing
2547 `tramp-adb-command-exit-status'. Change all callees.
2548 (tramp-adb-handle-file-attributes)
2549 (tramp-adb-handle-directory-files-and-attributes): Use it.
35e951cd
JB
2550 (tramp-adb-ls-output-name-less-p):
2551 Use `directory-listing-before-filename-regexp'.
c22c1614
MA
2552 (tramp-adb-handle-delete-directory): Flush also file properties of
2553 the truename of directory.
2554 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
2555 (tramp-adb-handle-file-local-copy): Make the local copy readable.
2556 (tramp-adb-handle-write-region): Implement APPEND.
2557 (tramp-adb-handle-rename-file): Make it more robust. Flush file
2558 properties correctly.
2559 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
2560 variables. Check for connected devices only when needed.
2561
d9263618
GM
25622014-02-27 Glenn Morris <rgm@gnu.org>
2563
ea7826ba
GM
2564 * minibuffer.el (completion-table-dynamic)
2565 (completion-table-with-cache): Doc fixes.
2566
d9263618
GM
2567 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
2568 (completing-read-multiple): Doc fixes.
2569
eff3168a
DC
25702014-02-27 Daniel Colascione <dancol@dancol.org>
2571
51f213c3
DC
2572 * minibuffer.el (completion--nth-completion): Fix indentation.
2573
eff3168a
DC
2574 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
2575 explicit tramp path is empty.
2576
b77cfcd7
GM
25772014-02-27 Glenn Morris <rgm@gnu.org>
2578
2579 * emacs-lisp/crm.el (completing-read-multiple):
2580 Empower help-enable-auto-load.
2581
9577b569
GM
25822014-02-26 Glenn Morris <rgm@gnu.org>
2583
259887e8
GM
2584 * startup.el (command-line): Don't init the tty in daemon mode.
2585
1d491ef2
GM
2586 Avoid calling tty-setup-hook twice, eg if a term file
2587 explicitly calls tty-run-terminal-initialization. (Bug#16859)
2588 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
2589 (tty-create-frame-with-faces): Use it.
2590 * startup.el (command-line): Pass run-hook argument
2591 to tty-run-terminal-initialization.
2592
9577b569
GM
2593 * dired.el (dired-restore-desktop-buffer): Demote errors;
2594 eg in case a glob match fails. (Bug#16884)
2595
40ff7f86
DG
25962014-02-26 Dmitry Gutov <dgutov@yandex.ru>
2597
b2388336
DG
2598 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
2599 error from `read-from-string'. (Bug#16850)
2600
40ff7f86
DG
2601 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
2602 result of `completing-read' in the interactive form. (Bug#16854)
2603
98bd6b32
GM
26042014-02-25 Glenn Morris <rgm@gnu.org>
2605
f086804c
GM
2606 * image.el (image-animate, image-animate-timeout):
2607 Stop animating images in dead buffers. (Bug#16878)
2608
c107155e
GM
2609 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
2610
9577b569
GM
2611 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
2612 Doc fixes.
98bd6b32
GM
2613 * startup.el (term-setup-hook): Doc fix. Make obsolete.
2614 * term/sun.el (sun-raw-prefix-hooks):
2615 Use tty-setup-hook instead of term-setup-hook.
2616 (terminal-init-sun): Construct message from bytecomp plist.
2617 * term/wyse50.el (enable-arrow-keys): Doc fix.
2618
9c9e18e8
JB
26192014-02-24 Juanma Barranquero <lekktu@gmail.com>
2620
2621 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
2622 Fix docstring typos.
2623
c848881f
MA
26242014-02-24 Michael Albinus <michael.albinus@gmx.de>
2625
2626 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
2627
0e38ae05
NR
26282014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2629
2630 * minibuffer.el (completion--try-word-completion):
2631 Fix error when completing M-x commands (bug#16808).
2632
8ee4c296
LL
26332014-02-24 Leo Liu <sdl.web@gmail.com>
2634
2635 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
2636
7d4bd627
JB
26372014-02-24 Juanma Barranquero <lekktu@gmail.com>
2638
2639 * apropos.el (apropos-print): Avoid formatting error when
2640 apropos-do-all and apropos-compact-layout are both t.
2641
e918e27f
JB
26422014-02-23 Juanma Barranquero <lekktu@gmail.com>
2643
2644 * apropos.el (apropos-property, apropos-all-words-regexp)
2645 (apropos-true-hit, apropos-variable, apropos-print):
2646 Fix docstring typos, and remove obsolete comment.
2647
85c01f80
MA
26482014-02-23 Michael Albinus <michael.albinus@gmx.de>
2649
2650 * net/tramp-sh.el (tramp-sh-handle-file-truename):
2651 Preserve trailing "/". (Bug#16851)
2652
62f95022
DG
26532014-02-23 Dmitry Gutov <dgutov@yandex.ru>
2654
2655 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
2656 after `=>' (bug#16811).
dfdb365c
DG
2657 (ruby-smie-rules): Handle the inconsistent second element of the
2658 list returned by `smie-indent--parent'.
2659 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
2660 method call.
62f95022 2661
025f2c81
JB
26622014-02-23 Juanma Barranquero <lekktu@gmail.com>
2663
2664 * elec-pair.el (electric-pair-text-syntax-table)
2665 (electric-pair-syntax-info, electric-pair--syntax-ppss)
2666 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
2667 (electric-pair--looking-at-unterminated-string-p): Doc fix.
2668 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
2669
123c84f9
GM
26702014-02-22 Glenn Morris <rgm@gnu.org>
2671
612c3e46
GM
2672 * imenu.el (imenu--generic-function): Doc fix.
2673
123c84f9
GM
2674 * register.el (frame-configuration-to-register): Make obsolete.
2675
e59fa9ad
JB
26762014-02-22 Juanma Barranquero <lekktu@gmail.com>
2677
2678 * desktop.el (desktop-save-buffer-p): Do not fail when
2679 desktop-files-not-to-save is nil. Return t for true result
2680 as the doc says.
2681
4e652634
DC
26822014-02-22 Daniel Colascione <dancol@dancol.org>
2683
27821a89 2684 * net/secrets.el (secrets-create-item, secrets-search-items):
35e951cd
JB
2685 Check that attribute values are strings, avoiding the construction
2686 of invalid dbus messages.
4e652634 2687
f35affb6
JB
26882014-02-21 Juanma Barranquero <lekktu@gmail.com>
2689
2690 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
2691 defun-declarations-alist.
2692
3d136b1b
SM
26932014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
2694
2695 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
2696 (bug#16829).
2697
612ddfc0
JB
26982014-02-21 Juanma Barranquero <lekktu@gmail.com>
2699
2700 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
2701 (whitespace-newline, whitespace-trailing, whitespace-line)
2702 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
2703 (whitespace-space-after-tab): Fix typo in docstrings.
2704
c8481b1b
DG
27052014-02-21 Dmitry Gutov <dgutov@yandex.ru>
2706
cb8f50a7
DG
2707 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
2708
c8481b1b
DG
2709 * electric.el (electric-indent-functions-without-reindent):
2710 Add `yaml-indent-line'.
2711
bed5126f
JB
27122014-02-21 Juanma Barranquero <lekktu@gmail.com>
2713
34b71457
JB
2714 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
2715 It has done nothing for years; should be removed after the release.
2716
bed5126f
JB
2717 * simple.el (choose-completion): Fix docstring typo.
2718 (read-quoted-char-radix): Remove unneeded * in docstring.
2719 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
2720 Don't escape parentheses unnecessarily in docstrings.
2721
8dd3e94f
MR
27222014-02-21 Martin Rudalics <rudalics@gmx.at>
2723
2724 Fix handling of window-min-height/-width (Bug#16738).
3d136b1b
SM
2725 * window.el (window--dump-window, window--dump-frame):
2726 New functions.
2727 (window--min-size-1): Account for window dividers.
2728 When window-resize-pixelwise is nil, delay rounding till after the
8dd3e94f
MR
2729 sum of the window components has been calculated.
2730 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
2731 nil make sure at least one text line and two text columns remain
2732 fully visible.
2733 (window-resize): Signal an error when window-resize-apply fails.
2734 (window--resize-child-windows): Fix calculation of by how many
2735 pixels a window can still be shrunk via window-new-normal.
2736 (adjust-window-trailing-edge): Call window--resizable with
2737 correct TRAIL argument.
2738
2ed94e04
MR
2739 (with-temp-buffer-window): Don't evaluate BODY within
2740 with-current-buffer (Bug#16816).
2741
0e5324c4
MA
27422014-02-21 Michael Albinus <michael.albinus@gmx.de>
2743
2744 * net/tramp.el (tramp-check-cached-permissions):
2745 Call `file-attributes' with `suffix' being a symbol but a string.
2746
48198420
DC
27472014-02-21 Daniel Colascione <dancol@dancol.org>
2748
2749 * net/dbus.el (dbus-init-bus-1): Declare new subr.
2750 (dbus-init-bus): New function: call into dbus-init-bus-1
2751 and installs a handler for the disconnect signal.
2752 (dbus-call-method): Rewrite to look for result in cons.
2753 (dbus-call-method-handler): Store result in cons.
2754 (dbus-check-event): Recognize events with nil sender as valid.
2755 (dbus-handle-bus-disconnect): New function. React to bus
2756 disconnection signal by synthesizing dbus error for each
2757 pending synchronous or asynchronous call.
2758 (dbus-notice-synchronous-call-errors): New function.
2759 (dbus-handle-event): Raise errors directly only when `dbus-debug'
2760 is true, not all the time.
2761
99e15133
JB
27622014-02-21 Juanma Barranquero <lekktu@gmail.com>
2763
e48983a6
JB
2764 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
2765 Remove obsolescence declarations, these variables do not exist anymore.
2766
fdcfd745
JB
2767 * savehist.el (savehist-save-minibuffer-history)
2768 (savehist-additional-variables, savehist-file, savehist-mode-hook)
2769 (savehist-save-hook, savehist-coding-system, savehist-loaded)
2770 (savehist-load, savehist-install, savehist-autosave): Fix typos;
2771 mostly, refer to "Savehist mode" when talking about the mode,
2772 and not the function.
2773
99e15133
JB
2774 * saveplace.el (save-place): Remove redundant info in docstring.
2775 (save-place-forget-unreadable-files, toggle-save-place)
2776 (save-place-forget-unreadable-files, save-place-dired-hook):
2777 Fix typos and remove unneeded backslashes.
2778
f5bee33b
MA
27792014-02-20 Michael Albinus <michael.albinus@gmx.de>
2780
2781 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
2782 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
2783
2784 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
85c01f80 2785 <insert-directory>: Use `tramp-handle-insert-directory'.
f5bee33b
MA
2786 (tramp-gvfs-handle-insert-directory): Remove function.
2787
2788 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2789 Call `tramp-handle-insert-directory'.
2790
ee0761ca
JB
27912014-02-20 Juanma Barranquero <lekktu@gmail.com>
2792
2793 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
2794 before the start of buffer/region (bug#16799).
2795
4d49cc65
GM
27962014-02-20 Glenn Morris <rgm@gnu.org>
2797
2798 * isearch.el (search-invisible): Doc fix.
2799
eee0d650
TK
28002014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
2801
2802 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
2803 (bug#16657).
2804
94e5e202
JB
28052014-02-19 Juanma Barranquero <lekktu@gmail.com>
2806
2807 * frameset.el (frameset-restore): Delay removing an old frame's
2808 duplicate id until the new frame has been correctly created.
2809
50bfdd5d
MA
28102014-02-19 Michael Albinus <michael.albinus@gmx.de>
2811
2812 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
2813 (tramp-check-cached-permissions): Call `file-attributes' if the
2814 cache is empty.
2815
2816 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
afe1e4c8 2817 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
50bfdd5d
MA
2818
2819 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
afe1e4c8 2820 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
50bfdd5d
MA
2821 (tramp-gvfs-maybe-open-connection): Set always connection
2822 properties, even if target is mounted already.
2823
2824 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
2825 Set tramp-autoload cookie.
2826 (tramp-get-remote-touch): New defun.
2827 (tramp-sh-handle-set-file-times): Use it.
2828 (tramp-sh-handle-directory-files-and-attributes):
2829 Use `tramp-handle-directory-files-and-attributes' if neither stat
2830 nor perl are available on the remote host.
2831
2832 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
2833 "/". Write long listing only when "l" belongs to the switches.
2834
2835 * net/trampver.el: Update release number.
2836
f097a3d2
JB
28372014-02-19 Juanma Barranquero <lekktu@gmail.com>
2838
2839 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
2840
8e009b78
MR
28412014-02-19 Martin Rudalics <rudalics@gmx.at>
2842
2843 * window.el (window-state-put): Allow WINDOW to refer to an
2844 internal window (Bug#16793).
2845
95160c90
GM
28462014-02-19 Glenn Morris <rgm@gnu.org>
2847
2848 * textmodes/remember.el: Move provide statement to end.
2849 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
2850 (remember-notes): Doc fixes.
2851
b28df58c
SM
28522014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
2853
2854 * delsel.el (delete-char): Restore incorrectly erased property
2855 (bug#16795).
2856
7108e1c0
JB
28572014-02-18 Juanma Barranquero <lekktu@gmail.com>
2858
2859 * frameset.el (frameset--restore-frame): When a frame is being reused
2860 and its root window is not alive, delete all the frame's windows before
2861 restoring the window state. This works around the issue in bug#16793.
2862
c863b6ad
GM
28632014-02-18 Glenn Morris <rgm@gnu.org>
2864
a73fae1f
GM
2865 * textmodes/remember.el (remember-data-directory)
2866 (remember-directory-file-name-format, remember-store-in-files)
2867 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
2868 (remember-notes-save-and-bury-buffer)
2869 (remember-notes--kill-buffer-query): Doc fixes.
2870
c863b6ad
GM
2871 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
2872
29238d28
AM
28732014-02-17 Alan Mackenzie <acm@muc.de>
2874
2875 Connect electric-indent-mode up with CC Mode. Bug #15478.
b28df58c 2876 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
29238d28 2877 to electric-indent-{,local-}-mode.
b28df58c
SM
2878 (c-basic-common-init): Set electric-indent-inhibit.
2879 Initialise c-electric-flag from electric-indent-mode.
29238d28 2880 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
b28df58c 2881 New hook functions which propagate electric-indent-mode to CC mode.
29238d28
AM
2882
2883 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
b28df58c 2884 hit, toggle electric-indent-local-mode.
29238d28 2885
b28df58c
SM
2886 * electric.el (electric-indent-mode-has-been-called):
2887 New variable.
29238d28 2888
c6463340
JB
28892014-02-17 Juanma Barranquero <lekktu@gmail.com>
2890
2891 * frameset.el (frameset-cfg-id): New function.
2892 (frameset--reuse-frame, frameset-restore): Use it.
2893 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
2894
94912b88
SM
28952014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
2896
2897 * ido.el (ido-file-internal): Remove unused var `d'.
2898 Use \` for to match BoS. Fit within 80n columns.
2899
26ea164c
DC
29002014-02-17 Daniel Colascione <dancol@dancol.org>
2901
2902 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
2903 dbus-call-method check for completion using a busy-wait loop with
2904 gradual backoff.
2905
589d1988 29062014-02-16 Michael Albinus <michael.albinus@gmx.de>
dd7691b7
MA
2907
2908 Sync with Tramp 2.2.9.
2909
2910 * net/trampver.el: Update release number.
2911
17d1b51b
DG
29122014-02-16 Dmitry Gutov <dgutov@yandex.ru>
2913
2914 * ido.el (ido-file-internal): Don't add the name of an existing
2915 directory twice. (Bug#16747)
2916
5bcad689
GM
29172014-02-16 Glenn Morris <rgm@gnu.org>
2918
2919 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
2920 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
2921
29222014-02-15 Michael R. Mauger <michael@mauger.com>
9b0c01f7
MM
2923
2924 * progmodes/sql.el: Version 3.4
2925 (sql-oracle-options): New default value ("-L").
94912b88 2926 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
9b0c01f7 2927 (sql-placeholders-filter): Correct placeholder pattern.
35e951cd 2928 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
9b0c01f7
MM
2929 (sql-login-delay): New variable.
2930 (sql-product-interactive): Use it.
2931
285f1858
JB
29322014-02-15 Juanma Barranquero <lekktu@gmail.com>
2933
2934 * frameset.el (frameset--jump-to-register): Check that buffer is live
2935 (bug#16749).
2936
5d645ea4
GM
29372014-02-15 Glenn Morris <rgm@gnu.org>
2938
2939 * info.el (info-initialize): Revert 2014-01-10 change.
2940
48c4f9b1
GM
29412014-02-14 Glenn Morris <rgm@gnu.org>
2942
b8630261
GM
2943 * replace.el (map-query-replace-regexp)
2944 (read-regexp-defaults-function, read-regexp): Doc fixes.
2945
b2bf2a25
GM
2946 * dired.el (dired-read-regexp):
2947 * faces.el (list-faces-display):
2948 * misearch.el (multi-isearch-read-matching-buffers)
2949 (multi-isearch-read-matching-files):
2950 * play/cookie1.el (cookie-apropos):
2951 * progmodes/grep.el (grep-read-regexp): Doc fixes.
2952
48c4f9b1
GM
2953 * textmodes/remember.el (remember): Use frameset-to-register
2954 rather than frame-configuration-to-register.
2955
2804e0bd
JB
29562014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
2957
2958 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
2959 incorrect keybinding.
2960
0b87142f
DC
29612014-02-13 Daniel Colascione <dancol@dancol.org>
2962
2963 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
2964 when adding overlays so that line numbers from compiler match line
2965 numbers we use.
2966
47a73eb0
GM
29672014-02-13 Glenn Morris <rgm@gnu.org>
2968
8abcfd51
GM
2969 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
2970
47a73eb0
GM
2971 * jit-lock.el (jit-lock-mode): Doc fix.
2972
c9b6b262
JB
29732014-02-13 Juanma Barranquero <lekktu@gmail.com>
2974
2975 * apropos.el (apropos-read-pattern): When the user passes an empty
2976 string, give a more helpful error message than "Wrong type
2977 argument: stringp, nil".
2978
eb4c6947
SM
29792014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
2980
2981 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
2982
0dab5068
GM
29832014-02-13 Glenn Morris <rgm@gnu.org>
2984
2985 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
2986
59075dcf
SM
29872014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
2988
2989 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
2990 shift-select commands.
2991
5af9fbad
DG
29922014-02-12 Dmitry Gutov <dgutov@yandex.ru>
2993
2994 * progmodes/js.el (js-indent-line): Don't widen.
2995 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
2996
a215930c
GM
29972014-02-12 Glenn Morris <rgm@gnu.org>
2998
a8cb4247
GM
2999 * icomplete.el (icomplete): Add info-link to defgroup.
3000 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
3001 (icomplete-minibuffer-map, icomplete-mode)
3002 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
3003
a215930c
GM
3004 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
3005 (package-menu-filter): Rename from package-menu-filter-interactive.
3006 Doc fix.
3007
26c5ecd9
JB
30082014-02-11 Juanma Barranquero <lekktu@gmail.com>
3009
3010 * frameset.el (frameset--jump-to-register): Select the required
3011 window and buffer before restoring position (bug#16696).
3012
fcd58a02
LI
30132014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
3014
3015 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
3016
bacb3380
GM
30172014-02-10 Glenn Morris <rgm@gnu.org>
3018
3019 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
3020
881329dc
EZ
30212014-02-10 Eli Zaretskii <eliz@gnu.org>
3022
02328db9
EZ
3023 * w32-common-fns.el (x-get-selection): Doc fix.
3024 * select.el (x-get-selection): Doc fix. (Bug#15109)
3025
881329dc
EZ
3026 * face-remap.el (face-remap-add-relative)
3027 (face-remap-remove-relative, face-remap-reset-base)
3028 (face-remap-set-base): Call force-mode-line-update to redisplay
3029 the current buffer due to potential change in faces. (Bug#16709)
3030
c7db4c06
MA
30312014-02-10 Michael Albinus <michael.albinus@gmx.de>
3032
3033 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
3034 script more robustly.
3035
6abe4589
LI
30362014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3037
7602b5c3
LI
3038 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
3039
e3692ee0
LI
3040 * simple.el (choose-completion): Doc fix (bug#14160).
3041
41015524
LI
3042 * subr.el (event-start): Say what a nil EVENT value means.
3043
87c79dcb
LI
3044 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
3045 (bug#14197).
3046
3ab49e2c
LI
3047 * progmodes/grep.el (find-program): Doc fix (bug#14289).
3048
f3c60241
LI
3049 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
3050
3bd1d8a8
LI
3051 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
3052
6abe4589
LI
3053 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
3054 predicate function (bug#15455).
3055
a11463de
DG
30562014-02-10 Dmitry Gutov <dgutov@yandex.ru>
3057
3058 * ielm.el (inferior-emacs-lisp-mode): Instead of
3059 `comment-use-global-state', set `comment-use-syntax'.
3060
2ab0ad85
GM
30612014-02-10 Glenn Morris <rgm@gnu.org>
3062
3063 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
3064
411141fb
AM
30652014-02-09 Alan Mackenzie <acm@muc.de>
3066
3067 Fix c-invalidate-state-cache on narrowed buffers.
3068 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
3069 Widen when setting and clearing the CPP delimiter properties.
3070
d6d5fdf8
LI
30712014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
3072
92c70367
LI
3073 * help.el (describe-bindings): Doc fix (bug#9888).
3074
468ef484
LI
3075 * files.el (save-buffer): Use ARG as the parameter name for
3076 consistency (bug#10346).
7e34193f 3077 (save-buffer): Clarify the 0 argument (bug#10346).
468ef484 3078
fc2b1ffa 3079 * cus-edit.el (customize-apropos): Fix error string.
382fd368 3080 (custom-buffer-create): Doc fix (bug#11122).
1e4a57ac 3081 (custom-sort-items): Doc fix (bug#11121).
fc2b1ffa 3082
790aceec
LI
3083 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
3084
a54a7552 3085 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
c359b7bd 3086 (icomplete-simple-completing-p): Mention the previous variable.
a54a7552 3087
dd163123
LI
3088 * font-lock.el (font-lock-value-in-major-mode): Clarify the
3089 meaning of the parameter (bug#12282).
3090
9e108fe6
LI
3091 * files.el (find-file-noselect): Clarify prompt when changing
3092 readedness (bug#13261).
5a836f58
LI
3093 (locate-file): Suffixes aren't returned, so don't say that they
3094 are (bug#12674).
2356b316 3095 (backup-inhibited): Doc clarification (bug#12525).
9e108fe6 3096
20dda930
LI
3097 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
3098 before we actually start to delete things (bug#16331).
3099
d6d5fdf8
LI
3100 * subr.el (event-start): Doc fix (bug#14228).
3101 (event-end): Ditto.
3102
2abd71e5
GM
31032014-02-09 Glenn Morris <rgm@gnu.org>
3104
3105 * emacs-lisp/warnings.el (lwarn):
3106 Empower help-enable-auto-load. (Bug#15940)
3107
c1b5900b
AS
31082014-02-08 Andreas Schwab <schwab@linux-m68k.org>
3109
3110 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
3111 (Bug#16690)
3112
429b93bd
MA
31132014-02-08 Michael Albinus <michael.albinus@gmx.de>
3114
3115 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3116 Insert output at end of buffer. (Bug#16120)
3117
b772a699
LI
31182014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3119
18c6aa8c
LI
3120 * simple.el (choose-completion-string-functions): Document new
3121 calling convention (bug#14153).
54dd147a 3122 (execute-extended-command): Clarify doc string (bug#13373).
18c6aa8c 3123
dce8463b
LI
3124 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
3125
b772a699 3126 * find-dired.el (find-name-dired): Doc fix (bug#14290).
8aa76c93 3127 (find-grep-dired): Doc fix (bug#14288).
b772a699 3128
2423c8d5
JL
31292014-02-08 Juri Linkov <juri@jurta.org>
3130
3131 * isearch.el (isearch-quote-char): Check character validity
3132 like in `quoted-insert' (bug#16677).
3133
518f26c2
LI
31342014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3135
893cc908
LI
3136 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
3137
9165ffc0
LI
3138 * isearch.el (isearch-hide-immediately): Doc clarification
3139 (bug#14723).
3140
6ef4f3ce
LI
3141 * simple.el (line-move): Document utility function used many
3142 places in the Emacs sources (bug#14843).
3143
be58a238 3144 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
8cff064c 3145 (dired-prev-marked-file): Doc fix (bug#14855).
574e477f 3146 (dired-up-directory): Doc fix (bug#14848).
be58a238 3147
dd7aafbb
LI
3148 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
3149
15cb9968
LI
3150 * files.el (file-relative-name): Doc fix (bug#15159).
3151
9788effd
LI
3152 * fringe.el (fringe-styles): Doc fix (bug#15239).
3153
c96411bd
LI
3154 * isearch.el (isearch-filter-predicate): Documentation typo fix
3155 (bug#15474).
3156
ea838c36
LI
3157 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
3158
0d8a4ae7
LI
3159 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
3160
f7a17bb3
LI
3161 * replace.el (replace-match-maybe-edit): Doc clarification
3162 (bug#15632).
3163
1bde5c3b
LI
3164 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
3165
518f26c2
LI
3166 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
3167
dd8e49fd
GM
31682014-02-08 Glenn Morris <rgm@gnu.org>
3169
3170 * help-fns.el (describe-variable):
3171 Check {file,dir}-local-variables-alist, and buffer-file-name,
3172 in the correct buffer.
3173
7e088b29
IL
31742014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
3175
3176 * help-fns.el (describe-variable): Fix the case where
3177 a value is directory-local with no dir-locals file. (Bug#16635)
3178
41a4a82f
GM
31792014-02-08 Glenn Morris <rgm@gnu.org>
3180
3181 * abbrev.el (edit-abbrevs-mode):
3182 Derive from fundamental-mode. (Bug#16682)
3183
e255a703
JB
31842014-02-07 Juanma Barranquero <lekktu@gmail.com>
3185
3186 * simple.el (quoted-insert): Check character validity (bug#16677).
3187
c99cf5ee
JL
31882014-02-07 Juri Linkov <juri@jurta.org>
3189
3190 * desktop.el (desktop-read): Claim the lock when the owner is not
3191 the current process. (Bug#16157)
3192
7d7a68d8
JL
31932014-02-07 Juri Linkov <juri@jurta.org>
3194
3195 * desktop.el (desktop-buffers-not-to-save): Change default from nil
3196 to "\\` ". (Bug#16651)
3197
2b777cd9
JL
31982014-02-07 Juri Linkov <juri@jurta.org>
3199
3200 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
3201 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
3202 (desktop-auto-save-cancel-timer): New function with some code from
3203 `desktop-auto-save-set-timer'.
3204 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
3205 Instead of setting `desktop-save-mode' to nil, call
3206 `desktop-save-mode' with arg 0. (Bug#16630)
3207
60eabbb9
GM
32082014-02-07 Glenn Morris <rgm@gnu.org>
3209
99cf3859
GM
3210 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
3211 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
3212 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
3213
2b568bc9
GM
3214 * obsolete/iswitchb.el: Move to obsolete/.
3215 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
3216 since obsolete/ is not scanned for autoloads.
3217 * emacs-lisp/authors.el (authors-valid-file-names):
3218 Add iswitchb.el.
3219
60eabbb9
GM
3220 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
3221 Disable now non-functional find-file-hook.
3222
629de968
MA
32232014-02-06 Michael Albinus <michael.albinus@gmx.de>
3224
3225 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
3226 instead of ";" in order to avoid additional prompts. Let heredoc
3227 scripts read from tty. (Bug#16582)
3228 (tramp-send-command): No special handling of heredocs, it isn't
3229 necessary anymore.
3230
29127376
SM
32312014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
3232
3233 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
3234 with a space (bug#16664). Limit the symbols considered to the ones
3235 that are bound or fbound (bug#16646).
3236
79b6e0a9
GM
32372014-02-06 Glenn Morris <rgm@gnu.org>
3238
3239 * epa.el (epa-mail-aliases): Doc fix.
3240
a333e4d2
DG
32412014-02-06 Dmitry Gutov <dgutov@yandex.ru>
3242
29127376
SM
3243 * emacs-lisp/lisp.el (lisp-completion-at-point):
3244 Use `completion-table-merge' instead of `completion-table-in-turn'
a333e4d2
DG
3245 (bug#16604).
3246
3247 * minibuffer.el (completion-table-merge): New function.
3248
9a83b32b
MA
32492014-02-05 Michael Albinus <michael.albinus@gmx.de>
3250
3251 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
3252 (tramp-sh-handle-set-file-acl)
3253 (tramp-sh-handle-start-file-process)
3254 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
3255 (tramp-find-executable, tramp-send-command): Use it.
3256
451ea3e6
GM
32572014-02-05 Glenn Morris <rgm@gnu.org>
3258
9a83b32b 3259 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
451ea3e6 3260
dd27d13b
FEG
32612014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
3262
35e951cd 3263 * progmodes/python.el (python-shell-send-string)
dd27d13b
FEG
3264 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
3265
08e41897
AL
32662014-02-04 Anders Lindgren <andlind@gmail.com>
3267
3268 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
3269 the names (bug#16620).
3270
764ec9e5
MR
32712014-02-03 Martin Rudalics <rudalics@gmx.at>
3272
08e41897
AL
3273 * faces.el (window-divider): New default value. Rewrite doc-string.
3274 (window-divider-first-pixel, window-divider-last-pixel): New faces.
764ec9e5 3275
6da8227c
DG
32762014-02-03 Dmitry Gutov <dgutov@yandex.ru>
3277
3278 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
3279 `protected' and `public' can also be called without arguments.
3280
6a6b8e40
GM
32812014-02-03 Glenn Morris <rgm@gnu.org>
3282
7bcbca40
GM
3283 * register.el (window-configuration-to-register)
3284 (frame-configuration-to-register): Unadvertise unused argument.
3285 * frameset.el (frameset-to-register): Remove unused argument.
3286
719d965d 3287 * frameset.el (frameset-to-register):
6a6b8e40
GM
3288 * kmacro.el (kmacro-to-register):
3289 * register.el (increment-register):
3290 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
3291 (calc-append-to-register, calc-prepend-to-register):
3292 * play/gametree.el (gametree-layout-to-register)
3293 (gametree-apply-register-layout):
3294 * textmodes/picture.el (picture-clear-rectangle-to-register)
3295 (picture-yank-rectangle-from-register):
3296 * vc/emerge.el (emerge-combine-versions-register):
3297 Use register-read-with-preview to read registers.
3298
5dca7759
JT
32992014-02-03 João Távora <joaotavora@gmail.com>
3300
3301 * elec-pair.el (electric-pair-backward-delete-char): Don't error
3302 when at beginning of (possibly narrowed) buffer.
3303
709085b9
DC
33042014-02-02 Daniel Colascione <dancol@dancol.org>
3305
c295fc18 3306 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
08e41897 3307 Also try to display local help from just before point.
709085b9 3308
99f7b0a6
AM
33092014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
3310
3311 c-parse-state. Don't "append-lower-brace-pair" in certain
3312 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
3313 recognised as a comment.
3314
3315 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
3316 as well as normal comment starter.
3317 (c-parse-state-get-strategy): Extra return possibility
3318 'back-and-forward.
3319 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
3320 return value list to indicate replacement of a brace-pair cons
3321 with its car.
3322 (c-parse-state-1): With 'back-and-forward, only call
3323 c-append-lower-brace-pair-to state-cache when cons-separated.
3324
f0a10576
JD
33252014-02-02 Jan Djärv <jan.h.d@swipnet.se>
3326
3327 * term/ns-win.el (ns-suspend-error): New function.
3328 (ns-initialize-window-system): Add ns-suspend-error to
3329 suspend-hook (Bug#16612).
3330
b8d552c2
DC
33312014-02-02 Daniel Colascione <dancol@dancol.org>
3332
35e951cd
JB
3333 * progmodes/cc-defs.el (c-find-assignment-for-mode):
3334 Make loading cc-mode silent.
b8d552c2 3335
f2b7d123
DC
33362014-02-02 Daniel Colascione <dancol@dancol.org>
3337
35e951cd
JB
3338 * comint.el (comint-prompt-read-only): Change doc to suggest
3339 remap keybinding.
f2b7d123 3340
4472a196
GM
33412014-02-02 Glenn Morris <rgm@gnu.org>
3342
3343 * register.el (register-read-with-preview, point-to-register)
3344 (window-configuration-to-register, frame-configuration-to-register)
3345 (jump-to-register, number-to-register, view-register, insert-register)
3346 (copy-to-register, append-to-register, prepend-to-register)
3347 (copy-rectangle-to-register): Doc fixes.
3348
70e5a261
SM
33492014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3350
3351 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
3352 * emacs-lisp/find-func.el (find-function-C-source): Idem.
3353 * emacs-lisp/nadvice.el (advice--cd*r): New function.
3354 * help-fns.el (describe-function-1): Use it.
3355
7c324762
GM
33562014-02-02 Glenn Morris <rgm@gnu.org>
3357
3358 * register.el (register-preview-default): New function,
3359 split from register-preview.
3360 (register-preview-function): Rename from register-preview-functions,
3361 make it not a hook.
3362 (register-preview): Use register-preview-function.
3363 (register-read-with-preview): Error on non-character event. (Bug#16595)
3364
a09beb3d
DG
33652014-02-01 Dmitry Gutov <dgutov@yandex.ru>
3366
3367 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
3368 `:' before binary operators (bug#16609). Don't check for `:'
3369 before `[' and `(', or their syntax status. A percent literal
3370 can't end with either.
68e004e0
DG
3371 (ruby-font-lock-keywords): For built-ins that require arguments,
3372 check that they're followed by something that looks like argument
3373 (bug#16610).
a09beb3d 3374
ed4d2875
LI
33752014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
3376
3377 * subr.el (butlast): Document what an omitted N means (bug#13437).
3378 (nbutlast): Ditto.
3379
dba6e3ec
LI
33802014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
3381
3382 * net/shr.el (shr-generic): Make into a defsubst to make the stack
3383 depth shallower (bug#16587).
cc477daa
LI
3384 (shr-tag-svg): Respect `shr-inhibit-images'.
3385 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
dba6e3ec 3386
e2a67bd0
DG
33872014-01-31 Dmitry Gutov <dgutov@yandex.ru>
3388
3389 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
3390 (ruby-smie-grammar): Make "." right-associative. Make its priority
3391 lower than the ternary and all binary operators.
3392 (ruby-smie-rules): Indent "(" relative to the first non-"."
70e5a261
SM
3393 parent, or the first "." parent at indentation.
3394 Use `ruby-align-chained-calls' for indentation of "." tokens.
e2a67bd0
DG
3395 (Bug#16593)
3396
bd21bf41
JL
33972014-01-31 Juri Linkov <juri@jurta.org>
3398
3399 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
3400 from `make-hash-table'.
3401
3402 * textmodes/ispell.el (ispell-init-process): Change message format
3403 to be consistent with other messages.
3404
b7e615b9
GM
34052014-01-31 Glenn Morris <rgm@gnu.org>
3406
a69ecd19
GM
3407 * delsel.el (delete-selection-mode): Doc fix.
3408
9997d7e3
GM
3409 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
3410 (trace-function-background): Doc fixes.
3411
fbb764b8
GM
3412 * ido.el (ido-use-virtual-buffers): Doc fix.
3413 Reset :version, since the default value has not changed.
3414
da942af1
GM
3415 * register.el (register-preview-delay, register-read-with-preview):
3416 Doc fixes.
3417
b7e615b9
GM
3418 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
3419 do not mess with mail-buffer position (fixes 2009-11-03 change).
3420 * progmodes/cc-mode.el (c-submit-bug-report):
3421 Check auto-fill-mode is bound. (Bug#16592)
3422
0a25002d
DH
34232014-01-31 Darren Hoo <darren.hoo@gmail.com>
3424
3425 * startup.el (fancy-splash-image-file): New function,
3426 split from fancy-splash-head.
3427 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
3428 so that we are both using the same image. (Bug#16574)
3429
ad78f432
GM
34302014-01-30 Glenn Morris <rgm@gnu.org>
3431
6bbc0c84
GM
3432 * simple.el (eval-expression): Doc fix.
3433
ad78f432
GM
3434 * hexl.el (hexl-mode-hook):
3435 * ielm.el (ielm-mode-hook):
3436 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
3437 (lisp-interaction-mode-hook):
20f39add 3438 * progmodes/cfengine.el (cfengine3-documentation-function):
ad78f432
GM
3439 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
3440
7b2f049c
SM
34412014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3442
3443 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
3444 is a symbol (bug#16584).
3445
0c633f13
GM
34462014-01-30 Glenn Morris <rgm@gnu.org>
3447
3448 * help.el (help-for-help-internal): Add "P" to text.
3449
5e61c1ef
GM
34502014-01-29 Glenn Morris <rgm@gnu.org>
3451
3452 * simple.el (just-one-space, cycle-spacing): Doc fixes.
3453
1dcb169c
MR
34542014-01-28 Martin Rudalics <rudalics@gmx.at>
3455
3456 * window.el (fit-frame-to-buffer): Fix calculations for margins and
3457 height constraints.
3458
a9128931
LL
34592014-01-28 Luke Lee <luke.yx.lee@gmail.com>
3460
3461 * progmodes/hideif.el: Extend to full CPP expression syntax.
3462 (hif-token-alist): Add missing tokens.
3463 (hif-token-regexp): Add support for float/octal/hex immediates.
3464 (hif-string-literal-regexp): New const.
3465 (hif-tokenize): Recognize strings and float/octal/hex immediates.
3466 (hif-exprlist): New function.
3467 (hif-parse-if-exp): Use it.
3468 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
3469 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
3470 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
3471 (hif-logxor, hif-comma): New functions.
3472
a22359a7
GM
34732014-01-28 Glenn Morris <rgm@gnu.org>
3474
793ffe81
GM
3475 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
3476
e3bd7eed
GM
3477 * indent.el (tab-stop-list): Doc fix. Add :version.
3478
a22359a7
GM
3479 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
3480 (cvs-append-to-ignore): Add compatibility alias.
3481
52695556 34822014-01-27 Glenn Morris <rgm@gnu.org>
d269bb99 3483
bac524e0
GM
3484 * dired.el (dired-hide-details-mode): Don't autoload it,
3485 since it cannot be used outside Dired buffers anyway.
3486
52695556 3487 * emulation/cua-base.el (cua-mode): Doc fix.
d269bb99 3488
52695556
GM
3489 * dired.el (dired-hide-details-hide-symlink-targets)
3490 (dired-hide-details-hide-information-lines)
3491 (dired-hide-details-mode): Doc fixes.
ece4bae5
GM
3492
3493 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
3494 * strokes.el (strokes-file): Doc fix. Bump :version.
3495 (strokes-help): Doc fix.
3496 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
3497 * emulation/viper.el (viper): Doc fix for custom group.
3498 (top-level): Remove oh-so-no-longer-relevant text about vip.
3499 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
3500
3501 * ido.el (ido-save-directory-list-file):
3502 * saveplace.el (save-place-file):
3503 * calendar/timeclock.el (timeclock-file):
3504 * net/quickurl.el (quickurl-url-file):
3505 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
3506 * progmodes/idlwave.el (idlwave-config-directory):
3507 * textmodes/remember.el (remember-data-file):
3508 Bump :version.
3509
169d6004
GM
35102014-01-26 Glenn Morris <rgm@gnu.org>
3511
de6a923b
GM
3512 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
3513 Doc fix. Make obsolete.
3514 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
3515
169d6004
GM
3516 * sort.el (delete-duplicate-lines): Doc fix.
3517
ed85dee6
RS
35182014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3519
3520 * progmodes/ada-mode.el (ada):
3521 * woman.el (woman): Link to info manual and Commentary section.
3522
3523 * progmodes/flymake.el (flymake):
3524 * nxml/nxml-mode.el (nxml):
3525 * net/eww.el (eww):
3526 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
3527 * htmlfontify.el (htmlfontify):
3528 * ses.el (ses):
3529 * epa.el (epa):
3530 * ido.el (ido): Link to info manual.
3531
e0c67e1d
LL
35322014-01-25 Leo Liu <sdl.web@gmail.com>
3533
3534 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
3535
35408b1a
AS
35362014-01-25 Adam Sjøgren <asjo@koldfront.dk>
3537
3538 * net/shr.el (shr-tag-img): Prefer the title over the alt text
3539 (bug#16537).
3540
76c3fa95
JB
35412014-01-24 Juanma Barranquero <lekktu@gmail.com>
3542
f77c7a99
JB
3543 * net/eww.el (eww-download-callback):
3544 Fix reference to eww-download-directory.
3545
76c3fa95
JB
3546 * emacs-lisp/bytecomp.el (byte-compile-file):
3547 Remove unused local variable `file-name'.
3548
1e548e40
GM
35492014-01-24 Glenn Morris <rgm@gnu.org>
3550
03f3b318
GM
3551 * woman.el (woman-default-faces, woman-monochrome-faces):
3552 Fix obsolescence specification.
3553
1e548e40
GM
3554 * subr.el (with-demoted-errors): Doc fix.
3555
d4f0427b
SM
35562014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
3557
3558 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
3559 (cl--macroexp-fboundp): New function.
3560 (cl--make-type-test): Use it.
3561
1670e27f
GM
35622014-01-23 Glenn Morris <rgm@gnu.org>
3563
3564 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
3565 * simple.el (eval-expression): Doc fixes.
3566
80efa207
GM
35672014-01-22 Glenn Morris <rgm@gnu.org>
3568
3569 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
3570
29afcbab
SM
35712014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
3572
3573 * emacs-lisp/package.el: Write files silently.
3574 (package-autoload-ensure-default-file, package--write-file-no-coding)
3575 (package-generate-description-file, package--download-one-archive)
3576 (package-install-from-archive): Tell `write-region' to stay quiet.
3577 (package-menu-mode, package-menu--print-info): Omit the Archive column
3578 if there's only one archive.
3579 (package-all-keywords, package--has-keyword-p): Remove dead code.
3580
2a5bce4f
GM
35812014-01-22 Glenn Morris <rgm@gnu.org>
3582
edace89f
GM
3583 * version.el (emacs-bzr-version-bzr): Fix typo.
3584
2a5bce4f
GM
3585 * version.el (emacs-repository-get-version):
3586 Check either .bzr or .git, but not both.
3587 Make the git case actually use the DIR argument, and return nil
3588 rather than the empty string.
983664c0 3589 Avoid error if .git exists but the git executable is not found.
2a5bce4f 3590
6cb4da45
MR
35912014-01-22 Martin Rudalics <rudalics@gmx.at>
3592
3593 Fixes in window size functions around Bug#16430 and Bug#16470.
29afcbab
SM
3594 * window.el (window-total-size, window-size): New argument ROUND.
3595 (window--min-delta-1, window-min-delta, window--max-delta-1):
3596 Be more conservative when calculating the numbers of lines or
6cb4da45
MR
3597 columns a window can shrink (Bug#16430).
3598 (fit-window-to-buffer): Simplify code.
3599 * term.el (term-window-width): Call window-body-width again.
3600
cc0f2ece
GM
36012014-01-22 Glenn Morris <rgm@gnu.org>
3602
7b997b14
GM
3603 * image.el (image-format-suffixes): Doc fix.
3604
44e76f9d
GM
3605 * international/quail.el (quail-define-package): Doc fix.
3606
35e951cd 3607 * emacs-lisp/authors.el (authors-valid-file-names)
73c1c6d7 3608 (authors-renamed-files-alist): Additions.
7bfc1caa 3609
85a5f61f
GM
3610 * vc/vc-git.el (vc-git-print-log): Remove --follow;
3611 reverts 2014-01-09 change. (Bug#16422)
3612
cc0f2ece
GM
3613 * calc/calc-embed.el (thing-at-point-looking-at):
3614 * emacs-lisp/map-ynp.el (x-popup-dialog):
3615 * obsolete/lmenu.el (x-popup-dialog):
3616 * emacs-lisp/package.el (url-recreate-url):
3617 * mail/mailclient.el (clipboard-kill-ring-save):
3618 * subr.el (x-popup-dialog): Update declaration.
3619 * mail/rmail.el (rmail-mime-message-p):
3620 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
3621
00d2a6bb
DC
36222014-01-21 Daniel Colascione <dancol@dancol.org>
3623
3624 * progmodes/sh-script.el (sh--inside-noncommand-expression):
3625 Correctly detect when we're inside an arithmetic expansion form
3626 containing nested parenthesis.
c295fc18 3627 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
00d2a6bb
DC
3628 to detect cases where we shouldn't expand "<<" to a heredoc
3629 skeleton.
3630
dd9d2e9d
SM
36312014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
3632
3633 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
3634 (eldoc--message-command-p): New function.
3635 (eldoc-display-message-p): Use it.
3636 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
3637 message is not automatically erased for us.
3638 (eldoc-print-current-symbol-info): Erase previous message, if any.
3639
e7d807ca
TH
36402014-01-21 Tassilo Horn <tsdh@gnu.org>
3641
4ff0a0e5
TH
3642 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
3643 specify it's an interactive function.
3644
dd9d2e9d
SM
3645 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
3646 Fix regex used for scanning for citation keys which failed for
e7d807ca
TH
3647 citations with optional arguments.
3648
87503791
LL
36492014-01-21 Leo Liu <sdl.web@gmail.com>
3650
3651 * simple.el (read--expression): Don't enable eldoc-mode.
3652
6cc750ee
SM
36532014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
3654
3655 * simple.el (move-beginning-of-line): Make sure we don't move forward
3656 (bug#16497).
3657
71f16bda
JL
36582014-01-20 Juri Linkov <juri@jurta.org>
3659
3660 * saveplace.el (toggle-save-place, save-place-to-alist)
3661 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
3662 'dired-mode) before checking for dired-directory. (Bug#16477)
3663
3c5a4839
JL
36642014-01-20 Juri Linkov <juri@jurta.org>
3665
3666 * indent.el (indent-line-to): Use backward-to-indentation
3667 instead of back-to-indentation. (Bug#16461)
3668
f952002e
PE
36692014-01-20 Paul Eggert <eggert@cs.ucla.edu>
3670
3671 Revert some of the CANNOT_DUMP fix (Bug#16494).
3672 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
3673 but fixing this can wait until after the next release.
3674 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
3675
93675500
MA
36762014-01-19 Michael Albinus <michael.albinus@gmx.de>
3677
3678 * eshell/esh-mode.el (eshell-password-prompt-regexp):
3679 Use `password-word-equivalents'.
3680 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
3681 to t. (Bug#5664, Bug#13124)
3682
e3af763f
AM
36832014-01-19 Alan Mackenzie <acm@muc.de>
3684
3685 Bind open-paren-in-column-0-is-defun-start to nil at some entry
3686 points.
3687 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
3fcfc4ee 3688 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
e3af763f
AM
3689 * progmodes/cc-mode.el (c-before-change, c-after-change)
3690 (c-font-lock-fontify-region): Bind it here.
3691
4ff6d92d
MR
36922014-01-19 Martin Rudalics <rudalics@gmx.at>
3693
3694 * term.el (term-window-width): Call window-text-width instead of
3695 window-width (Bug#16470).
3696
9a685cf6
PE
36972014-01-18 Paul Eggert <eggert@cs.ucla.edu>
3698
3699 * simple.el (password-word-equivalents): Remove duplicates.
3700 Sort, to make this easier next time.
3701 Downcase. Omit ": " after "jelszó".
3702
5aa78c2d
JD
37032014-01-18 Jan Djärv <jan.h.d@swipnet.se>
3704
3705 * term/common-win.el (saved-region-selection): Defvar it.
3706 (x-select-text): Set saved-region-selection (Bug#16382).
3707
cabb250c
GM
37082014-01-18 Glenn Morris <rgm@gnu.org>
3709
3710 * emacs-lisp/authors.el (authors-aliases)
3711 (authors-renamed-files-alist): Add some entries.
3712
a1340440
MA
37132014-01-17 Michael Albinus <michael.albinus@gmx.de>
3714
93675500
MA
3715 * net/tramp.el (tramp-password-prompt-regexp):
3716 Use `password-word-equivalents' if available.
a1340440
MA
3717 (tramp-action-password, tramp-process-one-action)
3718 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
3719
681ce5d2
CY
37202014-01-17 Chong Yidong <cyd@gnu.org>
3721
3722 * simple.el (password-word-equivalents): New defcustom.
3723 * comint.el (comint-password-prompt-regexp): Use it. Bump version
3724 to 24.4.
3725 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
3726 to t. (Bug#13124)
3727
fb3d479c
DG
37282014-01-17 Dmitry Gutov <dgutov@yandex.ru>
3729
3730 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
dd9d2e9d
SM
3731 (ruby-align-to-stmt-keywords): Change the default value.
3732 Use `ruby-alignable-keywords' to generate the possible customization
fb3d479c
DG
3733 choices.
3734 (ruby-smie-rules): Instead of using a hardcoded list of alignable
3735 keywords, check against the value of `ruby-alignable-keywords'
3736 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
3737
0d613483
GM
37382014-01-17 Glenn Morris <rgm@gnu.org>
3739
fc23fe2d
GM
3740 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
3741
0d613483 3742 Make M-x authors return zero *Authors Errors* from current logs.
35e951cd 3743 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
0d613483
GM
3744 (authors-ignored-files): Add some entries, remove others.
3745 (authors-ambiguous-files, authors-valid-file-names):
3746 Add some entries.
3747 (authors-renamed-files-alist): Add, remove, and adjust entries.
3748 (authors-renamed-files-regexps): Add some entries.
3749 Remove some very broad ones. Make some entries `lax'.
3750 (authors-lax-changelogs): New constant.
3751 (authors-disambiguate-file-name): Treat top-level specially.
3752 (authors-lax-changelog-p): New function.
3753 (authors-canonical-file-name): Check file as written against
3754 authors-valid-file-names. Do not special-case etc/.
3755 Handle `lax' logs and authors-renamed-files-regexps elements.
3756
2dbf4ffd
DG
37572014-01-16 Dmitry Gutov <dgutov@yandex.ru>
3758
3759 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
39903fd1
DG
3760 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
3761 callers.
2dbf4ffd 3762
87b2a7f2
SM
37632014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3764
3765 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
3766 Assume we're already in the proper buffer.
3767 Inspired by Anders Lindgren <andlind@gmail.com>.
3768 (follow-post-command-hook): Call it from the right buffer.
3769 (follow-comint-scroll-to-bottom): Adjust call.
3770 (follow-all-followers): Use get-buffer-window-list.
3771
93acfb0e
DC
37722014-01-15 Daniel Colascione <dancol@dancol.org>
3773
3774 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
3775 `buffer-file-name' in interactive-form so that we don't leave
3776 pathless file names in `file-name-history'.
3777
ccc6b208
JL
37782014-01-15 Juri Linkov <juri@jurta.org>
3779
3780 * indent.el (indent-rigidly): Set deactivate-mark to nil
3781 in transient indentation mode. (Bug#16438)
3782
5c92e00d
DG
37832014-01-15 Dmitry Gutov <dgutov@yandex.ru>
3784
3785 * emacs-lisp/package.el (package-desc-keywords): New function
3786 (Bug#16222).
3787 (describe-package-1, package-all-keywords)
3788 (package--has-keyword-p): Use it.
3789
dac69660
NR
37902014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3791
3792 * simple.el (define-alternatives): When creating the
3793 COMMAND-alternatives variable, assign COMMAND as its definition
3794 name so that `describe-variable' can relocate it.
3795
8b63edf8
ML
37962014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
3797
3798 * font-lock.el (font-lock-keywords): Fix typo in docstring
3799 (bug#16307).
3800
c6a0b8eb
AM
38012014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3802
3803 * ispell.el (ispell-region): Reset `in-comment' for new line
3804 instead of wrongly reset `add-coment' (bug#13577).
3805
02bf443d
DU
38062014-01-14 Daiki Ueno <ueno@gnu.org>
3807
3808 * epa-file.el (epa-file-write-region): Encode the region according
3809 to `buffer-file-format'. Problem reported at:
3810 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
3811
fd7fde15
SM
38122014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
3813
3814 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
3815 so it applies in the right buffer (bug#16410).
3816
c176054f
DC
38172014-01-13 Daniel Colascione <dancol@dancol.org>
3818
3819 * textmodes/rst.el (rst-define-key): Provide deprecated
3820 keybindings through named functions instead of anonymous ones so
3821 that "??" doesn't appear in describe-mode output.
3822
e3f33e5d
BG
38232014-01-13 Bastien Guerry <bzg@gnu.org>
3824
3825 * simple.el (define-alternatives): Call the selected command
3826 interactively. When setting `COMMAND--implementation' for the
3827 first time, tell the user how to chose another implementation.
3828 Enhance the docstring.
3829
c055d654
SM
38302014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3831
3832 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
3833 (log-edit--match-first-line): New function.
3834 (log-edit-font-lock-keywords): Use it.
3835 (log-edit-mode): Make jit-lock-defer-multiline work.
3836
d791cc3b
BG
38372014-01-13 Bastien Guerry <bzg@gnu.org>
3838
3839 * rect.el (rectangle-mark-mode): When the region is not active,
3840 display a message saying that the mark as been set and that
3841 rectangle mode is in use.
3842 (rectangle--highlight-for-redisplay): Only put an overlay with a
3843 visible vertical bar when (display-graphic-p) is non-nil.
3844 This partially fixes Bug#16403.
3845
3c0c4562
JL
38462014-01-13 Juri Linkov <juri@jurta.org>
3847
3848 * info.el (Info-find-file): Go to DIR before displaying the error
3849 about a nonexistent file if no previous Info file is visited.
3850 Use `user-error' instead of `error' for "Info file %s does not exist".
3851 (Info-find-node-2): In case of a nonexistent node in unwind forms
3852 go to the Top node if there is no previous node to revert to.
3853 (Bug#16405)
3854
25a700d0
MR
38552014-01-13 Martin Rudalics <rudalics@gmx.at>
3856
3857 fit-frame/window-to-buffer code fixes including one for Bug#14096.
c055d654
SM
3858 * window.el (fit-frame-to-buffer): Fix doc-string.
3859 Respect window-min-height/-width. Fit pixelwise when
25a700d0
MR
3860 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
3861 when avoiding that frame goes partially off-screen.
3862 (fit-window-to-buffer): Respect window-min-height/-width
3863 (Bug#14096).
3864
6ae948d8
SM
38652014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3866
3867 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
3868 after an empty line.
3869
6137cb82
SM
38702014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
3871
3872 * net/shr.el (shr-render-region): Autoload.
3873
e6344e17
XF
38742014-01-12 Xue Fuqiao <xfq.free@gmail.com>
3875
3876 * net/eww.el (eww-download-directory): Rename from
3877 `eww-download-path' (Bug#16419).
3878
3b922c70
LL
38792014-01-12 Leo Liu <sdl.web@gmail.com>
3880
3881 * dired-x.el (dired-mode-map): Fix last change.
3882
3883 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
3884
4fa51741
PE
38852014-01-12 Paul Eggert <eggert@cs.ucla.edu>
3886
3887 Spelling fixes.
3888 * emacs-lisp/generic.el (generic--normalize-comments):
3889 Rename from generic--normalise-comments. All uses changed.
35e951cd 3890 * play/bubbles.el (bubbles--neighborhood-score)
4fa51741
PE
3891 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
3892 (bubbles--neighborhood-available)
3893 (bubbles--update-neighborhood-score):
3894 Rename from names with 'neighbourhood'. All uses changed.
3895
9b335362
LL
38962014-01-12 Leo Liu <sdl.web@gmail.com>
3897
3898 Re-implement the feature of showing eldoc info after editing.
3899 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
3900 (eldoc-edit-message-commands): New function.
3901 (eldoc-print-after-edit): New variable.
3902 (eldoc-pre-command-refresh-echo-area): Emit message only by
3903 eldoc-message-commands.
3904 (eldoc-mode): Restrict eldoc-message-commands to editing commands
3905 if eldoc-print-after-edit is set. (Bug#16346)
79b61bcc 3906 * simple.el (read--expression): Enable eldoc-mode.
6137cb82 3907 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
9b335362 3908
e2a095b1
GM
39092014-01-11 Dani Moncayo <dmoncayo@gmail.com>
3910 Eric S. Raymond <esr@thyrsus.com>
9685190b 3911
841a6d0c 3912 * version.el (emacs-repository-get-version): Enhance so the
6137cb82 3913 function works correctly in either a Bazaar or Git repo.
0abf4134 3914
e2a095b1
GM
39152014-01-11 Eric S. Raymond <esr@thyrsus.com>
3916
6137cb82
SM
3917 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
3918 Goes with removal of the joke manpages from /etc.
9685190b 3919
c295fc18 39202014-01-10 Kenichi Handa <handa@gnu.org>
3923e7bd 3921
6137cb82
SM
3922 * mail/rmail.el (rmail-get-coding-system):
3923 Check rmail-get-coding-function before "funcall"ing it.
3923e7bd 3924
d2f16e93
GM
39252014-01-10 Glenn Morris <rgm@gnu.org>
3926
3927 * emacs-lisp/authors.el (authors-fixed-entries):
3928 Update for files that no longer exist.
3929
7e03bb32
ER
39302014-01-10 Eric S. Raymond <esr@thyrsus.com>
3931
3932 * version.el (emacs-bzr-get-version): Restore compatibilty with
d2f16e93 3933 24.3 (Tested).
7e03bb32 3934
dd806710
BB
39352014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
3936
3937 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
3938 and Podfile.
3939
ed6ec139
EZ
39402014-01-10 Eli Zaretskii <eliz@gnu.org>
3941
3942 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
3943
cc33cac9
CY
39442014-01-10 Chong Yidong <cyd@gnu.org>
3945
6137cb82 3946 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
cc33cac9 3947
d9d836b5
AL
39482014-01-10 Anders Lindgren <andlind@gmail.com>
3949
3950 * follow.el (follow-cache-command-list): Include right-char and
3951 left-char.
3952
06827ec8
PE
39532014-01-10 Paul Eggert <eggert@cs.ucla.edu>
3954
3955 Spelling fixes.
3956 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
3957 * woman.el (woman-mark-horizontal-position):
3958 Rename from woman-mark-horizonal-position. Use changed.
3959
458dbf5e
GM
39602014-01-10 Glenn Morris <rgm@gnu.org>
3961
dad6fae7
GM
3962 * info.el (info-initialize): If running uninstalled, ensure our
3963 own info files are always found first, even if INFOPATH is set.
3964
458dbf5e
GM
3965 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
3966
05e0afce
DE
39672014-01-09 David Engster <deng@randomsample.de>
3968
3969 * emacs-lisp/eieio-custom.el:
3970 * emacs-lisp/eieio-opt.el: Set generated autoload file to
3971 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
3972 * emacs-lisp/eieio.el: Regenerate autoloads.
3973
f29778b3
ER
39742014-01-09 Eric S. Raymond <esr@thyrsus.com>
3975
3976 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
fb14cb48 3977 following renames. (Bug#8756)
f29778b3 3978
684d44ef
SM
39792014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
3980
3981 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
3982 (bug#16382).
3983 (activate-mark): Add `no-tmm' argument.
3984 (set-mark, push-mark-command): Use it instead of running
3985 activate-mark-hook by hand.
3986
9475054f
ER
39872014-01-08 Eric S. Raymond <esr@thyrsus.com>
3988
3989 In preparation for the move to git, sanitize out some
3990 Bazaar-specific names.
3991
38942b9c
GM
3992 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
3993
9475054f 3994 * version.el (emacs-bzr-version): Name changed to
689c9ca5 3995 emacs-repository-version. Obsolete-variable alias made.
9475054f 3996 * loadup.el: Follow through on this name change.
a12bf61e 3997 * mail/emacsbug.el (report-emacs-bug): Factor out any
9475054f
ER
3998 assumption about the version control system in use.
3999
0f918d96 40002014-01-08 David Engster <deng@randomsample.de>
abb82152 4001
684d44ef
SM
4002 * help-fns.el (help-fns-describe-function-functions):
4003 New variable to call functions for augmenting help buffers.
abb82152
DE
4004 (describe-function-1): Remove explicit calls to
4005 `help-fns--compiler-macro', `help-fns--parent-mode' and
0f918d96
DE
4006 `help-fns--obsolete'. Put them in above new variable instead, and
4007 call them through `run-hook-with-args'.
4008 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
4009 `eieio-describe-class'. Not meant for interactive use anymore,
4010 but to augment existing help buffers. Remove optional second
684d44ef
SM
4011 argument. Create proper button for file location.
4012 Rewrite function to use `insert' instead of `princ' and `prin1' where
0f918d96
DE
4013 possible.
4014 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
4015 (eieio-method-def, eieio-class-def): Move further up.
684d44ef
SM
4016 (describe-method, describe-generic, eieio-describe-method):
4017 Remove aliases.
0f918d96
DE
4018 (eieio-help-constructor, eieio-help-generic): Rename from
4019 `eieio-describe-constructor' and `eieio-describe-generic', resp.
4020 Rewrite to use `insert' in the current buffer and use proper help
4021 buttons.
4022 (eieio-help-find-method-definition)
4023 (eieio-help-find-class-definition): Also accept symbols as
4024 arguments.
4025 (eieio-help-mode-augmentation-maybee): Remove.
4026 (eieio-describe-class-sb): Use `describe-function'.
684d44ef
SM
4027 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
4028 Add `eieio-help-generic' and `eieio-help-constructor'.
abb82152 4029
136b74c5
PE
40302014-01-08 Paul Eggert <eggert@cs.ucla.edu>
4031
4032 Spelling fixes.
4033 * language/china-util.el (hz-ascii-designation):
4034 Rename from hz-ascii-designnation.
4035 (hz-ascii-designation): Rename from hz-ascii-designnation.
4036 All uses changed.
4037
ec6c7de2
SM
40382014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4039
4040 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
4041 package-alist.
4042
d6262c7c
BG
40432014-01-08 Bastien Guerry <bzg@gnu.org>
4044
4b9e6087
GM
4045 * emacs-lisp/package.el (package-delete):
4046 Correctly delete the package from package-alist.
d6262c7c 4047
0a3eec32
DU
40482014-01-08 Daiki Ueno <ueno@gnu.org>
4049
4050 * emacs-lisp/package.el (url-recreate-url): Declare.
4051 (url-http-target-url): Declare.
4b9e6087 4052 (package-handle-response): Include requested URL in the error message.
0a3eec32
DU
4053 (package--check-signature): Don't re-signal errors from
4054 package--with-work-buffer. Suggested by Stefan Monnier.
4055
68f0bb97
BG
40562014-01-07 Bastien Guerry <bzg@gnu.org>
4057
4058 * minibuffer.el (completion--try-word-completion): When both a
4059 hyphen and a space are possible candidates for the character
4060 following a word, display both candidates. (Bug#15980)
4061
7e1899d7
MR
40622014-01-07 Martin Rudalics <rudalics@gmx.at>
4063
4064 * window.el (balance-windows-2): While rounding don't give a
c295fc18 4065 window more than the remainder. Bug#16351, bug#16383.
7e1899d7 4066
0030ec15
GM
40672014-01-07 Glenn Morris <rgm@gnu.org>
4068
4069 * menu-bar.el (menu-bar-help-extra-packages): Remove.
4070 (menu-bar-help-menu): Use view-external-packages instead.
4071
2b6b4f20
BG
40722014-01-07 Bastien Guerry <bzg@gnu.org>
4073
4074 * emacs-lisp/package.el (package-delete): Also delete the package
4075 name from `package-alist', not its description only.
4076
e9be0a13
GM
40772014-01-07 Glenn Morris <rgm@gnu.org>
4078
4079 * help.el (view-external-packages):
4080 * menu-bar.el (menu-bar-help-extra-packages):
4081 Visit efaq.info rather than etc/MORE.STUFF.
4082
e4f74da9
JL
40832014-01-07 Juri Linkov <juri@jurta.org>
4084
4085 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
4086 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
4087
4088 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
4089 that shadows RET. (Bug#16342)
4090
de7ce2d1
CY
40912014-01-07 Chong Yidong <cyd@gnu.org>
4092
4093 * isearch.el (isearch-yank-char, isearch-yank-word)
4094 (isearch-yank-line): Doc fix.
4095
6bdd9204
SM
40962014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4097
4098 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
4099 * emacs-lisp/elint.el (elint-find-builtins):
4100 * emacs-lisp/eldoc.el (eldoc-symbol-function):
4101 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
4102 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
4103 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4104 * apropos.el (apropos-safe-documentation):
4105 * subr.el (symbol-file): Remove redundant fboundp.
4106 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
4107
daccca97
BG
41082014-01-06 Bastien Guerry <bzg@gnu.org>
4109
4110 * hl-line.el (global-hl-line-overlay): Make a local variable.
4111 (global-hl-line-overlays): New variable to store all overlays.
4112 (global-hl-line-mode): Don't delete overlays from the current
4113 buffer when `global-hl-line-sticky-flag' is non-nil.
4114 (global-hl-line-highlight): Add new overlays to
4115 `global-hl-line-overlays'.
4116 (global-hl-line-unhighlight-all): New function to delete all
4117 overlays when turning off `global-hl-line-mode'.
4118 This fixes Bug#16183.
4119
ec00f20f
SM
41202014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4121
4122 * subr.el (set-transient-map): Fix nested case and docstring.
4123
a0031f97
TH
41242014-01-06 Tassilo Horn <tsdh@gnu.org>
4125
4126 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
4127 `Texinfo' entry.
4128
bf6a77f3
DC
41292014-01-06 Daniel Colascione <dancol@dancol.org>
4130
4131 Fix defun navigation in vc log view.
4132
4133 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
4134 like `beginning-of-defun'.
c295fc18 4135 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
ec00f20f
SM
4136 log-view-end-of-defun to log-view-end-of-defun-1. Replace
4137 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
bf6a77f3 4138 (log-view-extract-comment): Call `log-view-current-entry' directly
ec00f20f 4139 instead of relying on broken `log-view-beginning-of-defun' behavior.
bf6a77f3 4140
d5081c1e
PE
41412014-01-06 Paul Eggert <eggert@cs.ucla.edu>
4142
4143 Spelling fixes.
4144 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
4145 * emacs-lisp/debug.el (cancel-debug-on-entry):
4146 * epg.el (epg-error-to-string):
4147 * files.el (recover-file):
4148 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
4149 * mail/emacsbug.el (report-emacs-bug-hook):
4150 * mail/sendmail.el (mail-recover):
4151 * ses.el (ses-yank-resize):
4152 * term/ns-win.el (ns-print-buffer):
4153 Spelling fixes in diagnostics, mostly for "canceled" with one L.
4154 * epg.el (epg-key-capability-alist): Rename from misspelled version.
4155 All uses changed.
4156 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
4157
53f6b148
LL
41582014-01-06 Leo Liu <sdl.web@gmail.com>
4159
4160 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
3b922c70 4161 to avoid shadowing global key. (Bug#16354)
53f6b148 4162
b82ace2f
DC
41632014-01-06 Daniel Colascione <dancol@dancol.org>
4164
4165 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
4166 rst-mode.
4167
3669b636
MR
41682014-01-05 Martin Rudalics <rudalics@gmx.at>
4169
4170 * window.el (balance-windows): Add mising t to fix Bug#16351.
4171
1a29adc2
LMI
41722014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4173
4174 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
4175 (bug#16285).
3d95a0f4
LMI
4176 (shr-insert): If we have a word that's longer than `shr-width',
4177 break after it anyway. Otherwise we'll do no breaking once we get
4178 such a long word.
1a29adc2 4179
f4018140
KN
41802014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4181
3fcfc4ee 4182 * net/eww.el (eww): Support single/double quote for search.
c295fc18 4183 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
189340f5
KN
4184 (eww-history-quit): Delete and use quit-window.
4185 (eww-history-kill): Delete, because it doesn't work well and
4186 not necessary.
4187 (eww-history-mode-map): Delete some keys and add easy-menu.
f4018140 4188
4e619754
PE
41892014-01-05 Paul Eggert <eggert@cs.ucla.edu>
4190
73dbf960
PE
4191 Fix misspelling of 'chinese' in rx (Bug#16237).
4192 * emacs-lisp/rx.el (rx-categories): Correct spelling of
4193 chinese-two-byte.
4194
4e619754
PE
4195 Change subword regexps back to vars (Bug#16296).
4196 * progmodes/subword.el (subword-forward-regexp)
4197 (subword-backward-regexp): Change these back to variables.
4198
e18b70fc
SM
41992014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
4200
4201 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
4202 syntax-begin-function (bug#16247).
4203
0d53f628
CY
42042014-01-03 Chong Yidong <cyd@gnu.org>
4205
4206 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
4207 (advice--docstring): Delete variable.
4208 (advice--make-1): Leave the docstring empty.
4209 (advice-add): Use function-documentation for advised docstring.
4210
4211 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
4212 Ignore function-documentation property when getting documentation.
4213 (ad-activate-advised-definition): Use function-documentation
4214 generate the docstring.
4215 (ad-make-advised-definition): Don't call
4216 ad-make-advised-definition-docstring.
4217 (ad-make-advised-definition-docstring, ad-advised-definition-p):
4218 Delete functions.
4219
4220 * progmodes/sql.el (sql-help): Use function-documentation instead
4221 of dynamic-docstring-function property. No need to autoload now.
4222 (sql--help-docstring): New variable.
4223 (sql--make-help-docstring): Use it.
4224
6f547583
SM
42252014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
4226
6ef9aed8
SM
4227 * ielm.el (ielm-tab): Retarget.
4228 (ielm-map): Use ielm-tab for tab.
4229 (ielm-complete-filename): Use comint-filename-completion.
4230 (ielm-complete-symbol): Remove.
4231 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
4232 remove ielm-tab from completion-at-point-functions (bug#16224).
4233
6f547583
SM
4234 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
4235 Beware signals raised by predicates (bug#16201).
4236
a574edbe
RS
42372014-01-02 Richard Stallman <rms@gnu.org>
4238
e831604d
RS
4239 * dired-aux.el (dired-do-print): Handle printer-name.
4240
6f547583
SM
4241 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
4242 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
a574edbe
RS
4243 (rmail-epa-decrypt): Turn off mime processing.
4244
3fcfc4ee 4245 * mail/rmail.el (rmail-make-in-reply-to-field):
a574edbe
RS
4246 Add parens in message-id.
4247
4248 * mail/rmail.el (rmail-get-coding-function): Variable.
4249 (rmail-get-coding-system): Use it.
4250
04311a16
KH
42512013-12-31 Eli Zaretskii <eliz@gnu.org>
4252
4253 * international/mule-conf.el: Unify the charset indian-is13194.
4254 (indian-is13194): Specify unify-map.
4255
c8d89778
LL
42562013-12-31 Leo Liu <sdl.web@gmail.com>
4257
4258 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
4259
e63ace37
DC
42602013-12-30 Daniel Colascione <dancol@dancol.org>
4261
9e0bf19a
DC
4262 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
4263 of printing a useless when we resume from sleep.
4264
e63ace37 4265 * progmodes/sh-script.el
c295fc18 4266 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
e63ace37
DC
4267 in indentation code. (Bug#16233)
4268
e9d6c46a
JT
42692013-12-28 João Távora <joaotavora@gmail.com>
4270
6f547583
SM
4271 * elec-pair.el (electric-pair-post-self-insert-function):
4272 Don't open extra newlines at beginning of buffer. (Bug#16272)
e9d6c46a 4273
bf7bea5d
EZ
42742013-12-28 Eli Zaretskii <eliz@gnu.org>
4275
4276 * frame.el (window-system-for-display): Don't allow to create a
4277 GUI frame from a -nw session on MS-Windows. (Bug#14739)
4278
8449dd1f
GM
42792013-12-28 Glenn Morris <rgm@gnu.org>
4280
9c5a5c77
GM
4281 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
4282 Update callers.
4283
4284 * apropos.el (apropos-match-face):
4285 * calculator.el (calculator-displayer):
4286 * dabbrev.el (dabbrev-search-these-buffers-only):
4287 * face-remap.el (buffer-face-mode-face):
4288 * simple.el (yank-handled-properties):
4289 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
4290 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
4291 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
4292 (hashcash-double-spend-database):
4293 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
4294 (ruby-deep-indent-paren-style):
4295 * textmodes/flyspell.el (flyspell-auto-correct-binding):
4296 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
4297 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
4298 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
4299 Specify custom types.
4300
bb098075
GM
4301 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
4302 * bookmark.el (bookmark-bmenu-use-header-line):
4303 * doc-view.el (doc-view-scale-internally):
4304 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
4305 * register.el (register-preview-delay):
4306 * net/shr.el (shr-bullet):
4307 * progmodes/cfengine.el (cfengine-cf-promises)
4308 (cfengine-parameters-indent):
4309 * progmodes/octave.el (inferior-octave-error-regexp-alist):
4310 * textmodes/reftex-vars.el (reftex-label-regexps):
4311 * vc/log-edit.el (log-edit-setup-add-author): Add version.
4312
9c61f806
GM
4313 * net/tls.el (tls-certtool-program): Fix default value.
4314
4315 * desktop.el (desktop-restore-in-current-display):
4316 * newcomment.el (comment-empty-lines):
4317 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
4318 (idlwave-pad-keyword):
4319 * progmodes/tcl.el (tcl-tab-always-indent):
4320 * textmodes/reftex-vars.el (reftex-index-default-tag):
4321 * elec-pair.el (electric-pair-skip-whitespace):
4322 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
4323
8449dd1f
GM
4324 * emacs-lisp/authors.el (authors-ignored-files)
4325 (authors-valid-file-names, authors-renamed-files-alist): Additions.
4326
fdadeb49
JC
43272013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
4328
72140a0f
GM
4329 * shell.el (shell-dynamic-complete-command): Doc fix.
4330 (shell--command-completion-data): Shell completion now matches
4331 executable filenames from the current buffer's directory, on
da5ecfa9 4332 systems in which this behavior is the default (windows-nt, ms-dos).
fdadeb49 4333
e572a7d8
LI
43342013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4335
4336 * net/shr.el (shr-insert): Don't infloop if the width is zero.
4337
7514d3f8
SM
43382013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
4339
a4151f3b
SM
4340 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
4341 (bug#16251).
4342
7514d3f8
SM
4343 * electric.el: Move all electric-pair-* to elec-pair.el.
4344 * elec-pair.el: New file, split from electric.el.
4345
ac5758d1
LI
43462013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4347
4348 * net/shr.el (shr-find-fill-point): Don't try to fill if the
4349 indentation level is larger than the width, because that will
4350 infloop.
4351 (shr-insert): Fill repeatedly long texts, so that Japanese is
4352 formatted correctly (bug#16263).
24a6b65e
LI
4353 (shr-find-fill-point): Off by one error in comparison with the
4354 indentation.
ac5758d1 4355
7514d3f8 43562013-12-26 João Távora <joaotavora@gmail.com>
3b8d5131
JT
4357
4358 * electric.el (electric-pair-mode): More flexible engine for skip-
7514d3f8 4359 and inhibit predicates, new options for pairing-related functionality.
3b8d5131
JT
4360 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
4361 if that keeps or improves their balance in buffers.
4362 (electric-pair-delete-adjacent-pairs): Delete the pair when
4363 backspacing over adjacent matched delimiters.
4364 (electric-pair-open-extra-newline): Open extra newline when
4365 inserting newlines between adjacent matched delimiters.
7514d3f8
SM
4366 (electric--sort-post-self-insertion-hook):
4367 Sort post-self-insert-hook according to priority values when
3b8d5131
JT
4368 minor-modes are activated.
4369 * simple.el (newline-and-indent): Call newline with interactive
4370 set to t.
4371 (blink-paren-post-self-insert-function): Set priority to 100.
7514d3f8
SM
4372 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4373 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
4374 comments. Locally set electric-pair-skip-whitespace to 'chomp and
3b8d5131
JT
4375 electric-pair-open-newline-between-pairs to nil.
4376
fbcc63a3
FEG
43772013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
4378
4379 * progmodes/python.el: Use lexical-binding.
4380 (python-nav-beginning-of-defun): Stop searching ASAP.
4381
ed78d16c
XF
43822013-12-25 Xue Fuqiao <xfq.free@gmail.com>
4383
4384 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
4385 Fix interactive spec. Doc fix. (Bug#15754)
4386
38b2c142
KY
43872013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
4388
4389 * emacs-lisp/byte-run.el (eval-when-compile):
55db967f 4390 * progmodes/cc-defs.el (cc-eval-when-compile):
38b2c142
KY
4391 Fix edebug spec (bug#16184).
4392
3c856c14
LI
43932013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4394
83fa295c 4395 * net/shr.el (shr-visit-file): Remove debugging function.
f7f071dc
LI
4396 (shr-insert): Don't infloop if we can't find a good place to break
4397 the line (bug#16256).
3c856c14 4398
01379221
FEG
43992013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
4400
35e951cd 4401 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
01379221
FEG
4402 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
4403 python-nav-lisp-forward-sexp-safe.
4404 (python-nav--forward-sexp): New argument SAFE allows switching
4405 forward sexp movement behavior for parens.
4406 (python-nav-forward-sexp): Throw errors on unterminated parens
4407 (Bug#16191).
4408 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
4409 (python-nav-backward-sexp-safe): New functions.
7514d3f8
SM
4410 (python-shell-buffer-substring):
4411 Use `python-nav-forward-sexp-safe'.
01379221 4412
99e4926f
LI
44132013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4414
4415 * net/shr.el (shr-find-fill-point): Don't break lines before a
4416 quotation mark.
c6c20584
LI
4417 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
4418 (shr-find-fill-point): Remove the special checks for the quotation
7514d3f8 4419 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
99e4926f 4420
fec0e828
KN
44212013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4422
4423 * net/eww.el (eww-form-textarea): Use a different face for
4424 textareas than text input since they have different keymaps
4425 (bug#16142).
4426
89c868ad
FEG
44272013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
4428
7514d3f8
SM
4429 * progmodes/python.el (python-nav-beginning-of-statement):
4430 Speed up (Bug#15295).
89c868ad 4431
eeef121a
LI
44322013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4433
4434 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
4435 the window configuration.
4436
121ea65f
EZ
44372013-12-24 Eli Zaretskii <eliz@gnu.org>
4438
4439 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
4440 we run on MS-Windows or MS-DOS.
4441
18cee9ec
MR
44422013-12-24 Martin Rudalics <rudalics@gmx.at>
4443
4444 * window.el (balance-windows-area): Call window-size instead of
4445 window-height and window-width. Bug#16241.
4446
58f2b9a5
LI
44472013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4448
4449 * net/eww.el (eww-bookmark-quit): Remove.
4450 (eww-bookmark-browse): Restore the window configuration when you
4451 choose a bookmark (bug#16144).
4452
d64b6308
DC
44532013-12-24 Daniel Colascione <dancol@dancol.org>
4454
4455 * icomplete.el: Remove redundant :group arguments to `defcustom'
4456 throughout.
4457 (icomplete-show-matches-on-no-input): New customizable variable.
4458 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
4459 we have something to show.
7514d3f8 4460 (icomplete-exhibit): Compute completions even if we have no user input.
d64b6308 4461
0da54898
DC
44622013-12-23 Daniel Colascione <dancol@dancol.org>
4463
4464 * icomplete.el: Move `provide' to end of file.
4465
b90aa4f4
TZ
44662013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
4467
4468 * net/gnutls.el (gnutls-verify-error): Add version tag.
4469
8cd22a08
CY
44702013-12-23 Chong Yidong <cyd@gnu.org>
4471
4472 * subr.el (set-transient-map): Rename from
4473 set-temporary-overlay-map. Doc fix.
4474
4475 * face-remap.el (text-scale-adjust):
4476 * indent.el (indent-rigidly):
4477 * kmacro.el (kmacro-call-macro):
4478 * minibuffer.el (minibuffer-force-complete):
4479 * repeat.el (repeat):
4480 * simple.el (universal-argument--mode):
4481 * calendar/todo-mode.el (todo-insert-item--next-param):
4482 * progmodes/f90.el (f90-abbrev-start): Callers changed.
4483
7510b021
CY
4484 * indent.el (indent-rigidly): Use substitute-command-keys.
4485
72140a0f 44862013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
56890ecd
KN
4487
4488 * net/eww.el (eww-tag-select): Add text-property to jump to next
4489 select field.
e9dc713d 4490 (eww): Add non-supported ftp error.
56890ecd 4491
1f87a56c
DG
44922013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4493
4494 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
4495 comments. Handle electric indent after typing `?' and `!'.
4496
dca38cf9
CY
44972013-12-22 Chong Yidong <cyd@gnu.org>
4498
4499 * faces.el (face-spec-recalc): If the theme specs are not
7514d3f8
SM
4500 applicable to a frame, fall back on the defface spec.
4501 This prevents themes from obliterating faces on low-color terminals.
dca38cf9 4502
f2351498
DG
45032013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4504
4505 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
4506 after `{'. We need it after block openers, and it doesn't seem
4507 to hurt after hash openers.
4508
6cddebc1
DG
45092013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4510
4511 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
4512 extracted from `ruby-smie-rules'.
4513 (ruby--electric-indent-chars): New variable.
4514 (ruby--electric-indent-p): New function.
4515 (ruby-mode): Use `electric-indent-functions' instead of
4516 `electric-indent-chars'.
4517
65a1da00
DG
45182013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4519
4520 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
4521 docstring.
4522 (ruby-smie-rules): Indent plus one level after `=>'.
4523
b51ad4cf
RS
45242013-12-21 Richard Stallman <rms@gnu.org>
4525
4526 * simple.el (newline): Doc fix.
4527
72140a0f 45282013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
d49fbfd6 4529
e9dc713d 4530 * net/eww.el (eww-list-histories, eww-list-histories)
d49fbfd6
TZ
4531 (eww-history-browse, eww-history-quit, eww-history-kill)
4532 (eww-history-mode-map, eww-history-mode): New command and
4533 functions to list browser histories.
e9dc713d
JB
4534 (eww-form-text): Support text form with disabled
4535 and readonly attributes.
4536 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
d49fbfd6 4537
5e1901c1
RS
45382013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4539
4540 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
4541 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
4542 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
4543 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
4544 Use `user-error'.
4545 (eww-bookmark-mode-map): Add menu.
4546 (eww-render, eww-mode): Use `setq-local'.
4547 (eww-tool-bar-map): New variable.
4548 (eww-mode): Set `tool-bar-map'.
4549 (eww-view-source): Check for `html-mode' with `fboundp'.
4550
073d5cfd
LMI
45512013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4552
4553 * net/shr.el (shr--extract-best-source): Don't bug out on audio
4554 elements with text inside. Also remove debugging.
4555
41cf3d11
JD
45562013-12-21 Jan Djärv <jan.h.d@swipnet.se>
4557
4558 * cus-start.el (all): Add ns-use-srgb-colorspace.
4559
aac2b673
CY
45602013-12-21 Chong Yidong <cyd@gnu.org>
4561
4562 * custom.el (custom-theme-recalc-face): Do nothing if the face is
4563 undefined. Thus, theme settings for undefined faces do not take
4564 effect until the faces are defined with defface, the same as with
4565 theme variables.
4566
4567 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
4568 (face-spec-reset-face): Don't assign extra properties in temacs.
4569 (face-spec-recalc): Apply X resources too.
4570
bacb0e77
CY
45712013-12-21 Chong Yidong <cyd@gnu.org>
4572
4573 * faces.el (face-spec-set):
4574 * cus-face.el (custom-theme-set-faces, custom-set-faces):
4575 * custom.el (defface): Doc fixes (Bug#16203).
4576
77221051
CY
4577 * indent.el (indent-rigidly-map): Add docstring, and move commands
4578 into named functions.
4579 (indent-rigidly-left, indent-rigidly-right)
4580 (indent-rigidly-left-to-tab-stop)
4581 (indent-rigidly-right-to-tab-stop): New functions. Decide on
4582 indentation direction based on bidi direction, and accumulate
4583 sequential commands in a single undo boundary.
4584 (indent-rigidly--pop-undo): New utility function.
4585
e0eb0550
JB
45862013-12-20 Juanma Barranquero <lekktu@gmail.com>
4587
4588 * faces.el (read-face-name): Require crm.el when using crm-separator.
4589
3282bd2e
DC
45902013-12-20 Daniel Colascione <dancol@dancol.org>
4591
4592 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
4593 so that we don't reflow comments into the shebang line.
4594
1d42e5b6
JL
45952013-12-20 Juri Linkov <juri@jurta.org>
4596
4597 * saveplace.el (save-place-to-alist): Add `dired-filename' as
4598 a position when `dired-directory' is non-nil. Check integer
4599 positions with `integerp'.
4600 (toggle-save-place, save-places-to-alist): Add check for
4601 `dired-directory'.
4602 (save-place-find-file-hook): Check integer positions with
4603 `integerp'.
4604 (save-place-dired-hook): Use `dired-goto-file' when
4605 `dired-filename' is found in the assoc list. Check integer
4606 positions with `integerp'.
4607 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
4608
4609 * dired.el (dired-initial-position-hook): Rename back from
4610 `dired-initial-point-hook'.
4611 (dired-initial-position): Rename `dired-initial-point-hook' to
4612 `dired-initial-position-hook'.
4613 (dired-file-name-at-point): Doc fix. (Bug#15329)
4614
24da7273
JL
46152013-12-20 Juri Linkov <juri@jurta.org>
4616
4617 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
4618 (read-regexp-suggestions): New function.
4619 (read-regexp): Use `read-regexp-defaults-function' to get default values.
4620 Use `read-regexp-suggestions'. Add non-empty default to history
4621 for empty input.
4622 (occur-read-regexp-defaults-function): Remove function.
4623 (occur-read-primary-args): Use `regexp-history-last' instead of
4624 `occur-read-regexp-defaults-function'.
4625
4626 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
4627 (hi-lock-line-face-buffer, hi-lock-face-buffer)
4628 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
4629 `hi-lock-read-regexp-defaults-function'. Doc fix.
4630 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
4631 with `find-tag-default-as-symbol-regexp'. Doc fix.
4632 (hi-lock-read-regexp-defaults): Remove function.
4633 (hi-lock-regexp-okay): Add check for null.
4634
4635 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
4636 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
4637
4638 * subr.el (find-tag-default-as-symbol-regexp): New function.
4639 (find-tag-default-as-regexp): Move symbol regexp formatting to
4640 `find-tag-default-as-symbol-regexp'.
4641
137f57c8
S
46422013-12-20 E Sabof <esabof@gmail.com> (tiny change)
4643
4644 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
4645 (Bug#14179)
4646
f3a66082
SB
46472013-12-20 Stephen Berman <stephen.berman@gmx.net>
4648
4649 * calendar/todo-mode.el: New implementation of item insertion
4650 commands and key bindings.
4651 (todo-key-prompt): New face.
4652 (todo-insert-item): New command.
4653 (todo-insert-item--parameters): New defconst, replacing defvar
4654 todo-insertion-commands-args-genlist.
4655 (todo-insert-item--param-key-alist): New defconst, replacing
4656 defvar todo-insertion-commands-arg-key-list.
4657 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
4658 (todo-insert-item--argsleft, todo-insert-item--apply-args)
4659 (todo-insert-item--next-param): New functions.
4660 (todo-insert-item--args, todo-insert-item--argleft)
4661 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
4662 New variables.
4663 (todo-key-bindings-t): Change binding of "i" from
4664 todo-insertion-map to todo-insert-item.
4665 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
4666 (todo-insertion-command-name, todo-insertion-commands-names)
4667 (todo-define-insertion-command, todo-insertion-commands)
4668 (todo-insertion-key-bindings, todo-insertion-map): Remove.
4669
2f99433b
SB
46702013-12-20 Stephen Berman <stephen.berman@gmx.net>
4671
4672 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
4673 (todo-toggle-item-highlighting): Use eval-and-compile instead of
4674 eval-when-compile.
4675 (todo-move-category): Allow choosing a non-existing todo file to
4676 move the category to, and create that file.
4677 (todo-default-priority): New user option.
4678 (todo-set-item-priority): Use it.
4679 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
4680 (desktop-restore-file-buffer): Declare.
4681 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
4682 (todo-modes-set-2): Locally set desktop-save-buffer to
4683 todo-desktop-save-buffer.
4684 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
4685 (auto-mode-alist): Add autoload cookie.
4686
131e4695
BB
46872013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
4688
4689 * emacs-lisp/subr-x.el: Renamed from helpers.el.
4690 helpers.el was a poor choice of name.
3cbfb935
BB
4691 (string-remove-prefix): New function.
4692 (string-remove-suffix): New function.
131e4695 4693
c44de18d
MR
46942013-12-20 Martin Rudalics <rudalics@gmx.at>
4695
4696 Fix assignment for new window total sizes.
4697 * window.el (window--pixel-to-size): Remove function.
e0eb0550
JB
4698 (window--pixel-to-total-1, window--pixel-to-total):
4699 Fix calculation of new total sizes.
c44de18d 4700
ca65efcc
VS
47012013-12-20 Vitalie Spinu <spinuvit@gmail.com>
4702
4703 * comint.el (comint-output-filter): Fix rear-nonsticky property
4704 placement (Bug#16010).
4705
a9574eb7
CY
47062013-12-20 Chong Yidong <cyd@gnu.org>
4707
4708 * faces.el (read-color): Minor fix for completion function.
4709
b520f210
DG
47102013-12-20 Dmitry Gutov <dgutov@yandex.ru>
4711
e0eb0550
JB
4712 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
4713 New option. (Bug#16182)
b520f210
DG
4714 (ruby-smie--indent-to-stmt-p): Use it.
4715 (ruby-smie-rules): Revert the logic in the handling of `when'.
4716 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
4717 (ruby-deep-arglist, ruby-deep-indent-paren)
4718 (ruby-deep-indent-paren-style): Update docstrings to note that the
4719 vars don't have any effect with SMIE.
4720
26b75b45
JB
47212013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
4722
4723 * calc/calc.el (calc-enter, calc-pop): Use the variable
4724 `calc-context-sensitive-enter'.
4725
cf91cee7
LMI
47262013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
4727
4728 * net/shr.el (shr-insert): Protect against infloops in degenerate
4729 tables.
4730
51d971b4
RS
47312013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4732
4733 * progmodes/octave.el (octave): Add link to manual and octave
4734 homepage.
4735 (octave-mode-menu): Link to octave-mode manual.
4736
8c2e462a
LL
47372013-12-20 Leo Liu <sdl.web@gmail.com>
4738
4739 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
4740 insertion using skeleton-end-newline. (Bug#16138)
4741
501158bc
JL
47422013-12-20 Juri Linkov <juri@jurta.org>
4743
4744 * replace.el (occur-engine): Use `add-face-text-property'
4745 to add the face property to matches and titles. (Bug#14645)
4746
4747 * hi-lock.el (hi-green): Use lighter color "light green" closer to
4748 the palette of other hi-lock colors.
4749 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
4750
50ab1da6
JL
47512013-12-19 Juri Linkov <juri@jurta.org>
4752
4753 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
4754 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
4755 (minibuffer-history-symbol): Move variable declaration closer to
4756 its usage.
4757
4758 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
4759 (Bug#14785)
4760
3d6e95e7
JL
47612013-12-19 Juri Linkov <juri@jurta.org>
4762
4763 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
4764 New function.
4765 (log-edit-hook): Add it to :options. (Bug#16170)
4766
b41594fd
JL
47672013-12-19 Juri Linkov <juri@jurta.org>
4768
4769 * simple.el (eval-expression-print-format): Don't check for
4770 command names and the last command. Always display additional
4771 formats of the integer result in the echo area, and insert them
4772 to the current buffer only with a zero prefix arg.
4773 Display character when char-displayable-p is non-nil.
4774 (eval-expression): With a zero prefix arg, set `print-length' and
4775 `print-level' to nil, and insert the integer values from
4776 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
4777
4778 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
4779 `eval-last-sexp-arg-internal'. Doc fix.
4780 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
4781 `eval-last-sexp-print-value'. Doc fix.
4782 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
4783 Set `print-length' and `print-level' to nil when arg is zero.
4784 (eval-last-sexp): Doc fix.
4785 (eval-defun-2): Print the integer values from
4786 `eval-expression-print-format' at the end.
4787
4788 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
4789 values from `eval-expression-print-format' at the end.
4790
4791 * ielm.el (ielm-eval-input): Print the integer
4792 values from `eval-expression-print-format' at the end.
4793
8f2be364
TZ
47942013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
4795
4796 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
4797 2013-12-11T19:01:44Z!tzz@lifelogs.com.
4798
2230a6e3
SM
47992013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
4800
4801 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
4802 (hl-line-highlight, global-hl-line-highlight): Use it.
4803 (hl-line-overlay): Use defvar-local.
4804
1269a680
JD
48052013-12-19 Jan Djärv <jan.h.d@swipnet.se>
4806
4807 * term/ns-win.el: Require dnd.
4808 (global-map): Remove drag items.
4809 (ns-insert-text, ns-set-foreground-at-mouse)
2230a6e3
SM
4810 (ns-set-background-at-mouse):
4811 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
4812 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
4813 New functions.
1269a680 4814
049638ad
GM
48152013-12-19 Glenn Morris <rgm@gnu.org>
4816
4817 * emacs-lisp/ert.el (ert-select-tests):
4818 Fix string/symbol mixup. (Bug#16121)
4819
ce41edb4
DG
48202013-12-19 Dmitry Gutov <dgutov@yandex.ru>
4821
4822 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
4823 keywords to their parent.
4824
7e1549c9
DG
48252013-12-19 Dmitry Gutov <dgutov@yandex.ru>
4826
4827 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
4828 first arg to be a string (fixed dead code), or an operator symbol.
4829 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
4830 operator symbols.
4831 (ruby-smie-rules): Remove parent token check in the `.' clause, it
4832 did nothing. Don't respond to `(:after ".")', it will be called
4833 with :before anyway. Remove the ` @ ' rule, it didn't seem to
4834 change anything. Only return indentation for binary operators
4835 when they are hanging. De-dent opening paren when its parent is
4836 `.', otherwise it looks bad when the dot is not at bol or eol
4837 (bug#16182).
4838
3ee4cd64
JL
48392013-12-19 Juri Linkov <juri@jurta.org>
4840
4841 * replace.el (query-replace-read-args): Split a non-negative arg
4842 and a negative arg into separate elements.
4843 (query-replace, query-replace-regexp, replace-string)
4844 (replace-regexp): Add arg `backward'. Doc fix.
4845 (replace-match-maybe-edit): When new arg `backward' is non-nil,
4846 move point to the beginning of the match.
4847 (replace-search, replace-highlight): Use new arg `backward'
4848 to set the value of `isearch-forward'.
4849 (perform-replace): Add arg `backward' and use it to perform
4850 replacement backward. (Bug#14979)
4851
4852 * isearch.el (isearch-query-replace): Use a negative prefix arg
4853 to call `perform-replace' with a non-nil arg `backward'.
4854
0cda6b7b
JL
48552013-12-18 Juri Linkov <juri@jurta.org>
4856
4857 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
4858 to the default list. Move `log-edit-show-files' to the end.
4859 Add more available functions to options.
4860 (log-edit): Move default specific settings to
4861 `log-edit-insert-message-template'. Don't move point.
4862 (log-edit-insert-message-template): New function.
4863 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
4864 (Bug#16170)
4865
b216f0a6
JL
48662013-12-18 Juri Linkov <juri@jurta.org>
4867
4868 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
4869 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
4870
1d1c55dc
LL
48712013-12-18 Leo Liu <sdl.web@gmail.com>
4872
e9dc713d
JB
4873 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
4874 (Bug#16186)
1d1c55dc 4875
64e4c76e
EZ
48762013-12-18 Eli Zaretskii <eliz@gnu.org>
4877
4878 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
4879 formats for displaying file sizes when the -s switch is given.
4880 Instead, compute a separate format for displaying the size in
4881 blocks, which is displayed in addition to the "regular" size.
4882 When -h is given in addition to -s, produce size in blocks in
4883 human-readable form as well. (Bug#16179)
4884
b2984e39
TH
48852013-12-18 Tassilo Horn <tsdh@gnu.org>
4886
2230a6e3
SM
4887 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
4888 Reference tables with ~\ref{...} instead of only \ref{...}.
b2984e39 4889
50ff2e06
CY
48902013-12-18 Chong Yidong <cyd@gnu.org>
4891
0081bc84
CY
4892 * cus-edit.el (custom-magic-alist): Fix "themed" description
4893 (Bug#14348).
4894
a7ee9424
CY
4895 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
4896 is non-nil, do not create a new entry in the symbol's theme-value
4897 or theme-face property; update theme-settings only (Bug#14664).
18874304 4898 (custom-available-themes): Doc fix.
a7ee9424 4899
8f942537
CY
4900 * cus-theme.el (custom-new-theme-mode-map): Add bindings
4901 (Bug#15674).
4902
50ff2e06
CY
4903 * replace.el (occur-engine): Avoid infloop (Bug#7593).
4904
83c60f60
KI
49052013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
4906
4907 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
4908 (Bug#13914).
4909
e0eb0550 49102013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
ba874b64
SF
4911
4912 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
4913
1f41ee56
GM
49142013-12-18 Glenn Morris <rgm@gnu.org>
4915
4916 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
123d0143 4917 * cus-start.el (load-prefer-newer): New option.
1f41ee56 4918
e82134b1
LW
49192013-12-18 Le Wang <l26wang@gmail.com>
4920
2230a6e3
SM
4921 * comint.el (comint-previous-matching-input-from-input):
4922 Retain point (Bug#13404).
e82134b1 4923
33f5d4c1
CY
49242013-12-18 Chong Yidong <cyd@gnu.org>
4925
4926 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
4927
ccc9f6dc
GM
49282013-12-18 Glenn Morris <rgm@gnu.org>
4929
4930 * mail/emacsbug.el (report-emacs-bug):
4931 Only mention enable-multibyte-characters if non-standard.
4932
33dd8e95
JL
49332013-12-17 Juri Linkov <juri@jurta.org>
4934
4935 * arc-mode.el (archive-extract-by-file): Check if directory exists
4936 before deletion to not show irrelevant errors if it doesn't exist.
4937
7a409b30
JL
49382013-12-17 Juri Linkov <juri@jurta.org>
4939
4940 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
4941 (Bug#14751)
4942
4943 * net/eww.el (browse-web): Add alias to `eww'.
4944 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
4945 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
4946
4947 * net/browse-url.el (browse-url-browser-function): Move `eww'
4948 closer to similar functions.
4949
4950 * startup.el (fancy-startup-screen, fancy-about-screen):
4951 Set browse-url-browser-function to eww-browse-url locally.
4952 (Bug#14751)
4953
2d6b6005
SM
49542013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
4955
4956 * window.el (window--pixel-to-total): Remove unused `mini' var.
4957 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
4958 (split-window): Remove unused `new' var.
4959 (window--display-buffer): Remove unused `frame' and `delta' vars.
4960 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
4961 and display-width'.
4962
cf2b7efc
MR
49632013-12-17 Martin Rudalics <rudalics@gmx.at>
4964
4965 * dired.el (dired-mark-pop-up):
4966 * register.el (register-preview): Don't bind
4967 split-height-threshold here since it's now done in
4968 display-buffer-below-selected.
4969
ed3af8a7 49702013-12-17 oblique <psyberbits@gmail.com> (tiny change)
4971
4972 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
4973 xterm-rgb-convert-to-16bit.
4974 (rxvt-register-default-colors): Standardize with
4975 xterm-register-default-colors (Bug#14078).
4976
76da3455
DK
49772013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
4978
4979 * simple.el (kill-region): Pass mark first, then point, so that
4980 kill-append works right (Bug#12819).
4981 (copy-region-as-kill, kill-ring-save): Likewise.
4982
2b84d763
LL
49832013-12-17 Leo Liu <sdl.web@gmail.com>
4984
4985 * net/rcirc.el (rcirc-add-face):
4986 * eshell/em-prompt.el (eshell-emit-prompt):
4987 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
4988 (Bug#16167)
4989
e2f6a0bc
CY
49902013-12-17 Chong Yidong <cyd@gnu.org>
4991
4992 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
4993 Suggested by Xue Fuqiao.
4994
35b249a6
DG
49952013-12-17 Dmitry Gutov <dgutov@yandex.ru>
4996
4997 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
4998
e9145444
SM
49992013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5000
5001 * net/shr.el (shr-insert-document): Remove unused var
5002 `shr-preliminary-table-render'.
5003 (shr-rescale-image): Remove unused arg `force'.
5004 (shr-put-image): Update calls accordingly.
5005 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
5006
5556c0ce
DG
50072013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5008
5009 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
5010 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
5011 :close-all, to see which indentation method to use (Bug#16116).
5012 (smie-rules-function): Document the method :close-all.
5013
11bade0a
LMI
50142013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5015
1c4b1e61
LMI
5016 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
5017
11bade0a
LMI
5018 * net/eww.el (eww-display-html): If we can't find the anchor we're
5019 looking for, then go to point-min.
5020
8fb8c4f3
PE
50212013-12-16 Paul Eggert <eggert@cs.ucla.edu>
5022
5023 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
5024 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
5025 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
5026 Expand dir too, in case it's relative.
5027
6c8e0ae6
JL
50282013-12-16 Juri Linkov <juri@jurta.org>
5029
5030 * desktop.el (desktop-auto-save-timeout): Change default to
5031 `auto-save-timeout'. Doc fix.
5032 (desktop-save): Skip the timestamp in desktop-saved-frameset
5033 when checking for auto-save changes.
5034 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
5035 `desktop-auto-save' is called repeatedly by the idle timer.
5036 (desktop-auto-save-set-timer): Replace `run-with-timer' with
5037 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
5038 (Bug#15331)
5039
2178e858
JL
50402013-12-16 Juri Linkov <juri@jurta.org>
5041
5042 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
5043 (Bug#16035)
5044 (isearch-pre-command-hook): Check `this-command' for symbolp.
5045
39cb42c6
SM
50462013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5047
5048 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
5049
5b9b750a
TZ
50502013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
5051
5052 * progmodes/cfengine.el (cfengine3--current-word): Remove.
5053 (cfengine3--current-function): Bring in the current-function
5054 functionality from `cfengine3--current-word'.
5055 (cfengine3-completion-function): Bring in the
5056 bounds-of-current-word functionality from
5057 `cfengine3--current-word'.
5058
d144ef06
MR
50592013-12-16 Martin Rudalics <rudalics@gmx.at>
5060
39cb42c6
SM
5061 * window.el (display-buffer-below-selected):
5062 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 5063
a8bbe298
LL
50642013-12-16 Leo Liu <sdl.web@gmail.com>
5065
5066 * progmodes/compile.el (compile-goto-error): Do not push-mark.
5067 Remove NOMSG arg and all uses changed.
5068
2013a2f9
SM
50692013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5070
5071 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
5072 (cua--deactivate-rectangle): Don't deactivate the mark.
5073 (cua-set-rectangle-mark): Don't set mark-active since
5074 cua--activate-rectangle already does it for us.
5075 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
5076 non-rectangular region.
5077
5078 * emulation/cua-base.el (cua-repeat-replace-region):
5079 Use with-current-buffer.
5080
5081 * net/gnutls.el: Use cl-lib.
5082 (gnutls-negotiate): `mapcan' -> cl-mapcan.
5083
5ae811dd
TZ
50842013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5085
5086 * emacs-lisp/package.el (package-built-in-p): Support both
5087 built-in and the package.el converted package descriptions.
5088 (package-show-package-list): Allow keywords.
5089 (package-keyword-button-action): Use it instead of
5090 `finder-list-matches'.
5091 (package-menu-filter-interactive): Interactive filtering (by
5092 keyword) function.
5093 (package-menu--generate): Support keywords and change keymappings
5094 and headers when they are given.
5095 (package--has-keyword-p): Helper function.
5096 (package-menu--refresh): Use it.
5097 (package--mapc): Helper function.
5098 (package-all-keywords): Use it.
5099 (package-menu-mode-map): Set up menu items and keybindings to
5100 provide a filtering UI.
5101
31b4827e
TZ
51022013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5103
5104 * net/gnutls.el (gnutls-verify-error): New defcustom to control
5105 the behavior when a certificate fails validation. Defaults to
5106 old behavior: never abort, just warn.
5107 (gnutls-negotiate): Use it.
5108
f93cc74f
MR
51092013-12-14 Martin Rudalics <rudalics@gmx.at>
5110
5111 * window.el (display-buffer-below-selected): Never split window
5112 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
5113
f77d7d17
TW
51142013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
5115
5116 * emacs-lisp/package.el (package--prepare-dependencies): New function.
5117 (package-buffer-info): Use it (bug#15108).
aa2bddd7 5118
7514d3f8
SM
51192013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
5120
aa2bddd7 5121 * icomplete.el (icomplete-completions): Make sure the prefix is already
7514d3f8 5122 displayed elsewhere before hiding it (bug#16219).
aa2bddd7 5123
276bc333
DG
51242013-12-14 Dmitry Gutov <dgutov@yandex.ru>
5125
5126 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
5127 open-paren tokens when preceded by a open-paren, too.
5128 (ruby-smie-rules): Handle virtual indentation after open-paren
5129 tokens specially. If there is code between it and eol, return the
5130 column where is starts (Bug#16118).
5131
d43957f3
TZ
51322013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5133
a5c1ac0c 5134 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 5135 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
5136 (cfengine3--current-word): Fix parameters.
5137 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
5138 (cfengine3-completion-function, cfengine3--current-function):
5139 Use `assq' for symbols.
d43957f3
TZ
5140 (cfengine3--current-function): Fix `cfengine3--current-word' call.
5141
06a4f110
GM
51422013-12-13 Glenn Morris <rgm@gnu.org>
5143
5144 * loadup.el (load-path): Warn if site-load or site-init changes it.
5145 No more need to reset it when bootstrapping.
5146
978a5fda
TZ
51472013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5148
5149 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
5150 locations for cf-promises.
5151 (cfengine-mode-syntax-functions-regex): New caching variable.
5152 (cfengine3-fallback-syntax): Fallback syntax for cases where
5153 cf-promises doesn't run.
5154 (cfengine3--current-word): Reimplement using
5155 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
5156 (cfengine3-completion-function, cfengine3--current-function):
5157 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
5158 (cfengine3-clear-syntax-cache): New function.
5159 (cfengine3-make-syntax-cache): Simplify and create
5160 `cfengine-mode-syntax-functions-regex' on demand.
5161 (cfengine3-format-function-docstring): Don't call
5162 `cfengine3-make-syntax-cache' explicitly.
5163
71e6691e
MR
51642013-12-13 Martin Rudalics <rudalics@gmx.at>
5165
5166 Fix windmove-find-other-window broken after pixelwise resizing
5167 (Bug#16017).
5168 * windmove.el (windmove-other-window-loc): Revert change from
5169 2013-12-04.
5170 (windmove-find-other-window): Call window-in-direction.
5171 * window.el (window-in-direction): New arguments SIGN, WRAP and
5172 MINI to emulate original windmove-find-other-window behavior.
5173
84c73ba0
DG
51742013-12-13 Dmitry Gutov <dgutov@yandex.ru>
5175
5176 * simple.el (blink-matching--overlay): New variable.
5177 (blink-matching-open): Instead of moving point, highlight the
5178 matching paren with an overlay
5179 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
5180
5181 * faces.el (paren-showing-faces, show-paren-match)
5182 (show-paren-mismatch): Move from paren.el.
5183
b9e20952
LL
51842013-12-13 Leo Liu <sdl.web@gmail.com>
5185
5186 * indent.el (indent-region): Disable progress reporter in
5187 minibuffer. (Bug#16108)
5188
5189 * bindings.el (visual-order-cursor-movement): Fix version.
5190
ce030451
FEG
51912013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5192
5193 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
5194 Also match after beginning of line.
5195 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
e9dc713d 5196 files. Thanks to Russell Sim. (Bug#15378)
ce030451 5197
4a9c6865
JL
51982013-12-13 Juri Linkov <juri@jurta.org>
5199
5200 * simple.el <Keypad support>: Remove key bindings duplicated
5201 with bindings.el. (Bug#14397)
5202
2bc170c3
JL
52032013-12-13 Juri Linkov <juri@jurta.org>
5204
5205 * comint.el (comint-mode-map): Replace `delete-char' with
5206 `delete-forward-char'. (Bug#16109)
5207
bc9222c9
FEG
52082013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5209
aa2bddd7 5210 * progmodes/python.el (python-indent-calculate-indentation):
e9dc713d 5211 Fix de-denters cornercase. (Bug#15731)
bc9222c9 5212
cb3a1380
SM
52132013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
5214
5215 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
5216 (advice--make): Pay attention to `depth'.
5217 (advice--make-1): Don't autoload commands eagerly.
5218 * emacs-lisp/elp.el (elp-instrument-function):
5219 * emacs-lisp/trace.el (trace-function-internal):
5220 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
5221
5222 * iswitchb.el (iswitchb-mode): Don't belittle ido.
5223
01633a17
EZ
52242013-12-12 Eli Zaretskii <eliz@gnu.org>
5225
5226 * term/w32-win.el (w32-handle-dropped-file):
5227 * startup.el (normal-top-level):
5228 * net/browse-url.el (browse-url-file-url):
5229 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
5230 decode file names using 'utf-8' rather than
5231 file-name-coding-system.
5232
09faee72
FEG
52332013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5234
5235 * progmodes/python.el (python-indent-context)
5236 (python-indent-calculate-indentation): Fix auto-identation
e9dc713d 5237 behavior for comment blocks. (Bug#15916)
09faee72 5238
f4f84024 52392013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 5240
cb3a1380
SM
5241 * progmodes/python.el (python-indent-calculate-indentation):
5242 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
5243 operators when they are just string constituents. (Bug#15812)
5244
d5ccb7be
JL
52452013-12-12 Juri Linkov <juri@jurta.org>
5246
5247 * uniquify.el (uniquify-buffer-name-style): Change default to
5248 `post-forward-angle-brackets'.
5249
5250 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
5251 `uniquify'. Change default to `post-forward-angle-brackets'.
5252
7b3f5679
GM
52532013-12-11 Glenn Morris <rgm@gnu.org>
5254
5255 * emacs-lisp/package.el (finder-list-matches):
5256 Autoload rather than falsely declaring.
5257
f4fe8fdd
TZ
52582013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
5259
5260 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
5261 (eww-mode-map): Use them.
5262
3c29190f
MR
52632013-12-11 Martin Rudalics <rudalics@gmx.at>
5264
5265 * window.el (display-buffer-in-side-window): Fix doc-string
5266 (Bug#16115).
5267
0cd616a2
JB
52682013-12-11 Juanma Barranquero <lekktu@gmail.com>
5269
5270 * vc/vc-git.el: Silence byte-compiler warnings.
5271 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
5272 (log-edit-set-header): Declare.
5273
3ef8e0d1
EZ
52742013-12-11 Eli Zaretskii <eliz@gnu.org>
5275
5276 * Makefile.in (custom-deps, finder-data): Run output file names
5277 through unmsys--file-name. (Bug#16099)
5278
afdadaf7
SM
52792013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
5280
7ae3ae39 5281 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 5282 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 5283
5b4f37ab
SM
5284 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
5285 instead of deleting the selection "by hand" (bug#16098).
5286 Rely on insert-for-yank to yank rectangles.
5287 (cua-highlight-region-shift-only): Mark obsolete.
5288 (cua-mode): Don't enable/disable transient-mark-mode,
5289 shift-select-mode (cua-mode works both with and without them), and
5290 pc-selection-mode (obsolete).
5291 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
5292 (cua--deactivate-rectangle): Deactivate it.
5293
4b72c12b
SM
5294 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
5295 (delete-selection-helper): Make sure yank starts at the top of the
5296 deleted region.
5297 (minibuffer-keyboard-quit): Use region-active-p.
5298
e82af72d
SM
5299 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
5300
afdadaf7
SM
5301 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
5302 to `delete' (bug#16109).
5303
ed4bc201
RS
53042013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5305
5306 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
5307 info manual and show keybindings and set `:group' keyword.
5308
bb8097b9
JL
53092013-12-11 Juri Linkov <juri@jurta.org>
5310
5311 * delsel.el (delete-active-region): Let-bind `this-command'
5312 to prevent `kill-region' from changing its original value.
5313 (delete-selection-helper): Handle `overwrite-mode' for the type
5314 `kill' exactly the same way as for the type `t'.
5315 (insert-char, quoted-insert, reindent-then-newline-and-indent):
5316 Support more commands. (Bug#13312)
5317
c1916ff5
JL
53182013-12-11 Juri Linkov <juri@jurta.org>
5319
5320 * bindings.el: Map kp keys to non-kp keys systematically
5321 with basic modifiers control, meta and shift. (Bug#14397)
5322
7514d3f8 53232013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
b68cf43c
KN
5324
5325 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
5326 "Close browser" menu items. Fix wrong function of "List
5327 bookmarks".
5328
4cc51eaf
JL
53292013-12-11 Juri Linkov <juri@jurta.org>
5330
5331 * misearch.el (multi-isearch-buffers): Set the value of
5332 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5333 arg of isearch-forward to t.
5334 (multi-isearch-buffers-regexp): Set the value of
5335 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5336 arg of isearch-forward-regexp to t.
5337 (multi-isearch-files): Set the value of
5338 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
5339 arg of isearch-forward to t.
5340 (multi-isearch-files-regexp): Set the value of
c295fc18 5341 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
4cc51eaf
JL
5342 arg of isearch-forward-regexp to t. (Bug#16035)
5343
5344 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
5345 arg of isearch-forward to t.
5346 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
5347 arg of isearch-forward-regexp to t.
5348 (dired-isearch-filter-filenames): Remove unnecessary check for
5349 `dired-isearch-filenames'.
5350
5351 * comint.el (comint-history-isearch-backward):
5352 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
5353 (comint-history-isearch-backward-regexp):
5354 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
5355
ceac12b7
EZ
53562013-12-10 Eli Zaretskii <eliz@gnu.org>
5357
5358 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
5359 unmsys--file-name. (Bug#16099)
5360
5a565782
TZ
53612013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
5362
cb3a1380
SM
5363 * emacs-lisp/package.el (package-keyword-button-action):
5364 Remove finder.el require dependency.
5a565782 5365
a81fc7ba
TZ
53662013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
5367
5368 * emacs-lisp/package.el: Require finder.el.
5369 (describe-package-1): Add keyword buttons.
5370 (package-make-button): New convenience function.
5371 (package-keyword-button-action): Keyword button action using
e0eb0550 5372 `finder-list-matches'.
a81fc7ba 5373
6aaca951
EZ
53742013-12-09 Eli Zaretskii <eliz@gnu.org>
5375
5376 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
5377 last commit.
5378
a1099a91
MA
53792013-12-09 Michael Albinus <michael.albinus@gmx.de>
5380
5381 * autorevert.el (auto-revert-notify-add-watch): Do not handle
5382 symlinked files.
5383
8212d9c0
DG
53842013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5385
5386 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5387 after the end of a percent literal.
5388
8f48d131
CD
53892013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
5390
cb3a1380
SM
5391 * progmodes/ruby-mode.el (ruby-forward-string): Document.
5392 Handle caret-delimited strings (Bug#16079).
8f48d131 5393
ff8c9764
DG
53942013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5395
cb3a1380
SM
5396 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
5397 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
5398 `ruby-parse-partial' (Bug#16078).
5399
d64643b4
LL
54002013-12-09 Leo Liu <sdl.web@gmail.com>
5401
5402 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
5403
47e59c66
DG
54042013-12-08 Dmitry Gutov <dgutov@yandex.ru>
5405
5406 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
5407 (js-switch-indent-offset): New option.
5408 (js--proper-indentation): Use it. And handle the case when
5409 "default" is actually a key in an object literal.
5410 (js--same-line): New function.
5411 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
5412 (js--indent-in-array-comp, js--array-comp-indentation):
5413 New functions.
47e59c66
DG
5414 (js--proper-indentation): Use them, to handle array comprehension
5415 continuations.
5416
974ebc9c
LL
54172013-12-08 Leo Liu <sdl.web@gmail.com>
5418
5419 * progmodes/flymake.el (flymake-highlight-line): Re-write.
5420 (flymake-make-overlay): Remove arg MOUSE-FACE.
5421 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
5422
27262e39
SM
54232013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5424
5425 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
5426 New function.
5427 (redisplay-highlight-region-function): Use it.
5428
5429 * emulation/cua-base.el (cua--explicit-region-start)
5430 (cua--last-region-shifted): Remove.
5431 (cua--deactivate): Use deactivate-mark.
5432 (cua--pre-command-handler-1): Don't handle shift-selection.
5433 (cua--post-command-handler-1): Don't change transient-mark-mode.
5434 (cua--select-keymaps): Use region-active-p rather than
5435 cua--explicit-region-start or cua--last-region-shifted.
5436 (cua-mode): Enable shift-select-mode.
5437
6407822c
LL
54382013-12-08 Leo Liu <sdl.web@gmail.com>
5439
27262e39
SM
5440 * progmodes/flymake.el (flymake-popup-current-error-menu):
5441 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
5442 (flymake-posn-at-point-as-event, flymake-popup-menu)
5443 (flymake-make-emacs-menu): Remove. (Bug#16077)
5444
00a2b823
SM
54452013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5446
02033d49
SM
5447 * rect.el (rectangle-mark-mode): Activate mark even if
5448 transient-mark-mode is off (bug#16066).
5449 (rectangle--highlight-for-redisplay): Fix boundary condition when point
5450 is > mark and at bolp.
5451
6f8dfccf
SM
5452 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
5453 (region-extract-function): Use it.
5454 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
5455 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
5456 Delete functions.
5457 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
5458 kill-ring-save, kill-region, delete-char, delete-forward-char.
5459 Ignore self-insert-iso.
5460
5461 * emulation/cua-gmrk.el (cua--init-global-mark):
5462 Ignore `self-insert-iso'.
5463
5464 * emulation/cua-base.el (cua--prefix-copy-handler)
5465 (cua--prefix-cut-handler): Rely on region-extract-function rather than
5466 checking cua--rectangle.
5467 (cua-delete-region): Use region-extract-function.
5468 (cua-replace-region): Delete function.
5469 (cua-copy-region, cua-cut-region): Obey region-extract-function.
5470 (cua--pre-command-handler-1): Don't do the delete-selection thing.
5471 (cua--self-insert-char-p): Ignore `self-insert-iso'.
5472 (cua--init-keymaps): Don't remap delete-selection commands.
5473 (cua-mode): Use delete-selection-mode instead of rolling our own
5474 (bug#16085).
5475
5476 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
5477 Obey region-extract-function.
5478
00a2b823
SM
5479 Make registers and delete-selection-mode work on rectangles.
5480 * register.el (describe-register-1): Don't modify the register's value.
5481 (copy-to-register): Obey region-extract-function.
5482 * delsel.el (delete-active-region): Obey region-extract-function.
5483
a92fa5f1
LL
54842013-12-08 Leo Liu <sdl.web@gmail.com>
5485
5486 * progmodes/flymake.el (flymake, flymake-error-bitmap)
5487 (flymake-warning-bitmap, flymake-fringe-indicator-position)
5488 (flymake-compilation-prevents-syntax-check)
5489 (flymake-start-syntax-check-on-newline)
5490 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
5491 (flymake-start-syntax-check-on-find-file, flymake-log-level)
5492 (flymake-xml-program, flymake-master-file-dirs)
5493 (flymake-master-file-count-limit)
5494 (flymake-allowed-file-name-masks): Relocate.
5495 (flymake-makehash, flymake-float-time)
5496 (flymake-replace-regexp-in-string, flymake-split-string)
5497 (flymake-get-temp-dir): Remove.
5498 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
5499 (flymake-current-row, flymake-selected-frame)
5500 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
5501 related functions. (Bug#16077)
5502
73c8ceea
BB
55032013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
5504
5505 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
5506
faec28d9
TH
55072013-12-07 Tassilo Horn <tsdh@gnu.org>
5508
5509 * help-fns.el (describe-function-1): Use new advice-* functions
5510 rather than old ad-* functions. Fix function type description and
5511 source links for advised functions and subrs.
5512
e330b646
LMI
55132013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5514
00a2b823 5515 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 5516
4803595d
MA
55172013-12-06 Michael Albinus <michael.albinus@gmx.de>
5518
5519 * progmodes/compile.el (compilation-start):
5520 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
5521
5522 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
5523 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
5524
fa834a93
DG
55252013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5526
00a2b823
SM
5527 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5528 Touch up the last change.
fa834a93 5529
b2856a6f
LL
55302013-12-06 Leo Liu <sdl.web@gmail.com>
5531
5532 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
5533 (inferior-octave-startup): Always use "octave> " for prompt.
5534 (octave-goto-function-definition)
5535 (octave-sync-function-file-names)
5536 (octave-find-definition-default-filename): Remove redundant backquotes.
5537
af67e79a
DG
55382013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5539
5540 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
5541 syntax for `?'.
5542 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
5543 where appropriate already.
5544 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
5545 end of method names (Bug#15874).
5546
bf093209
JL
55472013-12-06 Juri Linkov <juri@jurta.org>
5548
5549 * isearch.el (isearch--saved-overriding-local-map):
5550 New internal variable.
5551 (isearch-mode): Set it to the initial value of
5552 `overriding-terminal-local-map'.
5553 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
5554 with `isearch--saved-overriding-local-map'. (Bug#16035)
5555
16588fad
DG
55562013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5557
00a2b823
SM
5558 * progmodes/octave.el (inferior-octave-completion-table):
5559 Turn back into function, use `completion-table-with-cache'
16588fad
DG
5560 (Bug#11906). Update all references.
5561
5562 * minibuffer.el (completion-table-with-cache): New function.
5563
bf4906d7
CD
55642013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
5565
5566 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
5567
ff69c18f
TZ
55682013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
5569
5570 * net/eww.el (eww-current-source): New variable to store page
5571 source.
5572 (eww-display-html, eww-mode, eww-save-history)
5573 (eww-restore-history): Use it.
5574 (eww-view-source): New command to view page source.
5575 Opportunistically uses `html-mode' to highlight the buffer.
5576 (eww-mode-map): Install it.
5577
b85eff45
MA
55782013-12-05 Michael Albinus <michael.albinus@gmx.de>
5579
5580 * net/dbus.el (dbus-unregister-service)
5581 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
5582 Fix docstring.
5583 (dbus-unregister-service): Skip :serial entries in
5584 `dbus-registered-objects-table'.
5585 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
5586
39eb0899
TZ
55872013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
5588
5589 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
5590 around keywords with extra `split-string' argument.
5591
456760a5
MR
55922013-12-04 Martin Rudalics <rudalics@gmx.at>
5593
5594 * windmove.el (windmove-other-window-loc): Handle navigation
5595 between windows (excluding the minibuffer window - Bug#16017).
5596
81961e4c
MA
55972013-12-04 Michael Albinus <michael.albinus@gmx.de>
5598
5599 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
5600 in D-Bus type syntax.
5601 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
5602 preserve unibyte strings. (Bug#16048)
5603
8497f938
SM
56042013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
5605
5606 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
5607 Call force-mode-line-update is the proper buffer (bug#16042).
5608
dda61916
DG
56092013-12-04 Dmitry Gutov <dgutov@yandex.ru>
5610
5611 * vc/log-edit.el (log-edit-add-new-comment): Rename to
5612 `log-edit-remember-comment', make argument optional. Adjust all
5613 callers.
5614 (log-edit-mode): Add `log-edit-remember-comment' to
5615 `kill-buffer-hook' locally.
5616 (log-edit-kill-buffer): Don't remember comment explicitly since
5617 the buffer is killed anyway.
5618
c085e5b9
JL
56192013-12-04 Juri Linkov <juri@jurta.org>
5620
5621 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
5622 add-hook and remove-hook for multi-buffer search. (Bug#16035)
5623
e0eb0550 56242013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
d6f2380e
TR
5625
5626 * notifications.el (notifications-close-notification): Call the
81961e4c 5627 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 5628
39fa32d6
KY
56292013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
5630
5631 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
5632
9139632a
JL
56332013-12-03 Juri Linkov <juri@jurta.org>
5634
5635 * progmodes/compile.el (compilation-start): Rename window alist
5636 entry `no-display-ok' to `allow-no-window'.
5637
5638 * simple.el (shell-command): Add window alist entry
5639 `allow-no-window' to `display-buffer'.
5640 (async-shell-command): Doc fix.
5641
5642 * window.el (display-buffer-no-window): New action function.
5643 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
5644
0f457a37
DG
56452013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5646
5647 * vc/log-edit.el (log-edit-set-header): Extract from
5648 `log-edit-toggle-header'.
5649 (log-edit-extract-headers): Separate the summary, when extracted
5650 from header, from the rest of the message with an empty line.
5651
5652 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
5653 line, if present, to the Summary header.
5654
0962f376
SM
56552013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5656
5657 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
5658 in current-buffer (bug#16029).
5659
f345395c
HE
56602013-12-02 Helmut Eller <eller.helmut@gmail.com>
5661
5662 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
5663 (debugger-mode-map): Bind it.
5664 (debugger--backtrace-base): New function.
5665 (debugger-eval-expression): Use it.
5666 (debugger-frame-number): Skip local vars when present.
5667 (debugger--locals-visible-p, debugger--insert-locals)
5668 (debugger--show-locals, debugger--hide-locals): New functions.
5669
a8a15d9d
MA
56702013-12-02 Michael Albinus <michael.albinus@gmx.de>
5671
5672 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
5673 "LC_ALL".
5674 (tramp-get-remote-locale): New defun.
5675 (tramp-open-connection-setup-interactive-shell): Use it.
5676
0518b057
LL
56772013-12-02 Leo Liu <sdl.web@gmail.com>
5678
5679 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
5680
5681 * progmodes/sh-script.el (sh-shell-process):
5682 * progmodes/octave.el (inferior-octave-process-live-p):
5683 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
5684 (gdb-inferior-io-sentinel):
5685 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
5686
3adc9c6d
DG
56872013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5688
5689 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
5690 `save-selected-window' to `log-edit-hide-buf'. This makes
5691 `log-edit-show-files' idempotent.
5692 (log-edit-show-files): Mark the new window as dedicated.
5693
47e8b74e
DG
56942013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5695
5696 * vc/log-edit.el (log-edit-mode-map): Add binding for
5697 `log-edit-kill-biffer'.
5698 (log-edit-hide-buf): Add a FIXME comment.
5699 (log-edit-add-new-comment): New function, extracted from
5700 `log-edit-done'.
5701 (log-edit-done, log-edit-add-to-changelog): Use it.
5702 (log-edit-kill-buffer): New command.
5703
1f6e1bb0
LMI
57042013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5705
5706 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
5707 instead of killing the buffer.
5708
fb651d15
SM
57092013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
5710
5711 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
5712
8feacce0
RS
57132013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5714
fb651d15 5715 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 5716 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
5717 (eww-form-checkbox, eww-toggle-checkbox):
5718 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
5719
e0eb0550 5720 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
fb651d15 5721 (shr--get-media-pref, shr--extract-best-source): New function.
e0eb0550 5722 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
ad9a773c
RS
5723 no :src tag was specified.
5724
fb651d15 5725 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
5726 (eww-render): Handle `eww-use-external-browser-for-content-type'.
5727 Use \\` to match beginning of string instead of ^.
5728 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 5729 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 5730
177948a5
RS
5731 * net/shr.el (shr-tag-video): Display content for video if no
5732 poster is available.
eb2dd24d 5733 (shr-tag-audio): Add support for <audio> tag.
177948a5 5734
e0eb0550 5735 * net/eww.el (eww-text-input-types): New const.
177948a5
RS
5736 (eww-process-text-input): Treat input types in
5737 `eww-text-input-types' as text.
5738
8feacce0
RS
5739 * net/shr.el (shr-tag-table): Fix comment typo.
5740
513562a1
LMI
57412013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5742
5743 * net/eww.el (eww-follow-link): New command to avoid reloading
5744 pages when we follow #target links (bug#15243).
de8a5633 5745 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 5746
9dd99753
KN
57472013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5748
5749 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
5750 forms.
5751
3e9876de
LMI
57522013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5753
5754 * net/eww.el (eww-restore-history): Update the window title after
5755 moving in the history.
ab6dea82 5756 (eww-current-dom): New variable used to save the current DOM.
3e9876de 5757
52789f7f
DG
57582013-12-01 Dmitry Gutov <dgutov@yandex.ru>
5759
5760 * vc/log-edit.el (log-edit-mode-map): Add binding for
5761 `log-edit-beginning-of-line'.
5762 (log-edit-setup-add-author): New user option.
5763 (log-edit-beginning-of-line): New command.
5764 (log-edit): Move major mode call above the contents setup so that
5765 the local variable values are already applied.
5766 (log-edit): Only insert "Author: " when
5767 `log-edit-setup-add-author' is non-nil.
5768 (log-edit): When SETUP is non-nil, position point after ": "
5769 instead of point-min.
5770
2e6710c3
GM
57712013-12-01 Glenn Morris <rgm@gnu.org>
5772
5773 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
5774
fadec31f
EZ
57752013-11-30 Eli Zaretskii <eliz@gnu.org>
5776
5777 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 5778 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
5779 visible. (Bug#16014)
5780
10634b40 57812013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
5782
5783 Support resizing frames and windows pixelwise.
5784 * cus-start.el (frame-resize-pixelwise)
5785 (window-resize-pixelwise): New entries.
5786 * emacs-lisp/debug.el (debug): Use window-total-height instead
5787 of window-total-size.
5788 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
9dda75ad
MR
5789 * help.el (describe-bindings-internal): Use help-buffer as
5790 argument for with-help-window.
880e6158
MR
5791 (temp-buffer-max-width): New option.
5792 (resize-temp-buffer-window, help-window-setup)
5793 (with-help-window): Rewrite.
5794 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
5795 dragging dividers.
5796 * window.el (frame-char-size, window-min-pixel-height)
5797 (window-safe-min-pixel-height, window-safe-min-pixel-width)
5798 (window-min-pixel-width, window-safe-min-pixel-size)
5799 (window-combination-p, window-safe-min-size)
5800 (window-resizable-p, window--size-to-pixel)
5801 (window--pixel-to-size, window--resize-apply-p): New functions.
5802 (window-safe-min-height): Fix doc-string.
5803 (window-size, window-min-size, window--min-size-1)
5804 (window-sizable, window-sizable-p, window--min-delta-1)
5805 (window-min-delta, window--max-delta-1, window-max-delta)
5806 (window--resizable, window--resizable-p, window-resizable)
5807 (window-full-height-p, window-full-width-p, window-at-side-p)
5808 (window--in-direction-2, window-in-direction)
5809 (window--resize-reset-1, window--resize-mini-window)
5810 (window-resize, window-resize-no-error)
5811 (window--resize-child-windows-normal)
5812 (window--resize-child-windows, window--resize-siblings)
5813 (window--resize-this-window, window--resize-root-window)
5814 (window--resize-root-window-vertically)
5815 (adjust-window-trailing-edge, enlarge-window, shrink-window)
5816 (maximize-window, minimize-window, delete-window)
5817 (quit-restore-window, window-split-min-size, split-window)
5818 (balance-windows-2, balance-windows)
5819 (balance-windows-area-adjust, balance-windows-area)
5820 (window--state-get-1, window-state-get, window--state-put-1)
5821 (window--state-put-2, window-state-put)
fb651d15
SM
5822 (display-buffer-record-window, window--display-buffer):
5823 Make functions handle pixelwise sizing of windows.
880e6158 5824 (display-buffer--action-function-custom-type)
fb651d15
SM
5825 (display-buffer-fallback-action):
5826 Add display-buffer-in-previous-window.
880e6158
MR
5827 (display-buffer-use-some-window): Resize window to height it had
5828 before.
5829 (fit-window-to-buffer-horizontally): New option.
5830 (fit-frame-to-buffer): Describe new values.
5831 (fit-frame-to-buffer-bottom-margin): Replace with
5832 fit-frame-to-buffer-margins.
5833 (window--sanitize-margin): New function.
5834 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
5835 using window-text-pixel-size.
5836
f9b697dd
GM
58372013-11-30 Glenn Morris <rgm@gnu.org>
5838
3e2fb4db
GM
5839 * emacs-lisp/bytecomp.el (byte-compile-form):
5840 Make the `interactive-only' warning like the `obsolete' one.
5841 * comint.el (comint-run):
5842 * files.el (insert-file-literally, insert-file):
5843 * replace.el (replace-string, replace-regexp):
5844 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
5845 (goto-line, insert-buffer, next-line, previous-line):
5846 Tweak `interactive-only' spec.
5847
f9b697dd
GM
5848 Stop keeping (most) generated cedet grammar files in the repository.
5849 * Makefile.in (semantic): New.
5850 (compile-main): Depend on semantic.
5851
da048127
SM
58522013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5853
7784b779
SM
5854 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
5855 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
5856
4e36a6a6
SM
5857 * uniquify.el (uniquify-buffer-name-style): Change default.
5858
5859 * loadup.el: Preload "uniquify".
5860
e0ba1308
SM
5861 * time.el (display-time-update): Update all mode lines (bug#15999).
5862
da048127
SM
5863 * electric.el (electric-indent-mode): Enable by default.
5864 * loadup.el: Preload "electric".
5865
015b3b3e
BB
58662013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
5867
5868 * emacs-lisp/helpers.el (string-empty-p): New function.
5869 (string-blank-p): New function.
5870
7efb806d
AP
58712013-11-29 Andreas Politz <politza@hochschule-trier.de>
5872
5873 * imenu.el (imenu--index-alist): Add missing dot to the docstring
5874 (Bug#14029).
5875
c8f0efc2
AP
58762013-11-29 Andreas Politz <politza@fh-trier.de>
5877 * imenu.el (imenu--subalist-p): Don't error on non-conses and
5878 allow non-lambda lists as functions.
5879 (imenu--in-alist): Don't recurse into non-subalists.
5880 (imenu): Don't pass function itself as an argument (Bug#14029).
5881
bd15d9d1
SM
58822013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5883
5884 * progmodes/python.el (python-mode-map): Remove binding for ":".
5885 (python-indent-electric-colon): Remove command.
5886 (python-indent-post-self-insert-function): Integrate the previous code
5887 of python-indent-electric-colon. Make it conditional on
5888 electric-indent-mode.
5889 (python-mode): Add ?: to electric-indent-chars.
5890 Move python-indent-post-self-insert-function to the end of
5891 post-self-insert-hook.
5892
1b10adb6
SM
58932013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
5894
655ab9a3
SM
5895 * doc-view.el (doc-view-goto-page): Update mode-line.
5896
1b10adb6
SM
5897 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
5898
7e3bf78c
GM
58992013-11-27 Glenn Morris <rgm@gnu.org>
5900
5901 * international/charprop.el, international/uni-bidi.el:
5902 * international/uni-category.el, international/uni-combining.el:
5903 * international/uni-comment.el, international/uni-decimal.el:
5904 * international/uni-decomposition.el, international/uni-digit.el:
5905 * international/uni-lowercase.el, international/uni-mirrored.el:
5906 * international/uni-name.el, international/uni-numeric.el:
5907 * international/uni-old-name.el, international/uni-titlecase.el:
5908 * international/uni-uppercase.el:
5909 Remove generated files from VCS repository.
5910
fb6a5d68
EZ
59112013-11-27 Eli Zaretskii <eliz@gnu.org>
5912
5913 * filenotify.el (file-notify-add-watch): Don't special-case
5914 w32notify when computing the directory to watch.
5915
cb6c95a3
GM
59162013-11-27 Glenn Morris <rgm@gnu.org>
5917
20372d0c
GM
5918 Make bootstrap without generated uni-*.el files possible again.
5919 * loadup.el: Update command-line-args checking for unidata-gen.
5920 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
5921 * composite.el, international/characters.el:
5922 Handle unicode tables being undefined.
5923
52d6635f 5924 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
5925 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
5926 (compile-main): Depend on leim rule.
5927 (leim): New rule.
5928 * loadup.el: Move leim-list.el to leim/ subdirectory.
5929 * startup.el (normal-top-level): No more leim directory.
5930 * international/ja-dic-cnv.el (skkdic-convert):
5931 Disable version-control and autoloads in output files.
5932 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
5933 Disable version-control and autoloads in output files.
5934 * leim/quail: Move here from ../leim.
5935 * leim/quail/hangul.el (hangul-input-method-activate):
5936 Add autoload cookie.
5937 (generated-autoload-load-name): Set file-local value.
5938 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
5939 (generated-autoload-load-name): Set file-local value.
5940
7514d3f8 59412013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
e47112ee 5942
e0eb0550 5943 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
7514d3f8 5944 (eww-add-bookmark): Ask confirmation when add to bookmarks.
e0eb0550 5945 (eww-quit): Ask confirmation before quitting eww.
e47112ee 5946
0e2c793f
EZ
59472013-11-26 Eli Zaretskii <eliz@gnu.org>
5948
5949 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
5950 reading output from Diff on MS-Windows and MS-DOS.
5951
447bdcb8
BB
59522013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
5953
5954 * emacs-lisp/helpers.el (string-reverse): New function.
5955
5fbf6856
MA
59562013-11-26 Michael Albinus <michael.albinus@gmx.de>
5957
5958 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
5959 names on MS Windows, like "/[::1]:".
5960
5961 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
5962 SWITCHES.
5963
624780f0
GM
59642013-11-26 Glenn Morris <rgm@gnu.org>
5965
0bf3f0fa
GM
5966 * progmodes/python.el (python-indent-guess-indent-offset):
5967 Avoid corner-case error. (Bug#15975)
5968
624780f0
GM
5969 Preload leim-list.el. (Bug#4789)
5970 * loadup.el: Load leim-list.el when found.
5971 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
5972
4301875e 59732013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
5974
5975 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
5976
4301875e
BB
5977 * emacs-lisp/helpers.el (string-join): New function.
5978
1633a815 59792013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
5980
5981 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5982 Mark as obsolete and replace it with a symbol property.
5983 (byte-compile-form): Use new 'interactive-only property.
5984 * comint.el, files.el, replace.el, simple.el:
5985 Apply new 'interactive-only properly.
5986
00139435
MR
59872013-11-25 Martin Rudalics <rudalics@gmx.at>
5988
5989 * window.el (display-buffer-at-bottom): Make sure that
5990 split-window-sensibly creates the new window on bottom
5991 (Bug#15961).
5992
5f5b128d
DK
59932013-11-23 David Kastrup <dak@gnu.org>
5994
5995 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
5996 on the conflict markers when available.
5997 (smerge--get-marker): New function.
5998 (smerge-end-re, smerge-base-re): Add subgroup.
5999
623891e5
SM
60002013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6001
6002 * frame.el (handle-focus-in, handle-focus-out): Add missing
6003 interactive spec.
6004
05ca27d8
MA
60052013-11-25 Michael Albinus <michael.albinus@gmx.de>
6006
6007 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6008 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
6009
511fa0d3
SM
60102013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6011
e82ad66c
SM
6012 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
6013 (gomoku--last-pos): New var.
6014 (gomoku--intangible-chars): New const.
6015 (gomoku--intangible): New function.
6016 (gomoku-mode): Use it. Derive from special-mode.
6017 (gomoku-move-up): Adjust line count.
6018 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
6019 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
6020 Simplify accordingly.
6021
511fa0d3
SM
6022 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
6023 Remove blink-cursor code.
6024 (blink-cursor-timer-function, blink-cursor-suspend):
6025 Don't special-case GUIs.
6026 (blink-cursor-mode): Use focus-in/out-hook.
6027
6f20dd03
DG
60282013-11-25 Dmitry Gutov <dgutov@yandex.ru>
6029
6030 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
6031 work when annotation is invisible (Bug#13886).
6032
431dec31 60332013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
6034
6035 * json.el (json-alist-p): Only return non-nil if the alist has
6036 simple keys (Bug#13518).
6037
431dec31 60382013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
6039
6040 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
6041 when control-statement is the first statement in a buffer (Bug#15956).
6042
ee4f0261
DG
60432013-11-24 Dmitry Gutov <dgutov@yandex.ru>
6044
6045 * imenu.el (imenu-generic-skip-comments-and-strings):
6046 New option (Bug#15560).
6047 (imenu--generic-function): Use it.
6048
c484f866
JS
60492013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
6050
e9dc713d
JB
6051 * minibuffer.el (completion--in-region-1): Scroll the correct window.
6052 (Bug#13898)
c484f866 6053
41ce6f70
BB
60542013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
6055
b55aea38
BB
6056 * emacs-lisp/helpers.el: Add some string helpers.
6057 (string-trim-left): Removes leading whitespace.
6058 (string-trim-right): Removes trailing whitespace.
6059 (string-trim): Removes leading and trailing whitespace.
6060
41ce6f70
BB
6061 * subr.el (string-suffix-p): New function.
6062
3cfb6af3
GM
60632013-11-23 Glenn Morris <rgm@gnu.org>
6064
6065 * progmodes/python.el (python-shell-send-file):
6066 Add option to delete file when done. (Bug#15647)
6067 (python-shell-send-string, python-shell-send-region): Use it.
6068
c27924b7
IS
60692013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
6070
e1b01c7f
IS
6071 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
6072 to set buffer-read-only to t, never to nil. (Bug#15938)
6073
c27924b7
IS
6074 * textmodes/tex-mode.el (latex-noindent-environments):
6075 Add safe-local-variable property. (Bug#15936)
6076
17e0445b
GM
60772013-11-23 Glenn Morris <rgm@gnu.org>
6078
92f78ea3
GM
6079 * textmodes/enriched.el (enriched-mode): Doc fix.
6080 * emacs-lisp/authors.el (authors-renamed-files-alist):
6081 Add enriched.doc -> enriched.txt.
6082
17e0445b
GM
6083 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
6084
965bb23a
LL
60852013-11-22 Leo Liu <sdl.web@gmail.com>
6086
6087 * progmodes/octave.el (inferior-octave-startup): Spit out error
6088 message.
6089
d19ffd64
BB
60902013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
6091
6092 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6093 Improve docstring.
15ba2182
BB
6094 Add :version.
6095 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 6096
7a7567d2
LL
60972013-11-22 Leo Liu <sdl.web@gmail.com>
6098
6099 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
6100 (Bug#15076)
8c09f64b
LL
6101 (octave-help-mode): Adapt to change to help-mode-finish to use
6102 derived-mode-p on 2013-09-17.
6103 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 6104 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 6105
724bc265
LL
61062013-11-22 Leo Liu <sdl.web@gmail.com>
6107
6108 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
6109 (inferior-octave-startup, inferior-octave-check-process)
6110 (inferior-octave-track-window-width-change)
6111 (octave-completion-at-point, octave-eldoc-function): Use it.
6112 (octave-kill-process): Provide confirmation. (Bug#10564)
6113
38637cca
LL
61142013-11-21 Leo Liu <sdl.web@gmail.com>
6115
511fa0d3
SM
6116 * progmodes/octave.el (octave-mode, inferior-octave-mode):
6117 Fix obsolete variable comment-use-global-state.
38637cca 6118
06e752b4
RS
61192013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6120
511fa0d3
SM
6121 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
6122 Add `octave-source-file'.
06e752b4
RS
6123 (octave-source-file): New function. (Bug#15935)
6124
7514d3f8 61252013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
604ede6c
TZ
6126
6127 * net/eww.el (eww-local-regex): New variable.
6128 (eww): Use it to detect localhost and similar.
6129
b6ffa04a
LL
61302013-11-21 Leo Liu <sdl.web@gmail.com>
6131
6132 Add completion for command `ag'.
2021a200
LL
6133 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
6134 (pcomplete/ag): New function.
e9dc713d 6135 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 6136
d1a6bccc
SM
61372013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6138
6139 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
6140 (bug#14646).
6141 (make-obsolete): Remove interactive spec.
6142
2df10228
GM
61432013-11-21 Glenn Morris <rgm@gnu.org>
6144
6145 * startup.el (command-line-1): Use path-separator with -L.
6146
86fd16b6
TZ
61472013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
6148
6149 * emacs-lisp/package.el (describe-package-1): Add package archive
6150 to shown fields.
6151
0449d6cd 61522013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
6153
6154 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6155 Change default to "# encoding: %s" to differentiate it from the
6156 default Ruby encoding comment template.
6157
dc7e8c17 61582013-11-20 era eriksson <era+emacsbugs@iki.fi>
6159
6160 * ses.el (ses-mode): Doc fix. (Bug#14748)
6161
f0cfa5fe
LL
61622013-11-20 Leo Liu <sdl.web@gmail.com>
6163
6164 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
6165
826dc7b6
DN
61662013-11-19 Dan Nicolaescu <dann@gnu.org>
6167
6168 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
6169 when rebase or bisect are in progress.
6170
a6e3a5d5
XF
61712013-11-19 Xue Fuqiao <xfq.free@gmail.com>
6172
6173 * filenotify.el (file-notify-add-watch): Doc fix.
6174
f130cb76
LL
61752013-11-19 Leo Liu <sdl.web@gmail.com>
6176
e0855d7d
LL
6177 * obsolete/rcompile.el: Mark obsolete.
6178
f130cb76 6179 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
6180 (compilation-goto-locus, compilation-find-file):
6181 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
6182 (Bug#13594)
6183
6184 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
6185 new parameter no-display-ok. Return either a window or nil
6186 but never a non-window value.
f130cb76 6187
1f35d401
SM
61882013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
6189
25158c76
SM
6190 * electric.el (electric-indent-mode-map): Remove.
6191 (electric-indent-mode): Change the global-map instead (bug#15915).
6192
6193 * textmodes/text-mode.el (paragraph-indent-minor-mode):
6194 Use add-function.
1f35d401 6195
9bc67baa
SM
61962013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
6197
986545b5
SM
6198 * emacs-lisp/nadvice.el (remove-function): Align with
6199 add-function's behavior.
6200
9bc67baa
SM
6201 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
6202 (gdb--string-regexp): New constant.
6203 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
6204 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
6205 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
6206 submatch 1.
6207 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
6208 Adjust use accordingly.
6209 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
6210
56cd894e
AS
62112013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
6212
6213 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
6214 interpolation curlies (Bug#15914).
6215
014690de
JB
62162013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
6217
6218 * calc/calc.el (calc-context-sensitive-enter): New variable.
6219 (calc-enter): Use `calc-context-sensitive-enter'.
6220
7e26a6c3
TZ
62212013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
6222
6223 * progmodes/cfengine.el: Version bump.
6224 (cfengine-cf-promises): New defcustom to locate cf-promises.
6225 (cfengine3-vartypes): Add new "data" type.
6226 (cfengine3--current-word): New function to get current name-like
6227 word or its bounds.
6228 (cfengine3--current-function): New function to look up a CFEngine
6229 function's definition.
6230 (cfengine3-format-function-docstring): New function.
6231 (cfengine3-make-syntax-cache): New function.
6232 (cfengine3-documentation-function): New function: ElDoc glue.
6233 (cfengine3-completion-function): New function: completion glue.
6234 (cfengine3-mode): Set `compile-command',
6235 `eldoc-documentation-function', and add to
6236 `completion-at-point-functions'.
6237
355204dd
MA
62382013-11-16 Michael Albinus <michael.albinus@gmx.de>
6239
6240 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6241 `tramp-current-connection'.
6242
43cebc23
DG
62432013-11-15 Dmitry Gutov <dgutov@yandex.ru>
6244
6245 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
6246 nil/self/true/false with "end of symbol".
6247
a3fed6ff
BB
62482013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
6249
6250 * subr.el (version-regexp-alist): Fix a typo.
6251
e675b3e4
MA
62522013-11-15 Michael Albinus <michael.albinus@gmx.de>
6253
6254 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
6255 "en_US.utf8" and "LC_CTYPE" to "".
6256 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
6257 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
6258
a1f03e89
LL
62592013-11-15 Leo Liu <sdl.web@gmail.com>
6260
6261 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
6262
5d9d9451
SM
62632013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6264
58362662
CS
6265 * progmodes/gud.el (ctl-x-map):
6266 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
6267 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
6268
6c1bf086
BB
62692013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
6270
0d5363c4
BB
6271 * subr.el (version-regexp-alist):
6272 Recognize hg, svn and darcs versions as snapshot versions.
6273
4e9fc48c
BB
6274 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
6275 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
6276 (ruby--encoding-comment-required-p): Extract from
6277 `ruby-mode-set-encoding'.
6278 (ruby-mode-set-encoding): Add the ability to always insert an
6279 utf-8 encoding comment. Fix and simplify coding comment update
6280 logic.
6c1bf086 6281
2f7e72f8
MA
62822013-11-14 Michael Albinus <michael.albinus@gmx.de>
6283
6284 * net/tramp-gvfs.el (top): Run init code only when
6285 `tramp-gvfs-enabled' is not nil.
6286 (tramp-gvfs-enabled): Check also :system bus.
6287
0f137a73
SM
62882013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6289
6290 Sync with upstream verilog-mode revision 78e66ba.
6291 * progmodes/verilog-mode.el (verilog-end-of-defun)
6292 (verilog-type-completion, verilog-get-list): Remove unused funcs.
6293 (verilog-get-end-of-defun): Remove unused argument.
6294 (verilog-comment-depth): Remove unused local `e'.
6295 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
6296 Don't pass arg to verilog-get-end-of-defun.
6297
1c276bdd
GM
62982013-11-14 Glenn Morris <rgm@gnu.org>
6299
6300 * obsolete/assoc.el (aget): Prefix dynamic variable.
6301
6302 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
6303
ff6ec81d
SM
63042013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6305
6306 * widget.el, hfy-cmap.el: Remove bogus package version number.
6307
75f777b6
GM
63082013-11-13 Glenn Morris <rgm@gnu.org>
6309
1d43dba1
GM
6310 * replace.el (replace-eval-replacement):
6311 Try to give more helpful error message. (Bug#15836)
6312
ff4b7bd5
GM
6313 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6314 (archive-7z-update): Avoid custom type mismatches.
6315
75f777b6
GM
6316 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
6317
11151a06
MA
63182013-11-13 Michael Albinus <michael.albinus@gmx.de>
6319
e675b3e4 6320 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
6321 address can be empty.
6322
6323 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
6324 Accept nil SWITCHES.
6325 (tramp-gvfs-handle-write-region): Implement APPEND.
6326
7b08f97e
DG
63272013-11-12 Dmitry Gutov <dgutov@yandex.ru>
6328
6329 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
6330 binary "|" operator and closing block args delimiter.
6331 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
6332 (ruby-smie--implicit-semi-p): Not after "|" operator.
6333 (ruby-smie--closing-pipe-p): New function.
6334 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
6335 (ruby-smie-rules): Indent after "|".
6336
f201cf3a
GM
63372013-11-12 Glenn Morris <rgm@gnu.org>
6338
6339 * ps-print.el (ps-face-attribute-list):
6340 Handle anonymous faces. (Bug#15827)
6341
e6f759f9
MR
63422013-11-12 Martin Rudalics <rudalics@gmx.at>
6343
6344 * window.el (display-buffer-other-frame): Fix doc-string.
6345 (Bug#15868)
6346
ecda65d4
SM
63472013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6348
6349 * subr.el (force-mode-line-update): Delete, move to buffer.c.
6350
7ce8fcc3
MA
63512013-11-11 Michael Albinus <michael.albinus@gmx.de>
6352
6353 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
6354 (tramp-sh-handle-file-local-copy): Don't write a message when
6355 saving temporary files.
6356
6357 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
6358 both directories are remote.
6359 (tramp-smb-handle-directory-files): Do not return double entries.
6360 Do not expand full file names.
6361 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
6362 (tramp-smb-handle-write-region): Implement APPEND.
6363 (tramp-smb-get-stat-capability): Fix a stupid bug.
6364
7818df11
SM
63652013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6366
6367 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
6368
608c2085
NT
63692013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6370
6371 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
6372 throwing error over malformed let/let* (bug#15814).
6373
122a7e46
SM
63742013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6375
6376 * iswitchb.el (iswitchb-mode): Mark obsolete.
6377
766284d9
GM
63782013-11-11 Glenn Morris <rgm@gnu.org>
6379
6380 * international/uni-bidi.el, international/uni-category.el:
6381 * international/uni-name.el, international/uni-numeric.el:
6382 Regenerate for Unicode 6.3.0.
6383
7072a4e9
MA
63842013-11-10 Michael Albinus <michael.albinus@gmx.de>
6385
6386 * net/tramp.el (tramp-methods):
6387 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
6388 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
6389
c9df215b
AS
63902013-11-09 Andreas Schwab <schwab@linux-m68k.org>
6391
608c2085
NT
6392 * progmodes/sh-script.el (sh-font-lock-keywords-var):
6393 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 6394
fa47d796
DG
63952013-11-09 Dmitry Gutov <dgutov@yandex.ru>
6396
6397 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 6398 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
6399 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
6400 (ispell-complete-word): Call `ispell-lookup-words' with the value
6401 independent of `ispell-look-p'.
6402
1629a329
DG
64032013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6404
6405 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
6406 Not after "||".
6407 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
6408 their parent.
6409
ad16897c
SM
64102013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6411
6412 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
6413 (ruby-font-lock-keywords): Use backquote.
6414
ffa2df72
DG
64152013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6416
6417 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6418 (ruby-smie--backward-token): Only consider full-string matches.
6419
5b97b4c0
JD
64202013-11-08 Jan Djärv <jan.h.d@swipnet.se>
6421
6422 * faces.el (describe-face): Add distant-foreground.
6423
71731c03
BB
64242013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
6425
4e9fc48c
BB
6426 * progmodes/ruby-mode.el: Improve encoding comment handling.
6427 (ruby-encoding-magic-comment-style): New option.
6428 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
6429 (ruby--insert-coding-comment, ruby--detect-encoding):
6430 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
6431 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
6432 to control the style of the auto-inserted encoding comment.
71731c03 6433
da3b328d
DG
64342013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6435
ad16897c
SM
6436 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
6437 Use `smie-backward-sexp' with token argument.
da3b328d 6438
1606c2d3
MA
64392013-11-08 Michael Albinus <michael.albinus@gmx.de>
6440
6441 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6442 Remove instrumentation code.
6443
b0f4c320
GM
64442013-11-08 Glenn Morris <rgm@gnu.org>
6445
6446 * progmodes/autoconf.el (autoconf-mode):
6447 Tweak comment-start-skip. (Bug#15822)
6448
43668fb1
SM
64492013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6450
6451 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
6452 at bobp (bug#15826).
6453 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
6454
daddb3fd
DH
64552013-11-08 Darren Hoo <darren.hoo@gmail.com>
6456
6457 * man.el (Man-start-calling): New macro, extracted from
6458 Man-getpage-in-background.
6459 (Man-getpage-in-background): Use it.
6460 (Man-update-manpage): New command.
6461 (Man-mode-map): Bind it.
6462
1f923923
DG
64632013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6464
6465 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
6466 of "and", "or", "&&" and "||".
6467 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
6468 argument. Prohibit opening curly brace because it could only be a
6469 block opener in that position.
daddb3fd
DH
6470 (ruby-smie--forward-token, ruby-smie--backward-token):
6471 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
6472 arguments.
6473 (ruby-smie--indent-to-stmt): New function, seeks the end of
6474 previous statement or beginning of buffer.
6475 (ruby-smie-rules): Use it.
6476 (ruby-smie-rules): Check if there's a ":" before a curly block
6477 opener candidate; if there is, it's a hash.
6478
3220d527
SM
64792013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
6480
6481 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
6482 (cl--block-wrapper): Fix last accidental change.
6483
1eb1f9e0
MA
64842013-11-07 Michael Albinus <michael.albinus@gmx.de>
6485
6486 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6487 Instrument, in order to hunt failure on hydra.
6488
e6e4db3c
NT
64892013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6490
6491 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
6492 malformed bindings form (bug#15814).
6493
b420ccfc
DG
64942013-11-07 Dmitry Gutov <dgutov@yandex.ru>
6495
6496 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
6497 "." compared to " @ ". This incidentally fixes some indentation
6498 examples with "do".
e6e4db3c 6499 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
6500 (ruby-smie-grammar): New tokens: "and" and "or".
6501 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
6502 Exclude "and" and "or". Remove "do" in order to work around token
6503 priorities.
6504 (ruby-smie-rules): Add all infix tokens. Handle the case of
6505 beginning-of-buffer.
b420ccfc 6506
6b4ac03e
GM
65072013-11-06 Glenn Morris <rgm@gnu.org>
6508
6509 * Makefile.in (setwins_almost, setwins_for_subdirs):
6510 Avoid accidental matches.
6511
5ca114d1
SM
65122013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6513
6514 * menu-bar.el (popup-menu): Use key-binding.
6515
f72552bd
EZ
65162013-11-06 Eli Zaretskii <eliz@gnu.org>
6517
6518 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
6519 menus, support also the menus produced by minor modes.
6520 (Bug#15817)
6521
5d5c701e
LL
65222013-11-06 Leo Liu <sdl.web@gmail.com>
6523
6524 * thingatpt.el (thing-at-point-looking-at): Add optional arg
e9dc713d 6525 DISTANCE to bound the search. All uses changed. (Bug#15808)
5d5c701e 6526
0a8b75e2
GM
65272013-11-06 Glenn Morris <rgm@gnu.org>
6528
6529 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
6530 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
6531 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 6532
a35287ea
SM
65332013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6534
feca4e2d
SM
6535 * electric.el (electric-indent-just-newline): New command.
6536 (electric-indent-mode-map): New keymap.
6537 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
6538 Re-add :group which weren't redundant.
6539
a35287ea
SM
6540 * electric.el (electric-indent-local-mode): New minor mode.
6541 (electric-indent-functions-without-reindent): New var.
6542 (electric-indent-post-self-insert-function): Use it.
6543 * emacs-lisp/gv.el (buffer-local-value): Add setter.
6544
375761b2
EZ
65452013-11-05 Eli Zaretskii <eliz@gnu.org>
6546
9a6ad735
EZ
6547 * international/quail.el (quail-help): Be more explicit about the
6548 meaning of the labels shown on the keys. (Bug#15800)
6549
375761b2
EZ
6550 * startup.el (normal-top-level): Load the subdirs.el files before
6551 setting the locale environment. (Bug#15805)
6552
520a6e4a
SM
65532013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
6554
0acfafef
SM
6555 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
6556 via arguments so as to get the right ones (bug#15418).
6557
520a6e4a
SM
6558 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
6559
15826261
MA
65602013-11-05 Michael Albinus <michael.albinus@gmx.de>
6561
6562 Fix problems found while writing a test suite.
6563
6564 * net/tramp-compat.el (tramp-compat-load): New defun.
6565 * net/tramp.el (tramp-handle-load): Use it.
6566
6567 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
6568 "(numberp ok-if-already-exists)" correctly.
6569
d35f31a4
XF
65702013-11-05 Xue Fuqiao <xfq.free@gmail.com>
6571
6572 * international/characters.el (glyphless-char-display-control):
6573 Add usage note.
6574
ae93bc74
BB
65752013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
6576
520a6e4a
SM
6577 * progmodes/python.el (python-mode):
6578 * progmodes/scheme.el (scheme-mode):
6579 * progmodes/prolog.el (prolog-mode):
6580 * progmodes/ruby-mode.el (ruby-mode):
6581 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
6582 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 6583
0ade65b5
SM
65842013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6585
a0d5f7a4
SM
6586 * rect.el (rectangle--highlight-for-redisplay):
6587 * emacs-lisp/smie.el (smie--next-indent-change):
6588 Use buffer-chars-modified-tick.
6589
c93f3f5c
SM
6590 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
6591
0ade65b5
SM
6592 * electric.el (electric-indent-post-self-insert-function):
6593 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
6594
ef9dd188
HE
65952013-11-04 Helmut Eller <eller.helmut@gmail.com>
6596
6597 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
6598
306e7308
NT
65992013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6600
6601 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
6602 (bug#15786).
6603
e5afbcac
SM
66042013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6605
1d01ad41
SM
6606 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
6607
e5afbcac
SM
6608 * progmodes/python.el: Fix up last change.
6609 (python-shell--save-temp-file): New function.
6610 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
6611 `string' comes from the current buffer.
6612 (python-shell-send-string-no-output): Remove `msg' arg.
6613 (python--use-fake-loc): New var.
6614 (python-shell-buffer-substring): Obey it. Try to compensate for the
6615 extra coding line added by python-shell--save-temp-file.
6616 (python-shell-send-region): Use python-shell--save-temp-file and
6617 python-shell-send-file directly. Add `nomain' argument.
6618 (python-shell-send-buffer): Use python-shell-send-region.
6619 (python-electric-pair-string-delimiter): New function.
6620 (python-mode): Use it.
6621
d0065ff1
EZ
66222013-11-04 Eli Zaretskii <eliz@gnu.org>
6623
6624 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
6625 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
6626 environment and decoding all of the default-directory's to here
6627 from command-line.
6628 (command-line): Decode also argv[0].
6629
6630 * loadup.el: Error out if default-directory is a multibyte string
6631 when we are dumping.
6632
6633 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
6634
7397c587
TZ
66352013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
6636
6637 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
6638 (package-menu--print-info, package-menu--archive-predicate):
6639 Add Archive column to package list.
7397c587 6640
b27cc9fc
MA
66412013-11-04 Michael Albinus <michael.albinus@gmx.de>
6642
6643 Fix problems found while writing a test suite.
6644
6645 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
6646 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
6647 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
6648 to nil when running original file name handler. Otherwise,
6649 there are problems with constructs like "$$FOO".
6650
6651 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
6652 for `localname'.
6653
d8c4f18a
BB
66542013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
6655
7b530552
BB
6656 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
6657
6658 * subr.el (version<, version<=, version=):
6659 Update docstrings with information for snapshot versions.
6660
d8c4f18a
BB
6661 * helpers.el: New library for misc helper functions.
6662 (hash-table-keys): New function returning a list of hash keys.
6663 (hash-table-values): New function returning a list of hash values.
6664
dca01b09
DG
66652013-11-04 Dmitry Gutov <dgutov@yandex.ru>
6666
6667 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6668 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
6669
0a749fa0
MN
66702013-11-04 Michal Nazarewicz <mina86@mina86.com>
6671
6672 * textmodes/fill.el (fill-single-char-nobreak-p): New function
6673 checking whether point is after a 1-letter word.
6674
66752013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
6676
6677 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
6678 Don't infloop when expanding region over `multiline' syntax-type that
6679 begins a line (bug#15778).
6680
4aca7145
SM
66812013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6682
6683 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
6684 Make it into a proper minor mode.
9b017563 6685 (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
4aca7145
SM
6686 (rectangle-mark-mode-map): New keymap.
6687 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
6688
a0833f62
GM
66892013-11-04 Glenn Morris <rgm@gnu.org>
6690
6691 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
6692
e61845c1
SM
66932013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
6694
6695 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
6696 (ruby-smie-rules): Use smie-rule-parent instead.
6697
6698 * emacs-lisp/smie.el (smie-rule-parent): Always call
6699 smie-indent-virtual rather than only for hanging tokens.
6700 (smie--next-indent-change): New helper command.
6701
62942f89
GM
67022013-11-03 Glenn Morris <rgm@gnu.org>
6703
6704 * Makefile.in (abs_srcdir): Remove.
6705 (emacs): Unset EMACSLOADPATH.
6706
b0b9e592
GM
67072013-11-02 Glenn Morris <rgm@gnu.org>
6708
18ba6a33 6709 * Makefile.in (EMACS): Use a relative filename.
8061810d 6710 (abs_top_builddir): Remove.
18ba6a33
GM
6711 (custom-deps, finder-data, autoloads): Use --chdir.
6712
6a8b929e
GM
6713 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
6714
c617f3d0
GM
6715 Use relative filenames in TAGS files.
6716 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
6717 (lisptagsfiles4, TAGS): Use relative file names.
6718 (TAGS-LISP): Remove.
6719 (maintainer-clean): No more TAGS-LISP file.
6720
b0b9e592
GM
6721 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
6722 (lisptagsfiles4): Use absolute filenames again.
6723 (TAGS, TAGS-LISP): Not everything needs to run in one line.
6724 Remove all *loaddefs files, not just the first. Remove esh-groups.
6725 (maintainer-clean): Delete TAGS, TAGS-LISP.
6726
d1c0ea6a
BB
67272013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6728
e61845c1
SM
6729 * emacs-lisp/package.el (package-version-join):
6730 Recognize snapshot versions.
d1c0ea6a 6731
684d71c6
BB
67322013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6733
6734 * subr.el (version-regexp-alist): Add support for snapshot versions.
6735
3d42b968
DG
67362013-11-02 Dmitry Gutov <dgutov@yandex.ru>
6737
e61845c1
SM
6738 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
6739 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
6740 skip over our direct parent if it's an assignment token..
6741 (ruby-smie-rules): Use it.
6742
7ffd3721
DG
67432013-11-02 Dmitry Gutov <dgutov@yandex.ru>
6744
8449dd1f 6745 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7ffd3721
DG
6746 unconditionally. Remove now unnecessary forward declarations.
6747 Remove XEmacs-specific setup.
6748 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
6749 (ruby-font-lock-syntactic-keywords)
6750 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
6751 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
6752 (ruby-here-doc-end-syntax): Remove.
6753 (ruby-mode): Don't check whether `syntax-propertize-rules' is
6754 defined as function.
6755
a3996a2e
BB
67562013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6757
6758 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
6759
6f9260e8
BB
67602013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
6761
6762 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
6763 table and abbrev table, `define-derived-mode' does that for us
6764 anyway.
6765
6014de84
GM
67662013-11-01 Glenn Morris <rgm@gnu.org>
6767
6768 * Makefile.in: Remove manual mh-e dependencies (writing .elc
6769 files is atomic for some time, so no parallel compilation issues).
6770
3c334c14
JD
67712013-11-01 Jan Djärv <jan.h.d@swipnet.se>
6772
6773 * faces.el (face-x-resources): Add :distant-foreground.
6774 (region): Use :distant-foreground for gtk and ns.
6775
9bc236c8
TH
67762013-11-01 Tassilo Horn <tsdh@gnu.org>
6777
5246583b 6778 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
6779 BibTeX.
6780 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
6781 (reftex-locate-bibliography-files): Us it.
6782
d14c81ee
CB
67832013-11-01 Claudio Bley <claudio.bley@googlemail.com>
6784
0e7690de
CB
6785 * image.el (image-type-header-regexps): Fix the 'pbm' part to
6786 allow comments in pbm files.
6787
d14c81ee
CB
6788 * term/w32-win.el (dynamic-library-alist): Support newer versions
6789 of libjpeg starting with v7: look only for the DLL from the
6790 version against which Emacs was built.
ac1bf374 6791 Support versions of libpng beyond 1.4.x.
019c8218 6792 Support libtiff v4.x.
d14c81ee 6793
983d0df5
BB
67942013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
6795
6796 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
6797 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
6798 Add property :safe.
6799 (ruby-deep-arglist): Add property :type.
6800
47f58d85
GM
68012013-10-31 Glenn Morris <rgm@gnu.org>
6802
6803 * Makefile.in (custom-deps, finder-data): No need to setq the target
6804 variables, we are in the right directory and the defaults work fine.
6805
4f85b479
GM
68062013-10-30 Glenn Morris <rgm@gnu.org>
6807
ca7dd4cd
GM
6808 * Makefile.in (autoloads): Do not use abs_lisp.
6809
4f85b479
GM
6810 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6811 `newline' does not respect `standard-output', so use `princ'.
6812
cf59e41c
AA
68132013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
6814
6815 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
6816 * buff-menu.el (Buffer-menu--unmark): New function.
6817 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
6818
74cf04fb
GM
68192013-10-30 Glenn Morris <rgm@gnu.org>
6820
b040b60e
GM
6821 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
6822
f53d3815
GM
6823 * emacs-lisp/package.el (lm-homepage): Declare.
6824
5413d873
GM
6825 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
6826 Fix doc typos.
6827
cecedb36
GM
6828 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
6829
74cf04fb
GM
6830 * Makefile.in (finder-data, autoloads, update-subdirs)
6831 (compile-main, compile-clean, compile-always, bootstrap-clean):
6832 Check return value of cd.
6833 (compile-calc): Remove.
6834
195ee2f0
SM
68352013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
6836
ae4002ce
SM
6837 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
6838
6839 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
6840 (byte-compile-and-folded): New function.
6841 (=, <, >, <=, >=): Use it.
6842
6843 * dos-w32.el (minibuffer-history-case-insensitive-variables)
6844 (path-separator, null-device, buffer-file-coding-system)
6845 (lpr-headers-switches): Check system-type before modifying them.
6846 (find-buffer-file-type-coding-system): Mark obsolete.
6847 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
6848 find-file-not-found-set-buffer-file-coding-system.
35e951cd 6849 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
ae4002ce 6850 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
35e951cd 6851 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
ae4002ce
SM
6852 (w32-direct-print-region-helper, w32-direct-print-region-function)
6853 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
6854 * startup.el (normal-top-level-add-subdirs-to-load-path):
6855 * ps-print.el (ps-print-region-function):
6856 * lpr.el (print-region-function): Use new name.
6857
53b39e89
SM
6858 * subr.el (custom-declare-variable-early): Remove function.
6859 (custom-declare-variable-list): Remove var.
6860 (error, user-error): Remove `while' loop.
6861 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
6862 (user-emacs-directory-warning, locate-user-emacs-file):
6863 Move to files.el.
6864 * simple.el (read-quoted-char-radix, read-quoted-char):
6865 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
6866 Move from subr.el.
6867 * custom.el (custom-declare-variable-list): Don't process
6868 custom-declare-variable-list.
6869
195ee2f0
SM
6870 * progmodes/python.el (python-shell-get-buffer): New function.
6871 (python-shell-get-process): Use it.
6872 (python-shell-send-string): Always use utf-8 and add a cookie to tell
6873 Python which encoding was used. Don't split-string since we only care
6874 about the first line. Return the temp-file, if applicable.
6875 (python-shell-send-region): Tell compile.el how to turn locations in
6876 the temp-file into locations in the source buffer.
6877
7e3561ee
SM
68782013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
6879
4c9797cb
SM
6880 * subr.el (undefined): Add missing behavior from the C code for
6881 unbound keys.
6882
3472b6c6
SM
6883 * rect.el: Use lexical-binding. Add new rectangular region support.
6884 (rectangle-mark): New command.
6885 (rectangle--region): New var.
6886 (deactivate-mark-hook): Reset rectangle--region.
6887 (rectangle--extract-region, rectangle--insert-for-yank)
6888 (rectangle--highlight-for-redisplay)
6889 (rectangle--unhighlight-for-redisplay): New functions.
6890 (region-extract-function, redisplay-unhighlight-region-function)
6891 (redisplay-highlight-region-function): Use them to handle
6892 rectangular region.
6893 * simple.el (region-extract-function): New var.
6894 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
6895 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
6896 (kill-region): Replace obsolete `yank-handler' arg with `region'.
6897 (copy-region-as-kill, kill-ring-save): Add `region' argument.
6898 (redisplay-unhighlight-region-function)
6899 (redisplay-highlight-region-function): New vars.
6900 (redisplay--update-region-highlight): New function.
6901 (pre-redisplay-function): Use it.
6902 (exchange-point-and-mark): Don't deactivate the mark before
6903 reactivate-it anyway.
6904 * comint.el (comint-kill-region): Remove yank-handler argument.
6905 * delsel.el (delete-backward-char, backward-delete-char-untabify)
6906 (delete-char): Remove property, since it's now part of their
6907 default behavior.
6908 (self-insert-iso): Remove property since this command doesn't exist.
6909
7e3561ee
SM
6910 * emacs-lisp/package.el (package--download-one-archive)
6911 (describe-package-1): Don't query the user about final newline.
6912
b9bef71f
DC
69132013-10-29 Daniel Colascione <dancol@dancol.org>
6914
6915 * net/tramp.el (tramp-methods): Document new functionality.
6916 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
6917 tramp-hostname-checker if method provides one instead of scanning
6918 argument list for "%h" to decide hostname acceptability.
6919
4efc33f0
MA
69202013-10-28 Michael Albinus <michael.albinus@gmx.de>
6921
6922 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
6923 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
6924 Handle COPY-CONTENTS. (Bug#15737)
6925
ed42a877
DU
69262013-10-28 Daiki Ueno <ueno@gnu.org>
6927
9b017563 6928 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
7e3561ee 6929 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 6930
18c9f8a2
XF
69312013-10-27 Xue Fuqiao <xfq.free@gmail.com>
6932
35e951cd 6933 * image.el (defimage, image-load-path): Doc fixes.
18c9f8a2 6934
b1e8e010
AM
69352013-10-27 Alan Mackenzie <acm@muc.de>
6936
6937 Indent statements in macros following "##" correctly.
7e3561ee
SM
6938 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
6939 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 6940
73d40d1e 69412013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
6942
6943 * linum.el (linum-update-window): Fix boundary test (bug#13446).
6944
c8c605ac
DG
69452013-10-27 Dmitry Gutov <dgutov@yandex.ru>
6946
6947 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
6948 after `=' is probably a new expression.
6949
ca7e59d4
RS
69502013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6951
6952 * man.el (man-imenu-title): New option.
6953 (Man-mode-map): Add menu. (Bug#15722)
6954 (Man-mode): Add imenu to menu.
6955
bae91342
DG
69562013-10-26 Dmitry Gutov <dgutov@yandex.ru>
6957
6958 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
6959 specific in what the first arg can be: a non-keyword word,
6960 string/regexp/percent literal opener, opening paren, or unary
6961 operator followed directly by word.
6962
eb89dc14
SM
69632013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6964
6965 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
6966 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
6967 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
6968 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
6969 Remove vars, they do not apply any more.
6970 (prolog-mode-abbrev-table): Remove redundant declaration.
6971 (prolog-upper-case-string, prolog-lower-case-string): Remove.
6972 (prolog-use-smie): Remove.
6973 (prolog-smie-rules): Add indentation rule for the if-then-else layout
6974 supported by prolog-electric-if-then-else-flag.
6975 (prolog-mode-variables, prolog-menu): Use setq-local.
6976 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
6977 Remove binding to `Backspace' since this key doesn't exist anyway.
6978 Remove bindings for electric self-inserting keys.
6979 (prog-mode): Assume it's defined.
6980 (prolog-post-self-insert): New function.
6981 (prolog-mode): Use it.
6982 (prolog-indent-line, prolog-indent-level)
6983 (prolog-find-indent-of-matching-paren)
6984 (prolog-indentation-level-of-line, prolog-goto-comment-column)
6985 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
6986 (prolog-goto-next-paren, prolog-in-string-or-comment)
6987 (prolog-tokenize, prolog-inside-mline-comment)
6988 (prolog-find-start-of-mline-comment): Remove functions.
6989 (prolog-find-unmatched-paren, prolog-clause-end)
6990 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
6991 (prolog-electric--if-then-else): Rename from
6992 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
6993 (prolog-tokenize-searchkey): Remove const.
6994 (prolog-clause-info): Use forward-sexp.
6995 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
6996 (prolog-electric-if-then-else): Remove commands.
6997 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
6998 for use in post-self-insert-hook.
6999 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
7000 for use in post-self-insert-hook.
7001 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
7002 for use in post-self-insert-hook.
7003 (prolog-electric--underscore): Rename from prolog-electric--underscore;
7004 adapt it for use in post-self-insert-hook.
7005
3dab0a83
MA
70062013-10-25 Michael Albinus <michael.albinus@gmx.de>
7007
7008 * emacs-lisp/ert.el (ert-run-tests-interactively):
7009 Use `completing-read'. (Bug#9756)
7010
fbfd0e1d
EZ
70112013-10-25 Eli Zaretskii <eliz@gnu.org>
7012
7013 * simple.el (line-move): Call line-move-1 instead of
7014 line-move-visual when the current window hscroll is zero, but
7015 temporary-goal-column indicates we will need to hscroll as result
7016 of the movement. (Bug#15712)
7017
963ce636
DG
70182013-10-25 Dmitry Gutov <dgutov@yandex.ru>
7019
7020 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
7021 capitalization. Use :visible instead of :active.
7022 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
7023 commands that are used with SMIE.
7024 (ruby-do-end-to-brace): Insert space after `{'.
7025
a0be396a
JA
70262013-10-25 John Anthony <john@jo.hnanthony.com>
7027
f73754c9
JA
7028 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
7029
7030 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 7031
f5bf77df
GM
70322013-10-25 Glenn Morris <rgm@gnu.org>
7033
7034 * vc/vc.el (vc-print-log): Don't use a working revision unless
7035 one was explicitly specified. (Bug#15322)
7036
37241f62
SM
70372013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7038
7039 * subr.el (add-to-list): Preserve return value in compiler-macro
7040 (bug#15692).
7041
6408a65d
RS
70422013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7043
7044 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
7045 result. Ask user to retry using '-all' flag. (Bug#15701)
7046
71e3276b
SM
70472013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7048
7049 * emacs-lisp/smie.el: New smie-config system.
7050 (smie-config): New defcustom.
7051 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
7052 (smie-config-guess, smie-config-save): New commands.
7053 (smie-config--mode-local, smie-config--buffer-local)
7054 (smie-config--trace, smie-config--modefuns): New vars.
7055 (smie-config--advice, smie-config--mode-hook)
7056 (smie-config--setter, smie-config-local, smie-config--get-trace)
7057 (smie-config--guess-value, smie-config--guess): New functions.
7058 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
7059 text properties. Treat "string fence" syntax like string syntax.
7060
7061 * progmodes/sh-script.el (sh-use-smie): Change default.
7062 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
7063 (sh-var-value): Simplify by CSE.
7064 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
7065 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
7066 is used.
7067 (sh-guess-basic-offset): Use cl-incf.
7068 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
7069
60db713e
HE
70702013-10-24 Helmut Eller <eller.helmut@gmail.com>
7071
7072 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
7073 (bug#15699).
7074
8b251df6
GM
70752013-10-24 Glenn Morris <rgm@gnu.org>
7076
7077 * Makefile.in (abs_top_srcdir): Remove.
7078 (update-subdirs): Use relative path to update-subdirs.
7079
6be0e22b
EZ
70802013-10-24 Eli Zaretskii <eliz@gnu.org>
7081
7082 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
7083 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
7084 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
7085 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 7086
50b5b857
MA
70872013-10-24 Michael Albinus <michael.albinus@gmx.de>
7088
7089 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
7090 (ert-test-skipped): New error.
7091 (ert-skip, ert-stats-skipped): New defuns.
7092 (ert--skip-unless): New macro.
7093 (ert-test-skipped): New struct.
7094 (ert--run-test-debugger, ert-test-result-type-p)
7095 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
7096 (ert--stats-set-test-and-result, ert-char-for-test-result)
7097 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 7098 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 7099 Handle skipped tests. (Bug#9803)
50b5b857 7100
6f317c2f
GM
71012013-10-24 Glenn Morris <rgm@gnu.org>
7102
e43817c1
GM
7103 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
7104
6f317c2f
GM
7105 * Makefile.in (abs_top_srcdir): New, set by configure.
7106 (update-subdirs): Correct build-aux location.
7107
369bbf71
DG
71082013-10-24 Dmitry Gutov <dgutov@yandex.ru>
7109
8297b2cf
DG
7110 * vc/vc.el (vc-print-root-log): Always set `default-directory'
7111 value, whether we could auto-deduce `backend', or not.
7112
369bbf71
DG
7113 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
7114 with parameters" example. Simplify the "is it block or is it
7115 hash" check, but also make it more thorough.
7116
d5f1282f
MF
71172013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
7118
7119 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
7120
bc4aaa31
SM
71212013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7122
03d44565
SM
7123 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
7124 { if it is hanging.
7125
bc4aaa31
SM
7126 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
7127 :before ";".
7128
f493ff19
JB
71292013-10-23 Jed Brown <jed@59A2.org> (tiny change)
7130
7131 * progmodes/compile.el (compilation-directory-matcher)
7132 (compilation-page-delimiter):
7133 Support GNU Make-4.0 directory quoting. (Bug#15678)
7134
c744a3b9
LL
71352013-10-23 Leo Liu <sdl.web@gmail.com>
7136
7137 * ido.el (ido-tidy): Handle read-only text.
7138
b8e3b0a9
GM
71392013-10-23 Glenn Morris <rgm@gnu.org>
7140
7141 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
7142 (emacs, compile, compile-always):
7143 Quote entities that might contain whitespace.
7144 (custom-deps, finder-data, autoloads): Use abs_lisp.
7145 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7146 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7147 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
7148
ee4282cd
DG
71492013-10-23 Dmitry Gutov <dgutov@yandex.ru>
7150
bc4aaa31
SM
7151 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
7152 Use `following-char'.
7790a270 7153
ee4282cd 71542013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
7155
7156 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
7157 * progmodes/ruby-mode.el (ruby-smie-rules):
7158 Remove corresponding workaround. Fix indentation rule of ";" so it
7159 also applies when ";" is the parent.
7160
d40a46d7
XF
71612013-10-22 Xue Fuqiao <xfq.free@gmail.com>
7162
7163 * frame.el (display-screens, display-pixel-height)
7164 (display-pixel-width, display-mm-width, display-backing-store)
7165 (display-save-under, display-planes, display-color-cells)
7790a270
SM
7166 (display-visual-class, display-monitor-attributes-list):
7167 Mention the optional ‘display’ argument in doc strings.
d40a46d7 7168
a0f143c9
MG
71692013-10-22 Michael Gauland <mikelygee@amuri.net>
7170
7171 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
7172 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
7173
18cacc39
DG
71742013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7175
7176 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
7177 TODO. Add "." after " @ ".
7178 (ruby-smie--at-dot-call): New function. Checks if point at method
7179 call with explicit target.
7180 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
7181 to the method name tokens when it precedes them.
7182 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
7183 (ruby-smie-rules): Add rule for indentation before and after "."
7184 token.
7185
df74c4be
SM
71862013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
7187
c6dab55f
SM
7188 * textmodes/remember.el (remember-diary-extract-entries):
7189 Avoid add-to-list.
7190
df74c4be
SM
7191 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
7192 an instruction.
7193
8c1ae481
DG
71942013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7195
e9dc713d
JB
7196 * progmodes/ruby-mode.el (ruby-smie-grammar):
7197 Add (almost) all infix operators.
cfef16c0
DG
7198 (ruby-smie--implicit-semi-p): Add new operator chars.
7199
8c1ae481
DG
7200 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
7201 `smie-down-list'.
7202 (ruby-smie--args-separator-p): Check that there's no newline
7203 between method call and its arguments.
7204
87756ca9
AM
72052013-10-20 Alan Mackenzie <acm@muc.de>
7206
7207 Allow comma separated lists after Java "implements".
7208
df74c4be
SM
7209 * progmodes/cc-engine.el (c-backward-over-enum-header):
7210 Parse commas.
87756ca9
AM
7211 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
7212 from a "disallowed" list in enum fontification.
7213
c25f8957
JB
72142013-10-20 Johan Bockgård <bojohan@gnu.org>
7215
df74c4be 7216 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 7217
c25f8957
JB
7218 * progmodes/verilog-mode.el (verilog-mode): Don't set
7219 comment-indent-function globally.
7220
aca5fcdc
JD
72212013-10-20 Jan Djärv <jan.h.d@swipnet.se>
7222
5f161884
JD
7223 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
7224 Move Info menu item creation to ns-win.el.
7225
7226 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
7227 in menu bar.
7228
a6c4680a 7229 * menu-bar.el: Move GNUstep specific menus...
aca5fcdc
JD
7230
7231 * term/ns-win.el (ns-initialize-window-system): ... to here.
7232
914b7f98
SM
72332013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7234
7235 * simple.el (newline): Only run post-self-insert-hook when
7236 called interactively.
7237
846ffe77
JB
72382013-10-19 Johan Bockgård <bojohan@gnu.org>
7239
7240 * icomplete.el (icomplete-with-completion-tables): Add :version.
7241
033f22dd
AM
72422013-10-19 Alan Mackenzie <acm@muc.de>
7243
7244 Fix fontification bugs with constructors and const.
7245
7246 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
7247 CASE 2) Remove the check for the absence of a suffix construct
7248 after a function declaration with only types (no identifiers) in
7249 the parentheses. Also, accept a function declaration with just a
7250 type inside the parentheses, if this type can be positively
7251 recognised as such, or if a prefix keyword like "explicit" nails
7252 down the construct as a declaration.
7253
58ce0cfc
EZ
72542013-10-19 Eli Zaretskii <eliz@gnu.org>
7255
7256 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
7257 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
7258 the problem whereby selecting a menu item that leads to a
7259 minibuffer prompt moves the cursor out of the minibuffer window,
7260 making it hard to type at the prompt. Suggested by Stefan Monnier
7261 <monnier@iro.umontreal.ca>.
7262
50e28e7d
JD
72632013-10-19 Jan Djärv <jan.h.d@swipnet.se>
7264
7265 * menu-bar.el: Don't make Services menu.
7266
7deed4bf
RS
72672013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7268
7269 * ffap.el: Handle "/usr/include/c++/<version>" directories.
7270 (ffap-alist): Use ffap-c++-mode for c++-mode.
7271 (ffap-c++-path): New variable.
7272 (ffap-c++-mode): New function.
7273
7bcb455b
JVJ
72742013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
7275
7276 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
7277
f0ff1cd5
MA
72782013-10-18 Michael Albinus <michael.albinus@gmx.de>
7279
7280 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
7281 introduced on 2013-09-08, which results in an infinite loop
7282 requesting a password.
7283
d64da4b7
GM
72842013-10-18 Glenn Morris <rgm@gnu.org>
7285
7286 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
7287
ea89ff08
WS
72882013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
7289
7290 Sync with upstream verilog-mode revision 1a6ecec7.
7291 * progmodes/verilog-mode.el (verilog-mode-version): Update.
7292 (verilog-mode-release-date): Remove.
7293 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
7294 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
7295 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
7296 (verilog-auto-tieoff-ignore-regexp)
7297 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
7298 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
7299 (verilog-signals-with, verilog-dir-cache-preserving)
7300 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
7301 Doc fixes.
7302 (verilog-case-fold): New option, to control case folding in
7303 regexp searches, bug597.
7304 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
7305 (verilog-string-match-fold, verilog-in-paren-count)
7306 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
7307 (verilog-at-close-struct-p): New functions.
7308 (verilog-beg-block-re-ordered, verilog-extended-case-re)
35e951cd 7309 (verilog-forward-sexp, verilog-set-auto-endcomments)
ea89ff08
WS
7310 (verilog-leap-to-case-head): Handle "unique0" case.
7311 (verilog-in-constraint-re): New constant.
7312 (verilog-keywords, verilog-type-font-keywords):
7313 Add some SystemVerilog 1800-2012 keywords.
7314 (verilog-label-be): Remove unimplemented argument, bug669.
7315 (verilog-batch-execute-func): When batch expanding clear
7316 create-lockfiles to prevent spurious user locks when a file ends
7317 up not changing.
7318 (verilog-calculate-indent, verilog-calc-1)
7319 (verilog-at-close-constraint-p, verilog-at-constraint-p)
7320 (verilog-do-indent): Fix indentation of nested constraints
7321 and structures.
7322 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
7323 (verilog-auto-inst-param): Use verilog-string-match-fold.
7324 (verilog-read-inst-module-matcher):
7325 Fix AUTOINST on gate primitives with #1.
7326 (verilog-read-decls): Fix double-declaring user-defined typed signals.
7327 Reads all user-defined typed variables.
7328 (verilog-read-defines): Fix reading definitions inside comments, bug647.
7329 (verilog-signals-matching-regexp)
7330 (verilog-signals-not-matching-regexp, verilog-auto):
7331 Respect verilog-case-fold.
7332 (verilog-diff-report): Fix line count.
7333 (verilog-auto-assign-modport): Remove unused local `modi'.
7334 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
7335 better handle multidimensional arrays.
7336 Fix packed array ports misadding bit index in AUTOINST, bug637.
7337 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
7338 to not double-declare existing outputs and inputs, respectively.
7339 (verilog-template-map): Bind U to verilog-sk-uvm-component.
7340 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
7341 (verilog-sk-uvm-component): New skeleton.
7342 (verilog-submit-bug-report): Add verilog-case-fold,
7343 remove verilog-mode-release-date.
7344
ef566920
BR
73452013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
7346
a12bf61e 7347 * subr.el (sit-for): Call (input-pending-p t) so as to behave
ef566920
BR
7348 as before.
7349
29df8a0b
RT
73502013-10-18 Reuben Thomas <rrt@sc3d.org>
7351
e0eb0550 7352 * textmodes/remember.el (remember): Set buffer-offer-save in
29df8a0b
RT
7353 remember buffers (bug#13566).
7354
04a19a79
DC
73552013-10-18 Daniel Colascione <dancol@dancol.org>
7356
7357 When evaluating forms in ielm, direct standard output to ielm
7358 buffer. Add new ielm-return-for-effect command. Remove trailing
7359 whitespace throughout.
7360
7361 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
7362 (ielm-return-for-effect): New command.
7363 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
7364 (ielm-eval-input): Accept optional `for-effect' parameter.
7365 Bind `standard-output' to stream we create using
04a19a79
DC
7366 `ielm-standard-output-impl'. Suppress printing result when
7367 `for-effect'.
7368 (ielm-standard-output-impl): New function.
7369 (inferior-emacs-lisp-mode): Explain new features in documentation.
7370
4c1f03ef
MA
73712013-10-17 Michael Albinus <michael.albinus@gmx.de>
7372
7373 Code cleanup.
7374
7375 * net/tramp.el (tramp-debug-message): Do not check for connection
7376 buffer.
7377 (tramp-message): Use "vector" connection property.
7378
7379 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
7380 (tramp-equal-remote, tramp-eshell-directory-change)
7381 * net/tramp-adb.el (tramp-adb-handle-copy-file)
7382 (tramp-adb-handle-rename-file)
7383 * net/tramp-cmds.el (tramp-list-remote-buffers)
7384 (tramp-cleanup-connection, tramp-cleanup-this-connection)
7385 * net/tramp-compat.el (tramp-compat-process-running-p)
7386 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
7387 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
7388 (tramp-gvfs-handle-rename-file)
7389 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
7390 (tramp-set-file-uid-gid)
7391 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7392 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
7393 of `file-remote-p'.
7394
7395 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
7396 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7397 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
7398 (tramp-gw-open-network-stream): Suppress unrelated traces.
7399
7400 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
7401 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7402 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7403 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
7404 connection property.
7405
7406 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 7407 persistency file.
4c1f03ef
MA
7408
7409 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7410 Refactor common code. Improve debug message.
7411 (tramp-maybe-open-connection)
7412 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
7413 connection buffer too early.
7414
7415 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
7416 from `tramp-smb-actions-with-acl'.
7417 (tramp-smb-actions-set-acl): New defconst.
7418 (tramp-smb-handle-copy-directory)
7419 (tramp-smb-action-get-acl): New defun, renamed from
7420 `tramp-smb-action-with-acl'.
7421 (tramp-smb-action-set-acl): New defun.
7422 (tramp-smb-handle-set-file-acl): Rewrite.
7423
642eb8b6
GM
74242013-10-17 Glenn Morris <rgm@gnu.org>
7425
7426 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
7427
85527ff3
SM
74282013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7429
921c1d62
SM
7430 * skeleton.el (skeleton-newline): Remove.
7431 (skeleton-internal-1): Use (insert "\n") instead.
7432
e333fb10
SM
7433 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
7434 let-bindings.
7435
85527ff3
SM
7436 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
7437 forward-sexp-function while we redo its job (bug#15613).
7438
c8722a97
JB
74392013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
7440
7441 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
7442 represented by lists.
7443
7a550bbb
GM
74442013-10-16 Glenn Morris <rgm@gnu.org>
7445
7446 * tmm.el (tmm--history): New dynamic variable.
7447 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
7448
f19da8ad
MA
74492013-10-16 Michael Albinus <michael.albinus@gmx.de>
7450
7451 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
7452 (tramp-smb-errors): Add error messages.
7453 (tramp-smb-actions-with-acl): New defconst.
afe1e4c8 7454 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
f19da8ad
MA
7455 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
7456 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
7457 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
7458 (tramp-smb-get-stat-capability): Fix tests.
7459
a24b9961
DK
74602013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
7461
7462 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
7463 (bug#15580).
7464
62ad85e6
GM
74652013-10-16 Glenn Morris <rgm@gnu.org>
7466
0283d6b0
GM
7467 * ansi-color.el (ansi-color-drop-regexp):
7468 Add 1J, 1K, 2K. (Bug#15617)
7469
012e2f9f
GM
7470 * files.el (hack-local-variables--warned-lexical): New.
7471 (hack-local-variables):
7472 Warn about misplaced lexical-binding. (Bug#15616)
7473
62ad85e6
GM
7474 * net/eww.el (eww-render): Always set eww-current-url,
7475 and update header line. (Bug#15622)
7476 (eww-display-html): ... Rather than just doing it here.
7477
6456c0ea
EZ
74782013-10-15 Eli Zaretskii <eliz@gnu.org>
7479
7480 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
7481 menu navigations commands.
7482
c2de5588
DK
74832013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
7484
7485 * progmodes/subword.el (subword-capitalize): Be careful when
7486 the search for [[:alpha:]] fails (bug#15580).
7487
ccd4a783
EZ
74882013-10-14 Eli Zaretskii <eliz@gnu.org>
7489
7490 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
7491 to commands that scroll the menu.
7492
1eda1d8d
DG
74932013-10-14 Dmitry Gutov <dgutov@yandex.ru>
7494
c2de5588
DK
7495 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
7496 Handle methods ending with `?' and `!'.
1eda1d8d 7497
e70181b8
AM
74982013-10-14 Akinori MUSHA <knu@iDaemons.org>
7499
7500 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
7501 `japanese-cp932' to `cp932' to fix the problem where saving a
7502 source file written in Shift_JIS twice would end up having
7503 `coding: japanese-cp932' which Ruby could not recognize.
7504 (ruby-mode-set-encoding): Add support for encodings mapped to nil
7505 in `ruby-encoding-map'.
7506 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
7507 doesn't need to be explicitly declared in magic comment.
7508 (ruby-encoding-map): Add type declaration for better customize UI.
7509
9148ee92
GM
75102013-10-13 Glenn Morris <rgm@gnu.org>
7511
a5d38e34
GM
7512 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
7513 Occur buffers are read-only. http://bugs.debian.org/720775
7514
9148ee92
GM
7515 * emacs-lisp/authors.el (authors-fixed-entries):
7516 Comment out old alpha stuff.
7517
a9ba094b
DG
75182013-10-13 Dmitry Gutov <dgutov@yandex.ru>
7519
7520 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
7521 to `after-save-hook' instead of `before-save-hook'.
7522 (ruby-mode-set-encoding): Use the value of coding system used to
7523 write the file. Call `basic-save-buffer-1' after modifying the
7524 buffer.
7525
7a068717
AM
75262013-10-13 Alan Mackenzie <acm@muc.de>
7527
7528 Fix indentation/fontification of Java enum with
7529 "implements"/generic.
7530
c2de5588
DK
7531 * progmodes/cc-engine.el (c-backward-over-enum-header):
7532 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
7533 (c-inside-bracelist-p): Uses new function above.
7534 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
7535 function above.
7536 (c-font-lock-enum-tail): Uses new function above.
7537
85b64f02
KH
75382013-10-13 Kenichi Handa <handa@gnu.org>
7539
7540 * international/mule-cmds.el (select-safe-coding-system): Remove a
7541 superfluous condition in chekcing whether a coding system is safe
7542 or not.
7543
fc7f501b
OK
75442013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
7545
7546 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
7547
fdcb2049
AP
75482013-10-13 Andreas Politz <politza@hochschule-trier.de>
7549
7550 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
7551
8c106d17
GM
75522013-10-13 Glenn Morris <rgm@gnu.org>
7553
feab892d
GM
7554 * menu-bar.el (menu-bar-update-buffers):
7555 Unify Buffers menu prompt string. (Bug#15576)
7556
b22d0686
GM
7557 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
7558
8c106d17
GM
7559 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
7560 Add some entries.
7561 (authors-fixed-entries): Use accented form of name.
7562
1b12c797
SM
75632013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7564
650fa7bf 7565 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 7566 method calls (bug#15594).
650fa7bf
SM
7567 (ruby-smie--args-separator-p): New function.
7568 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
7569 recognize paren-free method calls.
7570
1b12c797
SM
7571 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
7572 internals of universal-argument.
7573
029619c8
EZ
75742013-10-11 Eli Zaretskii <eliz@gnu.org>
7575
7576 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
7577 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
7578 dropped menu on second mouse click on the menu bar.
029619c8 7579
dd070019
SM
75802013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7581
7582 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
7583 (explicit-shell-file-name): Declare.
7584 (sh--vars-before-point, sh--cmd-completion-table): New functions.
7585 (sh-completion-at-point-function): New function.
7586 (sh-mode): Use it.
7587 (sh-smie--keyword-p): Remove unused argument.
7588 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
7589 vars.
7590 (sh-set-shell): Always setup SMIE, even if we use the
7591 old indentation code.
7592
0922b826
DG
75932013-10-11 Dmitry Gutov <dgutov@yandex.ru>
7594
b68e2926
DG
7595 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
7596 cases of ? and =.
7597 (ruby-smie-rules): Simplify the "do" rule. The cases when the
7598 predicate would return nil are almost non-existent.
7599 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
7600
0922b826
DG
7601 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
7602 cache also after commands that modify the buffer but don't move
7603 point.
7604
ee041f2d
SM
76052013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7606
7607 * env.el (substitute-env-in-file-name): New function.
7608 (substitute-env-vars): Extend the meaning of the optional arg.
7609
a5dab159
EZ
76102013-10-10 Eli Zaretskii <eliz@gnu.org>
7611
7612 * term/w32-win.el (dynamic-library-alist): Define separate lists
7613 of GIF DLLs for versions before and after 5.0.0 of giflib.
7614 (Bug#15531)
7615
0449d6cd 76162013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
7617
7618 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
7619 not locked, use last revision and current source as
7620 defaults. (Bug#15569)
7621
2f6e161e
MY
76222013-10-10 Masatake YAMATO <yamato@redhat.com>
7623
7624 * menu-bar.el (menu-bar-open): Don't use popup-menu if
7625 menu-bar is hidden.
7626
6c8413fc
MR
76272013-10-10 Martin Rudalics <rudalics@gmx.at>
7628
7629 * window.el (pop-to-buffer-same-window): Fix doc-string.
7630 (Bug#15492)
7631
20832de0
SM
76322013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7633
7634 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
7635
c6e8ae77
AC
76362013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
7637
7638 * calendar/icalendar.el (icalendar-import-file):
7639 Fix interactive spec. (Bug#15482)
7640
9db13baf
GM
76412013-10-10 Glenn Morris <rgm@gnu.org>
7642
9271e90e
GM
7643 * desktop.el (desktop-save): Default to saving in .emacs.d,
7644 since PWD is no longer in desktop-path by default. (Bug#15319)
7645
9db13baf
GM
7646 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
7647 now that text mode has a menu with the same entry.
7648 (menu-bar-text-mode-auto-fill): Remove now unused func.
7649 * textmodes/text-mode.el (text-mode-map):
7650 Use auto-fill help text from menu-bar.el.
7651
a0be396a 76522013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
7653
7654 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
7655
2edcd3c7
JL
76562013-10-09 Juri Linkov <juri@jurta.org>
7657
7658 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
7659 instead of this-command-keys. Add universal-argument-more and
7660 universal-argument-minus to the list of prefix commands. (Bug#15568)
7661
574411d0
GM
76622013-10-09 Glenn Morris <rgm@gnu.org>
7663
14afa541
GM
7664 * vc/vc-svn.el (vc-svn-create-repo):
7665 Expand paths in file://... url. (Bug#15446)
7666
574411d0
GM
7667 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
7668 Add some entries.
7669 (authors): Remove unused local variables.
7670
79804536
SM
76712013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7672
7673 * profiler.el: Create a more coherent calltree from partial backtraces.
7674 (profiler-format): Hide the tail with `invisible' so that C-s can still
7675 find the hidden elements.
7676 (profiler-calltree-depth): Don't recurse so enthusiastically.
7677 (profiler-function-equal): New hash-table-test.
7678 (profiler-calltree-build-unified): New function.
7679 (profiler-calltree-build): Use it.
7680 (profiler-report-make-name-part): Indent the calltree less.
7681 (profiler-report-mode): Add visibility specs for profiler-format.
7682 (profiler-report-expand-entry, profiler-report-toggle-entry):
7683 Expand the whole subtree when provided with a prefix arg.
7684
238150c8
DG
76852013-10-09 Dmitry Gutov <dgutov@yandex.ru>
7686
7687 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
7688 iuwu-mod token.
7689 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
7690 hanging iuwu-mod token.
7691 (ruby-smie--forward-token): Do not include a dot after a token in
7692 that token.
7693 (ruby-smie--backward-token): Likewise.
7694
b0949cc4
JL
76952013-10-08 Juri Linkov <juri@jurta.org>
7696
7697 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
7698 to isearch-other-control-char.
7699 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
7700 and isearch-post-command-hook to post-command-hook.
7701 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
7702 and isearch-post-command-hook from post-command-hook.
7703 (isearch-unread-key-sequence)
7704 (isearch-reread-key-sequence-naturally)
7705 (isearch-lookup-scroll-key, isearch-other-control-char)
7706 (isearch-other-meta-char): Remove functions.
7707 (isearch-pre-command-hook, isearch-post-command-hook):
7708 New functions based on isearch-other-meta-char rewritten
7709 relying on the new behavior of overriding-terminal-local-map
7710 that does not replace the local keymaps any more. (Bug#15200)
7711
4ed77415
EZ
77122013-10-08 Eli Zaretskii <eliz@gnu.org>
7713
7714 Support menus on text-mode terminals.
7715 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
7716 functionality.
7717
7718 * tooltip.el (tooltip-mode): Don't error out on TTYs.
7719
c2de5588
DK
7720 * menu-bar.el (popup-menu, popup-menu-normalize-position):
7721 Move here from mouse.el.
4ed77415
EZ
7722 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
7723 and arrow keys.
7724 (tty-menu-navigation-map): New map for TTY menu navigation.
7725
7726 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
7727
7728 * frame.el (display-mouse-p): Report text-mode mouse as available
7729 on w32.
7730 (display-popup-menus-p): Report availability if mouse is
7731 available; don't condition on window-system.
7732
7733 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
7734 (tty-menu-selected-face): New faces.
7735
b7d5bd82
TL
77362013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7737
06286513
SM
7738 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
7739 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
7740 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
7741 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
7742 New constants.
7743 (lisp-mode-variables): New `elisp' argument.
7744 (emacs-lisp-mode): Use it.
7745 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
7746 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
7747
b7d5bd82
TL
7748 * indent.el: Use lexical-binding.
7749 (indent-region): Add progress reporter.
7750 (tab-stop-list): Make it implicitly extend to infinity by repeating the
7751 last step.
7752 (indent--next-tab-stop): New function to implement this behavior.
7753 (tab-to-tab-stop, move-to-tab-stop): Use it.
7754
77552013-10-08 Teemu Likonen <tlikonen@iki.fi>
7756
7757 * indent.el (indent-rigidly--current-indentation): New function.
7758 (indent-rigidly-map): New var.
7759 (indent-rigidly): Use it to provide interactive mode (bug#8196).
7760
5ea75d23
BG
77612013-10-08 Bastien Guerry <bzg@gnu.org>
7762
f2726fa2 7763 * register.el (insert-register): Fix 2013-10-07 change.
5ea75d23 7764
cc5da1ec
SM
77652013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7766
8ffa1a0b
SM
7767 * progmodes/perl-mode.el: Use lexical-binding.
7768 Remove redundant :group args.
7769 (perl-nochange): Change default to be closer to other major modes's
7770 standard behavior.
7771 (perl-indent-line): Don't consider text on current line as a
7772 valid beginning of function from which to indent.
7773
f2223371
SM
7774 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
7775 with more than one argument (bug#15538).
7776
44256060
SM
7777 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
7778
cc5da1ec
SM
7779 * vc/pcvs.el: Use lexical-binding.
7780 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
7781 environment of `eval'.
7782 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
7783 than a list of expressions. Adjust callers.
7784 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
7785
0ea1599d
DG
77862013-10-07 Dmitry Gutov <dgutov@yandex.ru>
7787
7788 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 7789 case of the dot in a chained method call being on the following line.
0ea1599d 7790
da3e5ebb
SM
77912013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7792
2abb4e65
SM
7793 * electric.el (electric-indent-inhibit): New var.
7794 (electric-indent-post-self-insert-function): Use it.
7795 * progmodes/python.el (python-mode): Set it.
7796
d2e0e795
SM
7797 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
7798 open braces.
7799
7800 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
7801
bdc6b4c8
SM
7802 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
7803 (css-mode): Use electric-indent-chars.
7804
da3e5ebb
SM
7805 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
7806 (font-lock-beg, font-lock-end): Move before first use.
7807 (nxml-mode): Use syntax-propertize-function.
7808 (nxml-after-change, nxml-after-change1): Adjust accordingly.
7809 (nxml-extend-after-change-region): Remove.
7810 * nxml/xmltok.el: Use lexical-binding.
7811 (xmltok-save): Use `declare'.
7812 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
7813 * nxml/nxml-util.el: Use lexical-binding.
7814 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
7815 Use `declare'.
7816 * nxml/nxml-ns.el: Use lexical-binding.
7817 (nxml-ns-save): Use `declare'.
7818 (nxml-ns-prefixes-for): Avoid add-to-list.
7819 * nxml/rng-match.el: Use lexical-binding.
7820 (rng--ipattern): Use cl-defstruct.
7821 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
7822 (rng-cons-group-after, rng-subst-group-after)
7823 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
7824 Use closures instead of `(lambda...).
7825
f8f91d5d
MA
78262013-10-07 Michael Albinus <michael.albinus@gmx.de>
7827
7828 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
7829 of BEG and END.
7830
da3e5ebb
SM
7831 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7832 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
7833 (tramp-gvfs-handle-insert-file-contents): Remove function.
7834
da3e5ebb
SM
7835 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
7836 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
7837
7838 * net/trampver.el: Update release number.
7839
7ccae3b1
SM
78402013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7841
55ca2c0d
SM
7842 * progmodes/compile.el (compilation-parse-errors):
7843 Use compilation--put-prop.
7844 (compilation--ensure-parse): Check compilation-multiline.
7845
731fc3ae
SM
7846 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
7847
da3e5ebb
SM
7848 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
7849 lexical-binding.
a5833280 7850
2e7ba2c2
SM
7851 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
7852
7ccae3b1
SM
7853 * progmodes/ruby-mode.el: Fix recently added tests.
7854 (ruby-smie-grammar): Add - and +.
7855 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
7856 (ruby-smie--backward-id): New functions.
7857 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
7858 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
7859 any more.
7860
85698d63
LL
78612013-10-07 Leo Liu <sdl.web@gmail.com>
7862
7863 * register.el (register-preview-delay)
7864 (register-preview-functions): New variables.
7865 (register-read-with-preview, register-preview)
7866 (register-describe-oneline): New functions.
7867 (point-to-register, window-configuration-to-register)
7868 (frame-configuration-to-register, jump-to-register)
7869 (number-to-register, view-register, insert-register)
7870 (copy-to-register, append-to-register, prepend-to-register)
7871 (copy-rectangle-to-register): Use register-read-with-preview to
7872 read register. (Bug#15525)
7873
3986af6c
DS
78742013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
7875
7876 * net/network-stream.el (network-stream-open-starttls): Don't add
7877 --insecure if it's already present, because that gnutls-cli
7878 rejects getting that parameter twice.
7879
5cd9cda9
DG
78802013-10-06 Dmitry Gutov <dgutov@yandex.ru>
7881
7882 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
7883 keyword, too.
7884
da9ea6d9
DG
78852013-10-05 Dmitry Gutov <dgutov@yandex.ru>
7886
7887 * newcomment.el (comment-use-global-state): Change default value
7888 to t, mark obsolete (Bug#15251).
7889 (comment-beginning): In addition to `comment-to-syntax', check the
7890 value of `comment-use-global-state'.
7891
34d1a133
SM
78922013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7893
7894 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
7895 (ruby-comment-column): Follow the global default, by default.
7896 (ruby-smie-grammar): Add assignment syntax.
7897 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
7898 open-paren, a comma, or a \.
7899 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
7900 and line continuations.
7901 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
7902 followed by implicit semi-colons. Add rule for string concatenation
7903 and for indentation at BOB.
27821a89 7904 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
34d1a133
SM
7905
7906 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
7907 calling next-sexp, since next-token may have skipped chars which
7908 next-sexp doesn't know should be skipped!
7909
6f6ab820
LL
79102013-10-05 Leo Liu <sdl.web@gmail.com>
7911
34d1a133
SM
7912 * progmodes/octave.el (octave-send-region):
7913 Call compilation-forget-errors.
6f6ab820 7914
34ca0f4c
XF
79152013-10-04 Xue Fuqiao <xfq.free@gmail.com>
7916
7917 * vc/vc-svn.el (vc-svn-find-admin-dir):
7918 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
7919 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
7920 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
7921 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
7922
a27c1b72
SM
79232013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
7924
7925 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
7926
258ab3bc
SM
79272013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
7928
7929 * subr.el (read-passwd): Hide chars even when called within a context
7930 where after-change-functions is disabled (bug#15501).
7931 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
7932 until we removed ourself from overriding-terminal-local-map.
7933
939fb29c
LL
79342013-10-04 Leo Liu <sdl.web@gmail.com>
7935
258ab3bc
SM
7936 * progmodes/octave.el (inferior-octave-mode):
7937 Call compilation-forget-errors.
939fb29c 7938
63bd7f35
XF
79392013-10-04 Xue Fuqiao <xfq.free@gmail.com>
7940
7941 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
7942
9e6229fa
MA
79432013-10-04 Michael Albinus <michael.albinus@gmx.de>
7944
7945 * net/secrets.el (secrets-create-collection): Add optional
7946 argument ALIAS. Use proper Label keyword. Append ALIAS as
7947 dbus-call-method argument. (Bug#15516)
7948
1dab32a3
LL
79492013-10-04 Leo Liu <sdl.web@gmail.com>
7950
7951 * progmodes/octave.el (inferior-octave-error-regexp-alist)
7952 (inferior-octave-compilation-font-lock-keywords): New variables.
7953 (compilation-error-regexp-alist)
7954 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
7955 (inferior-octave-mode): Use compilation-shell-minor-mode.
7956
6cad7ba3
JS
79572013-10-04 Jorgen Schaefer <forcer@forcix.cx>
7958
7959 * minibuffer.el (completion--replace): Be careful that `end' might be
7960 a marker.
7961
acbadd00
DU
79622013-10-03 Daiki Ueno <ueno@gnu.org>
7963
7964 Add support for package signature checking.
7965 * emacs-lisp/package.el (url-http-file-exists-p)
7966 (epg-make-context, epg-context-set-home-directory)
7967 (epg-verify-string, epg-context-result-for)
7968 (epg-signature-status, epg-signature-to-string)
7969 (epg-check-configuration, epg-configuration)
7970 (epg-import-keys-from-file): Declare.
7971 (package-check-signature): New user option.
7972 (package-unsigned-archives): New user option.
7973 (package-desc): Add `signed' field.
7974 (package-load-descriptor): Set `signed' field if .signed file exists.
7975 (package--archive-file-exists-p): New function.
7976 (package--check-signature): New function.
7977 (package-install-from-archive): Check package signature.
7978 (package--download-one-archive): Check archive signature.
7979 (package-delete): Remove .signed file.
7980 (package-import-keyring): New command.
7981 (package-refresh-contents): Import default keyring.
7982 (package-desc-status): Add "unsigned" status.
7983 (describe-package-1, package-menu--print-info)
7984 (package-menu-mark-delete, package-menu--find-upgrades)
7985 (package-menu--status-predicate): Support "unsigned" status.
7986
adf2aa61
SM
79872013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7988
7989 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
7990 the new compilation scheme using the new byte-codes.
7991
7992 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
7993 (byte-pophandler): New byte codes.
7994 (byte-goto-ops): Adjust accordingly.
7995 (byte-compile--use-old-handlers): New var.
7996 (byte-compile-catch): Use new byte codes depending on
7997 byte-compile--use-old-handlers.
7998 (byte-compile-condition-case--old): Rename from
7999 byte-compile-condition-case.
8000 (byte-compile-condition-case--new): New function.
8001 (byte-compile-condition-case): New function that dispatches depending
8002 on byte-compile--use-old-handlers.
8003 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
8004 when we can.
8005
8006 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
8007 Optimize under `condition-case' and `catch' if
8008 byte-compile--use-old-handlers is nil.
8009 (disassemble-offset): Handle new bytecodes.
8010
328a8179
SM
80112013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8012
8013 * subr.el (error): Use `declare'.
8014 (decode-char, encode-char): Use advertised-calling-convention instead
8015 of the docstring to discourage use of the `restriction' arg.
8016
15a1e936
DU
80172013-10-03 Daiki Ueno <ueno@gnu.org>
8018
8019 * epg.el (epg-verify-file): Add a comment saying that it does not
8020 notify verification error as a return value nor a signal.
8021 (epg-verify-string): Ditto.
8022
376f862a
KR
80232013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
8024
8025 * progmodes/compile.el (compilation-start): Try globbing the arg to
8026 `cd' (bug#15417).
8027
a2f93a5f
MA
80282013-10-02 Michael Albinus <michael.albinus@gmx.de>
8029
8030 Sync with Tramp 2.2.8.
8031
8032 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
8033 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
8034 * net/trampver.el: Update release number.
8035
0daa0804
JD
80362013-10-01 Jan Djärv <jan.h.d@swipnet.se>
8037
8038 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8039 and default-process-coding-system for darwin only.
8040
abd1ae34
SM
80412013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
8042
8043 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
8044
be4e325d
MH
80452013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
8046
8047 * vc/vc-git.el (vc-git-grep): Disable pager.
8048
e9155c4a
DG
80492013-10-01 Dmitry Gutov <dgutov@yandex.ru>
8050
494e898b
DG
8051 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
8052 Use :url instead of :homepage, as per
8053 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
8054
e9155c4a
DG
8055 * newcomment.el (comment-beginning): When `comment-use-syntax' is
8056 non-nil, use `syntax-ppss' (Bug#15251).
8057
481a8e0f
RS
80582013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8059
be4e325d
MH
8060 * progmodes/octave.el (inferior-octave-startup-file):
8061 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 8062
056453c6
DG
80632013-09-29 Dmitry Gutov <dgutov@yandex.ru>
8064
be4e325d
MH
8065 * emacs-lisp/package.el (package-desc-from-define):
8066 Accept additional arguments as plist, convert them to an alist and store
8067 them in the `extras' slot.
056453c6
DG
8068 (package-generate-description-file): Convert extras alist back to
8069 plist and append to the `define-package' form arguments.
8070 (package--alist-to-plist): New function.
8071 (package--ac-desc): Add `extras' slot.
8072 (package--add-to-archive-contents): Check if the archive-contents
8073 vector is long enough, and if it is, pass its `extras' slot value
8074 to `package-desc-create'.
8075 (package-buffer-info): Call `lm-homepage', pass the returned value
8076 to `package-desc-from-define'.
8077 (describe-package-1): Render the homepage button (Bug#13291).
8078
be4e325d
MH
8079 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8080 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 8081
832966e5
JD
80822013-09-29 Jan Djärv <jan.h.d@swipnet.se>
8083
8084 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8085 and default-process-coding-system to utf-8-unix (Bug#15402).
8086
6cfe977d
XF
80872013-09-29 Xue Fuqiao <xfq.free@gmail.com>
8088
8089 * subr.el (looking-back): Do not recommend using looking-back.
8090
38de11bd
AM
80912013-09-28 Alan Mackenzie <acm@muc.de>
8092
8093 Fix indentation/fontification of Java enum with "implements".
8094
8095 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
8096 regexp which matches "implements", etc., in Java.
8097 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
8098 specifier clauses coming after "enum".
8099 * progmodes/cc-fonts.el (c-font-lock-declarations)
8100 (c-font-lock-enum-tail): Check for extra specifier clauses coming
8101 after "enum".
8102
1610938f
JD
81032013-09-28 Jan Djärv <jan.h.d@swipnet.se>
8104
8105 * faces.el (region): Change ns_selection_color to
8106 ns_selection_fg_color, add ns_selection_bg_color.
8107
e090f499
LL
81082013-09-28 Leo Liu <sdl.web@gmail.com>
8109
4d2e94d1
LL
8110 * progmodes/octave.el (inferior-octave-completion-table)
8111 (inferior-octave-completion-at-point): Minor tweaks.
8112
e090f499
LL
8113 * textmodes/ispell.el (ispell-lookup-words): Rename from
8114 lookup-words. (Bug#15460)
8115 (lookup-words): Obsolete.
8116 (ispell-complete-word, ispell-command-loop): All uses changed.
8117
7e138a62
RS
81182013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8119
a12bf61e 8120 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
7e138a62
RS
8121 (octave-mode-menu): Add octave-send-buffer.
8122 (octave-send-buffer): New function.
8123
5af5ed08
RS
81242013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8125
a12bf61e 8126 * progmodes/octave.el (octave-mode-map): Add key binding for
5af5ed08
RS
8127 octave-lookfor.
8128 (octave-mode-menu): Add octave-lookfor.
8129 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
8130 octave-lookfor.
8131 (octave-lookfor): New function.
8132
3b7b2692
SM
81332013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8134
35e951cd 8135 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
3b7b2692
SM
8136 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
8137 its convention.
8138 (cl--loop-set-iterator-function): New function.
8139 (cl-loop): Adjust accordingly, so as not to use cl-subst.
8140 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
8141 Bind `it' with `let' instead of substituting it with `cl-subst'.
8142 (cl--unused-var-p): New function.
8143 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
8144 Eliminate some unused variable warnings (bug#15326).
8145
529fb53f
TH
81462013-09-27 Tassilo Horn <tsdh@gnu.org>
8147
8148 * doc-view.el (doc-view-scale-reset): Rename from
8149 `doc-view-reset-zoom-level'.
8150 (doc-view-scale-adjust): New command.
8151 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
8152 `doc-view-scale-adjust'.
8153
0550c95a
TH
81542013-09-26 Tassilo Horn <tsdh@gnu.org>
8155
8156 * doc-view.el (doc-view-reset-zoom-level): New command.
8157 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
8158 zoom commands (bug#15466).
8159
6950f152
KH
81602013-09-26 Kenichi Handa <handa@gnu.org>
8161
8162 * international/quail.el (quail-help): Make it not a command.
8163
39587580
LL
81642013-09-26 Leo Liu <sdl.web@gmail.com>
8165
8166 * minibuffer.el (completion-all-sorted-completions): Make args
8167 optional as they are.
8168
00578659
DC
81692013-09-25 Daniel Colascione <dancol@dancol.org>
8170
8171 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
8172 specs are and that they're not evaluated.
8173
0c173878
SS
81742013-09-24 Sam Steingold <sds@gnu.org>
8175
8176 * midnight.el (clean-buffer-list-kill-regexps)
8177 (clean-buffer-list-kill-buffer-names): Update for the new Man
8178 buffer naming which includes the object name.
8179
84998447
SM
81802013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8181
8182 * eshell/esh-cmd.el (eshell--sep-terms): New var.
8183 (eshell-parse-command, eshell-parse-pipeline): Use it since
8184 eshell-separate-commands requires a dynamic scoped var.
8185 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
8186
33215353
LL
81872013-09-23 Leo Liu <sdl.web@gmail.com>
8188
8189 * autoinsert.el (auto-insert-alist): Make the value of
8190 lexical-binding match its file setting.
8191
57b16162
JB
81922013-09-23 Juanma Barranquero <lekktu@gmail.com>
8193
c8af4e67
JB
8194 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
8195
57b16162
JB
8196 * autoarg.el (autoarg-kp-digit-argument):
8197 * electric.el (Electric-command-loop):
8198 * kmacro.el (kmacro-step-edit-insert):
8199 Do not set universal-argument-num-events.
8200
7186ba60
LL
82012013-09-22 Leo Liu <sdl.web@gmail.com>
8202
8203 * files.el (interpreter-mode-alist): Add octave.
8204
ece15004
AM
82052013-09-21 Alan Mackenzie <acm@muc.de>
8206
8207 C++: fontify identifier in declaration following "public:" correctly.
8208 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
8209 to match "public", etc.
8210 (c-decl-prefix-re): Add ":" into the C++ value.
8211 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
8212 bit. Add a check for a ":" preceded by "public", etc.
8213
75d83e22
EZ
82142013-09-21 Eli Zaretskii <eliz@gnu.org>
8215
8216 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
8217 recognized by GDB 7.5 and later.
8218
d052d3bd
XF
82192013-09-21 Xue Fuqiao <xfq.free@gmail.com>
8220
8221 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
8222
31dca772
R
82232013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8224
8225 * subr.el (internal--call-interactively): New const.
8226 (called-interactively-p): Use it (bug#3984).
8227
98ccf24e
XF
82282013-09-20 Xue Fuqiao <xfq.free@gmail.com>
8229
8230 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
8231 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
8232 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 8233
c39cc7d1
SM
82342013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8235
8236 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
8237 (eshell-ls-orig-insert-directory): Remove.
8238 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
8239 (eshell-ls-use-in-dired): Use advice-add/remove.
8240 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
8241 Add `orig-fun' arg for use in :around advice.
8242 Make it check (redundantly) eshell-ls-use-in-dired.
8243
9a0289a2
GM
82442013-09-19 Glenn Morris <rgm@gnu.org>
8245
a2c501b8
GM
8246 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
8247
c440407a
GM
8248 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
8249
9a0289a2
GM
8250 * emacs-lisp/eieio.el (class-parent): Undo previous change.
8251
85e05915
MA
82522013-09-19 Michael Albinus <michael.albinus@gmx.de>
8253
8254 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
8255 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
8256 (tramp-get-remote-python): New defuns.
8257 (tramp-get-remote-uid-with-perl)
8258 (tramp-get-remote-gid-with-perl): New defuns. Perl code
8259 contributed by yary <not.com@gmail.com> (tiny change).
8260 (tramp-get-remote-uid-with-python)
8261 (tramp-get-remote-gid-with-python): New defuns. Python code
8262 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
8263 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
8264
ce503312
GM
82652013-09-19 Glenn Morris <rgm@gnu.org>
8266
f7544773
GM
8267 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
8268
72fd2877
GM
8269 * eshell/em-unix.el (eshell-remove-entries):
8270 Rename argument to avoid name-clash with global `top-level'.
8271
336b5a56
GM
8272 * eshell/esh-proc.el (eshell-kill-process-function):
8273 Remove eshell-reset-after-proc from eshell-kill-hook if present.
8274 (eshell-reset-after-proc): Remove unused arg `proc'.
8275
57a3a53d
GM
8276 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
8277 (directory-files-and-attributes): Mark unused arg.
8278
3261d4af
GM
8279 * eshell/em-unix.el (eshell-remove-entries):
8280 Remove unused arg `path'. Update callers.
8281
8e51b5d0
GM
8282 * eshell/em-hist.el (eshell-hist-parse-arguments):
8283 Remove unused arg `silent'. Update callers.
8284
ce503312
GM
8285 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
8286 Fix (f)boundp mix-up.
8287
8288 * eshell/em-smart.el (eshell-smart-scroll-window)
8289 (eshell-disable-after-change):
336b5a56 8290 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 8291
ee3ce8a7
AM
82922013-09-18 Alan Mackenzie <acm@muc.de>
8293
8294 Fix fontification of type when followed by "const".
8295 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
8296 "known" types from fontification.
8297
ec9177ba
GM
82982013-09-18 Glenn Morris <rgm@gnu.org>
8299
7bb3e768
GM
8300 * emacs-lisp/chart.el (x-display-color-cells): Declare.
8301 (chart-face-list): Drop Emacsen without display-color-p.
8302
5148da15
GM
8303 * net/eww.el (libxml-parse-html-region): Declare.
8304 (eww-display-html): Explicit error if no libxml2 support.
8305
2f68e157
GM
8306 * doc-view.el (doc-view-mode): Silence --without-x compilation.
8307
9019d095
GM
8308 * image.el (image-type-from-buffer, image-multi-frame-p):
8309 Remove --without-x warning/error.
67645389 8310
5f30349b 8311 * mouse.el (mouse-yank-primary):
45069b2e 8312 * term.el (term-mouse-paste):
5f30349b
GM
8313 Reorder to silence --without-x compilation.
8314
cd8edbbe
GM
8315 * mpc.el (doc-view-mode): Silence --without-x compilation.
8316
8a78544e
GM
8317 * mail/rmailmm.el (rmail-mime-set-bulk-data):
8318 Silence --without-x compilation.
8319
12679bfd
GM
8320 * progmodes/gud.el (gud-find-file, gud-mode):
8321 Silence --without-x compilation.
8322 (tooltip-mode): Declare.
30810a05 8323
f0047cb9
GM
8324 * wdired.el (dired-backup-overwrite): Remove declaration.
8325 (wdired-mode-map): Add doc string.
8326
e740f9d2
GM
8327 * custom.el (x-get-resource): Declare.
8328
92d77c89
GM
8329 * eshell/em-glob.el (ange-cache):
8330 * eshell/em-unix.el (ange-cache): Declare.
8331
76e69577
GM
8332 * faces.el (x-display-list, x-open-connection, x-get-resource):
8333 Declare.
7e58af4b
GM
8334
8335 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
8336 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
8337 Declare.
76e69577 8338
4bd4c0af 8339 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 8340
ffb82dbd
GM
8341 * net/gnutls.el (gnutls-log-level): Declare.
8342
986ed135
GM
8343 * net/shr.el (image-size, image-animate): Declare.
8344
e740f9d2
GM
8345 * simple.el (font-info): Declare.
8346
d2f3e9f8
GM
8347 * subr.el (x-popup-dialog): Declare.
8348
047a1a4c
GM
8349 * term/common-win.el (x-select-enable-primary)
8350 (x-last-selected-text-primary, x-last-selected-text-clipboard):
8351 Declare.
8352
f4a1d572
GM
8353 * term/ns-win.el (x-handle-args): Declare.
8354
e843de77
GM
8355 * term/x-win.el (x-select-enable-clipboard): Declare.
8356
5fa89513
GM
8357 * term/w32-win.el (create-default-fontset): Declare.
8358
38702b5b
GM
8359 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
8360 Declare.
8361
e740f9d2
GM
8362 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
8363 (fit-frame-to-buffer): Explicit error if --without-x.
8364 (mouse-autoselect-window-select): Silence compiler.
8365
49a053fc
GM
8366 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
8367
8368 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
8369 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
8370 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 8371 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
8372 Remove unused local variables.
8373
8374 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
8375
ec9177ba
GM
8376 * textmodes/two-column.el: Make 2C-split work for --without-x.
8377 (scroll-bar-columns): Autoload.
8378 (top-level): Require fringe when compiling.
8379
9f25cb77
LL
83802013-09-18 Leo Liu <sdl.web@gmail.com>
8381
8382 * subr.el (add-hook): Robustify to handle closure as well.
8383
2b42da98
GM
83842013-09-17 Glenn Morris <rgm@gnu.org>
8385
8386 * simple.el (messages-buffer-mode-map): Unbind "g".
8387
e8b66a6a
SM
83882013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8389
9c0ad4f7
SM
8390 * help-mode.el (help-mode-finish): Use derived-mode-p.
8391 Remove obsolete highlighting.
8392
7a806dfb
SM
8393 * play/life.el (life-mode): Use define-derived-mode. Derive from
8394 special-mode.
8395 (life): Let-bind inhibit-read-only.
8396 (life-setup): Avoid `setq'. Use `life-mode'.
8397
96dbf5a8
SM
8398 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
8399 which should not be needed any more.
8400 (package-menu-refresh, package-menu-describe-package): Use user-error.
8401
e8b66a6a
SM
8402 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
8403 (eshell-post-rewrite-command-hook): Make obsolete.
8404 (eshell-parse-command): Simplify.
8405 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
8406 (eshell--cmd): Declare.
8407 (eshell-parse-pipeline): Remove unused var `final-p'.
8408 Pass a dynvar to eshell-post-rewrite-command-hook.
8409 Implement the new eshell-post-rewrite-command-function.
8410 (eshell-invoke-directly): Remove unused arg `input'.
8411 * eshell/esh-io.el (eshell-io-initialize):
8412 Use eshell-post-rewrite-command-function (bug#15399).
8413 (eshell--apply-redirections): Rename from eshell-apply-redirections;
8414 adjust to new calling convention.
8415 (eshell-create-handles): Rename args to avoid clashing with dynvar
8416 `standard-output'.
8417
90582f05
GM
84182013-09-17 Glenn Morris <rgm@gnu.org>
8419
8420 * simple.el (messages-buffer-mode): New major mode.
8421 (messages-buffer): New function.
8422 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
8423 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 8424 (ert-run-test): Use `messages-buffer' function.
90582f05 8425 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
8426 * help.el (view-echo-area-messages): Use `messages-buffer' function.
8427 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 8428
39eb0cb5 84292013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
8430
8431 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
8432
1d42e5b6 8433 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
1f1e06e2 8434
70568a90
SM
84352013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
8436
504a0381
SM
8437 * icomplete.el (icomplete-in-buffer): New var.
8438 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
8439 vars and replace them with functions.
8440 (icomplete-minibuffer-setup): Adjust accordingly.
8441 (icomplete--completion-table, icomplete--completion-predicate)
8442 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
8443 New functions.
8444 (icomplete-forward-completions, icomplete-backward-completions)
8445 (icomplete-simple-completing-p, icomplete-exhibit)
8446 (icomplete-completions): Use them.
8447 (icomplete--in-region-buffer): New var.
8448 (icomplete--in-region-setup): New function.
8449 (icomplete-mode): Use it.
8450
70568a90
SM
8451 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
8452 (bug#15379).
8453 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
8454 return args and options.
8455 (eshell-eval-using-options): Use the new return value of
8456 eshell--do-opts to set the options's vars in their scope.
8457 (eshell--set-option): Rename from eshell-set-option.
8458 Add arg `opt-vals'.
8459 (eshell--process-option): Rename from eshell-process-option.
8460 Add arg `opt-vals'.
8461 (eshell--process-args): Use an `opt-vals' alist to store the options's
8462 values during their processing and return them additionally to the
8463 remaining args.
8464
578c21bc
DG
84652013-09-15 Dmitry Gutov <dgutov@yandex.ru>
8466
8467 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
8468 continuation character an operator, as far as indentation is
8469 concerned (Bug#15369).
8470
c089653d
MR
84712013-09-15 Martin Rudalics <rudalics@gmx.at>
8472
8473 * window.el (window--state-put-2): Don't process buffer state
8474 when buffer doesn't exist any more (Bug#15382).
8475
1e53bb4b
GM
84762013-09-15 Glenn Morris <rgm@gnu.org>
8477
30753242
GM
8478 * eshell/em-unix.el (eshell/rm):
8479 Make -f ignore missing files. (Bug#15373)
8480
1e53bb4b
GM
8481 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
8482 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
8483 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
8484
0d8863b3
GM
84852013-09-14 Glenn Morris <rgm@gnu.org>
8486
8487 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
8488
d3fc6549
GM
84892013-09-13 Glenn Morris <rgm@gnu.org>
8490
8491 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
8492 (dired-guess-default): Make `file' available in the env. (Bug#15363)
8493
fcd42c11
DA
84942013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
8495
8496 * frame.el (x-focus-frame): Mark as declared in frame.c.
8497
7830899f
SM
84982013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
8499
8500 * ls-lisp.el: Use advice-add.
8501 (original-insert-directory): Remove.
8502 (ls-lisp--insert-directory): Rename from insert-directory; add
8503 `orig-fun' argument.
8504 (insert-directory): Advise.
8505
84387cd2
EZ
85062013-09-13 Eli Zaretskii <eliz@gnu.org>
8507
8508 * term.el (term-emulate-terminal): Decode the command string
8509 before passing it to term-command-hook. (Bug#15337)
8510
35ffc6ba
GM
85112013-09-13 Glenn Morris <rgm@gnu.org>
8512
5c3f9bcc
GM
8513 * eshell/esh-util.el (ange-cache): Move declaration earlier.
8514
2ada368a
GM
8515 * eshell/esh-ext.el (eshell-search-path): Declare.
8516
fcef2e13
GM
8517 * eshell/em-prompt.el (eshell/pwd): Autoload it.
8518 Otherwise an error occurs if eshell-dirs module not loaded.
8519
35ffc6ba
GM
8520 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
8521
35c3d36e
MA
85222013-09-13 Michael Albinus <michael.albinus@gmx.de>
8523
8524 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
8525 `tramp-check-proper-host'. Check for a valid method name.
8526
8527 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8528 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8529 * net/tramp-sh.el (tramp-maybe-open-connection):
8530 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
8531
8532 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
8533 also for hash values.
8534
ae5e4c48
SM
85352013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8536
379add74
SM
8537 * term/ns-win.el (parameters): Don't declare as dynamic.
8538 (before-make-frame-hook): Don't add ineffective function.
8539
ae5e4c48
SM
8540 * eshell/*.el: Use lexical-binding (bug#15231).
8541
b5623270
KH
85422013-09-12 Kenichi Handa <handa@gnu.org>
8543
ae5e4c48 8544 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 8545
30213927
GM
85462013-09-12 Glenn Morris <rgm@gnu.org>
8547
be94d713 8548 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 8549 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 8550
44915370
GM
8551 * subr.el (do-after-load-evaluation): Also give compiler warnings
8552 when obsolete files are used (except by obsolete files).
8553
a6ae021f
GM
8554 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
8555 in the status output, assume `filename' is the first. (Bug#15322)
8556
40e64f0c
GM
8557 * vc/vc.el (vc-deduce-fileset): Doc fix.
8558
16d9f896
GM
8559 * calc/calc-help.el (Info-goto-node):
8560 * progmodes/cperl-mode.el (Info-find-node):
8561 * vc/ediff.el (Info-goto-node): Update declarations.
8562
dea01c6e
GM
8563 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
8564
759880bf 8565 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
8566 (vc-bzr-pull): Require vc-dispatcher.
8567 * vc/vc-git.el (vc-compilation-mode): Declare.
8568 (vc-git-pull): Require vc-dispatcher.
8569
08d66420
GM
8570 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
8571
30b626e9
GM
8572 * progmodes/octave.el (help-button-action): Declare.
8573
8c05cb10
GM
8574 * shell.el (shell-directory-tracker): Output error as a message
8575 rather than just returning it as a string.
8576 (shell-process-pushd): Remove useless use of message.
8577
30213927
GM
8578 * dframe.el (dframe-timer-fn):
8579 * files.el (dir-locals-read-from-file):
8580 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
8581 (mpc-format):
8582 * reveal.el (reveal-post-command):
8583 * saveplace.el (load-save-place-alist-from-file):
8584 * shell.el (shell-resync-dirs):
8585 * w32-common-fns.el (x-get-selection-value):
8586 * emacs-lisp/copyright.el (copyright-find-copyright):
8587 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
8588 * emulation/tpu-edt.el (tpu-copy-keyfile):
8589 * play/bubbles.el (bubbles--mark-neighbourhood):
8590 * progmodes/executable.el
8591 (executable-make-buffer-file-executable-if-script-p):
8592 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
8593
d3b049e6
SM
85942013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8595
170266d0
SM
8596 Cleanup Eshell to rely less on dynamic scoping.
8597 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
8598 last-value, and ext-command here. Bind `args' closer to `body'.
8599 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
8600 (eshell--args): Declare new dynamic var.
8601 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
8602 last-value, and ext-command. Pass `args' to `body'.
8603 (eshell-process-args): Bind eshell--args.
8604 (eshell-set-option): Use eshell--args.
8605 * eshell/eshell.el (eshell): Use derived-mode-p.
8606 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
8607 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
8608 (eshell-glob-function): Declare.
8609 * eshell/esh-util.el: Require cl-lib.
8610 (eshell-read-hosts-file): Avoid add-to-list.
8611 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
8612 `err'.
8613 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
8614 Declare.
8615 (eshell/diff): Remove unused var `err'.
8616 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
8617 `killflag'.
8618 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
8619 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
8620 first use.
8621 * eshell/em-glob.el (eshell-glob-matches, message-shown):
8622 Move declaration before first use.
8623 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
8624 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
8625 rely on cl-return.
8626
56834f3b
GM
86272013-09-12 Glenn Morris <rgm@gnu.org>
8628
8629 * term/ns-win.el (global-map): Remove binding for ispell-next,
8630 deleted 1999-05-29. (Bug#15357)
8631
5c91a2b8
GM
86322013-09-11 Glenn Morris <rgm@gnu.org>
8633
da712f22
GM
8634 * echistory.el (electric-command-history): Remove call to deleted func.
8635
512e4cdc
GM
8636 * play/landmark.el (landmark-mode): Fix typos.
8637
d3506ca5
GM
8638 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
8639 Check cvs-sort-ignore-file is bound.
8640
5c91a2b8
GM
8641 * savehist.el: No need for cl when compiling on Emacs.
8642
feeff482
SM
86432013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8644
656bd483
SM
8645 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
8646 (bug#15338).
d3b049e6
SM
8647 (eshell-self-insert-command, eshell-send-invisible):
8648 Remove unused argument.
656bd483
SM
8649 (eshell-handle-control-codes): Remove unused var `orig'.
8650 Avoid delete-backward-char.
8651
feeff482
SM
8652 * files.el (set-auto-mode): Simplify a bit further.
8653
2a08047a
GM
86542013-09-11 Glenn Morris <rgm@gnu.org>
8655
8656 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
8657 (set-auto-mode): Don't regexp-quote elements.
8658 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
8659 * progmodes/cc-mode.el (interpreter-mode-alist):
8660 * progmodes/ruby-mode.el (interpreter-mode-alist):
8661 Revert previous change.
8662
34675540
SM
86632013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8664
1b3b87df
SM
8665 * play/snake.el (snake-mode):
8666 * play/mpuz.el (mpuz-mode):
8667 * play/landmark.el (lm-mode):
8668 * play/blackbox.el (blackbox-mode):
8669 * play/5x5.el (5x5-mode):
8670 * obsolete/options.el (Edit-options-mode):
8671 * net/quickurl.el (quickurl-list-mode):
8672 * net/newst-treeview.el (newsticker-treeview-mode):
8673 * mail/rmailsum.el (rmail-summary-mode):
8674 * mail/mspools.el (mspools-mode):
8675 * locate.el (locate-mode):
8676 * ibuffer.el (ibuffer-mode):
8677 * emulation/ws-mode.el (wordstar-mode):
8678 * emacs-lisp/debug.el (debugger-mode):
8679 * array.el (array-mode):
8680 * net/eudc.el (eudc-mode): Use define-derived-mode.
8681 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
8682 Move initialization into declaration.
8683 (mairix-searches-mode): Use define-derived-mode.
8684 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
8685 (eudc-edit-hotlist): Use dolist.
8686 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
8687 (Man-mode): Use define-derived-mode.
8688 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
8689 (Info-edit-mode): Use define-derived-mode.
8690 (Info-cease-edit): Use Info-mode.
8691 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
8692 into declaration.
8693 (eshell-mode): Use define-derived-mode.
8694 * chistory.el (command-history-mode-map): Rename from
8695 command-history-map.
8696 (command-history-mode): Use define-derived-mode.
da712f22 8697 (Command-history-setup): Remove function.
1b3b87df
SM
8698 * calc/calc.el (calc-trail-mode-map): New var.
8699 (calc-trail-mode): Use define-derived-mode.
8700 (calc-trail-buffer): Set calc-main-buffer manually.
8701 * bookmark.el (bookmark-insert-annotation): New function.
8702 (bookmark-edit-annotation): Use it.
8703 (bookmark-edit-annotation-mode): Make it a proper major mode.
8704 (bookmark-send-edited-annotation): Use derived-mode-p.
8705 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
8706 closer to its ideal place. Use \' to match EOS.
8707
34675540
SM
8708 * profiler.el (profiler-calltree-find): Use function-equal.
8709
6a5c15d9
GM
87102013-09-10 Glenn Morris <rgm@gnu.org>
8711
1af4c220
GM
8712 * files.el (interpreter-mode-alist): Convert to regexps.
8713 (set-auto-mode): Adapt for this. (Bug#15306)
8714 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
8715 Comment out unused variable.
8716 * progmodes/cc-mode.el (interpreter-mode-alist):
8717 * progmodes/python.el (interpreter-mode-alist):
8718 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
8719 * progmodes/sh-script.el (sh-set-shell):
8720 No longer use interpreter-mode-alist to get list of shells.
8721
6a5c15d9
GM
8722 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
8723
8c27f5ff
SM
87242013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
8725
02ef6c1a 8726 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 8727 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
8728 Bind switch-frame explicitly. Replace universal-argument-minus with
8729 a conditional binding.
8730 (universal-argument-num-events, saved-overriding-map): Remove.
8731 (restore-overriding-map): Remove.
8732 (universal-argument--mode): Rename from save&set-overriding-map,
8733 and rewrite.
8734 (universal-argument, universal-argument-more, negative-argument)
8735 (digit-argument): Adjust accordingly.
8736 (universal-argument-minus): Remove.
8737 (universal-argument-other-key): Remove.
8738
8c27f5ff
SM
8739 * subr.el (with-demoted-errors): Add `format' argument.
8740
6480194c
MA
87412013-09-10 Michael Albinus <michael.albinus@gmx.de>
8742
8743 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
8744 `tramp-cleanup-connection'.
8745
8746 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
8747 parameters KEEP-DEBUG and KEEP-PASSWORD.
8748
8749 * net/tramp.el (tramp-file-name-handler):
8750 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8751 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
8752 (tramp-maybe-open-connection):
8c27f5ff
SM
8753 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
8754 Use `tramp-cleanup-connection'.
6480194c 8755
8c27f5ff
SM
8756 * net/tramp-sh.el (tramp-maybe-open-connection):
8757 Catch 'uname-changed inside the progress reporter.
6480194c 8758
e5e916d8
GM
87592013-09-10 Glenn Morris <rgm@gnu.org>
8760
9a2c9b47
GM
8761 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
8762
e5e916d8
GM
8763 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
8764 returns "alternate access method" in mode (eg "-rw-r--r--.").
8765
144e38fe
GM
87662013-09-08 Glenn Morris <rgm@gnu.org>
8767
8768 * saveplace.el (load-save-place-alist-from-file):
8769 Demote errors. (Bug#15305)
8770
af9ff9e8
MA
87712013-09-08 Michael Albinus <michael.albinus@gmx.de>
8772
8773 Improve compatibility with older Emacsen, and XEmacs.
8774
8775 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
8776 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
8777 (with-tramp-progress-reporter): Do not let-bind `result'.
8778 This yields to scoping errors in XEmacs.
af9ff9e8
MA
8779 (tramp-handle-make-auto-save-file-name): New function, moved from
8780 tramp-sh.el.
8781
8782 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
8783 for `make-auto-save-file-name'.
8c27f5ff
SM
8784 (tramp-adb--gnu-switches-to-ash):
8785 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
8786
8787 * net/tramp-cache.el (tramp-cache-print): Call
8788 `substring-no-properties' only if it is bound. It isn't for XEmacs.
8789
8790 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
8791 bound. It isn't for XEmacs.
8792
8c27f5ff
SM
8793 * net/tramp-compat.el (tramp-compat-copy-file):
8794 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
8795 (tramp-compat-replace-regexp-in-string): New defun.
8796
8797 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
8798 for `make-auto-save-file-name'.
8799 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
8800 `copy-file'.
8801 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
8802 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
8803 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
8804
8c27f5ff
SM
8805 * net/tramp-gw.el (tramp-gw-open-network-stream):
8806 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 8807
8c27f5ff
SM
8808 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8809 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
8810 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
8811 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
8812 (tramp-sh-file-inotifywait-process-filter):
8813 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
8814 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
8815
8816 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
8817 for `make-auto-save-file-name'.
8c27f5ff
SM
8818 (tramp-smb-handle-copy-directory):
8819 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
8820 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
8821 (tramp-smb-handle-copy-file): Improve error message.
8822 (tramp-smb-handle-rename-file): Rename directly only in case
8823 `newname' does not exist yet. This is a restriction of smbclient.
8824 (tramp-smb-maybe-open-connection): Rerun the function only when
8825 `auth-sources' is non-nil.
8826
0ca754d0
KH
88272013-09-08 Kenichi Handa <handa@gnu.org>
8828
e0eb0550 8829 * international/characters.el: Set category "^" (Combining) for
0ca754d0
KH
8830 more characters.
8831
e8dd0787
AM
88322013-09-07 Alan Mackenzie <acm@muc.de>
8833
8834 Correctly fontify Java class constructors.
8835 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
8836 in Java Mode.
8837 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
8838 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
8839 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
8840 "typeless" declaration there.
8841
f2f248e7
RW
88422013-09-07 Roland Winkler <winkler@gnu.org>
8843
8844 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
8845 field subtitle for entry type book.
8846
67982e2b
SM
88472013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8848
8849 * minibuffer.el: Make minibuffer-complete call completion-in-region
8850 rather than other way around.
8851 (completion--some, completion-pcm--find-all-completions):
8852 Don't delay signals when debugging.
8853 (minibuffer-completion-contents): Beware fields within the
8854 minibuffer contents.
8855 (completion-all-sorted-completions): Use defvar-local.
8856 (completion--do-completion, completion--cache-all-sorted-completions)
8857 (completion-all-sorted-completions, minibuffer-force-complete):
8858 Add args `beg' and `end'.
8859 (completion--in-region-1): New fun, extracted from minibuffer-complete.
8860 (minibuffer-complete): Use completion-in-region.
8861 (completion-complete-and-exit): New fun, extracted from
8862 minibuffer-complete-and-exit.
8863 (minibuffer-complete-and-exit): Use it.
8864 (completion--complete-and-exit): Rename from
8865 minibuffer--complete-and-exit.
8866 (completion-in-region--single-word): New function, extracted from
8867 minibuffer-complete-word.
8868 (minibuffer-complete-word): Use it.
8869 (display-completion-list): Make `common-substring' argument obsolete.
8870 (completion--in-region): Call completion--in-region-1 instead of
8871 minibuffer-complete.
8872 (completion-help-at-point): Pass boundaries to
8873 minibuffer-completion-help as args rather than via an overlay.
8874 (completion-pcm--string->pattern): Use `any-delim'.
8875 (completion-pcm--optimize-pattern): New function.
8876 (completion-pcm--pattern->regex): Handle `any-delim'.
8877 * icomplete.el (icomplete-forward-completions)
8878 (icomplete-backward-completions, icomplete-completions):
8879 Adjust calls to completion-all-sorted-completions and
8880 completion--cache-all-sorted-completions.
8881 (icomplete-with-completion-tables): Default to t.
8882 * emacs-lisp/crm.el (crm--current-element): Rename from
8883 crm--select-current-element. Don't put an overlay but return the
8884 boundaries instead.
8885 (crm--completion-command): Take two new args to bind to the boundaries.
8886 (crm-completion-help): Adjust accordingly.
8887 (crm-complete): Use completion-in-region.
8888 (crm-complete-word): Use completion-in-region--single-word.
8889 (crm-complete-and-exit): Use completion-complete-and-exit.
8890
e17d94a5
SM
88912013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8892
8893 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
8894 than dynamically.
8895
96727100
JL
88962013-09-06 Juri Linkov <juri@jurta.org>
8897
8898 * info.el (Info-display-images-node): When image file doesn't exist
8899 display text version of the image if it's provided in the Info file.
8900 Otherwise, display the location of missing image from SRC attribute.
8901 Add help-echo text property from ALT attribute. (Bug#15279)
8902
86cf7329
SM
89032013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8904
8905 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
8906 (edit-abbrevs-mode): Use define-derived-mode.
8907
8908 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
8909 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
8910 that it's defined.
8911 (epa-key-list-mode, epa-key-mode, epa-info-mode):
8912 Use define-derived-mode.
8913
8914 * epg.el (epg-start-encrypt): Minor CSE simplification.
8915
816244a2
WX
89162013-09-06 William Xu <william.xwl@gmail.com>
8917
8918 * arc-mode.el: Add support for 7za (bug#15264).
8919 (archive-7z-program): New var.
8920 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
8921 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
8922 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
8923
1486fa31
MA
89242013-09-06 Michael Albinus <michael.albinus@gmx.de>
8925
8926 Remove URL syntax.
8927
8928 * net/tramp.el (tramp-syntax, tramp-prefix-format)
8929 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
8930 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
8931 (tramp-postfix-host-format, tramp-file-name-regexp)
8932 (tramp-completion-file-name-regexp)
8933 (tramp-completion-dissect-file-name)
8934 (tramp-handle-substitute-in-file-name): Remove 'url case.
8935 (tramp-file-name-regexp-url)
8936 (tramp-completion-file-name-regexp-url): Remove constants.
8937
39785324
GM
89382013-09-06 Glenn Morris <rgm@gnu.org>
8939
8940 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
8941
1f896cb7
DG
89422013-09-05 Dmitry Gutov <dgutov@yandex.ru>
8943
8944 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
8945 keywords" below "here-doc beginnings" (Bug#15270).
8946
c0458e0b
SM
89472013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
8948
8949 * subr.el (pop): Use `car-safe'.
8950 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
8951 to detect unused `pop' return value.
8952
8953 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
8954 var `block-regexp'.
8955 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
8956 (python-fill-string): Remove unused var `marker'.
8957 (python-skeleton-add-menu-items): Remove unused var `items'.
8958
8959 * international/mule-cmds.el: Require CL.
8960 (find-coding-systems-for-charsets): Avoid add-to-list.
8961 (sanitize-coding-system-list): New function, extracted from
8962 select-safe-coding-system-interactively.
8963 (select-safe-coding-system-interactively): Use it.
8964 (read-input-method-name): Accept symbols for `default'.
8965
8966 * emacs-lisp/advice.el (defadvice): Add indent rule.
8967
6c42fc3e
DH
89682013-09-05 Daniel Hackney <dan@haxney.org>
8969
8970 * dired-x.el:
8971 * net/ange-ftp.el:
8972 * net/browse-url.el:
8973 * net/dbus.el:
8974 * net/eudc.el:
8975 * net/eudcb-ldap.el:
8976 * net/eww.el:
8977 * net/imap.el:
8978 * printing.el:
8979 * vc/ediff-diff.el:
8980 * vc/ediff-init.el:
8981 * vc/ediff-merg.el:
8982 * vc/ediff-mult.el:
8983 * vc/ediff-util.el:
8984 * vc/ediff-wind.el:
8985 * vc/ediff.el:
8986 * vc/emerge.el:
8987 * vc/pcvs.el:
8988 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
8989 byte compiler. Remove some unused let-bound variables.
8990
4c528aab
SM
89912013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
8992
8993 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
8994 a "ref-cell", since it gets better optimized (bug#14883).
8995
bd15c390
GM
89962013-09-05 Glenn Morris <rgm@gnu.org>
8997
8998 * progmodes/cc-awk.el (c-forward-sws): Declare.
8999
1c3ac2e5
GM
90002013-09-04 Glenn Morris <rgm@gnu.org>
9001
9002 * generic-x.el [rul-generic-mode]: Require cc-mode.
9003 (c++-mode-syntax-table): Declare.
9004 (rul-generic-mode-syntax-table): Init in the defvar.
9005
52b1cc79
SM
90062013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
9007
c828af56
SM
9008 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
9009 (vc-do-command, vc-set-async-update):
9010 * vc/vc-mtn.el (vc-mtn-dir-status):
9011 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
9012 (vc-hg-pull, vc-hg-merge-branch):
9013 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
9014 (vc-git-merge-branch):
9015 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
9016 (vc-cvs-dir-status-files):
9017 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
9018 (vc-bzr-dir-status-files):
9019 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
9020 * vc/vc-annotate.el: Use lexical-binding.
9021 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
9022 (vc-sentinel-movepoint): Declare.
9023 (vc-annotate): Don't use `goto-line'.
9024 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
9025 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
9026 (vc-sentinel-movepoint): Declare.
9027 * vc/vc-svn.el: Use lexical-binding.
9028 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
9029 * vc/vc-sccs.el:
9030 * vc/vc-rcs.el: Use lexical-binding.
9031
abae272c
SM
9032 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
9033 `deleted'. Don't drop errors silently.
9034
52b1cc79
SM
9035 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
9036
63191d9f
XF
90372013-09-04 Xue Fuqiao <xfq.free@gmail.com>
9038
9039 * vc/vc.el (vc-ignore): Rewrite.
9040 (vc-default-ignore): New function.
9041 (vc-default-ignore-completion-table): Use find-ignore-file.
9042
9043 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
9044 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
9045 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
9046 Remove. Most code moved to vc.el.
9047
9d3f707c
SM
90482013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
9049
abae272c 9050 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
9051 * net/tramp-smb.el (tramp-smb-get-file-entries):
9052 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
9053 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
9054
fde38d49
SM
9055 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
9056 Update call to it.
9057 (eww-change-select): Remove unused var `properties'.
9058 (eww-make-unique-file-name): Remove unused var `base'.
9059
9060 * finder.el (finder-compile-keywords): Don't mess with windows.
9061
84032db7
SM
9062 * calculator.el (calculator-funcall): Fix typo in last change.
9063
724f5e41
SM
9064 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
9065
14b511d4
SM
9066 * emacs-lisp/package.el (package-activate-1): Don't let a missing
9067 <pkg>-autoloads.el file stop us.
9068
9d3f707c 9069 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 9070 warnings, and factor out common code.
9d3f707c 9071
88527bc0
DG
90722013-09-03 Dmitry Gutov <dgutov@yandex.ru>
9073
9074 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
9075 two-character operators and whether the character preceding them
9076 changes their meaning (Bug#15208).
9077
96edb677
FEG
90782013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9079
9080 Format code sent to Python shell for robustness.
9d3f707c
SM
9081 * progmodes/python.el (python-shell-buffer-substring):
9082 New function.
96edb677
FEG
9083 (python-shell-send-region, python-shell-send-buffer): Use it.
9084
95beaef3
MA
90852013-09-02 Michael Albinus <michael.albinus@gmx.de>
9086
9087 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
9088 * net/tramp.el (tramp-user-error): ... here.
9089 (tramp-find-method, tramp-check-proper-host)
9090 (tramp-dissect-file-name, tramp-debug-message)
9091 (tramp-handle-shell-command):
9092 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9093 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
9094
9095 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
9096
f167c27b
MR
90972013-09-02 Martin Rudalics <rudalics@gmx.at>
9098
9099 * avoid.el (mouse-avoidance-point-position)
9100 (mouse-avoidance-too-close-p): Handle case where posn-at-point
9101 returns nil.
9102
cd16c5f1
FEG
91032013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9104
9105 * progmodes/python.el (python-shell-completion-get-completions):
9106 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 9107 (python-nav-if-name-main): New command.
cd16c5f1 9108
e73c3a0d
GM
91092013-09-01 Glenn Morris <rgm@gnu.org>
9110
f8ccce03
GM
9111 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9112 Avoid leading space in $wins. Otherwise the sed command used by
9113 eg compile-main ends up containing "/*.el". (Bug#15170)
9114
e73c3a0d
GM
9115 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
9116
415f808e
GM
91172013-08-30 Glenn Morris <rgm@gnu.org>
9118
9119 * emacs-lisp/bytecomp.el (byte-recompile-directory):
9120 Fix is-this-a-directory logic. (Bug#15220)
9121
f069bba8
SM
91222013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9123
112798c1
SM
9124 * textmodes/css-mode.el: Use SMIE.
9125 (css-smie-grammar): New var.
9126 (css-smie--forward-token, css-smie--backward-token)
9127 (css-smie-rules): New functions.
9128 (css-mode): Use them.
9129 (css-navigation-syntax-table): Remove var.
9130 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
9131 (css-indent-calculate, css-indent-line): Remove functions.
9132
9133 Misc changes to reduce use of `(lambda...); and other cleanups.
9134 * cus-edit.el: Use lexical-binding.
9135 (customize-push-and-save, customize-apropos)
9136 (custom-buffer-create-internal): Use closures.
9137 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
9138 * progmodes/ada-xref.el: Use setq.
9139 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
9140 * dframe.el: Use lexical-binding.
9141 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
9142 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
9143 * descr-text.el: Use lexical-binding.
9144 (describe-text-widget, describe-text-sexp, describe-property-list):
9145 Use closures.
9146 * comint.el (comint-history-isearch-push-state): Use a closure.
9147 * calculator.el: Use lexical-binding.
9148 (calculator-number-to-string): Make it work with lexical-binding.
9149 (calculator-funcall): Same and use cl-letf.
9150
2da4c3ab
SM
9151 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
9152 (lisp--company-doc-string, lisp--company-location): New functions.
9153 (lisp-completion-at-point): Use them to improve Company support.
9154
f069bba8
SM
9155 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
9156 params of lambda expressions.
9157 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
9158 (ruby-smie--opening-pipe-p): New function.
9159 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
9160 symbols and matched |...| for formal params.
9161 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
9162 from being treated as hanging. Handle "rescue".
9163
6758b6a8
GM
91642013-08-29 Glenn Morris <rgm@gnu.org>
9165
9166 * progmodes/cc-engine.el (c-pull-open-brace):
9167 Move definition before use.
9168
e8dfd197
SM
91692013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9170
9171 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
9172 are immutable. Don't use `unsafe' any more.
9173 (cl--defsubst-expand): Don't substitute at the same time as keeping
9174 a residual unused let-binding. Don't use `unsafe' any more.
9175
cc585c96
GM
91762013-08-29 Glenn Morris <rgm@gnu.org>
9177
ba579ea6
GM
9178 * calendar/cal-china.el (calendar-chinese-year-cache):
9179 Recenter on 2015.
9180
8201a87e
GM
9181 * nxml/nxml-util.el (nxml-debug-clear-inside):
9182 Use cl-loop rather than loop.
9183
6ee877c7
GM
9184 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
9185
cc585c96
GM
9186 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
9187
27be8d39
GM
91882013-08-28 Glenn Morris <rgm@gnu.org>
9189
397440a1
GM
9190 * progmodes/antlr-mode.el: No need to require cc-mode twice.
9191
2bb762d4
GM
9192 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
9193
27be8d39
GM
9194 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
9195
2d69b99e
SM
91962013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9197
f663baa7
SM
9198 * simple.el (repeat-complex-command--called-interactively-skip):
9199 New function.
9200 (repeat-complex-command): Use it (bug#14136).
9201
dd4f8b74
SM
9202 * progmodes/cc-mode.el: Minor cleanup of var declarations.
9203 (c-define-abbrev-table): Add `doc' argument.
9204 (c-mode-abbrev-table, c++-mode-abbrev-table)
9205 (objc-mode-abbrev-table, java-mode-abbrev-table)
9206 (idl-mode-abbrev-table, pike-mode-abbrev-table)
9207 (awk-mode-abbrev-table): Use it.
9208 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
9209 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
9210 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
9211 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
9212 Move initialization into the declaration; and remove any
9213 autoload cookie.
9214
b58969f7
SM
9215 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
9216 and dynamic let binding.
9217
4021d6a6
SM
9218 * vc/smerge-mode.el: Remove redundant :group args.
9219
2d69b99e
SM
9220 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
9221 to load-path.
9222
274919fd
JL
92232013-08-28 Juri Linkov <juri@jurta.org>
9224
9225 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
9226 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
9227 (isearch-other-meta-char): Handle an undefined shifted printing
9228 character by downshifting it. (Bug#15200)
9229
121f8c95
JL
92302013-08-28 Juri Linkov <juri@jurta.org>
9231
9232 * isearch.el (isearch-search): Change regexp error message for
9233 non-regexp searches. (Bug#15166)
9234
50b13cde
PE
92352013-08-28 Paul Eggert <eggert@cs.ucla.edu>
9236
9237 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
9238 for portability to hosts where /bin/sh has problems.
9239
95888bca
SM
92402013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9241
9242 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
9243
bbe558f1
JL
92442013-08-27 Juri Linkov <juri@jurta.org>
9245
9246 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
9247 in the keyboard macro. (Bug#15126)
9248
26f98a7d
JL
92492013-08-27 Juri Linkov <juri@jurta.org>
9250
9251 * isearch.el (isearch-quote-char): Comment out converting unibyte
9252 to multibyte, thus syncing with its `quoted-insert' counterpart.
9253 (Bug#15166)
9254
7c97d35e
MR
92552013-08-27 Martin Rudalics <rudalics@gmx.at>
9256
9257 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
9258 argument in call of get-largest-window (Bug#15185).
9259 Reported by Stephen Leake.
7c97d35e 9260
a0b5606e 92612013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
9262
9263 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
9264
9e89d835
SM
92652013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
9266
9267 * progmodes/python.el (python-font-lock-keywords): Don't return nil
9268 from a matcher-function unless there's no more matches (bug#15161).
9269
78fc2530
MA
92702013-08-26 Michael Albinus <michael.albinus@gmx.de>
9271
9272 * minibuffer.el: Revert change from 2013-08-20.
9273
9274 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
9275 with text property `tramp-default', if appropriate.
9276 (tramp-check-proper-host): New defun.
9277 (tramp-dissect-file-name): Do not check hostname. Revert change
9278 of 2013-03-18.
9279 (tramp-backtrace): Make VEC-OR-PROC optional.
9280
9281 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9282 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9283 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
9284 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9285 Apply `tramp-check-proper-host'.
78fc2530 9286
edca97cd
TH
92872013-08-26 Tassilo Horn <tsdh@gnu.org>
9288
9289 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
9290 lambda expression in order to have `describe-variable' display it.
9291
df54bcbd
MA
92922013-08-26 Michael Albinus <michael.albinus@gmx.de>
9293
9294 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
9295 BUF can be optional. (Bug#15186)
9296
eed99101
XF
92972013-08-25 Xue Fuqiao <xfq.free@gmail.com>
9298
9299 * progmodes/flymake.el (flymake-get-real-file-name-function):
9300 Fix broken customization. (Bug#15184)
9301
b5eb9035
AM
93022013-08-25 Alan Mackenzie <acm@muc.de>
9303
8a51e842
AM
9304 Improve indentation of bracelists defined by macros (without "=").
9305
9306 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
9307 expansion begins with "{", regard it as bracelist when it doesn't
9308 contain a ";".
9309
869455d4
AM
9310 Parse C++ inher-intro when there's a template split over 2 lines.
9311
9312 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
9313 rigorously the search for "class" etc. followed by ":".
9314
9315 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
9316 random languages a regexp which never matches rather than nil.
9317
b5eb9035
AM
9318 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
9319
9320 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
9321 (c-awk-regexp-one-line-possibly-open-char-list-re)
9322 (c-awk-one-line-possibly-open-regexp-re)
9323 (c-awk-one-line-non-syn-ws*-re): Remove.
9324 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
9325 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
9326 (c-awk-space*-unclosed-regexp-/-re): New constants.
9327 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
9328 aren't regexp delimiters.
9329
9330 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
9331 handling for a rare situation in AWK Mode involving unterminated
9332 strings/regexps.
9333
61611d54
GM
93342013-08-23 Glenn Morris <rgm@gnu.org>
9335
2d85dc34
GM
9336 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
9337
cb8d2612
GM
9338 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
9339
bb35f42f
GM
9340 * files.el (create-file-buffer): If the result would begin with
9341 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 9342
b9808e77
SM
93432013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9344
e3a66363
SM
9345 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
9346 text-properties (bug#15155).
9347
b9808e77
SM
9348 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
9349 exist any more.
9350 (calc-keypad-redraw): Remove unused var `pad'.
9351 (calc-keypad-press): Remove unused var `menu'.
9352
7fd5f65e
MR
93532013-08-23 Martin Rudalics <rudalics@gmx.at>
9354
b9808e77
SM
9355 * window.el (display-buffer-pop-up-frame):
9356 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
9357 use it as the new frame's buffer (Bug#15133).
9358
8352b530
SM
93592013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
9360
9361 * calendar/timeclock.el: Minor cleanups.
9362 (timeclock-ask-before-exiting, timeclock-use-display-time):
9363 Use `symbol'.
9364 (timeclock-modeline-display): Define as alias before the
9365 actual definition.
9366 (timeclock-mode-line-display): Use define-minor-mode.
9367 (timeclock-day-list-template): Make it a function, add an argument.
9368 (timeclock-day-list-required, timeclock-day-list-length)
9369 (timeclock-day-list-debt, timeclock-day-list-span)
9370 (timeclock-day-list-break): Adjust calls accordingly.
9371
9f7b1925
SM
93722013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
9373
9374 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
9375 Use read--expression so that completion works again.
9376
6e50e983
SS
93772013-08-21 Sam Steingold <sds@gnu.org>
9378
9379 Add rudimentary inferior shell interaction
9380 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
9381 (sh-set-shell): Reset it.
9f7b1925
SM
9382 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
9383 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 9384
dbb0d350
SM
93852013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
9386
9387 * align.el: Use lexical-binding.
9388 (align-region): Simplify accordingly.
9389
c88586a9
MA
93902013-08-20 Michael Albinus <michael.albinus@gmx.de>
9391
9392 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
9393
9394 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
9395 `non-essential' up.
9396
f95527c8
MA
93972013-08-17 Michael Albinus <michael.albinus@gmx.de>
9398
9399 * net/tramp.el:
9400 * net/tramp-adb.el:
9401 * net/tramp-cmds.el:
9402 * net/tramp-ftp.el:
9403 * net/tramp-gvfs.el:
9404 * net/tramp-gw.el:
9405 * net/tramp-sh.el: Don't wrap external variable declarations by
9406 `eval-when-compile'.
9407
4b5fe4ee
LMI
94082013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
9409
9410 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
9411 now that Emacs supports ImageMagick animations.
9412
13c366c9
MA
94132013-08-16 Michael Albinus <michael.albinus@gmx.de>
9414
9415 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
9416 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
9417
3dfc5cd6
MR
94182013-08-16 Martin Rudalics <rudalics@gmx.at>
9419
9420 * window.el (mouse-autoselect-window-select): Do autoselect when
9421 mouse pointer is on margin.
9422
4bbb4381
WP
94232013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
9424
9425 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
9426
3a2ddc2d
GM
94272013-08-16 Glenn Morris <rgm@gnu.org>
9428
e8bedf5a
GM
9429 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
9430 Handle "Remote Directory" response of some clients. (Bug#15058)
9431
58c4682f
GM
9432 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
9433 Tweak warning. (Bug#14926)
9434
57953f49
GM
9435 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
9436 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
9437
3a2ddc2d
GM
9438 * image-mode.el (image-mode-map): Add menu items to reverse,
9439 increase, decrease, reset animation speed.
9440 (image--set-speed, image-increase-speed, image-decrease-speed)
9441 (image-reverse-speed, image-reset-speed): New functions.
9442 (image-mode-map): Add bindings for speed commands.
9443
9444 * image.el (image-animate-get-speed, image-animate-set-speed):
9445 New functions.
9446 (image-animate-timeout): Respect image :speed property.
9447
10fa0ed3
SM
94482013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9449
9450 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
9451 previous line (bug#15101).
9452 (debugger-eval-expression, debugger-record-expression):
9453 Use read--expression (bug#15102).
9454
5d89d9d2
MA
94552013-08-15 Michael Albinus <michael.albinus@gmx.de>
9456
9457 Remove byte compiler warnings, visible when compiling with
9458 `byte-compile-force-lexical-warnings' set to t.
9459
9460 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
9461 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
9462 (tramp-handle-unhandled-file-name-directory)
9463 (tramp-handle-file-notify-add-watch, tramp-action-login)
9464 (tramp-action-succeed, tramp-action-permission-denied)
9465 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
9466 arguments with "_".
9467
9468 * net/tramp-adb.el (tramp-adb-parse-device-names)
9469 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
9470 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
9471 (tramp-adb-handle-file-truename): Remove unused arguments.
9472
9473 * net/tramp-cache.el (tramp-flush-directory-property)
9474 (tramp-flush-connection-property, tramp-list-connections)
9475 (tramp-parse-connection-properties): Prefix unused arguments with "_".
9476
10fa0ed3
SM
9477 * net/tramp-compat.el (tramp-compat-make-temp-file):
9478 Rename FILENAME to F.
5d89d9d2
MA
9479
9480 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
9481 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
9482 (tramp-zeroconf-parse-workstation-device-names)
9483 (tramp-zeroconf-parse-webdav-device-names)
9484 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
9485
9486 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
9487 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
9488
9489 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
9490 arguments.
9491 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
9492 (tramp-sh-handle-insert-file-contents-literally)
9493 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
9494 with "_".
9495 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
9496 Remove unused variables.
9497
9498 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
9499 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
9500 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
9501
9502 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
9503 Make them a defconst.
9504 (tramp-uuencode-region): Remove unused variable.
9505
62f33bae
JB
95062013-08-14 Juanma Barranquero <lekktu@gmail.com>
9507
9508 * frameset.el (frameset--prop-setter): New function.
9509 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
9510 (frameset-filter-minibuffer): Deal with the case that the minibuffer
9511 parameter was already set in FILTERED. Doc fix.
9512 (frameset--record-minibuffer-relationships): Allow saving a
9513 minibufferless frame without its corresponding minibuffer frame.
9514 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
9515 frame, if the frame id matches.
9516 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
9517 frames before orphaned ones.
9518 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 9519
c660a885
MR
95202013-08-14 Martin Rudalics <rudalics@gmx.at>
9521
9522 * window.el (window-make-atom): Don't overwrite parameter
9523 already present.
9524 (display-buffer-in-atom-window): Handle special case where we
9525 split an already atomic window.
9526 (window--major-non-side-window, display-buffer-in-side-window)
9527 (window--side-check): Ignore minibuffer window when walking
9528 window tree.
9529 (window-deletable-p): Return 'frame only if no other frame uses
9530 our minibuffer window.
9531 (record-window-buffer): Run buffer-list-update-hook.
9532 (split-window): Make sure window--check-frame won't destroy an
9533 existing atomic window in case the new window gets nested
9534 inside.
9535 (display-buffer-at-bottom): Ignore minibuffer window when
9536 walking window tree. Don't split a side window.
9537 (pop-to-buffer): Don't set-buffer here, the select-window call
9538 should do that.
9539 (mouse-autoselect-window-select): Autoselect only if we are in the
9540 text portion of the window.
9541
8259030d
LMI
95422013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9543
21c58ae2
LMI
9544 * net/shr.el (shr-parse-image-data): New function to grab both the
9545 data itself and the Content-Type.
9546 (shr-put-image): Use it.
9547
9548 * net/eww.el (eww-display-image): Ditto.
9549
8259030d
LMI
9550 * image.el (image-content-type-suffixes): New variable.
9551
ad756449
FEG
95522013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
9553
9554 * progmodes/python.el (python-imenu--build-tree)
9555 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
9556
f73f4ce6
XF
95572013-08-13 Xue Fuqiao <xfq.free@gmail.com>
9558
9559 * simple.el (backward-word): Mention the optional argument.
9560
1f585e65
SM
95612013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9562
9563 * frameset.el (frameset--make): Rename constructor from make-frameset.
9564 (frameset-p, frameset-valid-p): Don't autoload.
9565 (frameset-valid-p): Use normal accessors.
9566
af1c6c84
GM
95672013-08-13 Glenn Morris <rgm@gnu.org>
9568
55e47f95
GM
9569 * progmodes/compile.el (compile-command): Tweak example in doc.
9570 * obsolete/scribe.el (scribe-mode):
9571 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
9572
f0024d8c
GM
9573 * mail/feedmail.el (feedmail-confirm-outgoing)
9574 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
9575
9576 * cus-start.el (truncate-partial-width-windows): Fix type.
9577
9578 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
9579
af1c6c84
GM
9580 * net/shr.el (shr-table-horizontal-line): Fix custom type.
9581
5514cc4c
SM
95822013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9583
9584 * emacs-lisp/timer.el (timer--time-setter): New function.
9585 (timer--time): Use it as gv-setter.
9586
9587 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
9588 setter is not a symbol.
9589
7997a2f1
GJ
95902013-08-12 Grégoire Jadi <daimrod@gmail.com>
9591
9592 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
9593 if sending fails. This makes debugging easier.
9594
01f1a9ab
JB
95952013-08-12 Juanma Barranquero <lekktu@gmail.com>
9596
9597 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
9598 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
9599 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
9600
594a4307
EZ
96012013-08-12 Eli Zaretskii <eliz@gnu.org>
9602
9603 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
9604
7a22490f 96052013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
9606
9607 * format.el (format-annotate-function):
9608 Handle read-only text properties in the source. (Bug#14887)
9609
3e41a054
LMI
96102013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9611
5514cc4c
SM
9612 * net/eww.el (eww-display-html): Ignore coding system errors.
9613 One web site uses "utf-8lias" as the coding system.
3e41a054 9614
7ec326db
JB
96152013-08-11 Juanma Barranquero <lekktu@gmail.com>
9616
9617 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
9618
5660113b
JB
96192013-08-10 Juanma Barranquero <lekktu@gmail.com>
9620
9a4ebc74
JB
9621 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
9622 (tutorial--detailed-help): Remove unused local variables.
9623 (tutorial--save-tutorial-to): Use ignore-errors.
9624 (help-with-tutorial): Use looking-at-p.
9625
9626 * view.el (view-buffer-other-window, view-buffer-other-frame):
9627 Mark unused arguments.
9628
9629 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
9630 (woman-select-symbol-fonts, woman, woman-find-file)
9631 (woman-insert-file-contents, woman-non-underline-faces):
9632 Use string-match-p.
9633 (woman1-unquote): Move declaration.
9634
9635 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
9636 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
9637 argument. Remove unused local variable.
9638 (xml-parse-elem-type): Use string-match-p.
9639 (xml-substitute-numeric-entities): Use ignore-errors.
9640
45fdb482
JB
9641 * calculator.el (calculator): Mark unused argument.
9642 (calculator-paste, calculator-quit, calculator-integer-p):
9643 Use ignore-errors.
9644 (calculator-string-to-number, calculator-decimal, calculator-exp)
9645 (calculator-op-or-exp): Use string-match-p.
9646
9647 * dired.el (dired-buffer-more-recently-used-p): Declare.
9648 (dired-insert-set-properties, dired-insert-old-subdirs):
9649 Use ignore-errors.
9650
9651 * dired-aux.el (dired-compress): Use ignore-errors.
9652 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
9653 (dired-do-async-shell-command, dired-do-shell-command)
9654 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
9655 (dired-insert-subdir-validate): Use string-match-p.
9656 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
9657 (dired-add-entry): Use string-match-p, looking-at-p.
9658 (dired-insert-subdir-newpos): Remove unused local variable.
9659
9660 * filenotify.el (file-notify-callback): Remove unused local variable.
9661
9662 * filesets.el (filesets-error): Mark unused argument.
9663 (filesets-which-command-p, filesets-filter-dir-names)
9664 (filesets-directory-files, filesets-get-external-viewer)
9665 (filesets-ingroup-get-data): Use string-match-p.
9666
9667 * find-file.el (ff-other-file-name, ff-other-file-name)
9668 (ff-find-the-other-file, ff-cc-hh-converter):
9669 Remove unused local variables.
9670 (ff-get-file-name): Use string-match-p.
9671 (ff-all-dirs-under): Use ignore-errors.
9672
9673 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
9674 (follow-select-if-visible): Remove unused local variable.
9675
9676 * forms.el (read-file-filter): Move declaration.
9677 (forms--make-format, forms--make-parser, forms-insert-record):
9678 Quote function with #'.
9679 (forms--update): Use string-match-p. Quote function with #'.
9680
9681 * help-mode.el (help-dir-local-var-def): Mark unused argument.
9682 (help-make-xrefs): Use looking-at-p.
9683 (help-xref-on-pp): Use looking-at-p, ignore-errors.
9684
9685 * ibuffer.el (ibuffer-ext-visible-p): Declare.
9686 (ibuffer-confirm-operation-on): Use string-match-p.
9687
9688 * msb.el (msb-item-handler, msb-dired-item-handler):
9689 Mark unused arguments.
9690
9691 * ses.el (ses-decode-cell-symbol)
9692 (ses-kill-override): Remove unused local variable.
9693 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
9694 (ses-load): Use ignore-errors, looking-at-p.
9695 (ses-jump-safe): Use ignore-errors.
9696 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
9697
9698 * tabify.el (untabify, tabify): Mark unused arguments.
9699
9700 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
9701 Mark unused argument.
9702 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
9703 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
9704
c880af52
JB
9705 * emacs-lisp/timer.el (timer--time): Define setter with
9706 gv-define-setter to avoid deprecation warning.
9707
5660113b 9708 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 9709 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
9710 (cmpl-statistics-block): Remove (body was commented out).
9711 All callers changed.
9712 (add-completions-from-buffer, load-completions-from-file):
9713 Remove unused variables.
9714
156aab80
JB
97152013-08-09 Juanma Barranquero <lekktu@gmail.com>
9716
5c5dee78
JB
9717 * filecache.el (file-cache-delete-file-list):
9718 Print message only when told so.
9719 (file-cache-files-matching): Use #' in mapconcat argument.
9720
156aab80
JB
9721 * ffap.el (ffap-url-at-point): Fix reference to variable
9722 thing-at-point-default-mail-uri-scheme.
9723
ad9dcd70
SM
97242013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
9725
54bd972f
SM
9726 * subr.el (define-error): New function.
9727 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
9728 error-file-not-found and define with define-error.
9729 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
9730 and define with define-error.
9731 * userlock.el (file-locked, file-supersession):
9732 * simple.el (mark-inactive):
9733 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
9734 * progmodes/ada-mode.el (ada-mode-errors):
9735 * play/life.el (life-extinct):
9736 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
9737 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
9738 * nxml/rng-util.el (rng-error):
9739 * nxml/rng-uri.el (rng-uri-error):
9740 * nxml/rng-match.el (rng-compile-error):
9741 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
9742 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
9743 * nxml/nxml-rap.el (nxml-scan-error):
9744 * nxml/nxml-outln.el (nxml-outline-error):
9745 * net/soap-client.el (soap-error):
9746 * net/gnutls.el (gnutls-error):
9747 * net/ange-ftp.el (ftp-error):
9748 * mpc.el (mpc-proc-error):
9749 * json.el (json-error, json-readtable-error, json-unknown-keyword)
9750 (json-number-format, json-string-escape, json-string-format)
9751 (json-key-format, json-object-format):
9752 * jka-compr.el (compression-error):
9753 * international/quail.el (quail-error):
9754 * international/kkc.el (kkc-error):
9755 * emacs-lisp/ert.el (ert-test-failed):
9756 * calc/calc.el (calc-error, inexact-result, math-overflow)
9757 (math-underflow):
9758 * bookmark.el (bookmark-error-no-filename):
9759 * epg.el (epg-error): Define with define-error.
9760
0ea9e53a
SM
9761 * time.el (display-time-event-handler)
9762 (display-time-next-load-average): Don't call sit-for since it seems
9763 unnecessary (bug#15045).
9764
b0429158
SM
9765 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
9766 Use #' instead of ' to quote functions.
9767 (checkdoc-output-mode): Use setq-local.
9768 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
9769 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
9770 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
9771 (checkdoc-ispell, checkdoc-ispell-current-buffer)
9772 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
9773 (checkdoc-ispell-message-text, checkdoc-ispell-start)
9774 (checkdoc-ispell-continue, checkdoc-ispell-comments)
9775 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
9776
ad9dcd70
SM
9777 * ido.el (ido-completion-help): Fix up compiler warning.
9778
77187e6f
JB
97792013-08-09 Juanma Barranquero <lekktu@gmail.com>
9780
9781 * frameset.el (frameset-p): Add autoload cookie.
9782 (frameset--jump-to-register): New function, based on code moved from
9783 register.el.
9784 (frameset-to-register): Move from register.el. Adapt to `registerv'.
9785
9786 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
9787 (frameset-restore, frameset-save, frameset-session-filter-alist):
9788 Remove declarations.
9789 (register-alist): Doc fix.
9790 (frameset-to-register): Move to frameset.el.
9791 (jump-to-register, describe-register-1): Remove frameset-specific code.
9792
9d3aa82c
JB
97932013-08-08 Juanma Barranquero <lekktu@gmail.com>
9794
9795 * allout-widgets.el (allout-widgets-pre-command-business)
9796 (allout-widgets-post-command-business)
9797 (allout-widgets-after-change-handler)
9798 (allout-decorate-item-and-context, allout-set-boundary-marker)
9799 (allout-body-modification-handler)
9800 (allout-graphics-modification-handler): Mark ignored arguments.
9801 (allout-widgets-post-command-business)
9802 (allout-widgets-exposure-change-processor)
9803 (allout-widgets-exposure-undo-processor)
9804 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
9805 (allout-parse-item-at-point, allout-decorate-item-guides)
9806 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
9807 * allout.el (epa-passphrase-callback-function): Declare.
9808 (allout-overlay-insert-in-front-handler)
9809 (allout-overlay-interior-modification-handler)
9810 (allout-isearch-end-handler, allout-chart-siblings)
9811 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
9812 (allout-yank-processing, allout-process-exposed)
9813 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 9814 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
9815 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
9816 (lisp-indent-defform): Mark ignored arguments.
9817 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
9818 (calculate-lisp-indent): Remove unused variables.
9819 * international/characters.el (indian-2-column, arabic-2-column)
9820 (tibetan): Mark ignored arguments.
9821 (use-cjk-char-width-table): Mark ignored arguments.
9822 Remove unused variables.
9823 * international/fontset.el (build-default-fontset-data)
9824 (x-compose-font-name, create-fontset-from-fontset-spec):
9825 Mark ignored arguments.
9826 (fontset-plain-name): Remove unused variables.
9827 * international/mule.el (charset-id, charset-bytes, generic-char-p)
9828 (keyboard-coding-system): Mark ignored arguments.
9829 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
9830 * help.el (resize-temp-buffer-window):
9831 * window.el (display-buffer-in-major-side-window)
9832 (display-buffer-in-side-window, display-buffer-in-previous-window):
9833 Remove unused variables.
9834 * isearch.el (isearch-forward-symbol):
9835 * version.el (emacs-bzr-version-bzr):
9836 * international/mule-cmds.el (current-language-environment):
9837 * term/common-win.el (x-handle-iconic, x-handle-geometry)
9838 (x-handle-display):
9839 * term/pc-win.el (x-list-fonts, x-display-planes)
9840 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
9841 (x-server-version, x-display-screens, x-display-mm-height)
9842 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
9843 (x-selection-owner-p, x-own-selection-internal)
9844 (x-disown-selection-internal, x-get-selection-internal)
9845 (msdos-initialize-window-system):
9846 * term/tty-colors.el (tty-color-alist, tty-color-clear):
9847 * term/x-win.el (x-handle-no-bitmap-icon):
9848 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
9849 (vc-default-find-file-hook, vc-default-extra-menu):
9850 Mark ignored arguments.
9851
0ca3f70e
SM
98522013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9853
9854 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
9855 break-condition in the context of the debugged code (bug#12685).
9856
74c5d24c
CS
98572013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
9858
9859 * comint.el:
9860 Do not use an overlay to highlight the last prompt. (Bug#14744)
9861 (comint-mode): Make comint-last-prompt buffer local.
9862 (comint-last-prompt): New variable.
9863 (comint-last-prompt-overlay): Remove. Superseded by
9864 comint-last-prompt.
0ca3f70e
SM
9865 (comint-snapshot-last-prompt, comint-output-filter):
9866 Use comint-last-prompt.
74c5d24c 9867
c03c02ee
JB
98682013-08-08 Juanma Barranquero <lekktu@gmail.com>
9869
a3738d20 9870 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
9871 (frameset-save): Check validity of the resulting frameset.
9872
04263d23
XF
98732013-08-08 Xue Fuqiao <xfq.free@gmail.com>
9874
9875 * ido.el (ido-record-command): Add doc string.
9876
76c5e5ab
JB
98772013-08-08 Juanma Barranquero <lekktu@gmail.com>
9878
9879 * frameset.el (frameset): Do not disable creation of the default
9880 frameset-p predicate. Doc fix.
9881 (frameset-valid-p): New function, copied from the old predicate-p.
9882 Add additional checks.
9883 (frameset-restore): Check with frameset-valid-p.
9884 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
9885 (frameset-name, frameset-description, frameset-properties)
9886 (frameset-states): Add docstring.
f9dbf1cb
JB
9887 (frameset-session-filter-alist, frameset-persistent-filter-alist)
9888 (frameset-filter-alist): Doc fixes.
76c5e5ab 9889
bd0c3c0b
JB
98902013-08-08 Juanma Barranquero <lekktu@gmail.com>
9891
9892 * frameset.el (frameset-p, frameset-prop): Doc fixes.
9893
c735544c
SM
98942013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9895
9896 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
9897 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
9898 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
9899 (byte-compile-normal-call): Remove obsolescence check.
9900
2805a651
JB
99012013-08-08 Juanma Barranquero <lekktu@gmail.com>
9902
3677ffeb
JB
9903 * frameset.el (frameset-restore): Doc fix.
9904
2805a651
JB
9905 * register.el (frameset-frame-id, frameset-frame-with-id)
9906 (frameset-p, frameset-restore, frameset-save): Declare.
9907 (register-alist): Document framesets.
9908 (frameset-session-filter-alist): Declare.
9909 (frameset-to-register): New function.
9910 (jump-to-register): Implement jumping to framesets. Doc fix.
9911 (describe-register-1): Describe framesets.
9912
9913 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
9914
a912c016
JB
99152013-08-07 Juanma Barranquero <lekktu@gmail.com>
9916
9917 * desktop.el (desktop-save-frameset): Use new frameset-save args.
9918 Use lexical-binding.
9919
9920 * frameset.el (frameset): Use type vector, not list (incompatible
9921 change). Do not declare a new constructor, use the default one.
9922 Upgrade suggested properties `app', `name' and `desc' to slots `app',
9923 `name' and `description', respectively, and add read-only slot
9924 `timestamp'. Doc fixes.
9925 (frameset-copy, frameset-persistent-filter-alist)
9926 (frameset-filter-alist, frameset-switch-to-gui-p)
9927 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
9928 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
9929 (frameset-filter-iconified, frameset-keep-original-display-p):
9930 Doc fixes.
9931 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
9932 Rename from frameset-filter-(save|restore)-param. All callers changed.
9933 Doc fix.
9934 (frameset-p): Adapt to change to vector and be more thorough.
9935 Change arg name to OBJECT. Doc fix.
9936 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
9937 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
9938 All callers changed.
9939 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
9940 All callers changed.
9941 (frameset--record-minibuffer-relationships): Rename from
9942 frameset--process-minibuffer-frames. All callers changed.
9943 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
9944 Use new default constructor (again). Doc fix.
c295fc18 9945 (frameset--find-frame-if): Rename from `frameset--find-frame'.
a912c016
JB
9946 All callers changed.
9947 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
9948 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
9949 Doc fix.
9950 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
9951 PARAMETERS and WINDOW-STATE, respectively.
9952 (frameset-restore): Add new keyword argument PREDICATE.
9953 Reset frameset--target-display to nil. Doc fix.
9954
bb41480a
SM
99552013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
9956
f001e98e
SM
9957 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
9958 (bat-mode): Use it.
9959 (bat-mode-syntax-table): Mark \n as end-of-comment.
9960 (bat-font-lock-keywords): Remove comment rule.
9961
7679edb1
SM
9962 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
9963 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
9964
bb41480a
SM
9965 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
9966 (byte-compile-callargs-warn): Use `push'.
9967 (byte-compile-arglist-warn): Ignore higher-order "calls".
9968 (byte-compile-file-form-autoload): Use `pcase'.
9969 (byte-compile-function-form): If quoting a symbol, check that it exists.
9970
cdc1ebb9
EZ
99712013-08-07 Eli Zaretskii <eliz@gnu.org>
9972
9973 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
9974 and add a few popular commands found in batch files.
9975 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
9976 (dos-mode): Doc fixes.
9977
312b1740
SM
99782013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
9979
9980 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
9981 (dos-mode): Use setq-local. Add space after "rem".
9982 (dos-mode-syntax-table): Don't use "w" for symbol chars.
9983 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
9984
400a3178
AM
99852013-08-07 Arni Magnusson <arnima@hafro.is>
9986
9987 * progmodes/dos.el: New file.
9988 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
9989 dos-mode.
9990
3b5c03d3
GM
99912013-08-06 Glenn Morris <rgm@gnu.org>
9992
9993 * calendar/calendar.el: Add new faces, and day-header-array.
9994 (calendar-weekday-header, calendar-weekend-header)
9995 (calendar-month-header): New faces.
9996 (calendar-day-header-construct): New function.
9997 (calendar-day-header-width): Also :set calendar-day-header-array.
9998 (calendar-american-month-header, calendar-european-month-header)
9999 (calendar-iso-month-header): Use calendar- faces.
10000 (calendar-generate-month):
10001 Use calendar-day-header-array for day headers; apply faces to them.
10002 (calendar-mode): Check calendar-font-lock-keywords non-nil.
10003 (calendar-abbrev-construct): Add optional maxlen argument.
10004 (calendar-day-name-array): Doc fix.
10005 (calendar-day-name-array, calendar-abbrev-length)
10006 (calendar-day-abbrev-array):
10007 Also :set calendar-day-header-array, and maybe redraw.
10008 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 10009 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
10010 (calendar-day-name): Add option to use header array.
10011
ec6a2d7a
LMI
100122013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10013
10014 * net/shr.el (shr-render-td): Remove debugging.
10015 (shr-render-td): Make width computation consistent by defaulting
10016 all zero-width columns to 10 characters. This may not be optimal,
10017 but it's at least consistent.
2122cb6d
LMI
10018 (shr-make-table-1): Redo last change to fix the real problem in
10019 colspan handling.
ec6a2d7a 10020
ed4fd9c5
DA
100212013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10022
0ca3f70e
SM
10023 * files.el (cache-long-line-scans):
10024 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 10025
64e22afe
JB
100262013-08-06 Juanma Barranquero <lekktu@gmail.com>
10027
024b38fc
JB
10028 * frameset.el (frameset, frameset-filter-alist)
10029 (frameset-filter-params, frameset-save, frameset--reuse-frame)
10030 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
10031 (frameset-compute-pos): Rename from frameset--compute-pos,
10032 and add docstring.
10033 (frameset-move-onscreen): Use frameset-compute-pos.
10034 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10035
64e22afe
JB
10036 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
10037 Fix typos in docstrings.
10038
c8c2aca8
DA
100392013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10040
10041 * frame.el (get-other-frame): Tiny cleanup.
10042
1d237bba
JB
100432013-08-06 Juanma Barranquero <lekktu@gmail.com>
10044
8951efef
JB
10045 * vc/vc.el (vc-default-ignore-completion-table):
10046 Silence byte-compiler warning.
10047
307764cc 10048 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3fcfc4ee 10049 slot, which can indeed be nil.
307764cc
JB
10050 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10051 Move entry for `left' from persistent to live filter alist.
10052 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
10053 Doc fixes.
10054 (frameset-filter-params): When restoring a frame, copy items added to
10055 `filtered', to avoid unwittingly modifying the original parameters.
10056 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
10057 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
10058
1d237bba
JB
10059 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
10060 to use looking-at-p instead of looking-at. (Bug#15028)
10061
dc6c0eda
SM
100622013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
10063
10064 Revert introduction of isearch-filter-predicates (bug#14714).
10065 Rely on add-function instead.
10066 * isearch.el (isearch-filter-predicates): Rename it back to
10067 isearch-filter-predicate.
10068 (isearch-message-prefix): Use advice-function-mapc and advice
10069 properties to get the isearch-message-prefix.
10070 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
10071 instead of run-hook-with-args-until-failure.
10072 (isearch-filter-visible): Not obsolete any more.
10073 * loadup.el: Preload nadvice.
10074 * replace.el (perform-replace): Revert to funcall
10075 instead of run-hook-with-args-until-failure.
10076 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
10077 * dired-aux.el (dired-isearch-filenames-mode): Rename from
10078 dired-isearch-filenames-toggle; make it into a proper minor mode.
10079 Use add/remove-function.
10080 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
10081 Call the minor-mode rather than add/remove-hook.
10082 (dired-isearch-filter-filenames):
10083 Remove isearch-message-prefix property.
10084 * info.el (Info--search-loop): New function, extracted from Info-search.
10085 Funcall isearch-filter-predicate instead of
10086 run-hook-with-args-until-failure isearch-filter-predicates.
10087 (Info-search): Use it.
10088 (Info-mode): Use isearch-filter-predicate instead of
10089 isearch-filter-predicates.
10090
290d5b58
DA
100912013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10092
10093 Do not call to `selected-window' where it is assumed by default.
10094 Affected functions are `window-minibuffer-p', `window-dedicated-p',
10095 `window-hscroll', `window-width', `window-height', `window-buffer',
10096 `window-frame', `window-start', `window-point', `next-window'
10097 and `window-display-table'.
10098 * abbrev.el (abbrev--default-expand):
10099 * bs.el (bs--show-with-configuration):
10100 * buff-menu.el (Buffer-menu-mouse-select):
10101 * calc/calc.el (calc):
10102 * calendar/calendar.el (calendar-generate-window):
10103 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
10104 (diary-make-entry):
10105 * comint.el (send-invisible, comint-dynamic-complete-filename)
10106 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
10107 * completion.el (complete):
10108 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
10109 * disp-table.el (describe-current-display-table):
10110 * doc-view.el (doc-view-insert-image):
10111 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
10112 * ehelp.el (with-electric-help):
10113 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
10114 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
10115 * emacs-lisp/helper.el (Helper-help-scroller):
10116 * emulation/cua-base.el (cua--post-command-handler-1):
10117 * eshell/esh-mode.el (eshell-output-filter):
10118 * ffap.el (ffap-gnus-wrapper):
10119 * help-macro.el (make-help-screen):
10120 * hilit-chg.el (highlight-compare-buffers):
10121 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
10122 * hl-line.el (global-hl-line-highlight):
10123 * icomplete.el (icomplete-simple-completing-p):
10124 * isearch.el (isearch-done):
10125 * jit-lock.el (jit-lock-stealth-fontify):
10126 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
a12bf61e 10127 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
290d5b58
DA
10128 * mpc.el (mpc-tagbrowser, mpc):
10129 * net/rcirc.el (rcirc-any-buffer):
10130 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
10131 * play/landmark.el (landmark-max-width, landmark-max-height):
10132 * play/zone.el (zone):
10133 * progmodes/compile.el (compilation-goto-locus):
10134 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
10135 * progmodes/etags.el (find-tag-other-window):
10136 * progmodes/fortran.el (fortran-column-ruler):
10137 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
10138 * progmodes/verilog-mode.el (verilog-point-text):
10139 * reposition.el (reposition-window):
10140 * rot13.el (toggle-rot13-mode):
10141 * server.el (server-switch-buffer):
10142 * shell.el (shell-dynamic-complete-command)
10143 (shell-dynamic-complete-environment-variable):
10144 * simple.el (insert-buffer, set-selective-display)
10145 (delete-completion-window):
10146 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
10147 (speedbar-recenter):
10148 * startup.el (fancy-splash-head):
10149 * textmodes/ispell.el (ispell-command-loop):
10150 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
10151 * tutorial.el (help-with-tutorial):
10152 * vc/add-log.el (add-change-log-entry):
10153 * vc/compare-w.el (compare-windows):
10154 * vc/ediff-help.el (ediff-indent-help-message):
10155 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
10156 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
10157 (ediff-setup-control-frame):
10158 * vc/emerge.el (emerge-position-region):
10159 * vc/pcvs-util.el (cvs-bury-buffer):
10160 * window.el (walk-windows, mouse-autoselect-window-select):
10161 * winner.el (winner-set-conf, winner-undo): Related users changed.
10162
38276e01
JB
101632013-08-05 Juanma Barranquero <lekktu@gmail.com>
10164
10165 * frameset.el (frameset--set-id): Doc fix.
10166 (frameset-frame-id, frameset-frame-id-equal-p)
10167 (frameset-locate-frame-id): New functions.
10168 (frameset--process-minibuffer-frames, frameset--reuse-frame)
10169 (frameset-restore): Use them.
10170
12b4c0ea
DA
101712013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10172
10173 Do not call to `selected-frame' where it is assumed by default.
10174 Affected functions are `raise-frame', `redraw-frame',
10175 `frame-first-window', `frame-terminal' and `delete-frame'.
10176 * calendar/appt.el (appt-disp-window):
10177 * epg.el (epg-wait-for-completion):
10178 * follow.el (follow-delete-other-windows-and-split)
10179 (follow-avoid-tail-recenter):
10180 * international/mule.el (set-terminal-coding-system):
10181 * mail/rmail.el (rmail-mail-return):
10182 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
10183 * progmodes/f90.el (f90-add-imenu-menu):
10184 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
10185 * server.el (server-switch-buffer):
10186 * simple.el (delete-completion-window):
10187 * talk.el (talk):
10188 * term/xterm.el (terminal-init-xterm-modify-other-keys)
10189 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
10190 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
10191 * vc/ediff.el (ediff-documentation): Related users changed.
10192 * frame.el (selected-terminal): Remove the leftover.
10193
17f25e76
GM
101942013-08-05 Glenn Morris <rgm@gnu.org>
10195
10196 * calendar/calendar.el (calendar-generate-month):
10197 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
10198 (calendar-generate-month, calendar-font-lock-keywords):
10199 Fix for calendar-day-header-width > length of any day name.
17f25e76 10200
063233c3
JB
102012013-08-05 Juanma Barranquero <lekktu@gmail.com>
10202
10203 * desktop.el (desktop-clear): Use new name of sort predicate.
10204
10205 * frameset.el (frameset): Add docstring. Move :version property to its
10206 own `version' slot.
10207 (frameset-copy): Rename from copy-frameset.
10208 (frameset-p): Check more thoroughly.
10209 (frameset-prop): Do not check for :version, which is no longer a prop.
10210 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10211 Use new :never value instead of t.
10212 (frameset-filter-alist): Expand and clarify docstring.
10213 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
10214 (frameset-filter-minibuffer, frameset-filter-save-param)
10215 (frameset-filter-restore-param, frameset-filter-iconified):
10216 Add pointer to docstring of frameset-filter-alist.
10217 (frameset-filter-params): Rename filter values to be more meaningful:
10218 :never instead of t, and reverse the meanings of :save and :restore.
10219 (frameset--process-minibuffer-frames): Clarify error message.
10220 (frameset-save): Avoid unnecessary and confusing call to framep.
10221 Use new BOA constructor for framesets.
10222 (frameset--reuse-list): Doc fix.
10223 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
10224 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
10225 (frameset-minibufferless-first-p): Doc fix.
10226 Rename from frameset-sort-frames-for-deletion.
10227 (frameset-restore): Doc fixes. Use new function names.
10228 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10229
d5671a82
JB
102302013-08-04 Juanma Barranquero <lekktu@gmail.com>
10231
10232 * desktop.el (desktop-restore-forces-onscreen)
10233 (desktop-restore-reuses-frames): Document :keyword constant values.
10234 (desktop-filter-parameters-alist): Remove, now identical to
10235 frameset-filter-alist.
10236 (desktop--filter-tty*): Remove, moved to frameset.el.
10237 (desktop-save-frameset, desktop-restore-frameset):
10238 Do not pass :filters argument.
10239
10240 * frameset.el (frameset-live-filter-alist)
10241 (frameset-persistent-filter-alist): New variables.
10242 (frameset-filter-alist): Use them. Add autoload cookie.
10243 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
10244 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
10245 `frameset--id' (it's supposed to be internal to frameset.el).
10246 (frameset--process-minibuffer-frames): Ditto. Doc fix.
10247 (frameset--initial-params): New function.
10248 (frameset--get-frame): Use it. Doc fix.
10249 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
10250 Accept :all, not 'all.
10251 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
10252 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
10253 with fbound symbols. Fix frame id matching, and remove matching ids if
10254 the frame being restored is deleted. Obey :delete.
10255
671d5c16
SM
102562013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10257
10258 * subr.el (macrop): New function.
10259 (text-clone--maintaining): New var.
10260 (text-clone--maintain): Rename from text-clone-maintain. Use it
10261 instead of inhibit-modification-hooks.
10262
10263 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
10264 a proxy, so as handle autoloads and redefinitions of the target.
10265 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
10266
10267 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
10268 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
10269 (pcase--mutually-exclusive-p): New function.
10270 (pcase--split-consp): Use it.
10271 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
10272 mutually exclusive with the current predicate.
10273
10274 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
10275 (edebug-macrop): Remove. Use `macrop' instead.
10276 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
10277 (ad-macro-p):
10278 * eshell/esh-cmd.el (eshell-macrop):
10279 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
10280
1d44e9dc
SM
102812013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10282
10283 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
10284 (advice-mapc): New function, using it.
10285 (advice-function-member-p): New function.
10286 (advice--normalize): Store the cdr in advice--saved-rewrite since
10287 that's the part that will be changed.
10288 (advice--symbol-function): New function.
10289 (advice-remove): Handle removal before the function is defined.
10290 Adjust to new advice--saved-rewrite.
10291 (advice-member-p): Use advice-function-member-p and
10292 advice--symbol-function.
10293
5414a283
JB
102942013-08-04 Juanma Barranquero <lekktu@gmail.com>
10295
51d30f2c
JB
10296 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
10297 (frameset-filter-minibuffer): Doc fix.
10298 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
10299 (frameset--set-id, frameset--process-minibuffer-frames)
10300 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
10301 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 10302
5414a283
JB
10303 * desktop.el (desktop-clear): Only delete frames when called
10304 interactively and desktop-restore-frames is non-nil. Doc fix.
10305 (desktop-read): Set desktop-saved-frameset to nil.
10306
ab419665
XF
103072013-08-04 Xue Fuqiao <xfq.free@gmail.com>
10308
10309 * vc/vc.el (vc-ignore): Rewrite.
35e951cd 10310 (vc-default-ignore-completion-table, vc--read-lines)
ab419665
XF
10311 (vc--add-line, vc--remove-regexp): New functions.
10312
10313 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
10314 (vc-svn-ignore-completion-table): New function.
10315
10316 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
35e951cd 10317 (vc-hg-ignore-completion-table)
ab419665
XF
10318 (vc-hg-find-ignore-file): New functions.
10319
10320 * vc/vc-git.el (vc-git-ignore): Rewrite.
35e951cd 10321 (vc-git-ignore-completion-table)
ab419665
XF
10322 (vc-git-find-ignore-file): New functions.
10323
10324 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
10325
10326 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
35e951cd 10327 (vc-bzr-ignore-completion-table)
ab419665
XF
10328 (vc-bzr-find-ignore-file): New functions.
10329
2613dea2
JB
103302013-08-03 Juanma Barranquero <lekktu@gmail.com>
10331
10332 * frameset.el (frameset-prop): New function and setter.
10333 (frameset-save): Do not modify frame list passed by the caller.
10334
9c959872
SM
103352013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10336
10337 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
10338
a104f656
SM
103392013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
10340
70122acf
SM
10341 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
10342 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
10343
a104f656
SM
10344 * custom.el (custom-initialize-default, custom-initialize-set)
10345 (custom-initialize-reset, custom-initialize-changed): Affect the
10346 toplevel-default-value (bug#6275, bug#14586).
10347 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
10348 for bug#6275.
10349
f078d570
JB
103502013-08-02 Juanma Barranquero <lekktu@gmail.com>
10351
185e3b5a
JB
10352 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
10353 Add cl-def* expressions.
10354
f078d570
JB
10355 * frameset.el (frameset-filter-params): Fix order of arguments.
10356
9421876d
JB
103572013-08-02 Juanma Barranquero <lekktu@gmail.com>
10358
10359 Move code related to saving frames to frameset.el.
10360 * desktop.el: Require frameset.
10361 (desktop-restore-frames): Doc fix.
10362 (desktop-restore-reuses-frames): Rename from
10363 desktop-restoring-reuses-frames.
10364 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
10365 (desktop-clear): Clear frames too.
10366 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
10367 (desktop--filter-tty*, desktop-save, desktop-read):
10368 Use frameset functions.
10369 (desktop-before-saving-frames-functions, desktop--filter-*-color)
10370 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
10371 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
10372 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
10373 (desktop--process-minibuffer-frames, desktop-save-frames)
10374 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
10375 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
10376 (desktop--sort-states, desktop-restoring-frames-p)
10377 (desktop-restore-frames): Remove. Most code moved to frameset.el.
10378 (desktop-restoring-frameset-p, desktop-restore-frameset)
10379 (desktop--check-dont-save, desktop-save-frameset): New functions.
10380 (desktop--app-id): New constant.
10381 (desktop-first-buffer, desktop-buffer-ok-count)
10382 (desktop-buffer-fail-count): Move before first use.
10383 * frameset.el: New file.
10384
76dc5996
SM
103852013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
10386
10387 * files.el: Use lexical-binding.
10388 (dir-locals-read-from-file): Remove unused `err' variable.
10389 (hack-dir-local-variables--warned-coding): New var.
10390 (hack-dir-local-variables): Use it to avoid repeated warnings.
10391 (make-backup-file-name--default-function): New function.
10392 (make-backup-file-name-function): Use it as default.
10393 (buffer-stale--default-function): New function.
10394 (buffer-stale-function): Use it as default.
10395 (revert-buffer-insert-file-contents--default-function): New function.
10396 (revert-buffer-insert-file-contents-function): Use it as default.
10397 (insert-directory): Avoid add-to-list.
10398
10399 * autorevert.el (auto-revert-handler): Simplify.
10400 Use buffer-stale--default-function.
10401
06d36e2b
TH
104022013-08-01 Tassilo Horn <tsdh@gnu.org>
10403
5f648ab4
TH
10404 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
10405
06d36e2b
TH
10406 * whitespace.el (whitespace-ensure-local-variables): New function.
10407 (whitespace-cleanup-region): Call it.
10408 (whitespace-turn-on): Call it.
10409
a43dc424
MA
104102013-08-01 Michael Albinus <michael.albinus@gmx.de>
10411
10412 Complete file name handlers.
10413
10414 * net/tramp.el (tramp-handle-set-visited-file-modtime)
10415 (tramp-handle-verify-visited-file-modtime)
10416 (tramp-handle-file-notify-rm-watch): New functions.
10417 (tramp-call-process): Do not bind `default-directory'.
10418
44e18199
JB
10419 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10420 Order alphabetically.
afe1e4c8
GM
10421 <access-file, add-name-to-file, dired-call-process>:
10422 <dired-compress-file, file-acl, file-notify-rm-watch>:
10423 <file-ownership-preserved-p, file-selinux-context>:
10424 <make-directory-internal, make-symbolic-link, set-file-acl>:
10425 <set-file-selinux-context, set-visited-file-modtime>:
10426 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
10427 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
10428
10429 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
afe1e4c8
GM
10430 <file-notify-add-watch, file-notify-rm-watch>:
10431 <set-file-times, set-visited-file-modtime>:
10432 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
10433 (with-tramp-gvfs-error-message)
10434 (tramp-gvfs-handle-set-visited-file-modtime)
10435 (tramp-gvfs-fuse-file-name): Remove.
10436 (tramp-gvfs-handle-file-notify-add-watch)
10437 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
10438 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
10439
44e18199
JB
10440 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10441 Order alphabetically.
afe1e4c8
GM
10442 <file-notify-rm-watch>: Use default Tramp handler.
10443 <executable-find>: Remove private handler.
a43dc424
MA
10444 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
10445 `default-directory'.
10446 (tramp-sh-handle-executable-find)
10447 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
10448 (tramp-sh-file-gvfs-monitor-dir-process-filter)
10449 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
10450 Do not use `format' in `tramp-message'.
10451
10452 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
afe1e4c8
GM
10453 <file-notify-rm-watch, set-visited-file-modtime>:
10454 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
10455 (tramp-smb-call-winexe): Do not bind `default-directory'.
10456
7188b515
XF
104572013-08-01 Xue Fuqiao <xfq.free@gmail.com>
10458
10459 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
10460
2412ee1a
DG
104612013-07-31 Dmitry Gutov <dgutov@yandex.ru>
10462
10463 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
10464 use it.
10465 (log-view-diff-changeset): Same.
10466 (log-view-diff-common): Call backend command `previous-revision'
10467 to find out the previous revision, in both cases. Swap the
10468 variables `to' and `fr', so that `fr' usually refers to the
10469 earlier revision (Bug#14989).
10470
5002a754
KRC
104712013-07-31 Kan-Ru Chen <kanru@kanru.info>
10472
10473 * ibuf-ext.el (ibuffer-filter-by-filename):
10474 Make it work with dired buffers too.
10475
44e18199 104762013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
10477
10478 * emacs-lisp/re-builder.el (reb-color-display-p):
10479 * files.el (save-buffers-kill-terminal):
10480 * net/browse-url.el (browse-url):
10481 * server.el (server-save-buffers-kill-terminal):
10482 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
10483 Prefer nil to selected-frame for the first arg of frame-parameter.
10484
aeca3fbb
XF
104852013-07-31 Xue Fuqiao <xfq.free@gmail.com>
10486
10487 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
10488
158bc55c
SB
104892013-07-30 Stephen Berman <stephen.berman@gmx.net>
10490
10491 * minibuffer.el (completion--twq-all): Try and preserve each
10492 completion's case choice (bug#14907).
10493
d50fceab
LMI
104942013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10495
ac38e731
LMI
10496 * net/network-stream.el (open-network-stream): Mention the new
10497 :nogreeting parameter.
10498 (network-stream-open-starttls): Use the :nogreeting parameter
10499 (bug#14938).
10500
1211de50
LMI
10501 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
10502
997798bf
LMI
10503 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
10504 more natural than popping.
10505
d50fceab 10506 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 10507 (shr-urlify): Highlight under mouse.
d50fceab 10508
5c09de04
XF
105092013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10510
207d1d04
XF
10511 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
10512
10513 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
10514
5c09de04
XF
10515 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
10516 buffer for output.
10517
3cd51eaa
XF
10518 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
10519 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 10520
44e18199 10521 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 10522 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
10523
10524 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
10525
10526 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
10527 buffer for output.
10528
35a89bdd
EZ
105292013-07-29 Eli Zaretskii <eliz@gnu.org>
10530
10531 * frame.el (frame-notice-user-settings): Avoid inflooping when the
10532 initial frame is minibuffer-less. (Bug#14841)
10533
78822e94
MA
105342013-07-29 Michael Albinus <michael.albinus@gmx.de>
10535
10536 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
10537 option.
10538
10539 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10540 (tramp-maybe-open-connection): Use it.
10541
9503c190
JB
105422013-07-28 Juanma Barranquero <lekktu@gmail.com>
10543
10544 * desktop.el (desktop--make-frame): Include `minibuffer' in the
10545 minimal set of parameters passed when creating a frame, because
10546 the minibuffer status of a frame cannot be changed later.
10547
d5a845b4
SB
105482013-07-28 Stephen Berman <stephen.berman@gmx.net>
10549
10550 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
10551 replace-regexp-in-string and inadvertent omissions in previous change.
10552 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 10553 name of filtered items buffer.
d5a845b4 10554
ddeffb17
JB
105552013-07-28 Juanma Barranquero <lekktu@gmail.com>
10556
10557 * desktop.el: Optionally force offscreen frames back onscreen.
10558 (desktop-restoring-reuses-frames): New option.
10559 (desktop--compute-pos, desktop--move-onscreen): New functions.
10560 (desktop--make-frame): Use desktop--move-onscreen.
10561
f5950f7a
AM
105622013-07-27 Alan Mackenzie <acm@muc.de>
10563
10564 Fontify a Java generic method as a function.
10565 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
10566 value to t.
10567
ae43b66a
SB
105682013-07-27 Stephen Berman <stephen.berman@gmx.net>
10569
10570 * calendar/todo-mode.el: Add command to rename todo files.
10571 (todo-rename-file): New command.
10572 (todo-key-bindings-t): Add key binding for it. Change the
10573 bindings of todo-filter-regexp-items(-multifile) to use `x'
10574 instead of `r', since the latter is better suited to the new
10575 renaming command.
10576
5ab78d3d
AM
105772013-07-27 Alan Mackenzie <acm@muc.de>
10578
10579 Make Java try-with-resources statement parse properly.
10580 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
10581 (c-block-stmt-1-2-key): New language constants/variables.
10582 * progmodes/cc-engine.el (c-beginning-of-statement-1)
10583 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
10584 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 10585 with c-block-stmt-1-2-key.
5ab78d3d 10586
d85c4d50
JB
105872013-07-27 Juanma Barranquero <lekktu@gmail.com>
10588
10589 * desktop.el (desktop--make-frame): Apply most frame parameters after
10590 creating the frame to force (partially or totally) offscreen frames to
10591 be restored as such.
10592
e4c467f9
XF
105932013-07-26 Xue Fuqiao <xfq.free@gmail.com>
10594
10595 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 10596 (Bug#14948)
e4c467f9 10597
7ced0d04
SM
105982013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10599
10600 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
10601 `base' arg of backtrace-frame.
10602
fec92060
EZ
106032013-07-26 Eli Zaretskii <eliz@gnu.org>
10604
10605 * simple.el (list-processes): Doc fix.
10606
d58d31fb
JB
106072013-07-26 Juanma Barranquero <lekktu@gmail.com>
10608
10609 * desktop.el (desktop--select-frame):
d85c4d50 10610 Try harder to reuse existing frames.
d58d31fb 10611
53ff3e77
SM
106122013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10613
10614 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
10615 (edebug-eval): Use backtrace-eval.
10616 (edebug--display, edebug--recursive-edit): Don't let-bind the
10617 edebug-outer-* vars that keep track of variables we locally let-bind.
10618 (edebug-outside-excursion): Don't restore outside values of locally
10619 let-bound vars.
10620 (edebug--display): Use user-error.
10621 (cl-lexical-debug, cl-debug-env): Remove.
10622
045f7a53
JB
106232013-07-26 Juanma Barranquero <lekktu@gmail.com>
10624
10625 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
10626 are restored to be sure that they are visible before deleting any
10627 remaining ones.
10628
59070b32
MM
106292013-07-26 Matthias Meulien <orontee@gmail.com>
10630
742a3501
XF
10631 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
10632 vc-print-root-log. (Bug#14948)
59070b32 10633
b1fb3596
RS
106342013-07-26 Richard Stallman <rms@gnu.org>
10635
10636 Add aliases for encrypting mail.
10637 * epa.el (epa-mail-aliases): New option.
10638 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
10639 Bind inhibit-read-only so read-only text doesn't ruin everything.
10640 (epa-mail-default-recipients): New subroutine broken out.
10641 Handle epa-mail-aliases.
10642
56ea7291
SM
106432013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10644
10645 Add support for lexical variables to the debugger's `e' command.
10646 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
10647 vars, except for debugger-outer-match-data.
10648 (debugger-frame-number): Move check for "on a function call" from
10649 callers into it. Add `skip-base' argument.
10650 (debugger-frame, debugger-frame-clear): Simplify accordingly.
10651 (debugger-env-macro): Only reset the state stored in non-variables,
10652 i.e. current-buffer and match-data.
10653 (debugger-eval-expression): Rewrite using backtrace-eval.
10654 * subr.el (internal--called-interactively-p--get-frame): Remove.
10655 (called-interactively-p):
10656 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
10657 `base' arg of backtrace-frame instead.
10658
15ac32d5
GM
106592013-07-26 Glenn Morris <rgm@gnu.org>
10660
8358a09d
GM
10661 * align.el (align-regexp): Doc fix. (Bug#14857)
10662 (align-region): Explicit error if subexpression missing/does not match.
10663
15ac32d5
GM
10664 * simple.el (global-visual-line-mode):
10665 Do not duplicate the mode lighter. (Bug#14858)
10666
f47ad11b
MR
106672013-07-25 Martin Rudalics <rudalics@gmx.at>
10668
10669 * window.el (display-buffer): In display-buffer bind
10670 split-window-keep-point to t, bug#14829.
10671
02530987
JB
106722013-07-25 Juanma Barranquero <lekktu@gmail.com>
10673
10674 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
10675 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
10676 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
10677 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10678 Change accordingly.
f63ebeb5
JB
10679 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10680 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 10681
6ccb9cab 106822013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 10683
6ccb9cab 10684 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 10685
cb3a56d2
JB
106862013-07-25 Juanma Barranquero <lekktu@gmail.com>
10687
10688 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
10689 parameter to modify-frame-parameters if the value has not changed;
10690 this is a workaround for bug#14949.
10691 (desktop--make-frame): On cl-delete-if call, check parameter name,
10692 not full parameter.
10693
7aa7fff0
XF
106942013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10695
10696 * vc/vc.el (vc-ignore): New function.
10697
10698 * vc/vc-svn.el (vc-svn-ignore): New function.
10699
10700 * vc/vc-hg.el (vc-hg-ignore): New function.
10701
10702 * vc/vc-git.el (vc-git-ignore): New function.
10703
10704 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
10705 (vc-dir-ignore): New function.
10706
10707 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 10708 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
10709
10710 * vc/vc-bzr.el (vc-bzr-ignore): New function.
10711
10712 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
10713
889acc5c
JB
107142013-07-24 Juanma Barranquero <lekktu@gmail.com>
10715
10716 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
10717 (desktop-restore-frames): Warn when deleting an existing frame failed.
10718
86c40970
GM
107192013-07-24 Glenn Morris <rgm@gnu.org>
10720
10721 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
10722
d5d3c58a
MA
107232013-07-24 Michael Albinus <michael.albinus@gmx.de>
10724
10725 * filenotify.el (file-notify-supported-p):
10726 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
10727 Remove functions.
10728
35e951cd 10729 * autorevert.el (auto-revert-use-notify)
d5d3c58a
MA
10730 (auto-revert-notify-add-watch):
10731 * net/tramp.el (tramp-file-name-for-operation):
10732 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10733 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10734 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10735 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
10736 Remove `file-notify-supported-p' entry.
10737
d100084b
GM
107382013-07-24 Glenn Morris <rgm@gnu.org>
10739
10740 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 10741 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 10742
ac93e56b
SM
107432013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
10744
249eea30
SM
10745 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
10746 checked with memq (bug#14935).
10747
ac93e56b
SM
10748 * files.el (revert-buffer-function): Use a non-nil default.
10749 (revert-buffer-preserve-modes): Declare var to
10750 provide access to the `preserve-modes' argument.
10751 (revert-buffer): Let-bind it.
10752 (revert-buffer--default): New function, extracted from revert-buffer.
10753
2cdeb903
SM
107542013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
10755
10756 * lpr.el: Signal print errors more prominently.
10757 (print-region-function): Don't default to nil.
10758 (lpr-print-region): New function, extracted from print-region-1.
10759 Check lpr's return value and signal an error in case of problem.
10760 (print-region-1): Use it.
10761 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
10762 versions instead.
10763 (ps-printer-name): Default to nil.
10764 (ps-printer-name-option): Default to lpr-printer-switch.
10765 (ps-print-region-function): Don't default to nil.
10766 (ps-postscript-code-directory): Simplify default.
10767 (ps-do-despool): Use lpr-print-region to properly check the outcome.
10768 (ps-string-list, ps-eval-switch, ps-flatten-list)
10769 (ps-flatten-list-1): Remove.
10770 (ps-multibyte-buffer): Avoid setq.
10771 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
10772 (print-region-function, ps-print-region-function): Don't set them here.
10773
73600831
XF
107742013-07-24 Xue Fuqiao <xfq.free@gmail.com>
10775
35e951cd
JB
10776 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
10777 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
10778 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
0e55c076
XF
10779 (ido-decorations): Doc fix.
10780
73600831
XF
10781 * ansi-color.el: Fix old URL.
10782
3d012865
MM
107832013-07-23 Michael R. Mauger <michael@mauger.com>
10784
e903c210 10785 * progmodes/sql.el: Version 3.3
3d012865
MM
10786 (sql-product-alist): Improve oracle :prompt-cont-regexp.
10787 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
10788 (sql-interactive-remove-continuation-prompt): Rewrite, use
10789 functions above. Fix continuation prompt and complete output line
10790 handling.
10791 (sql-redirect-one, sql-execute): Use `read-only-mode' on
10792 redirected output buffer.
10793 (sql-mode): Restore deleted code (Bug#13591).
10794
da77a2e2
JB
107952013-07-23 Juanma Barranquero <lekktu@gmail.com>
10796
10797 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
10798
80ff0c71
MA
107992013-07-23 Michael Albinus <michael.albinus@gmx.de>
10800
10801 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
10802
10803 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10804 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10805 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
10806
b61d71e4
JB
108072013-07-23 Juanma Barranquero <lekktu@gmail.com>
10808
10809 * desktop.el (desktop-clear): Simplify; remove useless checks
10810 against invalid buffer names.
10811 (desktop-list*): Use cl-list*.
10812 (desktop-buffer-info, desktop-create-buffer): Simplify.
10813
c3512092
LL
108142013-07-23 Leo Liu <sdl.web@gmail.com>
10815
10816 * bookmark.el (bookmark-make-record): Restore NAME as a default
10817 value. (Bug#14933)
10818
0ac26976
SM
108192013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
10820
7d22ce18
SM
10821 * emacs-lisp/autoload.el (autoload--setup-output): New function,
10822 extracted from autoload--insert-text.
10823 (autoload--insert-text): Remove.
10824 (autoload--print-cookie-text): New function, extracted from
10825 autoload--insert-cookie-text.
10826 (autoload--insert-cookie-text): Remove.
10827 (autoload-generate-file-autoloads): Adjust calls accordingly.
10828
9b2607e8
SM
10829 * winner.el (winner-hook-installed-p): Remove.
10830 (winner-mode): Simplify accordingly.
10831
c43a8618
SM
10832 * subr.el (add-to-list): Fix compiler-macro when `append' is
10833 not constant. Don't use `cl-member' for the base case.
10834
0ac26976
SM
10835 * progmodes/subword.el: Fix boundary case (bug#13758).
10836 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
10837 own group.
10838 (subword-backward-regexp): Make it a constant.
10839 (subword-forward-internal): Don't treat a trailing capital as the
10840 beginning of a word.
10841
6874724a
AR
108422013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
10843
10844 * emacs-lisp/package.el (package-menu-mode): Don't modify the
10845 global value of tabulated-list-revert-hook (bug#14930).
10846
70f1b5e8
JB
108472013-07-22 Juanma Barranquero <lekktu@gmail.com>
10848
a1c80d9d
JB
10849 * desktop.el: Require 'cl-lib.
10850 (desktop-before-saving-frames-functions): New hook.
10851 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
10852 for frames being saved. Rename from desktop--save-minibuffer-frames.
10853 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
10854 Do not save frames with non-nil `desktop-dont-save' parameter.
10855 Filter out deleted frames.
a1c80d9d
JB
10856 (desktop--find-frame): Use cl-find-if.
10857 (desktop--select-frame): Use cl-(first|second|third) to access values
10858 of desktop-mini.
10859 (desktop--make-frame): Use cl-delete-if.
10860 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
10861 (desktop-restore-frames): Use cl-(first|second|third) to access values
10862 of desktop-mini. Look for visible frame at the end, not while
10863 restoring frames.
10864
70f1b5e8
JB
10865 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
10866 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
10867 Use string-match-p, looking-at-p (bug#14927).
10868
728dc3cc
JB
108692013-07-21 Juanma Barranquero <lekktu@gmail.com>
10870
56bc453c
JB
10871 * desktop.el (desktop-saved-frame-states):
10872 Rename from desktop--saved-states; all users changed.
10873 (desktop-save-frames): Rename from desktop--save-frames.
10874 Do not save state to desktop file.
10875 (desktop-save): Save desktop-saved-frame-states to desktop file
10876 and reset to nil.
10877 (desktop-restoring-frames-p): New function.
10878 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
10879 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
10880 buffer-lists when restoring frames. Suggested by Martin Rudalics.
10881
728dc3cc
JB
10882 * desktop.el: Correctly restore iconified frames.
10883 (desktop--filter-iconified-position): New function.
10884 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
10885
862f1c9c
GM
108862013-07-20 Glenn Morris <rgm@gnu.org>
10887
c4074c9f
GM
10888 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
10889 Let `message' do the formatting.
10890 (def-gdb-preempt-display-buffer): Add explicit format.
10891
d828e5f9
GM
10892 * image-dired.el (image-dired-track-original-file):
10893 Use with-current-buffer.
10894 (image-dired-track-thumbnail): Use with-current-buffer.
10895 Avoid changing point of wrong window.
10896
862f1c9c
GM
10897 * image-dired.el (image-dired-track-original-file):
10898 Avoid changing point of wrong window. (Bug#14909)
10899
f0398ec1 109002013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
10901
10902 * progmodes/gdb-mi.el (gdb-done-or-error):
10903 Guard against "%" in gdb output. (Bug#14127)
10904
1451928f
AS
109052013-07-20 Andreas Schwab <schwab@linux-m68k.org>
10906
763a086d
JB
10907 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
10908 (Bug#14826)
f7a03897 10909
1451928f
AS
10910 * international/mule.el (coding-system-iso-2022-flags): Fix last
10911 change.
10912
99107004
KH
109132013-07-20 Kenichi Handa <handa@gnu.org>
10914
763a086d
JB
10915 * international/mule.el (coding-system-iso-2022-flags):
10916 Add `8-bit-level-4'. (Bug#8522)
99107004 10917
48494e06
LMI
109182013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10919
8ba8eec5
LMI
10920 * net/shr.el (shr-mouse-browse-url): New command and keystroke
10921 (bug#14815).
10922
dfbc66e3
LMI
10923 * net/eww.el (eww-process-text-input): Allow inputting when the
10924 point is at the start of the line, as the properties aren't
10925 front-sticky.
10926
48494e06
LMI
10927 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
10928 degenerate widths.
10929
77c92cb9
RS
109302013-07-19 Richard Stallman <rms@gnu.org>
10931
aec7da77
RS
10932 * epa.el (epa-popup-info-window): Doc fix.
10933
77c92cb9
RS
10934 * subr.el (split-string): New arg TRIM.
10935
945c5bb1
JB
109362013-07-18 Juanma Barranquero <lekktu@gmail.com>
10937
10938 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
10939 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
10940
e06ec67f
MA
109412013-07-18 Michael Albinus <michael.albinus@gmx.de>
10942
c7064f05 10943 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
10944 `file-notify-support'. Do not autoload. Adapt all uses.
10945 (file-notify-supported-p): New defun.
10946
c7064f05
JB
10947 * autorevert.el (auto-revert-use-notify):
10948 Use `file-notify-supported-p' instead of `file-notify-support'.
10949 Adapt docstring.
e06ec67f
MA
10950 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
10951
10952 * net/tramp.el (tramp-file-name-for-operation):
10953 Add `file-notify-supported-p'.
10954
10955 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
10956 New defun.
10957 (tramp-sh-file-name-handler-alist): Add it as handler for
10958 `file-notify-supported-p '.
10959
10960 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10961 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10962 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
10963 Add `ignore' as handler for `file-notify-*' functions.
10964
5dc8a629
EZ
109652013-07-17 Eli Zaretskii <eliz@gnu.org>
10966
10967 * simple.el (line-move-partial, line-move): Don't start vscroll or
10968 scroll-up if the current line is not taller than the window.
10969 (Bug#14881)
10970
77aea2fb
DG
109712013-07-16 Dmitry Gutov <dgutov@yandex.ru>
10972
10973 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
10974 highlight question marks in the method names as strings.
ac72c08d
DG
10975 (ruby-block-beg-keywords): Inline.
10976 (ruby-font-lock-keyword-beg-re): Extract from
10977 `ruby-font-lock-keywords'.
77aea2fb 10978
18c26d81
JD
109792013-07-16 Jan Djärv <jan.h.d@swipnet.se>
10980
10981 * frame.el (blink-cursor-blinks): New defcustom.
10982 (blink-cursor-blinks-done): New defvar.
10983 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
10984 (blink-cursor-timer-function): Check if number of blinks has been
10985 done on X and NS.
10986 (blink-cursor-suspend, blink-cursor-check): New defuns.
10987
da48522e
GM
109882013-07-15 Glenn Morris <rgm@gnu.org>
10989
10990 * edmacro.el (edmacro-format-keys): Fix previous change.
10991
0463c1ef
PE
109922013-07-15 Paul Eggert <eggert@cs.ucla.edu>
10993
10994 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
10995 The hack didn't work outside English locales anyway.
10996
b43f6451
JB
109972013-07-15 Juanma Barranquero <lekktu@gmail.com>
10998
10999 * simple.el (define-alternatives): Rename from alternatives-define,
11000 per RMS' suggestion.
11001
b958c0ad
JB
110022013-07-14 Juanma Barranquero <lekktu@gmail.com>
11003
11004 * desktop.el (desktop-restore-frames): Change default to t.
11005 (desktop-restore-in-current-display): Now offer more options.
11006 (desktop-restoring-reuses-frames): New customization option.
11007 (desktop--saved-states): Doc fix.
11008 (desktop-filter-parameters-alist): New variable, renamed and expanded
11009 from desktop--excluded-frame-parameters.
11010 (desktop--target-display): New variable.
11011 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
11012 (desktop--filter-tty*, desktop--filter-*-color)
11013 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11014 (desktop--filter-save-desktop-parm)
11015 (desktop-restore-in-original-display-p): New functions.
11016 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
11017 (desktop--save-minibuffer-frames): New function, inspired by a similar
11018 function from Martin Rudalics.
11019 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
11020 (desktop--restore-in-this-display-p): Remove.
11021 (desktop--find-frame): Rename from desktop--find-frame-in-display
11022 and add predicate argument.
11023 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
11024 (desktop--reuse-list): New variable.
11025 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
11026 New functions.
11027 (desktop--restore-frames): Add support for "minibuffer-special" frames.
11028
f6dd8b36
MA
110292013-07-14 Michael Albinus <michael.albinus@gmx.de>
11030
11031 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
11032
2ce3c565
DG
110332013-07-13 Dmitry Gutov <dgutov@yandex.ru>
11034
763a086d
JB
11035 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11036 Highlight conversion methods on Kernel.
2ce3c565 11037
2cdb7698
AM
110382013-07-13 Alan Mackenzie <acm@muc.de>
11039
11040 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
11041 and comment it out. This out-commenting enables certain C++
11042 declarations to be parsed correctly.
11043
1a67b811
EZ
110442013-07-13 Eli Zaretskii <eliz@gnu.org>
11045
1b796d6b
EZ
11046 * international/mule.el (define-coding-system): Doc fix.
11047
1a67b811
EZ
11048 * simple.el (default-font-height): Don't call font-info if the
11049 frame's default font didn't change since the frame was created.
11050 (Bug#14838)
11051
58fbe886
LL
110522013-07-13 Leo Liu <sdl.web@gmail.com>
11053
11054 * ido.el (ido-read-file-name): Guard against non-symbol value.
11055
1f0480d4
FEG
110562013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
11057
11058 * progmodes/python.el (python-imenu--build-tree): Fix corner case
11059 in nested defuns.
11060
97ead0e5
LL
110612013-07-13 Leo Liu <sdl.web@gmail.com>
11062
11063 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
11064 ido-set-matches call. (Bug#6852)
11065
0880a952
DG
110662013-07-12 Dmitry Gutov <dgutov@yandex.ru>
11067
35e951cd 11068 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
0880a952
DG
11069 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
11070 Ruby 2.0.
11071 (ruby-font-lock-keywords): Distinguish calls to functions with
11072 module-like names from module references. Highlight character
11073 literals.
11074
a7d8babb
SDJ
110752013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
11076
11077 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 11078 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 11079
acfcc8c5
JB
110802013-07-12 Juanma Barranquero <lekktu@gmail.com>
11081
11082 * desktop.el (desktop--v2s): Remove unused local variable.
11083 (desktop-save-buffer): Make defvar-local; adjust docstring.
11084 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
11085 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
11086
051f2775
AS
110872013-07-12 Andreas Schwab <schwab@linux-m68k.org>
11088
11089 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
11090
f24e7572
GM
110912013-07-12 Eli Zaretskii <eliz@gnu.org>
11092
11093 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
11094 (Bug#14842)
11095
539a920c
GM
110962013-07-12 Glenn Morris <rgm@gnu.org>
11097
11098 * doc-view.el: Require cl-lib at runtime too.
11099 (doc-view-remove-if): Remove.
11100 (doc-view-search-next-match, doc-view-search-previous-match):
11101 Use cl-remove-if.
11102
11103 * edmacro.el: Require cl-lib at runtime too.
11104 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
11105 (edmacro-mismatch, edmacro-subseq): Remove.
11106
11107 * shadowfile.el: Require cl-lib.
11108 (shadow-remove-if): Remove.
11109 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
11110 Use cl-remove-if.
11111
11112 * wid-edit.el: Require cl-lib.
11113 (widget-choose): Use cl-remove-if.
11114 (widget-remove-if): Remove.
11115
11116 * progmodes/ebrowse.el: Require cl-lib at runtime too.
11117 (ebrowse-delete-if-not): Remove.
11118 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
11119 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
11120 Use cl-delete-if-not.
11121
1048af7c
JB
111222013-07-12 Juanma Barranquero <lekktu@gmail.com>
11123
11124 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
11125 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
11126
6c0674ee
LL
111272013-07-12 Leo Liu <sdl.web@gmail.com>
11128
11129 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
11130
a19b3c2d
GM
111312013-07-11 Glenn Morris <rgm@gnu.org>
11132
4582a01c
GM
11133 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
11134 (edebug-gensym-index, edebug-gensym):
11135 Remove reimplementation of cl-gensym.
11136 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
11137
11138 * thumbs.el: Require cl-lib at run-time too.
11139 (thumbs-gensym-counter, thumbs-gensym):
11140 Remove reimplementation of cl-gensym.
11141 (thumbs-temp-file): Use cl-gensym.
11142
a19b3c2d
GM
11143 * emacs-lisp/ert.el: Require cl-lib at runtime too.
11144 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
11145 (ert--intersection, ert--set-difference, ert--set-difference-eq)
11146 (ert--union, ert--gensym-counter, ert--gensym-counter)
11147 (ert--coerce-to-vector, ert--remove*, ert--string-position)
11148 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
11149 (ert-make-test-unbound, ert--expand-should-1)
11150 (ert--expand-should, ert--should-error-handle-error)
11151 (should-error, ert--explain-equal-rec)
11152 (ert--plist-difference-explanation, ert-select-tests)
11153 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
11154 Use cl-lib functions rather than reimplementations.
11155
88f6a933
MA
111562013-07-11 Michael Albinus <michael.albinus@gmx.de>
11157
11158 * net/tramp.el (tramp-methods): Extend docstring.
11159 (tramp-connection-timeout): New defcustom.
11160 (tramp-error-with-buffer): Reset timestamp only when appropriate.
11161 (with-tramp-progress-reporter): Simplify.
11162 (tramp-process-actions): Improve messages.
11163
11164 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
11165 * net/tramp-sh.el (tramp-maybe-open-connection):
11166 Use `tramp-connection-timeout'.
afe1e4c8 11167 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
88f6a933
MA
11168 (Bug#14808)
11169
a43d577e
LL
111702013-07-11 Leo Liu <sdl.web@gmail.com>
11171
11172 * ido.el (ido-read-file-name): Conform to the requirements of
11173 read-file-name. (Bug#11861)
11174 (ido-read-directory-name): Conform to the requirements of
11175 read-directory-name.
11176
d77974bf
JB
111772013-07-11 Juanma Barranquero <lekktu@gmail.com>
11178
11179 * subr.el (delay-warning): New function.
11180
35cb8a3e
EZ
111812013-07-10 Eli Zaretskii <eliz@gnu.org>
11182
11183 * simple.el (default-line-height): New function.
11184 (line-move-partial, line-move): Use it instead of computing the
11185 line height inline.
11186 (line-move-partial): Always compute ROWH. If the last line is
11187 partially-visible, but its text is completely visible, allow
11188 cursor to enter such a partially-visible line.
11189
525c5c77
MA
111902013-07-10 Michael Albinus <michael.albinus@gmx.de>
11191
11192 Improve error messages. (Bug#14808)
11193
11194 * net/tramp.el (tramp-current-connection): New defvar, moved from
11195 tramp-sh.el.
0ac26976 11196 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 11197 needed anymore.
0ac26976
SM
11198 (tramp-error-with-buffer): Show message in minibuffer.
11199 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
11200 (with-tramp-progress-reporter): Improve messages.
11201 (tramp-process-actions): Use progress reporter. Delete process in
11202 case of error. Improve messages.
11203
763a086d
JB
11204 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
11205 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 11206 (tramp-current-connection): Remove.
525c5c77
MA
11207 (tramp-maybe-open-connection): The car of
11208 `tramp-current-connection' are the first 3 slots of the vector.
11209
c7a4d368
TZ
112102013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
11211
11212 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
11213 inside continued strings.
11214
954b166e
PE
112152013-07-10 Paul Eggert <eggert@cs.ucla.edu>
11216
11217 Timestamp fixes for undo (Bug#14824).
11218 * files.el (clear-visited-file-modtime): Move here from fileio.c.
11219
56973319
LL
112202013-07-10 Leo Liu <sdl.web@gmail.com>
11221
11222 * files.el (require-final-newline): Allow safe local value.
11223 (Bug#14834)
11224
5550a72c
LL
112252013-07-09 Leo Liu <sdl.web@gmail.com>
11226
11227 * ido.el (ido-read-directory-name): Handle fallback.
11228 (ido-read-file-name): Update DIR to ido-current-directory.
11229 (Bug#1516)
c28b9050 11230 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 11231
70c46b28
DG
112322013-07-09 Dmitry Gutov <dgutov@yandex.ru>
11233
11234 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
11235 "autoload". Remove "warn lower camel case" section, previously
11236 commented out. Highlight negation char. Do not highlight the
11237 target in singleton method definitions.
11238
0b64b838
SM
112392013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11240
7fd72e2c
SM
11241 * faces.el (tty-setup-hook): Declare the hook.
11242
0b64b838
SM
11243 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
11244 and detect when a guard/pred depends on local vars (bug#14773).
11245 (pcase--u1): Adjust caller.
11246
ab49d60b
EZ
112472013-07-08 Eli Zaretskii <eliz@gnu.org>
11248
11249 * simple.el (line-move-partial, line-move): Account for
11250 line-spacing.
701d79aa
EZ
11251 (line-move-partial): Avoid setting vscroll when the last
11252 partially-visible line in window is of default height.
ab49d60b 11253
2d756ae0
LMI
112542013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
11255
11256 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
11257 been used a while.
11258
ed095bd7
JB
112592013-07-07 Juanma Barranquero <lekktu@gmail.com>
11260
11261 * subr.el (read-quoted-char): Remove unused local variable `char'.
11262
f1e6674b
MK
112632013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
11264
584ee3fc
GM
11265 * ediff.el (ediff-version): Version update.
11266 (ediff-files-command, ediff3-files-command, ediff-merge-command)
11267 (ediff-merge-with-ancestor-command, ediff-directories-command)
11268 (ediff-directories3-command, ediff-merge-directories-command)
11269 (ediff-merge-directories-with-ancestor-command): New functions.
11270 All are command-line interfaces to ediff: to facilitate calling
11271 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
11272
11273 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
11274 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 11275
584ee3fc
GM
11276 * viper.el (viper-version): Version update.
11277 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 11278
584ee3fc
GM
112792013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
11280
11281 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
11282 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
11283 (viper-intercept-ESC-key): Simplify.
11284 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
11285 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
11286 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
11287 (viper-setup-ESC-to-escape): New functions.
11288 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
11289 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 11290
9aff9b38
EZ
112912013-07-07 Eli Zaretskii <eliz@gnu.org>
11292
5165d44a
JB
11293 * simple.el (default-font-height, window-screen-lines):
11294 New functions.
9aff9b38
EZ
11295 (line-move, line-move-partial): Use them instead of
11296 frame-char-height and window-text-height. This makes scrolling
11297 text smoother when the buffer's default face uses a font that is
11298 different from the frame's default font.
11299
1afb1d07
JD
113002013-07-06 Jan Djärv <jan.h.d@swipnet.se>
11301
11302 * files.el (write-file): Do not display confirm dialog for NS,
d5081c1e 11303 it does its own dialog, which can't be canceled (Bug#14578).
1afb1d07 11304
23de972a
EZ
113052013-07-06 Eli Zaretskii <eliz@gnu.org>
11306
11307 * simple.el (line-move-partial): Adjust the row returned by
11308 posn-at-point for the current window-vscroll. (Bug#14567)
11309
54a42486
MA
113102013-07-06 Michael Albinus <michael.albinus@gmx.de>
11311
35e951cd 11312 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
54a42486
MA
11313 (tramp-sh-file-inotifywait-process-filter): Handle file names with
11314 spaces.
11315
34ada5f4
MR
113162013-07-06 Martin Rudalics <rudalics@gmx.at>
11317
11318 * window.el (window-state-put-stale-windows): New variable.
11319 (window--state-put-2): Save list of windows without matching buffer.
11320 (window-state-put): Remove "bufferless" windows if possible.
11321
11e03d89
JB
113222013-07-06 Juanma Barranquero <lekktu@gmail.com>
11323
11324 * simple.el (alternatives-define): Remove leftover :group keyword.
11325 Tweak docstring.
11326
3504a4be
LL
113272013-07-06 Leo Liu <sdl.web@gmail.com>
11328
11329 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
11330 (ido-enable-virtual-buffers): New variable.
11331 (ido-buffer-internal, ido-toggle-virtual-buffers)
11332 (ido-make-buffer-list): Use it.
11333 (ido-exhibit): Support turning on and off virtual buffers
11334 automatically.
11335
61e56e2c
JB
113362013-07-06 Juanma Barranquero <lekktu@gmail.com>
11337
11338 * simple.el (alternatives-define): New macro.
11339
321e1a9c
SM
113402013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
11341
11342 * subr.el (read-quoted-char): Use read-key.
11343 (sit-for): Let read-event decode tty input (bug#14782).
11344
d610f6dd
SB
113452013-07-05 Stephen Berman <stephen.berman@gmx.net>
11346
11347 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
11348 mode command and externally. Fix various related bugs.
11349 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
11350 (todo-delete-file): New command.
11351 (todo-check-file): New function.
11352 (todo-show): Handle external deletion of the file we're trying to
11353 show (bug#14688). Replace called-interactively-p by an optional
11354 prefix argument to avoid problematic interaction with catch form
11355 when byte compiled (bug#14702).
11356 (todo-quit): Handle external deletion of the archive's todo file.
11357 Make sure the buffer that was visiting the archive file is still
11358 live before trying to bury it.
11359 (todo-category-completions): Handle external deletion of any
11360 category completion files.
11361 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
11362 of todo files, in case of external deletion.
11363 (todo-add-file): Replace unnecessary setq by let-binding.
11364 (todo-find-archive): Check whether there are any archives.
11365 Replace unnecessary setq by let-binding.
11366 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
11367 archive buffer whether or not the archive already exists.
11368 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
11369 check if the archive is new; if it is, update list of archives.
11370 (todo-default-todo-file): Allow nil to be a valid value for when
11371 there are no todo files.
11372 (todo-reevaluate-default-file-defcustom): Use corrected definition
11373 of todo-default-todo-file.
11374 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
11375 (todo-delete-category, todo-show-categories-table)
11376 (todo-category-number): Clarify comment.
11377 (todo-filter-items): Clarify documentation string.
11378 (todo-show-current-file, todo-display-as-todo-file)
11379 (todo-reset-and-enable-done-separator): Tweak documentation string.
11380 (todo-done-separator): Make separator length window-width, since
11381 bug#2749 is now fixed.
11382
ddbdfd6f
MA
113832013-07-05 Michael Albinus <michael.albinus@gmx.de>
11384
321e1a9c
SM
11385 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
11386 Support both "gvfs-monitor-dir" and "inotifywait".
11387 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
11388 `tramp-sh-file-notify-process-filter'.
11389 (tramp-sh-file-gvfs-monitor-dir-process-filter)
11390 (tramp-get-remote-gvfs-monitor-dir): New defuns.
11391
96eb829a
LL
113922013-07-05 Leo Liu <sdl.web@gmail.com>
11393
11394 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
11395
cf13177e
YM
113962013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11397
11398 * frame.el (display-pixel-height, display-pixel-width)
11399 (display-mm-height, display-mm-width): Mention behavior on
11400 multi-monitor setups in docstrings.
11401 (w32-display-monitor-attributes-list): Declare function.
11402 (display-monitor-attributes-list): Use it.
11403
864c58ca
MA
114042013-07-04 Michael Albinus <michael.albinus@gmx.de>
11405
11406 * filenotify.el: New package.
11407
11408 * autorevert.el (top): Require filenotify.el.
11409 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
11410 instead.
11411 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11412 (auto-revert-notify-handler): Use `file-notify-*' functions.
11413
11414 * subr.el (file-notify-handle-event): Move function to filenotify.el.
11415
321e1a9c
SM
11416 * net/tramp.el (tramp-file-name-for-operation):
11417 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
11418
11419 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
11420 for `file-notify-add-watch' and `file-notify-rm-watch'.
11421 (tramp-process-sentinel): Improve trace.
11422 (tramp-sh-handle-file-notify-add-watch)
11423 (tramp-sh-file-notify-process-filter)
11424 (tramp-sh-handle-file-notify-rm-watch)
11425 (tramp-get-remote-inotifywait): New defuns.
11426
96673afe
JL
114272013-07-03 Juri Linkov <juri@jurta.org>
11428
11429 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
11430 call of `occur-read-primary-args' to interactive spec.
11431
11432 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
11433 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
11434
924494f4
MM
114352013-07-03 Matthias Meulien <orontee@gmail.com>
11436
11437 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
11438 `Buffer-menu-multi-occur'. Add it to the menu.
11439 (Buffer-menu-mode): Document it in docstring.
11440 (Buffer-menu-multi-occur): New command. (Bug#14673)
11441
56f75efc
DG
114422013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11443
11444 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
11445 keywords and built-ins.
11446
9b057d61
GM
114472013-07-03 Glenn Morris <rgm@gnu.org>
11448
208dee4d
GM
11449 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
11450
9b057d61
GM
11451 Make info-xref checks case-sensitive by default
11452 * info.el (Info-find-node, Info-find-in-tag-table)
11453 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
11454 Add option for exact case matching of nodes.
11455 * info-xref.el (info-xref): New custom group.
11456 (info-xref-case-fold): New option.
11457 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
11458
e01aa29c
LL
114592013-07-03 Leo Liu <sdl.web@gmail.com>
11460
11461 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
11462
3086ca2e
DG
114632013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11464
11465 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
11466 middle of block statement initially, lower the depth. Remove
11467 FIXME comment, not longer valid. Remove middle of block statement
11468 detection, no need to do that anymore since we've been using
11469 `ruby-parse-region' here.
11470
a3b49114
JD
114712013-07-02 Jan Djärv <jan.h.d@swipnet.se>
11472
11473 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
11474
08e5c823 114752013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
11476
11477 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
11478
2addf922
JB
114792013-07-01 Juanma Barranquero <lekktu@gmail.com>
11480
11481 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
11482 (desktop-restore-in-current-display): New customization option.
11483 (desktop--excluded-frame-parameters): Add `font'.
11484 (desktop--save-frames): Rename from desktop--save-windows.
11485 (desktop--restore-in-this-display-p): New function.
11486 (desktop--make-full-frame): Remove unwanted width/height from
11487 full(width|height) frames.
11488 (desktop--restore-frames): Rename from desktop--restore-windows.
11489 Obey desktop-restore-current-display. Do not delete old frames or
11490 select a new frame unless we were able to restore at least one frame.
11491
ef099a94
MN
114922013-06-30 Michal Nazarewicz <mina86@mina86.com>
11493
11494 * files.el (find-file-noselect): Simplify conditional expression.
11495
a12bf61e 11496 * textmodes/remember.el (remember-append-to-file):
ef099a94
MN
11497 Don't mix `find-buffer-visiting' and `get-file-buffer'.
11498
11499 Add `remember-notes' function to store random notes across Emacs
11500 restarts.
3fcfc4ee
JB
11501 * textmodes/remember.el (remember-data-file): Add :set callback to
11502 affect notes buffer (if any).
ef099a94
MN
11503 (remember-notes): New command.
11504 (remember-notes-buffer-name, bury-remember-notes-on-kill):
11505 New defcustoms for the `remember-notes' function.
11506 (remember-notes-save-and-bury-buffer): New command.
11507 (remember-notes-mode-map): New variable.
11508 (remember-mode): New minor mode.
11509 (remember-notes--kill-buffer-query): New function.
11510 * startup.el (initial-buffer-choice): Add notes to custom type.
11511
0865d506
EZ
115122013-06-30 Eli Zaretskii <eliz@gnu.org>
11513
0ba54312
EZ
11514 * bindings.el (right-char, left-char): Don't call sit-for, this is
11515 no longer needed. Use arithmetic comparison only for numerical
11516 arguments.
11517
ef099a94
MN
11518 * international/mule-cmds.el (select-safe-coding-system):
11519 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 11520
2fae38e5
LMI
115212013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11522
11523 * net/shr.el (shr-make-table-1): Add a sanity check that allows
11524 progression on degenerate tables.
ef099a94 11525 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 11526
a47cbd64
JB
115272013-06-30 Juanma Barranquero <lekktu@gmail.com>
11528
11529 Some fixes and improvements for desktop frame restoration.
11530 It is still experimental and disabled by default.
11531 * desktop.el (desktop--save-windows): Put the selected frame at
11532 the head of the list.
11533 (desktop--make-full-frame): New function.
11534 (desktop--restore-windows): Try to re-select the frame that was
11535 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
11536 just show an error message and continue. Set up maximized frames
11537 so they have default non-maximized dimensions.
a47cbd64 11538
6dbafa30
DG
115392013-06-30 Dmitry Gutov <dgutov@yandex.ru>
11540
ef099a94
MN
11541 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
11542 Don't start heredoc inside a string or comment.
6dbafa30 11543
4c672a0f
EZ
115442013-06-29 Eli Zaretskii <eliz@gnu.org>
11545
11546 * bindings.el (visual-order-cursor-movement): New defcustom.
11547 (right-char, left-char): Provide visual-order cursor motion by
11548 calling move-point-visually. Update the doc strings.
11549
50960f36
KH
115502013-06-28 Kenichi Handa <handa@gnu.org>
11551
11552 * international/mule.el (define-coding-system): New coding system
11553 properties :inhibit-null-byte-detection,
11554 :inhibit-iso-escape-detection, and :prefer-utf-8.
11555 (set-buffer-file-coding-system): If :charset-list property of
11556 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
11557 appropriate for setting.
11558
c1ea3abf
JB
11559 * international/mule-cmds.el (select-safe-coding-system):
11560 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
11561 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
11562
11563 * international/mule-conf.el (prefer-utf-8): New coding system.
11564 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
11565 files.
11566
75dbaf9d
IK
115672013-06-28 Ivan Kanis <ivan@kanis.fr>
11568
eadb6068
IK
11569 * net/shr.el (shr-render-region): New function.
11570
75dbaf9d
IK
11571 * net/eww.el: Autoload `eww-browse-url'.
11572
9ea5cf9f
DG
115732013-06-27 Dmitry Gutov <dgutov@yandex.ru>
11574
c1ea3abf
JB
11575 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11576 Adapt to `package-desc-version' being a list.
11577 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
11578 archive element.
11579
39c0e36f
JB
115802013-06-27 Juanma Barranquero <lekktu@gmail.com>
11581
11582 New experimental feature to save&restore window and frame setup.
11583 * desktop.el (desktop-save-windows): New defcustom.
11584 (desktop--saved-states): New var.
11585 (desktop--excluded-frame-parameters): New defconst.
11586 (desktop--filter-frame-parms, desktop--find-frame-in-display)
11587 (desktop--restore-windows, desktop--save-windows): New functions.
11588 (desktop-save): Call `desktop--save-windows'.
11589 (desktop-read): Call `desktop--restore-windows'.
11590
7f13406b
LMI
115912013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11592
ef099a94 11593 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 11594
1e072639
SB
115952013-06-27 Stephen Berman <stephen.berman@gmx.net>
11596
11597 * info.el (Info-try-follow-nearest-node): Move search for footnote
11598 above search for node name to prevent missing a footnote (bug#14717).
11599
f3e2cbde
SB
116002013-06-27 Stephen Berman <stephen.berman@gmx.net>
11601
11602 * obsolete/otodo-mode.el: Add obsolescence info to file header.
11603
99906aa0
LL
116042013-06-27 Leo Liu <sdl.web@gmail.com>
11605
11606 * net/eww.el (eww-read-bookmarks): Check file size.
11607
539f75f4
SM
116082013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11609
11610 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
11611 advice--pending if newdef is nil or an autoload (bug#13820).
11612 (advice-mapc): New function.
11613
843571cb
LMI
116142013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11615
11616 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
11617 probably.
23a75d7f 11618 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
11619 (eww-add-bookmark): New command.
11620 (eww-bookmark-mode): New mode and commands.
a285ce99 11621 (eww-add-bookmark): Remove newlines from the title.
47fd571b 11622 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 11623
f2136e1e
GM
116242013-06-26 Glenn Morris <rgm@gnu.org>
11625
eab35f39
GM
11626 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
11627 (hfy-size): Handle ttys. (Bug#14668)
11628
f2136e1e
GM
11629 * info-xref.el: Update for Texinfo 5 change in *note format.
11630 (info-xref-node-re, info-xref-note-re): New constants.
11631 (info-xref-check-buffer): Use info-xref-note-re.
11632
a49ff80c
SM
116332013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11634
a343d218
SM
11635 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
11636
a49ff80c
SM
11637 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
11638 nil terminate the loop (bug#14718).
11639
8308f184
LMI
116402013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11641
11642 * net/eww.el: Rework history traversal. When going forward/back,
11643 put these actions into the history, too, so that they can be
11644 replayed.
26bf2b82 11645 (eww-render): Move the history reset to the correct buffer.
8308f184 11646
ec64c273
JL
116472013-06-25 Juri Linkov <juri@jurta.org>
11648
11649 * files-x.el (modify-dir-local-variable): Change the header comment
11650 in the file with directory local variables. (Bug#14692)
11651
e080a9d7
JL
11652 * files-x.el (read-file-local-variable-value): Add `default'.
11653 (Bug#14710)
11654
bfbc93a1
IK
116552013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11656
11657 * net/eww.el (eww-make-unique-file-name): Create a unique file
11658 name before saving to entering `y' accidentally asynchronously.
11659
116602013-06-25 Ivan Kanis <ivan@kanis.fr>
11661
11662 * net/eww.el (eww-download): New command and keystroke.
11663
16f74f10
LMI
116642013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11665
a49ff80c 11666 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
11667
11668 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
11669 be more consistent with Info and dired.
11670
11671 * net/eww.el (eww-mode-map): Ditto.
11672
12059709
SM
116732013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11674
11675 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
11676 packages from archives.
11677 (package-archive-contents): Change format; include obsolete packages.
11678 (package-desc): Use `dir' to mark builtin packages.
11679 (package--from-builtin): Set the `dir' field to `builtin'.
11680 (generated-autoload-file, version-control): Declare.
11681 (package-compute-transaction): Change first arg and return value to be
11682 lists of package-descs. Adjust to new package-archive-contents format.
11683 (package--add-to-archive-contents): Adjust to new
11684 package-archive-contents format.
11685 (package-download-transaction): Arg is now a list of package-descs.
11686 (package-install): If `pkg' is a package name, pass it as
11687 a requirement, so it is subject to the usual (e.g. disabled) checks.
11688 (describe-package): Accept package-desc as well.
11689 (describe-package-1): Describe a specific package-desc. Add links to
11690 other package-descs for the same package name.
11691 (package-menu-describe-package): Pass the actual package-desc.
11692 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
11693 works correctly.
11694 (package-desc-status): New function.
11695 (package-menu--refresh): New function, extracted
11696 from package-menu--generate.
11697 (package-menu--generate): Use it.
11698 (package-delete): Update package-alist.
11699 (package-menu-execute): Don't call package-initialize.
11700
11701 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
11702 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
11703 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
11704 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
11705 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
11706 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
11707
8bbdea0f
MR
117082013-06-25 Martin Rudalics <rudalics@gmx.at>
11709
11710 * window.el (window--state-get-1): Workaround for bug#14527.
11711 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
11712
e82b0991
LMI
117132013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11714
11715 * net/eww.el (eww-back-url): Implement the history by stashing all
11716 the data into a list.
d3f0f918 11717 (eww-forward-url): Allow going forward in the history, too.
e82b0991 11718
c763842b
SM
117192013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11720
11721 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
11722 for values and use read--expression for expressions (bug#14710).
11723 (read-file-local-variable): Avoid setq.
11724 (read-file-local-variable-mode): Use minor-mode-list.
11725
bceff189
RW
117262013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11727
864c58ca 11728 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
11729 for DOI URLs.
11730
45f431c6
RW
117312013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11732
864c58ca 11733 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
11734 Update imenu-support when dialect changes.
11735
f42d8237
LL
117362013-06-25 Leo Liu <sdl.web@gmail.com>
11737
11738 * ido.el (ido-read-internal): Allow forward slash on windows.
11739
be549ce6
LMI
117402013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
11741
11742 * net/eww.el (eww): Start of strings is \\`, not ^.
11743
71d4c19d
IK
117442013-06-24 Ivan Kanis <ivan@kanis.fr>
11745
5196f88a
IK
11746 * net/shr.el (shr-browse-url): Fix interactive spec.
11747
71d4c19d
IK
11748 * net/eww.el (eww): Add a trailing slash to domain names.
11749
ae36ca55
JB
117502013-06-24 Juanma Barranquero <lekktu@gmail.com>
11751
11752 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
11753
0ebd92a3
LMI
117542013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
11755
bdaa086b
LMI
11756 * net/shr.el (shr-browse-url): Use an external browser if given a
11757 prefix.
11758
c763842b 11759 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 11760
b89fc156
IK
117612013-06-24 Ivan Kanis <ivan@kanis.fr>
11762
11763 * net/eww.el (eww): Work more correctly for file: URLs.
11764 (eww-detect-charset): Allow quoted charsets.
11765 (eww-yank-page-url): New command and keystroke.
11766
18eb4bca
DU
117672013-06-24 Daiki Ueno <ueno@gnu.org>
11768
11769 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
11770 file name of gpg executable.
11771 (epg-context-program): New function.
11772 (epg-context-home-directory): New function.
11773 (epg-context-set-program): New function.
11774 (epg-context-set-home-directory): New function.
11775 (epg--start): Use `epg-context-program' instead of
11776 'epg-gpg-program'.
11777 (epg--list-keys-1): Likewise.
11778
6c6268c8
LL
117792013-06-24 Leo Liu <sdl.web@gmail.com>
11780
11781 * ido.el (ido-read-internal): Fix bug#14620.
11782
5e400cb3
JB
117832013-06-23 Juanma Barranquero <lekktu@gmail.com>
11784
11785 * faces.el (face-documentation): Simplify.
11786 (read-face-attribute, tty-find-type, x-resolve-font-name):
11787 Use `string-match-p'.
11788 (list-faces-display): Use `string-match-p'. Simplify.
11789 (face-spec-recalc): Check face to avoid face alias loops.
11790 (read-color): Use `string-match-p' and non-capturing parenthesis.
11791
f3f9606c
LMI
117922013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
11793
11794 * net/shr.el (shr-rescale-image): Use the new
11795 :max-width/:max-height functionality.
11796
a3ca09b9
IK
117972013-06-23 Ivan Kanis <ivan@kanis.fr>
11798
11799 * net/eww.el (eww-search-prefix): New variable.
11800 (eww): Use it.
f865b474
IK
11801 (eww-external-browser): New variable.
11802 (eww-mode-map): New keystroke.
11803 (eww-browse-with-external-browser): New command.
a3ca09b9 11804
e854cfc7
IK
11805 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
11806
18bb9e21
JB
118072013-06-23 Juanma Barranquero <lekktu@gmail.com>
11808
11809 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
11810 Don't skip aligning the next header field when padding is 0;
11811 otherwise, field width is not respected unless the title is as
11812 wide as the field.
11813
5b165ade
SM
118142013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11815
11816 * emacs-lisp/package.el (package-el-version): Remove.
11817 (package-process-define-package): Fix inf-loop.
11818 (package-install): Allow symbols as arguments again.
11819
12adebe9
DG
118202013-06-22 Dmitry Gutov <dgutov@yandex.ru>
11821
11822 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
11823 add some more keyword-like methods.
11824 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
11825
388573ee
JB
118262013-06-22 Juanma Barranquero <lekktu@gmail.com>
11827
11828 * bs.el (bs-buffer-show-mark): Make defvar-local.
11829 (bs-mode): Use setq-local.
11830
11831 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
11832 (emacs-lock--try-unlocking): Make defvar-local.
11833
4582a01c 118342013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 11835
2663dd23
GM
11836 * play/cookie1.el (cookie-apropos): Minor simplification.
11837
3d94f3ad
GM
11838 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
11839
f72e2fdb
DG
118402013-06-22 Dmitry Gutov <dgutov@yandex.ru>
11841
11842 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
11843 `regexp-opt', it breaks the build during dumping.
11844
73eab938
DG
118452013-06-21 Dmitry Gutov <dgutov@yandex.ru>
11846
c763842b
SM
11847 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11848 Highlight keyword-like methods on Kernel and Module with
73eab938 11849 font-lock-builtin-face.
5cf8176d
DG
11850 (auto-mode-alist): Consolidate different entries into one regexp
11851 and add more *file-s.
73eab938 11852
d26255f6
SB
118532013-06-21 Stephen Berman <stephen.berman@gmx.net>
11854
11855 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
11856
11857 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
11858 (diary-entry): Use it in the action of this button type instead of
11859 diary-goto-entry.
11860
11861 * calendar/todo-mode.el: New version.
11862 (todo-add-category): Append new category to end of file and give
11863 it the highest number, instead of putting it at the beginning and
11864 giving it 0. Incorporate noninteractive functionality.
11865 (todo-forward-category): Adapt to 1-based category numbering.
11866 Allow skipping over archived categories.
11867 (todo-backward-category): Derive from todo-forward-category.
11868 (todo-backward-item, todo-forward-item): Make noninteractive and
11869 delegate interactive part to new commands. Make sensitive to done items.
11870 (todo-categories): Make value an alist of category names and
11871 vectors of item counts.
11872 (todo-category-beg): Make a defconst.
11873 (todo-category-number): Use 1 instead of 0 as initial value.
11874 (todo-category-select): Make sensitive to overlays, optional item
11875 highlighting and done items.
11876 (todo-delete-item): Make sensitive to overlays and marked and done items.
11877 (todo-edit-item): Make sensitive to overlays and editing of
11878 date/time header optional. Add format checks.
11879 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
11880 no-op if point is not on an item. Advertise using todo-edit-quit.
11881 (todo-edit-mode): Make sensitive to new format, font-locking, and
11882 multiple todo files.
11883 (todo-insert-item, todo-insert-item-here): Derive from
11884 todo-basic-insert-item and extend functionality.
11885 (todo-item-end, todo-item-start): Make sensitive to done items.
11886 (todo-item-string): Don't return text properties. Restore point.
11887 (todo-jump-to-category): Make sensitive to multiple todo files and
11888 todo archives. Use extended category completion.
11889 (todo-lower-item, todo-raise-item): Rename to *-priority and
11890 derive from todo-set-item-priority.
11891 (todo-mode): Derive from special-mode. Make sensitive to new
11892 format, font-locking and multiple todo files. Make read-only.
11893 (todo-mode-map): Don't suppress digit keys, so they can supply
11894 prefix arguments. Add many new key bindings.
11895 (todo-prefix): Insert as an overlay instead of file text.
11896 Change semantics from diary date expression to purely visual mark.
11897 (todo-print): Rename to todo-print-buffer. Make buffer display
11898 features printable. Remove option to restrict number of items
11899 printed. Add option to print to file.
11900 (todo-print-function): Rename to todo-print-buffer-function.
11901 (todo-quit): Extend to handle exiting new todo modes.
11902 (todo-remove-item): Make sensitive to overlays.
11903 (todo-save): Extend to buffers of filtered items.
11904 (todo-show): Make sensitive to done items, multiple todo files and
11905 new todo modes. Offer to convert legacy todo file before creating
11906 first new todo file.
11907 (todo-show-priorities): Rename to todo-top-priorities.
11908 Change semantics of value 0.
11909 (todo-top-priorities): Rename to todo-filter-top-priorities,
11910 derive from todo-filter-items and extend functionality.
11911 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
11912 and extend functionality to other types of filtered items.
11913 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
11914 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
11915 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
11916 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
11917 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
11918 (todo-edit-mode-hook, todo-entry-prefix-function)
11919 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
11920 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
11921 (todo-initials, todo-insert-threshold, todo-item-string-start)
11922 (todo-line-string, todo-menu, todo-mode-hook)
11923 (todo-more-important-p, todo-previous-answer, todo-previous-line)
11924 (todo-print-priorities, todo-remove-separator)
11925 (todo-save-top-priorities-too, todo-string-count-lines)
11926 (todo-string-multiline-p, todo-time-string-format)
11927 (todo-tmp-buffer-name): Remove.
11928 (todo-add-file, todo-archive-done-item, todo-choose-archive)
11929 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
11930 (todo-edit-category-diary-inclusion)
11931 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
11932 (todo-edit-file, todo-edit-item-date-day)
11933 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
11934 (todo-edit-item-date-month, todo-edit-item-date-to-today)
11935 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
11936 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
11937 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
11938 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
11939 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
11940 (todo-filter-top-priorities-multifile, todo-find-archive)
11941 (todo-find-filtered-items-file, todo-go-to-source-item)
11942 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
11943 (todo-jump-to-archive-category, todo-lower-category)
11944 (todo-mark-category, todo-marked-item-p, todo-merge-category)
11945 (todo-move-category, todo-move-item, todo-next-button)
11946 (todo-next-item, todo-padded-string, todo-powerset)
11947 (todo-previous-button, todo-previous-item)
11948 (todo-print-buffer-to-file, todo-raise-category)
11949 (todo-rename-category, todo-repair-categories-sexp, todo-search)
11950 (todo-set-category-number, todo-set-item-priority)
11951 (todo-set-top-priorities-in-category)
11952 (todo-set-top-priorities-in-file, todo-show-categories-table)
11953 (todo-sort-categories-alphabetically-or-numerically)
11954 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
11955 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
11956 (todo-toggle-item-header, todo-toggle-item-highlighting)
11957 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
11958 (todo-toggle-view-done-items, todo-toggle-view-done-only)
11959 (todo-unarchive-items, todo-unmark-category): New commands.
11960 (todo-absolute-file-name, todo-add-to-buffer-list)
11961 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
11962 (todo-basic-insert-item, todo-category-completions)
11963 (todo-category-number, todo-category-string-matcher-1)
11964 (todo-category-string-matcher-2, todo-check-filtered-items-file)
11965 (todo-check-format, todo-clear-matches)
11966 (todo-comment-string-matcher, todo-convert-legacy-date-time)
11967 (todo-current-category, todo-date-string-matcher)
11968 (todo-define-insertion-command, todo-diary-expired-matcher)
11969 (todo-diary-goto-entry, todo-diary-item-p)
11970 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
11971 (todo-display-categories, todo-display-sorted, todo-done-item-p)
11972 (todo-done-item-section-p, todo-done-separator)
11973 (todo-done-string-matcher, todo-files, todo-filter-items)
11974 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
11975 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
11976 (todo-insert-category-line, todo-insert-item-from-calendar)
11977 (todo-insert-sort-button, todo-insert-with-overlays)
11978 (todo-insertion-command-name, todo-insertion-key-bindings)
11979 (todo-label-to-key, todo-longest-category-name-length)
11980 (todo-make-categories-list, todo-mode-external-set)
11981 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
11982 (todo-modes-set-3, todo-multiple-filter-files)
11983 (todo-nondiary-marker-matcher, todo-prefix-overlays)
11984 (todo-read-category, todo-read-date, todo-read-dayname)
11985 (todo-read-file-name, todo-read-time)
11986 (todo-reevaluate-category-completions-files-defcustom)
11987 (todo-reevaluate-default-file-defcustom)
11988 (todo-reevaluate-filelist-defcustoms)
11989 (todo-reevaluate-filter-files-defcustom)
11990 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
11991 (todo-reset-done-separator, todo-reset-done-separator-string)
11992 (todo-reset-done-string, todo-reset-global-current-todo-file)
11993 (todo-reset-highlight-item, todo-reset-nondiary-marker)
11994 (todo-reset-prefix, todo-set-categories)
11995 (todo-set-date-from-calendar, todo-set-show-current-file)
11996 (todo-set-top-priorities, todo-short-file-name)
11997 (todo-show-current-file, todo-sort, todo-time-string-matcher)
11998 (todo-total-item-counts, todo-update-buffer-list)
11999 (todo-update-categories-display, todo-update-categories-sexp)
12000 (todo-update-count, todo-validate-name, todo-y-or-n-p):
12001 New functions.
12002 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
12003 New major modes.
12004 (todo-categories, todo-display, todo-edit, todo-faces)
12005 (todo-filtered): New defgroups.
12006 (todo-archived-only, todo-button, todo-category-string, todo-date)
12007 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
12008 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
12009 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
12010 (todo-add-item-if-new-category, todo-always-add-time-string)
12011 (todo-categories-align, todo-categories-archived-label)
12012 (todo-categories-category-label, todo-categories-diary-label)
12013 (todo-categories-done-label, todo-categories-number-separator)
12014 (todo-categories-todo-label, todo-categories-totals-label)
12015 (todo-category-completions-files, todo-completion-ignore-case)
12016 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
12017 (todo-done-separator-string, todo-done-string)
12018 (todo-files-function, todo-filter-done-items, todo-filter-files)
12019 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
12020 (todo-initial-category, todo-initial-file, todo-item-mark)
12021 (todo-legacy-date-time-regexp, todo-mode-line-function)
12022 (todo-nondiary-marker, todo-number-prefix)
12023 (todo-print-buffer-function, todo-show-current-file)
12024 (todo-show-done-only, todo-show-first, todo-show-with-done)
12025 (todo-skip-archived-categories, todo-top-priorities-overrides)
12026 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
12027 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
12028 New defcustoms.
12029 (todo-category-done, todo-date-pattern, todo-date-string-start)
12030 (todo-diary-items-buffer, todo-done-string-start)
12031 (todo-filtered-items-buffer, todo-item-start)
12032 (todo-month-abbrev-array, todo-month-name-array)
12033 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
12034 (todo-top-priorities-buffer): New defconsts.
12035 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
12036 (todo-categories-with-marks, todo-category-string-face)
12037 (todo-comment-face, todo-comment-string, todo-current-todo-file)
12038 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
12039 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
12040 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
12041 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
12042 (todo-font-lock-keywords, todo-global-current-todo-file)
12043 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
12044 (todo-insertion-commands-args)
12045 (todo-insertion-commands-args-genlist)
12046 (todo-insertion-commands-names, todo-insertion-map)
12047 (todo-key-bindings-t, todo-key-bindings-t+a)
12048 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
12049 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
12050 (todo-nondiary-face, todo-print-buffer, todo-time-face)
12051 (todo-visited): New variables.
12052
cad5d1cb
GM
120532013-06-21 Glenn Morris <rgm@gnu.org>
12054
12055 * play/cookie1.el (cookie-apropos): Add optional display argument.
12056 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
12057 (psychoanalyze-pinhead): Use cookie-doctor.
12058
9e277302
JB
120592013-06-21 Juanma Barranquero <lekktu@gmail.com>
12060
12061 * emacs-lisp/package.el (tar-get-file-descriptor)
12062 (tar--extract): Declare.
12063
c5b0993e
EW
120642013-06-21 Eduard Wiebe <usenet@pusto.de>
12065
12066 Extend flymake's warning predicate to be a function (bug#14217).
12067 * progmodes/flymake.el (flymake-warning-predicate): New.
12068 (flymake-parse-line): Use it.
12069 (flymake-warning-re): Make obsolete alias to
12070 `flymake-warning-predicate'.
12071
a7d2d465
SM
120722013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12073
12074 * emacs-lisp/package.el (package-alist): Include obsolete packages.
12075 (package-obsolete-list): Remove.
12076 (package-activate): Remove min-version argument. Add `force' argument.
12077 Adjust to new package-alist format.
12078 (package-mark-obsolete): Remove.
12079 (package-unpack): Force reload of the package's autoloads.
12080 (package-installed-p): Check builtins if the installed package is not
12081 recent enough.
12082 (package-initialize): Don't reset package-obsolete-list.
12083 Don't specify which package version to activate.
12084 (package-process-define-package, describe-package-1)
12085 (package-menu--generate): Adjust to new package-alist format.
12086
cedf5c9d
JB
120872013-06-21 Juanma Barranquero <lekktu@gmail.com>
12088
12089 * allout-widgets.el (allout-widgets-mode-off)
12090 (allout-widgets-mode-on, allout-widgets-pre-command-business)
12091 (allout-widgets-post-command-business)
12092 (allout-widgets-after-copy-or-kill-function)
12093 (allout-widgets-after-undo-function, allout-test-range-overlaps)
12094 (allout-decorate-item-and-context)
12095 (allout-graphics-modification-handler): Fix typos in docstrings.
12096 (allout-get-or-create-parent-widget): Use `looking-at-p'.
12097
12098 * cmuscheme.el (scheme-start-file): Doc fix.
12099 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
12100 (scheme-input-filter): Use `string-match-p'.
12101
12102 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
12103
12104 * dired-x.el: Use Dired consistently in docstrings.
12105
12106 * dired.el: Use Dired consistently in docstrings.
12107 (dired-readin, dired-mode): Use `setq-local'.
12108 (dired-switches-alist): Make defvar-local.
12109 (dired-buffers-for-dir): Use `zerop'.
12110 (dired-safe-switches-p, dired-switches-escape-p)
12111 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
12112 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
35e951cd 12113 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
cedf5c9d
JB
12114 (dired-goto-next-nontrivial-file): Use `string-match-p'.
12115 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
12116 (dired-toggle-marks, dired-mark-files-containing-regexp)
12117 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
12118 (dired-flag-auto-save-files, dired-flag-backup-files):
12119 Use `looking-at-p'.
12120 (dired-mark-files-regexp, dired-build-subdir-alist):
12121 Use `string-match-p', `looking-at-p'.
12122
12123 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
12124 (direct-print-region-helper): Use `string-match-p'.
12125
aed838b5
LL
121262013-06-21 Leo Liu <sdl.web@gmail.com>
12127
cedf5c9d
JB
12128 * comint.el (comint-redirect-results-list-from-process):
12129 Fix infinite loop.
aed838b5 12130
d80a808f
LMI
121312013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12132
12133 * net/eww.el (eww-update-header-line-format): Quote % characters.
12134
e7a526e3
GM
121352013-06-21 Glenn Morris <rgm@gnu.org>
12136
12137 * play/cookie1.el (cookie): New custom group.
12138 (cookie-file): New option.
12139 (cookie-check-file): New function.
12140 (cookie): Make it interactive. Make start and end messages optional.
12141 Interactively, display the result. Default to cookie-file.
12142 (cookie-insert): Default to cookie-file.
12143 (cookie-snarf): Make start and end messages optional.
12144 Default to cookie-file. Use with-temp-buffer.
12145 (cookie-read): Rename from read-cookie.
12146 Make start and end messages optional. Default to cookie-file.
12147 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 12148 Do not autoload it.
e7a526e3
GM
12149 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
12150 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
12151
62efb35e
LL
121522013-06-21 Leo Liu <sdl.web@gmail.com>
12153
12154 * progmodes/octave.el (octave-mode): Backward compatibility fix.
12155
21e3f963
GM
121562013-06-21 Glenn Morris <rgm@gnu.org>
12157
12158 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
12159
fd846ab4
SM
121602013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12161 Daniel Hackney <dan@haxney.org>
12162
12163 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
12164 Consolidate the single-file vs tarball code.
12165 (package-desc-suffix): New function.
12166 (package-desc-full-name): Don't bother inlining it.
12167 (package-load-descriptor): Return the new package-desc.
12168 (package-mark-obsolete): Remove unused arg `package'.
12169 (package-unpack): Make it work for single files as well.
12170 Make it update package-alist.
12171 (package--make-autoloads-and-stuff): Rename from
12172 package--make-autoloads-and-compile. Don't compile any more.
12173 (package--compile): New function.
12174 (package-generate-description-file): New function, extracted from
12175 package-unpack-single.
12176 (package-unpack-single): Remove.
12177 (package--with-work-buffer): Add indentation and debugging info.
12178 (package-download-single): Remove.
12179 (package-install-from-archive): Rename from package-download-tar, make
12180 it take a pkg-desc, and make it work for single files as well.
12181 (package-download-transaction): Simplify.
12182 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
12183 external tar program.
12184 (package-install-from-buffer): Remove `pkg-desc' argument.
12185 Use package-tar-file-info for tar-mode buffers.
12186 (package-install-file): Simplify accordingly.
12187 (package-archive-base): Change to take a pkg-desc.
12188 * tar-mode.el (tar--check-descriptor): New function, extracted from
12189 tar-get-descriptor.
12190 (tar-get-descriptor): Use it.
12191 (tar-get-file-descriptor): New function.
12192 (tar--extract): New function, extracted from tar-extract.
12193 (tar--extract): Use it.
12194 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
12195 case the summary uses non-ascii. Adjust to new calling convention of
12196 package-tar-file-info.
12197
b7deae5e
LL
121982013-06-21 Leo Liu <sdl.web@gmail.com>
12199
fd846ab4
SM
12200 * comint.el (comint-redirect-results-list-from-process):
12201 Fix random delay. (Bug#14681)
b7deae5e 12202
7a65a0b2
JB
122032013-06-21 Juanma Barranquero <lekktu@gmail.com>
12204
12205 * profiler.el (profiler-format-number): Use log, not log10.
12206
1493c2af
JB
122072013-06-20 Juanma Barranquero <lekktu@gmail.com>
12208
12209 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
12210
aff6371e
SM
122112013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
12212
12213 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
12214 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
12215 yet available.
12216 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
12217 (AUTOGENEL): ... here.
12218 * emacs-lisp/cl-macs.el (cl--sublis): New function.
12219 (cl--defsubst-expand): Use it.
12220
89561f72
PE
122212013-06-20 Paul Eggert <eggert@cs.ucla.edu>
12222
12223 * subr.el (log10): Move here from C code, and declare as obsolete.
12224 All uses of (log10 X) replaced with (log X 10).
12225
47199123
JB
122262013-06-20 Juanma Barranquero <lekktu@gmail.com>
12227
12228 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
12229 Declare with `defvar-local'.
12230 (tabulated-list-use-header-line, tabulated-list-entries)
12231 (tabulated-list-padding, tabulated-list-printer)
12232 (tabulated-list-sort-key): Declare with `defvar-local'.
12233 (tabulated-list-init-header, tabulated-list-print-fake-header):
12234 Use `setq-local'.
12235
4a172eab
MA
122362013-06-20 Michael Albinus <michael.albinus@gmx.de>
12237
47199123
JB
12238 * arc-mode.el (archive-mode): Add `archive-write-file' to
12239 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 12240
5fc0acc0
JB
122412013-06-20 Juanma Barranquero <lekktu@gmail.com>
12242
d5b27848
JB
12243 * cus-edit.el (custom-commands): Fix typos.
12244 (custom-display): Fix tooltip text.
12245 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
12246 Fix typos in docstrings.
12247 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
12248 (custom-unlispify-menu-entry, custom-magic-value-create)
12249 (custom-add-see-also, custom-group-value-create): Use ?\s.
12250 (custom-guess-type, customize-apropos, editable-field)
12251 (custom-face-value-create): Use `string-match-p'.
12252 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
12253
12254 * custom.el (custom-load-symbol): Use `string-match-p'.
12255
a5c581d8
JB
12256 * ansi-color.el: Convert to lexical binding.
12257 (ansi-colors): Fix URL.
12258 (ansi-color-context, ansi-color-context-region): Use defvar-local.
12259 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
12260 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
12261
970ad972
G
122622013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12263
12264 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
12265
12266 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
12267
122682013-06-19 Tom Tromey <tromey@redhat.com>
12269
12270 * net/eww.el (eww-top-url): Remove.
12271 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
12272 (eww-render): Set new variables. Don't set eww-top-url.
12273 (eww-handle-link): Handle "prev", "home", and "contents".
12274 Downcase the rel text.
12275 (eww-top-url): Choose best top URL.
12276
122772013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12278
12279 * net/eww.el: Rewrite to implement form elements "by hand" instead of
12280 relying in widget.el. Using widget.el leads to too many
12281 user interface inconsistencies.
12282 (eww-self-insert): Implement entering commands in text fields.
12283 (eww-process-text-input): New function to make text input field editing
12284 work.
12285 (eww-submit): Rewrite to use the new-style form methods.
12286 (eww-select-display): Display the correct selected item.
12287 (eww-change-select): Implement changing the select value.
12288 (eww-toggle-checkbox): Implement radio/checkboxes.
12289 (eww-update-field): Fix compilation error.
12290 (eww-tag-textarea): Implement <textarea>.
12291
12292 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
12293 we don't shadow mode-specific bindings.
12294
12295 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
12296 nothing to push.
12297
12298 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
12299
4582a01c 123002013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
12301
12302 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
12303
15b263dc
MA
123042013-06-19 Michael Albinus <michael.albinus@gmx.de>
12305
12306 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
12307 not needed.
12308
12309 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
12310
8f5297f7
LMI
123112013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12312
12313 * net/browse-url.el (browse-url-browser-function):
12314 `eww-browse-url' has the right calling signature, `eww' does not.
12315
011c4552
GM
123162013-06-19 Glenn Morris <rgm@gnu.org>
12317
2285bd27
GM
12318 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
12319 Only eval autoloaded macros.
12320 (byte-compile-autoload): Only give the macro warning for macros.
12321
1d653303
GM
12322 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
12323 (ps-underlined-faces): Declare.
12324
bdd779ec
GM
12325 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
12326 (speedbar-add-supported-extension): Declare.
12327
011c4552
GM
12328 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
12329 Don't include a date stamp in the header of the generated file;
12330 it leads to needless differences between output files.
12331
e59dfb0e
MA
123322013-06-19 Michael Albinus <michael.albinus@gmx.de>
12333
c763842b
SM
12334 * net/secrets.el (secrets-struct-secret-content-type):
12335 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 12336 Some servers do not offer introspection.
e59dfb0e 12337
102626e2
SM
123382013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
12339
12340 * electric.el (electric-pair-mode): Improve interaction with
12341 electric-layout-mode.
12342 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
12343 (electric-pair-syntax): Use text-mode-syntax-table in comments
12344 and strings.
12345 (electric-pair--insert): New function.
12346 (electric-pair-post-self-insert-function): Use it and
12347 electric--after-char-pos.
12348
ad528125
LL
123492013-06-19 Leo Liu <sdl.web@gmail.com>
12350
12351 * progmodes/octave.el (octave-help): Fix regexp.
12352
924d6997
G
123532013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
12354
12355 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
12356 (shr-table-horizontal-line): Allow nil as a value, and change the
12357 default.
12358 (shr-insert-table-ruler): Respect the nil value.
12359
123602013-06-18 Tom Tromey <tromey@barimba>
12361
12362 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12363 New defvars.
12364 (eww-open-file): New defun.
12365 (eww-render): Initialize new variables.
12366 (eww-display-html): Handle "link" and "a".
12367 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
12368 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
12369 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
12370 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12371 New defuns.
924d6997 12372
d1bbba4f
DG
123732013-06-18 Dmitry Gutov <dgutov@yandex.ru>
12374
12375 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
12376 Distinguish ternary operator tokens from slash symbol and slash
12377 char literal.
12378
14dd22d2
JB
123792013-06-18 Juanma Barranquero <lekktu@gmail.com>
12380
12381 Convert symbol prettification into minor mode and global minor mode.
12382
12383 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
12384 `prog-prettify-symbols', and make a local defvar instead of defcustom.
12385 (prettify-symbols--keywords): Rename from
12386 `prog-prettify-symbols-alist' and make a local defvar.
12387 (prettify-symbols--compose-symbol): Rename from
12388 `prog--prettify-font-lock-compose-symbol'.
12389 (prettify-symbols--make-keywords): Rename from
12390 `prog-prettify-font-lock-symbols-keywords' and simplify.
12391 (prog-prettify-install): Remove.
12392 (prettify-symbols-mode): New minor mode, based on
12393 `prog-prettify-install'.
12394 (turn-on-prettify-symbols-mode): New function.
12395 (global-prettify-symbols-mode): New globalized minor mode.
12396
12397 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12398 * progmodes/cfengine.el (cfengine3-mode):
12399 * progmodes/perl-mode.el (perl-mode): Don't call
12400 `prog-prettify-install'; set `prettify-symbols-alist' instead.
12401
292c880c
JL
124022013-06-18 Juri Linkov <juri@jurta.org>
12403
12404 * files-x.el (modify-file-local-variable-message): New function.
12405 (modify-file-local-variable)
12406 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
12407 and call `modify-file-local-variable-message' when it's non-nil.
12408 (add-file-local-variable, delete-file-local-variable)
12409 (add-file-local-variable-prop-line)
12410 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
12411 and use it. (Bug#9820)
12412
0950aa27
JL
124132013-06-18 Juri Linkov <juri@jurta.org>
12414
12415 * emulation/vi.el (vi-shell-op):
12416 * emulation/vip.el (vip-execute-com, ex-command):
12417 * emulation/viper-cmd.el (viper-exec-bang):
12418 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
12419 the call of `shell-command-on-region'. (Bug#14637)
12420
12421 * simple.el (shell-command-on-region): Doc fix.
12422
8fbcca16
SM
124232013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12424
12425 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
12426 (bug#14633).
12427
dd7426ea
GM
124282013-06-18 Glenn Morris <rgm@gnu.org>
12429
4ba54f7d
GM
12430 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
12431
dd7426ea
GM
12432 * newcomment.el (comment-search-forward, comment-search-backward):
12433 Doc fix. (Bug#14376)
12434
58aa805b
JB
124352013-06-18 Juanma Barranquero <lekktu@gmail.com>
12436
12437 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
12438 (buffer-face-mode-invoke): Doc fix.
12439
9a08a617
MM
124402013-06-18 Matthias Meulien <orontee@gmail.com>
12441
12442 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 12443 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 12444
f2f426ca
GM
124452013-06-18 Glenn Morris <rgm@gnu.org>
12446
9445f99b
GM
12447 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
12448 Replace obsolete function generic-make-keywords with its expansion.
12449
e0df2d14
GM
12450 * progmodes/python.el (ffap-alist): Declare.
12451
f2f426ca
GM
12452 * textmodes/reftex.el (bibtex-mode-map): Declare.
12453
f7f9a720
SM
124542013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12455
12456 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
12457 (package-unpack, package-unpack-single): Return the pkg-dir.
12458 (package-download-transaction): Use it to update package-alist.
12459
57ff04e0
LMI
124602013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12461
12462 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
12463 possible choice.
12464
c048c022
JL
124652013-06-17 Juri Linkov <juri@jurta.org>
12466
12467 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
12468
b5bcaee5
DG
124692013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12470
a020afb9
JB
12471 * emacs-lisp/package.el (package-load-descriptor):
12472 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
12473 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
12474
551e07e5
JB
124752013-06-17 Juanma Barranquero <lekktu@gmail.com>
12476
12477 * startup.el (command-line): Expand package name returned by
12478 `package--description-file' (bug#14639).
12479
d363bffb
DG
124802013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12481
12482 * emacs-lisp/package.el (package-load-descriptor): Do not call
12483 `emacs-lisp-mode', just use its syntax table.
12484
f612933b
JB
124852013-06-17 Juanma Barranquero <lekktu@gmail.com>
12486
12487 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
12488 `font-lock-extra-managed-props' if any prettifying keyword is added.
12489 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
12490 (prog-mode): Use `setq-local'.
12491
db3b7db5
SM
124922013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
12493
12494 * international/characters.el (standard-case-table): Set syntax of ?»
12495 and ?« to punctuation.
12496
f3d674df
JB
124972013-06-16 Juanma Barranquero <lekktu@gmail.com>
12498
12499 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
12500 Save relevant match data before calling `syntax-ppss' (bug#14595).
12501
31489a32
JL
125022013-06-15 Juri Linkov <juri@jurta.org>
12503
12504 * files-x.el (modify-file-local-variable-prop-line): Add local
12505 variables to the end of the existing comment on the first line.
12506 Use `file-auto-mode-skip' to skip interpreter magic line,
12507 and also skip XML declaration.
12508
66bd25ab
SM
125092013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12510
12511 * startup.el (package--builtin-versions): New var.
12512 (package-subdirectory-regexp): Remove.
12513 (package--description-file): Hard code its value instead.
12514
12515 * emacs-lisp/package.el: Don't activate packages older than builtin.
12516 (package-obsolete-list): Rename from package-obsolete-alist, and make
12517 it into a simple list of package-desc.
12518 (package-strip-version): Remove.
12519 (package-built-in-p): Use package--builtin-versions.
12520 (package-mark-obsolete): Simplify.
12521 (package-process-define-package): Mark it obsolete if older than the
12522 builtin version.
12523 (package-handle-response): Use line-end-position.
12524 (package-read-archive-contents, package--download-one-archive):
12525 Simplify.
12526 (package--add-to-archive-contents): Skip if older than the builtin or
12527 installed version.
12528 (package-menu-describe-package): Fix last change.
12529 (package-list-unversioned): New var.
12530 (package-menu--generate): Use it.
12531
12532 * emacs-lisp/autoload.el: Manage package--builtin-versions.
12533 (autoload--insert-text, autoload--insert-cookie-text): New functions.
12534 (autoload-builtin-package-versions): New variable.
12535 (autoload-generate-file-autoloads): Use them.
12536 Remove the list of autoloaded functions/macros from the
12537 (autoload...) comments.
12538
12539 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
12540
9583ec36
EZ
125412013-06-15 Eli Zaretskii <eliz@gnu.org>
12542
12543 * simple.el (line-move-partial): Don't jump to the next screen
12544 line as soon as it becomes visible. Instead, continue enlarging
12545 the vscroll until the portion of a tall screen line that's left on
12546 display is about the height of the frame's default font.
12547 (Bug#14567)
12548
f0100d8a
GM
125492013-06-15 Glenn Morris <rgm@gnu.org>
12550
b86a85ca
GM
12551 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
12552 compilation-error-regexp-alist void, or local while let-bound.
12553
f0100d8a
GM
12554 * progmodes/make-mode.el (makefile-mode-syntax-table):
12555 Treat "=" as punctuation. (Bug#14614)
12556
05e7ce90
JB
125572013-06-15 Juanma Barranquero <lekktu@gmail.com>
12558
12559 * help-fns.el (describe-variable):
12560 Add extra line for permanent-local variables.
12561
12e5e86e
SH
125622013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
12563
12564 * progmodes/scheme.el (scheme-font-lock-keywords-2):
12565 Add export, import, library. (Bug#9164)
12566 (library): Set indent function.
12567
230dcbaf
GM
125682013-06-14 Glenn Morris <rgm@gnu.org>
12569
12570 * term/xterm.el (xterm--query):
12571 Stop after first matching handler. (Bug#14615)
12572
e36b2d20 125732013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
12574
12575 Add support for dired in saveplace.
12576 * dired.el (dired-initial-position-hook): New variable.
12577 (dired-initial-position): Call hook to place cursor position.
12578 * saveplace.el (save-place-to-alist): Add dired position.
12579 (save-place-dired-hook): New function.
12580
0b31660d
SM
125812013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
12582
bf1e6ae8
SM
12583 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
12584 through a symbol rather than letrec.
12585
1b8dff23
SM
12586 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
12587 (package-desc): Add `dir' field.
12588 (package-desc-full-name): New function.
12589 (package-load-descriptor): Combine the two arguments. Don't use `load'.
12590 (package-maybe-load-descriptor): Remove.
12591 (package-load-all-descriptors): Just call package-load-descriptor.
12592 (package--disabled-p): New function.
12593 (package-desc-vers, package-desc-doc): Remove aliases.
12594 (package--dir): Remove function.
12595 (package-activate): Check if a package is disabled.
12596 (package-process-define-package): New function, extracted from
12597 define-package.
12598 (define-package): Turn into a place holder.
12599 (package-unpack-single, package-tar-file-info):
12600 Use package--description-file.
12601 (package-compute-transaction): Use package--disabled-p.
12602 (package-download-transaction): Don't call
12603 package-maybe-load-descriptor since they're all loaded anyway.
12604 (package-install): Change argument to be a pkg-desc.
12605 (package-delete): Use a single pkg-desc argument.
12606 (describe-package-1): Use package-desc-dir instead of package--dir.
12607 Use package-desc property instead of package-symbol.
12608 (package-install-button-action): Adjust accordingly.
12609 (package--push): Rewrite.
12610 (package-menu--print-info): Adjust accordingly. Change the ID format
12611 to be a pkg-desc.
12612 (package-menu-describe-package, package-menu-get-status)
12613 (package-menu--find-upgrades, package-menu-mark-upgrades)
12614 (package-menu-execute, package-menu--name-predicate):
12615 Adjust accordingly.
12616 * startup.el (package--description-file): New function.
12617 (command-line): Use it.
12618 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12619 Use package-desc-version.
12620
0b31660d
SM
12621 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
12622 (byte-compile-preprocess): Use it.
12623 (byte-compile-file-form-defalias): Try a bit harder to use macros we
12624 can't quite recognize.
12625 (byte-compile-add-to-list): Remove.
12626 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
12627 (cconv-closure-convert): Add assertion.
12628
12629 * emacs-lisp/map-ynp.el: Use lexical-binding.
12630 (map-y-or-n-p): Remove unused vars `tail' and `object'.
12631 Factor out some repeated code.
12632
de0503df
SM
126332013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12634
12635 * subr.el (with-eval-after-load): New macro.
12636 (eval-after-load): Allow form to be a function.
12637 take advantage of lexical-binding.
12638 (do-after-load-evaluation): Use dolist and adjust to new format.
12639 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
12640
bc5c8c5a
JL
126412013-06-13 Juri Linkov <juri@jurta.org>
12642
12643 * replace.el (perform-replace): Display "symbol " and other search
12644 modes from `isearch-message-prefix' in the *Help* buffer.
12645
12646 * isearch.el (isearch-query-replace): Add " symbol" and other
12647 possible search modes from `isearch-message-prefix' to the prompt.
12648 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
12649 when reading a regexp to collect.
12650
a22289f7
JL
126512013-06-13 Juri Linkov <juri@jurta.org>
12652
12653 * isearch.el (word-search-regexp): Match whitespace if the search
12654 string begins or ends in whitespace. The LAX arg is applied to
12655 both ends of the search string. Use `regexp-quote' and explicit
12656 \< and \> instead of \b. Use \` and \' instead of ^ and $.
12657 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
12658 boundaries are replaced with symbol boundaries, and characters
12659 between symbols match non-word non-symbol syntax. (Bug#14602)
12660
cb89acab
JL
126612013-06-13 Juri Linkov <juri@jurta.org>
12662
12663 * isearch.el (isearch-del-char): Don't exceed the length of
12664 `isearch-string' by the prefix arg. (Bug#14563)
12665
6e8cfc81
JL
126662013-06-13 Juri Linkov <juri@jurta.org>
12667
12668 * isearch.el (isearch-yank-word, isearch-yank-line)
12669 (isearch-char-by-name, isearch-quote-char)
12670 (isearch-printing-char, isearch-process-search-char):
12671 Add optional count prefix arg. (Bug#14563)
12672
12673 * international/isearch-x.el
12674 (isearch-process-search-multibyte-characters):
12675 Add optional count prefix arg.
12676
c23d55f4
VS
126772013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12678
12679 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
12680 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
12681 lexical-binding.
12682
126832013-06-13 Vitalie Spinu <spinuvit@gmail.com>
12684
12685 * subr.el (set-temporary-overlay-map): Add on-exit argument.
12686
ba947bc4
GM
126872013-06-13 Glenn Morris <rgm@gnu.org>
12688
8baeb37a
GM
12689 * startup.el (tty-handle-args):
12690 Don't just discard "--" and anything after. (Bug#14608)
12691
ba947bc4
GM
12692 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
12693
9abefce4
MA
126942013-06-13 Michael Albinus <michael.albinus@gmx.de>
12695
12696 Implement changes in Secret Service API. Make it backward compatible.
12697 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
12698 (secrets-create-item): Use it. Prefix properties with interface.
12699
5755011f
MH
127002013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
12701
12702 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
12703 (term-emulate-terminal): Respect term-suppress-hard-newline.
12704
1261d2da
S
127052013-06-13 E Sabof <esabof@gmail.com> (tiny change)
12706
12707 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
12708 Only remove a `thumb-file' overlay. (Bug#14548)
12709
868490bb
GJ
127102013-06-12 Grégoire Jadi <daimrod@gmail.com>
12711
12712 * mail/reporter.el (reporter-submit-bug-report):
12713 Handle missing package-name. (Bug#14600)
12714
79d7167f
TH
127152013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12716
12717 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
12718 (reftex-citation-prompt, reftex-default-bibliography)
12719 (reftex-bib-or-thebib, reftex-get-bibfile-list)
12720 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
12721 (reftex-bib-sort-author, reftex-bib-sort-year)
12722 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
12723 (reftex-extract-bib-entries-from-thebibliography)
12724 (reftex-get-bibkey-default, reftex-get-bib-names)
12725 (reftex-parse-bibtex-entry, reftex-get-bib-field)
12726 (reftex-format-bib-entry, reftex-parse-bibitem)
12727 (reftex-format-bibitem, reftex-do-citation)
12728 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
12729 (reftex-restrict-bib-matches, reftex-extract-bib-file)
12730 (reftex-insert-bib-matches, reftex-format-citation)
12731 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
12732 (reftex-create-bibtex-file): Add docstrings, mostly by converting
12733 existing comments into docstrings.
12734
5f9dbd7a
XF
127352013-06-12 Xue Fuqiao <xfq.free@gmail.com>
12736
12737 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
12738
94df41ab
AS
127392013-06-12 Andreas Schwab <schwab@suse.de>
12740
12741 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
12742 for auto-save files.
12743
a7f3fecc
GM
127442013-06-12 Glenn Morris <rgm@gnu.org>
12745
001809f6
GM
12746 * ido.el (ido-delete-ignored-files): Remove.
12747 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
12748 Go back to calling ido-ignore-item-p directly.
a7f3fecc 12749
834b5ded
EL
127502013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
12751
08c73ed2
EL
12752 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
12753
834b5ded
EL
12754 * ido.el (ido-delete-ignored-files): New function,
12755 split from ido-make-file-list-1.
12756 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
12757 (ido-make-file-list-1): Use ido-delete-ignored-files.
12758
daabf15a
LL
127592013-06-12 Leo Liu <sdl.web@gmail.com>
12760
12761 * progmodes/octave.el (inferior-octave-startup)
12762 (inferior-octave-completion-table)
12763 (inferior-octave-track-window-width-change)
12764 (octave-eldoc-function-signatures, octave-help)
12765 (octave-find-definition): Use single quoted strings.
12766 (inferior-octave-startup-args): Change default value.
12767 (inferior-octave-startup): Do not hard code "-i" and
12768 "--no-line-editing".
12769 (inferior-octave-resync-dirs): Add optional arg NOERROR.
12770 (inferior-octave-directory-tracker): Use it.
12771 (octave-goto-function-definition): Robustify.
12772 (octave-help): Support highlighting operators in 'See also'.
12773 (octave-find-definition): Find subfunctions only in Octave mode.
12774
cf4e5178
SM
127752013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12776
12777 * help-fns.el (help-fns--compiler-macro): If the handler function is
12778 named, then put a link to it.
12779 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
12780 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
12781 (cl-typep): Use it.
12782 (cl-eval-when): Simplify debug spec.
12783 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
12784 compiler-macro function instead of setting `compiler-macro-file'.
12785
99c81280 127862013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
12787
12788 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
12789 * vc/vc-hooks.el (vc-stay-local): Doc fix.
12790
f56be016
SM
127912013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12792 Daniel Hackney <dan@haxney.org>
12793
12794 First part of Daniel Hackney's patch to package.el.
12795 * emacs-lisp/package.el: Use defstruct.
12796 (package-desc): New, main struct.
12797 (package--bi-desc, package--ac-desc): New structs, used to describe the
12798 format in external files.
12799 (package-desc-vers): Replace with package-desc-version accessor.
12800 (package-desc-doc): Replace with package-desc-summary accessor.
12801 (package-activate-1): Remove `package' arg since the pkg-vec now
12802 includes the name.
12803 (define-package): Use package-desc-from-define.
12804 (package-unpack-single): Change file-name arg to be a symbol.
12805 (package--add-to-archive-contents): Use package-desc-create and new
12806 accessor functions to package--ac-desc.
12807 (package-buffer-info, package-tar-file-info): Return a package-desc.
12808 (package-install-from-buffer): Remove `type' argument. Change pkg-info
12809 arg to be a package-desc.
12810 (package-install-file): Adjust accordingly. Use \' to match EOS.
12811 (package--from-builtin): New function.
12812 (describe-package-1, package-menu--generate): Use it.
12813 (package--make-autoloads-and-compile): Change name arg to be a symbol.
12814 (package-generate-autoloads): Idem and return the name of the file.
12815 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12816 Change pkg-info arg to be a package-desc.
12817 Use package-make-ac-desc.
12818 (package-upload-file): Use \' to match EOS.
12819 * finder.el (finder-compile-keywords): Use package-make-builtin.
12820
31119d63
SM
128212013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12822
931a2762
SM
12823 * vc/vc.el (vc-deduce-fileset): Change error message.
12824 (vc-read-backend): New function.
12825 (vc-next-action): Use it.
12826
5a3eb0c6
SM
12827 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
12828
e3eb1bb7
SM
12829 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
12830 (prolog-font-lock-keywords): Use regexp-opt instead.
12831 Don't manually highlight strings.
12832 (prolog-mode-variables): Simplify comment-start-skip.
12833 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
12834
31119d63
SM
12835 * emacs-lisp/generic.el (generic--normalise-comments)
12836 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
12837 (generic-mode-set-comments): Use them.
12838 (generic-bracket-support): Use setq-local.
12839 (generic-make-keywords-list): Declare obsolete.
12840
7de135d0
GM
128412013-06-11 Glenn Morris <rgm@gnu.org>
12842
12843 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12844 Prettify after setting font-lock-defaults. (Bug#14574)
12845
fa6bc6fd
JB
128462013-06-11 Juanma Barranquero <lekktu@gmail.com>
12847
12848 * replace.el (query-replace, occur-read-regexp-defaults-function)
12849 (replace-search):
12850 * subr.el (declare-function, number-sequence, local-set-key)
12851 (substitute-key-definition, locate-user-emacs-file)
12852 (with-silent-modifications, split-string, eval-after-load):
12853 Fix typos, remove unneeded backslashes and reflow some docstrings.
12854
cf1f9b9a
SM
128552013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12856
12857 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
12858 default for Elisp files.
12859
56602a4b
GM
128602013-06-11 Glenn Morris <rgm@gnu.org>
12861
12862 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
12863 although define-derived-mode was doing this anyway. (Bug#14583)
12864
30ae0b2c
JB
128652013-06-10 Juanma Barranquero <lekktu@gmail.com>
12866
12867 * allout.el (allout-encryption-plaintext-sanitization-regexps):
12868 Fix make-variable-buffer-local call to refer to the correct variable.
12869
fa472906
AG
128702013-06-10 Aidan Gauland <aidalgol@amuri.net>
12871
12872 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
12873 (eshell-visual-subcommands, eshell-visual-options):
12874 Add summary line to docstrings. Add cross-references.
fa472906 12875
ff4871b9
GM
128762013-06-10 Glenn Morris <rgm@gnu.org>
12877
12878 * epa.el (epa-read-file-name): New function. (Bug#14510)
12879 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
12880
04fcf1b0
AG
128812013-06-09 Aidan Gauland <aidalgol@amuri.net>
12882
12883 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
12884 output redirection to be ignored with visual commands.
12885
88b00caa
AG
128862013-06-09 Aidan Gauland <aidalgol@amuri.net>
12887
12888 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
12889 (eshell-term-initialize): Move long lambda to separate function
12890 eshell-visual-command-p.
27821a89 12891 * eshell/em-dirs.el (eshell-dirs-initialize):
e7b41c4c
JB
12892 * eshell/em-script.el (eshell-script-initialize):
12893 Add missing #' to lambda.
88b00caa 12894
fda74125
LL
128952013-06-08 Leo Liu <sdl.web@gmail.com>
12896
12897 * progmodes/octave.el (octave-add-log-current-defun): New function.
12898 (octave-mode): Set add-log-current-defun-function.
12899 (octave-goto-function-definition): Do not move point if not found.
12900 (octave-find-definition): Enhance to try subfunctions first.
12901
467f3b33
GM
129022013-06-08 Glenn Morris <rgm@gnu.org>
12903
12904 * emacs-lisp/bytecomp.el (byte-compile-char-before)
12905 (byte-compile-backward-char, byte-compile-backward-word):
12906 Improve previous change, to handle non-explicit nil.
12907
544badc3
SM
129082013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12909
12910 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
12911 (smie--opener/closer-at-point): New function.
12912 (smie--matching-block-data): Use it. Don't match from right after an
12913 opener or right before a closer. Obey smie-blink-matching-inners.
12914 Don't signal a mismatch for repeated inners like "switch..case..case".
12915
a175bf33
LL
129162013-06-07 Leo Liu <sdl.web@gmail.com>
12917
12918 * progmodes/octave.el (octave-mode): Set comment-use-global-state
12919 to t. (Bug#14303)
ce8209d4
LL
12920 (octave-function-header-regexp): Fix. (Bug#14570)
12921 (octave-help-mode-finish-hook, octave-help-mode-finish):
12922 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
12923
12924 * newcomment.el (comment-search-backward): Revert last change.
12925 (Bug#14434)
12926
12927 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
12928
a822acff
EZ
129292013-06-07 Eli Zaretskii <eliz@gnu.org>
12930
12931 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
12932 through xargs, to avoid failure due to MS-Windows limitations on
12933 command-line length.
12934
961166f5
GM
129352013-06-06 Glenn Morris <rgm@gnu.org>
12936
d0341459
GM
12937 * font-lock.el (lisp-font-lock-keywords-2):
12938 Treat user-error like error.
12939
961166f5
GM
12940 * emacs-lisp/bytecomp.el (byte-compile-char-before)
12941 (byte-compile-backward-char, byte-compile-backward-word):
12942 Handle explicit nil arguments. (Bug#14565)
12943
80fa505f
AM
129442013-06-05 Alan Mackenzie <acm@muc.de>
12945
12946 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 12947 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 12948 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 12949 (Bug#9706)
80fa505f 12950
fccdc796
SM
129512013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12952
12953 * autorevert.el (auto-revert-notify-handler): Use memq.
12954 Hide assertion failure.
12955
12956 * skeleton.el: Use cl-lib.
12957 (skeleton-further-elements): Use defvar-local.
12958 (skeleton-insert): Use cl-progv.
12959
9bfff84b
TZ
129602013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
12961
12962 * progmodes/prog-mode.el (prog-prettify-symbols)
12963 (prog-prettify-install): Update docstrings.
12964
55577e7c
SM
129652013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12966
12967 * simple.el: Move all the prog-mode code to prog-mode.el.
12968 * progmodes/prog-mode.el: New file.
12969 * loadup.el: Add prog-mode.el.
12970
8fc57765
TZ
129712013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
12972
12973 * simple.el (prog-prettify-symbols): Add version.
12974 (prog-prettify-install): Add convenience function to prettify symbols.
12975
12976 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
12977 (perl--augmented-font-lock-keywords-1)
12978 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
12979 variables and use it.
12980
12981 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
12982 (cfengine3-mode): Remove unneeded variable and use it.
12983
12984 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
12985 (lisp--augmented-font-lock-keywords-1)
12986 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
12987 Remove unneeded variables and use it.
12988
650645d5 129892013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
12990
12991 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 12992 to point when opening the connection. (Bug#14380)
28f5da6d 12993
781b4af6
SM
129942013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12995
12996 * subr.el (load-history-regexp, load-history-filename-element)
12997 (eval-after-load, after-load-functions, do-after-load-evaluation)
12998 (eval-next-after-load, display-delayed-warnings)
12999 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
13000 definition of save-match-data.
13001 (overriding-local-map): Remove accidental obsolescence declaration.
13002
13003 * emacs-lisp/edebug.el (edebug-result): Move before first use.
13004
3ca0d0b4
TZ
130052013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13006
13007 Generalize symbol prettify support to prog-mode and implement it
13008 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
13009 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
13010 (prog--prettify-font-lock-compose-symbol)
13011 (prog-prettify-font-lock-symbols-keywords): New variables and
13012 functions to support symbol prettification.
13013 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13014 (lisp--augmented-font-lock-keywords-1)
13015 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
13016 (lisp--prettify-symbols-alist): Implement prettify of lambda.
13017 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
13018 (cfengine3--prettify-symbols-alist, cfengine3-mode):
13019 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
13020 * progmodes/perl-mode.el (perl-prettify-symbols)
13021 (perl--font-lock-compose-symbol)
13022 (perl--font-lock-symbols-keywords): Move to prog-mode.
13023 (perl--prettify-symbols-alist): Prettify -> => :: strings.
13024 (perl-font-lock-keywords-1)
13025 (perl-font-lock-keywords-2): Remove explicit prettify support.
13026 (perl--augmented-font-lock-keywords)
13027 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
13028 (perl--augmented-font-lock-keywords-2, perl-mode):
13029 Implement prettify support.
3ca0d0b4 13030
976cb066
LL
130312013-06-05 Leo Liu <sdl.web@gmail.com>
13032
27821a89 13033 Re-implement SMIE matching block highlight using
976cb066
LL
13034 show-paren-data-function. (Bug#14395)
13035 * emacs-lisp/smie.el (smie-matching-block-highlight)
13036 (smie--highlight-matching-block-overlay)
13037 (smie--highlight-matching-block-lastpos)
13038 (smie-highlight-matching-block)
13039 (smie-highlight-matching-block-mode): Remove.
13040 (smie--matching-block-data-cache): New variable.
13041 (smie--matching-block-data): New function.
13042 (smie-setup): Use smie--matching-block-data for
13043 show-paren-data-function.
13044
13045 * progmodes/octave.el (octave-mode-menu): Fix.
13046 (octave-find-definition): Skip garbage lines.
13047
208d0342
SM
130482013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13049
13050 Fix compilation error with simultaneous dynamic+lexical scoping.
13051 Add warning when a defvar appears after the first let-binding.
13052 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
13053 (byte-compile-close-variables): Initialize it.
13054 (byte-compile--declare-var): New function.
13055 (byte-compile-file-form-defvar)
13056 (byte-compile-file-form-define-abbrev-table)
13057 (byte-compile-file-form-custom-declare-variable): Use it.
13058 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
13059 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
13060 (byte-compile-bind): Handle dynamic bindings that shadow
13061 lexical bindings.
13062 (byte-compile-unbind): Make arg non-optional.
13063 (byte-compile-let): Simplify.
13064 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
13065 (cconv--analyse-function, cconv-analyse-form): Populate it.
13066 Protect byte-compile-bound-variables to limit the scope of defvars.
13067 (cconv-analyse-form): Add missing rule for (defvar <foo>).
13068 Remove unneeded rule for `declare'.
13069
13070 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
13071 so as to avoid depending on cl-adjoin at run-time.
13072 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
13073
13074 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
13075 (macroexp--warn-and-return): Use it.
13076
1ac2891e
GM
130772013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13078
a12bf61e 13079 * subr.el: Convert to lexical binding.
1ac2891e
GM
13080 (overriding-local-map): Make obsolete.
13081 (add-to-list): Doc fix. Add compiler macro.
13082 (read-key): Swap values of local maps.
13083
2587b005
LL
130842013-06-05 Leo Liu <sdl.web@gmail.com>
13085
13086 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
13087
f1da3c88
LL
130882013-06-04 Leo Liu <sdl.web@gmail.com>
13089
13090 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
13091 (compilation-auto-jump): Suppress the "Mark set" message to give
13092 way to exit message.
13093
3caa391f
AM
130942013-06-04 Alan Mackenzie <acm@muc.de>
13095
13096 Remove faulty optimisation from indentation calculation.
13097 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
13098 search limit based on 2000 characters back from indent-point.
13099
068922a2
TH
131002013-06-03 Tassilo Horn <tsdh@gnu.org>
13101
13102 * eshell/em-term.el (cl-lib): Require `cl-lib'.
13103
1f8fdd53
SM
131042013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
13105
bbcc4d97
SM
13106 * emacs-lisp/lisp.el: Use lexical-binding.
13107 (lisp--local-variables-1, lisp--local-variables): New functions.
13108 (lisp--local-variables-completion-table): New var.
208d0342 13109 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 13110
1f8fdd53
SM
13111 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
13112 eagerly (bug#14422).
13113
c9628c79
MA
131142013-06-03 Michael Albinus <michael.albinus@gmx.de>
13115
13116 * autorevert.el (auto-revert-notify-enabled)
13117 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
13118 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
13119 (auto-revert-notify-handler): Handle also gfilenotify.
13120
e7b41c4c 13121 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 13122 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 13123 Remove.
c9628c79 13124
e5e4a942
JL
131252013-06-03 Juri Linkov <juri@jurta.org>
13126
13127 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
13128 `M-s h .'. (Bug#14427)
13129
13130 * hi-lock.el (highlight-symbol-at-point): New alias for the new
13131 command `hi-lock-face-symbol-at-point'.
13132 (hi-lock-face-symbol-at-point): New command.
13133 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
13134 (hi-lock-menu): Add `highlight-symbol-at-point'.
13135 (hi-lock-mode): Doc fix.
13136
13137 * isearch.el (isearch-forward-symbol-at-point): New command.
13138 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
13139 (isearch-highlight-regexp): Add a regexp which matches
13140 words/symbols for word/symbol mode.
13141
13142 * subr.el (find-tag-default-bounds): New function with the body
13143 mostly moved from `find-tag-default'.
13144 (find-tag-default): Move most code to `find-tag-default-bounds',
13145 call it and apply `buffer-substring-no-properties' afterwards.
13146
26b3353a
TH
131472013-06-03 Tassilo Horn <tsdh@gnu.org>
13148
781b4af6
SM
13149 * eshell/em-term.el (eshell-term-initialize):
13150 Use `cl-intersection' rather than `intersection'.
26b3353a 13151
51b60f53
XF
131522013-06-02 Xue Fuqiao <xfq.free@gmail.com>
13153
fe054b63 13154 * vc/log-view.el: Doc fix.
d3ffe17c 13155 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 13156
a0eb10b3 131572013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
13158
13159 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
13160 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
13161 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
13162 (eieio-unbound, eieio-default-superclass)
13163 (eieio--define-field-accessors, method-static, method-before)
13164 (method-primary, method-after, method-num-lists)
13165 (method-generic-before, method-generic-primary)
13166 (method-generic-after, method-num-slots)
13167 (eieio-specialized-key-to-generic-key)
13168 (eieio--check-type, class-v, class-p)
13169 (eieio-class-name, define-obsolete-function-alias)
13170 (eieio-class-parents-fast, eieio-class-children-fast)
13171 (same-class-fast-p, class-constructor, generic-p)
13172 (generic-primary-only-p, generic-primary-only-one-p)
13173 (class-option-assoc, class-option, eieio-object-p)
13174 (class-abstract-p, class-method-invocation-order)
13175 (eieio-defclass-autoload-map, eieio-defclass-autoload)
13176 (eieio-class-un-autoload, eieio-defclass)
13177 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
13178 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
13179 (eieio--defgeneric-init-form, eieio-defgeneric-form)
13180 (eieio-defgeneric-reset-generic-form)
13181 (eieio-defgeneric-form-primary-only)
13182 (eieio-defgeneric-reset-generic-form-primary-only)
13183 (eieio-defgeneric-form-primary-only-one)
13184 (eieio-defgeneric-reset-generic-form-primary-only-one)
13185 (eieio-unbind-method-implementations)
13186 (eieio--defmethod, eieio--typep)
13187 (eieio-perform-slot-validation, eieio-validate-slot-value)
13188 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
13189 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
13190 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
13191 (eieio-slot-name-index, eieio-class-slot-name-index)
13192 (eieio-set-defaults, eieio-initarg-to-attribute)
13193 (eieio-attribute-to-initarg, eieio-c3-candidate)
13194 (eieio-c3-merge-lists, eieio-class-precedence-c3)
13195 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
13196 (eieio-class-precedence-list, eieio-generic-call-methodname)
13197 (eieio-generic-call-arglst, eieio-generic-call-key)
13198 (eieio-generic-call-next-method-list)
13199 (eieio-pre-method-execution-functions, eieio-generic-call)
13200 (eieio-generic-call-primary-only, eieiomt-method-list)
13201 (eieiomt-optimizing-obarray, eieiomt-install)
13202 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
13203 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 13204 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
13205 (defclass): Remove `eval-and-compile' from macro.
13206 (call-next-method, shared-initialize): Instead of using
13207 `scoped-class' variable, use new eieio--scoped-class, and
13208 eieio--with-scoped-class.
13209 (initialize-instance): Rename local variable 'scoped-class' to
13210 'this-class' to remove ambiguitity from old global.
13211
13212 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
13213 eieio.el.
4f405069
JB
13214 (eieio--scoped-class-stack): New variable.
13215 (eieio--scoped-class): New fcn.
890f7890
DE
13216 (eieio--with-scoped-class): New scoping macro.
13217 (eieio-defclass): Use pushnew instead of add-to-list.
13218 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
13219 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
13220 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
13221 `scoped-class' variable, use new eieio--scoped-class, and
13222 eieio--with-scoped-class.
13223
13224 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
13225
d105b0e2
TH
132262013-06-02 Tassilo Horn <tsdh@gnu.org>
13227
13228 * eshell/esh-ext.el (eshell-external-command): Pass args to
13229 `eshell-find-interpreter'.
13230 (eshell-find-interpreter): Add new second parameter ARGS.
13231
13232 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 13233 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
13234
13235 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 13236 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
13237
13238 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
13239 (eshell-visual-options): New defcustom.
13240 (eshell-escape-control-x): Adapt docstring.
13241 (eshell-term-initialize): Test `eshell-visual-subcommands' and
13242 `eshell-visual-options' in addition to `eshell-visual-commands'.
13243 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
13244
f46305c8 132452013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
13246
13247 * progmodes/python.el (python-indent-block-enders): Add break,
13248 continue and raise keywords.
13249
d870df21
GM
132502013-06-01 Glenn Morris <rgm@gnu.org>
13251
9133b82e
GM
13252 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
13253
02c992ec 13254 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
13255 * progmodes/cc-cmds.el (delete-forward-p):
13256 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
13257 * progmodes/cc-engine.el (buffer-syntactic-context):
13258 * progmodes/cc-fonts.el (face-property-instance):
13259 * progmodes/cc-mode.el (set-keymap-parents):
13260 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
13261 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
13262 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
13263 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
13264 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 13265
31e7b090
GM
13266 * progmodes/cc-vars.el (other): Emacs has this widget since
13267 at least 21.1, so don't (re)define it.
13268
d870df21
GM
13269 * eshell/em-cmpl.el (eshell-cmpl-initialize):
13270 Replace the obsolete alias pcomplete-arg-quote-list.
13271
c75c93c7
LL
132722013-06-01 Leo Liu <sdl.web@gmail.com>
13273
13274 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
13275 punctuation syntax.
13276 (inferior-octave-minimal-columns)
13277 (inferior-octave-last-column-width): New variables.
13278 (inferior-octave-track-window-width-change): New function.
13279 (inferior-octave-mode): Adjust column width so that Octave output,
13280 for example from 'ls', can fit into the window nicely.
13281
973d1e12
DG
132822013-05-31 Dmitry Gutov <dgutov@yandex.ru>
13283
13284 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13285 Highlight expansions inside regexp literals.
13286
0888c286
GM
132872013-05-31 Glenn Morris <rgm@gnu.org>
13288
e26aac1f
GM
13289 * obsolete/sym-comp.el (symbol-complete):
13290 Replace obsolete completion-annotate-function.
13291
0888c286
GM
13292 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
13293
19bb8e62
DG
132942013-05-31 Dmitry Gutov <dgutov@yandex.ru>
13295
781b4af6
SM
13296 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13297 New function, checks if point is inside a literal that allows
19bb8e62
DG
13298 expression expansion.
13299 (ruby-syntax-propertize-expansion): Use it.
13300 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
13301 around the body.
13302
01dea85f
JL
133032013-05-30 Juri Linkov <juri@jurta.org>
13304
13305 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
13306 to "\M-si".
13307 (isearch-invisible): New variable.
13308 (isearch-forward): Doc fix.
13309 (isearch-mode): Set `isearch-invisible'
13310 to the value of `search-invisible'.
13311 (isearch-toggle-case-fold): Doc fix.
13312 (isearch-toggle-invisible): New command.
13313 (isearch-query-replace): Let-bind `search-invisible'
13314 to the value of `isearch-invisible'.
13315 (isearch-search): Use `isearch-invisible' instead of
13316 `search-invisible'. Let-bind `search-invisible'
13317 to the value of `isearch-invisible'. (Bug#11378)
13318
ab1bdce5
JL
133192013-05-30 Juri Linkov <juri@jurta.org>
13320
13321 * replace.el (perform-replace): Avoid `isearch-range-invisible'
13322 call when `query-flag' is nil and `search-invisible' is non-nil.
13323 (Bug#11746)
13324
d6d236e2
GM
133252013-05-30 Glenn Morris <rgm@gnu.org>
13326
8accd027
GM
13327 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
13328
2a8bed1c
GM
13329 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
13330 (cc-require): Suppress spurious "noruntime" warnings.
13331 (cc-require-when-compile): Use fboundp, for sake of compiler.
13332
d6d236e2
GM
13333 * progmodes/cc-mode.el: Move load of cc-vars before that of
13334 cc-langs (which in turn loads cc-vars), to quieten compiler.
13335
9190b35b
SM
133362013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13337
13338 * paren.el: Simplify the code.
13339 (show-paren-mode): Always start the timer.
13340 (show-paren--idle-timer): Rename from show-paren-idle-timer.
13341 (show-paren--overlay, show-paren--overlay-1): Rename from
13342 show-paren-overlay and show-paren-overlay-1, and initialize to an
13343 overlay rather than to nil.
13344 (show-paren-function): Misc cleanup and simplifications.
13345
4f8d1cf6
SM
133462013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13347
13348 * paren.el (show-paren-data-function): New hook.
13349 (show-paren--default): New function, extracted from show-paren-function.
13350 (show-paren-function): Use show-paren-data-function.
13351
02d844b5
GM
133522013-05-30 Glenn Morris <rgm@gnu.org>
13353
d209d4a9
GM
13354 * ielm.el (ielm-map, ielm-complete-symbol):
13355 Use completion-at-point rather than obsolete functions.
13356 (inferior-emacs-lisp-mode): Doc fix.
13357 Set completion-at-point-functions, rather than
13358 comint-dynamic-complete-functions.
13359
2082faa6
GM
13360 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
13361 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
13362 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
13363
dd8620de
GM
13364 * image.el (image-animated-p): Tweak definition.
13365
ceca95b1
GM
13366 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
13367 (rlogin-process-connection-type): Tweak default. Add set-after.
13368 (rlogin-host): Doc fix.
13369 (rlogin): Tweak prompt.
13370 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
13371
ee9f1acc
GM
13372 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
13373 * progmodes/tcl.el (inferior-tcl-mode-map):
13374 Use completion-at-point rather than obsolete alias.
13375
45ce222e
GM
13376 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
13377
02d844b5
GM
13378 * minibuffer.el (read-file-name-completion-ignore-case):
13379 Move before completion--in-region, for eager macro expansion.
13380
ac44d6c1
JL
133812013-05-29 Juri Linkov <juri@jurta.org>
13382
13383 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
13384 for total count of matching lines. Add `global-matches' for total
13385 count of matches. Rename `matches' to `lines' for count of
13386 matching lines. Add `matches' for count of matches.
13387 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
13388 to `prev-line' for line number of prev match endpt.
13389 Increment `matches' for every match. Print the number of
13390 matching lines in the header.
13391 (occur-context-lines): Rename `lines' to `curr-line'.
13392 Rename `prev-lines' to `prev-line'. (Bug#14017)
13393
3c9c9d38
JL
133942013-05-29 Juri Linkov <juri@jurta.org>
13395
13396 * replace.el (perform-replace): Add `skip-read-only-count',
13397 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
13398 Increment them for corresponding conditions and report the number
13399 of skipped occurrences in the final message. (Bug#11746)
13400 (query-replace, query-replace-regexp, query-replace-regexp-eval)
13401 (replace-string, replace-regexp): Doc fix.
13402
33e249a2
SM
134032013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
13404
8e399682
SM
13405 * emacs-lisp/trace.el (trace--read-args): Provide a default.
13406
33e249a2 13407 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 13408 prog-mode-map (bug#14504).
33e249a2 13409
f236dd84
LL
134102013-05-29 Leo Liu <sdl.web@gmail.com>
13411
13412 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
13413 (octave-help): Small simplification.
13414
13415 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
13416 off the highlight first.
13417
3694d13f
GM
134182013-05-29 Glenn Morris <rgm@gnu.org>
13419
03983bdc
GM
13420 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
13421 Handle idlwave-last-system-routine-info-cons-cell being nil.
13422
bc74a74a
GM
13423 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
13424 (idlwave-write-paths): Simplify via with-temp-buffer.
13425
8b394200
GM
13426 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
13427 * emulation/cua-rect.el: Also load cua-base at run time.
13428
3694d13f
GM
13429 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
13430 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
13431 (cperl-imenu-on-info): Require imenu.
13432
336d7284
AM
134332013-05-28 Alan Mackenzie <acm@muc.de>
13434
13435 Handle "capitalised keywords" correctly.
33e249a2 13436 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 13437
cb29c582
AG
134382013-05-28 Aidan Gauland <aidalgol@amuri.net>
13439
781b4af6 13440 * eshell/em-unix.el: Add -r option to cp.
cb29c582 13441
690e44b2
GM
134422013-05-28 Glenn Morris <rgm@gnu.org>
13443
e658d75c
GM
13444 * vc/vc-arch.el (vc-exec-after): Declare.
13445 (vc-switches): Autoload.
13446 * vc/vc-bzr.el: No need to require vc when compiling.
13447 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
13448 (vc-resynch-buffer, vc-dir-refresh): Declare.
13449 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
13450 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
13451 (vc-resynch-buffer): Declare.
13452 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 13453 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
13454 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
13455 (grep-read-regexp, grep-read-files, grep-expand-template)
13456 (vc-dir-refresh): Declare.
13457 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
13458 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
13459 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
13460 * vc/vc-mtn.el (vc-exec-after): Declare.
13461 (vc-switches): Autoload.
13462 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
13463 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
13464 (vc-file-tree-walk): Declare.
712b9732
GM
13465 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
13466 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
13467 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
13468 * vc/vc-svn.el (vc-exec-after): Declare.
13469 (vc-switches, vc-setup-buffer): Autoload.
13470 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
13471 Autoload.
13472 (vc-resynch-buffer): Declare.
13473
98e87fb3
GM
13474 * obsolete/fast-lock.el (byte-compile-warnings):
13475 Don't warn about obsolete features in this obsolete file.
13476
f5379553
GM
13477 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
13478 Move definition before use.
13479
7a20ef83
GM
13480 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
13481 (dun-unix-verbs): Remove dun-zippy.
13482 (dun-zippy): Remove function.
13483
690e44b2
GM
13484 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
13485
3a52ccf7
JL
134862013-05-27 Juri Linkov <juri@jurta.org>
13487
13488 * replace.el (replace-search): New function with code moved out
13489 from `perform-replace'.
13490 (replace-highlight, replace-dehighlight): Move function definitions
13491 up closer to `replace-search'. (Bug#11746)
13492
d289938a
JL
134932013-05-27 Juri Linkov <juri@jurta.org>
13494
13495 * replace.el (perform-replace): Ignore invisible matches.
13496 In addition to checking `query-replace-skip-read-only', also
13497 filter out matches by calling `run-hook-with-args-until-failure'
13498 on `isearch-filter-predicates', and also check `search-invisible'
13499 for t or call `isearch-range-invisible'.
13500 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
13501
66fc57e3
JL
135022013-05-27 Juri Linkov <juri@jurta.org>
13503
13504 * isearch.el (isearch-filter-predicates): Rename from
13505 `isearch-filter-predicate'. Doc fix. (Bug#11378)
13506 (isearch-message-prefix): Display text from the property
13507 `isearch-message-prefix' of the currently active filters.
13508 (isearch-search): Don't compare `isearch-filter-predicate' with
13509 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
13510 on `isearch-filter-predicates'. Also check `search-invisible' for t
13511 or call `isearch-range-invisible'.
13512 (isearch-filter-visible): Make obsolete.
13513 (isearch-lazy-highlight-search):
13514 Call `run-hook-with-args-until-failure' on
13515 `isearch-filter-predicates' and use `isearch-range-invisible'.
13516
13517 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
13518 `isearch-filter-predicates' instead of `funcall'ing
13519 `isearch-filter-predicate'.
13520 (Info-mode): Set `Info-isearch-filter' to
13521 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
13522
13523 * dired-aux.el (dired-isearch-filter-predicate-orig):
13524 Remove variable.
13525 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
13526 (dired-isearch-filenames-end): Add and remove
13527 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
13528 instead of changing the value of `isearch-filter-predicate'.
13529 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
13530 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
13531 Put property `isearch-message-prefix' to "filename " on
13532 `dired-isearch-filter-filenames'.
13533
13534 * wdired.el (wdired-change-to-wdired-mode):
13535 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
13536 locally instead of changing `isearch-filter-predicate'.
13537 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
13538
f1a60a0f
DG
135392013-05-27 Dmitry Gutov <dgutov@yandex.ru>
13540
13541 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
13542 return the commit hash (Bug#14459). Also set the
13543 `vc-git-detached' property.
13544 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
13545 (vc-git-mode-line-string): Use the same help-echo format whether
13546 in detached mode or not, because we know the actual revision now.
13547 When in detached mode, shorten the revision to 7 chars.
13548
7f17cc40
SM
135492013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13550
13551 * emacs-lisp/easy-mmode.el (define-minor-mode):
13552 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
13553 mode hook and provide a docstring.
13554
25c8401c
AM
135552013-05-27 Alan Mackenzie <acm@muc.de>
13556
13557 Remove spurious syntax-table text properties inserted by C-y.
13558 * progmodes/cc-mode.el (c-after-change): Also clear hard
13559 syntax-table property with value nil.
13560
dde84790
MA
135612013-05-27 Michael Albinus <michael.albinus@gmx.de>
13562
13563 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
13564 when reading the events; the buffer layout shall not be changed.
13565
837fd9af
LL
135662013-05-27 Leo Liu <sdl.web@gmail.com>
13567
13568 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
13569 New variable.
13570 (inferior-octave-directory-tracker): Automatically re-sync
13571 default-directory.
13572 (octave-help): Improve handling of 'See also'.
13573
4fd996b3
SM
135742013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13575
416f1802
SM
13576 * doc-view.el: Minor naming convention tweaks.
13577 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
13578
4fd996b3
SM
13579 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
13580 even if there's no `display' property yet (bug#14435).
13581
a052ef3b
EZ
135822013-05-25 Eli Zaretskii <eliz@gnu.org>
13583
4fd996b3 13584 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
13585
13586 * Makefile.in (custom-deps, finder-data, autoloads)
13587 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
13588 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
13589 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
13590
c9023370
SM
135912013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13592
13593 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
13594 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 13595 Don't burp at EOB.
c9023370 13596
24d699fa
LL
135972013-05-25 Leo Liu <sdl.web@gmail.com>
13598
13599 * comint.el (comint-previous-matching-input): Do not flood the
13600 *Messages* buffer with trivial messages.
13601
17e5c0cc
SM
136022013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13603
13604 * progmodes/flymake.el (flymake-nop): Don't return a string.
13605 (flymake-set-at): Fix typo.
13606
13607 * simple.el (read--expression): New function, extracted from
13608 eval-expression. Set completion-at-point-functions (bug#14465).
13609 (eval-expression, eval-minibuffer): Use it.
13610
5d028165
XF
136112013-05-25 Xue Fuqiao <xfq.free@gmail.com>
13612
13613 * progmodes/flymake.el (flymake-save-buffer-in-file)
13614 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
13615 (flymake-selected-frame, flymake-log, flymake-ins-after)
13616 (flymake-set-at, flymake-get-buildfile-from-cache)
13617 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
13618 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
13619 Refine the doc string.
13620 (flymake-get-file-name-mode-and-masks): Reformat.
13621 (flymake-get-real-file-name-function): Fix a minor bug.
13622
7a1d7ba7
JL
136232013-05-24 Juri Linkov <juri@jurta.org>
13624
13625 * progmodes/grep.el (grep-mode-font-lock-keywords):
13626 Support =linenumber= format used by git-grep for lines with
13627 function names. (Bug#13549)
13628
650cff3d
SM
136292013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13630
13631 * progmodes/octave.el (octave-smie-rules): Return nil rather than
13632 0 after a semi-colon; it works better for smie-auto-fill.
13633 (octave--indent-new-comment-line): New function.
13634 (octave-indent-new-comment-line): Use it (indirectly).
13635 (octave-mode): Don't disable smie-auto-fill. Use add-function to
13636 modify comment-line-break-function.
13637
13638 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
13639 (smie-setup): Use add-function to set it.
13640
9631677d
SS
136412013-05-24 Sam Steingold <sds@gnu.org>
13642
13643 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
13644 argument (before the `interactive' argument).
13645
50105835
SM
136462013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13647
13648 * image-mode.el (image-mode-winprops): Add winprops to
13649 image-mode-winprops-alist before running
13650 image-mode-new-window-functions.
13651 * doc-view.el (doc-view-new-window-function): Don't delay
13652 doc-view-goto-page via timers (bug#14435).
13653
57b9823e
TH
136542013-05-24 Tassilo Horn <tsdh@gnu.org>
13655
13656 * doc-view.el: Integrate with desktop.el. (Bug#14435)
13657 (doc-view-desktop-save-buffer): New function.
13658 (doc-view-restore-desktop-buffer): New function.
50105835
SM
13659 (desktop-buffer-mode-handlers):
13660 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
13661 handler.
13662 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
13663 `desktop-save-buffer' function.
13664
91aafa16
MA
136652013-05-24 Michael Albinus <michael.albinus@gmx.de>
13666
13667 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
13668 (tramp-gvfs-file-name-handler): Raise a user error when
13669 `tramp-gvfs-enabled' is nil.
13670 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
13671 Do not raise a user error when loading package. (Bug#14447)
13672
ec076379
MA
13673 * net/xesam.el: Move to obsolete/.
13674
db785726
GM
136752013-05-24 Glenn Morris <rgm@gnu.org>
13676
af5c7606
GM
13677 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
13678
e5d1916a
GM
13679 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
13680
ded62b08
GM
13681 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
13682 (Info-find-node, Man-getpage-in-background): Declare.
13683
9e614a3f
GM
13684 * mail/unrmail.el (unrmail):
13685 Replace obsolete detect-coding-with-priority.
13686
892f8ca3
GM
13687 * net/socks.el (socks-split-string): Use this rather than split-string.
13688 (socks-nslookup-host): Update for above change.
13689 (dynamic-choice, s5-dynamic-choice-match)
13690 (s5-dynamic-choice-match-inline, s5-widget-value-create):
13691 Comment out unused code.
13692
3c291973
GM
13693 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
13694 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
13695 (gud-tooltip-echo-area): Make obsolete.
13696 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
13697
43cc956b
GM
13698 * progmodes/js.el (js--optimize-arglist): Declare.
13699
dab49a3b
GM
13700 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
13701
36b9d085
GM
13702 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
13703 (ediff-window-C): Declare.
13704
e354ae76
GM
13705 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
13706 Tweak requires to silence compiler.
13707
b8e57bf4
GM
13708 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
13709 (he-search-string, he-tried-table, he-expand-list)
13710 (he-init-string, he-string-member, he-substitute-string)
13711 (he-reset-string): Declare.
13712
db785726
GM
13713 * obsolete/options.el (list-options): Use custom-variable-p,
13714 rather than obsolete alias.
13715
b3531901
SS
137162013-05-23 Sam Steingold <sds@gnu.org>
13717
13718 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 13719 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
13720 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
13721
bdda4c66
SM
137222013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13723
13724 * emacs-lisp/smie.el (smie-indent-forward-token)
13725 (smie-indent-backward-token): Handle string tokens (bug#14381).
13726
c43d45f9
TH
137272013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13728
fe1eb856
RS
13729 * ielm.el (ielm-menu): New menu.
13730 (inferior-emacs-lisp-mode): Set comment-start.
96172128 13731
fe1eb856
RS
137322013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13733
a12bf61e 13734 * textmodes/reftex.el (reftex-ref-style-toggle):
fe1eb856
RS
13735 Fix deactivate action.
13736
a12bf61e 13737 * textmodes/reftex-vars.el (reftex-ref-style-alist):
fe1eb856 13738 Add cleveref macros.
074dd971 13739
9b017563
JB
13740 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
13741 Accept options for bibliography commands.
a12bf61e 13742 * textmodes/reftex-vars.el (reftex-bibliography-commands):
c43d45f9
TH
13743 Add addbibresource. Basic Biblatex support.
13744
7764286e
MA
137452013-05-23 Michael Albinus <michael.albinus@gmx.de>
13746
13747 * net/tramp-gvfs.el (top):
13748 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
13749 when loading package. (Bug#14447)
13750
d361bc10
GM
137512013-05-23 Glenn Morris <rgm@gnu.org>
13752
8fa23984
GM
13753 * progmodes/js.el: No need to load comint when compiling.
13754 (ring-insert, comint-send-string, comint-send-input)
13755 (comint-last-input-end, ido-chop): Declare.
13756
a5c7df1a
GM
13757 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
13758 * vc/ediff-mult.el: Adjust requires.
13759 (ediff-directories-internal, ediff-directory-revisions-internal)
13760 (ediff-patch-file-internal): Declare.
13761 * vc/ediff-ptch.el: Adjust requires.
13762 (ediff-use-last-dir, ediff-buffers-internal): Declare.
13763 (ediff-find-file): Autoload.
13764 * vc/ediff-util.el: No need to load ediff when compiling.
13765 (ediff-regions-internal): Declare.
13766 * vc/ediff-wind.el: Adjust requires.
13767 (ediff-compute-toolbar-width): Define when compiling.
13768 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
13769 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
13770 (dired-get-filename, dired-get-marked-files)
13771 (ediff-last-dir-patch, ediff-patch-default-directory)
13772 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
13773 (ediff-patch-buffer-internal): Declare.
13774
e2aec513
GM
13775 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
13776 (ispell-process, ispell-buffer-local-words, lm-summary)
13777 (lm-section-start, lm-section-end): Declare.
13778 (checkdoc-ispell-init): Simplify.
13779
e68bbd7c
GM
13780 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
13781 (he-string-member, he-reset-string, he-substitute-string): Declare.
13782
7efe0991
GM
13783 * eshell/em-ls.el: Adjust requires.
13784 (eshell-glob-regexp): Declare.
f87b1284
GM
13785 * eshell/em-tramp.el: Adjust requires.
13786 (eshell-parse-command): Autoload.
13787 * eshell/em-xtra.el: Adjust requires.
13788 (eshell-parse-command): Autoload.
13789 * eshell/esh-ext.el: Adjust requires.
13790 (eshell-parse-command, eshell-close-handles): Autoload.
13791 * eshell/esh-io.el: Adjust requires.
13792 (eshell-output-filter): Autoload.
13793 * eshell/esh-util.el: No need to load tramp when compiling.
13794 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
13795 Declare.
13796 (eshell-parse-ange-ls): Require ange-ftp and tramp.
13797 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
13798 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
13799 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
13800 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
13801 * eshell/esh-opt.el, eshell/esh-proc.el:
13802 * eshell/esh-var.el: Adjust requires.
13803 * eshell/eshell.el: Do not require esh-util twice.
13804 (eshell-add-input-to-history): Declare.
13805 (eshell-command): Check history module is active before using it.
13806
d361bc10
GM
13807 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
13808
85d090a9
LL
138092013-05-22 Leo Liu <sdl.web@gmail.com>
13810
13811 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
13812
5d0acd9d
MA
138132013-05-22 Michael Albinus <michael.albinus@gmx.de>
13814
13815 * autorevert.el (auto-revert-notify-add-watch)
13816 (auto-revert-notify-handler): Add `attrib' for the inotify case,
13817 it indicates changes in file modification time.
13818
0cdffd7d
GM
138192013-05-22 Glenn Morris <rgm@gnu.org>
13820
ca5995ec
GM
13821 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
13822 Always delete the autoloaded function from the noruntime and
13823 unresolved functions lists.
13824
6450907e
GM
13825 * allout.el: No need to load epa, epg, overlay when compiling.
13826 (epg-context-set-passphrase-callback, epg-list-keys)
13827 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
13828 (epg-key-user-id-list): Declare.
13829
9c6906f6
GM
13830 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
13831 (viper-set-parsing-style-toggling-macro)
13832 (viper-set-emacs-state-searchstyle-macros):
13833 Use called-interactively-p on Emacs.
13834 (viper-looking-back): Make it an obsolete alias. Update callers.
13835 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
13836 Use looking-back rather than viper-looking-back.
13837 (viper-tmp-insert-at-eob, viper-enlarge-region)
13838 (viper-read-string-with-history, viper-register-to-point)
13839 (viper-append-to-register, viper-change-state-to-vi)
13840 (viper-backward-char-carefully, viper-forward-char-carefully)
13841 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
13842 (viper-change-state-to-emacs): Declare.
13843 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
13844 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
13845 * emulation/viper-mous.el: Do not load viper-cmd.
13846 (viper-backward-char-carefully, viper-forward-char-carefully)
13847 (viper-forward-word, viper-adjust-window): Declare.
13848
5f70c169
GM
13849 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
13850
b1b7f300
GM
13851 * progmodes/idlw-help.el (idlwave-help-fontify):
13852 Use called-interactively-p.
13853
f6ebbb46
GM
13854 * term/w32console.el (w32-get-console-codepage)
13855 (w32-get-console-output-codepage): Declare.
13856
0cdffd7d
GM
13857 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
13858 Remove unnecessary declarations.
13859 (dframe-message): Doc fix.
13860
13861 * info.el (dframe-select-attached-frame, dframe-current-frame):
13862 Declare.
13863
13864 * speedbar.el (speedbar-message): Make it an obsolete alias.
13865 Update all callers.
13866 (speedbar-with-attached-buffer)
13867 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
13868 (speedbar-with-writable): Use backquote.
13869 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
13870 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
13871 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
13872 rather than speedbar- aliases.
13873 * mail/rmail.el: Load dframe rather than speedbar when compiling.
13874 (speedbar-make-specialized-keymap, speedbar-insert-button)
13875 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
13876 (speedbar-do-function-pointer): Declare.
13877 (rmail-speedbar-button, rmail-speedbar-find-file)
13878 (rmail-speedbar-move-message):
13879 Use dframe-with-attached-buffer rather than speedbar- alias.
13880 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
13881 (dframe-message, speedbar-make-specialized-keymap)
13882 (speedbar-add-expansion-list, speedbar-mode-functions-list)
13883 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
13884 (speedbar-insert-button, dframe-select-attached-frame)
13885 (dframe-maybee-jump-to-attached-frame)
13886 (speedbar-change-initial-expansion-list)
13887 (speedbar-previously-used-expansion-list-name): Declare.
13888 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
13889 Use dframe-message, dframe-with-attached-buffer rather than
13890 speedbar- aliases.
13891 (gud-sentinel): Silence compiler.
13892 * progmodes/vhdl-mode.el (speedbar-refresh)
13893 (speedbar-do-function-pointer, speedbar-add-supported-extension)
13894 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
13895 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
13896 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
13897 (speedbar-file-lists, speedbar-make-tag-line)
13898 (speedbar-line-directory, speedbar-goto-this-file)
13899 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
13900 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
13901 (speedbar-make-button, speedbar-reset-scanners)
13902 (speedbar-files-item-info, speedbar-line-text)
13903 (speedbar-find-file-in-frame, speedbar-set-timer)
13904 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
13905 (speedbar-with-writable): Do not (re)define it.
13906 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
13907 rather than speedbar- alias.
13908
ee44b62a
LL
139092013-05-21 Leo Liu <sdl.web@gmail.com>
13910
13911 * progmodes/octave.el (octave-mode-menu): Update and re-organize
13912 menu items.
13913 (octave-mode): Tweak fill-nobreak-predicate.
13914 (inferior-octave-startup): Check process to avoid infinite loop.
13915 (inferior-octave): Pop to buffer first to show abornmal process
13916 exit information.
13917
640f050f
GM
139182013-05-21 Glenn Morris <rgm@gnu.org>
13919
79458038
GM
13920 * printing.el (pr-menu-bar): Define when compiling.
13921
9cc3e83f
LL
139222013-05-21 Leo Liu <sdl.web@gmail.com>
13923
13924 * progmodes/octave.el (octave-auto-fill): Remove.
13925 (octave-indent-new-comment-line): Improve.
13926 (octave-mode): Use auto fill mode through
4f405069 13927 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 13928 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 13929 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
13930 (octave-help): Show parent directory.
13931
f440830d
GM
139322013-05-21 Glenn Morris <rgm@gnu.org>
13933
13934 * files.el (dired-unmark):
13935 * progmodes/gud.el (gdb-input): Update declarations.
13936
13937 * calculator.el (electric, ehelp): No need to load when compiling.
13938 (Electric-command-loop, electric-describe-mode): Declare.
13939
13940 * doc-view.el (doc-view-current-converter-processes): Move before use.
13941
13942 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13943 Move MODE-set-explicitly definition before use.
13944
13945 * international/mule-diag.el (mule-diag):
13946 Don't use obsolete window-system-version.
13947
13948 * mail/feedmail.el (smtpmail): No need to load when compiling.
13949 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
13950
13951 * mail/mail-utils.el (rfc822): No need to load when compiling.
13952 (rfc822-addresses): Autoload it.
13953 (mail-strip-quoted-names): Trivial simplification.
13954
13955 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
13956 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
13957
13958 * net/snmp-mode.el (tempo): Don't duplicate requires.
13959
13960 * progmodes/prolog.el (info): No need to load when compiling.
13961 (comint): Require before shell requires it.
13962 (Info-goto-node): Autoload it.
13963 (Info-follow-nearest-node): Declare.
13964 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
13965
13966 * textmodes/artist.el (picture-mode-exit): Declare.
13967
13968 * textmodes/reftex-parse.el (reftex-parse-from-file):
13969 Trivial rewrite so the compiler can parse it better.
13970
b4da2cbb
LL
139712013-05-20 Leo Liu <sdl.web@gmail.com>
13972
13973 * progmodes/octave.el (octave-help-mode-map)
13974 (octave-help-mode-finish-hook): New variables.
13975 (octave-help-mode, octave-help-mode-finish): New functions.
13976 (octave-help): Use octave-help-mode.
13977
33c0f65b
GM
139782013-05-20 Glenn Morris <rgm@gnu.org>
13979
13980 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
13981
1a0a0a8a
DG
139822013-05-19 Dmitry Gutov <dgutov@yandex.ru>
13983
13984 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
13985 start at point, so that expansion starting right after opening
13986 slash in a regexp is recognized.
13987 (ruby-syntax-before-regexp-re): New defvar, extracted from
13988 ruby-syntax-propertize-function. Since the value of this regexp
13989 is looked up at runtime now, we should be able to turn
13990 `ruby-syntax-methods-before-regexp' into a defcustom later.
13991 (ruby-syntax-propertize-function): Split regexp matching into two
13992 parts, for opening and closing slashes. That allows us to skip
13993 over string interpolations and support multiline regexps.
13994 Don't call `ruby-syntax-propertize-expansions', instead use another rule
13995 for them, which calls `ruby-syntax-propertize-expansion'.
13996 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
13997 call to `ruby-syntax-propertize-function'.
13998 (ruby-syntax-propertize-expansion): Extracted from
13999 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
14000 (ruby-syntax-propertize-percent-literal): Leave point right after
14001 the percent symbol, so that the expression expansion rule can
14002 propertize the contents.
462388b6
DG
14003 (ruby-syntax-propertize-heredoc): Leave point at bol following the
14004 heredoc openers.
14005 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 14006
c1a6c0a4
JL
140072013-05-18 Juri Linkov <juri@jurta.org>
14008
14009 * man.el (Man-default-man-entry): Remove `-' from the end
14010 of the default value. (Bug#14400)
14011
8051fccd
GM
140122013-05-18 Glenn Morris <rgm@gnu.org>
14013
14014 * comint.el (comint-password-prompt-regexp):
14015 Allow "password for XXX" where XXX contains colons (eg https://...).
14016
5e80b74f
LL
140172013-05-18 Leo Liu <sdl.web@gmail.com>
14018
14019 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 14020 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
14021 (octave-source-directories): Don't check process.
14022 (octave-source-directories, octave-find-definition): Doc fix.
14023
521a54c5
GM
140242013-05-18 Glenn Morris <rgm@gnu.org>
14025
86a94b05
GM
14026 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
14027 Remove backspace/delete bindings. (Bug#14392)
14028
521a54c5
GM
14029 * cus-dep.el (custom-make-dependencies): Sort the output.
14030 (custom-versions-load-alist): Convert comment to doc.
14031
42caeb89
LL
140322013-05-17 Leo Liu <sdl.web@gmail.com>
14033
14034 * newcomment.el (comment-search-backward): Stricter in finding
14035 comment start. (Bug#14303)
14036
14037 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
14038 (octave-comment-start-skip): Properly anchored.
14039
e219dd97
LL
140402013-05-17 Leo Liu <sdl.web@gmail.com>
14041
fe1eb856
RS
14042 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
14043 Clean up when turned off. (Bug#14395)
e219dd97
LL
14044 (smie--highlight-matching-block-overlay): No longer buffer-local.
14045 (smie-highlight-matching-block): Adjust.
14046
dc5dcb4b
PE
140472013-05-17 Paul Eggert <eggert@cs.ucla.edu>
14048
14049 Doc string fix for "nanoseconds" (Bug#14406).
14050 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
14051 Fix doc string typo that had "nanoseconds" instead of "microseconds".
14052
1db165f0
JB
140532013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
14054
14055 * calc/calc-units.el (math-extract-units): Preserve powers
14056 of units.
14057
c7a8fcac
LL
140582013-05-17 Leo Liu <sdl.web@gmail.com>
14059
14060 * subr.el (delete-consecutive-dups): New function.
14061 * ido.el (ido-set-matches-1): Use it.
14062 * progmodes/octave.el (inferior-octave-completion-table): Use it.
14063 * ido.el (ido-remove-consecutive-dups): Remove.
14064
f678b18a
SM
140652013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14066
14067 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
14068 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
14069 regexp-opt's `words'.
14070
ebfe68e8
LL
140712013-05-16 Leo Liu <sdl.web@gmail.com>
14072
14073 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
14074 (smie--highlight-matching-block-overlay)
14075 (smie--highlight-matching-block-lastpos)
14076 (smie--highlight-matching-block-timer): New variables.
14077 (smie-highlight-matching-block): New function.
14078 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
14079 (smie-setup): Conditionally enable smie-blink-matching-open.
14080
bc8bc17d
WS
140812013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
14082
14083 Sync with upstream verilog-mode r840.
14084 * progmodes/verilog-mode.el (verilog-mode-version)
14085 (verilog-mode-release-date): Update.
14086 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
14087 (verilog-sig-tieoff): Fix string error on
14088 AUTORESET with colon define, bug594. Reported by Andrew Hou.
14089 (verilog-read-decls): Fix parameters confusing
14090 AUTOINST interfaces, bug565. Reported by Leith Johnson.
14091
df065a0b
EZ
140922013-05-16 Eli Zaretskii <eliz@gnu.org>
14093
14094 * subr.el (reveal-filename): New function.
14095
14096 * loadup.el: Compute Emacs executable versions on MS-Windows,
14097 where executables have the .exe extension. Add a hard link
14098 emacs-XX.YY.ZZ.exe on MS-Windows.
14099
14100 * Makefile.in (XARGS_LIMIT): New variable.
14101 (custom-deps, finder-data, autoloads)
14102 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14103 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14104 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
14105 (compile-main): Limit xargs according to $(XARGS_LIMIT).
14106
2d4bf34b
LL
141072013-05-16 Leo Liu <sdl.web@gmail.com>
14108
14109 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
14110 (octave-mode-menu, octave-mode-map): Remove its uses.
14111
6b9c2d85
RZ
141122013-05-16 Reto Zimmermann <reto@gnu.org>
14113
14114 Sync with upstream vhdl mode v3.34.2.
14115 * progmodes/vhdl-mode.el: Use `push' throughout.
14116 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
14117 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
14118 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
14119 (vhdl-actual-generic-name): New option to derive actual generic name.
14120 (vhdl-port-paste-signals): Replace formal by actual generics.
14121 (vhdl-beautify): New name for old group vhdl-align. Update users.
14122 (vhdl-beautify-options): New option.
14123 (vhdl-last-input-event): New compat alias. Use throughout.
14124 (vhdl-goto-line): Replace user level function `goto-line'.
14125 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
14126 vhdl-fix-statement-buffer.
14127 (vhdl-create-mode-menu): Add some entries.
14128 (vhdl-align-region-groups): Respect vhdl-beautify-options.
14129 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
14130 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
14131 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
14132 to force statements on one line.
14133 (vhdl-remove-trailing-spaces-region):
14134 New, split from vhdl-remove-trailing-spaces.
14135 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
14136 Respect vhdl-beautify-options.
14137 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
14138 (vhdl-update-sensitivity-list): Not add with index if exists without.
14139 Not include array index with signal. Ignore keywords in comments.
14140 (vhdl-get-visible-signals): Regexp tweaks.
14141 (vhdl-template-component-inst): Handle empty library.
14142 (vhdl-template-type): Add template for 'enum' type.
14143 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
14144 Use vhdl-replace-string.
14145 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
14146 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
14147 (vhdl-speedbar-initialize): Update for above name change.
14148 (vhdl-compose-wire-components): Fix in handling of constants.
14149 (vhdl-error-regexp-emacs-alist): New variable.
14150 (vhdl-error-regexp-add-emacs): New function;
14151 adds support for new compile.el (Emacs 22+)
14152 (vhdl-generate-makefile-1): Change target order for single lib. units.
14153 Allow use of absolute file names.
14154
9df4ec5e
LL
141552013-05-16 Leo Liu <sdl.web@gmail.com>
14156
14157 * simple.el (prog-indent-sexp): Indent enclosing defun.
14158
f5ba00a6
GM
141592013-05-15 Glenn Morris <rgm@gnu.org>
14160
ed8be7ff
GM
14161 * cus-start.el (show-trailing-whitespace): Move to editing basics.
14162 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
14163 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
14164 (whitespace-highlight): Move to whitespace group.
14165
14166 * comint.el (comint-source):
14167 * pcmpl-linux.el (pcmpl-linux):
14168 * shell.el (shell-faces):
14169 * eshell/esh-opt.el (eshell-opt):
14170 * international/ccl.el (ccl): Remove empty custom groups.
14171
14172 * completion.el (dynamic-completion-mode):
14173 * jit-lock.el (jit-lock-debug-mode):
14174 * minibuffer.el (completion-in-region-mode):
14175 * type-break.el (type-break-mode-line-message-mode)
14176 (type-break-query-mode):
14177 * emulation/tpu-edt.el (tpu-edt-mode):
14178 * progmodes/subword.el (global-subword-mode, global-superword-mode):
14179 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
14180 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
14181
14182 * term/xterm.el (xterm): Change parent group to terminals.
14183
14184 * master.el (master): Remove empty custom group.
14185 (master-mode): Remove unused :group argument.
14186 * textmodes/refill.el (refill): Remove empty custom group.
14187 (refill-mode): Remove unused :group argument.
14188
14189 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
14190
82a7c41b
GM
14191 * cus-dep.el: Provide a feature.
14192 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
14193 Don't mistakenly ignore files whose basenames match a basename
14194 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 14195 Add a fallback method for getting :group.
f5ba00a6 14196
6d65486d
JL
141972013-05-15 Juri Linkov <juri@jurta.org>
14198
da547b32
JL
14199 * isearch.el (isearch-char-by-name): Rename from
14200 `isearch-insert-char-by-name'. Doc fix.
14201 (isearch-forward): Mention `isearch-char-by-name' in
14202 the docstring. (Bug#13348)
14203
6d65486d
JL
14204 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
14205 `exit-minibuffer' instead of
14206 `isearch-nonincremental-exit-minibuffer'.
14207 (isearch-edit-string): Remove mention of
14208 `isearch-nonincremental-exit-minibuffer' from docstring.
14209 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
14210 (isearch-forward-exit-minibuffer)
14211 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
14212
c9990474
SM
142132013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14214
6e911150
SM
14215 * loadup.el: Just use unversioned DOC.
14216
c9990474
SM
14217 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
14218 literals as extending to EOB.
14219 (nxml-last-fontify-end): Remove unused variable.
14220 (nxml-after-change1): Use with-silent-modifications.
14221 (nxml-extend-after-change-region): Simplify.
14222 (nxml-extend-after-change-region1): Remove function.
14223 (nxml-after-change1): Don't adjust for dependent regions.
14224 (nxml-fontify-matcher): Simplify.
14225 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
14226 (xmltok-add-dependent): Remove function.
14227 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
14228 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
14229 (xmltok-scan-prolog-after-processing-instruction-open): Treat
14230 unclosed <[[, <?, comment, and other literals as extending to EOB.
14231 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
14232 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
14233 Remove functions.
14234 (rng-do-some-validation-1): Don't mark dependent regions.
14235 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
14236 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
14237 (nxml-clear-dependent-regions): Remove functions.
14238 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
14239 (nxml-ensure-scan-up-to-date):
14240 Don't clear&mark dependent regions.
14241
e3772e98
LL
142422013-05-15 Leo Liu <sdl.web@gmail.com>
14243
c9990474
SM
14244 * progmodes/octave.el (octave-goto-function-definition):
14245 Improve and fix callers.
e3772e98 14246
5ac2eb34
SM
142472013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14248
c46c57b0
SM
14249 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
14250 the setter (bug#14387).
14251
5ac2eb34
SM
14252 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
14253 surrounding group (bug#14402).
14254
180ed218
JL
142552013-05-14 Juri Linkov <juri@jurta.org>
14256
14257 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
14258 (Bug#14390)
14259
0ac0fecb
GM
142602013-05-14 Glenn Morris <rgm@gnu.org>
14261
14262 * progmodes/f90.el (f90-imenu-generic-expression):
14263 Fix typo in 2013-05-08 change. (Bug#14402)
14264
2e78e6a7
JPG
142652013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14266
5ac2eb34
SM
14267 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
14268 Remove signals for which replies are never received.
2e78e6a7 14269
53267cca
JPG
142702013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14271
14272 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
14273 (gdb-handler-alist, gdb-handler-number): Remove variables.
14274 (gdb-handler-list): New variable.
14275 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
14276 (gdb-pending-handler-p, gdb-handle-reply)
14277 (gdb-remove-all-pending-triggers): New functions.
14278 (gdb-discard-unordered-replies): New defcustom.
14279 (gdb-handler): New defstruct.
14280 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
14281 instead of gdb-pending-triggers. Update docstring.
14282 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
14283 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
14284 (gdb-var-update-handler, def-gdb-auto-update-trigger)
14285 (def-gdb-auto-update-handler, gdb-get-changed-registers)
14286 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
14287 (gdb-frame-handler): Pending triggers are now automatically managed.
14288 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
14289 Remove argument.
14290 (gdb-input): Automatically handles pending triggers. Update docstring.
14291 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
14292 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
14293 Update comments.
14294 (gdb-done-or-error): Now use gdb-handle-reply.
14295
d04ce803
JPG
142962013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14297
14298 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
14299 gdb-debug-log.
14300
0114073a
GM
143012013-05-14 Glenn Morris <rgm@gnu.org>
14302
14303 * subr.el (user-emacs-directory-warning): New option.
14304 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
14305
4d25fd7e
LL
143062013-05-14 Leo Liu <sdl.web@gmail.com>
14307
14308 * progmodes/octave.el (octave-font-lock-keywords): Fix error
14309 during redisplay.
14310 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
14311 (octave-font-lock-texinfo-comment): Fix invalid search bound
14312 error: wrong side of point.
4d25fd7e 14313
27c8b6eb
GM
143142013-05-14 Glenn Morris <rgm@gnu.org>
14315
61aaeb01
GM
14316 * progmodes/flymake.el (flymake-xml-program): New option.
14317 (flymake-xml-init): Use it.
14318
5bf90bc5
GM
14319 * term/xterm.el: Provide a feature.
14320
14321 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 14322
f4c7dfd2
GM
143232013-05-13 Glenn Morris <rgm@gnu.org>
14324
14325 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
14326 Add compat aliases as a hack workaround. (Bug#14384)
14327
2aeb3a1d
LL
143282013-05-13 Leo Liu <sdl.web@gmail.com>
14329
b0e069c2
LL
14330 * progmodes/octave.el (octave-indent-comment): Fix indentation for
14331 ###, and %!.
f5a9432f
LL
14332 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
14333 C-M-q.
b0e069c2
LL
14334 (octave-comment-start-skip): Include %!.
14335 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 14336
30ea8374
LL
143372013-05-12 Leo Liu <sdl.web@gmail.com>
14338
14339 * progmodes/octave.el (inferior-octave-startup): Store the value
14340 of __octave_srcdir__ for octave-source-directories.
14341 (inferior-octave-check-process): New function refactored out of
14342 inferior-octave-send-list-and-digest.
14343 (octave-source-directories)
14344 (octave-find-definition-filename-function): New variables.
14345 (octave-source-directories)
14346 (octave-find-definition-default-filename): New functions.
14347 (octave-find-definition): Improve to find functions implemented in C++.
14348
472a3834
GM
143492013-05-12 Glenn Morris <rgm@gnu.org>
14350
14351 * calendar/diary-lib.el (diary-outlook-format-1):
14352 Don't include dayname in the output. (Bug#14349)
14353
3191b52f
GM
143542013-05-11 Glenn Morris <rgm@gnu.org>
14355
0060ac73
GM
14356 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
14357
3191b52f
GM
14358 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
14359 Treat cc-provide like provide.
14360
e065ba74
KR
143612013-05-11 Kevin Ryde <user42@zip.com.au>
14362
14363 * cus-dep.el (custom-make-dependencies):
14364 Use generated-autoload-load-name for the sake of files such
14365 such cedet/semantic/bovine/c.el, where the base file name
14366 is not in load-path. (Bug#5277)
14367
36f84c37
GM
143682013-05-11 Glenn Morris <rgm@gnu.org>
14369
14370 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
14371 Provide features.
14372
c8730c3a
LL
143732013-05-11 Leo Liu <sdl.web@gmail.com>
14374
14375 * progmodes/octave.el (octave-indent-comment): Improve.
14376 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
14377 (octave-eldoc-function-signatures, octave-eldoc-function):
14378 New functions.
c8730c3a
LL
14379 (octave-mode, inferior-octave-mode): Add eldoc support.
14380
212e29f2
RS
143812013-05-11 Richard Stallman <rms@gnu.org>
14382
14383 * epa.el (epa-decrypt-file): Take output file name as argument
14384 and read it using `interactive'.
14385
083fe0d7
LL
143862013-05-11 Leo Liu <sdl.web@gmail.com>
14387
14388 * progmodes/octave.el (octave-beginning-of-line)
14389 (octave-end-of-line): Check before using up-list because it jumps
14390 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
14391 (octave-indent-comment): New function.
14392 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
14393 (octave-begin-keywords, octave-end-keywords)
14394 (octave-reserved-words, octave-smie-bnf-table)
14395 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 14396
8582e4c4
GM
143972013-05-11 Glenn Morris <rgm@gnu.org>
14398
f20def1f
GM
14399 * faces.el (internal-face-x-get-resource):
14400 * frame.el (ns-display-monitor-attributes-list):
d78abe37 14401 * calc/calc-aent.el (math-to-radians-2):
f20def1f 14402 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 14403 Fix declarations.
f20def1f 14404
445f95e2
GM
14405 * calc/calc-menu.el: Make it loadable in isolation.
14406
14407 * net/eudcb-bbdb.el: Make it loadable without bbdb.
14408 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
14409 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
14410 (eudc-bbdb-query-internal): Require 'bbdb.
14411
99fb2756
GM
14412 * lpr.el (lpr-headers-switches):
14413 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
14414
14415 * progmodes/sql.el (sql-login-params): Fix and improve :type.
14416
0da7ad96
GM
14417 * emulation/edt-mapper.el: In batch mode, error rather than hang.
14418
8582e4c4
GM
14419 * term.el (term-set-escape-char): Make it idempotent.
14420
f71c50d0
LL
144212013-05-10 Leo Liu <sdl.web@gmail.com>
14422
5ac2eb34
SM
14423 * progmodes/octave.el (inferior-octave-completion-table):
14424 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
14425 completion due to bug#11906.
14426 (octave-beginning-of-defun): Re-write to be more general.
14427
d5837773
GM
144282013-05-10 Glenn Morris <rgm@gnu.org>
14429
14430 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
14431
027c0f75
SM
144322013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14433
14434 * comint.el (comint-redirect-send-command-to-process): Use :around
14435 rather than :override for comint-redirect-filter.
14436 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
14437 Call it instead of comint-redirect-original-filter-function (which
14438 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
14439
4465bfb4
JD
144402013-05-09 Jan Djärv <jan.h.d@swipnet.se>
14441
14442 * frame.el (display-monitor-attributes-list): Add NS case.
14443 (ns-display-monitor-attributes-list): Declare.
14444
2d809ffa 144452013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
14446
14447 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
14448
e54eeb9b
GM
144492013-05-09 Glenn Morris <rgm@gnu.org>
14450
56cd351d
GM
14451 * international/fontset.el (vertical-centering-font-regexp):
14452 Set standard-value.
14453
d84b6108
GM
14454 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
14455
a931698a
GM
14456 * bookmark.el (bookmark-search-delay):
14457 * cus-start.el (vertical-centering-font-regexp):
14458 * ps-mule.el (ps-mule-font-info-database-default):
14459 * ps-print.el (ps-default-fg, ps-default-bg):
14460 * type-break.el (type-break-good-break-interval):
14461 * whitespace.el (whitespace-indentation-regexp)
14462 (whitespace-space-after-tab-regexp):
14463 * emacs-lisp/testcover.el (testcover-1value-functions)
14464 (testcover-noreturn-functions, testcover-progn-functions)
14465 (testcover-prog1-functions):
14466 * emulation/viper-init.el (viper-emacs-state-cursor-color):
14467 * eshell/em-glob.el (eshell-glob-translate-alist):
14468 * play/tetris.el (tetris-tty-colors):
14469 * progmodes/cpp.el (cpp-face-default-list):
14470 * progmodes/flymake.el (flymake-allowed-file-name-masks):
14471 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
14472 (idlwave-help-browser-generic-args):
14473 * progmodes/make-mode.el (makefile-special-targets-list):
14474 * progmodes/python.el (python-shell-virtualenv-path):
14475 * progmodes/verilog-mode.el (verilog-active-low-regexp)
14476 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
14477 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
14478 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
14479 * textmodes/reftex-vars.el (reftex-format-label-function):
14480 * textmodes/remember.el (remember-diary-file): Fix custom types.
14481
e54eeb9b
GM
14482 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
14483 Add :version.
14484
455851dd
LL
144852013-05-09 Leo Liu <sdl.web@gmail.com>
14486
14487 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 14488 Restore file completion. (Bug#14300)
455851dd
LL
14489 (inferior-octave-startup): Fix incorrect highlighting for the
14490 first prompt.
14491
a9e4425b
SM
144922013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14493
14494 * progmodes/ruby-mode.el: First cut at SMIE support.
14495 (ruby-use-smie): New var.
14496 (ruby-smie-grammar): New constant.
14497 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
14498 (ruby-smie--forward-token, ruby-smie--backward-token)
14499 (ruby-smie-rules): New functions.
14500 (ruby-mode-variables): Setup SMIE if applicable.
14501
060ca408
EZ
145022013-05-08 Eli Zaretskii <eliz@gnu.org>
14503
14504 * simple.el (line-move-visual): Signal beginning/end of buffer
14505 only if vertical-motion moved less than it was requested. Avoids
14506 silly incorrect error messages when there are display strings with
14507 multiple newlines at EOL.
14508
1d5963cc
SM
145092013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14510
14511 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
14512 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
14513 (prolog-char-quote-workaround):
14514 * progmodes/cperl-mode.el (cperl-under-as-char):
14515 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
14516 Mark as obsolete.
14517 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
14518 their declaration.
14519 (vhdl-mode-syntax-table-init): Remove.
14520
c9990474
SM
14521 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
14522 last change.
1d5963cc
SM
14523
14524 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
14525 syntax for "_".
14526 (ld-script-font-lock-keywords):
14527 Change regexps to use things like \_< and \_>.
14528
14529 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
14530 Change all regexps to use things like \_< and \_>.
14531
14532 * progmodes/autoconf.el (autoconf-definition-regexp)
14533 (autoconf-font-lock-keywords, autoconf-current-defun-function):
14534 Handle a _ with symbol syntax.
14535 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
14536
c9990474
SM
14537 * progmodes/ada-mode.el (ada-mode-abbrev-table):
14538 Consolidate declaration.
1d5963cc
SM
14539 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
14540 the declaration.
14541 (ada-create-syntax-table): Remove.
14542 (ada-capitalize-word): Don't mess with the syntax of "_" since it
14543 already has the right syntax nowadays.
14544 (ada-goto-next-word): Don't change the syntax of "_".
14545
14546 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
14547 with-wrapper-hook.
14548
72d3cfca
SS
145492013-05-08 Sam Steingold <sds@gnu.org>
14550
14551 * thingatpt.el (thing-at-point): Accept optional second argument
14552 NO-PROPERTIES to strip the text properties from the return value.
14553 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
14554 to `thing-at-point' instead of stripping the properties ourselves.
14555 Also, when `thing-at-point' fails to find a url, prepend "http://"
14556 to the filename at point on the assumption that the user is
14557 pointing at something like gnu.org/gnu.
14558
5cb15713
JB
145592013-05-08 Juanma Barranquero <lekktu@gmail.com>
14560
14561 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
14562 * faces.el (crm-separator):
14563 Silence byte-compiler.
14564
14565 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
14566 (tool-bar-map): Remove unneeded defvars.
14567
ea78b95b
LL
145682013-05-08 Leo Liu <sdl.web@gmail.com>
14569
14570 Re-work a fix for bug#10994 based on Le Wang's patch.
14571 * ido.el (ido-remove-consecutive-dups): New helper.
14572 (ido-completing-read): Use it.
14573 (ido-chop): Revert fix for bug#10994.
14574
dc7466df
AS
145752013-05-08 Adam Spiers <emacs@adamspiers.org>
14576
14577 * cus-edit.el (custom-save-variables):
14578 Pretty-print long values. (Bug#14187)
14579
9ecf672a
GM
145802013-05-08 Glenn Morris <rgm@gnu.org>
14581
14582 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
14583 (m4-mode-syntax-table): Init in the defvar.
14584 (m4-mode-abbrev-table): Let define-derived-mode define it.
14585
3f555be8
TT
145862013-05-08 Tom Tromey <tromey@redhat.com>
14587
14588 * progmodes/m4-mode.el (m4-mode-syntax-table):
14589 Do not treat "_" as word constituent. (Bug#14167)
14590
7cc8ae06
GM
145912013-05-07 Glenn Morris <rgm@gnu.org>
14592
4f58bc06
GM
14593 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
14594 Remove explicit eshell-isearch-cancel-map.
14595
7cc8ae06
GM
14596 * progmodes/f90.el (f90-smart-end-names): New option.
14597 (f90-smart-end): Doc fix.
14598 (f90-end-block-optional-name): New constant.
14599 (f90-block-match): Respect f90-smart-end-names.
14600
ceb57e59
SM
146012013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14602
14603 * progmodes/octave.el (octave-smie-forward-token): Be more careful
14604 about implicit semi-colons (bug#14218).
14605
4e3f9230
YM
146062013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
14607
14608 * frame.el (display-monitor-attributes-list)
14609 (frame-monitor-attributes): New functions.
14610
203a5572
LL
146112013-05-06 Leo Liu <sdl.web@gmail.com>
14612
14613 * progmodes/octave.el (octave-syntax-propertize-function): Change
14614 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
14615 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 14616 (octave-completion-at-point): Rename from
203a5572
LL
14617 octave-completion-at-point-function.
14618 (inferior-octave-directory-tracker): Robustify.
14619 (octave-text-functions): Remove and fix its uses. No such things
14620 any more.
14621
ee6cff99
SM
146222013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14623
14624 * emacs-lisp/trace.el (trace--display-buffer): New function.
14625 (trace-make-advice): Use it.
14626
32985194
JL
146272013-05-06 Juri Linkov <juri@jurta.org>
14628
14629 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
14630 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
14631 Doc fix.
14632 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
14633 in the help string. (Bug#12985)
14634
a1c700de
KD
146352013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
14636
14637 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
14638
c67c0839
SM
146392013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14640
323885fd
SM
14641 * progmodes/perl-mode.el: Add support for here documents.
14642 (perl-syntax-propertize-function): Match here-doc markers.
14643 (perl-syntax-propertize-special-constructs): Find their end.
14644 (perl-imenu-generic-expression): Use [:alnum:].
14645
c67c0839
SM
14646 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
14647 (advice--add-function): Refresh the advice if already present
14648 (bug#14317).
14649
d491e7a8
IA
146502013-05-06 Ivan Andrus <darthandrus@gmail.com>
14651
14652 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
14653
ddf9925e
GM
146542013-05-06 Glenn Morris <rgm@gnu.org>
14655
7cc3af27
GM
14656 * w32-fns.el (w32-charset-info-alist): Declare.
14657
16e343d6
GM
14658 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
14659 of its defcustom properties.
14660 (eshell-cmpl-initialize): No need to load pcomplete.
14661
7d889a47
GM
14662 * generic-x.el: No need to require comint when compiling.
14663
ddf9925e
GM
14664 * net/eudc-export.el: Make it loadable without bbdb.
14665 (top-level): Use require rather than load-library.
14666 (eudc-create-bbdb-record, eudc-bbdbify-phone)
14667 (eudc-batch-export-records-to-bbdb)
14668 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
14669 Require bbdb.
14670
1e2c18df
SM
146712013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14672
14673 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
14674 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
14675 some tweaks, instead.
14676
02502a5f
LL
146772013-05-05 Leo Liu <sdl.web@gmail.com>
14678
14679 * progmodes/octave.el (octave-font-lock-keywords)
14680 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
14681 (inferior-octave-send-list-and-digest): Improve error message.
14682 (octave-mode, inferior-octave-mode): Use setq-local.
14683 (octave-help): Set info-lookup-mode.
14684
0dc04f42
RS
146852013-05-05 Richard Stallman <rms@gnu.org>
14686
6c54491c
RS
14687 * vc/compare-w.el (compare-windows-whitespace):
14688 Treat no-break space as whitespace.
14689
0dc04f42
RS
14690 * mail/rmailsum.el (rmail-summary-rmail-update):
14691 Detect empty summary and don't change selected message.
14692 (rmail-summary-goto-msg): Likewise.
14693
df8f35df
RS
14694 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
14695 Doc fixes, rename args.
14696
5356e1a3
AM
146972013-05-05 Alan Mackenzie <acm@muc.de>
14698
14699 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
14700
d44014cb
JL
147012013-05-05 Juri Linkov <juri@jurta.org>
14702
14703 * info.el (Info-read-subfile): Use (point-min) instead of (point)
14704 to not add the length of the summary segment to the return value.
14705 (Bug#14125)
14706
c129b51f
LL
147072013-05-05 Leo Liu <sdl.web@gmail.com>
14708
14709 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
14710 (inferior-octave-output-filter): Remove.
14711 (octave-send-region, inferior-octave-startup): Fix callers.
14712 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
14713 (octave-binary-file-extensions): New user variable.
14714 (octave-find-definition): Confirm if opening binary files.
14715 (octave-help-file): Use octave-find-definition to get the binary
14716 confirmation.
14717 (octave-help): Adjust for octave-help-file change.
14718
aa7dab97
SM
147192013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14720
14721 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
14722 Merge the two entries that handle function definitions.
14723 (pascal--syntax-propertize): New const.
14724 (pascal-mode): Use it. Use setq-local.
14725
fd3a9a6b
GM
147262013-05-04 Glenn Morris <rgm@gnu.org>
14727
14728 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
14729 (diary-from-outlook): Respect diary-from-outlook-function.
14730
30c7e542
SM
147312013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14732
14733 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
14734 Move the declaration from C.
14735 (read-minibuffer, eval-minibuffer): Move from C.
14736 (completion-setup-function): Avoid minibuffer-completion-contents.
14737
b54f978b
LL
147382013-05-03 Leo Liu <sdl.web@gmail.com>
14739
14740 * progmodes/octave.el (octave-font-lock-keywords): Do not
14741 dehighlight 'end' in comments or strings.
30c7e542
SM
14742 (octave-completing-read, octave-goto-function-definition):
14743 New helpers.
d4d0f9b3
LL
14744 (octave-help-buffer): New user variable.
14745 (octave-help-file, octave-help-function): New button types.
14746 (octave-help): New command and bind it to C-h ;.
14747 (octave-find-definition): New command and bind it to M-.
d74a1581 14748 (user-error): Alias to error if not defined.
b54f978b 14749
27135018
LL
147502013-05-02 Leo Liu <sdl.web@gmail.com>
14751
14752 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
14753 for \. (bug#14332)
14754 (octave-font-lock-keywords): Include [ and {.
14755
0d634d3a
LL
147562013-05-02 Leo Liu <sdl.web@gmail.com>
14757
14758 * progmodes/octave.el (inferior-octave-startup-file): Change default.
14759 (inferior-octave): Remove calling comint-mode and return the buffer.
14760 (inferior-octave-startup): Cosmetic changes.
14761
b4c8295e
LL
147622013-05-02 Leo Liu <sdl.web@gmail.com>
14763
30c7e542
SM
14764 * progmodes/octave.el (octave-syntax-propertize-function):
14765 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 14766
f12ad6ec
GM
147672013-05-02 Glenn Morris <rgm@gnu.org>
14768
14769 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
14770 * desktop.el (vc-dir-mode): Just autoload it here.
14771
30cac1e0
AM
147722013-05-02 Alan Mackenzie <acm@muc.de>
14773
14774 Eliminate variable c-standard-font-lock-fontify-region-function.
14775 * progmodes/cc-mode.el
14776 (c-standard-font-lock-fontify-region-function): Remove.
14777 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
14778
d8ef28b1
LL
147792013-05-01 Leo Liu <sdl.web@gmail.com>
14780
2640d52e 14781 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 14782 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 14783 variables were removed from Octave in 2007.
d8ef28b1
LL
14784 (inferior-octave-startup): Fix uses.
14785 (comint-line-beginning-position): Remove compatibility code for
14786 emacs 21.
14787
ac63ec89
JL
147882013-05-01 Juri Linkov <juri@jurta.org>
14789
14790 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
14791
9e9be37c
JL
147922013-05-01 Juri Linkov <juri@jurta.org>
14793
14794 * comint.el (comint-previous-matching-input): Don't print message
14795 "History item: %d" when `isearch-mode' is active.
14796 (comint-history-isearch-message): Print message "History item: %d"
14797 when `comint-input-ring-index' is not empty and this function is
14798 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
14799
9b92c13b
LL
148002013-05-01 Leo Liu <sdl.web@gmail.com>
14801
14802 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
14803 definitions. Use completion-at-point to insert keywords.
14804 (octave-abbrev-start): Remove.
14805 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
14806
b12d33d7
LL
148072013-04-30 Leo Liu <sdl.web@gmail.com>
14808
14809 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
14810 change.
14811
3d1c39fa
AM
148122013-04-30 Alan Mackenzie <acm@muc.de>
14813
14814 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
14815 * progmodes/cc-engine.el (c-back-over-member-initializers):
14816 new function.
3d1c39fa
AM
14817 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
14818 (most) member init lists.
14819
5147fc17
RS
148202013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14821
14822 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
14823 variable.
14824
5b78d7fc
LL
148252013-04-30 Leo Liu <sdl.web@gmail.com>
14826
14827 * progmodes/octave.el (octave-variables): Remove. No builtin
14828 variables any more. All converted to functions.
14829 (octave-font-lock-keywords, octave-completion-at-point-function):
14830 Fix uses.
14831 (octave-font-lock-texinfo-comment): New user variable.
14832 (octave-texinfo-font-lock-keywords): New variable for texinfo
14833 comment block.
14834 (octave-function-comment-block): New face.
14835 (octave-font-lock-texinfo-comment): New function.
14836 (octave-mode): Font lock texinfo comment block.
14837
38d8527b
LL
148382013-04-29 Leo Liu <sdl.web@gmail.com>
14839
14840 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
14841 indexing expression.
14842 (octave-continuation-string): Do not use \.
14843 (inferior-octave-complete-impossible): Remove.
14844 (inferior-octave-completion-table)
14845 (inferior-octave-completion-at-point): Remove its uses.
14846 (inferior-octave-startup): completion_matches was introduced to
14847 Octave in 1996 so safe to assume it.
14848 (octave-function-file-comment): Improve to follow how Octave does it.
14849 (octave-update-function-file-comment): Tweak.
14850
2ec12cb0
LL
148512013-04-29 Leo Liu <sdl.web@gmail.com>
14852
14853 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
14854 (inferior-octave-startup): Remove inferior-octave-startup-hook.
14855 (octave-function-file-comment): Fix typo.
14856 (octave-sync-function-file-names): Use read-char-choice.
14857
6eaed048
JB
148582013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
14859
14860 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
14861 to t for the less important warnings.
14862
3ffa2d4f
DH
148632013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
14864
14865 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
14866
685c9501
GM
148672013-04-27 Glenn Morris <rgm@gnu.org>
14868
14869 * vc/log-view.el (log-view-current-entry):
14870 Treat "---" separator lines as part of the following rev. (Bug#14169)
14871
0208ede7
JL
148722013-04-27 Juri Linkov <juri@jurta.org>
14873
14874 * subr.el (read-number): Doc fix about using it by interactive
14875 code letter `n'. (Bug#14254)
14876
5db9dace
JL
148772013-04-27 Juri Linkov <juri@jurta.org>
14878
14879 * desktop.el (desktop-auto-save-timeout): New option.
14880 (desktop-file-checksum): New variable.
14881 (desktop-save): Add optional arg `auto-save' and don't auto-save
14882 if nothing changed.
14883 (desktop-auto-save-timer): New variable.
14884 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
14885 (after-init-hook): Call `desktop-auto-save-set-timer'.
14886 Suggested by Reuben Thomas <rrt@sc3d.org> in
14887 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
14888
b7260dd4
LL
148892013-04-27 Leo Liu <sdl.web@gmail.com>
14890
14891 * progmodes/octave.el (octave-function-file-p)
14892 (octave-skip-comment-forward, octave-function-file-comment)
14893 (octave-update-function-file-comment): New functions.
14894 (octave-mode-map): Bind C-c ; to
14895 octave-update-function-file-comment.
14896 (octave-mode-menu): Add octave-update-function-file-comment.
14897 (octave-mode, inferior-octave-mode): Fix doc-string.
14898 (octave-insert-defun): Conform to Octave's coding convention.
14899 (Bug#14285)
14900
14901 * files.el (basic-save-buffer): Don't let errors in
14902 before-save-hook prevent saving buffer.
14903
c46da669
RW
149042013-04-20 Roland Winkler <winkler@gnu.org>
14905
14906 * faces.el (read-face-name): Use completing-read if arg multiple
14907 is nil.
14908
a81ee1eb
IL
149092013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
14910
14911 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
14912 displayed, move point to after the totals line.
14913 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
14914 for the details.
14915
4fac34ce
SM
149162013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
14917
14918 * emacs-lisp/package.el (package-autoload-ensure-default-file):
14919 Add current dir to the load-path.
14920 (package-generate-autoloads): Don't rely on
14921 autoload-ensure-default-file.
14922
f6bfc063
RT
149232013-04-26 Reuben Thomas <rrt@sc3d.org>
14924
d40ab5cf
BG
14925 * textmodes/remember.el (remember-store-in-files): Document that
14926 the file name format is passed to `format-time-string'.
f6bfc063 14927
e55d3b04
LL
149282013-04-26 Leo Liu <sdl.web@gmail.com>
14929
14930 * progmodes/octave.el (octave-sync-function-file-names): New function.
14931 (octave-mode): Use it in before-save-hook.
14932
e53052d3
SM
149332013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
14934
140ef50c
SM
14935 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
14936 (bug#14274).
14937
e53052d3
SM
14938 * progmodes/octave.el (octave-smie-forward-token): Properly skip
14939 \n and comment, even if it's not an implicit ; (bug#14218).
14940
af80458d 149412013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
14942
14943 * subr.el (read-number): Once more use `read' rather than
14944 `string-to-number', to trap non-numeric input. (Bug#14254)
14945
af80458d 149462013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
14947
14948 * emacs-lisp/syntax.el (syntax-propertize-multiline):
14949 Use `syntax-multiline' text property consistently instead of
8a621d53 14950 `font-lock-multiline'. (Bug#14237)
70203c2e 14951
e6ea1f6c
GM
149522013-04-26 Glenn Morris <rgm@gnu.org>
14953
14954 * emacs-lisp/shadow.el (list-load-path-shadows):
14955 No longer necessary to check for duplicate simple.el, since
14956 2012-07-07 change to init_lread to not include installation lisp
14957 directories in load-path when running uninstalled. (Bug#14270)
14958
070ccca4
LL
149592013-04-26 Leo Liu <sdl.web@gmail.com>
14960
14961 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
14962 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 14963 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
14964 octave-in-string-or-comment-p.
14965 (octave-in-comment-p, octave-in-string-p)
14966 (octave-in-string-or-comment-p): Replace defsubst with defun.
14967
9d1c5fb6
PE
149682013-04-25 Paul Eggert <eggert@cs.ucla.edu>
14969
14970 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
14971
c034abda
BG
149722013-04-25 Bastien Guerry <bzg@gnu.org>
14973
14974 * textmodes/remember.el (remember-data-directory)
14975 (remember-directory-file-name-format): Fix custom types.
14976
584ea277
LL
149772013-04-25 Leo Liu <sdl.web@gmail.com>
14978
e53052d3
SM
14979 * progmodes/octave.el (octave-completion-at-point-function):
14980 Make use of inferior octave process.
584ea277
LL
14981 (octave-initialize-completions): Remove.
14982 (inferior-octave-completion-table): New function.
14983 (inferior-octave-completion-at-point): Use it.
14984 (octave-completion-alist): Remove.
14985
1693b06a
SM
149862013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14987
14988 * progmodes/opascal.el: Use font-lock and syntax-propertize.
14989 (opascal-mode-syntax-table): New var.
14990 (opascal-literal-kind, opascal-is-literal-end)
14991 (opascal-literal-token-at): Rewrite.
14992 (opascal--literal-start-re, opascal-font-lock-keywords)
14993 (opascal--syntax-propertize): New constants.
14994 (opascal-font-lock-defaults): Adjust.
14995 (opascal-mode): Use them. Set comment-<foo> variables as well.
14996 (delphi-comment-face, opascal-comment-face, delphi-string-face)
14997 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
14998 (delphi-other-face, opascal-other-face): Remove face variables.
14999 (opascal-save-state): Remove macro.
15000 (opascal-fontifying-progress-step): Remove constant.
15001 (opascal--ignore-changes): Remove var.
15002 (opascal-set-token-property, opascal-parse-next-literal)
15003 (opascal-is-stable-literal, opascal-complete-literal)
15004 (opascal-is-literal-start, opascal-face-of)
15005 (opascal-parse-region, opascal-parse-region-until-stable)
15006 (opascal-fontify-region, opascal-after-change)
15007 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
15008 (opascal-debug-parse-region, opascal-debug-parse-window)
15009 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
15010 (opascal-debug-fontify-buffer): Remove.
15011 (opascal-debug-mode-map): Adjust accordingly.
15012
be64c05d
LL
150132013-04-25 Leo Liu <sdl.web@gmail.com>
15014
15015 Merge octave-mod.el and octave-inf.el into octave.el with some
15016 cleanups.
15017 * progmodes/octave.el: New file renamed from octave-mod.el.
15018 * progmodes/octave-inf.el: Merged into octave.el.
15019 * progmodes/octave-mod.el: Renamed to octave.el.
15020
d79d37bd
TH
150212013-04-25 Tassilo Horn <tsdh@gnu.org>
15022
15023 * textmodes/reftex-vars.el
15024 (reftex-label-ignored-macros-and-environments): New defcustom.
15025
15026 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
15027
ced3fc5d
SM
150282013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15029
15030 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
15031 (smie-indent-keyword): Improve the check to ensure that the next
15032 comment is really on the same line.
15033 (smie-indent-comment): Don't align with a subsequent closer (or eob).
15034
15035 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
15036 semi-colons if the line is not otherwise empty (bug#14218).
15037
1c141dad
GM
150382013-04-25 Glenn Morris <rgm@gnu.org>
15039
15040 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
15041
5058062a
SM
150422013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15043
15044 * progmodes/opascal.el (opascal-set-token-property): Rename from
15045 opascal-set-text-properties and only set `token' (bug#14134).
15046 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
15047 (opascal-literal-text-properties): Remove.
15048 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
15049 Adjust callers.
15050
5db9dace 150512013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
15052
15053 * textmodes/remember.el (remember-handler-functions): Add an
15054 option for a new handler `remember-store-in-files'.
15055 (remember-data-directory, remember-directory-file-name-format):
15056 New options.
15057 (remember-store-in-files): New function to store remember notes
15058 as separate files within a directory.
15059
4391916c
MH
150602013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
15061
15062 * progmodes/compile.el (compilation-next-error-function):
15063 Pass "formats" to compilation-find-file (bug#11777).
15064
bb7cdf58
GM
150652013-04-24 Glenn Morris <rgm@gnu.org>
15066
3b8fe752 15067 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
15068 * vc/vc-hg.el (vc-hg-print-log):
15069 * vc/vc-svn.el (vc-svn-print-log):
15070 Fix START-REVISION with LIMIT != 1. (Bug#14168)
15071
bb7cdf58
GM
15072 * vc/vc-bzr.el (vc-bzr-print-log):
15073 * vc/vc-cvs.el (vc-cvs-print-log):
15074 * vc/vc-git.el (vc-git-print-log):
15075 * vc/vc-hg.el (vc-hg-print-log):
15076 * vc/vc-mtn.el (vc-mtn-print-log):
15077 * vc/vc-rcs.el (vc-rcs-print-log):
15078 * vc/vc-sccs.el (vc-sccs-print-log):
15079 * vc/vc-svn.el (vc-svn-print-log):
15080 * vc/vc.el (vc-print-log-internal): Doc fixes.
15081
b46a056e
GM
150822013-04-23 Glenn Morris <rgm@gnu.org>
15083
15084 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
15085 Remove venerable code attempting to avoid substitute-command-keys.
15086
0aecf718
TH
150872013-04-23 Tassilo Horn <tsdh@gnu.org>
15088
4391916c
MH
15089 * textmodes/reftex-vars.el (reftex-label-regexps):
15090 Call `reftex-compile-variables' after changes to this variable.
0aecf718 15091
117f94cf
SM
150922013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
15093
4391916c 15094 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
15095 Use lexical-binding.
15096 (jit-lock-force-redisplay): Use markers, check buffer's continued
15097 existence and beware narrowed buffers.
15098 (jit-lock-fontify-now): Adjust call accordingly.
15099
1d829c64
SM
151002013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
15101
15102 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
15103 to avoid misleading the user.
15104
72d548a9
LL
151052013-04-22 Leo Liu <sdl.web@gmail.com>
15106
15107 * info-look.el: Prefer latex2e.info. (Bug#14240)
15108
d0853629
MA
151092013-04-22 Michael Albinus <michael.albinus@gmx.de>
15110
15111 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
15112
15113 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 15114 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
15115 (tramp-set-completion-function, tramp-parse-putty):
15116 * net/tramp-adb.el (tramp-adb-execute-adb-command):
15117 * net/tramp-gvfs.el (tramp-gvfs-send-command):
15118 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
15119 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
15120 (tramp-call-local-coding-command): Use `tramp-call-process'
15121 instead of `tramp-compat-call-process'.
15122
15123 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
15124 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
35e951cd 15125 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
7764286e 15126 (tramp-find-inline-compress): Improve traces.
d0853629
MA
15127 (tramp-maybe-send-script): Check for Perl binary.
15128 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
15129
38cc0210
DU
151302013-04-22 Daiki Ueno <ueno@gnu.org>
15131
15132 * epg.el (epg-context-pinentry-mode): New function.
15133 (epg-context-set-pinentry-mode): New function.
15134 (epg--start): Pass --pinentry-mode option to gpg command.
15135
cc641ee1
XF
151362013-04-21 Xue Fuqiao <xfq.free@gmail.com>
15137
02d844b5 15138 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 15139 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 15140 `completion-at-point'. (Bug#13774)
5d4e5c31 15141
cc641ee1
XF
15142 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
15143 default key binding for `describe-distribution' has been moved to
15144 `C-h C-o'. (Bug#13970)
15145
1b42ee43
GM
151462013-04-21 Glenn Morris <rgm@gnu.org>
15147
15148 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
15149 Add doc strings.
15150 (vc-print-log): Clarify interactive prompt.
15151
a6d63d97
GM
151522013-04-20 Glenn Morris <rgm@gnu.org>
15153
15154 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15155 No longer include timestamp etc information.
15156
d7f5c16f
RW
151572013-04-20 Roland Winkler <winkler@gnu.org>
15158
15159 * faces.el (read-face-name): Bug fix, return just one face if arg
15160 multiple is nil. (Bug#14209)
15161
bcd7a0a4
SM
151622013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15163
15164 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
15165 (remove-function): Autoload.
15166
15167 * comint.el (comint-redirect-original-filter-function): Remove.
15168 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
15169 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
15170 (vc-cvs-annotate-command):
bcd7a0a4
SM
15171 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
15172 * progmodes/prolog.el (prolog-consult-compile):
15173 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
15174 Use add/remove-function instead.
15175 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
15176 (gud-tooltip-process-output, gud-tooltip-tips):
15177 Use add/remove-function instead.
15178 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
15179 (scheme-interaction-mode, exit-scheme-interaction-mode):
15180 Use add/remove-function instead.
15181
15182 * vc/vc-dispatcher.el: Use lexical-binding.
15183 (vc--process-sentinel): Rename from vc-process-sentinel.
15184 Change last arg to be the code to run. Don't use vc-previous-sentinel
15185 and vc-sentinel-commands any more.
15186 (vc-exec-after): Allow code to be a function. Use add/remove-function.
15187 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
15188
e36b2d20 151892013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 15190
bcd7a0a4 15191 * progmodes/sh-script.el (sh-imenu-generic-expression):
27821a89 15192 Handle function names with a single character. (Bug#14111)
4d3268ba 15193
27821a89 151942013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
15195
15196 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
15197 for subroutines defined in an eval (bug#14182).
15198
7d688336
TV
151992013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15200
15201 * bookmark.el (bookmark-completing-read): Improve handling of empty
15202 string (bug#14176).
15203
31dcede0
SM
152042013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15205
15206 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
15207
adc31213
FEG
152082013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
15209
15210 New faster Imenu implementation (bug#14058).
9b017563 15211 * progmodes/python.el (python-imenu-prev-index-position)
adc31213
FEG
15212 (python-imenu-format-item-label-function)
15213 (python-imenu-format-parent-item-label-function)
15214 (python-imenu-format-parent-item-jump-label-function):
15215 New vars.
15216 (python-imenu-format-item-label)
15217 (python-imenu-format-parent-item-label)
15218 (python-imenu-format-parent-item-jump-label)
15219 (python-imenu--put-parent, python-imenu--build-tree)
15220 (python-imenu-create-index, python-imenu-create-flat-index)
15221 (python-util-popn): New functions.
15222 (python-mode): Set imenu-create-index-function to
15223 python-imenu-create-index.
15224
cdca8255
SM
152252013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
15226
15227 * winner.el (winner-active-region): Use region-active-p, activate-mark
15228 and deactivate-mark (bug#14225).
15229
15230 * simple.el (deactivate-mark): Don't inline it.
15231
beb42340
MA
152322013-04-18 Michael Albinus <michael.albinus@gmx.de>
15233
15234 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
15235
fc7f4d7e
TH
152362013-04-18 Tassilo Horn <tsdh@gnu.org>
15237
15238 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
15239 file extensions from the archive-mode entry in order to prefer
15240 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
15241
29f47822
LL
152422013-04-18 Leo Liu <sdl.web@gmail.com>
15243
15244 * bindings.el (help-event-list): Add ?\?.
15245
d36ed1c8
SM
152462013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
15247
15248 * subr.el (with-wrapper-hook): Declare obsolete.
15249 * simple.el (filter-buffer-substring-function): New hook.
15250 (filter-buffer-substring): Use it.
15251 (filter-buffer-substring-functions): Mark obsolete.
15252 * minibuffer.el (completion-in-region-function): New hook.
15253 (completion-in-region): Use it.
15254 (completion-in-region-functions): Mark obsolete.
15255 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
15256 * abbrev.el (abbrev-expand-function): New hook.
15257 (expand-abbrev): Use it.
15258 (abbrev-expand-functions): Mark obsolete.
15259 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
15260 and :filter-return.
15261
04754d36
FEG
152622013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15263
15264 * progmodes/python.el (python-nav--syntactically): Fix cornercases
15265 and do not care about match data.
15266
dd8791e9
SM
152672013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15268
15269 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
15270 completion tables when completing error conditions and
15271 `declare' arguments.
15272 (lisp-complete-symbol, field-complete): Mark as obsolete.
15273 (check-parens): Unmatched parens are user errors.
15274 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
15275
ffe54a13
AM
152762013-04-17 Michal Nazarewicz <mina86@mina86.com>
15277
dd8791e9
SM
15278 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
15279 command changed buffer (ie. `flyspell-pre-buffer' is not current
15280 buffer), which prevents making decisions based on invalid value of
15281 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
15282 cause an error when `flyspell-pre-point' was nil after switching
15283 buffers.
15284 (flyspell-post-command-hook): No longer needs to change buffers when
15285 checking pre-word. While at it remove unnecessary progn.
ffe54a13 15286
ec7e39f2
AM
152872013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
15288
15289 * textmodes/ispell.el (ispell-add-per-file-word-list):
15290 Fix `flyspell-correct-word-before-point' error when accepting
15291 words and `coment-padding' is an integer by using
15292 `comment-normalize-vars' (Bug #14214).
15293
083850a6
FEG
152942013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15295
15296 New defun movement commands.
15297 * progmodes/python.el (python-nav--syntactically)
15298 (python-nav--forward-defun, python-nav-backward-defun)
15299 (python-nav-forward-defun): New functions.
15300
619ed6e1
FEG
153012013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15302
15303 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
15304 (python-syntax-context): Use named compiler-macro for backwards
15305 compatibility with Emacs 24.x.
15306
7a1beb6c
LL
153072013-04-17 Leo Liu <sdl.web@gmail.com>
15308
15309 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
15310 octave-hide-process-buffer.
15311
2d3fa3e5
SM
153122013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15313
15314 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
15315 (bug#14216).
15316
7ce5be54
JPG
153172013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
15318
15319 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
15320 Fix adjustment of offset when receiving incomplete responses from GDB
15321 (bug#14129).
15322
351edece
SM
153232013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15324
15325 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
15326 python-mode-abbrev-table.
15327 (python-skeleton-define): Adjust accordingly.
15328 (python-mode-abbrev-table): New table that inherits from it so that
15329 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
15330
15331 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
15332 (abbrev-symbol): Use it.
15333 (abbrev--before-point): Use it since we already handle inheritance.
15334
613f9481
LL
153352013-04-16 Leo Liu <sdl.web@gmail.com>
15336
15337 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
15338 binding to info-lookup-symbol.
15339
51646b62
JB
153402013-04-16 Juanma Barranquero <lekktu@gmail.com>
15341
15342 * minibuffer.el (completion--twq-all):
15343 * term/ns-win.el (ns-initialize-window-system):
15344 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
15345
efb3f01d
SM
153462013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15347
36c0a301
SM
15348 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
15349 global bindings.
15350
efb3f01d
SM
15351 * doc-view.el (doc-view-start-process): Handle url-handler directories.
15352
fb549d64
DG
153532013-04-15 Dmitry Gutov <dgutov@yandex.ru>
15354
15355 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
15356 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
15357 to nil.
15358 (ruby-end-of-defun): Remove the unused arg, change the docstring
15359 to reflect that this function is only used as the value of
15360 `end-of-defun-function'.
15361 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
15362 to reflect an earlier change that beginning/end-of-defun functions
15363 jump between methods in a class definition, as well as top-level
15364 functions.
15365
21e8fe2f
SM
153662013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15367
15368 * minibuffer.el (minibuffer-complete): Don't just scroll
15369 a *Completions* that's been iconified.
15370 (minibuffer-force-complete): Make sure repetitions do cycle when going
15371 through completion-in-region -> minibuffer-complete.
15372
20e527d0
AM
153732013-04-15 Alan Mackenzie <acm@muc.de>
15374
15375 Correct the placement of c-cpp-delimiters when there're #s not at
15376 col 0.
15377
15378 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
15379 place a submatch around the #.
21e8fe2f
SM
15380 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
15381 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
15382 on the #, not BOL.
15383
dabefae5
SM
153842013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15385
15386 * emacs-lisp/nadvice.el: Properly test names when adding advice.
15387 (advice--member-p): New arg `name'.
15388 (advice--add-function, advice-member-p): Use it (bug#14202).
15389
85c9ab64
AM
153902013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
15391
15392 Reformulate java imenu-generic-expression.
15393 The old expression contained ill formed regexps.
15394
15395 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
15396 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
15397 (cc-imenu-java-method-arg-regexp): New defconsts.
15398 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 15399 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
15400 handling of spaces in the regexp.
15401
0f821d99
AM
154022013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15403
15404 * textmodes/ispell.el (ispell-command-loop): Remove
15405 flyspell highlight of a word when ispell accepts it (bug #14178).
15406
eb922adf
MA
154072013-04-15 Michael Albinus <michael.albinus@gmx.de>
15408
15409 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
15410 uses code from the previous `ange-ftp-run-real-handler'.
15411 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
15412 only in case that function exist. This is needed for proper
15413 unloading of Tramp.
15414
4d9a0979
TH
154152013-04-15 Tassilo Horn <tsdh@gnu.org>
15416
15417 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
15418
15419 * textmodes/reftex.el (reftex-compile-variables): Use it.
15420
a829b0dc
SM
154212013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15422
91e8293c
SM
15423 * files.el (normal-mode): Only use default major-mode if no other mode
15424 was specified.
15425
830aed4d
SM
15426 * emacs-lisp/trace.el (trace-values): New function.
15427
a829b0dc
SM
15428 * files.el: Allow : in local variables (bug#14089).
15429 (hack-local-variable-regexp): New var.
15430 (hack-local-variables-prop-line, hack-local-variables): Use it.
15431
7ae9f0fb
RW
154322013-04-13 Roland Winkler <winkler@gnu.org>
15433
15434 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
15435 data before it gets modified by bibtex-beginning-of-entry.
15436
6646e848
RW
154372013-04-13 Roland Winkler <winkler@gnu.org>
15438
15439 * textmodes/bibtex.el (bibtex-url): Doc fix.
15440
154412013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
15442
15443 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
15444 does not visit a BibTeX file, exclude it from the list of buffers
15445 returned by bibtex-initialize.
15446
0aa3616e
SB
154472013-04-13 Stephen Berman <stephen.berman@gmx.net>
15448
15449 * window.el (split-window): Remove interactive form, since as a
15450 command this function is a special case of split-window-below.
15451 Correct doc string.
15452
011cddd6
RW
154532013-04-12 Roland Winkler <winkler@gnu.org>
15454
15455 * faces.el (read-face-name): Do not override value of arg default.
15456 Allow single faces and strings as default values. Remove those
15457 elements from return value that are not faces.
15458 (describe-face): Simplify.
15459 (face-at-point): New optional args thing and multiple so that this
15460 function can provide the same functionality previously provided by
15461 read-face-name.
15462 (make-face-bold, make-face-unbold, make-face-italic)
15463 (make-face-unitalic, make-face-bold-italic, invert-face)
15464 (modify-face, read-face-and-attribute): Use face-at-point.
15465
15466 * cus-edit.el (customize-face, customize-face-other-window)
15467 * cus-theme.el (custom-theme-add-face)
15468 * face-remap.el (buffer-face-set)
15469 * facemenu.el (facemenu-set-face): Use face-at-point.
15470
f24e0036
MA
154712013-04-12 Michael Albinus <michael.albinus@gmx.de>
15472
15473 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
15474
da3cda2d
TH
154752013-04-10 Tassilo Horn <tsdh@gnu.org>
15476
15477 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
15478 off leading { and trailing } from field values.
15479
15e54145
SM
154802013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
15481
78ce603d
SM
15482 * emacs-lisp/timer.el (timer--check): New function.
15483 (timer--time, timer-set-function, timer-event-handler): Use it.
15484 (timer-set-idle-time): Simplify.
15485 (timer--activate): CSE.
15486 (timer-event-handler): Give more info in error message.
15487 (internal-timer-start-idle): New function, moved from C.
15488
15e54145
SM
15489 * mpc.el (mpc-proc): Add `restart' argument.
15490 (mpc-proc-cmd): Use it.
15491 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
15492 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
15493 less often.
15494
7144c627
MY
154952013-04-10 Masatake YAMATO <yamato@redhat.com>
15496
15497 * progmodes/sh-script.el: Implement `sh-mode' own
15498 `add-log-current-defun-function' (bug#14112).
15499 (sh-current-defun-name): New function.
15500 (sh-mode): Use the function.
15501
b39792eb
BG
155022013-04-09 Bastien Guerry <bzg@gnu.org>
15503
15504 * simple.el (choose-completion-string): Fix docstring (bug#14163).
15505
8acdeb71
SM
155062013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
15507
6fcdab68
SM
15508 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
15509
8acdeb71
SM
15510 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
15511 timer (bug#14156).
15512
e3e7b504
NF
155132013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
15514
15515 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
15516 declaration.
15517
201bb296
LL
155182013-04-07 Leo Liu <sdl.web@gmail.com>
15519
15520 * pcmpl-x.el: New file.
15521
ebb19708
DA
155222013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
15523
15524 Do not set x-display-name until X connection is established.
15525 This is needed to prevent from weird situation described at
15526 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
15527 * frame.el (make-frame): Set x-display-name after call to
15528 window system initialization function, not before.
15529 * term/x-win.el (x-initialize-window-system): Add optional
15530 display argument and use it.
15531 * term/w32-win.el (w32-initialize-window-system):
15532 * term/ns-win.el (ns-initialize-window-system):
15533 * term/pc-win.el (msdos-initialize-window-system):
15534 Add compatible optional display argument.
15535
33bb237a
EZ
155362013-04-06 Eli Zaretskii <eliz@gnu.org>
15537
15538 * files.el (normal-backup-enable-predicate): On MS-Windows and
15539 MS-DOS compare truenames of temporary-file-directory and of the
15540 file, so that 8+3 aliases (usually found in $TEMP on Windows)
15541 don't fail comparison by compare-strings. Also, compare file
15542 names case-insensitively on MS-Windows and MS-DOS.
15543
134abf1f
SM
155442013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15545
15546 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
15547 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
15548
d695cb94
DG
155492013-04-05 Dmitry Gutov <dgutov@yandex.ru>
15550
e3e7b504
NF
15551 * whitespace.el (whitespace-color-on, whitespace-color-off):
15552 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 15553
f4ad7ea1 155542013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
15555
15556 * ispell.el (ispell-set-spellchecker-params):
15557 Really set `ispell-args' for all equivs.
15558
632556e4
SM
155592013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15560
15561 * ido.el (ido-completions): Use extra elements of ido-decorations
15562 (bug#14143).
15563 (ido-decorations): Update docstring.
15564
2a417372
MA
155652013-04-05 Michael Albinus <michael.albinus@gmx.de>
15566
15567 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
15568 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
15569 nil during initialization, in order not to miss changes since the
15570 file was opened. (Bug#14140)
15571
fc164b0c
LL
155722013-04-05 Leo Liu <sdl.web@gmail.com>
15573
15574 * kmacro.el (kmacro-call-macro): Fix bug#14135.
15575
0ccecc08
JB
155762013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
15577
15578 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
15579
51af1aa2
GM
155802013-04-04 Glenn Morris <rgm@gnu.org>
15581
15582 * electric.el (electric-pair-inhibit-predicate): Add :version.
15583
b208ebc6
SM
155842013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15585
15586 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
15587 when a package is required several times (bug#14082).
15588
f3d3eaf0
RW
155892013-04-04 Roland Winkler <winkler@gnu.org>
15590
15591 * faces.el (read-face-name): Behave as promised by the docstring.
15592 Assume that arg default is a list of faces.
15593 (describe-face): Call read-face-name with list of default faces.
15594
2575da50
TV
155952013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15596
15597 * bookmark.el: Fix deletion of bookmarks (bug#13972).
15598 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
15599 (bookmark-bmenu-execute-deletions): Only skip first line if it's
15600 the header.
15601 (bookmark-exit-hook-internal): Save even if list is empty.
15602
397703b4
YH
156032013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
15604
15605 * emacs-lisp/package.el (package-pinned-packages): New var.
15606 (package--add-to-archive-contents): Obey it (bug#14118).
15607
691e26ae
AM
156082013-04-03 Alan Mackenzie <acm@muc.de>
15609
8a621d53
JB
15610 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
15611 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
15612
15613 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
15614 parameter `not-in-delimiter'. Handle being inside comment opener.
15615 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
15616 character in case we're typing a '*' after a '/'.
15617 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
15618 instead by passing the parameter to c-state-pp-to-literal.
15619
15620 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
15621 for elt. 7 of a parse state.
15622
4b725a70
PE
156232013-04-01 Paul Eggert <eggert@cs.ucla.edu>
15624
15625 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
15626 * international/latin1-disp.el, international/mule-util.el:
15627 * language/cyril-util.el, language/european.el, language/ind-util.el:
15628 * language/lao-util.el, language/thai.el, language/tibet-util.el:
15629 * language/tibetan.el, language/viet-util.el:
15630 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
15631
15c579f0
SM
156322013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
15633
15634 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
15635 (electric-pair-post-self-insert-function): Use it.
15636 (electric-pair-default-inhibit): New function, extracted from
15637 electric-pair-post-self-insert-function.
15638
a77e2924
RW
156392013-03-31 Roland Winkler <winkler@gnu.org>
15640
15641 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
15642
2bd8a4a8
SM
156432013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
15644
15645 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
15646
8d3655be 156472013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
15648
15649 Un-indent after "pass" and "return" statements (Bug#13888)
15650 * progmodes/python.el (python-indent-block-enders): New var.
15651 (python-indent-calculate-indentation): Use it.
15652
8d3655be 156532013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
15654
15655 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
15656 defun. Defining it as defalias could introduce too eager
15657 byte-compiler optimization. (Bug#14030)
15658
8d3655be 156592013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
15660
15661 * iswitchb.el (iswitchb-read-buffer): Fix typo.
15662
0b1619da
LL
156632013-03-30 Leo Liu <sdl.web@gmail.com>
15664
15665 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
15666 (kmacro-execute-from-register): Pass the keyboard macro to
15667 kmacro-call-macro or repeating won't work correctly.
15668
0b938190
TZ
156692013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
15670
15671 * progmodes/subword.el: Back to using `forward-symbol'.
15672
15673 * subr.el (forward-whitespace, forward-symbol)
15674 (forward-same-syntax): Move from thingatpt.el.
15675
35710234
LL
156762013-03-29 Leo Liu <sdl.web@gmail.com>
15677
15678 * kmacro.el (kmacro-to-register): New command.
15679 (kmacro-execute-from-register): New function.
15680 (kmacro-keymap): Bind to 'x'. (Bug#14071)
15681
efc0bb73
SM
156822013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
15683
15684 * mpc.el: Use defvar-local and setq-local.
15685 (mpc--proc-connect): Connection failures are not bugs.
15686 (mpc-mode-map): `follow-link' only applies to the buffer's content.
15687 (mpc-volume-map): Bind to the up-events.
15688
75a2f981
TZ
156892013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
15690
15691 * progmodes/subword.el (superword-mode): Use `forward-sexp'
15692 instead of `forward-symbol'.
15693
17c781d1
SM
156942013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
15695
15696 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
15697 (edebug--recursive-edit): Use it.
15698 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
15699 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
15700
f67bfbcf
LL
157012013-03-28 Leo Liu <sdl.web@gmail.com>
15702
15703 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
15704
b59f639d
EZ
157052013-03-27 Eli Zaretskii <eliz@gnu.org>
15706
15707 * facemenu.el (list-colors-callback): New defvar.
15708 (list-colors-redisplay): New function.
15709 (list-colors-display): Install list-colors-redisplay as the
15710 revert-buffer-function. (Bug#14063)
15711
f557c1b1
SM
157122013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
15713
b1da2957
SM
15714 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
15715 and suffixes don't overlap (bug#14061).
15716
f557c1b1
SM
15717 * case-table.el: Use lexical-binding.
15718 (case-table-get-table): New function.
15719 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
15720
002668e1
TZ
157212013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
15722
15723 * progmodes/subword.el: Add `superword-mode' to do word motion
15724 over symbol_words (parallels and leverages `subword-mode' which
15725 does word motion inside MixedCaseWords).
15726
73572c72
AG
157272013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
15728
78b8f320 15729 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 15730 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 15731
69b2c07e
SM
157322013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15733
15734 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
15735 Change return value to be a sexp. Delay `get-buffer' to after
15736 restoring the desktop (bug#13951).
15737
08bb5ee2
LL
157382013-03-26 Leo Liu <sdl.web@gmail.com>
15739
15740 * register.el: Move semantic tag handling back to
15741 cedet/semantic/senator.el. (Bug#14052)
15742
8d4c974e
SM
157432013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15744
15745 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
15746 into the prompt either (bug#13963).
15747
b234d92c
SM
157482013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
15749
15750 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
15751 part of "(error-foo)".
15752
ddfa3cb4
JL
157532013-03-24 Juri Linkov <juri@jurta.org>
15754
15755 * replace.el (list-matching-lines-prefix-face): New defcustom.
15756 (occur-1): Pass `list-matching-lines-prefix-face' to the function
15757 `occur-engine' if `face-differs-from-default-p' returns t.
15758 (occur-engine): Add `,' inside backquote construct to evaluate
15759 `prefix-face'. Propertize the prefix with the `prefix-face' face.
15760 Pass `prefix-face' to the functions `occur-context-lines' and
15761 `occur-engine-add-prefix'.
15762 (occur-engine-add-prefix, occur-context-lines): Add optional arg
15763 `prefix-face' and propertize the prefix with `prefix-face'.
15764 (Bug#14017)
15765
7b0e2f85
LL
157662013-03-24 Leo Liu <sdl.web@gmail.com>
15767
15768 * nxml/rng-valid.el (rng-validate-while-idle)
15769 (rng-validate-quick-while-idle): Guard against deleted buffer.
15770 (Bug#13999)
15771
15772 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
15773 is the last entry in kill-buffer-hook.
15774
15775 * files.el (kill-buffer-hook): Doc fix.
15776
b3082f49
DG
157772013-03-23 Dmitry Gutov <dgutov@yandex.ru>
15778
b234d92c
SM
15779 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
15780 Make it safe-local.
bde73d27 15781
b3082f49
DG
15782 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
15783
a320a2db
LL
157842013-03-23 Leo Liu <sdl.web@gmail.com>
15785
7e74b0fb
LL
15786 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
15787 Remove.
15788
15789 * nxml/rng-valid.el (rng-validate-mode)
15790 (rng-after-change-function, rng-do-some-validation):
15791 * nxml/rng-maint.el (rng-validate-buffer):
15792 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
15793 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
15794 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
15795 (nxml-extend-after-change-region): Use with-silent-modifications.
15796
a320a2db
LL
15797 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
15798 timer-idle-list.
15799
15800 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
15801 (rng-next-error-1, rng-previous-error-1): Do not let-bind
15802 timer-idle-list. (Bug#13999)
15803
e38e6780
JL
158042013-03-23 Juri Linkov <juri@jurta.org>
15805
15806 * info.el (info-index-match): New face.
15807 (Info-index, Info-apropos-matches): Add a nested subgroup to the
15808 main pattern and add text properties with the new face to matches
15809 in index entries relative to the beginning of the index entry.
15810 (Bug#14015)
15811
e8cc7880
DE
158122013-03-21 Eric Ludlam <zappo@gnu.org>
15813
39c87140 15814 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
e8cc7880
DE
15815 Inhibit read only while inserting objects.
15816
9bb0d822
TZ
158172013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
15818
15819 * progmodes/cfengine.el: Update docs to mention
15820 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
15821 symbol motion. Remove "_" from the word syntax.
15822
aa703640
TZ
158232013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
15824
15825 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
15826 syntax for both `cfengine2-mode' and `cfengine3-mode'.
15827
afff09d0
JL
158282013-03-20 Juri Linkov <juri@jurta.org>
15829
15830 * info.el (Info-next-reference-or-link)
15831 (Info-prev-reference-or-link): New functions.
15832 (Info-next-reference, Info-prev-reference): Use them.
15833 (Info-try-follow-nearest-node): Handle footnote navigation.
15834 (Info-fontify-node): Fontify footnotes. (Bug#13989)
15835
9a1ff164
SM
158362013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
15837
15838 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
15839 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
15840
2667d15d
PE
158412013-03-20 Paul Eggert <eggert@cs.ucla.edu>
15842
15843 Suppress unnecessary non-ASCII chatter during build process.
15844 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
15845 (batch-skkdic-convert): Suppress most of the chatter.
15846 It's not needed so much now that machines are faster,
15847 and its non-ASCII component was confusing; see Dmitry Gutov in
15848 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
15849
438b0579
LL
158502013-03-20 Leo Liu <sdl.web@gmail.com>
15851
15852 * ido.el (ido-chop): Fix bug#10994.
15853
c128ab07
DG
158542013-03-19 Dmitry Gutov <dgutov@yandex.ru>
15855
15856 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
15857 Remove vars.
9a1ff164
SM
15858 (whitespace-color-on, whitespace-color-off):
15859 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 15860
0e6008c5
SM
158612013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
15862
15863 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
15864 remapping in mode-line.
15865 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
15866
627b52b0
DG
158672013-03-19 Dmitry Gutov <dgutov@yandex.ru>
15868
15869 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
15870 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
15871 (whitespace-font-lock-keywords): Change description.
15872 (whitespace-color-on): Don't save `font-lock-keywords' value, save
15873 the constructed keywords instead.
15874 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 15875
50c3a20b
LL
158762013-03-19 Leo Liu <sdl.web@gmail.com>
15877
15878 * progmodes/compile.el (compilation-display-error): New command.
15879 (compilation-mode-map, compilation-minor-mode-map): Bind it to
15880 C-o. (Bug#13992)
15881
2aa2157b
PE
158822013-03-18 Paul Eggert <eggert@cs.ucla.edu>
15883
15884 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
15885
e477dbfa
JD
158862013-03-18 Jan Djärv <jan.h.d@swipnet.se>
15887
15888 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
15889
64ab82d1
MA
158902013-03-18 Michael Albinus <michael.albinus@gmx.de>
15891
15892 * net/tramp-compat.el (tramp-compat-user-error): New defun.
15893
15894 * net/tramp-adb.el (tramp-adb-handle-shell-command):
15895 * net/tramp-gvfs.el (top):
15896 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
15897 (tramp-handle-shell-command): Use it.
15898 (tramp-dissect-file-name): Raise an error when hostname is a
15899 method name, and neither method nor user is specified.
15900
15901 * net/trampver.el: Update release number.
15902
33cef733
LL
159032013-03-18 Leo Liu <sdl.web@gmail.com>
15904
15905 Make sure eldoc can be turned off properly.
15906 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
15907 eldoc-mode.
15908 (eldoc-display-message-p): Revert last change.
15909 (eldoc-display-message-no-interference-p)
15910 (eldoc-print-current-symbol-info): Tweak.
15911
2167b7b2
TH
159122013-03-18 Tassilo Horn <tsdh@gnu.org>
15913
15914 * doc-view.el (doc-view-new-window-function): Check the new window
15915 overlay's display property instead the char property of the
15916 buffer's first char. Use `with-selected-window' instead of
15917 `save-window-excursion' with `select-window'.
15918 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 15919 display property instead the char property of the buffer's first char.
2167b7b2 15920
982efbcd
PE
159212013-03-18 Paul Eggert <eggert@cs.ucla.edu>
15922
15923 Automate the build of ja-dic.el (Bug#13984).
15924 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
15925 from the input, rather than assume that it's been done for us by the
15926 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
15927 the current date into a ja-dic.el comment, as that complicates
15928 regression testing.
15929
2fcc7665
SM
159302013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
15931
15932 * whitespace.el: Fix double evaluation.
15933 (whitespace-space, whitespace-hspace, whitespace-tab)
15934 (whitespace-newline, whitespace-trailing, whitespace-line)
15935 (whitespace-space-before-tab, whitespace-indentation)
15936 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
15937 obsolete defvars.
15938 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
15939 (whitespace-color-on): Use a single font-lock-add-keywords call.
15940 Fix double-evaluation of face variables.
15941
67c0a6e6
MA
159422013-03-17 Michael Albinus <michael.albinus@gmx.de>
15943
2fcc7665
SM
15944 * net/tramp-adb.el (tramp-adb-parse-device-names):
15945 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 15946 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 15947
69489f1d
LL
159482013-03-17 Leo Liu <sdl.web@gmail.com>
15949
15950 Extend eldoc to display info in the mode-line. (Bug#13978)
15951 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
15952 (eldoc-mode-line-string): New variable.
15953 (eldoc-minibuffer-message): New function.
15954 (eldoc-message-function): New variable.
15955 (eldoc-message): Use it.
15956 (eldoc-display-message-p)
2fcc7665
SM
15957 (eldoc-display-message-no-interference-p):
15958 Support eldoc-post-insert-mode.
69489f1d
LL
15959
15960 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
15961 (eval-expression): Run it.
15962
9c44569e
RW
159632013-03-17 Roland Winkler <winkler@gnu.org>
15964
15965 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
15966 strings in the list of return values.
15967
327f1f6f
JB
159682013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
15969
15970 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
15971 radix before checking for HMS forms.
15972
67ed8fcd
LL
159732013-03-16 Leo Liu <sdl.web@gmail.com>
15974
15975 * progmodes/scheme.el: Add indentation and font-locking for λ.
15976 (Bug#13975)
15977
78be8b64 159782013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
15979
15980 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
15981 token before point (bug#13942).
15982
78be8b64 159832013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 15984
95b43468 15985 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 15986
98e775e6
EZ
159872013-03-16 Eli Zaretskii <eliz@gnu.org>
15988
15989 * startup.el (command-line-normalize-file-name): Fix handling of
15990 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
15991 <xfq.free@gmail.com> in
15992 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
15993
2edd6029
MA
159942013-03-15 Michael Albinus <michael.albinus@gmx.de>
15995
15996 Sync with Tramp 2.2.7.
15997
15998 * net/trampver.el: Update release number.
15999
d35f5864
TH
160002013-03-14 Tassilo Horn <tsdh@gnu.org>
16001
e903c210 16002 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
16003 (doc-view-insert-image): Don't modify overlay associated to
16004 non-live windows, and implement horizontal centering of image in
16005 case it's smaller than the window.
16006 (doc-view-new-window-function): Force redisplay of new windows on
16007 doc-view buffers.
d35f5864 16008
1c4a85ed
KF
160092013-03-13 Karl Fogel <kfogel@red-bean.com>
16010
16011 * saveplace.el (save-place-alist-to-file): Don't sort
16012 `save-place-alist', just pretty-print it (bug#13882).
16013
85b66a21
MA
160142013-03-13 Michael Albinus <michael.albinus@gmx.de>
16015
a020afb9
JB
16016 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
16017 Check whether `default-file-name-coding-system' is bound.
16018 It isn't in XEmacs.
85b66a21 16019
175600da
SM
160202013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
16021
e7f7cb1a
SM
16022 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
16023 backquotes for `obsolete' (bug#13929).
16024
175600da
SM
16025 * international/mule.el (find-auto-coding): Include file name in
16026 obsolescence warning (bug#13922).
16027
ca68a22e
TZ
160282013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
16029
16030 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
16031 for CFEngine 3-specific indentation.
16032 (cfengine3-indent-line): Use it. Fix up category regex.
16033 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
16034
940e5099
SM
160352013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16036
16037 * type-break.el (type-break-file-name):
16038 * textmodes/remember.el (remember-data-file):
16039 * strokes.el (strokes-file):
16040 * shadowfile.el (shadow-initialize):
16041 * saveplace.el (save-place-file):
16042 * ps-bdf.el (bdf-cache-file):
16043 * progmodes/idlwave.el (idlwave-config-directory):
16044 * net/quickurl.el (quickurl-url-file):
16045 * international/kkc.el (kkc-init-file-name):
16046 * ido.el (ido-save-directory-list-file):
16047 * emulation/viper.el (viper-custom-file-name):
16048 * emulation/vip.el (vip-startup-file):
16049 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
16050 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
16051
cc725808
PE
160522013-03-12 Paul Eggert <eggert@cs.ucla.edu>
16053
16054 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
16055 * language/thai-word.el: Switch to UTF-8.
16056
a020afb9 16057See ChangeLog.16 for earlier changes.
e3d51b27
MR
16058
16059;; Local Variables:
16060;; coding: utf-8
e3d51b27
MR
16061;; End:
16062
ba318903 16063 Copyright (C) 2011-2014 Free Software Foundation, Inc.
e3d51b27
MR
16064
16065 This file is part of GNU Emacs.
16066
16067 GNU Emacs is free software: you can redistribute it and/or modify
16068 it under the terms of the GNU General Public License as published by
16069 the Free Software Foundation, either version 3 of the License, or
16070 (at your option) any later version.
16071
16072 GNU Emacs is distributed in the hope that it will be useful,
16073 but WITHOUT ANY WARRANTY; without even the implied warranty of
16074 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16075 GNU General Public License for more details.
16076
16077 You should have received a copy of the GNU General Public License
16078 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.