* dbusbind.c (xd_signature): Revert last 2 patches.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
427de535
LL
12014-05-19 Leo Liu <sdl.web@gmail.com>
2
3 * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
4
3c8d9107
GM
52014-05-18 Glenn Morris <rgm@gnu.org>
6
7 * loadup.el:
8 * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
9
b8e11d41
SS
102014-05-14 Sam Steingold <sds@gnu.org>
11
12 * progmodes/python.el (python-shell-get-or-create-process):
13 Do not bind `current-prefix-arg' so that C-c C-z does not talk
14 back unless requested.
15
abad7b05
GM
162014-05-14 Glenn Morris <rgm@gnu.org>
17
d63d883a
GM
18 * subr.el (with-file-modes): New macro.
19 * printing.el (pr-save-file-modes): Make obsolete.
20 * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
21 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
22 Add with-file-modes.
23 * doc-view.el (doc-view-make-safe-dir):
24 * epg.el (epg--start):
25 * files.el (locate-user-emacs-file, make-temp-file)
26 (backup-buffer-copy, move-file-to-trash):
27 * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
28 * eshell/esh-util.el (eshell-with-private-file-modes)
29 (eshell-make-private-directory):
30 * net/browse-url.el (browse-url-mosaic):
31 * obsolete/mailpost.el (post-mail-send-it):
32 * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
33 * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
34 Use with-file-modes.
35
abad7b05
GM
36 * vc/emerge.el (emerge-make-temp-file): Simplify.
37
34cba8e8
SB
382014-05-14 Stephen Berman <stephen.berman@gmx.net>
39 Stefan Monnier <monnier@iro.umontreal.ca>
40
41 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
42 suffix (bug#15419).
43
a5d09243
GM
442014-05-14 Glenn Morris <rgm@gnu.org>
45
46 * vc/emerge.el (emerge-temp-file-prefix):
47 Make pointless option obsolete.
48 (emerge-temp-file-mode): Make non-functional option obsolete.
49
f4da4720 502014-05-14 Michael Albinus <michael.albinus@gmx.de>
e95b937a
MA
51
52 * net/browse-url.el (browse-url):
53 Use `unhandled-file-name-directory' when setting `default-directory',
54 in order to circumvent stalled remote connections. (Bug#17425)
55
f0036ec2
GM
562014-05-14 Glenn Morris <rgm@gnu.org>
57
58 * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
59 Optimize on Emacs, which has the relevant functions for ages.
60
27a69ff0
SM
612014-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
62
63 * simple.el (undo-make-selective-list): Obey undo-no-redo.
64
ecaf7f4d
SS
652014-05-12 Sam Steingold <sds@gnu.org>
66
67 * calendar/time-date.el (seconds-to-string): New function to
68 pretty print time delay in seconds.
69
97100b43
SM
702014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
71
400e8286
SM
72 * mpc.el (mpc-format): Trim Date to the year.
73 (mpc-songs-hashcons): Shorten the Date field.
74
97100b43
SM
75 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
76 into autoloading just because of a silly indirection.
77
bbbabffe 782014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com> (tiny change)
0add0959
SPM
79
80 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
81
bbbabffe 822014-05-12 Glenn Morris <rgm@gnu.org>
e7caef59
GM
83
84 * emacs-lisp/find-gc.el: Move to ../admin.
85
6b45ef35
GM
86 * printing.el (pr-version):
87 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
88
8c6699ab
GM
89 * net/browse-url.el (browse-url-mosaic):
90 Create /tmp/Mosaic.PID as a private file.
91
bbbabffe 922014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
5d03fb43
SM
93
94 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
95 (advice--member-p): If name is given, only compare the name.
96 (advice--remove-function): Don't stop at the first match.
97 (advice--normalize-place): New function.
98 (add-function, remove-function): Use it.
99 (advice--add-function): Pass the name, if any, to
100 advice--remove-function.
101
bbbabffe 1022014-05-12 Philipp Rumpf <prumpf@gmail.com> (tiny change)
3ebdceaf
PR
103
104 * electric.el (electric-indent-post-self-insert-function): Don't use
105 `pos' after modifying the buffer (bug#17449).
106
bbbabffe 1072014-05-12 Stephen Berman <stephen.berman@gmx.net>
472c15bf
SB
108
109 * calendar/todo-mode.el (todo-insert-item-from-calendar):
110 Correct argument list to conform to todo-insert-item--basic.
111
bbbabffe 1122014-05-12 Glenn Morris <rgm@gnu.org>
bb1f4b8f 113
2651ed05
GM
114 * files.el (cd-absolute): Test if directory is accessible
115 rather than executable. (Bug#17330)
116
bb1f4b8f
GM
117 * progmodes/compile.el (recompile):
118 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
119
4049faae
GM
120 * net/browse-url.el (browse-url-mosaic):
121 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
122 This is CVE-2014-3423.
123
4eb43682
SM
1242014-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
125
fbd5cc6c
SM
126 * mouse.el: Use the normal toplevel loop while dragging.
127 (mouse-set-point): Handle multi-clicks.
128 (mouse-set-region): Handle multi-clicks for drags.
129 (mouse-drag-region): Update call accordingly.
130 (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
131 Use the normal event loop instead of a local while/read-event loop.
132 (global-map): Remove redundant bindings for double/triple-mouse-1.
133 * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
134 Generate synthetic down events when the protocol only sends up events.
135 (xterm-mouse-last): Remove.
136 (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
137 terminal parameter instead.
138 (xterm-mouse--set-click-count): New function.
139 (xterm-mouse-event): Detect/generate double/triple clicks.
140 * reveal.el (reveal-close-old-overlays): Don't close while dragging.
141
80a78d23
SM
142 * info.el (Info-quoted): New face.
143 (Info-mode-font-lock-keywords): New var.
144 (Info-mode): Use it.
145
4eb43682
SM
146 * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
147 are a hindrance for C-x C-e.
148
2f9b4cfc
LL
1492014-05-11 Leo Liu <sdl.web@gmail.com>
150
151 * net/rcirc.el (rcirc-sentinel): Fix last change.
152
f36f0bca
SS
1532014-05-08 Sam Steingold <sds@gnu.org>
154
155 * net/rcirc.el (rcirc-reconnect-delay): New user option.
156 (rcirc-sentinel): Auto-reconnect to the server if
157 `rcirc-reconnect-delay' is non-0 (but not more often than its
158 value in case the host is off-line).
159
b722ea4e
EZ
1602014-05-09 Eli Zaretskii <eliz@gnu.org>
161
162 * progmodes/grep.el (lgrep): Fix a typo in last commit.
163
1d75432d
GM
1642014-05-09 Glenn Morris <rgm@gnu.org>
165
166 * files.el (file-expand-wildcards):
167 * man.el (Man-support-local-filenames):
168 * printing.el (pr-i-directory, pr-interface-directory):
169 * progmodes/grep.el (lgrep, rgrep):
170 * textmodes/ispell.el (ispell-call-process)
171 (ispell-call-process-region, ispell-start-process)
172 (ispell-init-process): Use file-accessible-directory-p.
173
b406487f
SM
1742014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
175
176 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
177 (xterm-mouse--read-event-sequence-1000): Return nil if something
178 looks fishy.
179 (xterm-mouse-event): Propagate it.
180 (xterm-mouse-translate-1): Handle it.
181
fb3f83f5 1822014-05-08 Stephen Berman <stephen.berman@gmx.net>
1ddb2150
SB
183
184 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
185 four slots of the parameter list are filled, make sure to pass it
186 to the argument list of todo-insert-item--basic.
187
fb3f83f5 1882014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5e87fcb1
SM
189
190 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
191 Add optional `seen' argument to detect and break infinite loops.
192
fb3f83f5 1932014-05-08 Eli Zaretskii <eliz@gnu.org>
c5d670f5
EZ
194
195 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
196 (trace-unsafe, trace-use-tree): Make parentheses style be
197 according to Emacs style.
198
fb3f83f5 1992014-05-08 Michael Albinus <michael.albinus@gmx.de>
3e59ead1 200
5e87fcb1
SM
201 * net/tramp-sh.el (tramp-remote-process-environment):
202 Remove HISTFILE and HISTSIZE; it's too late to set them here.
203 Add :version entry.
204 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
205 Add "HISTSIZE=/dev/null" to the shell's env arguments. Do not send
3e59ead1
MA
206 extra "PSx=..." commands.
207 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
208 (Bug#17295)
209
23e19cf2
MA
210 (tramp-uudecode): Replace the hard-coded temporary file name by a
211 format specifier.
212 (tramp-remote-coding-commands): Enhance docstring.
213 (tramp-find-inline-encoding): Replace "%t" by a temporary file
214 name. (Bug#17415)
a9fd3545 215 This is CVE-2014-3424.
23e19cf2 216
fb3f83f5 2172014-05-08 Glenn Morris <rgm@gnu.org>
0c4decae
GM
218
219 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
220 (find-gc-source-files): Update some names.
221 (trace-call-tree): Simplify and update.
222 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
a9fd3545 223 This is CVE-2014-3422.
0c4decae 224
fb3f83f5 2252014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
c22f24f6 226
bf67c3f7
SM
227 * minibuffer.el (completion--try-word-completion): Revert fix for
228 Bug#15980 (bug#17375).
229
c22f24f6
SM
230 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
231 Always store button numbers in the same way in xterm-mouse-last;
232 Don't burp is xterm-mouse-last is not set as expected.
233 Never return negative indices.
234
fb3f83f5 2352014-05-08 Dmitry Gutov <dgutov@yandex.ru>
4dd3c4d5
DG
236
237 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
238 Backtrack one char if the global/char-literal var matcher hits
239 inside a string. The next char could be the beginning of an
240 expression expansion.
241
fb3f83f5 2422014-05-08 Glenn Morris <rgm@gnu.org>
6da8d069
GM
243
244 * help-fns.el (describe-function-1): Test for an autoload before a
245 macro, since `macrop' works on autoloads. (Bug#17410)
246
fb3f83f5 2472014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
dccb0688 248
e6025d72
SM
249 * electric.el (electric-indent-functions-without-reindent): Add yaml.
250
dccb0688
SM
251 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
252 Make sure the new point we return is within the new string (bug#17239).
253
049534ad
DC
2542014-05-05 Daniel Colascione <dancol@dancol.org>
255
256 * progmodes/compile.el (compilation-error-regexp-alist-alist):
257 Port `gnu' pattern to rx.
258
80e377c0
JC
2592014-05-05 Jarek Czekalski <jarekczek@poczta.onet.pl>
260
261 Remove unneeded prompt when closing a buffer with active
262 emacsclient ("Buffer ... still has clients"), #16548.
263 * server.el (server-start): Remove the only call to:
264 (server-kill-buffer-query-function): Remove.
265
f930a063
LL
2662014-05-04 Leo Liu <sdl.web@gmail.com>
267
268 * calendar/diary-lib.el (calendar-chinese-month-name-array):
269 Defvar to pacify compiler.
270
3e9fa60a 2712014-05-04 Eli Zaretskii <eliz@gnu.org>
74a9022a
EZ
272
273 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
274
3e9fa60a 2752014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
e6cf6ca0
SM
276
277 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
278 Use nil rather than `default' for the "default" appearance (bug#17388).
279 * vc/ediff-util.el (ediff-inferior-compare-regions)
280 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
281 a misleading `default' value when it's really a boolean.
282 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
283 overlay is not visible.
284
3e9fa60a 2852014-05-04 Stephen Berman <stephen.berman@gmx.net>
7bd9ce64
SB
286
287 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
288 (todo-menu): Uncomment and update.
289
3e9fa60a 2902014-05-04 Stephen Berman <stephen.berman@gmx.net>
aed4b12d
SB
291
292 * calendar/todo-mode.el: Reimplement item editing to have the same
293 basic user interface as item insertion, and make small UI and
294 larger internal improvements to the latter.
295 (todo-insert-item): Add reference to the Todo mode user manual to
296 the documentation string.
297 (todo-insert-item--basic): Rename from todo-basic-insert-item and
298 adjust all callers. Change signature to combine diary and
299 nonmarking arguments. Incorporate functionality of deleted item
300 copying command and add error checking. Remove detailed
301 descriptions of the arguments from the documentation string, since
302 this is treated in the Todo mode user manual.
303 (todo-copy-item, todo-edit-multiline-item)
304 (todo-edit-done-item-comment, todo-edit-item-header)
305 (todo-edit-item-time, todo-edit-item-date-from-calendar)
306 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
307 (todo-edit-item-date-year, todo-edit-item-date-month)
308 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
309 Remove.
310 (todo-edit-item): Reimplement as wrapper command for
311 todo-edit-item--next-key and make it distinguish done and not done
312 todo items.
313 (todo-edit-item--text): New function, replacing old command
314 todo-edit-item and incorporating deleted commands
315 todo-edit-multiline-item and todo-edit-done-item-comment.
316 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
317 Use only numeric value of prefix argument. Remove detailed
318 descriptions of the arguments from the documentation string, since
319 this is treated in the Todo mode user manual.
320 (todo-edit-item--diary-inclusion): New function, replacing old
321 command todo-edit-item-diary-inclusion and incorporating and fixing
322 functionality of deleted command todo-edit-item-diary-nonmarking,
323 making sure to remove todo-nondiary-marker when adding
324 diary-nonmarking-symbol.
325 (todo-edit-category-diary-inclusion): Make sure to delete
326 diary-nonmarking-symbol when adding todo-nondiary-marker.
327 (todo-edit-category-diary-nonmarking): Fix indentation.
328 (todo-insert-item--parameters): Group diary and nonmarking
329 parameters together.
330 (todo-insert-item--apply-args): Adjust to signature of
331 todo-insert-item--basic and incorporate copy parameter.
332 Make small code improvements.
333 (todo-insert-item--next-param): Improve prompt and adjust it to
334 new parameter grouping. Remove obsolete code.
335 (todo-edit-item--param-key-alist)
336 (todo-edit-item--date-param-key-alist)
337 (todo-edit-done-item--param-key-alist): New defconsts.
338 (todo-edit-item--prompt): New variable.
339 (todo-edit-item--next-key): New function.
5e87fcb1
SM
340 (todo-key-bindings-t): Bind "e" to todo-edit-item.
341 Remove bindings of deleted commands.
aed4b12d 342
3e9fa60a 3432014-05-04 Leo Liu <sdl.web@gmail.com>
157e8cfd
LL
344
345 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
346
3e9fa60a 3472014-05-04 Glenn Morris <rgm@gnu.org>
d136f184
GM
348
349 * allout-widgets.el (allout-widgets-tally)
350 (allout-decorate-item-guides):
351 * menu-bar.el (menu-bar-positive-p):
352 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
353 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
354 * progmodes/js.el (js--inside-param-list-p)
355 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
356 * progmodes/prolog.el (region-exists-p):
357 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
358 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
359 Doc fixes (replace `iff').
360
3e9fa60a 3612014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
4ec0cf9c
SM
362
363 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
364
bbdcf64f
LL
3652014-05-04 Leo Liu <sdl.web@gmail.com>
366
367 Support Chinese diary entries in calendar and diary. (Bug#17393)
368 * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
369 (calendar-chinese-from-absolute-for-diary)
370 (calendar-chinese-to-absolute-for-diary)
371 (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
372 (diary-chinese-list-entries): New functions to list and mark
373 Chinese diary entries in the calendar window.
374 (diary-chinese-anniversary)
375 (diary-chinese-insert-anniversary-entry)
376 (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
377 (diary-chinese-insert-yearly-entry): New commands to insert
378 Chinese diary entries.
379
80a78d23
SM
380 * calendar/diary-lib.el (diary-font-lock-keywords):
381 Support font-locking Chinese dates.
bbdcf64f
LL
382
383 * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
384 inserting Chinese diary entries.
385
80a78d23
SM
386 * calendar/calendar.el (diary-chinese-entry-symbol):
387 New customizable variable.
bbdcf64f
LL
388 (calendar-mode-map): Add bindings for inserting Chinese diary
389 entries.
390
cfd59d67
JL
3912014-05-03 Juri Linkov <juri@jurta.org>
392
393 * dired.el (dired-check-switches, dired-switches-recursive-p):
394 New functions. (Bug#17218)
395 (dired-switches-escape-p, dired-move-to-end-of-filename):
396 Use `dired-check-switches'.
397 (dired-insert-old-subdirs, dired-build-subdir-alist)
398 (dired-sort-R-check): Use `dired-switches-recursive-p'.
399
4807c7eb
BR
4002014-05-01 Barry O'Reilly <gundaetiapo@gmail.com>
401
a7e1ffdc
BR
402 * simple.el (undo-make-selective-list): New algorithm fixes
403 incorrectness of position adjustments when undoing in region.
404 (Bug#17235)
405 (undo-elt-crosses-region): Make obsolete.
80a78d23
SM
406 (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
407 New functions to adjust positions using undo-deltas.
4807c7eb 408
17a873c5
SM
4092014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
410
411 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
412 the last consecutive closing paren (bug#17345).
413
724ee6dc
RT
4142014-04-30 Reuben Thomas <rrt@sc3d.org>
415
416 * dired.el (dired-mode): make terminology for eXpunge command
417 consistent. (Bug#17276)
418
72962dd8
EZ
4192014-04-30 Eli Zaretskii <eliz@gnu.org>
420
421 * dired.el (dired-initial-position-hook, dired-initial-position):
422 Doc string fixes.
423
09b911ad 4242014-04-30 Glenn Morris <rgm@gnu.org>
9a3f71f7
GM
425
426 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
427
09b911ad 4282014-04-30 Matthias Dahl <matthias.dahl@binary-island.eu>
bc6953b3
MD
429
430 * faces.el (face-spec-recalc): Apply X resources only after the
2cfb51ef 431 defface spec has been applied. Thus, X resources are no longer
bc6953b3
MD
432 overriden by the defface spec which also fixes issues on win32 where
433 the toolbar coloring was wrong because it is set through X resources
434 and was (wrongfully) overriden. (Bug#16694)
435
09b911ad 4362014-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
4f5fa755
SM
437
438 * textmodes/rst.el (electric-pair-pairs): Declare.
439 (rst-mode): Set it (bug#17131).
440
09b911ad 4412014-04-30 Juri Linkov <juri@jurta.org>
8e554df0
JL
442
443 * desktop.el (desktop-value-to-string): Let-bind `print-length'
444 and `print-level' to nil. (Bug#17351)
445
09b911ad 4462014-04-30 Nicolas Richard <theonewiththeevillook@yahoo.fr>
0507406b
NR
447
448 * battery.el (battery-update): Handle the case where battery
449 status is "N/A" (bug#17319).
450
9b7b020d
SM
4512014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
452
453 * progmodes/ps-mode.el: Use SMIE. Move string and comment recognition
454 to syntax-propertize.
455 (ps-mode-auto-indent): Mark as obsolete.
456 (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
457 (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
458 word regexp operators.
459 (ps-mode-map): Move initialization into declaration. Remove binding
460 for TAB, RET, >, ], and }.
461 (ps-mode-syntax-table): Move initialization into declaration.
462 Don't give word syntax to non-word chars.
463 (ps-run-mode-map): Move initialization into declaration.
464 (ps-mode-menu-main): Remove auto-indent entry.
465 (ps-mode-smie-rules): New function.
466 (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
467 (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
468 (ps-mode--string-syntax-table): New const.
469 (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
470 New functions.
471 (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
472 (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
473
196bfaec
DC
4742014-04-27 Daniel Colascione <dancol@dancol.org>
475
476 * term/xterm.el (xterm-paste): Use large finite timeout when
477 reading event to avoid putting keys in this-command-keys.
478
5ba339c7
SM
4792014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
480
481 * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
482 (perl-syntax-propertize-function): Use it. Extend handling of
483 here-docs to the unquoted case.
484
dff4a9f6 4852014-04-25 Eli Zaretskii <eliz@gnu.org>
bc0650fd 486
5ba339c7
SM
487 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
488 Use equal-including-properties to compare help-echo strings (bug#17331).
bc0650fd 489
dff4a9f6 4902014-04-25 Leo Liu <sdl.web@gmail.com>
00104e59
LL
491
492 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
493 Fix syntax for @. (Bug#17325)
494
dff4a9f6 4952014-04-25 Daniel Colascione <dancol@dancol.org>
543e3c63
DC
496
497 * emacs-lisp/cl.el (gv): Require gv early to break eager
498 macro-expansion cycles.
499
dff4a9f6 5002014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
c0868451 501
05452dc4
SM
502 * simple.el (region-active-p): Check there's a mark (bug#17324).
503
0e8a9331
SM
504 * simple.el (completion-list-mode-map): Use choose-completion for the
505 mouse binding as well (bug#17302).
506 (completion-list-mode, completion-setup-function): Adjust docstring and
507 echo area message accordingly.
508 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
509 calling convention of choose-completion.
510 * comint.el (comint-dynamic-list-completions):
511 * term.el (term-dynamic-list-completions): Accept choose-completion.
512
c0868451
SM
513 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
514 &, |, +, - and * can't be a division (bug#17317).
515
f7e0450a
SM
516 * term/xterm.el (xterm--version-handler): Don't use modern xterm
517 features on gnome-terminal (bug#16988).
518
5e4ab4e4
TTN
5192014-04-25 Thien-Thi Nguyen <ttn@gnu.org>
520
521 Improve Scheme font-locking for (define ((foo ...) ...) ...).
522
523 * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
524 the declared object, ignore zero or more parens, not zero or one.
525
d5031a2a
LL
5262014-04-24 Leo Liu <sdl.web@gmail.com>
527
528 * progmodes/xscheme.el (xscheme-expressions-ring)
529 (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
530 (xscheme-control-g-disabled-p, xscheme-process-filter-state)
531 (xscheme-allow-output-p, xscheme-prompt)
532 (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
533
534 * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
535 Comment out unused functions.
536
118b5a92
SM
5372014-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
538
539 * info.el: Use lexical-binding and cl-lib.
540 Use defvar-local and setq-local instead of make-local-variable.
541 (Info-apropos-matches): Avoid add-to-list.
542 (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
543
9b233997
DC
5442014-04-24 Daniel Colascione <dancol@dancol.org>
545
546 * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
547
ddc13efd
SM
5482014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
549
550 * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
551
f2df692c
MH
5522014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
553
554 * dired.el (dired-insert-set-properties): Do not consider
555 subdirectory headings and empty lines to be information that
556 `dired-hide-details-mode' should hide. (Bug#17228)
557
14828a95
MA
5582014-04-22 Michael Albinus <michael.albinus@gmx.de>
559
560 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
561 Remove test messages.
562 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
563 and `target' twice.
564
42e91034 5652014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
622eef68 566
9c104369
SM
567 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
568 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
569
622eef68
SM
570 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
571
42e91034 5722014-04-22 Michael Albinus <michael.albinus@gmx.de>
505fa2ab 573
622eef68
SM
574 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
575 Set "IFS=" when using read builtin, in order to preserve spaces in
505fa2ab
MA
576 the file name. Add test messages for hunting a bug on hydra.
577 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
578
42e91034 5792014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
f0ffb9b7
SM
580
581 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
582 Don't prettify a word within a symbol.
583
42e91034 5842014-04-22 Michael Albinus <michael.albinus@gmx.de>
feb5d8a4
MA
585
586 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
587 possible.
588
1b0f10d2
DC
5892014-04-22 Daniel Colascione <dancol@dancol.org>
590
591 * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
592 use defun to define `function-put'.
593
67c477ae
SM
5942014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
595
4f965793
SM
596 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
597 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
598 (lisp-mode-variables): Set font-lock-extra-managed-props.
599
67c477ae
SM
600 * emacs-lisp/byte-run.el (function-put): New function.
601 (defun-declarations-alist): Use it. Add `pure' and `side-effect-free'.
602 * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
603 (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
604 Use them.
605
66fda794
DC
6062014-04-22 Daniel Colascione <dancol@dancol.org>
607
67c477ae
SM
608 * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
609 Add `full-p' parameter; when nil, call `macroexpand' instead of
12b1389c
DC
610 `macroexpand-all'.
611
612 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
613 Improve docstrings.
614
c98212f9
DC
615 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
616 Use lambda function values, not quoted lambdas.
617 (byte-compile-recurse-toplevel): Remove extraneous &optional.
618
66fda794 619 * emacs-lisp/cl-macs.el
c98212f9 620 (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
66fda794
DC
621 (cl-struct-slot-value): Conditionally use aref or nth so that the
622 compiler produces optimal code.
623
d6f14ca7
SM
6242014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
625
626 * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
627 (inline): Don't inline cl--set-elt.
628 (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
629 Define as inlinable instead.
630 (cl-struct-set-slot-value): Remove.
631
632 * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
633 * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
634 Use setf instead.
635
44faec17
DC
6362014-04-21 Daniel Colascione <dancol@dancol.org>
637
638 * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
639 last two parameters after all.
640 (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
641 (cl--compiler-macro-assoc,cl-struct-slot-value)
642 (cl-struct-set-slot-value): Stop using them.
643
644(2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
9253f7af
SM
645
646 * image-mode.el (image-mode-window-put): Don't assume there's a `t'
647 entry in image-mode-winprops-alist.
648
2fa1b97d
DC
6492014-04-21 Daniel Colascione <dancol@dancol.org>
650
9253f7af
SM
651 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
652 (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
985c035f
DC
653 (byte-compile-toplevel-file-form): Use it.
654
2fa1b97d
DC
655 * emacs-lisp/cl-macs.el:
656 (cl--loop-let): Properly destructure `while' clauses.
657
e8a77f24
DC
6582014-04-20 Daniel Colascione <dancol@dancol.org>
659
660 * vc/vc.el (vc-root-dir): New public autoloaded function for
661 generically finding the current VC root.
662 * vc/vc-hooks.el (vc-not-supported): New error.
9253f7af 663 (vc-call-backend): Signal `vc-not-supported' instead of generic error.
e8a77f24 664
89a2e783
DC
6652014-04-20 Daniel Colascione <dancol@dancol.org>
666
667 * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
668 argument.
669 (cl--const-expr-val): cl--const-expr-val should macroexpand its
670 argument in case we're inside a symbol-macrolet.
671 (cl--do-arglist, cl--compiler-macro-typep)
672 (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
673 environment to `cl--const-expr-val'.
674 (cl-struct-sequence-type,cl-struct-slot-info)
675 (cl-struct-slot-offset, cl-struct-slot-value)
676 (cl-struct-set-slot-value): New functions.
677
fe36068f
SM
6782014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
679
680 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
681 assignments such as "case=hello" (bug#17297).
682
ce8c5107
MA
6832014-04-18 Michael Albinus <michael.albinus@gmx.de>
684
685 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
686 Do not autoload.
687 (tramp-file-name-handler, tramp-completion-file-name-handler):
688 Revert patch from 2014-04-10, it isn't necessary anymore.
689 (tramp-autoload-file-name-handler)
690 (tramp-register-autoload-file-name-handlers): New defuns.
691 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
692 (tramp-register-file-name-handlers): Remove also
693 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
694 Do not autoload its invocation, but eval it after loading of 'tramp.
695
696 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
697
698 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
699
bfc30790
DC
7002014-04-17 Daniel Colascione <dancol@dancol.org>
701
702 Add support for bracketed paste mode; add infrastructure for
703 managing terminal mode enabling and disabling automatically.
704
705 * xt-mouse.el:
706 (xterm-mouse-mode): Simplify.
707 (xterm-mouse-tracking-enable-sequence)
708 (xterm-mouse-tracking-disable-sequence): New constants.
709 (turn-on-xterm-mouse-tracking-on-terminal)
67c477ae
SM
710 (turn-off-xterm-mouse-tracking-on-terminal):
711 Use tty-mode-set-strings and tty-mode-reset-strings terminal
bfc30790
DC
712 parameters instead of random hooks.
713 (turn-on-xterm-mouse-tracking)
714 (turn-off-xterm-mouse-tracking): Delete.
715
716 * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
717 (xterm-paste-ending-sequence): New constant.
718 (xterm-paste): New command used for bracketed paste support.
719
720 (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
721 (terminal-init-xterm-bracketed-paste-mode): New function.
722 (terminal-init-xterm): Call it.
723 (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
724 and tty-mode-reset-strings instead of random hooks.
725 (xterm-turn-on-modify-other-keys)
726 (xterm-turn-off-modify-other-keys)
727 (xterm-remove-modify-other-keys): Delete obsolete functions.
728
67c477ae
SM
729 * term/screen.el: Rewrite to just use the xterm code.
730 Add copyright notice. Mention tmux.
bfc30790 731
e51c8d91
I
7322014-04-17 Ian D <dunni@gnu.org> (tiny change)
733
734 * image-mode.el (image-mode-window-put): Also update the property of
735 the "default window".
736 * doc-view.el (doc-view-new-window-function): If no window
737 exists, move to the last known page.
738
c76a7a5c
SM
7392014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
740
741 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
742 here-documents (bug#17262).
743
bf6b4923
EZ
7442014-04-16 Eli Zaretskii <eliz@gnu.org>
745
c76a7a5c
SM
746 * term/pc-win.el (x-list-fonts, x-get-selection-value):
747 Provide doc strings, as required by snarf-documentation.
bf6b4923 748
290d7ac2 7492014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
20fa59a0
SM
750
751 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
752 arg of overlays-at. Use `invisible-p'.
753
754 * obsolete/lucid.el (extent-at):
755 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
756 overlays-at.
757 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
758
290d7ac2 7592014-04-16 João Távora <joaotavora@gmail.com>
f596f897
JT
760
761 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
762 links. (Bug#17217).
763
290d7ac2 7642014-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
a73b9dda
YM
765
766 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
767 Use mapc to loop over a vector. (Bug#17257).
768
290d7ac2 7692014-04-16 Michael Albinus <michael.albinus@gmx.de>
f2d164a4
MA
770
771 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
772 patch, there are new problems with file names containing spaces.
773 Get rid of backticks. (Bug#17238)
774
290d7ac2 7752014-04-16 João Távora <joaotavora@gmail.com>
498d3768
JT
776
777 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
778 possible bug.
779
290d7ac2 7802014-04-16 Eli Zaretskii <eliz@gnu.org>
83451189
EZ
781
782 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
783 (blink-cursor-mode): Mention customization variables and the
784 effect of 'blink-cursor-blinks'.
785
290d7ac2 7862014-04-16 Barry O'Reilly <gundaetiapo@gmail.com>
175a3a51
BR
787
788 * simple.el (undo): Prevent insertion of identity mapping into
789 undo-equiv-table so as undo-only does not inf loop in the presence
790 of consecutive nils in undo list.
791
290d7ac2 7922014-04-16 Matthias Dahl <matthias.dahl@binary-island.eu>
5f91455c
MD
793
794 * faces.el (make-face): Deprecate optional argument as it is no
795 longer needed/used since the conditional X resources handling
796 has been pushed down to make-face-x-resource-internal itself.
797 (make-empty-face): Don't pass optional argument to make-face.
798
5f6b4154
KF
7992014-04-16 Karl Fogel <kfogel@red-bean.com>
800
801 * savehist.el (savehist-save): Remove workaround for a read-passwd
802 bug that was fixed before 24.3. Thanks to Juanma Barranquero for
803 noticing that the shim was still present.
804
005551fe
SM
8052014-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
806
807 * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
808
b92583c4
JB
8092014-04-14 Juanma Barranquero <lekktu@gmail.com>
810
811 * faces.el (face-set-after-frame-default): Remove unused local variable.
812
6c2453e0
SM
8132014-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
814
f7993853
SM
815 * progmodes/grep.el: Use lexical-binding.
816 (grep-expand-template): Pass explicit lexical env to `eval'.
817 (zrgrep): Let-bind grep-find-template explicitly.
818
6c2453e0
SM
819 * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
820 * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
821
ac387dd1
EZ
8222014-04-12 Eli Zaretskii <eliz@gnu.org>
823
824 * international/characters.el <standard-case-table>: Add entries
825 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
204db02a 826 Set category of Coptic characters be 'g' (Greek).
ac387dd1 827
2e611da6
LL
8282014-04-12 Leo Liu <sdl.web@gmail.com>
829
e0af4095
GM
830 * progmodes/octave.el (completion-table-with-cache):
831 Define if not available.
832 (octave-goto-function-definition, octave-sync-function-file-names)
833 (octave-find-definition-default-filename):
834 Backquote upattern for compatibility.
2e611da6 835
e0af4095 8362014-04-12 Michael Albinus <michael.albinus@gmx.de>
f628e17c
MA
837
838 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
839 name twice due to backticks. (Bug#17238)
840
e0af4095 8412014-04-12 Glenn Morris <rgm@gnu.org>
fd492166
GM
842
843 * term/w32-win.el (x-win-suspend-error):
844 * term/x-win.el (x-win-suspend-error): Sync docs.
845
7f0f4c25
MD
8462014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
847
f7993853
SM
848 * faces.el (make-face): Remove deprecated optional argument.
849 The conditional application of X resources is handled directly by
7f0f4c25
MD
850 make-face-x-resource-internal since Emacs 24.4.
851 (make-empty-face): Don't pass optional argument to make-face.
852
e088b01d
GM
8532014-04-11 Glenn Morris <rgm@gnu.org>
854
855 * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport. (Bug#16429)
856
536aa466 8572014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
e46561a2
SM
858
859 Ediff's overlay priorities cause more trouble than they solve.
860 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
861 (ediff-highest-priority): Remove function (bug#17234).
862 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
863 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
864 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
865 overlay priorities.
866
536aa466 8672014-04-11 Feng Li <fengli@gmail.com> (tiny change)
39764caa
FL
868
869 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
870 entry; use symbol boundaries to avoid mis-matches.
871
536aa466 8722014-04-11 Michael Albinus <michael.albinus@gmx.de>
bcbb83a9
MA
873
874 * net/tramp.el (tramp-file-name-handler)
875 (tramp-completion-file-name-handler): Avoid recursive loading.
876
877 * net/tramp-sh.el (tramp-make-copy-program-file-name):
878 Quote result also locally.
879
0d6a1375
SM
8802014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
881
c99ce7d8
SM
882 * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
883 Remove left-over code.
884
0d6a1375
SM
885 * newcomment.el (comment-indent-new-line): Sink code where it's used.
886 Reuse the previous comment's indentation unconditionally if it's on its
887 own line.
888
3f63a9f7
DC
8892014-04-09 Daniel Colascione <dancol@dancol.org>
890
891 * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
892 `no-syntax-crossing' arguments. Forward to `up-list'.
893 (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
894 Implement logic for escaping from strings. Use narrowing to deal
895 with corner cases.
896
0b816f15
LL
8972014-04-09 Leo Liu <sdl.web@gmail.com>
898
899 * net/rcirc.el (rcirc-connection-info): New variable.
900 (rcirc-connect): Use it to store connection info.
901 (rcirc-buffer-process): Avoid get-buffer-process which returns nil
902 for killed process.
903 (rcirc-cmd-reconnect): New command. (Bug#17045)
904 (rcirc-mode, set-rcirc-encode-coding-system)
905 (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
906
22683580
DC
9072014-04-09 Daniel Colascione <dancol@dancol.org>
908
909 * emacs-lisp/cl-indent.el: Add comment claiming
910 facility is also good for elisp.
911 (lisp-indent-find-method): New function.
912 (common-lisp-indent-function): Recognize cl-loop.
913 (common-lisp-indent-function-1): Recognize cl constructs; use
914 `lisp-indent-find-method' instead of `get' directly.
915 (if): Use else-body style for elisp.
916
0122b24d
DG
9172014-04-09 Dmitry Gutov <dgutov@yandex.ru>
918
919 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
920 Module methods. (Bug#17216)
921
559836fb 9222014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
5b9925ae
SM
923
924 * help.el (describe-bindings): Fix buffer handling (bug#17210).
925 (describe-bindings-internal): Mark obsolete.
926
6bc76cee
SM
9272014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
928
929 * subr.el (with-silent-modifications): Don't bind deactivate-mark,
930 buffer-file-name, and buffer-file-truename any more.
931
dc0b0454
LL
9322014-04-08 Leo Liu <sdl.web@gmail.com>
933
934 Use lexical-binding and require cl-lib.
935 * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
936 (rcirc-handler-generic, rcirc-fill-paragraph)
937 (rcirc-format-response-string, rcirc-target-buffer)
938 (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
939 (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
940 (rcirc-ctcp-sender-PING, rcirc-browse-url)
941 (rcirc-markup-timestamp, rcirc-markup-attributes)
942 (rcirc-markup-my-nick, rcirc-markup-urls)
943 (rcirc-markup-bright-nicks, rcirc-markup-fill)
944 (rcirc-check-auth-status, rcirc-handler-WALLOPS)
945 (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
946 (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
947 (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
948 (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
949 (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
950 (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
951 (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
952 (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
953 (rcirc-handler-CTCP-response): Fix unused arguments warnings and
954 use cl-lib.
955
190f899a
JT
9562014-04-07 João Távora <joaotavora@gmail.com>
957
6f287c89
GM
958 * elec-pair.el (electric-pair--syntax-ppss):
959 When inside comments parse from comment beginning.
190f899a
JT
960 (electric-pair--balance-info): Fix typo in comment.
961 (electric-pair--in-unterminated-string-p): Delete.
962 (electric-pair--unbalanced-strings-p): New function.
963 (electric-pair-string-bound-function): New var.
964 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
965 according to `electric-pair--in-unterminated-string-p'
966
6f287c89
GM
967 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
968 Inhibit quote pairing if point-max is inside an unterminated string.
969 (electric-pair--looking-at-unterminated-string-p): Delete.
528c33b5
JT
970 (electric-pair--in-unterminated-string-p): New function.
971
a9c921e6
GM
9722014-04-07 Glenn Morris <rgm@gnu.org>
973
974 * shell.el (shell-directory-tracker):
975 Go back to just ignoring failures. (Bug#17159)
976
6f287c89 9772014-04-07 João Távora <joaotavora@gmail.com>
be411138
JT
978
979 Fix `electric-pair-delete-adjacent-pairs' in modes binding
980 backspace. (bug#16981)
981 * elec-pair.el (electric-pair-backward-delete-char): Delete.
982 (electric-pair-backward-delete-char-untabify): Delete.
983 (electric-pair-mode-map): Bind backspace to a menu item filtering
984 a new `electric-pair-delete-pair' command.
985 (electric-pair-delete-pair): New command.
986
6f287c89
GM
987 * progmodes/python.el (python-electric-pair-string-delimiter):
988 Fix triple-quoting electricity. (Bug#17192)
89f20f76 989
6f287c89
GM
990 * elec-pair.el (electric-pair-post-self-insert-function):
991 Don't skip whitespace when `electric-pair-text-pairs' and
89f20f76 992 `electric-pair-pairs' were used. syntax to
7aecc2f6 993 electric-pair--skip-whitespace. (Bug#17183)
89f20f76 994
6f287c89 9952014-04-07 Eli Zaretskii <eliz@gnu.org>
c8e7f832
EZ
996
997 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
998 "<F>". (Bug#17199)
999
6f287c89 10002014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
0beb7fb7
SM
1001
1002 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
1003 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
1004
6f287c89 10052014-04-07 Glenn Morris <rgm@gnu.org>
50ea0f87
GM
1006
1007 * help.el (view-lossage): Doc tweak.
1008
6f287c89 10092014-04-07 Matthias Dahl <ml_emacs-lists@binary-island.eu>
eb7a03cc
MD
1010
1011 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
1012 only when inhibit-x-resources is nil, and do that earlier in the
1013 function. Doc fix. (Bug#16694)
fdafd487
MD
1014 (face-spec-choose): Accept additional optional argument, whose
1015 value is returned if no matching attributes are found.
1016 (face-spec-recalc): Use the new optional argument when calling
1017 face-spec-choose. (Bug#16378)
f5e4494c
MD
1018 (make-face-x-resource-internal): Do nothing when
1019 inhibit-x-resources is non-nil. Don't touch the default face if
0beb7fb7 1020 reversed video is given--as was done in previous versions of Emacs.
f5e4494c
MD
1021 (face-set-after-frame-default): Don't call
1022 make-face-x-resource-internal here. (Bug#16434)
eb7a03cc 1023
6f287c89 10242014-04-07 Tassilo Horn <tsdh@gnu.org>
3ccd4eaf 1025
0beb7fb7
SM
1026 * doc-view.el (doc-view-bookmark-jump):
1027 Use `bookmark-after-jump-hook' to jump to the right page after the
3ccd4eaf
TH
1028 buffer is shown in a window. (bug#16090)
1029
6f287c89 10302014-04-07 Eli Zaretskii <eliz@gnu.org>
b7cf27ed
EZ
1031
1032 * international/characters.el (mirroring): Fix last change:
1033 instead of loading uni-mirrored.el explicitly, do that implicitly
1034 by creating the 'mirroring' uniprop table. This avoids announcing
1035 the loading of uni-mirrored.el.
1036
6f287c89 10372014-04-07 Glenn Morris <rgm@gnu.org>
8a1d24b1
GM
1038
1039 * files.el (buffer-stale--default-function)
1040 (buffer-stale-function, revert-buffer--default):
1041 * autorevert.el (auto-revert-buffers): Doc tweaks.
1042
6f287c89 10432014-04-07 Eli Zaretskii <eliz@gnu.org>
bbab1c4f
EZ
1044
1045 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
1046
6f287c89 10472014-04-07 Glenn Morris <rgm@gnu.org>
d738ebdc
GM
1048
1049 * files.el (make-backup-file-name-function)
1050 (make-backup-file-name, make-backup-file-name--default-function)
1051 (make-backup-file-name-1, find-backup-file-name)
1052 (revert-buffer-function, revert-buffer-insert-file-contents-function)
1053 (buffer-stale--default-function, buffer-stale-function)
1054 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
1055 (revert-buffer, revert-buffer--default)
1056 (revert-buffer-insert-file-contents--default-function):
1057 Doc fixes related to defaults no longer being nil.
1058 (make-backup-file-name-function): Bump :version.
1059 Restore nil as a valid but deprecated custom type.
1060
6f287c89 10612014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
062e286b 1062
6f287c89
GM
1063 * progmodes/perl-mode.el (perl-syntax-propertize-function):
1064 Handle $' used as a variable (bug#17174).
66f50b12
SM
1065
1066 * progmodes/perl-mode.el (perl-indent-new-calculate):
1067 Handle forward-sexp failure (bug#16985).
8a7fd442
SM
1068 (perl-syntax-propertize-function): Add "foreach" and "for" statement
1069 modifiers introducing expressions (bug#17116).
66f50b12 1070
7b656e4a
SM
10712014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
1072
1073 * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
1074
722237d5
LL
10752014-04-05 Leo Liu <sdl.web@gmail.com>
1076
7b656e4a
SM
1077 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
1078 Add define-compilation-mode.
722237d5 1079
5cb0cc90
JT
10802014-04-04 João Távora <joaotavora@gmail.com>
1081
9b017563
JB
1082 * elec-pair.el (electric-pair--syntax-ppss): When inside comments
1083 parse from comment beginning.
5cb0cc90
JT
1084 (electric-pair--balance-info): Fix typo in comment.
1085 (electric-pair--in-unterminated-string-p): Delete.
1086 (electric-pair--unbalanced-strings-p): New function.
1087 (electric-pair-string-bound-function): New var.
1088 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
9b017563 1089 according to `electric-pair--in-unterminated-string-p'.
5cb0cc90 1090
6b31e6b1
SM
10912014-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1092
1093 * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
1094 Move declaration before first use.
1095 (reftex-move-to-next-arg): Silence compiler warning.
1096
0de7d982
JK
10972014-04-04 Joost Kremers <joostkremers@fastmail.fm> (tiny change)
1098
6b31e6b1
SM
1099 * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
1100 Use `window-total-width' instead of `window-width'.
0de7d982 1101
01ae0fbf
DC
11022014-04-03 Daniel Colascione <dancol@dancol.org>
1103
1104 * subr.el (set-transient-map): Remove rms's workaround entirely;
1105 use new `suspicious-object' subr to mark our lambda for closer
1106 scrutiny during gc.
1107
4fd68bf6
RS
11082014-04-02 Richard Stallman <rms@gnu.org>
1109
1110 * subr.el (set-transient-map): Comment out previous change.
1111
c7510f6e
GM
11122014-04-02 Glenn Morris <rgm@gnu.org>
1113
0b908bf2
GM
1114 * menu-bar.el (menu-bar-file-menu):
1115 * vc/ediff.el (ediff-current-file):
1116 Update for revert-buffer-function no longer being nil by default.
1117
c7510f6e
GM
1118 * simple.el (command-execute): Respect nil disabled-command-function.
1119
09aba815 11202014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
6116a727
NR
1121
1122 * simple.el (command-execute): Do not execute the command when it
1123 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
1124
09aba815 11252014-04-02 Juri Linkov <juri@jurta.org>
8778eb5e
JL
1126
1127 * dired-aux.el (dired-compress-file): Don't use string-match-p
1128 because its match data is used afterwards.
1129
09aba815 11302014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
929c0500
SM
1131
1132 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
1133 0 like nil.
1134
200c532b
JT
11352014-04-02 João Távora <joaotavora@gmail.com>
1136
6b31e6b1
SM
1137 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
1138 Inhibit quote pairing if point-max is inside an unterminated string.
200c532b
JT
1139 (electric-pair--looking-at-unterminated-string-p):
1140 Delete.
1141 (electric-pair--in-unterminated-string-p): New function.
1142
2395f2b9
DC
11432014-04-01 Daniel Colascione <dancol@dancol.org>
1144
1145 * minibuffer.el (minibuffer-complete): Prevent assertion failure
1146 when trying to complete the prompt.
1147
294b2b09
LL
11482014-03-31 Leo Liu <sdl.web@gmail.com>
1149
6b31e6b1
SM
1150 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
1151 Refactor out eldoc-documentation-function-default.
294b2b09
LL
1152 (eldoc-documentation-function-default): New function.
1153 (eldoc-documentation-function): Change value.
1154
4f3a895b
GM
11552014-03-31 Glenn Morris <rgm@gnu.org>
1156
1157 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
1158
1db854cc
GM
1159 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
1160 (vhdl-compose-components-package, vhdl-compose-configuration):
1161 Abbreviate default-directory (missing from some previous upstream sync).
1162
3c2d4776
RZ
11632014-03-31 Reto Zimmermann <reto@gnu.org>
1164
1165 Sync with upstream vhdl mode v3.35.2.
1166 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
1167 (top-level): No longer require assoc.
1168 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
1169 New functions. Use throughout to replace aget etc.
1170 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
1171 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
1172 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
1173 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
1174 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
1175 except `vhdl-compiler'.
1176 (vhdl-error-regexp-add-emacs): Remove all other compilers,
1177 when appropriate.
1178
5c30ab7a
GM
11792014-03-31 Glenn Morris <rgm@gnu.org>
1180
1181 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
1182 Revert 2014-03-26 merge goof; go back to using defalias.
1183
1861d5a7
DC
11842014-03-30 Daniel Colascione <dancol@dancol.org>
1185
6b31e6b1
SM
1186 * comint.el (comint-send-input):
1187 Deactivate completion-in-region-mode before we send comint input.
1861d5a7
DC
1188 (Bug#17139).
1189
1190 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
1191 on keyboard-quit.
1192
41116c5a
GM
11932014-03-29 Glenn Morris <rgm@gnu.org>
1194
1195 * textmodes/reftex.el: Manage most autoloads automatically.
1196 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
1197 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
1198 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
1199 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
1200 * textmodes/reftex-toc.el: Set generated-autoload-file,
1201 and add autoload cookies for reftex.el.
1202 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
1203
c3153003
GM
12042014-03-28 Glenn Morris <rgm@gnu.org>
1205
7b207d6d
GM
1206 * cus-start.el (report-emacs-bug-address): Set custom properties.
1207 * mail/emacsbug.el (report-emacs-bug-address):
1208 Variable is now defined in emacs.c.
1209
c3153003
GM
1210 * mail/emacsbug.el (report-emacs-bug):
1211 Include system-configuration-features.
1212
687e0e19
MN
12132014-03-28 Michal Nazarewicz <mina86@mina86.com>
1214
1215 * simple.el (cycle-spacing): Never delete spaces on first run by
1216 default, but do so in a new 'fast mode and if there are already
4f3a895b 1217 N spaces (the previous behavior).
687e0e19
MN
1218 Compare N with its value in previous invocation so that changing
1219 prefix argument restarts `cycle-spacing' sequence.
687e0e19 1220 The idea is that with this change, binding M-SPC to
4f3a895b 1221 `cycle-spacing' should not introduce any changes in behavior of
687e0e19
MN
1222 the binding so long as users do not type M-SPC twice in a raw with
1223 the same prefix argument or lack thereof.
1224
95de732d
GM
12252014-03-28 Glenn Morris <rgm@gnu.org>
1226
1227 * faces.el (term-file-aliases): New variable.
1228 (tty-run-terminal-initialization): Respect term-file-aliases.
1229 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
1230 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
1231 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
1232
6730259f
GM
12332014-03-27 Glenn Morris <rgm@gnu.org>
1234
862a4e4a
GM
1235 * startup.el (inhibit-startup-hooks): Doc tweak.
1236 (normal-top-level): Simplify running of hooks.
1237 For window-setup-hook, respect inhibit-startup-hooks.
1238 (command-line-1): Don't set window-setup-hook to nil.
1239
6730259f
GM
1240 Allow selective autoloading from obsolete/ directory.
1241 * Makefile.in (obsolete-autoloads): New rule.
1242 (autoloads): Run obsolete-autoloads.
1243 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
1244 * simple.el (iswitchb-mode): Remove hand-written autoloads.
1245
42ebc34e
DG
12462014-03-27 Dmitry Gutov <dgutov@yandex.ru>
1247
929c0500
SM
1248 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1249 Highlight special globals with font-lock-builtin-face. (Bug#17057)
8de64bb8 1250
42ebc34e
DG
1251 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1252 Don't propertize `?' or `!' as symbol constituent when after
1253 colon. (Bug#17097)
1254
b1c870c9
JB
12552014-03-27 Juanma Barranquero <lekktu@gmail.com>
1256
857ba6ec
JB
1257 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
1258 which is no longer needed and causes trouble in GTK builds (bug#17046).
1259
b1c870c9
JB
1260 * emacs-lisp/package-x.el (package--archive-contents-from-url):
1261 Use url-insert-file-contents; package-handle-response no longer exists.
1262
8ab9876a
DC
12632014-03-26 Daniel Colascione <dancol@dancol.org>
1264
1265 * simple.el (process-menu-mode-map): New variable.
1266 (process-menu-delete-process): New command.
1267
196716cf
JB
12682014-03-26 Juanma Barranquero <lekktu@gmail.com>
1269
1270 * emacs-lisp/package.el: Fix bug#16733 (again).
1271 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
1272 (url-http-target-url): Remove unused declarations.
1273 (package-handle-response): Remove.
1274 (package--with-work-buffer): Use url-insert-file-contents and simplify.
1275 (package--download-one-archive): Use current-buffer instead of
1276 dynamic binding of `buffer'.
1277 (describe-package-1): Do not decode readme-string.
1278
16adf2e6 12792014-03-26 Michael Albinus <michael.albinus@gmx.de>
1f73d6c6
MA
1280
1281 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
1282
1283 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
1284 from 2014-03-07, it decreases performance unnecessarily. Let-bind
1285 `remote-file-name-inhibit-cache' to nil in the second pass.
1286 (tramp-find-executable): Do not call "which" on SunOS.
1287 (tramp-send-command-and-check): Fix docstring.
08cf935b
MA
1288 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
1289 check whether source directory has set the sticky bit.
1f73d6c6 1290
16adf2e6 12912014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
37ea8275
BR
1292
1293 * simple.el (primitive-undo): Only process marker adjustments
1294 validated against their corresponding (TEXT . POS). Issue warning
1295 for lone marker adjustments in undo history. (Bug#16818)
1296 (undo-make-selective-list): Add marker adjustments to selective
1297 undo list based on whether their corresponding (TEXT . POS) is in
1298 the region. Remove variable adjusted-markers, which was unused
1299 and only non nil during undo-make-selective-list.
1300 (undo-elt-in-region): Return nil when passed a marker adjustment
1301 and explain in function doc.
1302
16adf2e6 13032014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
74be1649
NR
1304
1305 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
1306
16adf2e6 13072014-03-26 Dmitry Gutov <dgutov@yandex.ru>
c2d6c639
DG
1308
1309 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
1310 Match special global variables without curlies, too.
1311 (ruby-font-lock-keywords): Simplify the matcher for special global
1312 variables. Don't require a non-word character after the variable.
1313 (Bug#17057)
1314
16adf2e6 13152014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
f6614a47
SM
1316
1317 * simple.el (redisplay-highlight-region-function): Increase priority of
1318 overlay to make sure boundaries are visible (bug#15899).
1319
16adf2e6 13202014-03-26 Juanma Barranquero <lekktu@gmail.com>
3ea2c781 1321
16adf2e6
JB
1322 * frameset.el (frameset--initial-params): Fix typo in parameter name.
1323 (frameset-restore): Compare display strings with equal.
ee79b33f 1324
3ea2c781
JB
1325 * frame.el (make-frame): Don't quote display name in error message,
1326 it is already a string.
1327
16adf2e6 13282014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
f1e06f7b
TV
1329
1330 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
1331 the password.
1332
16adf2e6 13332014-03-26 Dmitry Gutov <dgutov@yandex.ru>
2614c1af 1334
16adf2e6
JB
1335 * emacs-lisp/package.el (package--add-to-archive-contents):
1336 Include already installed and built-in packages in
1337 `package-archive-contents'.
1338 (package-install): Don't include already installed packages in the
1339 options during interactive invocation. (Bug#16762)
1340 (package-show-package-list): If the buffer is already displayed in
1341 another window, switch to that window.
1342
fb3deac8
RZ
13432014-03-26 Reto Zimmermann <reto@gnu.org>
1344
1345 Sync with upstream vhdl mode v3.35.1.
1346 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
1347 (vhdl-compiler-alist): Doc fix.
1348 (vhdl-goto-line): Remove.
1349 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
1350 (vhdl-mode) <paragraph-start>: Fix value.
1351 (vhdl-fix-statement-region): Not `for' in wait-statement.
1352 (vhdl-beautify-region): Also (un)tabify.
1353 (vhdl-get-visible-signals):
1354 Scan declarative part of generate statements.
1355 (vhdl-template-record): Fix indentation for record type declaration.
c1e6bc0a
GM
1356 (vhdl-expand-abbrev, vhdl-expand-paren):
1357 Revert to using fset again rather than defalias.
fb3deac8
RZ
1358 (vhdl-scan-directory-contents): Tweak.
1359 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
1360 (vhdl-compose-components-package):
1361 Replace vhdl-goto-line with forward-line.
1362 (top-level): Tweak speedbar frame selection.
1363 (vhdl-generate-makefile-1): Support for compilers with no
1364 unit-to-file name mapping (create directory with dummy files).
1365
511df08c
WS
13662014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
1367
1368 Sync with upstream verilog-mode revision 702457d.
1369 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1370 (create-lockfiles): Declare.
1371 (verilog-read-decls): Fix module header imports, bug709.
1372 Reported by Victor Lau.
1373 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
1374 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
9b017563 1375 interface-only modules, bug721. Reported by Dean Hoyt.
511df08c 1376
11ee65af
GM
13772014-03-26 Glenn Morris <rgm@gnu.org>
1378
b4aca021
GM
1379 * obsolete/gulp.el: Move here from emacs-lisp/.
1380
11ee65af
GM
1381 * files.el (lock-buffer, unlock-buffer, file-locked-p):
1382 Remove fallback aliases, since they are always defined now.
1383
1edb4a2e
DC
13842014-03-24 Daniel Colascione <dancol@dancol.org>
1385
1386 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
1387 instead of cl-loop search function.
1388
7a31038f
G
13892014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
1390
1391 * calendar/parse-time.el (parse-time-iso8601-regexp)
1392 (parse-iso8601-time-string): Copied from `url-dav' so that we can use
1393 it more generally.
1394
13952014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
1396
1397 * net/dns.el (network-interface-list): Define for XEmacs.
1398
13992014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
1400
1401 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
1402 the network interfaces changed.
1403 (dns-query): Use it to flush the data.
1404
835af719
JB
14052014-03-23 Juanma Barranquero <lekktu@gmail.com>
1406
1407 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
1408
6ddc4422
DC
14092014-03-23 Daniel Colascione <dancol@dancol.org>
1410
1411 Change subword-mode to use `find-word-boundary-function-table' and
1412 replace `capitalized-words-mode'. Also, convert to lexical
1413 binding.
1414
1415 * progmodes/cap-words.el: Delete now-obsolete file.
1416 * progmodes/subword.el: Reimplement using
1417 `find-word-boundary-function-table'.
1418 (subword-mode-map): Hollow out.
1419 (capitalized-words-mode): Define as obsolete alias for
1420 `subword-mode'.
9b017563 1421 (subword-mode, superword-mode): Tweak documentation to reflect new
6ddc4422 1422 implementation; call `subword-setup-buffer'.
9b017563 1423 (subword-forward, subword-capitalize): Add underscore to indicate
6ddc4422
DC
1424 unused variable.
1425 (subword-find-word-boundary-function-table): New constant.
1426 (subword-empty-char-table): New constant.
1427 (subword-setup-buffer): New function.
1428 (subword-find-word-boundary): New function.
1429
c6b0fbe7
DC
14302014-03-23 Daniel Colascione <dancol@dancol.org>
1431
1432 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
1433 list to look for keyword arguments instead of `memq', fixing
1434 (Bug#3647) --- unfortunately, only for freshly-compiled code.
1435 Please make bootstrap.
1436
5076d275
GM
14372014-03-22 Glenn Morris <rgm@gnu.org>
1438
5dbc3244
GM
1439 * dired.el (dired-read-regexp): Make obsolete.
1440 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
1441 (dired-flag-files-regexp):
1442 * dired-aux.el (dired-mark-read-regexp):
1443 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
1444
00156f95
GM
1445 * startup.el (fancy-startup-text):
1446 * help.el (describe-gnu-project): Visit online info about GNU project.
1447
f9c81e7b
GM
1448 * help-fns.el (help-fns--interactive-only): New function.
1449 (help-fns-describe-function-functions): Add the above function.
1450 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
1451 (next-line, previous-line): Remove hand-written interactive-only
1452 information from doc strings, it is auto-generated now.
1453 * bookmark.el (bookmark-write):
1454 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
1455 (epa-mail-import-keys): Mark interactive-only,
1456 and remove hand-written interactive-only information from doc strings.
1457 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
1458 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
1459 * files.el (not-modified):
1460 * simple.el (mark-whole-buffer): Mark interactive-only.
1461
5076d275
GM
1462 * emacs-lisp/byte-run.el (defun-declarations-alist):
1463 Add interactive-only. Doc tweak.
1464 (macro-declarations-alist): Doc tweak.
1465 * subr.el (declare): Doc tweak (add xref to manual).
1466 * comint.el (comint-run):
1467 * files.el (insert-file-literally, insert-file):
1468 * replace.el (replace-string, replace-regexp):
1469 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1470 (delete-forward-char, goto-line, insert-buffer, next-line)
1471 (previous-line): Set interactive-only via declare.
1472
1197f2e6
DG
14732014-03-22 Dmitry Gutov <dgutov@yandex.ru>
1474
1475 * emacs-lisp/package.el (package-desc): Use the contents of the
1476 quoted form, not its cdr. (Bug#16873)
1477
aac06179
JB
14782014-03-22 Juanma Barranquero <lekktu@gmail.com>
1479
1480 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
1481 benefit of doc.c; change parameter profile to match the X function.
1482
3e7bc044
LL
14832014-03-22 Leo Liu <sdl.web@gmail.com>
1484
1485 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
1486 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
1487
59271b3e
RS
14882014-03-21 Richard Stallman <rms@gnu.org>
1489
8266cd88
RS
1490 * battery.el (battery-linux-sysfs): Search for each field
1491 from the beginning of the buffer.
1492
16ec0742
RS
1493 * subr.el (set-transient-map): Clear out function and value
1494 of the temporary symbol when we're done with it.
1495
59271b3e
RS
1496 * mail/rmailsum.el (rmail-summary-delete-forward):
1497 Optimize case of reaching end and handling count.
1498 (rmail-summary-mark-deleted): Optimize when N is current msg.
1499 Don't create new summary line.
1500 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
1501 (rmail-summary-undelete-many): Rewrite for speed.
1502 (rmail-summary-msg-number): New function.
1503
1504 * mail/rmail.el (rmail-delete-message): Update summary.
1505 (rmail-undelete-previous-message): Handle repeat count arg.
1506 (rmail-delete-backward, rmail-delete-forward): Likewise.
1507
0d8ac93e
DC
15082014-03-21 Daniel Colascione <dancol@dancol.org>
1509
1510 * mail/emacsbug.el (report-emacs-bug): Include memory usage
1511 information in bug reports.
1512
1e92a8a3
MA
15132014-03-21 Michael Albinus <michael.albinus@gmx.de>
1514
1515 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
1516 and `tramp-copy-env'.
1517
1518 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
1519 (tramp-maybe-open-connection): Handle `tramp-login-env'.
1520
78540c42
GM
15212014-03-21 Glenn Morris <rgm@gnu.org>
1522
1523 * electric.el (electric-indent-post-self-insert-function): Add doc.
1524
1fc8f655
DG
15252014-03-21 Dmitry Gutov <dgutov@yandex.ru>
1526
dcf78667
DG
1527 * emacs-lisp/package.el (package-compute-transaction):
1528 Use `version-list-<=' to compare the requirement version against
1529 the version of package already to be installed. Update the error
1530 message. (Bug#16826)
1531
1fc8f655
DG
1532 * progmodes/ruby-mode.el (ruby-smie-rules):
1533 Add indentation rule for ` @ '. (Bug#17050)
1534
dada060d
JB
15352014-03-21 Juanma Barranquero <lekktu@gmail.com>
1536
1537 * align.el (align-regexp): Remove superfluous backslash.
1538
1539 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
1540 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
1541 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
1542 Fix docstring typos.
1543 (ffap-next): Use C-u in docstring.
1544 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
1545 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
1546 Remove superfluous backslashes.
1547 (ffap-string-at-point): Reflow docstring.
1548
1549 * server.el (server-host): Reflow docstring.
1550 (server-unload-function): Fix docstring typo.
1551 (server-eval-at): Remove superfluous backslash.
1552
1553 * skeleton.el (skeleton-insert): Remove superfluous backslash.
1554 (skeleton-insert): Doc fix.
1555 (skeleton-insert): Reflow docstring.
1556
1557 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
1558 (tty-color-approximate, tty-color-by-index, tty-color-values)
1559 (tty-color-desc): Remove superfluous backslashes.
1560
f428101f
GM
15612014-03-21 Glenn Morris <rgm@gnu.org>
1562
26e91130
GM
1563 * cus-start.el (history-length): Bump :version.
1564
aa3a7b51
GM
1565 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1566 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
1567 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1568 Don't set `make-backup-files'.
1569
f428101f
GM
1570 * info.el (info--prettify-description): New function,
1571 to give info-finder descriptions consistent case, punctuation.
1572 (Info-finder-find-node): Use it. Sort packages.
1573 Refer to "description" rather than "commentary".
1574
6ce1b56e
JB
15752014-03-21 Juanma Barranquero <lekktu@gmail.com>
1576
1577 * frameset.el (frameset--print-register): New function.
1578 (frameset-to-register): Use it.
1579
b730af26
JB
15802014-03-20 Juanma Barranquero <lekktu@gmail.com>
1581
45393801
JB
1582 * progmodes/hideif.el (hif-string-to-number): New function.
1583 (hif-tokenize): Use it to understand non-decimal floats.
1584
814e26fa
JB
1585 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
1586
b730af26
JB
1587 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
1588
6f287c89
GM
15892014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
1590
1591 * electric.el (electric-newline-and-maybe-indent): New command.
1592 Bind it globally to C-j.
1593 (electric-indent-mode): Don't mess with the global map any more.
1594 Don't drop the post-self-insert-hook is some buffer is still using it
1595 (bug#16770).
1596
1597 * bindings.el (global-map): Remove C-j binding.
1598
1599 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
1600 the docstring of functions advised before dumping (bug#16993).
1601
f15ec1ba 16022014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
6a72e405
SH
1603
1604 * ps-print.el (ps-generate-postscript-with-faces):
1605 Explicitly deactivate the mark (bug#16866).
1606 * simple.el (deactivate-mark): Update region highlight.
1607
f88bdc45
JB
16082014-03-19 Juanma Barranquero <lekktu@gmail.com>
1609
1610 * emacs-lisp/package.el (describe-package-1):
1611 Decode commentary (bug#16733).
1612
6b88e570
JB
16132014-03-18 Juanma Barranquero <lekktu@gmail.com>
1614
1615 * custom.el (defcustom): Doc fix: recommend avoiding destructive
1616 modification of the value argument of :set (bug#16755).
1617
ac9b4703
SM
16182014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1619
1620 * simple.el (newline-and-indent): Do autofill (bug#17031).
1621
2b7858ec
DG
16222014-03-18 Dmitry Gutov <dgutov@yandex.ru>
1623
1624 * newcomment.el (comment-normalize-vars): Only add escaping check
1625 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
1626 (comment-beginning): Use `narrow-to-region' instead of moving back
1627 one character.
1628 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
1629 (comment-start-skip): Update the docstring.
1630
11eff3ae
RS
16312014-03-18 Richard Stallman <rms@gnu.org>
1632
1633 * dired.el (dired-display-file): Force use of other window.
1634
07f44fdb
JB
16352014-03-18 Daniel Colascione <dancol@dancol.org>
1636
1637 * startup.el (tty-handle-args): Remove debug message from 2007.
1638
16392014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
adbfe42c
SM
1640
1641 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
1642 (advice--make-interactive-form): Use it to avoid (auto)loading function.
1643 (advice--make-1, advice-add, advice-remove):
1644 Remove braindead :advice-pending hack.
1645
61debe4a
GM
16462014-03-17 Glenn Morris <rgm@gnu.org>
1647
1648 * calendar/calendar.el (calendar-generate-month): Apply weekend
1649 face to the right days; fixes 2013-08-06 change. (Bug#17028)
1650
8273986b
MA
16512014-03-17 Michael Albinus <michael.albinus@gmx.de>
1652
1653 * net/tramp.el (tramp-action-out-of-band): Read pending output.
1654 (tramp-call-process): Trace also DESTINATION.
1655
1656 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1657 Quote file names when they are local. Remove superfluous trace.
1658
4f8aeb84
DG
16592014-03-17 Dmitry Gutov <dgutov@yandex.ru>
1660
218feefc
DG
1661 * newcomment.el (comment-beginning): If `comment-start-skip'
1662 doesn't match, move back one char and try again. (Bug#16971)
1663
6c187ef5
SM
1664 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1665 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
4f8aeb84
DG
1666 Set `comment-start-skip' to a simpler value that doesn't try to
1667 check if the semicolon is escaped (this is handled by
1668 `syntax-ppss' now). (Bug#16971)
1669
1670 * progmodes/scheme.el (scheme-mode-variables): Same.
1671
b92631bf
MR
16722014-03-16 Martin Rudalics <rudalics@gmx.at>
1673
1674 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
1675 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
1676 current (Bug#16816, Bug#17007).
1677 (with-current-buffer-window): New macro doing the same as
1678 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
1679 * help.el (help-print-return-message): Warn in doc-string to not
1680 use this in `with-help-window'.
1681 (describe-bindings-internal): Call `describe-buffer-bindings'
1682 from within help buffer. See Juanma's scenario in (Bug#16816).
1683 (with-help-window): Update doc-string.
1684 * dired.el (dired-mark-pop-up):
1685 * files.el (save-buffers-kill-emacs):
1686 * register.el (register-preview): Use `with-current-buffer-window'
1687 instead of `with-temp-buffer-window'.
1688
57348c4d
JB
16892014-03-16 Juanma Barranquero <lekktu@gmail.com>
1690
1691 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
1692 Implement inserting into current buffer, documented in their docstrings.
1693 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
1694 (rst-section-tree-point, rst-forward-section, rst-indent)
1695 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
1696 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
1697 (rst-font-lock-handle-adornment-pre-match-form)
1698 (rst-repeat-last-character): Reflow docstrings.
1699 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
1700 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
1701 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
1702 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
1703 Fix docstring typos.
1704 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
1705 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
1706 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
1707
fd16b061
JB
17082014-03-15 Juanma Barranquero <lekktu@gmail.com>
1709
a2403e3d
JB
1710 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
1711 for compatibility with other ports.
1712 (ns-initialize-window-system): Use it. It is set in term/common-win.el
1713 from the -xrm command line argument, but in the Nextstep port its value
1714 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
1715
fd16b061
JB
1716 * progmodes/python.el (defconst, python-syntax-count-quotes)
1717 (python-indent-region, python-indent-shift-right)
1718 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
1719 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
1720 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
1721 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
1722 (inferior-python-mode, python-shell-make-comint, run-python-internal)
1723 (python-shell-buffer-substring, python-shell-send-buffer)
1724 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
1725 (python-completion-complete-at-point, python-fill-docstring-style)
1726 (python-eldoc-function, python-imenu-format-item-label)
1727 (python-imenu-format-parent-item-label)
1728 (python-imenu-format-parent-item-jump-label)
1729 (python-imenu--build-tree, python-imenu-create-index)
1730 (python-imenu-create-flat-index): Fix docstring typos.
1731 (python-indent-context, python-shell-prompt-regexp, run-python):
1732 Remove superfluous backslashes.
1733 (python-indent-line, python-nav-beginning-of-defun)
1734 (python-shell-get-buffer, python-shell-get-process)
1735 (python-info-current-defun, python-info-current-line-comment-p)
1736 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
1737 (python-indent-post-self-insert-function, python-shell-send-file)
1738 (python-shell-completion-get-completions)
1739 (python-shell-completion-complete-or-indent)
1740 (python-eldoc--get-doc-at-point): Reflow docstrings.
1741
e94807f0
GM
17422014-03-14 Glenn Morris <rgm@gnu.org>
1743
88103345
GM
1744 * emacs-lisp/package.el (package-menu-mode-map):
1745 Replace use of obsolete function alias. Tweak menu item text.
1746
f2dd4ba8
GM
1747 * info.el (Info-finder-find-node):
1748 Ignore the `emacs' metapackage. (Bug#10813)
1749
ac0f82ef
GM
1750 * finder.el (finder-list-matches): Include unversioned packages
1751 in the result of a keyword search.
1752
e94807f0
GM
1753 * finder.el (finder--builtins-descriptions): New constant.
1754 (finder-compile-keywords): Use finder--builtins-descriptions.
1755
50d434d1
DG
17562014-03-14 Dmitry Gutov <dgutov@yandex.ru>
1757
1758 * simple.el (blink-matching-paren): Describe the new value,
1759 `jump', enabling the old behavior.
1760 (blink-matching-open): Use that value. (Bug#17008)
1761
56759cf1
GM
17622014-03-14 Glenn Morris <rgm@gnu.org>
1763
459d74ef
GM
1764 * finder.el (finder-no-scan-regexp): Add leim-list.
1765 (finder-compile-keywords):
1766 Don't skip files with same basename. (Bug#14010)
1767 * Makefile.in (setwins_finder): New, excluding leim.
1768 (finder-data): Use setwins_finder.
1769
56759cf1
GM
1770 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
1771 (help-function-arglist, help-make-usage): Move from here...
1772 * help.el (help-split-fundoc, help-add-fundoc-usage)
1773 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
1774 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
1775
7644aa97
JB
17762014-03-14 Juanma Barranquero <lekktu@gmail.com>
1777
1778 * net/socks.el (socks, socks-override-functions)
fd16b061 1779 (socks-find-services-entry):
7644aa97
JB
1780 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
1781 (hif-find-ifdef-block):
1782 * progmodes/modula2.el (m2-indent): Fix docstring typos.
1783
1784 * net/tls.el (tls-program): Reflow docstring.
1785
1786 * progmodes/pascal.el (pascal-mode-abbrev-table)
1787 (pascal-imenu-generic-expression, pascal-auto-endcomments)
1788 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
1789 (pascal-outline-mode): Fix docstring typos.
1790 (pascal-mode): Let define-derived-mode document mode hook.
1791 (pascal-uncomment-area): Reflow.
1792 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
1793
1794 * progmodes/opascal.el (opascal-compound-block-indent)
1795 (opascal-case-label-indent): Fix docstring typos.
1796 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
1797
1f44df94
DG
17982014-03-13 Dmitry Gutov <dgutov@yandex.ru>
1799
07f44fdb
JB
1800 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1801 Fontify multiple adjacent negation chars. (Bug#17004)
1f44df94 1802
0d71dfb3
TW
18032014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
1804
1805 * emacs-lisp/package.el (package--prepare-dependencies):
1806 Accept requirements without explicit version (bug#14941).
1807
d27a1a7b
JB
18082014-03-12 Juanma Barranquero <lekktu@gmail.com>
1809
a5765a3d
JB
1810 * register.el (register-separator, copy-to-register): Doc fixes.
1811 (register-preview-default): Remove unnecessary call to concat.
1812
d27a1a7b
JB
1813 * frameset.el (frameset-restore): When checking for a visible frame,
1814 use the action map instead of calling visible-frame-list.
1815
08dfa0b7
JB
18162014-03-12 Jonas Bernoulli <jonas@bernoul.li>
1817
1818 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
1819
8960529e
MR
18202014-03-12 Martin Rudalics <rudalics@gmx.at>
1821
1822 * window.el (fit-frame-to-buffer): Get maximum width from
1823 display's width instead of height.
1824
8a51e8e4
GM
18252014-03-12 Glenn Morris <rgm@gnu.org>
1826
46456005
GM
1827 * desktop.el (desktop-restore-frames)
1828 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
1829 (desktop-restore-reuses-frames): Doc tweaks.
1830
8a51e8e4
GM
1831 * electric.el (electric-indent-mode): Doc fix.
1832
5983b317
JB
18332014-03-12 Juanma Barranquero <lekktu@gmail.com>
1834
1835 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
1836 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
1837 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
1838 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
1839 (cvs-dired-use-hook): Fix docstring typos.
1840 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
1841 Doc fixes.
1842
1843 * vc/pcvs-defs.el (cvs-auto-remove-handled)
1844 (cvs-auto-remove-directories, cvs-default-ignore-marks)
1845 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
1846 (cvs-execute-single-dir): Fix docstring typos.
1847
1848 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
1849 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
1850
1851 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
1852
1853 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
1854 Fix docstring typos.
1855
13c00cf0
JB
18562014-03-12 Juanma Barranquero <lekktu@gmail.com>
1857
1858 * frameset.el (frameset--jump-to-register): Add autoload; it could be
1859 called from jump-to-register after unloading the frameset package.
1860
536a17e3
SM
18612014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1862
1863 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
1864 (bug#16975). Deactivate the mark before setting it to nil.
1865 (activate-mark): Do nothing if region is already active.
1866
baf8d0ac
JB
18672014-03-11 Juanma Barranquero <lekktu@gmail.com>
1868
1869 * frameset.el (frameset--target-display): Remove definition; declare.
1870 (frameset-save, frameset-restore): Let-bind frameset--target-display.
1871
1ea22560
SM
18722014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1873
1874 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
1875 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
1876 when the advice is pending.
1877 (advice-remove): Remove this marker when not needed any more.
1878
4538c058
JB
18792014-03-11 Juanma Barranquero <lekktu@gmail.com>
1880
1881 * frameset.el: Separate options for reusing frames and cleaning up.
1882 (frameset--reuse-list): Remove definition; declare.
1883 (frameset--action-map): Declare.
1884 (frameset--find-frame-if): Doc fix.
1885 (frameset--restore-frame): Cache frame action.
1886 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
1887 how to clean up the frame list after restoring. Remove cleaning
1888 options from REUSE-FRAMES. Change all keyword values to symbols.
1889 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
1890
1891 * desktop.el (desktop-restore-forces-onscreen)
1892 (desktop-restore-reuses-frames): Use non-keyword values.
1893 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
1894
ba1a5c78
GM
18952014-03-10 Glenn Morris <rgm@gnu.org>
1896
776aa432
GM
1897 * files.el (find-file): Doc fix: update info node name.
1898
ba1a5c78
GM
1899 * emacs-lisp/advice.el (ad-add-advice, defadvice):
1900 Doc fix: remove references to deleted info nodes.
1901
183d706e
MA
19022014-03-10 Michael Albinus <michael.albinus@gmx.de>
1903
1904 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
1905 Do not add `nil' to the environment, when there's no remote `locale'.
1906 (tramp-find-inline-encoding): Check, that the remote host has
1907 installed perl, before sending scripts.
1908
6f0f96e7
LL
19092014-03-10 Leo Liu <sdl.web@gmail.com>
1910
536a17e3
SM
1911 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1912 Clear eldoc-last-message. (Bug#16920)
6f0f96e7 1913
ca70fe78
SM
19142014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
1915
1916 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
1917 (bug#14430).
1918
eb67db41
JL
19192014-03-09 Juri Linkov <juri@jurta.org>
1920
1921 * ansi-color.el (ansi-color-names-vector): Copy default colors
1922 from `xterm-standard-colors' that look well on the default white
1923 background (and also on the black background) to avoid illegible
8cf07e5a 1924 color combinations like yellow-on-white and white-on-white.
eb67db41
JL
1925 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
1926
e7db5447
JB
19272014-03-08 Juanma Barranquero <lekktu@gmail.com>
1928
1929 * frameset.el (frameset-restore): When no frame is visible, do not
1930 generate a list of frames, just make visible the selected one.
1931
f0a4c8d7
DG
19322014-03-08 Dmitry Gutov <dgutov@yandex.ru>
1933
1934 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
1935 it only contains the repository root. (Bug#16897)
1936
e50772e3
MA
19372014-03-07 Michael Albinus <michael.albinus@gmx.de>
1938
1939 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
1940 only when `remote-file-name-inhibit-cache' is nil.
1941 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
1942
cac0a1d6
MR
19432014-03-06 Martin Rudalics <rudalics@gmx.at>
1944
1945 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
1946 Fix doc-strings.
1947 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
1948 fit-frame-to-buffer variable. Fix doc-string.
1949 (fit-window-to-buffer): Set ONLY argument in call of
1950 fit-frame-to-buffer. Fix doc-string.
1951
fa965cbf
MA
19522014-03-06 Michael Albinus <michael.albinus@gmx.de>
1953
1954 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
1955 (tramp-action-password): Clear password cache if needed.
1956 (tramp-read-passwd): Do not clear password cache.
1957
1958 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
1959 cache unless it is the first password request.
1960
c94e6ee4
GM
19612014-03-06 Glenn Morris <rgm@gnu.org>
1962
03bc753e
GM
1963 * simple.el (newline): Doc tweak.
1964
c94e6ee4
GM
1965 * emacs-lisp/shadow.el (load-path-shadows-find):
1966 Ignore dir-locals. (Bug#12357)
1967
bd2d43dc
GM
19682014-03-05 Glenn Morris <rgm@gnu.org>
1969
1970 * files.el (interpreter-mode-alist):
1971 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
1972
9284000e
JB
19732014-03-05 Juanma Barranquero <lekktu@gmail.com>
1974
1975 * frameset.el (frameset--initial-params): Filter out null entries.
1976
e1a2cb1c
MR
19772014-03-05 Martin Rudalics <rudalics@gmx.at>
1978
27821a89
JB
1979 * window.el (window-min-height, window-min-width):
1980 Rewrite doc-strings.
e1a2cb1c
MR
1981 (window-body-size): Add PIXELWISE argument to make it consistent
1982 with its callees.
1983
6bf67038
JB
19842014-03-05 Juanma Barranquero <lekktu@gmail.com>
1985
1986 * finder.el (finder-mode-map, finder-mode-syntax-table):
1987 Revert part of 2014-02-28 change.
1988
90f04e4c
LI
19892014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
1990
1991 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
1992 (eww-setup-buffer): Clear next/prev/etc more reliably.
27821a89
JB
1993 (eww-textarea-map): [tab] doesn't work on tty.
1994 Reported by Mario Lang.
6952100d
LI
1995
1996 * net/shr.el (shr-map): Ditto.
90f04e4c 1997
3106d59b
GM
19982014-03-04 Glenn Morris <rgm@gnu.org>
1999
2000 * minibuffer.el (completion-hilit-commonality):
2001 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
2002
f604dfdc
JB
20032014-03-04 Juanma Barranquero <lekktu@gmail.com>
2004
2005 * hilit-chg.el (hilit-chg-unload-function): New function.
2006 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
2007 (hilit-chg-map-changes): Prefer cardinal number to digit.
2008 (hilit-chg-display-changes): Reflow docstring.
2009 (highlight-changes-rotate-faces): Remove superfluous backslash.
2010
5dc65319
MA
20112014-03-04 Michael Albinus <michael.albinus@gmx.de>
2012
2013 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
2014 `tramp-send-command-and-check'.
2015
4242d21d
JB
20162014-03-04 Juanma Barranquero <lekktu@gmail.com>
2017
b01fa838
JB
2018 * hexl.el (hexl-address-region, hexl-ascii-region)
2019 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
2020 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
2021 (hexl-forward-word, hexl-previous-line, hexl-next-line):
2022 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
2023 (hexl-mode): Doc fix.
2024 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
2025 (hexl-mode-ruler): Fix typos in docstrings.
2026
4242d21d
JB
2027 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
2028 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
2029 Remove superfluous backslashes.
2030 (strokes-last-stroke, strokes-global-map, strokes-mode):
2031 Reflow docstrings.
2032 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
2033 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
2034 (strokes-distance-squared, strokes-global-set-stroke)
2035 (strokes-global-set-stroke-string): Doc fixes.
2036 (strokes-help): Fix typos; reflow docstring.
2037
87132570
MR
20382014-03-04 Martin Rudalics <rudalics@gmx.at>
2039
2040 * window.el (window-in-direction): Fix doc-string.
2041
d82e752c
GM
20422014-03-04 Glenn Morris <rgm@gnu.org>
2043
2044 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
2045 Explicit error if no grammar.
2046 (smie-config-save): Doc fix. Fix quote typo.
2047
62528af0
SM
20482014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
2049
8d4901dc
SM
2050 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
2051 electric-indent-mode-hook if we obey electric-indent-mode.
2052 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
2053 decide whether we obey electric-indent-mode.
2054 (c-change-set-fl-decl-start, c-extend-after-change-region):
2055 Silence warnings.
2056 (c-electric-indent-mode-hook): Assume we do want to obey
2057 electric-indent-mode.
2058
2059 * electric.el (electric-indent-mode-has-been-called): Remove.
2060 (electric-indent-mode): Fix accordingly.
2061
092c12b2
SM
2062 * files.el (hack-local-variables): Mention file name in warning.
2063
62528af0
SM
2064 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
2065
5b87d0d9
MN
20662014-03-04 Michal Nazarewicz <mina86@mina86.com>
2067
20f39add 2068 * bindings.el: Add comment describing why C-d binds to `delete-char'.
5b87d0d9
MN
2069 * simple.el (delete-forward-char): Mark as interactive-only.
2070
542a3840
JB
20712014-03-03 Juanma Barranquero <lekktu@gmail.com>
2072
f2d2402e
GM
2073 * icomplete.el (icomplete-completions):
2074 Follow-up to 2014-03-01 change.
d11320e5
JB
2075
2076 * icomplete.el: Miscellaneous doc fixes.
2077 Use Icomplete everywhere instead of icomplete for consistency.
2078 (icomplete-max-delay-chars): Fix typo.
2079 (icomplete-mode): Use \[].
2080 (icomplete-tidy, icomplete-exhibit): Reflow.
2081 (icomplete-minibuffer-setup-hook, icomplete-completions):
2082 Remove superfluous backlashes.
2083
2084 * ido.el: Miscellaneous doc fixes.
2085 Use Ido everywhere instead of ido or `ido' for consistency.
2086 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
2087 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
2088 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
2089 (ido-separator): Extract obsolescence info from docstring and declare
2090 with make-obsolete-variable.
2091 (ido-minibuffer-setup-hook): Simplify example.
2092 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
2093 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
2094 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
2095 (ido-everywhere): Reflow docstring.
2096 (ido-toggle-vc): Doc fix.
2097 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
2098 of long list of keybindings.
2099
7ebd57e9
GM
21002014-03-03 Glenn Morris <rgm@gnu.org>
2101
2102 * frame.el (display-pixel-height, display-pixel-width)
2103 (display-mm-dimensions-alist, display-mm-height)
2104 (display-mm-width): Doc tweaks.
2105
35e951cd 21062014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
e3d090b4
BR
2107
2108 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
2109 case of undo in region.
2110
b923819c
MR
21112014-03-02 Martin Rudalics <rudalics@gmx.at>
2112
2113 * window.el (fit-window-to-buffer): Fix argument in window-size
2114 call when window is horizontally combined.
2115
b6e443c5
JB
21162014-03-02 Juanma Barranquero <lekktu@gmail.com>
2117
2118 * icomplete.el (icomplete-completions): Use string-width.
35e951cd 2119 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
b6e443c5 2120
1850913d
DG
21212014-03-01 Dmitry Gutov <dgutov@yandex.ru>
2122
35e951cd
JB
2123 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2124 Highlight regexp options. (Bug#16914)
1850913d 2125
04b577b6
MR
21262014-03-01 Martin Rudalics <rudalics@gmx.at>
2127
2128 * window.el (window--max-delta-1): Round down when calculating
2129 how many lines/columns we can get from a window.
2130
b829360f
GM
21312014-03-01 Glenn Morris <rgm@gnu.org>
2132
2501c912
GM
2133 * isearch.el (search-invisible): Doc fix.
2134
b829360f
GM
2135 * minibuffer.el (completion-hilit-commonality):
2136 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
2137 * comint.el (comint-dynamic-list-completions): Doc fix.
2138 * comint.el (comint-dynamic-list-completions):
2139 * filecache.el (file-cache-minibuffer-complete):
2140 * tempo.el (tempo-display-completions):
2141 * eshell/em-hist.el (eshell-list-history):
2142 Replace use of obsolete argument of display-completion-list.
2143
9a155058
JB
21442014-03-01 Juanma Barranquero <lekktu@gmail.com>
2145
2146 * icomplete.el (icomplete-completions):
2147 Revert back to using "..." when ?… cannot be displayed.
2148
53f6cda8
JB
21492014-02-28 Juanma Barranquero <lekktu@gmail.com>
2150
2151 * finder.el (finder-unload-function): New function.
2152
43977c23
JB
21532014-02-28 Juanma Barranquero <lekktu@gmail.com>
2154
2155 * dframe.el (dframe-detach):
2156 * find-dired.el (find-dired, find-name-dired):
2157 * finder.el (finder-mode-map, finder-mode-syntax-table)
2158 (finder-headmark, finder-select, finder-mouse-select):
2159 Fix docstring typos.
2160
9dda75ad
MR
21612014-02-28 Martin Rudalics <rudalics@gmx.at>
2162
2163 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
27821a89
JB
2164 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
2165 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
2166 Fix doc-string based on a suggestion by Nicolas Richard
2167 <theonewiththeevillook@yahoo.fr>.
9dda75ad
MR
2168 * help.el (with-help-window): Fix doc-string.
2169
8a73034e
IK
21702014-02-28 Ivan Kanis <ivan@kanis.fr>
2171
b70257b0
GM
2172 * net/shr.el (shr-image-animate): New option.
2173 (shr-put-image): Respect shr-image-animate.
8a73034e 2174
245aa73e
MA
21752014-02-28 Michael Albinus <michael.albinus@gmx.de>
2176
2177 * net/tramp-adb.el (tramp-adb-parse-device-names):
2178 Use `accept-process-output'.
2179 (tramp-adb-handle-file-truename): Cache the localname only.
2180 (tramp-adb-handle-make-directory)
2181 (tramp-adb-handle-delete-directory): Flush file properties correctly.
2182 (tramp-adb-handle-set-file-modes): Do not raise an error when file
2183 modes cannot be changed.
2184
2185 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
2186 file properties of symlinks.
2187
48e15d64
PS
21882014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
2189
2190 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
2191 required/optional fields to match development biblatex. (Bug#16781)
2192
65b77347
AS
21932014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
2194
2195 * saveplace.el (toggle-save-place):
2196 Fix argument handling. (Bug#16673)
2197
5e618aba
GM
21982014-02-28 Glenn Morris <rgm@gnu.org>
2199
2200 * minibuffer.el (completions-first-difference)
2201 (completions-common-part, completion-hilit-commonality): Doc fixes.
2202
6deb314e
KB
22032014-02-28 Karl Berry <karl@gnu.org>
2204
2205 * info.el (Info-mode-map): Add H for describe-mode,
2206 to synchronize with standalone Info.
2207
289996f5
EL
22082014-02-28 Emilio C. Lopes <eclig@gmx.net>
2209
2210 * progmodes/sql.el (sql-interactive-mode):
2211 Avoid setting global comint-input-ring-separator. (Bug#16814)
2212
79fc1191
MA
22132014-02-27 Michael Albinus <michael.albinus@gmx.de>
2214
2215 * net/dbus.el (dbus--init-bus): Declare function.
2216 (dbus-path-local, dbus-interface-local): New defconst.
2217 (dbus-init-bus): Use them.
2218 (dbus-return-values-table): Extend doc.
2219 (dbus-handle-bus-disconnect): Extend error message.
2220
298520df
JB
22212014-02-27 Juanma Barranquero <lekktu@gmail.com>
2222
2223 * subr.el (y-or-n-p): Fix double space issue in message.
2224
c22c1614
MA
22252014-02-27 Michael Albinus <michael.albinus@gmx.de>
2226
2227 * net/tramp.el (tramp-call-process): Improve trace message.
2228 (tramp-handle-insert-file-contents): Trace error case.
2229
2230 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
2231 <insert-directory>: Use `tramp-handle-insert-directory'.
2232 (tramp-adb-handle-insert-directory): Remove function.
2233 (tramp-adb-send-command-and-check): New defun, replacing
2234 `tramp-adb-command-exit-status'. Change all callees.
2235 (tramp-adb-handle-file-attributes)
2236 (tramp-adb-handle-directory-files-and-attributes): Use it.
35e951cd
JB
2237 (tramp-adb-ls-output-name-less-p):
2238 Use `directory-listing-before-filename-regexp'.
c22c1614
MA
2239 (tramp-adb-handle-delete-directory): Flush also file properties of
2240 the truename of directory.
2241 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
2242 (tramp-adb-handle-file-local-copy): Make the local copy readable.
2243 (tramp-adb-handle-write-region): Implement APPEND.
2244 (tramp-adb-handle-rename-file): Make it more robust. Flush file
2245 properties correctly.
2246 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
2247 variables. Check for connected devices only when needed.
2248
d9263618
GM
22492014-02-27 Glenn Morris <rgm@gnu.org>
2250
ea7826ba
GM
2251 * minibuffer.el (completion-table-dynamic)
2252 (completion-table-with-cache): Doc fixes.
2253
d9263618
GM
2254 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
2255 (completing-read-multiple): Doc fixes.
2256
eff3168a
DC
22572014-02-27 Daniel Colascione <dancol@dancol.org>
2258
51f213c3
DC
2259 * minibuffer.el (completion--nth-completion): Fix indentation.
2260
eff3168a
DC
2261 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
2262 explicit tramp path is empty.
2263
b77cfcd7
GM
22642014-02-27 Glenn Morris <rgm@gnu.org>
2265
2266 * emacs-lisp/crm.el (completing-read-multiple):
2267 Empower help-enable-auto-load.
2268
9577b569
GM
22692014-02-26 Glenn Morris <rgm@gnu.org>
2270
259887e8
GM
2271 * startup.el (command-line): Don't init the tty in daemon mode.
2272
1d491ef2
GM
2273 Avoid calling tty-setup-hook twice, eg if a term file
2274 explicitly calls tty-run-terminal-initialization. (Bug#16859)
2275 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
2276 (tty-create-frame-with-faces): Use it.
2277 * startup.el (command-line): Pass run-hook argument
2278 to tty-run-terminal-initialization.
2279
9577b569
GM
2280 * dired.el (dired-restore-desktop-buffer): Demote errors;
2281 eg in case a glob match fails. (Bug#16884)
2282
40ff7f86
DG
22832014-02-26 Dmitry Gutov <dgutov@yandex.ru>
2284
b2388336
DG
2285 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
2286 error from `read-from-string'. (Bug#16850)
2287
40ff7f86
DG
2288 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
2289 result of `completing-read' in the interactive form. (Bug#16854)
2290
98bd6b32
GM
22912014-02-25 Glenn Morris <rgm@gnu.org>
2292
f086804c
GM
2293 * image.el (image-animate, image-animate-timeout):
2294 Stop animating images in dead buffers. (Bug#16878)
2295
c107155e
GM
2296 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
2297
9577b569
GM
2298 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
2299 Doc fixes.
98bd6b32
GM
2300 * startup.el (term-setup-hook): Doc fix. Make obsolete.
2301 * term/sun.el (sun-raw-prefix-hooks):
2302 Use tty-setup-hook instead of term-setup-hook.
2303 (terminal-init-sun): Construct message from bytecomp plist.
2304 * term/wyse50.el (enable-arrow-keys): Doc fix.
2305
9c9e18e8
JB
23062014-02-24 Juanma Barranquero <lekktu@gmail.com>
2307
2308 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
2309 Fix docstring typos.
2310
c848881f
MA
23112014-02-24 Michael Albinus <michael.albinus@gmx.de>
2312
2313 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
2314
0e38ae05
NR
23152014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2316
2317 * minibuffer.el (completion--try-word-completion):
2318 Fix error when completing M-x commands (bug#16808).
2319
8ee4c296
LL
23202014-02-24 Leo Liu <sdl.web@gmail.com>
2321
2322 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
2323
7d4bd627
JB
23242014-02-24 Juanma Barranquero <lekktu@gmail.com>
2325
2326 * apropos.el (apropos-print): Avoid formatting error when
2327 apropos-do-all and apropos-compact-layout are both t.
2328
e918e27f
JB
23292014-02-23 Juanma Barranquero <lekktu@gmail.com>
2330
2331 * apropos.el (apropos-property, apropos-all-words-regexp)
2332 (apropos-true-hit, apropos-variable, apropos-print):
2333 Fix docstring typos, and remove obsolete comment.
2334
85c01f80
MA
23352014-02-23 Michael Albinus <michael.albinus@gmx.de>
2336
2337 * net/tramp-sh.el (tramp-sh-handle-file-truename):
2338 Preserve trailing "/". (Bug#16851)
2339
62f95022
DG
23402014-02-23 Dmitry Gutov <dgutov@yandex.ru>
2341
2342 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
2343 after `=>' (bug#16811).
dfdb365c
DG
2344 (ruby-smie-rules): Handle the inconsistent second element of the
2345 list returned by `smie-indent--parent'.
2346 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
2347 method call.
62f95022 2348
025f2c81
JB
23492014-02-23 Juanma Barranquero <lekktu@gmail.com>
2350
2351 * elec-pair.el (electric-pair-text-syntax-table)
2352 (electric-pair-syntax-info, electric-pair--syntax-ppss)
2353 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
2354 (electric-pair--looking-at-unterminated-string-p): Doc fix.
2355 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
2356
123c84f9
GM
23572014-02-22 Glenn Morris <rgm@gnu.org>
2358
612c3e46
GM
2359 * imenu.el (imenu--generic-function): Doc fix.
2360
123c84f9
GM
2361 * register.el (frame-configuration-to-register): Make obsolete.
2362
e59fa9ad
JB
23632014-02-22 Juanma Barranquero <lekktu@gmail.com>
2364
2365 * desktop.el (desktop-save-buffer-p): Do not fail when
2366 desktop-files-not-to-save is nil. Return t for true result
2367 as the doc says.
2368
4e652634
DC
23692014-02-22 Daniel Colascione <dancol@dancol.org>
2370
27821a89 2371 * net/secrets.el (secrets-create-item, secrets-search-items):
35e951cd
JB
2372 Check that attribute values are strings, avoiding the construction
2373 of invalid dbus messages.
4e652634 2374
f35affb6
JB
23752014-02-21 Juanma Barranquero <lekktu@gmail.com>
2376
2377 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
2378 defun-declarations-alist.
2379
3d136b1b
SM
23802014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
2381
2382 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
2383 (bug#16829).
2384
612ddfc0
JB
23852014-02-21 Juanma Barranquero <lekktu@gmail.com>
2386
2387 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
2388 (whitespace-newline, whitespace-trailing, whitespace-line)
2389 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
2390 (whitespace-space-after-tab): Fix typo in docstrings.
2391
c8481b1b
DG
23922014-02-21 Dmitry Gutov <dgutov@yandex.ru>
2393
cb8f50a7
DG
2394 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
2395
c8481b1b
DG
2396 * electric.el (electric-indent-functions-without-reindent):
2397 Add `yaml-indent-line'.
2398
bed5126f
JB
23992014-02-21 Juanma Barranquero <lekktu@gmail.com>
2400
34b71457
JB
2401 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
2402 It has done nothing for years; should be removed after the release.
2403
bed5126f
JB
2404 * simple.el (choose-completion): Fix docstring typo.
2405 (read-quoted-char-radix): Remove unneeded * in docstring.
2406 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
2407 Don't escape parentheses unnecessarily in docstrings.
2408
8dd3e94f
MR
24092014-02-21 Martin Rudalics <rudalics@gmx.at>
2410
2411 Fix handling of window-min-height/-width (Bug#16738).
3d136b1b
SM
2412 * window.el (window--dump-window, window--dump-frame):
2413 New functions.
2414 (window--min-size-1): Account for window dividers.
2415 When window-resize-pixelwise is nil, delay rounding till after the
8dd3e94f
MR
2416 sum of the window components has been calculated.
2417 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
2418 nil make sure at least one text line and two text columns remain
2419 fully visible.
2420 (window-resize): Signal an error when window-resize-apply fails.
2421 (window--resize-child-windows): Fix calculation of by how many
2422 pixels a window can still be shrunk via window-new-normal.
2423 (adjust-window-trailing-edge): Call window--resizable with
2424 correct TRAIL argument.
2425
2ed94e04
MR
2426 (with-temp-buffer-window): Don't evaluate BODY within
2427 with-current-buffer (Bug#16816).
2428
0e5324c4
MA
24292014-02-21 Michael Albinus <michael.albinus@gmx.de>
2430
2431 * net/tramp.el (tramp-check-cached-permissions):
2432 Call `file-attributes' with `suffix' being a symbol but a string.
2433
48198420
DC
24342014-02-21 Daniel Colascione <dancol@dancol.org>
2435
2436 * net/dbus.el (dbus-init-bus-1): Declare new subr.
2437 (dbus-init-bus): New function: call into dbus-init-bus-1
2438 and installs a handler for the disconnect signal.
2439 (dbus-call-method): Rewrite to look for result in cons.
2440 (dbus-call-method-handler): Store result in cons.
2441 (dbus-check-event): Recognize events with nil sender as valid.
2442 (dbus-handle-bus-disconnect): New function. React to bus
2443 disconnection signal by synthesizing dbus error for each
2444 pending synchronous or asynchronous call.
2445 (dbus-notice-synchronous-call-errors): New function.
2446 (dbus-handle-event): Raise errors directly only when `dbus-debug'
2447 is true, not all the time.
2448
99e15133
JB
24492014-02-21 Juanma Barranquero <lekktu@gmail.com>
2450
e48983a6
JB
2451 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
2452 Remove obsolescence declarations, these variables do not exist anymore.
2453
fdcfd745
JB
2454 * savehist.el (savehist-save-minibuffer-history)
2455 (savehist-additional-variables, savehist-file, savehist-mode-hook)
2456 (savehist-save-hook, savehist-coding-system, savehist-loaded)
2457 (savehist-load, savehist-install, savehist-autosave): Fix typos;
2458 mostly, refer to "Savehist mode" when talking about the mode,
2459 and not the function.
2460
99e15133
JB
2461 * saveplace.el (save-place): Remove redundant info in docstring.
2462 (save-place-forget-unreadable-files, toggle-save-place)
2463 (save-place-forget-unreadable-files, save-place-dired-hook):
2464 Fix typos and remove unneeded backslashes.
2465
f5bee33b
MA
24662014-02-20 Michael Albinus <michael.albinus@gmx.de>
2467
2468 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
2469 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
2470
2471 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
85c01f80 2472 <insert-directory>: Use `tramp-handle-insert-directory'.
f5bee33b
MA
2473 (tramp-gvfs-handle-insert-directory): Remove function.
2474
2475 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2476 Call `tramp-handle-insert-directory'.
2477
ee0761ca
JB
24782014-02-20 Juanma Barranquero <lekktu@gmail.com>
2479
2480 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
2481 before the start of buffer/region (bug#16799).
2482
4d49cc65
GM
24832014-02-20 Glenn Morris <rgm@gnu.org>
2484
2485 * isearch.el (search-invisible): Doc fix.
2486
eee0d650
TK
24872014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
2488
2489 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
2490 (bug#16657).
2491
94e5e202
JB
24922014-02-19 Juanma Barranquero <lekktu@gmail.com>
2493
2494 * frameset.el (frameset-restore): Delay removing an old frame's
2495 duplicate id until the new frame has been correctly created.
2496
50bfdd5d
MA
24972014-02-19 Michael Albinus <michael.albinus@gmx.de>
2498
2499 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
2500 (tramp-check-cached-permissions): Call `file-attributes' if the
2501 cache is empty.
2502
2503 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
afe1e4c8 2504 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
50bfdd5d
MA
2505
2506 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
afe1e4c8 2507 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
50bfdd5d
MA
2508 (tramp-gvfs-maybe-open-connection): Set always connection
2509 properties, even if target is mounted already.
2510
2511 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
2512 Set tramp-autoload cookie.
2513 (tramp-get-remote-touch): New defun.
2514 (tramp-sh-handle-set-file-times): Use it.
2515 (tramp-sh-handle-directory-files-and-attributes):
2516 Use `tramp-handle-directory-files-and-attributes' if neither stat
2517 nor perl are available on the remote host.
2518
2519 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
2520 "/". Write long listing only when "l" belongs to the switches.
2521
2522 * net/trampver.el: Update release number.
2523
f097a3d2
JB
25242014-02-19 Juanma Barranquero <lekktu@gmail.com>
2525
2526 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
2527
8e009b78
MR
25282014-02-19 Martin Rudalics <rudalics@gmx.at>
2529
2530 * window.el (window-state-put): Allow WINDOW to refer to an
2531 internal window (Bug#16793).
2532
95160c90
GM
25332014-02-19 Glenn Morris <rgm@gnu.org>
2534
2535 * textmodes/remember.el: Move provide statement to end.
2536 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
2537 (remember-notes): Doc fixes.
2538
b28df58c
SM
25392014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
2540
2541 * delsel.el (delete-char): Restore incorrectly erased property
2542 (bug#16795).
2543
7108e1c0
JB
25442014-02-18 Juanma Barranquero <lekktu@gmail.com>
2545
2546 * frameset.el (frameset--restore-frame): When a frame is being reused
2547 and its root window is not alive, delete all the frame's windows before
2548 restoring the window state. This works around the issue in bug#16793.
2549
c863b6ad
GM
25502014-02-18 Glenn Morris <rgm@gnu.org>
2551
a73fae1f
GM
2552 * textmodes/remember.el (remember-data-directory)
2553 (remember-directory-file-name-format, remember-store-in-files)
2554 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
2555 (remember-notes-save-and-bury-buffer)
2556 (remember-notes--kill-buffer-query): Doc fixes.
2557
c863b6ad
GM
2558 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
2559
29238d28
AM
25602014-02-17 Alan Mackenzie <acm@muc.de>
2561
2562 Connect electric-indent-mode up with CC Mode. Bug #15478.
b28df58c 2563 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
29238d28 2564 to electric-indent-{,local-}-mode.
b28df58c
SM
2565 (c-basic-common-init): Set electric-indent-inhibit.
2566 Initialise c-electric-flag from electric-indent-mode.
29238d28 2567 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
b28df58c 2568 New hook functions which propagate electric-indent-mode to CC mode.
29238d28
AM
2569
2570 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
b28df58c 2571 hit, toggle electric-indent-local-mode.
29238d28 2572
b28df58c
SM
2573 * electric.el (electric-indent-mode-has-been-called):
2574 New variable.
29238d28 2575
c6463340
JB
25762014-02-17 Juanma Barranquero <lekktu@gmail.com>
2577
2578 * frameset.el (frameset-cfg-id): New function.
2579 (frameset--reuse-frame, frameset-restore): Use it.
2580 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
2581
94912b88
SM
25822014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
2583
2584 * ido.el (ido-file-internal): Remove unused var `d'.
2585 Use \` for to match BoS. Fit within 80n columns.
2586
26ea164c
DC
25872014-02-17 Daniel Colascione <dancol@dancol.org>
2588
2589 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
2590 dbus-call-method check for completion using a busy-wait loop with
2591 gradual backoff.
2592
589d1988 25932014-02-16 Michael Albinus <michael.albinus@gmx.de>
dd7691b7
MA
2594
2595 Sync with Tramp 2.2.9.
2596
2597 * net/trampver.el: Update release number.
2598
17d1b51b
DG
25992014-02-16 Dmitry Gutov <dgutov@yandex.ru>
2600
2601 * ido.el (ido-file-internal): Don't add the name of an existing
2602 directory twice. (Bug#16747)
2603
5bcad689
GM
26042014-02-16 Glenn Morris <rgm@gnu.org>
2605
2606 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
2607 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
2608
26092014-02-15 Michael R. Mauger <michael@mauger.com>
9b0c01f7
MM
2610
2611 * progmodes/sql.el: Version 3.4
2612 (sql-oracle-options): New default value ("-L").
94912b88 2613 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
9b0c01f7 2614 (sql-placeholders-filter): Correct placeholder pattern.
35e951cd 2615 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
9b0c01f7
MM
2616 (sql-login-delay): New variable.
2617 (sql-product-interactive): Use it.
2618
285f1858
JB
26192014-02-15 Juanma Barranquero <lekktu@gmail.com>
2620
2621 * frameset.el (frameset--jump-to-register): Check that buffer is live
2622 (bug#16749).
2623
5d645ea4
GM
26242014-02-15 Glenn Morris <rgm@gnu.org>
2625
2626 * info.el (info-initialize): Revert 2014-01-10 change.
2627
48c4f9b1
GM
26282014-02-14 Glenn Morris <rgm@gnu.org>
2629
b8630261
GM
2630 * replace.el (map-query-replace-regexp)
2631 (read-regexp-defaults-function, read-regexp): Doc fixes.
2632
b2bf2a25
GM
2633 * dired.el (dired-read-regexp):
2634 * faces.el (list-faces-display):
2635 * misearch.el (multi-isearch-read-matching-buffers)
2636 (multi-isearch-read-matching-files):
2637 * play/cookie1.el (cookie-apropos):
2638 * progmodes/grep.el (grep-read-regexp): Doc fixes.
2639
48c4f9b1
GM
2640 * textmodes/remember.el (remember): Use frameset-to-register
2641 rather than frame-configuration-to-register.
2642
2804e0bd
JB
26432014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
2644
2645 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
2646 incorrect keybinding.
2647
0b87142f
DC
26482014-02-13 Daniel Colascione <dancol@dancol.org>
2649
2650 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
2651 when adding overlays so that line numbers from compiler match line
2652 numbers we use.
2653
47a73eb0
GM
26542014-02-13 Glenn Morris <rgm@gnu.org>
2655
8abcfd51
GM
2656 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
2657
47a73eb0
GM
2658 * jit-lock.el (jit-lock-mode): Doc fix.
2659
c9b6b262
JB
26602014-02-13 Juanma Barranquero <lekktu@gmail.com>
2661
2662 * apropos.el (apropos-read-pattern): When the user passes an empty
2663 string, give a more helpful error message than "Wrong type
2664 argument: stringp, nil".
2665
eb4c6947
SM
26662014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
2667
2668 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
2669
0dab5068
GM
26702014-02-13 Glenn Morris <rgm@gnu.org>
2671
2672 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
2673
59075dcf
SM
26742014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
2675
2676 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
2677 shift-select commands.
2678
5af9fbad
DG
26792014-02-12 Dmitry Gutov <dgutov@yandex.ru>
2680
2681 * progmodes/js.el (js-indent-line): Don't widen.
2682 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
2683
a215930c
GM
26842014-02-12 Glenn Morris <rgm@gnu.org>
2685
a8cb4247
GM
2686 * icomplete.el (icomplete): Add info-link to defgroup.
2687 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
2688 (icomplete-minibuffer-map, icomplete-mode)
2689 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
2690
a215930c
GM
2691 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
2692 (package-menu-filter): Rename from package-menu-filter-interactive.
2693 Doc fix.
2694
26c5ecd9
JB
26952014-02-11 Juanma Barranquero <lekktu@gmail.com>
2696
2697 * frameset.el (frameset--jump-to-register): Select the required
2698 window and buffer before restoring position (bug#16696).
2699
fcd58a02
LI
27002014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
2701
2702 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
2703
bacb3380
GM
27042014-02-10 Glenn Morris <rgm@gnu.org>
2705
2706 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
2707
881329dc
EZ
27082014-02-10 Eli Zaretskii <eliz@gnu.org>
2709
02328db9
EZ
2710 * w32-common-fns.el (x-get-selection): Doc fix.
2711 * select.el (x-get-selection): Doc fix. (Bug#15109)
2712
881329dc
EZ
2713 * face-remap.el (face-remap-add-relative)
2714 (face-remap-remove-relative, face-remap-reset-base)
2715 (face-remap-set-base): Call force-mode-line-update to redisplay
2716 the current buffer due to potential change in faces. (Bug#16709)
2717
c7db4c06
MA
27182014-02-10 Michael Albinus <michael.albinus@gmx.de>
2719
2720 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
2721 script more robustly.
2722
6abe4589
LI
27232014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
2724
7602b5c3
LI
2725 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
2726
e3692ee0
LI
2727 * simple.el (choose-completion): Doc fix (bug#14160).
2728
41015524
LI
2729 * subr.el (event-start): Say what a nil EVENT value means.
2730
87c79dcb
LI
2731 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
2732 (bug#14197).
2733
3ab49e2c
LI
2734 * progmodes/grep.el (find-program): Doc fix (bug#14289).
2735
f3c60241
LI
2736 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
2737
3bd1d8a8
LI
2738 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
2739
6abe4589
LI
2740 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
2741 predicate function (bug#15455).
2742
a11463de
DG
27432014-02-10 Dmitry Gutov <dgutov@yandex.ru>
2744
2745 * ielm.el (inferior-emacs-lisp-mode): Instead of
2746 `comment-use-global-state', set `comment-use-syntax'.
2747
2ab0ad85
GM
27482014-02-10 Glenn Morris <rgm@gnu.org>
2749
2750 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
2751
411141fb
AM
27522014-02-09 Alan Mackenzie <acm@muc.de>
2753
2754 Fix c-invalidate-state-cache on narrowed buffers.
2755 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
2756 Widen when setting and clearing the CPP delimiter properties.
2757
d6d5fdf8
LI
27582014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
2759
92c70367
LI
2760 * help.el (describe-bindings): Doc fix (bug#9888).
2761
468ef484
LI
2762 * files.el (save-buffer): Use ARG as the parameter name for
2763 consistency (bug#10346).
7e34193f 2764 (save-buffer): Clarify the 0 argument (bug#10346).
468ef484 2765
fc2b1ffa 2766 * cus-edit.el (customize-apropos): Fix error string.
382fd368 2767 (custom-buffer-create): Doc fix (bug#11122).
1e4a57ac 2768 (custom-sort-items): Doc fix (bug#11121).
fc2b1ffa 2769
790aceec
LI
2770 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
2771
a54a7552 2772 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
c359b7bd 2773 (icomplete-simple-completing-p): Mention the previous variable.
a54a7552 2774
dd163123
LI
2775 * font-lock.el (font-lock-value-in-major-mode): Clarify the
2776 meaning of the parameter (bug#12282).
2777
9e108fe6
LI
2778 * files.el (find-file-noselect): Clarify prompt when changing
2779 readedness (bug#13261).
5a836f58
LI
2780 (locate-file): Suffixes aren't returned, so don't say that they
2781 are (bug#12674).
2356b316 2782 (backup-inhibited): Doc clarification (bug#12525).
9e108fe6 2783
20dda930
LI
2784 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
2785 before we actually start to delete things (bug#16331).
2786
d6d5fdf8
LI
2787 * subr.el (event-start): Doc fix (bug#14228).
2788 (event-end): Ditto.
2789
2abd71e5
GM
27902014-02-09 Glenn Morris <rgm@gnu.org>
2791
2792 * emacs-lisp/warnings.el (lwarn):
2793 Empower help-enable-auto-load. (Bug#15940)
2794
c1b5900b
AS
27952014-02-08 Andreas Schwab <schwab@linux-m68k.org>
2796
2797 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
2798 (Bug#16690)
2799
429b93bd
MA
28002014-02-08 Michael Albinus <michael.albinus@gmx.de>
2801
2802 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2803 Insert output at end of buffer. (Bug#16120)
2804
b772a699
LI
28052014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
2806
18c6aa8c
LI
2807 * simple.el (choose-completion-string-functions): Document new
2808 calling convention (bug#14153).
54dd147a 2809 (execute-extended-command): Clarify doc string (bug#13373).
18c6aa8c 2810
dce8463b
LI
2811 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
2812
b772a699 2813 * find-dired.el (find-name-dired): Doc fix (bug#14290).
8aa76c93 2814 (find-grep-dired): Doc fix (bug#14288).
b772a699 2815
2423c8d5
JL
28162014-02-08 Juri Linkov <juri@jurta.org>
2817
2818 * isearch.el (isearch-quote-char): Check character validity
2819 like in `quoted-insert' (bug#16677).
2820
518f26c2
LI
28212014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
2822
893cc908
LI
2823 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
2824
9165ffc0
LI
2825 * isearch.el (isearch-hide-immediately): Doc clarification
2826 (bug#14723).
2827
6ef4f3ce
LI
2828 * simple.el (line-move): Document utility function used many
2829 places in the Emacs sources (bug#14843).
2830
be58a238 2831 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
8cff064c 2832 (dired-prev-marked-file): Doc fix (bug#14855).
574e477f 2833 (dired-up-directory): Doc fix (bug#14848).
be58a238 2834
dd7aafbb
LI
2835 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
2836
15cb9968
LI
2837 * files.el (file-relative-name): Doc fix (bug#15159).
2838
9788effd
LI
2839 * fringe.el (fringe-styles): Doc fix (bug#15239).
2840
c96411bd
LI
2841 * isearch.el (isearch-filter-predicate): Documentation typo fix
2842 (bug#15474).
2843
ea838c36
LI
2844 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
2845
0d8a4ae7
LI
2846 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
2847
f7a17bb3
LI
2848 * replace.el (replace-match-maybe-edit): Doc clarification
2849 (bug#15632).
2850
1bde5c3b
LI
2851 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
2852
518f26c2
LI
2853 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
2854
dd8e49fd
GM
28552014-02-08 Glenn Morris <rgm@gnu.org>
2856
2857 * help-fns.el (describe-variable):
2858 Check {file,dir}-local-variables-alist, and buffer-file-name,
2859 in the correct buffer.
2860
7e088b29
IL
28612014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
2862
2863 * help-fns.el (describe-variable): Fix the case where
2864 a value is directory-local with no dir-locals file. (Bug#16635)
2865
41a4a82f
GM
28662014-02-08 Glenn Morris <rgm@gnu.org>
2867
2868 * abbrev.el (edit-abbrevs-mode):
2869 Derive from fundamental-mode. (Bug#16682)
2870
e255a703
JB
28712014-02-07 Juanma Barranquero <lekktu@gmail.com>
2872
2873 * simple.el (quoted-insert): Check character validity (bug#16677).
2874
c99cf5ee
JL
28752014-02-07 Juri Linkov <juri@jurta.org>
2876
2877 * desktop.el (desktop-read): Claim the lock when the owner is not
2878 the current process. (Bug#16157)
2879
7d7a68d8
JL
28802014-02-07 Juri Linkov <juri@jurta.org>
2881
2882 * desktop.el (desktop-buffers-not-to-save): Change default from nil
2883 to "\\` ". (Bug#16651)
2884
2b777cd9
JL
28852014-02-07 Juri Linkov <juri@jurta.org>
2886
2887 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
2888 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
2889 (desktop-auto-save-cancel-timer): New function with some code from
2890 `desktop-auto-save-set-timer'.
2891 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
2892 Instead of setting `desktop-save-mode' to nil, call
2893 `desktop-save-mode' with arg 0. (Bug#16630)
2894
60eabbb9
GM
28952014-02-07 Glenn Morris <rgm@gnu.org>
2896
99cf3859
GM
2897 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
2898 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
2899 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
2900
2b568bc9
GM
2901 * obsolete/iswitchb.el: Move to obsolete/.
2902 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
2903 since obsolete/ is not scanned for autoloads.
2904 * emacs-lisp/authors.el (authors-valid-file-names):
2905 Add iswitchb.el.
2906
60eabbb9
GM
2907 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
2908 Disable now non-functional find-file-hook.
2909
629de968
MA
29102014-02-06 Michael Albinus <michael.albinus@gmx.de>
2911
2912 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
2913 instead of ";" in order to avoid additional prompts. Let heredoc
2914 scripts read from tty. (Bug#16582)
2915 (tramp-send-command): No special handling of heredocs, it isn't
2916 necessary anymore.
2917
29127376
SM
29182014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
2919
2920 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
2921 with a space (bug#16664). Limit the symbols considered to the ones
2922 that are bound or fbound (bug#16646).
2923
79b6e0a9
GM
29242014-02-06 Glenn Morris <rgm@gnu.org>
2925
2926 * epa.el (epa-mail-aliases): Doc fix.
2927
a333e4d2
DG
29282014-02-06 Dmitry Gutov <dgutov@yandex.ru>
2929
29127376
SM
2930 * emacs-lisp/lisp.el (lisp-completion-at-point):
2931 Use `completion-table-merge' instead of `completion-table-in-turn'
a333e4d2
DG
2932 (bug#16604).
2933
2934 * minibuffer.el (completion-table-merge): New function.
2935
9a83b32b
MA
29362014-02-05 Michael Albinus <michael.albinus@gmx.de>
2937
2938 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
2939 (tramp-sh-handle-set-file-acl)
2940 (tramp-sh-handle-start-file-process)
2941 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
2942 (tramp-find-executable, tramp-send-command): Use it.
2943
451ea3e6
GM
29442014-02-05 Glenn Morris <rgm@gnu.org>
2945
9a83b32b 2946 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
451ea3e6 2947
dd27d13b
FEG
29482014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
2949
35e951cd 2950 * progmodes/python.el (python-shell-send-string)
dd27d13b
FEG
2951 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
2952
08e41897
AL
29532014-02-04 Anders Lindgren <andlind@gmail.com>
2954
2955 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
2956 the names (bug#16620).
2957
764ec9e5
MR
29582014-02-03 Martin Rudalics <rudalics@gmx.at>
2959
08e41897
AL
2960 * faces.el (window-divider): New default value. Rewrite doc-string.
2961 (window-divider-first-pixel, window-divider-last-pixel): New faces.
764ec9e5 2962
6da8227c
DG
29632014-02-03 Dmitry Gutov <dgutov@yandex.ru>
2964
2965 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
2966 `protected' and `public' can also be called without arguments.
2967
6a6b8e40
GM
29682014-02-03 Glenn Morris <rgm@gnu.org>
2969
7bcbca40
GM
2970 * register.el (window-configuration-to-register)
2971 (frame-configuration-to-register): Unadvertise unused argument.
2972 * frameset.el (frameset-to-register): Remove unused argument.
2973
719d965d 2974 * frameset.el (frameset-to-register):
6a6b8e40
GM
2975 * kmacro.el (kmacro-to-register):
2976 * register.el (increment-register):
2977 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
2978 (calc-append-to-register, calc-prepend-to-register):
2979 * play/gametree.el (gametree-layout-to-register)
2980 (gametree-apply-register-layout):
2981 * textmodes/picture.el (picture-clear-rectangle-to-register)
2982 (picture-yank-rectangle-from-register):
2983 * vc/emerge.el (emerge-combine-versions-register):
2984 Use register-read-with-preview to read registers.
2985
5dca7759
JT
29862014-02-03 João Távora <joaotavora@gmail.com>
2987
2988 * elec-pair.el (electric-pair-backward-delete-char): Don't error
2989 when at beginning of (possibly narrowed) buffer.
2990
709085b9
DC
29912014-02-02 Daniel Colascione <dancol@dancol.org>
2992
c295fc18 2993 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
08e41897 2994 Also try to display local help from just before point.
709085b9 2995
99f7b0a6
AM
29962014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
2997
2998 c-parse-state. Don't "append-lower-brace-pair" in certain
2999 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
3000 recognised as a comment.
3001
3002 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
3003 as well as normal comment starter.
3004 (c-parse-state-get-strategy): Extra return possibility
3005 'back-and-forward.
3006 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
3007 return value list to indicate replacement of a brace-pair cons
3008 with its car.
3009 (c-parse-state-1): With 'back-and-forward, only call
3010 c-append-lower-brace-pair-to state-cache when cons-separated.
3011
f0a10576
JD
30122014-02-02 Jan Djärv <jan.h.d@swipnet.se>
3013
3014 * term/ns-win.el (ns-suspend-error): New function.
3015 (ns-initialize-window-system): Add ns-suspend-error to
3016 suspend-hook (Bug#16612).
3017
b8d552c2
DC
30182014-02-02 Daniel Colascione <dancol@dancol.org>
3019
35e951cd
JB
3020 * progmodes/cc-defs.el (c-find-assignment-for-mode):
3021 Make loading cc-mode silent.
b8d552c2 3022
f2b7d123
DC
30232014-02-02 Daniel Colascione <dancol@dancol.org>
3024
35e951cd
JB
3025 * comint.el (comint-prompt-read-only): Change doc to suggest
3026 remap keybinding.
f2b7d123 3027
4472a196
GM
30282014-02-02 Glenn Morris <rgm@gnu.org>
3029
3030 * register.el (register-read-with-preview, point-to-register)
3031 (window-configuration-to-register, frame-configuration-to-register)
3032 (jump-to-register, number-to-register, view-register, insert-register)
3033 (copy-to-register, append-to-register, prepend-to-register)
3034 (copy-rectangle-to-register): Doc fixes.
3035
70e5a261
SM
30362014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3037
3038 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
3039 * emacs-lisp/find-func.el (find-function-C-source): Idem.
3040 * emacs-lisp/nadvice.el (advice--cd*r): New function.
3041 * help-fns.el (describe-function-1): Use it.
3042
7c324762
GM
30432014-02-02 Glenn Morris <rgm@gnu.org>
3044
3045 * register.el (register-preview-default): New function,
3046 split from register-preview.
3047 (register-preview-function): Rename from register-preview-functions,
3048 make it not a hook.
3049 (register-preview): Use register-preview-function.
3050 (register-read-with-preview): Error on non-character event. (Bug#16595)
3051
a09beb3d
DG
30522014-02-01 Dmitry Gutov <dgutov@yandex.ru>
3053
3054 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
3055 `:' before binary operators (bug#16609). Don't check for `:'
3056 before `[' and `(', or their syntax status. A percent literal
3057 can't end with either.
68e004e0
DG
3058 (ruby-font-lock-keywords): For built-ins that require arguments,
3059 check that they're followed by something that looks like argument
3060 (bug#16610).
a09beb3d 3061
ed4d2875
LI
30622014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
3063
3064 * subr.el (butlast): Document what an omitted N means (bug#13437).
3065 (nbutlast): Ditto.
3066
dba6e3ec
LI
30672014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
3068
3069 * net/shr.el (shr-generic): Make into a defsubst to make the stack
3070 depth shallower (bug#16587).
cc477daa
LI
3071 (shr-tag-svg): Respect `shr-inhibit-images'.
3072 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
dba6e3ec 3073
e2a67bd0
DG
30742014-01-31 Dmitry Gutov <dgutov@yandex.ru>
3075
3076 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
3077 (ruby-smie-grammar): Make "." right-associative. Make its priority
3078 lower than the ternary and all binary operators.
3079 (ruby-smie-rules): Indent "(" relative to the first non-"."
70e5a261
SM
3080 parent, or the first "." parent at indentation.
3081 Use `ruby-align-chained-calls' for indentation of "." tokens.
e2a67bd0
DG
3082 (Bug#16593)
3083
bd21bf41
JL
30842014-01-31 Juri Linkov <juri@jurta.org>
3085
3086 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
3087 from `make-hash-table'.
3088
3089 * textmodes/ispell.el (ispell-init-process): Change message format
3090 to be consistent with other messages.
3091
b7e615b9
GM
30922014-01-31 Glenn Morris <rgm@gnu.org>
3093
a69ecd19
GM
3094 * delsel.el (delete-selection-mode): Doc fix.
3095
9997d7e3
GM
3096 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
3097 (trace-function-background): Doc fixes.
3098
fbb764b8
GM
3099 * ido.el (ido-use-virtual-buffers): Doc fix.
3100 Reset :version, since the default value has not changed.
3101
da942af1
GM
3102 * register.el (register-preview-delay, register-read-with-preview):
3103 Doc fixes.
3104
b7e615b9
GM
3105 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
3106 do not mess with mail-buffer position (fixes 2009-11-03 change).
3107 * progmodes/cc-mode.el (c-submit-bug-report):
3108 Check auto-fill-mode is bound. (Bug#16592)
3109
0a25002d
DH
31102014-01-31 Darren Hoo <darren.hoo@gmail.com>
3111
3112 * startup.el (fancy-splash-image-file): New function,
3113 split from fancy-splash-head.
3114 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
3115 so that we are both using the same image. (Bug#16574)
3116
ad78f432
GM
31172014-01-30 Glenn Morris <rgm@gnu.org>
3118
6bbc0c84
GM
3119 * simple.el (eval-expression): Doc fix.
3120
ad78f432
GM
3121 * hexl.el (hexl-mode-hook):
3122 * ielm.el (ielm-mode-hook):
3123 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
3124 (lisp-interaction-mode-hook):
20f39add 3125 * progmodes/cfengine.el (cfengine3-documentation-function):
ad78f432
GM
3126 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
3127
7b2f049c
SM
31282014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3129
3130 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
3131 is a symbol (bug#16584).
3132
0c633f13
GM
31332014-01-30 Glenn Morris <rgm@gnu.org>
3134
3135 * help.el (help-for-help-internal): Add "P" to text.
3136
5e61c1ef
GM
31372014-01-29 Glenn Morris <rgm@gnu.org>
3138
3139 * simple.el (just-one-space, cycle-spacing): Doc fixes.
3140
1dcb169c
MR
31412014-01-28 Martin Rudalics <rudalics@gmx.at>
3142
3143 * window.el (fit-frame-to-buffer): Fix calculations for margins and
3144 height constraints.
3145
a9128931
LL
31462014-01-28 Luke Lee <luke.yx.lee@gmail.com>
3147
3148 * progmodes/hideif.el: Extend to full CPP expression syntax.
3149 (hif-token-alist): Add missing tokens.
3150 (hif-token-regexp): Add support for float/octal/hex immediates.
3151 (hif-string-literal-regexp): New const.
3152 (hif-tokenize): Recognize strings and float/octal/hex immediates.
3153 (hif-exprlist): New function.
3154 (hif-parse-if-exp): Use it.
3155 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
3156 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
3157 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
3158 (hif-logxor, hif-comma): New functions.
3159
a22359a7
GM
31602014-01-28 Glenn Morris <rgm@gnu.org>
3161
793ffe81
GM
3162 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
3163
e3bd7eed
GM
3164 * indent.el (tab-stop-list): Doc fix. Add :version.
3165
a22359a7
GM
3166 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
3167 (cvs-append-to-ignore): Add compatibility alias.
3168
52695556 31692014-01-27 Glenn Morris <rgm@gnu.org>
d269bb99 3170
bac524e0
GM
3171 * dired.el (dired-hide-details-mode): Don't autoload it,
3172 since it cannot be used outside Dired buffers anyway.
3173
52695556 3174 * emulation/cua-base.el (cua-mode): Doc fix.
d269bb99 3175
52695556
GM
3176 * dired.el (dired-hide-details-hide-symlink-targets)
3177 (dired-hide-details-hide-information-lines)
3178 (dired-hide-details-mode): Doc fixes.
ece4bae5
GM
3179
3180 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
3181 * strokes.el (strokes-file): Doc fix. Bump :version.
3182 (strokes-help): Doc fix.
3183 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
3184 * emulation/viper.el (viper): Doc fix for custom group.
3185 (top-level): Remove oh-so-no-longer-relevant text about vip.
3186 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
3187
3188 * ido.el (ido-save-directory-list-file):
3189 * saveplace.el (save-place-file):
3190 * calendar/timeclock.el (timeclock-file):
3191 * net/quickurl.el (quickurl-url-file):
3192 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
3193 * progmodes/idlwave.el (idlwave-config-directory):
3194 * textmodes/remember.el (remember-data-file):
3195 Bump :version.
3196
169d6004
GM
31972014-01-26 Glenn Morris <rgm@gnu.org>
3198
de6a923b
GM
3199 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
3200 Doc fix. Make obsolete.
3201 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
3202
169d6004
GM
3203 * sort.el (delete-duplicate-lines): Doc fix.
3204
ed85dee6
RS
32052014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3206
3207 * progmodes/ada-mode.el (ada):
3208 * woman.el (woman): Link to info manual and Commentary section.
3209
3210 * progmodes/flymake.el (flymake):
3211 * nxml/nxml-mode.el (nxml):
3212 * net/eww.el (eww):
3213 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
3214 * htmlfontify.el (htmlfontify):
3215 * ses.el (ses):
3216 * epa.el (epa):
3217 * ido.el (ido): Link to info manual.
3218
e0c67e1d
LL
32192014-01-25 Leo Liu <sdl.web@gmail.com>
3220
3221 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
3222
35408b1a
AS
32232014-01-25 Adam Sjøgren <asjo@koldfront.dk>
3224
3225 * net/shr.el (shr-tag-img): Prefer the title over the alt text
3226 (bug#16537).
3227
76c3fa95
JB
32282014-01-24 Juanma Barranquero <lekktu@gmail.com>
3229
f77c7a99
JB
3230 * net/eww.el (eww-download-callback):
3231 Fix reference to eww-download-directory.
3232
76c3fa95
JB
3233 * emacs-lisp/bytecomp.el (byte-compile-file):
3234 Remove unused local variable `file-name'.
3235
1e548e40
GM
32362014-01-24 Glenn Morris <rgm@gnu.org>
3237
03f3b318
GM
3238 * woman.el (woman-default-faces, woman-monochrome-faces):
3239 Fix obsolescence specification.
3240
1e548e40
GM
3241 * subr.el (with-demoted-errors): Doc fix.
3242
d4f0427b
SM
32432014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
3244
3245 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
3246 (cl--macroexp-fboundp): New function.
3247 (cl--make-type-test): Use it.
3248
1670e27f
GM
32492014-01-23 Glenn Morris <rgm@gnu.org>
3250
3251 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
3252 * simple.el (eval-expression): Doc fixes.
3253
80efa207
GM
32542014-01-22 Glenn Morris <rgm@gnu.org>
3255
3256 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
3257
29afcbab
SM
32582014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
3259
3260 * emacs-lisp/package.el: Write files silently.
3261 (package-autoload-ensure-default-file, package--write-file-no-coding)
3262 (package-generate-description-file, package--download-one-archive)
3263 (package-install-from-archive): Tell `write-region' to stay quiet.
3264 (package-menu-mode, package-menu--print-info): Omit the Archive column
3265 if there's only one archive.
3266 (package-all-keywords, package--has-keyword-p): Remove dead code.
3267
2a5bce4f
GM
32682014-01-22 Glenn Morris <rgm@gnu.org>
3269
edace89f
GM
3270 * version.el (emacs-bzr-version-bzr): Fix typo.
3271
2a5bce4f
GM
3272 * version.el (emacs-repository-get-version):
3273 Check either .bzr or .git, but not both.
3274 Make the git case actually use the DIR argument, and return nil
3275 rather than the empty string.
983664c0 3276 Avoid error if .git exists but the git executable is not found.
2a5bce4f 3277
6cb4da45
MR
32782014-01-22 Martin Rudalics <rudalics@gmx.at>
3279
3280 Fixes in window size functions around Bug#16430 and Bug#16470.
29afcbab
SM
3281 * window.el (window-total-size, window-size): New argument ROUND.
3282 (window--min-delta-1, window-min-delta, window--max-delta-1):
3283 Be more conservative when calculating the numbers of lines or
6cb4da45
MR
3284 columns a window can shrink (Bug#16430).
3285 (fit-window-to-buffer): Simplify code.
3286 * term.el (term-window-width): Call window-body-width again.
3287
cc0f2ece
GM
32882014-01-22 Glenn Morris <rgm@gnu.org>
3289
7b997b14
GM
3290 * image.el (image-format-suffixes): Doc fix.
3291
44e76f9d
GM
3292 * international/quail.el (quail-define-package): Doc fix.
3293
35e951cd 3294 * emacs-lisp/authors.el (authors-valid-file-names)
73c1c6d7 3295 (authors-renamed-files-alist): Additions.
7bfc1caa 3296
85a5f61f
GM
3297 * vc/vc-git.el (vc-git-print-log): Remove --follow;
3298 reverts 2014-01-09 change. (Bug#16422)
3299
cc0f2ece
GM
3300 * calc/calc-embed.el (thing-at-point-looking-at):
3301 * emacs-lisp/map-ynp.el (x-popup-dialog):
3302 * obsolete/lmenu.el (x-popup-dialog):
3303 * emacs-lisp/package.el (url-recreate-url):
3304 * mail/mailclient.el (clipboard-kill-ring-save):
3305 * subr.el (x-popup-dialog): Update declaration.
3306 * mail/rmail.el (rmail-mime-message-p):
3307 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
3308
00d2a6bb
DC
33092014-01-21 Daniel Colascione <dancol@dancol.org>
3310
3311 * progmodes/sh-script.el (sh--inside-noncommand-expression):
3312 Correctly detect when we're inside an arithmetic expansion form
3313 containing nested parenthesis.
c295fc18 3314 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
00d2a6bb
DC
3315 to detect cases where we shouldn't expand "<<" to a heredoc
3316 skeleton.
3317
dd9d2e9d
SM
33182014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
3319
3320 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
3321 (eldoc--message-command-p): New function.
3322 (eldoc-display-message-p): Use it.
3323 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
3324 message is not automatically erased for us.
3325 (eldoc-print-current-symbol-info): Erase previous message, if any.
3326
e7d807ca
TH
33272014-01-21 Tassilo Horn <tsdh@gnu.org>
3328
4ff0a0e5
TH
3329 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
3330 specify it's an interactive function.
3331
dd9d2e9d
SM
3332 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
3333 Fix regex used for scanning for citation keys which failed for
e7d807ca
TH
3334 citations with optional arguments.
3335
87503791
LL
33362014-01-21 Leo Liu <sdl.web@gmail.com>
3337
3338 * simple.el (read--expression): Don't enable eldoc-mode.
3339
6cc750ee
SM
33402014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
3341
3342 * simple.el (move-beginning-of-line): Make sure we don't move forward
3343 (bug#16497).
3344
71f16bda
JL
33452014-01-20 Juri Linkov <juri@jurta.org>
3346
3347 * saveplace.el (toggle-save-place, save-place-to-alist)
3348 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
3349 'dired-mode) before checking for dired-directory. (Bug#16477)
3350
3c5a4839
JL
33512014-01-20 Juri Linkov <juri@jurta.org>
3352
3353 * indent.el (indent-line-to): Use backward-to-indentation
3354 instead of back-to-indentation. (Bug#16461)
3355
f952002e
PE
33562014-01-20 Paul Eggert <eggert@cs.ucla.edu>
3357
3358 Revert some of the CANNOT_DUMP fix (Bug#16494).
3359 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
3360 but fixing this can wait until after the next release.
3361 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
3362
93675500
MA
33632014-01-19 Michael Albinus <michael.albinus@gmx.de>
3364
3365 * eshell/esh-mode.el (eshell-password-prompt-regexp):
3366 Use `password-word-equivalents'.
3367 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
3368 to t. (Bug#5664, Bug#13124)
3369
e3af763f
AM
33702014-01-19 Alan Mackenzie <acm@muc.de>
3371
3372 Bind open-paren-in-column-0-is-defun-start to nil at some entry
3373 points.
3374 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
3fcfc4ee 3375 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
e3af763f
AM
3376 * progmodes/cc-mode.el (c-before-change, c-after-change)
3377 (c-font-lock-fontify-region): Bind it here.
3378
4ff6d92d
MR
33792014-01-19 Martin Rudalics <rudalics@gmx.at>
3380
3381 * term.el (term-window-width): Call window-text-width instead of
3382 window-width (Bug#16470).
3383
9a685cf6
PE
33842014-01-18 Paul Eggert <eggert@cs.ucla.edu>
3385
3386 * simple.el (password-word-equivalents): Remove duplicates.
3387 Sort, to make this easier next time.
3388 Downcase. Omit ": " after "jelszó".
3389
5aa78c2d
JD
33902014-01-18 Jan Djärv <jan.h.d@swipnet.se>
3391
3392 * term/common-win.el (saved-region-selection): Defvar it.
3393 (x-select-text): Set saved-region-selection (Bug#16382).
3394
cabb250c
GM
33952014-01-18 Glenn Morris <rgm@gnu.org>
3396
3397 * emacs-lisp/authors.el (authors-aliases)
3398 (authors-renamed-files-alist): Add some entries.
3399
a1340440
MA
34002014-01-17 Michael Albinus <michael.albinus@gmx.de>
3401
93675500
MA
3402 * net/tramp.el (tramp-password-prompt-regexp):
3403 Use `password-word-equivalents' if available.
a1340440
MA
3404 (tramp-action-password, tramp-process-one-action)
3405 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
3406
681ce5d2
CY
34072014-01-17 Chong Yidong <cyd@gnu.org>
3408
3409 * simple.el (password-word-equivalents): New defcustom.
3410 * comint.el (comint-password-prompt-regexp): Use it. Bump version
3411 to 24.4.
3412 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
3413 to t. (Bug#13124)
3414
fb3d479c
DG
34152014-01-17 Dmitry Gutov <dgutov@yandex.ru>
3416
3417 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
dd9d2e9d
SM
3418 (ruby-align-to-stmt-keywords): Change the default value.
3419 Use `ruby-alignable-keywords' to generate the possible customization
fb3d479c
DG
3420 choices.
3421 (ruby-smie-rules): Instead of using a hardcoded list of alignable
3422 keywords, check against the value of `ruby-alignable-keywords'
3423 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
3424
0d613483
GM
34252014-01-17 Glenn Morris <rgm@gnu.org>
3426
fc23fe2d
GM
3427 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
3428
0d613483 3429 Make M-x authors return zero *Authors Errors* from current logs.
35e951cd 3430 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
0d613483
GM
3431 (authors-ignored-files): Add some entries, remove others.
3432 (authors-ambiguous-files, authors-valid-file-names):
3433 Add some entries.
3434 (authors-renamed-files-alist): Add, remove, and adjust entries.
3435 (authors-renamed-files-regexps): Add some entries.
3436 Remove some very broad ones. Make some entries `lax'.
3437 (authors-lax-changelogs): New constant.
3438 (authors-disambiguate-file-name): Treat top-level specially.
3439 (authors-lax-changelog-p): New function.
3440 (authors-canonical-file-name): Check file as written against
3441 authors-valid-file-names. Do not special-case etc/.
3442 Handle `lax' logs and authors-renamed-files-regexps elements.
3443
2dbf4ffd
DG
34442014-01-16 Dmitry Gutov <dgutov@yandex.ru>
3445
3446 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
39903fd1
DG
3447 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
3448 callers.
2dbf4ffd 3449
87b2a7f2
SM
34502014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3451
3452 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
3453 Assume we're already in the proper buffer.
3454 Inspired by Anders Lindgren <andlind@gmail.com>.
3455 (follow-post-command-hook): Call it from the right buffer.
3456 (follow-comint-scroll-to-bottom): Adjust call.
3457 (follow-all-followers): Use get-buffer-window-list.
3458
93acfb0e
DC
34592014-01-15 Daniel Colascione <dancol@dancol.org>
3460
3461 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
3462 `buffer-file-name' in interactive-form so that we don't leave
3463 pathless file names in `file-name-history'.
3464
ccc6b208
JL
34652014-01-15 Juri Linkov <juri@jurta.org>
3466
3467 * indent.el (indent-rigidly): Set deactivate-mark to nil
3468 in transient indentation mode. (Bug#16438)
3469
5c92e00d
DG
34702014-01-15 Dmitry Gutov <dgutov@yandex.ru>
3471
3472 * emacs-lisp/package.el (package-desc-keywords): New function
3473 (Bug#16222).
3474 (describe-package-1, package-all-keywords)
3475 (package--has-keyword-p): Use it.
3476
dac69660
NR
34772014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3478
3479 * simple.el (define-alternatives): When creating the
3480 COMMAND-alternatives variable, assign COMMAND as its definition
3481 name so that `describe-variable' can relocate it.
3482
8b63edf8
ML
34832014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
3484
3485 * font-lock.el (font-lock-keywords): Fix typo in docstring
3486 (bug#16307).
3487
c6a0b8eb
AM
34882014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3489
3490 * ispell.el (ispell-region): Reset `in-comment' for new line
3491 instead of wrongly reset `add-coment' (bug#13577).
3492
02bf443d
DU
34932014-01-14 Daiki Ueno <ueno@gnu.org>
3494
3495 * epa-file.el (epa-file-write-region): Encode the region according
3496 to `buffer-file-format'. Problem reported at:
3497 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
3498
fd7fde15
SM
34992014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
3500
3501 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
3502 so it applies in the right buffer (bug#16410).
3503
c176054f
DC
35042014-01-13 Daniel Colascione <dancol@dancol.org>
3505
3506 * textmodes/rst.el (rst-define-key): Provide deprecated
3507 keybindings through named functions instead of anonymous ones so
3508 that "??" doesn't appear in describe-mode output.
3509
e3f33e5d
BG
35102014-01-13 Bastien Guerry <bzg@gnu.org>
3511
3512 * simple.el (define-alternatives): Call the selected command
3513 interactively. When setting `COMMAND--implementation' for the
3514 first time, tell the user how to chose another implementation.
3515 Enhance the docstring.
3516
c055d654
SM
35172014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3518
3519 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
3520 (log-edit--match-first-line): New function.
3521 (log-edit-font-lock-keywords): Use it.
3522 (log-edit-mode): Make jit-lock-defer-multiline work.
3523
d791cc3b
BG
35242014-01-13 Bastien Guerry <bzg@gnu.org>
3525
3526 * rect.el (rectangle-mark-mode): When the region is not active,
3527 display a message saying that the mark as been set and that
3528 rectangle mode is in use.
3529 (rectangle--highlight-for-redisplay): Only put an overlay with a
3530 visible vertical bar when (display-graphic-p) is non-nil.
3531 This partially fixes Bug#16403.
3532
3c0c4562
JL
35332014-01-13 Juri Linkov <juri@jurta.org>
3534
3535 * info.el (Info-find-file): Go to DIR before displaying the error
3536 about a nonexistent file if no previous Info file is visited.
3537 Use `user-error' instead of `error' for "Info file %s does not exist".
3538 (Info-find-node-2): In case of a nonexistent node in unwind forms
3539 go to the Top node if there is no previous node to revert to.
3540 (Bug#16405)
3541
25a700d0
MR
35422014-01-13 Martin Rudalics <rudalics@gmx.at>
3543
3544 fit-frame/window-to-buffer code fixes including one for Bug#14096.
c055d654
SM
3545 * window.el (fit-frame-to-buffer): Fix doc-string.
3546 Respect window-min-height/-width. Fit pixelwise when
25a700d0
MR
3547 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
3548 when avoiding that frame goes partially off-screen.
3549 (fit-window-to-buffer): Respect window-min-height/-width
3550 (Bug#14096).
3551
6ae948d8
SM
35522014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3553
3554 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
3555 after an empty line.
3556
6137cb82
SM
35572014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
3558
3559 * net/shr.el (shr-render-region): Autoload.
3560
e6344e17
XF
35612014-01-12 Xue Fuqiao <xfq.free@gmail.com>
3562
3563 * net/eww.el (eww-download-directory): Rename from
3564 `eww-download-path' (Bug#16419).
3565
3b922c70
LL
35662014-01-12 Leo Liu <sdl.web@gmail.com>
3567
3568 * dired-x.el (dired-mode-map): Fix last change.
3569
3570 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
3571
4fa51741
PE
35722014-01-12 Paul Eggert <eggert@cs.ucla.edu>
3573
3574 Spelling fixes.
3575 * emacs-lisp/generic.el (generic--normalize-comments):
3576 Rename from generic--normalise-comments. All uses changed.
35e951cd 3577 * play/bubbles.el (bubbles--neighborhood-score)
4fa51741
PE
3578 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
3579 (bubbles--neighborhood-available)
3580 (bubbles--update-neighborhood-score):
3581 Rename from names with 'neighbourhood'. All uses changed.
3582
9b335362
LL
35832014-01-12 Leo Liu <sdl.web@gmail.com>
3584
3585 Re-implement the feature of showing eldoc info after editing.
3586 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
3587 (eldoc-edit-message-commands): New function.
3588 (eldoc-print-after-edit): New variable.
3589 (eldoc-pre-command-refresh-echo-area): Emit message only by
3590 eldoc-message-commands.
3591 (eldoc-mode): Restrict eldoc-message-commands to editing commands
3592 if eldoc-print-after-edit is set. (Bug#16346)
79b61bcc 3593 * simple.el (read--expression): Enable eldoc-mode.
6137cb82 3594 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
9b335362 3595
e2a095b1
GM
35962014-01-11 Dani Moncayo <dmoncayo@gmail.com>
3597 Eric S. Raymond <esr@thyrsus.com>
9685190b 3598
841a6d0c 3599 * version.el (emacs-repository-get-version): Enhance so the
6137cb82 3600 function works correctly in either a Bazaar or Git repo.
0abf4134 3601
e2a095b1
GM
36022014-01-11 Eric S. Raymond <esr@thyrsus.com>
3603
6137cb82
SM
3604 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
3605 Goes with removal of the joke manpages from /etc.
9685190b 3606
c295fc18 36072014-01-10 Kenichi Handa <handa@gnu.org>
3923e7bd 3608
6137cb82
SM
3609 * mail/rmail.el (rmail-get-coding-system):
3610 Check rmail-get-coding-function before "funcall"ing it.
3923e7bd 3611
d2f16e93
GM
36122014-01-10 Glenn Morris <rgm@gnu.org>
3613
3614 * emacs-lisp/authors.el (authors-fixed-entries):
3615 Update for files that no longer exist.
3616
7e03bb32
ER
36172014-01-10 Eric S. Raymond <esr@thyrsus.com>
3618
3619 * version.el (emacs-bzr-get-version): Restore compatibilty with
d2f16e93 3620 24.3 (Tested).
7e03bb32 3621
dd806710
BB
36222014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
3623
3624 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
3625 and Podfile.
3626
ed6ec139
EZ
36272014-01-10 Eli Zaretskii <eliz@gnu.org>
3628
3629 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
3630
cc33cac9
CY
36312014-01-10 Chong Yidong <cyd@gnu.org>
3632
6137cb82 3633 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
cc33cac9 3634
d9d836b5
AL
36352014-01-10 Anders Lindgren <andlind@gmail.com>
3636
3637 * follow.el (follow-cache-command-list): Include right-char and
3638 left-char.
3639
06827ec8
PE
36402014-01-10 Paul Eggert <eggert@cs.ucla.edu>
3641
3642 Spelling fixes.
3643 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
3644 * woman.el (woman-mark-horizontal-position):
3645 Rename from woman-mark-horizonal-position. Use changed.
3646
458dbf5e
GM
36472014-01-10 Glenn Morris <rgm@gnu.org>
3648
dad6fae7
GM
3649 * info.el (info-initialize): If running uninstalled, ensure our
3650 own info files are always found first, even if INFOPATH is set.
3651
458dbf5e
GM
3652 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
3653
05e0afce
DE
36542014-01-09 David Engster <deng@randomsample.de>
3655
3656 * emacs-lisp/eieio-custom.el:
3657 * emacs-lisp/eieio-opt.el: Set generated autoload file to
3658 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
3659 * emacs-lisp/eieio.el: Regenerate autoloads.
3660
f29778b3
ER
36612014-01-09 Eric S. Raymond <esr@thyrsus.com>
3662
3663 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
fb14cb48 3664 following renames. (Bug#8756)
f29778b3 3665
684d44ef
SM
36662014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
3667
3668 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
3669 (bug#16382).
3670 (activate-mark): Add `no-tmm' argument.
3671 (set-mark, push-mark-command): Use it instead of running
3672 activate-mark-hook by hand.
3673
9475054f
ER
36742014-01-08 Eric S. Raymond <esr@thyrsus.com>
3675
3676 In preparation for the move to git, sanitize out some
3677 Bazaar-specific names.
3678
38942b9c
GM
3679 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
3680
9475054f 3681 * version.el (emacs-bzr-version): Name changed to
689c9ca5 3682 emacs-repository-version. Obsolete-variable alias made.
9475054f 3683 * loadup.el: Follow through on this name change.
a12bf61e 3684 * mail/emacsbug.el (report-emacs-bug): Factor out any
9475054f
ER
3685 assumption about the version control system in use.
3686
0f918d96 36872014-01-08 David Engster <deng@randomsample.de>
abb82152 3688
684d44ef
SM
3689 * help-fns.el (help-fns-describe-function-functions):
3690 New variable to call functions for augmenting help buffers.
abb82152
DE
3691 (describe-function-1): Remove explicit calls to
3692 `help-fns--compiler-macro', `help-fns--parent-mode' and
0f918d96
DE
3693 `help-fns--obsolete'. Put them in above new variable instead, and
3694 call them through `run-hook-with-args'.
3695 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
3696 `eieio-describe-class'. Not meant for interactive use anymore,
3697 but to augment existing help buffers. Remove optional second
684d44ef
SM
3698 argument. Create proper button for file location.
3699 Rewrite function to use `insert' instead of `princ' and `prin1' where
0f918d96
DE
3700 possible.
3701 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
3702 (eieio-method-def, eieio-class-def): Move further up.
684d44ef
SM
3703 (describe-method, describe-generic, eieio-describe-method):
3704 Remove aliases.
0f918d96
DE
3705 (eieio-help-constructor, eieio-help-generic): Rename from
3706 `eieio-describe-constructor' and `eieio-describe-generic', resp.
3707 Rewrite to use `insert' in the current buffer and use proper help
3708 buttons.
3709 (eieio-help-find-method-definition)
3710 (eieio-help-find-class-definition): Also accept symbols as
3711 arguments.
3712 (eieio-help-mode-augmentation-maybee): Remove.
3713 (eieio-describe-class-sb): Use `describe-function'.
684d44ef
SM
3714 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
3715 Add `eieio-help-generic' and `eieio-help-constructor'.
abb82152 3716
136b74c5
PE
37172014-01-08 Paul Eggert <eggert@cs.ucla.edu>
3718
3719 Spelling fixes.
3720 * language/china-util.el (hz-ascii-designation):
3721 Rename from hz-ascii-designnation.
3722 (hz-ascii-designation): Rename from hz-ascii-designnation.
3723 All uses changed.
3724
ec6c7de2
SM
37252014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3726
3727 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
3728 package-alist.
3729
d6262c7c
BG
37302014-01-08 Bastien Guerry <bzg@gnu.org>
3731
4b9e6087
GM
3732 * emacs-lisp/package.el (package-delete):
3733 Correctly delete the package from package-alist.
d6262c7c 3734
0a3eec32
DU
37352014-01-08 Daiki Ueno <ueno@gnu.org>
3736
3737 * emacs-lisp/package.el (url-recreate-url): Declare.
3738 (url-http-target-url): Declare.
4b9e6087 3739 (package-handle-response): Include requested URL in the error message.
0a3eec32
DU
3740 (package--check-signature): Don't re-signal errors from
3741 package--with-work-buffer. Suggested by Stefan Monnier.
3742
68f0bb97
BG
37432014-01-07 Bastien Guerry <bzg@gnu.org>
3744
3745 * minibuffer.el (completion--try-word-completion): When both a
3746 hyphen and a space are possible candidates for the character
3747 following a word, display both candidates. (Bug#15980)
3748
7e1899d7
MR
37492014-01-07 Martin Rudalics <rudalics@gmx.at>
3750
3751 * window.el (balance-windows-2): While rounding don't give a
c295fc18 3752 window more than the remainder. Bug#16351, bug#16383.
7e1899d7 3753
0030ec15
GM
37542014-01-07 Glenn Morris <rgm@gnu.org>
3755
3756 * menu-bar.el (menu-bar-help-extra-packages): Remove.
3757 (menu-bar-help-menu): Use view-external-packages instead.
3758
2b6b4f20
BG
37592014-01-07 Bastien Guerry <bzg@gnu.org>
3760
3761 * emacs-lisp/package.el (package-delete): Also delete the package
3762 name from `package-alist', not its description only.
3763
e9be0a13
GM
37642014-01-07 Glenn Morris <rgm@gnu.org>
3765
3766 * help.el (view-external-packages):
3767 * menu-bar.el (menu-bar-help-extra-packages):
3768 Visit efaq.info rather than etc/MORE.STUFF.
3769
e4f74da9
JL
37702014-01-07 Juri Linkov <juri@jurta.org>
3771
3772 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
3773 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
3774
3775 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
3776 that shadows RET. (Bug#16342)
3777
de7ce2d1
CY
37782014-01-07 Chong Yidong <cyd@gnu.org>
3779
3780 * isearch.el (isearch-yank-char, isearch-yank-word)
3781 (isearch-yank-line): Doc fix.
3782
6bdd9204
SM
37832014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
3784
3785 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
3786 * emacs-lisp/elint.el (elint-find-builtins):
3787 * emacs-lisp/eldoc.el (eldoc-symbol-function):
3788 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
3789 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
3790 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
3791 * apropos.el (apropos-safe-documentation):
3792 * subr.el (symbol-file): Remove redundant fboundp.
3793 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
3794
daccca97
BG
37952014-01-06 Bastien Guerry <bzg@gnu.org>
3796
3797 * hl-line.el (global-hl-line-overlay): Make a local variable.
3798 (global-hl-line-overlays): New variable to store all overlays.
3799 (global-hl-line-mode): Don't delete overlays from the current
3800 buffer when `global-hl-line-sticky-flag' is non-nil.
3801 (global-hl-line-highlight): Add new overlays to
3802 `global-hl-line-overlays'.
3803 (global-hl-line-unhighlight-all): New function to delete all
3804 overlays when turning off `global-hl-line-mode'.
3805 This fixes Bug#16183.
3806
ec00f20f
SM
38072014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
3808
3809 * subr.el (set-transient-map): Fix nested case and docstring.
3810
a0031f97
TH
38112014-01-06 Tassilo Horn <tsdh@gnu.org>
3812
3813 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
3814 `Texinfo' entry.
3815
bf6a77f3
DC
38162014-01-06 Daniel Colascione <dancol@dancol.org>
3817
3818 Fix defun navigation in vc log view.
3819
3820 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
3821 like `beginning-of-defun'.
c295fc18 3822 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
ec00f20f
SM
3823 log-view-end-of-defun to log-view-end-of-defun-1. Replace
3824 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
bf6a77f3 3825 (log-view-extract-comment): Call `log-view-current-entry' directly
ec00f20f 3826 instead of relying on broken `log-view-beginning-of-defun' behavior.
bf6a77f3 3827
d5081c1e
PE
38282014-01-06 Paul Eggert <eggert@cs.ucla.edu>
3829
3830 Spelling fixes.
3831 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
3832 * emacs-lisp/debug.el (cancel-debug-on-entry):
3833 * epg.el (epg-error-to-string):
3834 * files.el (recover-file):
3835 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
3836 * mail/emacsbug.el (report-emacs-bug-hook):
3837 * mail/sendmail.el (mail-recover):
3838 * ses.el (ses-yank-resize):
3839 * term/ns-win.el (ns-print-buffer):
3840 Spelling fixes in diagnostics, mostly for "canceled" with one L.
3841 * epg.el (epg-key-capability-alist): Rename from misspelled version.
3842 All uses changed.
3843 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
3844
53f6b148
LL
38452014-01-06 Leo Liu <sdl.web@gmail.com>
3846
3847 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
3b922c70 3848 to avoid shadowing global key. (Bug#16354)
53f6b148 3849
b82ace2f
DC
38502014-01-06 Daniel Colascione <dancol@dancol.org>
3851
3852 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
3853 rst-mode.
3854
3669b636
MR
38552014-01-05 Martin Rudalics <rudalics@gmx.at>
3856
3857 * window.el (balance-windows): Add mising t to fix Bug#16351.
3858
1a29adc2
LMI
38592014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3860
3861 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
3862 (bug#16285).
3d95a0f4
LMI
3863 (shr-insert): If we have a word that's longer than `shr-width',
3864 break after it anyway. Otherwise we'll do no breaking once we get
3865 such a long word.
1a29adc2 3866
f4018140
KN
38672014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3868
3fcfc4ee 3869 * net/eww.el (eww): Support single/double quote for search.
c295fc18 3870 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
189340f5
KN
3871 (eww-history-quit): Delete and use quit-window.
3872 (eww-history-kill): Delete, because it doesn't work well and
3873 not necessary.
3874 (eww-history-mode-map): Delete some keys and add easy-menu.
f4018140 3875
4e619754
PE
38762014-01-05 Paul Eggert <eggert@cs.ucla.edu>
3877
73dbf960
PE
3878 Fix misspelling of 'chinese' in rx (Bug#16237).
3879 * emacs-lisp/rx.el (rx-categories): Correct spelling of
3880 chinese-two-byte.
3881
4e619754
PE
3882 Change subword regexps back to vars (Bug#16296).
3883 * progmodes/subword.el (subword-forward-regexp)
3884 (subword-backward-regexp): Change these back to variables.
3885
e18b70fc
SM
38862014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
3887
3888 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
3889 syntax-begin-function (bug#16247).
3890
0d53f628
CY
38912014-01-03 Chong Yidong <cyd@gnu.org>
3892
3893 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
3894 (advice--docstring): Delete variable.
3895 (advice--make-1): Leave the docstring empty.
3896 (advice-add): Use function-documentation for advised docstring.
3897
3898 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
3899 Ignore function-documentation property when getting documentation.
3900 (ad-activate-advised-definition): Use function-documentation
3901 generate the docstring.
3902 (ad-make-advised-definition): Don't call
3903 ad-make-advised-definition-docstring.
3904 (ad-make-advised-definition-docstring, ad-advised-definition-p):
3905 Delete functions.
3906
3907 * progmodes/sql.el (sql-help): Use function-documentation instead
3908 of dynamic-docstring-function property. No need to autoload now.
3909 (sql--help-docstring): New variable.
3910 (sql--make-help-docstring): Use it.
3911
6f547583
SM
39122014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
3913
6ef9aed8
SM
3914 * ielm.el (ielm-tab): Retarget.
3915 (ielm-map): Use ielm-tab for tab.
3916 (ielm-complete-filename): Use comint-filename-completion.
3917 (ielm-complete-symbol): Remove.
3918 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
3919 remove ielm-tab from completion-at-point-functions (bug#16224).
3920
6f547583
SM
3921 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
3922 Beware signals raised by predicates (bug#16201).
3923
a574edbe
RS
39242014-01-02 Richard Stallman <rms@gnu.org>
3925
e831604d
RS
3926 * dired-aux.el (dired-do-print): Handle printer-name.
3927
6f547583
SM
3928 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
3929 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
a574edbe
RS
3930 (rmail-epa-decrypt): Turn off mime processing.
3931
3fcfc4ee 3932 * mail/rmail.el (rmail-make-in-reply-to-field):
a574edbe
RS
3933 Add parens in message-id.
3934
3935 * mail/rmail.el (rmail-get-coding-function): Variable.
3936 (rmail-get-coding-system): Use it.
3937
04311a16
KH
39382013-12-31 Eli Zaretskii <eliz@gnu.org>
3939
3940 * international/mule-conf.el: Unify the charset indian-is13194.
3941 (indian-is13194): Specify unify-map.
3942
c8d89778
LL
39432013-12-31 Leo Liu <sdl.web@gmail.com>
3944
3945 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
3946
e63ace37
DC
39472013-12-30 Daniel Colascione <dancol@dancol.org>
3948
9e0bf19a
DC
3949 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
3950 of printing a useless when we resume from sleep.
3951
e63ace37 3952 * progmodes/sh-script.el
c295fc18 3953 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
e63ace37
DC
3954 in indentation code. (Bug#16233)
3955
e9d6c46a
JT
39562013-12-28 João Távora <joaotavora@gmail.com>
3957
6f547583
SM
3958 * elec-pair.el (electric-pair-post-self-insert-function):
3959 Don't open extra newlines at beginning of buffer. (Bug#16272)
e9d6c46a 3960
bf7bea5d
EZ
39612013-12-28 Eli Zaretskii <eliz@gnu.org>
3962
3963 * frame.el (window-system-for-display): Don't allow to create a
3964 GUI frame from a -nw session on MS-Windows. (Bug#14739)
3965
8449dd1f
GM
39662013-12-28 Glenn Morris <rgm@gnu.org>
3967
9c5a5c77
GM
3968 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
3969 Update callers.
3970
3971 * apropos.el (apropos-match-face):
3972 * calculator.el (calculator-displayer):
3973 * dabbrev.el (dabbrev-search-these-buffers-only):
3974 * face-remap.el (buffer-face-mode-face):
3975 * simple.el (yank-handled-properties):
3976 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
3977 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
3978 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
3979 (hashcash-double-spend-database):
3980 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
3981 (ruby-deep-indent-paren-style):
3982 * textmodes/flyspell.el (flyspell-auto-correct-binding):
3983 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
3984 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
3985 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
3986 Specify custom types.
3987
bb098075
GM
3988 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
3989 * bookmark.el (bookmark-bmenu-use-header-line):
3990 * doc-view.el (doc-view-scale-internally):
3991 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
3992 * register.el (register-preview-delay):
3993 * net/shr.el (shr-bullet):
3994 * progmodes/cfengine.el (cfengine-cf-promises)
3995 (cfengine-parameters-indent):
3996 * progmodes/octave.el (inferior-octave-error-regexp-alist):
3997 * textmodes/reftex-vars.el (reftex-label-regexps):
3998 * vc/log-edit.el (log-edit-setup-add-author): Add version.
3999
9c61f806
GM
4000 * net/tls.el (tls-certtool-program): Fix default value.
4001
4002 * desktop.el (desktop-restore-in-current-display):
4003 * newcomment.el (comment-empty-lines):
4004 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
4005 (idlwave-pad-keyword):
4006 * progmodes/tcl.el (tcl-tab-always-indent):
4007 * textmodes/reftex-vars.el (reftex-index-default-tag):
4008 * elec-pair.el (electric-pair-skip-whitespace):
4009 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
4010
8449dd1f
GM
4011 * emacs-lisp/authors.el (authors-ignored-files)
4012 (authors-valid-file-names, authors-renamed-files-alist): Additions.
4013
fdadeb49
JC
40142013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
4015
72140a0f
GM
4016 * shell.el (shell-dynamic-complete-command): Doc fix.
4017 (shell--command-completion-data): Shell completion now matches
4018 executable filenames from the current buffer's directory, on
da5ecfa9 4019 systems in which this behavior is the default (windows-nt, ms-dos).
fdadeb49 4020
e572a7d8
LI
40212013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4022
4023 * net/shr.el (shr-insert): Don't infloop if the width is zero.
4024
7514d3f8
SM
40252013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
4026
a4151f3b
SM
4027 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
4028 (bug#16251).
4029
7514d3f8
SM
4030 * electric.el: Move all electric-pair-* to elec-pair.el.
4031 * elec-pair.el: New file, split from electric.el.
4032
ac5758d1
LI
40332013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4034
4035 * net/shr.el (shr-find-fill-point): Don't try to fill if the
4036 indentation level is larger than the width, because that will
4037 infloop.
4038 (shr-insert): Fill repeatedly long texts, so that Japanese is
4039 formatted correctly (bug#16263).
24a6b65e
LI
4040 (shr-find-fill-point): Off by one error in comparison with the
4041 indentation.
ac5758d1 4042
7514d3f8 40432013-12-26 João Távora <joaotavora@gmail.com>
3b8d5131
JT
4044
4045 * electric.el (electric-pair-mode): More flexible engine for skip-
7514d3f8 4046 and inhibit predicates, new options for pairing-related functionality.
3b8d5131
JT
4047 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
4048 if that keeps or improves their balance in buffers.
4049 (electric-pair-delete-adjacent-pairs): Delete the pair when
4050 backspacing over adjacent matched delimiters.
4051 (electric-pair-open-extra-newline): Open extra newline when
4052 inserting newlines between adjacent matched delimiters.
7514d3f8
SM
4053 (electric--sort-post-self-insertion-hook):
4054 Sort post-self-insert-hook according to priority values when
3b8d5131
JT
4055 minor-modes are activated.
4056 * simple.el (newline-and-indent): Call newline with interactive
4057 set to t.
4058 (blink-paren-post-self-insert-function): Set priority to 100.
7514d3f8
SM
4059 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4060 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
4061 comments. Locally set electric-pair-skip-whitespace to 'chomp and
3b8d5131
JT
4062 electric-pair-open-newline-between-pairs to nil.
4063
fbcc63a3
FEG
40642013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
4065
4066 * progmodes/python.el: Use lexical-binding.
4067 (python-nav-beginning-of-defun): Stop searching ASAP.
4068
ed78d16c
XF
40692013-12-25 Xue Fuqiao <xfq.free@gmail.com>
4070
4071 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
4072 Fix interactive spec. Doc fix. (Bug#15754)
4073
38b2c142
KY
40742013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
4075
4076 * emacs-lisp/byte-run.el (eval-when-compile):
55db967f 4077 * progmodes/cc-defs.el (cc-eval-when-compile):
38b2c142
KY
4078 Fix edebug spec (bug#16184).
4079
3c856c14
LI
40802013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4081
83fa295c 4082 * net/shr.el (shr-visit-file): Remove debugging function.
f7f071dc
LI
4083 (shr-insert): Don't infloop if we can't find a good place to break
4084 the line (bug#16256).
3c856c14 4085
01379221
FEG
40862013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
4087
35e951cd 4088 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
01379221
FEG
4089 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
4090 python-nav-lisp-forward-sexp-safe.
4091 (python-nav--forward-sexp): New argument SAFE allows switching
4092 forward sexp movement behavior for parens.
4093 (python-nav-forward-sexp): Throw errors on unterminated parens
4094 (Bug#16191).
4095 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
4096 (python-nav-backward-sexp-safe): New functions.
7514d3f8
SM
4097 (python-shell-buffer-substring):
4098 Use `python-nav-forward-sexp-safe'.
01379221 4099
99e4926f
LI
41002013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4101
4102 * net/shr.el (shr-find-fill-point): Don't break lines before a
4103 quotation mark.
c6c20584
LI
4104 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
4105 (shr-find-fill-point): Remove the special checks for the quotation
7514d3f8 4106 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
99e4926f 4107
fec0e828
KN
41082013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4109
4110 * net/eww.el (eww-form-textarea): Use a different face for
4111 textareas than text input since they have different keymaps
4112 (bug#16142).
4113
89c868ad
FEG
41142013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
4115
7514d3f8
SM
4116 * progmodes/python.el (python-nav-beginning-of-statement):
4117 Speed up (Bug#15295).
89c868ad 4118
eeef121a
LI
41192013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4120
4121 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
4122 the window configuration.
4123
121ea65f
EZ
41242013-12-24 Eli Zaretskii <eliz@gnu.org>
4125
4126 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
4127 we run on MS-Windows or MS-DOS.
4128
18cee9ec
MR
41292013-12-24 Martin Rudalics <rudalics@gmx.at>
4130
4131 * window.el (balance-windows-area): Call window-size instead of
4132 window-height and window-width. Bug#16241.
4133
58f2b9a5
LI
41342013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4135
4136 * net/eww.el (eww-bookmark-quit): Remove.
4137 (eww-bookmark-browse): Restore the window configuration when you
4138 choose a bookmark (bug#16144).
4139
d64b6308
DC
41402013-12-24 Daniel Colascione <dancol@dancol.org>
4141
4142 * icomplete.el: Remove redundant :group arguments to `defcustom'
4143 throughout.
4144 (icomplete-show-matches-on-no-input): New customizable variable.
4145 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
4146 we have something to show.
7514d3f8 4147 (icomplete-exhibit): Compute completions even if we have no user input.
d64b6308 4148
0da54898
DC
41492013-12-23 Daniel Colascione <dancol@dancol.org>
4150
4151 * icomplete.el: Move `provide' to end of file.
4152
b90aa4f4
TZ
41532013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
4154
4155 * net/gnutls.el (gnutls-verify-error): Add version tag.
4156
8cd22a08
CY
41572013-12-23 Chong Yidong <cyd@gnu.org>
4158
4159 * subr.el (set-transient-map): Rename from
4160 set-temporary-overlay-map. Doc fix.
4161
4162 * face-remap.el (text-scale-adjust):
4163 * indent.el (indent-rigidly):
4164 * kmacro.el (kmacro-call-macro):
4165 * minibuffer.el (minibuffer-force-complete):
4166 * repeat.el (repeat):
4167 * simple.el (universal-argument--mode):
4168 * calendar/todo-mode.el (todo-insert-item--next-param):
4169 * progmodes/f90.el (f90-abbrev-start): Callers changed.
4170
7510b021
CY
4171 * indent.el (indent-rigidly): Use substitute-command-keys.
4172
72140a0f 41732013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
56890ecd
KN
4174
4175 * net/eww.el (eww-tag-select): Add text-property to jump to next
4176 select field.
e9dc713d 4177 (eww): Add non-supported ftp error.
56890ecd 4178
1f87a56c
DG
41792013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4180
4181 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
4182 comments. Handle electric indent after typing `?' and `!'.
4183
dca38cf9
CY
41842013-12-22 Chong Yidong <cyd@gnu.org>
4185
4186 * faces.el (face-spec-recalc): If the theme specs are not
7514d3f8
SM
4187 applicable to a frame, fall back on the defface spec.
4188 This prevents themes from obliterating faces on low-color terminals.
dca38cf9 4189
f2351498
DG
41902013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4191
4192 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
4193 after `{'. We need it after block openers, and it doesn't seem
4194 to hurt after hash openers.
4195
6cddebc1
DG
41962013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4197
4198 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
4199 extracted from `ruby-smie-rules'.
4200 (ruby--electric-indent-chars): New variable.
4201 (ruby--electric-indent-p): New function.
4202 (ruby-mode): Use `electric-indent-functions' instead of
4203 `electric-indent-chars'.
4204
65a1da00
DG
42052013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4206
4207 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
4208 docstring.
4209 (ruby-smie-rules): Indent plus one level after `=>'.
4210
b51ad4cf
RS
42112013-12-21 Richard Stallman <rms@gnu.org>
4212
4213 * simple.el (newline): Doc fix.
4214
72140a0f 42152013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
d49fbfd6 4216
e9dc713d 4217 * net/eww.el (eww-list-histories, eww-list-histories)
d49fbfd6
TZ
4218 (eww-history-browse, eww-history-quit, eww-history-kill)
4219 (eww-history-mode-map, eww-history-mode): New command and
4220 functions to list browser histories.
e9dc713d
JB
4221 (eww-form-text): Support text form with disabled
4222 and readonly attributes.
4223 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
d49fbfd6 4224
5e1901c1
RS
42252013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4226
4227 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
4228 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
4229 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
4230 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
4231 Use `user-error'.
4232 (eww-bookmark-mode-map): Add menu.
4233 (eww-render, eww-mode): Use `setq-local'.
4234 (eww-tool-bar-map): New variable.
4235 (eww-mode): Set `tool-bar-map'.
4236 (eww-view-source): Check for `html-mode' with `fboundp'.
4237
073d5cfd
LMI
42382013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4239
4240 * net/shr.el (shr--extract-best-source): Don't bug out on audio
4241 elements with text inside. Also remove debugging.
4242
41cf3d11
JD
42432013-12-21 Jan Djärv <jan.h.d@swipnet.se>
4244
4245 * cus-start.el (all): Add ns-use-srgb-colorspace.
4246
aac2b673
CY
42472013-12-21 Chong Yidong <cyd@gnu.org>
4248
4249 * custom.el (custom-theme-recalc-face): Do nothing if the face is
4250 undefined. Thus, theme settings for undefined faces do not take
4251 effect until the faces are defined with defface, the same as with
4252 theme variables.
4253
4254 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
4255 (face-spec-reset-face): Don't assign extra properties in temacs.
4256 (face-spec-recalc): Apply X resources too.
4257
bacb0e77
CY
42582013-12-21 Chong Yidong <cyd@gnu.org>
4259
4260 * faces.el (face-spec-set):
4261 * cus-face.el (custom-theme-set-faces, custom-set-faces):
4262 * custom.el (defface): Doc fixes (Bug#16203).
4263
77221051
CY
4264 * indent.el (indent-rigidly-map): Add docstring, and move commands
4265 into named functions.
4266 (indent-rigidly-left, indent-rigidly-right)
4267 (indent-rigidly-left-to-tab-stop)
4268 (indent-rigidly-right-to-tab-stop): New functions. Decide on
4269 indentation direction based on bidi direction, and accumulate
4270 sequential commands in a single undo boundary.
4271 (indent-rigidly--pop-undo): New utility function.
4272
e0eb0550
JB
42732013-12-20 Juanma Barranquero <lekktu@gmail.com>
4274
4275 * faces.el (read-face-name): Require crm.el when using crm-separator.
4276
3282bd2e
DC
42772013-12-20 Daniel Colascione <dancol@dancol.org>
4278
4279 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
4280 so that we don't reflow comments into the shebang line.
4281
1d42e5b6
JL
42822013-12-20 Juri Linkov <juri@jurta.org>
4283
4284 * saveplace.el (save-place-to-alist): Add `dired-filename' as
4285 a position when `dired-directory' is non-nil. Check integer
4286 positions with `integerp'.
4287 (toggle-save-place, save-places-to-alist): Add check for
4288 `dired-directory'.
4289 (save-place-find-file-hook): Check integer positions with
4290 `integerp'.
4291 (save-place-dired-hook): Use `dired-goto-file' when
4292 `dired-filename' is found in the assoc list. Check integer
4293 positions with `integerp'.
4294 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
4295
4296 * dired.el (dired-initial-position-hook): Rename back from
4297 `dired-initial-point-hook'.
4298 (dired-initial-position): Rename `dired-initial-point-hook' to
4299 `dired-initial-position-hook'.
4300 (dired-file-name-at-point): Doc fix. (Bug#15329)
4301
24da7273
JL
43022013-12-20 Juri Linkov <juri@jurta.org>
4303
4304 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
4305 (read-regexp-suggestions): New function.
4306 (read-regexp): Use `read-regexp-defaults-function' to get default values.
4307 Use `read-regexp-suggestions'. Add non-empty default to history
4308 for empty input.
4309 (occur-read-regexp-defaults-function): Remove function.
4310 (occur-read-primary-args): Use `regexp-history-last' instead of
4311 `occur-read-regexp-defaults-function'.
4312
4313 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
4314 (hi-lock-line-face-buffer, hi-lock-face-buffer)
4315 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
4316 `hi-lock-read-regexp-defaults-function'. Doc fix.
4317 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
4318 with `find-tag-default-as-symbol-regexp'. Doc fix.
4319 (hi-lock-read-regexp-defaults): Remove function.
4320 (hi-lock-regexp-okay): Add check for null.
4321
4322 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
4323 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
4324
4325 * subr.el (find-tag-default-as-symbol-regexp): New function.
4326 (find-tag-default-as-regexp): Move symbol regexp formatting to
4327 `find-tag-default-as-symbol-regexp'.
4328
137f57c8
S
43292013-12-20 E Sabof <esabof@gmail.com> (tiny change)
4330
4331 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
4332 (Bug#14179)
4333
f3a66082
SB
43342013-12-20 Stephen Berman <stephen.berman@gmx.net>
4335
4336 * calendar/todo-mode.el: New implementation of item insertion
4337 commands and key bindings.
4338 (todo-key-prompt): New face.
4339 (todo-insert-item): New command.
4340 (todo-insert-item--parameters): New defconst, replacing defvar
4341 todo-insertion-commands-args-genlist.
4342 (todo-insert-item--param-key-alist): New defconst, replacing
4343 defvar todo-insertion-commands-arg-key-list.
4344 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
4345 (todo-insert-item--argsleft, todo-insert-item--apply-args)
4346 (todo-insert-item--next-param): New functions.
4347 (todo-insert-item--args, todo-insert-item--argleft)
4348 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
4349 New variables.
4350 (todo-key-bindings-t): Change binding of "i" from
4351 todo-insertion-map to todo-insert-item.
4352 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
4353 (todo-insertion-command-name, todo-insertion-commands-names)
4354 (todo-define-insertion-command, todo-insertion-commands)
4355 (todo-insertion-key-bindings, todo-insertion-map): Remove.
4356
2f99433b
SB
43572013-12-20 Stephen Berman <stephen.berman@gmx.net>
4358
4359 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
4360 (todo-toggle-item-highlighting): Use eval-and-compile instead of
4361 eval-when-compile.
4362 (todo-move-category): Allow choosing a non-existing todo file to
4363 move the category to, and create that file.
4364 (todo-default-priority): New user option.
4365 (todo-set-item-priority): Use it.
4366 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
4367 (desktop-restore-file-buffer): Declare.
4368 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
4369 (todo-modes-set-2): Locally set desktop-save-buffer to
4370 todo-desktop-save-buffer.
4371 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
4372 (auto-mode-alist): Add autoload cookie.
4373
131e4695
BB
43742013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
4375
4376 * emacs-lisp/subr-x.el: Renamed from helpers.el.
4377 helpers.el was a poor choice of name.
3cbfb935
BB
4378 (string-remove-prefix): New function.
4379 (string-remove-suffix): New function.
131e4695 4380
c44de18d
MR
43812013-12-20 Martin Rudalics <rudalics@gmx.at>
4382
4383 Fix assignment for new window total sizes.
4384 * window.el (window--pixel-to-size): Remove function.
e0eb0550
JB
4385 (window--pixel-to-total-1, window--pixel-to-total):
4386 Fix calculation of new total sizes.
c44de18d 4387
ca65efcc
VS
43882013-12-20 Vitalie Spinu <spinuvit@gmail.com>
4389
4390 * comint.el (comint-output-filter): Fix rear-nonsticky property
4391 placement (Bug#16010).
4392
a9574eb7
CY
43932013-12-20 Chong Yidong <cyd@gnu.org>
4394
4395 * faces.el (read-color): Minor fix for completion function.
4396
b520f210
DG
43972013-12-20 Dmitry Gutov <dgutov@yandex.ru>
4398
e0eb0550
JB
4399 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
4400 New option. (Bug#16182)
b520f210
DG
4401 (ruby-smie--indent-to-stmt-p): Use it.
4402 (ruby-smie-rules): Revert the logic in the handling of `when'.
4403 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
4404 (ruby-deep-arglist, ruby-deep-indent-paren)
4405 (ruby-deep-indent-paren-style): Update docstrings to note that the
4406 vars don't have any effect with SMIE.
4407
26b75b45
JB
44082013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
4409
4410 * calc/calc.el (calc-enter, calc-pop): Use the variable
4411 `calc-context-sensitive-enter'.
4412
cf91cee7
LMI
44132013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
4414
4415 * net/shr.el (shr-insert): Protect against infloops in degenerate
4416 tables.
4417
51d971b4
RS
44182013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4419
4420 * progmodes/octave.el (octave): Add link to manual and octave
4421 homepage.
4422 (octave-mode-menu): Link to octave-mode manual.
4423
8c2e462a
LL
44242013-12-20 Leo Liu <sdl.web@gmail.com>
4425
4426 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
4427 insertion using skeleton-end-newline. (Bug#16138)
4428
501158bc
JL
44292013-12-20 Juri Linkov <juri@jurta.org>
4430
4431 * replace.el (occur-engine): Use `add-face-text-property'
4432 to add the face property to matches and titles. (Bug#14645)
4433
4434 * hi-lock.el (hi-green): Use lighter color "light green" closer to
4435 the palette of other hi-lock colors.
4436 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
4437
50ab1da6
JL
44382013-12-19 Juri Linkov <juri@jurta.org>
4439
4440 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
4441 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
4442 (minibuffer-history-symbol): Move variable declaration closer to
4443 its usage.
4444
4445 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
4446 (Bug#14785)
4447
3d6e95e7
JL
44482013-12-19 Juri Linkov <juri@jurta.org>
4449
4450 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
4451 New function.
4452 (log-edit-hook): Add it to :options. (Bug#16170)
4453
b41594fd
JL
44542013-12-19 Juri Linkov <juri@jurta.org>
4455
4456 * simple.el (eval-expression-print-format): Don't check for
4457 command names and the last command. Always display additional
4458 formats of the integer result in the echo area, and insert them
4459 to the current buffer only with a zero prefix arg.
4460 Display character when char-displayable-p is non-nil.
4461 (eval-expression): With a zero prefix arg, set `print-length' and
4462 `print-level' to nil, and insert the integer values from
4463 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
4464
4465 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
4466 `eval-last-sexp-arg-internal'. Doc fix.
4467 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
4468 `eval-last-sexp-print-value'. Doc fix.
4469 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
4470 Set `print-length' and `print-level' to nil when arg is zero.
4471 (eval-last-sexp): Doc fix.
4472 (eval-defun-2): Print the integer values from
4473 `eval-expression-print-format' at the end.
4474
4475 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
4476 values from `eval-expression-print-format' at the end.
4477
4478 * ielm.el (ielm-eval-input): Print the integer
4479 values from `eval-expression-print-format' at the end.
4480
8f2be364
TZ
44812013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
4482
4483 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
4484 2013-12-11T19:01:44Z!tzz@lifelogs.com.
4485
2230a6e3
SM
44862013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
4487
4488 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
4489 (hl-line-highlight, global-hl-line-highlight): Use it.
4490 (hl-line-overlay): Use defvar-local.
4491
1269a680
JD
44922013-12-19 Jan Djärv <jan.h.d@swipnet.se>
4493
4494 * term/ns-win.el: Require dnd.
4495 (global-map): Remove drag items.
4496 (ns-insert-text, ns-set-foreground-at-mouse)
2230a6e3
SM
4497 (ns-set-background-at-mouse):
4498 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
4499 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
4500 New functions.
1269a680 4501
049638ad
GM
45022013-12-19 Glenn Morris <rgm@gnu.org>
4503
4504 * emacs-lisp/ert.el (ert-select-tests):
4505 Fix string/symbol mixup. (Bug#16121)
4506
ce41edb4
DG
45072013-12-19 Dmitry Gutov <dgutov@yandex.ru>
4508
4509 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
4510 keywords to their parent.
4511
7e1549c9
DG
45122013-12-19 Dmitry Gutov <dgutov@yandex.ru>
4513
4514 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
4515 first arg to be a string (fixed dead code), or an operator symbol.
4516 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
4517 operator symbols.
4518 (ruby-smie-rules): Remove parent token check in the `.' clause, it
4519 did nothing. Don't respond to `(:after ".")', it will be called
4520 with :before anyway. Remove the ` @ ' rule, it didn't seem to
4521 change anything. Only return indentation for binary operators
4522 when they are hanging. De-dent opening paren when its parent is
4523 `.', otherwise it looks bad when the dot is not at bol or eol
4524 (bug#16182).
4525
3ee4cd64
JL
45262013-12-19 Juri Linkov <juri@jurta.org>
4527
4528 * replace.el (query-replace-read-args): Split a non-negative arg
4529 and a negative arg into separate elements.
4530 (query-replace, query-replace-regexp, replace-string)
4531 (replace-regexp): Add arg `backward'. Doc fix.
4532 (replace-match-maybe-edit): When new arg `backward' is non-nil,
4533 move point to the beginning of the match.
4534 (replace-search, replace-highlight): Use new arg `backward'
4535 to set the value of `isearch-forward'.
4536 (perform-replace): Add arg `backward' and use it to perform
4537 replacement backward. (Bug#14979)
4538
4539 * isearch.el (isearch-query-replace): Use a negative prefix arg
4540 to call `perform-replace' with a non-nil arg `backward'.
4541
0cda6b7b
JL
45422013-12-18 Juri Linkov <juri@jurta.org>
4543
4544 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
4545 to the default list. Move `log-edit-show-files' to the end.
4546 Add more available functions to options.
4547 (log-edit): Move default specific settings to
4548 `log-edit-insert-message-template'. Don't move point.
4549 (log-edit-insert-message-template): New function.
4550 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
4551 (Bug#16170)
4552
b216f0a6
JL
45532013-12-18 Juri Linkov <juri@jurta.org>
4554
4555 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
4556 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
4557
1d1c55dc
LL
45582013-12-18 Leo Liu <sdl.web@gmail.com>
4559
e9dc713d
JB
4560 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
4561 (Bug#16186)
1d1c55dc 4562
64e4c76e
EZ
45632013-12-18 Eli Zaretskii <eliz@gnu.org>
4564
4565 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
4566 formats for displaying file sizes when the -s switch is given.
4567 Instead, compute a separate format for displaying the size in
4568 blocks, which is displayed in addition to the "regular" size.
4569 When -h is given in addition to -s, produce size in blocks in
4570 human-readable form as well. (Bug#16179)
4571
b2984e39
TH
45722013-12-18 Tassilo Horn <tsdh@gnu.org>
4573
2230a6e3
SM
4574 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
4575 Reference tables with ~\ref{...} instead of only \ref{...}.
b2984e39 4576
50ff2e06
CY
45772013-12-18 Chong Yidong <cyd@gnu.org>
4578
0081bc84
CY
4579 * cus-edit.el (custom-magic-alist): Fix "themed" description
4580 (Bug#14348).
4581
a7ee9424
CY
4582 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
4583 is non-nil, do not create a new entry in the symbol's theme-value
4584 or theme-face property; update theme-settings only (Bug#14664).
18874304 4585 (custom-available-themes): Doc fix.
a7ee9424 4586
8f942537
CY
4587 * cus-theme.el (custom-new-theme-mode-map): Add bindings
4588 (Bug#15674).
4589
50ff2e06
CY
4590 * replace.el (occur-engine): Avoid infloop (Bug#7593).
4591
83c60f60
KI
45922013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
4593
4594 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
4595 (Bug#13914).
4596
e0eb0550 45972013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
ba874b64
SF
4598
4599 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
4600
1f41ee56
GM
46012013-12-18 Glenn Morris <rgm@gnu.org>
4602
4603 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
123d0143 4604 * cus-start.el (load-prefer-newer): New option.
1f41ee56 4605
e82134b1
LW
46062013-12-18 Le Wang <l26wang@gmail.com>
4607
2230a6e3
SM
4608 * comint.el (comint-previous-matching-input-from-input):
4609 Retain point (Bug#13404).
e82134b1 4610
33f5d4c1
CY
46112013-12-18 Chong Yidong <cyd@gnu.org>
4612
4613 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
4614
ccc9f6dc
GM
46152013-12-18 Glenn Morris <rgm@gnu.org>
4616
4617 * mail/emacsbug.el (report-emacs-bug):
4618 Only mention enable-multibyte-characters if non-standard.
4619
33dd8e95
JL
46202013-12-17 Juri Linkov <juri@jurta.org>
4621
4622 * arc-mode.el (archive-extract-by-file): Check if directory exists
4623 before deletion to not show irrelevant errors if it doesn't exist.
4624
7a409b30
JL
46252013-12-17 Juri Linkov <juri@jurta.org>
4626
4627 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
4628 (Bug#14751)
4629
4630 * net/eww.el (browse-web): Add alias to `eww'.
4631 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
4632 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
4633
4634 * net/browse-url.el (browse-url-browser-function): Move `eww'
4635 closer to similar functions.
4636
4637 * startup.el (fancy-startup-screen, fancy-about-screen):
4638 Set browse-url-browser-function to eww-browse-url locally.
4639 (Bug#14751)
4640
2d6b6005
SM
46412013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
4642
4643 * window.el (window--pixel-to-total): Remove unused `mini' var.
4644 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
4645 (split-window): Remove unused `new' var.
4646 (window--display-buffer): Remove unused `frame' and `delta' vars.
4647 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
4648 and display-width'.
4649
cf2b7efc
MR
46502013-12-17 Martin Rudalics <rudalics@gmx.at>
4651
4652 * dired.el (dired-mark-pop-up):
4653 * register.el (register-preview): Don't bind
4654 split-height-threshold here since it's now done in
4655 display-buffer-below-selected.
4656
ed3af8a7 46572013-12-17 oblique <psyberbits@gmail.com> (tiny change)
4658
4659 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
4660 xterm-rgb-convert-to-16bit.
4661 (rxvt-register-default-colors): Standardize with
4662 xterm-register-default-colors (Bug#14078).
4663
76da3455
DK
46642013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
4665
4666 * simple.el (kill-region): Pass mark first, then point, so that
4667 kill-append works right (Bug#12819).
4668 (copy-region-as-kill, kill-ring-save): Likewise.
4669
2b84d763
LL
46702013-12-17 Leo Liu <sdl.web@gmail.com>
4671
4672 * net/rcirc.el (rcirc-add-face):
4673 * eshell/em-prompt.el (eshell-emit-prompt):
4674 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
4675 (Bug#16167)
4676
e2f6a0bc
CY
46772013-12-17 Chong Yidong <cyd@gnu.org>
4678
4679 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
4680 Suggested by Xue Fuqiao.
4681
35b249a6
DG
46822013-12-17 Dmitry Gutov <dgutov@yandex.ru>
4683
4684 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
4685
e9145444
SM
46862013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
4687
4688 * net/shr.el (shr-insert-document): Remove unused var
4689 `shr-preliminary-table-render'.
4690 (shr-rescale-image): Remove unused arg `force'.
4691 (shr-put-image): Update calls accordingly.
4692 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
4693
5556c0ce
DG
46942013-12-17 Dmitry Gutov <dgutov@yandex.ru>
4695
4696 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
4697 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
4698 :close-all, to see which indentation method to use (Bug#16116).
4699 (smie-rules-function): Document the method :close-all.
4700
11bade0a
LMI
47012013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4702
1c4b1e61
LMI
4703 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
4704
11bade0a
LMI
4705 * net/eww.el (eww-display-html): If we can't find the anchor we're
4706 looking for, then go to point-min.
4707
8fb8c4f3
PE
47082013-12-16 Paul Eggert <eggert@cs.ucla.edu>
4709
4710 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
4711 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
4712 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
4713 Expand dir too, in case it's relative.
4714
6c8e0ae6
JL
47152013-12-16 Juri Linkov <juri@jurta.org>
4716
4717 * desktop.el (desktop-auto-save-timeout): Change default to
4718 `auto-save-timeout'. Doc fix.
4719 (desktop-save): Skip the timestamp in desktop-saved-frameset
4720 when checking for auto-save changes.
4721 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
4722 `desktop-auto-save' is called repeatedly by the idle timer.
4723 (desktop-auto-save-set-timer): Replace `run-with-timer' with
4724 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
4725 (Bug#15331)
4726
2178e858
JL
47272013-12-16 Juri Linkov <juri@jurta.org>
4728
4729 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
4730 (Bug#16035)
4731 (isearch-pre-command-hook): Check `this-command' for symbolp.
4732
39cb42c6
SM
47332013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
4734
4735 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
4736
5b9b750a
TZ
47372013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
4738
4739 * progmodes/cfengine.el (cfengine3--current-word): Remove.
4740 (cfengine3--current-function): Bring in the current-function
4741 functionality from `cfengine3--current-word'.
4742 (cfengine3-completion-function): Bring in the
4743 bounds-of-current-word functionality from
4744 `cfengine3--current-word'.
4745
d144ef06
MR
47462013-12-16 Martin Rudalics <rudalics@gmx.at>
4747
39cb42c6
SM
4748 * window.el (display-buffer-below-selected):
4749 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 4750
a8bbe298
LL
47512013-12-16 Leo Liu <sdl.web@gmail.com>
4752
4753 * progmodes/compile.el (compile-goto-error): Do not push-mark.
4754 Remove NOMSG arg and all uses changed.
4755
2013a2f9
SM
47562013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
4757
4758 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
4759 (cua--deactivate-rectangle): Don't deactivate the mark.
4760 (cua-set-rectangle-mark): Don't set mark-active since
4761 cua--activate-rectangle already does it for us.
4762 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
4763 non-rectangular region.
4764
4765 * emulation/cua-base.el (cua-repeat-replace-region):
4766 Use with-current-buffer.
4767
4768 * net/gnutls.el: Use cl-lib.
4769 (gnutls-negotiate): `mapcan' -> cl-mapcan.
4770
5ae811dd
TZ
47712013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
4772
4773 * emacs-lisp/package.el (package-built-in-p): Support both
4774 built-in and the package.el converted package descriptions.
4775 (package-show-package-list): Allow keywords.
4776 (package-keyword-button-action): Use it instead of
4777 `finder-list-matches'.
4778 (package-menu-filter-interactive): Interactive filtering (by
4779 keyword) function.
4780 (package-menu--generate): Support keywords and change keymappings
4781 and headers when they are given.
4782 (package--has-keyword-p): Helper function.
4783 (package-menu--refresh): Use it.
4784 (package--mapc): Helper function.
4785 (package-all-keywords): Use it.
4786 (package-menu-mode-map): Set up menu items and keybindings to
4787 provide a filtering UI.
4788
31b4827e
TZ
47892013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
4790
4791 * net/gnutls.el (gnutls-verify-error): New defcustom to control
4792 the behavior when a certificate fails validation. Defaults to
4793 old behavior: never abort, just warn.
4794 (gnutls-negotiate): Use it.
4795
f93cc74f
MR
47962013-12-14 Martin Rudalics <rudalics@gmx.at>
4797
4798 * window.el (display-buffer-below-selected): Never split window
4799 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
4800
f77d7d17
TW
48012013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
4802
4803 * emacs-lisp/package.el (package--prepare-dependencies): New function.
4804 (package-buffer-info): Use it (bug#15108).
aa2bddd7 4805
7514d3f8
SM
48062013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
4807
aa2bddd7 4808 * icomplete.el (icomplete-completions): Make sure the prefix is already
7514d3f8 4809 displayed elsewhere before hiding it (bug#16219).
aa2bddd7 4810
276bc333
DG
48112013-12-14 Dmitry Gutov <dgutov@yandex.ru>
4812
4813 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
4814 open-paren tokens when preceded by a open-paren, too.
4815 (ruby-smie-rules): Handle virtual indentation after open-paren
4816 tokens specially. If there is code between it and eol, return the
4817 column where is starts (Bug#16118).
4818
d43957f3
TZ
48192013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
4820
a5c1ac0c 4821 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 4822 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
4823 (cfengine3--current-word): Fix parameters.
4824 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
4825 (cfengine3-completion-function, cfengine3--current-function):
4826 Use `assq' for symbols.
d43957f3
TZ
4827 (cfengine3--current-function): Fix `cfengine3--current-word' call.
4828
06a4f110
GM
48292013-12-13 Glenn Morris <rgm@gnu.org>
4830
4831 * loadup.el (load-path): Warn if site-load or site-init changes it.
4832 No more need to reset it when bootstrapping.
4833
978a5fda
TZ
48342013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
4835
4836 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
4837 locations for cf-promises.
4838 (cfengine-mode-syntax-functions-regex): New caching variable.
4839 (cfengine3-fallback-syntax): Fallback syntax for cases where
4840 cf-promises doesn't run.
4841 (cfengine3--current-word): Reimplement using
4842 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
4843 (cfengine3-completion-function, cfengine3--current-function):
4844 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
4845 (cfengine3-clear-syntax-cache): New function.
4846 (cfengine3-make-syntax-cache): Simplify and create
4847 `cfengine-mode-syntax-functions-regex' on demand.
4848 (cfengine3-format-function-docstring): Don't call
4849 `cfengine3-make-syntax-cache' explicitly.
4850
71e6691e
MR
48512013-12-13 Martin Rudalics <rudalics@gmx.at>
4852
4853 Fix windmove-find-other-window broken after pixelwise resizing
4854 (Bug#16017).
4855 * windmove.el (windmove-other-window-loc): Revert change from
4856 2013-12-04.
4857 (windmove-find-other-window): Call window-in-direction.
4858 * window.el (window-in-direction): New arguments SIGN, WRAP and
4859 MINI to emulate original windmove-find-other-window behavior.
4860
84c73ba0
DG
48612013-12-13 Dmitry Gutov <dgutov@yandex.ru>
4862
4863 * simple.el (blink-matching--overlay): New variable.
4864 (blink-matching-open): Instead of moving point, highlight the
4865 matching paren with an overlay
4866 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
4867
4868 * faces.el (paren-showing-faces, show-paren-match)
4869 (show-paren-mismatch): Move from paren.el.
4870
b9e20952
LL
48712013-12-13 Leo Liu <sdl.web@gmail.com>
4872
4873 * indent.el (indent-region): Disable progress reporter in
4874 minibuffer. (Bug#16108)
4875
4876 * bindings.el (visual-order-cursor-movement): Fix version.
4877
ce030451
FEG
48782013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4879
4880 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
4881 Also match after beginning of line.
4882 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
e9dc713d 4883 files. Thanks to Russell Sim. (Bug#15378)
ce030451 4884
4a9c6865
JL
48852013-12-13 Juri Linkov <juri@jurta.org>
4886
4887 * simple.el <Keypad support>: Remove key bindings duplicated
4888 with bindings.el. (Bug#14397)
4889
2bc170c3
JL
48902013-12-13 Juri Linkov <juri@jurta.org>
4891
4892 * comint.el (comint-mode-map): Replace `delete-char' with
4893 `delete-forward-char'. (Bug#16109)
4894
bc9222c9
FEG
48952013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
4896
aa2bddd7 4897 * progmodes/python.el (python-indent-calculate-indentation):
e9dc713d 4898 Fix de-denters cornercase. (Bug#15731)
bc9222c9 4899
cb3a1380
SM
49002013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
4901
4902 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
4903 (advice--make): Pay attention to `depth'.
4904 (advice--make-1): Don't autoload commands eagerly.
4905 * emacs-lisp/elp.el (elp-instrument-function):
4906 * emacs-lisp/trace.el (trace-function-internal):
4907 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
4908
4909 * iswitchb.el (iswitchb-mode): Don't belittle ido.
4910
01633a17
EZ
49112013-12-12 Eli Zaretskii <eliz@gnu.org>
4912
4913 * term/w32-win.el (w32-handle-dropped-file):
4914 * startup.el (normal-top-level):
4915 * net/browse-url.el (browse-url-file-url):
4916 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
4917 decode file names using 'utf-8' rather than
4918 file-name-coding-system.
4919
09faee72
FEG
49202013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
4921
4922 * progmodes/python.el (python-indent-context)
4923 (python-indent-calculate-indentation): Fix auto-identation
e9dc713d 4924 behavior for comment blocks. (Bug#15916)
09faee72 4925
f4f84024 49262013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 4927
cb3a1380
SM
4928 * progmodes/python.el (python-indent-calculate-indentation):
4929 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
4930 operators when they are just string constituents. (Bug#15812)
4931
d5ccb7be
JL
49322013-12-12 Juri Linkov <juri@jurta.org>
4933
4934 * uniquify.el (uniquify-buffer-name-style): Change default to
4935 `post-forward-angle-brackets'.
4936
4937 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
4938 `uniquify'. Change default to `post-forward-angle-brackets'.
4939
7b3f5679
GM
49402013-12-11 Glenn Morris <rgm@gnu.org>
4941
4942 * emacs-lisp/package.el (finder-list-matches):
4943 Autoload rather than falsely declaring.
4944
f4fe8fdd
TZ
49452013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
4946
4947 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
4948 (eww-mode-map): Use them.
4949
3c29190f
MR
49502013-12-11 Martin Rudalics <rudalics@gmx.at>
4951
4952 * window.el (display-buffer-in-side-window): Fix doc-string
4953 (Bug#16115).
4954
0cd616a2
JB
49552013-12-11 Juanma Barranquero <lekktu@gmail.com>
4956
4957 * vc/vc-git.el: Silence byte-compiler warnings.
4958 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
4959 (log-edit-set-header): Declare.
4960
3ef8e0d1
EZ
49612013-12-11 Eli Zaretskii <eliz@gnu.org>
4962
4963 * Makefile.in (custom-deps, finder-data): Run output file names
4964 through unmsys--file-name. (Bug#16099)
4965
afdadaf7
SM
49662013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
4967
7ae3ae39 4968 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 4969 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 4970
5b4f37ab
SM
4971 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
4972 instead of deleting the selection "by hand" (bug#16098).
4973 Rely on insert-for-yank to yank rectangles.
4974 (cua-highlight-region-shift-only): Mark obsolete.
4975 (cua-mode): Don't enable/disable transient-mark-mode,
4976 shift-select-mode (cua-mode works both with and without them), and
4977 pc-selection-mode (obsolete).
4978 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
4979 (cua--deactivate-rectangle): Deactivate it.
4980
4b72c12b
SM
4981 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
4982 (delete-selection-helper): Make sure yank starts at the top of the
4983 deleted region.
4984 (minibuffer-keyboard-quit): Use region-active-p.
4985
e82af72d
SM
4986 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
4987
afdadaf7
SM
4988 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
4989 to `delete' (bug#16109).
4990
ed4bc201
RS
49912013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4992
4993 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
4994 info manual and show keybindings and set `:group' keyword.
4995
bb8097b9
JL
49962013-12-11 Juri Linkov <juri@jurta.org>
4997
4998 * delsel.el (delete-active-region): Let-bind `this-command'
4999 to prevent `kill-region' from changing its original value.
5000 (delete-selection-helper): Handle `overwrite-mode' for the type
5001 `kill' exactly the same way as for the type `t'.
5002 (insert-char, quoted-insert, reindent-then-newline-and-indent):
5003 Support more commands. (Bug#13312)
5004
c1916ff5
JL
50052013-12-11 Juri Linkov <juri@jurta.org>
5006
5007 * bindings.el: Map kp keys to non-kp keys systematically
5008 with basic modifiers control, meta and shift. (Bug#14397)
5009
7514d3f8 50102013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
b68cf43c
KN
5011
5012 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
5013 "Close browser" menu items. Fix wrong function of "List
5014 bookmarks".
5015
4cc51eaf
JL
50162013-12-11 Juri Linkov <juri@jurta.org>
5017
5018 * misearch.el (multi-isearch-buffers): Set the value of
5019 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5020 arg of isearch-forward to t.
5021 (multi-isearch-buffers-regexp): Set the value of
5022 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5023 arg of isearch-forward-regexp to t.
5024 (multi-isearch-files): Set the value of
5025 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
5026 arg of isearch-forward to t.
5027 (multi-isearch-files-regexp): Set the value of
c295fc18 5028 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
4cc51eaf
JL
5029 arg of isearch-forward-regexp to t. (Bug#16035)
5030
5031 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
5032 arg of isearch-forward to t.
5033 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
5034 arg of isearch-forward-regexp to t.
5035 (dired-isearch-filter-filenames): Remove unnecessary check for
5036 `dired-isearch-filenames'.
5037
5038 * comint.el (comint-history-isearch-backward):
5039 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
5040 (comint-history-isearch-backward-regexp):
5041 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
5042
ceac12b7
EZ
50432013-12-10 Eli Zaretskii <eliz@gnu.org>
5044
5045 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
5046 unmsys--file-name. (Bug#16099)
5047
5a565782
TZ
50482013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
5049
cb3a1380
SM
5050 * emacs-lisp/package.el (package-keyword-button-action):
5051 Remove finder.el require dependency.
5a565782 5052
a81fc7ba
TZ
50532013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
5054
5055 * emacs-lisp/package.el: Require finder.el.
5056 (describe-package-1): Add keyword buttons.
5057 (package-make-button): New convenience function.
5058 (package-keyword-button-action): Keyword button action using
e0eb0550 5059 `finder-list-matches'.
a81fc7ba 5060
6aaca951
EZ
50612013-12-09 Eli Zaretskii <eliz@gnu.org>
5062
5063 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
5064 last commit.
5065
a1099a91
MA
50662013-12-09 Michael Albinus <michael.albinus@gmx.de>
5067
5068 * autorevert.el (auto-revert-notify-add-watch): Do not handle
5069 symlinked files.
5070
8212d9c0
DG
50712013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5072
5073 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5074 after the end of a percent literal.
5075
8f48d131
CD
50762013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
5077
cb3a1380
SM
5078 * progmodes/ruby-mode.el (ruby-forward-string): Document.
5079 Handle caret-delimited strings (Bug#16079).
8f48d131 5080
ff8c9764
DG
50812013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5082
cb3a1380
SM
5083 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
5084 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
5085 `ruby-parse-partial' (Bug#16078).
5086
d64643b4
LL
50872013-12-09 Leo Liu <sdl.web@gmail.com>
5088
5089 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
5090
47e59c66
DG
50912013-12-08 Dmitry Gutov <dgutov@yandex.ru>
5092
5093 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
5094 (js-switch-indent-offset): New option.
5095 (js--proper-indentation): Use it. And handle the case when
5096 "default" is actually a key in an object literal.
5097 (js--same-line): New function.
5098 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
5099 (js--indent-in-array-comp, js--array-comp-indentation):
5100 New functions.
47e59c66
DG
5101 (js--proper-indentation): Use them, to handle array comprehension
5102 continuations.
5103
974ebc9c
LL
51042013-12-08 Leo Liu <sdl.web@gmail.com>
5105
5106 * progmodes/flymake.el (flymake-highlight-line): Re-write.
5107 (flymake-make-overlay): Remove arg MOUSE-FACE.
5108 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
5109
27262e39
SM
51102013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5111
5112 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
5113 New function.
5114 (redisplay-highlight-region-function): Use it.
5115
5116 * emulation/cua-base.el (cua--explicit-region-start)
5117 (cua--last-region-shifted): Remove.
5118 (cua--deactivate): Use deactivate-mark.
5119 (cua--pre-command-handler-1): Don't handle shift-selection.
5120 (cua--post-command-handler-1): Don't change transient-mark-mode.
5121 (cua--select-keymaps): Use region-active-p rather than
5122 cua--explicit-region-start or cua--last-region-shifted.
5123 (cua-mode): Enable shift-select-mode.
5124
6407822c
LL
51252013-12-08 Leo Liu <sdl.web@gmail.com>
5126
27262e39
SM
5127 * progmodes/flymake.el (flymake-popup-current-error-menu):
5128 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
5129 (flymake-posn-at-point-as-event, flymake-popup-menu)
5130 (flymake-make-emacs-menu): Remove. (Bug#16077)
5131
00a2b823
SM
51322013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5133
02033d49
SM
5134 * rect.el (rectangle-mark-mode): Activate mark even if
5135 transient-mark-mode is off (bug#16066).
5136 (rectangle--highlight-for-redisplay): Fix boundary condition when point
5137 is > mark and at bolp.
5138
6f8dfccf
SM
5139 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
5140 (region-extract-function): Use it.
5141 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
5142 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
5143 Delete functions.
5144 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
5145 kill-ring-save, kill-region, delete-char, delete-forward-char.
5146 Ignore self-insert-iso.
5147
5148 * emulation/cua-gmrk.el (cua--init-global-mark):
5149 Ignore `self-insert-iso'.
5150
5151 * emulation/cua-base.el (cua--prefix-copy-handler)
5152 (cua--prefix-cut-handler): Rely on region-extract-function rather than
5153 checking cua--rectangle.
5154 (cua-delete-region): Use region-extract-function.
5155 (cua-replace-region): Delete function.
5156 (cua-copy-region, cua-cut-region): Obey region-extract-function.
5157 (cua--pre-command-handler-1): Don't do the delete-selection thing.
5158 (cua--self-insert-char-p): Ignore `self-insert-iso'.
5159 (cua--init-keymaps): Don't remap delete-selection commands.
5160 (cua-mode): Use delete-selection-mode instead of rolling our own
5161 (bug#16085).
5162
5163 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
5164 Obey region-extract-function.
5165
00a2b823
SM
5166 Make registers and delete-selection-mode work on rectangles.
5167 * register.el (describe-register-1): Don't modify the register's value.
5168 (copy-to-register): Obey region-extract-function.
5169 * delsel.el (delete-active-region): Obey region-extract-function.
5170
a92fa5f1
LL
51712013-12-08 Leo Liu <sdl.web@gmail.com>
5172
5173 * progmodes/flymake.el (flymake, flymake-error-bitmap)
5174 (flymake-warning-bitmap, flymake-fringe-indicator-position)
5175 (flymake-compilation-prevents-syntax-check)
5176 (flymake-start-syntax-check-on-newline)
5177 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
5178 (flymake-start-syntax-check-on-find-file, flymake-log-level)
5179 (flymake-xml-program, flymake-master-file-dirs)
5180 (flymake-master-file-count-limit)
5181 (flymake-allowed-file-name-masks): Relocate.
5182 (flymake-makehash, flymake-float-time)
5183 (flymake-replace-regexp-in-string, flymake-split-string)
5184 (flymake-get-temp-dir): Remove.
5185 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
5186 (flymake-current-row, flymake-selected-frame)
5187 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
5188 related functions. (Bug#16077)
5189
73c8ceea
BB
51902013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
5191
5192 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
5193
faec28d9
TH
51942013-12-07 Tassilo Horn <tsdh@gnu.org>
5195
5196 * help-fns.el (describe-function-1): Use new advice-* functions
5197 rather than old ad-* functions. Fix function type description and
5198 source links for advised functions and subrs.
5199
e330b646
LMI
52002013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5201
00a2b823 5202 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 5203
4803595d
MA
52042013-12-06 Michael Albinus <michael.albinus@gmx.de>
5205
5206 * progmodes/compile.el (compilation-start):
5207 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
5208
5209 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
5210 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
5211
fa834a93
DG
52122013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5213
00a2b823
SM
5214 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5215 Touch up the last change.
fa834a93 5216
b2856a6f
LL
52172013-12-06 Leo Liu <sdl.web@gmail.com>
5218
5219 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
5220 (inferior-octave-startup): Always use "octave> " for prompt.
5221 (octave-goto-function-definition)
5222 (octave-sync-function-file-names)
5223 (octave-find-definition-default-filename): Remove redundant backquotes.
5224
af67e79a
DG
52252013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5226
5227 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
5228 syntax for `?'.
5229 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
5230 where appropriate already.
5231 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
5232 end of method names (Bug#15874).
5233
bf093209
JL
52342013-12-06 Juri Linkov <juri@jurta.org>
5235
5236 * isearch.el (isearch--saved-overriding-local-map):
5237 New internal variable.
5238 (isearch-mode): Set it to the initial value of
5239 `overriding-terminal-local-map'.
5240 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
5241 with `isearch--saved-overriding-local-map'. (Bug#16035)
5242
16588fad
DG
52432013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5244
00a2b823
SM
5245 * progmodes/octave.el (inferior-octave-completion-table):
5246 Turn back into function, use `completion-table-with-cache'
16588fad
DG
5247 (Bug#11906). Update all references.
5248
5249 * minibuffer.el (completion-table-with-cache): New function.
5250
bf4906d7
CD
52512013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
5252
5253 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
5254
ff69c18f
TZ
52552013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
5256
5257 * net/eww.el (eww-current-source): New variable to store page
5258 source.
5259 (eww-display-html, eww-mode, eww-save-history)
5260 (eww-restore-history): Use it.
5261 (eww-view-source): New command to view page source.
5262 Opportunistically uses `html-mode' to highlight the buffer.
5263 (eww-mode-map): Install it.
5264
b85eff45
MA
52652013-12-05 Michael Albinus <michael.albinus@gmx.de>
5266
5267 * net/dbus.el (dbus-unregister-service)
5268 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
5269 Fix docstring.
5270 (dbus-unregister-service): Skip :serial entries in
5271 `dbus-registered-objects-table'.
5272 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
5273
39eb0899
TZ
52742013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
5275
5276 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
5277 around keywords with extra `split-string' argument.
5278
456760a5
MR
52792013-12-04 Martin Rudalics <rudalics@gmx.at>
5280
5281 * windmove.el (windmove-other-window-loc): Handle navigation
5282 between windows (excluding the minibuffer window - Bug#16017).
5283
81961e4c
MA
52842013-12-04 Michael Albinus <michael.albinus@gmx.de>
5285
5286 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
5287 in D-Bus type syntax.
5288 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
5289 preserve unibyte strings. (Bug#16048)
5290
8497f938
SM
52912013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
5292
5293 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
5294 Call force-mode-line-update is the proper buffer (bug#16042).
5295
dda61916
DG
52962013-12-04 Dmitry Gutov <dgutov@yandex.ru>
5297
5298 * vc/log-edit.el (log-edit-add-new-comment): Rename to
5299 `log-edit-remember-comment', make argument optional. Adjust all
5300 callers.
5301 (log-edit-mode): Add `log-edit-remember-comment' to
5302 `kill-buffer-hook' locally.
5303 (log-edit-kill-buffer): Don't remember comment explicitly since
5304 the buffer is killed anyway.
5305
c085e5b9
JL
53062013-12-04 Juri Linkov <juri@jurta.org>
5307
5308 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
5309 add-hook and remove-hook for multi-buffer search. (Bug#16035)
5310
e0eb0550 53112013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
d6f2380e
TR
5312
5313 * notifications.el (notifications-close-notification): Call the
81961e4c 5314 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 5315
39fa32d6
KY
53162013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
5317
5318 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
5319
9139632a
JL
53202013-12-03 Juri Linkov <juri@jurta.org>
5321
5322 * progmodes/compile.el (compilation-start): Rename window alist
5323 entry `no-display-ok' to `allow-no-window'.
5324
5325 * simple.el (shell-command): Add window alist entry
5326 `allow-no-window' to `display-buffer'.
5327 (async-shell-command): Doc fix.
5328
5329 * window.el (display-buffer-no-window): New action function.
5330 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
5331
0f457a37
DG
53322013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5333
5334 * vc/log-edit.el (log-edit-set-header): Extract from
5335 `log-edit-toggle-header'.
5336 (log-edit-extract-headers): Separate the summary, when extracted
5337 from header, from the rest of the message with an empty line.
5338
5339 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
5340 line, if present, to the Summary header.
5341
0962f376
SM
53422013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5343
5344 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
5345 in current-buffer (bug#16029).
5346
f345395c
HE
53472013-12-02 Helmut Eller <eller.helmut@gmail.com>
5348
5349 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
5350 (debugger-mode-map): Bind it.
5351 (debugger--backtrace-base): New function.
5352 (debugger-eval-expression): Use it.
5353 (debugger-frame-number): Skip local vars when present.
5354 (debugger--locals-visible-p, debugger--insert-locals)
5355 (debugger--show-locals, debugger--hide-locals): New functions.
5356
a8a15d9d
MA
53572013-12-02 Michael Albinus <michael.albinus@gmx.de>
5358
5359 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
5360 "LC_ALL".
5361 (tramp-get-remote-locale): New defun.
5362 (tramp-open-connection-setup-interactive-shell): Use it.
5363
0518b057
LL
53642013-12-02 Leo Liu <sdl.web@gmail.com>
5365
5366 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
5367
5368 * progmodes/sh-script.el (sh-shell-process):
5369 * progmodes/octave.el (inferior-octave-process-live-p):
5370 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
5371 (gdb-inferior-io-sentinel):
5372 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
5373
3adc9c6d
DG
53742013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5375
5376 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
5377 `save-selected-window' to `log-edit-hide-buf'. This makes
5378 `log-edit-show-files' idempotent.
5379 (log-edit-show-files): Mark the new window as dedicated.
5380
47e8b74e
DG
53812013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5382
5383 * vc/log-edit.el (log-edit-mode-map): Add binding for
5384 `log-edit-kill-biffer'.
5385 (log-edit-hide-buf): Add a FIXME comment.
5386 (log-edit-add-new-comment): New function, extracted from
5387 `log-edit-done'.
5388 (log-edit-done, log-edit-add-to-changelog): Use it.
5389 (log-edit-kill-buffer): New command.
5390
1f6e1bb0
LMI
53912013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5392
5393 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
5394 instead of killing the buffer.
5395
fb651d15
SM
53962013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
5397
5398 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
5399
8feacce0
RS
54002013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5401
fb651d15 5402 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 5403 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
5404 (eww-form-checkbox, eww-toggle-checkbox):
5405 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
5406
e0eb0550 5407 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
fb651d15 5408 (shr--get-media-pref, shr--extract-best-source): New function.
e0eb0550 5409 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
ad9a773c
RS
5410 no :src tag was specified.
5411
fb651d15 5412 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
5413 (eww-render): Handle `eww-use-external-browser-for-content-type'.
5414 Use \\` to match beginning of string instead of ^.
5415 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 5416 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 5417
177948a5
RS
5418 * net/shr.el (shr-tag-video): Display content for video if no
5419 poster is available.
eb2dd24d 5420 (shr-tag-audio): Add support for <audio> tag.
177948a5 5421
e0eb0550 5422 * net/eww.el (eww-text-input-types): New const.
177948a5
RS
5423 (eww-process-text-input): Treat input types in
5424 `eww-text-input-types' as text.
5425
8feacce0
RS
5426 * net/shr.el (shr-tag-table): Fix comment typo.
5427
513562a1
LMI
54282013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5429
5430 * net/eww.el (eww-follow-link): New command to avoid reloading
5431 pages when we follow #target links (bug#15243).
de8a5633 5432 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 5433
9dd99753
KN
54342013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5435
5436 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
5437 forms.
5438
3e9876de
LMI
54392013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5440
5441 * net/eww.el (eww-restore-history): Update the window title after
5442 moving in the history.
ab6dea82 5443 (eww-current-dom): New variable used to save the current DOM.
3e9876de 5444
52789f7f
DG
54452013-12-01 Dmitry Gutov <dgutov@yandex.ru>
5446
5447 * vc/log-edit.el (log-edit-mode-map): Add binding for
5448 `log-edit-beginning-of-line'.
5449 (log-edit-setup-add-author): New user option.
5450 (log-edit-beginning-of-line): New command.
5451 (log-edit): Move major mode call above the contents setup so that
5452 the local variable values are already applied.
5453 (log-edit): Only insert "Author: " when
5454 `log-edit-setup-add-author' is non-nil.
5455 (log-edit): When SETUP is non-nil, position point after ": "
5456 instead of point-min.
5457
2e6710c3
GM
54582013-12-01 Glenn Morris <rgm@gnu.org>
5459
5460 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
5461
fadec31f
EZ
54622013-11-30 Eli Zaretskii <eliz@gnu.org>
5463
5464 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 5465 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
5466 visible. (Bug#16014)
5467
10634b40 54682013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
5469
5470 Support resizing frames and windows pixelwise.
5471 * cus-start.el (frame-resize-pixelwise)
5472 (window-resize-pixelwise): New entries.
5473 * emacs-lisp/debug.el (debug): Use window-total-height instead
5474 of window-total-size.
5475 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
9dda75ad
MR
5476 * help.el (describe-bindings-internal): Use help-buffer as
5477 argument for with-help-window.
880e6158
MR
5478 (temp-buffer-max-width): New option.
5479 (resize-temp-buffer-window, help-window-setup)
5480 (with-help-window): Rewrite.
5481 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
5482 dragging dividers.
5483 * window.el (frame-char-size, window-min-pixel-height)
5484 (window-safe-min-pixel-height, window-safe-min-pixel-width)
5485 (window-min-pixel-width, window-safe-min-pixel-size)
5486 (window-combination-p, window-safe-min-size)
5487 (window-resizable-p, window--size-to-pixel)
5488 (window--pixel-to-size, window--resize-apply-p): New functions.
5489 (window-safe-min-height): Fix doc-string.
5490 (window-size, window-min-size, window--min-size-1)
5491 (window-sizable, window-sizable-p, window--min-delta-1)
5492 (window-min-delta, window--max-delta-1, window-max-delta)
5493 (window--resizable, window--resizable-p, window-resizable)
5494 (window-full-height-p, window-full-width-p, window-at-side-p)
5495 (window--in-direction-2, window-in-direction)
5496 (window--resize-reset-1, window--resize-mini-window)
5497 (window-resize, window-resize-no-error)
5498 (window--resize-child-windows-normal)
5499 (window--resize-child-windows, window--resize-siblings)
5500 (window--resize-this-window, window--resize-root-window)
5501 (window--resize-root-window-vertically)
5502 (adjust-window-trailing-edge, enlarge-window, shrink-window)
5503 (maximize-window, minimize-window, delete-window)
5504 (quit-restore-window, window-split-min-size, split-window)
5505 (balance-windows-2, balance-windows)
5506 (balance-windows-area-adjust, balance-windows-area)
5507 (window--state-get-1, window-state-get, window--state-put-1)
5508 (window--state-put-2, window-state-put)
fb651d15
SM
5509 (display-buffer-record-window, window--display-buffer):
5510 Make functions handle pixelwise sizing of windows.
880e6158 5511 (display-buffer--action-function-custom-type)
fb651d15
SM
5512 (display-buffer-fallback-action):
5513 Add display-buffer-in-previous-window.
880e6158
MR
5514 (display-buffer-use-some-window): Resize window to height it had
5515 before.
5516 (fit-window-to-buffer-horizontally): New option.
5517 (fit-frame-to-buffer): Describe new values.
5518 (fit-frame-to-buffer-bottom-margin): Replace with
5519 fit-frame-to-buffer-margins.
5520 (window--sanitize-margin): New function.
5521 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
5522 using window-text-pixel-size.
5523
f9b697dd
GM
55242013-11-30 Glenn Morris <rgm@gnu.org>
5525
3e2fb4db
GM
5526 * emacs-lisp/bytecomp.el (byte-compile-form):
5527 Make the `interactive-only' warning like the `obsolete' one.
5528 * comint.el (comint-run):
5529 * files.el (insert-file-literally, insert-file):
5530 * replace.el (replace-string, replace-regexp):
5531 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
5532 (goto-line, insert-buffer, next-line, previous-line):
5533 Tweak `interactive-only' spec.
5534
f9b697dd
GM
5535 Stop keeping (most) generated cedet grammar files in the repository.
5536 * Makefile.in (semantic): New.
5537 (compile-main): Depend on semantic.
5538
da048127
SM
55392013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5540
7784b779
SM
5541 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
5542 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
5543
4e36a6a6
SM
5544 * uniquify.el (uniquify-buffer-name-style): Change default.
5545
5546 * loadup.el: Preload "uniquify".
5547
e0ba1308
SM
5548 * time.el (display-time-update): Update all mode lines (bug#15999).
5549
da048127
SM
5550 * electric.el (electric-indent-mode): Enable by default.
5551 * loadup.el: Preload "electric".
5552
015b3b3e
BB
55532013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
5554
5555 * emacs-lisp/helpers.el (string-empty-p): New function.
5556 (string-blank-p): New function.
5557
7efb806d
AP
55582013-11-29 Andreas Politz <politza@hochschule-trier.de>
5559
5560 * imenu.el (imenu--index-alist): Add missing dot to the docstring
5561 (Bug#14029).
5562
c8f0efc2
AP
55632013-11-29 Andreas Politz <politza@fh-trier.de>
5564 * imenu.el (imenu--subalist-p): Don't error on non-conses and
5565 allow non-lambda lists as functions.
5566 (imenu--in-alist): Don't recurse into non-subalists.
5567 (imenu): Don't pass function itself as an argument (Bug#14029).
5568
bd15d9d1
SM
55692013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5570
5571 * progmodes/python.el (python-mode-map): Remove binding for ":".
5572 (python-indent-electric-colon): Remove command.
5573 (python-indent-post-self-insert-function): Integrate the previous code
5574 of python-indent-electric-colon. Make it conditional on
5575 electric-indent-mode.
5576 (python-mode): Add ?: to electric-indent-chars.
5577 Move python-indent-post-self-insert-function to the end of
5578 post-self-insert-hook.
5579
1b10adb6
SM
55802013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
5581
655ab9a3
SM
5582 * doc-view.el (doc-view-goto-page): Update mode-line.
5583
1b10adb6
SM
5584 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
5585
7e3bf78c
GM
55862013-11-27 Glenn Morris <rgm@gnu.org>
5587
5588 * international/charprop.el, international/uni-bidi.el:
5589 * international/uni-category.el, international/uni-combining.el:
5590 * international/uni-comment.el, international/uni-decimal.el:
5591 * international/uni-decomposition.el, international/uni-digit.el:
5592 * international/uni-lowercase.el, international/uni-mirrored.el:
5593 * international/uni-name.el, international/uni-numeric.el:
5594 * international/uni-old-name.el, international/uni-titlecase.el:
5595 * international/uni-uppercase.el:
5596 Remove generated files from VCS repository.
5597
fb6a5d68
EZ
55982013-11-27 Eli Zaretskii <eliz@gnu.org>
5599
5600 * filenotify.el (file-notify-add-watch): Don't special-case
5601 w32notify when computing the directory to watch.
5602
cb6c95a3
GM
56032013-11-27 Glenn Morris <rgm@gnu.org>
5604
20372d0c
GM
5605 Make bootstrap without generated uni-*.el files possible again.
5606 * loadup.el: Update command-line-args checking for unidata-gen.
5607 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
5608 * composite.el, international/characters.el:
5609 Handle unicode tables being undefined.
5610
52d6635f 5611 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
5612 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
5613 (compile-main): Depend on leim rule.
5614 (leim): New rule.
5615 * loadup.el: Move leim-list.el to leim/ subdirectory.
5616 * startup.el (normal-top-level): No more leim directory.
5617 * international/ja-dic-cnv.el (skkdic-convert):
5618 Disable version-control and autoloads in output files.
5619 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
5620 Disable version-control and autoloads in output files.
5621 * leim/quail: Move here from ../leim.
5622 * leim/quail/hangul.el (hangul-input-method-activate):
5623 Add autoload cookie.
5624 (generated-autoload-load-name): Set file-local value.
5625 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
5626 (generated-autoload-load-name): Set file-local value.
5627
7514d3f8 56282013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
e47112ee 5629
e0eb0550 5630 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
7514d3f8 5631 (eww-add-bookmark): Ask confirmation when add to bookmarks.
e0eb0550 5632 (eww-quit): Ask confirmation before quitting eww.
e47112ee 5633
0e2c793f
EZ
56342013-11-26 Eli Zaretskii <eliz@gnu.org>
5635
5636 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
5637 reading output from Diff on MS-Windows and MS-DOS.
5638
447bdcb8
BB
56392013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
5640
5641 * emacs-lisp/helpers.el (string-reverse): New function.
5642
5fbf6856
MA
56432013-11-26 Michael Albinus <michael.albinus@gmx.de>
5644
5645 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
5646 names on MS Windows, like "/[::1]:".
5647
5648 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
5649 SWITCHES.
5650
624780f0
GM
56512013-11-26 Glenn Morris <rgm@gnu.org>
5652
0bf3f0fa
GM
5653 * progmodes/python.el (python-indent-guess-indent-offset):
5654 Avoid corner-case error. (Bug#15975)
5655
624780f0
GM
5656 Preload leim-list.el. (Bug#4789)
5657 * loadup.el: Load leim-list.el when found.
5658 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
5659
4301875e 56602013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
5661
5662 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
5663
4301875e
BB
5664 * emacs-lisp/helpers.el (string-join): New function.
5665
1633a815 56662013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
5667
5668 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5669 Mark as obsolete and replace it with a symbol property.
5670 (byte-compile-form): Use new 'interactive-only property.
5671 * comint.el, files.el, replace.el, simple.el:
5672 Apply new 'interactive-only properly.
5673
00139435
MR
56742013-11-25 Martin Rudalics <rudalics@gmx.at>
5675
5676 * window.el (display-buffer-at-bottom): Make sure that
5677 split-window-sensibly creates the new window on bottom
5678 (Bug#15961).
5679
5f5b128d
DK
56802013-11-23 David Kastrup <dak@gnu.org>
5681
5682 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
5683 on the conflict markers when available.
5684 (smerge--get-marker): New function.
5685 (smerge-end-re, smerge-base-re): Add subgroup.
5686
623891e5
SM
56872013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
5688
5689 * frame.el (handle-focus-in, handle-focus-out): Add missing
5690 interactive spec.
5691
05ca27d8
MA
56922013-11-25 Michael Albinus <michael.albinus@gmx.de>
5693
5694 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
5695 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
5696
511fa0d3
SM
56972013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
5698
e82ad66c
SM
5699 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
5700 (gomoku--last-pos): New var.
5701 (gomoku--intangible-chars): New const.
5702 (gomoku--intangible): New function.
5703 (gomoku-mode): Use it. Derive from special-mode.
5704 (gomoku-move-up): Adjust line count.
5705 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
5706 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
5707 Simplify accordingly.
5708
511fa0d3
SM
5709 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
5710 Remove blink-cursor code.
5711 (blink-cursor-timer-function, blink-cursor-suspend):
5712 Don't special-case GUIs.
5713 (blink-cursor-mode): Use focus-in/out-hook.
5714
6f20dd03
DG
57152013-11-25 Dmitry Gutov <dgutov@yandex.ru>
5716
5717 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
5718 work when annotation is invisible (Bug#13886).
5719
431dec31 57202013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
5721
5722 * json.el (json-alist-p): Only return non-nil if the alist has
5723 simple keys (Bug#13518).
5724
431dec31 57252013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
5726
5727 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
5728 when control-statement is the first statement in a buffer (Bug#15956).
5729
ee4f0261
DG
57302013-11-24 Dmitry Gutov <dgutov@yandex.ru>
5731
5732 * imenu.el (imenu-generic-skip-comments-and-strings):
5733 New option (Bug#15560).
5734 (imenu--generic-function): Use it.
5735
c484f866
JS
57362013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
5737
e9dc713d
JB
5738 * minibuffer.el (completion--in-region-1): Scroll the correct window.
5739 (Bug#13898)
c484f866 5740
41ce6f70
BB
57412013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
5742
b55aea38
BB
5743 * emacs-lisp/helpers.el: Add some string helpers.
5744 (string-trim-left): Removes leading whitespace.
5745 (string-trim-right): Removes trailing whitespace.
5746 (string-trim): Removes leading and trailing whitespace.
5747
41ce6f70
BB
5748 * subr.el (string-suffix-p): New function.
5749
3cfb6af3
GM
57502013-11-23 Glenn Morris <rgm@gnu.org>
5751
5752 * progmodes/python.el (python-shell-send-file):
5753 Add option to delete file when done. (Bug#15647)
5754 (python-shell-send-string, python-shell-send-region): Use it.
5755
c27924b7
IS
57562013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
5757
e1b01c7f
IS
5758 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
5759 to set buffer-read-only to t, never to nil. (Bug#15938)
5760
c27924b7
IS
5761 * textmodes/tex-mode.el (latex-noindent-environments):
5762 Add safe-local-variable property. (Bug#15936)
5763
17e0445b
GM
57642013-11-23 Glenn Morris <rgm@gnu.org>
5765
92f78ea3
GM
5766 * textmodes/enriched.el (enriched-mode): Doc fix.
5767 * emacs-lisp/authors.el (authors-renamed-files-alist):
5768 Add enriched.doc -> enriched.txt.
5769
17e0445b
GM
5770 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
5771
965bb23a
LL
57722013-11-22 Leo Liu <sdl.web@gmail.com>
5773
5774 * progmodes/octave.el (inferior-octave-startup): Spit out error
5775 message.
5776
d19ffd64
BB
57772013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
5778
5779 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
5780 Improve docstring.
15ba2182
BB
5781 Add :version.
5782 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 5783
7a7567d2
LL
57842013-11-22 Leo Liu <sdl.web@gmail.com>
5785
5786 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
5787 (Bug#15076)
8c09f64b
LL
5788 (octave-help-mode): Adapt to change to help-mode-finish to use
5789 derived-mode-p on 2013-09-17.
5790 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 5791 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 5792
724bc265
LL
57932013-11-22 Leo Liu <sdl.web@gmail.com>
5794
5795 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
5796 (inferior-octave-startup, inferior-octave-check-process)
5797 (inferior-octave-track-window-width-change)
5798 (octave-completion-at-point, octave-eldoc-function): Use it.
5799 (octave-kill-process): Provide confirmation. (Bug#10564)
5800
38637cca
LL
58012013-11-21 Leo Liu <sdl.web@gmail.com>
5802
511fa0d3
SM
5803 * progmodes/octave.el (octave-mode, inferior-octave-mode):
5804 Fix obsolete variable comment-use-global-state.
38637cca 5805
06e752b4
RS
58062013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5807
511fa0d3
SM
5808 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
5809 Add `octave-source-file'.
06e752b4
RS
5810 (octave-source-file): New function. (Bug#15935)
5811
7514d3f8 58122013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
604ede6c
TZ
5813
5814 * net/eww.el (eww-local-regex): New variable.
5815 (eww): Use it to detect localhost and similar.
5816
b6ffa04a
LL
58172013-11-21 Leo Liu <sdl.web@gmail.com>
5818
5819 Add completion for command `ag'.
2021a200
LL
5820 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
5821 (pcomplete/ag): New function.
e9dc713d 5822 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 5823
d1a6bccc
SM
58242013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5825
5826 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
5827 (bug#14646).
5828 (make-obsolete): Remove interactive spec.
5829
2df10228
GM
58302013-11-21 Glenn Morris <rgm@gnu.org>
5831
5832 * startup.el (command-line-1): Use path-separator with -L.
5833
86fd16b6
TZ
58342013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
5835
5836 * emacs-lisp/package.el (describe-package-1): Add package archive
5837 to shown fields.
5838
0449d6cd 58392013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
5840
5841 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
5842 Change default to "# encoding: %s" to differentiate it from the
5843 default Ruby encoding comment template.
5844
dc7e8c17 58452013-11-20 era eriksson <era+emacsbugs@iki.fi>
5846
5847 * ses.el (ses-mode): Doc fix. (Bug#14748)
5848
f0cfa5fe
LL
58492013-11-20 Leo Liu <sdl.web@gmail.com>
5850
5851 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
5852
826dc7b6
DN
58532013-11-19 Dan Nicolaescu <dann@gnu.org>
5854
5855 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
5856 when rebase or bisect are in progress.
5857
a6e3a5d5
XF
58582013-11-19 Xue Fuqiao <xfq.free@gmail.com>
5859
5860 * filenotify.el (file-notify-add-watch): Doc fix.
5861
f130cb76
LL
58622013-11-19 Leo Liu <sdl.web@gmail.com>
5863
e0855d7d
LL
5864 * obsolete/rcompile.el: Mark obsolete.
5865
f130cb76 5866 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
5867 (compilation-goto-locus, compilation-find-file):
5868 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
5869 (Bug#13594)
5870
5871 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
5872 new parameter no-display-ok. Return either a window or nil
5873 but never a non-window value.
f130cb76 5874
1f35d401
SM
58752013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
5876
25158c76
SM
5877 * electric.el (electric-indent-mode-map): Remove.
5878 (electric-indent-mode): Change the global-map instead (bug#15915).
5879
5880 * textmodes/text-mode.el (paragraph-indent-minor-mode):
5881 Use add-function.
1f35d401 5882
9bc67baa
SM
58832013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
5884
986545b5
SM
5885 * emacs-lisp/nadvice.el (remove-function): Align with
5886 add-function's behavior.
5887
9bc67baa
SM
5888 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
5889 (gdb--string-regexp): New constant.
5890 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
5891 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
5892 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
5893 submatch 1.
5894 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
5895 Adjust use accordingly.
5896 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
5897
56cd894e
AS
58982013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
5899
5900 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
5901 interpolation curlies (Bug#15914).
5902
014690de
JB
59032013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
5904
5905 * calc/calc.el (calc-context-sensitive-enter): New variable.
5906 (calc-enter): Use `calc-context-sensitive-enter'.
5907
7e26a6c3
TZ
59082013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
5909
5910 * progmodes/cfengine.el: Version bump.
5911 (cfengine-cf-promises): New defcustom to locate cf-promises.
5912 (cfengine3-vartypes): Add new "data" type.
5913 (cfengine3--current-word): New function to get current name-like
5914 word or its bounds.
5915 (cfengine3--current-function): New function to look up a CFEngine
5916 function's definition.
5917 (cfengine3-format-function-docstring): New function.
5918 (cfengine3-make-syntax-cache): New function.
5919 (cfengine3-documentation-function): New function: ElDoc glue.
5920 (cfengine3-completion-function): New function: completion glue.
5921 (cfengine3-mode): Set `compile-command',
5922 `eldoc-documentation-function', and add to
5923 `completion-at-point-functions'.
5924
355204dd
MA
59252013-11-16 Michael Albinus <michael.albinus@gmx.de>
5926
5927 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
5928 `tramp-current-connection'.
5929
43cebc23
DG
59302013-11-15 Dmitry Gutov <dgutov@yandex.ru>
5931
5932 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
5933 nil/self/true/false with "end of symbol".
5934
a3fed6ff
BB
59352013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
5936
5937 * subr.el (version-regexp-alist): Fix a typo.
5938
e675b3e4
MA
59392013-11-15 Michael Albinus <michael.albinus@gmx.de>
5940
5941 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
5942 "en_US.utf8" and "LC_CTYPE" to "".
5943 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
5944 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
5945
a1f03e89
LL
59462013-11-15 Leo Liu <sdl.web@gmail.com>
5947
5948 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
5949
5d9d9451
SM
59502013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5951
58362662
CS
5952 * progmodes/gud.el (ctl-x-map):
5953 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
5954 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
5955
6c1bf086
BB
59562013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
5957
0d5363c4
BB
5958 * subr.el (version-regexp-alist):
5959 Recognize hg, svn and darcs versions as snapshot versions.
5960
4e9fc48c
BB
5961 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
5962 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
5963 (ruby--encoding-comment-required-p): Extract from
5964 `ruby-mode-set-encoding'.
5965 (ruby-mode-set-encoding): Add the ability to always insert an
5966 utf-8 encoding comment. Fix and simplify coding comment update
5967 logic.
6c1bf086 5968
2f7e72f8
MA
59692013-11-14 Michael Albinus <michael.albinus@gmx.de>
5970
5971 * net/tramp-gvfs.el (top): Run init code only when
5972 `tramp-gvfs-enabled' is not nil.
5973 (tramp-gvfs-enabled): Check also :system bus.
5974
0f137a73
SM
59752013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5976
5977 Sync with upstream verilog-mode revision 78e66ba.
5978 * progmodes/verilog-mode.el (verilog-end-of-defun)
5979 (verilog-type-completion, verilog-get-list): Remove unused funcs.
5980 (verilog-get-end-of-defun): Remove unused argument.
5981 (verilog-comment-depth): Remove unused local `e'.
5982 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
5983 Don't pass arg to verilog-get-end-of-defun.
5984
1c276bdd
GM
59852013-11-14 Glenn Morris <rgm@gnu.org>
5986
5987 * obsolete/assoc.el (aget): Prefix dynamic variable.
5988
5989 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
5990
ff6ec81d
SM
59912013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5992
5993 * widget.el, hfy-cmap.el: Remove bogus package version number.
5994
75f777b6
GM
59952013-11-13 Glenn Morris <rgm@gnu.org>
5996
1d43dba1
GM
5997 * replace.el (replace-eval-replacement):
5998 Try to give more helpful error message. (Bug#15836)
5999
ff4b7bd5
GM
6000 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6001 (archive-7z-update): Avoid custom type mismatches.
6002
75f777b6
GM
6003 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
6004
11151a06
MA
60052013-11-13 Michael Albinus <michael.albinus@gmx.de>
6006
e675b3e4 6007 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
6008 address can be empty.
6009
6010 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
6011 Accept nil SWITCHES.
6012 (tramp-gvfs-handle-write-region): Implement APPEND.
6013
7b08f97e
DG
60142013-11-12 Dmitry Gutov <dgutov@yandex.ru>
6015
6016 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
6017 binary "|" operator and closing block args delimiter.
6018 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
6019 (ruby-smie--implicit-semi-p): Not after "|" operator.
6020 (ruby-smie--closing-pipe-p): New function.
6021 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
6022 (ruby-smie-rules): Indent after "|".
6023
f201cf3a
GM
60242013-11-12 Glenn Morris <rgm@gnu.org>
6025
6026 * ps-print.el (ps-face-attribute-list):
6027 Handle anonymous faces. (Bug#15827)
6028
e6f759f9
MR
60292013-11-12 Martin Rudalics <rudalics@gmx.at>
6030
6031 * window.el (display-buffer-other-frame): Fix doc-string.
6032 (Bug#15868)
6033
ecda65d4
SM
60342013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6035
6036 * subr.el (force-mode-line-update): Delete, move to buffer.c.
6037
7ce8fcc3
MA
60382013-11-11 Michael Albinus <michael.albinus@gmx.de>
6039
6040 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
6041 (tramp-sh-handle-file-local-copy): Don't write a message when
6042 saving temporary files.
6043
6044 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
6045 both directories are remote.
6046 (tramp-smb-handle-directory-files): Do not return double entries.
6047 Do not expand full file names.
6048 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
6049 (tramp-smb-handle-write-region): Implement APPEND.
6050 (tramp-smb-get-stat-capability): Fix a stupid bug.
6051
7818df11
SM
60522013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6053
6054 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
6055
608c2085
NT
60562013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6057
6058 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
6059 throwing error over malformed let/let* (bug#15814).
6060
122a7e46
SM
60612013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6062
6063 * iswitchb.el (iswitchb-mode): Mark obsolete.
6064
766284d9
GM
60652013-11-11 Glenn Morris <rgm@gnu.org>
6066
6067 * international/uni-bidi.el, international/uni-category.el:
6068 * international/uni-name.el, international/uni-numeric.el:
6069 Regenerate for Unicode 6.3.0.
6070
7072a4e9
MA
60712013-11-10 Michael Albinus <michael.albinus@gmx.de>
6072
6073 * net/tramp.el (tramp-methods):
6074 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
6075 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
6076
c9df215b
AS
60772013-11-09 Andreas Schwab <schwab@linux-m68k.org>
6078
608c2085
NT
6079 * progmodes/sh-script.el (sh-font-lock-keywords-var):
6080 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 6081
fa47d796
DG
60822013-11-09 Dmitry Gutov <dgutov@yandex.ru>
6083
6084 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 6085 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
6086 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
6087 (ispell-complete-word): Call `ispell-lookup-words' with the value
6088 independent of `ispell-look-p'.
6089
1629a329
DG
60902013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6091
6092 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
6093 Not after "||".
6094 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
6095 their parent.
6096
ad16897c
SM
60972013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6098
6099 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
6100 (ruby-font-lock-keywords): Use backquote.
6101
ffa2df72
DG
61022013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6103
6104 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6105 (ruby-smie--backward-token): Only consider full-string matches.
6106
5b97b4c0
JD
61072013-11-08 Jan Djärv <jan.h.d@swipnet.se>
6108
6109 * faces.el (describe-face): Add distant-foreground.
6110
71731c03
BB
61112013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
6112
4e9fc48c
BB
6113 * progmodes/ruby-mode.el: Improve encoding comment handling.
6114 (ruby-encoding-magic-comment-style): New option.
6115 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
6116 (ruby--insert-coding-comment, ruby--detect-encoding):
6117 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
6118 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
6119 to control the style of the auto-inserted encoding comment.
71731c03 6120
da3b328d
DG
61212013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6122
ad16897c
SM
6123 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
6124 Use `smie-backward-sexp' with token argument.
da3b328d 6125
1606c2d3
MA
61262013-11-08 Michael Albinus <michael.albinus@gmx.de>
6127
6128 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6129 Remove instrumentation code.
6130
b0f4c320
GM
61312013-11-08 Glenn Morris <rgm@gnu.org>
6132
6133 * progmodes/autoconf.el (autoconf-mode):
6134 Tweak comment-start-skip. (Bug#15822)
6135
43668fb1
SM
61362013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6137
6138 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
6139 at bobp (bug#15826).
6140 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
6141
daddb3fd
DH
61422013-11-08 Darren Hoo <darren.hoo@gmail.com>
6143
6144 * man.el (Man-start-calling): New macro, extracted from
6145 Man-getpage-in-background.
6146 (Man-getpage-in-background): Use it.
6147 (Man-update-manpage): New command.
6148 (Man-mode-map): Bind it.
6149
1f923923
DG
61502013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6151
6152 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
6153 of "and", "or", "&&" and "||".
6154 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
6155 argument. Prohibit opening curly brace because it could only be a
6156 block opener in that position.
daddb3fd
DH
6157 (ruby-smie--forward-token, ruby-smie--backward-token):
6158 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
6159 arguments.
6160 (ruby-smie--indent-to-stmt): New function, seeks the end of
6161 previous statement or beginning of buffer.
6162 (ruby-smie-rules): Use it.
6163 (ruby-smie-rules): Check if there's a ":" before a curly block
6164 opener candidate; if there is, it's a hash.
6165
3220d527
SM
61662013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
6167
6168 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
6169 (cl--block-wrapper): Fix last accidental change.
6170
1eb1f9e0
MA
61712013-11-07 Michael Albinus <michael.albinus@gmx.de>
6172
6173 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6174 Instrument, in order to hunt failure on hydra.
6175
e6e4db3c
NT
61762013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6177
6178 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
6179 malformed bindings form (bug#15814).
6180
b420ccfc
DG
61812013-11-07 Dmitry Gutov <dgutov@yandex.ru>
6182
6183 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
6184 "." compared to " @ ". This incidentally fixes some indentation
6185 examples with "do".
e6e4db3c 6186 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
6187 (ruby-smie-grammar): New tokens: "and" and "or".
6188 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
6189 Exclude "and" and "or". Remove "do" in order to work around token
6190 priorities.
6191 (ruby-smie-rules): Add all infix tokens. Handle the case of
6192 beginning-of-buffer.
b420ccfc 6193
6b4ac03e
GM
61942013-11-06 Glenn Morris <rgm@gnu.org>
6195
6196 * Makefile.in (setwins_almost, setwins_for_subdirs):
6197 Avoid accidental matches.
6198
5ca114d1
SM
61992013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6200
6201 * menu-bar.el (popup-menu): Use key-binding.
6202
f72552bd
EZ
62032013-11-06 Eli Zaretskii <eliz@gnu.org>
6204
6205 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
6206 menus, support also the menus produced by minor modes.
6207 (Bug#15817)
6208
5d5c701e
LL
62092013-11-06 Leo Liu <sdl.web@gmail.com>
6210
6211 * thingatpt.el (thing-at-point-looking-at): Add optional arg
e9dc713d 6212 DISTANCE to bound the search. All uses changed. (Bug#15808)
5d5c701e 6213
0a8b75e2
GM
62142013-11-06 Glenn Morris <rgm@gnu.org>
6215
6216 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
6217 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
6218 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 6219
a35287ea
SM
62202013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6221
feca4e2d
SM
6222 * electric.el (electric-indent-just-newline): New command.
6223 (electric-indent-mode-map): New keymap.
6224 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
6225 Re-add :group which weren't redundant.
6226
a35287ea
SM
6227 * electric.el (electric-indent-local-mode): New minor mode.
6228 (electric-indent-functions-without-reindent): New var.
6229 (electric-indent-post-self-insert-function): Use it.
6230 * emacs-lisp/gv.el (buffer-local-value): Add setter.
6231
375761b2
EZ
62322013-11-05 Eli Zaretskii <eliz@gnu.org>
6233
9a6ad735
EZ
6234 * international/quail.el (quail-help): Be more explicit about the
6235 meaning of the labels shown on the keys. (Bug#15800)
6236
375761b2
EZ
6237 * startup.el (normal-top-level): Load the subdirs.el files before
6238 setting the locale environment. (Bug#15805)
6239
520a6e4a
SM
62402013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
6241
0acfafef
SM
6242 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
6243 via arguments so as to get the right ones (bug#15418).
6244
520a6e4a
SM
6245 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
6246
15826261
MA
62472013-11-05 Michael Albinus <michael.albinus@gmx.de>
6248
6249 Fix problems found while writing a test suite.
6250
6251 * net/tramp-compat.el (tramp-compat-load): New defun.
6252 * net/tramp.el (tramp-handle-load): Use it.
6253
6254 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
6255 "(numberp ok-if-already-exists)" correctly.
6256
d35f31a4
XF
62572013-11-05 Xue Fuqiao <xfq.free@gmail.com>
6258
6259 * international/characters.el (glyphless-char-display-control):
6260 Add usage note.
6261
ae93bc74
BB
62622013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
6263
520a6e4a
SM
6264 * progmodes/python.el (python-mode):
6265 * progmodes/scheme.el (scheme-mode):
6266 * progmodes/prolog.el (prolog-mode):
6267 * progmodes/ruby-mode.el (ruby-mode):
6268 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
6269 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 6270
0ade65b5
SM
62712013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6272
a0d5f7a4
SM
6273 * rect.el (rectangle--highlight-for-redisplay):
6274 * emacs-lisp/smie.el (smie--next-indent-change):
6275 Use buffer-chars-modified-tick.
6276
c93f3f5c
SM
6277 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
6278
0ade65b5
SM
6279 * electric.el (electric-indent-post-self-insert-function):
6280 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
6281
ef9dd188
HE
62822013-11-04 Helmut Eller <eller.helmut@gmail.com>
6283
6284 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
6285
306e7308
NT
62862013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6287
6288 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
6289 (bug#15786).
6290
e5afbcac
SM
62912013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6292
1d01ad41
SM
6293 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
6294
e5afbcac
SM
6295 * progmodes/python.el: Fix up last change.
6296 (python-shell--save-temp-file): New function.
6297 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
6298 `string' comes from the current buffer.
6299 (python-shell-send-string-no-output): Remove `msg' arg.
6300 (python--use-fake-loc): New var.
6301 (python-shell-buffer-substring): Obey it. Try to compensate for the
6302 extra coding line added by python-shell--save-temp-file.
6303 (python-shell-send-region): Use python-shell--save-temp-file and
6304 python-shell-send-file directly. Add `nomain' argument.
6305 (python-shell-send-buffer): Use python-shell-send-region.
6306 (python-electric-pair-string-delimiter): New function.
6307 (python-mode): Use it.
6308
d0065ff1
EZ
63092013-11-04 Eli Zaretskii <eliz@gnu.org>
6310
6311 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
6312 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
6313 environment and decoding all of the default-directory's to here
6314 from command-line.
6315 (command-line): Decode also argv[0].
6316
6317 * loadup.el: Error out if default-directory is a multibyte string
6318 when we are dumping.
6319
6320 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
6321
7397c587
TZ
63222013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
6323
6324 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
6325 (package-menu--print-info, package-menu--archive-predicate):
6326 Add Archive column to package list.
7397c587 6327
b27cc9fc
MA
63282013-11-04 Michael Albinus <michael.albinus@gmx.de>
6329
6330 Fix problems found while writing a test suite.
6331
6332 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
6333 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
6334 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
6335 to nil when running original file name handler. Otherwise,
6336 there are problems with constructs like "$$FOO".
6337
6338 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
6339 for `localname'.
6340
d8c4f18a
BB
63412013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
6342
7b530552
BB
6343 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
6344
6345 * subr.el (version<, version<=, version=):
6346 Update docstrings with information for snapshot versions.
6347
d8c4f18a
BB
6348 * helpers.el: New library for misc helper functions.
6349 (hash-table-keys): New function returning a list of hash keys.
6350 (hash-table-values): New function returning a list of hash values.
6351
dca01b09
DG
63522013-11-04 Dmitry Gutov <dgutov@yandex.ru>
6353
6354 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6355 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
6356
0a749fa0
MN
63572013-11-04 Michal Nazarewicz <mina86@mina86.com>
6358
6359 * textmodes/fill.el (fill-single-char-nobreak-p): New function
6360 checking whether point is after a 1-letter word.
6361
63622013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
6363
6364 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
6365 Don't infloop when expanding region over `multiline' syntax-type that
6366 begins a line (bug#15778).
6367
4aca7145
SM
63682013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6369
6370 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
6371 Make it into a proper minor mode.
9b017563 6372 (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
4aca7145
SM
6373 (rectangle-mark-mode-map): New keymap.
6374 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
6375
a0833f62
GM
63762013-11-04 Glenn Morris <rgm@gnu.org>
6377
6378 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
6379
e61845c1
SM
63802013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
6381
6382 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
6383 (ruby-smie-rules): Use smie-rule-parent instead.
6384
6385 * emacs-lisp/smie.el (smie-rule-parent): Always call
6386 smie-indent-virtual rather than only for hanging tokens.
6387 (smie--next-indent-change): New helper command.
6388
62942f89
GM
63892013-11-03 Glenn Morris <rgm@gnu.org>
6390
6391 * Makefile.in (abs_srcdir): Remove.
6392 (emacs): Unset EMACSLOADPATH.
6393
b0b9e592
GM
63942013-11-02 Glenn Morris <rgm@gnu.org>
6395
18ba6a33 6396 * Makefile.in (EMACS): Use a relative filename.
8061810d 6397 (abs_top_builddir): Remove.
18ba6a33
GM
6398 (custom-deps, finder-data, autoloads): Use --chdir.
6399
6a8b929e
GM
6400 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
6401
c617f3d0
GM
6402 Use relative filenames in TAGS files.
6403 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
6404 (lisptagsfiles4, TAGS): Use relative file names.
6405 (TAGS-LISP): Remove.
6406 (maintainer-clean): No more TAGS-LISP file.
6407
b0b9e592
GM
6408 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
6409 (lisptagsfiles4): Use absolute filenames again.
6410 (TAGS, TAGS-LISP): Not everything needs to run in one line.
6411 Remove all *loaddefs files, not just the first. Remove esh-groups.
6412 (maintainer-clean): Delete TAGS, TAGS-LISP.
6413
d1c0ea6a
BB
64142013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6415
e61845c1
SM
6416 * emacs-lisp/package.el (package-version-join):
6417 Recognize snapshot versions.
d1c0ea6a 6418
684d71c6
BB
64192013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6420
6421 * subr.el (version-regexp-alist): Add support for snapshot versions.
6422
3d42b968
DG
64232013-11-02 Dmitry Gutov <dgutov@yandex.ru>
6424
e61845c1
SM
6425 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
6426 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
6427 skip over our direct parent if it's an assignment token..
6428 (ruby-smie-rules): Use it.
6429
7ffd3721
DG
64302013-11-02 Dmitry Gutov <dgutov@yandex.ru>
6431
8449dd1f 6432 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7ffd3721
DG
6433 unconditionally. Remove now unnecessary forward declarations.
6434 Remove XEmacs-specific setup.
6435 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
6436 (ruby-font-lock-syntactic-keywords)
6437 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
6438 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
6439 (ruby-here-doc-end-syntax): Remove.
6440 (ruby-mode): Don't check whether `syntax-propertize-rules' is
6441 defined as function.
6442
a3996a2e
BB
64432013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6444
6445 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
6446
6f9260e8
BB
64472013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
6448
6449 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
6450 table and abbrev table, `define-derived-mode' does that for us
6451 anyway.
6452
6014de84
GM
64532013-11-01 Glenn Morris <rgm@gnu.org>
6454
6455 * Makefile.in: Remove manual mh-e dependencies (writing .elc
6456 files is atomic for some time, so no parallel compilation issues).
6457
3c334c14
JD
64582013-11-01 Jan Djärv <jan.h.d@swipnet.se>
6459
6460 * faces.el (face-x-resources): Add :distant-foreground.
6461 (region): Use :distant-foreground for gtk and ns.
6462
9bc236c8
TH
64632013-11-01 Tassilo Horn <tsdh@gnu.org>
6464
5246583b 6465 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
6466 BibTeX.
6467 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
6468 (reftex-locate-bibliography-files): Us it.
6469
d14c81ee
CB
64702013-11-01 Claudio Bley <claudio.bley@googlemail.com>
6471
0e7690de
CB
6472 * image.el (image-type-header-regexps): Fix the 'pbm' part to
6473 allow comments in pbm files.
6474
d14c81ee
CB
6475 * term/w32-win.el (dynamic-library-alist): Support newer versions
6476 of libjpeg starting with v7: look only for the DLL from the
6477 version against which Emacs was built.
ac1bf374 6478 Support versions of libpng beyond 1.4.x.
019c8218 6479 Support libtiff v4.x.
d14c81ee 6480
983d0df5
BB
64812013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
6482
6483 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
6484 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
6485 Add property :safe.
6486 (ruby-deep-arglist): Add property :type.
6487
47f58d85
GM
64882013-10-31 Glenn Morris <rgm@gnu.org>
6489
6490 * Makefile.in (custom-deps, finder-data): No need to setq the target
6491 variables, we are in the right directory and the defaults work fine.
6492
4f85b479
GM
64932013-10-30 Glenn Morris <rgm@gnu.org>
6494
ca7dd4cd
GM
6495 * Makefile.in (autoloads): Do not use abs_lisp.
6496
4f85b479
GM
6497 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6498 `newline' does not respect `standard-output', so use `princ'.
6499
cf59e41c
AA
65002013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
6501
6502 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
6503 * buff-menu.el (Buffer-menu--unmark): New function.
6504 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
6505
74cf04fb
GM
65062013-10-30 Glenn Morris <rgm@gnu.org>
6507
b040b60e
GM
6508 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
6509
f53d3815
GM
6510 * emacs-lisp/package.el (lm-homepage): Declare.
6511
5413d873
GM
6512 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
6513 Fix doc typos.
6514
cecedb36
GM
6515 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
6516
74cf04fb
GM
6517 * Makefile.in (finder-data, autoloads, update-subdirs)
6518 (compile-main, compile-clean, compile-always, bootstrap-clean):
6519 Check return value of cd.
6520 (compile-calc): Remove.
6521
195ee2f0
SM
65222013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
6523
ae4002ce
SM
6524 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
6525
6526 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
6527 (byte-compile-and-folded): New function.
6528 (=, <, >, <=, >=): Use it.
6529
6530 * dos-w32.el (minibuffer-history-case-insensitive-variables)
6531 (path-separator, null-device, buffer-file-coding-system)
6532 (lpr-headers-switches): Check system-type before modifying them.
6533 (find-buffer-file-type-coding-system): Mark obsolete.
6534 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
6535 find-file-not-found-set-buffer-file-coding-system.
35e951cd 6536 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
ae4002ce 6537 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
35e951cd 6538 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
ae4002ce
SM
6539 (w32-direct-print-region-helper, w32-direct-print-region-function)
6540 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
6541 * startup.el (normal-top-level-add-subdirs-to-load-path):
6542 * ps-print.el (ps-print-region-function):
6543 * lpr.el (print-region-function): Use new name.
6544
53b39e89
SM
6545 * subr.el (custom-declare-variable-early): Remove function.
6546 (custom-declare-variable-list): Remove var.
6547 (error, user-error): Remove `while' loop.
6548 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
6549 (user-emacs-directory-warning, locate-user-emacs-file):
6550 Move to files.el.
6551 * simple.el (read-quoted-char-radix, read-quoted-char):
6552 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
6553 Move from subr.el.
6554 * custom.el (custom-declare-variable-list): Don't process
6555 custom-declare-variable-list.
6556
195ee2f0
SM
6557 * progmodes/python.el (python-shell-get-buffer): New function.
6558 (python-shell-get-process): Use it.
6559 (python-shell-send-string): Always use utf-8 and add a cookie to tell
6560 Python which encoding was used. Don't split-string since we only care
6561 about the first line. Return the temp-file, if applicable.
6562 (python-shell-send-region): Tell compile.el how to turn locations in
6563 the temp-file into locations in the source buffer.
6564
7e3561ee
SM
65652013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
6566
4c9797cb
SM
6567 * subr.el (undefined): Add missing behavior from the C code for
6568 unbound keys.
6569
3472b6c6
SM
6570 * rect.el: Use lexical-binding. Add new rectangular region support.
6571 (rectangle-mark): New command.
6572 (rectangle--region): New var.
6573 (deactivate-mark-hook): Reset rectangle--region.
6574 (rectangle--extract-region, rectangle--insert-for-yank)
6575 (rectangle--highlight-for-redisplay)
6576 (rectangle--unhighlight-for-redisplay): New functions.
6577 (region-extract-function, redisplay-unhighlight-region-function)
6578 (redisplay-highlight-region-function): Use them to handle
6579 rectangular region.
6580 * simple.el (region-extract-function): New var.
6581 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
6582 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
6583 (kill-region): Replace obsolete `yank-handler' arg with `region'.
6584 (copy-region-as-kill, kill-ring-save): Add `region' argument.
6585 (redisplay-unhighlight-region-function)
6586 (redisplay-highlight-region-function): New vars.
6587 (redisplay--update-region-highlight): New function.
6588 (pre-redisplay-function): Use it.
6589 (exchange-point-and-mark): Don't deactivate the mark before
6590 reactivate-it anyway.
6591 * comint.el (comint-kill-region): Remove yank-handler argument.
6592 * delsel.el (delete-backward-char, backward-delete-char-untabify)
6593 (delete-char): Remove property, since it's now part of their
6594 default behavior.
6595 (self-insert-iso): Remove property since this command doesn't exist.
6596
7e3561ee
SM
6597 * emacs-lisp/package.el (package--download-one-archive)
6598 (describe-package-1): Don't query the user about final newline.
6599
b9bef71f
DC
66002013-10-29 Daniel Colascione <dancol@dancol.org>
6601
6602 * net/tramp.el (tramp-methods): Document new functionality.
6603 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
6604 tramp-hostname-checker if method provides one instead of scanning
6605 argument list for "%h" to decide hostname acceptability.
6606
4efc33f0
MA
66072013-10-28 Michael Albinus <michael.albinus@gmx.de>
6608
6609 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
6610 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
6611 Handle COPY-CONTENTS. (Bug#15737)
6612
ed42a877
DU
66132013-10-28 Daiki Ueno <ueno@gnu.org>
6614
9b017563 6615 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
7e3561ee 6616 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 6617
18c9f8a2
XF
66182013-10-27 Xue Fuqiao <xfq.free@gmail.com>
6619
35e951cd 6620 * image.el (defimage, image-load-path): Doc fixes.
18c9f8a2 6621
b1e8e010
AM
66222013-10-27 Alan Mackenzie <acm@muc.de>
6623
6624 Indent statements in macros following "##" correctly.
7e3561ee
SM
6625 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
6626 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 6627
73d40d1e 66282013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
6629
6630 * linum.el (linum-update-window): Fix boundary test (bug#13446).
6631
c8c605ac
DG
66322013-10-27 Dmitry Gutov <dgutov@yandex.ru>
6633
6634 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
6635 after `=' is probably a new expression.
6636
ca7e59d4
RS
66372013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6638
6639 * man.el (man-imenu-title): New option.
6640 (Man-mode-map): Add menu. (Bug#15722)
6641 (Man-mode): Add imenu to menu.
6642
bae91342
DG
66432013-10-26 Dmitry Gutov <dgutov@yandex.ru>
6644
6645 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
6646 specific in what the first arg can be: a non-keyword word,
6647 string/regexp/percent literal opener, opening paren, or unary
6648 operator followed directly by word.
6649
eb89dc14
SM
66502013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6651
6652 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
6653 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
6654 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
6655 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
6656 Remove vars, they do not apply any more.
6657 (prolog-mode-abbrev-table): Remove redundant declaration.
6658 (prolog-upper-case-string, prolog-lower-case-string): Remove.
6659 (prolog-use-smie): Remove.
6660 (prolog-smie-rules): Add indentation rule for the if-then-else layout
6661 supported by prolog-electric-if-then-else-flag.
6662 (prolog-mode-variables, prolog-menu): Use setq-local.
6663 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
6664 Remove binding to `Backspace' since this key doesn't exist anyway.
6665 Remove bindings for electric self-inserting keys.
6666 (prog-mode): Assume it's defined.
6667 (prolog-post-self-insert): New function.
6668 (prolog-mode): Use it.
6669 (prolog-indent-line, prolog-indent-level)
6670 (prolog-find-indent-of-matching-paren)
6671 (prolog-indentation-level-of-line, prolog-goto-comment-column)
6672 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
6673 (prolog-goto-next-paren, prolog-in-string-or-comment)
6674 (prolog-tokenize, prolog-inside-mline-comment)
6675 (prolog-find-start-of-mline-comment): Remove functions.
6676 (prolog-find-unmatched-paren, prolog-clause-end)
6677 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
6678 (prolog-electric--if-then-else): Rename from
6679 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
6680 (prolog-tokenize-searchkey): Remove const.
6681 (prolog-clause-info): Use forward-sexp.
6682 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
6683 (prolog-electric-if-then-else): Remove commands.
6684 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
6685 for use in post-self-insert-hook.
6686 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
6687 for use in post-self-insert-hook.
6688 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
6689 for use in post-self-insert-hook.
6690 (prolog-electric--underscore): Rename from prolog-electric--underscore;
6691 adapt it for use in post-self-insert-hook.
6692
3dab0a83
MA
66932013-10-25 Michael Albinus <michael.albinus@gmx.de>
6694
6695 * emacs-lisp/ert.el (ert-run-tests-interactively):
6696 Use `completing-read'. (Bug#9756)
6697
fbfd0e1d
EZ
66982013-10-25 Eli Zaretskii <eliz@gnu.org>
6699
6700 * simple.el (line-move): Call line-move-1 instead of
6701 line-move-visual when the current window hscroll is zero, but
6702 temporary-goal-column indicates we will need to hscroll as result
6703 of the movement. (Bug#15712)
6704
963ce636
DG
67052013-10-25 Dmitry Gutov <dgutov@yandex.ru>
6706
6707 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
6708 capitalization. Use :visible instead of :active.
6709 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
6710 commands that are used with SMIE.
6711 (ruby-do-end-to-brace): Insert space after `{'.
6712
a0be396a
JA
67132013-10-25 John Anthony <john@jo.hnanthony.com>
6714
f73754c9
JA
6715 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
6716
6717 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 6718
f5bf77df
GM
67192013-10-25 Glenn Morris <rgm@gnu.org>
6720
6721 * vc/vc.el (vc-print-log): Don't use a working revision unless
6722 one was explicitly specified. (Bug#15322)
6723
37241f62
SM
67242013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6725
6726 * subr.el (add-to-list): Preserve return value in compiler-macro
6727 (bug#15692).
6728
6408a65d
RS
67292013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6730
6731 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
6732 result. Ask user to retry using '-all' flag. (Bug#15701)
6733
71e3276b
SM
67342013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6735
6736 * emacs-lisp/smie.el: New smie-config system.
6737 (smie-config): New defcustom.
6738 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
6739 (smie-config-guess, smie-config-save): New commands.
6740 (smie-config--mode-local, smie-config--buffer-local)
6741 (smie-config--trace, smie-config--modefuns): New vars.
6742 (smie-config--advice, smie-config--mode-hook)
6743 (smie-config--setter, smie-config-local, smie-config--get-trace)
6744 (smie-config--guess-value, smie-config--guess): New functions.
6745 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
6746 text properties. Treat "string fence" syntax like string syntax.
6747
6748 * progmodes/sh-script.el (sh-use-smie): Change default.
6749 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
6750 (sh-var-value): Simplify by CSE.
6751 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
6752 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
6753 is used.
6754 (sh-guess-basic-offset): Use cl-incf.
6755 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
6756
60db713e
HE
67572013-10-24 Helmut Eller <eller.helmut@gmail.com>
6758
6759 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
6760 (bug#15699).
6761
8b251df6
GM
67622013-10-24 Glenn Morris <rgm@gnu.org>
6763
6764 * Makefile.in (abs_top_srcdir): Remove.
6765 (update-subdirs): Use relative path to update-subdirs.
6766
6be0e22b
EZ
67672013-10-24 Eli Zaretskii <eliz@gnu.org>
6768
6769 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
6770 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
6771 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
6772 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 6773
50b5b857
MA
67742013-10-24 Michael Albinus <michael.albinus@gmx.de>
6775
6776 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
6777 (ert-test-skipped): New error.
6778 (ert-skip, ert-stats-skipped): New defuns.
6779 (ert--skip-unless): New macro.
6780 (ert-test-skipped): New struct.
6781 (ert--run-test-debugger, ert-test-result-type-p)
6782 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
6783 (ert--stats-set-test-and-result, ert-char-for-test-result)
6784 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 6785 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 6786 Handle skipped tests. (Bug#9803)
50b5b857 6787
6f317c2f
GM
67882013-10-24 Glenn Morris <rgm@gnu.org>
6789
e43817c1
GM
6790 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
6791
6f317c2f
GM
6792 * Makefile.in (abs_top_srcdir): New, set by configure.
6793 (update-subdirs): Correct build-aux location.
6794
369bbf71
DG
67952013-10-24 Dmitry Gutov <dgutov@yandex.ru>
6796
8297b2cf
DG
6797 * vc/vc.el (vc-print-root-log): Always set `default-directory'
6798 value, whether we could auto-deduce `backend', or not.
6799
369bbf71
DG
6800 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
6801 with parameters" example. Simplify the "is it block or is it
6802 hash" check, but also make it more thorough.
6803
d5f1282f
MF
68042013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
6805
6806 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
6807
bc4aaa31
SM
68082013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
6809
03d44565
SM
6810 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
6811 { if it is hanging.
6812
bc4aaa31
SM
6813 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
6814 :before ";".
6815
f493ff19
JB
68162013-10-23 Jed Brown <jed@59A2.org> (tiny change)
6817
6818 * progmodes/compile.el (compilation-directory-matcher)
6819 (compilation-page-delimiter):
6820 Support GNU Make-4.0 directory quoting. (Bug#15678)
6821
c744a3b9
LL
68222013-10-23 Leo Liu <sdl.web@gmail.com>
6823
6824 * ido.el (ido-tidy): Handle read-only text.
6825
b8e3b0a9
GM
68262013-10-23 Glenn Morris <rgm@gnu.org>
6827
6828 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
6829 (emacs, compile, compile-always):
6830 Quote entities that might contain whitespace.
6831 (custom-deps, finder-data, autoloads): Use abs_lisp.
6832 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
6833 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
6834 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
6835
ee4282cd
DG
68362013-10-23 Dmitry Gutov <dgutov@yandex.ru>
6837
bc4aaa31
SM
6838 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
6839 Use `following-char'.
7790a270 6840
ee4282cd 68412013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
6842
6843 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
6844 * progmodes/ruby-mode.el (ruby-smie-rules):
6845 Remove corresponding workaround. Fix indentation rule of ";" so it
6846 also applies when ";" is the parent.
6847
d40a46d7
XF
68482013-10-22 Xue Fuqiao <xfq.free@gmail.com>
6849
6850 * frame.el (display-screens, display-pixel-height)
6851 (display-pixel-width, display-mm-width, display-backing-store)
6852 (display-save-under, display-planes, display-color-cells)
7790a270
SM
6853 (display-visual-class, display-monitor-attributes-list):
6854 Mention the optional ‘display’ argument in doc strings.
d40a46d7 6855
a0f143c9
MG
68562013-10-22 Michael Gauland <mikelygee@amuri.net>
6857
6858 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
6859 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
6860
18cacc39
DG
68612013-10-21 Dmitry Gutov <dgutov@yandex.ru>
6862
6863 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
6864 TODO. Add "." after " @ ".
6865 (ruby-smie--at-dot-call): New function. Checks if point at method
6866 call with explicit target.
6867 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
6868 to the method name tokens when it precedes them.
6869 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
6870 (ruby-smie-rules): Add rule for indentation before and after "."
6871 token.
6872
df74c4be
SM
68732013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
6874
c6dab55f
SM
6875 * textmodes/remember.el (remember-diary-extract-entries):
6876 Avoid add-to-list.
6877
df74c4be
SM
6878 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
6879 an instruction.
6880
8c1ae481
DG
68812013-10-21 Dmitry Gutov <dgutov@yandex.ru>
6882
e9dc713d
JB
6883 * progmodes/ruby-mode.el (ruby-smie-grammar):
6884 Add (almost) all infix operators.
cfef16c0
DG
6885 (ruby-smie--implicit-semi-p): Add new operator chars.
6886
8c1ae481
DG
6887 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
6888 `smie-down-list'.
6889 (ruby-smie--args-separator-p): Check that there's no newline
6890 between method call and its arguments.
6891
87756ca9
AM
68922013-10-20 Alan Mackenzie <acm@muc.de>
6893
6894 Allow comma separated lists after Java "implements".
6895
df74c4be
SM
6896 * progmodes/cc-engine.el (c-backward-over-enum-header):
6897 Parse commas.
87756ca9
AM
6898 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
6899 from a "disallowed" list in enum fontification.
6900
c25f8957
JB
69012013-10-20 Johan Bockgård <bojohan@gnu.org>
6902
df74c4be 6903 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 6904
c25f8957
JB
6905 * progmodes/verilog-mode.el (verilog-mode): Don't set
6906 comment-indent-function globally.
6907
aca5fcdc
JD
69082013-10-20 Jan Djärv <jan.h.d@swipnet.se>
6909
5f161884
JD
6910 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
6911 Move Info menu item creation to ns-win.el.
6912
6913 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
6914 in menu bar.
6915
a6c4680a 6916 * menu-bar.el: Move GNUstep specific menus...
aca5fcdc
JD
6917
6918 * term/ns-win.el (ns-initialize-window-system): ... to here.
6919
914b7f98
SM
69202013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6921
6922 * simple.el (newline): Only run post-self-insert-hook when
6923 called interactively.
6924
846ffe77
JB
69252013-10-19 Johan Bockgård <bojohan@gnu.org>
6926
6927 * icomplete.el (icomplete-with-completion-tables): Add :version.
6928
033f22dd
AM
69292013-10-19 Alan Mackenzie <acm@muc.de>
6930
6931 Fix fontification bugs with constructors and const.
6932
6933 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
6934 CASE 2) Remove the check for the absence of a suffix construct
6935 after a function declaration with only types (no identifiers) in
6936 the parentheses. Also, accept a function declaration with just a
6937 type inside the parentheses, if this type can be positively
6938 recognised as such, or if a prefix keyword like "explicit" nails
6939 down the construct as a declaration.
6940
58ce0cfc
EZ
69412013-10-19 Eli Zaretskii <eliz@gnu.org>
6942
6943 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
6944 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
6945 the problem whereby selecting a menu item that leads to a
6946 minibuffer prompt moves the cursor out of the minibuffer window,
6947 making it hard to type at the prompt. Suggested by Stefan Monnier
6948 <monnier@iro.umontreal.ca>.
6949
50e28e7d
JD
69502013-10-19 Jan Djärv <jan.h.d@swipnet.se>
6951
6952 * menu-bar.el: Don't make Services menu.
6953
7deed4bf
RS
69542013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6955
6956 * ffap.el: Handle "/usr/include/c++/<version>" directories.
6957 (ffap-alist): Use ffap-c++-mode for c++-mode.
6958 (ffap-c++-path): New variable.
6959 (ffap-c++-mode): New function.
6960
7bcb455b
JVJ
69612013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
6962
6963 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
6964
f0ff1cd5
MA
69652013-10-18 Michael Albinus <michael.albinus@gmx.de>
6966
6967 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
6968 introduced on 2013-09-08, which results in an infinite loop
6969 requesting a password.
6970
d64da4b7
GM
69712013-10-18 Glenn Morris <rgm@gnu.org>
6972
6973 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
6974
ea89ff08
WS
69752013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
6976
6977 Sync with upstream verilog-mode revision 1a6ecec7.
6978 * progmodes/verilog-mode.el (verilog-mode-version): Update.
6979 (verilog-mode-release-date): Remove.
6980 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
6981 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
6982 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
6983 (verilog-auto-tieoff-ignore-regexp)
6984 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
6985 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
6986 (verilog-signals-with, verilog-dir-cache-preserving)
6987 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
6988 Doc fixes.
6989 (verilog-case-fold): New option, to control case folding in
6990 regexp searches, bug597.
6991 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
6992 (verilog-string-match-fold, verilog-in-paren-count)
6993 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
6994 (verilog-at-close-struct-p): New functions.
6995 (verilog-beg-block-re-ordered, verilog-extended-case-re)
35e951cd 6996 (verilog-forward-sexp, verilog-set-auto-endcomments)
ea89ff08
WS
6997 (verilog-leap-to-case-head): Handle "unique0" case.
6998 (verilog-in-constraint-re): New constant.
6999 (verilog-keywords, verilog-type-font-keywords):
7000 Add some SystemVerilog 1800-2012 keywords.
7001 (verilog-label-be): Remove unimplemented argument, bug669.
7002 (verilog-batch-execute-func): When batch expanding clear
7003 create-lockfiles to prevent spurious user locks when a file ends
7004 up not changing.
7005 (verilog-calculate-indent, verilog-calc-1)
7006 (verilog-at-close-constraint-p, verilog-at-constraint-p)
7007 (verilog-do-indent): Fix indentation of nested constraints
7008 and structures.
7009 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
7010 (verilog-auto-inst-param): Use verilog-string-match-fold.
7011 (verilog-read-inst-module-matcher):
7012 Fix AUTOINST on gate primitives with #1.
7013 (verilog-read-decls): Fix double-declaring user-defined typed signals.
7014 Reads all user-defined typed variables.
7015 (verilog-read-defines): Fix reading definitions inside comments, bug647.
7016 (verilog-signals-matching-regexp)
7017 (verilog-signals-not-matching-regexp, verilog-auto):
7018 Respect verilog-case-fold.
7019 (verilog-diff-report): Fix line count.
7020 (verilog-auto-assign-modport): Remove unused local `modi'.
7021 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
7022 better handle multidimensional arrays.
7023 Fix packed array ports misadding bit index in AUTOINST, bug637.
7024 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
7025 to not double-declare existing outputs and inputs, respectively.
7026 (verilog-template-map): Bind U to verilog-sk-uvm-component.
7027 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
7028 (verilog-sk-uvm-component): New skeleton.
7029 (verilog-submit-bug-report): Add verilog-case-fold,
7030 remove verilog-mode-release-date.
7031
ef566920
BR
70322013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
7033
a12bf61e 7034 * subr.el (sit-for): Call (input-pending-p t) so as to behave
ef566920
BR
7035 as before.
7036
29df8a0b
RT
70372013-10-18 Reuben Thomas <rrt@sc3d.org>
7038
e0eb0550 7039 * textmodes/remember.el (remember): Set buffer-offer-save in
29df8a0b
RT
7040 remember buffers (bug#13566).
7041
04a19a79
DC
70422013-10-18 Daniel Colascione <dancol@dancol.org>
7043
7044 When evaluating forms in ielm, direct standard output to ielm
7045 buffer. Add new ielm-return-for-effect command. Remove trailing
7046 whitespace throughout.
7047
7048 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
7049 (ielm-return-for-effect): New command.
7050 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
7051 (ielm-eval-input): Accept optional `for-effect' parameter.
7052 Bind `standard-output' to stream we create using
04a19a79
DC
7053 `ielm-standard-output-impl'. Suppress printing result when
7054 `for-effect'.
7055 (ielm-standard-output-impl): New function.
7056 (inferior-emacs-lisp-mode): Explain new features in documentation.
7057
4c1f03ef
MA
70582013-10-17 Michael Albinus <michael.albinus@gmx.de>
7059
7060 Code cleanup.
7061
7062 * net/tramp.el (tramp-debug-message): Do not check for connection
7063 buffer.
7064 (tramp-message): Use "vector" connection property.
7065
7066 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
7067 (tramp-equal-remote, tramp-eshell-directory-change)
7068 * net/tramp-adb.el (tramp-adb-handle-copy-file)
7069 (tramp-adb-handle-rename-file)
7070 * net/tramp-cmds.el (tramp-list-remote-buffers)
7071 (tramp-cleanup-connection, tramp-cleanup-this-connection)
7072 * net/tramp-compat.el (tramp-compat-process-running-p)
7073 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
7074 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
7075 (tramp-gvfs-handle-rename-file)
7076 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
7077 (tramp-set-file-uid-gid)
7078 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7079 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
7080 of `file-remote-p'.
7081
7082 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
7083 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7084 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
7085 (tramp-gw-open-network-stream): Suppress unrelated traces.
7086
7087 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
7088 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7089 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7090 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
7091 connection property.
7092
7093 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 7094 persistency file.
4c1f03ef
MA
7095
7096 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7097 Refactor common code. Improve debug message.
7098 (tramp-maybe-open-connection)
7099 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
7100 connection buffer too early.
7101
7102 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
7103 from `tramp-smb-actions-with-acl'.
7104 (tramp-smb-actions-set-acl): New defconst.
7105 (tramp-smb-handle-copy-directory)
7106 (tramp-smb-action-get-acl): New defun, renamed from
7107 `tramp-smb-action-with-acl'.
7108 (tramp-smb-action-set-acl): New defun.
7109 (tramp-smb-handle-set-file-acl): Rewrite.
7110
642eb8b6
GM
71112013-10-17 Glenn Morris <rgm@gnu.org>
7112
7113 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
7114
85527ff3
SM
71152013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7116
921c1d62
SM
7117 * skeleton.el (skeleton-newline): Remove.
7118 (skeleton-internal-1): Use (insert "\n") instead.
7119
e333fb10
SM
7120 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
7121 let-bindings.
7122
85527ff3
SM
7123 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
7124 forward-sexp-function while we redo its job (bug#15613).
7125
c8722a97
JB
71262013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
7127
7128 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
7129 represented by lists.
7130
7a550bbb
GM
71312013-10-16 Glenn Morris <rgm@gnu.org>
7132
7133 * tmm.el (tmm--history): New dynamic variable.
7134 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
7135
f19da8ad
MA
71362013-10-16 Michael Albinus <michael.albinus@gmx.de>
7137
7138 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
7139 (tramp-smb-errors): Add error messages.
7140 (tramp-smb-actions-with-acl): New defconst.
afe1e4c8 7141 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
f19da8ad
MA
7142 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
7143 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
7144 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
7145 (tramp-smb-get-stat-capability): Fix tests.
7146
a24b9961
DK
71472013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
7148
7149 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
7150 (bug#15580).
7151
62ad85e6
GM
71522013-10-16 Glenn Morris <rgm@gnu.org>
7153
0283d6b0
GM
7154 * ansi-color.el (ansi-color-drop-regexp):
7155 Add 1J, 1K, 2K. (Bug#15617)
7156
012e2f9f
GM
7157 * files.el (hack-local-variables--warned-lexical): New.
7158 (hack-local-variables):
7159 Warn about misplaced lexical-binding. (Bug#15616)
7160
62ad85e6
GM
7161 * net/eww.el (eww-render): Always set eww-current-url,
7162 and update header line. (Bug#15622)
7163 (eww-display-html): ... Rather than just doing it here.
7164
6456c0ea
EZ
71652013-10-15 Eli Zaretskii <eliz@gnu.org>
7166
7167 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
7168 menu navigations commands.
7169
c2de5588
DK
71702013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
7171
7172 * progmodes/subword.el (subword-capitalize): Be careful when
7173 the search for [[:alpha:]] fails (bug#15580).
7174
ccd4a783
EZ
71752013-10-14 Eli Zaretskii <eliz@gnu.org>
7176
7177 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
7178 to commands that scroll the menu.
7179
1eda1d8d
DG
71802013-10-14 Dmitry Gutov <dgutov@yandex.ru>
7181
c2de5588
DK
7182 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
7183 Handle methods ending with `?' and `!'.
1eda1d8d 7184
e70181b8
AM
71852013-10-14 Akinori MUSHA <knu@iDaemons.org>
7186
7187 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
7188 `japanese-cp932' to `cp932' to fix the problem where saving a
7189 source file written in Shift_JIS twice would end up having
7190 `coding: japanese-cp932' which Ruby could not recognize.
7191 (ruby-mode-set-encoding): Add support for encodings mapped to nil
7192 in `ruby-encoding-map'.
7193 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
7194 doesn't need to be explicitly declared in magic comment.
7195 (ruby-encoding-map): Add type declaration for better customize UI.
7196
9148ee92
GM
71972013-10-13 Glenn Morris <rgm@gnu.org>
7198
a5d38e34
GM
7199 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
7200 Occur buffers are read-only. http://bugs.debian.org/720775
7201
9148ee92
GM
7202 * emacs-lisp/authors.el (authors-fixed-entries):
7203 Comment out old alpha stuff.
7204
a9ba094b
DG
72052013-10-13 Dmitry Gutov <dgutov@yandex.ru>
7206
7207 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
7208 to `after-save-hook' instead of `before-save-hook'.
7209 (ruby-mode-set-encoding): Use the value of coding system used to
7210 write the file. Call `basic-save-buffer-1' after modifying the
7211 buffer.
7212
7a068717
AM
72132013-10-13 Alan Mackenzie <acm@muc.de>
7214
7215 Fix indentation/fontification of Java enum with
7216 "implements"/generic.
7217
c2de5588
DK
7218 * progmodes/cc-engine.el (c-backward-over-enum-header):
7219 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
7220 (c-inside-bracelist-p): Uses new function above.
7221 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
7222 function above.
7223 (c-font-lock-enum-tail): Uses new function above.
7224
85b64f02
KH
72252013-10-13 Kenichi Handa <handa@gnu.org>
7226
7227 * international/mule-cmds.el (select-safe-coding-system): Remove a
7228 superfluous condition in chekcing whether a coding system is safe
7229 or not.
7230
fc7f501b
OK
72312013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
7232
7233 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
7234
fdcb2049
AP
72352013-10-13 Andreas Politz <politza@hochschule-trier.de>
7236
7237 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
7238
8c106d17
GM
72392013-10-13 Glenn Morris <rgm@gnu.org>
7240
feab892d
GM
7241 * menu-bar.el (menu-bar-update-buffers):
7242 Unify Buffers menu prompt string. (Bug#15576)
7243
b22d0686
GM
7244 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
7245
8c106d17
GM
7246 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
7247 Add some entries.
7248 (authors-fixed-entries): Use accented form of name.
7249
1b12c797
SM
72502013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7251
650fa7bf 7252 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 7253 method calls (bug#15594).
650fa7bf
SM
7254 (ruby-smie--args-separator-p): New function.
7255 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
7256 recognize paren-free method calls.
7257
1b12c797
SM
7258 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
7259 internals of universal-argument.
7260
029619c8
EZ
72612013-10-11 Eli Zaretskii <eliz@gnu.org>
7262
7263 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
7264 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
7265 dropped menu on second mouse click on the menu bar.
029619c8 7266
dd070019
SM
72672013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7268
7269 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
7270 (explicit-shell-file-name): Declare.
7271 (sh--vars-before-point, sh--cmd-completion-table): New functions.
7272 (sh-completion-at-point-function): New function.
7273 (sh-mode): Use it.
7274 (sh-smie--keyword-p): Remove unused argument.
7275 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
7276 vars.
7277 (sh-set-shell): Always setup SMIE, even if we use the
7278 old indentation code.
7279
0922b826
DG
72802013-10-11 Dmitry Gutov <dgutov@yandex.ru>
7281
b68e2926
DG
7282 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
7283 cases of ? and =.
7284 (ruby-smie-rules): Simplify the "do" rule. The cases when the
7285 predicate would return nil are almost non-existent.
7286 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
7287
0922b826
DG
7288 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
7289 cache also after commands that modify the buffer but don't move
7290 point.
7291
ee041f2d
SM
72922013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7293
7294 * env.el (substitute-env-in-file-name): New function.
7295 (substitute-env-vars): Extend the meaning of the optional arg.
7296
a5dab159
EZ
72972013-10-10 Eli Zaretskii <eliz@gnu.org>
7298
7299 * term/w32-win.el (dynamic-library-alist): Define separate lists
7300 of GIF DLLs for versions before and after 5.0.0 of giflib.
7301 (Bug#15531)
7302
0449d6cd 73032013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
7304
7305 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
7306 not locked, use last revision and current source as
7307 defaults. (Bug#15569)
7308
2f6e161e
MY
73092013-10-10 Masatake YAMATO <yamato@redhat.com>
7310
7311 * menu-bar.el (menu-bar-open): Don't use popup-menu if
7312 menu-bar is hidden.
7313
6c8413fc
MR
73142013-10-10 Martin Rudalics <rudalics@gmx.at>
7315
7316 * window.el (pop-to-buffer-same-window): Fix doc-string.
7317 (Bug#15492)
7318
20832de0
SM
73192013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7320
7321 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
7322
c6e8ae77
AC
73232013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
7324
7325 * calendar/icalendar.el (icalendar-import-file):
7326 Fix interactive spec. (Bug#15482)
7327
9db13baf
GM
73282013-10-10 Glenn Morris <rgm@gnu.org>
7329
9271e90e
GM
7330 * desktop.el (desktop-save): Default to saving in .emacs.d,
7331 since PWD is no longer in desktop-path by default. (Bug#15319)
7332
9db13baf
GM
7333 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
7334 now that text mode has a menu with the same entry.
7335 (menu-bar-text-mode-auto-fill): Remove now unused func.
7336 * textmodes/text-mode.el (text-mode-map):
7337 Use auto-fill help text from menu-bar.el.
7338
a0be396a 73392013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
7340
7341 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
7342
2edcd3c7
JL
73432013-10-09 Juri Linkov <juri@jurta.org>
7344
7345 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
7346 instead of this-command-keys. Add universal-argument-more and
7347 universal-argument-minus to the list of prefix commands. (Bug#15568)
7348
574411d0
GM
73492013-10-09 Glenn Morris <rgm@gnu.org>
7350
14afa541
GM
7351 * vc/vc-svn.el (vc-svn-create-repo):
7352 Expand paths in file://... url. (Bug#15446)
7353
574411d0
GM
7354 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
7355 Add some entries.
7356 (authors): Remove unused local variables.
7357
79804536
SM
73582013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7359
7360 * profiler.el: Create a more coherent calltree from partial backtraces.
7361 (profiler-format): Hide the tail with `invisible' so that C-s can still
7362 find the hidden elements.
7363 (profiler-calltree-depth): Don't recurse so enthusiastically.
7364 (profiler-function-equal): New hash-table-test.
7365 (profiler-calltree-build-unified): New function.
7366 (profiler-calltree-build): Use it.
7367 (profiler-report-make-name-part): Indent the calltree less.
7368 (profiler-report-mode): Add visibility specs for profiler-format.
7369 (profiler-report-expand-entry, profiler-report-toggle-entry):
7370 Expand the whole subtree when provided with a prefix arg.
7371
238150c8
DG
73722013-10-09 Dmitry Gutov <dgutov@yandex.ru>
7373
7374 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
7375 iuwu-mod token.
7376 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
7377 hanging iuwu-mod token.
7378 (ruby-smie--forward-token): Do not include a dot after a token in
7379 that token.
7380 (ruby-smie--backward-token): Likewise.
7381
b0949cc4
JL
73822013-10-08 Juri Linkov <juri@jurta.org>
7383
7384 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
7385 to isearch-other-control-char.
7386 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
7387 and isearch-post-command-hook to post-command-hook.
7388 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
7389 and isearch-post-command-hook from post-command-hook.
7390 (isearch-unread-key-sequence)
7391 (isearch-reread-key-sequence-naturally)
7392 (isearch-lookup-scroll-key, isearch-other-control-char)
7393 (isearch-other-meta-char): Remove functions.
7394 (isearch-pre-command-hook, isearch-post-command-hook):
7395 New functions based on isearch-other-meta-char rewritten
7396 relying on the new behavior of overriding-terminal-local-map
7397 that does not replace the local keymaps any more. (Bug#15200)
7398
4ed77415
EZ
73992013-10-08 Eli Zaretskii <eliz@gnu.org>
7400
7401 Support menus on text-mode terminals.
7402 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
7403 functionality.
7404
7405 * tooltip.el (tooltip-mode): Don't error out on TTYs.
7406
c2de5588
DK
7407 * menu-bar.el (popup-menu, popup-menu-normalize-position):
7408 Move here from mouse.el.
4ed77415
EZ
7409 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
7410 and arrow keys.
7411 (tty-menu-navigation-map): New map for TTY menu navigation.
7412
7413 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
7414
7415 * frame.el (display-mouse-p): Report text-mode mouse as available
7416 on w32.
7417 (display-popup-menus-p): Report availability if mouse is
7418 available; don't condition on window-system.
7419
7420 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
7421 (tty-menu-selected-face): New faces.
7422
b7d5bd82
TL
74232013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7424
06286513
SM
7425 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
7426 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
7427 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
7428 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
7429 New constants.
7430 (lisp-mode-variables): New `elisp' argument.
7431 (emacs-lisp-mode): Use it.
7432 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
7433 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
7434
b7d5bd82
TL
7435 * indent.el: Use lexical-binding.
7436 (indent-region): Add progress reporter.
7437 (tab-stop-list): Make it implicitly extend to infinity by repeating the
7438 last step.
7439 (indent--next-tab-stop): New function to implement this behavior.
7440 (tab-to-tab-stop, move-to-tab-stop): Use it.
7441
74422013-10-08 Teemu Likonen <tlikonen@iki.fi>
7443
7444 * indent.el (indent-rigidly--current-indentation): New function.
7445 (indent-rigidly-map): New var.
7446 (indent-rigidly): Use it to provide interactive mode (bug#8196).
7447
5ea75d23
BG
74482013-10-08 Bastien Guerry <bzg@gnu.org>
7449
f2726fa2 7450 * register.el (insert-register): Fix 2013-10-07 change.
5ea75d23 7451
cc5da1ec
SM
74522013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7453
8ffa1a0b
SM
7454 * progmodes/perl-mode.el: Use lexical-binding.
7455 Remove redundant :group args.
7456 (perl-nochange): Change default to be closer to other major modes's
7457 standard behavior.
7458 (perl-indent-line): Don't consider text on current line as a
7459 valid beginning of function from which to indent.
7460
f2223371
SM
7461 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
7462 with more than one argument (bug#15538).
7463
44256060
SM
7464 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
7465
cc5da1ec
SM
7466 * vc/pcvs.el: Use lexical-binding.
7467 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
7468 environment of `eval'.
7469 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
7470 than a list of expressions. Adjust callers.
7471 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
7472
0ea1599d
DG
74732013-10-07 Dmitry Gutov <dgutov@yandex.ru>
7474
7475 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 7476 case of the dot in a chained method call being on the following line.
0ea1599d 7477
da3e5ebb
SM
74782013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7479
2abb4e65
SM
7480 * electric.el (electric-indent-inhibit): New var.
7481 (electric-indent-post-self-insert-function): Use it.
7482 * progmodes/python.el (python-mode): Set it.
7483
d2e0e795
SM
7484 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
7485 open braces.
7486
7487 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
7488
bdc6b4c8
SM
7489 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
7490 (css-mode): Use electric-indent-chars.
7491
da3e5ebb
SM
7492 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
7493 (font-lock-beg, font-lock-end): Move before first use.
7494 (nxml-mode): Use syntax-propertize-function.
7495 (nxml-after-change, nxml-after-change1): Adjust accordingly.
7496 (nxml-extend-after-change-region): Remove.
7497 * nxml/xmltok.el: Use lexical-binding.
7498 (xmltok-save): Use `declare'.
7499 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
7500 * nxml/nxml-util.el: Use lexical-binding.
7501 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
7502 Use `declare'.
7503 * nxml/nxml-ns.el: Use lexical-binding.
7504 (nxml-ns-save): Use `declare'.
7505 (nxml-ns-prefixes-for): Avoid add-to-list.
7506 * nxml/rng-match.el: Use lexical-binding.
7507 (rng--ipattern): Use cl-defstruct.
7508 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
7509 (rng-cons-group-after, rng-subst-group-after)
7510 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
7511 Use closures instead of `(lambda...).
7512
f8f91d5d
MA
75132013-10-07 Michael Albinus <michael.albinus@gmx.de>
7514
7515 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
7516 of BEG and END.
7517
da3e5ebb
SM
7518 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7519 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
7520 (tramp-gvfs-handle-insert-file-contents): Remove function.
7521
da3e5ebb
SM
7522 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
7523 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
7524
7525 * net/trampver.el: Update release number.
7526
7ccae3b1
SM
75272013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7528
55ca2c0d
SM
7529 * progmodes/compile.el (compilation-parse-errors):
7530 Use compilation--put-prop.
7531 (compilation--ensure-parse): Check compilation-multiline.
7532
731fc3ae
SM
7533 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
7534
da3e5ebb
SM
7535 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
7536 lexical-binding.
a5833280 7537
2e7ba2c2
SM
7538 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
7539
7ccae3b1
SM
7540 * progmodes/ruby-mode.el: Fix recently added tests.
7541 (ruby-smie-grammar): Add - and +.
7542 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
7543 (ruby-smie--backward-id): New functions.
7544 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
7545 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
7546 any more.
7547
85698d63
LL
75482013-10-07 Leo Liu <sdl.web@gmail.com>
7549
7550 * register.el (register-preview-delay)
7551 (register-preview-functions): New variables.
7552 (register-read-with-preview, register-preview)
7553 (register-describe-oneline): New functions.
7554 (point-to-register, window-configuration-to-register)
7555 (frame-configuration-to-register, jump-to-register)
7556 (number-to-register, view-register, insert-register)
7557 (copy-to-register, append-to-register, prepend-to-register)
7558 (copy-rectangle-to-register): Use register-read-with-preview to
7559 read register. (Bug#15525)
7560
3986af6c
DS
75612013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
7562
7563 * net/network-stream.el (network-stream-open-starttls): Don't add
7564 --insecure if it's already present, because that gnutls-cli
7565 rejects getting that parameter twice.
7566
5cd9cda9
DG
75672013-10-06 Dmitry Gutov <dgutov@yandex.ru>
7568
7569 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
7570 keyword, too.
7571
da9ea6d9
DG
75722013-10-05 Dmitry Gutov <dgutov@yandex.ru>
7573
7574 * newcomment.el (comment-use-global-state): Change default value
7575 to t, mark obsolete (Bug#15251).
7576 (comment-beginning): In addition to `comment-to-syntax', check the
7577 value of `comment-use-global-state'.
7578
34d1a133
SM
75792013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7580
7581 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
7582 (ruby-comment-column): Follow the global default, by default.
7583 (ruby-smie-grammar): Add assignment syntax.
7584 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
7585 open-paren, a comma, or a \.
7586 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
7587 and line continuations.
7588 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
7589 followed by implicit semi-colons. Add rule for string concatenation
7590 and for indentation at BOB.
27821a89 7591 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
34d1a133
SM
7592
7593 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
7594 calling next-sexp, since next-token may have skipped chars which
7595 next-sexp doesn't know should be skipped!
7596
6f6ab820
LL
75972013-10-05 Leo Liu <sdl.web@gmail.com>
7598
34d1a133
SM
7599 * progmodes/octave.el (octave-send-region):
7600 Call compilation-forget-errors.
6f6ab820 7601
34ca0f4c
XF
76022013-10-04 Xue Fuqiao <xfq.free@gmail.com>
7603
7604 * vc/vc-svn.el (vc-svn-find-admin-dir):
7605 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
7606 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
7607 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
7608 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
7609
a27c1b72
SM
76102013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
7611
7612 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
7613
258ab3bc
SM
76142013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
7615
7616 * subr.el (read-passwd): Hide chars even when called within a context
7617 where after-change-functions is disabled (bug#15501).
7618 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
7619 until we removed ourself from overriding-terminal-local-map.
7620
939fb29c
LL
76212013-10-04 Leo Liu <sdl.web@gmail.com>
7622
258ab3bc
SM
7623 * progmodes/octave.el (inferior-octave-mode):
7624 Call compilation-forget-errors.
939fb29c 7625
63bd7f35
XF
76262013-10-04 Xue Fuqiao <xfq.free@gmail.com>
7627
7628 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
7629
9e6229fa
MA
76302013-10-04 Michael Albinus <michael.albinus@gmx.de>
7631
7632 * net/secrets.el (secrets-create-collection): Add optional
7633 argument ALIAS. Use proper Label keyword. Append ALIAS as
7634 dbus-call-method argument. (Bug#15516)
7635
1dab32a3
LL
76362013-10-04 Leo Liu <sdl.web@gmail.com>
7637
7638 * progmodes/octave.el (inferior-octave-error-regexp-alist)
7639 (inferior-octave-compilation-font-lock-keywords): New variables.
7640 (compilation-error-regexp-alist)
7641 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
7642 (inferior-octave-mode): Use compilation-shell-minor-mode.
7643
6cad7ba3
JS
76442013-10-04 Jorgen Schaefer <forcer@forcix.cx>
7645
7646 * minibuffer.el (completion--replace): Be careful that `end' might be
7647 a marker.
7648
acbadd00
DU
76492013-10-03 Daiki Ueno <ueno@gnu.org>
7650
7651 Add support for package signature checking.
7652 * emacs-lisp/package.el (url-http-file-exists-p)
7653 (epg-make-context, epg-context-set-home-directory)
7654 (epg-verify-string, epg-context-result-for)
7655 (epg-signature-status, epg-signature-to-string)
7656 (epg-check-configuration, epg-configuration)
7657 (epg-import-keys-from-file): Declare.
7658 (package-check-signature): New user option.
7659 (package-unsigned-archives): New user option.
7660 (package-desc): Add `signed' field.
7661 (package-load-descriptor): Set `signed' field if .signed file exists.
7662 (package--archive-file-exists-p): New function.
7663 (package--check-signature): New function.
7664 (package-install-from-archive): Check package signature.
7665 (package--download-one-archive): Check archive signature.
7666 (package-delete): Remove .signed file.
7667 (package-import-keyring): New command.
7668 (package-refresh-contents): Import default keyring.
7669 (package-desc-status): Add "unsigned" status.
7670 (describe-package-1, package-menu--print-info)
7671 (package-menu-mark-delete, package-menu--find-upgrades)
7672 (package-menu--status-predicate): Support "unsigned" status.
7673
adf2aa61
SM
76742013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7675
7676 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
7677 the new compilation scheme using the new byte-codes.
7678
7679 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
7680 (byte-pophandler): New byte codes.
7681 (byte-goto-ops): Adjust accordingly.
7682 (byte-compile--use-old-handlers): New var.
7683 (byte-compile-catch): Use new byte codes depending on
7684 byte-compile--use-old-handlers.
7685 (byte-compile-condition-case--old): Rename from
7686 byte-compile-condition-case.
7687 (byte-compile-condition-case--new): New function.
7688 (byte-compile-condition-case): New function that dispatches depending
7689 on byte-compile--use-old-handlers.
7690 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
7691 when we can.
7692
7693 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
7694 Optimize under `condition-case' and `catch' if
7695 byte-compile--use-old-handlers is nil.
7696 (disassemble-offset): Handle new bytecodes.
7697
328a8179
SM
76982013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7699
7700 * subr.el (error): Use `declare'.
7701 (decode-char, encode-char): Use advertised-calling-convention instead
7702 of the docstring to discourage use of the `restriction' arg.
7703
15a1e936
DU
77042013-10-03 Daiki Ueno <ueno@gnu.org>
7705
7706 * epg.el (epg-verify-file): Add a comment saying that it does not
7707 notify verification error as a return value nor a signal.
7708 (epg-verify-string): Ditto.
7709
376f862a
KR
77102013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
7711
7712 * progmodes/compile.el (compilation-start): Try globbing the arg to
7713 `cd' (bug#15417).
7714
a2f93a5f
MA
77152013-10-02 Michael Albinus <michael.albinus@gmx.de>
7716
7717 Sync with Tramp 2.2.8.
7718
7719 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
7720 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
7721 * net/trampver.el: Update release number.
7722
0daa0804
JD
77232013-10-01 Jan Djärv <jan.h.d@swipnet.se>
7724
7725 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
7726 and default-process-coding-system for darwin only.
7727
abd1ae34
SM
77282013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
7729
7730 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
7731
be4e325d
MH
77322013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
7733
7734 * vc/vc-git.el (vc-git-grep): Disable pager.
7735
e9155c4a
DG
77362013-10-01 Dmitry Gutov <dgutov@yandex.ru>
7737
494e898b
DG
7738 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
7739 Use :url instead of :homepage, as per
7740 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
7741
e9155c4a
DG
7742 * newcomment.el (comment-beginning): When `comment-use-syntax' is
7743 non-nil, use `syntax-ppss' (Bug#15251).
7744
481a8e0f
RS
77452013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7746
be4e325d
MH
7747 * progmodes/octave.el (inferior-octave-startup-file):
7748 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 7749
056453c6
DG
77502013-09-29 Dmitry Gutov <dgutov@yandex.ru>
7751
be4e325d
MH
7752 * emacs-lisp/package.el (package-desc-from-define):
7753 Accept additional arguments as plist, convert them to an alist and store
7754 them in the `extras' slot.
056453c6
DG
7755 (package-generate-description-file): Convert extras alist back to
7756 plist and append to the `define-package' form arguments.
7757 (package--alist-to-plist): New function.
7758 (package--ac-desc): Add `extras' slot.
7759 (package--add-to-archive-contents): Check if the archive-contents
7760 vector is long enough, and if it is, pass its `extras' slot value
7761 to `package-desc-create'.
7762 (package-buffer-info): Call `lm-homepage', pass the returned value
7763 to `package-desc-from-define'.
7764 (describe-package-1): Render the homepage button (Bug#13291).
7765
be4e325d
MH
7766 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7767 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 7768
832966e5
JD
77692013-09-29 Jan Djärv <jan.h.d@swipnet.se>
7770
7771 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
7772 and default-process-coding-system to utf-8-unix (Bug#15402).
7773
6cfe977d
XF
77742013-09-29 Xue Fuqiao <xfq.free@gmail.com>
7775
7776 * subr.el (looking-back): Do not recommend using looking-back.
7777
38de11bd
AM
77782013-09-28 Alan Mackenzie <acm@muc.de>
7779
7780 Fix indentation/fontification of Java enum with "implements".
7781
7782 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
7783 regexp which matches "implements", etc., in Java.
7784 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
7785 specifier clauses coming after "enum".
7786 * progmodes/cc-fonts.el (c-font-lock-declarations)
7787 (c-font-lock-enum-tail): Check for extra specifier clauses coming
7788 after "enum".
7789
1610938f
JD
77902013-09-28 Jan Djärv <jan.h.d@swipnet.se>
7791
7792 * faces.el (region): Change ns_selection_color to
7793 ns_selection_fg_color, add ns_selection_bg_color.
7794
e090f499
LL
77952013-09-28 Leo Liu <sdl.web@gmail.com>
7796
4d2e94d1
LL
7797 * progmodes/octave.el (inferior-octave-completion-table)
7798 (inferior-octave-completion-at-point): Minor tweaks.
7799
e090f499
LL
7800 * textmodes/ispell.el (ispell-lookup-words): Rename from
7801 lookup-words. (Bug#15460)
7802 (lookup-words): Obsolete.
7803 (ispell-complete-word, ispell-command-loop): All uses changed.
7804
7e138a62
RS
78052013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7806
a12bf61e 7807 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
7e138a62
RS
7808 (octave-mode-menu): Add octave-send-buffer.
7809 (octave-send-buffer): New function.
7810
5af5ed08
RS
78112013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7812
a12bf61e 7813 * progmodes/octave.el (octave-mode-map): Add key binding for
5af5ed08
RS
7814 octave-lookfor.
7815 (octave-mode-menu): Add octave-lookfor.
7816 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
7817 octave-lookfor.
7818 (octave-lookfor): New function.
7819
3b7b2692
SM
78202013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
7821
35e951cd 7822 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
3b7b2692
SM
7823 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
7824 its convention.
7825 (cl--loop-set-iterator-function): New function.
7826 (cl-loop): Adjust accordingly, so as not to use cl-subst.
7827 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
7828 Bind `it' with `let' instead of substituting it with `cl-subst'.
7829 (cl--unused-var-p): New function.
7830 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
7831 Eliminate some unused variable warnings (bug#15326).
7832
529fb53f
TH
78332013-09-27 Tassilo Horn <tsdh@gnu.org>
7834
7835 * doc-view.el (doc-view-scale-reset): Rename from
7836 `doc-view-reset-zoom-level'.
7837 (doc-view-scale-adjust): New command.
7838 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
7839 `doc-view-scale-adjust'.
7840
0550c95a
TH
78412013-09-26 Tassilo Horn <tsdh@gnu.org>
7842
7843 * doc-view.el (doc-view-reset-zoom-level): New command.
7844 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
7845 zoom commands (bug#15466).
7846
6950f152
KH
78472013-09-26 Kenichi Handa <handa@gnu.org>
7848
7849 * international/quail.el (quail-help): Make it not a command.
7850
39587580
LL
78512013-09-26 Leo Liu <sdl.web@gmail.com>
7852
7853 * minibuffer.el (completion-all-sorted-completions): Make args
7854 optional as they are.
7855
00578659
DC
78562013-09-25 Daniel Colascione <dancol@dancol.org>
7857
7858 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
7859 specs are and that they're not evaluated.
7860
0c173878
SS
78612013-09-24 Sam Steingold <sds@gnu.org>
7862
7863 * midnight.el (clean-buffer-list-kill-regexps)
7864 (clean-buffer-list-kill-buffer-names): Update for the new Man
7865 buffer naming which includes the object name.
7866
84998447
SM
78672013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7868
7869 * eshell/esh-cmd.el (eshell--sep-terms): New var.
7870 (eshell-parse-command, eshell-parse-pipeline): Use it since
7871 eshell-separate-commands requires a dynamic scoped var.
7872 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
7873
33215353
LL
78742013-09-23 Leo Liu <sdl.web@gmail.com>
7875
7876 * autoinsert.el (auto-insert-alist): Make the value of
7877 lexical-binding match its file setting.
7878
57b16162
JB
78792013-09-23 Juanma Barranquero <lekktu@gmail.com>
7880
c8af4e67
JB
7881 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
7882
57b16162
JB
7883 * autoarg.el (autoarg-kp-digit-argument):
7884 * electric.el (Electric-command-loop):
7885 * kmacro.el (kmacro-step-edit-insert):
7886 Do not set universal-argument-num-events.
7887
7186ba60
LL
78882013-09-22 Leo Liu <sdl.web@gmail.com>
7889
7890 * files.el (interpreter-mode-alist): Add octave.
7891
ece15004
AM
78922013-09-21 Alan Mackenzie <acm@muc.de>
7893
7894 C++: fontify identifier in declaration following "public:" correctly.
7895 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
7896 to match "public", etc.
7897 (c-decl-prefix-re): Add ":" into the C++ value.
7898 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
7899 bit. Add a check for a ":" preceded by "public", etc.
7900
75d83e22
EZ
79012013-09-21 Eli Zaretskii <eliz@gnu.org>
7902
7903 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
7904 recognized by GDB 7.5 and later.
7905
d052d3bd
XF
79062013-09-21 Xue Fuqiao <xfq.free@gmail.com>
7907
7908 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
7909
31dca772
R
79102013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7911
7912 * subr.el (internal--call-interactively): New const.
7913 (called-interactively-p): Use it (bug#3984).
7914
98ccf24e
XF
79152013-09-20 Xue Fuqiao <xfq.free@gmail.com>
7916
7917 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
7918 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
7919 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 7920
c39cc7d1
SM
79212013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7922
7923 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
7924 (eshell-ls-orig-insert-directory): Remove.
7925 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
7926 (eshell-ls-use-in-dired): Use advice-add/remove.
7927 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
7928 Add `orig-fun' arg for use in :around advice.
7929 Make it check (redundantly) eshell-ls-use-in-dired.
7930
9a0289a2
GM
79312013-09-19 Glenn Morris <rgm@gnu.org>
7932
a2c501b8
GM
7933 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
7934
c440407a
GM
7935 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
7936
9a0289a2
GM
7937 * emacs-lisp/eieio.el (class-parent): Undo previous change.
7938
85e05915
MA
79392013-09-19 Michael Albinus <michael.albinus@gmx.de>
7940
7941 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
7942 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
7943 (tramp-get-remote-python): New defuns.
7944 (tramp-get-remote-uid-with-perl)
7945 (tramp-get-remote-gid-with-perl): New defuns. Perl code
7946 contributed by yary <not.com@gmail.com> (tiny change).
7947 (tramp-get-remote-uid-with-python)
7948 (tramp-get-remote-gid-with-python): New defuns. Python code
7949 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
7950 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
7951
ce503312
GM
79522013-09-19 Glenn Morris <rgm@gnu.org>
7953
f7544773
GM
7954 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
7955
72fd2877
GM
7956 * eshell/em-unix.el (eshell-remove-entries):
7957 Rename argument to avoid name-clash with global `top-level'.
7958
336b5a56
GM
7959 * eshell/esh-proc.el (eshell-kill-process-function):
7960 Remove eshell-reset-after-proc from eshell-kill-hook if present.
7961 (eshell-reset-after-proc): Remove unused arg `proc'.
7962
57a3a53d
GM
7963 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
7964 (directory-files-and-attributes): Mark unused arg.
7965
3261d4af
GM
7966 * eshell/em-unix.el (eshell-remove-entries):
7967 Remove unused arg `path'. Update callers.
7968
8e51b5d0
GM
7969 * eshell/em-hist.el (eshell-hist-parse-arguments):
7970 Remove unused arg `silent'. Update callers.
7971
ce503312
GM
7972 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
7973 Fix (f)boundp mix-up.
7974
7975 * eshell/em-smart.el (eshell-smart-scroll-window)
7976 (eshell-disable-after-change):
336b5a56 7977 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 7978
ee3ce8a7
AM
79792013-09-18 Alan Mackenzie <acm@muc.de>
7980
7981 Fix fontification of type when followed by "const".
7982 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
7983 "known" types from fontification.
7984
ec9177ba
GM
79852013-09-18 Glenn Morris <rgm@gnu.org>
7986
7bb3e768
GM
7987 * emacs-lisp/chart.el (x-display-color-cells): Declare.
7988 (chart-face-list): Drop Emacsen without display-color-p.
7989
5148da15
GM
7990 * net/eww.el (libxml-parse-html-region): Declare.
7991 (eww-display-html): Explicit error if no libxml2 support.
7992
2f68e157
GM
7993 * doc-view.el (doc-view-mode): Silence --without-x compilation.
7994
9019d095
GM
7995 * image.el (image-type-from-buffer, image-multi-frame-p):
7996 Remove --without-x warning/error.
67645389 7997
5f30349b 7998 * mouse.el (mouse-yank-primary):
45069b2e 7999 * term.el (term-mouse-paste):
5f30349b
GM
8000 Reorder to silence --without-x compilation.
8001
cd8edbbe
GM
8002 * mpc.el (doc-view-mode): Silence --without-x compilation.
8003
8a78544e
GM
8004 * mail/rmailmm.el (rmail-mime-set-bulk-data):
8005 Silence --without-x compilation.
8006
12679bfd
GM
8007 * progmodes/gud.el (gud-find-file, gud-mode):
8008 Silence --without-x compilation.
8009 (tooltip-mode): Declare.
30810a05 8010
f0047cb9
GM
8011 * wdired.el (dired-backup-overwrite): Remove declaration.
8012 (wdired-mode-map): Add doc string.
8013
e740f9d2
GM
8014 * custom.el (x-get-resource): Declare.
8015
92d77c89
GM
8016 * eshell/em-glob.el (ange-cache):
8017 * eshell/em-unix.el (ange-cache): Declare.
8018
76e69577
GM
8019 * faces.el (x-display-list, x-open-connection, x-get-resource):
8020 Declare.
7e58af4b
GM
8021
8022 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
8023 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
8024 Declare.
76e69577 8025
4bd4c0af 8026 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 8027
ffb82dbd
GM
8028 * net/gnutls.el (gnutls-log-level): Declare.
8029
986ed135
GM
8030 * net/shr.el (image-size, image-animate): Declare.
8031
e740f9d2
GM
8032 * simple.el (font-info): Declare.
8033
d2f3e9f8
GM
8034 * subr.el (x-popup-dialog): Declare.
8035
047a1a4c
GM
8036 * term/common-win.el (x-select-enable-primary)
8037 (x-last-selected-text-primary, x-last-selected-text-clipboard):
8038 Declare.
8039
f4a1d572
GM
8040 * term/ns-win.el (x-handle-args): Declare.
8041
e843de77
GM
8042 * term/x-win.el (x-select-enable-clipboard): Declare.
8043
5fa89513
GM
8044 * term/w32-win.el (create-default-fontset): Declare.
8045
38702b5b
GM
8046 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
8047 Declare.
8048
e740f9d2
GM
8049 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
8050 (fit-frame-to-buffer): Explicit error if --without-x.
8051 (mouse-autoselect-window-select): Silence compiler.
8052
49a053fc
GM
8053 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
8054
8055 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
8056 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
8057 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 8058 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
8059 Remove unused local variables.
8060
8061 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
8062
ec9177ba
GM
8063 * textmodes/two-column.el: Make 2C-split work for --without-x.
8064 (scroll-bar-columns): Autoload.
8065 (top-level): Require fringe when compiling.
8066
9f25cb77
LL
80672013-09-18 Leo Liu <sdl.web@gmail.com>
8068
8069 * subr.el (add-hook): Robustify to handle closure as well.
8070
2b42da98
GM
80712013-09-17 Glenn Morris <rgm@gnu.org>
8072
8073 * simple.el (messages-buffer-mode-map): Unbind "g".
8074
e8b66a6a
SM
80752013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8076
9c0ad4f7
SM
8077 * help-mode.el (help-mode-finish): Use derived-mode-p.
8078 Remove obsolete highlighting.
8079
7a806dfb
SM
8080 * play/life.el (life-mode): Use define-derived-mode. Derive from
8081 special-mode.
8082 (life): Let-bind inhibit-read-only.
8083 (life-setup): Avoid `setq'. Use `life-mode'.
8084
96dbf5a8
SM
8085 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
8086 which should not be needed any more.
8087 (package-menu-refresh, package-menu-describe-package): Use user-error.
8088
e8b66a6a
SM
8089 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
8090 (eshell-post-rewrite-command-hook): Make obsolete.
8091 (eshell-parse-command): Simplify.
8092 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
8093 (eshell--cmd): Declare.
8094 (eshell-parse-pipeline): Remove unused var `final-p'.
8095 Pass a dynvar to eshell-post-rewrite-command-hook.
8096 Implement the new eshell-post-rewrite-command-function.
8097 (eshell-invoke-directly): Remove unused arg `input'.
8098 * eshell/esh-io.el (eshell-io-initialize):
8099 Use eshell-post-rewrite-command-function (bug#15399).
8100 (eshell--apply-redirections): Rename from eshell-apply-redirections;
8101 adjust to new calling convention.
8102 (eshell-create-handles): Rename args to avoid clashing with dynvar
8103 `standard-output'.
8104
90582f05
GM
81052013-09-17 Glenn Morris <rgm@gnu.org>
8106
8107 * simple.el (messages-buffer-mode): New major mode.
8108 (messages-buffer): New function.
8109 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
8110 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 8111 (ert-run-test): Use `messages-buffer' function.
90582f05 8112 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
8113 * help.el (view-echo-area-messages): Use `messages-buffer' function.
8114 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 8115
39eb0cb5 81162013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
8117
8118 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
8119
1d42e5b6 8120 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
1f1e06e2 8121
70568a90
SM
81222013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
8123
504a0381
SM
8124 * icomplete.el (icomplete-in-buffer): New var.
8125 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
8126 vars and replace them with functions.
8127 (icomplete-minibuffer-setup): Adjust accordingly.
8128 (icomplete--completion-table, icomplete--completion-predicate)
8129 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
8130 New functions.
8131 (icomplete-forward-completions, icomplete-backward-completions)
8132 (icomplete-simple-completing-p, icomplete-exhibit)
8133 (icomplete-completions): Use them.
8134 (icomplete--in-region-buffer): New var.
8135 (icomplete--in-region-setup): New function.
8136 (icomplete-mode): Use it.
8137
70568a90
SM
8138 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
8139 (bug#15379).
8140 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
8141 return args and options.
8142 (eshell-eval-using-options): Use the new return value of
8143 eshell--do-opts to set the options's vars in their scope.
8144 (eshell--set-option): Rename from eshell-set-option.
8145 Add arg `opt-vals'.
8146 (eshell--process-option): Rename from eshell-process-option.
8147 Add arg `opt-vals'.
8148 (eshell--process-args): Use an `opt-vals' alist to store the options's
8149 values during their processing and return them additionally to the
8150 remaining args.
8151
578c21bc
DG
81522013-09-15 Dmitry Gutov <dgutov@yandex.ru>
8153
8154 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
8155 continuation character an operator, as far as indentation is
8156 concerned (Bug#15369).
8157
c089653d
MR
81582013-09-15 Martin Rudalics <rudalics@gmx.at>
8159
8160 * window.el (window--state-put-2): Don't process buffer state
8161 when buffer doesn't exist any more (Bug#15382).
8162
1e53bb4b
GM
81632013-09-15 Glenn Morris <rgm@gnu.org>
8164
30753242
GM
8165 * eshell/em-unix.el (eshell/rm):
8166 Make -f ignore missing files. (Bug#15373)
8167
1e53bb4b
GM
8168 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
8169 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
8170 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
8171
0d8863b3
GM
81722013-09-14 Glenn Morris <rgm@gnu.org>
8173
8174 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
8175
d3fc6549
GM
81762013-09-13 Glenn Morris <rgm@gnu.org>
8177
8178 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
8179 (dired-guess-default): Make `file' available in the env. (Bug#15363)
8180
fcd42c11
DA
81812013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
8182
8183 * frame.el (x-focus-frame): Mark as declared in frame.c.
8184
7830899f
SM
81852013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
8186
8187 * ls-lisp.el: Use advice-add.
8188 (original-insert-directory): Remove.
8189 (ls-lisp--insert-directory): Rename from insert-directory; add
8190 `orig-fun' argument.
8191 (insert-directory): Advise.
8192
84387cd2
EZ
81932013-09-13 Eli Zaretskii <eliz@gnu.org>
8194
8195 * term.el (term-emulate-terminal): Decode the command string
8196 before passing it to term-command-hook. (Bug#15337)
8197
35ffc6ba
GM
81982013-09-13 Glenn Morris <rgm@gnu.org>
8199
5c3f9bcc
GM
8200 * eshell/esh-util.el (ange-cache): Move declaration earlier.
8201
2ada368a
GM
8202 * eshell/esh-ext.el (eshell-search-path): Declare.
8203
fcef2e13
GM
8204 * eshell/em-prompt.el (eshell/pwd): Autoload it.
8205 Otherwise an error occurs if eshell-dirs module not loaded.
8206
35ffc6ba
GM
8207 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
8208
35c3d36e
MA
82092013-09-13 Michael Albinus <michael.albinus@gmx.de>
8210
8211 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
8212 `tramp-check-proper-host'. Check for a valid method name.
8213
8214 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8215 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8216 * net/tramp-sh.el (tramp-maybe-open-connection):
8217 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
8218
8219 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
8220 also for hash values.
8221
ae5e4c48
SM
82222013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8223
379add74
SM
8224 * term/ns-win.el (parameters): Don't declare as dynamic.
8225 (before-make-frame-hook): Don't add ineffective function.
8226
ae5e4c48
SM
8227 * eshell/*.el: Use lexical-binding (bug#15231).
8228
b5623270
KH
82292013-09-12 Kenichi Handa <handa@gnu.org>
8230
ae5e4c48 8231 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 8232
30213927
GM
82332013-09-12 Glenn Morris <rgm@gnu.org>
8234
be94d713 8235 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 8236 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 8237
44915370
GM
8238 * subr.el (do-after-load-evaluation): Also give compiler warnings
8239 when obsolete files are used (except by obsolete files).
8240
a6ae021f
GM
8241 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
8242 in the status output, assume `filename' is the first. (Bug#15322)
8243
40e64f0c
GM
8244 * vc/vc.el (vc-deduce-fileset): Doc fix.
8245
16d9f896
GM
8246 * calc/calc-help.el (Info-goto-node):
8247 * progmodes/cperl-mode.el (Info-find-node):
8248 * vc/ediff.el (Info-goto-node): Update declarations.
8249
dea01c6e
GM
8250 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
8251
759880bf 8252 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
8253 (vc-bzr-pull): Require vc-dispatcher.
8254 * vc/vc-git.el (vc-compilation-mode): Declare.
8255 (vc-git-pull): Require vc-dispatcher.
8256
08d66420
GM
8257 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
8258
30b626e9
GM
8259 * progmodes/octave.el (help-button-action): Declare.
8260
8c05cb10
GM
8261 * shell.el (shell-directory-tracker): Output error as a message
8262 rather than just returning it as a string.
8263 (shell-process-pushd): Remove useless use of message.
8264
30213927
GM
8265 * dframe.el (dframe-timer-fn):
8266 * files.el (dir-locals-read-from-file):
8267 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
8268 (mpc-format):
8269 * reveal.el (reveal-post-command):
8270 * saveplace.el (load-save-place-alist-from-file):
8271 * shell.el (shell-resync-dirs):
8272 * w32-common-fns.el (x-get-selection-value):
8273 * emacs-lisp/copyright.el (copyright-find-copyright):
8274 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
8275 * emulation/tpu-edt.el (tpu-copy-keyfile):
8276 * play/bubbles.el (bubbles--mark-neighbourhood):
8277 * progmodes/executable.el
8278 (executable-make-buffer-file-executable-if-script-p):
8279 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
8280
d3b049e6
SM
82812013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8282
170266d0
SM
8283 Cleanup Eshell to rely less on dynamic scoping.
8284 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
8285 last-value, and ext-command here. Bind `args' closer to `body'.
8286 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
8287 (eshell--args): Declare new dynamic var.
8288 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
8289 last-value, and ext-command. Pass `args' to `body'.
8290 (eshell-process-args): Bind eshell--args.
8291 (eshell-set-option): Use eshell--args.
8292 * eshell/eshell.el (eshell): Use derived-mode-p.
8293 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
8294 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
8295 (eshell-glob-function): Declare.
8296 * eshell/esh-util.el: Require cl-lib.
8297 (eshell-read-hosts-file): Avoid add-to-list.
8298 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
8299 `err'.
8300 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
8301 Declare.
8302 (eshell/diff): Remove unused var `err'.
8303 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
8304 `killflag'.
8305 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
8306 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
8307 first use.
8308 * eshell/em-glob.el (eshell-glob-matches, message-shown):
8309 Move declaration before first use.
8310 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
8311 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
8312 rely on cl-return.
8313
56834f3b
GM
83142013-09-12 Glenn Morris <rgm@gnu.org>
8315
8316 * term/ns-win.el (global-map): Remove binding for ispell-next,
8317 deleted 1999-05-29. (Bug#15357)
8318
5c91a2b8
GM
83192013-09-11 Glenn Morris <rgm@gnu.org>
8320
da712f22
GM
8321 * echistory.el (electric-command-history): Remove call to deleted func.
8322
512e4cdc
GM
8323 * play/landmark.el (landmark-mode): Fix typos.
8324
d3506ca5
GM
8325 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
8326 Check cvs-sort-ignore-file is bound.
8327
5c91a2b8
GM
8328 * savehist.el: No need for cl when compiling on Emacs.
8329
feeff482
SM
83302013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8331
656bd483
SM
8332 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
8333 (bug#15338).
d3b049e6
SM
8334 (eshell-self-insert-command, eshell-send-invisible):
8335 Remove unused argument.
656bd483
SM
8336 (eshell-handle-control-codes): Remove unused var `orig'.
8337 Avoid delete-backward-char.
8338
feeff482
SM
8339 * files.el (set-auto-mode): Simplify a bit further.
8340
2a08047a
GM
83412013-09-11 Glenn Morris <rgm@gnu.org>
8342
8343 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
8344 (set-auto-mode): Don't regexp-quote elements.
8345 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
8346 * progmodes/cc-mode.el (interpreter-mode-alist):
8347 * progmodes/ruby-mode.el (interpreter-mode-alist):
8348 Revert previous change.
8349
34675540
SM
83502013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8351
1b3b87df
SM
8352 * play/snake.el (snake-mode):
8353 * play/mpuz.el (mpuz-mode):
8354 * play/landmark.el (lm-mode):
8355 * play/blackbox.el (blackbox-mode):
8356 * play/5x5.el (5x5-mode):
8357 * obsolete/options.el (Edit-options-mode):
8358 * net/quickurl.el (quickurl-list-mode):
8359 * net/newst-treeview.el (newsticker-treeview-mode):
8360 * mail/rmailsum.el (rmail-summary-mode):
8361 * mail/mspools.el (mspools-mode):
8362 * locate.el (locate-mode):
8363 * ibuffer.el (ibuffer-mode):
8364 * emulation/ws-mode.el (wordstar-mode):
8365 * emacs-lisp/debug.el (debugger-mode):
8366 * array.el (array-mode):
8367 * net/eudc.el (eudc-mode): Use define-derived-mode.
8368 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
8369 Move initialization into declaration.
8370 (mairix-searches-mode): Use define-derived-mode.
8371 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
8372 (eudc-edit-hotlist): Use dolist.
8373 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
8374 (Man-mode): Use define-derived-mode.
8375 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
8376 (Info-edit-mode): Use define-derived-mode.
8377 (Info-cease-edit): Use Info-mode.
8378 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
8379 into declaration.
8380 (eshell-mode): Use define-derived-mode.
8381 * chistory.el (command-history-mode-map): Rename from
8382 command-history-map.
8383 (command-history-mode): Use define-derived-mode.
da712f22 8384 (Command-history-setup): Remove function.
1b3b87df
SM
8385 * calc/calc.el (calc-trail-mode-map): New var.
8386 (calc-trail-mode): Use define-derived-mode.
8387 (calc-trail-buffer): Set calc-main-buffer manually.
8388 * bookmark.el (bookmark-insert-annotation): New function.
8389 (bookmark-edit-annotation): Use it.
8390 (bookmark-edit-annotation-mode): Make it a proper major mode.
8391 (bookmark-send-edited-annotation): Use derived-mode-p.
8392 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
8393 closer to its ideal place. Use \' to match EOS.
8394
34675540
SM
8395 * profiler.el (profiler-calltree-find): Use function-equal.
8396
6a5c15d9
GM
83972013-09-10 Glenn Morris <rgm@gnu.org>
8398
1af4c220
GM
8399 * files.el (interpreter-mode-alist): Convert to regexps.
8400 (set-auto-mode): Adapt for this. (Bug#15306)
8401 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
8402 Comment out unused variable.
8403 * progmodes/cc-mode.el (interpreter-mode-alist):
8404 * progmodes/python.el (interpreter-mode-alist):
8405 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
8406 * progmodes/sh-script.el (sh-set-shell):
8407 No longer use interpreter-mode-alist to get list of shells.
8408
6a5c15d9
GM
8409 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
8410
8c27f5ff
SM
84112013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
8412
02ef6c1a 8413 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 8414 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
8415 Bind switch-frame explicitly. Replace universal-argument-minus with
8416 a conditional binding.
8417 (universal-argument-num-events, saved-overriding-map): Remove.
8418 (restore-overriding-map): Remove.
8419 (universal-argument--mode): Rename from save&set-overriding-map,
8420 and rewrite.
8421 (universal-argument, universal-argument-more, negative-argument)
8422 (digit-argument): Adjust accordingly.
8423 (universal-argument-minus): Remove.
8424 (universal-argument-other-key): Remove.
8425
8c27f5ff
SM
8426 * subr.el (with-demoted-errors): Add `format' argument.
8427
6480194c
MA
84282013-09-10 Michael Albinus <michael.albinus@gmx.de>
8429
8430 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
8431 `tramp-cleanup-connection'.
8432
8433 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
8434 parameters KEEP-DEBUG and KEEP-PASSWORD.
8435
8436 * net/tramp.el (tramp-file-name-handler):
8437 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8438 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
8439 (tramp-maybe-open-connection):
8c27f5ff
SM
8440 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
8441 Use `tramp-cleanup-connection'.
6480194c 8442
8c27f5ff
SM
8443 * net/tramp-sh.el (tramp-maybe-open-connection):
8444 Catch 'uname-changed inside the progress reporter.
6480194c 8445
e5e916d8
GM
84462013-09-10 Glenn Morris <rgm@gnu.org>
8447
9a2c9b47
GM
8448 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
8449
e5e916d8
GM
8450 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
8451 returns "alternate access method" in mode (eg "-rw-r--r--.").
8452
144e38fe
GM
84532013-09-08 Glenn Morris <rgm@gnu.org>
8454
8455 * saveplace.el (load-save-place-alist-from-file):
8456 Demote errors. (Bug#15305)
8457
af9ff9e8
MA
84582013-09-08 Michael Albinus <michael.albinus@gmx.de>
8459
8460 Improve compatibility with older Emacsen, and XEmacs.
8461
8462 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
8463 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
8464 (with-tramp-progress-reporter): Do not let-bind `result'.
8465 This yields to scoping errors in XEmacs.
af9ff9e8
MA
8466 (tramp-handle-make-auto-save-file-name): New function, moved from
8467 tramp-sh.el.
8468
8469 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
8470 for `make-auto-save-file-name'.
8c27f5ff
SM
8471 (tramp-adb--gnu-switches-to-ash):
8472 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
8473
8474 * net/tramp-cache.el (tramp-cache-print): Call
8475 `substring-no-properties' only if it is bound. It isn't for XEmacs.
8476
8477 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
8478 bound. It isn't for XEmacs.
8479
8c27f5ff
SM
8480 * net/tramp-compat.el (tramp-compat-copy-file):
8481 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
8482 (tramp-compat-replace-regexp-in-string): New defun.
8483
8484 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
8485 for `make-auto-save-file-name'.
8486 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
8487 `copy-file'.
8488 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
8489 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
8490 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
8491
8c27f5ff
SM
8492 * net/tramp-gw.el (tramp-gw-open-network-stream):
8493 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 8494
8c27f5ff
SM
8495 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8496 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
8497 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
8498 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
8499 (tramp-sh-file-inotifywait-process-filter):
8500 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
8501 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
8502
8503 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
8504 for `make-auto-save-file-name'.
8c27f5ff
SM
8505 (tramp-smb-handle-copy-directory):
8506 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
8507 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
8508 (tramp-smb-handle-copy-file): Improve error message.
8509 (tramp-smb-handle-rename-file): Rename directly only in case
8510 `newname' does not exist yet. This is a restriction of smbclient.
8511 (tramp-smb-maybe-open-connection): Rerun the function only when
8512 `auth-sources' is non-nil.
8513
0ca754d0
KH
85142013-09-08 Kenichi Handa <handa@gnu.org>
8515
e0eb0550 8516 * international/characters.el: Set category "^" (Combining) for
0ca754d0
KH
8517 more characters.
8518
e8dd0787
AM
85192013-09-07 Alan Mackenzie <acm@muc.de>
8520
8521 Correctly fontify Java class constructors.
8522 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
8523 in Java Mode.
8524 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
8525 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
8526 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
8527 "typeless" declaration there.
8528
f2f248e7
RW
85292013-09-07 Roland Winkler <winkler@gnu.org>
8530
8531 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
8532 field subtitle for entry type book.
8533
67982e2b
SM
85342013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8535
8536 * minibuffer.el: Make minibuffer-complete call completion-in-region
8537 rather than other way around.
8538 (completion--some, completion-pcm--find-all-completions):
8539 Don't delay signals when debugging.
8540 (minibuffer-completion-contents): Beware fields within the
8541 minibuffer contents.
8542 (completion-all-sorted-completions): Use defvar-local.
8543 (completion--do-completion, completion--cache-all-sorted-completions)
8544 (completion-all-sorted-completions, minibuffer-force-complete):
8545 Add args `beg' and `end'.
8546 (completion--in-region-1): New fun, extracted from minibuffer-complete.
8547 (minibuffer-complete): Use completion-in-region.
8548 (completion-complete-and-exit): New fun, extracted from
8549 minibuffer-complete-and-exit.
8550 (minibuffer-complete-and-exit): Use it.
8551 (completion--complete-and-exit): Rename from
8552 minibuffer--complete-and-exit.
8553 (completion-in-region--single-word): New function, extracted from
8554 minibuffer-complete-word.
8555 (minibuffer-complete-word): Use it.
8556 (display-completion-list): Make `common-substring' argument obsolete.
8557 (completion--in-region): Call completion--in-region-1 instead of
8558 minibuffer-complete.
8559 (completion-help-at-point): Pass boundaries to
8560 minibuffer-completion-help as args rather than via an overlay.
8561 (completion-pcm--string->pattern): Use `any-delim'.
8562 (completion-pcm--optimize-pattern): New function.
8563 (completion-pcm--pattern->regex): Handle `any-delim'.
8564 * icomplete.el (icomplete-forward-completions)
8565 (icomplete-backward-completions, icomplete-completions):
8566 Adjust calls to completion-all-sorted-completions and
8567 completion--cache-all-sorted-completions.
8568 (icomplete-with-completion-tables): Default to t.
8569 * emacs-lisp/crm.el (crm--current-element): Rename from
8570 crm--select-current-element. Don't put an overlay but return the
8571 boundaries instead.
8572 (crm--completion-command): Take two new args to bind to the boundaries.
8573 (crm-completion-help): Adjust accordingly.
8574 (crm-complete): Use completion-in-region.
8575 (crm-complete-word): Use completion-in-region--single-word.
8576 (crm-complete-and-exit): Use completion-complete-and-exit.
8577
e17d94a5
SM
85782013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8579
8580 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
8581 than dynamically.
8582
96727100
JL
85832013-09-06 Juri Linkov <juri@jurta.org>
8584
8585 * info.el (Info-display-images-node): When image file doesn't exist
8586 display text version of the image if it's provided in the Info file.
8587 Otherwise, display the location of missing image from SRC attribute.
8588 Add help-echo text property from ALT attribute. (Bug#15279)
8589
86cf7329
SM
85902013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8591
8592 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
8593 (edit-abbrevs-mode): Use define-derived-mode.
8594
8595 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
8596 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
8597 that it's defined.
8598 (epa-key-list-mode, epa-key-mode, epa-info-mode):
8599 Use define-derived-mode.
8600
8601 * epg.el (epg-start-encrypt): Minor CSE simplification.
8602
816244a2
WX
86032013-09-06 William Xu <william.xwl@gmail.com>
8604
8605 * arc-mode.el: Add support for 7za (bug#15264).
8606 (archive-7z-program): New var.
8607 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
8608 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
8609 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
8610
1486fa31
MA
86112013-09-06 Michael Albinus <michael.albinus@gmx.de>
8612
8613 Remove URL syntax.
8614
8615 * net/tramp.el (tramp-syntax, tramp-prefix-format)
8616 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
8617 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
8618 (tramp-postfix-host-format, tramp-file-name-regexp)
8619 (tramp-completion-file-name-regexp)
8620 (tramp-completion-dissect-file-name)
8621 (tramp-handle-substitute-in-file-name): Remove 'url case.
8622 (tramp-file-name-regexp-url)
8623 (tramp-completion-file-name-regexp-url): Remove constants.
8624
39785324
GM
86252013-09-06 Glenn Morris <rgm@gnu.org>
8626
8627 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
8628
1f896cb7
DG
86292013-09-05 Dmitry Gutov <dgutov@yandex.ru>
8630
8631 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
8632 keywords" below "here-doc beginnings" (Bug#15270).
8633
c0458e0b
SM
86342013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
8635
8636 * subr.el (pop): Use `car-safe'.
8637 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
8638 to detect unused `pop' return value.
8639
8640 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
8641 var `block-regexp'.
8642 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
8643 (python-fill-string): Remove unused var `marker'.
8644 (python-skeleton-add-menu-items): Remove unused var `items'.
8645
8646 * international/mule-cmds.el: Require CL.
8647 (find-coding-systems-for-charsets): Avoid add-to-list.
8648 (sanitize-coding-system-list): New function, extracted from
8649 select-safe-coding-system-interactively.
8650 (select-safe-coding-system-interactively): Use it.
8651 (read-input-method-name): Accept symbols for `default'.
8652
8653 * emacs-lisp/advice.el (defadvice): Add indent rule.
8654
6c42fc3e
DH
86552013-09-05 Daniel Hackney <dan@haxney.org>
8656
8657 * dired-x.el:
8658 * net/ange-ftp.el:
8659 * net/browse-url.el:
8660 * net/dbus.el:
8661 * net/eudc.el:
8662 * net/eudcb-ldap.el:
8663 * net/eww.el:
8664 * net/imap.el:
8665 * printing.el:
8666 * vc/ediff-diff.el:
8667 * vc/ediff-init.el:
8668 * vc/ediff-merg.el:
8669 * vc/ediff-mult.el:
8670 * vc/ediff-util.el:
8671 * vc/ediff-wind.el:
8672 * vc/ediff.el:
8673 * vc/emerge.el:
8674 * vc/pcvs.el:
8675 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
8676 byte compiler. Remove some unused let-bound variables.
8677
4c528aab
SM
86782013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
8679
8680 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
8681 a "ref-cell", since it gets better optimized (bug#14883).
8682
bd15c390
GM
86832013-09-05 Glenn Morris <rgm@gnu.org>
8684
8685 * progmodes/cc-awk.el (c-forward-sws): Declare.
8686
1c3ac2e5
GM
86872013-09-04 Glenn Morris <rgm@gnu.org>
8688
8689 * generic-x.el [rul-generic-mode]: Require cc-mode.
8690 (c++-mode-syntax-table): Declare.
8691 (rul-generic-mode-syntax-table): Init in the defvar.
8692
52b1cc79
SM
86932013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
8694
c828af56
SM
8695 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
8696 (vc-do-command, vc-set-async-update):
8697 * vc/vc-mtn.el (vc-mtn-dir-status):
8698 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
8699 (vc-hg-pull, vc-hg-merge-branch):
8700 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
8701 (vc-git-merge-branch):
8702 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
8703 (vc-cvs-dir-status-files):
8704 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
8705 (vc-bzr-dir-status-files):
8706 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
8707 * vc/vc-annotate.el: Use lexical-binding.
8708 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
8709 (vc-sentinel-movepoint): Declare.
8710 (vc-annotate): Don't use `goto-line'.
8711 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
8712 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
8713 (vc-sentinel-movepoint): Declare.
8714 * vc/vc-svn.el: Use lexical-binding.
8715 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
8716 * vc/vc-sccs.el:
8717 * vc/vc-rcs.el: Use lexical-binding.
8718
abae272c
SM
8719 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
8720 `deleted'. Don't drop errors silently.
8721
52b1cc79
SM
8722 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
8723
63191d9f
XF
87242013-09-04 Xue Fuqiao <xfq.free@gmail.com>
8725
8726 * vc/vc.el (vc-ignore): Rewrite.
8727 (vc-default-ignore): New function.
8728 (vc-default-ignore-completion-table): Use find-ignore-file.
8729
8730 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
8731 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
8732 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
8733 Remove. Most code moved to vc.el.
8734
9d3f707c
SM
87352013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
8736
abae272c 8737 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
8738 * net/tramp-smb.el (tramp-smb-get-file-entries):
8739 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
8740 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
8741
fde38d49
SM
8742 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
8743 Update call to it.
8744 (eww-change-select): Remove unused var `properties'.
8745 (eww-make-unique-file-name): Remove unused var `base'.
8746
8747 * finder.el (finder-compile-keywords): Don't mess with windows.
8748
84032db7
SM
8749 * calculator.el (calculator-funcall): Fix typo in last change.
8750
724f5e41
SM
8751 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
8752
14b511d4
SM
8753 * emacs-lisp/package.el (package-activate-1): Don't let a missing
8754 <pkg>-autoloads.el file stop us.
8755
9d3f707c 8756 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 8757 warnings, and factor out common code.
9d3f707c 8758
88527bc0
DG
87592013-09-03 Dmitry Gutov <dgutov@yandex.ru>
8760
8761 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
8762 two-character operators and whether the character preceding them
8763 changes their meaning (Bug#15208).
8764
96edb677
FEG
87652013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
8766
8767 Format code sent to Python shell for robustness.
9d3f707c
SM
8768 * progmodes/python.el (python-shell-buffer-substring):
8769 New function.
96edb677
FEG
8770 (python-shell-send-region, python-shell-send-buffer): Use it.
8771
95beaef3
MA
87722013-09-02 Michael Albinus <michael.albinus@gmx.de>
8773
8774 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
8775 * net/tramp.el (tramp-user-error): ... here.
8776 (tramp-find-method, tramp-check-proper-host)
8777 (tramp-dissect-file-name, tramp-debug-message)
8778 (tramp-handle-shell-command):
8779 * net/tramp-adb.el (tramp-adb-handle-shell-command):
8780 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
8781
8782 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
8783
f167c27b
MR
87842013-09-02 Martin Rudalics <rudalics@gmx.at>
8785
8786 * avoid.el (mouse-avoidance-point-position)
8787 (mouse-avoidance-too-close-p): Handle case where posn-at-point
8788 returns nil.
8789
cd16c5f1
FEG
87902013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
8791
8792 * progmodes/python.el (python-shell-completion-get-completions):
8793 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 8794 (python-nav-if-name-main): New command.
cd16c5f1 8795
e73c3a0d
GM
87962013-09-01 Glenn Morris <rgm@gnu.org>
8797
f8ccce03
GM
8798 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
8799 Avoid leading space in $wins. Otherwise the sed command used by
8800 eg compile-main ends up containing "/*.el". (Bug#15170)
8801
e73c3a0d
GM
8802 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
8803
415f808e
GM
88042013-08-30 Glenn Morris <rgm@gnu.org>
8805
8806 * emacs-lisp/bytecomp.el (byte-recompile-directory):
8807 Fix is-this-a-directory logic. (Bug#15220)
8808
f069bba8
SM
88092013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
8810
112798c1
SM
8811 * textmodes/css-mode.el: Use SMIE.
8812 (css-smie-grammar): New var.
8813 (css-smie--forward-token, css-smie--backward-token)
8814 (css-smie-rules): New functions.
8815 (css-mode): Use them.
8816 (css-navigation-syntax-table): Remove var.
8817 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
8818 (css-indent-calculate, css-indent-line): Remove functions.
8819
8820 Misc changes to reduce use of `(lambda...); and other cleanups.
8821 * cus-edit.el: Use lexical-binding.
8822 (customize-push-and-save, customize-apropos)
8823 (custom-buffer-create-internal): Use closures.
8824 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
8825 * progmodes/ada-xref.el: Use setq.
8826 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
8827 * dframe.el: Use lexical-binding.
8828 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
8829 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
8830 * descr-text.el: Use lexical-binding.
8831 (describe-text-widget, describe-text-sexp, describe-property-list):
8832 Use closures.
8833 * comint.el (comint-history-isearch-push-state): Use a closure.
8834 * calculator.el: Use lexical-binding.
8835 (calculator-number-to-string): Make it work with lexical-binding.
8836 (calculator-funcall): Same and use cl-letf.
8837
2da4c3ab
SM
8838 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
8839 (lisp--company-doc-string, lisp--company-location): New functions.
8840 (lisp-completion-at-point): Use them to improve Company support.
8841
f069bba8
SM
8842 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
8843 params of lambda expressions.
8844 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
8845 (ruby-smie--opening-pipe-p): New function.
8846 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
8847 symbols and matched |...| for formal params.
8848 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
8849 from being treated as hanging. Handle "rescue".
8850
6758b6a8
GM
88512013-08-29 Glenn Morris <rgm@gnu.org>
8852
8853 * progmodes/cc-engine.el (c-pull-open-brace):
8854 Move definition before use.
8855
e8dfd197
SM
88562013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
8857
8858 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
8859 are immutable. Don't use `unsafe' any more.
8860 (cl--defsubst-expand): Don't substitute at the same time as keeping
8861 a residual unused let-binding. Don't use `unsafe' any more.
8862
cc585c96
GM
88632013-08-29 Glenn Morris <rgm@gnu.org>
8864
ba579ea6
GM
8865 * calendar/cal-china.el (calendar-chinese-year-cache):
8866 Recenter on 2015.
8867
8201a87e
GM
8868 * nxml/nxml-util.el (nxml-debug-clear-inside):
8869 Use cl-loop rather than loop.
8870
6ee877c7
GM
8871 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
8872
cc585c96
GM
8873 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
8874
27be8d39
GM
88752013-08-28 Glenn Morris <rgm@gnu.org>
8876
397440a1
GM
8877 * progmodes/antlr-mode.el: No need to require cc-mode twice.
8878
2bb762d4
GM
8879 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
8880
27be8d39
GM
8881 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
8882
2d69b99e
SM
88832013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8884
f663baa7
SM
8885 * simple.el (repeat-complex-command--called-interactively-skip):
8886 New function.
8887 (repeat-complex-command): Use it (bug#14136).
8888
dd4f8b74
SM
8889 * progmodes/cc-mode.el: Minor cleanup of var declarations.
8890 (c-define-abbrev-table): Add `doc' argument.
8891 (c-mode-abbrev-table, c++-mode-abbrev-table)
8892 (objc-mode-abbrev-table, java-mode-abbrev-table)
8893 (idl-mode-abbrev-table, pike-mode-abbrev-table)
8894 (awk-mode-abbrev-table): Use it.
8895 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
8896 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
8897 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
8898 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
8899 Move initialization into the declaration; and remove any
8900 autoload cookie.
8901
b58969f7
SM
8902 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
8903 and dynamic let binding.
8904
4021d6a6
SM
8905 * vc/smerge-mode.el: Remove redundant :group args.
8906
2d69b99e
SM
8907 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
8908 to load-path.
8909
274919fd
JL
89102013-08-28 Juri Linkov <juri@jurta.org>
8911
8912 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
8913 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
8914 (isearch-other-meta-char): Handle an undefined shifted printing
8915 character by downshifting it. (Bug#15200)
8916
121f8c95
JL
89172013-08-28 Juri Linkov <juri@jurta.org>
8918
8919 * isearch.el (isearch-search): Change regexp error message for
8920 non-regexp searches. (Bug#15166)
8921
50b13cde
PE
89222013-08-28 Paul Eggert <eggert@cs.ucla.edu>
8923
8924 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
8925 for portability to hosts where /bin/sh has problems.
8926
95888bca
SM
89272013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8928
8929 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
8930
bbe558f1
JL
89312013-08-27 Juri Linkov <juri@jurta.org>
8932
8933 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
8934 in the keyboard macro. (Bug#15126)
8935
26f98a7d
JL
89362013-08-27 Juri Linkov <juri@jurta.org>
8937
8938 * isearch.el (isearch-quote-char): Comment out converting unibyte
8939 to multibyte, thus syncing with its `quoted-insert' counterpart.
8940 (Bug#15166)
8941
7c97d35e
MR
89422013-08-27 Martin Rudalics <rudalics@gmx.at>
8943
8944 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
8945 argument in call of get-largest-window (Bug#15185).
8946 Reported by Stephen Leake.
7c97d35e 8947
a0b5606e 89482013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
8949
8950 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
8951
9e89d835
SM
89522013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
8953
8954 * progmodes/python.el (python-font-lock-keywords): Don't return nil
8955 from a matcher-function unless there's no more matches (bug#15161).
8956
78fc2530
MA
89572013-08-26 Michael Albinus <michael.albinus@gmx.de>
8958
8959 * minibuffer.el: Revert change from 2013-08-20.
8960
8961 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
8962 with text property `tramp-default', if appropriate.
8963 (tramp-check-proper-host): New defun.
8964 (tramp-dissect-file-name): Do not check hostname. Revert change
8965 of 2013-03-18.
8966 (tramp-backtrace): Make VEC-OR-PROC optional.
8967
8968 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8969 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8970 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
8971 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
8972 Apply `tramp-check-proper-host'.
78fc2530 8973
edca97cd
TH
89742013-08-26 Tassilo Horn <tsdh@gnu.org>
8975
8976 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
8977 lambda expression in order to have `describe-variable' display it.
8978
df54bcbd
MA
89792013-08-26 Michael Albinus <michael.albinus@gmx.de>
8980
8981 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
8982 BUF can be optional. (Bug#15186)
8983
eed99101
XF
89842013-08-25 Xue Fuqiao <xfq.free@gmail.com>
8985
8986 * progmodes/flymake.el (flymake-get-real-file-name-function):
8987 Fix broken customization. (Bug#15184)
8988
b5eb9035
AM
89892013-08-25 Alan Mackenzie <acm@muc.de>
8990
8a51e842
AM
8991 Improve indentation of bracelists defined by macros (without "=").
8992
8993 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
8994 expansion begins with "{", regard it as bracelist when it doesn't
8995 contain a ";".
8996
869455d4
AM
8997 Parse C++ inher-intro when there's a template split over 2 lines.
8998
8999 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
9000 rigorously the search for "class" etc. followed by ":".
9001
9002 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
9003 random languages a regexp which never matches rather than nil.
9004
b5eb9035
AM
9005 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
9006
9007 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
9008 (c-awk-regexp-one-line-possibly-open-char-list-re)
9009 (c-awk-one-line-possibly-open-regexp-re)
9010 (c-awk-one-line-non-syn-ws*-re): Remove.
9011 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
9012 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
9013 (c-awk-space*-unclosed-regexp-/-re): New constants.
9014 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
9015 aren't regexp delimiters.
9016
9017 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
9018 handling for a rare situation in AWK Mode involving unterminated
9019 strings/regexps.
9020
61611d54
GM
90212013-08-23 Glenn Morris <rgm@gnu.org>
9022
2d85dc34
GM
9023 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
9024
cb8d2612
GM
9025 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
9026
bb35f42f
GM
9027 * files.el (create-file-buffer): If the result would begin with
9028 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 9029
b9808e77
SM
90302013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9031
e3a66363
SM
9032 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
9033 text-properties (bug#15155).
9034
b9808e77
SM
9035 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
9036 exist any more.
9037 (calc-keypad-redraw): Remove unused var `pad'.
9038 (calc-keypad-press): Remove unused var `menu'.
9039
7fd5f65e
MR
90402013-08-23 Martin Rudalics <rudalics@gmx.at>
9041
b9808e77
SM
9042 * window.el (display-buffer-pop-up-frame):
9043 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
9044 use it as the new frame's buffer (Bug#15133).
9045
8352b530
SM
90462013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
9047
9048 * calendar/timeclock.el: Minor cleanups.
9049 (timeclock-ask-before-exiting, timeclock-use-display-time):
9050 Use `symbol'.
9051 (timeclock-modeline-display): Define as alias before the
9052 actual definition.
9053 (timeclock-mode-line-display): Use define-minor-mode.
9054 (timeclock-day-list-template): Make it a function, add an argument.
9055 (timeclock-day-list-required, timeclock-day-list-length)
9056 (timeclock-day-list-debt, timeclock-day-list-span)
9057 (timeclock-day-list-break): Adjust calls accordingly.
9058
9f7b1925
SM
90592013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
9060
9061 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
9062 Use read--expression so that completion works again.
9063
6e50e983
SS
90642013-08-21 Sam Steingold <sds@gnu.org>
9065
9066 Add rudimentary inferior shell interaction
9067 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
9068 (sh-set-shell): Reset it.
9f7b1925
SM
9069 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
9070 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 9071
dbb0d350
SM
90722013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
9073
9074 * align.el: Use lexical-binding.
9075 (align-region): Simplify accordingly.
9076
c88586a9
MA
90772013-08-20 Michael Albinus <michael.albinus@gmx.de>
9078
9079 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
9080
9081 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
9082 `non-essential' up.
9083
f95527c8
MA
90842013-08-17 Michael Albinus <michael.albinus@gmx.de>
9085
9086 * net/tramp.el:
9087 * net/tramp-adb.el:
9088 * net/tramp-cmds.el:
9089 * net/tramp-ftp.el:
9090 * net/tramp-gvfs.el:
9091 * net/tramp-gw.el:
9092 * net/tramp-sh.el: Don't wrap external variable declarations by
9093 `eval-when-compile'.
9094
4b5fe4ee
LMI
90952013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
9096
9097 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
9098 now that Emacs supports ImageMagick animations.
9099
13c366c9
MA
91002013-08-16 Michael Albinus <michael.albinus@gmx.de>
9101
9102 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
9103 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
9104
3dfc5cd6
MR
91052013-08-16 Martin Rudalics <rudalics@gmx.at>
9106
9107 * window.el (mouse-autoselect-window-select): Do autoselect when
9108 mouse pointer is on margin.
9109
4bbb4381
WP
91102013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
9111
9112 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
9113
3a2ddc2d
GM
91142013-08-16 Glenn Morris <rgm@gnu.org>
9115
e8bedf5a
GM
9116 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
9117 Handle "Remote Directory" response of some clients. (Bug#15058)
9118
58c4682f
GM
9119 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
9120 Tweak warning. (Bug#14926)
9121
57953f49
GM
9122 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
9123 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
9124
3a2ddc2d
GM
9125 * image-mode.el (image-mode-map): Add menu items to reverse,
9126 increase, decrease, reset animation speed.
9127 (image--set-speed, image-increase-speed, image-decrease-speed)
9128 (image-reverse-speed, image-reset-speed): New functions.
9129 (image-mode-map): Add bindings for speed commands.
9130
9131 * image.el (image-animate-get-speed, image-animate-set-speed):
9132 New functions.
9133 (image-animate-timeout): Respect image :speed property.
9134
10fa0ed3
SM
91352013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9136
9137 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
9138 previous line (bug#15101).
9139 (debugger-eval-expression, debugger-record-expression):
9140 Use read--expression (bug#15102).
9141
5d89d9d2
MA
91422013-08-15 Michael Albinus <michael.albinus@gmx.de>
9143
9144 Remove byte compiler warnings, visible when compiling with
9145 `byte-compile-force-lexical-warnings' set to t.
9146
9147 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
9148 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
9149 (tramp-handle-unhandled-file-name-directory)
9150 (tramp-handle-file-notify-add-watch, tramp-action-login)
9151 (tramp-action-succeed, tramp-action-permission-denied)
9152 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
9153 arguments with "_".
9154
9155 * net/tramp-adb.el (tramp-adb-parse-device-names)
9156 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
9157 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
9158 (tramp-adb-handle-file-truename): Remove unused arguments.
9159
9160 * net/tramp-cache.el (tramp-flush-directory-property)
9161 (tramp-flush-connection-property, tramp-list-connections)
9162 (tramp-parse-connection-properties): Prefix unused arguments with "_".
9163
10fa0ed3
SM
9164 * net/tramp-compat.el (tramp-compat-make-temp-file):
9165 Rename FILENAME to F.
5d89d9d2
MA
9166
9167 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
9168 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
9169 (tramp-zeroconf-parse-workstation-device-names)
9170 (tramp-zeroconf-parse-webdav-device-names)
9171 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
9172
9173 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
9174 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
9175
9176 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
9177 arguments.
9178 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
9179 (tramp-sh-handle-insert-file-contents-literally)
9180 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
9181 with "_".
9182 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
9183 Remove unused variables.
9184
9185 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
9186 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
9187 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
9188
9189 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
9190 Make them a defconst.
9191 (tramp-uuencode-region): Remove unused variable.
9192
62f33bae
JB
91932013-08-14 Juanma Barranquero <lekktu@gmail.com>
9194
9195 * frameset.el (frameset--prop-setter): New function.
9196 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
9197 (frameset-filter-minibuffer): Deal with the case that the minibuffer
9198 parameter was already set in FILTERED. Doc fix.
9199 (frameset--record-minibuffer-relationships): Allow saving a
9200 minibufferless frame without its corresponding minibuffer frame.
9201 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
9202 frame, if the frame id matches.
9203 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
9204 frames before orphaned ones.
9205 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 9206
c660a885
MR
92072013-08-14 Martin Rudalics <rudalics@gmx.at>
9208
9209 * window.el (window-make-atom): Don't overwrite parameter
9210 already present.
9211 (display-buffer-in-atom-window): Handle special case where we
9212 split an already atomic window.
9213 (window--major-non-side-window, display-buffer-in-side-window)
9214 (window--side-check): Ignore minibuffer window when walking
9215 window tree.
9216 (window-deletable-p): Return 'frame only if no other frame uses
9217 our minibuffer window.
9218 (record-window-buffer): Run buffer-list-update-hook.
9219 (split-window): Make sure window--check-frame won't destroy an
9220 existing atomic window in case the new window gets nested
9221 inside.
9222 (display-buffer-at-bottom): Ignore minibuffer window when
9223 walking window tree. Don't split a side window.
9224 (pop-to-buffer): Don't set-buffer here, the select-window call
9225 should do that.
9226 (mouse-autoselect-window-select): Autoselect only if we are in the
9227 text portion of the window.
9228
8259030d
LMI
92292013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9230
21c58ae2
LMI
9231 * net/shr.el (shr-parse-image-data): New function to grab both the
9232 data itself and the Content-Type.
9233 (shr-put-image): Use it.
9234
9235 * net/eww.el (eww-display-image): Ditto.
9236
8259030d
LMI
9237 * image.el (image-content-type-suffixes): New variable.
9238
ad756449
FEG
92392013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
9240
9241 * progmodes/python.el (python-imenu--build-tree)
9242 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
9243
f73f4ce6
XF
92442013-08-13 Xue Fuqiao <xfq.free@gmail.com>
9245
9246 * simple.el (backward-word): Mention the optional argument.
9247
1f585e65
SM
92482013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9249
9250 * frameset.el (frameset--make): Rename constructor from make-frameset.
9251 (frameset-p, frameset-valid-p): Don't autoload.
9252 (frameset-valid-p): Use normal accessors.
9253
af1c6c84
GM
92542013-08-13 Glenn Morris <rgm@gnu.org>
9255
55e47f95
GM
9256 * progmodes/compile.el (compile-command): Tweak example in doc.
9257 * obsolete/scribe.el (scribe-mode):
9258 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
9259
f0024d8c
GM
9260 * mail/feedmail.el (feedmail-confirm-outgoing)
9261 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
9262
9263 * cus-start.el (truncate-partial-width-windows): Fix type.
9264
9265 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
9266
af1c6c84
GM
9267 * net/shr.el (shr-table-horizontal-line): Fix custom type.
9268
5514cc4c
SM
92692013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9270
9271 * emacs-lisp/timer.el (timer--time-setter): New function.
9272 (timer--time): Use it as gv-setter.
9273
9274 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
9275 setter is not a symbol.
9276
7997a2f1
GJ
92772013-08-12 Grégoire Jadi <daimrod@gmail.com>
9278
9279 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
9280 if sending fails. This makes debugging easier.
9281
01f1a9ab
JB
92822013-08-12 Juanma Barranquero <lekktu@gmail.com>
9283
9284 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
9285 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
9286 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
9287
594a4307
EZ
92882013-08-12 Eli Zaretskii <eliz@gnu.org>
9289
9290 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
9291
7a22490f 92922013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
9293
9294 * format.el (format-annotate-function):
9295 Handle read-only text properties in the source. (Bug#14887)
9296
3e41a054
LMI
92972013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9298
5514cc4c
SM
9299 * net/eww.el (eww-display-html): Ignore coding system errors.
9300 One web site uses "utf-8lias" as the coding system.
3e41a054 9301
7ec326db
JB
93022013-08-11 Juanma Barranquero <lekktu@gmail.com>
9303
9304 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
9305
5660113b
JB
93062013-08-10 Juanma Barranquero <lekktu@gmail.com>
9307
9a4ebc74
JB
9308 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
9309 (tutorial--detailed-help): Remove unused local variables.
9310 (tutorial--save-tutorial-to): Use ignore-errors.
9311 (help-with-tutorial): Use looking-at-p.
9312
9313 * view.el (view-buffer-other-window, view-buffer-other-frame):
9314 Mark unused arguments.
9315
9316 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
9317 (woman-select-symbol-fonts, woman, woman-find-file)
9318 (woman-insert-file-contents, woman-non-underline-faces):
9319 Use string-match-p.
9320 (woman1-unquote): Move declaration.
9321
9322 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
9323 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
9324 argument. Remove unused local variable.
9325 (xml-parse-elem-type): Use string-match-p.
9326 (xml-substitute-numeric-entities): Use ignore-errors.
9327
45fdb482
JB
9328 * calculator.el (calculator): Mark unused argument.
9329 (calculator-paste, calculator-quit, calculator-integer-p):
9330 Use ignore-errors.
9331 (calculator-string-to-number, calculator-decimal, calculator-exp)
9332 (calculator-op-or-exp): Use string-match-p.
9333
9334 * dired.el (dired-buffer-more-recently-used-p): Declare.
9335 (dired-insert-set-properties, dired-insert-old-subdirs):
9336 Use ignore-errors.
9337
9338 * dired-aux.el (dired-compress): Use ignore-errors.
9339 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
9340 (dired-do-async-shell-command, dired-do-shell-command)
9341 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
9342 (dired-insert-subdir-validate): Use string-match-p.
9343 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
9344 (dired-add-entry): Use string-match-p, looking-at-p.
9345 (dired-insert-subdir-newpos): Remove unused local variable.
9346
9347 * filenotify.el (file-notify-callback): Remove unused local variable.
9348
9349 * filesets.el (filesets-error): Mark unused argument.
9350 (filesets-which-command-p, filesets-filter-dir-names)
9351 (filesets-directory-files, filesets-get-external-viewer)
9352 (filesets-ingroup-get-data): Use string-match-p.
9353
9354 * find-file.el (ff-other-file-name, ff-other-file-name)
9355 (ff-find-the-other-file, ff-cc-hh-converter):
9356 Remove unused local variables.
9357 (ff-get-file-name): Use string-match-p.
9358 (ff-all-dirs-under): Use ignore-errors.
9359
9360 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
9361 (follow-select-if-visible): Remove unused local variable.
9362
9363 * forms.el (read-file-filter): Move declaration.
9364 (forms--make-format, forms--make-parser, forms-insert-record):
9365 Quote function with #'.
9366 (forms--update): Use string-match-p. Quote function with #'.
9367
9368 * help-mode.el (help-dir-local-var-def): Mark unused argument.
9369 (help-make-xrefs): Use looking-at-p.
9370 (help-xref-on-pp): Use looking-at-p, ignore-errors.
9371
9372 * ibuffer.el (ibuffer-ext-visible-p): Declare.
9373 (ibuffer-confirm-operation-on): Use string-match-p.
9374
9375 * msb.el (msb-item-handler, msb-dired-item-handler):
9376 Mark unused arguments.
9377
9378 * ses.el (ses-decode-cell-symbol)
9379 (ses-kill-override): Remove unused local variable.
9380 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
9381 (ses-load): Use ignore-errors, looking-at-p.
9382 (ses-jump-safe): Use ignore-errors.
9383 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
9384
9385 * tabify.el (untabify, tabify): Mark unused arguments.
9386
9387 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
9388 Mark unused argument.
9389 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
9390 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
9391
c880af52
JB
9392 * emacs-lisp/timer.el (timer--time): Define setter with
9393 gv-define-setter to avoid deprecation warning.
9394
5660113b 9395 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 9396 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
9397 (cmpl-statistics-block): Remove (body was commented out).
9398 All callers changed.
9399 (add-completions-from-buffer, load-completions-from-file):
9400 Remove unused variables.
9401
156aab80
JB
94022013-08-09 Juanma Barranquero <lekktu@gmail.com>
9403
5c5dee78
JB
9404 * filecache.el (file-cache-delete-file-list):
9405 Print message only when told so.
9406 (file-cache-files-matching): Use #' in mapconcat argument.
9407
156aab80
JB
9408 * ffap.el (ffap-url-at-point): Fix reference to variable
9409 thing-at-point-default-mail-uri-scheme.
9410
ad9dcd70
SM
94112013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
9412
54bd972f
SM
9413 * subr.el (define-error): New function.
9414 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
9415 error-file-not-found and define with define-error.
9416 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
9417 and define with define-error.
9418 * userlock.el (file-locked, file-supersession):
9419 * simple.el (mark-inactive):
9420 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
9421 * progmodes/ada-mode.el (ada-mode-errors):
9422 * play/life.el (life-extinct):
9423 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
9424 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
9425 * nxml/rng-util.el (rng-error):
9426 * nxml/rng-uri.el (rng-uri-error):
9427 * nxml/rng-match.el (rng-compile-error):
9428 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
9429 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
9430 * nxml/nxml-rap.el (nxml-scan-error):
9431 * nxml/nxml-outln.el (nxml-outline-error):
9432 * net/soap-client.el (soap-error):
9433 * net/gnutls.el (gnutls-error):
9434 * net/ange-ftp.el (ftp-error):
9435 * mpc.el (mpc-proc-error):
9436 * json.el (json-error, json-readtable-error, json-unknown-keyword)
9437 (json-number-format, json-string-escape, json-string-format)
9438 (json-key-format, json-object-format):
9439 * jka-compr.el (compression-error):
9440 * international/quail.el (quail-error):
9441 * international/kkc.el (kkc-error):
9442 * emacs-lisp/ert.el (ert-test-failed):
9443 * calc/calc.el (calc-error, inexact-result, math-overflow)
9444 (math-underflow):
9445 * bookmark.el (bookmark-error-no-filename):
9446 * epg.el (epg-error): Define with define-error.
9447
0ea9e53a
SM
9448 * time.el (display-time-event-handler)
9449 (display-time-next-load-average): Don't call sit-for since it seems
9450 unnecessary (bug#15045).
9451
b0429158
SM
9452 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
9453 Use #' instead of ' to quote functions.
9454 (checkdoc-output-mode): Use setq-local.
9455 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
9456 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
9457 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
9458 (checkdoc-ispell, checkdoc-ispell-current-buffer)
9459 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
9460 (checkdoc-ispell-message-text, checkdoc-ispell-start)
9461 (checkdoc-ispell-continue, checkdoc-ispell-comments)
9462 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
9463
ad9dcd70
SM
9464 * ido.el (ido-completion-help): Fix up compiler warning.
9465
77187e6f
JB
94662013-08-09 Juanma Barranquero <lekktu@gmail.com>
9467
9468 * frameset.el (frameset-p): Add autoload cookie.
9469 (frameset--jump-to-register): New function, based on code moved from
9470 register.el.
9471 (frameset-to-register): Move from register.el. Adapt to `registerv'.
9472
9473 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
9474 (frameset-restore, frameset-save, frameset-session-filter-alist):
9475 Remove declarations.
9476 (register-alist): Doc fix.
9477 (frameset-to-register): Move to frameset.el.
9478 (jump-to-register, describe-register-1): Remove frameset-specific code.
9479
9d3aa82c
JB
94802013-08-08 Juanma Barranquero <lekktu@gmail.com>
9481
9482 * allout-widgets.el (allout-widgets-pre-command-business)
9483 (allout-widgets-post-command-business)
9484 (allout-widgets-after-change-handler)
9485 (allout-decorate-item-and-context, allout-set-boundary-marker)
9486 (allout-body-modification-handler)
9487 (allout-graphics-modification-handler): Mark ignored arguments.
9488 (allout-widgets-post-command-business)
9489 (allout-widgets-exposure-change-processor)
9490 (allout-widgets-exposure-undo-processor)
9491 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
9492 (allout-parse-item-at-point, allout-decorate-item-guides)
9493 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
9494 * allout.el (epa-passphrase-callback-function): Declare.
9495 (allout-overlay-insert-in-front-handler)
9496 (allout-overlay-interior-modification-handler)
9497 (allout-isearch-end-handler, allout-chart-siblings)
9498 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
9499 (allout-yank-processing, allout-process-exposed)
9500 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 9501 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
9502 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
9503 (lisp-indent-defform): Mark ignored arguments.
9504 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
9505 (calculate-lisp-indent): Remove unused variables.
9506 * international/characters.el (indian-2-column, arabic-2-column)
9507 (tibetan): Mark ignored arguments.
9508 (use-cjk-char-width-table): Mark ignored arguments.
9509 Remove unused variables.
9510 * international/fontset.el (build-default-fontset-data)
9511 (x-compose-font-name, create-fontset-from-fontset-spec):
9512 Mark ignored arguments.
9513 (fontset-plain-name): Remove unused variables.
9514 * international/mule.el (charset-id, charset-bytes, generic-char-p)
9515 (keyboard-coding-system): Mark ignored arguments.
9516 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
9517 * help.el (resize-temp-buffer-window):
9518 * window.el (display-buffer-in-major-side-window)
9519 (display-buffer-in-side-window, display-buffer-in-previous-window):
9520 Remove unused variables.
9521 * isearch.el (isearch-forward-symbol):
9522 * version.el (emacs-bzr-version-bzr):
9523 * international/mule-cmds.el (current-language-environment):
9524 * term/common-win.el (x-handle-iconic, x-handle-geometry)
9525 (x-handle-display):
9526 * term/pc-win.el (x-list-fonts, x-display-planes)
9527 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
9528 (x-server-version, x-display-screens, x-display-mm-height)
9529 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
9530 (x-selection-owner-p, x-own-selection-internal)
9531 (x-disown-selection-internal, x-get-selection-internal)
9532 (msdos-initialize-window-system):
9533 * term/tty-colors.el (tty-color-alist, tty-color-clear):
9534 * term/x-win.el (x-handle-no-bitmap-icon):
9535 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
9536 (vc-default-find-file-hook, vc-default-extra-menu):
9537 Mark ignored arguments.
9538
0ca3f70e
SM
95392013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9540
9541 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
9542 break-condition in the context of the debugged code (bug#12685).
9543
74c5d24c
CS
95442013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
9545
9546 * comint.el:
9547 Do not use an overlay to highlight the last prompt. (Bug#14744)
9548 (comint-mode): Make comint-last-prompt buffer local.
9549 (comint-last-prompt): New variable.
9550 (comint-last-prompt-overlay): Remove. Superseded by
9551 comint-last-prompt.
0ca3f70e
SM
9552 (comint-snapshot-last-prompt, comint-output-filter):
9553 Use comint-last-prompt.
74c5d24c 9554
c03c02ee
JB
95552013-08-08 Juanma Barranquero <lekktu@gmail.com>
9556
a3738d20 9557 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
9558 (frameset-save): Check validity of the resulting frameset.
9559
04263d23
XF
95602013-08-08 Xue Fuqiao <xfq.free@gmail.com>
9561
9562 * ido.el (ido-record-command): Add doc string.
9563
76c5e5ab
JB
95642013-08-08 Juanma Barranquero <lekktu@gmail.com>
9565
9566 * frameset.el (frameset): Do not disable creation of the default
9567 frameset-p predicate. Doc fix.
9568 (frameset-valid-p): New function, copied from the old predicate-p.
9569 Add additional checks.
9570 (frameset-restore): Check with frameset-valid-p.
9571 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
9572 (frameset-name, frameset-description, frameset-properties)
9573 (frameset-states): Add docstring.
f9dbf1cb
JB
9574 (frameset-session-filter-alist, frameset-persistent-filter-alist)
9575 (frameset-filter-alist): Doc fixes.
76c5e5ab 9576
bd0c3c0b
JB
95772013-08-08 Juanma Barranquero <lekktu@gmail.com>
9578
9579 * frameset.el (frameset-p, frameset-prop): Doc fixes.
9580
c735544c
SM
95812013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9582
9583 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
9584 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
9585 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
9586 (byte-compile-normal-call): Remove obsolescence check.
9587
2805a651
JB
95882013-08-08 Juanma Barranquero <lekktu@gmail.com>
9589
3677ffeb
JB
9590 * frameset.el (frameset-restore): Doc fix.
9591
2805a651
JB
9592 * register.el (frameset-frame-id, frameset-frame-with-id)
9593 (frameset-p, frameset-restore, frameset-save): Declare.
9594 (register-alist): Document framesets.
9595 (frameset-session-filter-alist): Declare.
9596 (frameset-to-register): New function.
9597 (jump-to-register): Implement jumping to framesets. Doc fix.
9598 (describe-register-1): Describe framesets.
9599
9600 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
9601
a912c016
JB
96022013-08-07 Juanma Barranquero <lekktu@gmail.com>
9603
9604 * desktop.el (desktop-save-frameset): Use new frameset-save args.
9605 Use lexical-binding.
9606
9607 * frameset.el (frameset): Use type vector, not list (incompatible
9608 change). Do not declare a new constructor, use the default one.
9609 Upgrade suggested properties `app', `name' and `desc' to slots `app',
9610 `name' and `description', respectively, and add read-only slot
9611 `timestamp'. Doc fixes.
9612 (frameset-copy, frameset-persistent-filter-alist)
9613 (frameset-filter-alist, frameset-switch-to-gui-p)
9614 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
9615 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
9616 (frameset-filter-iconified, frameset-keep-original-display-p):
9617 Doc fixes.
9618 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
9619 Rename from frameset-filter-(save|restore)-param. All callers changed.
9620 Doc fix.
9621 (frameset-p): Adapt to change to vector and be more thorough.
9622 Change arg name to OBJECT. Doc fix.
9623 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
9624 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
9625 All callers changed.
9626 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
9627 All callers changed.
9628 (frameset--record-minibuffer-relationships): Rename from
9629 frameset--process-minibuffer-frames. All callers changed.
9630 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
9631 Use new default constructor (again). Doc fix.
c295fc18 9632 (frameset--find-frame-if): Rename from `frameset--find-frame'.
a912c016
JB
9633 All callers changed.
9634 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
9635 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
9636 Doc fix.
9637 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
9638 PARAMETERS and WINDOW-STATE, respectively.
9639 (frameset-restore): Add new keyword argument PREDICATE.
9640 Reset frameset--target-display to nil. Doc fix.
9641
bb41480a
SM
96422013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
9643
f001e98e
SM
9644 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
9645 (bat-mode): Use it.
9646 (bat-mode-syntax-table): Mark \n as end-of-comment.
9647 (bat-font-lock-keywords): Remove comment rule.
9648
7679edb1
SM
9649 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
9650 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
9651
bb41480a
SM
9652 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
9653 (byte-compile-callargs-warn): Use `push'.
9654 (byte-compile-arglist-warn): Ignore higher-order "calls".
9655 (byte-compile-file-form-autoload): Use `pcase'.
9656 (byte-compile-function-form): If quoting a symbol, check that it exists.
9657
cdc1ebb9
EZ
96582013-08-07 Eli Zaretskii <eliz@gnu.org>
9659
9660 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
9661 and add a few popular commands found in batch files.
9662 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
9663 (dos-mode): Doc fixes.
9664
312b1740
SM
96652013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
9666
9667 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
9668 (dos-mode): Use setq-local. Add space after "rem".
9669 (dos-mode-syntax-table): Don't use "w" for symbol chars.
9670 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
9671
400a3178
AM
96722013-08-07 Arni Magnusson <arnima@hafro.is>
9673
9674 * progmodes/dos.el: New file.
9675 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
9676 dos-mode.
9677
3b5c03d3
GM
96782013-08-06 Glenn Morris <rgm@gnu.org>
9679
9680 * calendar/calendar.el: Add new faces, and day-header-array.
9681 (calendar-weekday-header, calendar-weekend-header)
9682 (calendar-month-header): New faces.
9683 (calendar-day-header-construct): New function.
9684 (calendar-day-header-width): Also :set calendar-day-header-array.
9685 (calendar-american-month-header, calendar-european-month-header)
9686 (calendar-iso-month-header): Use calendar- faces.
9687 (calendar-generate-month):
9688 Use calendar-day-header-array for day headers; apply faces to them.
9689 (calendar-mode): Check calendar-font-lock-keywords non-nil.
9690 (calendar-abbrev-construct): Add optional maxlen argument.
9691 (calendar-day-name-array): Doc fix.
9692 (calendar-day-name-array, calendar-abbrev-length)
9693 (calendar-day-abbrev-array):
9694 Also :set calendar-day-header-array, and maybe redraw.
9695 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 9696 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
9697 (calendar-day-name): Add option to use header array.
9698
ec6a2d7a
LMI
96992013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9700
9701 * net/shr.el (shr-render-td): Remove debugging.
9702 (shr-render-td): Make width computation consistent by defaulting
9703 all zero-width columns to 10 characters. This may not be optimal,
9704 but it's at least consistent.
2122cb6d
LMI
9705 (shr-make-table-1): Redo last change to fix the real problem in
9706 colspan handling.
ec6a2d7a 9707
ed4fd9c5
DA
97082013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
9709
0ca3f70e
SM
9710 * files.el (cache-long-line-scans):
9711 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 9712
64e22afe
JB
97132013-08-06 Juanma Barranquero <lekktu@gmail.com>
9714
024b38fc
JB
9715 * frameset.el (frameset, frameset-filter-alist)
9716 (frameset-filter-params, frameset-save, frameset--reuse-frame)
9717 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
9718 (frameset-compute-pos): Rename from frameset--compute-pos,
9719 and add docstring.
9720 (frameset-move-onscreen): Use frameset-compute-pos.
9721 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
9722
64e22afe
JB
9723 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
9724 Fix typos in docstrings.
9725
c8c2aca8
DA
97262013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
9727
9728 * frame.el (get-other-frame): Tiny cleanup.
9729
1d237bba
JB
97302013-08-06 Juanma Barranquero <lekktu@gmail.com>
9731
8951efef
JB
9732 * vc/vc.el (vc-default-ignore-completion-table):
9733 Silence byte-compiler warning.
9734
307764cc 9735 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3fcfc4ee 9736 slot, which can indeed be nil.
307764cc
JB
9737 (frameset-live-filter-alist, frameset-persistent-filter-alist):
9738 Move entry for `left' from persistent to live filter alist.
9739 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
9740 Doc fixes.
9741 (frameset-filter-params): When restoring a frame, copy items added to
9742 `filtered', to avoid unwittingly modifying the original parameters.
9743 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
9744 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
9745
1d237bba
JB
9746 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
9747 to use looking-at-p instead of looking-at. (Bug#15028)
9748
dc6c0eda
SM
97492013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
9750
9751 Revert introduction of isearch-filter-predicates (bug#14714).
9752 Rely on add-function instead.
9753 * isearch.el (isearch-filter-predicates): Rename it back to
9754 isearch-filter-predicate.
9755 (isearch-message-prefix): Use advice-function-mapc and advice
9756 properties to get the isearch-message-prefix.
9757 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
9758 instead of run-hook-with-args-until-failure.
9759 (isearch-filter-visible): Not obsolete any more.
9760 * loadup.el: Preload nadvice.
9761 * replace.el (perform-replace): Revert to funcall
9762 instead of run-hook-with-args-until-failure.
9763 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
9764 * dired-aux.el (dired-isearch-filenames-mode): Rename from
9765 dired-isearch-filenames-toggle; make it into a proper minor mode.
9766 Use add/remove-function.
9767 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
9768 Call the minor-mode rather than add/remove-hook.
9769 (dired-isearch-filter-filenames):
9770 Remove isearch-message-prefix property.
9771 * info.el (Info--search-loop): New function, extracted from Info-search.
9772 Funcall isearch-filter-predicate instead of
9773 run-hook-with-args-until-failure isearch-filter-predicates.
9774 (Info-search): Use it.
9775 (Info-mode): Use isearch-filter-predicate instead of
9776 isearch-filter-predicates.
9777
290d5b58
DA
97782013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
9779
9780 Do not call to `selected-window' where it is assumed by default.
9781 Affected functions are `window-minibuffer-p', `window-dedicated-p',
9782 `window-hscroll', `window-width', `window-height', `window-buffer',
9783 `window-frame', `window-start', `window-point', `next-window'
9784 and `window-display-table'.
9785 * abbrev.el (abbrev--default-expand):
9786 * bs.el (bs--show-with-configuration):
9787 * buff-menu.el (Buffer-menu-mouse-select):
9788 * calc/calc.el (calc):
9789 * calendar/calendar.el (calendar-generate-window):
9790 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
9791 (diary-make-entry):
9792 * comint.el (send-invisible, comint-dynamic-complete-filename)
9793 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
9794 * completion.el (complete):
9795 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
9796 * disp-table.el (describe-current-display-table):
9797 * doc-view.el (doc-view-insert-image):
9798 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
9799 * ehelp.el (with-electric-help):
9800 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
9801 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
9802 * emacs-lisp/helper.el (Helper-help-scroller):
9803 * emulation/cua-base.el (cua--post-command-handler-1):
9804 * eshell/esh-mode.el (eshell-output-filter):
9805 * ffap.el (ffap-gnus-wrapper):
9806 * help-macro.el (make-help-screen):
9807 * hilit-chg.el (highlight-compare-buffers):
9808 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
9809 * hl-line.el (global-hl-line-highlight):
9810 * icomplete.el (icomplete-simple-completing-p):
9811 * isearch.el (isearch-done):
9812 * jit-lock.el (jit-lock-stealth-fontify):
9813 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
a12bf61e 9814 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
290d5b58
DA
9815 * mpc.el (mpc-tagbrowser, mpc):
9816 * net/rcirc.el (rcirc-any-buffer):
9817 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
9818 * play/landmark.el (landmark-max-width, landmark-max-height):
9819 * play/zone.el (zone):
9820 * progmodes/compile.el (compilation-goto-locus):
9821 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
9822 * progmodes/etags.el (find-tag-other-window):
9823 * progmodes/fortran.el (fortran-column-ruler):
9824 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
9825 * progmodes/verilog-mode.el (verilog-point-text):
9826 * reposition.el (reposition-window):
9827 * rot13.el (toggle-rot13-mode):
9828 * server.el (server-switch-buffer):
9829 * shell.el (shell-dynamic-complete-command)
9830 (shell-dynamic-complete-environment-variable):
9831 * simple.el (insert-buffer, set-selective-display)
9832 (delete-completion-window):
9833 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
9834 (speedbar-recenter):
9835 * startup.el (fancy-splash-head):
9836 * textmodes/ispell.el (ispell-command-loop):
9837 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
9838 * tutorial.el (help-with-tutorial):
9839 * vc/add-log.el (add-change-log-entry):
9840 * vc/compare-w.el (compare-windows):
9841 * vc/ediff-help.el (ediff-indent-help-message):
9842 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
9843 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
9844 (ediff-setup-control-frame):
9845 * vc/emerge.el (emerge-position-region):
9846 * vc/pcvs-util.el (cvs-bury-buffer):
9847 * window.el (walk-windows, mouse-autoselect-window-select):
9848 * winner.el (winner-set-conf, winner-undo): Related users changed.
9849
38276e01
JB
98502013-08-05 Juanma Barranquero <lekktu@gmail.com>
9851
9852 * frameset.el (frameset--set-id): Doc fix.
9853 (frameset-frame-id, frameset-frame-id-equal-p)
9854 (frameset-locate-frame-id): New functions.
9855 (frameset--process-minibuffer-frames, frameset--reuse-frame)
9856 (frameset-restore): Use them.
9857
12b4c0ea
DA
98582013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
9859
9860 Do not call to `selected-frame' where it is assumed by default.
9861 Affected functions are `raise-frame', `redraw-frame',
9862 `frame-first-window', `frame-terminal' and `delete-frame'.
9863 * calendar/appt.el (appt-disp-window):
9864 * epg.el (epg-wait-for-completion):
9865 * follow.el (follow-delete-other-windows-and-split)
9866 (follow-avoid-tail-recenter):
9867 * international/mule.el (set-terminal-coding-system):
9868 * mail/rmail.el (rmail-mail-return):
9869 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
9870 * progmodes/f90.el (f90-add-imenu-menu):
9871 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
9872 * server.el (server-switch-buffer):
9873 * simple.el (delete-completion-window):
9874 * talk.el (talk):
9875 * term/xterm.el (terminal-init-xterm-modify-other-keys)
9876 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
9877 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
9878 * vc/ediff.el (ediff-documentation): Related users changed.
9879 * frame.el (selected-terminal): Remove the leftover.
9880
17f25e76
GM
98812013-08-05 Glenn Morris <rgm@gnu.org>
9882
9883 * calendar/calendar.el (calendar-generate-month):
9884 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
9885 (calendar-generate-month, calendar-font-lock-keywords):
9886 Fix for calendar-day-header-width > length of any day name.
17f25e76 9887
063233c3
JB
98882013-08-05 Juanma Barranquero <lekktu@gmail.com>
9889
9890 * desktop.el (desktop-clear): Use new name of sort predicate.
9891
9892 * frameset.el (frameset): Add docstring. Move :version property to its
9893 own `version' slot.
9894 (frameset-copy): Rename from copy-frameset.
9895 (frameset-p): Check more thoroughly.
9896 (frameset-prop): Do not check for :version, which is no longer a prop.
9897 (frameset-live-filter-alist, frameset-persistent-filter-alist):
9898 Use new :never value instead of t.
9899 (frameset-filter-alist): Expand and clarify docstring.
9900 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
9901 (frameset-filter-minibuffer, frameset-filter-save-param)
9902 (frameset-filter-restore-param, frameset-filter-iconified):
9903 Add pointer to docstring of frameset-filter-alist.
9904 (frameset-filter-params): Rename filter values to be more meaningful:
9905 :never instead of t, and reverse the meanings of :save and :restore.
9906 (frameset--process-minibuffer-frames): Clarify error message.
9907 (frameset-save): Avoid unnecessary and confusing call to framep.
9908 Use new BOA constructor for framesets.
9909 (frameset--reuse-list): Doc fix.
9910 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
9911 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
9912 (frameset-minibufferless-first-p): Doc fix.
9913 Rename from frameset-sort-frames-for-deletion.
9914 (frameset-restore): Doc fixes. Use new function names.
9915 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
9916
d5671a82
JB
99172013-08-04 Juanma Barranquero <lekktu@gmail.com>
9918
9919 * desktop.el (desktop-restore-forces-onscreen)
9920 (desktop-restore-reuses-frames): Document :keyword constant values.
9921 (desktop-filter-parameters-alist): Remove, now identical to
9922 frameset-filter-alist.
9923 (desktop--filter-tty*): Remove, moved to frameset.el.
9924 (desktop-save-frameset, desktop-restore-frameset):
9925 Do not pass :filters argument.
9926
9927 * frameset.el (frameset-live-filter-alist)
9928 (frameset-persistent-filter-alist): New variables.
9929 (frameset-filter-alist): Use them. Add autoload cookie.
9930 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
9931 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
9932 `frameset--id' (it's supposed to be internal to frameset.el).
9933 (frameset--process-minibuffer-frames): Ditto. Doc fix.
9934 (frameset--initial-params): New function.
9935 (frameset--get-frame): Use it. Doc fix.
9936 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
9937 Accept :all, not 'all.
9938 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
9939 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
9940 with fbound symbols. Fix frame id matching, and remove matching ids if
9941 the frame being restored is deleted. Obey :delete.
9942
671d5c16
SM
99432013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
9944
9945 * subr.el (macrop): New function.
9946 (text-clone--maintaining): New var.
9947 (text-clone--maintain): Rename from text-clone-maintain. Use it
9948 instead of inhibit-modification-hooks.
9949
9950 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
9951 a proxy, so as handle autoloads and redefinitions of the target.
9952 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
9953
9954 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
9955 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
9956 (pcase--mutually-exclusive-p): New function.
9957 (pcase--split-consp): Use it.
9958 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
9959 mutually exclusive with the current predicate.
9960
9961 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
9962 (edebug-macrop): Remove. Use `macrop' instead.
9963 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
9964 (ad-macro-p):
9965 * eshell/esh-cmd.el (eshell-macrop):
9966 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
9967
1d44e9dc
SM
99682013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
9969
9970 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
9971 (advice-mapc): New function, using it.
9972 (advice-function-member-p): New function.
9973 (advice--normalize): Store the cdr in advice--saved-rewrite since
9974 that's the part that will be changed.
9975 (advice--symbol-function): New function.
9976 (advice-remove): Handle removal before the function is defined.
9977 Adjust to new advice--saved-rewrite.
9978 (advice-member-p): Use advice-function-member-p and
9979 advice--symbol-function.
9980
5414a283
JB
99812013-08-04 Juanma Barranquero <lekktu@gmail.com>
9982
51d30f2c
JB
9983 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
9984 (frameset-filter-minibuffer): Doc fix.
9985 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
9986 (frameset--set-id, frameset--process-minibuffer-frames)
9987 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
9988 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 9989
5414a283
JB
9990 * desktop.el (desktop-clear): Only delete frames when called
9991 interactively and desktop-restore-frames is non-nil. Doc fix.
9992 (desktop-read): Set desktop-saved-frameset to nil.
9993
ab419665
XF
99942013-08-04 Xue Fuqiao <xfq.free@gmail.com>
9995
9996 * vc/vc.el (vc-ignore): Rewrite.
35e951cd 9997 (vc-default-ignore-completion-table, vc--read-lines)
ab419665
XF
9998 (vc--add-line, vc--remove-regexp): New functions.
9999
10000 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
10001 (vc-svn-ignore-completion-table): New function.
10002
10003 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
35e951cd 10004 (vc-hg-ignore-completion-table)
ab419665
XF
10005 (vc-hg-find-ignore-file): New functions.
10006
10007 * vc/vc-git.el (vc-git-ignore): Rewrite.
35e951cd 10008 (vc-git-ignore-completion-table)
ab419665
XF
10009 (vc-git-find-ignore-file): New functions.
10010
10011 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
10012
10013 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
35e951cd 10014 (vc-bzr-ignore-completion-table)
ab419665
XF
10015 (vc-bzr-find-ignore-file): New functions.
10016
2613dea2
JB
100172013-08-03 Juanma Barranquero <lekktu@gmail.com>
10018
10019 * frameset.el (frameset-prop): New function and setter.
10020 (frameset-save): Do not modify frame list passed by the caller.
10021
9c959872
SM
100222013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10023
10024 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
10025
a104f656
SM
100262013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
10027
70122acf
SM
10028 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
10029 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
10030
a104f656
SM
10031 * custom.el (custom-initialize-default, custom-initialize-set)
10032 (custom-initialize-reset, custom-initialize-changed): Affect the
10033 toplevel-default-value (bug#6275, bug#14586).
10034 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
10035 for bug#6275.
10036
f078d570
JB
100372013-08-02 Juanma Barranquero <lekktu@gmail.com>
10038
185e3b5a
JB
10039 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
10040 Add cl-def* expressions.
10041
f078d570
JB
10042 * frameset.el (frameset-filter-params): Fix order of arguments.
10043
9421876d
JB
100442013-08-02 Juanma Barranquero <lekktu@gmail.com>
10045
10046 Move code related to saving frames to frameset.el.
10047 * desktop.el: Require frameset.
10048 (desktop-restore-frames): Doc fix.
10049 (desktop-restore-reuses-frames): Rename from
10050 desktop-restoring-reuses-frames.
10051 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
10052 (desktop-clear): Clear frames too.
10053 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
10054 (desktop--filter-tty*, desktop-save, desktop-read):
10055 Use frameset functions.
10056 (desktop-before-saving-frames-functions, desktop--filter-*-color)
10057 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
10058 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
10059 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
10060 (desktop--process-minibuffer-frames, desktop-save-frames)
10061 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
10062 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
10063 (desktop--sort-states, desktop-restoring-frames-p)
10064 (desktop-restore-frames): Remove. Most code moved to frameset.el.
10065 (desktop-restoring-frameset-p, desktop-restore-frameset)
10066 (desktop--check-dont-save, desktop-save-frameset): New functions.
10067 (desktop--app-id): New constant.
10068 (desktop-first-buffer, desktop-buffer-ok-count)
10069 (desktop-buffer-fail-count): Move before first use.
10070 * frameset.el: New file.
10071
76dc5996
SM
100722013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
10073
10074 * files.el: Use lexical-binding.
10075 (dir-locals-read-from-file): Remove unused `err' variable.
10076 (hack-dir-local-variables--warned-coding): New var.
10077 (hack-dir-local-variables): Use it to avoid repeated warnings.
10078 (make-backup-file-name--default-function): New function.
10079 (make-backup-file-name-function): Use it as default.
10080 (buffer-stale--default-function): New function.
10081 (buffer-stale-function): Use it as default.
10082 (revert-buffer-insert-file-contents--default-function): New function.
10083 (revert-buffer-insert-file-contents-function): Use it as default.
10084 (insert-directory): Avoid add-to-list.
10085
10086 * autorevert.el (auto-revert-handler): Simplify.
10087 Use buffer-stale--default-function.
10088
06d36e2b
TH
100892013-08-01 Tassilo Horn <tsdh@gnu.org>
10090
5f648ab4
TH
10091 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
10092
06d36e2b
TH
10093 * whitespace.el (whitespace-ensure-local-variables): New function.
10094 (whitespace-cleanup-region): Call it.
10095 (whitespace-turn-on): Call it.
10096
a43dc424
MA
100972013-08-01 Michael Albinus <michael.albinus@gmx.de>
10098
10099 Complete file name handlers.
10100
10101 * net/tramp.el (tramp-handle-set-visited-file-modtime)
10102 (tramp-handle-verify-visited-file-modtime)
10103 (tramp-handle-file-notify-rm-watch): New functions.
10104 (tramp-call-process): Do not bind `default-directory'.
10105
44e18199
JB
10106 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10107 Order alphabetically.
afe1e4c8
GM
10108 <access-file, add-name-to-file, dired-call-process>:
10109 <dired-compress-file, file-acl, file-notify-rm-watch>:
10110 <file-ownership-preserved-p, file-selinux-context>:
10111 <make-directory-internal, make-symbolic-link, set-file-acl>:
10112 <set-file-selinux-context, set-visited-file-modtime>:
10113 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
10114 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
10115
10116 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
afe1e4c8
GM
10117 <file-notify-add-watch, file-notify-rm-watch>:
10118 <set-file-times, set-visited-file-modtime>:
10119 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
10120 (with-tramp-gvfs-error-message)
10121 (tramp-gvfs-handle-set-visited-file-modtime)
10122 (tramp-gvfs-fuse-file-name): Remove.
10123 (tramp-gvfs-handle-file-notify-add-watch)
10124 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
10125 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
10126
44e18199
JB
10127 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10128 Order alphabetically.
afe1e4c8
GM
10129 <file-notify-rm-watch>: Use default Tramp handler.
10130 <executable-find>: Remove private handler.
a43dc424
MA
10131 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
10132 `default-directory'.
10133 (tramp-sh-handle-executable-find)
10134 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
10135 (tramp-sh-file-gvfs-monitor-dir-process-filter)
10136 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
10137 Do not use `format' in `tramp-message'.
10138
10139 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
afe1e4c8
GM
10140 <file-notify-rm-watch, set-visited-file-modtime>:
10141 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
10142 (tramp-smb-call-winexe): Do not bind `default-directory'.
10143
7188b515
XF
101442013-08-01 Xue Fuqiao <xfq.free@gmail.com>
10145
10146 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
10147
2412ee1a
DG
101482013-07-31 Dmitry Gutov <dgutov@yandex.ru>
10149
10150 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
10151 use it.
10152 (log-view-diff-changeset): Same.
10153 (log-view-diff-common): Call backend command `previous-revision'
10154 to find out the previous revision, in both cases. Swap the
10155 variables `to' and `fr', so that `fr' usually refers to the
10156 earlier revision (Bug#14989).
10157
5002a754
KRC
101582013-07-31 Kan-Ru Chen <kanru@kanru.info>
10159
10160 * ibuf-ext.el (ibuffer-filter-by-filename):
10161 Make it work with dired buffers too.
10162
44e18199 101632013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
10164
10165 * emacs-lisp/re-builder.el (reb-color-display-p):
10166 * files.el (save-buffers-kill-terminal):
10167 * net/browse-url.el (browse-url):
10168 * server.el (server-save-buffers-kill-terminal):
10169 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
10170 Prefer nil to selected-frame for the first arg of frame-parameter.
10171
aeca3fbb
XF
101722013-07-31 Xue Fuqiao <xfq.free@gmail.com>
10173
10174 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
10175
158bc55c
SB
101762013-07-30 Stephen Berman <stephen.berman@gmx.net>
10177
10178 * minibuffer.el (completion--twq-all): Try and preserve each
10179 completion's case choice (bug#14907).
10180
d50fceab
LMI
101812013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10182
ac38e731
LMI
10183 * net/network-stream.el (open-network-stream): Mention the new
10184 :nogreeting parameter.
10185 (network-stream-open-starttls): Use the :nogreeting parameter
10186 (bug#14938).
10187
1211de50
LMI
10188 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
10189
997798bf
LMI
10190 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
10191 more natural than popping.
10192
d50fceab 10193 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 10194 (shr-urlify): Highlight under mouse.
d50fceab 10195
5c09de04
XF
101962013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10197
207d1d04
XF
10198 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
10199
10200 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
10201
5c09de04
XF
10202 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
10203 buffer for output.
10204
3cd51eaa
XF
10205 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
10206 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 10207
44e18199 10208 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 10209 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
10210
10211 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
10212
10213 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
10214 buffer for output.
10215
35a89bdd
EZ
102162013-07-29 Eli Zaretskii <eliz@gnu.org>
10217
10218 * frame.el (frame-notice-user-settings): Avoid inflooping when the
10219 initial frame is minibuffer-less. (Bug#14841)
10220
78822e94
MA
102212013-07-29 Michael Albinus <michael.albinus@gmx.de>
10222
10223 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
10224 option.
10225
10226 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10227 (tramp-maybe-open-connection): Use it.
10228
9503c190
JB
102292013-07-28 Juanma Barranquero <lekktu@gmail.com>
10230
10231 * desktop.el (desktop--make-frame): Include `minibuffer' in the
10232 minimal set of parameters passed when creating a frame, because
10233 the minibuffer status of a frame cannot be changed later.
10234
d5a845b4
SB
102352013-07-28 Stephen Berman <stephen.berman@gmx.net>
10236
10237 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
10238 replace-regexp-in-string and inadvertent omissions in previous change.
10239 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 10240 name of filtered items buffer.
d5a845b4 10241
ddeffb17
JB
102422013-07-28 Juanma Barranquero <lekktu@gmail.com>
10243
10244 * desktop.el: Optionally force offscreen frames back onscreen.
10245 (desktop-restoring-reuses-frames): New option.
10246 (desktop--compute-pos, desktop--move-onscreen): New functions.
10247 (desktop--make-frame): Use desktop--move-onscreen.
10248
f5950f7a
AM
102492013-07-27 Alan Mackenzie <acm@muc.de>
10250
10251 Fontify a Java generic method as a function.
10252 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
10253 value to t.
10254
ae43b66a
SB
102552013-07-27 Stephen Berman <stephen.berman@gmx.net>
10256
10257 * calendar/todo-mode.el: Add command to rename todo files.
10258 (todo-rename-file): New command.
10259 (todo-key-bindings-t): Add key binding for it. Change the
10260 bindings of todo-filter-regexp-items(-multifile) to use `x'
10261 instead of `r', since the latter is better suited to the new
10262 renaming command.
10263
5ab78d3d
AM
102642013-07-27 Alan Mackenzie <acm@muc.de>
10265
10266 Make Java try-with-resources statement parse properly.
10267 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
10268 (c-block-stmt-1-2-key): New language constants/variables.
10269 * progmodes/cc-engine.el (c-beginning-of-statement-1)
10270 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
10271 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 10272 with c-block-stmt-1-2-key.
5ab78d3d 10273
d85c4d50
JB
102742013-07-27 Juanma Barranquero <lekktu@gmail.com>
10275
10276 * desktop.el (desktop--make-frame): Apply most frame parameters after
10277 creating the frame to force (partially or totally) offscreen frames to
10278 be restored as such.
10279
e4c467f9
XF
102802013-07-26 Xue Fuqiao <xfq.free@gmail.com>
10281
10282 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 10283 (Bug#14948)
e4c467f9 10284
7ced0d04
SM
102852013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10286
10287 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
10288 `base' arg of backtrace-frame.
10289
fec92060
EZ
102902013-07-26 Eli Zaretskii <eliz@gnu.org>
10291
10292 * simple.el (list-processes): Doc fix.
10293
d58d31fb
JB
102942013-07-26 Juanma Barranquero <lekktu@gmail.com>
10295
10296 * desktop.el (desktop--select-frame):
d85c4d50 10297 Try harder to reuse existing frames.
d58d31fb 10298
53ff3e77
SM
102992013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10300
10301 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
10302 (edebug-eval): Use backtrace-eval.
10303 (edebug--display, edebug--recursive-edit): Don't let-bind the
10304 edebug-outer-* vars that keep track of variables we locally let-bind.
10305 (edebug-outside-excursion): Don't restore outside values of locally
10306 let-bound vars.
10307 (edebug--display): Use user-error.
10308 (cl-lexical-debug, cl-debug-env): Remove.
10309
045f7a53
JB
103102013-07-26 Juanma Barranquero <lekktu@gmail.com>
10311
10312 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
10313 are restored to be sure that they are visible before deleting any
10314 remaining ones.
10315
59070b32
MM
103162013-07-26 Matthias Meulien <orontee@gmail.com>
10317
742a3501
XF
10318 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
10319 vc-print-root-log. (Bug#14948)
59070b32 10320
b1fb3596
RS
103212013-07-26 Richard Stallman <rms@gnu.org>
10322
10323 Add aliases for encrypting mail.
10324 * epa.el (epa-mail-aliases): New option.
10325 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
10326 Bind inhibit-read-only so read-only text doesn't ruin everything.
10327 (epa-mail-default-recipients): New subroutine broken out.
10328 Handle epa-mail-aliases.
10329
56ea7291
SM
103302013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10331
10332 Add support for lexical variables to the debugger's `e' command.
10333 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
10334 vars, except for debugger-outer-match-data.
10335 (debugger-frame-number): Move check for "on a function call" from
10336 callers into it. Add `skip-base' argument.
10337 (debugger-frame, debugger-frame-clear): Simplify accordingly.
10338 (debugger-env-macro): Only reset the state stored in non-variables,
10339 i.e. current-buffer and match-data.
10340 (debugger-eval-expression): Rewrite using backtrace-eval.
10341 * subr.el (internal--called-interactively-p--get-frame): Remove.
10342 (called-interactively-p):
10343 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
10344 `base' arg of backtrace-frame instead.
10345
15ac32d5
GM
103462013-07-26 Glenn Morris <rgm@gnu.org>
10347
8358a09d
GM
10348 * align.el (align-regexp): Doc fix. (Bug#14857)
10349 (align-region): Explicit error if subexpression missing/does not match.
10350
15ac32d5
GM
10351 * simple.el (global-visual-line-mode):
10352 Do not duplicate the mode lighter. (Bug#14858)
10353
f47ad11b
MR
103542013-07-25 Martin Rudalics <rudalics@gmx.at>
10355
10356 * window.el (display-buffer): In display-buffer bind
10357 split-window-keep-point to t, bug#14829.
10358
02530987
JB
103592013-07-25 Juanma Barranquero <lekktu@gmail.com>
10360
10361 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
10362 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
10363 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
10364 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10365 Change accordingly.
f63ebeb5
JB
10366 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10367 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 10368
6ccb9cab 103692013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 10370
6ccb9cab 10371 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 10372
cb3a56d2
JB
103732013-07-25 Juanma Barranquero <lekktu@gmail.com>
10374
10375 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
10376 parameter to modify-frame-parameters if the value has not changed;
10377 this is a workaround for bug#14949.
10378 (desktop--make-frame): On cl-delete-if call, check parameter name,
10379 not full parameter.
10380
7aa7fff0
XF
103812013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10382
10383 * vc/vc.el (vc-ignore): New function.
10384
10385 * vc/vc-svn.el (vc-svn-ignore): New function.
10386
10387 * vc/vc-hg.el (vc-hg-ignore): New function.
10388
10389 * vc/vc-git.el (vc-git-ignore): New function.
10390
10391 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
10392 (vc-dir-ignore): New function.
10393
10394 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 10395 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
10396
10397 * vc/vc-bzr.el (vc-bzr-ignore): New function.
10398
10399 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
10400
889acc5c
JB
104012013-07-24 Juanma Barranquero <lekktu@gmail.com>
10402
10403 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
10404 (desktop-restore-frames): Warn when deleting an existing frame failed.
10405
86c40970
GM
104062013-07-24 Glenn Morris <rgm@gnu.org>
10407
10408 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
10409
d5d3c58a
MA
104102013-07-24 Michael Albinus <michael.albinus@gmx.de>
10411
10412 * filenotify.el (file-notify-supported-p):
10413 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
10414 Remove functions.
10415
35e951cd 10416 * autorevert.el (auto-revert-use-notify)
d5d3c58a
MA
10417 (auto-revert-notify-add-watch):
10418 * net/tramp.el (tramp-file-name-for-operation):
10419 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10420 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10421 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10422 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
10423 Remove `file-notify-supported-p' entry.
10424
d100084b
GM
104252013-07-24 Glenn Morris <rgm@gnu.org>
10426
10427 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 10428 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 10429
ac93e56b
SM
104302013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
10431
249eea30
SM
10432 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
10433 checked with memq (bug#14935).
10434
ac93e56b
SM
10435 * files.el (revert-buffer-function): Use a non-nil default.
10436 (revert-buffer-preserve-modes): Declare var to
10437 provide access to the `preserve-modes' argument.
10438 (revert-buffer): Let-bind it.
10439 (revert-buffer--default): New function, extracted from revert-buffer.
10440
2cdeb903
SM
104412013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
10442
10443 * lpr.el: Signal print errors more prominently.
10444 (print-region-function): Don't default to nil.
10445 (lpr-print-region): New function, extracted from print-region-1.
10446 Check lpr's return value and signal an error in case of problem.
10447 (print-region-1): Use it.
10448 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
10449 versions instead.
10450 (ps-printer-name): Default to nil.
10451 (ps-printer-name-option): Default to lpr-printer-switch.
10452 (ps-print-region-function): Don't default to nil.
10453 (ps-postscript-code-directory): Simplify default.
10454 (ps-do-despool): Use lpr-print-region to properly check the outcome.
10455 (ps-string-list, ps-eval-switch, ps-flatten-list)
10456 (ps-flatten-list-1): Remove.
10457 (ps-multibyte-buffer): Avoid setq.
10458 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
10459 (print-region-function, ps-print-region-function): Don't set them here.
10460
73600831
XF
104612013-07-24 Xue Fuqiao <xfq.free@gmail.com>
10462
35e951cd
JB
10463 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
10464 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
10465 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
0e55c076
XF
10466 (ido-decorations): Doc fix.
10467
73600831
XF
10468 * ansi-color.el: Fix old URL.
10469
3d012865
MM
104702013-07-23 Michael R. Mauger <michael@mauger.com>
10471
e903c210 10472 * progmodes/sql.el: Version 3.3
3d012865
MM
10473 (sql-product-alist): Improve oracle :prompt-cont-regexp.
10474 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
10475 (sql-interactive-remove-continuation-prompt): Rewrite, use
10476 functions above. Fix continuation prompt and complete output line
10477 handling.
10478 (sql-redirect-one, sql-execute): Use `read-only-mode' on
10479 redirected output buffer.
10480 (sql-mode): Restore deleted code (Bug#13591).
10481
da77a2e2
JB
104822013-07-23 Juanma Barranquero <lekktu@gmail.com>
10483
10484 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
10485
80ff0c71
MA
104862013-07-23 Michael Albinus <michael.albinus@gmx.de>
10487
10488 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
10489
10490 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10491 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10492 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
10493
b61d71e4
JB
104942013-07-23 Juanma Barranquero <lekktu@gmail.com>
10495
10496 * desktop.el (desktop-clear): Simplify; remove useless checks
10497 against invalid buffer names.
10498 (desktop-list*): Use cl-list*.
10499 (desktop-buffer-info, desktop-create-buffer): Simplify.
10500
c3512092
LL
105012013-07-23 Leo Liu <sdl.web@gmail.com>
10502
10503 * bookmark.el (bookmark-make-record): Restore NAME as a default
10504 value. (Bug#14933)
10505
0ac26976
SM
105062013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
10507
7d22ce18
SM
10508 * emacs-lisp/autoload.el (autoload--setup-output): New function,
10509 extracted from autoload--insert-text.
10510 (autoload--insert-text): Remove.
10511 (autoload--print-cookie-text): New function, extracted from
10512 autoload--insert-cookie-text.
10513 (autoload--insert-cookie-text): Remove.
10514 (autoload-generate-file-autoloads): Adjust calls accordingly.
10515
9b2607e8
SM
10516 * winner.el (winner-hook-installed-p): Remove.
10517 (winner-mode): Simplify accordingly.
10518
c43a8618
SM
10519 * subr.el (add-to-list): Fix compiler-macro when `append' is
10520 not constant. Don't use `cl-member' for the base case.
10521
0ac26976
SM
10522 * progmodes/subword.el: Fix boundary case (bug#13758).
10523 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
10524 own group.
10525 (subword-backward-regexp): Make it a constant.
10526 (subword-forward-internal): Don't treat a trailing capital as the
10527 beginning of a word.
10528
6874724a
AR
105292013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
10530
10531 * emacs-lisp/package.el (package-menu-mode): Don't modify the
10532 global value of tabulated-list-revert-hook (bug#14930).
10533
70f1b5e8
JB
105342013-07-22 Juanma Barranquero <lekktu@gmail.com>
10535
a1c80d9d
JB
10536 * desktop.el: Require 'cl-lib.
10537 (desktop-before-saving-frames-functions): New hook.
10538 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
10539 for frames being saved. Rename from desktop--save-minibuffer-frames.
10540 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
10541 Do not save frames with non-nil `desktop-dont-save' parameter.
10542 Filter out deleted frames.
a1c80d9d
JB
10543 (desktop--find-frame): Use cl-find-if.
10544 (desktop--select-frame): Use cl-(first|second|third) to access values
10545 of desktop-mini.
10546 (desktop--make-frame): Use cl-delete-if.
10547 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
10548 (desktop-restore-frames): Use cl-(first|second|third) to access values
10549 of desktop-mini. Look for visible frame at the end, not while
10550 restoring frames.
10551
70f1b5e8
JB
10552 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
10553 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
10554 Use string-match-p, looking-at-p (bug#14927).
10555
728dc3cc
JB
105562013-07-21 Juanma Barranquero <lekktu@gmail.com>
10557
56bc453c
JB
10558 * desktop.el (desktop-saved-frame-states):
10559 Rename from desktop--saved-states; all users changed.
10560 (desktop-save-frames): Rename from desktop--save-frames.
10561 Do not save state to desktop file.
10562 (desktop-save): Save desktop-saved-frame-states to desktop file
10563 and reset to nil.
10564 (desktop-restoring-frames-p): New function.
10565 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
10566 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
10567 buffer-lists when restoring frames. Suggested by Martin Rudalics.
10568
728dc3cc
JB
10569 * desktop.el: Correctly restore iconified frames.
10570 (desktop--filter-iconified-position): New function.
10571 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
10572
862f1c9c
GM
105732013-07-20 Glenn Morris <rgm@gnu.org>
10574
c4074c9f
GM
10575 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
10576 Let `message' do the formatting.
10577 (def-gdb-preempt-display-buffer): Add explicit format.
10578
d828e5f9
GM
10579 * image-dired.el (image-dired-track-original-file):
10580 Use with-current-buffer.
10581 (image-dired-track-thumbnail): Use with-current-buffer.
10582 Avoid changing point of wrong window.
10583
862f1c9c
GM
10584 * image-dired.el (image-dired-track-original-file):
10585 Avoid changing point of wrong window. (Bug#14909)
10586
f0398ec1 105872013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
10588
10589 * progmodes/gdb-mi.el (gdb-done-or-error):
10590 Guard against "%" in gdb output. (Bug#14127)
10591
1451928f
AS
105922013-07-20 Andreas Schwab <schwab@linux-m68k.org>
10593
763a086d
JB
10594 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
10595 (Bug#14826)
f7a03897 10596
1451928f
AS
10597 * international/mule.el (coding-system-iso-2022-flags): Fix last
10598 change.
10599
99107004
KH
106002013-07-20 Kenichi Handa <handa@gnu.org>
10601
763a086d
JB
10602 * international/mule.el (coding-system-iso-2022-flags):
10603 Add `8-bit-level-4'. (Bug#8522)
99107004 10604
48494e06
LMI
106052013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10606
8ba8eec5
LMI
10607 * net/shr.el (shr-mouse-browse-url): New command and keystroke
10608 (bug#14815).
10609
dfbc66e3
LMI
10610 * net/eww.el (eww-process-text-input): Allow inputting when the
10611 point is at the start of the line, as the properties aren't
10612 front-sticky.
10613
48494e06
LMI
10614 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
10615 degenerate widths.
10616
77c92cb9
RS
106172013-07-19 Richard Stallman <rms@gnu.org>
10618
aec7da77
RS
10619 * epa.el (epa-popup-info-window): Doc fix.
10620
77c92cb9
RS
10621 * subr.el (split-string): New arg TRIM.
10622
945c5bb1
JB
106232013-07-18 Juanma Barranquero <lekktu@gmail.com>
10624
10625 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
10626 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
10627
e06ec67f
MA
106282013-07-18 Michael Albinus <michael.albinus@gmx.de>
10629
c7064f05 10630 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
10631 `file-notify-support'. Do not autoload. Adapt all uses.
10632 (file-notify-supported-p): New defun.
10633
c7064f05
JB
10634 * autorevert.el (auto-revert-use-notify):
10635 Use `file-notify-supported-p' instead of `file-notify-support'.
10636 Adapt docstring.
e06ec67f
MA
10637 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
10638
10639 * net/tramp.el (tramp-file-name-for-operation):
10640 Add `file-notify-supported-p'.
10641
10642 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
10643 New defun.
10644 (tramp-sh-file-name-handler-alist): Add it as handler for
10645 `file-notify-supported-p '.
10646
10647 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10648 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10649 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
10650 Add `ignore' as handler for `file-notify-*' functions.
10651
5dc8a629
EZ
106522013-07-17 Eli Zaretskii <eliz@gnu.org>
10653
10654 * simple.el (line-move-partial, line-move): Don't start vscroll or
10655 scroll-up if the current line is not taller than the window.
10656 (Bug#14881)
10657
77aea2fb
DG
106582013-07-16 Dmitry Gutov <dgutov@yandex.ru>
10659
10660 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
10661 highlight question marks in the method names as strings.
ac72c08d
DG
10662 (ruby-block-beg-keywords): Inline.
10663 (ruby-font-lock-keyword-beg-re): Extract from
10664 `ruby-font-lock-keywords'.
77aea2fb 10665
18c26d81
JD
106662013-07-16 Jan Djärv <jan.h.d@swipnet.se>
10667
10668 * frame.el (blink-cursor-blinks): New defcustom.
10669 (blink-cursor-blinks-done): New defvar.
10670 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
10671 (blink-cursor-timer-function): Check if number of blinks has been
10672 done on X and NS.
10673 (blink-cursor-suspend, blink-cursor-check): New defuns.
10674
da48522e
GM
106752013-07-15 Glenn Morris <rgm@gnu.org>
10676
10677 * edmacro.el (edmacro-format-keys): Fix previous change.
10678
0463c1ef
PE
106792013-07-15 Paul Eggert <eggert@cs.ucla.edu>
10680
10681 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
10682 The hack didn't work outside English locales anyway.
10683
b43f6451
JB
106842013-07-15 Juanma Barranquero <lekktu@gmail.com>
10685
10686 * simple.el (define-alternatives): Rename from alternatives-define,
10687 per RMS' suggestion.
10688
b958c0ad
JB
106892013-07-14 Juanma Barranquero <lekktu@gmail.com>
10690
10691 * desktop.el (desktop-restore-frames): Change default to t.
10692 (desktop-restore-in-current-display): Now offer more options.
10693 (desktop-restoring-reuses-frames): New customization option.
10694 (desktop--saved-states): Doc fix.
10695 (desktop-filter-parameters-alist): New variable, renamed and expanded
10696 from desktop--excluded-frame-parameters.
10697 (desktop--target-display): New variable.
10698 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
10699 (desktop--filter-tty*, desktop--filter-*-color)
10700 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
10701 (desktop--filter-save-desktop-parm)
10702 (desktop-restore-in-original-display-p): New functions.
10703 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
10704 (desktop--save-minibuffer-frames): New function, inspired by a similar
10705 function from Martin Rudalics.
10706 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
10707 (desktop--restore-in-this-display-p): Remove.
10708 (desktop--find-frame): Rename from desktop--find-frame-in-display
10709 and add predicate argument.
10710 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
10711 (desktop--reuse-list): New variable.
10712 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
10713 New functions.
10714 (desktop--restore-frames): Add support for "minibuffer-special" frames.
10715
f6dd8b36
MA
107162013-07-14 Michael Albinus <michael.albinus@gmx.de>
10717
10718 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
10719
2ce3c565
DG
107202013-07-13 Dmitry Gutov <dgutov@yandex.ru>
10721
763a086d
JB
10722 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
10723 Highlight conversion methods on Kernel.
2ce3c565 10724
2cdb7698
AM
107252013-07-13 Alan Mackenzie <acm@muc.de>
10726
10727 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
10728 and comment it out. This out-commenting enables certain C++
10729 declarations to be parsed correctly.
10730
1a67b811
EZ
107312013-07-13 Eli Zaretskii <eliz@gnu.org>
10732
1b796d6b
EZ
10733 * international/mule.el (define-coding-system): Doc fix.
10734
1a67b811
EZ
10735 * simple.el (default-font-height): Don't call font-info if the
10736 frame's default font didn't change since the frame was created.
10737 (Bug#14838)
10738
58fbe886
LL
107392013-07-13 Leo Liu <sdl.web@gmail.com>
10740
10741 * ido.el (ido-read-file-name): Guard against non-symbol value.
10742
1f0480d4
FEG
107432013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
10744
10745 * progmodes/python.el (python-imenu--build-tree): Fix corner case
10746 in nested defuns.
10747
97ead0e5
LL
107482013-07-13 Leo Liu <sdl.web@gmail.com>
10749
10750 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
10751 ido-set-matches call. (Bug#6852)
10752
0880a952
DG
107532013-07-12 Dmitry Gutov <dgutov@yandex.ru>
10754
35e951cd 10755 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
0880a952
DG
10756 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
10757 Ruby 2.0.
10758 (ruby-font-lock-keywords): Distinguish calls to functions with
10759 module-like names from module references. Highlight character
10760 literals.
10761
a7d8babb
SDJ
107622013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
10763
10764 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 10765 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 10766
acfcc8c5
JB
107672013-07-12 Juanma Barranquero <lekktu@gmail.com>
10768
10769 * desktop.el (desktop--v2s): Remove unused local variable.
10770 (desktop-save-buffer): Make defvar-local; adjust docstring.
10771 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
10772 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
10773
051f2775
AS
107742013-07-12 Andreas Schwab <schwab@linux-m68k.org>
10775
10776 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
10777
f24e7572
GM
107782013-07-12 Eli Zaretskii <eliz@gnu.org>
10779
10780 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
10781 (Bug#14842)
10782
539a920c
GM
107832013-07-12 Glenn Morris <rgm@gnu.org>
10784
10785 * doc-view.el: Require cl-lib at runtime too.
10786 (doc-view-remove-if): Remove.
10787 (doc-view-search-next-match, doc-view-search-previous-match):
10788 Use cl-remove-if.
10789
10790 * edmacro.el: Require cl-lib at runtime too.
10791 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
10792 (edmacro-mismatch, edmacro-subseq): Remove.
10793
10794 * shadowfile.el: Require cl-lib.
10795 (shadow-remove-if): Remove.
10796 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
10797 Use cl-remove-if.
10798
10799 * wid-edit.el: Require cl-lib.
10800 (widget-choose): Use cl-remove-if.
10801 (widget-remove-if): Remove.
10802
10803 * progmodes/ebrowse.el: Require cl-lib at runtime too.
10804 (ebrowse-delete-if-not): Remove.
10805 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
10806 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
10807 Use cl-delete-if-not.
10808
1048af7c
JB
108092013-07-12 Juanma Barranquero <lekktu@gmail.com>
10810
10811 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
10812 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
10813
6c0674ee
LL
108142013-07-12 Leo Liu <sdl.web@gmail.com>
10815
10816 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
10817
a19b3c2d
GM
108182013-07-11 Glenn Morris <rgm@gnu.org>
10819
4582a01c
GM
10820 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
10821 (edebug-gensym-index, edebug-gensym):
10822 Remove reimplementation of cl-gensym.
10823 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
10824
10825 * thumbs.el: Require cl-lib at run-time too.
10826 (thumbs-gensym-counter, thumbs-gensym):
10827 Remove reimplementation of cl-gensym.
10828 (thumbs-temp-file): Use cl-gensym.
10829
a19b3c2d
GM
10830 * emacs-lisp/ert.el: Require cl-lib at runtime too.
10831 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
10832 (ert--intersection, ert--set-difference, ert--set-difference-eq)
10833 (ert--union, ert--gensym-counter, ert--gensym-counter)
10834 (ert--coerce-to-vector, ert--remove*, ert--string-position)
10835 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
10836 (ert-make-test-unbound, ert--expand-should-1)
10837 (ert--expand-should, ert--should-error-handle-error)
10838 (should-error, ert--explain-equal-rec)
10839 (ert--plist-difference-explanation, ert-select-tests)
10840 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
10841 Use cl-lib functions rather than reimplementations.
10842
88f6a933
MA
108432013-07-11 Michael Albinus <michael.albinus@gmx.de>
10844
10845 * net/tramp.el (tramp-methods): Extend docstring.
10846 (tramp-connection-timeout): New defcustom.
10847 (tramp-error-with-buffer): Reset timestamp only when appropriate.
10848 (with-tramp-progress-reporter): Simplify.
10849 (tramp-process-actions): Improve messages.
10850
10851 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10852 * net/tramp-sh.el (tramp-maybe-open-connection):
10853 Use `tramp-connection-timeout'.
afe1e4c8 10854 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
88f6a933
MA
10855 (Bug#14808)
10856
a43d577e
LL
108572013-07-11 Leo Liu <sdl.web@gmail.com>
10858
10859 * ido.el (ido-read-file-name): Conform to the requirements of
10860 read-file-name. (Bug#11861)
10861 (ido-read-directory-name): Conform to the requirements of
10862 read-directory-name.
10863
d77974bf
JB
108642013-07-11 Juanma Barranquero <lekktu@gmail.com>
10865
10866 * subr.el (delay-warning): New function.
10867
35cb8a3e
EZ
108682013-07-10 Eli Zaretskii <eliz@gnu.org>
10869
10870 * simple.el (default-line-height): New function.
10871 (line-move-partial, line-move): Use it instead of computing the
10872 line height inline.
10873 (line-move-partial): Always compute ROWH. If the last line is
10874 partially-visible, but its text is completely visible, allow
10875 cursor to enter such a partially-visible line.
10876
525c5c77
MA
108772013-07-10 Michael Albinus <michael.albinus@gmx.de>
10878
10879 Improve error messages. (Bug#14808)
10880
10881 * net/tramp.el (tramp-current-connection): New defvar, moved from
10882 tramp-sh.el.
0ac26976 10883 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 10884 needed anymore.
0ac26976
SM
10885 (tramp-error-with-buffer): Show message in minibuffer.
10886 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
10887 (with-tramp-progress-reporter): Improve messages.
10888 (tramp-process-actions): Use progress reporter. Delete process in
10889 case of error. Improve messages.
10890
763a086d
JB
10891 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
10892 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 10893 (tramp-current-connection): Remove.
525c5c77
MA
10894 (tramp-maybe-open-connection): The car of
10895 `tramp-current-connection' are the first 3 slots of the vector.
10896
c7a4d368
TZ
108972013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
10898
10899 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
10900 inside continued strings.
10901
954b166e
PE
109022013-07-10 Paul Eggert <eggert@cs.ucla.edu>
10903
10904 Timestamp fixes for undo (Bug#14824).
10905 * files.el (clear-visited-file-modtime): Move here from fileio.c.
10906
56973319
LL
109072013-07-10 Leo Liu <sdl.web@gmail.com>
10908
10909 * files.el (require-final-newline): Allow safe local value.
10910 (Bug#14834)
10911
5550a72c
LL
109122013-07-09 Leo Liu <sdl.web@gmail.com>
10913
10914 * ido.el (ido-read-directory-name): Handle fallback.
10915 (ido-read-file-name): Update DIR to ido-current-directory.
10916 (Bug#1516)
c28b9050 10917 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 10918
70c46b28
DG
109192013-07-09 Dmitry Gutov <dgutov@yandex.ru>
10920
10921 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
10922 "autoload". Remove "warn lower camel case" section, previously
10923 commented out. Highlight negation char. Do not highlight the
10924 target in singleton method definitions.
10925
0b64b838
SM
109262013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
10927
7fd72e2c
SM
10928 * faces.el (tty-setup-hook): Declare the hook.
10929
0b64b838
SM
10930 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
10931 and detect when a guard/pred depends on local vars (bug#14773).
10932 (pcase--u1): Adjust caller.
10933
ab49d60b
EZ
109342013-07-08 Eli Zaretskii <eliz@gnu.org>
10935
10936 * simple.el (line-move-partial, line-move): Account for
10937 line-spacing.
701d79aa
EZ
10938 (line-move-partial): Avoid setting vscroll when the last
10939 partially-visible line in window is of default height.
ab49d60b 10940
2d756ae0
LMI
109412013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
10942
10943 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
10944 been used a while.
10945
ed095bd7
JB
109462013-07-07 Juanma Barranquero <lekktu@gmail.com>
10947
10948 * subr.el (read-quoted-char): Remove unused local variable `char'.
10949
f1e6674b
MK
109502013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
10951
584ee3fc
GM
10952 * ediff.el (ediff-version): Version update.
10953 (ediff-files-command, ediff3-files-command, ediff-merge-command)
10954 (ediff-merge-with-ancestor-command, ediff-directories-command)
10955 (ediff-directories3-command, ediff-merge-directories-command)
10956 (ediff-merge-directories-with-ancestor-command): New functions.
10957 All are command-line interfaces to ediff: to facilitate calling
10958 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
10959
10960 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
10961 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 10962
584ee3fc
GM
10963 * viper.el (viper-version): Version update.
10964 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 10965
584ee3fc
GM
109662013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
10967
10968 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
10969 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
10970 (viper-intercept-ESC-key): Simplify.
10971 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
10972 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
10973 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
10974 (viper-setup-ESC-to-escape): New functions.
10975 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
10976 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 10977
9aff9b38
EZ
109782013-07-07 Eli Zaretskii <eliz@gnu.org>
10979
5165d44a
JB
10980 * simple.el (default-font-height, window-screen-lines):
10981 New functions.
9aff9b38
EZ
10982 (line-move, line-move-partial): Use them instead of
10983 frame-char-height and window-text-height. This makes scrolling
10984 text smoother when the buffer's default face uses a font that is
10985 different from the frame's default font.
10986
1afb1d07
JD
109872013-07-06 Jan Djärv <jan.h.d@swipnet.se>
10988
10989 * files.el (write-file): Do not display confirm dialog for NS,
d5081c1e 10990 it does its own dialog, which can't be canceled (Bug#14578).
1afb1d07 10991
23de972a
EZ
109922013-07-06 Eli Zaretskii <eliz@gnu.org>
10993
10994 * simple.el (line-move-partial): Adjust the row returned by
10995 posn-at-point for the current window-vscroll. (Bug#14567)
10996
54a42486
MA
109972013-07-06 Michael Albinus <michael.albinus@gmx.de>
10998
35e951cd 10999 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
54a42486
MA
11000 (tramp-sh-file-inotifywait-process-filter): Handle file names with
11001 spaces.
11002
34ada5f4
MR
110032013-07-06 Martin Rudalics <rudalics@gmx.at>
11004
11005 * window.el (window-state-put-stale-windows): New variable.
11006 (window--state-put-2): Save list of windows without matching buffer.
11007 (window-state-put): Remove "bufferless" windows if possible.
11008
11e03d89
JB
110092013-07-06 Juanma Barranquero <lekktu@gmail.com>
11010
11011 * simple.el (alternatives-define): Remove leftover :group keyword.
11012 Tweak docstring.
11013
3504a4be
LL
110142013-07-06 Leo Liu <sdl.web@gmail.com>
11015
11016 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
11017 (ido-enable-virtual-buffers): New variable.
11018 (ido-buffer-internal, ido-toggle-virtual-buffers)
11019 (ido-make-buffer-list): Use it.
11020 (ido-exhibit): Support turning on and off virtual buffers
11021 automatically.
11022
61e56e2c
JB
110232013-07-06 Juanma Barranquero <lekktu@gmail.com>
11024
11025 * simple.el (alternatives-define): New macro.
11026
321e1a9c
SM
110272013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
11028
11029 * subr.el (read-quoted-char): Use read-key.
11030 (sit-for): Let read-event decode tty input (bug#14782).
11031
d610f6dd
SB
110322013-07-05 Stephen Berman <stephen.berman@gmx.net>
11033
11034 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
11035 mode command and externally. Fix various related bugs.
11036 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
11037 (todo-delete-file): New command.
11038 (todo-check-file): New function.
11039 (todo-show): Handle external deletion of the file we're trying to
11040 show (bug#14688). Replace called-interactively-p by an optional
11041 prefix argument to avoid problematic interaction with catch form
11042 when byte compiled (bug#14702).
11043 (todo-quit): Handle external deletion of the archive's todo file.
11044 Make sure the buffer that was visiting the archive file is still
11045 live before trying to bury it.
11046 (todo-category-completions): Handle external deletion of any
11047 category completion files.
11048 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
11049 of todo files, in case of external deletion.
11050 (todo-add-file): Replace unnecessary setq by let-binding.
11051 (todo-find-archive): Check whether there are any archives.
11052 Replace unnecessary setq by let-binding.
11053 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
11054 archive buffer whether or not the archive already exists.
11055 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
11056 check if the archive is new; if it is, update list of archives.
11057 (todo-default-todo-file): Allow nil to be a valid value for when
11058 there are no todo files.
11059 (todo-reevaluate-default-file-defcustom): Use corrected definition
11060 of todo-default-todo-file.
11061 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
11062 (todo-delete-category, todo-show-categories-table)
11063 (todo-category-number): Clarify comment.
11064 (todo-filter-items): Clarify documentation string.
11065 (todo-show-current-file, todo-display-as-todo-file)
11066 (todo-reset-and-enable-done-separator): Tweak documentation string.
11067 (todo-done-separator): Make separator length window-width, since
11068 bug#2749 is now fixed.
11069
ddbdfd6f
MA
110702013-07-05 Michael Albinus <michael.albinus@gmx.de>
11071
321e1a9c
SM
11072 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
11073 Support both "gvfs-monitor-dir" and "inotifywait".
11074 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
11075 `tramp-sh-file-notify-process-filter'.
11076 (tramp-sh-file-gvfs-monitor-dir-process-filter)
11077 (tramp-get-remote-gvfs-monitor-dir): New defuns.
11078
96eb829a
LL
110792013-07-05 Leo Liu <sdl.web@gmail.com>
11080
11081 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
11082
cf13177e
YM
110832013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11084
11085 * frame.el (display-pixel-height, display-pixel-width)
11086 (display-mm-height, display-mm-width): Mention behavior on
11087 multi-monitor setups in docstrings.
11088 (w32-display-monitor-attributes-list): Declare function.
11089 (display-monitor-attributes-list): Use it.
11090
864c58ca
MA
110912013-07-04 Michael Albinus <michael.albinus@gmx.de>
11092
11093 * filenotify.el: New package.
11094
11095 * autorevert.el (top): Require filenotify.el.
11096 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
11097 instead.
11098 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11099 (auto-revert-notify-handler): Use `file-notify-*' functions.
11100
11101 * subr.el (file-notify-handle-event): Move function to filenotify.el.
11102
321e1a9c
SM
11103 * net/tramp.el (tramp-file-name-for-operation):
11104 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
11105
11106 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
11107 for `file-notify-add-watch' and `file-notify-rm-watch'.
11108 (tramp-process-sentinel): Improve trace.
11109 (tramp-sh-handle-file-notify-add-watch)
11110 (tramp-sh-file-notify-process-filter)
11111 (tramp-sh-handle-file-notify-rm-watch)
11112 (tramp-get-remote-inotifywait): New defuns.
11113
96673afe
JL
111142013-07-03 Juri Linkov <juri@jurta.org>
11115
11116 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
11117 call of `occur-read-primary-args' to interactive spec.
11118
11119 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
11120 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
11121
924494f4
MM
111222013-07-03 Matthias Meulien <orontee@gmail.com>
11123
11124 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
11125 `Buffer-menu-multi-occur'. Add it to the menu.
11126 (Buffer-menu-mode): Document it in docstring.
11127 (Buffer-menu-multi-occur): New command. (Bug#14673)
11128
56f75efc
DG
111292013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11130
11131 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
11132 keywords and built-ins.
11133
9b057d61
GM
111342013-07-03 Glenn Morris <rgm@gnu.org>
11135
208dee4d
GM
11136 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
11137
9b057d61
GM
11138 Make info-xref checks case-sensitive by default
11139 * info.el (Info-find-node, Info-find-in-tag-table)
11140 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
11141 Add option for exact case matching of nodes.
11142 * info-xref.el (info-xref): New custom group.
11143 (info-xref-case-fold): New option.
11144 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
11145
e01aa29c
LL
111462013-07-03 Leo Liu <sdl.web@gmail.com>
11147
11148 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
11149
3086ca2e
DG
111502013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11151
11152 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
11153 middle of block statement initially, lower the depth. Remove
11154 FIXME comment, not longer valid. Remove middle of block statement
11155 detection, no need to do that anymore since we've been using
11156 `ruby-parse-region' here.
11157
a3b49114
JD
111582013-07-02 Jan Djärv <jan.h.d@swipnet.se>
11159
11160 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
11161
08e5c823 111622013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
11163
11164 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
11165
2addf922
JB
111662013-07-01 Juanma Barranquero <lekktu@gmail.com>
11167
11168 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
11169 (desktop-restore-in-current-display): New customization option.
11170 (desktop--excluded-frame-parameters): Add `font'.
11171 (desktop--save-frames): Rename from desktop--save-windows.
11172 (desktop--restore-in-this-display-p): New function.
11173 (desktop--make-full-frame): Remove unwanted width/height from
11174 full(width|height) frames.
11175 (desktop--restore-frames): Rename from desktop--restore-windows.
11176 Obey desktop-restore-current-display. Do not delete old frames or
11177 select a new frame unless we were able to restore at least one frame.
11178
ef099a94
MN
111792013-06-30 Michal Nazarewicz <mina86@mina86.com>
11180
11181 * files.el (find-file-noselect): Simplify conditional expression.
11182
a12bf61e 11183 * textmodes/remember.el (remember-append-to-file):
ef099a94
MN
11184 Don't mix `find-buffer-visiting' and `get-file-buffer'.
11185
11186 Add `remember-notes' function to store random notes across Emacs
11187 restarts.
3fcfc4ee
JB
11188 * textmodes/remember.el (remember-data-file): Add :set callback to
11189 affect notes buffer (if any).
ef099a94
MN
11190 (remember-notes): New command.
11191 (remember-notes-buffer-name, bury-remember-notes-on-kill):
11192 New defcustoms for the `remember-notes' function.
11193 (remember-notes-save-and-bury-buffer): New command.
11194 (remember-notes-mode-map): New variable.
11195 (remember-mode): New minor mode.
11196 (remember-notes--kill-buffer-query): New function.
11197 * startup.el (initial-buffer-choice): Add notes to custom type.
11198
0865d506
EZ
111992013-06-30 Eli Zaretskii <eliz@gnu.org>
11200
0ba54312
EZ
11201 * bindings.el (right-char, left-char): Don't call sit-for, this is
11202 no longer needed. Use arithmetic comparison only for numerical
11203 arguments.
11204
ef099a94
MN
11205 * international/mule-cmds.el (select-safe-coding-system):
11206 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 11207
2fae38e5
LMI
112082013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11209
11210 * net/shr.el (shr-make-table-1): Add a sanity check that allows
11211 progression on degenerate tables.
ef099a94 11212 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 11213
a47cbd64
JB
112142013-06-30 Juanma Barranquero <lekktu@gmail.com>
11215
11216 Some fixes and improvements for desktop frame restoration.
11217 It is still experimental and disabled by default.
11218 * desktop.el (desktop--save-windows): Put the selected frame at
11219 the head of the list.
11220 (desktop--make-full-frame): New function.
11221 (desktop--restore-windows): Try to re-select the frame that was
11222 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
11223 just show an error message and continue. Set up maximized frames
11224 so they have default non-maximized dimensions.
a47cbd64 11225
6dbafa30
DG
112262013-06-30 Dmitry Gutov <dgutov@yandex.ru>
11227
ef099a94
MN
11228 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
11229 Don't start heredoc inside a string or comment.
6dbafa30 11230
4c672a0f
EZ
112312013-06-29 Eli Zaretskii <eliz@gnu.org>
11232
11233 * bindings.el (visual-order-cursor-movement): New defcustom.
11234 (right-char, left-char): Provide visual-order cursor motion by
11235 calling move-point-visually. Update the doc strings.
11236
50960f36
KH
112372013-06-28 Kenichi Handa <handa@gnu.org>
11238
11239 * international/mule.el (define-coding-system): New coding system
11240 properties :inhibit-null-byte-detection,
11241 :inhibit-iso-escape-detection, and :prefer-utf-8.
11242 (set-buffer-file-coding-system): If :charset-list property of
11243 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
11244 appropriate for setting.
11245
c1ea3abf
JB
11246 * international/mule-cmds.el (select-safe-coding-system):
11247 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
11248 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
11249
11250 * international/mule-conf.el (prefer-utf-8): New coding system.
11251 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
11252 files.
11253
75dbaf9d
IK
112542013-06-28 Ivan Kanis <ivan@kanis.fr>
11255
eadb6068
IK
11256 * net/shr.el (shr-render-region): New function.
11257
75dbaf9d
IK
11258 * net/eww.el: Autoload `eww-browse-url'.
11259
9ea5cf9f
DG
112602013-06-27 Dmitry Gutov <dgutov@yandex.ru>
11261
c1ea3abf
JB
11262 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11263 Adapt to `package-desc-version' being a list.
11264 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
11265 archive element.
11266
39c0e36f
JB
112672013-06-27 Juanma Barranquero <lekktu@gmail.com>
11268
11269 New experimental feature to save&restore window and frame setup.
11270 * desktop.el (desktop-save-windows): New defcustom.
11271 (desktop--saved-states): New var.
11272 (desktop--excluded-frame-parameters): New defconst.
11273 (desktop--filter-frame-parms, desktop--find-frame-in-display)
11274 (desktop--restore-windows, desktop--save-windows): New functions.
11275 (desktop-save): Call `desktop--save-windows'.
11276 (desktop-read): Call `desktop--restore-windows'.
11277
7f13406b
LMI
112782013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11279
ef099a94 11280 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 11281
1e072639
SB
112822013-06-27 Stephen Berman <stephen.berman@gmx.net>
11283
11284 * info.el (Info-try-follow-nearest-node): Move search for footnote
11285 above search for node name to prevent missing a footnote (bug#14717).
11286
f3e2cbde
SB
112872013-06-27 Stephen Berman <stephen.berman@gmx.net>
11288
11289 * obsolete/otodo-mode.el: Add obsolescence info to file header.
11290
99906aa0
LL
112912013-06-27 Leo Liu <sdl.web@gmail.com>
11292
11293 * net/eww.el (eww-read-bookmarks): Check file size.
11294
539f75f4
SM
112952013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11296
11297 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
11298 advice--pending if newdef is nil or an autoload (bug#13820).
11299 (advice-mapc): New function.
11300
843571cb
LMI
113012013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11302
11303 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
11304 probably.
23a75d7f 11305 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
11306 (eww-add-bookmark): New command.
11307 (eww-bookmark-mode): New mode and commands.
a285ce99 11308 (eww-add-bookmark): Remove newlines from the title.
47fd571b 11309 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 11310
f2136e1e
GM
113112013-06-26 Glenn Morris <rgm@gnu.org>
11312
eab35f39
GM
11313 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
11314 (hfy-size): Handle ttys. (Bug#14668)
11315
f2136e1e
GM
11316 * info-xref.el: Update for Texinfo 5 change in *note format.
11317 (info-xref-node-re, info-xref-note-re): New constants.
11318 (info-xref-check-buffer): Use info-xref-note-re.
11319
a49ff80c
SM
113202013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11321
a343d218
SM
11322 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
11323
a49ff80c
SM
11324 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
11325 nil terminate the loop (bug#14718).
11326
8308f184
LMI
113272013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11328
11329 * net/eww.el: Rework history traversal. When going forward/back,
11330 put these actions into the history, too, so that they can be
11331 replayed.
26bf2b82 11332 (eww-render): Move the history reset to the correct buffer.
8308f184 11333
ec64c273
JL
113342013-06-25 Juri Linkov <juri@jurta.org>
11335
11336 * files-x.el (modify-dir-local-variable): Change the header comment
11337 in the file with directory local variables. (Bug#14692)
11338
e080a9d7
JL
11339 * files-x.el (read-file-local-variable-value): Add `default'.
11340 (Bug#14710)
11341
bfbc93a1
IK
113422013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11343
11344 * net/eww.el (eww-make-unique-file-name): Create a unique file
11345 name before saving to entering `y' accidentally asynchronously.
11346
113472013-06-25 Ivan Kanis <ivan@kanis.fr>
11348
11349 * net/eww.el (eww-download): New command and keystroke.
11350
16f74f10
LMI
113512013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11352
a49ff80c 11353 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
11354
11355 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
11356 be more consistent with Info and dired.
11357
11358 * net/eww.el (eww-mode-map): Ditto.
11359
12059709
SM
113602013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11361
11362 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
11363 packages from archives.
11364 (package-archive-contents): Change format; include obsolete packages.
11365 (package-desc): Use `dir' to mark builtin packages.
11366 (package--from-builtin): Set the `dir' field to `builtin'.
11367 (generated-autoload-file, version-control): Declare.
11368 (package-compute-transaction): Change first arg and return value to be
11369 lists of package-descs. Adjust to new package-archive-contents format.
11370 (package--add-to-archive-contents): Adjust to new
11371 package-archive-contents format.
11372 (package-download-transaction): Arg is now a list of package-descs.
11373 (package-install): If `pkg' is a package name, pass it as
11374 a requirement, so it is subject to the usual (e.g. disabled) checks.
11375 (describe-package): Accept package-desc as well.
11376 (describe-package-1): Describe a specific package-desc. Add links to
11377 other package-descs for the same package name.
11378 (package-menu-describe-package): Pass the actual package-desc.
11379 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
11380 works correctly.
11381 (package-desc-status): New function.
11382 (package-menu--refresh): New function, extracted
11383 from package-menu--generate.
11384 (package-menu--generate): Use it.
11385 (package-delete): Update package-alist.
11386 (package-menu-execute): Don't call package-initialize.
11387
11388 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
11389 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
11390 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
11391 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
11392 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
11393 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
11394
8bbdea0f
MR
113952013-06-25 Martin Rudalics <rudalics@gmx.at>
11396
11397 * window.el (window--state-get-1): Workaround for bug#14527.
11398 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
11399
e82b0991
LMI
114002013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11401
11402 * net/eww.el (eww-back-url): Implement the history by stashing all
11403 the data into a list.
d3f0f918 11404 (eww-forward-url): Allow going forward in the history, too.
e82b0991 11405
c763842b
SM
114062013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11407
11408 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
11409 for values and use read--expression for expressions (bug#14710).
11410 (read-file-local-variable): Avoid setq.
11411 (read-file-local-variable-mode): Use minor-mode-list.
11412
bceff189
RW
114132013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11414
864c58ca 11415 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
11416 for DOI URLs.
11417
45f431c6
RW
114182013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11419
864c58ca 11420 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
11421 Update imenu-support when dialect changes.
11422
f42d8237
LL
114232013-06-25 Leo Liu <sdl.web@gmail.com>
11424
11425 * ido.el (ido-read-internal): Allow forward slash on windows.
11426
be549ce6
LMI
114272013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
11428
11429 * net/eww.el (eww): Start of strings is \\`, not ^.
11430
71d4c19d
IK
114312013-06-24 Ivan Kanis <ivan@kanis.fr>
11432
5196f88a
IK
11433 * net/shr.el (shr-browse-url): Fix interactive spec.
11434
71d4c19d
IK
11435 * net/eww.el (eww): Add a trailing slash to domain names.
11436
ae36ca55
JB
114372013-06-24 Juanma Barranquero <lekktu@gmail.com>
11438
11439 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
11440
0ebd92a3
LMI
114412013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
11442
bdaa086b
LMI
11443 * net/shr.el (shr-browse-url): Use an external browser if given a
11444 prefix.
11445
c763842b 11446 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 11447
b89fc156
IK
114482013-06-24 Ivan Kanis <ivan@kanis.fr>
11449
11450 * net/eww.el (eww): Work more correctly for file: URLs.
11451 (eww-detect-charset): Allow quoted charsets.
11452 (eww-yank-page-url): New command and keystroke.
11453
18eb4bca
DU
114542013-06-24 Daiki Ueno <ueno@gnu.org>
11455
11456 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
11457 file name of gpg executable.
11458 (epg-context-program): New function.
11459 (epg-context-home-directory): New function.
11460 (epg-context-set-program): New function.
11461 (epg-context-set-home-directory): New function.
11462 (epg--start): Use `epg-context-program' instead of
11463 'epg-gpg-program'.
11464 (epg--list-keys-1): Likewise.
11465
6c6268c8
LL
114662013-06-24 Leo Liu <sdl.web@gmail.com>
11467
11468 * ido.el (ido-read-internal): Fix bug#14620.
11469
5e400cb3
JB
114702013-06-23 Juanma Barranquero <lekktu@gmail.com>
11471
11472 * faces.el (face-documentation): Simplify.
11473 (read-face-attribute, tty-find-type, x-resolve-font-name):
11474 Use `string-match-p'.
11475 (list-faces-display): Use `string-match-p'. Simplify.
11476 (face-spec-recalc): Check face to avoid face alias loops.
11477 (read-color): Use `string-match-p' and non-capturing parenthesis.
11478
f3f9606c
LMI
114792013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
11480
11481 * net/shr.el (shr-rescale-image): Use the new
11482 :max-width/:max-height functionality.
11483
a3ca09b9
IK
114842013-06-23 Ivan Kanis <ivan@kanis.fr>
11485
11486 * net/eww.el (eww-search-prefix): New variable.
11487 (eww): Use it.
f865b474
IK
11488 (eww-external-browser): New variable.
11489 (eww-mode-map): New keystroke.
11490 (eww-browse-with-external-browser): New command.
a3ca09b9 11491
e854cfc7
IK
11492 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
11493
18bb9e21
JB
114942013-06-23 Juanma Barranquero <lekktu@gmail.com>
11495
11496 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
11497 Don't skip aligning the next header field when padding is 0;
11498 otherwise, field width is not respected unless the title is as
11499 wide as the field.
11500
5b165ade
SM
115012013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11502
11503 * emacs-lisp/package.el (package-el-version): Remove.
11504 (package-process-define-package): Fix inf-loop.
11505 (package-install): Allow symbols as arguments again.
11506
12adebe9
DG
115072013-06-22 Dmitry Gutov <dgutov@yandex.ru>
11508
11509 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
11510 add some more keyword-like methods.
11511 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
11512
388573ee
JB
115132013-06-22 Juanma Barranquero <lekktu@gmail.com>
11514
11515 * bs.el (bs-buffer-show-mark): Make defvar-local.
11516 (bs-mode): Use setq-local.
11517
11518 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
11519 (emacs-lock--try-unlocking): Make defvar-local.
11520
4582a01c 115212013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 11522
2663dd23
GM
11523 * play/cookie1.el (cookie-apropos): Minor simplification.
11524
3d94f3ad
GM
11525 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
11526
f72e2fdb
DG
115272013-06-22 Dmitry Gutov <dgutov@yandex.ru>
11528
11529 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
11530 `regexp-opt', it breaks the build during dumping.
11531
73eab938
DG
115322013-06-21 Dmitry Gutov <dgutov@yandex.ru>
11533
c763842b
SM
11534 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11535 Highlight keyword-like methods on Kernel and Module with
73eab938 11536 font-lock-builtin-face.
5cf8176d
DG
11537 (auto-mode-alist): Consolidate different entries into one regexp
11538 and add more *file-s.
73eab938 11539
d26255f6
SB
115402013-06-21 Stephen Berman <stephen.berman@gmx.net>
11541
11542 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
11543
11544 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
11545 (diary-entry): Use it in the action of this button type instead of
11546 diary-goto-entry.
11547
11548 * calendar/todo-mode.el: New version.
11549 (todo-add-category): Append new category to end of file and give
11550 it the highest number, instead of putting it at the beginning and
11551 giving it 0. Incorporate noninteractive functionality.
11552 (todo-forward-category): Adapt to 1-based category numbering.
11553 Allow skipping over archived categories.
11554 (todo-backward-category): Derive from todo-forward-category.
11555 (todo-backward-item, todo-forward-item): Make noninteractive and
11556 delegate interactive part to new commands. Make sensitive to done items.
11557 (todo-categories): Make value an alist of category names and
11558 vectors of item counts.
11559 (todo-category-beg): Make a defconst.
11560 (todo-category-number): Use 1 instead of 0 as initial value.
11561 (todo-category-select): Make sensitive to overlays, optional item
11562 highlighting and done items.
11563 (todo-delete-item): Make sensitive to overlays and marked and done items.
11564 (todo-edit-item): Make sensitive to overlays and editing of
11565 date/time header optional. Add format checks.
11566 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
11567 no-op if point is not on an item. Advertise using todo-edit-quit.
11568 (todo-edit-mode): Make sensitive to new format, font-locking, and
11569 multiple todo files.
11570 (todo-insert-item, todo-insert-item-here): Derive from
11571 todo-basic-insert-item and extend functionality.
11572 (todo-item-end, todo-item-start): Make sensitive to done items.
11573 (todo-item-string): Don't return text properties. Restore point.
11574 (todo-jump-to-category): Make sensitive to multiple todo files and
11575 todo archives. Use extended category completion.
11576 (todo-lower-item, todo-raise-item): Rename to *-priority and
11577 derive from todo-set-item-priority.
11578 (todo-mode): Derive from special-mode. Make sensitive to new
11579 format, font-locking and multiple todo files. Make read-only.
11580 (todo-mode-map): Don't suppress digit keys, so they can supply
11581 prefix arguments. Add many new key bindings.
11582 (todo-prefix): Insert as an overlay instead of file text.
11583 Change semantics from diary date expression to purely visual mark.
11584 (todo-print): Rename to todo-print-buffer. Make buffer display
11585 features printable. Remove option to restrict number of items
11586 printed. Add option to print to file.
11587 (todo-print-function): Rename to todo-print-buffer-function.
11588 (todo-quit): Extend to handle exiting new todo modes.
11589 (todo-remove-item): Make sensitive to overlays.
11590 (todo-save): Extend to buffers of filtered items.
11591 (todo-show): Make sensitive to done items, multiple todo files and
11592 new todo modes. Offer to convert legacy todo file before creating
11593 first new todo file.
11594 (todo-show-priorities): Rename to todo-top-priorities.
11595 Change semantics of value 0.
11596 (todo-top-priorities): Rename to todo-filter-top-priorities,
11597 derive from todo-filter-items and extend functionality.
11598 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
11599 and extend functionality to other types of filtered items.
11600 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
11601 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
11602 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
11603 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
11604 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
11605 (todo-edit-mode-hook, todo-entry-prefix-function)
11606 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
11607 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
11608 (todo-initials, todo-insert-threshold, todo-item-string-start)
11609 (todo-line-string, todo-menu, todo-mode-hook)
11610 (todo-more-important-p, todo-previous-answer, todo-previous-line)
11611 (todo-print-priorities, todo-remove-separator)
11612 (todo-save-top-priorities-too, todo-string-count-lines)
11613 (todo-string-multiline-p, todo-time-string-format)
11614 (todo-tmp-buffer-name): Remove.
11615 (todo-add-file, todo-archive-done-item, todo-choose-archive)
11616 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
11617 (todo-edit-category-diary-inclusion)
11618 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
11619 (todo-edit-file, todo-edit-item-date-day)
11620 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
11621 (todo-edit-item-date-month, todo-edit-item-date-to-today)
11622 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
11623 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
11624 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
11625 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
11626 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
11627 (todo-filter-top-priorities-multifile, todo-find-archive)
11628 (todo-find-filtered-items-file, todo-go-to-source-item)
11629 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
11630 (todo-jump-to-archive-category, todo-lower-category)
11631 (todo-mark-category, todo-marked-item-p, todo-merge-category)
11632 (todo-move-category, todo-move-item, todo-next-button)
11633 (todo-next-item, todo-padded-string, todo-powerset)
11634 (todo-previous-button, todo-previous-item)
11635 (todo-print-buffer-to-file, todo-raise-category)
11636 (todo-rename-category, todo-repair-categories-sexp, todo-search)
11637 (todo-set-category-number, todo-set-item-priority)
11638 (todo-set-top-priorities-in-category)
11639 (todo-set-top-priorities-in-file, todo-show-categories-table)
11640 (todo-sort-categories-alphabetically-or-numerically)
11641 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
11642 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
11643 (todo-toggle-item-header, todo-toggle-item-highlighting)
11644 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
11645 (todo-toggle-view-done-items, todo-toggle-view-done-only)
11646 (todo-unarchive-items, todo-unmark-category): New commands.
11647 (todo-absolute-file-name, todo-add-to-buffer-list)
11648 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
11649 (todo-basic-insert-item, todo-category-completions)
11650 (todo-category-number, todo-category-string-matcher-1)
11651 (todo-category-string-matcher-2, todo-check-filtered-items-file)
11652 (todo-check-format, todo-clear-matches)
11653 (todo-comment-string-matcher, todo-convert-legacy-date-time)
11654 (todo-current-category, todo-date-string-matcher)
11655 (todo-define-insertion-command, todo-diary-expired-matcher)
11656 (todo-diary-goto-entry, todo-diary-item-p)
11657 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
11658 (todo-display-categories, todo-display-sorted, todo-done-item-p)
11659 (todo-done-item-section-p, todo-done-separator)
11660 (todo-done-string-matcher, todo-files, todo-filter-items)
11661 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
11662 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
11663 (todo-insert-category-line, todo-insert-item-from-calendar)
11664 (todo-insert-sort-button, todo-insert-with-overlays)
11665 (todo-insertion-command-name, todo-insertion-key-bindings)
11666 (todo-label-to-key, todo-longest-category-name-length)
11667 (todo-make-categories-list, todo-mode-external-set)
11668 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
11669 (todo-modes-set-3, todo-multiple-filter-files)
11670 (todo-nondiary-marker-matcher, todo-prefix-overlays)
11671 (todo-read-category, todo-read-date, todo-read-dayname)
11672 (todo-read-file-name, todo-read-time)
11673 (todo-reevaluate-category-completions-files-defcustom)
11674 (todo-reevaluate-default-file-defcustom)
11675 (todo-reevaluate-filelist-defcustoms)
11676 (todo-reevaluate-filter-files-defcustom)
11677 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
11678 (todo-reset-done-separator, todo-reset-done-separator-string)
11679 (todo-reset-done-string, todo-reset-global-current-todo-file)
11680 (todo-reset-highlight-item, todo-reset-nondiary-marker)
11681 (todo-reset-prefix, todo-set-categories)
11682 (todo-set-date-from-calendar, todo-set-show-current-file)
11683 (todo-set-top-priorities, todo-short-file-name)
11684 (todo-show-current-file, todo-sort, todo-time-string-matcher)
11685 (todo-total-item-counts, todo-update-buffer-list)
11686 (todo-update-categories-display, todo-update-categories-sexp)
11687 (todo-update-count, todo-validate-name, todo-y-or-n-p):
11688 New functions.
11689 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
11690 New major modes.
11691 (todo-categories, todo-display, todo-edit, todo-faces)
11692 (todo-filtered): New defgroups.
11693 (todo-archived-only, todo-button, todo-category-string, todo-date)
11694 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
11695 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
11696 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
11697 (todo-add-item-if-new-category, todo-always-add-time-string)
11698 (todo-categories-align, todo-categories-archived-label)
11699 (todo-categories-category-label, todo-categories-diary-label)
11700 (todo-categories-done-label, todo-categories-number-separator)
11701 (todo-categories-todo-label, todo-categories-totals-label)
11702 (todo-category-completions-files, todo-completion-ignore-case)
11703 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
11704 (todo-done-separator-string, todo-done-string)
11705 (todo-files-function, todo-filter-done-items, todo-filter-files)
11706 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
11707 (todo-initial-category, todo-initial-file, todo-item-mark)
11708 (todo-legacy-date-time-regexp, todo-mode-line-function)
11709 (todo-nondiary-marker, todo-number-prefix)
11710 (todo-print-buffer-function, todo-show-current-file)
11711 (todo-show-done-only, todo-show-first, todo-show-with-done)
11712 (todo-skip-archived-categories, todo-top-priorities-overrides)
11713 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
11714 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
11715 New defcustoms.
11716 (todo-category-done, todo-date-pattern, todo-date-string-start)
11717 (todo-diary-items-buffer, todo-done-string-start)
11718 (todo-filtered-items-buffer, todo-item-start)
11719 (todo-month-abbrev-array, todo-month-name-array)
11720 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
11721 (todo-top-priorities-buffer): New defconsts.
11722 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
11723 (todo-categories-with-marks, todo-category-string-face)
11724 (todo-comment-face, todo-comment-string, todo-current-todo-file)
11725 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
11726 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
11727 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
11728 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
11729 (todo-font-lock-keywords, todo-global-current-todo-file)
11730 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
11731 (todo-insertion-commands-args)
11732 (todo-insertion-commands-args-genlist)
11733 (todo-insertion-commands-names, todo-insertion-map)
11734 (todo-key-bindings-t, todo-key-bindings-t+a)
11735 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
11736 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
11737 (todo-nondiary-face, todo-print-buffer, todo-time-face)
11738 (todo-visited): New variables.
11739
cad5d1cb
GM
117402013-06-21 Glenn Morris <rgm@gnu.org>
11741
11742 * play/cookie1.el (cookie-apropos): Add optional display argument.
11743 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
11744 (psychoanalyze-pinhead): Use cookie-doctor.
11745
9e277302
JB
117462013-06-21 Juanma Barranquero <lekktu@gmail.com>
11747
11748 * emacs-lisp/package.el (tar-get-file-descriptor)
11749 (tar--extract): Declare.
11750
c5b0993e
EW
117512013-06-21 Eduard Wiebe <usenet@pusto.de>
11752
11753 Extend flymake's warning predicate to be a function (bug#14217).
11754 * progmodes/flymake.el (flymake-warning-predicate): New.
11755 (flymake-parse-line): Use it.
11756 (flymake-warning-re): Make obsolete alias to
11757 `flymake-warning-predicate'.
11758
a7d2d465
SM
117592013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11760
11761 * emacs-lisp/package.el (package-alist): Include obsolete packages.
11762 (package-obsolete-list): Remove.
11763 (package-activate): Remove min-version argument. Add `force' argument.
11764 Adjust to new package-alist format.
11765 (package-mark-obsolete): Remove.
11766 (package-unpack): Force reload of the package's autoloads.
11767 (package-installed-p): Check builtins if the installed package is not
11768 recent enough.
11769 (package-initialize): Don't reset package-obsolete-list.
11770 Don't specify which package version to activate.
11771 (package-process-define-package, describe-package-1)
11772 (package-menu--generate): Adjust to new package-alist format.
11773
cedf5c9d
JB
117742013-06-21 Juanma Barranquero <lekktu@gmail.com>
11775
11776 * allout-widgets.el (allout-widgets-mode-off)
11777 (allout-widgets-mode-on, allout-widgets-pre-command-business)
11778 (allout-widgets-post-command-business)
11779 (allout-widgets-after-copy-or-kill-function)
11780 (allout-widgets-after-undo-function, allout-test-range-overlaps)
11781 (allout-decorate-item-and-context)
11782 (allout-graphics-modification-handler): Fix typos in docstrings.
11783 (allout-get-or-create-parent-widget): Use `looking-at-p'.
11784
11785 * cmuscheme.el (scheme-start-file): Doc fix.
11786 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
11787 (scheme-input-filter): Use `string-match-p'.
11788
11789 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
11790
11791 * dired-x.el: Use Dired consistently in docstrings.
11792
11793 * dired.el: Use Dired consistently in docstrings.
11794 (dired-readin, dired-mode): Use `setq-local'.
11795 (dired-switches-alist): Make defvar-local.
11796 (dired-buffers-for-dir): Use `zerop'.
11797 (dired-safe-switches-p, dired-switches-escape-p)
11798 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
11799 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
35e951cd 11800 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
cedf5c9d
JB
11801 (dired-goto-next-nontrivial-file): Use `string-match-p'.
11802 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
11803 (dired-toggle-marks, dired-mark-files-containing-regexp)
11804 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
11805 (dired-flag-auto-save-files, dired-flag-backup-files):
11806 Use `looking-at-p'.
11807 (dired-mark-files-regexp, dired-build-subdir-alist):
11808 Use `string-match-p', `looking-at-p'.
11809
11810 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
11811 (direct-print-region-helper): Use `string-match-p'.
11812
aed838b5
LL
118132013-06-21 Leo Liu <sdl.web@gmail.com>
11814
cedf5c9d
JB
11815 * comint.el (comint-redirect-results-list-from-process):
11816 Fix infinite loop.
aed838b5 11817
d80a808f
LMI
118182013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11819
11820 * net/eww.el (eww-update-header-line-format): Quote % characters.
11821
e7a526e3
GM
118222013-06-21 Glenn Morris <rgm@gnu.org>
11823
11824 * play/cookie1.el (cookie): New custom group.
11825 (cookie-file): New option.
11826 (cookie-check-file): New function.
11827 (cookie): Make it interactive. Make start and end messages optional.
11828 Interactively, display the result. Default to cookie-file.
11829 (cookie-insert): Default to cookie-file.
11830 (cookie-snarf): Make start and end messages optional.
11831 Default to cookie-file. Use with-temp-buffer.
11832 (cookie-read): Rename from read-cookie.
11833 Make start and end messages optional. Default to cookie-file.
11834 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 11835 Do not autoload it.
e7a526e3
GM
11836 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
11837 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
11838
62efb35e
LL
118392013-06-21 Leo Liu <sdl.web@gmail.com>
11840
11841 * progmodes/octave.el (octave-mode): Backward compatibility fix.
11842
21e3f963
GM
118432013-06-21 Glenn Morris <rgm@gnu.org>
11844
11845 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
11846
fd846ab4
SM
118472013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11848 Daniel Hackney <dan@haxney.org>
11849
11850 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
11851 Consolidate the single-file vs tarball code.
11852 (package-desc-suffix): New function.
11853 (package-desc-full-name): Don't bother inlining it.
11854 (package-load-descriptor): Return the new package-desc.
11855 (package-mark-obsolete): Remove unused arg `package'.
11856 (package-unpack): Make it work for single files as well.
11857 Make it update package-alist.
11858 (package--make-autoloads-and-stuff): Rename from
11859 package--make-autoloads-and-compile. Don't compile any more.
11860 (package--compile): New function.
11861 (package-generate-description-file): New function, extracted from
11862 package-unpack-single.
11863 (package-unpack-single): Remove.
11864 (package--with-work-buffer): Add indentation and debugging info.
11865 (package-download-single): Remove.
11866 (package-install-from-archive): Rename from package-download-tar, make
11867 it take a pkg-desc, and make it work for single files as well.
11868 (package-download-transaction): Simplify.
11869 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
11870 external tar program.
11871 (package-install-from-buffer): Remove `pkg-desc' argument.
11872 Use package-tar-file-info for tar-mode buffers.
11873 (package-install-file): Simplify accordingly.
11874 (package-archive-base): Change to take a pkg-desc.
11875 * tar-mode.el (tar--check-descriptor): New function, extracted from
11876 tar-get-descriptor.
11877 (tar-get-descriptor): Use it.
11878 (tar-get-file-descriptor): New function.
11879 (tar--extract): New function, extracted from tar-extract.
11880 (tar--extract): Use it.
11881 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
11882 case the summary uses non-ascii. Adjust to new calling convention of
11883 package-tar-file-info.
11884
b7deae5e
LL
118852013-06-21 Leo Liu <sdl.web@gmail.com>
11886
fd846ab4
SM
11887 * comint.el (comint-redirect-results-list-from-process):
11888 Fix random delay. (Bug#14681)
b7deae5e 11889
7a65a0b2
JB
118902013-06-21 Juanma Barranquero <lekktu@gmail.com>
11891
11892 * profiler.el (profiler-format-number): Use log, not log10.
11893
1493c2af
JB
118942013-06-20 Juanma Barranquero <lekktu@gmail.com>
11895
11896 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
11897
aff6371e
SM
118982013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
11899
11900 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
11901 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
11902 yet available.
11903 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
11904 (AUTOGENEL): ... here.
11905 * emacs-lisp/cl-macs.el (cl--sublis): New function.
11906 (cl--defsubst-expand): Use it.
11907
89561f72
PE
119082013-06-20 Paul Eggert <eggert@cs.ucla.edu>
11909
11910 * subr.el (log10): Move here from C code, and declare as obsolete.
11911 All uses of (log10 X) replaced with (log X 10).
11912
47199123
JB
119132013-06-20 Juanma Barranquero <lekktu@gmail.com>
11914
11915 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
11916 Declare with `defvar-local'.
11917 (tabulated-list-use-header-line, tabulated-list-entries)
11918 (tabulated-list-padding, tabulated-list-printer)
11919 (tabulated-list-sort-key): Declare with `defvar-local'.
11920 (tabulated-list-init-header, tabulated-list-print-fake-header):
11921 Use `setq-local'.
11922
4a172eab
MA
119232013-06-20 Michael Albinus <michael.albinus@gmx.de>
11924
47199123
JB
11925 * arc-mode.el (archive-mode): Add `archive-write-file' to
11926 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 11927
5fc0acc0
JB
119282013-06-20 Juanma Barranquero <lekktu@gmail.com>
11929
d5b27848
JB
11930 * cus-edit.el (custom-commands): Fix typos.
11931 (custom-display): Fix tooltip text.
11932 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
11933 Fix typos in docstrings.
11934 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
11935 (custom-unlispify-menu-entry, custom-magic-value-create)
11936 (custom-add-see-also, custom-group-value-create): Use ?\s.
11937 (custom-guess-type, customize-apropos, editable-field)
11938 (custom-face-value-create): Use `string-match-p'.
11939 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
11940
11941 * custom.el (custom-load-symbol): Use `string-match-p'.
11942
a5c581d8
JB
11943 * ansi-color.el: Convert to lexical binding.
11944 (ansi-colors): Fix URL.
11945 (ansi-color-context, ansi-color-context-region): Use defvar-local.
11946 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
11947 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
11948
970ad972
G
119492013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11950
11951 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
11952
11953 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
11954
119552013-06-19 Tom Tromey <tromey@redhat.com>
11956
11957 * net/eww.el (eww-top-url): Remove.
11958 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
11959 (eww-render): Set new variables. Don't set eww-top-url.
11960 (eww-handle-link): Handle "prev", "home", and "contents".
11961 Downcase the rel text.
11962 (eww-top-url): Choose best top URL.
11963
119642013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11965
11966 * net/eww.el: Rewrite to implement form elements "by hand" instead of
11967 relying in widget.el. Using widget.el leads to too many
11968 user interface inconsistencies.
11969 (eww-self-insert): Implement entering commands in text fields.
11970 (eww-process-text-input): New function to make text input field editing
11971 work.
11972 (eww-submit): Rewrite to use the new-style form methods.
11973 (eww-select-display): Display the correct selected item.
11974 (eww-change-select): Implement changing the select value.
11975 (eww-toggle-checkbox): Implement radio/checkboxes.
11976 (eww-update-field): Fix compilation error.
11977 (eww-tag-textarea): Implement <textarea>.
11978
11979 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
11980 we don't shadow mode-specific bindings.
11981
11982 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
11983 nothing to push.
11984
11985 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
11986
4582a01c 119872013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
11988
11989 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
11990
15b263dc
MA
119912013-06-19 Michael Albinus <michael.albinus@gmx.de>
11992
11993 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
11994 not needed.
11995
11996 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
11997
8f5297f7
LMI
119982013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11999
12000 * net/browse-url.el (browse-url-browser-function):
12001 `eww-browse-url' has the right calling signature, `eww' does not.
12002
011c4552
GM
120032013-06-19 Glenn Morris <rgm@gnu.org>
12004
2285bd27
GM
12005 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
12006 Only eval autoloaded macros.
12007 (byte-compile-autoload): Only give the macro warning for macros.
12008
1d653303
GM
12009 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
12010 (ps-underlined-faces): Declare.
12011
bdd779ec
GM
12012 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
12013 (speedbar-add-supported-extension): Declare.
12014
011c4552
GM
12015 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
12016 Don't include a date stamp in the header of the generated file;
12017 it leads to needless differences between output files.
12018
e59dfb0e
MA
120192013-06-19 Michael Albinus <michael.albinus@gmx.de>
12020
c763842b
SM
12021 * net/secrets.el (secrets-struct-secret-content-type):
12022 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 12023 Some servers do not offer introspection.
e59dfb0e 12024
102626e2
SM
120252013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
12026
12027 * electric.el (electric-pair-mode): Improve interaction with
12028 electric-layout-mode.
12029 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
12030 (electric-pair-syntax): Use text-mode-syntax-table in comments
12031 and strings.
12032 (electric-pair--insert): New function.
12033 (electric-pair-post-self-insert-function): Use it and
12034 electric--after-char-pos.
12035
ad528125
LL
120362013-06-19 Leo Liu <sdl.web@gmail.com>
12037
12038 * progmodes/octave.el (octave-help): Fix regexp.
12039
924d6997
G
120402013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
12041
12042 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
12043 (shr-table-horizontal-line): Allow nil as a value, and change the
12044 default.
12045 (shr-insert-table-ruler): Respect the nil value.
12046
120472013-06-18 Tom Tromey <tromey@barimba>
12048
12049 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12050 New defvars.
12051 (eww-open-file): New defun.
12052 (eww-render): Initialize new variables.
12053 (eww-display-html): Handle "link" and "a".
12054 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
12055 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
12056 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
12057 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12058 New defuns.
924d6997 12059
d1bbba4f
DG
120602013-06-18 Dmitry Gutov <dgutov@yandex.ru>
12061
12062 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
12063 Distinguish ternary operator tokens from slash symbol and slash
12064 char literal.
12065
14dd22d2
JB
120662013-06-18 Juanma Barranquero <lekktu@gmail.com>
12067
12068 Convert symbol prettification into minor mode and global minor mode.
12069
12070 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
12071 `prog-prettify-symbols', and make a local defvar instead of defcustom.
12072 (prettify-symbols--keywords): Rename from
12073 `prog-prettify-symbols-alist' and make a local defvar.
12074 (prettify-symbols--compose-symbol): Rename from
12075 `prog--prettify-font-lock-compose-symbol'.
12076 (prettify-symbols--make-keywords): Rename from
12077 `prog-prettify-font-lock-symbols-keywords' and simplify.
12078 (prog-prettify-install): Remove.
12079 (prettify-symbols-mode): New minor mode, based on
12080 `prog-prettify-install'.
12081 (turn-on-prettify-symbols-mode): New function.
12082 (global-prettify-symbols-mode): New globalized minor mode.
12083
12084 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12085 * progmodes/cfengine.el (cfengine3-mode):
12086 * progmodes/perl-mode.el (perl-mode): Don't call
12087 `prog-prettify-install'; set `prettify-symbols-alist' instead.
12088
292c880c
JL
120892013-06-18 Juri Linkov <juri@jurta.org>
12090
12091 * files-x.el (modify-file-local-variable-message): New function.
12092 (modify-file-local-variable)
12093 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
12094 and call `modify-file-local-variable-message' when it's non-nil.
12095 (add-file-local-variable, delete-file-local-variable)
12096 (add-file-local-variable-prop-line)
12097 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
12098 and use it. (Bug#9820)
12099
0950aa27
JL
121002013-06-18 Juri Linkov <juri@jurta.org>
12101
12102 * emulation/vi.el (vi-shell-op):
12103 * emulation/vip.el (vip-execute-com, ex-command):
12104 * emulation/viper-cmd.el (viper-exec-bang):
12105 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
12106 the call of `shell-command-on-region'. (Bug#14637)
12107
12108 * simple.el (shell-command-on-region): Doc fix.
12109
8fbcca16
SM
121102013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12111
12112 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
12113 (bug#14633).
12114
dd7426ea
GM
121152013-06-18 Glenn Morris <rgm@gnu.org>
12116
4ba54f7d
GM
12117 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
12118
dd7426ea
GM
12119 * newcomment.el (comment-search-forward, comment-search-backward):
12120 Doc fix. (Bug#14376)
12121
58aa805b
JB
121222013-06-18 Juanma Barranquero <lekktu@gmail.com>
12123
12124 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
12125 (buffer-face-mode-invoke): Doc fix.
12126
9a08a617
MM
121272013-06-18 Matthias Meulien <orontee@gmail.com>
12128
12129 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 12130 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 12131
f2f426ca
GM
121322013-06-18 Glenn Morris <rgm@gnu.org>
12133
9445f99b
GM
12134 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
12135 Replace obsolete function generic-make-keywords with its expansion.
12136
e0df2d14
GM
12137 * progmodes/python.el (ffap-alist): Declare.
12138
f2f426ca
GM
12139 * textmodes/reftex.el (bibtex-mode-map): Declare.
12140
f7f9a720
SM
121412013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12142
12143 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
12144 (package-unpack, package-unpack-single): Return the pkg-dir.
12145 (package-download-transaction): Use it to update package-alist.
12146
57ff04e0
LMI
121472013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12148
12149 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
12150 possible choice.
12151
c048c022
JL
121522013-06-17 Juri Linkov <juri@jurta.org>
12153
12154 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
12155
b5bcaee5
DG
121562013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12157
a020afb9
JB
12158 * emacs-lisp/package.el (package-load-descriptor):
12159 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
12160 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
12161
551e07e5
JB
121622013-06-17 Juanma Barranquero <lekktu@gmail.com>
12163
12164 * startup.el (command-line): Expand package name returned by
12165 `package--description-file' (bug#14639).
12166
d363bffb
DG
121672013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12168
12169 * emacs-lisp/package.el (package-load-descriptor): Do not call
12170 `emacs-lisp-mode', just use its syntax table.
12171
f612933b
JB
121722013-06-17 Juanma Barranquero <lekktu@gmail.com>
12173
12174 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
12175 `font-lock-extra-managed-props' if any prettifying keyword is added.
12176 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
12177 (prog-mode): Use `setq-local'.
12178
db3b7db5
SM
121792013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
12180
12181 * international/characters.el (standard-case-table): Set syntax of ?»
12182 and ?« to punctuation.
12183
f3d674df
JB
121842013-06-16 Juanma Barranquero <lekktu@gmail.com>
12185
12186 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
12187 Save relevant match data before calling `syntax-ppss' (bug#14595).
12188
31489a32
JL
121892013-06-15 Juri Linkov <juri@jurta.org>
12190
12191 * files-x.el (modify-file-local-variable-prop-line): Add local
12192 variables to the end of the existing comment on the first line.
12193 Use `file-auto-mode-skip' to skip interpreter magic line,
12194 and also skip XML declaration.
12195
66bd25ab
SM
121962013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12197
12198 * startup.el (package--builtin-versions): New var.
12199 (package-subdirectory-regexp): Remove.
12200 (package--description-file): Hard code its value instead.
12201
12202 * emacs-lisp/package.el: Don't activate packages older than builtin.
12203 (package-obsolete-list): Rename from package-obsolete-alist, and make
12204 it into a simple list of package-desc.
12205 (package-strip-version): Remove.
12206 (package-built-in-p): Use package--builtin-versions.
12207 (package-mark-obsolete): Simplify.
12208 (package-process-define-package): Mark it obsolete if older than the
12209 builtin version.
12210 (package-handle-response): Use line-end-position.
12211 (package-read-archive-contents, package--download-one-archive):
12212 Simplify.
12213 (package--add-to-archive-contents): Skip if older than the builtin or
12214 installed version.
12215 (package-menu-describe-package): Fix last change.
12216 (package-list-unversioned): New var.
12217 (package-menu--generate): Use it.
12218
12219 * emacs-lisp/autoload.el: Manage package--builtin-versions.
12220 (autoload--insert-text, autoload--insert-cookie-text): New functions.
12221 (autoload-builtin-package-versions): New variable.
12222 (autoload-generate-file-autoloads): Use them.
12223 Remove the list of autoloaded functions/macros from the
12224 (autoload...) comments.
12225
12226 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
12227
9583ec36
EZ
122282013-06-15 Eli Zaretskii <eliz@gnu.org>
12229
12230 * simple.el (line-move-partial): Don't jump to the next screen
12231 line as soon as it becomes visible. Instead, continue enlarging
12232 the vscroll until the portion of a tall screen line that's left on
12233 display is about the height of the frame's default font.
12234 (Bug#14567)
12235
f0100d8a
GM
122362013-06-15 Glenn Morris <rgm@gnu.org>
12237
b86a85ca
GM
12238 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
12239 compilation-error-regexp-alist void, or local while let-bound.
12240
f0100d8a
GM
12241 * progmodes/make-mode.el (makefile-mode-syntax-table):
12242 Treat "=" as punctuation. (Bug#14614)
12243
05e7ce90
JB
122442013-06-15 Juanma Barranquero <lekktu@gmail.com>
12245
12246 * help-fns.el (describe-variable):
12247 Add extra line for permanent-local variables.
12248
12e5e86e
SH
122492013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
12250
12251 * progmodes/scheme.el (scheme-font-lock-keywords-2):
12252 Add export, import, library. (Bug#9164)
12253 (library): Set indent function.
12254
230dcbaf
GM
122552013-06-14 Glenn Morris <rgm@gnu.org>
12256
12257 * term/xterm.el (xterm--query):
12258 Stop after first matching handler. (Bug#14615)
12259
e36b2d20 122602013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
12261
12262 Add support for dired in saveplace.
12263 * dired.el (dired-initial-position-hook): New variable.
12264 (dired-initial-position): Call hook to place cursor position.
12265 * saveplace.el (save-place-to-alist): Add dired position.
12266 (save-place-dired-hook): New function.
12267
0b31660d
SM
122682013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
12269
bf1e6ae8
SM
12270 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
12271 through a symbol rather than letrec.
12272
1b8dff23
SM
12273 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
12274 (package-desc): Add `dir' field.
12275 (package-desc-full-name): New function.
12276 (package-load-descriptor): Combine the two arguments. Don't use `load'.
12277 (package-maybe-load-descriptor): Remove.
12278 (package-load-all-descriptors): Just call package-load-descriptor.
12279 (package--disabled-p): New function.
12280 (package-desc-vers, package-desc-doc): Remove aliases.
12281 (package--dir): Remove function.
12282 (package-activate): Check if a package is disabled.
12283 (package-process-define-package): New function, extracted from
12284 define-package.
12285 (define-package): Turn into a place holder.
12286 (package-unpack-single, package-tar-file-info):
12287 Use package--description-file.
12288 (package-compute-transaction): Use package--disabled-p.
12289 (package-download-transaction): Don't call
12290 package-maybe-load-descriptor since they're all loaded anyway.
12291 (package-install): Change argument to be a pkg-desc.
12292 (package-delete): Use a single pkg-desc argument.
12293 (describe-package-1): Use package-desc-dir instead of package--dir.
12294 Use package-desc property instead of package-symbol.
12295 (package-install-button-action): Adjust accordingly.
12296 (package--push): Rewrite.
12297 (package-menu--print-info): Adjust accordingly. Change the ID format
12298 to be a pkg-desc.
12299 (package-menu-describe-package, package-menu-get-status)
12300 (package-menu--find-upgrades, package-menu-mark-upgrades)
12301 (package-menu-execute, package-menu--name-predicate):
12302 Adjust accordingly.
12303 * startup.el (package--description-file): New function.
12304 (command-line): Use it.
12305 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12306 Use package-desc-version.
12307
0b31660d
SM
12308 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
12309 (byte-compile-preprocess): Use it.
12310 (byte-compile-file-form-defalias): Try a bit harder to use macros we
12311 can't quite recognize.
12312 (byte-compile-add-to-list): Remove.
12313 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
12314 (cconv-closure-convert): Add assertion.
12315
12316 * emacs-lisp/map-ynp.el: Use lexical-binding.
12317 (map-y-or-n-p): Remove unused vars `tail' and `object'.
12318 Factor out some repeated code.
12319
de0503df
SM
123202013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12321
12322 * subr.el (with-eval-after-load): New macro.
12323 (eval-after-load): Allow form to be a function.
12324 take advantage of lexical-binding.
12325 (do-after-load-evaluation): Use dolist and adjust to new format.
12326 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
12327
bc5c8c5a
JL
123282013-06-13 Juri Linkov <juri@jurta.org>
12329
12330 * replace.el (perform-replace): Display "symbol " and other search
12331 modes from `isearch-message-prefix' in the *Help* buffer.
12332
12333 * isearch.el (isearch-query-replace): Add " symbol" and other
12334 possible search modes from `isearch-message-prefix' to the prompt.
12335 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
12336 when reading a regexp to collect.
12337
a22289f7
JL
123382013-06-13 Juri Linkov <juri@jurta.org>
12339
12340 * isearch.el (word-search-regexp): Match whitespace if the search
12341 string begins or ends in whitespace. The LAX arg is applied to
12342 both ends of the search string. Use `regexp-quote' and explicit
12343 \< and \> instead of \b. Use \` and \' instead of ^ and $.
12344 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
12345 boundaries are replaced with symbol boundaries, and characters
12346 between symbols match non-word non-symbol syntax. (Bug#14602)
12347
cb89acab
JL
123482013-06-13 Juri Linkov <juri@jurta.org>
12349
12350 * isearch.el (isearch-del-char): Don't exceed the length of
12351 `isearch-string' by the prefix arg. (Bug#14563)
12352
6e8cfc81
JL
123532013-06-13 Juri Linkov <juri@jurta.org>
12354
12355 * isearch.el (isearch-yank-word, isearch-yank-line)
12356 (isearch-char-by-name, isearch-quote-char)
12357 (isearch-printing-char, isearch-process-search-char):
12358 Add optional count prefix arg. (Bug#14563)
12359
12360 * international/isearch-x.el
12361 (isearch-process-search-multibyte-characters):
12362 Add optional count prefix arg.
12363
c23d55f4
VS
123642013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12365
12366 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
12367 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
12368 lexical-binding.
12369
123702013-06-13 Vitalie Spinu <spinuvit@gmail.com>
12371
12372 * subr.el (set-temporary-overlay-map): Add on-exit argument.
12373
ba947bc4
GM
123742013-06-13 Glenn Morris <rgm@gnu.org>
12375
8baeb37a
GM
12376 * startup.el (tty-handle-args):
12377 Don't just discard "--" and anything after. (Bug#14608)
12378
ba947bc4
GM
12379 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
12380
9abefce4
MA
123812013-06-13 Michael Albinus <michael.albinus@gmx.de>
12382
12383 Implement changes in Secret Service API. Make it backward compatible.
12384 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
12385 (secrets-create-item): Use it. Prefix properties with interface.
12386
5755011f
MH
123872013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
12388
12389 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
12390 (term-emulate-terminal): Respect term-suppress-hard-newline.
12391
1261d2da
S
123922013-06-13 E Sabof <esabof@gmail.com> (tiny change)
12393
12394 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
12395 Only remove a `thumb-file' overlay. (Bug#14548)
12396
868490bb
GJ
123972013-06-12 Grégoire Jadi <daimrod@gmail.com>
12398
12399 * mail/reporter.el (reporter-submit-bug-report):
12400 Handle missing package-name. (Bug#14600)
12401
79d7167f
TH
124022013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12403
12404 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
12405 (reftex-citation-prompt, reftex-default-bibliography)
12406 (reftex-bib-or-thebib, reftex-get-bibfile-list)
12407 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
12408 (reftex-bib-sort-author, reftex-bib-sort-year)
12409 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
12410 (reftex-extract-bib-entries-from-thebibliography)
12411 (reftex-get-bibkey-default, reftex-get-bib-names)
12412 (reftex-parse-bibtex-entry, reftex-get-bib-field)
12413 (reftex-format-bib-entry, reftex-parse-bibitem)
12414 (reftex-format-bibitem, reftex-do-citation)
12415 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
12416 (reftex-restrict-bib-matches, reftex-extract-bib-file)
12417 (reftex-insert-bib-matches, reftex-format-citation)
12418 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
12419 (reftex-create-bibtex-file): Add docstrings, mostly by converting
12420 existing comments into docstrings.
12421
5f9dbd7a
XF
124222013-06-12 Xue Fuqiao <xfq.free@gmail.com>
12423
12424 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
12425
94df41ab
AS
124262013-06-12 Andreas Schwab <schwab@suse.de>
12427
12428 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
12429 for auto-save files.
12430
a7f3fecc
GM
124312013-06-12 Glenn Morris <rgm@gnu.org>
12432
001809f6
GM
12433 * ido.el (ido-delete-ignored-files): Remove.
12434 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
12435 Go back to calling ido-ignore-item-p directly.
a7f3fecc 12436
834b5ded
EL
124372013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
12438
08c73ed2
EL
12439 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
12440
834b5ded
EL
12441 * ido.el (ido-delete-ignored-files): New function,
12442 split from ido-make-file-list-1.
12443 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
12444 (ido-make-file-list-1): Use ido-delete-ignored-files.
12445
daabf15a
LL
124462013-06-12 Leo Liu <sdl.web@gmail.com>
12447
12448 * progmodes/octave.el (inferior-octave-startup)
12449 (inferior-octave-completion-table)
12450 (inferior-octave-track-window-width-change)
12451 (octave-eldoc-function-signatures, octave-help)
12452 (octave-find-definition): Use single quoted strings.
12453 (inferior-octave-startup-args): Change default value.
12454 (inferior-octave-startup): Do not hard code "-i" and
12455 "--no-line-editing".
12456 (inferior-octave-resync-dirs): Add optional arg NOERROR.
12457 (inferior-octave-directory-tracker): Use it.
12458 (octave-goto-function-definition): Robustify.
12459 (octave-help): Support highlighting operators in 'See also'.
12460 (octave-find-definition): Find subfunctions only in Octave mode.
12461
cf4e5178
SM
124622013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12463
12464 * help-fns.el (help-fns--compiler-macro): If the handler function is
12465 named, then put a link to it.
12466 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
12467 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
12468 (cl-typep): Use it.
12469 (cl-eval-when): Simplify debug spec.
12470 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
12471 compiler-macro function instead of setting `compiler-macro-file'.
12472
99c81280 124732013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
12474
12475 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
12476 * vc/vc-hooks.el (vc-stay-local): Doc fix.
12477
f56be016
SM
124782013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12479 Daniel Hackney <dan@haxney.org>
12480
12481 First part of Daniel Hackney's patch to package.el.
12482 * emacs-lisp/package.el: Use defstruct.
12483 (package-desc): New, main struct.
12484 (package--bi-desc, package--ac-desc): New structs, used to describe the
12485 format in external files.
12486 (package-desc-vers): Replace with package-desc-version accessor.
12487 (package-desc-doc): Replace with package-desc-summary accessor.
12488 (package-activate-1): Remove `package' arg since the pkg-vec now
12489 includes the name.
12490 (define-package): Use package-desc-from-define.
12491 (package-unpack-single): Change file-name arg to be a symbol.
12492 (package--add-to-archive-contents): Use package-desc-create and new
12493 accessor functions to package--ac-desc.
12494 (package-buffer-info, package-tar-file-info): Return a package-desc.
12495 (package-install-from-buffer): Remove `type' argument. Change pkg-info
12496 arg to be a package-desc.
12497 (package-install-file): Adjust accordingly. Use \' to match EOS.
12498 (package--from-builtin): New function.
12499 (describe-package-1, package-menu--generate): Use it.
12500 (package--make-autoloads-and-compile): Change name arg to be a symbol.
12501 (package-generate-autoloads): Idem and return the name of the file.
12502 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12503 Change pkg-info arg to be a package-desc.
12504 Use package-make-ac-desc.
12505 (package-upload-file): Use \' to match EOS.
12506 * finder.el (finder-compile-keywords): Use package-make-builtin.
12507
31119d63
SM
125082013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12509
931a2762
SM
12510 * vc/vc.el (vc-deduce-fileset): Change error message.
12511 (vc-read-backend): New function.
12512 (vc-next-action): Use it.
12513
5a3eb0c6
SM
12514 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
12515
e3eb1bb7
SM
12516 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
12517 (prolog-font-lock-keywords): Use regexp-opt instead.
12518 Don't manually highlight strings.
12519 (prolog-mode-variables): Simplify comment-start-skip.
12520 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
12521
31119d63
SM
12522 * emacs-lisp/generic.el (generic--normalise-comments)
12523 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
12524 (generic-mode-set-comments): Use them.
12525 (generic-bracket-support): Use setq-local.
12526 (generic-make-keywords-list): Declare obsolete.
12527
7de135d0
GM
125282013-06-11 Glenn Morris <rgm@gnu.org>
12529
12530 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12531 Prettify after setting font-lock-defaults. (Bug#14574)
12532
fa6bc6fd
JB
125332013-06-11 Juanma Barranquero <lekktu@gmail.com>
12534
12535 * replace.el (query-replace, occur-read-regexp-defaults-function)
12536 (replace-search):
12537 * subr.el (declare-function, number-sequence, local-set-key)
12538 (substitute-key-definition, locate-user-emacs-file)
12539 (with-silent-modifications, split-string, eval-after-load):
12540 Fix typos, remove unneeded backslashes and reflow some docstrings.
12541
cf1f9b9a
SM
125422013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12543
12544 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
12545 default for Elisp files.
12546
56602a4b
GM
125472013-06-11 Glenn Morris <rgm@gnu.org>
12548
12549 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
12550 although define-derived-mode was doing this anyway. (Bug#14583)
12551
30ae0b2c
JB
125522013-06-10 Juanma Barranquero <lekktu@gmail.com>
12553
12554 * allout.el (allout-encryption-plaintext-sanitization-regexps):
12555 Fix make-variable-buffer-local call to refer to the correct variable.
12556
fa472906
AG
125572013-06-10 Aidan Gauland <aidalgol@amuri.net>
12558
12559 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
12560 (eshell-visual-subcommands, eshell-visual-options):
12561 Add summary line to docstrings. Add cross-references.
fa472906 12562
ff4871b9
GM
125632013-06-10 Glenn Morris <rgm@gnu.org>
12564
12565 * epa.el (epa-read-file-name): New function. (Bug#14510)
12566 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
12567
04fcf1b0
AG
125682013-06-09 Aidan Gauland <aidalgol@amuri.net>
12569
12570 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
12571 output redirection to be ignored with visual commands.
12572
88b00caa
AG
125732013-06-09 Aidan Gauland <aidalgol@amuri.net>
12574
12575 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
12576 (eshell-term-initialize): Move long lambda to separate function
12577 eshell-visual-command-p.
27821a89 12578 * eshell/em-dirs.el (eshell-dirs-initialize):
e7b41c4c
JB
12579 * eshell/em-script.el (eshell-script-initialize):
12580 Add missing #' to lambda.
88b00caa 12581
fda74125
LL
125822013-06-08 Leo Liu <sdl.web@gmail.com>
12583
12584 * progmodes/octave.el (octave-add-log-current-defun): New function.
12585 (octave-mode): Set add-log-current-defun-function.
12586 (octave-goto-function-definition): Do not move point if not found.
12587 (octave-find-definition): Enhance to try subfunctions first.
12588
467f3b33
GM
125892013-06-08 Glenn Morris <rgm@gnu.org>
12590
12591 * emacs-lisp/bytecomp.el (byte-compile-char-before)
12592 (byte-compile-backward-char, byte-compile-backward-word):
12593 Improve previous change, to handle non-explicit nil.
12594
544badc3
SM
125952013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12596
12597 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
12598 (smie--opener/closer-at-point): New function.
12599 (smie--matching-block-data): Use it. Don't match from right after an
12600 opener or right before a closer. Obey smie-blink-matching-inners.
12601 Don't signal a mismatch for repeated inners like "switch..case..case".
12602
a175bf33
LL
126032013-06-07 Leo Liu <sdl.web@gmail.com>
12604
12605 * progmodes/octave.el (octave-mode): Set comment-use-global-state
12606 to t. (Bug#14303)
ce8209d4
LL
12607 (octave-function-header-regexp): Fix. (Bug#14570)
12608 (octave-help-mode-finish-hook, octave-help-mode-finish):
12609 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
12610
12611 * newcomment.el (comment-search-backward): Revert last change.
12612 (Bug#14434)
12613
12614 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
12615
a822acff
EZ
126162013-06-07 Eli Zaretskii <eliz@gnu.org>
12617
12618 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
12619 through xargs, to avoid failure due to MS-Windows limitations on
12620 command-line length.
12621
961166f5
GM
126222013-06-06 Glenn Morris <rgm@gnu.org>
12623
d0341459
GM
12624 * font-lock.el (lisp-font-lock-keywords-2):
12625 Treat user-error like error.
12626
961166f5
GM
12627 * emacs-lisp/bytecomp.el (byte-compile-char-before)
12628 (byte-compile-backward-char, byte-compile-backward-word):
12629 Handle explicit nil arguments. (Bug#14565)
12630
80fa505f
AM
126312013-06-05 Alan Mackenzie <acm@muc.de>
12632
12633 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 12634 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 12635 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 12636 (Bug#9706)
80fa505f 12637
fccdc796
SM
126382013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12639
12640 * autorevert.el (auto-revert-notify-handler): Use memq.
12641 Hide assertion failure.
12642
12643 * skeleton.el: Use cl-lib.
12644 (skeleton-further-elements): Use defvar-local.
12645 (skeleton-insert): Use cl-progv.
12646
9bfff84b
TZ
126472013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
12648
12649 * progmodes/prog-mode.el (prog-prettify-symbols)
12650 (prog-prettify-install): Update docstrings.
12651
55577e7c
SM
126522013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12653
12654 * simple.el: Move all the prog-mode code to prog-mode.el.
12655 * progmodes/prog-mode.el: New file.
12656 * loadup.el: Add prog-mode.el.
12657
8fc57765
TZ
126582013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
12659
12660 * simple.el (prog-prettify-symbols): Add version.
12661 (prog-prettify-install): Add convenience function to prettify symbols.
12662
12663 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
12664 (perl--augmented-font-lock-keywords-1)
12665 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
12666 variables and use it.
12667
12668 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
12669 (cfengine3-mode): Remove unneeded variable and use it.
12670
12671 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
12672 (lisp--augmented-font-lock-keywords-1)
12673 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
12674 Remove unneeded variables and use it.
12675
650645d5 126762013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
12677
12678 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 12679 to point when opening the connection. (Bug#14380)
28f5da6d 12680
781b4af6
SM
126812013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12682
12683 * subr.el (load-history-regexp, load-history-filename-element)
12684 (eval-after-load, after-load-functions, do-after-load-evaluation)
12685 (eval-next-after-load, display-delayed-warnings)
12686 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
12687 definition of save-match-data.
12688 (overriding-local-map): Remove accidental obsolescence declaration.
12689
12690 * emacs-lisp/edebug.el (edebug-result): Move before first use.
12691
3ca0d0b4
TZ
126922013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
12693
12694 Generalize symbol prettify support to prog-mode and implement it
12695 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
12696 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
12697 (prog--prettify-font-lock-compose-symbol)
12698 (prog-prettify-font-lock-symbols-keywords): New variables and
12699 functions to support symbol prettification.
12700 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
12701 (lisp--augmented-font-lock-keywords-1)
12702 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
12703 (lisp--prettify-symbols-alist): Implement prettify of lambda.
12704 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
12705 (cfengine3--prettify-symbols-alist, cfengine3-mode):
12706 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
12707 * progmodes/perl-mode.el (perl-prettify-symbols)
12708 (perl--font-lock-compose-symbol)
12709 (perl--font-lock-symbols-keywords): Move to prog-mode.
12710 (perl--prettify-symbols-alist): Prettify -> => :: strings.
12711 (perl-font-lock-keywords-1)
12712 (perl-font-lock-keywords-2): Remove explicit prettify support.
12713 (perl--augmented-font-lock-keywords)
12714 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
12715 (perl--augmented-font-lock-keywords-2, perl-mode):
12716 Implement prettify support.
3ca0d0b4 12717
976cb066
LL
127182013-06-05 Leo Liu <sdl.web@gmail.com>
12719
27821a89 12720 Re-implement SMIE matching block highlight using
976cb066
LL
12721 show-paren-data-function. (Bug#14395)
12722 * emacs-lisp/smie.el (smie-matching-block-highlight)
12723 (smie--highlight-matching-block-overlay)
12724 (smie--highlight-matching-block-lastpos)
12725 (smie-highlight-matching-block)
12726 (smie-highlight-matching-block-mode): Remove.
12727 (smie--matching-block-data-cache): New variable.
12728 (smie--matching-block-data): New function.
12729 (smie-setup): Use smie--matching-block-data for
12730 show-paren-data-function.
12731
12732 * progmodes/octave.el (octave-mode-menu): Fix.
12733 (octave-find-definition): Skip garbage lines.
12734
208d0342
SM
127352013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12736
12737 Fix compilation error with simultaneous dynamic+lexical scoping.
12738 Add warning when a defvar appears after the first let-binding.
12739 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
12740 (byte-compile-close-variables): Initialize it.
12741 (byte-compile--declare-var): New function.
12742 (byte-compile-file-form-defvar)
12743 (byte-compile-file-form-define-abbrev-table)
12744 (byte-compile-file-form-custom-declare-variable): Use it.
12745 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
12746 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
12747 (byte-compile-bind): Handle dynamic bindings that shadow
12748 lexical bindings.
12749 (byte-compile-unbind): Make arg non-optional.
12750 (byte-compile-let): Simplify.
12751 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
12752 (cconv--analyse-function, cconv-analyse-form): Populate it.
12753 Protect byte-compile-bound-variables to limit the scope of defvars.
12754 (cconv-analyse-form): Add missing rule for (defvar <foo>).
12755 Remove unneeded rule for `declare'.
12756
12757 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
12758 so as to avoid depending on cl-adjoin at run-time.
12759 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
12760
12761 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
12762 (macroexp--warn-and-return): Use it.
12763
1ac2891e
GM
127642013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12765
a12bf61e 12766 * subr.el: Convert to lexical binding.
1ac2891e
GM
12767 (overriding-local-map): Make obsolete.
12768 (add-to-list): Doc fix. Add compiler macro.
12769 (read-key): Swap values of local maps.
12770
2587b005
LL
127712013-06-05 Leo Liu <sdl.web@gmail.com>
12772
12773 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
12774
f1da3c88
LL
127752013-06-04 Leo Liu <sdl.web@gmail.com>
12776
12777 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
12778 (compilation-auto-jump): Suppress the "Mark set" message to give
12779 way to exit message.
12780
3caa391f
AM
127812013-06-04 Alan Mackenzie <acm@muc.de>
12782
12783 Remove faulty optimisation from indentation calculation.
12784 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
12785 search limit based on 2000 characters back from indent-point.
12786
068922a2
TH
127872013-06-03 Tassilo Horn <tsdh@gnu.org>
12788
12789 * eshell/em-term.el (cl-lib): Require `cl-lib'.
12790
1f8fdd53
SM
127912013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
12792
bbcc4d97
SM
12793 * emacs-lisp/lisp.el: Use lexical-binding.
12794 (lisp--local-variables-1, lisp--local-variables): New functions.
12795 (lisp--local-variables-completion-table): New var.
208d0342 12796 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 12797
1f8fdd53
SM
12798 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
12799 eagerly (bug#14422).
12800
c9628c79
MA
128012013-06-03 Michael Albinus <michael.albinus@gmx.de>
12802
12803 * autorevert.el (auto-revert-notify-enabled)
12804 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
12805 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
12806 (auto-revert-notify-handler): Handle also gfilenotify.
12807
e7b41c4c 12808 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 12809 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 12810 Remove.
c9628c79 12811
e5e4a942
JL
128122013-06-03 Juri Linkov <juri@jurta.org>
12813
12814 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
12815 `M-s h .'. (Bug#14427)
12816
12817 * hi-lock.el (highlight-symbol-at-point): New alias for the new
12818 command `hi-lock-face-symbol-at-point'.
12819 (hi-lock-face-symbol-at-point): New command.
12820 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
12821 (hi-lock-menu): Add `highlight-symbol-at-point'.
12822 (hi-lock-mode): Doc fix.
12823
12824 * isearch.el (isearch-forward-symbol-at-point): New command.
12825 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
12826 (isearch-highlight-regexp): Add a regexp which matches
12827 words/symbols for word/symbol mode.
12828
12829 * subr.el (find-tag-default-bounds): New function with the body
12830 mostly moved from `find-tag-default'.
12831 (find-tag-default): Move most code to `find-tag-default-bounds',
12832 call it and apply `buffer-substring-no-properties' afterwards.
12833
26b3353a
TH
128342013-06-03 Tassilo Horn <tsdh@gnu.org>
12835
781b4af6
SM
12836 * eshell/em-term.el (eshell-term-initialize):
12837 Use `cl-intersection' rather than `intersection'.
26b3353a 12838
51b60f53
XF
128392013-06-02 Xue Fuqiao <xfq.free@gmail.com>
12840
fe054b63 12841 * vc/log-view.el: Doc fix.
d3ffe17c 12842 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 12843
a0eb10b3 128442013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
12845
12846 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
12847 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
12848 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
12849 (eieio-unbound, eieio-default-superclass)
12850 (eieio--define-field-accessors, method-static, method-before)
12851 (method-primary, method-after, method-num-lists)
12852 (method-generic-before, method-generic-primary)
12853 (method-generic-after, method-num-slots)
12854 (eieio-specialized-key-to-generic-key)
12855 (eieio--check-type, class-v, class-p)
12856 (eieio-class-name, define-obsolete-function-alias)
12857 (eieio-class-parents-fast, eieio-class-children-fast)
12858 (same-class-fast-p, class-constructor, generic-p)
12859 (generic-primary-only-p, generic-primary-only-one-p)
12860 (class-option-assoc, class-option, eieio-object-p)
12861 (class-abstract-p, class-method-invocation-order)
12862 (eieio-defclass-autoload-map, eieio-defclass-autoload)
12863 (eieio-class-un-autoload, eieio-defclass)
12864 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
12865 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
12866 (eieio--defgeneric-init-form, eieio-defgeneric-form)
12867 (eieio-defgeneric-reset-generic-form)
12868 (eieio-defgeneric-form-primary-only)
12869 (eieio-defgeneric-reset-generic-form-primary-only)
12870 (eieio-defgeneric-form-primary-only-one)
12871 (eieio-defgeneric-reset-generic-form-primary-only-one)
12872 (eieio-unbind-method-implementations)
12873 (eieio--defmethod, eieio--typep)
12874 (eieio-perform-slot-validation, eieio-validate-slot-value)
12875 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
12876 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
12877 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
12878 (eieio-slot-name-index, eieio-class-slot-name-index)
12879 (eieio-set-defaults, eieio-initarg-to-attribute)
12880 (eieio-attribute-to-initarg, eieio-c3-candidate)
12881 (eieio-c3-merge-lists, eieio-class-precedence-c3)
12882 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
12883 (eieio-class-precedence-list, eieio-generic-call-methodname)
12884 (eieio-generic-call-arglst, eieio-generic-call-key)
12885 (eieio-generic-call-next-method-list)
12886 (eieio-pre-method-execution-functions, eieio-generic-call)
12887 (eieio-generic-call-primary-only, eieiomt-method-list)
12888 (eieiomt-optimizing-obarray, eieiomt-install)
12889 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
12890 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 12891 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
12892 (defclass): Remove `eval-and-compile' from macro.
12893 (call-next-method, shared-initialize): Instead of using
12894 `scoped-class' variable, use new eieio--scoped-class, and
12895 eieio--with-scoped-class.
12896 (initialize-instance): Rename local variable 'scoped-class' to
12897 'this-class' to remove ambiguitity from old global.
12898
12899 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
12900 eieio.el.
4f405069
JB
12901 (eieio--scoped-class-stack): New variable.
12902 (eieio--scoped-class): New fcn.
890f7890
DE
12903 (eieio--with-scoped-class): New scoping macro.
12904 (eieio-defclass): Use pushnew instead of add-to-list.
12905 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
12906 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
12907 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
12908 `scoped-class' variable, use new eieio--scoped-class, and
12909 eieio--with-scoped-class.
12910
12911 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
12912
d105b0e2
TH
129132013-06-02 Tassilo Horn <tsdh@gnu.org>
12914
12915 * eshell/esh-ext.el (eshell-external-command): Pass args to
12916 `eshell-find-interpreter'.
12917 (eshell-find-interpreter): Add new second parameter ARGS.
12918
12919 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 12920 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
12921
12922 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 12923 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
12924
12925 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
12926 (eshell-visual-options): New defcustom.
12927 (eshell-escape-control-x): Adapt docstring.
12928 (eshell-term-initialize): Test `eshell-visual-subcommands' and
12929 `eshell-visual-options' in addition to `eshell-visual-commands'.
12930 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
12931
f46305c8 129322013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
12933
12934 * progmodes/python.el (python-indent-block-enders): Add break,
12935 continue and raise keywords.
12936
d870df21
GM
129372013-06-01 Glenn Morris <rgm@gnu.org>
12938
9133b82e
GM
12939 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
12940
02c992ec 12941 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
12942 * progmodes/cc-cmds.el (delete-forward-p):
12943 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
12944 * progmodes/cc-engine.el (buffer-syntactic-context):
12945 * progmodes/cc-fonts.el (face-property-instance):
12946 * progmodes/cc-mode.el (set-keymap-parents):
12947 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
12948 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
12949 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
12950 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
12951 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 12952
31e7b090
GM
12953 * progmodes/cc-vars.el (other): Emacs has this widget since
12954 at least 21.1, so don't (re)define it.
12955
d870df21
GM
12956 * eshell/em-cmpl.el (eshell-cmpl-initialize):
12957 Replace the obsolete alias pcomplete-arg-quote-list.
12958
c75c93c7
LL
129592013-06-01 Leo Liu <sdl.web@gmail.com>
12960
12961 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
12962 punctuation syntax.
12963 (inferior-octave-minimal-columns)
12964 (inferior-octave-last-column-width): New variables.
12965 (inferior-octave-track-window-width-change): New function.
12966 (inferior-octave-mode): Adjust column width so that Octave output,
12967 for example from 'ls', can fit into the window nicely.
12968
973d1e12
DG
129692013-05-31 Dmitry Gutov <dgutov@yandex.ru>
12970
12971 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
12972 Highlight expansions inside regexp literals.
12973
0888c286
GM
129742013-05-31 Glenn Morris <rgm@gnu.org>
12975
e26aac1f
GM
12976 * obsolete/sym-comp.el (symbol-complete):
12977 Replace obsolete completion-annotate-function.
12978
0888c286
GM
12979 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
12980
19bb8e62
DG
129812013-05-31 Dmitry Gutov <dgutov@yandex.ru>
12982
781b4af6
SM
12983 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
12984 New function, checks if point is inside a literal that allows
19bb8e62
DG
12985 expression expansion.
12986 (ruby-syntax-propertize-expansion): Use it.
12987 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
12988 around the body.
12989
01dea85f
JL
129902013-05-30 Juri Linkov <juri@jurta.org>
12991
12992 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
12993 to "\M-si".
12994 (isearch-invisible): New variable.
12995 (isearch-forward): Doc fix.
12996 (isearch-mode): Set `isearch-invisible'
12997 to the value of `search-invisible'.
12998 (isearch-toggle-case-fold): Doc fix.
12999 (isearch-toggle-invisible): New command.
13000 (isearch-query-replace): Let-bind `search-invisible'
13001 to the value of `isearch-invisible'.
13002 (isearch-search): Use `isearch-invisible' instead of
13003 `search-invisible'. Let-bind `search-invisible'
13004 to the value of `isearch-invisible'. (Bug#11378)
13005
ab1bdce5
JL
130062013-05-30 Juri Linkov <juri@jurta.org>
13007
13008 * replace.el (perform-replace): Avoid `isearch-range-invisible'
13009 call when `query-flag' is nil and `search-invisible' is non-nil.
13010 (Bug#11746)
13011
d6d236e2
GM
130122013-05-30 Glenn Morris <rgm@gnu.org>
13013
8accd027
GM
13014 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
13015
2a8bed1c
GM
13016 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
13017 (cc-require): Suppress spurious "noruntime" warnings.
13018 (cc-require-when-compile): Use fboundp, for sake of compiler.
13019
d6d236e2
GM
13020 * progmodes/cc-mode.el: Move load of cc-vars before that of
13021 cc-langs (which in turn loads cc-vars), to quieten compiler.
13022
9190b35b
SM
130232013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13024
13025 * paren.el: Simplify the code.
13026 (show-paren-mode): Always start the timer.
13027 (show-paren--idle-timer): Rename from show-paren-idle-timer.
13028 (show-paren--overlay, show-paren--overlay-1): Rename from
13029 show-paren-overlay and show-paren-overlay-1, and initialize to an
13030 overlay rather than to nil.
13031 (show-paren-function): Misc cleanup and simplifications.
13032
4f8d1cf6
SM
130332013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13034
13035 * paren.el (show-paren-data-function): New hook.
13036 (show-paren--default): New function, extracted from show-paren-function.
13037 (show-paren-function): Use show-paren-data-function.
13038
02d844b5
GM
130392013-05-30 Glenn Morris <rgm@gnu.org>
13040
d209d4a9
GM
13041 * ielm.el (ielm-map, ielm-complete-symbol):
13042 Use completion-at-point rather than obsolete functions.
13043 (inferior-emacs-lisp-mode): Doc fix.
13044 Set completion-at-point-functions, rather than
13045 comint-dynamic-complete-functions.
13046
2082faa6
GM
13047 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
13048 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
13049 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
13050
dd8620de
GM
13051 * image.el (image-animated-p): Tweak definition.
13052
ceca95b1
GM
13053 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
13054 (rlogin-process-connection-type): Tweak default. Add set-after.
13055 (rlogin-host): Doc fix.
13056 (rlogin): Tweak prompt.
13057 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
13058
ee9f1acc
GM
13059 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
13060 * progmodes/tcl.el (inferior-tcl-mode-map):
13061 Use completion-at-point rather than obsolete alias.
13062
45ce222e
GM
13063 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
13064
02d844b5
GM
13065 * minibuffer.el (read-file-name-completion-ignore-case):
13066 Move before completion--in-region, for eager macro expansion.
13067
ac44d6c1
JL
130682013-05-29 Juri Linkov <juri@jurta.org>
13069
13070 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
13071 for total count of matching lines. Add `global-matches' for total
13072 count of matches. Rename `matches' to `lines' for count of
13073 matching lines. Add `matches' for count of matches.
13074 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
13075 to `prev-line' for line number of prev match endpt.
13076 Increment `matches' for every match. Print the number of
13077 matching lines in the header.
13078 (occur-context-lines): Rename `lines' to `curr-line'.
13079 Rename `prev-lines' to `prev-line'. (Bug#14017)
13080
3c9c9d38
JL
130812013-05-29 Juri Linkov <juri@jurta.org>
13082
13083 * replace.el (perform-replace): Add `skip-read-only-count',
13084 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
13085 Increment them for corresponding conditions and report the number
13086 of skipped occurrences in the final message. (Bug#11746)
13087 (query-replace, query-replace-regexp, query-replace-regexp-eval)
13088 (replace-string, replace-regexp): Doc fix.
13089
33e249a2
SM
130902013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
13091
8e399682
SM
13092 * emacs-lisp/trace.el (trace--read-args): Provide a default.
13093
33e249a2 13094 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 13095 prog-mode-map (bug#14504).
33e249a2 13096
f236dd84
LL
130972013-05-29 Leo Liu <sdl.web@gmail.com>
13098
13099 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
13100 (octave-help): Small simplification.
13101
13102 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
13103 off the highlight first.
13104
3694d13f
GM
131052013-05-29 Glenn Morris <rgm@gnu.org>
13106
03983bdc
GM
13107 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
13108 Handle idlwave-last-system-routine-info-cons-cell being nil.
13109
bc74a74a
GM
13110 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
13111 (idlwave-write-paths): Simplify via with-temp-buffer.
13112
8b394200
GM
13113 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
13114 * emulation/cua-rect.el: Also load cua-base at run time.
13115
3694d13f
GM
13116 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
13117 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
13118 (cperl-imenu-on-info): Require imenu.
13119
336d7284
AM
131202013-05-28 Alan Mackenzie <acm@muc.de>
13121
13122 Handle "capitalised keywords" correctly.
33e249a2 13123 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 13124
cb29c582
AG
131252013-05-28 Aidan Gauland <aidalgol@amuri.net>
13126
781b4af6 13127 * eshell/em-unix.el: Add -r option to cp.
cb29c582 13128
690e44b2
GM
131292013-05-28 Glenn Morris <rgm@gnu.org>
13130
e658d75c
GM
13131 * vc/vc-arch.el (vc-exec-after): Declare.
13132 (vc-switches): Autoload.
13133 * vc/vc-bzr.el: No need to require vc when compiling.
13134 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
13135 (vc-resynch-buffer, vc-dir-refresh): Declare.
13136 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
13137 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
13138 (vc-resynch-buffer): Declare.
13139 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 13140 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
13141 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
13142 (grep-read-regexp, grep-read-files, grep-expand-template)
13143 (vc-dir-refresh): Declare.
13144 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
13145 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
13146 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
13147 * vc/vc-mtn.el (vc-exec-after): Declare.
13148 (vc-switches): Autoload.
13149 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
13150 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
13151 (vc-file-tree-walk): Declare.
712b9732
GM
13152 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
13153 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
13154 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
13155 * vc/vc-svn.el (vc-exec-after): Declare.
13156 (vc-switches, vc-setup-buffer): Autoload.
13157 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
13158 Autoload.
13159 (vc-resynch-buffer): Declare.
13160
98e87fb3
GM
13161 * obsolete/fast-lock.el (byte-compile-warnings):
13162 Don't warn about obsolete features in this obsolete file.
13163
f5379553
GM
13164 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
13165 Move definition before use.
13166
7a20ef83
GM
13167 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
13168 (dun-unix-verbs): Remove dun-zippy.
13169 (dun-zippy): Remove function.
13170
690e44b2
GM
13171 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
13172
3a52ccf7
JL
131732013-05-27 Juri Linkov <juri@jurta.org>
13174
13175 * replace.el (replace-search): New function with code moved out
13176 from `perform-replace'.
13177 (replace-highlight, replace-dehighlight): Move function definitions
13178 up closer to `replace-search'. (Bug#11746)
13179
d289938a
JL
131802013-05-27 Juri Linkov <juri@jurta.org>
13181
13182 * replace.el (perform-replace): Ignore invisible matches.
13183 In addition to checking `query-replace-skip-read-only', also
13184 filter out matches by calling `run-hook-with-args-until-failure'
13185 on `isearch-filter-predicates', and also check `search-invisible'
13186 for t or call `isearch-range-invisible'.
13187 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
13188
66fc57e3
JL
131892013-05-27 Juri Linkov <juri@jurta.org>
13190
13191 * isearch.el (isearch-filter-predicates): Rename from
13192 `isearch-filter-predicate'. Doc fix. (Bug#11378)
13193 (isearch-message-prefix): Display text from the property
13194 `isearch-message-prefix' of the currently active filters.
13195 (isearch-search): Don't compare `isearch-filter-predicate' with
13196 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
13197 on `isearch-filter-predicates'. Also check `search-invisible' for t
13198 or call `isearch-range-invisible'.
13199 (isearch-filter-visible): Make obsolete.
13200 (isearch-lazy-highlight-search):
13201 Call `run-hook-with-args-until-failure' on
13202 `isearch-filter-predicates' and use `isearch-range-invisible'.
13203
13204 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
13205 `isearch-filter-predicates' instead of `funcall'ing
13206 `isearch-filter-predicate'.
13207 (Info-mode): Set `Info-isearch-filter' to
13208 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
13209
13210 * dired-aux.el (dired-isearch-filter-predicate-orig):
13211 Remove variable.
13212 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
13213 (dired-isearch-filenames-end): Add and remove
13214 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
13215 instead of changing the value of `isearch-filter-predicate'.
13216 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
13217 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
13218 Put property `isearch-message-prefix' to "filename " on
13219 `dired-isearch-filter-filenames'.
13220
13221 * wdired.el (wdired-change-to-wdired-mode):
13222 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
13223 locally instead of changing `isearch-filter-predicate'.
13224 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
13225
f1a60a0f
DG
132262013-05-27 Dmitry Gutov <dgutov@yandex.ru>
13227
13228 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
13229 return the commit hash (Bug#14459). Also set the
13230 `vc-git-detached' property.
13231 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
13232 (vc-git-mode-line-string): Use the same help-echo format whether
13233 in detached mode or not, because we know the actual revision now.
13234 When in detached mode, shorten the revision to 7 chars.
13235
7f17cc40
SM
132362013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13237
13238 * emacs-lisp/easy-mmode.el (define-minor-mode):
13239 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
13240 mode hook and provide a docstring.
13241
25c8401c
AM
132422013-05-27 Alan Mackenzie <acm@muc.de>
13243
13244 Remove spurious syntax-table text properties inserted by C-y.
13245 * progmodes/cc-mode.el (c-after-change): Also clear hard
13246 syntax-table property with value nil.
13247
dde84790
MA
132482013-05-27 Michael Albinus <michael.albinus@gmx.de>
13249
13250 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
13251 when reading the events; the buffer layout shall not be changed.
13252
837fd9af
LL
132532013-05-27 Leo Liu <sdl.web@gmail.com>
13254
13255 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
13256 New variable.
13257 (inferior-octave-directory-tracker): Automatically re-sync
13258 default-directory.
13259 (octave-help): Improve handling of 'See also'.
13260
4fd996b3
SM
132612013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13262
416f1802
SM
13263 * doc-view.el: Minor naming convention tweaks.
13264 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
13265
4fd996b3
SM
13266 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
13267 even if there's no `display' property yet (bug#14435).
13268
a052ef3b
EZ
132692013-05-25 Eli Zaretskii <eliz@gnu.org>
13270
4fd996b3 13271 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
13272
13273 * Makefile.in (custom-deps, finder-data, autoloads)
13274 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
13275 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
13276 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
13277
c9023370
SM
132782013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13279
13280 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
13281 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 13282 Don't burp at EOB.
c9023370 13283
24d699fa
LL
132842013-05-25 Leo Liu <sdl.web@gmail.com>
13285
13286 * comint.el (comint-previous-matching-input): Do not flood the
13287 *Messages* buffer with trivial messages.
13288
17e5c0cc
SM
132892013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13290
13291 * progmodes/flymake.el (flymake-nop): Don't return a string.
13292 (flymake-set-at): Fix typo.
13293
13294 * simple.el (read--expression): New function, extracted from
13295 eval-expression. Set completion-at-point-functions (bug#14465).
13296 (eval-expression, eval-minibuffer): Use it.
13297
5d028165
XF
132982013-05-25 Xue Fuqiao <xfq.free@gmail.com>
13299
13300 * progmodes/flymake.el (flymake-save-buffer-in-file)
13301 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
13302 (flymake-selected-frame, flymake-log, flymake-ins-after)
13303 (flymake-set-at, flymake-get-buildfile-from-cache)
13304 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
13305 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
13306 Refine the doc string.
13307 (flymake-get-file-name-mode-and-masks): Reformat.
13308 (flymake-get-real-file-name-function): Fix a minor bug.
13309
7a1d7ba7
JL
133102013-05-24 Juri Linkov <juri@jurta.org>
13311
13312 * progmodes/grep.el (grep-mode-font-lock-keywords):
13313 Support =linenumber= format used by git-grep for lines with
13314 function names. (Bug#13549)
13315
650cff3d
SM
133162013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13317
13318 * progmodes/octave.el (octave-smie-rules): Return nil rather than
13319 0 after a semi-colon; it works better for smie-auto-fill.
13320 (octave--indent-new-comment-line): New function.
13321 (octave-indent-new-comment-line): Use it (indirectly).
13322 (octave-mode): Don't disable smie-auto-fill. Use add-function to
13323 modify comment-line-break-function.
13324
13325 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
13326 (smie-setup): Use add-function to set it.
13327
9631677d
SS
133282013-05-24 Sam Steingold <sds@gnu.org>
13329
13330 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
13331 argument (before the `interactive' argument).
13332
50105835
SM
133332013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13334
13335 * image-mode.el (image-mode-winprops): Add winprops to
13336 image-mode-winprops-alist before running
13337 image-mode-new-window-functions.
13338 * doc-view.el (doc-view-new-window-function): Don't delay
13339 doc-view-goto-page via timers (bug#14435).
13340
57b9823e
TH
133412013-05-24 Tassilo Horn <tsdh@gnu.org>
13342
13343 * doc-view.el: Integrate with desktop.el. (Bug#14435)
13344 (doc-view-desktop-save-buffer): New function.
13345 (doc-view-restore-desktop-buffer): New function.
50105835
SM
13346 (desktop-buffer-mode-handlers):
13347 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
13348 handler.
13349 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
13350 `desktop-save-buffer' function.
13351
91aafa16
MA
133522013-05-24 Michael Albinus <michael.albinus@gmx.de>
13353
13354 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
13355 (tramp-gvfs-file-name-handler): Raise a user error when
13356 `tramp-gvfs-enabled' is nil.
13357 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
13358 Do not raise a user error when loading package. (Bug#14447)
13359
ec076379
MA
13360 * net/xesam.el: Move to obsolete/.
13361
db785726
GM
133622013-05-24 Glenn Morris <rgm@gnu.org>
13363
af5c7606
GM
13364 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
13365
e5d1916a
GM
13366 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
13367
ded62b08
GM
13368 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
13369 (Info-find-node, Man-getpage-in-background): Declare.
13370
9e614a3f
GM
13371 * mail/unrmail.el (unrmail):
13372 Replace obsolete detect-coding-with-priority.
13373
892f8ca3
GM
13374 * net/socks.el (socks-split-string): Use this rather than split-string.
13375 (socks-nslookup-host): Update for above change.
13376 (dynamic-choice, s5-dynamic-choice-match)
13377 (s5-dynamic-choice-match-inline, s5-widget-value-create):
13378 Comment out unused code.
13379
3c291973
GM
13380 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
13381 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
13382 (gud-tooltip-echo-area): Make obsolete.
13383 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
13384
43cc956b
GM
13385 * progmodes/js.el (js--optimize-arglist): Declare.
13386
dab49a3b
GM
13387 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
13388
36b9d085
GM
13389 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
13390 (ediff-window-C): Declare.
13391
e354ae76
GM
13392 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
13393 Tweak requires to silence compiler.
13394
b8e57bf4
GM
13395 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
13396 (he-search-string, he-tried-table, he-expand-list)
13397 (he-init-string, he-string-member, he-substitute-string)
13398 (he-reset-string): Declare.
13399
db785726
GM
13400 * obsolete/options.el (list-options): Use custom-variable-p,
13401 rather than obsolete alias.
13402
b3531901
SS
134032013-05-23 Sam Steingold <sds@gnu.org>
13404
13405 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 13406 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
13407 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
13408
bdda4c66
SM
134092013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13410
13411 * emacs-lisp/smie.el (smie-indent-forward-token)
13412 (smie-indent-backward-token): Handle string tokens (bug#14381).
13413
c43d45f9
TH
134142013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13415
fe1eb856
RS
13416 * ielm.el (ielm-menu): New menu.
13417 (inferior-emacs-lisp-mode): Set comment-start.
96172128 13418
fe1eb856
RS
134192013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13420
a12bf61e 13421 * textmodes/reftex.el (reftex-ref-style-toggle):
fe1eb856
RS
13422 Fix deactivate action.
13423
a12bf61e 13424 * textmodes/reftex-vars.el (reftex-ref-style-alist):
fe1eb856 13425 Add cleveref macros.
074dd971 13426
9b017563
JB
13427 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
13428 Accept options for bibliography commands.
a12bf61e 13429 * textmodes/reftex-vars.el (reftex-bibliography-commands):
c43d45f9
TH
13430 Add addbibresource. Basic Biblatex support.
13431
7764286e
MA
134322013-05-23 Michael Albinus <michael.albinus@gmx.de>
13433
13434 * net/tramp-gvfs.el (top):
13435 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
13436 when loading package. (Bug#14447)
13437
d361bc10
GM
134382013-05-23 Glenn Morris <rgm@gnu.org>
13439
8fa23984
GM
13440 * progmodes/js.el: No need to load comint when compiling.
13441 (ring-insert, comint-send-string, comint-send-input)
13442 (comint-last-input-end, ido-chop): Declare.
13443
a5c7df1a
GM
13444 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
13445 * vc/ediff-mult.el: Adjust requires.
13446 (ediff-directories-internal, ediff-directory-revisions-internal)
13447 (ediff-patch-file-internal): Declare.
13448 * vc/ediff-ptch.el: Adjust requires.
13449 (ediff-use-last-dir, ediff-buffers-internal): Declare.
13450 (ediff-find-file): Autoload.
13451 * vc/ediff-util.el: No need to load ediff when compiling.
13452 (ediff-regions-internal): Declare.
13453 * vc/ediff-wind.el: Adjust requires.
13454 (ediff-compute-toolbar-width): Define when compiling.
13455 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
13456 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
13457 (dired-get-filename, dired-get-marked-files)
13458 (ediff-last-dir-patch, ediff-patch-default-directory)
13459 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
13460 (ediff-patch-buffer-internal): Declare.
13461
e2aec513
GM
13462 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
13463 (ispell-process, ispell-buffer-local-words, lm-summary)
13464 (lm-section-start, lm-section-end): Declare.
13465 (checkdoc-ispell-init): Simplify.
13466
e68bbd7c
GM
13467 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
13468 (he-string-member, he-reset-string, he-substitute-string): Declare.
13469
7efe0991
GM
13470 * eshell/em-ls.el: Adjust requires.
13471 (eshell-glob-regexp): Declare.
f87b1284
GM
13472 * eshell/em-tramp.el: Adjust requires.
13473 (eshell-parse-command): Autoload.
13474 * eshell/em-xtra.el: Adjust requires.
13475 (eshell-parse-command): Autoload.
13476 * eshell/esh-ext.el: Adjust requires.
13477 (eshell-parse-command, eshell-close-handles): Autoload.
13478 * eshell/esh-io.el: Adjust requires.
13479 (eshell-output-filter): Autoload.
13480 * eshell/esh-util.el: No need to load tramp when compiling.
13481 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
13482 Declare.
13483 (eshell-parse-ange-ls): Require ange-ftp and tramp.
13484 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
13485 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
13486 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
13487 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
13488 * eshell/esh-opt.el, eshell/esh-proc.el:
13489 * eshell/esh-var.el: Adjust requires.
13490 * eshell/eshell.el: Do not require esh-util twice.
13491 (eshell-add-input-to-history): Declare.
13492 (eshell-command): Check history module is active before using it.
13493
d361bc10
GM
13494 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
13495
85d090a9
LL
134962013-05-22 Leo Liu <sdl.web@gmail.com>
13497
13498 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
13499
5d0acd9d
MA
135002013-05-22 Michael Albinus <michael.albinus@gmx.de>
13501
13502 * autorevert.el (auto-revert-notify-add-watch)
13503 (auto-revert-notify-handler): Add `attrib' for the inotify case,
13504 it indicates changes in file modification time.
13505
0cdffd7d
GM
135062013-05-22 Glenn Morris <rgm@gnu.org>
13507
ca5995ec
GM
13508 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
13509 Always delete the autoloaded function from the noruntime and
13510 unresolved functions lists.
13511
6450907e
GM
13512 * allout.el: No need to load epa, epg, overlay when compiling.
13513 (epg-context-set-passphrase-callback, epg-list-keys)
13514 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
13515 (epg-key-user-id-list): Declare.
13516
9c6906f6
GM
13517 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
13518 (viper-set-parsing-style-toggling-macro)
13519 (viper-set-emacs-state-searchstyle-macros):
13520 Use called-interactively-p on Emacs.
13521 (viper-looking-back): Make it an obsolete alias. Update callers.
13522 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
13523 Use looking-back rather than viper-looking-back.
13524 (viper-tmp-insert-at-eob, viper-enlarge-region)
13525 (viper-read-string-with-history, viper-register-to-point)
13526 (viper-append-to-register, viper-change-state-to-vi)
13527 (viper-backward-char-carefully, viper-forward-char-carefully)
13528 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
13529 (viper-change-state-to-emacs): Declare.
13530 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
13531 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
13532 * emulation/viper-mous.el: Do not load viper-cmd.
13533 (viper-backward-char-carefully, viper-forward-char-carefully)
13534 (viper-forward-word, viper-adjust-window): Declare.
13535
5f70c169
GM
13536 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
13537
b1b7f300
GM
13538 * progmodes/idlw-help.el (idlwave-help-fontify):
13539 Use called-interactively-p.
13540
f6ebbb46
GM
13541 * term/w32console.el (w32-get-console-codepage)
13542 (w32-get-console-output-codepage): Declare.
13543
0cdffd7d
GM
13544 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
13545 Remove unnecessary declarations.
13546 (dframe-message): Doc fix.
13547
13548 * info.el (dframe-select-attached-frame, dframe-current-frame):
13549 Declare.
13550
13551 * speedbar.el (speedbar-message): Make it an obsolete alias.
13552 Update all callers.
13553 (speedbar-with-attached-buffer)
13554 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
13555 (speedbar-with-writable): Use backquote.
13556 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
13557 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
13558 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
13559 rather than speedbar- aliases.
13560 * mail/rmail.el: Load dframe rather than speedbar when compiling.
13561 (speedbar-make-specialized-keymap, speedbar-insert-button)
13562 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
13563 (speedbar-do-function-pointer): Declare.
13564 (rmail-speedbar-button, rmail-speedbar-find-file)
13565 (rmail-speedbar-move-message):
13566 Use dframe-with-attached-buffer rather than speedbar- alias.
13567 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
13568 (dframe-message, speedbar-make-specialized-keymap)
13569 (speedbar-add-expansion-list, speedbar-mode-functions-list)
13570 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
13571 (speedbar-insert-button, dframe-select-attached-frame)
13572 (dframe-maybee-jump-to-attached-frame)
13573 (speedbar-change-initial-expansion-list)
13574 (speedbar-previously-used-expansion-list-name): Declare.
13575 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
13576 Use dframe-message, dframe-with-attached-buffer rather than
13577 speedbar- aliases.
13578 (gud-sentinel): Silence compiler.
13579 * progmodes/vhdl-mode.el (speedbar-refresh)
13580 (speedbar-do-function-pointer, speedbar-add-supported-extension)
13581 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
13582 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
13583 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
13584 (speedbar-file-lists, speedbar-make-tag-line)
13585 (speedbar-line-directory, speedbar-goto-this-file)
13586 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
13587 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
13588 (speedbar-make-button, speedbar-reset-scanners)
13589 (speedbar-files-item-info, speedbar-line-text)
13590 (speedbar-find-file-in-frame, speedbar-set-timer)
13591 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
13592 (speedbar-with-writable): Do not (re)define it.
13593 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
13594 rather than speedbar- alias.
13595
ee44b62a
LL
135962013-05-21 Leo Liu <sdl.web@gmail.com>
13597
13598 * progmodes/octave.el (octave-mode-menu): Update and re-organize
13599 menu items.
13600 (octave-mode): Tweak fill-nobreak-predicate.
13601 (inferior-octave-startup): Check process to avoid infinite loop.
13602 (inferior-octave): Pop to buffer first to show abornmal process
13603 exit information.
13604
640f050f
GM
136052013-05-21 Glenn Morris <rgm@gnu.org>
13606
79458038
GM
13607 * printing.el (pr-menu-bar): Define when compiling.
13608
9cc3e83f
LL
136092013-05-21 Leo Liu <sdl.web@gmail.com>
13610
13611 * progmodes/octave.el (octave-auto-fill): Remove.
13612 (octave-indent-new-comment-line): Improve.
13613 (octave-mode): Use auto fill mode through
4f405069 13614 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 13615 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 13616 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
13617 (octave-help): Show parent directory.
13618
f440830d
GM
136192013-05-21 Glenn Morris <rgm@gnu.org>
13620
13621 * files.el (dired-unmark):
13622 * progmodes/gud.el (gdb-input): Update declarations.
13623
13624 * calculator.el (electric, ehelp): No need to load when compiling.
13625 (Electric-command-loop, electric-describe-mode): Declare.
13626
13627 * doc-view.el (doc-view-current-converter-processes): Move before use.
13628
13629 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13630 Move MODE-set-explicitly definition before use.
13631
13632 * international/mule-diag.el (mule-diag):
13633 Don't use obsolete window-system-version.
13634
13635 * mail/feedmail.el (smtpmail): No need to load when compiling.
13636 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
13637
13638 * mail/mail-utils.el (rfc822): No need to load when compiling.
13639 (rfc822-addresses): Autoload it.
13640 (mail-strip-quoted-names): Trivial simplification.
13641
13642 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
13643 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
13644
13645 * net/snmp-mode.el (tempo): Don't duplicate requires.
13646
13647 * progmodes/prolog.el (info): No need to load when compiling.
13648 (comint): Require before shell requires it.
13649 (Info-goto-node): Autoload it.
13650 (Info-follow-nearest-node): Declare.
13651 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
13652
13653 * textmodes/artist.el (picture-mode-exit): Declare.
13654
13655 * textmodes/reftex-parse.el (reftex-parse-from-file):
13656 Trivial rewrite so the compiler can parse it better.
13657
b4da2cbb
LL
136582013-05-20 Leo Liu <sdl.web@gmail.com>
13659
13660 * progmodes/octave.el (octave-help-mode-map)
13661 (octave-help-mode-finish-hook): New variables.
13662 (octave-help-mode, octave-help-mode-finish): New functions.
13663 (octave-help): Use octave-help-mode.
13664
33c0f65b
GM
136652013-05-20 Glenn Morris <rgm@gnu.org>
13666
13667 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
13668
1a0a0a8a
DG
136692013-05-19 Dmitry Gutov <dgutov@yandex.ru>
13670
13671 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
13672 start at point, so that expansion starting right after opening
13673 slash in a regexp is recognized.
13674 (ruby-syntax-before-regexp-re): New defvar, extracted from
13675 ruby-syntax-propertize-function. Since the value of this regexp
13676 is looked up at runtime now, we should be able to turn
13677 `ruby-syntax-methods-before-regexp' into a defcustom later.
13678 (ruby-syntax-propertize-function): Split regexp matching into two
13679 parts, for opening and closing slashes. That allows us to skip
13680 over string interpolations and support multiline regexps.
13681 Don't call `ruby-syntax-propertize-expansions', instead use another rule
13682 for them, which calls `ruby-syntax-propertize-expansion'.
13683 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
13684 call to `ruby-syntax-propertize-function'.
13685 (ruby-syntax-propertize-expansion): Extracted from
13686 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
13687 (ruby-syntax-propertize-percent-literal): Leave point right after
13688 the percent symbol, so that the expression expansion rule can
13689 propertize the contents.
462388b6
DG
13690 (ruby-syntax-propertize-heredoc): Leave point at bol following the
13691 heredoc openers.
13692 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 13693
c1a6c0a4
JL
136942013-05-18 Juri Linkov <juri@jurta.org>
13695
13696 * man.el (Man-default-man-entry): Remove `-' from the end
13697 of the default value. (Bug#14400)
13698
8051fccd
GM
136992013-05-18 Glenn Morris <rgm@gnu.org>
13700
13701 * comint.el (comint-password-prompt-regexp):
13702 Allow "password for XXX" where XXX contains colons (eg https://...).
13703
5e80b74f
LL
137042013-05-18 Leo Liu <sdl.web@gmail.com>
13705
13706 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 13707 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
13708 (octave-source-directories): Don't check process.
13709 (octave-source-directories, octave-find-definition): Doc fix.
13710
521a54c5
GM
137112013-05-18 Glenn Morris <rgm@gnu.org>
13712
86a94b05
GM
13713 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
13714 Remove backspace/delete bindings. (Bug#14392)
13715
521a54c5
GM
13716 * cus-dep.el (custom-make-dependencies): Sort the output.
13717 (custom-versions-load-alist): Convert comment to doc.
13718
42caeb89
LL
137192013-05-17 Leo Liu <sdl.web@gmail.com>
13720
13721 * newcomment.el (comment-search-backward): Stricter in finding
13722 comment start. (Bug#14303)
13723
13724 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
13725 (octave-comment-start-skip): Properly anchored.
13726
e219dd97
LL
137272013-05-17 Leo Liu <sdl.web@gmail.com>
13728
fe1eb856
RS
13729 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
13730 Clean up when turned off. (Bug#14395)
e219dd97
LL
13731 (smie--highlight-matching-block-overlay): No longer buffer-local.
13732 (smie-highlight-matching-block): Adjust.
13733
dc5dcb4b
PE
137342013-05-17 Paul Eggert <eggert@cs.ucla.edu>
13735
13736 Doc string fix for "nanoseconds" (Bug#14406).
13737 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
13738 Fix doc string typo that had "nanoseconds" instead of "microseconds".
13739
1db165f0
JB
137402013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
13741
13742 * calc/calc-units.el (math-extract-units): Preserve powers
13743 of units.
13744
c7a8fcac
LL
137452013-05-17 Leo Liu <sdl.web@gmail.com>
13746
13747 * subr.el (delete-consecutive-dups): New function.
13748 * ido.el (ido-set-matches-1): Use it.
13749 * progmodes/octave.el (inferior-octave-completion-table): Use it.
13750 * ido.el (ido-remove-consecutive-dups): Remove.
13751
f678b18a
SM
137522013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13753
13754 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
13755 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
13756 regexp-opt's `words'.
13757
ebfe68e8
LL
137582013-05-16 Leo Liu <sdl.web@gmail.com>
13759
13760 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
13761 (smie--highlight-matching-block-overlay)
13762 (smie--highlight-matching-block-lastpos)
13763 (smie--highlight-matching-block-timer): New variables.
13764 (smie-highlight-matching-block): New function.
13765 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
13766 (smie-setup): Conditionally enable smie-blink-matching-open.
13767
bc8bc17d
WS
137682013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
13769
13770 Sync with upstream verilog-mode r840.
13771 * progmodes/verilog-mode.el (verilog-mode-version)
13772 (verilog-mode-release-date): Update.
13773 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
13774 (verilog-sig-tieoff): Fix string error on
13775 AUTORESET with colon define, bug594. Reported by Andrew Hou.
13776 (verilog-read-decls): Fix parameters confusing
13777 AUTOINST interfaces, bug565. Reported by Leith Johnson.
13778
df065a0b
EZ
137792013-05-16 Eli Zaretskii <eliz@gnu.org>
13780
13781 * subr.el (reveal-filename): New function.
13782
13783 * loadup.el: Compute Emacs executable versions on MS-Windows,
13784 where executables have the .exe extension. Add a hard link
13785 emacs-XX.YY.ZZ.exe on MS-Windows.
13786
13787 * Makefile.in (XARGS_LIMIT): New variable.
13788 (custom-deps, finder-data, autoloads)
13789 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
13790 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
13791 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
13792 (compile-main): Limit xargs according to $(XARGS_LIMIT).
13793
2d4bf34b
LL
137942013-05-16 Leo Liu <sdl.web@gmail.com>
13795
13796 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
13797 (octave-mode-menu, octave-mode-map): Remove its uses.
13798
6b9c2d85
RZ
137992013-05-16 Reto Zimmermann <reto@gnu.org>
13800
13801 Sync with upstream vhdl mode v3.34.2.
13802 * progmodes/vhdl-mode.el: Use `push' throughout.
13803 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
13804 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
13805 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
13806 (vhdl-actual-generic-name): New option to derive actual generic name.
13807 (vhdl-port-paste-signals): Replace formal by actual generics.
13808 (vhdl-beautify): New name for old group vhdl-align. Update users.
13809 (vhdl-beautify-options): New option.
13810 (vhdl-last-input-event): New compat alias. Use throughout.
13811 (vhdl-goto-line): Replace user level function `goto-line'.
13812 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
13813 vhdl-fix-statement-buffer.
13814 (vhdl-create-mode-menu): Add some entries.
13815 (vhdl-align-region-groups): Respect vhdl-beautify-options.
13816 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
13817 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
13818 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
13819 to force statements on one line.
13820 (vhdl-remove-trailing-spaces-region):
13821 New, split from vhdl-remove-trailing-spaces.
13822 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
13823 Respect vhdl-beautify-options.
13824 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
13825 (vhdl-update-sensitivity-list): Not add with index if exists without.
13826 Not include array index with signal. Ignore keywords in comments.
13827 (vhdl-get-visible-signals): Regexp tweaks.
13828 (vhdl-template-component-inst): Handle empty library.
13829 (vhdl-template-type): Add template for 'enum' type.
13830 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
13831 Use vhdl-replace-string.
13832 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
13833 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
13834 (vhdl-speedbar-initialize): Update for above name change.
13835 (vhdl-compose-wire-components): Fix in handling of constants.
13836 (vhdl-error-regexp-emacs-alist): New variable.
13837 (vhdl-error-regexp-add-emacs): New function;
13838 adds support for new compile.el (Emacs 22+)
13839 (vhdl-generate-makefile-1): Change target order for single lib. units.
13840 Allow use of absolute file names.
13841
9df4ec5e
LL
138422013-05-16 Leo Liu <sdl.web@gmail.com>
13843
13844 * simple.el (prog-indent-sexp): Indent enclosing defun.
13845
f5ba00a6
GM
138462013-05-15 Glenn Morris <rgm@gnu.org>
13847
ed8be7ff
GM
13848 * cus-start.el (show-trailing-whitespace): Move to editing basics.
13849 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
13850 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
13851 (whitespace-highlight): Move to whitespace group.
13852
13853 * comint.el (comint-source):
13854 * pcmpl-linux.el (pcmpl-linux):
13855 * shell.el (shell-faces):
13856 * eshell/esh-opt.el (eshell-opt):
13857 * international/ccl.el (ccl): Remove empty custom groups.
13858
13859 * completion.el (dynamic-completion-mode):
13860 * jit-lock.el (jit-lock-debug-mode):
13861 * minibuffer.el (completion-in-region-mode):
13862 * type-break.el (type-break-mode-line-message-mode)
13863 (type-break-query-mode):
13864 * emulation/tpu-edt.el (tpu-edt-mode):
13865 * progmodes/subword.el (global-subword-mode, global-superword-mode):
13866 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
13867 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
13868
13869 * term/xterm.el (xterm): Change parent group to terminals.
13870
13871 * master.el (master): Remove empty custom group.
13872 (master-mode): Remove unused :group argument.
13873 * textmodes/refill.el (refill): Remove empty custom group.
13874 (refill-mode): Remove unused :group argument.
13875
13876 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
13877
82a7c41b
GM
13878 * cus-dep.el: Provide a feature.
13879 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
13880 Don't mistakenly ignore files whose basenames match a basename
13881 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 13882 Add a fallback method for getting :group.
f5ba00a6 13883
6d65486d
JL
138842013-05-15 Juri Linkov <juri@jurta.org>
13885
da547b32
JL
13886 * isearch.el (isearch-char-by-name): Rename from
13887 `isearch-insert-char-by-name'. Doc fix.
13888 (isearch-forward): Mention `isearch-char-by-name' in
13889 the docstring. (Bug#13348)
13890
6d65486d
JL
13891 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
13892 `exit-minibuffer' instead of
13893 `isearch-nonincremental-exit-minibuffer'.
13894 (isearch-edit-string): Remove mention of
13895 `isearch-nonincremental-exit-minibuffer' from docstring.
13896 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
13897 (isearch-forward-exit-minibuffer)
13898 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
13899
c9990474
SM
139002013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
13901
6e911150
SM
13902 * loadup.el: Just use unversioned DOC.
13903
c9990474
SM
13904 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
13905 literals as extending to EOB.
13906 (nxml-last-fontify-end): Remove unused variable.
13907 (nxml-after-change1): Use with-silent-modifications.
13908 (nxml-extend-after-change-region): Simplify.
13909 (nxml-extend-after-change-region1): Remove function.
13910 (nxml-after-change1): Don't adjust for dependent regions.
13911 (nxml-fontify-matcher): Simplify.
13912 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
13913 (xmltok-add-dependent): Remove function.
13914 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
13915 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
13916 (xmltok-scan-prolog-after-processing-instruction-open): Treat
13917 unclosed <[[, <?, comment, and other literals as extending to EOB.
13918 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
13919 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
13920 Remove functions.
13921 (rng-do-some-validation-1): Don't mark dependent regions.
13922 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
13923 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
13924 (nxml-clear-dependent-regions): Remove functions.
13925 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
13926 (nxml-ensure-scan-up-to-date):
13927 Don't clear&mark dependent regions.
13928
e3772e98
LL
139292013-05-15 Leo Liu <sdl.web@gmail.com>
13930
c9990474
SM
13931 * progmodes/octave.el (octave-goto-function-definition):
13932 Improve and fix callers.
e3772e98 13933
5ac2eb34
SM
139342013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
13935
c46c57b0
SM
13936 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
13937 the setter (bug#14387).
13938
5ac2eb34
SM
13939 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
13940 surrounding group (bug#14402).
13941
180ed218
JL
139422013-05-14 Juri Linkov <juri@jurta.org>
13943
13944 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
13945 (Bug#14390)
13946
0ac0fecb
GM
139472013-05-14 Glenn Morris <rgm@gnu.org>
13948
13949 * progmodes/f90.el (f90-imenu-generic-expression):
13950 Fix typo in 2013-05-08 change. (Bug#14402)
13951
2e78e6a7
JPG
139522013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
13953
5ac2eb34
SM
13954 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
13955 Remove signals for which replies are never received.
2e78e6a7 13956
53267cca
JPG
139572013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
13958
13959 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
13960 (gdb-handler-alist, gdb-handler-number): Remove variables.
13961 (gdb-handler-list): New variable.
13962 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
13963 (gdb-pending-handler-p, gdb-handle-reply)
13964 (gdb-remove-all-pending-triggers): New functions.
13965 (gdb-discard-unordered-replies): New defcustom.
13966 (gdb-handler): New defstruct.
13967 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
13968 instead of gdb-pending-triggers. Update docstring.
13969 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
13970 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
13971 (gdb-var-update-handler, def-gdb-auto-update-trigger)
13972 (def-gdb-auto-update-handler, gdb-get-changed-registers)
13973 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
13974 (gdb-frame-handler): Pending triggers are now automatically managed.
13975 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
13976 Remove argument.
13977 (gdb-input): Automatically handles pending triggers. Update docstring.
13978 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
13979 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
13980 Update comments.
13981 (gdb-done-or-error): Now use gdb-handle-reply.
13982
d04ce803
JPG
139832013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
13984
13985 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
13986 gdb-debug-log.
13987
0114073a
GM
139882013-05-14 Glenn Morris <rgm@gnu.org>
13989
13990 * subr.el (user-emacs-directory-warning): New option.
13991 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
13992
4d25fd7e
LL
139932013-05-14 Leo Liu <sdl.web@gmail.com>
13994
13995 * progmodes/octave.el (octave-font-lock-keywords): Fix error
13996 during redisplay.
13997 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
13998 (octave-font-lock-texinfo-comment): Fix invalid search bound
13999 error: wrong side of point.
4d25fd7e 14000
27c8b6eb
GM
140012013-05-14 Glenn Morris <rgm@gnu.org>
14002
61aaeb01
GM
14003 * progmodes/flymake.el (flymake-xml-program): New option.
14004 (flymake-xml-init): Use it.
14005
5bf90bc5
GM
14006 * term/xterm.el: Provide a feature.
14007
14008 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 14009
f4c7dfd2
GM
140102013-05-13 Glenn Morris <rgm@gnu.org>
14011
14012 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
14013 Add compat aliases as a hack workaround. (Bug#14384)
14014
2aeb3a1d
LL
140152013-05-13 Leo Liu <sdl.web@gmail.com>
14016
b0e069c2
LL
14017 * progmodes/octave.el (octave-indent-comment): Fix indentation for
14018 ###, and %!.
f5a9432f
LL
14019 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
14020 C-M-q.
b0e069c2
LL
14021 (octave-comment-start-skip): Include %!.
14022 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 14023
30ea8374
LL
140242013-05-12 Leo Liu <sdl.web@gmail.com>
14025
14026 * progmodes/octave.el (inferior-octave-startup): Store the value
14027 of __octave_srcdir__ for octave-source-directories.
14028 (inferior-octave-check-process): New function refactored out of
14029 inferior-octave-send-list-and-digest.
14030 (octave-source-directories)
14031 (octave-find-definition-filename-function): New variables.
14032 (octave-source-directories)
14033 (octave-find-definition-default-filename): New functions.
14034 (octave-find-definition): Improve to find functions implemented in C++.
14035
472a3834
GM
140362013-05-12 Glenn Morris <rgm@gnu.org>
14037
14038 * calendar/diary-lib.el (diary-outlook-format-1):
14039 Don't include dayname in the output. (Bug#14349)
14040
3191b52f
GM
140412013-05-11 Glenn Morris <rgm@gnu.org>
14042
0060ac73
GM
14043 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
14044
3191b52f
GM
14045 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
14046 Treat cc-provide like provide.
14047
e065ba74
KR
140482013-05-11 Kevin Ryde <user42@zip.com.au>
14049
14050 * cus-dep.el (custom-make-dependencies):
14051 Use generated-autoload-load-name for the sake of files such
14052 such cedet/semantic/bovine/c.el, where the base file name
14053 is not in load-path. (Bug#5277)
14054
36f84c37
GM
140552013-05-11 Glenn Morris <rgm@gnu.org>
14056
14057 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
14058 Provide features.
14059
c8730c3a
LL
140602013-05-11 Leo Liu <sdl.web@gmail.com>
14061
14062 * progmodes/octave.el (octave-indent-comment): Improve.
14063 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
14064 (octave-eldoc-function-signatures, octave-eldoc-function):
14065 New functions.
c8730c3a
LL
14066 (octave-mode, inferior-octave-mode): Add eldoc support.
14067
212e29f2
RS
140682013-05-11 Richard Stallman <rms@gnu.org>
14069
14070 * epa.el (epa-decrypt-file): Take output file name as argument
14071 and read it using `interactive'.
14072
083fe0d7
LL
140732013-05-11 Leo Liu <sdl.web@gmail.com>
14074
14075 * progmodes/octave.el (octave-beginning-of-line)
14076 (octave-end-of-line): Check before using up-list because it jumps
14077 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
14078 (octave-indent-comment): New function.
14079 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
14080 (octave-begin-keywords, octave-end-keywords)
14081 (octave-reserved-words, octave-smie-bnf-table)
14082 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 14083
8582e4c4
GM
140842013-05-11 Glenn Morris <rgm@gnu.org>
14085
f20def1f
GM
14086 * faces.el (internal-face-x-get-resource):
14087 * frame.el (ns-display-monitor-attributes-list):
d78abe37 14088 * calc/calc-aent.el (math-to-radians-2):
f20def1f 14089 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 14090 Fix declarations.
f20def1f 14091
445f95e2
GM
14092 * calc/calc-menu.el: Make it loadable in isolation.
14093
14094 * net/eudcb-bbdb.el: Make it loadable without bbdb.
14095 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
14096 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
14097 (eudc-bbdb-query-internal): Require 'bbdb.
14098
99fb2756
GM
14099 * lpr.el (lpr-headers-switches):
14100 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
14101
14102 * progmodes/sql.el (sql-login-params): Fix and improve :type.
14103
0da7ad96
GM
14104 * emulation/edt-mapper.el: In batch mode, error rather than hang.
14105
8582e4c4
GM
14106 * term.el (term-set-escape-char): Make it idempotent.
14107
f71c50d0
LL
141082013-05-10 Leo Liu <sdl.web@gmail.com>
14109
5ac2eb34
SM
14110 * progmodes/octave.el (inferior-octave-completion-table):
14111 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
14112 completion due to bug#11906.
14113 (octave-beginning-of-defun): Re-write to be more general.
14114
d5837773
GM
141152013-05-10 Glenn Morris <rgm@gnu.org>
14116
14117 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
14118
027c0f75
SM
141192013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14120
14121 * comint.el (comint-redirect-send-command-to-process): Use :around
14122 rather than :override for comint-redirect-filter.
14123 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
14124 Call it instead of comint-redirect-original-filter-function (which
14125 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
14126
4465bfb4
JD
141272013-05-09 Jan Djärv <jan.h.d@swipnet.se>
14128
14129 * frame.el (display-monitor-attributes-list): Add NS case.
14130 (ns-display-monitor-attributes-list): Declare.
14131
2d809ffa 141322013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
14133
14134 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
14135
e54eeb9b
GM
141362013-05-09 Glenn Morris <rgm@gnu.org>
14137
56cd351d
GM
14138 * international/fontset.el (vertical-centering-font-regexp):
14139 Set standard-value.
14140
d84b6108
GM
14141 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
14142
a931698a
GM
14143 * bookmark.el (bookmark-search-delay):
14144 * cus-start.el (vertical-centering-font-regexp):
14145 * ps-mule.el (ps-mule-font-info-database-default):
14146 * ps-print.el (ps-default-fg, ps-default-bg):
14147 * type-break.el (type-break-good-break-interval):
14148 * whitespace.el (whitespace-indentation-regexp)
14149 (whitespace-space-after-tab-regexp):
14150 * emacs-lisp/testcover.el (testcover-1value-functions)
14151 (testcover-noreturn-functions, testcover-progn-functions)
14152 (testcover-prog1-functions):
14153 * emulation/viper-init.el (viper-emacs-state-cursor-color):
14154 * eshell/em-glob.el (eshell-glob-translate-alist):
14155 * play/tetris.el (tetris-tty-colors):
14156 * progmodes/cpp.el (cpp-face-default-list):
14157 * progmodes/flymake.el (flymake-allowed-file-name-masks):
14158 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
14159 (idlwave-help-browser-generic-args):
14160 * progmodes/make-mode.el (makefile-special-targets-list):
14161 * progmodes/python.el (python-shell-virtualenv-path):
14162 * progmodes/verilog-mode.el (verilog-active-low-regexp)
14163 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
14164 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
14165 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
14166 * textmodes/reftex-vars.el (reftex-format-label-function):
14167 * textmodes/remember.el (remember-diary-file): Fix custom types.
14168
e54eeb9b
GM
14169 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
14170 Add :version.
14171
455851dd
LL
141722013-05-09 Leo Liu <sdl.web@gmail.com>
14173
14174 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 14175 Restore file completion. (Bug#14300)
455851dd
LL
14176 (inferior-octave-startup): Fix incorrect highlighting for the
14177 first prompt.
14178
a9e4425b
SM
141792013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14180
14181 * progmodes/ruby-mode.el: First cut at SMIE support.
14182 (ruby-use-smie): New var.
14183 (ruby-smie-grammar): New constant.
14184 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
14185 (ruby-smie--forward-token, ruby-smie--backward-token)
14186 (ruby-smie-rules): New functions.
14187 (ruby-mode-variables): Setup SMIE if applicable.
14188
060ca408
EZ
141892013-05-08 Eli Zaretskii <eliz@gnu.org>
14190
14191 * simple.el (line-move-visual): Signal beginning/end of buffer
14192 only if vertical-motion moved less than it was requested. Avoids
14193 silly incorrect error messages when there are display strings with
14194 multiple newlines at EOL.
14195
1d5963cc
SM
141962013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14197
14198 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
14199 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
14200 (prolog-char-quote-workaround):
14201 * progmodes/cperl-mode.el (cperl-under-as-char):
14202 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
14203 Mark as obsolete.
14204 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
14205 their declaration.
14206 (vhdl-mode-syntax-table-init): Remove.
14207
c9990474
SM
14208 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
14209 last change.
1d5963cc
SM
14210
14211 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
14212 syntax for "_".
14213 (ld-script-font-lock-keywords):
14214 Change regexps to use things like \_< and \_>.
14215
14216 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
14217 Change all regexps to use things like \_< and \_>.
14218
14219 * progmodes/autoconf.el (autoconf-definition-regexp)
14220 (autoconf-font-lock-keywords, autoconf-current-defun-function):
14221 Handle a _ with symbol syntax.
14222 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
14223
c9990474
SM
14224 * progmodes/ada-mode.el (ada-mode-abbrev-table):
14225 Consolidate declaration.
1d5963cc
SM
14226 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
14227 the declaration.
14228 (ada-create-syntax-table): Remove.
14229 (ada-capitalize-word): Don't mess with the syntax of "_" since it
14230 already has the right syntax nowadays.
14231 (ada-goto-next-word): Don't change the syntax of "_".
14232
14233 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
14234 with-wrapper-hook.
14235
72d3cfca
SS
142362013-05-08 Sam Steingold <sds@gnu.org>
14237
14238 * thingatpt.el (thing-at-point): Accept optional second argument
14239 NO-PROPERTIES to strip the text properties from the return value.
14240 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
14241 to `thing-at-point' instead of stripping the properties ourselves.
14242 Also, when `thing-at-point' fails to find a url, prepend "http://"
14243 to the filename at point on the assumption that the user is
14244 pointing at something like gnu.org/gnu.
14245
5cb15713
JB
142462013-05-08 Juanma Barranquero <lekktu@gmail.com>
14247
14248 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
14249 * faces.el (crm-separator):
14250 Silence byte-compiler.
14251
14252 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
14253 (tool-bar-map): Remove unneeded defvars.
14254
ea78b95b
LL
142552013-05-08 Leo Liu <sdl.web@gmail.com>
14256
14257 Re-work a fix for bug#10994 based on Le Wang's patch.
14258 * ido.el (ido-remove-consecutive-dups): New helper.
14259 (ido-completing-read): Use it.
14260 (ido-chop): Revert fix for bug#10994.
14261
dc7466df
AS
142622013-05-08 Adam Spiers <emacs@adamspiers.org>
14263
14264 * cus-edit.el (custom-save-variables):
14265 Pretty-print long values. (Bug#14187)
14266
9ecf672a
GM
142672013-05-08 Glenn Morris <rgm@gnu.org>
14268
14269 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
14270 (m4-mode-syntax-table): Init in the defvar.
14271 (m4-mode-abbrev-table): Let define-derived-mode define it.
14272
3f555be8
TT
142732013-05-08 Tom Tromey <tromey@redhat.com>
14274
14275 * progmodes/m4-mode.el (m4-mode-syntax-table):
14276 Do not treat "_" as word constituent. (Bug#14167)
14277
7cc8ae06
GM
142782013-05-07 Glenn Morris <rgm@gnu.org>
14279
4f58bc06
GM
14280 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
14281 Remove explicit eshell-isearch-cancel-map.
14282
7cc8ae06
GM
14283 * progmodes/f90.el (f90-smart-end-names): New option.
14284 (f90-smart-end): Doc fix.
14285 (f90-end-block-optional-name): New constant.
14286 (f90-block-match): Respect f90-smart-end-names.
14287
ceb57e59
SM
142882013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14289
14290 * progmodes/octave.el (octave-smie-forward-token): Be more careful
14291 about implicit semi-colons (bug#14218).
14292
4e3f9230
YM
142932013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
14294
14295 * frame.el (display-monitor-attributes-list)
14296 (frame-monitor-attributes): New functions.
14297
203a5572
LL
142982013-05-06 Leo Liu <sdl.web@gmail.com>
14299
14300 * progmodes/octave.el (octave-syntax-propertize-function): Change
14301 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
14302 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 14303 (octave-completion-at-point): Rename from
203a5572
LL
14304 octave-completion-at-point-function.
14305 (inferior-octave-directory-tracker): Robustify.
14306 (octave-text-functions): Remove and fix its uses. No such things
14307 any more.
14308
ee6cff99
SM
143092013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14310
14311 * emacs-lisp/trace.el (trace--display-buffer): New function.
14312 (trace-make-advice): Use it.
14313
32985194
JL
143142013-05-06 Juri Linkov <juri@jurta.org>
14315
14316 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
14317 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
14318 Doc fix.
14319 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
14320 in the help string. (Bug#12985)
14321
a1c700de
KD
143222013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
14323
14324 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
14325
c67c0839
SM
143262013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14327
323885fd
SM
14328 * progmodes/perl-mode.el: Add support for here documents.
14329 (perl-syntax-propertize-function): Match here-doc markers.
14330 (perl-syntax-propertize-special-constructs): Find their end.
14331 (perl-imenu-generic-expression): Use [:alnum:].
14332
c67c0839
SM
14333 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
14334 (advice--add-function): Refresh the advice if already present
14335 (bug#14317).
14336
d491e7a8
IA
143372013-05-06 Ivan Andrus <darthandrus@gmail.com>
14338
14339 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
14340
ddf9925e
GM
143412013-05-06 Glenn Morris <rgm@gnu.org>
14342
7cc3af27
GM
14343 * w32-fns.el (w32-charset-info-alist): Declare.
14344
16e343d6
GM
14345 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
14346 of its defcustom properties.
14347 (eshell-cmpl-initialize): No need to load pcomplete.
14348
7d889a47
GM
14349 * generic-x.el: No need to require comint when compiling.
14350
ddf9925e
GM
14351 * net/eudc-export.el: Make it loadable without bbdb.
14352 (top-level): Use require rather than load-library.
14353 (eudc-create-bbdb-record, eudc-bbdbify-phone)
14354 (eudc-batch-export-records-to-bbdb)
14355 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
14356 Require bbdb.
14357
1e2c18df
SM
143582013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14359
14360 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
14361 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
14362 some tweaks, instead.
14363
02502a5f
LL
143642013-05-05 Leo Liu <sdl.web@gmail.com>
14365
14366 * progmodes/octave.el (octave-font-lock-keywords)
14367 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
14368 (inferior-octave-send-list-and-digest): Improve error message.
14369 (octave-mode, inferior-octave-mode): Use setq-local.
14370 (octave-help): Set info-lookup-mode.
14371
0dc04f42
RS
143722013-05-05 Richard Stallman <rms@gnu.org>
14373
6c54491c
RS
14374 * vc/compare-w.el (compare-windows-whitespace):
14375 Treat no-break space as whitespace.
14376
0dc04f42
RS
14377 * mail/rmailsum.el (rmail-summary-rmail-update):
14378 Detect empty summary and don't change selected message.
14379 (rmail-summary-goto-msg): Likewise.
14380
df8f35df
RS
14381 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
14382 Doc fixes, rename args.
14383
5356e1a3
AM
143842013-05-05 Alan Mackenzie <acm@muc.de>
14385
14386 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
14387
d44014cb
JL
143882013-05-05 Juri Linkov <juri@jurta.org>
14389
14390 * info.el (Info-read-subfile): Use (point-min) instead of (point)
14391 to not add the length of the summary segment to the return value.
14392 (Bug#14125)
14393
c129b51f
LL
143942013-05-05 Leo Liu <sdl.web@gmail.com>
14395
14396 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
14397 (inferior-octave-output-filter): Remove.
14398 (octave-send-region, inferior-octave-startup): Fix callers.
14399 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
14400 (octave-binary-file-extensions): New user variable.
14401 (octave-find-definition): Confirm if opening binary files.
14402 (octave-help-file): Use octave-find-definition to get the binary
14403 confirmation.
14404 (octave-help): Adjust for octave-help-file change.
14405
aa7dab97
SM
144062013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14407
14408 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
14409 Merge the two entries that handle function definitions.
14410 (pascal--syntax-propertize): New const.
14411 (pascal-mode): Use it. Use setq-local.
14412
fd3a9a6b
GM
144132013-05-04 Glenn Morris <rgm@gnu.org>
14414
14415 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
14416 (diary-from-outlook): Respect diary-from-outlook-function.
14417
30c7e542
SM
144182013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14419
14420 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
14421 Move the declaration from C.
14422 (read-minibuffer, eval-minibuffer): Move from C.
14423 (completion-setup-function): Avoid minibuffer-completion-contents.
14424
b54f978b
LL
144252013-05-03 Leo Liu <sdl.web@gmail.com>
14426
14427 * progmodes/octave.el (octave-font-lock-keywords): Do not
14428 dehighlight 'end' in comments or strings.
30c7e542
SM
14429 (octave-completing-read, octave-goto-function-definition):
14430 New helpers.
d4d0f9b3
LL
14431 (octave-help-buffer): New user variable.
14432 (octave-help-file, octave-help-function): New button types.
14433 (octave-help): New command and bind it to C-h ;.
14434 (octave-find-definition): New command and bind it to M-.
d74a1581 14435 (user-error): Alias to error if not defined.
b54f978b 14436
27135018
LL
144372013-05-02 Leo Liu <sdl.web@gmail.com>
14438
14439 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
14440 for \. (bug#14332)
14441 (octave-font-lock-keywords): Include [ and {.
14442
0d634d3a
LL
144432013-05-02 Leo Liu <sdl.web@gmail.com>
14444
14445 * progmodes/octave.el (inferior-octave-startup-file): Change default.
14446 (inferior-octave): Remove calling comint-mode and return the buffer.
14447 (inferior-octave-startup): Cosmetic changes.
14448
b4c8295e
LL
144492013-05-02 Leo Liu <sdl.web@gmail.com>
14450
30c7e542
SM
14451 * progmodes/octave.el (octave-syntax-propertize-function):
14452 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 14453
f12ad6ec
GM
144542013-05-02 Glenn Morris <rgm@gnu.org>
14455
14456 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
14457 * desktop.el (vc-dir-mode): Just autoload it here.
14458
30cac1e0
AM
144592013-05-02 Alan Mackenzie <acm@muc.de>
14460
14461 Eliminate variable c-standard-font-lock-fontify-region-function.
14462 * progmodes/cc-mode.el
14463 (c-standard-font-lock-fontify-region-function): Remove.
14464 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
14465
d8ef28b1
LL
144662013-05-01 Leo Liu <sdl.web@gmail.com>
14467
2640d52e 14468 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 14469 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 14470 variables were removed from Octave in 2007.
d8ef28b1
LL
14471 (inferior-octave-startup): Fix uses.
14472 (comint-line-beginning-position): Remove compatibility code for
14473 emacs 21.
14474
ac63ec89
JL
144752013-05-01 Juri Linkov <juri@jurta.org>
14476
14477 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
14478
9e9be37c
JL
144792013-05-01 Juri Linkov <juri@jurta.org>
14480
14481 * comint.el (comint-previous-matching-input): Don't print message
14482 "History item: %d" when `isearch-mode' is active.
14483 (comint-history-isearch-message): Print message "History item: %d"
14484 when `comint-input-ring-index' is not empty and this function is
14485 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
14486
9b92c13b
LL
144872013-05-01 Leo Liu <sdl.web@gmail.com>
14488
14489 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
14490 definitions. Use completion-at-point to insert keywords.
14491 (octave-abbrev-start): Remove.
14492 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
14493
b12d33d7
LL
144942013-04-30 Leo Liu <sdl.web@gmail.com>
14495
14496 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
14497 change.
14498
3d1c39fa
AM
144992013-04-30 Alan Mackenzie <acm@muc.de>
14500
14501 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
14502 * progmodes/cc-engine.el (c-back-over-member-initializers):
14503 new function.
3d1c39fa
AM
14504 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
14505 (most) member init lists.
14506
5147fc17
RS
145072013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14508
14509 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
14510 variable.
14511
5b78d7fc
LL
145122013-04-30 Leo Liu <sdl.web@gmail.com>
14513
14514 * progmodes/octave.el (octave-variables): Remove. No builtin
14515 variables any more. All converted to functions.
14516 (octave-font-lock-keywords, octave-completion-at-point-function):
14517 Fix uses.
14518 (octave-font-lock-texinfo-comment): New user variable.
14519 (octave-texinfo-font-lock-keywords): New variable for texinfo
14520 comment block.
14521 (octave-function-comment-block): New face.
14522 (octave-font-lock-texinfo-comment): New function.
14523 (octave-mode): Font lock texinfo comment block.
14524
38d8527b
LL
145252013-04-29 Leo Liu <sdl.web@gmail.com>
14526
14527 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
14528 indexing expression.
14529 (octave-continuation-string): Do not use \.
14530 (inferior-octave-complete-impossible): Remove.
14531 (inferior-octave-completion-table)
14532 (inferior-octave-completion-at-point): Remove its uses.
14533 (inferior-octave-startup): completion_matches was introduced to
14534 Octave in 1996 so safe to assume it.
14535 (octave-function-file-comment): Improve to follow how Octave does it.
14536 (octave-update-function-file-comment): Tweak.
14537
2ec12cb0
LL
145382013-04-29 Leo Liu <sdl.web@gmail.com>
14539
14540 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
14541 (inferior-octave-startup): Remove inferior-octave-startup-hook.
14542 (octave-function-file-comment): Fix typo.
14543 (octave-sync-function-file-names): Use read-char-choice.
14544
6eaed048
JB
145452013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
14546
14547 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
14548 to t for the less important warnings.
14549
3ffa2d4f
DH
145502013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
14551
14552 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
14553
685c9501
GM
145542013-04-27 Glenn Morris <rgm@gnu.org>
14555
14556 * vc/log-view.el (log-view-current-entry):
14557 Treat "---" separator lines as part of the following rev. (Bug#14169)
14558
0208ede7
JL
145592013-04-27 Juri Linkov <juri@jurta.org>
14560
14561 * subr.el (read-number): Doc fix about using it by interactive
14562 code letter `n'. (Bug#14254)
14563
5db9dace
JL
145642013-04-27 Juri Linkov <juri@jurta.org>
14565
14566 * desktop.el (desktop-auto-save-timeout): New option.
14567 (desktop-file-checksum): New variable.
14568 (desktop-save): Add optional arg `auto-save' and don't auto-save
14569 if nothing changed.
14570 (desktop-auto-save-timer): New variable.
14571 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
14572 (after-init-hook): Call `desktop-auto-save-set-timer'.
14573 Suggested by Reuben Thomas <rrt@sc3d.org> in
14574 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
14575
b7260dd4
LL
145762013-04-27 Leo Liu <sdl.web@gmail.com>
14577
14578 * progmodes/octave.el (octave-function-file-p)
14579 (octave-skip-comment-forward, octave-function-file-comment)
14580 (octave-update-function-file-comment): New functions.
14581 (octave-mode-map): Bind C-c ; to
14582 octave-update-function-file-comment.
14583 (octave-mode-menu): Add octave-update-function-file-comment.
14584 (octave-mode, inferior-octave-mode): Fix doc-string.
14585 (octave-insert-defun): Conform to Octave's coding convention.
14586 (Bug#14285)
14587
14588 * files.el (basic-save-buffer): Don't let errors in
14589 before-save-hook prevent saving buffer.
14590
c46da669
RW
145912013-04-20 Roland Winkler <winkler@gnu.org>
14592
14593 * faces.el (read-face-name): Use completing-read if arg multiple
14594 is nil.
14595
a81ee1eb
IL
145962013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
14597
14598 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
14599 displayed, move point to after the totals line.
14600 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
14601 for the details.
14602
4fac34ce
SM
146032013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
14604
14605 * emacs-lisp/package.el (package-autoload-ensure-default-file):
14606 Add current dir to the load-path.
14607 (package-generate-autoloads): Don't rely on
14608 autoload-ensure-default-file.
14609
f6bfc063
RT
146102013-04-26 Reuben Thomas <rrt@sc3d.org>
14611
d40ab5cf
BG
14612 * textmodes/remember.el (remember-store-in-files): Document that
14613 the file name format is passed to `format-time-string'.
f6bfc063 14614
e55d3b04
LL
146152013-04-26 Leo Liu <sdl.web@gmail.com>
14616
14617 * progmodes/octave.el (octave-sync-function-file-names): New function.
14618 (octave-mode): Use it in before-save-hook.
14619
e53052d3
SM
146202013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
14621
140ef50c
SM
14622 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
14623 (bug#14274).
14624
e53052d3
SM
14625 * progmodes/octave.el (octave-smie-forward-token): Properly skip
14626 \n and comment, even if it's not an implicit ; (bug#14218).
14627
af80458d 146282013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
14629
14630 * subr.el (read-number): Once more use `read' rather than
14631 `string-to-number', to trap non-numeric input. (Bug#14254)
14632
af80458d 146332013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
14634
14635 * emacs-lisp/syntax.el (syntax-propertize-multiline):
14636 Use `syntax-multiline' text property consistently instead of
8a621d53 14637 `font-lock-multiline'. (Bug#14237)
70203c2e 14638
e6ea1f6c
GM
146392013-04-26 Glenn Morris <rgm@gnu.org>
14640
14641 * emacs-lisp/shadow.el (list-load-path-shadows):
14642 No longer necessary to check for duplicate simple.el, since
14643 2012-07-07 change to init_lread to not include installation lisp
14644 directories in load-path when running uninstalled. (Bug#14270)
14645
070ccca4
LL
146462013-04-26 Leo Liu <sdl.web@gmail.com>
14647
14648 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
14649 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 14650 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
14651 octave-in-string-or-comment-p.
14652 (octave-in-comment-p, octave-in-string-p)
14653 (octave-in-string-or-comment-p): Replace defsubst with defun.
14654
9d1c5fb6
PE
146552013-04-25 Paul Eggert <eggert@cs.ucla.edu>
14656
14657 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
14658
c034abda
BG
146592013-04-25 Bastien Guerry <bzg@gnu.org>
14660
14661 * textmodes/remember.el (remember-data-directory)
14662 (remember-directory-file-name-format): Fix custom types.
14663
584ea277
LL
146642013-04-25 Leo Liu <sdl.web@gmail.com>
14665
e53052d3
SM
14666 * progmodes/octave.el (octave-completion-at-point-function):
14667 Make use of inferior octave process.
584ea277
LL
14668 (octave-initialize-completions): Remove.
14669 (inferior-octave-completion-table): New function.
14670 (inferior-octave-completion-at-point): Use it.
14671 (octave-completion-alist): Remove.
14672
1693b06a
SM
146732013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14674
14675 * progmodes/opascal.el: Use font-lock and syntax-propertize.
14676 (opascal-mode-syntax-table): New var.
14677 (opascal-literal-kind, opascal-is-literal-end)
14678 (opascal-literal-token-at): Rewrite.
14679 (opascal--literal-start-re, opascal-font-lock-keywords)
14680 (opascal--syntax-propertize): New constants.
14681 (opascal-font-lock-defaults): Adjust.
14682 (opascal-mode): Use them. Set comment-<foo> variables as well.
14683 (delphi-comment-face, opascal-comment-face, delphi-string-face)
14684 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
14685 (delphi-other-face, opascal-other-face): Remove face variables.
14686 (opascal-save-state): Remove macro.
14687 (opascal-fontifying-progress-step): Remove constant.
14688 (opascal--ignore-changes): Remove var.
14689 (opascal-set-token-property, opascal-parse-next-literal)
14690 (opascal-is-stable-literal, opascal-complete-literal)
14691 (opascal-is-literal-start, opascal-face-of)
14692 (opascal-parse-region, opascal-parse-region-until-stable)
14693 (opascal-fontify-region, opascal-after-change)
14694 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
14695 (opascal-debug-parse-region, opascal-debug-parse-window)
14696 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
14697 (opascal-debug-fontify-buffer): Remove.
14698 (opascal-debug-mode-map): Adjust accordingly.
14699
be64c05d
LL
147002013-04-25 Leo Liu <sdl.web@gmail.com>
14701
14702 Merge octave-mod.el and octave-inf.el into octave.el with some
14703 cleanups.
14704 * progmodes/octave.el: New file renamed from octave-mod.el.
14705 * progmodes/octave-inf.el: Merged into octave.el.
14706 * progmodes/octave-mod.el: Renamed to octave.el.
14707
d79d37bd
TH
147082013-04-25 Tassilo Horn <tsdh@gnu.org>
14709
14710 * textmodes/reftex-vars.el
14711 (reftex-label-ignored-macros-and-environments): New defcustom.
14712
14713 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
14714
ced3fc5d
SM
147152013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14716
14717 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
14718 (smie-indent-keyword): Improve the check to ensure that the next
14719 comment is really on the same line.
14720 (smie-indent-comment): Don't align with a subsequent closer (or eob).
14721
14722 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
14723 semi-colons if the line is not otherwise empty (bug#14218).
14724
1c141dad
GM
147252013-04-25 Glenn Morris <rgm@gnu.org>
14726
14727 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
14728
5058062a
SM
147292013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
14730
14731 * progmodes/opascal.el (opascal-set-token-property): Rename from
14732 opascal-set-text-properties and only set `token' (bug#14134).
14733 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
14734 (opascal-literal-text-properties): Remove.
14735 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
14736 Adjust callers.
14737
5db9dace 147382013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
14739
14740 * textmodes/remember.el (remember-handler-functions): Add an
14741 option for a new handler `remember-store-in-files'.
14742 (remember-data-directory, remember-directory-file-name-format):
14743 New options.
14744 (remember-store-in-files): New function to store remember notes
14745 as separate files within a directory.
14746
4391916c
MH
147472013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
14748
14749 * progmodes/compile.el (compilation-next-error-function):
14750 Pass "formats" to compilation-find-file (bug#11777).
14751
bb7cdf58
GM
147522013-04-24 Glenn Morris <rgm@gnu.org>
14753
3b8fe752 14754 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
14755 * vc/vc-hg.el (vc-hg-print-log):
14756 * vc/vc-svn.el (vc-svn-print-log):
14757 Fix START-REVISION with LIMIT != 1. (Bug#14168)
14758
bb7cdf58
GM
14759 * vc/vc-bzr.el (vc-bzr-print-log):
14760 * vc/vc-cvs.el (vc-cvs-print-log):
14761 * vc/vc-git.el (vc-git-print-log):
14762 * vc/vc-hg.el (vc-hg-print-log):
14763 * vc/vc-mtn.el (vc-mtn-print-log):
14764 * vc/vc-rcs.el (vc-rcs-print-log):
14765 * vc/vc-sccs.el (vc-sccs-print-log):
14766 * vc/vc-svn.el (vc-svn-print-log):
14767 * vc/vc.el (vc-print-log-internal): Doc fixes.
14768
b46a056e
GM
147692013-04-23 Glenn Morris <rgm@gnu.org>
14770
14771 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
14772 Remove venerable code attempting to avoid substitute-command-keys.
14773
0aecf718
TH
147742013-04-23 Tassilo Horn <tsdh@gnu.org>
14775
4391916c
MH
14776 * textmodes/reftex-vars.el (reftex-label-regexps):
14777 Call `reftex-compile-variables' after changes to this variable.
0aecf718 14778
117f94cf
SM
147792013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
14780
4391916c 14781 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
14782 Use lexical-binding.
14783 (jit-lock-force-redisplay): Use markers, check buffer's continued
14784 existence and beware narrowed buffers.
14785 (jit-lock-fontify-now): Adjust call accordingly.
14786
1d829c64
SM
147872013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
14788
14789 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
14790 to avoid misleading the user.
14791
72d548a9
LL
147922013-04-22 Leo Liu <sdl.web@gmail.com>
14793
14794 * info-look.el: Prefer latex2e.info. (Bug#14240)
14795
d0853629
MA
147962013-04-22 Michael Albinus <michael.albinus@gmx.de>
14797
14798 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
14799
14800 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 14801 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
14802 (tramp-set-completion-function, tramp-parse-putty):
14803 * net/tramp-adb.el (tramp-adb-execute-adb-command):
14804 * net/tramp-gvfs.el (tramp-gvfs-send-command):
14805 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
14806 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
14807 (tramp-call-local-coding-command): Use `tramp-call-process'
14808 instead of `tramp-compat-call-process'.
14809
14810 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
14811 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
35e951cd 14812 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
7764286e 14813 (tramp-find-inline-compress): Improve traces.
d0853629
MA
14814 (tramp-maybe-send-script): Check for Perl binary.
14815 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
14816
38cc0210
DU
148172013-04-22 Daiki Ueno <ueno@gnu.org>
14818
14819 * epg.el (epg-context-pinentry-mode): New function.
14820 (epg-context-set-pinentry-mode): New function.
14821 (epg--start): Pass --pinentry-mode option to gpg command.
14822
cc641ee1
XF
148232013-04-21 Xue Fuqiao <xfq.free@gmail.com>
14824
02d844b5 14825 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 14826 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 14827 `completion-at-point'. (Bug#13774)
5d4e5c31 14828
cc641ee1
XF
14829 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
14830 default key binding for `describe-distribution' has been moved to
14831 `C-h C-o'. (Bug#13970)
14832
1b42ee43
GM
148332013-04-21 Glenn Morris <rgm@gnu.org>
14834
14835 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
14836 Add doc strings.
14837 (vc-print-log): Clarify interactive prompt.
14838
a6d63d97
GM
148392013-04-20 Glenn Morris <rgm@gnu.org>
14840
14841 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
14842 No longer include timestamp etc information.
14843
d7f5c16f
RW
148442013-04-20 Roland Winkler <winkler@gnu.org>
14845
14846 * faces.el (read-face-name): Bug fix, return just one face if arg
14847 multiple is nil. (Bug#14209)
14848
bcd7a0a4
SM
148492013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14850
14851 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
14852 (remove-function): Autoload.
14853
14854 * comint.el (comint-redirect-original-filter-function): Remove.
14855 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
14856 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
14857 (vc-cvs-annotate-command):
bcd7a0a4
SM
14858 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
14859 * progmodes/prolog.el (prolog-consult-compile):
14860 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
14861 Use add/remove-function instead.
14862 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
14863 (gud-tooltip-process-output, gud-tooltip-tips):
14864 Use add/remove-function instead.
14865 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
14866 (scheme-interaction-mode, exit-scheme-interaction-mode):
14867 Use add/remove-function instead.
14868
14869 * vc/vc-dispatcher.el: Use lexical-binding.
14870 (vc--process-sentinel): Rename from vc-process-sentinel.
14871 Change last arg to be the code to run. Don't use vc-previous-sentinel
14872 and vc-sentinel-commands any more.
14873 (vc-exec-after): Allow code to be a function. Use add/remove-function.
14874 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
14875
e36b2d20 148762013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 14877
bcd7a0a4 14878 * progmodes/sh-script.el (sh-imenu-generic-expression):
27821a89 14879 Handle function names with a single character. (Bug#14111)
4d3268ba 14880
27821a89 148812013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
14882
14883 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
14884 for subroutines defined in an eval (bug#14182).
14885
7d688336
TV
148862013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14887
14888 * bookmark.el (bookmark-completing-read): Improve handling of empty
14889 string (bug#14176).
14890
31dcede0
SM
148912013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
14892
14893 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
14894
adc31213
FEG
148952013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
14896
14897 New faster Imenu implementation (bug#14058).
9b017563 14898 * progmodes/python.el (python-imenu-prev-index-position)
adc31213
FEG
14899 (python-imenu-format-item-label-function)
14900 (python-imenu-format-parent-item-label-function)
14901 (python-imenu-format-parent-item-jump-label-function):
14902 New vars.
14903 (python-imenu-format-item-label)
14904 (python-imenu-format-parent-item-label)
14905 (python-imenu-format-parent-item-jump-label)
14906 (python-imenu--put-parent, python-imenu--build-tree)
14907 (python-imenu-create-index, python-imenu-create-flat-index)
14908 (python-util-popn): New functions.
14909 (python-mode): Set imenu-create-index-function to
14910 python-imenu-create-index.
14911
cdca8255
SM
149122013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
14913
14914 * winner.el (winner-active-region): Use region-active-p, activate-mark
14915 and deactivate-mark (bug#14225).
14916
14917 * simple.el (deactivate-mark): Don't inline it.
14918
beb42340
MA
149192013-04-18 Michael Albinus <michael.albinus@gmx.de>
14920
14921 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
14922
fc7f4d7e
TH
149232013-04-18 Tassilo Horn <tsdh@gnu.org>
14924
14925 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
14926 file extensions from the archive-mode entry in order to prefer
14927 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
14928
29f47822
LL
149292013-04-18 Leo Liu <sdl.web@gmail.com>
14930
14931 * bindings.el (help-event-list): Add ?\?.
14932
d36ed1c8
SM
149332013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
14934
14935 * subr.el (with-wrapper-hook): Declare obsolete.
14936 * simple.el (filter-buffer-substring-function): New hook.
14937 (filter-buffer-substring): Use it.
14938 (filter-buffer-substring-functions): Mark obsolete.
14939 * minibuffer.el (completion-in-region-function): New hook.
14940 (completion-in-region): Use it.
14941 (completion-in-region-functions): Mark obsolete.
14942 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
14943 * abbrev.el (abbrev-expand-function): New hook.
14944 (expand-abbrev): Use it.
14945 (abbrev-expand-functions): Mark obsolete.
14946 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
14947 and :filter-return.
14948
04754d36
FEG
149492013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
14950
14951 * progmodes/python.el (python-nav--syntactically): Fix cornercases
14952 and do not care about match data.
14953
dd8791e9
SM
149542013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
14955
14956 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
14957 completion tables when completing error conditions and
14958 `declare' arguments.
14959 (lisp-complete-symbol, field-complete): Mark as obsolete.
14960 (check-parens): Unmatched parens are user errors.
14961 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
14962
ffe54a13
AM
149632013-04-17 Michal Nazarewicz <mina86@mina86.com>
14964
dd8791e9
SM
14965 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
14966 command changed buffer (ie. `flyspell-pre-buffer' is not current
14967 buffer), which prevents making decisions based on invalid value of
14968 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
14969 cause an error when `flyspell-pre-point' was nil after switching
14970 buffers.
14971 (flyspell-post-command-hook): No longer needs to change buffers when
14972 checking pre-word. While at it remove unnecessary progn.
ffe54a13 14973
ec7e39f2
AM
149742013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
14975
14976 * textmodes/ispell.el (ispell-add-per-file-word-list):
14977 Fix `flyspell-correct-word-before-point' error when accepting
14978 words and `coment-padding' is an integer by using
14979 `comment-normalize-vars' (Bug #14214).
14980
083850a6
FEG
149812013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
14982
14983 New defun movement commands.
14984 * progmodes/python.el (python-nav--syntactically)
14985 (python-nav--forward-defun, python-nav-backward-defun)
14986 (python-nav-forward-defun): New functions.
14987
619ed6e1
FEG
149882013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
14989
14990 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
14991 (python-syntax-context): Use named compiler-macro for backwards
14992 compatibility with Emacs 24.x.
14993
7a1beb6c
LL
149942013-04-17 Leo Liu <sdl.web@gmail.com>
14995
14996 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
14997 octave-hide-process-buffer.
14998
2d3fa3e5
SM
149992013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15000
15001 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
15002 (bug#14216).
15003
7ce5be54
JPG
150042013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
15005
15006 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
15007 Fix adjustment of offset when receiving incomplete responses from GDB
15008 (bug#14129).
15009
351edece
SM
150102013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15011
15012 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
15013 python-mode-abbrev-table.
15014 (python-skeleton-define): Adjust accordingly.
15015 (python-mode-abbrev-table): New table that inherits from it so that
15016 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
15017
15018 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
15019 (abbrev-symbol): Use it.
15020 (abbrev--before-point): Use it since we already handle inheritance.
15021
613f9481
LL
150222013-04-16 Leo Liu <sdl.web@gmail.com>
15023
15024 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
15025 binding to info-lookup-symbol.
15026
51646b62
JB
150272013-04-16 Juanma Barranquero <lekktu@gmail.com>
15028
15029 * minibuffer.el (completion--twq-all):
15030 * term/ns-win.el (ns-initialize-window-system):
15031 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
15032
efb3f01d
SM
150332013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15034
36c0a301
SM
15035 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
15036 global bindings.
15037
efb3f01d
SM
15038 * doc-view.el (doc-view-start-process): Handle url-handler directories.
15039
fb549d64
DG
150402013-04-15 Dmitry Gutov <dgutov@yandex.ru>
15041
15042 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
15043 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
15044 to nil.
15045 (ruby-end-of-defun): Remove the unused arg, change the docstring
15046 to reflect that this function is only used as the value of
15047 `end-of-defun-function'.
15048 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
15049 to reflect an earlier change that beginning/end-of-defun functions
15050 jump between methods in a class definition, as well as top-level
15051 functions.
15052
21e8fe2f
SM
150532013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15054
15055 * minibuffer.el (minibuffer-complete): Don't just scroll
15056 a *Completions* that's been iconified.
15057 (minibuffer-force-complete): Make sure repetitions do cycle when going
15058 through completion-in-region -> minibuffer-complete.
15059
20e527d0
AM
150602013-04-15 Alan Mackenzie <acm@muc.de>
15061
15062 Correct the placement of c-cpp-delimiters when there're #s not at
15063 col 0.
15064
15065 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
15066 place a submatch around the #.
21e8fe2f
SM
15067 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
15068 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
15069 on the #, not BOL.
15070
dabefae5
SM
150712013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15072
15073 * emacs-lisp/nadvice.el: Properly test names when adding advice.
15074 (advice--member-p): New arg `name'.
15075 (advice--add-function, advice-member-p): Use it (bug#14202).
15076
85c9ab64
AM
150772013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
15078
15079 Reformulate java imenu-generic-expression.
15080 The old expression contained ill formed regexps.
15081
15082 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
15083 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
15084 (cc-imenu-java-method-arg-regexp): New defconsts.
15085 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 15086 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
15087 handling of spaces in the regexp.
15088
0f821d99
AM
150892013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15090
15091 * textmodes/ispell.el (ispell-command-loop): Remove
15092 flyspell highlight of a word when ispell accepts it (bug #14178).
15093
eb922adf
MA
150942013-04-15 Michael Albinus <michael.albinus@gmx.de>
15095
15096 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
15097 uses code from the previous `ange-ftp-run-real-handler'.
15098 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
15099 only in case that function exist. This is needed for proper
15100 unloading of Tramp.
15101
4d9a0979
TH
151022013-04-15 Tassilo Horn <tsdh@gnu.org>
15103
15104 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
15105
15106 * textmodes/reftex.el (reftex-compile-variables): Use it.
15107
a829b0dc
SM
151082013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15109
91e8293c
SM
15110 * files.el (normal-mode): Only use default major-mode if no other mode
15111 was specified.
15112
830aed4d
SM
15113 * emacs-lisp/trace.el (trace-values): New function.
15114
a829b0dc
SM
15115 * files.el: Allow : in local variables (bug#14089).
15116 (hack-local-variable-regexp): New var.
15117 (hack-local-variables-prop-line, hack-local-variables): Use it.
15118
7ae9f0fb
RW
151192013-04-13 Roland Winkler <winkler@gnu.org>
15120
15121 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
15122 data before it gets modified by bibtex-beginning-of-entry.
15123
6646e848
RW
151242013-04-13 Roland Winkler <winkler@gnu.org>
15125
15126 * textmodes/bibtex.el (bibtex-url): Doc fix.
15127
151282013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
15129
15130 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
15131 does not visit a BibTeX file, exclude it from the list of buffers
15132 returned by bibtex-initialize.
15133
0aa3616e
SB
151342013-04-13 Stephen Berman <stephen.berman@gmx.net>
15135
15136 * window.el (split-window): Remove interactive form, since as a
15137 command this function is a special case of split-window-below.
15138 Correct doc string.
15139
011cddd6
RW
151402013-04-12 Roland Winkler <winkler@gnu.org>
15141
15142 * faces.el (read-face-name): Do not override value of arg default.
15143 Allow single faces and strings as default values. Remove those
15144 elements from return value that are not faces.
15145 (describe-face): Simplify.
15146 (face-at-point): New optional args thing and multiple so that this
15147 function can provide the same functionality previously provided by
15148 read-face-name.
15149 (make-face-bold, make-face-unbold, make-face-italic)
15150 (make-face-unitalic, make-face-bold-italic, invert-face)
15151 (modify-face, read-face-and-attribute): Use face-at-point.
15152
15153 * cus-edit.el (customize-face, customize-face-other-window)
15154 * cus-theme.el (custom-theme-add-face)
15155 * face-remap.el (buffer-face-set)
15156 * facemenu.el (facemenu-set-face): Use face-at-point.
15157
f24e0036
MA
151582013-04-12 Michael Albinus <michael.albinus@gmx.de>
15159
15160 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
15161
da3cda2d
TH
151622013-04-10 Tassilo Horn <tsdh@gnu.org>
15163
15164 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
15165 off leading { and trailing } from field values.
15166
15e54145
SM
151672013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
15168
78ce603d
SM
15169 * emacs-lisp/timer.el (timer--check): New function.
15170 (timer--time, timer-set-function, timer-event-handler): Use it.
15171 (timer-set-idle-time): Simplify.
15172 (timer--activate): CSE.
15173 (timer-event-handler): Give more info in error message.
15174 (internal-timer-start-idle): New function, moved from C.
15175
15e54145
SM
15176 * mpc.el (mpc-proc): Add `restart' argument.
15177 (mpc-proc-cmd): Use it.
15178 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
15179 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
15180 less often.
15181
7144c627
MY
151822013-04-10 Masatake YAMATO <yamato@redhat.com>
15183
15184 * progmodes/sh-script.el: Implement `sh-mode' own
15185 `add-log-current-defun-function' (bug#14112).
15186 (sh-current-defun-name): New function.
15187 (sh-mode): Use the function.
15188
b39792eb
BG
151892013-04-09 Bastien Guerry <bzg@gnu.org>
15190
15191 * simple.el (choose-completion-string): Fix docstring (bug#14163).
15192
8acdeb71
SM
151932013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
15194
6fcdab68
SM
15195 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
15196
8acdeb71
SM
15197 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
15198 timer (bug#14156).
15199
e3e7b504
NF
152002013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
15201
15202 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
15203 declaration.
15204
201bb296
LL
152052013-04-07 Leo Liu <sdl.web@gmail.com>
15206
15207 * pcmpl-x.el: New file.
15208
ebb19708
DA
152092013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
15210
15211 Do not set x-display-name until X connection is established.
15212 This is needed to prevent from weird situation described at
15213 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
15214 * frame.el (make-frame): Set x-display-name after call to
15215 window system initialization function, not before.
15216 * term/x-win.el (x-initialize-window-system): Add optional
15217 display argument and use it.
15218 * term/w32-win.el (w32-initialize-window-system):
15219 * term/ns-win.el (ns-initialize-window-system):
15220 * term/pc-win.el (msdos-initialize-window-system):
15221 Add compatible optional display argument.
15222
33bb237a
EZ
152232013-04-06 Eli Zaretskii <eliz@gnu.org>
15224
15225 * files.el (normal-backup-enable-predicate): On MS-Windows and
15226 MS-DOS compare truenames of temporary-file-directory and of the
15227 file, so that 8+3 aliases (usually found in $TEMP on Windows)
15228 don't fail comparison by compare-strings. Also, compare file
15229 names case-insensitively on MS-Windows and MS-DOS.
15230
134abf1f
SM
152312013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15232
15233 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
15234 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
15235
d695cb94
DG
152362013-04-05 Dmitry Gutov <dgutov@yandex.ru>
15237
e3e7b504
NF
15238 * whitespace.el (whitespace-color-on, whitespace-color-off):
15239 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 15240
f4ad7ea1 152412013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
15242
15243 * ispell.el (ispell-set-spellchecker-params):
15244 Really set `ispell-args' for all equivs.
15245
632556e4
SM
152462013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15247
15248 * ido.el (ido-completions): Use extra elements of ido-decorations
15249 (bug#14143).
15250 (ido-decorations): Update docstring.
15251
2a417372
MA
152522013-04-05 Michael Albinus <michael.albinus@gmx.de>
15253
15254 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
15255 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
15256 nil during initialization, in order not to miss changes since the
15257 file was opened. (Bug#14140)
15258
fc164b0c
LL
152592013-04-05 Leo Liu <sdl.web@gmail.com>
15260
15261 * kmacro.el (kmacro-call-macro): Fix bug#14135.
15262
0ccecc08
JB
152632013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
15264
15265 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
15266
51af1aa2
GM
152672013-04-04 Glenn Morris <rgm@gnu.org>
15268
15269 * electric.el (electric-pair-inhibit-predicate): Add :version.
15270
b208ebc6
SM
152712013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15272
15273 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
15274 when a package is required several times (bug#14082).
15275
f3d3eaf0
RW
152762013-04-04 Roland Winkler <winkler@gnu.org>
15277
15278 * faces.el (read-face-name): Behave as promised by the docstring.
15279 Assume that arg default is a list of faces.
15280 (describe-face): Call read-face-name with list of default faces.
15281
2575da50
TV
152822013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15283
15284 * bookmark.el: Fix deletion of bookmarks (bug#13972).
15285 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
15286 (bookmark-bmenu-execute-deletions): Only skip first line if it's
15287 the header.
15288 (bookmark-exit-hook-internal): Save even if list is empty.
15289
397703b4
YH
152902013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
15291
15292 * emacs-lisp/package.el (package-pinned-packages): New var.
15293 (package--add-to-archive-contents): Obey it (bug#14118).
15294
691e26ae
AM
152952013-04-03 Alan Mackenzie <acm@muc.de>
15296
8a621d53
JB
15297 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
15298 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
15299
15300 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
15301 parameter `not-in-delimiter'. Handle being inside comment opener.
15302 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
15303 character in case we're typing a '*' after a '/'.
15304 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
15305 instead by passing the parameter to c-state-pp-to-literal.
15306
15307 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
15308 for elt. 7 of a parse state.
15309
4b725a70
PE
153102013-04-01 Paul Eggert <eggert@cs.ucla.edu>
15311
15312 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
15313 * international/latin1-disp.el, international/mule-util.el:
15314 * language/cyril-util.el, language/european.el, language/ind-util.el:
15315 * language/lao-util.el, language/thai.el, language/tibet-util.el:
15316 * language/tibetan.el, language/viet-util.el:
15317 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
15318
15c579f0
SM
153192013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
15320
15321 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
15322 (electric-pair-post-self-insert-function): Use it.
15323 (electric-pair-default-inhibit): New function, extracted from
15324 electric-pair-post-self-insert-function.
15325
a77e2924
RW
153262013-03-31 Roland Winkler <winkler@gnu.org>
15327
15328 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
15329
2bd8a4a8
SM
153302013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
15331
15332 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
15333
8d3655be 153342013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
15335
15336 Un-indent after "pass" and "return" statements (Bug#13888)
15337 * progmodes/python.el (python-indent-block-enders): New var.
15338 (python-indent-calculate-indentation): Use it.
15339
8d3655be 153402013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
15341
15342 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
15343 defun. Defining it as defalias could introduce too eager
15344 byte-compiler optimization. (Bug#14030)
15345
8d3655be 153462013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
15347
15348 * iswitchb.el (iswitchb-read-buffer): Fix typo.
15349
0b1619da
LL
153502013-03-30 Leo Liu <sdl.web@gmail.com>
15351
15352 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
15353 (kmacro-execute-from-register): Pass the keyboard macro to
15354 kmacro-call-macro or repeating won't work correctly.
15355
0b938190
TZ
153562013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
15357
15358 * progmodes/subword.el: Back to using `forward-symbol'.
15359
15360 * subr.el (forward-whitespace, forward-symbol)
15361 (forward-same-syntax): Move from thingatpt.el.
15362
35710234
LL
153632013-03-29 Leo Liu <sdl.web@gmail.com>
15364
15365 * kmacro.el (kmacro-to-register): New command.
15366 (kmacro-execute-from-register): New function.
15367 (kmacro-keymap): Bind to 'x'. (Bug#14071)
15368
efc0bb73
SM
153692013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
15370
15371 * mpc.el: Use defvar-local and setq-local.
15372 (mpc--proc-connect): Connection failures are not bugs.
15373 (mpc-mode-map): `follow-link' only applies to the buffer's content.
15374 (mpc-volume-map): Bind to the up-events.
15375
75a2f981
TZ
153762013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
15377
15378 * progmodes/subword.el (superword-mode): Use `forward-sexp'
15379 instead of `forward-symbol'.
15380
17c781d1
SM
153812013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
15382
15383 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
15384 (edebug--recursive-edit): Use it.
15385 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
15386 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
15387
f67bfbcf
LL
153882013-03-28 Leo Liu <sdl.web@gmail.com>
15389
15390 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
15391
b59f639d
EZ
153922013-03-27 Eli Zaretskii <eliz@gnu.org>
15393
15394 * facemenu.el (list-colors-callback): New defvar.
15395 (list-colors-redisplay): New function.
15396 (list-colors-display): Install list-colors-redisplay as the
15397 revert-buffer-function. (Bug#14063)
15398
f557c1b1
SM
153992013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
15400
b1da2957
SM
15401 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
15402 and suffixes don't overlap (bug#14061).
15403
f557c1b1
SM
15404 * case-table.el: Use lexical-binding.
15405 (case-table-get-table): New function.
15406 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
15407
002668e1
TZ
154082013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
15409
15410 * progmodes/subword.el: Add `superword-mode' to do word motion
15411 over symbol_words (parallels and leverages `subword-mode' which
15412 does word motion inside MixedCaseWords).
15413
73572c72
AG
154142013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
15415
78b8f320 15416 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 15417 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 15418
69b2c07e
SM
154192013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15420
15421 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
15422 Change return value to be a sexp. Delay `get-buffer' to after
15423 restoring the desktop (bug#13951).
15424
08bb5ee2
LL
154252013-03-26 Leo Liu <sdl.web@gmail.com>
15426
15427 * register.el: Move semantic tag handling back to
15428 cedet/semantic/senator.el. (Bug#14052)
15429
8d4c974e
SM
154302013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15431
15432 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
15433 into the prompt either (bug#13963).
15434
b234d92c
SM
154352013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
15436
15437 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
15438 part of "(error-foo)".
15439
ddfa3cb4
JL
154402013-03-24 Juri Linkov <juri@jurta.org>
15441
15442 * replace.el (list-matching-lines-prefix-face): New defcustom.
15443 (occur-1): Pass `list-matching-lines-prefix-face' to the function
15444 `occur-engine' if `face-differs-from-default-p' returns t.
15445 (occur-engine): Add `,' inside backquote construct to evaluate
15446 `prefix-face'. Propertize the prefix with the `prefix-face' face.
15447 Pass `prefix-face' to the functions `occur-context-lines' and
15448 `occur-engine-add-prefix'.
15449 (occur-engine-add-prefix, occur-context-lines): Add optional arg
15450 `prefix-face' and propertize the prefix with `prefix-face'.
15451 (Bug#14017)
15452
7b0e2f85
LL
154532013-03-24 Leo Liu <sdl.web@gmail.com>
15454
15455 * nxml/rng-valid.el (rng-validate-while-idle)
15456 (rng-validate-quick-while-idle): Guard against deleted buffer.
15457 (Bug#13999)
15458
15459 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
15460 is the last entry in kill-buffer-hook.
15461
15462 * files.el (kill-buffer-hook): Doc fix.
15463
b3082f49
DG
154642013-03-23 Dmitry Gutov <dgutov@yandex.ru>
15465
b234d92c
SM
15466 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
15467 Make it safe-local.
bde73d27 15468
b3082f49
DG
15469 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
15470
a320a2db
LL
154712013-03-23 Leo Liu <sdl.web@gmail.com>
15472
7e74b0fb
LL
15473 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
15474 Remove.
15475
15476 * nxml/rng-valid.el (rng-validate-mode)
15477 (rng-after-change-function, rng-do-some-validation):
15478 * nxml/rng-maint.el (rng-validate-buffer):
15479 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
15480 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
15481 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
15482 (nxml-extend-after-change-region): Use with-silent-modifications.
15483
a320a2db
LL
15484 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
15485 timer-idle-list.
15486
15487 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
15488 (rng-next-error-1, rng-previous-error-1): Do not let-bind
15489 timer-idle-list. (Bug#13999)
15490
e38e6780
JL
154912013-03-23 Juri Linkov <juri@jurta.org>
15492
15493 * info.el (info-index-match): New face.
15494 (Info-index, Info-apropos-matches): Add a nested subgroup to the
15495 main pattern and add text properties with the new face to matches
15496 in index entries relative to the beginning of the index entry.
15497 (Bug#14015)
15498
e8cc7880
DE
154992013-03-21 Eric Ludlam <zappo@gnu.org>
15500
39c87140 15501 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
e8cc7880
DE
15502 Inhibit read only while inserting objects.
15503
9bb0d822
TZ
155042013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
15505
15506 * progmodes/cfengine.el: Update docs to mention
15507 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
15508 symbol motion. Remove "_" from the word syntax.
15509
aa703640
TZ
155102013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
15511
15512 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
15513 syntax for both `cfengine2-mode' and `cfengine3-mode'.
15514
afff09d0
JL
155152013-03-20 Juri Linkov <juri@jurta.org>
15516
15517 * info.el (Info-next-reference-or-link)
15518 (Info-prev-reference-or-link): New functions.
15519 (Info-next-reference, Info-prev-reference): Use them.
15520 (Info-try-follow-nearest-node): Handle footnote navigation.
15521 (Info-fontify-node): Fontify footnotes. (Bug#13989)
15522
9a1ff164
SM
155232013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
15524
15525 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
15526 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
15527
2667d15d
PE
155282013-03-20 Paul Eggert <eggert@cs.ucla.edu>
15529
15530 Suppress unnecessary non-ASCII chatter during build process.
15531 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
15532 (batch-skkdic-convert): Suppress most of the chatter.
15533 It's not needed so much now that machines are faster,
15534 and its non-ASCII component was confusing; see Dmitry Gutov in
15535 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
15536
438b0579
LL
155372013-03-20 Leo Liu <sdl.web@gmail.com>
15538
15539 * ido.el (ido-chop): Fix bug#10994.
15540
c128ab07
DG
155412013-03-19 Dmitry Gutov <dgutov@yandex.ru>
15542
15543 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
15544 Remove vars.
9a1ff164
SM
15545 (whitespace-color-on, whitespace-color-off):
15546 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 15547
0e6008c5
SM
155482013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
15549
15550 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
15551 remapping in mode-line.
15552 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
15553
627b52b0
DG
155542013-03-19 Dmitry Gutov <dgutov@yandex.ru>
15555
15556 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
15557 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
15558 (whitespace-font-lock-keywords): Change description.
15559 (whitespace-color-on): Don't save `font-lock-keywords' value, save
15560 the constructed keywords instead.
15561 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 15562
50c3a20b
LL
155632013-03-19 Leo Liu <sdl.web@gmail.com>
15564
15565 * progmodes/compile.el (compilation-display-error): New command.
15566 (compilation-mode-map, compilation-minor-mode-map): Bind it to
15567 C-o. (Bug#13992)
15568
2aa2157b
PE
155692013-03-18 Paul Eggert <eggert@cs.ucla.edu>
15570
15571 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
15572
e477dbfa
JD
155732013-03-18 Jan Djärv <jan.h.d@swipnet.se>
15574
15575 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
15576
64ab82d1
MA
155772013-03-18 Michael Albinus <michael.albinus@gmx.de>
15578
15579 * net/tramp-compat.el (tramp-compat-user-error): New defun.
15580
15581 * net/tramp-adb.el (tramp-adb-handle-shell-command):
15582 * net/tramp-gvfs.el (top):
15583 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
15584 (tramp-handle-shell-command): Use it.
15585 (tramp-dissect-file-name): Raise an error when hostname is a
15586 method name, and neither method nor user is specified.
15587
15588 * net/trampver.el: Update release number.
15589
33cef733
LL
155902013-03-18 Leo Liu <sdl.web@gmail.com>
15591
15592 Make sure eldoc can be turned off properly.
15593 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
15594 eldoc-mode.
15595 (eldoc-display-message-p): Revert last change.
15596 (eldoc-display-message-no-interference-p)
15597 (eldoc-print-current-symbol-info): Tweak.
15598
2167b7b2
TH
155992013-03-18 Tassilo Horn <tsdh@gnu.org>
15600
15601 * doc-view.el (doc-view-new-window-function): Check the new window
15602 overlay's display property instead the char property of the
15603 buffer's first char. Use `with-selected-window' instead of
15604 `save-window-excursion' with `select-window'.
15605 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 15606 display property instead the char property of the buffer's first char.
2167b7b2 15607
982efbcd
PE
156082013-03-18 Paul Eggert <eggert@cs.ucla.edu>
15609
15610 Automate the build of ja-dic.el (Bug#13984).
15611 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
15612 from the input, rather than assume that it's been done for us by the
15613 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
15614 the current date into a ja-dic.el comment, as that complicates
15615 regression testing.
15616
2fcc7665
SM
156172013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
15618
15619 * whitespace.el: Fix double evaluation.
15620 (whitespace-space, whitespace-hspace, whitespace-tab)
15621 (whitespace-newline, whitespace-trailing, whitespace-line)
15622 (whitespace-space-before-tab, whitespace-indentation)
15623 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
15624 obsolete defvars.
15625 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
15626 (whitespace-color-on): Use a single font-lock-add-keywords call.
15627 Fix double-evaluation of face variables.
15628
67c0a6e6
MA
156292013-03-17 Michael Albinus <michael.albinus@gmx.de>
15630
2fcc7665
SM
15631 * net/tramp-adb.el (tramp-adb-parse-device-names):
15632 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 15633 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 15634
69489f1d
LL
156352013-03-17 Leo Liu <sdl.web@gmail.com>
15636
15637 Extend eldoc to display info in the mode-line. (Bug#13978)
15638 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
15639 (eldoc-mode-line-string): New variable.
15640 (eldoc-minibuffer-message): New function.
15641 (eldoc-message-function): New variable.
15642 (eldoc-message): Use it.
15643 (eldoc-display-message-p)
2fcc7665
SM
15644 (eldoc-display-message-no-interference-p):
15645 Support eldoc-post-insert-mode.
69489f1d
LL
15646
15647 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
15648 (eval-expression): Run it.
15649
9c44569e
RW
156502013-03-17 Roland Winkler <winkler@gnu.org>
15651
15652 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
15653 strings in the list of return values.
15654
327f1f6f
JB
156552013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
15656
15657 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
15658 radix before checking for HMS forms.
15659
67ed8fcd
LL
156602013-03-16 Leo Liu <sdl.web@gmail.com>
15661
15662 * progmodes/scheme.el: Add indentation and font-locking for λ.
15663 (Bug#13975)
15664
78be8b64 156652013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
15666
15667 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
15668 token before point (bug#13942).
15669
78be8b64 156702013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 15671
95b43468 15672 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 15673
98e775e6
EZ
156742013-03-16 Eli Zaretskii <eliz@gnu.org>
15675
15676 * startup.el (command-line-normalize-file-name): Fix handling of
15677 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
15678 <xfq.free@gmail.com> in
15679 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
15680
2edd6029
MA
156812013-03-15 Michael Albinus <michael.albinus@gmx.de>
15682
15683 Sync with Tramp 2.2.7.
15684
15685 * net/trampver.el: Update release number.
15686
d35f5864
TH
156872013-03-14 Tassilo Horn <tsdh@gnu.org>
15688
e903c210 15689 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
15690 (doc-view-insert-image): Don't modify overlay associated to
15691 non-live windows, and implement horizontal centering of image in
15692 case it's smaller than the window.
15693 (doc-view-new-window-function): Force redisplay of new windows on
15694 doc-view buffers.
d35f5864 15695
1c4a85ed
KF
156962013-03-13 Karl Fogel <kfogel@red-bean.com>
15697
15698 * saveplace.el (save-place-alist-to-file): Don't sort
15699 `save-place-alist', just pretty-print it (bug#13882).
15700
85b66a21
MA
157012013-03-13 Michael Albinus <michael.albinus@gmx.de>
15702
a020afb9
JB
15703 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
15704 Check whether `default-file-name-coding-system' is bound.
15705 It isn't in XEmacs.
85b66a21 15706
175600da
SM
157072013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
15708
e7f7cb1a
SM
15709 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
15710 backquotes for `obsolete' (bug#13929).
15711
175600da
SM
15712 * international/mule.el (find-auto-coding): Include file name in
15713 obsolescence warning (bug#13922).
15714
ca68a22e
TZ
157152013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
15716
15717 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
15718 for CFEngine 3-specific indentation.
15719 (cfengine3-indent-line): Use it. Fix up category regex.
15720 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
15721
940e5099
SM
157222013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15723
15724 * type-break.el (type-break-file-name):
15725 * textmodes/remember.el (remember-data-file):
15726 * strokes.el (strokes-file):
15727 * shadowfile.el (shadow-initialize):
15728 * saveplace.el (save-place-file):
15729 * ps-bdf.el (bdf-cache-file):
15730 * progmodes/idlwave.el (idlwave-config-directory):
15731 * net/quickurl.el (quickurl-url-file):
15732 * international/kkc.el (kkc-init-file-name):
15733 * ido.el (ido-save-directory-list-file):
15734 * emulation/viper.el (viper-custom-file-name):
15735 * emulation/vip.el (vip-startup-file):
15736 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
15737 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
15738
cc725808
PE
157392013-03-12 Paul Eggert <eggert@cs.ucla.edu>
15740
15741 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
15742 * language/thai-word.el: Switch to UTF-8.
15743
a020afb9 15744See ChangeLog.16 for earlier changes.
e3d51b27
MR
15745
15746;; Local Variables:
15747;; coding: utf-8
e3d51b27
MR
15748;; End:
15749
ba318903 15750 Copyright (C) 2011-2014 Free Software Foundation, Inc.
e3d51b27
MR
15751
15752 This file is part of GNU Emacs.
15753
15754 GNU Emacs is free software: you can redistribute it and/or modify
15755 it under the terms of the GNU General Public License as published by
15756 the Free Software Foundation, either version 3 of the License, or
15757 (at your option) any later version.
15758
15759 GNU Emacs is distributed in the hope that it will be useful,
15760 but WITHOUT ANY WARRANTY; without even the implied warranty of
15761 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15762 GNU General Public License for more details.
15763
15764 You should have received a copy of the GNU General Public License
15765 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.