* lisp/net/rcirc.el (rcirc-reconnect-delay): Add :version.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
97100b43
SM
12014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
2
400e8286
SM
3 * mpc.el (mpc-format): Trim Date to the year.
4 (mpc-songs-hashcons): Shorten the Date field.
5
97100b43
SM
6 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
7 into autoloading just because of a silly indirection.
8
bbbabffe 92014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com> (tiny change)
0add0959
SPM
10
11 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
12
bbbabffe 132014-05-12 Glenn Morris <rgm@gnu.org>
e7caef59
GM
14
15 * emacs-lisp/find-gc.el: Move to ../admin.
16
6b45ef35
GM
17 * printing.el (pr-version):
18 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
19
8c6699ab
GM
20 * net/browse-url.el (browse-url-mosaic):
21 Create /tmp/Mosaic.PID as a private file.
22
bbbabffe 232014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
5d03fb43
SM
24
25 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
26 (advice--member-p): If name is given, only compare the name.
27 (advice--remove-function): Don't stop at the first match.
28 (advice--normalize-place): New function.
29 (add-function, remove-function): Use it.
30 (advice--add-function): Pass the name, if any, to
31 advice--remove-function.
32
bbbabffe 332014-05-12 Philipp Rumpf <prumpf@gmail.com> (tiny change)
3ebdceaf
PR
34
35 * electric.el (electric-indent-post-self-insert-function): Don't use
36 `pos' after modifying the buffer (bug#17449).
37
bbbabffe 382014-05-12 Stephen Berman <stephen.berman@gmx.net>
472c15bf
SB
39
40 * calendar/todo-mode.el (todo-insert-item-from-calendar):
41 Correct argument list to conform to todo-insert-item--basic.
42
bbbabffe 432014-05-12 Glenn Morris <rgm@gnu.org>
bb1f4b8f 44
2651ed05
GM
45 * files.el (cd-absolute): Test if directory is accessible
46 rather than executable. (Bug#17330)
47
bb1f4b8f
GM
48 * progmodes/compile.el (recompile):
49 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
50
4049faae
GM
51 * net/browse-url.el (browse-url-mosaic):
52 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
53 This is CVE-2014-3423.
54
4eb43682
SM
552014-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
56
fbd5cc6c
SM
57 * mouse.el: Use the normal toplevel loop while dragging.
58 (mouse-set-point): Handle multi-clicks.
59 (mouse-set-region): Handle multi-clicks for drags.
60 (mouse-drag-region): Update call accordingly.
61 (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
62 Use the normal event loop instead of a local while/read-event loop.
63 (global-map): Remove redundant bindings for double/triple-mouse-1.
64 * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
65 Generate synthetic down events when the protocol only sends up events.
66 (xterm-mouse-last): Remove.
67 (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
68 terminal parameter instead.
69 (xterm-mouse--set-click-count): New function.
70 (xterm-mouse-event): Detect/generate double/triple clicks.
71 * reveal.el (reveal-close-old-overlays): Don't close while dragging.
72
80a78d23
SM
73 * info.el (Info-quoted): New face.
74 (Info-mode-font-lock-keywords): New var.
75 (Info-mode): Use it.
76
4eb43682
SM
77 * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
78 are a hindrance for C-x C-e.
79
2f9b4cfc
LL
802014-05-11 Leo Liu <sdl.web@gmail.com>
81
82 * net/rcirc.el (rcirc-sentinel): Fix last change.
83
f36f0bca
SS
842014-05-08 Sam Steingold <sds@gnu.org>
85
86 * net/rcirc.el (rcirc-reconnect-delay): New user option.
87 (rcirc-sentinel): Auto-reconnect to the server if
88 `rcirc-reconnect-delay' is non-0 (but not more often than its
89 value in case the host is off-line).
90
b722ea4e
EZ
912014-05-09 Eli Zaretskii <eliz@gnu.org>
92
93 * progmodes/grep.el (lgrep): Fix a typo in last commit.
94
1d75432d
GM
952014-05-09 Glenn Morris <rgm@gnu.org>
96
97 * files.el (file-expand-wildcards):
98 * man.el (Man-support-local-filenames):
99 * printing.el (pr-i-directory, pr-interface-directory):
100 * progmodes/grep.el (lgrep, rgrep):
101 * textmodes/ispell.el (ispell-call-process)
102 (ispell-call-process-region, ispell-start-process)
103 (ispell-init-process): Use file-accessible-directory-p.
104
b406487f
SM
1052014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
106
107 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
108 (xterm-mouse--read-event-sequence-1000): Return nil if something
109 looks fishy.
110 (xterm-mouse-event): Propagate it.
111 (xterm-mouse-translate-1): Handle it.
112
fb3f83f5 1132014-05-08 Stephen Berman <stephen.berman@gmx.net>
1ddb2150
SB
114
115 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
116 four slots of the parameter list are filled, make sure to pass it
117 to the argument list of todo-insert-item--basic.
118
fb3f83f5 1192014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5e87fcb1
SM
120
121 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
122 Add optional `seen' argument to detect and break infinite loops.
123
fb3f83f5 1242014-05-08 Eli Zaretskii <eliz@gnu.org>
c5d670f5
EZ
125
126 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
127 (trace-unsafe, trace-use-tree): Make parentheses style be
128 according to Emacs style.
129
fb3f83f5 1302014-05-08 Michael Albinus <michael.albinus@gmx.de>
3e59ead1 131
5e87fcb1
SM
132 * net/tramp-sh.el (tramp-remote-process-environment):
133 Remove HISTFILE and HISTSIZE; it's too late to set them here.
134 Add :version entry.
135 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
136 Add "HISTSIZE=/dev/null" to the shell's env arguments. Do not send
3e59ead1
MA
137 extra "PSx=..." commands.
138 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
139 (Bug#17295)
140
23e19cf2
MA
141 (tramp-uudecode): Replace the hard-coded temporary file name by a
142 format specifier.
143 (tramp-remote-coding-commands): Enhance docstring.
144 (tramp-find-inline-encoding): Replace "%t" by a temporary file
145 name. (Bug#17415)
a9fd3545 146 This is CVE-2014-3424.
23e19cf2 147
fb3f83f5 1482014-05-08 Glenn Morris <rgm@gnu.org>
0c4decae
GM
149
150 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
151 (find-gc-source-files): Update some names.
152 (trace-call-tree): Simplify and update.
153 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
a9fd3545 154 This is CVE-2014-3422.
0c4decae 155
fb3f83f5 1562014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
c22f24f6 157
bf67c3f7
SM
158 * minibuffer.el (completion--try-word-completion): Revert fix for
159 Bug#15980 (bug#17375).
160
c22f24f6
SM
161 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
162 Always store button numbers in the same way in xterm-mouse-last;
163 Don't burp is xterm-mouse-last is not set as expected.
164 Never return negative indices.
165
fb3f83f5 1662014-05-08 Dmitry Gutov <dgutov@yandex.ru>
4dd3c4d5
DG
167
168 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
169 Backtrack one char if the global/char-literal var matcher hits
170 inside a string. The next char could be the beginning of an
171 expression expansion.
172
fb3f83f5 1732014-05-08 Glenn Morris <rgm@gnu.org>
6da8d069
GM
174
175 * help-fns.el (describe-function-1): Test for an autoload before a
176 macro, since `macrop' works on autoloads. (Bug#17410)
177
fb3f83f5 1782014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
dccb0688 179
e6025d72
SM
180 * electric.el (electric-indent-functions-without-reindent): Add yaml.
181
dccb0688
SM
182 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
183 Make sure the new point we return is within the new string (bug#17239).
184
049534ad
DC
1852014-05-05 Daniel Colascione <dancol@dancol.org>
186
187 * progmodes/compile.el (compilation-error-regexp-alist-alist):
188 Port `gnu' pattern to rx.
189
80e377c0
JC
1902014-05-05 Jarek Czekalski <jarekczek@poczta.onet.pl>
191
192 Remove unneeded prompt when closing a buffer with active
193 emacsclient ("Buffer ... still has clients"), #16548.
194 * server.el (server-start): Remove the only call to:
195 (server-kill-buffer-query-function): Remove.
196
f930a063
LL
1972014-05-04 Leo Liu <sdl.web@gmail.com>
198
199 * calendar/diary-lib.el (calendar-chinese-month-name-array):
200 Defvar to pacify compiler.
201
3e9fa60a 2022014-05-04 Eli Zaretskii <eliz@gnu.org>
74a9022a
EZ
203
204 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
205
3e9fa60a 2062014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
e6cf6ca0
SM
207
208 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
209 Use nil rather than `default' for the "default" appearance (bug#17388).
210 * vc/ediff-util.el (ediff-inferior-compare-regions)
211 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
212 a misleading `default' value when it's really a boolean.
213 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
214 overlay is not visible.
215
3e9fa60a 2162014-05-04 Stephen Berman <stephen.berman@gmx.net>
7bd9ce64
SB
217
218 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
219 (todo-menu): Uncomment and update.
220
3e9fa60a 2212014-05-04 Stephen Berman <stephen.berman@gmx.net>
aed4b12d
SB
222
223 * calendar/todo-mode.el: Reimplement item editing to have the same
224 basic user interface as item insertion, and make small UI and
225 larger internal improvements to the latter.
226 (todo-insert-item): Add reference to the Todo mode user manual to
227 the documentation string.
228 (todo-insert-item--basic): Rename from todo-basic-insert-item and
229 adjust all callers. Change signature to combine diary and
230 nonmarking arguments. Incorporate functionality of deleted item
231 copying command and add error checking. Remove detailed
232 descriptions of the arguments from the documentation string, since
233 this is treated in the Todo mode user manual.
234 (todo-copy-item, todo-edit-multiline-item)
235 (todo-edit-done-item-comment, todo-edit-item-header)
236 (todo-edit-item-time, todo-edit-item-date-from-calendar)
237 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
238 (todo-edit-item-date-year, todo-edit-item-date-month)
239 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
240 Remove.
241 (todo-edit-item): Reimplement as wrapper command for
242 todo-edit-item--next-key and make it distinguish done and not done
243 todo items.
244 (todo-edit-item--text): New function, replacing old command
245 todo-edit-item and incorporating deleted commands
246 todo-edit-multiline-item and todo-edit-done-item-comment.
247 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
248 Use only numeric value of prefix argument. Remove detailed
249 descriptions of the arguments from the documentation string, since
250 this is treated in the Todo mode user manual.
251 (todo-edit-item--diary-inclusion): New function, replacing old
252 command todo-edit-item-diary-inclusion and incorporating and fixing
253 functionality of deleted command todo-edit-item-diary-nonmarking,
254 making sure to remove todo-nondiary-marker when adding
255 diary-nonmarking-symbol.
256 (todo-edit-category-diary-inclusion): Make sure to delete
257 diary-nonmarking-symbol when adding todo-nondiary-marker.
258 (todo-edit-category-diary-nonmarking): Fix indentation.
259 (todo-insert-item--parameters): Group diary and nonmarking
260 parameters together.
261 (todo-insert-item--apply-args): Adjust to signature of
262 todo-insert-item--basic and incorporate copy parameter.
263 Make small code improvements.
264 (todo-insert-item--next-param): Improve prompt and adjust it to
265 new parameter grouping. Remove obsolete code.
266 (todo-edit-item--param-key-alist)
267 (todo-edit-item--date-param-key-alist)
268 (todo-edit-done-item--param-key-alist): New defconsts.
269 (todo-edit-item--prompt): New variable.
270 (todo-edit-item--next-key): New function.
5e87fcb1
SM
271 (todo-key-bindings-t): Bind "e" to todo-edit-item.
272 Remove bindings of deleted commands.
aed4b12d 273
3e9fa60a 2742014-05-04 Leo Liu <sdl.web@gmail.com>
157e8cfd
LL
275
276 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
277
3e9fa60a 2782014-05-04 Glenn Morris <rgm@gnu.org>
d136f184
GM
279
280 * allout-widgets.el (allout-widgets-tally)
281 (allout-decorate-item-guides):
282 * menu-bar.el (menu-bar-positive-p):
283 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
284 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
285 * progmodes/js.el (js--inside-param-list-p)
286 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
287 * progmodes/prolog.el (region-exists-p):
288 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
289 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
290 Doc fixes (replace `iff').
291
3e9fa60a 2922014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
4ec0cf9c
SM
293
294 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
295
bbdcf64f
LL
2962014-05-04 Leo Liu <sdl.web@gmail.com>
297
298 Support Chinese diary entries in calendar and diary. (Bug#17393)
299 * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
300 (calendar-chinese-from-absolute-for-diary)
301 (calendar-chinese-to-absolute-for-diary)
302 (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
303 (diary-chinese-list-entries): New functions to list and mark
304 Chinese diary entries in the calendar window.
305 (diary-chinese-anniversary)
306 (diary-chinese-insert-anniversary-entry)
307 (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
308 (diary-chinese-insert-yearly-entry): New commands to insert
309 Chinese diary entries.
310
80a78d23
SM
311 * calendar/diary-lib.el (diary-font-lock-keywords):
312 Support font-locking Chinese dates.
bbdcf64f
LL
313
314 * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
315 inserting Chinese diary entries.
316
80a78d23
SM
317 * calendar/calendar.el (diary-chinese-entry-symbol):
318 New customizable variable.
bbdcf64f
LL
319 (calendar-mode-map): Add bindings for inserting Chinese diary
320 entries.
321
cfd59d67
JL
3222014-05-03 Juri Linkov <juri@jurta.org>
323
324 * dired.el (dired-check-switches, dired-switches-recursive-p):
325 New functions. (Bug#17218)
326 (dired-switches-escape-p, dired-move-to-end-of-filename):
327 Use `dired-check-switches'.
328 (dired-insert-old-subdirs, dired-build-subdir-alist)
329 (dired-sort-R-check): Use `dired-switches-recursive-p'.
330
4807c7eb
BR
3312014-05-01 Barry O'Reilly <gundaetiapo@gmail.com>
332
a7e1ffdc
BR
333 * simple.el (undo-make-selective-list): New algorithm fixes
334 incorrectness of position adjustments when undoing in region.
335 (Bug#17235)
336 (undo-elt-crosses-region): Make obsolete.
80a78d23
SM
337 (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
338 New functions to adjust positions using undo-deltas.
4807c7eb 339
17a873c5
SM
3402014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
341
342 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
343 the last consecutive closing paren (bug#17345).
344
724ee6dc
RT
3452014-04-30 Reuben Thomas <rrt@sc3d.org>
346
347 * dired.el (dired-mode): make terminology for eXpunge command
348 consistent. (Bug#17276)
349
72962dd8
EZ
3502014-04-30 Eli Zaretskii <eliz@gnu.org>
351
352 * dired.el (dired-initial-position-hook, dired-initial-position):
353 Doc string fixes.
354
09b911ad 3552014-04-30 Glenn Morris <rgm@gnu.org>
9a3f71f7
GM
356
357 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
358
09b911ad 3592014-04-30 Matthias Dahl <matthias.dahl@binary-island.eu>
bc6953b3
MD
360
361 * faces.el (face-spec-recalc): Apply X resources only after the
2cfb51ef 362 defface spec has been applied. Thus, X resources are no longer
bc6953b3
MD
363 overriden by the defface spec which also fixes issues on win32 where
364 the toolbar coloring was wrong because it is set through X resources
365 and was (wrongfully) overriden. (Bug#16694)
366
09b911ad 3672014-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
4f5fa755
SM
368
369 * textmodes/rst.el (electric-pair-pairs): Declare.
370 (rst-mode): Set it (bug#17131).
371
09b911ad 3722014-04-30 Juri Linkov <juri@jurta.org>
8e554df0
JL
373
374 * desktop.el (desktop-value-to-string): Let-bind `print-length'
375 and `print-level' to nil. (Bug#17351)
376
09b911ad 3772014-04-30 Nicolas Richard <theonewiththeevillook@yahoo.fr>
0507406b
NR
378
379 * battery.el (battery-update): Handle the case where battery
380 status is "N/A" (bug#17319).
381
9b7b020d
SM
3822014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
383
384 * progmodes/ps-mode.el: Use SMIE. Move string and comment recognition
385 to syntax-propertize.
386 (ps-mode-auto-indent): Mark as obsolete.
387 (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
388 (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
389 word regexp operators.
390 (ps-mode-map): Move initialization into declaration. Remove binding
391 for TAB, RET, >, ], and }.
392 (ps-mode-syntax-table): Move initialization into declaration.
393 Don't give word syntax to non-word chars.
394 (ps-run-mode-map): Move initialization into declaration.
395 (ps-mode-menu-main): Remove auto-indent entry.
396 (ps-mode-smie-rules): New function.
397 (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
398 (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
399 (ps-mode--string-syntax-table): New const.
400 (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
401 New functions.
402 (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
403 (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
404
196bfaec
DC
4052014-04-27 Daniel Colascione <dancol@dancol.org>
406
407 * term/xterm.el (xterm-paste): Use large finite timeout when
408 reading event to avoid putting keys in this-command-keys.
409
5ba339c7
SM
4102014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
411
412 * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
413 (perl-syntax-propertize-function): Use it. Extend handling of
414 here-docs to the unquoted case.
415
dff4a9f6 4162014-04-25 Eli Zaretskii <eliz@gnu.org>
bc0650fd 417
5ba339c7
SM
418 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
419 Use equal-including-properties to compare help-echo strings (bug#17331).
bc0650fd 420
dff4a9f6 4212014-04-25 Leo Liu <sdl.web@gmail.com>
00104e59
LL
422
423 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
424 Fix syntax for @. (Bug#17325)
425
dff4a9f6 4262014-04-25 Daniel Colascione <dancol@dancol.org>
543e3c63
DC
427
428 * emacs-lisp/cl.el (gv): Require gv early to break eager
429 macro-expansion cycles.
430
dff4a9f6 4312014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
c0868451 432
05452dc4
SM
433 * simple.el (region-active-p): Check there's a mark (bug#17324).
434
0e8a9331
SM
435 * simple.el (completion-list-mode-map): Use choose-completion for the
436 mouse binding as well (bug#17302).
437 (completion-list-mode, completion-setup-function): Adjust docstring and
438 echo area message accordingly.
439 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
440 calling convention of choose-completion.
441 * comint.el (comint-dynamic-list-completions):
442 * term.el (term-dynamic-list-completions): Accept choose-completion.
443
c0868451
SM
444 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
445 &, |, +, - and * can't be a division (bug#17317).
446
f7e0450a
SM
447 * term/xterm.el (xterm--version-handler): Don't use modern xterm
448 features on gnome-terminal (bug#16988).
449
5e4ab4e4
TTN
4502014-04-25 Thien-Thi Nguyen <ttn@gnu.org>
451
452 Improve Scheme font-locking for (define ((foo ...) ...) ...).
453
454 * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
455 the declared object, ignore zero or more parens, not zero or one.
456
d5031a2a
LL
4572014-04-24 Leo Liu <sdl.web@gmail.com>
458
459 * progmodes/xscheme.el (xscheme-expressions-ring)
460 (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
461 (xscheme-control-g-disabled-p, xscheme-process-filter-state)
462 (xscheme-allow-output-p, xscheme-prompt)
463 (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
464
465 * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
466 Comment out unused functions.
467
118b5a92
SM
4682014-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
469
470 * info.el: Use lexical-binding and cl-lib.
471 Use defvar-local and setq-local instead of make-local-variable.
472 (Info-apropos-matches): Avoid add-to-list.
473 (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
474
9b233997
DC
4752014-04-24 Daniel Colascione <dancol@dancol.org>
476
477 * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
478
ddc13efd
SM
4792014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
480
481 * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
482
f2df692c
MH
4832014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
484
485 * dired.el (dired-insert-set-properties): Do not consider
486 subdirectory headings and empty lines to be information that
487 `dired-hide-details-mode' should hide. (Bug#17228)
488
14828a95
MA
4892014-04-22 Michael Albinus <michael.albinus@gmx.de>
490
491 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
492 Remove test messages.
493 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
494 and `target' twice.
495
42e91034 4962014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
622eef68 497
9c104369
SM
498 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
499 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
500
622eef68
SM
501 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
502
42e91034 5032014-04-22 Michael Albinus <michael.albinus@gmx.de>
505fa2ab 504
622eef68
SM
505 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
506 Set "IFS=" when using read builtin, in order to preserve spaces in
505fa2ab
MA
507 the file name. Add test messages for hunting a bug on hydra.
508 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
509
42e91034 5102014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
f0ffb9b7
SM
511
512 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
513 Don't prettify a word within a symbol.
514
42e91034 5152014-04-22 Michael Albinus <michael.albinus@gmx.de>
feb5d8a4
MA
516
517 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
518 possible.
519
1b0f10d2
DC
5202014-04-22 Daniel Colascione <dancol@dancol.org>
521
522 * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
523 use defun to define `function-put'.
524
67c477ae
SM
5252014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
526
4f965793
SM
527 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
528 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
529 (lisp-mode-variables): Set font-lock-extra-managed-props.
530
67c477ae
SM
531 * emacs-lisp/byte-run.el (function-put): New function.
532 (defun-declarations-alist): Use it. Add `pure' and `side-effect-free'.
533 * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
534 (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
535 Use them.
536
66fda794
DC
5372014-04-22 Daniel Colascione <dancol@dancol.org>
538
67c477ae
SM
539 * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
540 Add `full-p' parameter; when nil, call `macroexpand' instead of
12b1389c
DC
541 `macroexpand-all'.
542
543 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
544 Improve docstrings.
545
c98212f9
DC
546 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
547 Use lambda function values, not quoted lambdas.
548 (byte-compile-recurse-toplevel): Remove extraneous &optional.
549
66fda794 550 * emacs-lisp/cl-macs.el
c98212f9 551 (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
66fda794
DC
552 (cl-struct-slot-value): Conditionally use aref or nth so that the
553 compiler produces optimal code.
554
d6f14ca7
SM
5552014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
556
557 * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
558 (inline): Don't inline cl--set-elt.
559 (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
560 Define as inlinable instead.
561 (cl-struct-set-slot-value): Remove.
562
563 * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
564 * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
565 Use setf instead.
566
44faec17
DC
5672014-04-21 Daniel Colascione <dancol@dancol.org>
568
569 * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
570 last two parameters after all.
571 (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
572 (cl--compiler-macro-assoc,cl-struct-slot-value)
573 (cl-struct-set-slot-value): Stop using them.
574
575(2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
9253f7af
SM
576
577 * image-mode.el (image-mode-window-put): Don't assume there's a `t'
578 entry in image-mode-winprops-alist.
579
2fa1b97d
DC
5802014-04-21 Daniel Colascione <dancol@dancol.org>
581
9253f7af
SM
582 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
583 (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
985c035f
DC
584 (byte-compile-toplevel-file-form): Use it.
585
2fa1b97d
DC
586 * emacs-lisp/cl-macs.el:
587 (cl--loop-let): Properly destructure `while' clauses.
588
e8a77f24
DC
5892014-04-20 Daniel Colascione <dancol@dancol.org>
590
591 * vc/vc.el (vc-root-dir): New public autoloaded function for
592 generically finding the current VC root.
593 * vc/vc-hooks.el (vc-not-supported): New error.
9253f7af 594 (vc-call-backend): Signal `vc-not-supported' instead of generic error.
e8a77f24 595
89a2e783
DC
5962014-04-20 Daniel Colascione <dancol@dancol.org>
597
598 * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
599 argument.
600 (cl--const-expr-val): cl--const-expr-val should macroexpand its
601 argument in case we're inside a symbol-macrolet.
602 (cl--do-arglist, cl--compiler-macro-typep)
603 (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
604 environment to `cl--const-expr-val'.
605 (cl-struct-sequence-type,cl-struct-slot-info)
606 (cl-struct-slot-offset, cl-struct-slot-value)
607 (cl-struct-set-slot-value): New functions.
608
fe36068f
SM
6092014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
610
611 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
612 assignments such as "case=hello" (bug#17297).
613
ce8c5107
MA
6142014-04-18 Michael Albinus <michael.albinus@gmx.de>
615
616 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
617 Do not autoload.
618 (tramp-file-name-handler, tramp-completion-file-name-handler):
619 Revert patch from 2014-04-10, it isn't necessary anymore.
620 (tramp-autoload-file-name-handler)
621 (tramp-register-autoload-file-name-handlers): New defuns.
622 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
623 (tramp-register-file-name-handlers): Remove also
624 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
625 Do not autoload its invocation, but eval it after loading of 'tramp.
626
627 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
628
629 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
630
bfc30790
DC
6312014-04-17 Daniel Colascione <dancol@dancol.org>
632
633 Add support for bracketed paste mode; add infrastructure for
634 managing terminal mode enabling and disabling automatically.
635
636 * xt-mouse.el:
637 (xterm-mouse-mode): Simplify.
638 (xterm-mouse-tracking-enable-sequence)
639 (xterm-mouse-tracking-disable-sequence): New constants.
640 (turn-on-xterm-mouse-tracking-on-terminal)
67c477ae
SM
641 (turn-off-xterm-mouse-tracking-on-terminal):
642 Use tty-mode-set-strings and tty-mode-reset-strings terminal
bfc30790
DC
643 parameters instead of random hooks.
644 (turn-on-xterm-mouse-tracking)
645 (turn-off-xterm-mouse-tracking): Delete.
646
647 * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
648 (xterm-paste-ending-sequence): New constant.
649 (xterm-paste): New command used for bracketed paste support.
650
651 (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
652 (terminal-init-xterm-bracketed-paste-mode): New function.
653 (terminal-init-xterm): Call it.
654 (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
655 and tty-mode-reset-strings instead of random hooks.
656 (xterm-turn-on-modify-other-keys)
657 (xterm-turn-off-modify-other-keys)
658 (xterm-remove-modify-other-keys): Delete obsolete functions.
659
67c477ae
SM
660 * term/screen.el: Rewrite to just use the xterm code.
661 Add copyright notice. Mention tmux.
bfc30790 662
e51c8d91
I
6632014-04-17 Ian D <dunni@gnu.org> (tiny change)
664
665 * image-mode.el (image-mode-window-put): Also update the property of
666 the "default window".
667 * doc-view.el (doc-view-new-window-function): If no window
668 exists, move to the last known page.
669
c76a7a5c
SM
6702014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
671
672 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
673 here-documents (bug#17262).
674
bf6b4923
EZ
6752014-04-16 Eli Zaretskii <eliz@gnu.org>
676
c76a7a5c
SM
677 * term/pc-win.el (x-list-fonts, x-get-selection-value):
678 Provide doc strings, as required by snarf-documentation.
bf6b4923 679
290d7ac2 6802014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
20fa59a0
SM
681
682 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
683 arg of overlays-at. Use `invisible-p'.
684
685 * obsolete/lucid.el (extent-at):
686 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
687 overlays-at.
688 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
689
290d7ac2 6902014-04-16 João Távora <joaotavora@gmail.com>
f596f897
JT
691
692 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
693 links. (Bug#17217).
694
290d7ac2 6952014-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
a73b9dda
YM
696
697 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
698 Use mapc to loop over a vector. (Bug#17257).
699
290d7ac2 7002014-04-16 Michael Albinus <michael.albinus@gmx.de>
f2d164a4
MA
701
702 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
703 patch, there are new problems with file names containing spaces.
704 Get rid of backticks. (Bug#17238)
705
290d7ac2 7062014-04-16 João Távora <joaotavora@gmail.com>
498d3768
JT
707
708 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
709 possible bug.
710
290d7ac2 7112014-04-16 Eli Zaretskii <eliz@gnu.org>
83451189
EZ
712
713 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
714 (blink-cursor-mode): Mention customization variables and the
715 effect of 'blink-cursor-blinks'.
716
290d7ac2 7172014-04-16 Barry O'Reilly <gundaetiapo@gmail.com>
175a3a51
BR
718
719 * simple.el (undo): Prevent insertion of identity mapping into
720 undo-equiv-table so as undo-only does not inf loop in the presence
721 of consecutive nils in undo list.
722
290d7ac2 7232014-04-16 Matthias Dahl <matthias.dahl@binary-island.eu>
5f91455c
MD
724
725 * faces.el (make-face): Deprecate optional argument as it is no
726 longer needed/used since the conditional X resources handling
727 has been pushed down to make-face-x-resource-internal itself.
728 (make-empty-face): Don't pass optional argument to make-face.
729
5f6b4154
KF
7302014-04-16 Karl Fogel <kfogel@red-bean.com>
731
732 * savehist.el (savehist-save): Remove workaround for a read-passwd
733 bug that was fixed before 24.3. Thanks to Juanma Barranquero for
734 noticing that the shim was still present.
735
005551fe
SM
7362014-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
737
738 * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
739
b92583c4
JB
7402014-04-14 Juanma Barranquero <lekktu@gmail.com>
741
742 * faces.el (face-set-after-frame-default): Remove unused local variable.
743
6c2453e0
SM
7442014-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
745
f7993853
SM
746 * progmodes/grep.el: Use lexical-binding.
747 (grep-expand-template): Pass explicit lexical env to `eval'.
748 (zrgrep): Let-bind grep-find-template explicitly.
749
6c2453e0
SM
750 * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
751 * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
752
ac387dd1
EZ
7532014-04-12 Eli Zaretskii <eliz@gnu.org>
754
755 * international/characters.el <standard-case-table>: Add entries
756 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
204db02a 757 Set category of Coptic characters be 'g' (Greek).
ac387dd1 758
2e611da6
LL
7592014-04-12 Leo Liu <sdl.web@gmail.com>
760
e0af4095
GM
761 * progmodes/octave.el (completion-table-with-cache):
762 Define if not available.
763 (octave-goto-function-definition, octave-sync-function-file-names)
764 (octave-find-definition-default-filename):
765 Backquote upattern for compatibility.
2e611da6 766
e0af4095 7672014-04-12 Michael Albinus <michael.albinus@gmx.de>
f628e17c
MA
768
769 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
770 name twice due to backticks. (Bug#17238)
771
e0af4095 7722014-04-12 Glenn Morris <rgm@gnu.org>
fd492166
GM
773
774 * term/w32-win.el (x-win-suspend-error):
775 * term/x-win.el (x-win-suspend-error): Sync docs.
776
7f0f4c25
MD
7772014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
778
f7993853
SM
779 * faces.el (make-face): Remove deprecated optional argument.
780 The conditional application of X resources is handled directly by
7f0f4c25
MD
781 make-face-x-resource-internal since Emacs 24.4.
782 (make-empty-face): Don't pass optional argument to make-face.
783
e088b01d
GM
7842014-04-11 Glenn Morris <rgm@gnu.org>
785
786 * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport. (Bug#16429)
787
536aa466 7882014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
e46561a2
SM
789
790 Ediff's overlay priorities cause more trouble than they solve.
791 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
792 (ediff-highest-priority): Remove function (bug#17234).
793 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
794 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
795 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
796 overlay priorities.
797
536aa466 7982014-04-11 Feng Li <fengli@gmail.com> (tiny change)
39764caa
FL
799
800 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
801 entry; use symbol boundaries to avoid mis-matches.
802
536aa466 8032014-04-11 Michael Albinus <michael.albinus@gmx.de>
bcbb83a9
MA
804
805 * net/tramp.el (tramp-file-name-handler)
806 (tramp-completion-file-name-handler): Avoid recursive loading.
807
808 * net/tramp-sh.el (tramp-make-copy-program-file-name):
809 Quote result also locally.
810
0d6a1375
SM
8112014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
812
c99ce7d8
SM
813 * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
814 Remove left-over code.
815
0d6a1375
SM
816 * newcomment.el (comment-indent-new-line): Sink code where it's used.
817 Reuse the previous comment's indentation unconditionally if it's on its
818 own line.
819
3f63a9f7
DC
8202014-04-09 Daniel Colascione <dancol@dancol.org>
821
822 * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
823 `no-syntax-crossing' arguments. Forward to `up-list'.
824 (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
825 Implement logic for escaping from strings. Use narrowing to deal
826 with corner cases.
827
0b816f15
LL
8282014-04-09 Leo Liu <sdl.web@gmail.com>
829
830 * net/rcirc.el (rcirc-connection-info): New variable.
831 (rcirc-connect): Use it to store connection info.
832 (rcirc-buffer-process): Avoid get-buffer-process which returns nil
833 for killed process.
834 (rcirc-cmd-reconnect): New command. (Bug#17045)
835 (rcirc-mode, set-rcirc-encode-coding-system)
836 (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
837
22683580
DC
8382014-04-09 Daniel Colascione <dancol@dancol.org>
839
840 * emacs-lisp/cl-indent.el: Add comment claiming
841 facility is also good for elisp.
842 (lisp-indent-find-method): New function.
843 (common-lisp-indent-function): Recognize cl-loop.
844 (common-lisp-indent-function-1): Recognize cl constructs; use
845 `lisp-indent-find-method' instead of `get' directly.
846 (if): Use else-body style for elisp.
847
0122b24d
DG
8482014-04-09 Dmitry Gutov <dgutov@yandex.ru>
849
850 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
851 Module methods. (Bug#17216)
852
559836fb 8532014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
5b9925ae
SM
854
855 * help.el (describe-bindings): Fix buffer handling (bug#17210).
856 (describe-bindings-internal): Mark obsolete.
857
6bc76cee
SM
8582014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
859
860 * subr.el (with-silent-modifications): Don't bind deactivate-mark,
861 buffer-file-name, and buffer-file-truename any more.
862
dc0b0454
LL
8632014-04-08 Leo Liu <sdl.web@gmail.com>
864
865 Use lexical-binding and require cl-lib.
866 * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
867 (rcirc-handler-generic, rcirc-fill-paragraph)
868 (rcirc-format-response-string, rcirc-target-buffer)
869 (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
870 (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
871 (rcirc-ctcp-sender-PING, rcirc-browse-url)
872 (rcirc-markup-timestamp, rcirc-markup-attributes)
873 (rcirc-markup-my-nick, rcirc-markup-urls)
874 (rcirc-markup-bright-nicks, rcirc-markup-fill)
875 (rcirc-check-auth-status, rcirc-handler-WALLOPS)
876 (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
877 (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
878 (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
879 (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
880 (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
881 (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
882 (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
883 (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
884 (rcirc-handler-CTCP-response): Fix unused arguments warnings and
885 use cl-lib.
886
190f899a
JT
8872014-04-07 João Távora <joaotavora@gmail.com>
888
6f287c89
GM
889 * elec-pair.el (electric-pair--syntax-ppss):
890 When inside comments parse from comment beginning.
190f899a
JT
891 (electric-pair--balance-info): Fix typo in comment.
892 (electric-pair--in-unterminated-string-p): Delete.
893 (electric-pair--unbalanced-strings-p): New function.
894 (electric-pair-string-bound-function): New var.
895 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
896 according to `electric-pair--in-unterminated-string-p'
897
6f287c89
GM
898 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
899 Inhibit quote pairing if point-max is inside an unterminated string.
900 (electric-pair--looking-at-unterminated-string-p): Delete.
528c33b5
JT
901 (electric-pair--in-unterminated-string-p): New function.
902
a9c921e6
GM
9032014-04-07 Glenn Morris <rgm@gnu.org>
904
905 * shell.el (shell-directory-tracker):
906 Go back to just ignoring failures. (Bug#17159)
907
6f287c89 9082014-04-07 João Távora <joaotavora@gmail.com>
be411138
JT
909
910 Fix `electric-pair-delete-adjacent-pairs' in modes binding
911 backspace. (bug#16981)
912 * elec-pair.el (electric-pair-backward-delete-char): Delete.
913 (electric-pair-backward-delete-char-untabify): Delete.
914 (electric-pair-mode-map): Bind backspace to a menu item filtering
915 a new `electric-pair-delete-pair' command.
916 (electric-pair-delete-pair): New command.
917
6f287c89
GM
918 * progmodes/python.el (python-electric-pair-string-delimiter):
919 Fix triple-quoting electricity. (Bug#17192)
89f20f76 920
6f287c89
GM
921 * elec-pair.el (electric-pair-post-self-insert-function):
922 Don't skip whitespace when `electric-pair-text-pairs' and
89f20f76 923 `electric-pair-pairs' were used. syntax to
7aecc2f6 924 electric-pair--skip-whitespace. (Bug#17183)
89f20f76 925
6f287c89 9262014-04-07 Eli Zaretskii <eliz@gnu.org>
c8e7f832
EZ
927
928 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
929 "<F>". (Bug#17199)
930
6f287c89 9312014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
0beb7fb7
SM
932
933 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
934 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
935
6f287c89 9362014-04-07 Glenn Morris <rgm@gnu.org>
50ea0f87
GM
937
938 * help.el (view-lossage): Doc tweak.
939
6f287c89 9402014-04-07 Matthias Dahl <ml_emacs-lists@binary-island.eu>
eb7a03cc
MD
941
942 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
943 only when inhibit-x-resources is nil, and do that earlier in the
944 function. Doc fix. (Bug#16694)
fdafd487
MD
945 (face-spec-choose): Accept additional optional argument, whose
946 value is returned if no matching attributes are found.
947 (face-spec-recalc): Use the new optional argument when calling
948 face-spec-choose. (Bug#16378)
f5e4494c
MD
949 (make-face-x-resource-internal): Do nothing when
950 inhibit-x-resources is non-nil. Don't touch the default face if
0beb7fb7 951 reversed video is given--as was done in previous versions of Emacs.
f5e4494c
MD
952 (face-set-after-frame-default): Don't call
953 make-face-x-resource-internal here. (Bug#16434)
eb7a03cc 954
6f287c89 9552014-04-07 Tassilo Horn <tsdh@gnu.org>
3ccd4eaf 956
0beb7fb7
SM
957 * doc-view.el (doc-view-bookmark-jump):
958 Use `bookmark-after-jump-hook' to jump to the right page after the
3ccd4eaf
TH
959 buffer is shown in a window. (bug#16090)
960
6f287c89 9612014-04-07 Eli Zaretskii <eliz@gnu.org>
b7cf27ed
EZ
962
963 * international/characters.el (mirroring): Fix last change:
964 instead of loading uni-mirrored.el explicitly, do that implicitly
965 by creating the 'mirroring' uniprop table. This avoids announcing
966 the loading of uni-mirrored.el.
967
6f287c89 9682014-04-07 Glenn Morris <rgm@gnu.org>
8a1d24b1
GM
969
970 * files.el (buffer-stale--default-function)
971 (buffer-stale-function, revert-buffer--default):
972 * autorevert.el (auto-revert-buffers): Doc tweaks.
973
6f287c89 9742014-04-07 Eli Zaretskii <eliz@gnu.org>
bbab1c4f
EZ
975
976 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
977
6f287c89 9782014-04-07 Glenn Morris <rgm@gnu.org>
d738ebdc
GM
979
980 * files.el (make-backup-file-name-function)
981 (make-backup-file-name, make-backup-file-name--default-function)
982 (make-backup-file-name-1, find-backup-file-name)
983 (revert-buffer-function, revert-buffer-insert-file-contents-function)
984 (buffer-stale--default-function, buffer-stale-function)
985 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
986 (revert-buffer, revert-buffer--default)
987 (revert-buffer-insert-file-contents--default-function):
988 Doc fixes related to defaults no longer being nil.
989 (make-backup-file-name-function): Bump :version.
990 Restore nil as a valid but deprecated custom type.
991
6f287c89 9922014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
062e286b 993
6f287c89
GM
994 * progmodes/perl-mode.el (perl-syntax-propertize-function):
995 Handle $' used as a variable (bug#17174).
66f50b12
SM
996
997 * progmodes/perl-mode.el (perl-indent-new-calculate):
998 Handle forward-sexp failure (bug#16985).
8a7fd442
SM
999 (perl-syntax-propertize-function): Add "foreach" and "for" statement
1000 modifiers introducing expressions (bug#17116).
66f50b12 1001
7b656e4a
SM
10022014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
1003
1004 * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
1005
722237d5
LL
10062014-04-05 Leo Liu <sdl.web@gmail.com>
1007
7b656e4a
SM
1008 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
1009 Add define-compilation-mode.
722237d5 1010
5cb0cc90
JT
10112014-04-04 João Távora <joaotavora@gmail.com>
1012
9b017563
JB
1013 * elec-pair.el (electric-pair--syntax-ppss): When inside comments
1014 parse from comment beginning.
5cb0cc90
JT
1015 (electric-pair--balance-info): Fix typo in comment.
1016 (electric-pair--in-unterminated-string-p): Delete.
1017 (electric-pair--unbalanced-strings-p): New function.
1018 (electric-pair-string-bound-function): New var.
1019 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
9b017563 1020 according to `electric-pair--in-unterminated-string-p'.
5cb0cc90 1021
6b31e6b1
SM
10222014-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1023
1024 * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
1025 Move declaration before first use.
1026 (reftex-move-to-next-arg): Silence compiler warning.
1027
0de7d982
JK
10282014-04-04 Joost Kremers <joostkremers@fastmail.fm> (tiny change)
1029
6b31e6b1
SM
1030 * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
1031 Use `window-total-width' instead of `window-width'.
0de7d982 1032
01ae0fbf
DC
10332014-04-03 Daniel Colascione <dancol@dancol.org>
1034
1035 * subr.el (set-transient-map): Remove rms's workaround entirely;
1036 use new `suspicious-object' subr to mark our lambda for closer
1037 scrutiny during gc.
1038
4fd68bf6
RS
10392014-04-02 Richard Stallman <rms@gnu.org>
1040
1041 * subr.el (set-transient-map): Comment out previous change.
1042
c7510f6e
GM
10432014-04-02 Glenn Morris <rgm@gnu.org>
1044
0b908bf2
GM
1045 * menu-bar.el (menu-bar-file-menu):
1046 * vc/ediff.el (ediff-current-file):
1047 Update for revert-buffer-function no longer being nil by default.
1048
c7510f6e
GM
1049 * simple.el (command-execute): Respect nil disabled-command-function.
1050
09aba815 10512014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
6116a727
NR
1052
1053 * simple.el (command-execute): Do not execute the command when it
1054 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
1055
09aba815 10562014-04-02 Juri Linkov <juri@jurta.org>
8778eb5e
JL
1057
1058 * dired-aux.el (dired-compress-file): Don't use string-match-p
1059 because its match data is used afterwards.
1060
09aba815 10612014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
929c0500
SM
1062
1063 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
1064 0 like nil.
1065
200c532b
JT
10662014-04-02 João Távora <joaotavora@gmail.com>
1067
6b31e6b1
SM
1068 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
1069 Inhibit quote pairing if point-max is inside an unterminated string.
200c532b
JT
1070 (electric-pair--looking-at-unterminated-string-p):
1071 Delete.
1072 (electric-pair--in-unterminated-string-p): New function.
1073
2395f2b9
DC
10742014-04-01 Daniel Colascione <dancol@dancol.org>
1075
1076 * minibuffer.el (minibuffer-complete): Prevent assertion failure
1077 when trying to complete the prompt.
1078
294b2b09
LL
10792014-03-31 Leo Liu <sdl.web@gmail.com>
1080
6b31e6b1
SM
1081 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
1082 Refactor out eldoc-documentation-function-default.
294b2b09
LL
1083 (eldoc-documentation-function-default): New function.
1084 (eldoc-documentation-function): Change value.
1085
4f3a895b
GM
10862014-03-31 Glenn Morris <rgm@gnu.org>
1087
1088 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
1089
1db854cc
GM
1090 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
1091 (vhdl-compose-components-package, vhdl-compose-configuration):
1092 Abbreviate default-directory (missing from some previous upstream sync).
1093
3c2d4776
RZ
10942014-03-31 Reto Zimmermann <reto@gnu.org>
1095
1096 Sync with upstream vhdl mode v3.35.2.
1097 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
1098 (top-level): No longer require assoc.
1099 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
1100 New functions. Use throughout to replace aget etc.
1101 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
1102 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
1103 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
1104 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
1105 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
1106 except `vhdl-compiler'.
1107 (vhdl-error-regexp-add-emacs): Remove all other compilers,
1108 when appropriate.
1109
5c30ab7a
GM
11102014-03-31 Glenn Morris <rgm@gnu.org>
1111
1112 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
1113 Revert 2014-03-26 merge goof; go back to using defalias.
1114
1861d5a7
DC
11152014-03-30 Daniel Colascione <dancol@dancol.org>
1116
6b31e6b1
SM
1117 * comint.el (comint-send-input):
1118 Deactivate completion-in-region-mode before we send comint input.
1861d5a7
DC
1119 (Bug#17139).
1120
1121 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
1122 on keyboard-quit.
1123
41116c5a
GM
11242014-03-29 Glenn Morris <rgm@gnu.org>
1125
1126 * textmodes/reftex.el: Manage most autoloads automatically.
1127 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
1128 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
1129 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
1130 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
1131 * textmodes/reftex-toc.el: Set generated-autoload-file,
1132 and add autoload cookies for reftex.el.
1133 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
1134
c3153003
GM
11352014-03-28 Glenn Morris <rgm@gnu.org>
1136
7b207d6d
GM
1137 * cus-start.el (report-emacs-bug-address): Set custom properties.
1138 * mail/emacsbug.el (report-emacs-bug-address):
1139 Variable is now defined in emacs.c.
1140
c3153003
GM
1141 * mail/emacsbug.el (report-emacs-bug):
1142 Include system-configuration-features.
1143
687e0e19
MN
11442014-03-28 Michal Nazarewicz <mina86@mina86.com>
1145
1146 * simple.el (cycle-spacing): Never delete spaces on first run by
1147 default, but do so in a new 'fast mode and if there are already
4f3a895b 1148 N spaces (the previous behavior).
687e0e19
MN
1149 Compare N with its value in previous invocation so that changing
1150 prefix argument restarts `cycle-spacing' sequence.
687e0e19 1151 The idea is that with this change, binding M-SPC to
4f3a895b 1152 `cycle-spacing' should not introduce any changes in behavior of
687e0e19
MN
1153 the binding so long as users do not type M-SPC twice in a raw with
1154 the same prefix argument or lack thereof.
1155
95de732d
GM
11562014-03-28 Glenn Morris <rgm@gnu.org>
1157
1158 * faces.el (term-file-aliases): New variable.
1159 (tty-run-terminal-initialization): Respect term-file-aliases.
1160 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
1161 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
1162 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
1163
6730259f
GM
11642014-03-27 Glenn Morris <rgm@gnu.org>
1165
862a4e4a
GM
1166 * startup.el (inhibit-startup-hooks): Doc tweak.
1167 (normal-top-level): Simplify running of hooks.
1168 For window-setup-hook, respect inhibit-startup-hooks.
1169 (command-line-1): Don't set window-setup-hook to nil.
1170
6730259f
GM
1171 Allow selective autoloading from obsolete/ directory.
1172 * Makefile.in (obsolete-autoloads): New rule.
1173 (autoloads): Run obsolete-autoloads.
1174 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
1175 * simple.el (iswitchb-mode): Remove hand-written autoloads.
1176
42ebc34e
DG
11772014-03-27 Dmitry Gutov <dgutov@yandex.ru>
1178
929c0500
SM
1179 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1180 Highlight special globals with font-lock-builtin-face. (Bug#17057)
8de64bb8 1181
42ebc34e
DG
1182 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1183 Don't propertize `?' or `!' as symbol constituent when after
1184 colon. (Bug#17097)
1185
b1c870c9
JB
11862014-03-27 Juanma Barranquero <lekktu@gmail.com>
1187
857ba6ec
JB
1188 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
1189 which is no longer needed and causes trouble in GTK builds (bug#17046).
1190
b1c870c9
JB
1191 * emacs-lisp/package-x.el (package--archive-contents-from-url):
1192 Use url-insert-file-contents; package-handle-response no longer exists.
1193
8ab9876a
DC
11942014-03-26 Daniel Colascione <dancol@dancol.org>
1195
1196 * simple.el (process-menu-mode-map): New variable.
1197 (process-menu-delete-process): New command.
1198
196716cf
JB
11992014-03-26 Juanma Barranquero <lekktu@gmail.com>
1200
1201 * emacs-lisp/package.el: Fix bug#16733 (again).
1202 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
1203 (url-http-target-url): Remove unused declarations.
1204 (package-handle-response): Remove.
1205 (package--with-work-buffer): Use url-insert-file-contents and simplify.
1206 (package--download-one-archive): Use current-buffer instead of
1207 dynamic binding of `buffer'.
1208 (describe-package-1): Do not decode readme-string.
1209
16adf2e6 12102014-03-26 Michael Albinus <michael.albinus@gmx.de>
1f73d6c6
MA
1211
1212 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
1213
1214 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
1215 from 2014-03-07, it decreases performance unnecessarily. Let-bind
1216 `remote-file-name-inhibit-cache' to nil in the second pass.
1217 (tramp-find-executable): Do not call "which" on SunOS.
1218 (tramp-send-command-and-check): Fix docstring.
08cf935b
MA
1219 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
1220 check whether source directory has set the sticky bit.
1f73d6c6 1221
16adf2e6 12222014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
37ea8275
BR
1223
1224 * simple.el (primitive-undo): Only process marker adjustments
1225 validated against their corresponding (TEXT . POS). Issue warning
1226 for lone marker adjustments in undo history. (Bug#16818)
1227 (undo-make-selective-list): Add marker adjustments to selective
1228 undo list based on whether their corresponding (TEXT . POS) is in
1229 the region. Remove variable adjusted-markers, which was unused
1230 and only non nil during undo-make-selective-list.
1231 (undo-elt-in-region): Return nil when passed a marker adjustment
1232 and explain in function doc.
1233
16adf2e6 12342014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
74be1649
NR
1235
1236 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
1237
16adf2e6 12382014-03-26 Dmitry Gutov <dgutov@yandex.ru>
c2d6c639
DG
1239
1240 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
1241 Match special global variables without curlies, too.
1242 (ruby-font-lock-keywords): Simplify the matcher for special global
1243 variables. Don't require a non-word character after the variable.
1244 (Bug#17057)
1245
16adf2e6 12462014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
f6614a47
SM
1247
1248 * simple.el (redisplay-highlight-region-function): Increase priority of
1249 overlay to make sure boundaries are visible (bug#15899).
1250
16adf2e6 12512014-03-26 Juanma Barranquero <lekktu@gmail.com>
3ea2c781 1252
16adf2e6
JB
1253 * frameset.el (frameset--initial-params): Fix typo in parameter name.
1254 (frameset-restore): Compare display strings with equal.
ee79b33f 1255
3ea2c781
JB
1256 * frame.el (make-frame): Don't quote display name in error message,
1257 it is already a string.
1258
16adf2e6 12592014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
f1e06f7b
TV
1260
1261 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
1262 the password.
1263
16adf2e6 12642014-03-26 Dmitry Gutov <dgutov@yandex.ru>
2614c1af 1265
16adf2e6
JB
1266 * emacs-lisp/package.el (package--add-to-archive-contents):
1267 Include already installed and built-in packages in
1268 `package-archive-contents'.
1269 (package-install): Don't include already installed packages in the
1270 options during interactive invocation. (Bug#16762)
1271 (package-show-package-list): If the buffer is already displayed in
1272 another window, switch to that window.
1273
fb3deac8
RZ
12742014-03-26 Reto Zimmermann <reto@gnu.org>
1275
1276 Sync with upstream vhdl mode v3.35.1.
1277 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
1278 (vhdl-compiler-alist): Doc fix.
1279 (vhdl-goto-line): Remove.
1280 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
1281 (vhdl-mode) <paragraph-start>: Fix value.
1282 (vhdl-fix-statement-region): Not `for' in wait-statement.
1283 (vhdl-beautify-region): Also (un)tabify.
1284 (vhdl-get-visible-signals):
1285 Scan declarative part of generate statements.
1286 (vhdl-template-record): Fix indentation for record type declaration.
c1e6bc0a
GM
1287 (vhdl-expand-abbrev, vhdl-expand-paren):
1288 Revert to using fset again rather than defalias.
fb3deac8
RZ
1289 (vhdl-scan-directory-contents): Tweak.
1290 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
1291 (vhdl-compose-components-package):
1292 Replace vhdl-goto-line with forward-line.
1293 (top-level): Tweak speedbar frame selection.
1294 (vhdl-generate-makefile-1): Support for compilers with no
1295 unit-to-file name mapping (create directory with dummy files).
1296
511df08c
WS
12972014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
1298
1299 Sync with upstream verilog-mode revision 702457d.
1300 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1301 (create-lockfiles): Declare.
1302 (verilog-read-decls): Fix module header imports, bug709.
1303 Reported by Victor Lau.
1304 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
1305 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
9b017563 1306 interface-only modules, bug721. Reported by Dean Hoyt.
511df08c 1307
11ee65af
GM
13082014-03-26 Glenn Morris <rgm@gnu.org>
1309
b4aca021
GM
1310 * obsolete/gulp.el: Move here from emacs-lisp/.
1311
11ee65af
GM
1312 * files.el (lock-buffer, unlock-buffer, file-locked-p):
1313 Remove fallback aliases, since they are always defined now.
1314
1edb4a2e
DC
13152014-03-24 Daniel Colascione <dancol@dancol.org>
1316
1317 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
1318 instead of cl-loop search function.
1319
7a31038f
G
13202014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
1321
1322 * calendar/parse-time.el (parse-time-iso8601-regexp)
1323 (parse-iso8601-time-string): Copied from `url-dav' so that we can use
1324 it more generally.
1325
13262014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
1327
1328 * net/dns.el (network-interface-list): Define for XEmacs.
1329
13302014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
1331
1332 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
1333 the network interfaces changed.
1334 (dns-query): Use it to flush the data.
1335
835af719
JB
13362014-03-23 Juanma Barranquero <lekktu@gmail.com>
1337
1338 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
1339
6ddc4422
DC
13402014-03-23 Daniel Colascione <dancol@dancol.org>
1341
1342 Change subword-mode to use `find-word-boundary-function-table' and
1343 replace `capitalized-words-mode'. Also, convert to lexical
1344 binding.
1345
1346 * progmodes/cap-words.el: Delete now-obsolete file.
1347 * progmodes/subword.el: Reimplement using
1348 `find-word-boundary-function-table'.
1349 (subword-mode-map): Hollow out.
1350 (capitalized-words-mode): Define as obsolete alias for
1351 `subword-mode'.
9b017563 1352 (subword-mode, superword-mode): Tweak documentation to reflect new
6ddc4422 1353 implementation; call `subword-setup-buffer'.
9b017563 1354 (subword-forward, subword-capitalize): Add underscore to indicate
6ddc4422
DC
1355 unused variable.
1356 (subword-find-word-boundary-function-table): New constant.
1357 (subword-empty-char-table): New constant.
1358 (subword-setup-buffer): New function.
1359 (subword-find-word-boundary): New function.
1360
c6b0fbe7
DC
13612014-03-23 Daniel Colascione <dancol@dancol.org>
1362
1363 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
1364 list to look for keyword arguments instead of `memq', fixing
1365 (Bug#3647) --- unfortunately, only for freshly-compiled code.
1366 Please make bootstrap.
1367
5076d275
GM
13682014-03-22 Glenn Morris <rgm@gnu.org>
1369
5dbc3244
GM
1370 * dired.el (dired-read-regexp): Make obsolete.
1371 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
1372 (dired-flag-files-regexp):
1373 * dired-aux.el (dired-mark-read-regexp):
1374 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
1375
00156f95
GM
1376 * startup.el (fancy-startup-text):
1377 * help.el (describe-gnu-project): Visit online info about GNU project.
1378
f9c81e7b
GM
1379 * help-fns.el (help-fns--interactive-only): New function.
1380 (help-fns-describe-function-functions): Add the above function.
1381 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
1382 (next-line, previous-line): Remove hand-written interactive-only
1383 information from doc strings, it is auto-generated now.
1384 * bookmark.el (bookmark-write):
1385 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
1386 (epa-mail-import-keys): Mark interactive-only,
1387 and remove hand-written interactive-only information from doc strings.
1388 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
1389 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
1390 * files.el (not-modified):
1391 * simple.el (mark-whole-buffer): Mark interactive-only.
1392
5076d275
GM
1393 * emacs-lisp/byte-run.el (defun-declarations-alist):
1394 Add interactive-only. Doc tweak.
1395 (macro-declarations-alist): Doc tweak.
1396 * subr.el (declare): Doc tweak (add xref to manual).
1397 * comint.el (comint-run):
1398 * files.el (insert-file-literally, insert-file):
1399 * replace.el (replace-string, replace-regexp):
1400 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1401 (delete-forward-char, goto-line, insert-buffer, next-line)
1402 (previous-line): Set interactive-only via declare.
1403
1197f2e6
DG
14042014-03-22 Dmitry Gutov <dgutov@yandex.ru>
1405
1406 * emacs-lisp/package.el (package-desc): Use the contents of the
1407 quoted form, not its cdr. (Bug#16873)
1408
aac06179
JB
14092014-03-22 Juanma Barranquero <lekktu@gmail.com>
1410
1411 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
1412 benefit of doc.c; change parameter profile to match the X function.
1413
3e7bc044
LL
14142014-03-22 Leo Liu <sdl.web@gmail.com>
1415
1416 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
1417 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
1418
59271b3e
RS
14192014-03-21 Richard Stallman <rms@gnu.org>
1420
8266cd88
RS
1421 * battery.el (battery-linux-sysfs): Search for each field
1422 from the beginning of the buffer.
1423
16ec0742
RS
1424 * subr.el (set-transient-map): Clear out function and value
1425 of the temporary symbol when we're done with it.
1426
59271b3e
RS
1427 * mail/rmailsum.el (rmail-summary-delete-forward):
1428 Optimize case of reaching end and handling count.
1429 (rmail-summary-mark-deleted): Optimize when N is current msg.
1430 Don't create new summary line.
1431 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
1432 (rmail-summary-undelete-many): Rewrite for speed.
1433 (rmail-summary-msg-number): New function.
1434
1435 * mail/rmail.el (rmail-delete-message): Update summary.
1436 (rmail-undelete-previous-message): Handle repeat count arg.
1437 (rmail-delete-backward, rmail-delete-forward): Likewise.
1438
0d8ac93e
DC
14392014-03-21 Daniel Colascione <dancol@dancol.org>
1440
1441 * mail/emacsbug.el (report-emacs-bug): Include memory usage
1442 information in bug reports.
1443
1e92a8a3
MA
14442014-03-21 Michael Albinus <michael.albinus@gmx.de>
1445
1446 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
1447 and `tramp-copy-env'.
1448
1449 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
1450 (tramp-maybe-open-connection): Handle `tramp-login-env'.
1451
78540c42
GM
14522014-03-21 Glenn Morris <rgm@gnu.org>
1453
1454 * electric.el (electric-indent-post-self-insert-function): Add doc.
1455
1fc8f655
DG
14562014-03-21 Dmitry Gutov <dgutov@yandex.ru>
1457
dcf78667
DG
1458 * emacs-lisp/package.el (package-compute-transaction):
1459 Use `version-list-<=' to compare the requirement version against
1460 the version of package already to be installed. Update the error
1461 message. (Bug#16826)
1462
1fc8f655
DG
1463 * progmodes/ruby-mode.el (ruby-smie-rules):
1464 Add indentation rule for ` @ '. (Bug#17050)
1465
dada060d
JB
14662014-03-21 Juanma Barranquero <lekktu@gmail.com>
1467
1468 * align.el (align-regexp): Remove superfluous backslash.
1469
1470 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
1471 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
1472 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
1473 Fix docstring typos.
1474 (ffap-next): Use C-u in docstring.
1475 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
1476 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
1477 Remove superfluous backslashes.
1478 (ffap-string-at-point): Reflow docstring.
1479
1480 * server.el (server-host): Reflow docstring.
1481 (server-unload-function): Fix docstring typo.
1482 (server-eval-at): Remove superfluous backslash.
1483
1484 * skeleton.el (skeleton-insert): Remove superfluous backslash.
1485 (skeleton-insert): Doc fix.
1486 (skeleton-insert): Reflow docstring.
1487
1488 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
1489 (tty-color-approximate, tty-color-by-index, tty-color-values)
1490 (tty-color-desc): Remove superfluous backslashes.
1491
f428101f
GM
14922014-03-21 Glenn Morris <rgm@gnu.org>
1493
26e91130
GM
1494 * cus-start.el (history-length): Bump :version.
1495
aa3a7b51
GM
1496 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1497 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
1498 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1499 Don't set `make-backup-files'.
1500
f428101f
GM
1501 * info.el (info--prettify-description): New function,
1502 to give info-finder descriptions consistent case, punctuation.
1503 (Info-finder-find-node): Use it. Sort packages.
1504 Refer to "description" rather than "commentary".
1505
6ce1b56e
JB
15062014-03-21 Juanma Barranquero <lekktu@gmail.com>
1507
1508 * frameset.el (frameset--print-register): New function.
1509 (frameset-to-register): Use it.
1510
b730af26
JB
15112014-03-20 Juanma Barranquero <lekktu@gmail.com>
1512
45393801
JB
1513 * progmodes/hideif.el (hif-string-to-number): New function.
1514 (hif-tokenize): Use it to understand non-decimal floats.
1515
814e26fa
JB
1516 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
1517
b730af26
JB
1518 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
1519
6f287c89
GM
15202014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
1521
1522 * electric.el (electric-newline-and-maybe-indent): New command.
1523 Bind it globally to C-j.
1524 (electric-indent-mode): Don't mess with the global map any more.
1525 Don't drop the post-self-insert-hook is some buffer is still using it
1526 (bug#16770).
1527
1528 * bindings.el (global-map): Remove C-j binding.
1529
1530 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
1531 the docstring of functions advised before dumping (bug#16993).
1532
f15ec1ba 15332014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
6a72e405
SH
1534
1535 * ps-print.el (ps-generate-postscript-with-faces):
1536 Explicitly deactivate the mark (bug#16866).
1537 * simple.el (deactivate-mark): Update region highlight.
1538
f88bdc45
JB
15392014-03-19 Juanma Barranquero <lekktu@gmail.com>
1540
1541 * emacs-lisp/package.el (describe-package-1):
1542 Decode commentary (bug#16733).
1543
6b88e570
JB
15442014-03-18 Juanma Barranquero <lekktu@gmail.com>
1545
1546 * custom.el (defcustom): Doc fix: recommend avoiding destructive
1547 modification of the value argument of :set (bug#16755).
1548
ac9b4703
SM
15492014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1550
1551 * simple.el (newline-and-indent): Do autofill (bug#17031).
1552
2b7858ec
DG
15532014-03-18 Dmitry Gutov <dgutov@yandex.ru>
1554
1555 * newcomment.el (comment-normalize-vars): Only add escaping check
1556 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
1557 (comment-beginning): Use `narrow-to-region' instead of moving back
1558 one character.
1559 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
1560 (comment-start-skip): Update the docstring.
1561
11eff3ae
RS
15622014-03-18 Richard Stallman <rms@gnu.org>
1563
1564 * dired.el (dired-display-file): Force use of other window.
1565
07f44fdb
JB
15662014-03-18 Daniel Colascione <dancol@dancol.org>
1567
1568 * startup.el (tty-handle-args): Remove debug message from 2007.
1569
15702014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
adbfe42c
SM
1571
1572 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
1573 (advice--make-interactive-form): Use it to avoid (auto)loading function.
1574 (advice--make-1, advice-add, advice-remove):
1575 Remove braindead :advice-pending hack.
1576
61debe4a
GM
15772014-03-17 Glenn Morris <rgm@gnu.org>
1578
1579 * calendar/calendar.el (calendar-generate-month): Apply weekend
1580 face to the right days; fixes 2013-08-06 change. (Bug#17028)
1581
8273986b
MA
15822014-03-17 Michael Albinus <michael.albinus@gmx.de>
1583
1584 * net/tramp.el (tramp-action-out-of-band): Read pending output.
1585 (tramp-call-process): Trace also DESTINATION.
1586
1587 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1588 Quote file names when they are local. Remove superfluous trace.
1589
4f8aeb84
DG
15902014-03-17 Dmitry Gutov <dgutov@yandex.ru>
1591
218feefc
DG
1592 * newcomment.el (comment-beginning): If `comment-start-skip'
1593 doesn't match, move back one char and try again. (Bug#16971)
1594
6c187ef5
SM
1595 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1596 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
4f8aeb84
DG
1597 Set `comment-start-skip' to a simpler value that doesn't try to
1598 check if the semicolon is escaped (this is handled by
1599 `syntax-ppss' now). (Bug#16971)
1600
1601 * progmodes/scheme.el (scheme-mode-variables): Same.
1602
b92631bf
MR
16032014-03-16 Martin Rudalics <rudalics@gmx.at>
1604
1605 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
1606 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
1607 current (Bug#16816, Bug#17007).
1608 (with-current-buffer-window): New macro doing the same as
1609 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
1610 * help.el (help-print-return-message): Warn in doc-string to not
1611 use this in `with-help-window'.
1612 (describe-bindings-internal): Call `describe-buffer-bindings'
1613 from within help buffer. See Juanma's scenario in (Bug#16816).
1614 (with-help-window): Update doc-string.
1615 * dired.el (dired-mark-pop-up):
1616 * files.el (save-buffers-kill-emacs):
1617 * register.el (register-preview): Use `with-current-buffer-window'
1618 instead of `with-temp-buffer-window'.
1619
57348c4d
JB
16202014-03-16 Juanma Barranquero <lekktu@gmail.com>
1621
1622 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
1623 Implement inserting into current buffer, documented in their docstrings.
1624 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
1625 (rst-section-tree-point, rst-forward-section, rst-indent)
1626 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
1627 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
1628 (rst-font-lock-handle-adornment-pre-match-form)
1629 (rst-repeat-last-character): Reflow docstrings.
1630 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
1631 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
1632 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
1633 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
1634 Fix docstring typos.
1635 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
1636 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
1637 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
1638
fd16b061
JB
16392014-03-15 Juanma Barranquero <lekktu@gmail.com>
1640
a2403e3d
JB
1641 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
1642 for compatibility with other ports.
1643 (ns-initialize-window-system): Use it. It is set in term/common-win.el
1644 from the -xrm command line argument, but in the Nextstep port its value
1645 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
1646
fd16b061
JB
1647 * progmodes/python.el (defconst, python-syntax-count-quotes)
1648 (python-indent-region, python-indent-shift-right)
1649 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
1650 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
1651 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
1652 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
1653 (inferior-python-mode, python-shell-make-comint, run-python-internal)
1654 (python-shell-buffer-substring, python-shell-send-buffer)
1655 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
1656 (python-completion-complete-at-point, python-fill-docstring-style)
1657 (python-eldoc-function, python-imenu-format-item-label)
1658 (python-imenu-format-parent-item-label)
1659 (python-imenu-format-parent-item-jump-label)
1660 (python-imenu--build-tree, python-imenu-create-index)
1661 (python-imenu-create-flat-index): Fix docstring typos.
1662 (python-indent-context, python-shell-prompt-regexp, run-python):
1663 Remove superfluous backslashes.
1664 (python-indent-line, python-nav-beginning-of-defun)
1665 (python-shell-get-buffer, python-shell-get-process)
1666 (python-info-current-defun, python-info-current-line-comment-p)
1667 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
1668 (python-indent-post-self-insert-function, python-shell-send-file)
1669 (python-shell-completion-get-completions)
1670 (python-shell-completion-complete-or-indent)
1671 (python-eldoc--get-doc-at-point): Reflow docstrings.
1672
e94807f0
GM
16732014-03-14 Glenn Morris <rgm@gnu.org>
1674
88103345
GM
1675 * emacs-lisp/package.el (package-menu-mode-map):
1676 Replace use of obsolete function alias. Tweak menu item text.
1677
f2dd4ba8
GM
1678 * info.el (Info-finder-find-node):
1679 Ignore the `emacs' metapackage. (Bug#10813)
1680
ac0f82ef
GM
1681 * finder.el (finder-list-matches): Include unversioned packages
1682 in the result of a keyword search.
1683
e94807f0
GM
1684 * finder.el (finder--builtins-descriptions): New constant.
1685 (finder-compile-keywords): Use finder--builtins-descriptions.
1686
50d434d1
DG
16872014-03-14 Dmitry Gutov <dgutov@yandex.ru>
1688
1689 * simple.el (blink-matching-paren): Describe the new value,
1690 `jump', enabling the old behavior.
1691 (blink-matching-open): Use that value. (Bug#17008)
1692
56759cf1
GM
16932014-03-14 Glenn Morris <rgm@gnu.org>
1694
459d74ef
GM
1695 * finder.el (finder-no-scan-regexp): Add leim-list.
1696 (finder-compile-keywords):
1697 Don't skip files with same basename. (Bug#14010)
1698 * Makefile.in (setwins_finder): New, excluding leim.
1699 (finder-data): Use setwins_finder.
1700
56759cf1
GM
1701 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
1702 (help-function-arglist, help-make-usage): Move from here...
1703 * help.el (help-split-fundoc, help-add-fundoc-usage)
1704 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
1705 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
1706
7644aa97
JB
17072014-03-14 Juanma Barranquero <lekktu@gmail.com>
1708
1709 * net/socks.el (socks, socks-override-functions)
fd16b061 1710 (socks-find-services-entry):
7644aa97
JB
1711 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
1712 (hif-find-ifdef-block):
1713 * progmodes/modula2.el (m2-indent): Fix docstring typos.
1714
1715 * net/tls.el (tls-program): Reflow docstring.
1716
1717 * progmodes/pascal.el (pascal-mode-abbrev-table)
1718 (pascal-imenu-generic-expression, pascal-auto-endcomments)
1719 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
1720 (pascal-outline-mode): Fix docstring typos.
1721 (pascal-mode): Let define-derived-mode document mode hook.
1722 (pascal-uncomment-area): Reflow.
1723 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
1724
1725 * progmodes/opascal.el (opascal-compound-block-indent)
1726 (opascal-case-label-indent): Fix docstring typos.
1727 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
1728
1f44df94
DG
17292014-03-13 Dmitry Gutov <dgutov@yandex.ru>
1730
07f44fdb
JB
1731 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1732 Fontify multiple adjacent negation chars. (Bug#17004)
1f44df94 1733
0d71dfb3
TW
17342014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
1735
1736 * emacs-lisp/package.el (package--prepare-dependencies):
1737 Accept requirements without explicit version (bug#14941).
1738
d27a1a7b
JB
17392014-03-12 Juanma Barranquero <lekktu@gmail.com>
1740
a5765a3d
JB
1741 * register.el (register-separator, copy-to-register): Doc fixes.
1742 (register-preview-default): Remove unnecessary call to concat.
1743
d27a1a7b
JB
1744 * frameset.el (frameset-restore): When checking for a visible frame,
1745 use the action map instead of calling visible-frame-list.
1746
08dfa0b7
JB
17472014-03-12 Jonas Bernoulli <jonas@bernoul.li>
1748
1749 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
1750
8960529e
MR
17512014-03-12 Martin Rudalics <rudalics@gmx.at>
1752
1753 * window.el (fit-frame-to-buffer): Get maximum width from
1754 display's width instead of height.
1755
8a51e8e4
GM
17562014-03-12 Glenn Morris <rgm@gnu.org>
1757
46456005
GM
1758 * desktop.el (desktop-restore-frames)
1759 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
1760 (desktop-restore-reuses-frames): Doc tweaks.
1761
8a51e8e4
GM
1762 * electric.el (electric-indent-mode): Doc fix.
1763
5983b317
JB
17642014-03-12 Juanma Barranquero <lekktu@gmail.com>
1765
1766 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
1767 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
1768 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
1769 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
1770 (cvs-dired-use-hook): Fix docstring typos.
1771 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
1772 Doc fixes.
1773
1774 * vc/pcvs-defs.el (cvs-auto-remove-handled)
1775 (cvs-auto-remove-directories, cvs-default-ignore-marks)
1776 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
1777 (cvs-execute-single-dir): Fix docstring typos.
1778
1779 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
1780 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
1781
1782 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
1783
1784 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
1785 Fix docstring typos.
1786
13c00cf0
JB
17872014-03-12 Juanma Barranquero <lekktu@gmail.com>
1788
1789 * frameset.el (frameset--jump-to-register): Add autoload; it could be
1790 called from jump-to-register after unloading the frameset package.
1791
536a17e3
SM
17922014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1793
1794 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
1795 (bug#16975). Deactivate the mark before setting it to nil.
1796 (activate-mark): Do nothing if region is already active.
1797
baf8d0ac
JB
17982014-03-11 Juanma Barranquero <lekktu@gmail.com>
1799
1800 * frameset.el (frameset--target-display): Remove definition; declare.
1801 (frameset-save, frameset-restore): Let-bind frameset--target-display.
1802
1ea22560
SM
18032014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1804
1805 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
1806 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
1807 when the advice is pending.
1808 (advice-remove): Remove this marker when not needed any more.
1809
4538c058
JB
18102014-03-11 Juanma Barranquero <lekktu@gmail.com>
1811
1812 * frameset.el: Separate options for reusing frames and cleaning up.
1813 (frameset--reuse-list): Remove definition; declare.
1814 (frameset--action-map): Declare.
1815 (frameset--find-frame-if): Doc fix.
1816 (frameset--restore-frame): Cache frame action.
1817 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
1818 how to clean up the frame list after restoring. Remove cleaning
1819 options from REUSE-FRAMES. Change all keyword values to symbols.
1820 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
1821
1822 * desktop.el (desktop-restore-forces-onscreen)
1823 (desktop-restore-reuses-frames): Use non-keyword values.
1824 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
1825
ba1a5c78
GM
18262014-03-10 Glenn Morris <rgm@gnu.org>
1827
776aa432
GM
1828 * files.el (find-file): Doc fix: update info node name.
1829
ba1a5c78
GM
1830 * emacs-lisp/advice.el (ad-add-advice, defadvice):
1831 Doc fix: remove references to deleted info nodes.
1832
183d706e
MA
18332014-03-10 Michael Albinus <michael.albinus@gmx.de>
1834
1835 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
1836 Do not add `nil' to the environment, when there's no remote `locale'.
1837 (tramp-find-inline-encoding): Check, that the remote host has
1838 installed perl, before sending scripts.
1839
6f0f96e7
LL
18402014-03-10 Leo Liu <sdl.web@gmail.com>
1841
536a17e3
SM
1842 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1843 Clear eldoc-last-message. (Bug#16920)
6f0f96e7 1844
ca70fe78
SM
18452014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
1846
1847 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
1848 (bug#14430).
1849
eb67db41
JL
18502014-03-09 Juri Linkov <juri@jurta.org>
1851
1852 * ansi-color.el (ansi-color-names-vector): Copy default colors
1853 from `xterm-standard-colors' that look well on the default white
1854 background (and also on the black background) to avoid illegible
8cf07e5a 1855 color combinations like yellow-on-white and white-on-white.
eb67db41
JL
1856 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
1857
e7db5447
JB
18582014-03-08 Juanma Barranquero <lekktu@gmail.com>
1859
1860 * frameset.el (frameset-restore): When no frame is visible, do not
1861 generate a list of frames, just make visible the selected one.
1862
f0a4c8d7
DG
18632014-03-08 Dmitry Gutov <dgutov@yandex.ru>
1864
1865 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
1866 it only contains the repository root. (Bug#16897)
1867
e50772e3
MA
18682014-03-07 Michael Albinus <michael.albinus@gmx.de>
1869
1870 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
1871 only when `remote-file-name-inhibit-cache' is nil.
1872 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
1873
cac0a1d6
MR
18742014-03-06 Martin Rudalics <rudalics@gmx.at>
1875
1876 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
1877 Fix doc-strings.
1878 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
1879 fit-frame-to-buffer variable. Fix doc-string.
1880 (fit-window-to-buffer): Set ONLY argument in call of
1881 fit-frame-to-buffer. Fix doc-string.
1882
fa965cbf
MA
18832014-03-06 Michael Albinus <michael.albinus@gmx.de>
1884
1885 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
1886 (tramp-action-password): Clear password cache if needed.
1887 (tramp-read-passwd): Do not clear password cache.
1888
1889 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
1890 cache unless it is the first password request.
1891
c94e6ee4
GM
18922014-03-06 Glenn Morris <rgm@gnu.org>
1893
03bc753e
GM
1894 * simple.el (newline): Doc tweak.
1895
c94e6ee4
GM
1896 * emacs-lisp/shadow.el (load-path-shadows-find):
1897 Ignore dir-locals. (Bug#12357)
1898
bd2d43dc
GM
18992014-03-05 Glenn Morris <rgm@gnu.org>
1900
1901 * files.el (interpreter-mode-alist):
1902 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
1903
9284000e
JB
19042014-03-05 Juanma Barranquero <lekktu@gmail.com>
1905
1906 * frameset.el (frameset--initial-params): Filter out null entries.
1907
e1a2cb1c
MR
19082014-03-05 Martin Rudalics <rudalics@gmx.at>
1909
27821a89
JB
1910 * window.el (window-min-height, window-min-width):
1911 Rewrite doc-strings.
e1a2cb1c
MR
1912 (window-body-size): Add PIXELWISE argument to make it consistent
1913 with its callees.
1914
6bf67038
JB
19152014-03-05 Juanma Barranquero <lekktu@gmail.com>
1916
1917 * finder.el (finder-mode-map, finder-mode-syntax-table):
1918 Revert part of 2014-02-28 change.
1919
90f04e4c
LI
19202014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
1921
1922 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
1923 (eww-setup-buffer): Clear next/prev/etc more reliably.
27821a89
JB
1924 (eww-textarea-map): [tab] doesn't work on tty.
1925 Reported by Mario Lang.
6952100d
LI
1926
1927 * net/shr.el (shr-map): Ditto.
90f04e4c 1928
3106d59b
GM
19292014-03-04 Glenn Morris <rgm@gnu.org>
1930
1931 * minibuffer.el (completion-hilit-commonality):
1932 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
1933
f604dfdc
JB
19342014-03-04 Juanma Barranquero <lekktu@gmail.com>
1935
1936 * hilit-chg.el (hilit-chg-unload-function): New function.
1937 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
1938 (hilit-chg-map-changes): Prefer cardinal number to digit.
1939 (hilit-chg-display-changes): Reflow docstring.
1940 (highlight-changes-rotate-faces): Remove superfluous backslash.
1941
5dc65319
MA
19422014-03-04 Michael Albinus <michael.albinus@gmx.de>
1943
1944 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
1945 `tramp-send-command-and-check'.
1946
4242d21d
JB
19472014-03-04 Juanma Barranquero <lekktu@gmail.com>
1948
b01fa838
JB
1949 * hexl.el (hexl-address-region, hexl-ascii-region)
1950 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
1951 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
1952 (hexl-forward-word, hexl-previous-line, hexl-next-line):
1953 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
1954 (hexl-mode): Doc fix.
1955 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
1956 (hexl-mode-ruler): Fix typos in docstrings.
1957
4242d21d
JB
1958 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
1959 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
1960 Remove superfluous backslashes.
1961 (strokes-last-stroke, strokes-global-map, strokes-mode):
1962 Reflow docstrings.
1963 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
1964 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
1965 (strokes-distance-squared, strokes-global-set-stroke)
1966 (strokes-global-set-stroke-string): Doc fixes.
1967 (strokes-help): Fix typos; reflow docstring.
1968
87132570
MR
19692014-03-04 Martin Rudalics <rudalics@gmx.at>
1970
1971 * window.el (window-in-direction): Fix doc-string.
1972
d82e752c
GM
19732014-03-04 Glenn Morris <rgm@gnu.org>
1974
1975 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
1976 Explicit error if no grammar.
1977 (smie-config-save): Doc fix. Fix quote typo.
1978
62528af0
SM
19792014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
1980
8d4901dc
SM
1981 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
1982 electric-indent-mode-hook if we obey electric-indent-mode.
1983 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
1984 decide whether we obey electric-indent-mode.
1985 (c-change-set-fl-decl-start, c-extend-after-change-region):
1986 Silence warnings.
1987 (c-electric-indent-mode-hook): Assume we do want to obey
1988 electric-indent-mode.
1989
1990 * electric.el (electric-indent-mode-has-been-called): Remove.
1991 (electric-indent-mode): Fix accordingly.
1992
092c12b2
SM
1993 * files.el (hack-local-variables): Mention file name in warning.
1994
62528af0
SM
1995 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
1996
5b87d0d9
MN
19972014-03-04 Michal Nazarewicz <mina86@mina86.com>
1998
20f39add 1999 * bindings.el: Add comment describing why C-d binds to `delete-char'.
5b87d0d9
MN
2000 * simple.el (delete-forward-char): Mark as interactive-only.
2001
542a3840
JB
20022014-03-03 Juanma Barranquero <lekktu@gmail.com>
2003
f2d2402e
GM
2004 * icomplete.el (icomplete-completions):
2005 Follow-up to 2014-03-01 change.
d11320e5
JB
2006
2007 * icomplete.el: Miscellaneous doc fixes.
2008 Use Icomplete everywhere instead of icomplete for consistency.
2009 (icomplete-max-delay-chars): Fix typo.
2010 (icomplete-mode): Use \[].
2011 (icomplete-tidy, icomplete-exhibit): Reflow.
2012 (icomplete-minibuffer-setup-hook, icomplete-completions):
2013 Remove superfluous backlashes.
2014
2015 * ido.el: Miscellaneous doc fixes.
2016 Use Ido everywhere instead of ido or `ido' for consistency.
2017 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
2018 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
2019 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
2020 (ido-separator): Extract obsolescence info from docstring and declare
2021 with make-obsolete-variable.
2022 (ido-minibuffer-setup-hook): Simplify example.
2023 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
2024 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
2025 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
2026 (ido-everywhere): Reflow docstring.
2027 (ido-toggle-vc): Doc fix.
2028 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
2029 of long list of keybindings.
2030
7ebd57e9
GM
20312014-03-03 Glenn Morris <rgm@gnu.org>
2032
2033 * frame.el (display-pixel-height, display-pixel-width)
2034 (display-mm-dimensions-alist, display-mm-height)
2035 (display-mm-width): Doc tweaks.
2036
35e951cd 20372014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
e3d090b4
BR
2038
2039 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
2040 case of undo in region.
2041
b923819c
MR
20422014-03-02 Martin Rudalics <rudalics@gmx.at>
2043
2044 * window.el (fit-window-to-buffer): Fix argument in window-size
2045 call when window is horizontally combined.
2046
b6e443c5
JB
20472014-03-02 Juanma Barranquero <lekktu@gmail.com>
2048
2049 * icomplete.el (icomplete-completions): Use string-width.
35e951cd 2050 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
b6e443c5 2051
1850913d
DG
20522014-03-01 Dmitry Gutov <dgutov@yandex.ru>
2053
35e951cd
JB
2054 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2055 Highlight regexp options. (Bug#16914)
1850913d 2056
04b577b6
MR
20572014-03-01 Martin Rudalics <rudalics@gmx.at>
2058
2059 * window.el (window--max-delta-1): Round down when calculating
2060 how many lines/columns we can get from a window.
2061
b829360f
GM
20622014-03-01 Glenn Morris <rgm@gnu.org>
2063
2501c912
GM
2064 * isearch.el (search-invisible): Doc fix.
2065
b829360f
GM
2066 * minibuffer.el (completion-hilit-commonality):
2067 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
2068 * comint.el (comint-dynamic-list-completions): Doc fix.
2069 * comint.el (comint-dynamic-list-completions):
2070 * filecache.el (file-cache-minibuffer-complete):
2071 * tempo.el (tempo-display-completions):
2072 * eshell/em-hist.el (eshell-list-history):
2073 Replace use of obsolete argument of display-completion-list.
2074
9a155058
JB
20752014-03-01 Juanma Barranquero <lekktu@gmail.com>
2076
2077 * icomplete.el (icomplete-completions):
2078 Revert back to using "..." when ?… cannot be displayed.
2079
53f6cda8
JB
20802014-02-28 Juanma Barranquero <lekktu@gmail.com>
2081
2082 * finder.el (finder-unload-function): New function.
2083
43977c23
JB
20842014-02-28 Juanma Barranquero <lekktu@gmail.com>
2085
2086 * dframe.el (dframe-detach):
2087 * find-dired.el (find-dired, find-name-dired):
2088 * finder.el (finder-mode-map, finder-mode-syntax-table)
2089 (finder-headmark, finder-select, finder-mouse-select):
2090 Fix docstring typos.
2091
9dda75ad
MR
20922014-02-28 Martin Rudalics <rudalics@gmx.at>
2093
2094 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
27821a89
JB
2095 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
2096 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
2097 Fix doc-string based on a suggestion by Nicolas Richard
2098 <theonewiththeevillook@yahoo.fr>.
9dda75ad
MR
2099 * help.el (with-help-window): Fix doc-string.
2100
8a73034e
IK
21012014-02-28 Ivan Kanis <ivan@kanis.fr>
2102
b70257b0
GM
2103 * net/shr.el (shr-image-animate): New option.
2104 (shr-put-image): Respect shr-image-animate.
8a73034e 2105
245aa73e
MA
21062014-02-28 Michael Albinus <michael.albinus@gmx.de>
2107
2108 * net/tramp-adb.el (tramp-adb-parse-device-names):
2109 Use `accept-process-output'.
2110 (tramp-adb-handle-file-truename): Cache the localname only.
2111 (tramp-adb-handle-make-directory)
2112 (tramp-adb-handle-delete-directory): Flush file properties correctly.
2113 (tramp-adb-handle-set-file-modes): Do not raise an error when file
2114 modes cannot be changed.
2115
2116 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
2117 file properties of symlinks.
2118
48e15d64
PS
21192014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
2120
2121 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
2122 required/optional fields to match development biblatex. (Bug#16781)
2123
65b77347
AS
21242014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
2125
2126 * saveplace.el (toggle-save-place):
2127 Fix argument handling. (Bug#16673)
2128
5e618aba
GM
21292014-02-28 Glenn Morris <rgm@gnu.org>
2130
2131 * minibuffer.el (completions-first-difference)
2132 (completions-common-part, completion-hilit-commonality): Doc fixes.
2133
6deb314e
KB
21342014-02-28 Karl Berry <karl@gnu.org>
2135
2136 * info.el (Info-mode-map): Add H for describe-mode,
2137 to synchronize with standalone Info.
2138
289996f5
EL
21392014-02-28 Emilio C. Lopes <eclig@gmx.net>
2140
2141 * progmodes/sql.el (sql-interactive-mode):
2142 Avoid setting global comint-input-ring-separator. (Bug#16814)
2143
79fc1191
MA
21442014-02-27 Michael Albinus <michael.albinus@gmx.de>
2145
2146 * net/dbus.el (dbus--init-bus): Declare function.
2147 (dbus-path-local, dbus-interface-local): New defconst.
2148 (dbus-init-bus): Use them.
2149 (dbus-return-values-table): Extend doc.
2150 (dbus-handle-bus-disconnect): Extend error message.
2151
298520df
JB
21522014-02-27 Juanma Barranquero <lekktu@gmail.com>
2153
2154 * subr.el (y-or-n-p): Fix double space issue in message.
2155
c22c1614
MA
21562014-02-27 Michael Albinus <michael.albinus@gmx.de>
2157
2158 * net/tramp.el (tramp-call-process): Improve trace message.
2159 (tramp-handle-insert-file-contents): Trace error case.
2160
2161 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
2162 <insert-directory>: Use `tramp-handle-insert-directory'.
2163 (tramp-adb-handle-insert-directory): Remove function.
2164 (tramp-adb-send-command-and-check): New defun, replacing
2165 `tramp-adb-command-exit-status'. Change all callees.
2166 (tramp-adb-handle-file-attributes)
2167 (tramp-adb-handle-directory-files-and-attributes): Use it.
35e951cd
JB
2168 (tramp-adb-ls-output-name-less-p):
2169 Use `directory-listing-before-filename-regexp'.
c22c1614
MA
2170 (tramp-adb-handle-delete-directory): Flush also file properties of
2171 the truename of directory.
2172 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
2173 (tramp-adb-handle-file-local-copy): Make the local copy readable.
2174 (tramp-adb-handle-write-region): Implement APPEND.
2175 (tramp-adb-handle-rename-file): Make it more robust. Flush file
2176 properties correctly.
2177 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
2178 variables. Check for connected devices only when needed.
2179
d9263618
GM
21802014-02-27 Glenn Morris <rgm@gnu.org>
2181
ea7826ba
GM
2182 * minibuffer.el (completion-table-dynamic)
2183 (completion-table-with-cache): Doc fixes.
2184
d9263618
GM
2185 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
2186 (completing-read-multiple): Doc fixes.
2187
eff3168a
DC
21882014-02-27 Daniel Colascione <dancol@dancol.org>
2189
51f213c3
DC
2190 * minibuffer.el (completion--nth-completion): Fix indentation.
2191
eff3168a
DC
2192 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
2193 explicit tramp path is empty.
2194
b77cfcd7
GM
21952014-02-27 Glenn Morris <rgm@gnu.org>
2196
2197 * emacs-lisp/crm.el (completing-read-multiple):
2198 Empower help-enable-auto-load.
2199
9577b569
GM
22002014-02-26 Glenn Morris <rgm@gnu.org>
2201
259887e8
GM
2202 * startup.el (command-line): Don't init the tty in daemon mode.
2203
1d491ef2
GM
2204 Avoid calling tty-setup-hook twice, eg if a term file
2205 explicitly calls tty-run-terminal-initialization. (Bug#16859)
2206 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
2207 (tty-create-frame-with-faces): Use it.
2208 * startup.el (command-line): Pass run-hook argument
2209 to tty-run-terminal-initialization.
2210
9577b569
GM
2211 * dired.el (dired-restore-desktop-buffer): Demote errors;
2212 eg in case a glob match fails. (Bug#16884)
2213
40ff7f86
DG
22142014-02-26 Dmitry Gutov <dgutov@yandex.ru>
2215
b2388336
DG
2216 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
2217 error from `read-from-string'. (Bug#16850)
2218
40ff7f86
DG
2219 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
2220 result of `completing-read' in the interactive form. (Bug#16854)
2221
98bd6b32
GM
22222014-02-25 Glenn Morris <rgm@gnu.org>
2223
f086804c
GM
2224 * image.el (image-animate, image-animate-timeout):
2225 Stop animating images in dead buffers. (Bug#16878)
2226
c107155e
GM
2227 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
2228
9577b569
GM
2229 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
2230 Doc fixes.
98bd6b32
GM
2231 * startup.el (term-setup-hook): Doc fix. Make obsolete.
2232 * term/sun.el (sun-raw-prefix-hooks):
2233 Use tty-setup-hook instead of term-setup-hook.
2234 (terminal-init-sun): Construct message from bytecomp plist.
2235 * term/wyse50.el (enable-arrow-keys): Doc fix.
2236
9c9e18e8
JB
22372014-02-24 Juanma Barranquero <lekktu@gmail.com>
2238
2239 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
2240 Fix docstring typos.
2241
c848881f
MA
22422014-02-24 Michael Albinus <michael.albinus@gmx.de>
2243
2244 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
2245
0e38ae05
NR
22462014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2247
2248 * minibuffer.el (completion--try-word-completion):
2249 Fix error when completing M-x commands (bug#16808).
2250
8ee4c296
LL
22512014-02-24 Leo Liu <sdl.web@gmail.com>
2252
2253 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
2254
7d4bd627
JB
22552014-02-24 Juanma Barranquero <lekktu@gmail.com>
2256
2257 * apropos.el (apropos-print): Avoid formatting error when
2258 apropos-do-all and apropos-compact-layout are both t.
2259
e918e27f
JB
22602014-02-23 Juanma Barranquero <lekktu@gmail.com>
2261
2262 * apropos.el (apropos-property, apropos-all-words-regexp)
2263 (apropos-true-hit, apropos-variable, apropos-print):
2264 Fix docstring typos, and remove obsolete comment.
2265
85c01f80
MA
22662014-02-23 Michael Albinus <michael.albinus@gmx.de>
2267
2268 * net/tramp-sh.el (tramp-sh-handle-file-truename):
2269 Preserve trailing "/". (Bug#16851)
2270
62f95022
DG
22712014-02-23 Dmitry Gutov <dgutov@yandex.ru>
2272
2273 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
2274 after `=>' (bug#16811).
dfdb365c
DG
2275 (ruby-smie-rules): Handle the inconsistent second element of the
2276 list returned by `smie-indent--parent'.
2277 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
2278 method call.
62f95022 2279
025f2c81
JB
22802014-02-23 Juanma Barranquero <lekktu@gmail.com>
2281
2282 * elec-pair.el (electric-pair-text-syntax-table)
2283 (electric-pair-syntax-info, electric-pair--syntax-ppss)
2284 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
2285 (electric-pair--looking-at-unterminated-string-p): Doc fix.
2286 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
2287
123c84f9
GM
22882014-02-22 Glenn Morris <rgm@gnu.org>
2289
612c3e46
GM
2290 * imenu.el (imenu--generic-function): Doc fix.
2291
123c84f9
GM
2292 * register.el (frame-configuration-to-register): Make obsolete.
2293
e59fa9ad
JB
22942014-02-22 Juanma Barranquero <lekktu@gmail.com>
2295
2296 * desktop.el (desktop-save-buffer-p): Do not fail when
2297 desktop-files-not-to-save is nil. Return t for true result
2298 as the doc says.
2299
4e652634
DC
23002014-02-22 Daniel Colascione <dancol@dancol.org>
2301
27821a89 2302 * net/secrets.el (secrets-create-item, secrets-search-items):
35e951cd
JB
2303 Check that attribute values are strings, avoiding the construction
2304 of invalid dbus messages.
4e652634 2305
f35affb6
JB
23062014-02-21 Juanma Barranquero <lekktu@gmail.com>
2307
2308 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
2309 defun-declarations-alist.
2310
3d136b1b
SM
23112014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
2312
2313 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
2314 (bug#16829).
2315
612ddfc0
JB
23162014-02-21 Juanma Barranquero <lekktu@gmail.com>
2317
2318 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
2319 (whitespace-newline, whitespace-trailing, whitespace-line)
2320 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
2321 (whitespace-space-after-tab): Fix typo in docstrings.
2322
c8481b1b
DG
23232014-02-21 Dmitry Gutov <dgutov@yandex.ru>
2324
cb8f50a7
DG
2325 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
2326
c8481b1b
DG
2327 * electric.el (electric-indent-functions-without-reindent):
2328 Add `yaml-indent-line'.
2329
bed5126f
JB
23302014-02-21 Juanma Barranquero <lekktu@gmail.com>
2331
34b71457
JB
2332 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
2333 It has done nothing for years; should be removed after the release.
2334
bed5126f
JB
2335 * simple.el (choose-completion): Fix docstring typo.
2336 (read-quoted-char-radix): Remove unneeded * in docstring.
2337 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
2338 Don't escape parentheses unnecessarily in docstrings.
2339
8dd3e94f
MR
23402014-02-21 Martin Rudalics <rudalics@gmx.at>
2341
2342 Fix handling of window-min-height/-width (Bug#16738).
3d136b1b
SM
2343 * window.el (window--dump-window, window--dump-frame):
2344 New functions.
2345 (window--min-size-1): Account for window dividers.
2346 When window-resize-pixelwise is nil, delay rounding till after the
8dd3e94f
MR
2347 sum of the window components has been calculated.
2348 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
2349 nil make sure at least one text line and two text columns remain
2350 fully visible.
2351 (window-resize): Signal an error when window-resize-apply fails.
2352 (window--resize-child-windows): Fix calculation of by how many
2353 pixels a window can still be shrunk via window-new-normal.
2354 (adjust-window-trailing-edge): Call window--resizable with
2355 correct TRAIL argument.
2356
2ed94e04
MR
2357 (with-temp-buffer-window): Don't evaluate BODY within
2358 with-current-buffer (Bug#16816).
2359
0e5324c4
MA
23602014-02-21 Michael Albinus <michael.albinus@gmx.de>
2361
2362 * net/tramp.el (tramp-check-cached-permissions):
2363 Call `file-attributes' with `suffix' being a symbol but a string.
2364
48198420
DC
23652014-02-21 Daniel Colascione <dancol@dancol.org>
2366
2367 * net/dbus.el (dbus-init-bus-1): Declare new subr.
2368 (dbus-init-bus): New function: call into dbus-init-bus-1
2369 and installs a handler for the disconnect signal.
2370 (dbus-call-method): Rewrite to look for result in cons.
2371 (dbus-call-method-handler): Store result in cons.
2372 (dbus-check-event): Recognize events with nil sender as valid.
2373 (dbus-handle-bus-disconnect): New function. React to bus
2374 disconnection signal by synthesizing dbus error for each
2375 pending synchronous or asynchronous call.
2376 (dbus-notice-synchronous-call-errors): New function.
2377 (dbus-handle-event): Raise errors directly only when `dbus-debug'
2378 is true, not all the time.
2379
99e15133
JB
23802014-02-21 Juanma Barranquero <lekktu@gmail.com>
2381
e48983a6
JB
2382 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
2383 Remove obsolescence declarations, these variables do not exist anymore.
2384
fdcfd745
JB
2385 * savehist.el (savehist-save-minibuffer-history)
2386 (savehist-additional-variables, savehist-file, savehist-mode-hook)
2387 (savehist-save-hook, savehist-coding-system, savehist-loaded)
2388 (savehist-load, savehist-install, savehist-autosave): Fix typos;
2389 mostly, refer to "Savehist mode" when talking about the mode,
2390 and not the function.
2391
99e15133
JB
2392 * saveplace.el (save-place): Remove redundant info in docstring.
2393 (save-place-forget-unreadable-files, toggle-save-place)
2394 (save-place-forget-unreadable-files, save-place-dired-hook):
2395 Fix typos and remove unneeded backslashes.
2396
f5bee33b
MA
23972014-02-20 Michael Albinus <michael.albinus@gmx.de>
2398
2399 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
2400 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
2401
2402 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
85c01f80 2403 <insert-directory>: Use `tramp-handle-insert-directory'.
f5bee33b
MA
2404 (tramp-gvfs-handle-insert-directory): Remove function.
2405
2406 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2407 Call `tramp-handle-insert-directory'.
2408
ee0761ca
JB
24092014-02-20 Juanma Barranquero <lekktu@gmail.com>
2410
2411 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
2412 before the start of buffer/region (bug#16799).
2413
4d49cc65
GM
24142014-02-20 Glenn Morris <rgm@gnu.org>
2415
2416 * isearch.el (search-invisible): Doc fix.
2417
eee0d650
TK
24182014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
2419
2420 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
2421 (bug#16657).
2422
94e5e202
JB
24232014-02-19 Juanma Barranquero <lekktu@gmail.com>
2424
2425 * frameset.el (frameset-restore): Delay removing an old frame's
2426 duplicate id until the new frame has been correctly created.
2427
50bfdd5d
MA
24282014-02-19 Michael Albinus <michael.albinus@gmx.de>
2429
2430 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
2431 (tramp-check-cached-permissions): Call `file-attributes' if the
2432 cache is empty.
2433
2434 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
afe1e4c8 2435 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
50bfdd5d
MA
2436
2437 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
afe1e4c8 2438 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
50bfdd5d
MA
2439 (tramp-gvfs-maybe-open-connection): Set always connection
2440 properties, even if target is mounted already.
2441
2442 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
2443 Set tramp-autoload cookie.
2444 (tramp-get-remote-touch): New defun.
2445 (tramp-sh-handle-set-file-times): Use it.
2446 (tramp-sh-handle-directory-files-and-attributes):
2447 Use `tramp-handle-directory-files-and-attributes' if neither stat
2448 nor perl are available on the remote host.
2449
2450 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
2451 "/". Write long listing only when "l" belongs to the switches.
2452
2453 * net/trampver.el: Update release number.
2454
f097a3d2
JB
24552014-02-19 Juanma Barranquero <lekktu@gmail.com>
2456
2457 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
2458
8e009b78
MR
24592014-02-19 Martin Rudalics <rudalics@gmx.at>
2460
2461 * window.el (window-state-put): Allow WINDOW to refer to an
2462 internal window (Bug#16793).
2463
95160c90
GM
24642014-02-19 Glenn Morris <rgm@gnu.org>
2465
2466 * textmodes/remember.el: Move provide statement to end.
2467 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
2468 (remember-notes): Doc fixes.
2469
b28df58c
SM
24702014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
2471
2472 * delsel.el (delete-char): Restore incorrectly erased property
2473 (bug#16795).
2474
7108e1c0
JB
24752014-02-18 Juanma Barranquero <lekktu@gmail.com>
2476
2477 * frameset.el (frameset--restore-frame): When a frame is being reused
2478 and its root window is not alive, delete all the frame's windows before
2479 restoring the window state. This works around the issue in bug#16793.
2480
c863b6ad
GM
24812014-02-18 Glenn Morris <rgm@gnu.org>
2482
a73fae1f
GM
2483 * textmodes/remember.el (remember-data-directory)
2484 (remember-directory-file-name-format, remember-store-in-files)
2485 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
2486 (remember-notes-save-and-bury-buffer)
2487 (remember-notes--kill-buffer-query): Doc fixes.
2488
c863b6ad
GM
2489 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
2490
29238d28
AM
24912014-02-17 Alan Mackenzie <acm@muc.de>
2492
2493 Connect electric-indent-mode up with CC Mode. Bug #15478.
b28df58c 2494 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
29238d28 2495 to electric-indent-{,local-}-mode.
b28df58c
SM
2496 (c-basic-common-init): Set electric-indent-inhibit.
2497 Initialise c-electric-flag from electric-indent-mode.
29238d28 2498 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
b28df58c 2499 New hook functions which propagate electric-indent-mode to CC mode.
29238d28
AM
2500
2501 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
b28df58c 2502 hit, toggle electric-indent-local-mode.
29238d28 2503
b28df58c
SM
2504 * electric.el (electric-indent-mode-has-been-called):
2505 New variable.
29238d28 2506
c6463340
JB
25072014-02-17 Juanma Barranquero <lekktu@gmail.com>
2508
2509 * frameset.el (frameset-cfg-id): New function.
2510 (frameset--reuse-frame, frameset-restore): Use it.
2511 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
2512
94912b88
SM
25132014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
2514
2515 * ido.el (ido-file-internal): Remove unused var `d'.
2516 Use \` for to match BoS. Fit within 80n columns.
2517
26ea164c
DC
25182014-02-17 Daniel Colascione <dancol@dancol.org>
2519
2520 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
2521 dbus-call-method check for completion using a busy-wait loop with
2522 gradual backoff.
2523
589d1988 25242014-02-16 Michael Albinus <michael.albinus@gmx.de>
dd7691b7
MA
2525
2526 Sync with Tramp 2.2.9.
2527
2528 * net/trampver.el: Update release number.
2529
17d1b51b
DG
25302014-02-16 Dmitry Gutov <dgutov@yandex.ru>
2531
2532 * ido.el (ido-file-internal): Don't add the name of an existing
2533 directory twice. (Bug#16747)
2534
5bcad689
GM
25352014-02-16 Glenn Morris <rgm@gnu.org>
2536
2537 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
2538 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
2539
25402014-02-15 Michael R. Mauger <michael@mauger.com>
9b0c01f7
MM
2541
2542 * progmodes/sql.el: Version 3.4
2543 (sql-oracle-options): New default value ("-L").
94912b88 2544 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
9b0c01f7 2545 (sql-placeholders-filter): Correct placeholder pattern.
35e951cd 2546 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
9b0c01f7
MM
2547 (sql-login-delay): New variable.
2548 (sql-product-interactive): Use it.
2549
285f1858
JB
25502014-02-15 Juanma Barranquero <lekktu@gmail.com>
2551
2552 * frameset.el (frameset--jump-to-register): Check that buffer is live
2553 (bug#16749).
2554
5d645ea4
GM
25552014-02-15 Glenn Morris <rgm@gnu.org>
2556
2557 * info.el (info-initialize): Revert 2014-01-10 change.
2558
48c4f9b1
GM
25592014-02-14 Glenn Morris <rgm@gnu.org>
2560
b8630261
GM
2561 * replace.el (map-query-replace-regexp)
2562 (read-regexp-defaults-function, read-regexp): Doc fixes.
2563
b2bf2a25
GM
2564 * dired.el (dired-read-regexp):
2565 * faces.el (list-faces-display):
2566 * misearch.el (multi-isearch-read-matching-buffers)
2567 (multi-isearch-read-matching-files):
2568 * play/cookie1.el (cookie-apropos):
2569 * progmodes/grep.el (grep-read-regexp): Doc fixes.
2570
48c4f9b1
GM
2571 * textmodes/remember.el (remember): Use frameset-to-register
2572 rather than frame-configuration-to-register.
2573
2804e0bd
JB
25742014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
2575
2576 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
2577 incorrect keybinding.
2578
0b87142f
DC
25792014-02-13 Daniel Colascione <dancol@dancol.org>
2580
2581 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
2582 when adding overlays so that line numbers from compiler match line
2583 numbers we use.
2584
47a73eb0
GM
25852014-02-13 Glenn Morris <rgm@gnu.org>
2586
8abcfd51
GM
2587 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
2588
47a73eb0
GM
2589 * jit-lock.el (jit-lock-mode): Doc fix.
2590
c9b6b262
JB
25912014-02-13 Juanma Barranquero <lekktu@gmail.com>
2592
2593 * apropos.el (apropos-read-pattern): When the user passes an empty
2594 string, give a more helpful error message than "Wrong type
2595 argument: stringp, nil".
2596
eb4c6947
SM
25972014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
2598
2599 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
2600
0dab5068
GM
26012014-02-13 Glenn Morris <rgm@gnu.org>
2602
2603 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
2604
59075dcf
SM
26052014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
2606
2607 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
2608 shift-select commands.
2609
5af9fbad
DG
26102014-02-12 Dmitry Gutov <dgutov@yandex.ru>
2611
2612 * progmodes/js.el (js-indent-line): Don't widen.
2613 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
2614
a215930c
GM
26152014-02-12 Glenn Morris <rgm@gnu.org>
2616
a8cb4247
GM
2617 * icomplete.el (icomplete): Add info-link to defgroup.
2618 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
2619 (icomplete-minibuffer-map, icomplete-mode)
2620 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
2621
a215930c
GM
2622 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
2623 (package-menu-filter): Rename from package-menu-filter-interactive.
2624 Doc fix.
2625
26c5ecd9
JB
26262014-02-11 Juanma Barranquero <lekktu@gmail.com>
2627
2628 * frameset.el (frameset--jump-to-register): Select the required
2629 window and buffer before restoring position (bug#16696).
2630
fcd58a02
LI
26312014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
2632
2633 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
2634
bacb3380
GM
26352014-02-10 Glenn Morris <rgm@gnu.org>
2636
2637 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
2638
881329dc
EZ
26392014-02-10 Eli Zaretskii <eliz@gnu.org>
2640
02328db9
EZ
2641 * w32-common-fns.el (x-get-selection): Doc fix.
2642 * select.el (x-get-selection): Doc fix. (Bug#15109)
2643
881329dc
EZ
2644 * face-remap.el (face-remap-add-relative)
2645 (face-remap-remove-relative, face-remap-reset-base)
2646 (face-remap-set-base): Call force-mode-line-update to redisplay
2647 the current buffer due to potential change in faces. (Bug#16709)
2648
c7db4c06
MA
26492014-02-10 Michael Albinus <michael.albinus@gmx.de>
2650
2651 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
2652 script more robustly.
2653
6abe4589
LI
26542014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
2655
7602b5c3
LI
2656 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
2657
e3692ee0
LI
2658 * simple.el (choose-completion): Doc fix (bug#14160).
2659
41015524
LI
2660 * subr.el (event-start): Say what a nil EVENT value means.
2661
87c79dcb
LI
2662 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
2663 (bug#14197).
2664
3ab49e2c
LI
2665 * progmodes/grep.el (find-program): Doc fix (bug#14289).
2666
f3c60241
LI
2667 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
2668
3bd1d8a8
LI
2669 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
2670
6abe4589
LI
2671 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
2672 predicate function (bug#15455).
2673
a11463de
DG
26742014-02-10 Dmitry Gutov <dgutov@yandex.ru>
2675
2676 * ielm.el (inferior-emacs-lisp-mode): Instead of
2677 `comment-use-global-state', set `comment-use-syntax'.
2678
2ab0ad85
GM
26792014-02-10 Glenn Morris <rgm@gnu.org>
2680
2681 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
2682
411141fb
AM
26832014-02-09 Alan Mackenzie <acm@muc.de>
2684
2685 Fix c-invalidate-state-cache on narrowed buffers.
2686 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
2687 Widen when setting and clearing the CPP delimiter properties.
2688
d6d5fdf8
LI
26892014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
2690
92c70367
LI
2691 * help.el (describe-bindings): Doc fix (bug#9888).
2692
468ef484
LI
2693 * files.el (save-buffer): Use ARG as the parameter name for
2694 consistency (bug#10346).
7e34193f 2695 (save-buffer): Clarify the 0 argument (bug#10346).
468ef484 2696
fc2b1ffa 2697 * cus-edit.el (customize-apropos): Fix error string.
382fd368 2698 (custom-buffer-create): Doc fix (bug#11122).
1e4a57ac 2699 (custom-sort-items): Doc fix (bug#11121).
fc2b1ffa 2700
790aceec
LI
2701 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
2702
a54a7552 2703 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
c359b7bd 2704 (icomplete-simple-completing-p): Mention the previous variable.
a54a7552 2705
dd163123
LI
2706 * font-lock.el (font-lock-value-in-major-mode): Clarify the
2707 meaning of the parameter (bug#12282).
2708
9e108fe6
LI
2709 * files.el (find-file-noselect): Clarify prompt when changing
2710 readedness (bug#13261).
5a836f58
LI
2711 (locate-file): Suffixes aren't returned, so don't say that they
2712 are (bug#12674).
2356b316 2713 (backup-inhibited): Doc clarification (bug#12525).
9e108fe6 2714
20dda930
LI
2715 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
2716 before we actually start to delete things (bug#16331).
2717
d6d5fdf8
LI
2718 * subr.el (event-start): Doc fix (bug#14228).
2719 (event-end): Ditto.
2720
2abd71e5
GM
27212014-02-09 Glenn Morris <rgm@gnu.org>
2722
2723 * emacs-lisp/warnings.el (lwarn):
2724 Empower help-enable-auto-load. (Bug#15940)
2725
c1b5900b
AS
27262014-02-08 Andreas Schwab <schwab@linux-m68k.org>
2727
2728 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
2729 (Bug#16690)
2730
429b93bd
MA
27312014-02-08 Michael Albinus <michael.albinus@gmx.de>
2732
2733 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2734 Insert output at end of buffer. (Bug#16120)
2735
b772a699
LI
27362014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
2737
18c6aa8c
LI
2738 * simple.el (choose-completion-string-functions): Document new
2739 calling convention (bug#14153).
54dd147a 2740 (execute-extended-command): Clarify doc string (bug#13373).
18c6aa8c 2741
dce8463b
LI
2742 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
2743
b772a699 2744 * find-dired.el (find-name-dired): Doc fix (bug#14290).
8aa76c93 2745 (find-grep-dired): Doc fix (bug#14288).
b772a699 2746
2423c8d5
JL
27472014-02-08 Juri Linkov <juri@jurta.org>
2748
2749 * isearch.el (isearch-quote-char): Check character validity
2750 like in `quoted-insert' (bug#16677).
2751
518f26c2
LI
27522014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
2753
893cc908
LI
2754 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
2755
9165ffc0
LI
2756 * isearch.el (isearch-hide-immediately): Doc clarification
2757 (bug#14723).
2758
6ef4f3ce
LI
2759 * simple.el (line-move): Document utility function used many
2760 places in the Emacs sources (bug#14843).
2761
be58a238 2762 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
8cff064c 2763 (dired-prev-marked-file): Doc fix (bug#14855).
574e477f 2764 (dired-up-directory): Doc fix (bug#14848).
be58a238 2765
dd7aafbb
LI
2766 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
2767
15cb9968
LI
2768 * files.el (file-relative-name): Doc fix (bug#15159).
2769
9788effd
LI
2770 * fringe.el (fringe-styles): Doc fix (bug#15239).
2771
c96411bd
LI
2772 * isearch.el (isearch-filter-predicate): Documentation typo fix
2773 (bug#15474).
2774
ea838c36
LI
2775 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
2776
0d8a4ae7
LI
2777 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
2778
f7a17bb3
LI
2779 * replace.el (replace-match-maybe-edit): Doc clarification
2780 (bug#15632).
2781
1bde5c3b
LI
2782 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
2783
518f26c2
LI
2784 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
2785
dd8e49fd
GM
27862014-02-08 Glenn Morris <rgm@gnu.org>
2787
2788 * help-fns.el (describe-variable):
2789 Check {file,dir}-local-variables-alist, and buffer-file-name,
2790 in the correct buffer.
2791
7e088b29
IL
27922014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
2793
2794 * help-fns.el (describe-variable): Fix the case where
2795 a value is directory-local with no dir-locals file. (Bug#16635)
2796
41a4a82f
GM
27972014-02-08 Glenn Morris <rgm@gnu.org>
2798
2799 * abbrev.el (edit-abbrevs-mode):
2800 Derive from fundamental-mode. (Bug#16682)
2801
e255a703
JB
28022014-02-07 Juanma Barranquero <lekktu@gmail.com>
2803
2804 * simple.el (quoted-insert): Check character validity (bug#16677).
2805
c99cf5ee
JL
28062014-02-07 Juri Linkov <juri@jurta.org>
2807
2808 * desktop.el (desktop-read): Claim the lock when the owner is not
2809 the current process. (Bug#16157)
2810
7d7a68d8
JL
28112014-02-07 Juri Linkov <juri@jurta.org>
2812
2813 * desktop.el (desktop-buffers-not-to-save): Change default from nil
2814 to "\\` ". (Bug#16651)
2815
2b777cd9
JL
28162014-02-07 Juri Linkov <juri@jurta.org>
2817
2818 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
2819 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
2820 (desktop-auto-save-cancel-timer): New function with some code from
2821 `desktop-auto-save-set-timer'.
2822 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
2823 Instead of setting `desktop-save-mode' to nil, call
2824 `desktop-save-mode' with arg 0. (Bug#16630)
2825
60eabbb9
GM
28262014-02-07 Glenn Morris <rgm@gnu.org>
2827
99cf3859
GM
2828 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
2829 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
2830 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
2831
2b568bc9
GM
2832 * obsolete/iswitchb.el: Move to obsolete/.
2833 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
2834 since obsolete/ is not scanned for autoloads.
2835 * emacs-lisp/authors.el (authors-valid-file-names):
2836 Add iswitchb.el.
2837
60eabbb9
GM
2838 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
2839 Disable now non-functional find-file-hook.
2840
629de968
MA
28412014-02-06 Michael Albinus <michael.albinus@gmx.de>
2842
2843 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
2844 instead of ";" in order to avoid additional prompts. Let heredoc
2845 scripts read from tty. (Bug#16582)
2846 (tramp-send-command): No special handling of heredocs, it isn't
2847 necessary anymore.
2848
29127376
SM
28492014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
2850
2851 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
2852 with a space (bug#16664). Limit the symbols considered to the ones
2853 that are bound or fbound (bug#16646).
2854
79b6e0a9
GM
28552014-02-06 Glenn Morris <rgm@gnu.org>
2856
2857 * epa.el (epa-mail-aliases): Doc fix.
2858
a333e4d2
DG
28592014-02-06 Dmitry Gutov <dgutov@yandex.ru>
2860
29127376
SM
2861 * emacs-lisp/lisp.el (lisp-completion-at-point):
2862 Use `completion-table-merge' instead of `completion-table-in-turn'
a333e4d2
DG
2863 (bug#16604).
2864
2865 * minibuffer.el (completion-table-merge): New function.
2866
9a83b32b
MA
28672014-02-05 Michael Albinus <michael.albinus@gmx.de>
2868
2869 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
2870 (tramp-sh-handle-set-file-acl)
2871 (tramp-sh-handle-start-file-process)
2872 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
2873 (tramp-find-executable, tramp-send-command): Use it.
2874
451ea3e6
GM
28752014-02-05 Glenn Morris <rgm@gnu.org>
2876
9a83b32b 2877 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
451ea3e6 2878
dd27d13b
FEG
28792014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
2880
35e951cd 2881 * progmodes/python.el (python-shell-send-string)
dd27d13b
FEG
2882 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
2883
08e41897
AL
28842014-02-04 Anders Lindgren <andlind@gmail.com>
2885
2886 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
2887 the names (bug#16620).
2888
764ec9e5
MR
28892014-02-03 Martin Rudalics <rudalics@gmx.at>
2890
08e41897
AL
2891 * faces.el (window-divider): New default value. Rewrite doc-string.
2892 (window-divider-first-pixel, window-divider-last-pixel): New faces.
764ec9e5 2893
6da8227c
DG
28942014-02-03 Dmitry Gutov <dgutov@yandex.ru>
2895
2896 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
2897 `protected' and `public' can also be called without arguments.
2898
6a6b8e40
GM
28992014-02-03 Glenn Morris <rgm@gnu.org>
2900
7bcbca40
GM
2901 * register.el (window-configuration-to-register)
2902 (frame-configuration-to-register): Unadvertise unused argument.
2903 * frameset.el (frameset-to-register): Remove unused argument.
2904
719d965d 2905 * frameset.el (frameset-to-register):
6a6b8e40
GM
2906 * kmacro.el (kmacro-to-register):
2907 * register.el (increment-register):
2908 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
2909 (calc-append-to-register, calc-prepend-to-register):
2910 * play/gametree.el (gametree-layout-to-register)
2911 (gametree-apply-register-layout):
2912 * textmodes/picture.el (picture-clear-rectangle-to-register)
2913 (picture-yank-rectangle-from-register):
2914 * vc/emerge.el (emerge-combine-versions-register):
2915 Use register-read-with-preview to read registers.
2916
5dca7759
JT
29172014-02-03 João Távora <joaotavora@gmail.com>
2918
2919 * elec-pair.el (electric-pair-backward-delete-char): Don't error
2920 when at beginning of (possibly narrowed) buffer.
2921
709085b9
DC
29222014-02-02 Daniel Colascione <dancol@dancol.org>
2923
c295fc18 2924 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
08e41897 2925 Also try to display local help from just before point.
709085b9 2926
99f7b0a6
AM
29272014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
2928
2929 c-parse-state. Don't "append-lower-brace-pair" in certain
2930 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
2931 recognised as a comment.
2932
2933 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
2934 as well as normal comment starter.
2935 (c-parse-state-get-strategy): Extra return possibility
2936 'back-and-forward.
2937 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
2938 return value list to indicate replacement of a brace-pair cons
2939 with its car.
2940 (c-parse-state-1): With 'back-and-forward, only call
2941 c-append-lower-brace-pair-to state-cache when cons-separated.
2942
f0a10576
JD
29432014-02-02 Jan Djärv <jan.h.d@swipnet.se>
2944
2945 * term/ns-win.el (ns-suspend-error): New function.
2946 (ns-initialize-window-system): Add ns-suspend-error to
2947 suspend-hook (Bug#16612).
2948
b8d552c2
DC
29492014-02-02 Daniel Colascione <dancol@dancol.org>
2950
35e951cd
JB
2951 * progmodes/cc-defs.el (c-find-assignment-for-mode):
2952 Make loading cc-mode silent.
b8d552c2 2953
f2b7d123
DC
29542014-02-02 Daniel Colascione <dancol@dancol.org>
2955
35e951cd
JB
2956 * comint.el (comint-prompt-read-only): Change doc to suggest
2957 remap keybinding.
f2b7d123 2958
4472a196
GM
29592014-02-02 Glenn Morris <rgm@gnu.org>
2960
2961 * register.el (register-read-with-preview, point-to-register)
2962 (window-configuration-to-register, frame-configuration-to-register)
2963 (jump-to-register, number-to-register, view-register, insert-register)
2964 (copy-to-register, append-to-register, prepend-to-register)
2965 (copy-rectangle-to-register): Doc fixes.
2966
70e5a261
SM
29672014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
2968
2969 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
2970 * emacs-lisp/find-func.el (find-function-C-source): Idem.
2971 * emacs-lisp/nadvice.el (advice--cd*r): New function.
2972 * help-fns.el (describe-function-1): Use it.
2973
7c324762
GM
29742014-02-02 Glenn Morris <rgm@gnu.org>
2975
2976 * register.el (register-preview-default): New function,
2977 split from register-preview.
2978 (register-preview-function): Rename from register-preview-functions,
2979 make it not a hook.
2980 (register-preview): Use register-preview-function.
2981 (register-read-with-preview): Error on non-character event. (Bug#16595)
2982
a09beb3d
DG
29832014-02-01 Dmitry Gutov <dgutov@yandex.ru>
2984
2985 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
2986 `:' before binary operators (bug#16609). Don't check for `:'
2987 before `[' and `(', or their syntax status. A percent literal
2988 can't end with either.
68e004e0
DG
2989 (ruby-font-lock-keywords): For built-ins that require arguments,
2990 check that they're followed by something that looks like argument
2991 (bug#16610).
a09beb3d 2992
ed4d2875
LI
29932014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
2994
2995 * subr.el (butlast): Document what an omitted N means (bug#13437).
2996 (nbutlast): Ditto.
2997
dba6e3ec
LI
29982014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
2999
3000 * net/shr.el (shr-generic): Make into a defsubst to make the stack
3001 depth shallower (bug#16587).
cc477daa
LI
3002 (shr-tag-svg): Respect `shr-inhibit-images'.
3003 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
dba6e3ec 3004
e2a67bd0
DG
30052014-01-31 Dmitry Gutov <dgutov@yandex.ru>
3006
3007 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
3008 (ruby-smie-grammar): Make "." right-associative. Make its priority
3009 lower than the ternary and all binary operators.
3010 (ruby-smie-rules): Indent "(" relative to the first non-"."
70e5a261
SM
3011 parent, or the first "." parent at indentation.
3012 Use `ruby-align-chained-calls' for indentation of "." tokens.
e2a67bd0
DG
3013 (Bug#16593)
3014
bd21bf41
JL
30152014-01-31 Juri Linkov <juri@jurta.org>
3016
3017 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
3018 from `make-hash-table'.
3019
3020 * textmodes/ispell.el (ispell-init-process): Change message format
3021 to be consistent with other messages.
3022
b7e615b9
GM
30232014-01-31 Glenn Morris <rgm@gnu.org>
3024
a69ecd19
GM
3025 * delsel.el (delete-selection-mode): Doc fix.
3026
9997d7e3
GM
3027 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
3028 (trace-function-background): Doc fixes.
3029
fbb764b8
GM
3030 * ido.el (ido-use-virtual-buffers): Doc fix.
3031 Reset :version, since the default value has not changed.
3032
da942af1
GM
3033 * register.el (register-preview-delay, register-read-with-preview):
3034 Doc fixes.
3035
b7e615b9
GM
3036 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
3037 do not mess with mail-buffer position (fixes 2009-11-03 change).
3038 * progmodes/cc-mode.el (c-submit-bug-report):
3039 Check auto-fill-mode is bound. (Bug#16592)
3040
0a25002d
DH
30412014-01-31 Darren Hoo <darren.hoo@gmail.com>
3042
3043 * startup.el (fancy-splash-image-file): New function,
3044 split from fancy-splash-head.
3045 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
3046 so that we are both using the same image. (Bug#16574)
3047
ad78f432
GM
30482014-01-30 Glenn Morris <rgm@gnu.org>
3049
6bbc0c84
GM
3050 * simple.el (eval-expression): Doc fix.
3051
ad78f432
GM
3052 * hexl.el (hexl-mode-hook):
3053 * ielm.el (ielm-mode-hook):
3054 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
3055 (lisp-interaction-mode-hook):
20f39add 3056 * progmodes/cfengine.el (cfengine3-documentation-function):
ad78f432
GM
3057 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
3058
7b2f049c
SM
30592014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3060
3061 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
3062 is a symbol (bug#16584).
3063
0c633f13
GM
30642014-01-30 Glenn Morris <rgm@gnu.org>
3065
3066 * help.el (help-for-help-internal): Add "P" to text.
3067
5e61c1ef
GM
30682014-01-29 Glenn Morris <rgm@gnu.org>
3069
3070 * simple.el (just-one-space, cycle-spacing): Doc fixes.
3071
1dcb169c
MR
30722014-01-28 Martin Rudalics <rudalics@gmx.at>
3073
3074 * window.el (fit-frame-to-buffer): Fix calculations for margins and
3075 height constraints.
3076
a9128931
LL
30772014-01-28 Luke Lee <luke.yx.lee@gmail.com>
3078
3079 * progmodes/hideif.el: Extend to full CPP expression syntax.
3080 (hif-token-alist): Add missing tokens.
3081 (hif-token-regexp): Add support for float/octal/hex immediates.
3082 (hif-string-literal-regexp): New const.
3083 (hif-tokenize): Recognize strings and float/octal/hex immediates.
3084 (hif-exprlist): New function.
3085 (hif-parse-if-exp): Use it.
3086 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
3087 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
3088 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
3089 (hif-logxor, hif-comma): New functions.
3090
a22359a7
GM
30912014-01-28 Glenn Morris <rgm@gnu.org>
3092
793ffe81
GM
3093 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
3094
e3bd7eed
GM
3095 * indent.el (tab-stop-list): Doc fix. Add :version.
3096
a22359a7
GM
3097 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
3098 (cvs-append-to-ignore): Add compatibility alias.
3099
52695556 31002014-01-27 Glenn Morris <rgm@gnu.org>
d269bb99 3101
bac524e0
GM
3102 * dired.el (dired-hide-details-mode): Don't autoload it,
3103 since it cannot be used outside Dired buffers anyway.
3104
52695556 3105 * emulation/cua-base.el (cua-mode): Doc fix.
d269bb99 3106
52695556
GM
3107 * dired.el (dired-hide-details-hide-symlink-targets)
3108 (dired-hide-details-hide-information-lines)
3109 (dired-hide-details-mode): Doc fixes.
ece4bae5
GM
3110
3111 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
3112 * strokes.el (strokes-file): Doc fix. Bump :version.
3113 (strokes-help): Doc fix.
3114 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
3115 * emulation/viper.el (viper): Doc fix for custom group.
3116 (top-level): Remove oh-so-no-longer-relevant text about vip.
3117 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
3118
3119 * ido.el (ido-save-directory-list-file):
3120 * saveplace.el (save-place-file):
3121 * calendar/timeclock.el (timeclock-file):
3122 * net/quickurl.el (quickurl-url-file):
3123 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
3124 * progmodes/idlwave.el (idlwave-config-directory):
3125 * textmodes/remember.el (remember-data-file):
3126 Bump :version.
3127
169d6004
GM
31282014-01-26 Glenn Morris <rgm@gnu.org>
3129
de6a923b
GM
3130 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
3131 Doc fix. Make obsolete.
3132 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
3133
169d6004
GM
3134 * sort.el (delete-duplicate-lines): Doc fix.
3135
ed85dee6
RS
31362014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3137
3138 * progmodes/ada-mode.el (ada):
3139 * woman.el (woman): Link to info manual and Commentary section.
3140
3141 * progmodes/flymake.el (flymake):
3142 * nxml/nxml-mode.el (nxml):
3143 * net/eww.el (eww):
3144 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
3145 * htmlfontify.el (htmlfontify):
3146 * ses.el (ses):
3147 * epa.el (epa):
3148 * ido.el (ido): Link to info manual.
3149
e0c67e1d
LL
31502014-01-25 Leo Liu <sdl.web@gmail.com>
3151
3152 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
3153
35408b1a
AS
31542014-01-25 Adam Sjøgren <asjo@koldfront.dk>
3155
3156 * net/shr.el (shr-tag-img): Prefer the title over the alt text
3157 (bug#16537).
3158
76c3fa95
JB
31592014-01-24 Juanma Barranquero <lekktu@gmail.com>
3160
f77c7a99
JB
3161 * net/eww.el (eww-download-callback):
3162 Fix reference to eww-download-directory.
3163
76c3fa95
JB
3164 * emacs-lisp/bytecomp.el (byte-compile-file):
3165 Remove unused local variable `file-name'.
3166
1e548e40
GM
31672014-01-24 Glenn Morris <rgm@gnu.org>
3168
03f3b318
GM
3169 * woman.el (woman-default-faces, woman-monochrome-faces):
3170 Fix obsolescence specification.
3171
1e548e40
GM
3172 * subr.el (with-demoted-errors): Doc fix.
3173
d4f0427b
SM
31742014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
3175
3176 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
3177 (cl--macroexp-fboundp): New function.
3178 (cl--make-type-test): Use it.
3179
1670e27f
GM
31802014-01-23 Glenn Morris <rgm@gnu.org>
3181
3182 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
3183 * simple.el (eval-expression): Doc fixes.
3184
80efa207
GM
31852014-01-22 Glenn Morris <rgm@gnu.org>
3186
3187 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
3188
29afcbab
SM
31892014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
3190
3191 * emacs-lisp/package.el: Write files silently.
3192 (package-autoload-ensure-default-file, package--write-file-no-coding)
3193 (package-generate-description-file, package--download-one-archive)
3194 (package-install-from-archive): Tell `write-region' to stay quiet.
3195 (package-menu-mode, package-menu--print-info): Omit the Archive column
3196 if there's only one archive.
3197 (package-all-keywords, package--has-keyword-p): Remove dead code.
3198
2a5bce4f
GM
31992014-01-22 Glenn Morris <rgm@gnu.org>
3200
edace89f
GM
3201 * version.el (emacs-bzr-version-bzr): Fix typo.
3202
2a5bce4f
GM
3203 * version.el (emacs-repository-get-version):
3204 Check either .bzr or .git, but not both.
3205 Make the git case actually use the DIR argument, and return nil
3206 rather than the empty string.
983664c0 3207 Avoid error if .git exists but the git executable is not found.
2a5bce4f 3208
6cb4da45
MR
32092014-01-22 Martin Rudalics <rudalics@gmx.at>
3210
3211 Fixes in window size functions around Bug#16430 and Bug#16470.
29afcbab
SM
3212 * window.el (window-total-size, window-size): New argument ROUND.
3213 (window--min-delta-1, window-min-delta, window--max-delta-1):
3214 Be more conservative when calculating the numbers of lines or
6cb4da45
MR
3215 columns a window can shrink (Bug#16430).
3216 (fit-window-to-buffer): Simplify code.
3217 * term.el (term-window-width): Call window-body-width again.
3218
cc0f2ece
GM
32192014-01-22 Glenn Morris <rgm@gnu.org>
3220
7b997b14
GM
3221 * image.el (image-format-suffixes): Doc fix.
3222
44e76f9d
GM
3223 * international/quail.el (quail-define-package): Doc fix.
3224
35e951cd 3225 * emacs-lisp/authors.el (authors-valid-file-names)
73c1c6d7 3226 (authors-renamed-files-alist): Additions.
7bfc1caa 3227
85a5f61f
GM
3228 * vc/vc-git.el (vc-git-print-log): Remove --follow;
3229 reverts 2014-01-09 change. (Bug#16422)
3230
cc0f2ece
GM
3231 * calc/calc-embed.el (thing-at-point-looking-at):
3232 * emacs-lisp/map-ynp.el (x-popup-dialog):
3233 * obsolete/lmenu.el (x-popup-dialog):
3234 * emacs-lisp/package.el (url-recreate-url):
3235 * mail/mailclient.el (clipboard-kill-ring-save):
3236 * subr.el (x-popup-dialog): Update declaration.
3237 * mail/rmail.el (rmail-mime-message-p):
3238 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
3239
00d2a6bb
DC
32402014-01-21 Daniel Colascione <dancol@dancol.org>
3241
3242 * progmodes/sh-script.el (sh--inside-noncommand-expression):
3243 Correctly detect when we're inside an arithmetic expansion form
3244 containing nested parenthesis.
c295fc18 3245 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
00d2a6bb
DC
3246 to detect cases where we shouldn't expand "<<" to a heredoc
3247 skeleton.
3248
dd9d2e9d
SM
32492014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
3250
3251 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
3252 (eldoc--message-command-p): New function.
3253 (eldoc-display-message-p): Use it.
3254 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
3255 message is not automatically erased for us.
3256 (eldoc-print-current-symbol-info): Erase previous message, if any.
3257
e7d807ca
TH
32582014-01-21 Tassilo Horn <tsdh@gnu.org>
3259
4ff0a0e5
TH
3260 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
3261 specify it's an interactive function.
3262
dd9d2e9d
SM
3263 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
3264 Fix regex used for scanning for citation keys which failed for
e7d807ca
TH
3265 citations with optional arguments.
3266
87503791
LL
32672014-01-21 Leo Liu <sdl.web@gmail.com>
3268
3269 * simple.el (read--expression): Don't enable eldoc-mode.
3270
6cc750ee
SM
32712014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
3272
3273 * simple.el (move-beginning-of-line): Make sure we don't move forward
3274 (bug#16497).
3275
71f16bda
JL
32762014-01-20 Juri Linkov <juri@jurta.org>
3277
3278 * saveplace.el (toggle-save-place, save-place-to-alist)
3279 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
3280 'dired-mode) before checking for dired-directory. (Bug#16477)
3281
3c5a4839
JL
32822014-01-20 Juri Linkov <juri@jurta.org>
3283
3284 * indent.el (indent-line-to): Use backward-to-indentation
3285 instead of back-to-indentation. (Bug#16461)
3286
f952002e
PE
32872014-01-20 Paul Eggert <eggert@cs.ucla.edu>
3288
3289 Revert some of the CANNOT_DUMP fix (Bug#16494).
3290 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
3291 but fixing this can wait until after the next release.
3292 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
3293
93675500
MA
32942014-01-19 Michael Albinus <michael.albinus@gmx.de>
3295
3296 * eshell/esh-mode.el (eshell-password-prompt-regexp):
3297 Use `password-word-equivalents'.
3298 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
3299 to t. (Bug#5664, Bug#13124)
3300
e3af763f
AM
33012014-01-19 Alan Mackenzie <acm@muc.de>
3302
3303 Bind open-paren-in-column-0-is-defun-start to nil at some entry
3304 points.
3305 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
3fcfc4ee 3306 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
e3af763f
AM
3307 * progmodes/cc-mode.el (c-before-change, c-after-change)
3308 (c-font-lock-fontify-region): Bind it here.
3309
4ff6d92d
MR
33102014-01-19 Martin Rudalics <rudalics@gmx.at>
3311
3312 * term.el (term-window-width): Call window-text-width instead of
3313 window-width (Bug#16470).
3314
9a685cf6
PE
33152014-01-18 Paul Eggert <eggert@cs.ucla.edu>
3316
3317 * simple.el (password-word-equivalents): Remove duplicates.
3318 Sort, to make this easier next time.
3319 Downcase. Omit ": " after "jelszó".
3320
5aa78c2d
JD
33212014-01-18 Jan Djärv <jan.h.d@swipnet.se>
3322
3323 * term/common-win.el (saved-region-selection): Defvar it.
3324 (x-select-text): Set saved-region-selection (Bug#16382).
3325
cabb250c
GM
33262014-01-18 Glenn Morris <rgm@gnu.org>
3327
3328 * emacs-lisp/authors.el (authors-aliases)
3329 (authors-renamed-files-alist): Add some entries.
3330
a1340440
MA
33312014-01-17 Michael Albinus <michael.albinus@gmx.de>
3332
93675500
MA
3333 * net/tramp.el (tramp-password-prompt-regexp):
3334 Use `password-word-equivalents' if available.
a1340440
MA
3335 (tramp-action-password, tramp-process-one-action)
3336 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
3337
681ce5d2
CY
33382014-01-17 Chong Yidong <cyd@gnu.org>
3339
3340 * simple.el (password-word-equivalents): New defcustom.
3341 * comint.el (comint-password-prompt-regexp): Use it. Bump version
3342 to 24.4.
3343 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
3344 to t. (Bug#13124)
3345
fb3d479c
DG
33462014-01-17 Dmitry Gutov <dgutov@yandex.ru>
3347
3348 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
dd9d2e9d
SM
3349 (ruby-align-to-stmt-keywords): Change the default value.
3350 Use `ruby-alignable-keywords' to generate the possible customization
fb3d479c
DG
3351 choices.
3352 (ruby-smie-rules): Instead of using a hardcoded list of alignable
3353 keywords, check against the value of `ruby-alignable-keywords'
3354 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
3355
0d613483
GM
33562014-01-17 Glenn Morris <rgm@gnu.org>
3357
fc23fe2d
GM
3358 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
3359
0d613483 3360 Make M-x authors return zero *Authors Errors* from current logs.
35e951cd 3361 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
0d613483
GM
3362 (authors-ignored-files): Add some entries, remove others.
3363 (authors-ambiguous-files, authors-valid-file-names):
3364 Add some entries.
3365 (authors-renamed-files-alist): Add, remove, and adjust entries.
3366 (authors-renamed-files-regexps): Add some entries.
3367 Remove some very broad ones. Make some entries `lax'.
3368 (authors-lax-changelogs): New constant.
3369 (authors-disambiguate-file-name): Treat top-level specially.
3370 (authors-lax-changelog-p): New function.
3371 (authors-canonical-file-name): Check file as written against
3372 authors-valid-file-names. Do not special-case etc/.
3373 Handle `lax' logs and authors-renamed-files-regexps elements.
3374
2dbf4ffd
DG
33752014-01-16 Dmitry Gutov <dgutov@yandex.ru>
3376
3377 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
39903fd1
DG
3378 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
3379 callers.
2dbf4ffd 3380
87b2a7f2
SM
33812014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3382
3383 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
3384 Assume we're already in the proper buffer.
3385 Inspired by Anders Lindgren <andlind@gmail.com>.
3386 (follow-post-command-hook): Call it from the right buffer.
3387 (follow-comint-scroll-to-bottom): Adjust call.
3388 (follow-all-followers): Use get-buffer-window-list.
3389
93acfb0e
DC
33902014-01-15 Daniel Colascione <dancol@dancol.org>
3391
3392 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
3393 `buffer-file-name' in interactive-form so that we don't leave
3394 pathless file names in `file-name-history'.
3395
ccc6b208
JL
33962014-01-15 Juri Linkov <juri@jurta.org>
3397
3398 * indent.el (indent-rigidly): Set deactivate-mark to nil
3399 in transient indentation mode. (Bug#16438)
3400
5c92e00d
DG
34012014-01-15 Dmitry Gutov <dgutov@yandex.ru>
3402
3403 * emacs-lisp/package.el (package-desc-keywords): New function
3404 (Bug#16222).
3405 (describe-package-1, package-all-keywords)
3406 (package--has-keyword-p): Use it.
3407
dac69660
NR
34082014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3409
3410 * simple.el (define-alternatives): When creating the
3411 COMMAND-alternatives variable, assign COMMAND as its definition
3412 name so that `describe-variable' can relocate it.
3413
8b63edf8
ML
34142014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
3415
3416 * font-lock.el (font-lock-keywords): Fix typo in docstring
3417 (bug#16307).
3418
c6a0b8eb
AM
34192014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3420
3421 * ispell.el (ispell-region): Reset `in-comment' for new line
3422 instead of wrongly reset `add-coment' (bug#13577).
3423
02bf443d
DU
34242014-01-14 Daiki Ueno <ueno@gnu.org>
3425
3426 * epa-file.el (epa-file-write-region): Encode the region according
3427 to `buffer-file-format'. Problem reported at:
3428 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
3429
fd7fde15
SM
34302014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
3431
3432 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
3433 so it applies in the right buffer (bug#16410).
3434
c176054f
DC
34352014-01-13 Daniel Colascione <dancol@dancol.org>
3436
3437 * textmodes/rst.el (rst-define-key): Provide deprecated
3438 keybindings through named functions instead of anonymous ones so
3439 that "??" doesn't appear in describe-mode output.
3440
e3f33e5d
BG
34412014-01-13 Bastien Guerry <bzg@gnu.org>
3442
3443 * simple.el (define-alternatives): Call the selected command
3444 interactively. When setting `COMMAND--implementation' for the
3445 first time, tell the user how to chose another implementation.
3446 Enhance the docstring.
3447
c055d654
SM
34482014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3449
3450 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
3451 (log-edit--match-first-line): New function.
3452 (log-edit-font-lock-keywords): Use it.
3453 (log-edit-mode): Make jit-lock-defer-multiline work.
3454
d791cc3b
BG
34552014-01-13 Bastien Guerry <bzg@gnu.org>
3456
3457 * rect.el (rectangle-mark-mode): When the region is not active,
3458 display a message saying that the mark as been set and that
3459 rectangle mode is in use.
3460 (rectangle--highlight-for-redisplay): Only put an overlay with a
3461 visible vertical bar when (display-graphic-p) is non-nil.
3462 This partially fixes Bug#16403.
3463
3c0c4562
JL
34642014-01-13 Juri Linkov <juri@jurta.org>
3465
3466 * info.el (Info-find-file): Go to DIR before displaying the error
3467 about a nonexistent file if no previous Info file is visited.
3468 Use `user-error' instead of `error' for "Info file %s does not exist".
3469 (Info-find-node-2): In case of a nonexistent node in unwind forms
3470 go to the Top node if there is no previous node to revert to.
3471 (Bug#16405)
3472
25a700d0
MR
34732014-01-13 Martin Rudalics <rudalics@gmx.at>
3474
3475 fit-frame/window-to-buffer code fixes including one for Bug#14096.
c055d654
SM
3476 * window.el (fit-frame-to-buffer): Fix doc-string.
3477 Respect window-min-height/-width. Fit pixelwise when
25a700d0
MR
3478 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
3479 when avoiding that frame goes partially off-screen.
3480 (fit-window-to-buffer): Respect window-min-height/-width
3481 (Bug#14096).
3482
6ae948d8
SM
34832014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3484
3485 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
3486 after an empty line.
3487
6137cb82
SM
34882014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
3489
3490 * net/shr.el (shr-render-region): Autoload.
3491
e6344e17
XF
34922014-01-12 Xue Fuqiao <xfq.free@gmail.com>
3493
3494 * net/eww.el (eww-download-directory): Rename from
3495 `eww-download-path' (Bug#16419).
3496
3b922c70
LL
34972014-01-12 Leo Liu <sdl.web@gmail.com>
3498
3499 * dired-x.el (dired-mode-map): Fix last change.
3500
3501 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
3502
4fa51741
PE
35032014-01-12 Paul Eggert <eggert@cs.ucla.edu>
3504
3505 Spelling fixes.
3506 * emacs-lisp/generic.el (generic--normalize-comments):
3507 Rename from generic--normalise-comments. All uses changed.
35e951cd 3508 * play/bubbles.el (bubbles--neighborhood-score)
4fa51741
PE
3509 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
3510 (bubbles--neighborhood-available)
3511 (bubbles--update-neighborhood-score):
3512 Rename from names with 'neighbourhood'. All uses changed.
3513
9b335362
LL
35142014-01-12 Leo Liu <sdl.web@gmail.com>
3515
3516 Re-implement the feature of showing eldoc info after editing.
3517 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
3518 (eldoc-edit-message-commands): New function.
3519 (eldoc-print-after-edit): New variable.
3520 (eldoc-pre-command-refresh-echo-area): Emit message only by
3521 eldoc-message-commands.
3522 (eldoc-mode): Restrict eldoc-message-commands to editing commands
3523 if eldoc-print-after-edit is set. (Bug#16346)
79b61bcc 3524 * simple.el (read--expression): Enable eldoc-mode.
6137cb82 3525 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
9b335362 3526
e2a095b1
GM
35272014-01-11 Dani Moncayo <dmoncayo@gmail.com>
3528 Eric S. Raymond <esr@thyrsus.com>
9685190b 3529
841a6d0c 3530 * version.el (emacs-repository-get-version): Enhance so the
6137cb82 3531 function works correctly in either a Bazaar or Git repo.
0abf4134 3532
e2a095b1
GM
35332014-01-11 Eric S. Raymond <esr@thyrsus.com>
3534
6137cb82
SM
3535 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
3536 Goes with removal of the joke manpages from /etc.
9685190b 3537
c295fc18 35382014-01-10 Kenichi Handa <handa@gnu.org>
3923e7bd 3539
6137cb82
SM
3540 * mail/rmail.el (rmail-get-coding-system):
3541 Check rmail-get-coding-function before "funcall"ing it.
3923e7bd 3542
d2f16e93
GM
35432014-01-10 Glenn Morris <rgm@gnu.org>
3544
3545 * emacs-lisp/authors.el (authors-fixed-entries):
3546 Update for files that no longer exist.
3547
7e03bb32
ER
35482014-01-10 Eric S. Raymond <esr@thyrsus.com>
3549
3550 * version.el (emacs-bzr-get-version): Restore compatibilty with
d2f16e93 3551 24.3 (Tested).
7e03bb32 3552
dd806710
BB
35532014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
3554
3555 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
3556 and Podfile.
3557
ed6ec139
EZ
35582014-01-10 Eli Zaretskii <eliz@gnu.org>
3559
3560 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
3561
cc33cac9
CY
35622014-01-10 Chong Yidong <cyd@gnu.org>
3563
6137cb82 3564 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
cc33cac9 3565
d9d836b5
AL
35662014-01-10 Anders Lindgren <andlind@gmail.com>
3567
3568 * follow.el (follow-cache-command-list): Include right-char and
3569 left-char.
3570
06827ec8
PE
35712014-01-10 Paul Eggert <eggert@cs.ucla.edu>
3572
3573 Spelling fixes.
3574 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
3575 * woman.el (woman-mark-horizontal-position):
3576 Rename from woman-mark-horizonal-position. Use changed.
3577
458dbf5e
GM
35782014-01-10 Glenn Morris <rgm@gnu.org>
3579
dad6fae7
GM
3580 * info.el (info-initialize): If running uninstalled, ensure our
3581 own info files are always found first, even if INFOPATH is set.
3582
458dbf5e
GM
3583 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
3584
05e0afce
DE
35852014-01-09 David Engster <deng@randomsample.de>
3586
3587 * emacs-lisp/eieio-custom.el:
3588 * emacs-lisp/eieio-opt.el: Set generated autoload file to
3589 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
3590 * emacs-lisp/eieio.el: Regenerate autoloads.
3591
f29778b3
ER
35922014-01-09 Eric S. Raymond <esr@thyrsus.com>
3593
3594 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
fb14cb48 3595 following renames. (Bug#8756)
f29778b3 3596
684d44ef
SM
35972014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
3598
3599 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
3600 (bug#16382).
3601 (activate-mark): Add `no-tmm' argument.
3602 (set-mark, push-mark-command): Use it instead of running
3603 activate-mark-hook by hand.
3604
9475054f
ER
36052014-01-08 Eric S. Raymond <esr@thyrsus.com>
3606
3607 In preparation for the move to git, sanitize out some
3608 Bazaar-specific names.
3609
38942b9c
GM
3610 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
3611
9475054f 3612 * version.el (emacs-bzr-version): Name changed to
689c9ca5 3613 emacs-repository-version. Obsolete-variable alias made.
9475054f 3614 * loadup.el: Follow through on this name change.
a12bf61e 3615 * mail/emacsbug.el (report-emacs-bug): Factor out any
9475054f
ER
3616 assumption about the version control system in use.
3617
0f918d96 36182014-01-08 David Engster <deng@randomsample.de>
abb82152 3619
684d44ef
SM
3620 * help-fns.el (help-fns-describe-function-functions):
3621 New variable to call functions for augmenting help buffers.
abb82152
DE
3622 (describe-function-1): Remove explicit calls to
3623 `help-fns--compiler-macro', `help-fns--parent-mode' and
0f918d96
DE
3624 `help-fns--obsolete'. Put them in above new variable instead, and
3625 call them through `run-hook-with-args'.
3626 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
3627 `eieio-describe-class'. Not meant for interactive use anymore,
3628 but to augment existing help buffers. Remove optional second
684d44ef
SM
3629 argument. Create proper button for file location.
3630 Rewrite function to use `insert' instead of `princ' and `prin1' where
0f918d96
DE
3631 possible.
3632 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
3633 (eieio-method-def, eieio-class-def): Move further up.
684d44ef
SM
3634 (describe-method, describe-generic, eieio-describe-method):
3635 Remove aliases.
0f918d96
DE
3636 (eieio-help-constructor, eieio-help-generic): Rename from
3637 `eieio-describe-constructor' and `eieio-describe-generic', resp.
3638 Rewrite to use `insert' in the current buffer and use proper help
3639 buttons.
3640 (eieio-help-find-method-definition)
3641 (eieio-help-find-class-definition): Also accept symbols as
3642 arguments.
3643 (eieio-help-mode-augmentation-maybee): Remove.
3644 (eieio-describe-class-sb): Use `describe-function'.
684d44ef
SM
3645 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
3646 Add `eieio-help-generic' and `eieio-help-constructor'.
abb82152 3647
136b74c5
PE
36482014-01-08 Paul Eggert <eggert@cs.ucla.edu>
3649
3650 Spelling fixes.
3651 * language/china-util.el (hz-ascii-designation):
3652 Rename from hz-ascii-designnation.
3653 (hz-ascii-designation): Rename from hz-ascii-designnation.
3654 All uses changed.
3655
ec6c7de2
SM
36562014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3657
3658 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
3659 package-alist.
3660
d6262c7c
BG
36612014-01-08 Bastien Guerry <bzg@gnu.org>
3662
4b9e6087
GM
3663 * emacs-lisp/package.el (package-delete):
3664 Correctly delete the package from package-alist.
d6262c7c 3665
0a3eec32
DU
36662014-01-08 Daiki Ueno <ueno@gnu.org>
3667
3668 * emacs-lisp/package.el (url-recreate-url): Declare.
3669 (url-http-target-url): Declare.
4b9e6087 3670 (package-handle-response): Include requested URL in the error message.
0a3eec32
DU
3671 (package--check-signature): Don't re-signal errors from
3672 package--with-work-buffer. Suggested by Stefan Monnier.
3673
68f0bb97
BG
36742014-01-07 Bastien Guerry <bzg@gnu.org>
3675
3676 * minibuffer.el (completion--try-word-completion): When both a
3677 hyphen and a space are possible candidates for the character
3678 following a word, display both candidates. (Bug#15980)
3679
7e1899d7
MR
36802014-01-07 Martin Rudalics <rudalics@gmx.at>
3681
3682 * window.el (balance-windows-2): While rounding don't give a
c295fc18 3683 window more than the remainder. Bug#16351, bug#16383.
7e1899d7 3684
0030ec15
GM
36852014-01-07 Glenn Morris <rgm@gnu.org>
3686
3687 * menu-bar.el (menu-bar-help-extra-packages): Remove.
3688 (menu-bar-help-menu): Use view-external-packages instead.
3689
2b6b4f20
BG
36902014-01-07 Bastien Guerry <bzg@gnu.org>
3691
3692 * emacs-lisp/package.el (package-delete): Also delete the package
3693 name from `package-alist', not its description only.
3694
e9be0a13
GM
36952014-01-07 Glenn Morris <rgm@gnu.org>
3696
3697 * help.el (view-external-packages):
3698 * menu-bar.el (menu-bar-help-extra-packages):
3699 Visit efaq.info rather than etc/MORE.STUFF.
3700
e4f74da9
JL
37012014-01-07 Juri Linkov <juri@jurta.org>
3702
3703 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
3704 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
3705
3706 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
3707 that shadows RET. (Bug#16342)
3708
de7ce2d1
CY
37092014-01-07 Chong Yidong <cyd@gnu.org>
3710
3711 * isearch.el (isearch-yank-char, isearch-yank-word)
3712 (isearch-yank-line): Doc fix.
3713
6bdd9204
SM
37142014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
3715
3716 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
3717 * emacs-lisp/elint.el (elint-find-builtins):
3718 * emacs-lisp/eldoc.el (eldoc-symbol-function):
3719 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
3720 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
3721 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
3722 * apropos.el (apropos-safe-documentation):
3723 * subr.el (symbol-file): Remove redundant fboundp.
3724 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
3725
daccca97
BG
37262014-01-06 Bastien Guerry <bzg@gnu.org>
3727
3728 * hl-line.el (global-hl-line-overlay): Make a local variable.
3729 (global-hl-line-overlays): New variable to store all overlays.
3730 (global-hl-line-mode): Don't delete overlays from the current
3731 buffer when `global-hl-line-sticky-flag' is non-nil.
3732 (global-hl-line-highlight): Add new overlays to
3733 `global-hl-line-overlays'.
3734 (global-hl-line-unhighlight-all): New function to delete all
3735 overlays when turning off `global-hl-line-mode'.
3736 This fixes Bug#16183.
3737
ec00f20f
SM
37382014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
3739
3740 * subr.el (set-transient-map): Fix nested case and docstring.
3741
a0031f97
TH
37422014-01-06 Tassilo Horn <tsdh@gnu.org>
3743
3744 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
3745 `Texinfo' entry.
3746
bf6a77f3
DC
37472014-01-06 Daniel Colascione <dancol@dancol.org>
3748
3749 Fix defun navigation in vc log view.
3750
3751 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
3752 like `beginning-of-defun'.
c295fc18 3753 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
ec00f20f
SM
3754 log-view-end-of-defun to log-view-end-of-defun-1. Replace
3755 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
bf6a77f3 3756 (log-view-extract-comment): Call `log-view-current-entry' directly
ec00f20f 3757 instead of relying on broken `log-view-beginning-of-defun' behavior.
bf6a77f3 3758
d5081c1e
PE
37592014-01-06 Paul Eggert <eggert@cs.ucla.edu>
3760
3761 Spelling fixes.
3762 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
3763 * emacs-lisp/debug.el (cancel-debug-on-entry):
3764 * epg.el (epg-error-to-string):
3765 * files.el (recover-file):
3766 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
3767 * mail/emacsbug.el (report-emacs-bug-hook):
3768 * mail/sendmail.el (mail-recover):
3769 * ses.el (ses-yank-resize):
3770 * term/ns-win.el (ns-print-buffer):
3771 Spelling fixes in diagnostics, mostly for "canceled" with one L.
3772 * epg.el (epg-key-capability-alist): Rename from misspelled version.
3773 All uses changed.
3774 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
3775
53f6b148
LL
37762014-01-06 Leo Liu <sdl.web@gmail.com>
3777
3778 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
3b922c70 3779 to avoid shadowing global key. (Bug#16354)
53f6b148 3780
b82ace2f
DC
37812014-01-06 Daniel Colascione <dancol@dancol.org>
3782
3783 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
3784 rst-mode.
3785
3669b636
MR
37862014-01-05 Martin Rudalics <rudalics@gmx.at>
3787
3788 * window.el (balance-windows): Add mising t to fix Bug#16351.
3789
1a29adc2
LMI
37902014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3791
3792 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
3793 (bug#16285).
3d95a0f4
LMI
3794 (shr-insert): If we have a word that's longer than `shr-width',
3795 break after it anyway. Otherwise we'll do no breaking once we get
3796 such a long word.
1a29adc2 3797
f4018140
KN
37982014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3799
3fcfc4ee 3800 * net/eww.el (eww): Support single/double quote for search.
c295fc18 3801 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
189340f5
KN
3802 (eww-history-quit): Delete and use quit-window.
3803 (eww-history-kill): Delete, because it doesn't work well and
3804 not necessary.
3805 (eww-history-mode-map): Delete some keys and add easy-menu.
f4018140 3806
4e619754
PE
38072014-01-05 Paul Eggert <eggert@cs.ucla.edu>
3808
73dbf960
PE
3809 Fix misspelling of 'chinese' in rx (Bug#16237).
3810 * emacs-lisp/rx.el (rx-categories): Correct spelling of
3811 chinese-two-byte.
3812
4e619754
PE
3813 Change subword regexps back to vars (Bug#16296).
3814 * progmodes/subword.el (subword-forward-regexp)
3815 (subword-backward-regexp): Change these back to variables.
3816
e18b70fc
SM
38172014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
3818
3819 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
3820 syntax-begin-function (bug#16247).
3821
0d53f628
CY
38222014-01-03 Chong Yidong <cyd@gnu.org>
3823
3824 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
3825 (advice--docstring): Delete variable.
3826 (advice--make-1): Leave the docstring empty.
3827 (advice-add): Use function-documentation for advised docstring.
3828
3829 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
3830 Ignore function-documentation property when getting documentation.
3831 (ad-activate-advised-definition): Use function-documentation
3832 generate the docstring.
3833 (ad-make-advised-definition): Don't call
3834 ad-make-advised-definition-docstring.
3835 (ad-make-advised-definition-docstring, ad-advised-definition-p):
3836 Delete functions.
3837
3838 * progmodes/sql.el (sql-help): Use function-documentation instead
3839 of dynamic-docstring-function property. No need to autoload now.
3840 (sql--help-docstring): New variable.
3841 (sql--make-help-docstring): Use it.
3842
6f547583
SM
38432014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
3844
6ef9aed8
SM
3845 * ielm.el (ielm-tab): Retarget.
3846 (ielm-map): Use ielm-tab for tab.
3847 (ielm-complete-filename): Use comint-filename-completion.
3848 (ielm-complete-symbol): Remove.
3849 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
3850 remove ielm-tab from completion-at-point-functions (bug#16224).
3851
6f547583
SM
3852 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
3853 Beware signals raised by predicates (bug#16201).
3854
a574edbe
RS
38552014-01-02 Richard Stallman <rms@gnu.org>
3856
e831604d
RS
3857 * dired-aux.el (dired-do-print): Handle printer-name.
3858
6f547583
SM
3859 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
3860 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
a574edbe
RS
3861 (rmail-epa-decrypt): Turn off mime processing.
3862
3fcfc4ee 3863 * mail/rmail.el (rmail-make-in-reply-to-field):
a574edbe
RS
3864 Add parens in message-id.
3865
3866 * mail/rmail.el (rmail-get-coding-function): Variable.
3867 (rmail-get-coding-system): Use it.
3868
04311a16
KH
38692013-12-31 Eli Zaretskii <eliz@gnu.org>
3870
3871 * international/mule-conf.el: Unify the charset indian-is13194.
3872 (indian-is13194): Specify unify-map.
3873
c8d89778
LL
38742013-12-31 Leo Liu <sdl.web@gmail.com>
3875
3876 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
3877
e63ace37
DC
38782013-12-30 Daniel Colascione <dancol@dancol.org>
3879
9e0bf19a
DC
3880 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
3881 of printing a useless when we resume from sleep.
3882
e63ace37 3883 * progmodes/sh-script.el
c295fc18 3884 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
e63ace37
DC
3885 in indentation code. (Bug#16233)
3886
e9d6c46a
JT
38872013-12-28 João Távora <joaotavora@gmail.com>
3888
6f547583
SM
3889 * elec-pair.el (electric-pair-post-self-insert-function):
3890 Don't open extra newlines at beginning of buffer. (Bug#16272)
e9d6c46a 3891
bf7bea5d
EZ
38922013-12-28 Eli Zaretskii <eliz@gnu.org>
3893
3894 * frame.el (window-system-for-display): Don't allow to create a
3895 GUI frame from a -nw session on MS-Windows. (Bug#14739)
3896
8449dd1f
GM
38972013-12-28 Glenn Morris <rgm@gnu.org>
3898
9c5a5c77
GM
3899 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
3900 Update callers.
3901
3902 * apropos.el (apropos-match-face):
3903 * calculator.el (calculator-displayer):
3904 * dabbrev.el (dabbrev-search-these-buffers-only):
3905 * face-remap.el (buffer-face-mode-face):
3906 * simple.el (yank-handled-properties):
3907 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
3908 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
3909 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
3910 (hashcash-double-spend-database):
3911 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
3912 (ruby-deep-indent-paren-style):
3913 * textmodes/flyspell.el (flyspell-auto-correct-binding):
3914 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
3915 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
3916 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
3917 Specify custom types.
3918
bb098075
GM
3919 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
3920 * bookmark.el (bookmark-bmenu-use-header-line):
3921 * doc-view.el (doc-view-scale-internally):
3922 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
3923 * register.el (register-preview-delay):
3924 * net/shr.el (shr-bullet):
3925 * progmodes/cfengine.el (cfengine-cf-promises)
3926 (cfengine-parameters-indent):
3927 * progmodes/octave.el (inferior-octave-error-regexp-alist):
3928 * textmodes/reftex-vars.el (reftex-label-regexps):
3929 * vc/log-edit.el (log-edit-setup-add-author): Add version.
3930
9c61f806
GM
3931 * net/tls.el (tls-certtool-program): Fix default value.
3932
3933 * desktop.el (desktop-restore-in-current-display):
3934 * newcomment.el (comment-empty-lines):
3935 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
3936 (idlwave-pad-keyword):
3937 * progmodes/tcl.el (tcl-tab-always-indent):
3938 * textmodes/reftex-vars.el (reftex-index-default-tag):
3939 * elec-pair.el (electric-pair-skip-whitespace):
3940 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
3941
8449dd1f
GM
3942 * emacs-lisp/authors.el (authors-ignored-files)
3943 (authors-valid-file-names, authors-renamed-files-alist): Additions.
3944
fdadeb49
JC
39452013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
3946
72140a0f
GM
3947 * shell.el (shell-dynamic-complete-command): Doc fix.
3948 (shell--command-completion-data): Shell completion now matches
3949 executable filenames from the current buffer's directory, on
da5ecfa9 3950 systems in which this behavior is the default (windows-nt, ms-dos).
fdadeb49 3951
e572a7d8
LI
39522013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
3953
3954 * net/shr.el (shr-insert): Don't infloop if the width is zero.
3955
7514d3f8
SM
39562013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
3957
a4151f3b
SM
3958 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
3959 (bug#16251).
3960
7514d3f8
SM
3961 * electric.el: Move all electric-pair-* to elec-pair.el.
3962 * elec-pair.el: New file, split from electric.el.
3963
ac5758d1
LI
39642013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
3965
3966 * net/shr.el (shr-find-fill-point): Don't try to fill if the
3967 indentation level is larger than the width, because that will
3968 infloop.
3969 (shr-insert): Fill repeatedly long texts, so that Japanese is
3970 formatted correctly (bug#16263).
24a6b65e
LI
3971 (shr-find-fill-point): Off by one error in comparison with the
3972 indentation.
ac5758d1 3973
7514d3f8 39742013-12-26 João Távora <joaotavora@gmail.com>
3b8d5131
JT
3975
3976 * electric.el (electric-pair-mode): More flexible engine for skip-
7514d3f8 3977 and inhibit predicates, new options for pairing-related functionality.
3b8d5131
JT
3978 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
3979 if that keeps or improves their balance in buffers.
3980 (electric-pair-delete-adjacent-pairs): Delete the pair when
3981 backspacing over adjacent matched delimiters.
3982 (electric-pair-open-extra-newline): Open extra newline when
3983 inserting newlines between adjacent matched delimiters.
7514d3f8
SM
3984 (electric--sort-post-self-insertion-hook):
3985 Sort post-self-insert-hook according to priority values when
3b8d5131
JT
3986 minor-modes are activated.
3987 * simple.el (newline-and-indent): Call newline with interactive
3988 set to t.
3989 (blink-paren-post-self-insert-function): Set priority to 100.
7514d3f8
SM
3990 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3991 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
3992 comments. Locally set electric-pair-skip-whitespace to 'chomp and
3b8d5131
JT
3993 electric-pair-open-newline-between-pairs to nil.
3994
fbcc63a3
FEG
39952013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
3996
3997 * progmodes/python.el: Use lexical-binding.
3998 (python-nav-beginning-of-defun): Stop searching ASAP.
3999
ed78d16c
XF
40002013-12-25 Xue Fuqiao <xfq.free@gmail.com>
4001
4002 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
4003 Fix interactive spec. Doc fix. (Bug#15754)
4004
38b2c142
KY
40052013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
4006
4007 * emacs-lisp/byte-run.el (eval-when-compile):
55db967f 4008 * progmodes/cc-defs.el (cc-eval-when-compile):
38b2c142
KY
4009 Fix edebug spec (bug#16184).
4010
3c856c14
LI
40112013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4012
83fa295c 4013 * net/shr.el (shr-visit-file): Remove debugging function.
f7f071dc
LI
4014 (shr-insert): Don't infloop if we can't find a good place to break
4015 the line (bug#16256).
3c856c14 4016
01379221
FEG
40172013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
4018
35e951cd 4019 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
01379221
FEG
4020 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
4021 python-nav-lisp-forward-sexp-safe.
4022 (python-nav--forward-sexp): New argument SAFE allows switching
4023 forward sexp movement behavior for parens.
4024 (python-nav-forward-sexp): Throw errors on unterminated parens
4025 (Bug#16191).
4026 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
4027 (python-nav-backward-sexp-safe): New functions.
7514d3f8
SM
4028 (python-shell-buffer-substring):
4029 Use `python-nav-forward-sexp-safe'.
01379221 4030
99e4926f
LI
40312013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4032
4033 * net/shr.el (shr-find-fill-point): Don't break lines before a
4034 quotation mark.
c6c20584
LI
4035 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
4036 (shr-find-fill-point): Remove the special checks for the quotation
7514d3f8 4037 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
99e4926f 4038
fec0e828
KN
40392013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4040
4041 * net/eww.el (eww-form-textarea): Use a different face for
4042 textareas than text input since they have different keymaps
4043 (bug#16142).
4044
89c868ad
FEG
40452013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
4046
7514d3f8
SM
4047 * progmodes/python.el (python-nav-beginning-of-statement):
4048 Speed up (Bug#15295).
89c868ad 4049
eeef121a
LI
40502013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4051
4052 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
4053 the window configuration.
4054
121ea65f
EZ
40552013-12-24 Eli Zaretskii <eliz@gnu.org>
4056
4057 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
4058 we run on MS-Windows or MS-DOS.
4059
18cee9ec
MR
40602013-12-24 Martin Rudalics <rudalics@gmx.at>
4061
4062 * window.el (balance-windows-area): Call window-size instead of
4063 window-height and window-width. Bug#16241.
4064
58f2b9a5
LI
40652013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4066
4067 * net/eww.el (eww-bookmark-quit): Remove.
4068 (eww-bookmark-browse): Restore the window configuration when you
4069 choose a bookmark (bug#16144).
4070
d64b6308
DC
40712013-12-24 Daniel Colascione <dancol@dancol.org>
4072
4073 * icomplete.el: Remove redundant :group arguments to `defcustom'
4074 throughout.
4075 (icomplete-show-matches-on-no-input): New customizable variable.
4076 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
4077 we have something to show.
7514d3f8 4078 (icomplete-exhibit): Compute completions even if we have no user input.
d64b6308 4079
0da54898
DC
40802013-12-23 Daniel Colascione <dancol@dancol.org>
4081
4082 * icomplete.el: Move `provide' to end of file.
4083
b90aa4f4
TZ
40842013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
4085
4086 * net/gnutls.el (gnutls-verify-error): Add version tag.
4087
8cd22a08
CY
40882013-12-23 Chong Yidong <cyd@gnu.org>
4089
4090 * subr.el (set-transient-map): Rename from
4091 set-temporary-overlay-map. Doc fix.
4092
4093 * face-remap.el (text-scale-adjust):
4094 * indent.el (indent-rigidly):
4095 * kmacro.el (kmacro-call-macro):
4096 * minibuffer.el (minibuffer-force-complete):
4097 * repeat.el (repeat):
4098 * simple.el (universal-argument--mode):
4099 * calendar/todo-mode.el (todo-insert-item--next-param):
4100 * progmodes/f90.el (f90-abbrev-start): Callers changed.
4101
7510b021
CY
4102 * indent.el (indent-rigidly): Use substitute-command-keys.
4103
72140a0f 41042013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
56890ecd
KN
4105
4106 * net/eww.el (eww-tag-select): Add text-property to jump to next
4107 select field.
e9dc713d 4108 (eww): Add non-supported ftp error.
56890ecd 4109
1f87a56c
DG
41102013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4111
4112 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
4113 comments. Handle electric indent after typing `?' and `!'.
4114
dca38cf9
CY
41152013-12-22 Chong Yidong <cyd@gnu.org>
4116
4117 * faces.el (face-spec-recalc): If the theme specs are not
7514d3f8
SM
4118 applicable to a frame, fall back on the defface spec.
4119 This prevents themes from obliterating faces on low-color terminals.
dca38cf9 4120
f2351498
DG
41212013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4122
4123 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
4124 after `{'. We need it after block openers, and it doesn't seem
4125 to hurt after hash openers.
4126
6cddebc1
DG
41272013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4128
4129 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
4130 extracted from `ruby-smie-rules'.
4131 (ruby--electric-indent-chars): New variable.
4132 (ruby--electric-indent-p): New function.
4133 (ruby-mode): Use `electric-indent-functions' instead of
4134 `electric-indent-chars'.
4135
65a1da00
DG
41362013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4137
4138 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
4139 docstring.
4140 (ruby-smie-rules): Indent plus one level after `=>'.
4141
b51ad4cf
RS
41422013-12-21 Richard Stallman <rms@gnu.org>
4143
4144 * simple.el (newline): Doc fix.
4145
72140a0f 41462013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
d49fbfd6 4147
e9dc713d 4148 * net/eww.el (eww-list-histories, eww-list-histories)
d49fbfd6
TZ
4149 (eww-history-browse, eww-history-quit, eww-history-kill)
4150 (eww-history-mode-map, eww-history-mode): New command and
4151 functions to list browser histories.
e9dc713d
JB
4152 (eww-form-text): Support text form with disabled
4153 and readonly attributes.
4154 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
d49fbfd6 4155
5e1901c1
RS
41562013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4157
4158 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
4159 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
4160 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
4161 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
4162 Use `user-error'.
4163 (eww-bookmark-mode-map): Add menu.
4164 (eww-render, eww-mode): Use `setq-local'.
4165 (eww-tool-bar-map): New variable.
4166 (eww-mode): Set `tool-bar-map'.
4167 (eww-view-source): Check for `html-mode' with `fboundp'.
4168
073d5cfd
LMI
41692013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4170
4171 * net/shr.el (shr--extract-best-source): Don't bug out on audio
4172 elements with text inside. Also remove debugging.
4173
41cf3d11
JD
41742013-12-21 Jan Djärv <jan.h.d@swipnet.se>
4175
4176 * cus-start.el (all): Add ns-use-srgb-colorspace.
4177
aac2b673
CY
41782013-12-21 Chong Yidong <cyd@gnu.org>
4179
4180 * custom.el (custom-theme-recalc-face): Do nothing if the face is
4181 undefined. Thus, theme settings for undefined faces do not take
4182 effect until the faces are defined with defface, the same as with
4183 theme variables.
4184
4185 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
4186 (face-spec-reset-face): Don't assign extra properties in temacs.
4187 (face-spec-recalc): Apply X resources too.
4188
bacb0e77
CY
41892013-12-21 Chong Yidong <cyd@gnu.org>
4190
4191 * faces.el (face-spec-set):
4192 * cus-face.el (custom-theme-set-faces, custom-set-faces):
4193 * custom.el (defface): Doc fixes (Bug#16203).
4194
77221051
CY
4195 * indent.el (indent-rigidly-map): Add docstring, and move commands
4196 into named functions.
4197 (indent-rigidly-left, indent-rigidly-right)
4198 (indent-rigidly-left-to-tab-stop)
4199 (indent-rigidly-right-to-tab-stop): New functions. Decide on
4200 indentation direction based on bidi direction, and accumulate
4201 sequential commands in a single undo boundary.
4202 (indent-rigidly--pop-undo): New utility function.
4203
e0eb0550
JB
42042013-12-20 Juanma Barranquero <lekktu@gmail.com>
4205
4206 * faces.el (read-face-name): Require crm.el when using crm-separator.
4207
3282bd2e
DC
42082013-12-20 Daniel Colascione <dancol@dancol.org>
4209
4210 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
4211 so that we don't reflow comments into the shebang line.
4212
1d42e5b6
JL
42132013-12-20 Juri Linkov <juri@jurta.org>
4214
4215 * saveplace.el (save-place-to-alist): Add `dired-filename' as
4216 a position when `dired-directory' is non-nil. Check integer
4217 positions with `integerp'.
4218 (toggle-save-place, save-places-to-alist): Add check for
4219 `dired-directory'.
4220 (save-place-find-file-hook): Check integer positions with
4221 `integerp'.
4222 (save-place-dired-hook): Use `dired-goto-file' when
4223 `dired-filename' is found in the assoc list. Check integer
4224 positions with `integerp'.
4225 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
4226
4227 * dired.el (dired-initial-position-hook): Rename back from
4228 `dired-initial-point-hook'.
4229 (dired-initial-position): Rename `dired-initial-point-hook' to
4230 `dired-initial-position-hook'.
4231 (dired-file-name-at-point): Doc fix. (Bug#15329)
4232
24da7273
JL
42332013-12-20 Juri Linkov <juri@jurta.org>
4234
4235 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
4236 (read-regexp-suggestions): New function.
4237 (read-regexp): Use `read-regexp-defaults-function' to get default values.
4238 Use `read-regexp-suggestions'. Add non-empty default to history
4239 for empty input.
4240 (occur-read-regexp-defaults-function): Remove function.
4241 (occur-read-primary-args): Use `regexp-history-last' instead of
4242 `occur-read-regexp-defaults-function'.
4243
4244 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
4245 (hi-lock-line-face-buffer, hi-lock-face-buffer)
4246 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
4247 `hi-lock-read-regexp-defaults-function'. Doc fix.
4248 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
4249 with `find-tag-default-as-symbol-regexp'. Doc fix.
4250 (hi-lock-read-regexp-defaults): Remove function.
4251 (hi-lock-regexp-okay): Add check for null.
4252
4253 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
4254 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
4255
4256 * subr.el (find-tag-default-as-symbol-regexp): New function.
4257 (find-tag-default-as-regexp): Move symbol regexp formatting to
4258 `find-tag-default-as-symbol-regexp'.
4259
137f57c8
S
42602013-12-20 E Sabof <esabof@gmail.com> (tiny change)
4261
4262 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
4263 (Bug#14179)
4264
f3a66082
SB
42652013-12-20 Stephen Berman <stephen.berman@gmx.net>
4266
4267 * calendar/todo-mode.el: New implementation of item insertion
4268 commands and key bindings.
4269 (todo-key-prompt): New face.
4270 (todo-insert-item): New command.
4271 (todo-insert-item--parameters): New defconst, replacing defvar
4272 todo-insertion-commands-args-genlist.
4273 (todo-insert-item--param-key-alist): New defconst, replacing
4274 defvar todo-insertion-commands-arg-key-list.
4275 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
4276 (todo-insert-item--argsleft, todo-insert-item--apply-args)
4277 (todo-insert-item--next-param): New functions.
4278 (todo-insert-item--args, todo-insert-item--argleft)
4279 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
4280 New variables.
4281 (todo-key-bindings-t): Change binding of "i" from
4282 todo-insertion-map to todo-insert-item.
4283 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
4284 (todo-insertion-command-name, todo-insertion-commands-names)
4285 (todo-define-insertion-command, todo-insertion-commands)
4286 (todo-insertion-key-bindings, todo-insertion-map): Remove.
4287
2f99433b
SB
42882013-12-20 Stephen Berman <stephen.berman@gmx.net>
4289
4290 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
4291 (todo-toggle-item-highlighting): Use eval-and-compile instead of
4292 eval-when-compile.
4293 (todo-move-category): Allow choosing a non-existing todo file to
4294 move the category to, and create that file.
4295 (todo-default-priority): New user option.
4296 (todo-set-item-priority): Use it.
4297 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
4298 (desktop-restore-file-buffer): Declare.
4299 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
4300 (todo-modes-set-2): Locally set desktop-save-buffer to
4301 todo-desktop-save-buffer.
4302 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
4303 (auto-mode-alist): Add autoload cookie.
4304
131e4695
BB
43052013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
4306
4307 * emacs-lisp/subr-x.el: Renamed from helpers.el.
4308 helpers.el was a poor choice of name.
3cbfb935
BB
4309 (string-remove-prefix): New function.
4310 (string-remove-suffix): New function.
131e4695 4311
c44de18d
MR
43122013-12-20 Martin Rudalics <rudalics@gmx.at>
4313
4314 Fix assignment for new window total sizes.
4315 * window.el (window--pixel-to-size): Remove function.
e0eb0550
JB
4316 (window--pixel-to-total-1, window--pixel-to-total):
4317 Fix calculation of new total sizes.
c44de18d 4318
ca65efcc
VS
43192013-12-20 Vitalie Spinu <spinuvit@gmail.com>
4320
4321 * comint.el (comint-output-filter): Fix rear-nonsticky property
4322 placement (Bug#16010).
4323
a9574eb7
CY
43242013-12-20 Chong Yidong <cyd@gnu.org>
4325
4326 * faces.el (read-color): Minor fix for completion function.
4327
b520f210
DG
43282013-12-20 Dmitry Gutov <dgutov@yandex.ru>
4329
e0eb0550
JB
4330 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
4331 New option. (Bug#16182)
b520f210
DG
4332 (ruby-smie--indent-to-stmt-p): Use it.
4333 (ruby-smie-rules): Revert the logic in the handling of `when'.
4334 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
4335 (ruby-deep-arglist, ruby-deep-indent-paren)
4336 (ruby-deep-indent-paren-style): Update docstrings to note that the
4337 vars don't have any effect with SMIE.
4338
26b75b45
JB
43392013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
4340
4341 * calc/calc.el (calc-enter, calc-pop): Use the variable
4342 `calc-context-sensitive-enter'.
4343
cf91cee7
LMI
43442013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
4345
4346 * net/shr.el (shr-insert): Protect against infloops in degenerate
4347 tables.
4348
51d971b4
RS
43492013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4350
4351 * progmodes/octave.el (octave): Add link to manual and octave
4352 homepage.
4353 (octave-mode-menu): Link to octave-mode manual.
4354
8c2e462a
LL
43552013-12-20 Leo Liu <sdl.web@gmail.com>
4356
4357 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
4358 insertion using skeleton-end-newline. (Bug#16138)
4359
501158bc
JL
43602013-12-20 Juri Linkov <juri@jurta.org>
4361
4362 * replace.el (occur-engine): Use `add-face-text-property'
4363 to add the face property to matches and titles. (Bug#14645)
4364
4365 * hi-lock.el (hi-green): Use lighter color "light green" closer to
4366 the palette of other hi-lock colors.
4367 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
4368
50ab1da6
JL
43692013-12-19 Juri Linkov <juri@jurta.org>
4370
4371 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
4372 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
4373 (minibuffer-history-symbol): Move variable declaration closer to
4374 its usage.
4375
4376 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
4377 (Bug#14785)
4378
3d6e95e7
JL
43792013-12-19 Juri Linkov <juri@jurta.org>
4380
4381 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
4382 New function.
4383 (log-edit-hook): Add it to :options. (Bug#16170)
4384
b41594fd
JL
43852013-12-19 Juri Linkov <juri@jurta.org>
4386
4387 * simple.el (eval-expression-print-format): Don't check for
4388 command names and the last command. Always display additional
4389 formats of the integer result in the echo area, and insert them
4390 to the current buffer only with a zero prefix arg.
4391 Display character when char-displayable-p is non-nil.
4392 (eval-expression): With a zero prefix arg, set `print-length' and
4393 `print-level' to nil, and insert the integer values from
4394 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
4395
4396 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
4397 `eval-last-sexp-arg-internal'. Doc fix.
4398 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
4399 `eval-last-sexp-print-value'. Doc fix.
4400 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
4401 Set `print-length' and `print-level' to nil when arg is zero.
4402 (eval-last-sexp): Doc fix.
4403 (eval-defun-2): Print the integer values from
4404 `eval-expression-print-format' at the end.
4405
4406 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
4407 values from `eval-expression-print-format' at the end.
4408
4409 * ielm.el (ielm-eval-input): Print the integer
4410 values from `eval-expression-print-format' at the end.
4411
8f2be364
TZ
44122013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
4413
4414 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
4415 2013-12-11T19:01:44Z!tzz@lifelogs.com.
4416
2230a6e3
SM
44172013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
4418
4419 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
4420 (hl-line-highlight, global-hl-line-highlight): Use it.
4421 (hl-line-overlay): Use defvar-local.
4422
1269a680
JD
44232013-12-19 Jan Djärv <jan.h.d@swipnet.se>
4424
4425 * term/ns-win.el: Require dnd.
4426 (global-map): Remove drag items.
4427 (ns-insert-text, ns-set-foreground-at-mouse)
2230a6e3
SM
4428 (ns-set-background-at-mouse):
4429 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
4430 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
4431 New functions.
1269a680 4432
049638ad
GM
44332013-12-19 Glenn Morris <rgm@gnu.org>
4434
4435 * emacs-lisp/ert.el (ert-select-tests):
4436 Fix string/symbol mixup. (Bug#16121)
4437
ce41edb4
DG
44382013-12-19 Dmitry Gutov <dgutov@yandex.ru>
4439
4440 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
4441 keywords to their parent.
4442
7e1549c9
DG
44432013-12-19 Dmitry Gutov <dgutov@yandex.ru>
4444
4445 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
4446 first arg to be a string (fixed dead code), or an operator symbol.
4447 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
4448 operator symbols.
4449 (ruby-smie-rules): Remove parent token check in the `.' clause, it
4450 did nothing. Don't respond to `(:after ".")', it will be called
4451 with :before anyway. Remove the ` @ ' rule, it didn't seem to
4452 change anything. Only return indentation for binary operators
4453 when they are hanging. De-dent opening paren when its parent is
4454 `.', otherwise it looks bad when the dot is not at bol or eol
4455 (bug#16182).
4456
3ee4cd64
JL
44572013-12-19 Juri Linkov <juri@jurta.org>
4458
4459 * replace.el (query-replace-read-args): Split a non-negative arg
4460 and a negative arg into separate elements.
4461 (query-replace, query-replace-regexp, replace-string)
4462 (replace-regexp): Add arg `backward'. Doc fix.
4463 (replace-match-maybe-edit): When new arg `backward' is non-nil,
4464 move point to the beginning of the match.
4465 (replace-search, replace-highlight): Use new arg `backward'
4466 to set the value of `isearch-forward'.
4467 (perform-replace): Add arg `backward' and use it to perform
4468 replacement backward. (Bug#14979)
4469
4470 * isearch.el (isearch-query-replace): Use a negative prefix arg
4471 to call `perform-replace' with a non-nil arg `backward'.
4472
0cda6b7b
JL
44732013-12-18 Juri Linkov <juri@jurta.org>
4474
4475 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
4476 to the default list. Move `log-edit-show-files' to the end.
4477 Add more available functions to options.
4478 (log-edit): Move default specific settings to
4479 `log-edit-insert-message-template'. Don't move point.
4480 (log-edit-insert-message-template): New function.
4481 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
4482 (Bug#16170)
4483
b216f0a6
JL
44842013-12-18 Juri Linkov <juri@jurta.org>
4485
4486 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
4487 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
4488
1d1c55dc
LL
44892013-12-18 Leo Liu <sdl.web@gmail.com>
4490
e9dc713d
JB
4491 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
4492 (Bug#16186)
1d1c55dc 4493
64e4c76e
EZ
44942013-12-18 Eli Zaretskii <eliz@gnu.org>
4495
4496 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
4497 formats for displaying file sizes when the -s switch is given.
4498 Instead, compute a separate format for displaying the size in
4499 blocks, which is displayed in addition to the "regular" size.
4500 When -h is given in addition to -s, produce size in blocks in
4501 human-readable form as well. (Bug#16179)
4502
b2984e39
TH
45032013-12-18 Tassilo Horn <tsdh@gnu.org>
4504
2230a6e3
SM
4505 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
4506 Reference tables with ~\ref{...} instead of only \ref{...}.
b2984e39 4507
50ff2e06
CY
45082013-12-18 Chong Yidong <cyd@gnu.org>
4509
0081bc84
CY
4510 * cus-edit.el (custom-magic-alist): Fix "themed" description
4511 (Bug#14348).
4512
a7ee9424
CY
4513 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
4514 is non-nil, do not create a new entry in the symbol's theme-value
4515 or theme-face property; update theme-settings only (Bug#14664).
18874304 4516 (custom-available-themes): Doc fix.
a7ee9424 4517
8f942537
CY
4518 * cus-theme.el (custom-new-theme-mode-map): Add bindings
4519 (Bug#15674).
4520
50ff2e06
CY
4521 * replace.el (occur-engine): Avoid infloop (Bug#7593).
4522
83c60f60
KI
45232013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
4524
4525 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
4526 (Bug#13914).
4527
e0eb0550 45282013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
ba874b64
SF
4529
4530 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
4531
1f41ee56
GM
45322013-12-18 Glenn Morris <rgm@gnu.org>
4533
4534 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
123d0143 4535 * cus-start.el (load-prefer-newer): New option.
1f41ee56 4536
e82134b1
LW
45372013-12-18 Le Wang <l26wang@gmail.com>
4538
2230a6e3
SM
4539 * comint.el (comint-previous-matching-input-from-input):
4540 Retain point (Bug#13404).
e82134b1 4541
33f5d4c1
CY
45422013-12-18 Chong Yidong <cyd@gnu.org>
4543
4544 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
4545
ccc9f6dc
GM
45462013-12-18 Glenn Morris <rgm@gnu.org>
4547
4548 * mail/emacsbug.el (report-emacs-bug):
4549 Only mention enable-multibyte-characters if non-standard.
4550
33dd8e95
JL
45512013-12-17 Juri Linkov <juri@jurta.org>
4552
4553 * arc-mode.el (archive-extract-by-file): Check if directory exists
4554 before deletion to not show irrelevant errors if it doesn't exist.
4555
7a409b30
JL
45562013-12-17 Juri Linkov <juri@jurta.org>
4557
4558 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
4559 (Bug#14751)
4560
4561 * net/eww.el (browse-web): Add alias to `eww'.
4562 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
4563 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
4564
4565 * net/browse-url.el (browse-url-browser-function): Move `eww'
4566 closer to similar functions.
4567
4568 * startup.el (fancy-startup-screen, fancy-about-screen):
4569 Set browse-url-browser-function to eww-browse-url locally.
4570 (Bug#14751)
4571
2d6b6005
SM
45722013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
4573
4574 * window.el (window--pixel-to-total): Remove unused `mini' var.
4575 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
4576 (split-window): Remove unused `new' var.
4577 (window--display-buffer): Remove unused `frame' and `delta' vars.
4578 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
4579 and display-width'.
4580
cf2b7efc
MR
45812013-12-17 Martin Rudalics <rudalics@gmx.at>
4582
4583 * dired.el (dired-mark-pop-up):
4584 * register.el (register-preview): Don't bind
4585 split-height-threshold here since it's now done in
4586 display-buffer-below-selected.
4587
ed3af8a7 45882013-12-17 oblique <psyberbits@gmail.com> (tiny change)
4589
4590 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
4591 xterm-rgb-convert-to-16bit.
4592 (rxvt-register-default-colors): Standardize with
4593 xterm-register-default-colors (Bug#14078).
4594
76da3455
DK
45952013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
4596
4597 * simple.el (kill-region): Pass mark first, then point, so that
4598 kill-append works right (Bug#12819).
4599 (copy-region-as-kill, kill-ring-save): Likewise.
4600
2b84d763
LL
46012013-12-17 Leo Liu <sdl.web@gmail.com>
4602
4603 * net/rcirc.el (rcirc-add-face):
4604 * eshell/em-prompt.el (eshell-emit-prompt):
4605 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
4606 (Bug#16167)
4607
e2f6a0bc
CY
46082013-12-17 Chong Yidong <cyd@gnu.org>
4609
4610 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
4611 Suggested by Xue Fuqiao.
4612
35b249a6
DG
46132013-12-17 Dmitry Gutov <dgutov@yandex.ru>
4614
4615 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
4616
e9145444
SM
46172013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
4618
4619 * net/shr.el (shr-insert-document): Remove unused var
4620 `shr-preliminary-table-render'.
4621 (shr-rescale-image): Remove unused arg `force'.
4622 (shr-put-image): Update calls accordingly.
4623 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
4624
5556c0ce
DG
46252013-12-17 Dmitry Gutov <dgutov@yandex.ru>
4626
4627 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
4628 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
4629 :close-all, to see which indentation method to use (Bug#16116).
4630 (smie-rules-function): Document the method :close-all.
4631
11bade0a
LMI
46322013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4633
1c4b1e61
LMI
4634 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
4635
11bade0a
LMI
4636 * net/eww.el (eww-display-html): If we can't find the anchor we're
4637 looking for, then go to point-min.
4638
8fb8c4f3
PE
46392013-12-16 Paul Eggert <eggert@cs.ucla.edu>
4640
4641 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
4642 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
4643 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
4644 Expand dir too, in case it's relative.
4645
6c8e0ae6
JL
46462013-12-16 Juri Linkov <juri@jurta.org>
4647
4648 * desktop.el (desktop-auto-save-timeout): Change default to
4649 `auto-save-timeout'. Doc fix.
4650 (desktop-save): Skip the timestamp in desktop-saved-frameset
4651 when checking for auto-save changes.
4652 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
4653 `desktop-auto-save' is called repeatedly by the idle timer.
4654 (desktop-auto-save-set-timer): Replace `run-with-timer' with
4655 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
4656 (Bug#15331)
4657
2178e858
JL
46582013-12-16 Juri Linkov <juri@jurta.org>
4659
4660 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
4661 (Bug#16035)
4662 (isearch-pre-command-hook): Check `this-command' for symbolp.
4663
39cb42c6
SM
46642013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
4665
4666 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
4667
5b9b750a
TZ
46682013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
4669
4670 * progmodes/cfengine.el (cfengine3--current-word): Remove.
4671 (cfengine3--current-function): Bring in the current-function
4672 functionality from `cfengine3--current-word'.
4673 (cfengine3-completion-function): Bring in the
4674 bounds-of-current-word functionality from
4675 `cfengine3--current-word'.
4676
d144ef06
MR
46772013-12-16 Martin Rudalics <rudalics@gmx.at>
4678
39cb42c6
SM
4679 * window.el (display-buffer-below-selected):
4680 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 4681
a8bbe298
LL
46822013-12-16 Leo Liu <sdl.web@gmail.com>
4683
4684 * progmodes/compile.el (compile-goto-error): Do not push-mark.
4685 Remove NOMSG arg and all uses changed.
4686
2013a2f9
SM
46872013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
4688
4689 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
4690 (cua--deactivate-rectangle): Don't deactivate the mark.
4691 (cua-set-rectangle-mark): Don't set mark-active since
4692 cua--activate-rectangle already does it for us.
4693 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
4694 non-rectangular region.
4695
4696 * emulation/cua-base.el (cua-repeat-replace-region):
4697 Use with-current-buffer.
4698
4699 * net/gnutls.el: Use cl-lib.
4700 (gnutls-negotiate): `mapcan' -> cl-mapcan.
4701
5ae811dd
TZ
47022013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
4703
4704 * emacs-lisp/package.el (package-built-in-p): Support both
4705 built-in and the package.el converted package descriptions.
4706 (package-show-package-list): Allow keywords.
4707 (package-keyword-button-action): Use it instead of
4708 `finder-list-matches'.
4709 (package-menu-filter-interactive): Interactive filtering (by
4710 keyword) function.
4711 (package-menu--generate): Support keywords and change keymappings
4712 and headers when they are given.
4713 (package--has-keyword-p): Helper function.
4714 (package-menu--refresh): Use it.
4715 (package--mapc): Helper function.
4716 (package-all-keywords): Use it.
4717 (package-menu-mode-map): Set up menu items and keybindings to
4718 provide a filtering UI.
4719
31b4827e
TZ
47202013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
4721
4722 * net/gnutls.el (gnutls-verify-error): New defcustom to control
4723 the behavior when a certificate fails validation. Defaults to
4724 old behavior: never abort, just warn.
4725 (gnutls-negotiate): Use it.
4726
f93cc74f
MR
47272013-12-14 Martin Rudalics <rudalics@gmx.at>
4728
4729 * window.el (display-buffer-below-selected): Never split window
4730 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
4731
f77d7d17
TW
47322013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
4733
4734 * emacs-lisp/package.el (package--prepare-dependencies): New function.
4735 (package-buffer-info): Use it (bug#15108).
aa2bddd7 4736
7514d3f8
SM
47372013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
4738
aa2bddd7 4739 * icomplete.el (icomplete-completions): Make sure the prefix is already
7514d3f8 4740 displayed elsewhere before hiding it (bug#16219).
aa2bddd7 4741
276bc333
DG
47422013-12-14 Dmitry Gutov <dgutov@yandex.ru>
4743
4744 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
4745 open-paren tokens when preceded by a open-paren, too.
4746 (ruby-smie-rules): Handle virtual indentation after open-paren
4747 tokens specially. If there is code between it and eol, return the
4748 column where is starts (Bug#16118).
4749
d43957f3
TZ
47502013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
4751
a5c1ac0c 4752 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 4753 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
4754 (cfengine3--current-word): Fix parameters.
4755 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
4756 (cfengine3-completion-function, cfengine3--current-function):
4757 Use `assq' for symbols.
d43957f3
TZ
4758 (cfengine3--current-function): Fix `cfengine3--current-word' call.
4759
06a4f110
GM
47602013-12-13 Glenn Morris <rgm@gnu.org>
4761
4762 * loadup.el (load-path): Warn if site-load or site-init changes it.
4763 No more need to reset it when bootstrapping.
4764
978a5fda
TZ
47652013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
4766
4767 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
4768 locations for cf-promises.
4769 (cfengine-mode-syntax-functions-regex): New caching variable.
4770 (cfengine3-fallback-syntax): Fallback syntax for cases where
4771 cf-promises doesn't run.
4772 (cfengine3--current-word): Reimplement using
4773 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
4774 (cfengine3-completion-function, cfengine3--current-function):
4775 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
4776 (cfengine3-clear-syntax-cache): New function.
4777 (cfengine3-make-syntax-cache): Simplify and create
4778 `cfengine-mode-syntax-functions-regex' on demand.
4779 (cfengine3-format-function-docstring): Don't call
4780 `cfengine3-make-syntax-cache' explicitly.
4781
71e6691e
MR
47822013-12-13 Martin Rudalics <rudalics@gmx.at>
4783
4784 Fix windmove-find-other-window broken after pixelwise resizing
4785 (Bug#16017).
4786 * windmove.el (windmove-other-window-loc): Revert change from
4787 2013-12-04.
4788 (windmove-find-other-window): Call window-in-direction.
4789 * window.el (window-in-direction): New arguments SIGN, WRAP and
4790 MINI to emulate original windmove-find-other-window behavior.
4791
84c73ba0
DG
47922013-12-13 Dmitry Gutov <dgutov@yandex.ru>
4793
4794 * simple.el (blink-matching--overlay): New variable.
4795 (blink-matching-open): Instead of moving point, highlight the
4796 matching paren with an overlay
4797 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
4798
4799 * faces.el (paren-showing-faces, show-paren-match)
4800 (show-paren-mismatch): Move from paren.el.
4801
b9e20952
LL
48022013-12-13 Leo Liu <sdl.web@gmail.com>
4803
4804 * indent.el (indent-region): Disable progress reporter in
4805 minibuffer. (Bug#16108)
4806
4807 * bindings.el (visual-order-cursor-movement): Fix version.
4808
ce030451
FEG
48092013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4810
4811 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
4812 Also match after beginning of line.
4813 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
e9dc713d 4814 files. Thanks to Russell Sim. (Bug#15378)
ce030451 4815
4a9c6865
JL
48162013-12-13 Juri Linkov <juri@jurta.org>
4817
4818 * simple.el <Keypad support>: Remove key bindings duplicated
4819 with bindings.el. (Bug#14397)
4820
2bc170c3
JL
48212013-12-13 Juri Linkov <juri@jurta.org>
4822
4823 * comint.el (comint-mode-map): Replace `delete-char' with
4824 `delete-forward-char'. (Bug#16109)
4825
bc9222c9
FEG
48262013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
4827
aa2bddd7 4828 * progmodes/python.el (python-indent-calculate-indentation):
e9dc713d 4829 Fix de-denters cornercase. (Bug#15731)
bc9222c9 4830
cb3a1380
SM
48312013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
4832
4833 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
4834 (advice--make): Pay attention to `depth'.
4835 (advice--make-1): Don't autoload commands eagerly.
4836 * emacs-lisp/elp.el (elp-instrument-function):
4837 * emacs-lisp/trace.el (trace-function-internal):
4838 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
4839
4840 * iswitchb.el (iswitchb-mode): Don't belittle ido.
4841
01633a17
EZ
48422013-12-12 Eli Zaretskii <eliz@gnu.org>
4843
4844 * term/w32-win.el (w32-handle-dropped-file):
4845 * startup.el (normal-top-level):
4846 * net/browse-url.el (browse-url-file-url):
4847 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
4848 decode file names using 'utf-8' rather than
4849 file-name-coding-system.
4850
09faee72
FEG
48512013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
4852
4853 * progmodes/python.el (python-indent-context)
4854 (python-indent-calculate-indentation): Fix auto-identation
e9dc713d 4855 behavior for comment blocks. (Bug#15916)
09faee72 4856
f4f84024 48572013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 4858
cb3a1380
SM
4859 * progmodes/python.el (python-indent-calculate-indentation):
4860 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
4861 operators when they are just string constituents. (Bug#15812)
4862
d5ccb7be
JL
48632013-12-12 Juri Linkov <juri@jurta.org>
4864
4865 * uniquify.el (uniquify-buffer-name-style): Change default to
4866 `post-forward-angle-brackets'.
4867
4868 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
4869 `uniquify'. Change default to `post-forward-angle-brackets'.
4870
7b3f5679
GM
48712013-12-11 Glenn Morris <rgm@gnu.org>
4872
4873 * emacs-lisp/package.el (finder-list-matches):
4874 Autoload rather than falsely declaring.
4875
f4fe8fdd
TZ
48762013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
4877
4878 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
4879 (eww-mode-map): Use them.
4880
3c29190f
MR
48812013-12-11 Martin Rudalics <rudalics@gmx.at>
4882
4883 * window.el (display-buffer-in-side-window): Fix doc-string
4884 (Bug#16115).
4885
0cd616a2
JB
48862013-12-11 Juanma Barranquero <lekktu@gmail.com>
4887
4888 * vc/vc-git.el: Silence byte-compiler warnings.
4889 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
4890 (log-edit-set-header): Declare.
4891
3ef8e0d1
EZ
48922013-12-11 Eli Zaretskii <eliz@gnu.org>
4893
4894 * Makefile.in (custom-deps, finder-data): Run output file names
4895 through unmsys--file-name. (Bug#16099)
4896
afdadaf7
SM
48972013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
4898
7ae3ae39 4899 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 4900 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 4901
5b4f37ab
SM
4902 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
4903 instead of deleting the selection "by hand" (bug#16098).
4904 Rely on insert-for-yank to yank rectangles.
4905 (cua-highlight-region-shift-only): Mark obsolete.
4906 (cua-mode): Don't enable/disable transient-mark-mode,
4907 shift-select-mode (cua-mode works both with and without them), and
4908 pc-selection-mode (obsolete).
4909 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
4910 (cua--deactivate-rectangle): Deactivate it.
4911
4b72c12b
SM
4912 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
4913 (delete-selection-helper): Make sure yank starts at the top of the
4914 deleted region.
4915 (minibuffer-keyboard-quit): Use region-active-p.
4916
e82af72d
SM
4917 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
4918
afdadaf7
SM
4919 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
4920 to `delete' (bug#16109).
4921
ed4bc201
RS
49222013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4923
4924 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
4925 info manual and show keybindings and set `:group' keyword.
4926
bb8097b9
JL
49272013-12-11 Juri Linkov <juri@jurta.org>
4928
4929 * delsel.el (delete-active-region): Let-bind `this-command'
4930 to prevent `kill-region' from changing its original value.
4931 (delete-selection-helper): Handle `overwrite-mode' for the type
4932 `kill' exactly the same way as for the type `t'.
4933 (insert-char, quoted-insert, reindent-then-newline-and-indent):
4934 Support more commands. (Bug#13312)
4935
c1916ff5
JL
49362013-12-11 Juri Linkov <juri@jurta.org>
4937
4938 * bindings.el: Map kp keys to non-kp keys systematically
4939 with basic modifiers control, meta and shift. (Bug#14397)
4940
7514d3f8 49412013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
b68cf43c
KN
4942
4943 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
4944 "Close browser" menu items. Fix wrong function of "List
4945 bookmarks".
4946
4cc51eaf
JL
49472013-12-11 Juri Linkov <juri@jurta.org>
4948
4949 * misearch.el (multi-isearch-buffers): Set the value of
4950 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
4951 arg of isearch-forward to t.
4952 (multi-isearch-buffers-regexp): Set the value of
4953 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
4954 arg of isearch-forward-regexp to t.
4955 (multi-isearch-files): Set the value of
4956 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
4957 arg of isearch-forward to t.
4958 (multi-isearch-files-regexp): Set the value of
c295fc18 4959 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
4cc51eaf
JL
4960 arg of isearch-forward-regexp to t. (Bug#16035)
4961
4962 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
4963 arg of isearch-forward to t.
4964 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
4965 arg of isearch-forward-regexp to t.
4966 (dired-isearch-filter-filenames): Remove unnecessary check for
4967 `dired-isearch-filenames'.
4968
4969 * comint.el (comint-history-isearch-backward):
4970 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
4971 (comint-history-isearch-backward-regexp):
4972 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
4973
ceac12b7
EZ
49742013-12-10 Eli Zaretskii <eliz@gnu.org>
4975
4976 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
4977 unmsys--file-name. (Bug#16099)
4978
5a565782
TZ
49792013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
4980
cb3a1380
SM
4981 * emacs-lisp/package.el (package-keyword-button-action):
4982 Remove finder.el require dependency.
5a565782 4983
a81fc7ba
TZ
49842013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
4985
4986 * emacs-lisp/package.el: Require finder.el.
4987 (describe-package-1): Add keyword buttons.
4988 (package-make-button): New convenience function.
4989 (package-keyword-button-action): Keyword button action using
e0eb0550 4990 `finder-list-matches'.
a81fc7ba 4991
6aaca951
EZ
49922013-12-09 Eli Zaretskii <eliz@gnu.org>
4993
4994 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
4995 last commit.
4996
a1099a91
MA
49972013-12-09 Michael Albinus <michael.albinus@gmx.de>
4998
4999 * autorevert.el (auto-revert-notify-add-watch): Do not handle
5000 symlinked files.
5001
8212d9c0
DG
50022013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5003
5004 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5005 after the end of a percent literal.
5006
8f48d131
CD
50072013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
5008
cb3a1380
SM
5009 * progmodes/ruby-mode.el (ruby-forward-string): Document.
5010 Handle caret-delimited strings (Bug#16079).
8f48d131 5011
ff8c9764
DG
50122013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5013
cb3a1380
SM
5014 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
5015 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
5016 `ruby-parse-partial' (Bug#16078).
5017
d64643b4
LL
50182013-12-09 Leo Liu <sdl.web@gmail.com>
5019
5020 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
5021
47e59c66
DG
50222013-12-08 Dmitry Gutov <dgutov@yandex.ru>
5023
5024 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
5025 (js-switch-indent-offset): New option.
5026 (js--proper-indentation): Use it. And handle the case when
5027 "default" is actually a key in an object literal.
5028 (js--same-line): New function.
5029 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
5030 (js--indent-in-array-comp, js--array-comp-indentation):
5031 New functions.
47e59c66
DG
5032 (js--proper-indentation): Use them, to handle array comprehension
5033 continuations.
5034
974ebc9c
LL
50352013-12-08 Leo Liu <sdl.web@gmail.com>
5036
5037 * progmodes/flymake.el (flymake-highlight-line): Re-write.
5038 (flymake-make-overlay): Remove arg MOUSE-FACE.
5039 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
5040
27262e39
SM
50412013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5042
5043 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
5044 New function.
5045 (redisplay-highlight-region-function): Use it.
5046
5047 * emulation/cua-base.el (cua--explicit-region-start)
5048 (cua--last-region-shifted): Remove.
5049 (cua--deactivate): Use deactivate-mark.
5050 (cua--pre-command-handler-1): Don't handle shift-selection.
5051 (cua--post-command-handler-1): Don't change transient-mark-mode.
5052 (cua--select-keymaps): Use region-active-p rather than
5053 cua--explicit-region-start or cua--last-region-shifted.
5054 (cua-mode): Enable shift-select-mode.
5055
6407822c
LL
50562013-12-08 Leo Liu <sdl.web@gmail.com>
5057
27262e39
SM
5058 * progmodes/flymake.el (flymake-popup-current-error-menu):
5059 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
5060 (flymake-posn-at-point-as-event, flymake-popup-menu)
5061 (flymake-make-emacs-menu): Remove. (Bug#16077)
5062
00a2b823
SM
50632013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5064
02033d49
SM
5065 * rect.el (rectangle-mark-mode): Activate mark even if
5066 transient-mark-mode is off (bug#16066).
5067 (rectangle--highlight-for-redisplay): Fix boundary condition when point
5068 is > mark and at bolp.
5069
6f8dfccf
SM
5070 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
5071 (region-extract-function): Use it.
5072 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
5073 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
5074 Delete functions.
5075 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
5076 kill-ring-save, kill-region, delete-char, delete-forward-char.
5077 Ignore self-insert-iso.
5078
5079 * emulation/cua-gmrk.el (cua--init-global-mark):
5080 Ignore `self-insert-iso'.
5081
5082 * emulation/cua-base.el (cua--prefix-copy-handler)
5083 (cua--prefix-cut-handler): Rely on region-extract-function rather than
5084 checking cua--rectangle.
5085 (cua-delete-region): Use region-extract-function.
5086 (cua-replace-region): Delete function.
5087 (cua-copy-region, cua-cut-region): Obey region-extract-function.
5088 (cua--pre-command-handler-1): Don't do the delete-selection thing.
5089 (cua--self-insert-char-p): Ignore `self-insert-iso'.
5090 (cua--init-keymaps): Don't remap delete-selection commands.
5091 (cua-mode): Use delete-selection-mode instead of rolling our own
5092 (bug#16085).
5093
5094 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
5095 Obey region-extract-function.
5096
00a2b823
SM
5097 Make registers and delete-selection-mode work on rectangles.
5098 * register.el (describe-register-1): Don't modify the register's value.
5099 (copy-to-register): Obey region-extract-function.
5100 * delsel.el (delete-active-region): Obey region-extract-function.
5101
a92fa5f1
LL
51022013-12-08 Leo Liu <sdl.web@gmail.com>
5103
5104 * progmodes/flymake.el (flymake, flymake-error-bitmap)
5105 (flymake-warning-bitmap, flymake-fringe-indicator-position)
5106 (flymake-compilation-prevents-syntax-check)
5107 (flymake-start-syntax-check-on-newline)
5108 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
5109 (flymake-start-syntax-check-on-find-file, flymake-log-level)
5110 (flymake-xml-program, flymake-master-file-dirs)
5111 (flymake-master-file-count-limit)
5112 (flymake-allowed-file-name-masks): Relocate.
5113 (flymake-makehash, flymake-float-time)
5114 (flymake-replace-regexp-in-string, flymake-split-string)
5115 (flymake-get-temp-dir): Remove.
5116 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
5117 (flymake-current-row, flymake-selected-frame)
5118 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
5119 related functions. (Bug#16077)
5120
73c8ceea
BB
51212013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
5122
5123 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
5124
faec28d9
TH
51252013-12-07 Tassilo Horn <tsdh@gnu.org>
5126
5127 * help-fns.el (describe-function-1): Use new advice-* functions
5128 rather than old ad-* functions. Fix function type description and
5129 source links for advised functions and subrs.
5130
e330b646
LMI
51312013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5132
00a2b823 5133 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 5134
4803595d
MA
51352013-12-06 Michael Albinus <michael.albinus@gmx.de>
5136
5137 * progmodes/compile.el (compilation-start):
5138 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
5139
5140 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
5141 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
5142
fa834a93
DG
51432013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5144
00a2b823
SM
5145 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5146 Touch up the last change.
fa834a93 5147
b2856a6f
LL
51482013-12-06 Leo Liu <sdl.web@gmail.com>
5149
5150 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
5151 (inferior-octave-startup): Always use "octave> " for prompt.
5152 (octave-goto-function-definition)
5153 (octave-sync-function-file-names)
5154 (octave-find-definition-default-filename): Remove redundant backquotes.
5155
af67e79a
DG
51562013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5157
5158 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
5159 syntax for `?'.
5160 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
5161 where appropriate already.
5162 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
5163 end of method names (Bug#15874).
5164
bf093209
JL
51652013-12-06 Juri Linkov <juri@jurta.org>
5166
5167 * isearch.el (isearch--saved-overriding-local-map):
5168 New internal variable.
5169 (isearch-mode): Set it to the initial value of
5170 `overriding-terminal-local-map'.
5171 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
5172 with `isearch--saved-overriding-local-map'. (Bug#16035)
5173
16588fad
DG
51742013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5175
00a2b823
SM
5176 * progmodes/octave.el (inferior-octave-completion-table):
5177 Turn back into function, use `completion-table-with-cache'
16588fad
DG
5178 (Bug#11906). Update all references.
5179
5180 * minibuffer.el (completion-table-with-cache): New function.
5181
bf4906d7
CD
51822013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
5183
5184 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
5185
ff69c18f
TZ
51862013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
5187
5188 * net/eww.el (eww-current-source): New variable to store page
5189 source.
5190 (eww-display-html, eww-mode, eww-save-history)
5191 (eww-restore-history): Use it.
5192 (eww-view-source): New command to view page source.
5193 Opportunistically uses `html-mode' to highlight the buffer.
5194 (eww-mode-map): Install it.
5195
b85eff45
MA
51962013-12-05 Michael Albinus <michael.albinus@gmx.de>
5197
5198 * net/dbus.el (dbus-unregister-service)
5199 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
5200 Fix docstring.
5201 (dbus-unregister-service): Skip :serial entries in
5202 `dbus-registered-objects-table'.
5203 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
5204
39eb0899
TZ
52052013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
5206
5207 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
5208 around keywords with extra `split-string' argument.
5209
456760a5
MR
52102013-12-04 Martin Rudalics <rudalics@gmx.at>
5211
5212 * windmove.el (windmove-other-window-loc): Handle navigation
5213 between windows (excluding the minibuffer window - Bug#16017).
5214
81961e4c
MA
52152013-12-04 Michael Albinus <michael.albinus@gmx.de>
5216
5217 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
5218 in D-Bus type syntax.
5219 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
5220 preserve unibyte strings. (Bug#16048)
5221
8497f938
SM
52222013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
5223
5224 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
5225 Call force-mode-line-update is the proper buffer (bug#16042).
5226
dda61916
DG
52272013-12-04 Dmitry Gutov <dgutov@yandex.ru>
5228
5229 * vc/log-edit.el (log-edit-add-new-comment): Rename to
5230 `log-edit-remember-comment', make argument optional. Adjust all
5231 callers.
5232 (log-edit-mode): Add `log-edit-remember-comment' to
5233 `kill-buffer-hook' locally.
5234 (log-edit-kill-buffer): Don't remember comment explicitly since
5235 the buffer is killed anyway.
5236
c085e5b9
JL
52372013-12-04 Juri Linkov <juri@jurta.org>
5238
5239 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
5240 add-hook and remove-hook for multi-buffer search. (Bug#16035)
5241
e0eb0550 52422013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
d6f2380e
TR
5243
5244 * notifications.el (notifications-close-notification): Call the
81961e4c 5245 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 5246
39fa32d6
KY
52472013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
5248
5249 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
5250
9139632a
JL
52512013-12-03 Juri Linkov <juri@jurta.org>
5252
5253 * progmodes/compile.el (compilation-start): Rename window alist
5254 entry `no-display-ok' to `allow-no-window'.
5255
5256 * simple.el (shell-command): Add window alist entry
5257 `allow-no-window' to `display-buffer'.
5258 (async-shell-command): Doc fix.
5259
5260 * window.el (display-buffer-no-window): New action function.
5261 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
5262
0f457a37
DG
52632013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5264
5265 * vc/log-edit.el (log-edit-set-header): Extract from
5266 `log-edit-toggle-header'.
5267 (log-edit-extract-headers): Separate the summary, when extracted
5268 from header, from the rest of the message with an empty line.
5269
5270 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
5271 line, if present, to the Summary header.
5272
0962f376
SM
52732013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5274
5275 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
5276 in current-buffer (bug#16029).
5277
f345395c
HE
52782013-12-02 Helmut Eller <eller.helmut@gmail.com>
5279
5280 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
5281 (debugger-mode-map): Bind it.
5282 (debugger--backtrace-base): New function.
5283 (debugger-eval-expression): Use it.
5284 (debugger-frame-number): Skip local vars when present.
5285 (debugger--locals-visible-p, debugger--insert-locals)
5286 (debugger--show-locals, debugger--hide-locals): New functions.
5287
a8a15d9d
MA
52882013-12-02 Michael Albinus <michael.albinus@gmx.de>
5289
5290 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
5291 "LC_ALL".
5292 (tramp-get-remote-locale): New defun.
5293 (tramp-open-connection-setup-interactive-shell): Use it.
5294
0518b057
LL
52952013-12-02 Leo Liu <sdl.web@gmail.com>
5296
5297 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
5298
5299 * progmodes/sh-script.el (sh-shell-process):
5300 * progmodes/octave.el (inferior-octave-process-live-p):
5301 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
5302 (gdb-inferior-io-sentinel):
5303 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
5304
3adc9c6d
DG
53052013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5306
5307 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
5308 `save-selected-window' to `log-edit-hide-buf'. This makes
5309 `log-edit-show-files' idempotent.
5310 (log-edit-show-files): Mark the new window as dedicated.
5311
47e8b74e
DG
53122013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5313
5314 * vc/log-edit.el (log-edit-mode-map): Add binding for
5315 `log-edit-kill-biffer'.
5316 (log-edit-hide-buf): Add a FIXME comment.
5317 (log-edit-add-new-comment): New function, extracted from
5318 `log-edit-done'.
5319 (log-edit-done, log-edit-add-to-changelog): Use it.
5320 (log-edit-kill-buffer): New command.
5321
1f6e1bb0
LMI
53222013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5323
5324 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
5325 instead of killing the buffer.
5326
fb651d15
SM
53272013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
5328
5329 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
5330
8feacce0
RS
53312013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5332
fb651d15 5333 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 5334 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
5335 (eww-form-checkbox, eww-toggle-checkbox):
5336 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
5337
e0eb0550 5338 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
fb651d15 5339 (shr--get-media-pref, shr--extract-best-source): New function.
e0eb0550 5340 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
ad9a773c
RS
5341 no :src tag was specified.
5342
fb651d15 5343 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
5344 (eww-render): Handle `eww-use-external-browser-for-content-type'.
5345 Use \\` to match beginning of string instead of ^.
5346 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 5347 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 5348
177948a5
RS
5349 * net/shr.el (shr-tag-video): Display content for video if no
5350 poster is available.
eb2dd24d 5351 (shr-tag-audio): Add support for <audio> tag.
177948a5 5352
e0eb0550 5353 * net/eww.el (eww-text-input-types): New const.
177948a5
RS
5354 (eww-process-text-input): Treat input types in
5355 `eww-text-input-types' as text.
5356
8feacce0
RS
5357 * net/shr.el (shr-tag-table): Fix comment typo.
5358
513562a1
LMI
53592013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5360
5361 * net/eww.el (eww-follow-link): New command to avoid reloading
5362 pages when we follow #target links (bug#15243).
de8a5633 5363 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 5364
9dd99753
KN
53652013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5366
5367 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
5368 forms.
5369
3e9876de
LMI
53702013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5371
5372 * net/eww.el (eww-restore-history): Update the window title after
5373 moving in the history.
ab6dea82 5374 (eww-current-dom): New variable used to save the current DOM.
3e9876de 5375
52789f7f
DG
53762013-12-01 Dmitry Gutov <dgutov@yandex.ru>
5377
5378 * vc/log-edit.el (log-edit-mode-map): Add binding for
5379 `log-edit-beginning-of-line'.
5380 (log-edit-setup-add-author): New user option.
5381 (log-edit-beginning-of-line): New command.
5382 (log-edit): Move major mode call above the contents setup so that
5383 the local variable values are already applied.
5384 (log-edit): Only insert "Author: " when
5385 `log-edit-setup-add-author' is non-nil.
5386 (log-edit): When SETUP is non-nil, position point after ": "
5387 instead of point-min.
5388
2e6710c3
GM
53892013-12-01 Glenn Morris <rgm@gnu.org>
5390
5391 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
5392
fadec31f
EZ
53932013-11-30 Eli Zaretskii <eliz@gnu.org>
5394
5395 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 5396 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
5397 visible. (Bug#16014)
5398
10634b40 53992013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
5400
5401 Support resizing frames and windows pixelwise.
5402 * cus-start.el (frame-resize-pixelwise)
5403 (window-resize-pixelwise): New entries.
5404 * emacs-lisp/debug.el (debug): Use window-total-height instead
5405 of window-total-size.
5406 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
9dda75ad
MR
5407 * help.el (describe-bindings-internal): Use help-buffer as
5408 argument for with-help-window.
880e6158
MR
5409 (temp-buffer-max-width): New option.
5410 (resize-temp-buffer-window, help-window-setup)
5411 (with-help-window): Rewrite.
5412 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
5413 dragging dividers.
5414 * window.el (frame-char-size, window-min-pixel-height)
5415 (window-safe-min-pixel-height, window-safe-min-pixel-width)
5416 (window-min-pixel-width, window-safe-min-pixel-size)
5417 (window-combination-p, window-safe-min-size)
5418 (window-resizable-p, window--size-to-pixel)
5419 (window--pixel-to-size, window--resize-apply-p): New functions.
5420 (window-safe-min-height): Fix doc-string.
5421 (window-size, window-min-size, window--min-size-1)
5422 (window-sizable, window-sizable-p, window--min-delta-1)
5423 (window-min-delta, window--max-delta-1, window-max-delta)
5424 (window--resizable, window--resizable-p, window-resizable)
5425 (window-full-height-p, window-full-width-p, window-at-side-p)
5426 (window--in-direction-2, window-in-direction)
5427 (window--resize-reset-1, window--resize-mini-window)
5428 (window-resize, window-resize-no-error)
5429 (window--resize-child-windows-normal)
5430 (window--resize-child-windows, window--resize-siblings)
5431 (window--resize-this-window, window--resize-root-window)
5432 (window--resize-root-window-vertically)
5433 (adjust-window-trailing-edge, enlarge-window, shrink-window)
5434 (maximize-window, minimize-window, delete-window)
5435 (quit-restore-window, window-split-min-size, split-window)
5436 (balance-windows-2, balance-windows)
5437 (balance-windows-area-adjust, balance-windows-area)
5438 (window--state-get-1, window-state-get, window--state-put-1)
5439 (window--state-put-2, window-state-put)
fb651d15
SM
5440 (display-buffer-record-window, window--display-buffer):
5441 Make functions handle pixelwise sizing of windows.
880e6158 5442 (display-buffer--action-function-custom-type)
fb651d15
SM
5443 (display-buffer-fallback-action):
5444 Add display-buffer-in-previous-window.
880e6158
MR
5445 (display-buffer-use-some-window): Resize window to height it had
5446 before.
5447 (fit-window-to-buffer-horizontally): New option.
5448 (fit-frame-to-buffer): Describe new values.
5449 (fit-frame-to-buffer-bottom-margin): Replace with
5450 fit-frame-to-buffer-margins.
5451 (window--sanitize-margin): New function.
5452 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
5453 using window-text-pixel-size.
5454
f9b697dd
GM
54552013-11-30 Glenn Morris <rgm@gnu.org>
5456
3e2fb4db
GM
5457 * emacs-lisp/bytecomp.el (byte-compile-form):
5458 Make the `interactive-only' warning like the `obsolete' one.
5459 * comint.el (comint-run):
5460 * files.el (insert-file-literally, insert-file):
5461 * replace.el (replace-string, replace-regexp):
5462 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
5463 (goto-line, insert-buffer, next-line, previous-line):
5464 Tweak `interactive-only' spec.
5465
f9b697dd
GM
5466 Stop keeping (most) generated cedet grammar files in the repository.
5467 * Makefile.in (semantic): New.
5468 (compile-main): Depend on semantic.
5469
da048127
SM
54702013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5471
7784b779
SM
5472 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
5473 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
5474
4e36a6a6
SM
5475 * uniquify.el (uniquify-buffer-name-style): Change default.
5476
5477 * loadup.el: Preload "uniquify".
5478
e0ba1308
SM
5479 * time.el (display-time-update): Update all mode lines (bug#15999).
5480
da048127
SM
5481 * electric.el (electric-indent-mode): Enable by default.
5482 * loadup.el: Preload "electric".
5483
015b3b3e
BB
54842013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
5485
5486 * emacs-lisp/helpers.el (string-empty-p): New function.
5487 (string-blank-p): New function.
5488
7efb806d
AP
54892013-11-29 Andreas Politz <politza@hochschule-trier.de>
5490
5491 * imenu.el (imenu--index-alist): Add missing dot to the docstring
5492 (Bug#14029).
5493
c8f0efc2
AP
54942013-11-29 Andreas Politz <politza@fh-trier.de>
5495 * imenu.el (imenu--subalist-p): Don't error on non-conses and
5496 allow non-lambda lists as functions.
5497 (imenu--in-alist): Don't recurse into non-subalists.
5498 (imenu): Don't pass function itself as an argument (Bug#14029).
5499
bd15d9d1
SM
55002013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5501
5502 * progmodes/python.el (python-mode-map): Remove binding for ":".
5503 (python-indent-electric-colon): Remove command.
5504 (python-indent-post-self-insert-function): Integrate the previous code
5505 of python-indent-electric-colon. Make it conditional on
5506 electric-indent-mode.
5507 (python-mode): Add ?: to electric-indent-chars.
5508 Move python-indent-post-self-insert-function to the end of
5509 post-self-insert-hook.
5510
1b10adb6
SM
55112013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
5512
655ab9a3
SM
5513 * doc-view.el (doc-view-goto-page): Update mode-line.
5514
1b10adb6
SM
5515 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
5516
7e3bf78c
GM
55172013-11-27 Glenn Morris <rgm@gnu.org>
5518
5519 * international/charprop.el, international/uni-bidi.el:
5520 * international/uni-category.el, international/uni-combining.el:
5521 * international/uni-comment.el, international/uni-decimal.el:
5522 * international/uni-decomposition.el, international/uni-digit.el:
5523 * international/uni-lowercase.el, international/uni-mirrored.el:
5524 * international/uni-name.el, international/uni-numeric.el:
5525 * international/uni-old-name.el, international/uni-titlecase.el:
5526 * international/uni-uppercase.el:
5527 Remove generated files from VCS repository.
5528
fb6a5d68
EZ
55292013-11-27 Eli Zaretskii <eliz@gnu.org>
5530
5531 * filenotify.el (file-notify-add-watch): Don't special-case
5532 w32notify when computing the directory to watch.
5533
cb6c95a3
GM
55342013-11-27 Glenn Morris <rgm@gnu.org>
5535
20372d0c
GM
5536 Make bootstrap without generated uni-*.el files possible again.
5537 * loadup.el: Update command-line-args checking for unidata-gen.
5538 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
5539 * composite.el, international/characters.el:
5540 Handle unicode tables being undefined.
5541
52d6635f 5542 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
5543 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
5544 (compile-main): Depend on leim rule.
5545 (leim): New rule.
5546 * loadup.el: Move leim-list.el to leim/ subdirectory.
5547 * startup.el (normal-top-level): No more leim directory.
5548 * international/ja-dic-cnv.el (skkdic-convert):
5549 Disable version-control and autoloads in output files.
5550 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
5551 Disable version-control and autoloads in output files.
5552 * leim/quail: Move here from ../leim.
5553 * leim/quail/hangul.el (hangul-input-method-activate):
5554 Add autoload cookie.
5555 (generated-autoload-load-name): Set file-local value.
5556 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
5557 (generated-autoload-load-name): Set file-local value.
5558
7514d3f8 55592013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
e47112ee 5560
e0eb0550 5561 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
7514d3f8 5562 (eww-add-bookmark): Ask confirmation when add to bookmarks.
e0eb0550 5563 (eww-quit): Ask confirmation before quitting eww.
e47112ee 5564
0e2c793f
EZ
55652013-11-26 Eli Zaretskii <eliz@gnu.org>
5566
5567 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
5568 reading output from Diff on MS-Windows and MS-DOS.
5569
447bdcb8
BB
55702013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
5571
5572 * emacs-lisp/helpers.el (string-reverse): New function.
5573
5fbf6856
MA
55742013-11-26 Michael Albinus <michael.albinus@gmx.de>
5575
5576 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
5577 names on MS Windows, like "/[::1]:".
5578
5579 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
5580 SWITCHES.
5581
624780f0
GM
55822013-11-26 Glenn Morris <rgm@gnu.org>
5583
0bf3f0fa
GM
5584 * progmodes/python.el (python-indent-guess-indent-offset):
5585 Avoid corner-case error. (Bug#15975)
5586
624780f0
GM
5587 Preload leim-list.el. (Bug#4789)
5588 * loadup.el: Load leim-list.el when found.
5589 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
5590
4301875e 55912013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
5592
5593 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
5594
4301875e
BB
5595 * emacs-lisp/helpers.el (string-join): New function.
5596
1633a815 55972013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
5598
5599 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5600 Mark as obsolete and replace it with a symbol property.
5601 (byte-compile-form): Use new 'interactive-only property.
5602 * comint.el, files.el, replace.el, simple.el:
5603 Apply new 'interactive-only properly.
5604
00139435
MR
56052013-11-25 Martin Rudalics <rudalics@gmx.at>
5606
5607 * window.el (display-buffer-at-bottom): Make sure that
5608 split-window-sensibly creates the new window on bottom
5609 (Bug#15961).
5610
5f5b128d
DK
56112013-11-23 David Kastrup <dak@gnu.org>
5612
5613 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
5614 on the conflict markers when available.
5615 (smerge--get-marker): New function.
5616 (smerge-end-re, smerge-base-re): Add subgroup.
5617
623891e5
SM
56182013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
5619
5620 * frame.el (handle-focus-in, handle-focus-out): Add missing
5621 interactive spec.
5622
05ca27d8
MA
56232013-11-25 Michael Albinus <michael.albinus@gmx.de>
5624
5625 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
5626 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
5627
511fa0d3
SM
56282013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
5629
e82ad66c
SM
5630 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
5631 (gomoku--last-pos): New var.
5632 (gomoku--intangible-chars): New const.
5633 (gomoku--intangible): New function.
5634 (gomoku-mode): Use it. Derive from special-mode.
5635 (gomoku-move-up): Adjust line count.
5636 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
5637 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
5638 Simplify accordingly.
5639
511fa0d3
SM
5640 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
5641 Remove blink-cursor code.
5642 (blink-cursor-timer-function, blink-cursor-suspend):
5643 Don't special-case GUIs.
5644 (blink-cursor-mode): Use focus-in/out-hook.
5645
6f20dd03
DG
56462013-11-25 Dmitry Gutov <dgutov@yandex.ru>
5647
5648 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
5649 work when annotation is invisible (Bug#13886).
5650
431dec31 56512013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
5652
5653 * json.el (json-alist-p): Only return non-nil if the alist has
5654 simple keys (Bug#13518).
5655
431dec31 56562013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
5657
5658 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
5659 when control-statement is the first statement in a buffer (Bug#15956).
5660
ee4f0261
DG
56612013-11-24 Dmitry Gutov <dgutov@yandex.ru>
5662
5663 * imenu.el (imenu-generic-skip-comments-and-strings):
5664 New option (Bug#15560).
5665 (imenu--generic-function): Use it.
5666
c484f866
JS
56672013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
5668
e9dc713d
JB
5669 * minibuffer.el (completion--in-region-1): Scroll the correct window.
5670 (Bug#13898)
c484f866 5671
41ce6f70
BB
56722013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
5673
b55aea38
BB
5674 * emacs-lisp/helpers.el: Add some string helpers.
5675 (string-trim-left): Removes leading whitespace.
5676 (string-trim-right): Removes trailing whitespace.
5677 (string-trim): Removes leading and trailing whitespace.
5678
41ce6f70
BB
5679 * subr.el (string-suffix-p): New function.
5680
3cfb6af3
GM
56812013-11-23 Glenn Morris <rgm@gnu.org>
5682
5683 * progmodes/python.el (python-shell-send-file):
5684 Add option to delete file when done. (Bug#15647)
5685 (python-shell-send-string, python-shell-send-region): Use it.
5686
c27924b7
IS
56872013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
5688
e1b01c7f
IS
5689 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
5690 to set buffer-read-only to t, never to nil. (Bug#15938)
5691
c27924b7
IS
5692 * textmodes/tex-mode.el (latex-noindent-environments):
5693 Add safe-local-variable property. (Bug#15936)
5694
17e0445b
GM
56952013-11-23 Glenn Morris <rgm@gnu.org>
5696
92f78ea3
GM
5697 * textmodes/enriched.el (enriched-mode): Doc fix.
5698 * emacs-lisp/authors.el (authors-renamed-files-alist):
5699 Add enriched.doc -> enriched.txt.
5700
17e0445b
GM
5701 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
5702
965bb23a
LL
57032013-11-22 Leo Liu <sdl.web@gmail.com>
5704
5705 * progmodes/octave.el (inferior-octave-startup): Spit out error
5706 message.
5707
d19ffd64
BB
57082013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
5709
5710 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
5711 Improve docstring.
15ba2182
BB
5712 Add :version.
5713 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 5714
7a7567d2
LL
57152013-11-22 Leo Liu <sdl.web@gmail.com>
5716
5717 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
5718 (Bug#15076)
8c09f64b
LL
5719 (octave-help-mode): Adapt to change to help-mode-finish to use
5720 derived-mode-p on 2013-09-17.
5721 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 5722 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 5723
724bc265
LL
57242013-11-22 Leo Liu <sdl.web@gmail.com>
5725
5726 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
5727 (inferior-octave-startup, inferior-octave-check-process)
5728 (inferior-octave-track-window-width-change)
5729 (octave-completion-at-point, octave-eldoc-function): Use it.
5730 (octave-kill-process): Provide confirmation. (Bug#10564)
5731
38637cca
LL
57322013-11-21 Leo Liu <sdl.web@gmail.com>
5733
511fa0d3
SM
5734 * progmodes/octave.el (octave-mode, inferior-octave-mode):
5735 Fix obsolete variable comment-use-global-state.
38637cca 5736
06e752b4
RS
57372013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5738
511fa0d3
SM
5739 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
5740 Add `octave-source-file'.
06e752b4
RS
5741 (octave-source-file): New function. (Bug#15935)
5742
7514d3f8 57432013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
604ede6c
TZ
5744
5745 * net/eww.el (eww-local-regex): New variable.
5746 (eww): Use it to detect localhost and similar.
5747
b6ffa04a
LL
57482013-11-21 Leo Liu <sdl.web@gmail.com>
5749
5750 Add completion for command `ag'.
2021a200
LL
5751 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
5752 (pcomplete/ag): New function.
e9dc713d 5753 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 5754
d1a6bccc
SM
57552013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5756
5757 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
5758 (bug#14646).
5759 (make-obsolete): Remove interactive spec.
5760
2df10228
GM
57612013-11-21 Glenn Morris <rgm@gnu.org>
5762
5763 * startup.el (command-line-1): Use path-separator with -L.
5764
86fd16b6
TZ
57652013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
5766
5767 * emacs-lisp/package.el (describe-package-1): Add package archive
5768 to shown fields.
5769
0449d6cd 57702013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
5771
5772 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
5773 Change default to "# encoding: %s" to differentiate it from the
5774 default Ruby encoding comment template.
5775
dc7e8c17 57762013-11-20 era eriksson <era+emacsbugs@iki.fi>
5777
5778 * ses.el (ses-mode): Doc fix. (Bug#14748)
5779
f0cfa5fe
LL
57802013-11-20 Leo Liu <sdl.web@gmail.com>
5781
5782 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
5783
826dc7b6
DN
57842013-11-19 Dan Nicolaescu <dann@gnu.org>
5785
5786 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
5787 when rebase or bisect are in progress.
5788
a6e3a5d5
XF
57892013-11-19 Xue Fuqiao <xfq.free@gmail.com>
5790
5791 * filenotify.el (file-notify-add-watch): Doc fix.
5792
f130cb76
LL
57932013-11-19 Leo Liu <sdl.web@gmail.com>
5794
e0855d7d
LL
5795 * obsolete/rcompile.el: Mark obsolete.
5796
f130cb76 5797 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
5798 (compilation-goto-locus, compilation-find-file):
5799 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
5800 (Bug#13594)
5801
5802 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
5803 new parameter no-display-ok. Return either a window or nil
5804 but never a non-window value.
f130cb76 5805
1f35d401
SM
58062013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
5807
25158c76
SM
5808 * electric.el (electric-indent-mode-map): Remove.
5809 (electric-indent-mode): Change the global-map instead (bug#15915).
5810
5811 * textmodes/text-mode.el (paragraph-indent-minor-mode):
5812 Use add-function.
1f35d401 5813
9bc67baa
SM
58142013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
5815
986545b5
SM
5816 * emacs-lisp/nadvice.el (remove-function): Align with
5817 add-function's behavior.
5818
9bc67baa
SM
5819 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
5820 (gdb--string-regexp): New constant.
5821 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
5822 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
5823 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
5824 submatch 1.
5825 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
5826 Adjust use accordingly.
5827 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
5828
56cd894e
AS
58292013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
5830
5831 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
5832 interpolation curlies (Bug#15914).
5833
014690de
JB
58342013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
5835
5836 * calc/calc.el (calc-context-sensitive-enter): New variable.
5837 (calc-enter): Use `calc-context-sensitive-enter'.
5838
7e26a6c3
TZ
58392013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
5840
5841 * progmodes/cfengine.el: Version bump.
5842 (cfengine-cf-promises): New defcustom to locate cf-promises.
5843 (cfengine3-vartypes): Add new "data" type.
5844 (cfengine3--current-word): New function to get current name-like
5845 word or its bounds.
5846 (cfengine3--current-function): New function to look up a CFEngine
5847 function's definition.
5848 (cfengine3-format-function-docstring): New function.
5849 (cfengine3-make-syntax-cache): New function.
5850 (cfengine3-documentation-function): New function: ElDoc glue.
5851 (cfengine3-completion-function): New function: completion glue.
5852 (cfengine3-mode): Set `compile-command',
5853 `eldoc-documentation-function', and add to
5854 `completion-at-point-functions'.
5855
355204dd
MA
58562013-11-16 Michael Albinus <michael.albinus@gmx.de>
5857
5858 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
5859 `tramp-current-connection'.
5860
43cebc23
DG
58612013-11-15 Dmitry Gutov <dgutov@yandex.ru>
5862
5863 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
5864 nil/self/true/false with "end of symbol".
5865
a3fed6ff
BB
58662013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
5867
5868 * subr.el (version-regexp-alist): Fix a typo.
5869
e675b3e4
MA
58702013-11-15 Michael Albinus <michael.albinus@gmx.de>
5871
5872 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
5873 "en_US.utf8" and "LC_CTYPE" to "".
5874 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
5875 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
5876
a1f03e89
LL
58772013-11-15 Leo Liu <sdl.web@gmail.com>
5878
5879 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
5880
5d9d9451
SM
58812013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5882
58362662
CS
5883 * progmodes/gud.el (ctl-x-map):
5884 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
5885 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
5886
6c1bf086
BB
58872013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
5888
0d5363c4
BB
5889 * subr.el (version-regexp-alist):
5890 Recognize hg, svn and darcs versions as snapshot versions.
5891
4e9fc48c
BB
5892 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
5893 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
5894 (ruby--encoding-comment-required-p): Extract from
5895 `ruby-mode-set-encoding'.
5896 (ruby-mode-set-encoding): Add the ability to always insert an
5897 utf-8 encoding comment. Fix and simplify coding comment update
5898 logic.
6c1bf086 5899
2f7e72f8
MA
59002013-11-14 Michael Albinus <michael.albinus@gmx.de>
5901
5902 * net/tramp-gvfs.el (top): Run init code only when
5903 `tramp-gvfs-enabled' is not nil.
5904 (tramp-gvfs-enabled): Check also :system bus.
5905
0f137a73
SM
59062013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5907
5908 Sync with upstream verilog-mode revision 78e66ba.
5909 * progmodes/verilog-mode.el (verilog-end-of-defun)
5910 (verilog-type-completion, verilog-get-list): Remove unused funcs.
5911 (verilog-get-end-of-defun): Remove unused argument.
5912 (verilog-comment-depth): Remove unused local `e'.
5913 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
5914 Don't pass arg to verilog-get-end-of-defun.
5915
1c276bdd
GM
59162013-11-14 Glenn Morris <rgm@gnu.org>
5917
5918 * obsolete/assoc.el (aget): Prefix dynamic variable.
5919
5920 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
5921
ff6ec81d
SM
59222013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5923
5924 * widget.el, hfy-cmap.el: Remove bogus package version number.
5925
75f777b6
GM
59262013-11-13 Glenn Morris <rgm@gnu.org>
5927
1d43dba1
GM
5928 * replace.el (replace-eval-replacement):
5929 Try to give more helpful error message. (Bug#15836)
5930
ff4b7bd5
GM
5931 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
5932 (archive-7z-update): Avoid custom type mismatches.
5933
75f777b6
GM
5934 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
5935
11151a06
MA
59362013-11-13 Michael Albinus <michael.albinus@gmx.de>
5937
e675b3e4 5938 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
5939 address can be empty.
5940
5941 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
5942 Accept nil SWITCHES.
5943 (tramp-gvfs-handle-write-region): Implement APPEND.
5944
7b08f97e
DG
59452013-11-12 Dmitry Gutov <dgutov@yandex.ru>
5946
5947 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
5948 binary "|" operator and closing block args delimiter.
5949 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
5950 (ruby-smie--implicit-semi-p): Not after "|" operator.
5951 (ruby-smie--closing-pipe-p): New function.
5952 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
5953 (ruby-smie-rules): Indent after "|".
5954
f201cf3a
GM
59552013-11-12 Glenn Morris <rgm@gnu.org>
5956
5957 * ps-print.el (ps-face-attribute-list):
5958 Handle anonymous faces. (Bug#15827)
5959
e6f759f9
MR
59602013-11-12 Martin Rudalics <rudalics@gmx.at>
5961
5962 * window.el (display-buffer-other-frame): Fix doc-string.
5963 (Bug#15868)
5964
ecda65d4
SM
59652013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5966
5967 * subr.el (force-mode-line-update): Delete, move to buffer.c.
5968
7ce8fcc3
MA
59692013-11-11 Michael Albinus <michael.albinus@gmx.de>
5970
5971 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
5972 (tramp-sh-handle-file-local-copy): Don't write a message when
5973 saving temporary files.
5974
5975 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
5976 both directories are remote.
5977 (tramp-smb-handle-directory-files): Do not return double entries.
5978 Do not expand full file names.
5979 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
5980 (tramp-smb-handle-write-region): Implement APPEND.
5981 (tramp-smb-get-stat-capability): Fix a stupid bug.
5982
7818df11
SM
59832013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5984
5985 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
5986
608c2085
NT
59872013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5988
5989 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
5990 throwing error over malformed let/let* (bug#15814).
5991
122a7e46
SM
59922013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5993
5994 * iswitchb.el (iswitchb-mode): Mark obsolete.
5995
766284d9
GM
59962013-11-11 Glenn Morris <rgm@gnu.org>
5997
5998 * international/uni-bidi.el, international/uni-category.el:
5999 * international/uni-name.el, international/uni-numeric.el:
6000 Regenerate for Unicode 6.3.0.
6001
7072a4e9
MA
60022013-11-10 Michael Albinus <michael.albinus@gmx.de>
6003
6004 * net/tramp.el (tramp-methods):
6005 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
6006 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
6007
c9df215b
AS
60082013-11-09 Andreas Schwab <schwab@linux-m68k.org>
6009
608c2085
NT
6010 * progmodes/sh-script.el (sh-font-lock-keywords-var):
6011 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 6012
fa47d796
DG
60132013-11-09 Dmitry Gutov <dgutov@yandex.ru>
6014
6015 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 6016 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
6017 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
6018 (ispell-complete-word): Call `ispell-lookup-words' with the value
6019 independent of `ispell-look-p'.
6020
1629a329
DG
60212013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6022
6023 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
6024 Not after "||".
6025 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
6026 their parent.
6027
ad16897c
SM
60282013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6029
6030 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
6031 (ruby-font-lock-keywords): Use backquote.
6032
ffa2df72
DG
60332013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6034
6035 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6036 (ruby-smie--backward-token): Only consider full-string matches.
6037
5b97b4c0
JD
60382013-11-08 Jan Djärv <jan.h.d@swipnet.se>
6039
6040 * faces.el (describe-face): Add distant-foreground.
6041
71731c03
BB
60422013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
6043
4e9fc48c
BB
6044 * progmodes/ruby-mode.el: Improve encoding comment handling.
6045 (ruby-encoding-magic-comment-style): New option.
6046 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
6047 (ruby--insert-coding-comment, ruby--detect-encoding):
6048 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
6049 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
6050 to control the style of the auto-inserted encoding comment.
71731c03 6051
da3b328d
DG
60522013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6053
ad16897c
SM
6054 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
6055 Use `smie-backward-sexp' with token argument.
da3b328d 6056
1606c2d3
MA
60572013-11-08 Michael Albinus <michael.albinus@gmx.de>
6058
6059 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6060 Remove instrumentation code.
6061
b0f4c320
GM
60622013-11-08 Glenn Morris <rgm@gnu.org>
6063
6064 * progmodes/autoconf.el (autoconf-mode):
6065 Tweak comment-start-skip. (Bug#15822)
6066
43668fb1
SM
60672013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6068
6069 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
6070 at bobp (bug#15826).
6071 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
6072
daddb3fd
DH
60732013-11-08 Darren Hoo <darren.hoo@gmail.com>
6074
6075 * man.el (Man-start-calling): New macro, extracted from
6076 Man-getpage-in-background.
6077 (Man-getpage-in-background): Use it.
6078 (Man-update-manpage): New command.
6079 (Man-mode-map): Bind it.
6080
1f923923
DG
60812013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6082
6083 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
6084 of "and", "or", "&&" and "||".
6085 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
6086 argument. Prohibit opening curly brace because it could only be a
6087 block opener in that position.
daddb3fd
DH
6088 (ruby-smie--forward-token, ruby-smie--backward-token):
6089 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
6090 arguments.
6091 (ruby-smie--indent-to-stmt): New function, seeks the end of
6092 previous statement or beginning of buffer.
6093 (ruby-smie-rules): Use it.
6094 (ruby-smie-rules): Check if there's a ":" before a curly block
6095 opener candidate; if there is, it's a hash.
6096
3220d527
SM
60972013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
6098
6099 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
6100 (cl--block-wrapper): Fix last accidental change.
6101
1eb1f9e0
MA
61022013-11-07 Michael Albinus <michael.albinus@gmx.de>
6103
6104 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6105 Instrument, in order to hunt failure on hydra.
6106
e6e4db3c
NT
61072013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6108
6109 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
6110 malformed bindings form (bug#15814).
6111
b420ccfc
DG
61122013-11-07 Dmitry Gutov <dgutov@yandex.ru>
6113
6114 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
6115 "." compared to " @ ". This incidentally fixes some indentation
6116 examples with "do".
e6e4db3c 6117 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
6118 (ruby-smie-grammar): New tokens: "and" and "or".
6119 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
6120 Exclude "and" and "or". Remove "do" in order to work around token
6121 priorities.
6122 (ruby-smie-rules): Add all infix tokens. Handle the case of
6123 beginning-of-buffer.
b420ccfc 6124
6b4ac03e
GM
61252013-11-06 Glenn Morris <rgm@gnu.org>
6126
6127 * Makefile.in (setwins_almost, setwins_for_subdirs):
6128 Avoid accidental matches.
6129
5ca114d1
SM
61302013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6131
6132 * menu-bar.el (popup-menu): Use key-binding.
6133
f72552bd
EZ
61342013-11-06 Eli Zaretskii <eliz@gnu.org>
6135
6136 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
6137 menus, support also the menus produced by minor modes.
6138 (Bug#15817)
6139
5d5c701e
LL
61402013-11-06 Leo Liu <sdl.web@gmail.com>
6141
6142 * thingatpt.el (thing-at-point-looking-at): Add optional arg
e9dc713d 6143 DISTANCE to bound the search. All uses changed. (Bug#15808)
5d5c701e 6144
0a8b75e2
GM
61452013-11-06 Glenn Morris <rgm@gnu.org>
6146
6147 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
6148 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
6149 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 6150
a35287ea
SM
61512013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6152
feca4e2d
SM
6153 * electric.el (electric-indent-just-newline): New command.
6154 (electric-indent-mode-map): New keymap.
6155 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
6156 Re-add :group which weren't redundant.
6157
a35287ea
SM
6158 * electric.el (electric-indent-local-mode): New minor mode.
6159 (electric-indent-functions-without-reindent): New var.
6160 (electric-indent-post-self-insert-function): Use it.
6161 * emacs-lisp/gv.el (buffer-local-value): Add setter.
6162
375761b2
EZ
61632013-11-05 Eli Zaretskii <eliz@gnu.org>
6164
9a6ad735
EZ
6165 * international/quail.el (quail-help): Be more explicit about the
6166 meaning of the labels shown on the keys. (Bug#15800)
6167
375761b2
EZ
6168 * startup.el (normal-top-level): Load the subdirs.el files before
6169 setting the locale environment. (Bug#15805)
6170
520a6e4a
SM
61712013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
6172
0acfafef
SM
6173 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
6174 via arguments so as to get the right ones (bug#15418).
6175
520a6e4a
SM
6176 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
6177
15826261
MA
61782013-11-05 Michael Albinus <michael.albinus@gmx.de>
6179
6180 Fix problems found while writing a test suite.
6181
6182 * net/tramp-compat.el (tramp-compat-load): New defun.
6183 * net/tramp.el (tramp-handle-load): Use it.
6184
6185 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
6186 "(numberp ok-if-already-exists)" correctly.
6187
d35f31a4
XF
61882013-11-05 Xue Fuqiao <xfq.free@gmail.com>
6189
6190 * international/characters.el (glyphless-char-display-control):
6191 Add usage note.
6192
ae93bc74
BB
61932013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
6194
520a6e4a
SM
6195 * progmodes/python.el (python-mode):
6196 * progmodes/scheme.el (scheme-mode):
6197 * progmodes/prolog.el (prolog-mode):
6198 * progmodes/ruby-mode.el (ruby-mode):
6199 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
6200 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 6201
0ade65b5
SM
62022013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6203
a0d5f7a4
SM
6204 * rect.el (rectangle--highlight-for-redisplay):
6205 * emacs-lisp/smie.el (smie--next-indent-change):
6206 Use buffer-chars-modified-tick.
6207
c93f3f5c
SM
6208 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
6209
0ade65b5
SM
6210 * electric.el (electric-indent-post-self-insert-function):
6211 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
6212
ef9dd188
HE
62132013-11-04 Helmut Eller <eller.helmut@gmail.com>
6214
6215 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
6216
306e7308
NT
62172013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6218
6219 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
6220 (bug#15786).
6221
e5afbcac
SM
62222013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6223
1d01ad41
SM
6224 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
6225
e5afbcac
SM
6226 * progmodes/python.el: Fix up last change.
6227 (python-shell--save-temp-file): New function.
6228 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
6229 `string' comes from the current buffer.
6230 (python-shell-send-string-no-output): Remove `msg' arg.
6231 (python--use-fake-loc): New var.
6232 (python-shell-buffer-substring): Obey it. Try to compensate for the
6233 extra coding line added by python-shell--save-temp-file.
6234 (python-shell-send-region): Use python-shell--save-temp-file and
6235 python-shell-send-file directly. Add `nomain' argument.
6236 (python-shell-send-buffer): Use python-shell-send-region.
6237 (python-electric-pair-string-delimiter): New function.
6238 (python-mode): Use it.
6239
d0065ff1
EZ
62402013-11-04 Eli Zaretskii <eliz@gnu.org>
6241
6242 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
6243 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
6244 environment and decoding all of the default-directory's to here
6245 from command-line.
6246 (command-line): Decode also argv[0].
6247
6248 * loadup.el: Error out if default-directory is a multibyte string
6249 when we are dumping.
6250
6251 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
6252
7397c587
TZ
62532013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
6254
6255 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
6256 (package-menu--print-info, package-menu--archive-predicate):
6257 Add Archive column to package list.
7397c587 6258
b27cc9fc
MA
62592013-11-04 Michael Albinus <michael.albinus@gmx.de>
6260
6261 Fix problems found while writing a test suite.
6262
6263 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
6264 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
6265 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
6266 to nil when running original file name handler. Otherwise,
6267 there are problems with constructs like "$$FOO".
6268
6269 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
6270 for `localname'.
6271
d8c4f18a
BB
62722013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
6273
7b530552
BB
6274 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
6275
6276 * subr.el (version<, version<=, version=):
6277 Update docstrings with information for snapshot versions.
6278
d8c4f18a
BB
6279 * helpers.el: New library for misc helper functions.
6280 (hash-table-keys): New function returning a list of hash keys.
6281 (hash-table-values): New function returning a list of hash values.
6282
dca01b09
DG
62832013-11-04 Dmitry Gutov <dgutov@yandex.ru>
6284
6285 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6286 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
6287
0a749fa0
MN
62882013-11-04 Michal Nazarewicz <mina86@mina86.com>
6289
6290 * textmodes/fill.el (fill-single-char-nobreak-p): New function
6291 checking whether point is after a 1-letter word.
6292
62932013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
6294
6295 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
6296 Don't infloop when expanding region over `multiline' syntax-type that
6297 begins a line (bug#15778).
6298
4aca7145
SM
62992013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6300
6301 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
6302 Make it into a proper minor mode.
9b017563 6303 (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
4aca7145
SM
6304 (rectangle-mark-mode-map): New keymap.
6305 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
6306
a0833f62
GM
63072013-11-04 Glenn Morris <rgm@gnu.org>
6308
6309 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
6310
e61845c1
SM
63112013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
6312
6313 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
6314 (ruby-smie-rules): Use smie-rule-parent instead.
6315
6316 * emacs-lisp/smie.el (smie-rule-parent): Always call
6317 smie-indent-virtual rather than only for hanging tokens.
6318 (smie--next-indent-change): New helper command.
6319
62942f89
GM
63202013-11-03 Glenn Morris <rgm@gnu.org>
6321
6322 * Makefile.in (abs_srcdir): Remove.
6323 (emacs): Unset EMACSLOADPATH.
6324
b0b9e592
GM
63252013-11-02 Glenn Morris <rgm@gnu.org>
6326
18ba6a33 6327 * Makefile.in (EMACS): Use a relative filename.
8061810d 6328 (abs_top_builddir): Remove.
18ba6a33
GM
6329 (custom-deps, finder-data, autoloads): Use --chdir.
6330
6a8b929e
GM
6331 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
6332
c617f3d0
GM
6333 Use relative filenames in TAGS files.
6334 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
6335 (lisptagsfiles4, TAGS): Use relative file names.
6336 (TAGS-LISP): Remove.
6337 (maintainer-clean): No more TAGS-LISP file.
6338
b0b9e592
GM
6339 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
6340 (lisptagsfiles4): Use absolute filenames again.
6341 (TAGS, TAGS-LISP): Not everything needs to run in one line.
6342 Remove all *loaddefs files, not just the first. Remove esh-groups.
6343 (maintainer-clean): Delete TAGS, TAGS-LISP.
6344
d1c0ea6a
BB
63452013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6346
e61845c1
SM
6347 * emacs-lisp/package.el (package-version-join):
6348 Recognize snapshot versions.
d1c0ea6a 6349
684d71c6
BB
63502013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6351
6352 * subr.el (version-regexp-alist): Add support for snapshot versions.
6353
3d42b968
DG
63542013-11-02 Dmitry Gutov <dgutov@yandex.ru>
6355
e61845c1
SM
6356 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
6357 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
6358 skip over our direct parent if it's an assignment token..
6359 (ruby-smie-rules): Use it.
6360
7ffd3721
DG
63612013-11-02 Dmitry Gutov <dgutov@yandex.ru>
6362
8449dd1f 6363 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7ffd3721
DG
6364 unconditionally. Remove now unnecessary forward declarations.
6365 Remove XEmacs-specific setup.
6366 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
6367 (ruby-font-lock-syntactic-keywords)
6368 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
6369 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
6370 (ruby-here-doc-end-syntax): Remove.
6371 (ruby-mode): Don't check whether `syntax-propertize-rules' is
6372 defined as function.
6373
a3996a2e
BB
63742013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6375
6376 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
6377
6f9260e8
BB
63782013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
6379
6380 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
6381 table and abbrev table, `define-derived-mode' does that for us
6382 anyway.
6383
6014de84
GM
63842013-11-01 Glenn Morris <rgm@gnu.org>
6385
6386 * Makefile.in: Remove manual mh-e dependencies (writing .elc
6387 files is atomic for some time, so no parallel compilation issues).
6388
3c334c14
JD
63892013-11-01 Jan Djärv <jan.h.d@swipnet.se>
6390
6391 * faces.el (face-x-resources): Add :distant-foreground.
6392 (region): Use :distant-foreground for gtk and ns.
6393
9bc236c8
TH
63942013-11-01 Tassilo Horn <tsdh@gnu.org>
6395
5246583b 6396 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
6397 BibTeX.
6398 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
6399 (reftex-locate-bibliography-files): Us it.
6400
d14c81ee
CB
64012013-11-01 Claudio Bley <claudio.bley@googlemail.com>
6402
0e7690de
CB
6403 * image.el (image-type-header-regexps): Fix the 'pbm' part to
6404 allow comments in pbm files.
6405
d14c81ee
CB
6406 * term/w32-win.el (dynamic-library-alist): Support newer versions
6407 of libjpeg starting with v7: look only for the DLL from the
6408 version against which Emacs was built.
ac1bf374 6409 Support versions of libpng beyond 1.4.x.
019c8218 6410 Support libtiff v4.x.
d14c81ee 6411
983d0df5
BB
64122013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
6413
6414 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
6415 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
6416 Add property :safe.
6417 (ruby-deep-arglist): Add property :type.
6418
47f58d85
GM
64192013-10-31 Glenn Morris <rgm@gnu.org>
6420
6421 * Makefile.in (custom-deps, finder-data): No need to setq the target
6422 variables, we are in the right directory and the defaults work fine.
6423
4f85b479
GM
64242013-10-30 Glenn Morris <rgm@gnu.org>
6425
ca7dd4cd
GM
6426 * Makefile.in (autoloads): Do not use abs_lisp.
6427
4f85b479
GM
6428 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6429 `newline' does not respect `standard-output', so use `princ'.
6430
cf59e41c
AA
64312013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
6432
6433 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
6434 * buff-menu.el (Buffer-menu--unmark): New function.
6435 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
6436
74cf04fb
GM
64372013-10-30 Glenn Morris <rgm@gnu.org>
6438
b040b60e
GM
6439 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
6440
f53d3815
GM
6441 * emacs-lisp/package.el (lm-homepage): Declare.
6442
5413d873
GM
6443 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
6444 Fix doc typos.
6445
cecedb36
GM
6446 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
6447
74cf04fb
GM
6448 * Makefile.in (finder-data, autoloads, update-subdirs)
6449 (compile-main, compile-clean, compile-always, bootstrap-clean):
6450 Check return value of cd.
6451 (compile-calc): Remove.
6452
195ee2f0
SM
64532013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
6454
ae4002ce
SM
6455 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
6456
6457 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
6458 (byte-compile-and-folded): New function.
6459 (=, <, >, <=, >=): Use it.
6460
6461 * dos-w32.el (minibuffer-history-case-insensitive-variables)
6462 (path-separator, null-device, buffer-file-coding-system)
6463 (lpr-headers-switches): Check system-type before modifying them.
6464 (find-buffer-file-type-coding-system): Mark obsolete.
6465 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
6466 find-file-not-found-set-buffer-file-coding-system.
35e951cd 6467 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
ae4002ce 6468 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
35e951cd 6469 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
ae4002ce
SM
6470 (w32-direct-print-region-helper, w32-direct-print-region-function)
6471 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
6472 * startup.el (normal-top-level-add-subdirs-to-load-path):
6473 * ps-print.el (ps-print-region-function):
6474 * lpr.el (print-region-function): Use new name.
6475
53b39e89
SM
6476 * subr.el (custom-declare-variable-early): Remove function.
6477 (custom-declare-variable-list): Remove var.
6478 (error, user-error): Remove `while' loop.
6479 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
6480 (user-emacs-directory-warning, locate-user-emacs-file):
6481 Move to files.el.
6482 * simple.el (read-quoted-char-radix, read-quoted-char):
6483 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
6484 Move from subr.el.
6485 * custom.el (custom-declare-variable-list): Don't process
6486 custom-declare-variable-list.
6487
195ee2f0
SM
6488 * progmodes/python.el (python-shell-get-buffer): New function.
6489 (python-shell-get-process): Use it.
6490 (python-shell-send-string): Always use utf-8 and add a cookie to tell
6491 Python which encoding was used. Don't split-string since we only care
6492 about the first line. Return the temp-file, if applicable.
6493 (python-shell-send-region): Tell compile.el how to turn locations in
6494 the temp-file into locations in the source buffer.
6495
7e3561ee
SM
64962013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
6497
4c9797cb
SM
6498 * subr.el (undefined): Add missing behavior from the C code for
6499 unbound keys.
6500
3472b6c6
SM
6501 * rect.el: Use lexical-binding. Add new rectangular region support.
6502 (rectangle-mark): New command.
6503 (rectangle--region): New var.
6504 (deactivate-mark-hook): Reset rectangle--region.
6505 (rectangle--extract-region, rectangle--insert-for-yank)
6506 (rectangle--highlight-for-redisplay)
6507 (rectangle--unhighlight-for-redisplay): New functions.
6508 (region-extract-function, redisplay-unhighlight-region-function)
6509 (redisplay-highlight-region-function): Use them to handle
6510 rectangular region.
6511 * simple.el (region-extract-function): New var.
6512 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
6513 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
6514 (kill-region): Replace obsolete `yank-handler' arg with `region'.
6515 (copy-region-as-kill, kill-ring-save): Add `region' argument.
6516 (redisplay-unhighlight-region-function)
6517 (redisplay-highlight-region-function): New vars.
6518 (redisplay--update-region-highlight): New function.
6519 (pre-redisplay-function): Use it.
6520 (exchange-point-and-mark): Don't deactivate the mark before
6521 reactivate-it anyway.
6522 * comint.el (comint-kill-region): Remove yank-handler argument.
6523 * delsel.el (delete-backward-char, backward-delete-char-untabify)
6524 (delete-char): Remove property, since it's now part of their
6525 default behavior.
6526 (self-insert-iso): Remove property since this command doesn't exist.
6527
7e3561ee
SM
6528 * emacs-lisp/package.el (package--download-one-archive)
6529 (describe-package-1): Don't query the user about final newline.
6530
b9bef71f
DC
65312013-10-29 Daniel Colascione <dancol@dancol.org>
6532
6533 * net/tramp.el (tramp-methods): Document new functionality.
6534 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
6535 tramp-hostname-checker if method provides one instead of scanning
6536 argument list for "%h" to decide hostname acceptability.
6537
4efc33f0
MA
65382013-10-28 Michael Albinus <michael.albinus@gmx.de>
6539
6540 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
6541 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
6542 Handle COPY-CONTENTS. (Bug#15737)
6543
ed42a877
DU
65442013-10-28 Daiki Ueno <ueno@gnu.org>
6545
9b017563 6546 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
7e3561ee 6547 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 6548
18c9f8a2
XF
65492013-10-27 Xue Fuqiao <xfq.free@gmail.com>
6550
35e951cd 6551 * image.el (defimage, image-load-path): Doc fixes.
18c9f8a2 6552
b1e8e010
AM
65532013-10-27 Alan Mackenzie <acm@muc.de>
6554
6555 Indent statements in macros following "##" correctly.
7e3561ee
SM
6556 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
6557 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 6558
73d40d1e 65592013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
6560
6561 * linum.el (linum-update-window): Fix boundary test (bug#13446).
6562
c8c605ac
DG
65632013-10-27 Dmitry Gutov <dgutov@yandex.ru>
6564
6565 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
6566 after `=' is probably a new expression.
6567
ca7e59d4
RS
65682013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6569
6570 * man.el (man-imenu-title): New option.
6571 (Man-mode-map): Add menu. (Bug#15722)
6572 (Man-mode): Add imenu to menu.
6573
bae91342
DG
65742013-10-26 Dmitry Gutov <dgutov@yandex.ru>
6575
6576 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
6577 specific in what the first arg can be: a non-keyword word,
6578 string/regexp/percent literal opener, opening paren, or unary
6579 operator followed directly by word.
6580
eb89dc14
SM
65812013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6582
6583 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
6584 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
6585 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
6586 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
6587 Remove vars, they do not apply any more.
6588 (prolog-mode-abbrev-table): Remove redundant declaration.
6589 (prolog-upper-case-string, prolog-lower-case-string): Remove.
6590 (prolog-use-smie): Remove.
6591 (prolog-smie-rules): Add indentation rule for the if-then-else layout
6592 supported by prolog-electric-if-then-else-flag.
6593 (prolog-mode-variables, prolog-menu): Use setq-local.
6594 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
6595 Remove binding to `Backspace' since this key doesn't exist anyway.
6596 Remove bindings for electric self-inserting keys.
6597 (prog-mode): Assume it's defined.
6598 (prolog-post-self-insert): New function.
6599 (prolog-mode): Use it.
6600 (prolog-indent-line, prolog-indent-level)
6601 (prolog-find-indent-of-matching-paren)
6602 (prolog-indentation-level-of-line, prolog-goto-comment-column)
6603 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
6604 (prolog-goto-next-paren, prolog-in-string-or-comment)
6605 (prolog-tokenize, prolog-inside-mline-comment)
6606 (prolog-find-start-of-mline-comment): Remove functions.
6607 (prolog-find-unmatched-paren, prolog-clause-end)
6608 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
6609 (prolog-electric--if-then-else): Rename from
6610 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
6611 (prolog-tokenize-searchkey): Remove const.
6612 (prolog-clause-info): Use forward-sexp.
6613 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
6614 (prolog-electric-if-then-else): Remove commands.
6615 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
6616 for use in post-self-insert-hook.
6617 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
6618 for use in post-self-insert-hook.
6619 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
6620 for use in post-self-insert-hook.
6621 (prolog-electric--underscore): Rename from prolog-electric--underscore;
6622 adapt it for use in post-self-insert-hook.
6623
3dab0a83
MA
66242013-10-25 Michael Albinus <michael.albinus@gmx.de>
6625
6626 * emacs-lisp/ert.el (ert-run-tests-interactively):
6627 Use `completing-read'. (Bug#9756)
6628
fbfd0e1d
EZ
66292013-10-25 Eli Zaretskii <eliz@gnu.org>
6630
6631 * simple.el (line-move): Call line-move-1 instead of
6632 line-move-visual when the current window hscroll is zero, but
6633 temporary-goal-column indicates we will need to hscroll as result
6634 of the movement. (Bug#15712)
6635
963ce636
DG
66362013-10-25 Dmitry Gutov <dgutov@yandex.ru>
6637
6638 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
6639 capitalization. Use :visible instead of :active.
6640 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
6641 commands that are used with SMIE.
6642 (ruby-do-end-to-brace): Insert space after `{'.
6643
a0be396a
JA
66442013-10-25 John Anthony <john@jo.hnanthony.com>
6645
f73754c9
JA
6646 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
6647
6648 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 6649
f5bf77df
GM
66502013-10-25 Glenn Morris <rgm@gnu.org>
6651
6652 * vc/vc.el (vc-print-log): Don't use a working revision unless
6653 one was explicitly specified. (Bug#15322)
6654
37241f62
SM
66552013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6656
6657 * subr.el (add-to-list): Preserve return value in compiler-macro
6658 (bug#15692).
6659
6408a65d
RS
66602013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6661
6662 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
6663 result. Ask user to retry using '-all' flag. (Bug#15701)
6664
71e3276b
SM
66652013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6666
6667 * emacs-lisp/smie.el: New smie-config system.
6668 (smie-config): New defcustom.
6669 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
6670 (smie-config-guess, smie-config-save): New commands.
6671 (smie-config--mode-local, smie-config--buffer-local)
6672 (smie-config--trace, smie-config--modefuns): New vars.
6673 (smie-config--advice, smie-config--mode-hook)
6674 (smie-config--setter, smie-config-local, smie-config--get-trace)
6675 (smie-config--guess-value, smie-config--guess): New functions.
6676 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
6677 text properties. Treat "string fence" syntax like string syntax.
6678
6679 * progmodes/sh-script.el (sh-use-smie): Change default.
6680 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
6681 (sh-var-value): Simplify by CSE.
6682 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
6683 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
6684 is used.
6685 (sh-guess-basic-offset): Use cl-incf.
6686 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
6687
60db713e
HE
66882013-10-24 Helmut Eller <eller.helmut@gmail.com>
6689
6690 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
6691 (bug#15699).
6692
8b251df6
GM
66932013-10-24 Glenn Morris <rgm@gnu.org>
6694
6695 * Makefile.in (abs_top_srcdir): Remove.
6696 (update-subdirs): Use relative path to update-subdirs.
6697
6be0e22b
EZ
66982013-10-24 Eli Zaretskii <eliz@gnu.org>
6699
6700 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
6701 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
6702 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
6703 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 6704
50b5b857
MA
67052013-10-24 Michael Albinus <michael.albinus@gmx.de>
6706
6707 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
6708 (ert-test-skipped): New error.
6709 (ert-skip, ert-stats-skipped): New defuns.
6710 (ert--skip-unless): New macro.
6711 (ert-test-skipped): New struct.
6712 (ert--run-test-debugger, ert-test-result-type-p)
6713 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
6714 (ert--stats-set-test-and-result, ert-char-for-test-result)
6715 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 6716 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 6717 Handle skipped tests. (Bug#9803)
50b5b857 6718
6f317c2f
GM
67192013-10-24 Glenn Morris <rgm@gnu.org>
6720
e43817c1
GM
6721 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
6722
6f317c2f
GM
6723 * Makefile.in (abs_top_srcdir): New, set by configure.
6724 (update-subdirs): Correct build-aux location.
6725
369bbf71
DG
67262013-10-24 Dmitry Gutov <dgutov@yandex.ru>
6727
8297b2cf
DG
6728 * vc/vc.el (vc-print-root-log): Always set `default-directory'
6729 value, whether we could auto-deduce `backend', or not.
6730
369bbf71
DG
6731 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
6732 with parameters" example. Simplify the "is it block or is it
6733 hash" check, but also make it more thorough.
6734
d5f1282f
MF
67352013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
6736
6737 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
6738
bc4aaa31
SM
67392013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
6740
03d44565
SM
6741 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
6742 { if it is hanging.
6743
bc4aaa31
SM
6744 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
6745 :before ";".
6746
f493ff19
JB
67472013-10-23 Jed Brown <jed@59A2.org> (tiny change)
6748
6749 * progmodes/compile.el (compilation-directory-matcher)
6750 (compilation-page-delimiter):
6751 Support GNU Make-4.0 directory quoting. (Bug#15678)
6752
c744a3b9
LL
67532013-10-23 Leo Liu <sdl.web@gmail.com>
6754
6755 * ido.el (ido-tidy): Handle read-only text.
6756
b8e3b0a9
GM
67572013-10-23 Glenn Morris <rgm@gnu.org>
6758
6759 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
6760 (emacs, compile, compile-always):
6761 Quote entities that might contain whitespace.
6762 (custom-deps, finder-data, autoloads): Use abs_lisp.
6763 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
6764 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
6765 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
6766
ee4282cd
DG
67672013-10-23 Dmitry Gutov <dgutov@yandex.ru>
6768
bc4aaa31
SM
6769 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
6770 Use `following-char'.
7790a270 6771
ee4282cd 67722013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
6773
6774 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
6775 * progmodes/ruby-mode.el (ruby-smie-rules):
6776 Remove corresponding workaround. Fix indentation rule of ";" so it
6777 also applies when ";" is the parent.
6778
d40a46d7
XF
67792013-10-22 Xue Fuqiao <xfq.free@gmail.com>
6780
6781 * frame.el (display-screens, display-pixel-height)
6782 (display-pixel-width, display-mm-width, display-backing-store)
6783 (display-save-under, display-planes, display-color-cells)
7790a270
SM
6784 (display-visual-class, display-monitor-attributes-list):
6785 Mention the optional ‘display’ argument in doc strings.
d40a46d7 6786
a0f143c9
MG
67872013-10-22 Michael Gauland <mikelygee@amuri.net>
6788
6789 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
6790 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
6791
18cacc39
DG
67922013-10-21 Dmitry Gutov <dgutov@yandex.ru>
6793
6794 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
6795 TODO. Add "." after " @ ".
6796 (ruby-smie--at-dot-call): New function. Checks if point at method
6797 call with explicit target.
6798 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
6799 to the method name tokens when it precedes them.
6800 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
6801 (ruby-smie-rules): Add rule for indentation before and after "."
6802 token.
6803
df74c4be
SM
68042013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
6805
c6dab55f
SM
6806 * textmodes/remember.el (remember-diary-extract-entries):
6807 Avoid add-to-list.
6808
df74c4be
SM
6809 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
6810 an instruction.
6811
8c1ae481
DG
68122013-10-21 Dmitry Gutov <dgutov@yandex.ru>
6813
e9dc713d
JB
6814 * progmodes/ruby-mode.el (ruby-smie-grammar):
6815 Add (almost) all infix operators.
cfef16c0
DG
6816 (ruby-smie--implicit-semi-p): Add new operator chars.
6817
8c1ae481
DG
6818 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
6819 `smie-down-list'.
6820 (ruby-smie--args-separator-p): Check that there's no newline
6821 between method call and its arguments.
6822
87756ca9
AM
68232013-10-20 Alan Mackenzie <acm@muc.de>
6824
6825 Allow comma separated lists after Java "implements".
6826
df74c4be
SM
6827 * progmodes/cc-engine.el (c-backward-over-enum-header):
6828 Parse commas.
87756ca9
AM
6829 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
6830 from a "disallowed" list in enum fontification.
6831
c25f8957
JB
68322013-10-20 Johan Bockgård <bojohan@gnu.org>
6833
df74c4be 6834 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 6835
c25f8957
JB
6836 * progmodes/verilog-mode.el (verilog-mode): Don't set
6837 comment-indent-function globally.
6838
aca5fcdc
JD
68392013-10-20 Jan Djärv <jan.h.d@swipnet.se>
6840
5f161884
JD
6841 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
6842 Move Info menu item creation to ns-win.el.
6843
6844 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
6845 in menu bar.
6846
a6c4680a 6847 * menu-bar.el: Move GNUstep specific menus...
aca5fcdc
JD
6848
6849 * term/ns-win.el (ns-initialize-window-system): ... to here.
6850
914b7f98
SM
68512013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6852
6853 * simple.el (newline): Only run post-self-insert-hook when
6854 called interactively.
6855
846ffe77
JB
68562013-10-19 Johan Bockgård <bojohan@gnu.org>
6857
6858 * icomplete.el (icomplete-with-completion-tables): Add :version.
6859
033f22dd
AM
68602013-10-19 Alan Mackenzie <acm@muc.de>
6861
6862 Fix fontification bugs with constructors and const.
6863
6864 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
6865 CASE 2) Remove the check for the absence of a suffix construct
6866 after a function declaration with only types (no identifiers) in
6867 the parentheses. Also, accept a function declaration with just a
6868 type inside the parentheses, if this type can be positively
6869 recognised as such, or if a prefix keyword like "explicit" nails
6870 down the construct as a declaration.
6871
58ce0cfc
EZ
68722013-10-19 Eli Zaretskii <eliz@gnu.org>
6873
6874 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
6875 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
6876 the problem whereby selecting a menu item that leads to a
6877 minibuffer prompt moves the cursor out of the minibuffer window,
6878 making it hard to type at the prompt. Suggested by Stefan Monnier
6879 <monnier@iro.umontreal.ca>.
6880
50e28e7d
JD
68812013-10-19 Jan Djärv <jan.h.d@swipnet.se>
6882
6883 * menu-bar.el: Don't make Services menu.
6884
7deed4bf
RS
68852013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6886
6887 * ffap.el: Handle "/usr/include/c++/<version>" directories.
6888 (ffap-alist): Use ffap-c++-mode for c++-mode.
6889 (ffap-c++-path): New variable.
6890 (ffap-c++-mode): New function.
6891
7bcb455b
JVJ
68922013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
6893
6894 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
6895
f0ff1cd5
MA
68962013-10-18 Michael Albinus <michael.albinus@gmx.de>
6897
6898 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
6899 introduced on 2013-09-08, which results in an infinite loop
6900 requesting a password.
6901
d64da4b7
GM
69022013-10-18 Glenn Morris <rgm@gnu.org>
6903
6904 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
6905
ea89ff08
WS
69062013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
6907
6908 Sync with upstream verilog-mode revision 1a6ecec7.
6909 * progmodes/verilog-mode.el (verilog-mode-version): Update.
6910 (verilog-mode-release-date): Remove.
6911 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
6912 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
6913 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
6914 (verilog-auto-tieoff-ignore-regexp)
6915 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
6916 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
6917 (verilog-signals-with, verilog-dir-cache-preserving)
6918 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
6919 Doc fixes.
6920 (verilog-case-fold): New option, to control case folding in
6921 regexp searches, bug597.
6922 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
6923 (verilog-string-match-fold, verilog-in-paren-count)
6924 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
6925 (verilog-at-close-struct-p): New functions.
6926 (verilog-beg-block-re-ordered, verilog-extended-case-re)
35e951cd 6927 (verilog-forward-sexp, verilog-set-auto-endcomments)
ea89ff08
WS
6928 (verilog-leap-to-case-head): Handle "unique0" case.
6929 (verilog-in-constraint-re): New constant.
6930 (verilog-keywords, verilog-type-font-keywords):
6931 Add some SystemVerilog 1800-2012 keywords.
6932 (verilog-label-be): Remove unimplemented argument, bug669.
6933 (verilog-batch-execute-func): When batch expanding clear
6934 create-lockfiles to prevent spurious user locks when a file ends
6935 up not changing.
6936 (verilog-calculate-indent, verilog-calc-1)
6937 (verilog-at-close-constraint-p, verilog-at-constraint-p)
6938 (verilog-do-indent): Fix indentation of nested constraints
6939 and structures.
6940 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
6941 (verilog-auto-inst-param): Use verilog-string-match-fold.
6942 (verilog-read-inst-module-matcher):
6943 Fix AUTOINST on gate primitives with #1.
6944 (verilog-read-decls): Fix double-declaring user-defined typed signals.
6945 Reads all user-defined typed variables.
6946 (verilog-read-defines): Fix reading definitions inside comments, bug647.
6947 (verilog-signals-matching-regexp)
6948 (verilog-signals-not-matching-regexp, verilog-auto):
6949 Respect verilog-case-fold.
6950 (verilog-diff-report): Fix line count.
6951 (verilog-auto-assign-modport): Remove unused local `modi'.
6952 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
6953 better handle multidimensional arrays.
6954 Fix packed array ports misadding bit index in AUTOINST, bug637.
6955 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
6956 to not double-declare existing outputs and inputs, respectively.
6957 (verilog-template-map): Bind U to verilog-sk-uvm-component.
6958 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
6959 (verilog-sk-uvm-component): New skeleton.
6960 (verilog-submit-bug-report): Add verilog-case-fold,
6961 remove verilog-mode-release-date.
6962
ef566920
BR
69632013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
6964
a12bf61e 6965 * subr.el (sit-for): Call (input-pending-p t) so as to behave
ef566920
BR
6966 as before.
6967
29df8a0b
RT
69682013-10-18 Reuben Thomas <rrt@sc3d.org>
6969
e0eb0550 6970 * textmodes/remember.el (remember): Set buffer-offer-save in
29df8a0b
RT
6971 remember buffers (bug#13566).
6972
04a19a79
DC
69732013-10-18 Daniel Colascione <dancol@dancol.org>
6974
6975 When evaluating forms in ielm, direct standard output to ielm
6976 buffer. Add new ielm-return-for-effect command. Remove trailing
6977 whitespace throughout.
6978
6979 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
6980 (ielm-return-for-effect): New command.
6981 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
6982 (ielm-eval-input): Accept optional `for-effect' parameter.
6983 Bind `standard-output' to stream we create using
04a19a79
DC
6984 `ielm-standard-output-impl'. Suppress printing result when
6985 `for-effect'.
6986 (ielm-standard-output-impl): New function.
6987 (inferior-emacs-lisp-mode): Explain new features in documentation.
6988
4c1f03ef
MA
69892013-10-17 Michael Albinus <michael.albinus@gmx.de>
6990
6991 Code cleanup.
6992
6993 * net/tramp.el (tramp-debug-message): Do not check for connection
6994 buffer.
6995 (tramp-message): Use "vector" connection property.
6996
6997 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
6998 (tramp-equal-remote, tramp-eshell-directory-change)
6999 * net/tramp-adb.el (tramp-adb-handle-copy-file)
7000 (tramp-adb-handle-rename-file)
7001 * net/tramp-cmds.el (tramp-list-remote-buffers)
7002 (tramp-cleanup-connection, tramp-cleanup-this-connection)
7003 * net/tramp-compat.el (tramp-compat-process-running-p)
7004 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
7005 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
7006 (tramp-gvfs-handle-rename-file)
7007 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
7008 (tramp-set-file-uid-gid)
7009 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7010 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
7011 of `file-remote-p'.
7012
7013 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
7014 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7015 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
7016 (tramp-gw-open-network-stream): Suppress unrelated traces.
7017
7018 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
7019 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7020 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7021 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
7022 connection property.
7023
7024 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 7025 persistency file.
4c1f03ef
MA
7026
7027 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7028 Refactor common code. Improve debug message.
7029 (tramp-maybe-open-connection)
7030 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
7031 connection buffer too early.
7032
7033 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
7034 from `tramp-smb-actions-with-acl'.
7035 (tramp-smb-actions-set-acl): New defconst.
7036 (tramp-smb-handle-copy-directory)
7037 (tramp-smb-action-get-acl): New defun, renamed from
7038 `tramp-smb-action-with-acl'.
7039 (tramp-smb-action-set-acl): New defun.
7040 (tramp-smb-handle-set-file-acl): Rewrite.
7041
642eb8b6
GM
70422013-10-17 Glenn Morris <rgm@gnu.org>
7043
7044 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
7045
85527ff3
SM
70462013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7047
921c1d62
SM
7048 * skeleton.el (skeleton-newline): Remove.
7049 (skeleton-internal-1): Use (insert "\n") instead.
7050
e333fb10
SM
7051 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
7052 let-bindings.
7053
85527ff3
SM
7054 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
7055 forward-sexp-function while we redo its job (bug#15613).
7056
c8722a97
JB
70572013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
7058
7059 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
7060 represented by lists.
7061
7a550bbb
GM
70622013-10-16 Glenn Morris <rgm@gnu.org>
7063
7064 * tmm.el (tmm--history): New dynamic variable.
7065 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
7066
f19da8ad
MA
70672013-10-16 Michael Albinus <michael.albinus@gmx.de>
7068
7069 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
7070 (tramp-smb-errors): Add error messages.
7071 (tramp-smb-actions-with-acl): New defconst.
afe1e4c8 7072 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
f19da8ad
MA
7073 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
7074 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
7075 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
7076 (tramp-smb-get-stat-capability): Fix tests.
7077
a24b9961
DK
70782013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
7079
7080 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
7081 (bug#15580).
7082
62ad85e6
GM
70832013-10-16 Glenn Morris <rgm@gnu.org>
7084
0283d6b0
GM
7085 * ansi-color.el (ansi-color-drop-regexp):
7086 Add 1J, 1K, 2K. (Bug#15617)
7087
012e2f9f
GM
7088 * files.el (hack-local-variables--warned-lexical): New.
7089 (hack-local-variables):
7090 Warn about misplaced lexical-binding. (Bug#15616)
7091
62ad85e6
GM
7092 * net/eww.el (eww-render): Always set eww-current-url,
7093 and update header line. (Bug#15622)
7094 (eww-display-html): ... Rather than just doing it here.
7095
6456c0ea
EZ
70962013-10-15 Eli Zaretskii <eliz@gnu.org>
7097
7098 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
7099 menu navigations commands.
7100
c2de5588
DK
71012013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
7102
7103 * progmodes/subword.el (subword-capitalize): Be careful when
7104 the search for [[:alpha:]] fails (bug#15580).
7105
ccd4a783
EZ
71062013-10-14 Eli Zaretskii <eliz@gnu.org>
7107
7108 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
7109 to commands that scroll the menu.
7110
1eda1d8d
DG
71112013-10-14 Dmitry Gutov <dgutov@yandex.ru>
7112
c2de5588
DK
7113 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
7114 Handle methods ending with `?' and `!'.
1eda1d8d 7115
e70181b8
AM
71162013-10-14 Akinori MUSHA <knu@iDaemons.org>
7117
7118 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
7119 `japanese-cp932' to `cp932' to fix the problem where saving a
7120 source file written in Shift_JIS twice would end up having
7121 `coding: japanese-cp932' which Ruby could not recognize.
7122 (ruby-mode-set-encoding): Add support for encodings mapped to nil
7123 in `ruby-encoding-map'.
7124 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
7125 doesn't need to be explicitly declared in magic comment.
7126 (ruby-encoding-map): Add type declaration for better customize UI.
7127
9148ee92
GM
71282013-10-13 Glenn Morris <rgm@gnu.org>
7129
a5d38e34
GM
7130 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
7131 Occur buffers are read-only. http://bugs.debian.org/720775
7132
9148ee92
GM
7133 * emacs-lisp/authors.el (authors-fixed-entries):
7134 Comment out old alpha stuff.
7135
a9ba094b
DG
71362013-10-13 Dmitry Gutov <dgutov@yandex.ru>
7137
7138 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
7139 to `after-save-hook' instead of `before-save-hook'.
7140 (ruby-mode-set-encoding): Use the value of coding system used to
7141 write the file. Call `basic-save-buffer-1' after modifying the
7142 buffer.
7143
7a068717
AM
71442013-10-13 Alan Mackenzie <acm@muc.de>
7145
7146 Fix indentation/fontification of Java enum with
7147 "implements"/generic.
7148
c2de5588
DK
7149 * progmodes/cc-engine.el (c-backward-over-enum-header):
7150 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
7151 (c-inside-bracelist-p): Uses new function above.
7152 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
7153 function above.
7154 (c-font-lock-enum-tail): Uses new function above.
7155
85b64f02
KH
71562013-10-13 Kenichi Handa <handa@gnu.org>
7157
7158 * international/mule-cmds.el (select-safe-coding-system): Remove a
7159 superfluous condition in chekcing whether a coding system is safe
7160 or not.
7161
fc7f501b
OK
71622013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
7163
7164 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
7165
fdcb2049
AP
71662013-10-13 Andreas Politz <politza@hochschule-trier.de>
7167
7168 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
7169
8c106d17
GM
71702013-10-13 Glenn Morris <rgm@gnu.org>
7171
feab892d
GM
7172 * menu-bar.el (menu-bar-update-buffers):
7173 Unify Buffers menu prompt string. (Bug#15576)
7174
b22d0686
GM
7175 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
7176
8c106d17
GM
7177 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
7178 Add some entries.
7179 (authors-fixed-entries): Use accented form of name.
7180
1b12c797
SM
71812013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7182
650fa7bf 7183 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 7184 method calls (bug#15594).
650fa7bf
SM
7185 (ruby-smie--args-separator-p): New function.
7186 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
7187 recognize paren-free method calls.
7188
1b12c797
SM
7189 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
7190 internals of universal-argument.
7191
029619c8
EZ
71922013-10-11 Eli Zaretskii <eliz@gnu.org>
7193
7194 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
7195 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
7196 dropped menu on second mouse click on the menu bar.
029619c8 7197
dd070019
SM
71982013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7199
7200 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
7201 (explicit-shell-file-name): Declare.
7202 (sh--vars-before-point, sh--cmd-completion-table): New functions.
7203 (sh-completion-at-point-function): New function.
7204 (sh-mode): Use it.
7205 (sh-smie--keyword-p): Remove unused argument.
7206 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
7207 vars.
7208 (sh-set-shell): Always setup SMIE, even if we use the
7209 old indentation code.
7210
0922b826
DG
72112013-10-11 Dmitry Gutov <dgutov@yandex.ru>
7212
b68e2926
DG
7213 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
7214 cases of ? and =.
7215 (ruby-smie-rules): Simplify the "do" rule. The cases when the
7216 predicate would return nil are almost non-existent.
7217 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
7218
0922b826
DG
7219 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
7220 cache also after commands that modify the buffer but don't move
7221 point.
7222
ee041f2d
SM
72232013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7224
7225 * env.el (substitute-env-in-file-name): New function.
7226 (substitute-env-vars): Extend the meaning of the optional arg.
7227
a5dab159
EZ
72282013-10-10 Eli Zaretskii <eliz@gnu.org>
7229
7230 * term/w32-win.el (dynamic-library-alist): Define separate lists
7231 of GIF DLLs for versions before and after 5.0.0 of giflib.
7232 (Bug#15531)
7233
0449d6cd 72342013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
7235
7236 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
7237 not locked, use last revision and current source as
7238 defaults. (Bug#15569)
7239
2f6e161e
MY
72402013-10-10 Masatake YAMATO <yamato@redhat.com>
7241
7242 * menu-bar.el (menu-bar-open): Don't use popup-menu if
7243 menu-bar is hidden.
7244
6c8413fc
MR
72452013-10-10 Martin Rudalics <rudalics@gmx.at>
7246
7247 * window.el (pop-to-buffer-same-window): Fix doc-string.
7248 (Bug#15492)
7249
20832de0
SM
72502013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7251
7252 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
7253
c6e8ae77
AC
72542013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
7255
7256 * calendar/icalendar.el (icalendar-import-file):
7257 Fix interactive spec. (Bug#15482)
7258
9db13baf
GM
72592013-10-10 Glenn Morris <rgm@gnu.org>
7260
9271e90e
GM
7261 * desktop.el (desktop-save): Default to saving in .emacs.d,
7262 since PWD is no longer in desktop-path by default. (Bug#15319)
7263
9db13baf
GM
7264 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
7265 now that text mode has a menu with the same entry.
7266 (menu-bar-text-mode-auto-fill): Remove now unused func.
7267 * textmodes/text-mode.el (text-mode-map):
7268 Use auto-fill help text from menu-bar.el.
7269
a0be396a 72702013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
7271
7272 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
7273
2edcd3c7
JL
72742013-10-09 Juri Linkov <juri@jurta.org>
7275
7276 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
7277 instead of this-command-keys. Add universal-argument-more and
7278 universal-argument-minus to the list of prefix commands. (Bug#15568)
7279
574411d0
GM
72802013-10-09 Glenn Morris <rgm@gnu.org>
7281
14afa541
GM
7282 * vc/vc-svn.el (vc-svn-create-repo):
7283 Expand paths in file://... url. (Bug#15446)
7284
574411d0
GM
7285 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
7286 Add some entries.
7287 (authors): Remove unused local variables.
7288
79804536
SM
72892013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7290
7291 * profiler.el: Create a more coherent calltree from partial backtraces.
7292 (profiler-format): Hide the tail with `invisible' so that C-s can still
7293 find the hidden elements.
7294 (profiler-calltree-depth): Don't recurse so enthusiastically.
7295 (profiler-function-equal): New hash-table-test.
7296 (profiler-calltree-build-unified): New function.
7297 (profiler-calltree-build): Use it.
7298 (profiler-report-make-name-part): Indent the calltree less.
7299 (profiler-report-mode): Add visibility specs for profiler-format.
7300 (profiler-report-expand-entry, profiler-report-toggle-entry):
7301 Expand the whole subtree when provided with a prefix arg.
7302
238150c8
DG
73032013-10-09 Dmitry Gutov <dgutov@yandex.ru>
7304
7305 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
7306 iuwu-mod token.
7307 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
7308 hanging iuwu-mod token.
7309 (ruby-smie--forward-token): Do not include a dot after a token in
7310 that token.
7311 (ruby-smie--backward-token): Likewise.
7312
b0949cc4
JL
73132013-10-08 Juri Linkov <juri@jurta.org>
7314
7315 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
7316 to isearch-other-control-char.
7317 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
7318 and isearch-post-command-hook to post-command-hook.
7319 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
7320 and isearch-post-command-hook from post-command-hook.
7321 (isearch-unread-key-sequence)
7322 (isearch-reread-key-sequence-naturally)
7323 (isearch-lookup-scroll-key, isearch-other-control-char)
7324 (isearch-other-meta-char): Remove functions.
7325 (isearch-pre-command-hook, isearch-post-command-hook):
7326 New functions based on isearch-other-meta-char rewritten
7327 relying on the new behavior of overriding-terminal-local-map
7328 that does not replace the local keymaps any more. (Bug#15200)
7329
4ed77415
EZ
73302013-10-08 Eli Zaretskii <eliz@gnu.org>
7331
7332 Support menus on text-mode terminals.
7333 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
7334 functionality.
7335
7336 * tooltip.el (tooltip-mode): Don't error out on TTYs.
7337
c2de5588
DK
7338 * menu-bar.el (popup-menu, popup-menu-normalize-position):
7339 Move here from mouse.el.
4ed77415
EZ
7340 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
7341 and arrow keys.
7342 (tty-menu-navigation-map): New map for TTY menu navigation.
7343
7344 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
7345
7346 * frame.el (display-mouse-p): Report text-mode mouse as available
7347 on w32.
7348 (display-popup-menus-p): Report availability if mouse is
7349 available; don't condition on window-system.
7350
7351 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
7352 (tty-menu-selected-face): New faces.
7353
b7d5bd82
TL
73542013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7355
06286513
SM
7356 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
7357 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
7358 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
7359 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
7360 New constants.
7361 (lisp-mode-variables): New `elisp' argument.
7362 (emacs-lisp-mode): Use it.
7363 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
7364 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
7365
b7d5bd82
TL
7366 * indent.el: Use lexical-binding.
7367 (indent-region): Add progress reporter.
7368 (tab-stop-list): Make it implicitly extend to infinity by repeating the
7369 last step.
7370 (indent--next-tab-stop): New function to implement this behavior.
7371 (tab-to-tab-stop, move-to-tab-stop): Use it.
7372
73732013-10-08 Teemu Likonen <tlikonen@iki.fi>
7374
7375 * indent.el (indent-rigidly--current-indentation): New function.
7376 (indent-rigidly-map): New var.
7377 (indent-rigidly): Use it to provide interactive mode (bug#8196).
7378
5ea75d23
BG
73792013-10-08 Bastien Guerry <bzg@gnu.org>
7380
f2726fa2 7381 * register.el (insert-register): Fix 2013-10-07 change.
5ea75d23 7382
cc5da1ec
SM
73832013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7384
8ffa1a0b
SM
7385 * progmodes/perl-mode.el: Use lexical-binding.
7386 Remove redundant :group args.
7387 (perl-nochange): Change default to be closer to other major modes's
7388 standard behavior.
7389 (perl-indent-line): Don't consider text on current line as a
7390 valid beginning of function from which to indent.
7391
f2223371
SM
7392 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
7393 with more than one argument (bug#15538).
7394
44256060
SM
7395 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
7396
cc5da1ec
SM
7397 * vc/pcvs.el: Use lexical-binding.
7398 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
7399 environment of `eval'.
7400 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
7401 than a list of expressions. Adjust callers.
7402 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
7403
0ea1599d
DG
74042013-10-07 Dmitry Gutov <dgutov@yandex.ru>
7405
7406 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 7407 case of the dot in a chained method call being on the following line.
0ea1599d 7408
da3e5ebb
SM
74092013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7410
2abb4e65
SM
7411 * electric.el (electric-indent-inhibit): New var.
7412 (electric-indent-post-self-insert-function): Use it.
7413 * progmodes/python.el (python-mode): Set it.
7414
d2e0e795
SM
7415 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
7416 open braces.
7417
7418 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
7419
bdc6b4c8
SM
7420 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
7421 (css-mode): Use electric-indent-chars.
7422
da3e5ebb
SM
7423 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
7424 (font-lock-beg, font-lock-end): Move before first use.
7425 (nxml-mode): Use syntax-propertize-function.
7426 (nxml-after-change, nxml-after-change1): Adjust accordingly.
7427 (nxml-extend-after-change-region): Remove.
7428 * nxml/xmltok.el: Use lexical-binding.
7429 (xmltok-save): Use `declare'.
7430 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
7431 * nxml/nxml-util.el: Use lexical-binding.
7432 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
7433 Use `declare'.
7434 * nxml/nxml-ns.el: Use lexical-binding.
7435 (nxml-ns-save): Use `declare'.
7436 (nxml-ns-prefixes-for): Avoid add-to-list.
7437 * nxml/rng-match.el: Use lexical-binding.
7438 (rng--ipattern): Use cl-defstruct.
7439 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
7440 (rng-cons-group-after, rng-subst-group-after)
7441 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
7442 Use closures instead of `(lambda...).
7443
f8f91d5d
MA
74442013-10-07 Michael Albinus <michael.albinus@gmx.de>
7445
7446 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
7447 of BEG and END.
7448
da3e5ebb
SM
7449 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7450 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
7451 (tramp-gvfs-handle-insert-file-contents): Remove function.
7452
da3e5ebb
SM
7453 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
7454 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
7455
7456 * net/trampver.el: Update release number.
7457
7ccae3b1
SM
74582013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7459
55ca2c0d
SM
7460 * progmodes/compile.el (compilation-parse-errors):
7461 Use compilation--put-prop.
7462 (compilation--ensure-parse): Check compilation-multiline.
7463
731fc3ae
SM
7464 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
7465
da3e5ebb
SM
7466 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
7467 lexical-binding.
a5833280 7468
2e7ba2c2
SM
7469 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
7470
7ccae3b1
SM
7471 * progmodes/ruby-mode.el: Fix recently added tests.
7472 (ruby-smie-grammar): Add - and +.
7473 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
7474 (ruby-smie--backward-id): New functions.
7475 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
7476 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
7477 any more.
7478
85698d63
LL
74792013-10-07 Leo Liu <sdl.web@gmail.com>
7480
7481 * register.el (register-preview-delay)
7482 (register-preview-functions): New variables.
7483 (register-read-with-preview, register-preview)
7484 (register-describe-oneline): New functions.
7485 (point-to-register, window-configuration-to-register)
7486 (frame-configuration-to-register, jump-to-register)
7487 (number-to-register, view-register, insert-register)
7488 (copy-to-register, append-to-register, prepend-to-register)
7489 (copy-rectangle-to-register): Use register-read-with-preview to
7490 read register. (Bug#15525)
7491
3986af6c
DS
74922013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
7493
7494 * net/network-stream.el (network-stream-open-starttls): Don't add
7495 --insecure if it's already present, because that gnutls-cli
7496 rejects getting that parameter twice.
7497
5cd9cda9
DG
74982013-10-06 Dmitry Gutov <dgutov@yandex.ru>
7499
7500 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
7501 keyword, too.
7502
da9ea6d9
DG
75032013-10-05 Dmitry Gutov <dgutov@yandex.ru>
7504
7505 * newcomment.el (comment-use-global-state): Change default value
7506 to t, mark obsolete (Bug#15251).
7507 (comment-beginning): In addition to `comment-to-syntax', check the
7508 value of `comment-use-global-state'.
7509
34d1a133
SM
75102013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7511
7512 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
7513 (ruby-comment-column): Follow the global default, by default.
7514 (ruby-smie-grammar): Add assignment syntax.
7515 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
7516 open-paren, a comma, or a \.
7517 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
7518 and line continuations.
7519 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
7520 followed by implicit semi-colons. Add rule for string concatenation
7521 and for indentation at BOB.
27821a89 7522 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
34d1a133
SM
7523
7524 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
7525 calling next-sexp, since next-token may have skipped chars which
7526 next-sexp doesn't know should be skipped!
7527
6f6ab820
LL
75282013-10-05 Leo Liu <sdl.web@gmail.com>
7529
34d1a133
SM
7530 * progmodes/octave.el (octave-send-region):
7531 Call compilation-forget-errors.
6f6ab820 7532
34ca0f4c
XF
75332013-10-04 Xue Fuqiao <xfq.free@gmail.com>
7534
7535 * vc/vc-svn.el (vc-svn-find-admin-dir):
7536 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
7537 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
7538 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
7539 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
7540
a27c1b72
SM
75412013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
7542
7543 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
7544
258ab3bc
SM
75452013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
7546
7547 * subr.el (read-passwd): Hide chars even when called within a context
7548 where after-change-functions is disabled (bug#15501).
7549 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
7550 until we removed ourself from overriding-terminal-local-map.
7551
939fb29c
LL
75522013-10-04 Leo Liu <sdl.web@gmail.com>
7553
258ab3bc
SM
7554 * progmodes/octave.el (inferior-octave-mode):
7555 Call compilation-forget-errors.
939fb29c 7556
63bd7f35
XF
75572013-10-04 Xue Fuqiao <xfq.free@gmail.com>
7558
7559 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
7560
9e6229fa
MA
75612013-10-04 Michael Albinus <michael.albinus@gmx.de>
7562
7563 * net/secrets.el (secrets-create-collection): Add optional
7564 argument ALIAS. Use proper Label keyword. Append ALIAS as
7565 dbus-call-method argument. (Bug#15516)
7566
1dab32a3
LL
75672013-10-04 Leo Liu <sdl.web@gmail.com>
7568
7569 * progmodes/octave.el (inferior-octave-error-regexp-alist)
7570 (inferior-octave-compilation-font-lock-keywords): New variables.
7571 (compilation-error-regexp-alist)
7572 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
7573 (inferior-octave-mode): Use compilation-shell-minor-mode.
7574
6cad7ba3
JS
75752013-10-04 Jorgen Schaefer <forcer@forcix.cx>
7576
7577 * minibuffer.el (completion--replace): Be careful that `end' might be
7578 a marker.
7579
acbadd00
DU
75802013-10-03 Daiki Ueno <ueno@gnu.org>
7581
7582 Add support for package signature checking.
7583 * emacs-lisp/package.el (url-http-file-exists-p)
7584 (epg-make-context, epg-context-set-home-directory)
7585 (epg-verify-string, epg-context-result-for)
7586 (epg-signature-status, epg-signature-to-string)
7587 (epg-check-configuration, epg-configuration)
7588 (epg-import-keys-from-file): Declare.
7589 (package-check-signature): New user option.
7590 (package-unsigned-archives): New user option.
7591 (package-desc): Add `signed' field.
7592 (package-load-descriptor): Set `signed' field if .signed file exists.
7593 (package--archive-file-exists-p): New function.
7594 (package--check-signature): New function.
7595 (package-install-from-archive): Check package signature.
7596 (package--download-one-archive): Check archive signature.
7597 (package-delete): Remove .signed file.
7598 (package-import-keyring): New command.
7599 (package-refresh-contents): Import default keyring.
7600 (package-desc-status): Add "unsigned" status.
7601 (describe-package-1, package-menu--print-info)
7602 (package-menu-mark-delete, package-menu--find-upgrades)
7603 (package-menu--status-predicate): Support "unsigned" status.
7604
adf2aa61
SM
76052013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7606
7607 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
7608 the new compilation scheme using the new byte-codes.
7609
7610 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
7611 (byte-pophandler): New byte codes.
7612 (byte-goto-ops): Adjust accordingly.
7613 (byte-compile--use-old-handlers): New var.
7614 (byte-compile-catch): Use new byte codes depending on
7615 byte-compile--use-old-handlers.
7616 (byte-compile-condition-case--old): Rename from
7617 byte-compile-condition-case.
7618 (byte-compile-condition-case--new): New function.
7619 (byte-compile-condition-case): New function that dispatches depending
7620 on byte-compile--use-old-handlers.
7621 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
7622 when we can.
7623
7624 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
7625 Optimize under `condition-case' and `catch' if
7626 byte-compile--use-old-handlers is nil.
7627 (disassemble-offset): Handle new bytecodes.
7628
328a8179
SM
76292013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7630
7631 * subr.el (error): Use `declare'.
7632 (decode-char, encode-char): Use advertised-calling-convention instead
7633 of the docstring to discourage use of the `restriction' arg.
7634
15a1e936
DU
76352013-10-03 Daiki Ueno <ueno@gnu.org>
7636
7637 * epg.el (epg-verify-file): Add a comment saying that it does not
7638 notify verification error as a return value nor a signal.
7639 (epg-verify-string): Ditto.
7640
376f862a
KR
76412013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
7642
7643 * progmodes/compile.el (compilation-start): Try globbing the arg to
7644 `cd' (bug#15417).
7645
a2f93a5f
MA
76462013-10-02 Michael Albinus <michael.albinus@gmx.de>
7647
7648 Sync with Tramp 2.2.8.
7649
7650 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
7651 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
7652 * net/trampver.el: Update release number.
7653
0daa0804
JD
76542013-10-01 Jan Djärv <jan.h.d@swipnet.se>
7655
7656 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
7657 and default-process-coding-system for darwin only.
7658
abd1ae34
SM
76592013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
7660
7661 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
7662
be4e325d
MH
76632013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
7664
7665 * vc/vc-git.el (vc-git-grep): Disable pager.
7666
e9155c4a
DG
76672013-10-01 Dmitry Gutov <dgutov@yandex.ru>
7668
494e898b
DG
7669 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
7670 Use :url instead of :homepage, as per
7671 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
7672
e9155c4a
DG
7673 * newcomment.el (comment-beginning): When `comment-use-syntax' is
7674 non-nil, use `syntax-ppss' (Bug#15251).
7675
481a8e0f
RS
76762013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7677
be4e325d
MH
7678 * progmodes/octave.el (inferior-octave-startup-file):
7679 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 7680
056453c6
DG
76812013-09-29 Dmitry Gutov <dgutov@yandex.ru>
7682
be4e325d
MH
7683 * emacs-lisp/package.el (package-desc-from-define):
7684 Accept additional arguments as plist, convert them to an alist and store
7685 them in the `extras' slot.
056453c6
DG
7686 (package-generate-description-file): Convert extras alist back to
7687 plist and append to the `define-package' form arguments.
7688 (package--alist-to-plist): New function.
7689 (package--ac-desc): Add `extras' slot.
7690 (package--add-to-archive-contents): Check if the archive-contents
7691 vector is long enough, and if it is, pass its `extras' slot value
7692 to `package-desc-create'.
7693 (package-buffer-info): Call `lm-homepage', pass the returned value
7694 to `package-desc-from-define'.
7695 (describe-package-1): Render the homepage button (Bug#13291).
7696
be4e325d
MH
7697 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7698 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 7699
832966e5
JD
77002013-09-29 Jan Djärv <jan.h.d@swipnet.se>
7701
7702 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
7703 and default-process-coding-system to utf-8-unix (Bug#15402).
7704
6cfe977d
XF
77052013-09-29 Xue Fuqiao <xfq.free@gmail.com>
7706
7707 * subr.el (looking-back): Do not recommend using looking-back.
7708
38de11bd
AM
77092013-09-28 Alan Mackenzie <acm@muc.de>
7710
7711 Fix indentation/fontification of Java enum with "implements".
7712
7713 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
7714 regexp which matches "implements", etc., in Java.
7715 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
7716 specifier clauses coming after "enum".
7717 * progmodes/cc-fonts.el (c-font-lock-declarations)
7718 (c-font-lock-enum-tail): Check for extra specifier clauses coming
7719 after "enum".
7720
1610938f
JD
77212013-09-28 Jan Djärv <jan.h.d@swipnet.se>
7722
7723 * faces.el (region): Change ns_selection_color to
7724 ns_selection_fg_color, add ns_selection_bg_color.
7725
e090f499
LL
77262013-09-28 Leo Liu <sdl.web@gmail.com>
7727
4d2e94d1
LL
7728 * progmodes/octave.el (inferior-octave-completion-table)
7729 (inferior-octave-completion-at-point): Minor tweaks.
7730
e090f499
LL
7731 * textmodes/ispell.el (ispell-lookup-words): Rename from
7732 lookup-words. (Bug#15460)
7733 (lookup-words): Obsolete.
7734 (ispell-complete-word, ispell-command-loop): All uses changed.
7735
7e138a62
RS
77362013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7737
a12bf61e 7738 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
7e138a62
RS
7739 (octave-mode-menu): Add octave-send-buffer.
7740 (octave-send-buffer): New function.
7741
5af5ed08
RS
77422013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7743
a12bf61e 7744 * progmodes/octave.el (octave-mode-map): Add key binding for
5af5ed08
RS
7745 octave-lookfor.
7746 (octave-mode-menu): Add octave-lookfor.
7747 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
7748 octave-lookfor.
7749 (octave-lookfor): New function.
7750
3b7b2692
SM
77512013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
7752
35e951cd 7753 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
3b7b2692
SM
7754 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
7755 its convention.
7756 (cl--loop-set-iterator-function): New function.
7757 (cl-loop): Adjust accordingly, so as not to use cl-subst.
7758 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
7759 Bind `it' with `let' instead of substituting it with `cl-subst'.
7760 (cl--unused-var-p): New function.
7761 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
7762 Eliminate some unused variable warnings (bug#15326).
7763
529fb53f
TH
77642013-09-27 Tassilo Horn <tsdh@gnu.org>
7765
7766 * doc-view.el (doc-view-scale-reset): Rename from
7767 `doc-view-reset-zoom-level'.
7768 (doc-view-scale-adjust): New command.
7769 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
7770 `doc-view-scale-adjust'.
7771
0550c95a
TH
77722013-09-26 Tassilo Horn <tsdh@gnu.org>
7773
7774 * doc-view.el (doc-view-reset-zoom-level): New command.
7775 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
7776 zoom commands (bug#15466).
7777
6950f152
KH
77782013-09-26 Kenichi Handa <handa@gnu.org>
7779
7780 * international/quail.el (quail-help): Make it not a command.
7781
39587580
LL
77822013-09-26 Leo Liu <sdl.web@gmail.com>
7783
7784 * minibuffer.el (completion-all-sorted-completions): Make args
7785 optional as they are.
7786
00578659
DC
77872013-09-25 Daniel Colascione <dancol@dancol.org>
7788
7789 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
7790 specs are and that they're not evaluated.
7791
0c173878
SS
77922013-09-24 Sam Steingold <sds@gnu.org>
7793
7794 * midnight.el (clean-buffer-list-kill-regexps)
7795 (clean-buffer-list-kill-buffer-names): Update for the new Man
7796 buffer naming which includes the object name.
7797
84998447
SM
77982013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7799
7800 * eshell/esh-cmd.el (eshell--sep-terms): New var.
7801 (eshell-parse-command, eshell-parse-pipeline): Use it since
7802 eshell-separate-commands requires a dynamic scoped var.
7803 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
7804
33215353
LL
78052013-09-23 Leo Liu <sdl.web@gmail.com>
7806
7807 * autoinsert.el (auto-insert-alist): Make the value of
7808 lexical-binding match its file setting.
7809
57b16162
JB
78102013-09-23 Juanma Barranquero <lekktu@gmail.com>
7811
c8af4e67
JB
7812 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
7813
57b16162
JB
7814 * autoarg.el (autoarg-kp-digit-argument):
7815 * electric.el (Electric-command-loop):
7816 * kmacro.el (kmacro-step-edit-insert):
7817 Do not set universal-argument-num-events.
7818
7186ba60
LL
78192013-09-22 Leo Liu <sdl.web@gmail.com>
7820
7821 * files.el (interpreter-mode-alist): Add octave.
7822
ece15004
AM
78232013-09-21 Alan Mackenzie <acm@muc.de>
7824
7825 C++: fontify identifier in declaration following "public:" correctly.
7826 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
7827 to match "public", etc.
7828 (c-decl-prefix-re): Add ":" into the C++ value.
7829 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
7830 bit. Add a check for a ":" preceded by "public", etc.
7831
75d83e22
EZ
78322013-09-21 Eli Zaretskii <eliz@gnu.org>
7833
7834 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
7835 recognized by GDB 7.5 and later.
7836
d052d3bd
XF
78372013-09-21 Xue Fuqiao <xfq.free@gmail.com>
7838
7839 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
7840
31dca772
R
78412013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7842
7843 * subr.el (internal--call-interactively): New const.
7844 (called-interactively-p): Use it (bug#3984).
7845
98ccf24e
XF
78462013-09-20 Xue Fuqiao <xfq.free@gmail.com>
7847
7848 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
7849 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
7850 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 7851
c39cc7d1
SM
78522013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7853
7854 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
7855 (eshell-ls-orig-insert-directory): Remove.
7856 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
7857 (eshell-ls-use-in-dired): Use advice-add/remove.
7858 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
7859 Add `orig-fun' arg for use in :around advice.
7860 Make it check (redundantly) eshell-ls-use-in-dired.
7861
9a0289a2
GM
78622013-09-19 Glenn Morris <rgm@gnu.org>
7863
a2c501b8
GM
7864 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
7865
c440407a
GM
7866 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
7867
9a0289a2
GM
7868 * emacs-lisp/eieio.el (class-parent): Undo previous change.
7869
85e05915
MA
78702013-09-19 Michael Albinus <michael.albinus@gmx.de>
7871
7872 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
7873 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
7874 (tramp-get-remote-python): New defuns.
7875 (tramp-get-remote-uid-with-perl)
7876 (tramp-get-remote-gid-with-perl): New defuns. Perl code
7877 contributed by yary <not.com@gmail.com> (tiny change).
7878 (tramp-get-remote-uid-with-python)
7879 (tramp-get-remote-gid-with-python): New defuns. Python code
7880 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
7881 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
7882
ce503312
GM
78832013-09-19 Glenn Morris <rgm@gnu.org>
7884
f7544773
GM
7885 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
7886
72fd2877
GM
7887 * eshell/em-unix.el (eshell-remove-entries):
7888 Rename argument to avoid name-clash with global `top-level'.
7889
336b5a56
GM
7890 * eshell/esh-proc.el (eshell-kill-process-function):
7891 Remove eshell-reset-after-proc from eshell-kill-hook if present.
7892 (eshell-reset-after-proc): Remove unused arg `proc'.
7893
57a3a53d
GM
7894 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
7895 (directory-files-and-attributes): Mark unused arg.
7896
3261d4af
GM
7897 * eshell/em-unix.el (eshell-remove-entries):
7898 Remove unused arg `path'. Update callers.
7899
8e51b5d0
GM
7900 * eshell/em-hist.el (eshell-hist-parse-arguments):
7901 Remove unused arg `silent'. Update callers.
7902
ce503312
GM
7903 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
7904 Fix (f)boundp mix-up.
7905
7906 * eshell/em-smart.el (eshell-smart-scroll-window)
7907 (eshell-disable-after-change):
336b5a56 7908 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 7909
ee3ce8a7
AM
79102013-09-18 Alan Mackenzie <acm@muc.de>
7911
7912 Fix fontification of type when followed by "const".
7913 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
7914 "known" types from fontification.
7915
ec9177ba
GM
79162013-09-18 Glenn Morris <rgm@gnu.org>
7917
7bb3e768
GM
7918 * emacs-lisp/chart.el (x-display-color-cells): Declare.
7919 (chart-face-list): Drop Emacsen without display-color-p.
7920
5148da15
GM
7921 * net/eww.el (libxml-parse-html-region): Declare.
7922 (eww-display-html): Explicit error if no libxml2 support.
7923
2f68e157
GM
7924 * doc-view.el (doc-view-mode): Silence --without-x compilation.
7925
9019d095
GM
7926 * image.el (image-type-from-buffer, image-multi-frame-p):
7927 Remove --without-x warning/error.
67645389 7928
5f30349b 7929 * mouse.el (mouse-yank-primary):
45069b2e 7930 * term.el (term-mouse-paste):
5f30349b
GM
7931 Reorder to silence --without-x compilation.
7932
cd8edbbe
GM
7933 * mpc.el (doc-view-mode): Silence --without-x compilation.
7934
8a78544e
GM
7935 * mail/rmailmm.el (rmail-mime-set-bulk-data):
7936 Silence --without-x compilation.
7937
12679bfd
GM
7938 * progmodes/gud.el (gud-find-file, gud-mode):
7939 Silence --without-x compilation.
7940 (tooltip-mode): Declare.
30810a05 7941
f0047cb9
GM
7942 * wdired.el (dired-backup-overwrite): Remove declaration.
7943 (wdired-mode-map): Add doc string.
7944
e740f9d2
GM
7945 * custom.el (x-get-resource): Declare.
7946
92d77c89
GM
7947 * eshell/em-glob.el (ange-cache):
7948 * eshell/em-unix.el (ange-cache): Declare.
7949
76e69577
GM
7950 * faces.el (x-display-list, x-open-connection, x-get-resource):
7951 Declare.
7e58af4b
GM
7952
7953 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
7954 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
7955 Declare.
76e69577 7956
4bd4c0af 7957 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 7958
ffb82dbd
GM
7959 * net/gnutls.el (gnutls-log-level): Declare.
7960
986ed135
GM
7961 * net/shr.el (image-size, image-animate): Declare.
7962
e740f9d2
GM
7963 * simple.el (font-info): Declare.
7964
d2f3e9f8
GM
7965 * subr.el (x-popup-dialog): Declare.
7966
047a1a4c
GM
7967 * term/common-win.el (x-select-enable-primary)
7968 (x-last-selected-text-primary, x-last-selected-text-clipboard):
7969 Declare.
7970
f4a1d572
GM
7971 * term/ns-win.el (x-handle-args): Declare.
7972
e843de77
GM
7973 * term/x-win.el (x-select-enable-clipboard): Declare.
7974
5fa89513
GM
7975 * term/w32-win.el (create-default-fontset): Declare.
7976
38702b5b
GM
7977 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
7978 Declare.
7979
e740f9d2
GM
7980 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
7981 (fit-frame-to-buffer): Explicit error if --without-x.
7982 (mouse-autoselect-window-select): Silence compiler.
7983
49a053fc
GM
7984 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
7985
7986 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
7987 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
7988 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 7989 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
7990 Remove unused local variables.
7991
7992 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
7993
ec9177ba
GM
7994 * textmodes/two-column.el: Make 2C-split work for --without-x.
7995 (scroll-bar-columns): Autoload.
7996 (top-level): Require fringe when compiling.
7997
9f25cb77
LL
79982013-09-18 Leo Liu <sdl.web@gmail.com>
7999
8000 * subr.el (add-hook): Robustify to handle closure as well.
8001
2b42da98
GM
80022013-09-17 Glenn Morris <rgm@gnu.org>
8003
8004 * simple.el (messages-buffer-mode-map): Unbind "g".
8005
e8b66a6a
SM
80062013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8007
9c0ad4f7
SM
8008 * help-mode.el (help-mode-finish): Use derived-mode-p.
8009 Remove obsolete highlighting.
8010
7a806dfb
SM
8011 * play/life.el (life-mode): Use define-derived-mode. Derive from
8012 special-mode.
8013 (life): Let-bind inhibit-read-only.
8014 (life-setup): Avoid `setq'. Use `life-mode'.
8015
96dbf5a8
SM
8016 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
8017 which should not be needed any more.
8018 (package-menu-refresh, package-menu-describe-package): Use user-error.
8019
e8b66a6a
SM
8020 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
8021 (eshell-post-rewrite-command-hook): Make obsolete.
8022 (eshell-parse-command): Simplify.
8023 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
8024 (eshell--cmd): Declare.
8025 (eshell-parse-pipeline): Remove unused var `final-p'.
8026 Pass a dynvar to eshell-post-rewrite-command-hook.
8027 Implement the new eshell-post-rewrite-command-function.
8028 (eshell-invoke-directly): Remove unused arg `input'.
8029 * eshell/esh-io.el (eshell-io-initialize):
8030 Use eshell-post-rewrite-command-function (bug#15399).
8031 (eshell--apply-redirections): Rename from eshell-apply-redirections;
8032 adjust to new calling convention.
8033 (eshell-create-handles): Rename args to avoid clashing with dynvar
8034 `standard-output'.
8035
90582f05
GM
80362013-09-17 Glenn Morris <rgm@gnu.org>
8037
8038 * simple.el (messages-buffer-mode): New major mode.
8039 (messages-buffer): New function.
8040 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
8041 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 8042 (ert-run-test): Use `messages-buffer' function.
90582f05 8043 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
8044 * help.el (view-echo-area-messages): Use `messages-buffer' function.
8045 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 8046
39eb0cb5 80472013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
8048
8049 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
8050
1d42e5b6 8051 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
1f1e06e2 8052
70568a90
SM
80532013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
8054
504a0381
SM
8055 * icomplete.el (icomplete-in-buffer): New var.
8056 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
8057 vars and replace them with functions.
8058 (icomplete-minibuffer-setup): Adjust accordingly.
8059 (icomplete--completion-table, icomplete--completion-predicate)
8060 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
8061 New functions.
8062 (icomplete-forward-completions, icomplete-backward-completions)
8063 (icomplete-simple-completing-p, icomplete-exhibit)
8064 (icomplete-completions): Use them.
8065 (icomplete--in-region-buffer): New var.
8066 (icomplete--in-region-setup): New function.
8067 (icomplete-mode): Use it.
8068
70568a90
SM
8069 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
8070 (bug#15379).
8071 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
8072 return args and options.
8073 (eshell-eval-using-options): Use the new return value of
8074 eshell--do-opts to set the options's vars in their scope.
8075 (eshell--set-option): Rename from eshell-set-option.
8076 Add arg `opt-vals'.
8077 (eshell--process-option): Rename from eshell-process-option.
8078 Add arg `opt-vals'.
8079 (eshell--process-args): Use an `opt-vals' alist to store the options's
8080 values during their processing and return them additionally to the
8081 remaining args.
8082
578c21bc
DG
80832013-09-15 Dmitry Gutov <dgutov@yandex.ru>
8084
8085 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
8086 continuation character an operator, as far as indentation is
8087 concerned (Bug#15369).
8088
c089653d
MR
80892013-09-15 Martin Rudalics <rudalics@gmx.at>
8090
8091 * window.el (window--state-put-2): Don't process buffer state
8092 when buffer doesn't exist any more (Bug#15382).
8093
1e53bb4b
GM
80942013-09-15 Glenn Morris <rgm@gnu.org>
8095
30753242
GM
8096 * eshell/em-unix.el (eshell/rm):
8097 Make -f ignore missing files. (Bug#15373)
8098
1e53bb4b
GM
8099 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
8100 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
8101 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
8102
0d8863b3
GM
81032013-09-14 Glenn Morris <rgm@gnu.org>
8104
8105 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
8106
d3fc6549
GM
81072013-09-13 Glenn Morris <rgm@gnu.org>
8108
8109 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
8110 (dired-guess-default): Make `file' available in the env. (Bug#15363)
8111
fcd42c11
DA
81122013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
8113
8114 * frame.el (x-focus-frame): Mark as declared in frame.c.
8115
7830899f
SM
81162013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
8117
8118 * ls-lisp.el: Use advice-add.
8119 (original-insert-directory): Remove.
8120 (ls-lisp--insert-directory): Rename from insert-directory; add
8121 `orig-fun' argument.
8122 (insert-directory): Advise.
8123
84387cd2
EZ
81242013-09-13 Eli Zaretskii <eliz@gnu.org>
8125
8126 * term.el (term-emulate-terminal): Decode the command string
8127 before passing it to term-command-hook. (Bug#15337)
8128
35ffc6ba
GM
81292013-09-13 Glenn Morris <rgm@gnu.org>
8130
5c3f9bcc
GM
8131 * eshell/esh-util.el (ange-cache): Move declaration earlier.
8132
2ada368a
GM
8133 * eshell/esh-ext.el (eshell-search-path): Declare.
8134
fcef2e13
GM
8135 * eshell/em-prompt.el (eshell/pwd): Autoload it.
8136 Otherwise an error occurs if eshell-dirs module not loaded.
8137
35ffc6ba
GM
8138 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
8139
35c3d36e
MA
81402013-09-13 Michael Albinus <michael.albinus@gmx.de>
8141
8142 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
8143 `tramp-check-proper-host'. Check for a valid method name.
8144
8145 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8146 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8147 * net/tramp-sh.el (tramp-maybe-open-connection):
8148 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
8149
8150 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
8151 also for hash values.
8152
ae5e4c48
SM
81532013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8154
379add74
SM
8155 * term/ns-win.el (parameters): Don't declare as dynamic.
8156 (before-make-frame-hook): Don't add ineffective function.
8157
ae5e4c48
SM
8158 * eshell/*.el: Use lexical-binding (bug#15231).
8159
b5623270
KH
81602013-09-12 Kenichi Handa <handa@gnu.org>
8161
ae5e4c48 8162 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 8163
30213927
GM
81642013-09-12 Glenn Morris <rgm@gnu.org>
8165
be94d713 8166 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 8167 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 8168
44915370
GM
8169 * subr.el (do-after-load-evaluation): Also give compiler warnings
8170 when obsolete files are used (except by obsolete files).
8171
a6ae021f
GM
8172 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
8173 in the status output, assume `filename' is the first. (Bug#15322)
8174
40e64f0c
GM
8175 * vc/vc.el (vc-deduce-fileset): Doc fix.
8176
16d9f896
GM
8177 * calc/calc-help.el (Info-goto-node):
8178 * progmodes/cperl-mode.el (Info-find-node):
8179 * vc/ediff.el (Info-goto-node): Update declarations.
8180
dea01c6e
GM
8181 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
8182
759880bf 8183 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
8184 (vc-bzr-pull): Require vc-dispatcher.
8185 * vc/vc-git.el (vc-compilation-mode): Declare.
8186 (vc-git-pull): Require vc-dispatcher.
8187
08d66420
GM
8188 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
8189
30b626e9
GM
8190 * progmodes/octave.el (help-button-action): Declare.
8191
8c05cb10
GM
8192 * shell.el (shell-directory-tracker): Output error as a message
8193 rather than just returning it as a string.
8194 (shell-process-pushd): Remove useless use of message.
8195
30213927
GM
8196 * dframe.el (dframe-timer-fn):
8197 * files.el (dir-locals-read-from-file):
8198 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
8199 (mpc-format):
8200 * reveal.el (reveal-post-command):
8201 * saveplace.el (load-save-place-alist-from-file):
8202 * shell.el (shell-resync-dirs):
8203 * w32-common-fns.el (x-get-selection-value):
8204 * emacs-lisp/copyright.el (copyright-find-copyright):
8205 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
8206 * emulation/tpu-edt.el (tpu-copy-keyfile):
8207 * play/bubbles.el (bubbles--mark-neighbourhood):
8208 * progmodes/executable.el
8209 (executable-make-buffer-file-executable-if-script-p):
8210 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
8211
d3b049e6
SM
82122013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8213
170266d0
SM
8214 Cleanup Eshell to rely less on dynamic scoping.
8215 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
8216 last-value, and ext-command here. Bind `args' closer to `body'.
8217 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
8218 (eshell--args): Declare new dynamic var.
8219 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
8220 last-value, and ext-command. Pass `args' to `body'.
8221 (eshell-process-args): Bind eshell--args.
8222 (eshell-set-option): Use eshell--args.
8223 * eshell/eshell.el (eshell): Use derived-mode-p.
8224 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
8225 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
8226 (eshell-glob-function): Declare.
8227 * eshell/esh-util.el: Require cl-lib.
8228 (eshell-read-hosts-file): Avoid add-to-list.
8229 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
8230 `err'.
8231 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
8232 Declare.
8233 (eshell/diff): Remove unused var `err'.
8234 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
8235 `killflag'.
8236 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
8237 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
8238 first use.
8239 * eshell/em-glob.el (eshell-glob-matches, message-shown):
8240 Move declaration before first use.
8241 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
8242 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
8243 rely on cl-return.
8244
56834f3b
GM
82452013-09-12 Glenn Morris <rgm@gnu.org>
8246
8247 * term/ns-win.el (global-map): Remove binding for ispell-next,
8248 deleted 1999-05-29. (Bug#15357)
8249
5c91a2b8
GM
82502013-09-11 Glenn Morris <rgm@gnu.org>
8251
da712f22
GM
8252 * echistory.el (electric-command-history): Remove call to deleted func.
8253
512e4cdc
GM
8254 * play/landmark.el (landmark-mode): Fix typos.
8255
d3506ca5
GM
8256 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
8257 Check cvs-sort-ignore-file is bound.
8258
5c91a2b8
GM
8259 * savehist.el: No need for cl when compiling on Emacs.
8260
feeff482
SM
82612013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8262
656bd483
SM
8263 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
8264 (bug#15338).
d3b049e6
SM
8265 (eshell-self-insert-command, eshell-send-invisible):
8266 Remove unused argument.
656bd483
SM
8267 (eshell-handle-control-codes): Remove unused var `orig'.
8268 Avoid delete-backward-char.
8269
feeff482
SM
8270 * files.el (set-auto-mode): Simplify a bit further.
8271
2a08047a
GM
82722013-09-11 Glenn Morris <rgm@gnu.org>
8273
8274 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
8275 (set-auto-mode): Don't regexp-quote elements.
8276 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
8277 * progmodes/cc-mode.el (interpreter-mode-alist):
8278 * progmodes/ruby-mode.el (interpreter-mode-alist):
8279 Revert previous change.
8280
34675540
SM
82812013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8282
1b3b87df
SM
8283 * play/snake.el (snake-mode):
8284 * play/mpuz.el (mpuz-mode):
8285 * play/landmark.el (lm-mode):
8286 * play/blackbox.el (blackbox-mode):
8287 * play/5x5.el (5x5-mode):
8288 * obsolete/options.el (Edit-options-mode):
8289 * net/quickurl.el (quickurl-list-mode):
8290 * net/newst-treeview.el (newsticker-treeview-mode):
8291 * mail/rmailsum.el (rmail-summary-mode):
8292 * mail/mspools.el (mspools-mode):
8293 * locate.el (locate-mode):
8294 * ibuffer.el (ibuffer-mode):
8295 * emulation/ws-mode.el (wordstar-mode):
8296 * emacs-lisp/debug.el (debugger-mode):
8297 * array.el (array-mode):
8298 * net/eudc.el (eudc-mode): Use define-derived-mode.
8299 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
8300 Move initialization into declaration.
8301 (mairix-searches-mode): Use define-derived-mode.
8302 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
8303 (eudc-edit-hotlist): Use dolist.
8304 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
8305 (Man-mode): Use define-derived-mode.
8306 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
8307 (Info-edit-mode): Use define-derived-mode.
8308 (Info-cease-edit): Use Info-mode.
8309 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
8310 into declaration.
8311 (eshell-mode): Use define-derived-mode.
8312 * chistory.el (command-history-mode-map): Rename from
8313 command-history-map.
8314 (command-history-mode): Use define-derived-mode.
da712f22 8315 (Command-history-setup): Remove function.
1b3b87df
SM
8316 * calc/calc.el (calc-trail-mode-map): New var.
8317 (calc-trail-mode): Use define-derived-mode.
8318 (calc-trail-buffer): Set calc-main-buffer manually.
8319 * bookmark.el (bookmark-insert-annotation): New function.
8320 (bookmark-edit-annotation): Use it.
8321 (bookmark-edit-annotation-mode): Make it a proper major mode.
8322 (bookmark-send-edited-annotation): Use derived-mode-p.
8323 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
8324 closer to its ideal place. Use \' to match EOS.
8325
34675540
SM
8326 * profiler.el (profiler-calltree-find): Use function-equal.
8327
6a5c15d9
GM
83282013-09-10 Glenn Morris <rgm@gnu.org>
8329
1af4c220
GM
8330 * files.el (interpreter-mode-alist): Convert to regexps.
8331 (set-auto-mode): Adapt for this. (Bug#15306)
8332 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
8333 Comment out unused variable.
8334 * progmodes/cc-mode.el (interpreter-mode-alist):
8335 * progmodes/python.el (interpreter-mode-alist):
8336 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
8337 * progmodes/sh-script.el (sh-set-shell):
8338 No longer use interpreter-mode-alist to get list of shells.
8339
6a5c15d9
GM
8340 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
8341
8c27f5ff
SM
83422013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
8343
02ef6c1a 8344 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 8345 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
8346 Bind switch-frame explicitly. Replace universal-argument-minus with
8347 a conditional binding.
8348 (universal-argument-num-events, saved-overriding-map): Remove.
8349 (restore-overriding-map): Remove.
8350 (universal-argument--mode): Rename from save&set-overriding-map,
8351 and rewrite.
8352 (universal-argument, universal-argument-more, negative-argument)
8353 (digit-argument): Adjust accordingly.
8354 (universal-argument-minus): Remove.
8355 (universal-argument-other-key): Remove.
8356
8c27f5ff
SM
8357 * subr.el (with-demoted-errors): Add `format' argument.
8358
6480194c
MA
83592013-09-10 Michael Albinus <michael.albinus@gmx.de>
8360
8361 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
8362 `tramp-cleanup-connection'.
8363
8364 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
8365 parameters KEEP-DEBUG and KEEP-PASSWORD.
8366
8367 * net/tramp.el (tramp-file-name-handler):
8368 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8369 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
8370 (tramp-maybe-open-connection):
8c27f5ff
SM
8371 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
8372 Use `tramp-cleanup-connection'.
6480194c 8373
8c27f5ff
SM
8374 * net/tramp-sh.el (tramp-maybe-open-connection):
8375 Catch 'uname-changed inside the progress reporter.
6480194c 8376
e5e916d8
GM
83772013-09-10 Glenn Morris <rgm@gnu.org>
8378
9a2c9b47
GM
8379 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
8380
e5e916d8
GM
8381 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
8382 returns "alternate access method" in mode (eg "-rw-r--r--.").
8383
144e38fe
GM
83842013-09-08 Glenn Morris <rgm@gnu.org>
8385
8386 * saveplace.el (load-save-place-alist-from-file):
8387 Demote errors. (Bug#15305)
8388
af9ff9e8
MA
83892013-09-08 Michael Albinus <michael.albinus@gmx.de>
8390
8391 Improve compatibility with older Emacsen, and XEmacs.
8392
8393 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
8394 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
8395 (with-tramp-progress-reporter): Do not let-bind `result'.
8396 This yields to scoping errors in XEmacs.
af9ff9e8
MA
8397 (tramp-handle-make-auto-save-file-name): New function, moved from
8398 tramp-sh.el.
8399
8400 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
8401 for `make-auto-save-file-name'.
8c27f5ff
SM
8402 (tramp-adb--gnu-switches-to-ash):
8403 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
8404
8405 * net/tramp-cache.el (tramp-cache-print): Call
8406 `substring-no-properties' only if it is bound. It isn't for XEmacs.
8407
8408 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
8409 bound. It isn't for XEmacs.
8410
8c27f5ff
SM
8411 * net/tramp-compat.el (tramp-compat-copy-file):
8412 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
8413 (tramp-compat-replace-regexp-in-string): New defun.
8414
8415 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
8416 for `make-auto-save-file-name'.
8417 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
8418 `copy-file'.
8419 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
8420 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
8421 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
8422
8c27f5ff
SM
8423 * net/tramp-gw.el (tramp-gw-open-network-stream):
8424 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 8425
8c27f5ff
SM
8426 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8427 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
8428 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
8429 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
8430 (tramp-sh-file-inotifywait-process-filter):
8431 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
8432 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
8433
8434 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
8435 for `make-auto-save-file-name'.
8c27f5ff
SM
8436 (tramp-smb-handle-copy-directory):
8437 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
8438 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
8439 (tramp-smb-handle-copy-file): Improve error message.
8440 (tramp-smb-handle-rename-file): Rename directly only in case
8441 `newname' does not exist yet. This is a restriction of smbclient.
8442 (tramp-smb-maybe-open-connection): Rerun the function only when
8443 `auth-sources' is non-nil.
8444
0ca754d0
KH
84452013-09-08 Kenichi Handa <handa@gnu.org>
8446
e0eb0550 8447 * international/characters.el: Set category "^" (Combining) for
0ca754d0
KH
8448 more characters.
8449
e8dd0787
AM
84502013-09-07 Alan Mackenzie <acm@muc.de>
8451
8452 Correctly fontify Java class constructors.
8453 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
8454 in Java Mode.
8455 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
8456 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
8457 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
8458 "typeless" declaration there.
8459
f2f248e7
RW
84602013-09-07 Roland Winkler <winkler@gnu.org>
8461
8462 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
8463 field subtitle for entry type book.
8464
67982e2b
SM
84652013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8466
8467 * minibuffer.el: Make minibuffer-complete call completion-in-region
8468 rather than other way around.
8469 (completion--some, completion-pcm--find-all-completions):
8470 Don't delay signals when debugging.
8471 (minibuffer-completion-contents): Beware fields within the
8472 minibuffer contents.
8473 (completion-all-sorted-completions): Use defvar-local.
8474 (completion--do-completion, completion--cache-all-sorted-completions)
8475 (completion-all-sorted-completions, minibuffer-force-complete):
8476 Add args `beg' and `end'.
8477 (completion--in-region-1): New fun, extracted from minibuffer-complete.
8478 (minibuffer-complete): Use completion-in-region.
8479 (completion-complete-and-exit): New fun, extracted from
8480 minibuffer-complete-and-exit.
8481 (minibuffer-complete-and-exit): Use it.
8482 (completion--complete-and-exit): Rename from
8483 minibuffer--complete-and-exit.
8484 (completion-in-region--single-word): New function, extracted from
8485 minibuffer-complete-word.
8486 (minibuffer-complete-word): Use it.
8487 (display-completion-list): Make `common-substring' argument obsolete.
8488 (completion--in-region): Call completion--in-region-1 instead of
8489 minibuffer-complete.
8490 (completion-help-at-point): Pass boundaries to
8491 minibuffer-completion-help as args rather than via an overlay.
8492 (completion-pcm--string->pattern): Use `any-delim'.
8493 (completion-pcm--optimize-pattern): New function.
8494 (completion-pcm--pattern->regex): Handle `any-delim'.
8495 * icomplete.el (icomplete-forward-completions)
8496 (icomplete-backward-completions, icomplete-completions):
8497 Adjust calls to completion-all-sorted-completions and
8498 completion--cache-all-sorted-completions.
8499 (icomplete-with-completion-tables): Default to t.
8500 * emacs-lisp/crm.el (crm--current-element): Rename from
8501 crm--select-current-element. Don't put an overlay but return the
8502 boundaries instead.
8503 (crm--completion-command): Take two new args to bind to the boundaries.
8504 (crm-completion-help): Adjust accordingly.
8505 (crm-complete): Use completion-in-region.
8506 (crm-complete-word): Use completion-in-region--single-word.
8507 (crm-complete-and-exit): Use completion-complete-and-exit.
8508
e17d94a5
SM
85092013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8510
8511 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
8512 than dynamically.
8513
96727100
JL
85142013-09-06 Juri Linkov <juri@jurta.org>
8515
8516 * info.el (Info-display-images-node): When image file doesn't exist
8517 display text version of the image if it's provided in the Info file.
8518 Otherwise, display the location of missing image from SRC attribute.
8519 Add help-echo text property from ALT attribute. (Bug#15279)
8520
86cf7329
SM
85212013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8522
8523 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
8524 (edit-abbrevs-mode): Use define-derived-mode.
8525
8526 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
8527 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
8528 that it's defined.
8529 (epa-key-list-mode, epa-key-mode, epa-info-mode):
8530 Use define-derived-mode.
8531
8532 * epg.el (epg-start-encrypt): Minor CSE simplification.
8533
816244a2
WX
85342013-09-06 William Xu <william.xwl@gmail.com>
8535
8536 * arc-mode.el: Add support for 7za (bug#15264).
8537 (archive-7z-program): New var.
8538 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
8539 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
8540 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
8541
1486fa31
MA
85422013-09-06 Michael Albinus <michael.albinus@gmx.de>
8543
8544 Remove URL syntax.
8545
8546 * net/tramp.el (tramp-syntax, tramp-prefix-format)
8547 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
8548 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
8549 (tramp-postfix-host-format, tramp-file-name-regexp)
8550 (tramp-completion-file-name-regexp)
8551 (tramp-completion-dissect-file-name)
8552 (tramp-handle-substitute-in-file-name): Remove 'url case.
8553 (tramp-file-name-regexp-url)
8554 (tramp-completion-file-name-regexp-url): Remove constants.
8555
39785324
GM
85562013-09-06 Glenn Morris <rgm@gnu.org>
8557
8558 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
8559
1f896cb7
DG
85602013-09-05 Dmitry Gutov <dgutov@yandex.ru>
8561
8562 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
8563 keywords" below "here-doc beginnings" (Bug#15270).
8564
c0458e0b
SM
85652013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
8566
8567 * subr.el (pop): Use `car-safe'.
8568 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
8569 to detect unused `pop' return value.
8570
8571 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
8572 var `block-regexp'.
8573 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
8574 (python-fill-string): Remove unused var `marker'.
8575 (python-skeleton-add-menu-items): Remove unused var `items'.
8576
8577 * international/mule-cmds.el: Require CL.
8578 (find-coding-systems-for-charsets): Avoid add-to-list.
8579 (sanitize-coding-system-list): New function, extracted from
8580 select-safe-coding-system-interactively.
8581 (select-safe-coding-system-interactively): Use it.
8582 (read-input-method-name): Accept symbols for `default'.
8583
8584 * emacs-lisp/advice.el (defadvice): Add indent rule.
8585
6c42fc3e
DH
85862013-09-05 Daniel Hackney <dan@haxney.org>
8587
8588 * dired-x.el:
8589 * net/ange-ftp.el:
8590 * net/browse-url.el:
8591 * net/dbus.el:
8592 * net/eudc.el:
8593 * net/eudcb-ldap.el:
8594 * net/eww.el:
8595 * net/imap.el:
8596 * printing.el:
8597 * vc/ediff-diff.el:
8598 * vc/ediff-init.el:
8599 * vc/ediff-merg.el:
8600 * vc/ediff-mult.el:
8601 * vc/ediff-util.el:
8602 * vc/ediff-wind.el:
8603 * vc/ediff.el:
8604 * vc/emerge.el:
8605 * vc/pcvs.el:
8606 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
8607 byte compiler. Remove some unused let-bound variables.
8608
4c528aab
SM
86092013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
8610
8611 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
8612 a "ref-cell", since it gets better optimized (bug#14883).
8613
bd15c390
GM
86142013-09-05 Glenn Morris <rgm@gnu.org>
8615
8616 * progmodes/cc-awk.el (c-forward-sws): Declare.
8617
1c3ac2e5
GM
86182013-09-04 Glenn Morris <rgm@gnu.org>
8619
8620 * generic-x.el [rul-generic-mode]: Require cc-mode.
8621 (c++-mode-syntax-table): Declare.
8622 (rul-generic-mode-syntax-table): Init in the defvar.
8623
52b1cc79
SM
86242013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
8625
c828af56
SM
8626 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
8627 (vc-do-command, vc-set-async-update):
8628 * vc/vc-mtn.el (vc-mtn-dir-status):
8629 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
8630 (vc-hg-pull, vc-hg-merge-branch):
8631 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
8632 (vc-git-merge-branch):
8633 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
8634 (vc-cvs-dir-status-files):
8635 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
8636 (vc-bzr-dir-status-files):
8637 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
8638 * vc/vc-annotate.el: Use lexical-binding.
8639 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
8640 (vc-sentinel-movepoint): Declare.
8641 (vc-annotate): Don't use `goto-line'.
8642 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
8643 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
8644 (vc-sentinel-movepoint): Declare.
8645 * vc/vc-svn.el: Use lexical-binding.
8646 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
8647 * vc/vc-sccs.el:
8648 * vc/vc-rcs.el: Use lexical-binding.
8649
abae272c
SM
8650 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
8651 `deleted'. Don't drop errors silently.
8652
52b1cc79
SM
8653 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
8654
63191d9f
XF
86552013-09-04 Xue Fuqiao <xfq.free@gmail.com>
8656
8657 * vc/vc.el (vc-ignore): Rewrite.
8658 (vc-default-ignore): New function.
8659 (vc-default-ignore-completion-table): Use find-ignore-file.
8660
8661 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
8662 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
8663 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
8664 Remove. Most code moved to vc.el.
8665
9d3f707c
SM
86662013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
8667
abae272c 8668 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
8669 * net/tramp-smb.el (tramp-smb-get-file-entries):
8670 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
8671 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
8672
fde38d49
SM
8673 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
8674 Update call to it.
8675 (eww-change-select): Remove unused var `properties'.
8676 (eww-make-unique-file-name): Remove unused var `base'.
8677
8678 * finder.el (finder-compile-keywords): Don't mess with windows.
8679
84032db7
SM
8680 * calculator.el (calculator-funcall): Fix typo in last change.
8681
724f5e41
SM
8682 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
8683
14b511d4
SM
8684 * emacs-lisp/package.el (package-activate-1): Don't let a missing
8685 <pkg>-autoloads.el file stop us.
8686
9d3f707c 8687 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 8688 warnings, and factor out common code.
9d3f707c 8689
88527bc0
DG
86902013-09-03 Dmitry Gutov <dgutov@yandex.ru>
8691
8692 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
8693 two-character operators and whether the character preceding them
8694 changes their meaning (Bug#15208).
8695
96edb677
FEG
86962013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
8697
8698 Format code sent to Python shell for robustness.
9d3f707c
SM
8699 * progmodes/python.el (python-shell-buffer-substring):
8700 New function.
96edb677
FEG
8701 (python-shell-send-region, python-shell-send-buffer): Use it.
8702
95beaef3
MA
87032013-09-02 Michael Albinus <michael.albinus@gmx.de>
8704
8705 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
8706 * net/tramp.el (tramp-user-error): ... here.
8707 (tramp-find-method, tramp-check-proper-host)
8708 (tramp-dissect-file-name, tramp-debug-message)
8709 (tramp-handle-shell-command):
8710 * net/tramp-adb.el (tramp-adb-handle-shell-command):
8711 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
8712
8713 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
8714
f167c27b
MR
87152013-09-02 Martin Rudalics <rudalics@gmx.at>
8716
8717 * avoid.el (mouse-avoidance-point-position)
8718 (mouse-avoidance-too-close-p): Handle case where posn-at-point
8719 returns nil.
8720
cd16c5f1
FEG
87212013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
8722
8723 * progmodes/python.el (python-shell-completion-get-completions):
8724 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 8725 (python-nav-if-name-main): New command.
cd16c5f1 8726
e73c3a0d
GM
87272013-09-01 Glenn Morris <rgm@gnu.org>
8728
f8ccce03
GM
8729 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
8730 Avoid leading space in $wins. Otherwise the sed command used by
8731 eg compile-main ends up containing "/*.el". (Bug#15170)
8732
e73c3a0d
GM
8733 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
8734
415f808e
GM
87352013-08-30 Glenn Morris <rgm@gnu.org>
8736
8737 * emacs-lisp/bytecomp.el (byte-recompile-directory):
8738 Fix is-this-a-directory logic. (Bug#15220)
8739
f069bba8
SM
87402013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
8741
112798c1
SM
8742 * textmodes/css-mode.el: Use SMIE.
8743 (css-smie-grammar): New var.
8744 (css-smie--forward-token, css-smie--backward-token)
8745 (css-smie-rules): New functions.
8746 (css-mode): Use them.
8747 (css-navigation-syntax-table): Remove var.
8748 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
8749 (css-indent-calculate, css-indent-line): Remove functions.
8750
8751 Misc changes to reduce use of `(lambda...); and other cleanups.
8752 * cus-edit.el: Use lexical-binding.
8753 (customize-push-and-save, customize-apropos)
8754 (custom-buffer-create-internal): Use closures.
8755 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
8756 * progmodes/ada-xref.el: Use setq.
8757 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
8758 * dframe.el: Use lexical-binding.
8759 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
8760 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
8761 * descr-text.el: Use lexical-binding.
8762 (describe-text-widget, describe-text-sexp, describe-property-list):
8763 Use closures.
8764 * comint.el (comint-history-isearch-push-state): Use a closure.
8765 * calculator.el: Use lexical-binding.
8766 (calculator-number-to-string): Make it work with lexical-binding.
8767 (calculator-funcall): Same and use cl-letf.
8768
2da4c3ab
SM
8769 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
8770 (lisp--company-doc-string, lisp--company-location): New functions.
8771 (lisp-completion-at-point): Use them to improve Company support.
8772
f069bba8
SM
8773 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
8774 params of lambda expressions.
8775 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
8776 (ruby-smie--opening-pipe-p): New function.
8777 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
8778 symbols and matched |...| for formal params.
8779 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
8780 from being treated as hanging. Handle "rescue".
8781
6758b6a8
GM
87822013-08-29 Glenn Morris <rgm@gnu.org>
8783
8784 * progmodes/cc-engine.el (c-pull-open-brace):
8785 Move definition before use.
8786
e8dfd197
SM
87872013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
8788
8789 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
8790 are immutable. Don't use `unsafe' any more.
8791 (cl--defsubst-expand): Don't substitute at the same time as keeping
8792 a residual unused let-binding. Don't use `unsafe' any more.
8793
cc585c96
GM
87942013-08-29 Glenn Morris <rgm@gnu.org>
8795
ba579ea6
GM
8796 * calendar/cal-china.el (calendar-chinese-year-cache):
8797 Recenter on 2015.
8798
8201a87e
GM
8799 * nxml/nxml-util.el (nxml-debug-clear-inside):
8800 Use cl-loop rather than loop.
8801
6ee877c7
GM
8802 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
8803
cc585c96
GM
8804 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
8805
27be8d39
GM
88062013-08-28 Glenn Morris <rgm@gnu.org>
8807
397440a1
GM
8808 * progmodes/antlr-mode.el: No need to require cc-mode twice.
8809
2bb762d4
GM
8810 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
8811
27be8d39
GM
8812 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
8813
2d69b99e
SM
88142013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8815
f663baa7
SM
8816 * simple.el (repeat-complex-command--called-interactively-skip):
8817 New function.
8818 (repeat-complex-command): Use it (bug#14136).
8819
dd4f8b74
SM
8820 * progmodes/cc-mode.el: Minor cleanup of var declarations.
8821 (c-define-abbrev-table): Add `doc' argument.
8822 (c-mode-abbrev-table, c++-mode-abbrev-table)
8823 (objc-mode-abbrev-table, java-mode-abbrev-table)
8824 (idl-mode-abbrev-table, pike-mode-abbrev-table)
8825 (awk-mode-abbrev-table): Use it.
8826 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
8827 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
8828 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
8829 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
8830 Move initialization into the declaration; and remove any
8831 autoload cookie.
8832
b58969f7
SM
8833 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
8834 and dynamic let binding.
8835
4021d6a6
SM
8836 * vc/smerge-mode.el: Remove redundant :group args.
8837
2d69b99e
SM
8838 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
8839 to load-path.
8840
274919fd
JL
88412013-08-28 Juri Linkov <juri@jurta.org>
8842
8843 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
8844 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
8845 (isearch-other-meta-char): Handle an undefined shifted printing
8846 character by downshifting it. (Bug#15200)
8847
121f8c95
JL
88482013-08-28 Juri Linkov <juri@jurta.org>
8849
8850 * isearch.el (isearch-search): Change regexp error message for
8851 non-regexp searches. (Bug#15166)
8852
50b13cde
PE
88532013-08-28 Paul Eggert <eggert@cs.ucla.edu>
8854
8855 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
8856 for portability to hosts where /bin/sh has problems.
8857
95888bca
SM
88582013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8859
8860 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
8861
bbe558f1
JL
88622013-08-27 Juri Linkov <juri@jurta.org>
8863
8864 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
8865 in the keyboard macro. (Bug#15126)
8866
26f98a7d
JL
88672013-08-27 Juri Linkov <juri@jurta.org>
8868
8869 * isearch.el (isearch-quote-char): Comment out converting unibyte
8870 to multibyte, thus syncing with its `quoted-insert' counterpart.
8871 (Bug#15166)
8872
7c97d35e
MR
88732013-08-27 Martin Rudalics <rudalics@gmx.at>
8874
8875 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
8876 argument in call of get-largest-window (Bug#15185).
8877 Reported by Stephen Leake.
7c97d35e 8878
a0b5606e 88792013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
8880
8881 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
8882
9e89d835
SM
88832013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
8884
8885 * progmodes/python.el (python-font-lock-keywords): Don't return nil
8886 from a matcher-function unless there's no more matches (bug#15161).
8887
78fc2530
MA
88882013-08-26 Michael Albinus <michael.albinus@gmx.de>
8889
8890 * minibuffer.el: Revert change from 2013-08-20.
8891
8892 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
8893 with text property `tramp-default', if appropriate.
8894 (tramp-check-proper-host): New defun.
8895 (tramp-dissect-file-name): Do not check hostname. Revert change
8896 of 2013-03-18.
8897 (tramp-backtrace): Make VEC-OR-PROC optional.
8898
8899 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8900 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8901 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
8902 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
8903 Apply `tramp-check-proper-host'.
78fc2530 8904
edca97cd
TH
89052013-08-26 Tassilo Horn <tsdh@gnu.org>
8906
8907 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
8908 lambda expression in order to have `describe-variable' display it.
8909
df54bcbd
MA
89102013-08-26 Michael Albinus <michael.albinus@gmx.de>
8911
8912 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
8913 BUF can be optional. (Bug#15186)
8914
eed99101
XF
89152013-08-25 Xue Fuqiao <xfq.free@gmail.com>
8916
8917 * progmodes/flymake.el (flymake-get-real-file-name-function):
8918 Fix broken customization. (Bug#15184)
8919
b5eb9035
AM
89202013-08-25 Alan Mackenzie <acm@muc.de>
8921
8a51e842
AM
8922 Improve indentation of bracelists defined by macros (without "=").
8923
8924 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
8925 expansion begins with "{", regard it as bracelist when it doesn't
8926 contain a ";".
8927
869455d4
AM
8928 Parse C++ inher-intro when there's a template split over 2 lines.
8929
8930 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
8931 rigorously the search for "class" etc. followed by ":".
8932
8933 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
8934 random languages a regexp which never matches rather than nil.
8935
b5eb9035
AM
8936 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
8937
8938 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
8939 (c-awk-regexp-one-line-possibly-open-char-list-re)
8940 (c-awk-one-line-possibly-open-regexp-re)
8941 (c-awk-one-line-non-syn-ws*-re): Remove.
8942 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
8943 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
8944 (c-awk-space*-unclosed-regexp-/-re): New constants.
8945 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
8946 aren't regexp delimiters.
8947
8948 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
8949 handling for a rare situation in AWK Mode involving unterminated
8950 strings/regexps.
8951
61611d54
GM
89522013-08-23 Glenn Morris <rgm@gnu.org>
8953
2d85dc34
GM
8954 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
8955
cb8d2612
GM
8956 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
8957
bb35f42f
GM
8958 * files.el (create-file-buffer): If the result would begin with
8959 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 8960
b9808e77
SM
89612013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8962
e3a66363
SM
8963 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
8964 text-properties (bug#15155).
8965
b9808e77
SM
8966 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
8967 exist any more.
8968 (calc-keypad-redraw): Remove unused var `pad'.
8969 (calc-keypad-press): Remove unused var `menu'.
8970
7fd5f65e
MR
89712013-08-23 Martin Rudalics <rudalics@gmx.at>
8972
b9808e77
SM
8973 * window.el (display-buffer-pop-up-frame):
8974 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
8975 use it as the new frame's buffer (Bug#15133).
8976
8352b530
SM
89772013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8978
8979 * calendar/timeclock.el: Minor cleanups.
8980 (timeclock-ask-before-exiting, timeclock-use-display-time):
8981 Use `symbol'.
8982 (timeclock-modeline-display): Define as alias before the
8983 actual definition.
8984 (timeclock-mode-line-display): Use define-minor-mode.
8985 (timeclock-day-list-template): Make it a function, add an argument.
8986 (timeclock-day-list-required, timeclock-day-list-length)
8987 (timeclock-day-list-debt, timeclock-day-list-span)
8988 (timeclock-day-list-break): Adjust calls accordingly.
8989
9f7b1925
SM
89902013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
8991
8992 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
8993 Use read--expression so that completion works again.
8994
6e50e983
SS
89952013-08-21 Sam Steingold <sds@gnu.org>
8996
8997 Add rudimentary inferior shell interaction
8998 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
8999 (sh-set-shell): Reset it.
9f7b1925
SM
9000 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
9001 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 9002
dbb0d350
SM
90032013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
9004
9005 * align.el: Use lexical-binding.
9006 (align-region): Simplify accordingly.
9007
c88586a9
MA
90082013-08-20 Michael Albinus <michael.albinus@gmx.de>
9009
9010 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
9011
9012 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
9013 `non-essential' up.
9014
f95527c8
MA
90152013-08-17 Michael Albinus <michael.albinus@gmx.de>
9016
9017 * net/tramp.el:
9018 * net/tramp-adb.el:
9019 * net/tramp-cmds.el:
9020 * net/tramp-ftp.el:
9021 * net/tramp-gvfs.el:
9022 * net/tramp-gw.el:
9023 * net/tramp-sh.el: Don't wrap external variable declarations by
9024 `eval-when-compile'.
9025
4b5fe4ee
LMI
90262013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
9027
9028 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
9029 now that Emacs supports ImageMagick animations.
9030
13c366c9
MA
90312013-08-16 Michael Albinus <michael.albinus@gmx.de>
9032
9033 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
9034 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
9035
3dfc5cd6
MR
90362013-08-16 Martin Rudalics <rudalics@gmx.at>
9037
9038 * window.el (mouse-autoselect-window-select): Do autoselect when
9039 mouse pointer is on margin.
9040
4bbb4381
WP
90412013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
9042
9043 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
9044
3a2ddc2d
GM
90452013-08-16 Glenn Morris <rgm@gnu.org>
9046
e8bedf5a
GM
9047 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
9048 Handle "Remote Directory" response of some clients. (Bug#15058)
9049
58c4682f
GM
9050 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
9051 Tweak warning. (Bug#14926)
9052
57953f49
GM
9053 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
9054 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
9055
3a2ddc2d
GM
9056 * image-mode.el (image-mode-map): Add menu items to reverse,
9057 increase, decrease, reset animation speed.
9058 (image--set-speed, image-increase-speed, image-decrease-speed)
9059 (image-reverse-speed, image-reset-speed): New functions.
9060 (image-mode-map): Add bindings for speed commands.
9061
9062 * image.el (image-animate-get-speed, image-animate-set-speed):
9063 New functions.
9064 (image-animate-timeout): Respect image :speed property.
9065
10fa0ed3
SM
90662013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9067
9068 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
9069 previous line (bug#15101).
9070 (debugger-eval-expression, debugger-record-expression):
9071 Use read--expression (bug#15102).
9072
5d89d9d2
MA
90732013-08-15 Michael Albinus <michael.albinus@gmx.de>
9074
9075 Remove byte compiler warnings, visible when compiling with
9076 `byte-compile-force-lexical-warnings' set to t.
9077
9078 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
9079 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
9080 (tramp-handle-unhandled-file-name-directory)
9081 (tramp-handle-file-notify-add-watch, tramp-action-login)
9082 (tramp-action-succeed, tramp-action-permission-denied)
9083 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
9084 arguments with "_".
9085
9086 * net/tramp-adb.el (tramp-adb-parse-device-names)
9087 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
9088 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
9089 (tramp-adb-handle-file-truename): Remove unused arguments.
9090
9091 * net/tramp-cache.el (tramp-flush-directory-property)
9092 (tramp-flush-connection-property, tramp-list-connections)
9093 (tramp-parse-connection-properties): Prefix unused arguments with "_".
9094
10fa0ed3
SM
9095 * net/tramp-compat.el (tramp-compat-make-temp-file):
9096 Rename FILENAME to F.
5d89d9d2
MA
9097
9098 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
9099 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
9100 (tramp-zeroconf-parse-workstation-device-names)
9101 (tramp-zeroconf-parse-webdav-device-names)
9102 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
9103
9104 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
9105 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
9106
9107 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
9108 arguments.
9109 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
9110 (tramp-sh-handle-insert-file-contents-literally)
9111 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
9112 with "_".
9113 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
9114 Remove unused variables.
9115
9116 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
9117 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
9118 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
9119
9120 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
9121 Make them a defconst.
9122 (tramp-uuencode-region): Remove unused variable.
9123
62f33bae
JB
91242013-08-14 Juanma Barranquero <lekktu@gmail.com>
9125
9126 * frameset.el (frameset--prop-setter): New function.
9127 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
9128 (frameset-filter-minibuffer): Deal with the case that the minibuffer
9129 parameter was already set in FILTERED. Doc fix.
9130 (frameset--record-minibuffer-relationships): Allow saving a
9131 minibufferless frame without its corresponding minibuffer frame.
9132 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
9133 frame, if the frame id matches.
9134 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
9135 frames before orphaned ones.
9136 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 9137
c660a885
MR
91382013-08-14 Martin Rudalics <rudalics@gmx.at>
9139
9140 * window.el (window-make-atom): Don't overwrite parameter
9141 already present.
9142 (display-buffer-in-atom-window): Handle special case where we
9143 split an already atomic window.
9144 (window--major-non-side-window, display-buffer-in-side-window)
9145 (window--side-check): Ignore minibuffer window when walking
9146 window tree.
9147 (window-deletable-p): Return 'frame only if no other frame uses
9148 our minibuffer window.
9149 (record-window-buffer): Run buffer-list-update-hook.
9150 (split-window): Make sure window--check-frame won't destroy an
9151 existing atomic window in case the new window gets nested
9152 inside.
9153 (display-buffer-at-bottom): Ignore minibuffer window when
9154 walking window tree. Don't split a side window.
9155 (pop-to-buffer): Don't set-buffer here, the select-window call
9156 should do that.
9157 (mouse-autoselect-window-select): Autoselect only if we are in the
9158 text portion of the window.
9159
8259030d
LMI
91602013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9161
21c58ae2
LMI
9162 * net/shr.el (shr-parse-image-data): New function to grab both the
9163 data itself and the Content-Type.
9164 (shr-put-image): Use it.
9165
9166 * net/eww.el (eww-display-image): Ditto.
9167
8259030d
LMI
9168 * image.el (image-content-type-suffixes): New variable.
9169
ad756449
FEG
91702013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
9171
9172 * progmodes/python.el (python-imenu--build-tree)
9173 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
9174
f73f4ce6
XF
91752013-08-13 Xue Fuqiao <xfq.free@gmail.com>
9176
9177 * simple.el (backward-word): Mention the optional argument.
9178
1f585e65
SM
91792013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9180
9181 * frameset.el (frameset--make): Rename constructor from make-frameset.
9182 (frameset-p, frameset-valid-p): Don't autoload.
9183 (frameset-valid-p): Use normal accessors.
9184
af1c6c84
GM
91852013-08-13 Glenn Morris <rgm@gnu.org>
9186
55e47f95
GM
9187 * progmodes/compile.el (compile-command): Tweak example in doc.
9188 * obsolete/scribe.el (scribe-mode):
9189 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
9190
f0024d8c
GM
9191 * mail/feedmail.el (feedmail-confirm-outgoing)
9192 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
9193
9194 * cus-start.el (truncate-partial-width-windows): Fix type.
9195
9196 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
9197
af1c6c84
GM
9198 * net/shr.el (shr-table-horizontal-line): Fix custom type.
9199
5514cc4c
SM
92002013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9201
9202 * emacs-lisp/timer.el (timer--time-setter): New function.
9203 (timer--time): Use it as gv-setter.
9204
9205 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
9206 setter is not a symbol.
9207
7997a2f1
GJ
92082013-08-12 Grégoire Jadi <daimrod@gmail.com>
9209
9210 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
9211 if sending fails. This makes debugging easier.
9212
01f1a9ab
JB
92132013-08-12 Juanma Barranquero <lekktu@gmail.com>
9214
9215 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
9216 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
9217 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
9218
594a4307
EZ
92192013-08-12 Eli Zaretskii <eliz@gnu.org>
9220
9221 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
9222
7a22490f 92232013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
9224
9225 * format.el (format-annotate-function):
9226 Handle read-only text properties in the source. (Bug#14887)
9227
3e41a054
LMI
92282013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9229
5514cc4c
SM
9230 * net/eww.el (eww-display-html): Ignore coding system errors.
9231 One web site uses "utf-8lias" as the coding system.
3e41a054 9232
7ec326db
JB
92332013-08-11 Juanma Barranquero <lekktu@gmail.com>
9234
9235 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
9236
5660113b
JB
92372013-08-10 Juanma Barranquero <lekktu@gmail.com>
9238
9a4ebc74
JB
9239 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
9240 (tutorial--detailed-help): Remove unused local variables.
9241 (tutorial--save-tutorial-to): Use ignore-errors.
9242 (help-with-tutorial): Use looking-at-p.
9243
9244 * view.el (view-buffer-other-window, view-buffer-other-frame):
9245 Mark unused arguments.
9246
9247 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
9248 (woman-select-symbol-fonts, woman, woman-find-file)
9249 (woman-insert-file-contents, woman-non-underline-faces):
9250 Use string-match-p.
9251 (woman1-unquote): Move declaration.
9252
9253 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
9254 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
9255 argument. Remove unused local variable.
9256 (xml-parse-elem-type): Use string-match-p.
9257 (xml-substitute-numeric-entities): Use ignore-errors.
9258
45fdb482
JB
9259 * calculator.el (calculator): Mark unused argument.
9260 (calculator-paste, calculator-quit, calculator-integer-p):
9261 Use ignore-errors.
9262 (calculator-string-to-number, calculator-decimal, calculator-exp)
9263 (calculator-op-or-exp): Use string-match-p.
9264
9265 * dired.el (dired-buffer-more-recently-used-p): Declare.
9266 (dired-insert-set-properties, dired-insert-old-subdirs):
9267 Use ignore-errors.
9268
9269 * dired-aux.el (dired-compress): Use ignore-errors.
9270 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
9271 (dired-do-async-shell-command, dired-do-shell-command)
9272 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
9273 (dired-insert-subdir-validate): Use string-match-p.
9274 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
9275 (dired-add-entry): Use string-match-p, looking-at-p.
9276 (dired-insert-subdir-newpos): Remove unused local variable.
9277
9278 * filenotify.el (file-notify-callback): Remove unused local variable.
9279
9280 * filesets.el (filesets-error): Mark unused argument.
9281 (filesets-which-command-p, filesets-filter-dir-names)
9282 (filesets-directory-files, filesets-get-external-viewer)
9283 (filesets-ingroup-get-data): Use string-match-p.
9284
9285 * find-file.el (ff-other-file-name, ff-other-file-name)
9286 (ff-find-the-other-file, ff-cc-hh-converter):
9287 Remove unused local variables.
9288 (ff-get-file-name): Use string-match-p.
9289 (ff-all-dirs-under): Use ignore-errors.
9290
9291 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
9292 (follow-select-if-visible): Remove unused local variable.
9293
9294 * forms.el (read-file-filter): Move declaration.
9295 (forms--make-format, forms--make-parser, forms-insert-record):
9296 Quote function with #'.
9297 (forms--update): Use string-match-p. Quote function with #'.
9298
9299 * help-mode.el (help-dir-local-var-def): Mark unused argument.
9300 (help-make-xrefs): Use looking-at-p.
9301 (help-xref-on-pp): Use looking-at-p, ignore-errors.
9302
9303 * ibuffer.el (ibuffer-ext-visible-p): Declare.
9304 (ibuffer-confirm-operation-on): Use string-match-p.
9305
9306 * msb.el (msb-item-handler, msb-dired-item-handler):
9307 Mark unused arguments.
9308
9309 * ses.el (ses-decode-cell-symbol)
9310 (ses-kill-override): Remove unused local variable.
9311 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
9312 (ses-load): Use ignore-errors, looking-at-p.
9313 (ses-jump-safe): Use ignore-errors.
9314 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
9315
9316 * tabify.el (untabify, tabify): Mark unused arguments.
9317
9318 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
9319 Mark unused argument.
9320 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
9321 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
9322
c880af52
JB
9323 * emacs-lisp/timer.el (timer--time): Define setter with
9324 gv-define-setter to avoid deprecation warning.
9325
5660113b 9326 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 9327 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
9328 (cmpl-statistics-block): Remove (body was commented out).
9329 All callers changed.
9330 (add-completions-from-buffer, load-completions-from-file):
9331 Remove unused variables.
9332
156aab80
JB
93332013-08-09 Juanma Barranquero <lekktu@gmail.com>
9334
5c5dee78
JB
9335 * filecache.el (file-cache-delete-file-list):
9336 Print message only when told so.
9337 (file-cache-files-matching): Use #' in mapconcat argument.
9338
156aab80
JB
9339 * ffap.el (ffap-url-at-point): Fix reference to variable
9340 thing-at-point-default-mail-uri-scheme.
9341
ad9dcd70
SM
93422013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
9343
54bd972f
SM
9344 * subr.el (define-error): New function.
9345 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
9346 error-file-not-found and define with define-error.
9347 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
9348 and define with define-error.
9349 * userlock.el (file-locked, file-supersession):
9350 * simple.el (mark-inactive):
9351 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
9352 * progmodes/ada-mode.el (ada-mode-errors):
9353 * play/life.el (life-extinct):
9354 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
9355 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
9356 * nxml/rng-util.el (rng-error):
9357 * nxml/rng-uri.el (rng-uri-error):
9358 * nxml/rng-match.el (rng-compile-error):
9359 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
9360 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
9361 * nxml/nxml-rap.el (nxml-scan-error):
9362 * nxml/nxml-outln.el (nxml-outline-error):
9363 * net/soap-client.el (soap-error):
9364 * net/gnutls.el (gnutls-error):
9365 * net/ange-ftp.el (ftp-error):
9366 * mpc.el (mpc-proc-error):
9367 * json.el (json-error, json-readtable-error, json-unknown-keyword)
9368 (json-number-format, json-string-escape, json-string-format)
9369 (json-key-format, json-object-format):
9370 * jka-compr.el (compression-error):
9371 * international/quail.el (quail-error):
9372 * international/kkc.el (kkc-error):
9373 * emacs-lisp/ert.el (ert-test-failed):
9374 * calc/calc.el (calc-error, inexact-result, math-overflow)
9375 (math-underflow):
9376 * bookmark.el (bookmark-error-no-filename):
9377 * epg.el (epg-error): Define with define-error.
9378
0ea9e53a
SM
9379 * time.el (display-time-event-handler)
9380 (display-time-next-load-average): Don't call sit-for since it seems
9381 unnecessary (bug#15045).
9382
b0429158
SM
9383 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
9384 Use #' instead of ' to quote functions.
9385 (checkdoc-output-mode): Use setq-local.
9386 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
9387 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
9388 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
9389 (checkdoc-ispell, checkdoc-ispell-current-buffer)
9390 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
9391 (checkdoc-ispell-message-text, checkdoc-ispell-start)
9392 (checkdoc-ispell-continue, checkdoc-ispell-comments)
9393 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
9394
ad9dcd70
SM
9395 * ido.el (ido-completion-help): Fix up compiler warning.
9396
77187e6f
JB
93972013-08-09 Juanma Barranquero <lekktu@gmail.com>
9398
9399 * frameset.el (frameset-p): Add autoload cookie.
9400 (frameset--jump-to-register): New function, based on code moved from
9401 register.el.
9402 (frameset-to-register): Move from register.el. Adapt to `registerv'.
9403
9404 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
9405 (frameset-restore, frameset-save, frameset-session-filter-alist):
9406 Remove declarations.
9407 (register-alist): Doc fix.
9408 (frameset-to-register): Move to frameset.el.
9409 (jump-to-register, describe-register-1): Remove frameset-specific code.
9410
9d3aa82c
JB
94112013-08-08 Juanma Barranquero <lekktu@gmail.com>
9412
9413 * allout-widgets.el (allout-widgets-pre-command-business)
9414 (allout-widgets-post-command-business)
9415 (allout-widgets-after-change-handler)
9416 (allout-decorate-item-and-context, allout-set-boundary-marker)
9417 (allout-body-modification-handler)
9418 (allout-graphics-modification-handler): Mark ignored arguments.
9419 (allout-widgets-post-command-business)
9420 (allout-widgets-exposure-change-processor)
9421 (allout-widgets-exposure-undo-processor)
9422 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
9423 (allout-parse-item-at-point, allout-decorate-item-guides)
9424 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
9425 * allout.el (epa-passphrase-callback-function): Declare.
9426 (allout-overlay-insert-in-front-handler)
9427 (allout-overlay-interior-modification-handler)
9428 (allout-isearch-end-handler, allout-chart-siblings)
9429 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
9430 (allout-yank-processing, allout-process-exposed)
9431 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 9432 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
9433 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
9434 (lisp-indent-defform): Mark ignored arguments.
9435 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
9436 (calculate-lisp-indent): Remove unused variables.
9437 * international/characters.el (indian-2-column, arabic-2-column)
9438 (tibetan): Mark ignored arguments.
9439 (use-cjk-char-width-table): Mark ignored arguments.
9440 Remove unused variables.
9441 * international/fontset.el (build-default-fontset-data)
9442 (x-compose-font-name, create-fontset-from-fontset-spec):
9443 Mark ignored arguments.
9444 (fontset-plain-name): Remove unused variables.
9445 * international/mule.el (charset-id, charset-bytes, generic-char-p)
9446 (keyboard-coding-system): Mark ignored arguments.
9447 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
9448 * help.el (resize-temp-buffer-window):
9449 * window.el (display-buffer-in-major-side-window)
9450 (display-buffer-in-side-window, display-buffer-in-previous-window):
9451 Remove unused variables.
9452 * isearch.el (isearch-forward-symbol):
9453 * version.el (emacs-bzr-version-bzr):
9454 * international/mule-cmds.el (current-language-environment):
9455 * term/common-win.el (x-handle-iconic, x-handle-geometry)
9456 (x-handle-display):
9457 * term/pc-win.el (x-list-fonts, x-display-planes)
9458 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
9459 (x-server-version, x-display-screens, x-display-mm-height)
9460 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
9461 (x-selection-owner-p, x-own-selection-internal)
9462 (x-disown-selection-internal, x-get-selection-internal)
9463 (msdos-initialize-window-system):
9464 * term/tty-colors.el (tty-color-alist, tty-color-clear):
9465 * term/x-win.el (x-handle-no-bitmap-icon):
9466 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
9467 (vc-default-find-file-hook, vc-default-extra-menu):
9468 Mark ignored arguments.
9469
0ca3f70e
SM
94702013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9471
9472 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
9473 break-condition in the context of the debugged code (bug#12685).
9474
74c5d24c
CS
94752013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
9476
9477 * comint.el:
9478 Do not use an overlay to highlight the last prompt. (Bug#14744)
9479 (comint-mode): Make comint-last-prompt buffer local.
9480 (comint-last-prompt): New variable.
9481 (comint-last-prompt-overlay): Remove. Superseded by
9482 comint-last-prompt.
0ca3f70e
SM
9483 (comint-snapshot-last-prompt, comint-output-filter):
9484 Use comint-last-prompt.
74c5d24c 9485
c03c02ee
JB
94862013-08-08 Juanma Barranquero <lekktu@gmail.com>
9487
a3738d20 9488 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
9489 (frameset-save): Check validity of the resulting frameset.
9490
04263d23
XF
94912013-08-08 Xue Fuqiao <xfq.free@gmail.com>
9492
9493 * ido.el (ido-record-command): Add doc string.
9494
76c5e5ab
JB
94952013-08-08 Juanma Barranquero <lekktu@gmail.com>
9496
9497 * frameset.el (frameset): Do not disable creation of the default
9498 frameset-p predicate. Doc fix.
9499 (frameset-valid-p): New function, copied from the old predicate-p.
9500 Add additional checks.
9501 (frameset-restore): Check with frameset-valid-p.
9502 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
9503 (frameset-name, frameset-description, frameset-properties)
9504 (frameset-states): Add docstring.
f9dbf1cb
JB
9505 (frameset-session-filter-alist, frameset-persistent-filter-alist)
9506 (frameset-filter-alist): Doc fixes.
76c5e5ab 9507
bd0c3c0b
JB
95082013-08-08 Juanma Barranquero <lekktu@gmail.com>
9509
9510 * frameset.el (frameset-p, frameset-prop): Doc fixes.
9511
c735544c
SM
95122013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9513
9514 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
9515 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
9516 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
9517 (byte-compile-normal-call): Remove obsolescence check.
9518
2805a651
JB
95192013-08-08 Juanma Barranquero <lekktu@gmail.com>
9520
3677ffeb
JB
9521 * frameset.el (frameset-restore): Doc fix.
9522
2805a651
JB
9523 * register.el (frameset-frame-id, frameset-frame-with-id)
9524 (frameset-p, frameset-restore, frameset-save): Declare.
9525 (register-alist): Document framesets.
9526 (frameset-session-filter-alist): Declare.
9527 (frameset-to-register): New function.
9528 (jump-to-register): Implement jumping to framesets. Doc fix.
9529 (describe-register-1): Describe framesets.
9530
9531 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
9532
a912c016
JB
95332013-08-07 Juanma Barranquero <lekktu@gmail.com>
9534
9535 * desktop.el (desktop-save-frameset): Use new frameset-save args.
9536 Use lexical-binding.
9537
9538 * frameset.el (frameset): Use type vector, not list (incompatible
9539 change). Do not declare a new constructor, use the default one.
9540 Upgrade suggested properties `app', `name' and `desc' to slots `app',
9541 `name' and `description', respectively, and add read-only slot
9542 `timestamp'. Doc fixes.
9543 (frameset-copy, frameset-persistent-filter-alist)
9544 (frameset-filter-alist, frameset-switch-to-gui-p)
9545 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
9546 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
9547 (frameset-filter-iconified, frameset-keep-original-display-p):
9548 Doc fixes.
9549 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
9550 Rename from frameset-filter-(save|restore)-param. All callers changed.
9551 Doc fix.
9552 (frameset-p): Adapt to change to vector and be more thorough.
9553 Change arg name to OBJECT. Doc fix.
9554 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
9555 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
9556 All callers changed.
9557 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
9558 All callers changed.
9559 (frameset--record-minibuffer-relationships): Rename from
9560 frameset--process-minibuffer-frames. All callers changed.
9561 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
9562 Use new default constructor (again). Doc fix.
c295fc18 9563 (frameset--find-frame-if): Rename from `frameset--find-frame'.
a912c016
JB
9564 All callers changed.
9565 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
9566 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
9567 Doc fix.
9568 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
9569 PARAMETERS and WINDOW-STATE, respectively.
9570 (frameset-restore): Add new keyword argument PREDICATE.
9571 Reset frameset--target-display to nil. Doc fix.
9572
bb41480a
SM
95732013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
9574
f001e98e
SM
9575 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
9576 (bat-mode): Use it.
9577 (bat-mode-syntax-table): Mark \n as end-of-comment.
9578 (bat-font-lock-keywords): Remove comment rule.
9579
7679edb1
SM
9580 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
9581 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
9582
bb41480a
SM
9583 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
9584 (byte-compile-callargs-warn): Use `push'.
9585 (byte-compile-arglist-warn): Ignore higher-order "calls".
9586 (byte-compile-file-form-autoload): Use `pcase'.
9587 (byte-compile-function-form): If quoting a symbol, check that it exists.
9588
cdc1ebb9
EZ
95892013-08-07 Eli Zaretskii <eliz@gnu.org>
9590
9591 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
9592 and add a few popular commands found in batch files.
9593 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
9594 (dos-mode): Doc fixes.
9595
312b1740
SM
95962013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
9597
9598 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
9599 (dos-mode): Use setq-local. Add space after "rem".
9600 (dos-mode-syntax-table): Don't use "w" for symbol chars.
9601 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
9602
400a3178
AM
96032013-08-07 Arni Magnusson <arnima@hafro.is>
9604
9605 * progmodes/dos.el: New file.
9606 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
9607 dos-mode.
9608
3b5c03d3
GM
96092013-08-06 Glenn Morris <rgm@gnu.org>
9610
9611 * calendar/calendar.el: Add new faces, and day-header-array.
9612 (calendar-weekday-header, calendar-weekend-header)
9613 (calendar-month-header): New faces.
9614 (calendar-day-header-construct): New function.
9615 (calendar-day-header-width): Also :set calendar-day-header-array.
9616 (calendar-american-month-header, calendar-european-month-header)
9617 (calendar-iso-month-header): Use calendar- faces.
9618 (calendar-generate-month):
9619 Use calendar-day-header-array for day headers; apply faces to them.
9620 (calendar-mode): Check calendar-font-lock-keywords non-nil.
9621 (calendar-abbrev-construct): Add optional maxlen argument.
9622 (calendar-day-name-array): Doc fix.
9623 (calendar-day-name-array, calendar-abbrev-length)
9624 (calendar-day-abbrev-array):
9625 Also :set calendar-day-header-array, and maybe redraw.
9626 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 9627 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
9628 (calendar-day-name): Add option to use header array.
9629
ec6a2d7a
LMI
96302013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9631
9632 * net/shr.el (shr-render-td): Remove debugging.
9633 (shr-render-td): Make width computation consistent by defaulting
9634 all zero-width columns to 10 characters. This may not be optimal,
9635 but it's at least consistent.
2122cb6d
LMI
9636 (shr-make-table-1): Redo last change to fix the real problem in
9637 colspan handling.
ec6a2d7a 9638
ed4fd9c5
DA
96392013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
9640
0ca3f70e
SM
9641 * files.el (cache-long-line-scans):
9642 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 9643
64e22afe
JB
96442013-08-06 Juanma Barranquero <lekktu@gmail.com>
9645
024b38fc
JB
9646 * frameset.el (frameset, frameset-filter-alist)
9647 (frameset-filter-params, frameset-save, frameset--reuse-frame)
9648 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
9649 (frameset-compute-pos): Rename from frameset--compute-pos,
9650 and add docstring.
9651 (frameset-move-onscreen): Use frameset-compute-pos.
9652 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
9653
64e22afe
JB
9654 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
9655 Fix typos in docstrings.
9656
c8c2aca8
DA
96572013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
9658
9659 * frame.el (get-other-frame): Tiny cleanup.
9660
1d237bba
JB
96612013-08-06 Juanma Barranquero <lekktu@gmail.com>
9662
8951efef
JB
9663 * vc/vc.el (vc-default-ignore-completion-table):
9664 Silence byte-compiler warning.
9665
307764cc 9666 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3fcfc4ee 9667 slot, which can indeed be nil.
307764cc
JB
9668 (frameset-live-filter-alist, frameset-persistent-filter-alist):
9669 Move entry for `left' from persistent to live filter alist.
9670 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
9671 Doc fixes.
9672 (frameset-filter-params): When restoring a frame, copy items added to
9673 `filtered', to avoid unwittingly modifying the original parameters.
9674 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
9675 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
9676
1d237bba
JB
9677 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
9678 to use looking-at-p instead of looking-at. (Bug#15028)
9679
dc6c0eda
SM
96802013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
9681
9682 Revert introduction of isearch-filter-predicates (bug#14714).
9683 Rely on add-function instead.
9684 * isearch.el (isearch-filter-predicates): Rename it back to
9685 isearch-filter-predicate.
9686 (isearch-message-prefix): Use advice-function-mapc and advice
9687 properties to get the isearch-message-prefix.
9688 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
9689 instead of run-hook-with-args-until-failure.
9690 (isearch-filter-visible): Not obsolete any more.
9691 * loadup.el: Preload nadvice.
9692 * replace.el (perform-replace): Revert to funcall
9693 instead of run-hook-with-args-until-failure.
9694 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
9695 * dired-aux.el (dired-isearch-filenames-mode): Rename from
9696 dired-isearch-filenames-toggle; make it into a proper minor mode.
9697 Use add/remove-function.
9698 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
9699 Call the minor-mode rather than add/remove-hook.
9700 (dired-isearch-filter-filenames):
9701 Remove isearch-message-prefix property.
9702 * info.el (Info--search-loop): New function, extracted from Info-search.
9703 Funcall isearch-filter-predicate instead of
9704 run-hook-with-args-until-failure isearch-filter-predicates.
9705 (Info-search): Use it.
9706 (Info-mode): Use isearch-filter-predicate instead of
9707 isearch-filter-predicates.
9708
290d5b58
DA
97092013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
9710
9711 Do not call to `selected-window' where it is assumed by default.
9712 Affected functions are `window-minibuffer-p', `window-dedicated-p',
9713 `window-hscroll', `window-width', `window-height', `window-buffer',
9714 `window-frame', `window-start', `window-point', `next-window'
9715 and `window-display-table'.
9716 * abbrev.el (abbrev--default-expand):
9717 * bs.el (bs--show-with-configuration):
9718 * buff-menu.el (Buffer-menu-mouse-select):
9719 * calc/calc.el (calc):
9720 * calendar/calendar.el (calendar-generate-window):
9721 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
9722 (diary-make-entry):
9723 * comint.el (send-invisible, comint-dynamic-complete-filename)
9724 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
9725 * completion.el (complete):
9726 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
9727 * disp-table.el (describe-current-display-table):
9728 * doc-view.el (doc-view-insert-image):
9729 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
9730 * ehelp.el (with-electric-help):
9731 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
9732 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
9733 * emacs-lisp/helper.el (Helper-help-scroller):
9734 * emulation/cua-base.el (cua--post-command-handler-1):
9735 * eshell/esh-mode.el (eshell-output-filter):
9736 * ffap.el (ffap-gnus-wrapper):
9737 * help-macro.el (make-help-screen):
9738 * hilit-chg.el (highlight-compare-buffers):
9739 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
9740 * hl-line.el (global-hl-line-highlight):
9741 * icomplete.el (icomplete-simple-completing-p):
9742 * isearch.el (isearch-done):
9743 * jit-lock.el (jit-lock-stealth-fontify):
9744 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
a12bf61e 9745 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
290d5b58
DA
9746 * mpc.el (mpc-tagbrowser, mpc):
9747 * net/rcirc.el (rcirc-any-buffer):
9748 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
9749 * play/landmark.el (landmark-max-width, landmark-max-height):
9750 * play/zone.el (zone):
9751 * progmodes/compile.el (compilation-goto-locus):
9752 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
9753 * progmodes/etags.el (find-tag-other-window):
9754 * progmodes/fortran.el (fortran-column-ruler):
9755 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
9756 * progmodes/verilog-mode.el (verilog-point-text):
9757 * reposition.el (reposition-window):
9758 * rot13.el (toggle-rot13-mode):
9759 * server.el (server-switch-buffer):
9760 * shell.el (shell-dynamic-complete-command)
9761 (shell-dynamic-complete-environment-variable):
9762 * simple.el (insert-buffer, set-selective-display)
9763 (delete-completion-window):
9764 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
9765 (speedbar-recenter):
9766 * startup.el (fancy-splash-head):
9767 * textmodes/ispell.el (ispell-command-loop):
9768 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
9769 * tutorial.el (help-with-tutorial):
9770 * vc/add-log.el (add-change-log-entry):
9771 * vc/compare-w.el (compare-windows):
9772 * vc/ediff-help.el (ediff-indent-help-message):
9773 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
9774 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
9775 (ediff-setup-control-frame):
9776 * vc/emerge.el (emerge-position-region):
9777 * vc/pcvs-util.el (cvs-bury-buffer):
9778 * window.el (walk-windows, mouse-autoselect-window-select):
9779 * winner.el (winner-set-conf, winner-undo): Related users changed.
9780
38276e01
JB
97812013-08-05 Juanma Barranquero <lekktu@gmail.com>
9782
9783 * frameset.el (frameset--set-id): Doc fix.
9784 (frameset-frame-id, frameset-frame-id-equal-p)
9785 (frameset-locate-frame-id): New functions.
9786 (frameset--process-minibuffer-frames, frameset--reuse-frame)
9787 (frameset-restore): Use them.
9788
12b4c0ea
DA
97892013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
9790
9791 Do not call to `selected-frame' where it is assumed by default.
9792 Affected functions are `raise-frame', `redraw-frame',
9793 `frame-first-window', `frame-terminal' and `delete-frame'.
9794 * calendar/appt.el (appt-disp-window):
9795 * epg.el (epg-wait-for-completion):
9796 * follow.el (follow-delete-other-windows-and-split)
9797 (follow-avoid-tail-recenter):
9798 * international/mule.el (set-terminal-coding-system):
9799 * mail/rmail.el (rmail-mail-return):
9800 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
9801 * progmodes/f90.el (f90-add-imenu-menu):
9802 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
9803 * server.el (server-switch-buffer):
9804 * simple.el (delete-completion-window):
9805 * talk.el (talk):
9806 * term/xterm.el (terminal-init-xterm-modify-other-keys)
9807 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
9808 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
9809 * vc/ediff.el (ediff-documentation): Related users changed.
9810 * frame.el (selected-terminal): Remove the leftover.
9811
17f25e76
GM
98122013-08-05 Glenn Morris <rgm@gnu.org>
9813
9814 * calendar/calendar.el (calendar-generate-month):
9815 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
9816 (calendar-generate-month, calendar-font-lock-keywords):
9817 Fix for calendar-day-header-width > length of any day name.
17f25e76 9818
063233c3
JB
98192013-08-05 Juanma Barranquero <lekktu@gmail.com>
9820
9821 * desktop.el (desktop-clear): Use new name of sort predicate.
9822
9823 * frameset.el (frameset): Add docstring. Move :version property to its
9824 own `version' slot.
9825 (frameset-copy): Rename from copy-frameset.
9826 (frameset-p): Check more thoroughly.
9827 (frameset-prop): Do not check for :version, which is no longer a prop.
9828 (frameset-live-filter-alist, frameset-persistent-filter-alist):
9829 Use new :never value instead of t.
9830 (frameset-filter-alist): Expand and clarify docstring.
9831 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
9832 (frameset-filter-minibuffer, frameset-filter-save-param)
9833 (frameset-filter-restore-param, frameset-filter-iconified):
9834 Add pointer to docstring of frameset-filter-alist.
9835 (frameset-filter-params): Rename filter values to be more meaningful:
9836 :never instead of t, and reverse the meanings of :save and :restore.
9837 (frameset--process-minibuffer-frames): Clarify error message.
9838 (frameset-save): Avoid unnecessary and confusing call to framep.
9839 Use new BOA constructor for framesets.
9840 (frameset--reuse-list): Doc fix.
9841 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
9842 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
9843 (frameset-minibufferless-first-p): Doc fix.
9844 Rename from frameset-sort-frames-for-deletion.
9845 (frameset-restore): Doc fixes. Use new function names.
9846 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
9847
d5671a82
JB
98482013-08-04 Juanma Barranquero <lekktu@gmail.com>
9849
9850 * desktop.el (desktop-restore-forces-onscreen)
9851 (desktop-restore-reuses-frames): Document :keyword constant values.
9852 (desktop-filter-parameters-alist): Remove, now identical to
9853 frameset-filter-alist.
9854 (desktop--filter-tty*): Remove, moved to frameset.el.
9855 (desktop-save-frameset, desktop-restore-frameset):
9856 Do not pass :filters argument.
9857
9858 * frameset.el (frameset-live-filter-alist)
9859 (frameset-persistent-filter-alist): New variables.
9860 (frameset-filter-alist): Use them. Add autoload cookie.
9861 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
9862 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
9863 `frameset--id' (it's supposed to be internal to frameset.el).
9864 (frameset--process-minibuffer-frames): Ditto. Doc fix.
9865 (frameset--initial-params): New function.
9866 (frameset--get-frame): Use it. Doc fix.
9867 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
9868 Accept :all, not 'all.
9869 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
9870 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
9871 with fbound symbols. Fix frame id matching, and remove matching ids if
9872 the frame being restored is deleted. Obey :delete.
9873
671d5c16
SM
98742013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
9875
9876 * subr.el (macrop): New function.
9877 (text-clone--maintaining): New var.
9878 (text-clone--maintain): Rename from text-clone-maintain. Use it
9879 instead of inhibit-modification-hooks.
9880
9881 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
9882 a proxy, so as handle autoloads and redefinitions of the target.
9883 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
9884
9885 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
9886 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
9887 (pcase--mutually-exclusive-p): New function.
9888 (pcase--split-consp): Use it.
9889 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
9890 mutually exclusive with the current predicate.
9891
9892 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
9893 (edebug-macrop): Remove. Use `macrop' instead.
9894 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
9895 (ad-macro-p):
9896 * eshell/esh-cmd.el (eshell-macrop):
9897 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
9898
1d44e9dc
SM
98992013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
9900
9901 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
9902 (advice-mapc): New function, using it.
9903 (advice-function-member-p): New function.
9904 (advice--normalize): Store the cdr in advice--saved-rewrite since
9905 that's the part that will be changed.
9906 (advice--symbol-function): New function.
9907 (advice-remove): Handle removal before the function is defined.
9908 Adjust to new advice--saved-rewrite.
9909 (advice-member-p): Use advice-function-member-p and
9910 advice--symbol-function.
9911
5414a283
JB
99122013-08-04 Juanma Barranquero <lekktu@gmail.com>
9913
51d30f2c
JB
9914 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
9915 (frameset-filter-minibuffer): Doc fix.
9916 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
9917 (frameset--set-id, frameset--process-minibuffer-frames)
9918 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
9919 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 9920
5414a283
JB
9921 * desktop.el (desktop-clear): Only delete frames when called
9922 interactively and desktop-restore-frames is non-nil. Doc fix.
9923 (desktop-read): Set desktop-saved-frameset to nil.
9924
ab419665
XF
99252013-08-04 Xue Fuqiao <xfq.free@gmail.com>
9926
9927 * vc/vc.el (vc-ignore): Rewrite.
35e951cd 9928 (vc-default-ignore-completion-table, vc--read-lines)
ab419665
XF
9929 (vc--add-line, vc--remove-regexp): New functions.
9930
9931 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
9932 (vc-svn-ignore-completion-table): New function.
9933
9934 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
35e951cd 9935 (vc-hg-ignore-completion-table)
ab419665
XF
9936 (vc-hg-find-ignore-file): New functions.
9937
9938 * vc/vc-git.el (vc-git-ignore): Rewrite.
35e951cd 9939 (vc-git-ignore-completion-table)
ab419665
XF
9940 (vc-git-find-ignore-file): New functions.
9941
9942 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
9943
9944 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
35e951cd 9945 (vc-bzr-ignore-completion-table)
ab419665
XF
9946 (vc-bzr-find-ignore-file): New functions.
9947
2613dea2
JB
99482013-08-03 Juanma Barranquero <lekktu@gmail.com>
9949
9950 * frameset.el (frameset-prop): New function and setter.
9951 (frameset-save): Do not modify frame list passed by the caller.
9952
9c959872
SM
99532013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9954
9955 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
9956
a104f656
SM
99572013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
9958
70122acf
SM
9959 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
9960 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
9961
a104f656
SM
9962 * custom.el (custom-initialize-default, custom-initialize-set)
9963 (custom-initialize-reset, custom-initialize-changed): Affect the
9964 toplevel-default-value (bug#6275, bug#14586).
9965 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
9966 for bug#6275.
9967
f078d570
JB
99682013-08-02 Juanma Barranquero <lekktu@gmail.com>
9969
185e3b5a
JB
9970 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
9971 Add cl-def* expressions.
9972
f078d570
JB
9973 * frameset.el (frameset-filter-params): Fix order of arguments.
9974
9421876d
JB
99752013-08-02 Juanma Barranquero <lekktu@gmail.com>
9976
9977 Move code related to saving frames to frameset.el.
9978 * desktop.el: Require frameset.
9979 (desktop-restore-frames): Doc fix.
9980 (desktop-restore-reuses-frames): Rename from
9981 desktop-restoring-reuses-frames.
9982 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
9983 (desktop-clear): Clear frames too.
9984 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
9985 (desktop--filter-tty*, desktop-save, desktop-read):
9986 Use frameset functions.
9987 (desktop-before-saving-frames-functions, desktop--filter-*-color)
9988 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
9989 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
9990 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
9991 (desktop--process-minibuffer-frames, desktop-save-frames)
9992 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
9993 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
9994 (desktop--sort-states, desktop-restoring-frames-p)
9995 (desktop-restore-frames): Remove. Most code moved to frameset.el.
9996 (desktop-restoring-frameset-p, desktop-restore-frameset)
9997 (desktop--check-dont-save, desktop-save-frameset): New functions.
9998 (desktop--app-id): New constant.
9999 (desktop-first-buffer, desktop-buffer-ok-count)
10000 (desktop-buffer-fail-count): Move before first use.
10001 * frameset.el: New file.
10002
76dc5996
SM
100032013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
10004
10005 * files.el: Use lexical-binding.
10006 (dir-locals-read-from-file): Remove unused `err' variable.
10007 (hack-dir-local-variables--warned-coding): New var.
10008 (hack-dir-local-variables): Use it to avoid repeated warnings.
10009 (make-backup-file-name--default-function): New function.
10010 (make-backup-file-name-function): Use it as default.
10011 (buffer-stale--default-function): New function.
10012 (buffer-stale-function): Use it as default.
10013 (revert-buffer-insert-file-contents--default-function): New function.
10014 (revert-buffer-insert-file-contents-function): Use it as default.
10015 (insert-directory): Avoid add-to-list.
10016
10017 * autorevert.el (auto-revert-handler): Simplify.
10018 Use buffer-stale--default-function.
10019
06d36e2b
TH
100202013-08-01 Tassilo Horn <tsdh@gnu.org>
10021
5f648ab4
TH
10022 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
10023
06d36e2b
TH
10024 * whitespace.el (whitespace-ensure-local-variables): New function.
10025 (whitespace-cleanup-region): Call it.
10026 (whitespace-turn-on): Call it.
10027
a43dc424
MA
100282013-08-01 Michael Albinus <michael.albinus@gmx.de>
10029
10030 Complete file name handlers.
10031
10032 * net/tramp.el (tramp-handle-set-visited-file-modtime)
10033 (tramp-handle-verify-visited-file-modtime)
10034 (tramp-handle-file-notify-rm-watch): New functions.
10035 (tramp-call-process): Do not bind `default-directory'.
10036
44e18199
JB
10037 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10038 Order alphabetically.
afe1e4c8
GM
10039 <access-file, add-name-to-file, dired-call-process>:
10040 <dired-compress-file, file-acl, file-notify-rm-watch>:
10041 <file-ownership-preserved-p, file-selinux-context>:
10042 <make-directory-internal, make-symbolic-link, set-file-acl>:
10043 <set-file-selinux-context, set-visited-file-modtime>:
10044 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
10045 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
10046
10047 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
afe1e4c8
GM
10048 <file-notify-add-watch, file-notify-rm-watch>:
10049 <set-file-times, set-visited-file-modtime>:
10050 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
10051 (with-tramp-gvfs-error-message)
10052 (tramp-gvfs-handle-set-visited-file-modtime)
10053 (tramp-gvfs-fuse-file-name): Remove.
10054 (tramp-gvfs-handle-file-notify-add-watch)
10055 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
10056 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
10057
44e18199
JB
10058 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10059 Order alphabetically.
afe1e4c8
GM
10060 <file-notify-rm-watch>: Use default Tramp handler.
10061 <executable-find>: Remove private handler.
a43dc424
MA
10062 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
10063 `default-directory'.
10064 (tramp-sh-handle-executable-find)
10065 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
10066 (tramp-sh-file-gvfs-monitor-dir-process-filter)
10067 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
10068 Do not use `format' in `tramp-message'.
10069
10070 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
afe1e4c8
GM
10071 <file-notify-rm-watch, set-visited-file-modtime>:
10072 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
10073 (tramp-smb-call-winexe): Do not bind `default-directory'.
10074
7188b515
XF
100752013-08-01 Xue Fuqiao <xfq.free@gmail.com>
10076
10077 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
10078
2412ee1a
DG
100792013-07-31 Dmitry Gutov <dgutov@yandex.ru>
10080
10081 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
10082 use it.
10083 (log-view-diff-changeset): Same.
10084 (log-view-diff-common): Call backend command `previous-revision'
10085 to find out the previous revision, in both cases. Swap the
10086 variables `to' and `fr', so that `fr' usually refers to the
10087 earlier revision (Bug#14989).
10088
5002a754
KRC
100892013-07-31 Kan-Ru Chen <kanru@kanru.info>
10090
10091 * ibuf-ext.el (ibuffer-filter-by-filename):
10092 Make it work with dired buffers too.
10093
44e18199 100942013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
10095
10096 * emacs-lisp/re-builder.el (reb-color-display-p):
10097 * files.el (save-buffers-kill-terminal):
10098 * net/browse-url.el (browse-url):
10099 * server.el (server-save-buffers-kill-terminal):
10100 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
10101 Prefer nil to selected-frame for the first arg of frame-parameter.
10102
aeca3fbb
XF
101032013-07-31 Xue Fuqiao <xfq.free@gmail.com>
10104
10105 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
10106
158bc55c
SB
101072013-07-30 Stephen Berman <stephen.berman@gmx.net>
10108
10109 * minibuffer.el (completion--twq-all): Try and preserve each
10110 completion's case choice (bug#14907).
10111
d50fceab
LMI
101122013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10113
ac38e731
LMI
10114 * net/network-stream.el (open-network-stream): Mention the new
10115 :nogreeting parameter.
10116 (network-stream-open-starttls): Use the :nogreeting parameter
10117 (bug#14938).
10118
1211de50
LMI
10119 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
10120
997798bf
LMI
10121 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
10122 more natural than popping.
10123
d50fceab 10124 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 10125 (shr-urlify): Highlight under mouse.
d50fceab 10126
5c09de04
XF
101272013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10128
207d1d04
XF
10129 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
10130
10131 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
10132
5c09de04
XF
10133 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
10134 buffer for output.
10135
3cd51eaa
XF
10136 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
10137 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 10138
44e18199 10139 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 10140 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
10141
10142 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
10143
10144 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
10145 buffer for output.
10146
35a89bdd
EZ
101472013-07-29 Eli Zaretskii <eliz@gnu.org>
10148
10149 * frame.el (frame-notice-user-settings): Avoid inflooping when the
10150 initial frame is minibuffer-less. (Bug#14841)
10151
78822e94
MA
101522013-07-29 Michael Albinus <michael.albinus@gmx.de>
10153
10154 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
10155 option.
10156
10157 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10158 (tramp-maybe-open-connection): Use it.
10159
9503c190
JB
101602013-07-28 Juanma Barranquero <lekktu@gmail.com>
10161
10162 * desktop.el (desktop--make-frame): Include `minibuffer' in the
10163 minimal set of parameters passed when creating a frame, because
10164 the minibuffer status of a frame cannot be changed later.
10165
d5a845b4
SB
101662013-07-28 Stephen Berman <stephen.berman@gmx.net>
10167
10168 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
10169 replace-regexp-in-string and inadvertent omissions in previous change.
10170 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 10171 name of filtered items buffer.
d5a845b4 10172
ddeffb17
JB
101732013-07-28 Juanma Barranquero <lekktu@gmail.com>
10174
10175 * desktop.el: Optionally force offscreen frames back onscreen.
10176 (desktop-restoring-reuses-frames): New option.
10177 (desktop--compute-pos, desktop--move-onscreen): New functions.
10178 (desktop--make-frame): Use desktop--move-onscreen.
10179
f5950f7a
AM
101802013-07-27 Alan Mackenzie <acm@muc.de>
10181
10182 Fontify a Java generic method as a function.
10183 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
10184 value to t.
10185
ae43b66a
SB
101862013-07-27 Stephen Berman <stephen.berman@gmx.net>
10187
10188 * calendar/todo-mode.el: Add command to rename todo files.
10189 (todo-rename-file): New command.
10190 (todo-key-bindings-t): Add key binding for it. Change the
10191 bindings of todo-filter-regexp-items(-multifile) to use `x'
10192 instead of `r', since the latter is better suited to the new
10193 renaming command.
10194
5ab78d3d
AM
101952013-07-27 Alan Mackenzie <acm@muc.de>
10196
10197 Make Java try-with-resources statement parse properly.
10198 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
10199 (c-block-stmt-1-2-key): New language constants/variables.
10200 * progmodes/cc-engine.el (c-beginning-of-statement-1)
10201 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
10202 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 10203 with c-block-stmt-1-2-key.
5ab78d3d 10204
d85c4d50
JB
102052013-07-27 Juanma Barranquero <lekktu@gmail.com>
10206
10207 * desktop.el (desktop--make-frame): Apply most frame parameters after
10208 creating the frame to force (partially or totally) offscreen frames to
10209 be restored as such.
10210
e4c467f9
XF
102112013-07-26 Xue Fuqiao <xfq.free@gmail.com>
10212
10213 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 10214 (Bug#14948)
e4c467f9 10215
7ced0d04
SM
102162013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10217
10218 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
10219 `base' arg of backtrace-frame.
10220
fec92060
EZ
102212013-07-26 Eli Zaretskii <eliz@gnu.org>
10222
10223 * simple.el (list-processes): Doc fix.
10224
d58d31fb
JB
102252013-07-26 Juanma Barranquero <lekktu@gmail.com>
10226
10227 * desktop.el (desktop--select-frame):
d85c4d50 10228 Try harder to reuse existing frames.
d58d31fb 10229
53ff3e77
SM
102302013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10231
10232 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
10233 (edebug-eval): Use backtrace-eval.
10234 (edebug--display, edebug--recursive-edit): Don't let-bind the
10235 edebug-outer-* vars that keep track of variables we locally let-bind.
10236 (edebug-outside-excursion): Don't restore outside values of locally
10237 let-bound vars.
10238 (edebug--display): Use user-error.
10239 (cl-lexical-debug, cl-debug-env): Remove.
10240
045f7a53
JB
102412013-07-26 Juanma Barranquero <lekktu@gmail.com>
10242
10243 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
10244 are restored to be sure that they are visible before deleting any
10245 remaining ones.
10246
59070b32
MM
102472013-07-26 Matthias Meulien <orontee@gmail.com>
10248
742a3501
XF
10249 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
10250 vc-print-root-log. (Bug#14948)
59070b32 10251
b1fb3596
RS
102522013-07-26 Richard Stallman <rms@gnu.org>
10253
10254 Add aliases for encrypting mail.
10255 * epa.el (epa-mail-aliases): New option.
10256 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
10257 Bind inhibit-read-only so read-only text doesn't ruin everything.
10258 (epa-mail-default-recipients): New subroutine broken out.
10259 Handle epa-mail-aliases.
10260
56ea7291
SM
102612013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10262
10263 Add support for lexical variables to the debugger's `e' command.
10264 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
10265 vars, except for debugger-outer-match-data.
10266 (debugger-frame-number): Move check for "on a function call" from
10267 callers into it. Add `skip-base' argument.
10268 (debugger-frame, debugger-frame-clear): Simplify accordingly.
10269 (debugger-env-macro): Only reset the state stored in non-variables,
10270 i.e. current-buffer and match-data.
10271 (debugger-eval-expression): Rewrite using backtrace-eval.
10272 * subr.el (internal--called-interactively-p--get-frame): Remove.
10273 (called-interactively-p):
10274 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
10275 `base' arg of backtrace-frame instead.
10276
15ac32d5
GM
102772013-07-26 Glenn Morris <rgm@gnu.org>
10278
8358a09d
GM
10279 * align.el (align-regexp): Doc fix. (Bug#14857)
10280 (align-region): Explicit error if subexpression missing/does not match.
10281
15ac32d5
GM
10282 * simple.el (global-visual-line-mode):
10283 Do not duplicate the mode lighter. (Bug#14858)
10284
f47ad11b
MR
102852013-07-25 Martin Rudalics <rudalics@gmx.at>
10286
10287 * window.el (display-buffer): In display-buffer bind
10288 split-window-keep-point to t, bug#14829.
10289
02530987
JB
102902013-07-25 Juanma Barranquero <lekktu@gmail.com>
10291
10292 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
10293 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
10294 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
10295 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10296 Change accordingly.
f63ebeb5
JB
10297 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10298 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 10299
6ccb9cab 103002013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 10301
6ccb9cab 10302 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 10303
cb3a56d2
JB
103042013-07-25 Juanma Barranquero <lekktu@gmail.com>
10305
10306 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
10307 parameter to modify-frame-parameters if the value has not changed;
10308 this is a workaround for bug#14949.
10309 (desktop--make-frame): On cl-delete-if call, check parameter name,
10310 not full parameter.
10311
7aa7fff0
XF
103122013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10313
10314 * vc/vc.el (vc-ignore): New function.
10315
10316 * vc/vc-svn.el (vc-svn-ignore): New function.
10317
10318 * vc/vc-hg.el (vc-hg-ignore): New function.
10319
10320 * vc/vc-git.el (vc-git-ignore): New function.
10321
10322 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
10323 (vc-dir-ignore): New function.
10324
10325 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 10326 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
10327
10328 * vc/vc-bzr.el (vc-bzr-ignore): New function.
10329
10330 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
10331
889acc5c
JB
103322013-07-24 Juanma Barranquero <lekktu@gmail.com>
10333
10334 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
10335 (desktop-restore-frames): Warn when deleting an existing frame failed.
10336
86c40970
GM
103372013-07-24 Glenn Morris <rgm@gnu.org>
10338
10339 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
10340
d5d3c58a
MA
103412013-07-24 Michael Albinus <michael.albinus@gmx.de>
10342
10343 * filenotify.el (file-notify-supported-p):
10344 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
10345 Remove functions.
10346
35e951cd 10347 * autorevert.el (auto-revert-use-notify)
d5d3c58a
MA
10348 (auto-revert-notify-add-watch):
10349 * net/tramp.el (tramp-file-name-for-operation):
10350 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10351 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10352 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10353 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
10354 Remove `file-notify-supported-p' entry.
10355
d100084b
GM
103562013-07-24 Glenn Morris <rgm@gnu.org>
10357
10358 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 10359 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 10360
ac93e56b
SM
103612013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
10362
249eea30
SM
10363 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
10364 checked with memq (bug#14935).
10365
ac93e56b
SM
10366 * files.el (revert-buffer-function): Use a non-nil default.
10367 (revert-buffer-preserve-modes): Declare var to
10368 provide access to the `preserve-modes' argument.
10369 (revert-buffer): Let-bind it.
10370 (revert-buffer--default): New function, extracted from revert-buffer.
10371
2cdeb903
SM
103722013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
10373
10374 * lpr.el: Signal print errors more prominently.
10375 (print-region-function): Don't default to nil.
10376 (lpr-print-region): New function, extracted from print-region-1.
10377 Check lpr's return value and signal an error in case of problem.
10378 (print-region-1): Use it.
10379 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
10380 versions instead.
10381 (ps-printer-name): Default to nil.
10382 (ps-printer-name-option): Default to lpr-printer-switch.
10383 (ps-print-region-function): Don't default to nil.
10384 (ps-postscript-code-directory): Simplify default.
10385 (ps-do-despool): Use lpr-print-region to properly check the outcome.
10386 (ps-string-list, ps-eval-switch, ps-flatten-list)
10387 (ps-flatten-list-1): Remove.
10388 (ps-multibyte-buffer): Avoid setq.
10389 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
10390 (print-region-function, ps-print-region-function): Don't set them here.
10391
73600831
XF
103922013-07-24 Xue Fuqiao <xfq.free@gmail.com>
10393
35e951cd
JB
10394 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
10395 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
10396 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
0e55c076
XF
10397 (ido-decorations): Doc fix.
10398
73600831
XF
10399 * ansi-color.el: Fix old URL.
10400
3d012865
MM
104012013-07-23 Michael R. Mauger <michael@mauger.com>
10402
e903c210 10403 * progmodes/sql.el: Version 3.3
3d012865
MM
10404 (sql-product-alist): Improve oracle :prompt-cont-regexp.
10405 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
10406 (sql-interactive-remove-continuation-prompt): Rewrite, use
10407 functions above. Fix continuation prompt and complete output line
10408 handling.
10409 (sql-redirect-one, sql-execute): Use `read-only-mode' on
10410 redirected output buffer.
10411 (sql-mode): Restore deleted code (Bug#13591).
10412
da77a2e2
JB
104132013-07-23 Juanma Barranquero <lekktu@gmail.com>
10414
10415 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
10416
80ff0c71
MA
104172013-07-23 Michael Albinus <michael.albinus@gmx.de>
10418
10419 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
10420
10421 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10422 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10423 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
10424
b61d71e4
JB
104252013-07-23 Juanma Barranquero <lekktu@gmail.com>
10426
10427 * desktop.el (desktop-clear): Simplify; remove useless checks
10428 against invalid buffer names.
10429 (desktop-list*): Use cl-list*.
10430 (desktop-buffer-info, desktop-create-buffer): Simplify.
10431
c3512092
LL
104322013-07-23 Leo Liu <sdl.web@gmail.com>
10433
10434 * bookmark.el (bookmark-make-record): Restore NAME as a default
10435 value. (Bug#14933)
10436
0ac26976
SM
104372013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
10438
7d22ce18
SM
10439 * emacs-lisp/autoload.el (autoload--setup-output): New function,
10440 extracted from autoload--insert-text.
10441 (autoload--insert-text): Remove.
10442 (autoload--print-cookie-text): New function, extracted from
10443 autoload--insert-cookie-text.
10444 (autoload--insert-cookie-text): Remove.
10445 (autoload-generate-file-autoloads): Adjust calls accordingly.
10446
9b2607e8
SM
10447 * winner.el (winner-hook-installed-p): Remove.
10448 (winner-mode): Simplify accordingly.
10449
c43a8618
SM
10450 * subr.el (add-to-list): Fix compiler-macro when `append' is
10451 not constant. Don't use `cl-member' for the base case.
10452
0ac26976
SM
10453 * progmodes/subword.el: Fix boundary case (bug#13758).
10454 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
10455 own group.
10456 (subword-backward-regexp): Make it a constant.
10457 (subword-forward-internal): Don't treat a trailing capital as the
10458 beginning of a word.
10459
6874724a
AR
104602013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
10461
10462 * emacs-lisp/package.el (package-menu-mode): Don't modify the
10463 global value of tabulated-list-revert-hook (bug#14930).
10464
70f1b5e8
JB
104652013-07-22 Juanma Barranquero <lekktu@gmail.com>
10466
a1c80d9d
JB
10467 * desktop.el: Require 'cl-lib.
10468 (desktop-before-saving-frames-functions): New hook.
10469 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
10470 for frames being saved. Rename from desktop--save-minibuffer-frames.
10471 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
10472 Do not save frames with non-nil `desktop-dont-save' parameter.
10473 Filter out deleted frames.
a1c80d9d
JB
10474 (desktop--find-frame): Use cl-find-if.
10475 (desktop--select-frame): Use cl-(first|second|third) to access values
10476 of desktop-mini.
10477 (desktop--make-frame): Use cl-delete-if.
10478 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
10479 (desktop-restore-frames): Use cl-(first|second|third) to access values
10480 of desktop-mini. Look for visible frame at the end, not while
10481 restoring frames.
10482
70f1b5e8
JB
10483 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
10484 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
10485 Use string-match-p, looking-at-p (bug#14927).
10486
728dc3cc
JB
104872013-07-21 Juanma Barranquero <lekktu@gmail.com>
10488
56bc453c
JB
10489 * desktop.el (desktop-saved-frame-states):
10490 Rename from desktop--saved-states; all users changed.
10491 (desktop-save-frames): Rename from desktop--save-frames.
10492 Do not save state to desktop file.
10493 (desktop-save): Save desktop-saved-frame-states to desktop file
10494 and reset to nil.
10495 (desktop-restoring-frames-p): New function.
10496 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
10497 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
10498 buffer-lists when restoring frames. Suggested by Martin Rudalics.
10499
728dc3cc
JB
10500 * desktop.el: Correctly restore iconified frames.
10501 (desktop--filter-iconified-position): New function.
10502 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
10503
862f1c9c
GM
105042013-07-20 Glenn Morris <rgm@gnu.org>
10505
c4074c9f
GM
10506 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
10507 Let `message' do the formatting.
10508 (def-gdb-preempt-display-buffer): Add explicit format.
10509
d828e5f9
GM
10510 * image-dired.el (image-dired-track-original-file):
10511 Use with-current-buffer.
10512 (image-dired-track-thumbnail): Use with-current-buffer.
10513 Avoid changing point of wrong window.
10514
862f1c9c
GM
10515 * image-dired.el (image-dired-track-original-file):
10516 Avoid changing point of wrong window. (Bug#14909)
10517
f0398ec1 105182013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
10519
10520 * progmodes/gdb-mi.el (gdb-done-or-error):
10521 Guard against "%" in gdb output. (Bug#14127)
10522
1451928f
AS
105232013-07-20 Andreas Schwab <schwab@linux-m68k.org>
10524
763a086d
JB
10525 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
10526 (Bug#14826)
f7a03897 10527
1451928f
AS
10528 * international/mule.el (coding-system-iso-2022-flags): Fix last
10529 change.
10530
99107004
KH
105312013-07-20 Kenichi Handa <handa@gnu.org>
10532
763a086d
JB
10533 * international/mule.el (coding-system-iso-2022-flags):
10534 Add `8-bit-level-4'. (Bug#8522)
99107004 10535
48494e06
LMI
105362013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10537
8ba8eec5
LMI
10538 * net/shr.el (shr-mouse-browse-url): New command and keystroke
10539 (bug#14815).
10540
dfbc66e3
LMI
10541 * net/eww.el (eww-process-text-input): Allow inputting when the
10542 point is at the start of the line, as the properties aren't
10543 front-sticky.
10544
48494e06
LMI
10545 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
10546 degenerate widths.
10547
77c92cb9
RS
105482013-07-19 Richard Stallman <rms@gnu.org>
10549
aec7da77
RS
10550 * epa.el (epa-popup-info-window): Doc fix.
10551
77c92cb9
RS
10552 * subr.el (split-string): New arg TRIM.
10553
945c5bb1
JB
105542013-07-18 Juanma Barranquero <lekktu@gmail.com>
10555
10556 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
10557 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
10558
e06ec67f
MA
105592013-07-18 Michael Albinus <michael.albinus@gmx.de>
10560
c7064f05 10561 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
10562 `file-notify-support'. Do not autoload. Adapt all uses.
10563 (file-notify-supported-p): New defun.
10564
c7064f05
JB
10565 * autorevert.el (auto-revert-use-notify):
10566 Use `file-notify-supported-p' instead of `file-notify-support'.
10567 Adapt docstring.
e06ec67f
MA
10568 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
10569
10570 * net/tramp.el (tramp-file-name-for-operation):
10571 Add `file-notify-supported-p'.
10572
10573 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
10574 New defun.
10575 (tramp-sh-file-name-handler-alist): Add it as handler for
10576 `file-notify-supported-p '.
10577
10578 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10579 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10580 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
10581 Add `ignore' as handler for `file-notify-*' functions.
10582
5dc8a629
EZ
105832013-07-17 Eli Zaretskii <eliz@gnu.org>
10584
10585 * simple.el (line-move-partial, line-move): Don't start vscroll or
10586 scroll-up if the current line is not taller than the window.
10587 (Bug#14881)
10588
77aea2fb
DG
105892013-07-16 Dmitry Gutov <dgutov@yandex.ru>
10590
10591 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
10592 highlight question marks in the method names as strings.
ac72c08d
DG
10593 (ruby-block-beg-keywords): Inline.
10594 (ruby-font-lock-keyword-beg-re): Extract from
10595 `ruby-font-lock-keywords'.
77aea2fb 10596
18c26d81
JD
105972013-07-16 Jan Djärv <jan.h.d@swipnet.se>
10598
10599 * frame.el (blink-cursor-blinks): New defcustom.
10600 (blink-cursor-blinks-done): New defvar.
10601 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
10602 (blink-cursor-timer-function): Check if number of blinks has been
10603 done on X and NS.
10604 (blink-cursor-suspend, blink-cursor-check): New defuns.
10605
da48522e
GM
106062013-07-15 Glenn Morris <rgm@gnu.org>
10607
10608 * edmacro.el (edmacro-format-keys): Fix previous change.
10609
0463c1ef
PE
106102013-07-15 Paul Eggert <eggert@cs.ucla.edu>
10611
10612 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
10613 The hack didn't work outside English locales anyway.
10614
b43f6451
JB
106152013-07-15 Juanma Barranquero <lekktu@gmail.com>
10616
10617 * simple.el (define-alternatives): Rename from alternatives-define,
10618 per RMS' suggestion.
10619
b958c0ad
JB
106202013-07-14 Juanma Barranquero <lekktu@gmail.com>
10621
10622 * desktop.el (desktop-restore-frames): Change default to t.
10623 (desktop-restore-in-current-display): Now offer more options.
10624 (desktop-restoring-reuses-frames): New customization option.
10625 (desktop--saved-states): Doc fix.
10626 (desktop-filter-parameters-alist): New variable, renamed and expanded
10627 from desktop--excluded-frame-parameters.
10628 (desktop--target-display): New variable.
10629 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
10630 (desktop--filter-tty*, desktop--filter-*-color)
10631 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
10632 (desktop--filter-save-desktop-parm)
10633 (desktop-restore-in-original-display-p): New functions.
10634 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
10635 (desktop--save-minibuffer-frames): New function, inspired by a similar
10636 function from Martin Rudalics.
10637 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
10638 (desktop--restore-in-this-display-p): Remove.
10639 (desktop--find-frame): Rename from desktop--find-frame-in-display
10640 and add predicate argument.
10641 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
10642 (desktop--reuse-list): New variable.
10643 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
10644 New functions.
10645 (desktop--restore-frames): Add support for "minibuffer-special" frames.
10646
f6dd8b36
MA
106472013-07-14 Michael Albinus <michael.albinus@gmx.de>
10648
10649 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
10650
2ce3c565
DG
106512013-07-13 Dmitry Gutov <dgutov@yandex.ru>
10652
763a086d
JB
10653 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
10654 Highlight conversion methods on Kernel.
2ce3c565 10655
2cdb7698
AM
106562013-07-13 Alan Mackenzie <acm@muc.de>
10657
10658 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
10659 and comment it out. This out-commenting enables certain C++
10660 declarations to be parsed correctly.
10661
1a67b811
EZ
106622013-07-13 Eli Zaretskii <eliz@gnu.org>
10663
1b796d6b
EZ
10664 * international/mule.el (define-coding-system): Doc fix.
10665
1a67b811
EZ
10666 * simple.el (default-font-height): Don't call font-info if the
10667 frame's default font didn't change since the frame was created.
10668 (Bug#14838)
10669
58fbe886
LL
106702013-07-13 Leo Liu <sdl.web@gmail.com>
10671
10672 * ido.el (ido-read-file-name): Guard against non-symbol value.
10673
1f0480d4
FEG
106742013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
10675
10676 * progmodes/python.el (python-imenu--build-tree): Fix corner case
10677 in nested defuns.
10678
97ead0e5
LL
106792013-07-13 Leo Liu <sdl.web@gmail.com>
10680
10681 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
10682 ido-set-matches call. (Bug#6852)
10683
0880a952
DG
106842013-07-12 Dmitry Gutov <dgutov@yandex.ru>
10685
35e951cd 10686 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
0880a952
DG
10687 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
10688 Ruby 2.0.
10689 (ruby-font-lock-keywords): Distinguish calls to functions with
10690 module-like names from module references. Highlight character
10691 literals.
10692
a7d8babb
SDJ
106932013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
10694
10695 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 10696 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 10697
acfcc8c5
JB
106982013-07-12 Juanma Barranquero <lekktu@gmail.com>
10699
10700 * desktop.el (desktop--v2s): Remove unused local variable.
10701 (desktop-save-buffer): Make defvar-local; adjust docstring.
10702 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
10703 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
10704
051f2775
AS
107052013-07-12 Andreas Schwab <schwab@linux-m68k.org>
10706
10707 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
10708
f24e7572
GM
107092013-07-12 Eli Zaretskii <eliz@gnu.org>
10710
10711 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
10712 (Bug#14842)
10713
539a920c
GM
107142013-07-12 Glenn Morris <rgm@gnu.org>
10715
10716 * doc-view.el: Require cl-lib at runtime too.
10717 (doc-view-remove-if): Remove.
10718 (doc-view-search-next-match, doc-view-search-previous-match):
10719 Use cl-remove-if.
10720
10721 * edmacro.el: Require cl-lib at runtime too.
10722 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
10723 (edmacro-mismatch, edmacro-subseq): Remove.
10724
10725 * shadowfile.el: Require cl-lib.
10726 (shadow-remove-if): Remove.
10727 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
10728 Use cl-remove-if.
10729
10730 * wid-edit.el: Require cl-lib.
10731 (widget-choose): Use cl-remove-if.
10732 (widget-remove-if): Remove.
10733
10734 * progmodes/ebrowse.el: Require cl-lib at runtime too.
10735 (ebrowse-delete-if-not): Remove.
10736 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
10737 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
10738 Use cl-delete-if-not.
10739
1048af7c
JB
107402013-07-12 Juanma Barranquero <lekktu@gmail.com>
10741
10742 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
10743 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
10744
6c0674ee
LL
107452013-07-12 Leo Liu <sdl.web@gmail.com>
10746
10747 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
10748
a19b3c2d
GM
107492013-07-11 Glenn Morris <rgm@gnu.org>
10750
4582a01c
GM
10751 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
10752 (edebug-gensym-index, edebug-gensym):
10753 Remove reimplementation of cl-gensym.
10754 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
10755
10756 * thumbs.el: Require cl-lib at run-time too.
10757 (thumbs-gensym-counter, thumbs-gensym):
10758 Remove reimplementation of cl-gensym.
10759 (thumbs-temp-file): Use cl-gensym.
10760
a19b3c2d
GM
10761 * emacs-lisp/ert.el: Require cl-lib at runtime too.
10762 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
10763 (ert--intersection, ert--set-difference, ert--set-difference-eq)
10764 (ert--union, ert--gensym-counter, ert--gensym-counter)
10765 (ert--coerce-to-vector, ert--remove*, ert--string-position)
10766 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
10767 (ert-make-test-unbound, ert--expand-should-1)
10768 (ert--expand-should, ert--should-error-handle-error)
10769 (should-error, ert--explain-equal-rec)
10770 (ert--plist-difference-explanation, ert-select-tests)
10771 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
10772 Use cl-lib functions rather than reimplementations.
10773
88f6a933
MA
107742013-07-11 Michael Albinus <michael.albinus@gmx.de>
10775
10776 * net/tramp.el (tramp-methods): Extend docstring.
10777 (tramp-connection-timeout): New defcustom.
10778 (tramp-error-with-buffer): Reset timestamp only when appropriate.
10779 (with-tramp-progress-reporter): Simplify.
10780 (tramp-process-actions): Improve messages.
10781
10782 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10783 * net/tramp-sh.el (tramp-maybe-open-connection):
10784 Use `tramp-connection-timeout'.
afe1e4c8 10785 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
88f6a933
MA
10786 (Bug#14808)
10787
a43d577e
LL
107882013-07-11 Leo Liu <sdl.web@gmail.com>
10789
10790 * ido.el (ido-read-file-name): Conform to the requirements of
10791 read-file-name. (Bug#11861)
10792 (ido-read-directory-name): Conform to the requirements of
10793 read-directory-name.
10794
d77974bf
JB
107952013-07-11 Juanma Barranquero <lekktu@gmail.com>
10796
10797 * subr.el (delay-warning): New function.
10798
35cb8a3e
EZ
107992013-07-10 Eli Zaretskii <eliz@gnu.org>
10800
10801 * simple.el (default-line-height): New function.
10802 (line-move-partial, line-move): Use it instead of computing the
10803 line height inline.
10804 (line-move-partial): Always compute ROWH. If the last line is
10805 partially-visible, but its text is completely visible, allow
10806 cursor to enter such a partially-visible line.
10807
525c5c77
MA
108082013-07-10 Michael Albinus <michael.albinus@gmx.de>
10809
10810 Improve error messages. (Bug#14808)
10811
10812 * net/tramp.el (tramp-current-connection): New defvar, moved from
10813 tramp-sh.el.
0ac26976 10814 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 10815 needed anymore.
0ac26976
SM
10816 (tramp-error-with-buffer): Show message in minibuffer.
10817 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
10818 (with-tramp-progress-reporter): Improve messages.
10819 (tramp-process-actions): Use progress reporter. Delete process in
10820 case of error. Improve messages.
10821
763a086d
JB
10822 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
10823 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 10824 (tramp-current-connection): Remove.
525c5c77
MA
10825 (tramp-maybe-open-connection): The car of
10826 `tramp-current-connection' are the first 3 slots of the vector.
10827
c7a4d368
TZ
108282013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
10829
10830 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
10831 inside continued strings.
10832
954b166e
PE
108332013-07-10 Paul Eggert <eggert@cs.ucla.edu>
10834
10835 Timestamp fixes for undo (Bug#14824).
10836 * files.el (clear-visited-file-modtime): Move here from fileio.c.
10837
56973319
LL
108382013-07-10 Leo Liu <sdl.web@gmail.com>
10839
10840 * files.el (require-final-newline): Allow safe local value.
10841 (Bug#14834)
10842
5550a72c
LL
108432013-07-09 Leo Liu <sdl.web@gmail.com>
10844
10845 * ido.el (ido-read-directory-name): Handle fallback.
10846 (ido-read-file-name): Update DIR to ido-current-directory.
10847 (Bug#1516)
c28b9050 10848 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 10849
70c46b28
DG
108502013-07-09 Dmitry Gutov <dgutov@yandex.ru>
10851
10852 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
10853 "autoload". Remove "warn lower camel case" section, previously
10854 commented out. Highlight negation char. Do not highlight the
10855 target in singleton method definitions.
10856
0b64b838
SM
108572013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
10858
7fd72e2c
SM
10859 * faces.el (tty-setup-hook): Declare the hook.
10860
0b64b838
SM
10861 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
10862 and detect when a guard/pred depends on local vars (bug#14773).
10863 (pcase--u1): Adjust caller.
10864
ab49d60b
EZ
108652013-07-08 Eli Zaretskii <eliz@gnu.org>
10866
10867 * simple.el (line-move-partial, line-move): Account for
10868 line-spacing.
701d79aa
EZ
10869 (line-move-partial): Avoid setting vscroll when the last
10870 partially-visible line in window is of default height.
ab49d60b 10871
2d756ae0
LMI
108722013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
10873
10874 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
10875 been used a while.
10876
ed095bd7
JB
108772013-07-07 Juanma Barranquero <lekktu@gmail.com>
10878
10879 * subr.el (read-quoted-char): Remove unused local variable `char'.
10880
f1e6674b
MK
108812013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
10882
584ee3fc
GM
10883 * ediff.el (ediff-version): Version update.
10884 (ediff-files-command, ediff3-files-command, ediff-merge-command)
10885 (ediff-merge-with-ancestor-command, ediff-directories-command)
10886 (ediff-directories3-command, ediff-merge-directories-command)
10887 (ediff-merge-directories-with-ancestor-command): New functions.
10888 All are command-line interfaces to ediff: to facilitate calling
10889 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
10890
10891 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
10892 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 10893
584ee3fc
GM
10894 * viper.el (viper-version): Version update.
10895 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 10896
584ee3fc
GM
108972013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
10898
10899 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
10900 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
10901 (viper-intercept-ESC-key): Simplify.
10902 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
10903 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
10904 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
10905 (viper-setup-ESC-to-escape): New functions.
10906 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
10907 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 10908
9aff9b38
EZ
109092013-07-07 Eli Zaretskii <eliz@gnu.org>
10910
5165d44a
JB
10911 * simple.el (default-font-height, window-screen-lines):
10912 New functions.
9aff9b38
EZ
10913 (line-move, line-move-partial): Use them instead of
10914 frame-char-height and window-text-height. This makes scrolling
10915 text smoother when the buffer's default face uses a font that is
10916 different from the frame's default font.
10917
1afb1d07
JD
109182013-07-06 Jan Djärv <jan.h.d@swipnet.se>
10919
10920 * files.el (write-file): Do not display confirm dialog for NS,
d5081c1e 10921 it does its own dialog, which can't be canceled (Bug#14578).
1afb1d07 10922
23de972a
EZ
109232013-07-06 Eli Zaretskii <eliz@gnu.org>
10924
10925 * simple.el (line-move-partial): Adjust the row returned by
10926 posn-at-point for the current window-vscroll. (Bug#14567)
10927
54a42486
MA
109282013-07-06 Michael Albinus <michael.albinus@gmx.de>
10929
35e951cd 10930 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
54a42486
MA
10931 (tramp-sh-file-inotifywait-process-filter): Handle file names with
10932 spaces.
10933
34ada5f4
MR
109342013-07-06 Martin Rudalics <rudalics@gmx.at>
10935
10936 * window.el (window-state-put-stale-windows): New variable.
10937 (window--state-put-2): Save list of windows without matching buffer.
10938 (window-state-put): Remove "bufferless" windows if possible.
10939
11e03d89
JB
109402013-07-06 Juanma Barranquero <lekktu@gmail.com>
10941
10942 * simple.el (alternatives-define): Remove leftover :group keyword.
10943 Tweak docstring.
10944
3504a4be
LL
109452013-07-06 Leo Liu <sdl.web@gmail.com>
10946
10947 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
10948 (ido-enable-virtual-buffers): New variable.
10949 (ido-buffer-internal, ido-toggle-virtual-buffers)
10950 (ido-make-buffer-list): Use it.
10951 (ido-exhibit): Support turning on and off virtual buffers
10952 automatically.
10953
61e56e2c
JB
109542013-07-06 Juanma Barranquero <lekktu@gmail.com>
10955
10956 * simple.el (alternatives-define): New macro.
10957
321e1a9c
SM
109582013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
10959
10960 * subr.el (read-quoted-char): Use read-key.
10961 (sit-for): Let read-event decode tty input (bug#14782).
10962
d610f6dd
SB
109632013-07-05 Stephen Berman <stephen.berman@gmx.net>
10964
10965 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
10966 mode command and externally. Fix various related bugs.
10967 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
10968 (todo-delete-file): New command.
10969 (todo-check-file): New function.
10970 (todo-show): Handle external deletion of the file we're trying to
10971 show (bug#14688). Replace called-interactively-p by an optional
10972 prefix argument to avoid problematic interaction with catch form
10973 when byte compiled (bug#14702).
10974 (todo-quit): Handle external deletion of the archive's todo file.
10975 Make sure the buffer that was visiting the archive file is still
10976 live before trying to bury it.
10977 (todo-category-completions): Handle external deletion of any
10978 category completion files.
10979 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
10980 of todo files, in case of external deletion.
10981 (todo-add-file): Replace unnecessary setq by let-binding.
10982 (todo-find-archive): Check whether there are any archives.
10983 Replace unnecessary setq by let-binding.
10984 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
10985 archive buffer whether or not the archive already exists.
10986 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
10987 check if the archive is new; if it is, update list of archives.
10988 (todo-default-todo-file): Allow nil to be a valid value for when
10989 there are no todo files.
10990 (todo-reevaluate-default-file-defcustom): Use corrected definition
10991 of todo-default-todo-file.
10992 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
10993 (todo-delete-category, todo-show-categories-table)
10994 (todo-category-number): Clarify comment.
10995 (todo-filter-items): Clarify documentation string.
10996 (todo-show-current-file, todo-display-as-todo-file)
10997 (todo-reset-and-enable-done-separator): Tweak documentation string.
10998 (todo-done-separator): Make separator length window-width, since
10999 bug#2749 is now fixed.
11000
ddbdfd6f
MA
110012013-07-05 Michael Albinus <michael.albinus@gmx.de>
11002
321e1a9c
SM
11003 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
11004 Support both "gvfs-monitor-dir" and "inotifywait".
11005 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
11006 `tramp-sh-file-notify-process-filter'.
11007 (tramp-sh-file-gvfs-monitor-dir-process-filter)
11008 (tramp-get-remote-gvfs-monitor-dir): New defuns.
11009
96eb829a
LL
110102013-07-05 Leo Liu <sdl.web@gmail.com>
11011
11012 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
11013
cf13177e
YM
110142013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11015
11016 * frame.el (display-pixel-height, display-pixel-width)
11017 (display-mm-height, display-mm-width): Mention behavior on
11018 multi-monitor setups in docstrings.
11019 (w32-display-monitor-attributes-list): Declare function.
11020 (display-monitor-attributes-list): Use it.
11021
864c58ca
MA
110222013-07-04 Michael Albinus <michael.albinus@gmx.de>
11023
11024 * filenotify.el: New package.
11025
11026 * autorevert.el (top): Require filenotify.el.
11027 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
11028 instead.
11029 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11030 (auto-revert-notify-handler): Use `file-notify-*' functions.
11031
11032 * subr.el (file-notify-handle-event): Move function to filenotify.el.
11033
321e1a9c
SM
11034 * net/tramp.el (tramp-file-name-for-operation):
11035 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
11036
11037 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
11038 for `file-notify-add-watch' and `file-notify-rm-watch'.
11039 (tramp-process-sentinel): Improve trace.
11040 (tramp-sh-handle-file-notify-add-watch)
11041 (tramp-sh-file-notify-process-filter)
11042 (tramp-sh-handle-file-notify-rm-watch)
11043 (tramp-get-remote-inotifywait): New defuns.
11044
96673afe
JL
110452013-07-03 Juri Linkov <juri@jurta.org>
11046
11047 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
11048 call of `occur-read-primary-args' to interactive spec.
11049
11050 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
11051 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
11052
924494f4
MM
110532013-07-03 Matthias Meulien <orontee@gmail.com>
11054
11055 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
11056 `Buffer-menu-multi-occur'. Add it to the menu.
11057 (Buffer-menu-mode): Document it in docstring.
11058 (Buffer-menu-multi-occur): New command. (Bug#14673)
11059
56f75efc
DG
110602013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11061
11062 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
11063 keywords and built-ins.
11064
9b057d61
GM
110652013-07-03 Glenn Morris <rgm@gnu.org>
11066
208dee4d
GM
11067 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
11068
9b057d61
GM
11069 Make info-xref checks case-sensitive by default
11070 * info.el (Info-find-node, Info-find-in-tag-table)
11071 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
11072 Add option for exact case matching of nodes.
11073 * info-xref.el (info-xref): New custom group.
11074 (info-xref-case-fold): New option.
11075 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
11076
e01aa29c
LL
110772013-07-03 Leo Liu <sdl.web@gmail.com>
11078
11079 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
11080
3086ca2e
DG
110812013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11082
11083 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
11084 middle of block statement initially, lower the depth. Remove
11085 FIXME comment, not longer valid. Remove middle of block statement
11086 detection, no need to do that anymore since we've been using
11087 `ruby-parse-region' here.
11088
a3b49114
JD
110892013-07-02 Jan Djärv <jan.h.d@swipnet.se>
11090
11091 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
11092
08e5c823 110932013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
11094
11095 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
11096
2addf922
JB
110972013-07-01 Juanma Barranquero <lekktu@gmail.com>
11098
11099 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
11100 (desktop-restore-in-current-display): New customization option.
11101 (desktop--excluded-frame-parameters): Add `font'.
11102 (desktop--save-frames): Rename from desktop--save-windows.
11103 (desktop--restore-in-this-display-p): New function.
11104 (desktop--make-full-frame): Remove unwanted width/height from
11105 full(width|height) frames.
11106 (desktop--restore-frames): Rename from desktop--restore-windows.
11107 Obey desktop-restore-current-display. Do not delete old frames or
11108 select a new frame unless we were able to restore at least one frame.
11109
ef099a94
MN
111102013-06-30 Michal Nazarewicz <mina86@mina86.com>
11111
11112 * files.el (find-file-noselect): Simplify conditional expression.
11113
a12bf61e 11114 * textmodes/remember.el (remember-append-to-file):
ef099a94
MN
11115 Don't mix `find-buffer-visiting' and `get-file-buffer'.
11116
11117 Add `remember-notes' function to store random notes across Emacs
11118 restarts.
3fcfc4ee
JB
11119 * textmodes/remember.el (remember-data-file): Add :set callback to
11120 affect notes buffer (if any).
ef099a94
MN
11121 (remember-notes): New command.
11122 (remember-notes-buffer-name, bury-remember-notes-on-kill):
11123 New defcustoms for the `remember-notes' function.
11124 (remember-notes-save-and-bury-buffer): New command.
11125 (remember-notes-mode-map): New variable.
11126 (remember-mode): New minor mode.
11127 (remember-notes--kill-buffer-query): New function.
11128 * startup.el (initial-buffer-choice): Add notes to custom type.
11129
0865d506
EZ
111302013-06-30 Eli Zaretskii <eliz@gnu.org>
11131
0ba54312
EZ
11132 * bindings.el (right-char, left-char): Don't call sit-for, this is
11133 no longer needed. Use arithmetic comparison only for numerical
11134 arguments.
11135
ef099a94
MN
11136 * international/mule-cmds.el (select-safe-coding-system):
11137 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 11138
2fae38e5
LMI
111392013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11140
11141 * net/shr.el (shr-make-table-1): Add a sanity check that allows
11142 progression on degenerate tables.
ef099a94 11143 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 11144
a47cbd64
JB
111452013-06-30 Juanma Barranquero <lekktu@gmail.com>
11146
11147 Some fixes and improvements for desktop frame restoration.
11148 It is still experimental and disabled by default.
11149 * desktop.el (desktop--save-windows): Put the selected frame at
11150 the head of the list.
11151 (desktop--make-full-frame): New function.
11152 (desktop--restore-windows): Try to re-select the frame that was
11153 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
11154 just show an error message and continue. Set up maximized frames
11155 so they have default non-maximized dimensions.
a47cbd64 11156
6dbafa30
DG
111572013-06-30 Dmitry Gutov <dgutov@yandex.ru>
11158
ef099a94
MN
11159 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
11160 Don't start heredoc inside a string or comment.
6dbafa30 11161
4c672a0f
EZ
111622013-06-29 Eli Zaretskii <eliz@gnu.org>
11163
11164 * bindings.el (visual-order-cursor-movement): New defcustom.
11165 (right-char, left-char): Provide visual-order cursor motion by
11166 calling move-point-visually. Update the doc strings.
11167
50960f36
KH
111682013-06-28 Kenichi Handa <handa@gnu.org>
11169
11170 * international/mule.el (define-coding-system): New coding system
11171 properties :inhibit-null-byte-detection,
11172 :inhibit-iso-escape-detection, and :prefer-utf-8.
11173 (set-buffer-file-coding-system): If :charset-list property of
11174 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
11175 appropriate for setting.
11176
c1ea3abf
JB
11177 * international/mule-cmds.el (select-safe-coding-system):
11178 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
11179 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
11180
11181 * international/mule-conf.el (prefer-utf-8): New coding system.
11182 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
11183 files.
11184
75dbaf9d
IK
111852013-06-28 Ivan Kanis <ivan@kanis.fr>
11186
eadb6068
IK
11187 * net/shr.el (shr-render-region): New function.
11188
75dbaf9d
IK
11189 * net/eww.el: Autoload `eww-browse-url'.
11190
9ea5cf9f
DG
111912013-06-27 Dmitry Gutov <dgutov@yandex.ru>
11192
c1ea3abf
JB
11193 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11194 Adapt to `package-desc-version' being a list.
11195 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
11196 archive element.
11197
39c0e36f
JB
111982013-06-27 Juanma Barranquero <lekktu@gmail.com>
11199
11200 New experimental feature to save&restore window and frame setup.
11201 * desktop.el (desktop-save-windows): New defcustom.
11202 (desktop--saved-states): New var.
11203 (desktop--excluded-frame-parameters): New defconst.
11204 (desktop--filter-frame-parms, desktop--find-frame-in-display)
11205 (desktop--restore-windows, desktop--save-windows): New functions.
11206 (desktop-save): Call `desktop--save-windows'.
11207 (desktop-read): Call `desktop--restore-windows'.
11208
7f13406b
LMI
112092013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11210
ef099a94 11211 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 11212
1e072639
SB
112132013-06-27 Stephen Berman <stephen.berman@gmx.net>
11214
11215 * info.el (Info-try-follow-nearest-node): Move search for footnote
11216 above search for node name to prevent missing a footnote (bug#14717).
11217
f3e2cbde
SB
112182013-06-27 Stephen Berman <stephen.berman@gmx.net>
11219
11220 * obsolete/otodo-mode.el: Add obsolescence info to file header.
11221
99906aa0
LL
112222013-06-27 Leo Liu <sdl.web@gmail.com>
11223
11224 * net/eww.el (eww-read-bookmarks): Check file size.
11225
539f75f4
SM
112262013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11227
11228 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
11229 advice--pending if newdef is nil or an autoload (bug#13820).
11230 (advice-mapc): New function.
11231
843571cb
LMI
112322013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11233
11234 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
11235 probably.
23a75d7f 11236 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
11237 (eww-add-bookmark): New command.
11238 (eww-bookmark-mode): New mode and commands.
a285ce99 11239 (eww-add-bookmark): Remove newlines from the title.
47fd571b 11240 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 11241
f2136e1e
GM
112422013-06-26 Glenn Morris <rgm@gnu.org>
11243
eab35f39
GM
11244 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
11245 (hfy-size): Handle ttys. (Bug#14668)
11246
f2136e1e
GM
11247 * info-xref.el: Update for Texinfo 5 change in *note format.
11248 (info-xref-node-re, info-xref-note-re): New constants.
11249 (info-xref-check-buffer): Use info-xref-note-re.
11250
a49ff80c
SM
112512013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11252
a343d218
SM
11253 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
11254
a49ff80c
SM
11255 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
11256 nil terminate the loop (bug#14718).
11257
8308f184
LMI
112582013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11259
11260 * net/eww.el: Rework history traversal. When going forward/back,
11261 put these actions into the history, too, so that they can be
11262 replayed.
26bf2b82 11263 (eww-render): Move the history reset to the correct buffer.
8308f184 11264
ec64c273
JL
112652013-06-25 Juri Linkov <juri@jurta.org>
11266
11267 * files-x.el (modify-dir-local-variable): Change the header comment
11268 in the file with directory local variables. (Bug#14692)
11269
e080a9d7
JL
11270 * files-x.el (read-file-local-variable-value): Add `default'.
11271 (Bug#14710)
11272
bfbc93a1
IK
112732013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11274
11275 * net/eww.el (eww-make-unique-file-name): Create a unique file
11276 name before saving to entering `y' accidentally asynchronously.
11277
112782013-06-25 Ivan Kanis <ivan@kanis.fr>
11279
11280 * net/eww.el (eww-download): New command and keystroke.
11281
16f74f10
LMI
112822013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11283
a49ff80c 11284 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
11285
11286 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
11287 be more consistent with Info and dired.
11288
11289 * net/eww.el (eww-mode-map): Ditto.
11290
12059709
SM
112912013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11292
11293 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
11294 packages from archives.
11295 (package-archive-contents): Change format; include obsolete packages.
11296 (package-desc): Use `dir' to mark builtin packages.
11297 (package--from-builtin): Set the `dir' field to `builtin'.
11298 (generated-autoload-file, version-control): Declare.
11299 (package-compute-transaction): Change first arg and return value to be
11300 lists of package-descs. Adjust to new package-archive-contents format.
11301 (package--add-to-archive-contents): Adjust to new
11302 package-archive-contents format.
11303 (package-download-transaction): Arg is now a list of package-descs.
11304 (package-install): If `pkg' is a package name, pass it as
11305 a requirement, so it is subject to the usual (e.g. disabled) checks.
11306 (describe-package): Accept package-desc as well.
11307 (describe-package-1): Describe a specific package-desc. Add links to
11308 other package-descs for the same package name.
11309 (package-menu-describe-package): Pass the actual package-desc.
11310 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
11311 works correctly.
11312 (package-desc-status): New function.
11313 (package-menu--refresh): New function, extracted
11314 from package-menu--generate.
11315 (package-menu--generate): Use it.
11316 (package-delete): Update package-alist.
11317 (package-menu-execute): Don't call package-initialize.
11318
11319 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
11320 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
11321 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
11322 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
11323 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
11324 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
11325
8bbdea0f
MR
113262013-06-25 Martin Rudalics <rudalics@gmx.at>
11327
11328 * window.el (window--state-get-1): Workaround for bug#14527.
11329 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
11330
e82b0991
LMI
113312013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11332
11333 * net/eww.el (eww-back-url): Implement the history by stashing all
11334 the data into a list.
d3f0f918 11335 (eww-forward-url): Allow going forward in the history, too.
e82b0991 11336
c763842b
SM
113372013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11338
11339 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
11340 for values and use read--expression for expressions (bug#14710).
11341 (read-file-local-variable): Avoid setq.
11342 (read-file-local-variable-mode): Use minor-mode-list.
11343
bceff189
RW
113442013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11345
864c58ca 11346 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
11347 for DOI URLs.
11348
45f431c6
RW
113492013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11350
864c58ca 11351 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
11352 Update imenu-support when dialect changes.
11353
f42d8237
LL
113542013-06-25 Leo Liu <sdl.web@gmail.com>
11355
11356 * ido.el (ido-read-internal): Allow forward slash on windows.
11357
be549ce6
LMI
113582013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
11359
11360 * net/eww.el (eww): Start of strings is \\`, not ^.
11361
71d4c19d
IK
113622013-06-24 Ivan Kanis <ivan@kanis.fr>
11363
5196f88a
IK
11364 * net/shr.el (shr-browse-url): Fix interactive spec.
11365
71d4c19d
IK
11366 * net/eww.el (eww): Add a trailing slash to domain names.
11367
ae36ca55
JB
113682013-06-24 Juanma Barranquero <lekktu@gmail.com>
11369
11370 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
11371
0ebd92a3
LMI
113722013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
11373
bdaa086b
LMI
11374 * net/shr.el (shr-browse-url): Use an external browser if given a
11375 prefix.
11376
c763842b 11377 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 11378
b89fc156
IK
113792013-06-24 Ivan Kanis <ivan@kanis.fr>
11380
11381 * net/eww.el (eww): Work more correctly for file: URLs.
11382 (eww-detect-charset): Allow quoted charsets.
11383 (eww-yank-page-url): New command and keystroke.
11384
18eb4bca
DU
113852013-06-24 Daiki Ueno <ueno@gnu.org>
11386
11387 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
11388 file name of gpg executable.
11389 (epg-context-program): New function.
11390 (epg-context-home-directory): New function.
11391 (epg-context-set-program): New function.
11392 (epg-context-set-home-directory): New function.
11393 (epg--start): Use `epg-context-program' instead of
11394 'epg-gpg-program'.
11395 (epg--list-keys-1): Likewise.
11396
6c6268c8
LL
113972013-06-24 Leo Liu <sdl.web@gmail.com>
11398
11399 * ido.el (ido-read-internal): Fix bug#14620.
11400
5e400cb3
JB
114012013-06-23 Juanma Barranquero <lekktu@gmail.com>
11402
11403 * faces.el (face-documentation): Simplify.
11404 (read-face-attribute, tty-find-type, x-resolve-font-name):
11405 Use `string-match-p'.
11406 (list-faces-display): Use `string-match-p'. Simplify.
11407 (face-spec-recalc): Check face to avoid face alias loops.
11408 (read-color): Use `string-match-p' and non-capturing parenthesis.
11409
f3f9606c
LMI
114102013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
11411
11412 * net/shr.el (shr-rescale-image): Use the new
11413 :max-width/:max-height functionality.
11414
a3ca09b9
IK
114152013-06-23 Ivan Kanis <ivan@kanis.fr>
11416
11417 * net/eww.el (eww-search-prefix): New variable.
11418 (eww): Use it.
f865b474
IK
11419 (eww-external-browser): New variable.
11420 (eww-mode-map): New keystroke.
11421 (eww-browse-with-external-browser): New command.
a3ca09b9 11422
e854cfc7
IK
11423 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
11424
18bb9e21
JB
114252013-06-23 Juanma Barranquero <lekktu@gmail.com>
11426
11427 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
11428 Don't skip aligning the next header field when padding is 0;
11429 otherwise, field width is not respected unless the title is as
11430 wide as the field.
11431
5b165ade
SM
114322013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11433
11434 * emacs-lisp/package.el (package-el-version): Remove.
11435 (package-process-define-package): Fix inf-loop.
11436 (package-install): Allow symbols as arguments again.
11437
12adebe9
DG
114382013-06-22 Dmitry Gutov <dgutov@yandex.ru>
11439
11440 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
11441 add some more keyword-like methods.
11442 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
11443
388573ee
JB
114442013-06-22 Juanma Barranquero <lekktu@gmail.com>
11445
11446 * bs.el (bs-buffer-show-mark): Make defvar-local.
11447 (bs-mode): Use setq-local.
11448
11449 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
11450 (emacs-lock--try-unlocking): Make defvar-local.
11451
4582a01c 114522013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 11453
2663dd23
GM
11454 * play/cookie1.el (cookie-apropos): Minor simplification.
11455
3d94f3ad
GM
11456 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
11457
f72e2fdb
DG
114582013-06-22 Dmitry Gutov <dgutov@yandex.ru>
11459
11460 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
11461 `regexp-opt', it breaks the build during dumping.
11462
73eab938
DG
114632013-06-21 Dmitry Gutov <dgutov@yandex.ru>
11464
c763842b
SM
11465 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11466 Highlight keyword-like methods on Kernel and Module with
73eab938 11467 font-lock-builtin-face.
5cf8176d
DG
11468 (auto-mode-alist): Consolidate different entries into one regexp
11469 and add more *file-s.
73eab938 11470
d26255f6
SB
114712013-06-21 Stephen Berman <stephen.berman@gmx.net>
11472
11473 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
11474
11475 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
11476 (diary-entry): Use it in the action of this button type instead of
11477 diary-goto-entry.
11478
11479 * calendar/todo-mode.el: New version.
11480 (todo-add-category): Append new category to end of file and give
11481 it the highest number, instead of putting it at the beginning and
11482 giving it 0. Incorporate noninteractive functionality.
11483 (todo-forward-category): Adapt to 1-based category numbering.
11484 Allow skipping over archived categories.
11485 (todo-backward-category): Derive from todo-forward-category.
11486 (todo-backward-item, todo-forward-item): Make noninteractive and
11487 delegate interactive part to new commands. Make sensitive to done items.
11488 (todo-categories): Make value an alist of category names and
11489 vectors of item counts.
11490 (todo-category-beg): Make a defconst.
11491 (todo-category-number): Use 1 instead of 0 as initial value.
11492 (todo-category-select): Make sensitive to overlays, optional item
11493 highlighting and done items.
11494 (todo-delete-item): Make sensitive to overlays and marked and done items.
11495 (todo-edit-item): Make sensitive to overlays and editing of
11496 date/time header optional. Add format checks.
11497 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
11498 no-op if point is not on an item. Advertise using todo-edit-quit.
11499 (todo-edit-mode): Make sensitive to new format, font-locking, and
11500 multiple todo files.
11501 (todo-insert-item, todo-insert-item-here): Derive from
11502 todo-basic-insert-item and extend functionality.
11503 (todo-item-end, todo-item-start): Make sensitive to done items.
11504 (todo-item-string): Don't return text properties. Restore point.
11505 (todo-jump-to-category): Make sensitive to multiple todo files and
11506 todo archives. Use extended category completion.
11507 (todo-lower-item, todo-raise-item): Rename to *-priority and
11508 derive from todo-set-item-priority.
11509 (todo-mode): Derive from special-mode. Make sensitive to new
11510 format, font-locking and multiple todo files. Make read-only.
11511 (todo-mode-map): Don't suppress digit keys, so they can supply
11512 prefix arguments. Add many new key bindings.
11513 (todo-prefix): Insert as an overlay instead of file text.
11514 Change semantics from diary date expression to purely visual mark.
11515 (todo-print): Rename to todo-print-buffer. Make buffer display
11516 features printable. Remove option to restrict number of items
11517 printed. Add option to print to file.
11518 (todo-print-function): Rename to todo-print-buffer-function.
11519 (todo-quit): Extend to handle exiting new todo modes.
11520 (todo-remove-item): Make sensitive to overlays.
11521 (todo-save): Extend to buffers of filtered items.
11522 (todo-show): Make sensitive to done items, multiple todo files and
11523 new todo modes. Offer to convert legacy todo file before creating
11524 first new todo file.
11525 (todo-show-priorities): Rename to todo-top-priorities.
11526 Change semantics of value 0.
11527 (todo-top-priorities): Rename to todo-filter-top-priorities,
11528 derive from todo-filter-items and extend functionality.
11529 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
11530 and extend functionality to other types of filtered items.
11531 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
11532 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
11533 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
11534 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
11535 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
11536 (todo-edit-mode-hook, todo-entry-prefix-function)
11537 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
11538 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
11539 (todo-initials, todo-insert-threshold, todo-item-string-start)
11540 (todo-line-string, todo-menu, todo-mode-hook)
11541 (todo-more-important-p, todo-previous-answer, todo-previous-line)
11542 (todo-print-priorities, todo-remove-separator)
11543 (todo-save-top-priorities-too, todo-string-count-lines)
11544 (todo-string-multiline-p, todo-time-string-format)
11545 (todo-tmp-buffer-name): Remove.
11546 (todo-add-file, todo-archive-done-item, todo-choose-archive)
11547 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
11548 (todo-edit-category-diary-inclusion)
11549 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
11550 (todo-edit-file, todo-edit-item-date-day)
11551 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
11552 (todo-edit-item-date-month, todo-edit-item-date-to-today)
11553 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
11554 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
11555 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
11556 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
11557 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
11558 (todo-filter-top-priorities-multifile, todo-find-archive)
11559 (todo-find-filtered-items-file, todo-go-to-source-item)
11560 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
11561 (todo-jump-to-archive-category, todo-lower-category)
11562 (todo-mark-category, todo-marked-item-p, todo-merge-category)
11563 (todo-move-category, todo-move-item, todo-next-button)
11564 (todo-next-item, todo-padded-string, todo-powerset)
11565 (todo-previous-button, todo-previous-item)
11566 (todo-print-buffer-to-file, todo-raise-category)
11567 (todo-rename-category, todo-repair-categories-sexp, todo-search)
11568 (todo-set-category-number, todo-set-item-priority)
11569 (todo-set-top-priorities-in-category)
11570 (todo-set-top-priorities-in-file, todo-show-categories-table)
11571 (todo-sort-categories-alphabetically-or-numerically)
11572 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
11573 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
11574 (todo-toggle-item-header, todo-toggle-item-highlighting)
11575 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
11576 (todo-toggle-view-done-items, todo-toggle-view-done-only)
11577 (todo-unarchive-items, todo-unmark-category): New commands.
11578 (todo-absolute-file-name, todo-add-to-buffer-list)
11579 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
11580 (todo-basic-insert-item, todo-category-completions)
11581 (todo-category-number, todo-category-string-matcher-1)
11582 (todo-category-string-matcher-2, todo-check-filtered-items-file)
11583 (todo-check-format, todo-clear-matches)
11584 (todo-comment-string-matcher, todo-convert-legacy-date-time)
11585 (todo-current-category, todo-date-string-matcher)
11586 (todo-define-insertion-command, todo-diary-expired-matcher)
11587 (todo-diary-goto-entry, todo-diary-item-p)
11588 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
11589 (todo-display-categories, todo-display-sorted, todo-done-item-p)
11590 (todo-done-item-section-p, todo-done-separator)
11591 (todo-done-string-matcher, todo-files, todo-filter-items)
11592 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
11593 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
11594 (todo-insert-category-line, todo-insert-item-from-calendar)
11595 (todo-insert-sort-button, todo-insert-with-overlays)
11596 (todo-insertion-command-name, todo-insertion-key-bindings)
11597 (todo-label-to-key, todo-longest-category-name-length)
11598 (todo-make-categories-list, todo-mode-external-set)
11599 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
11600 (todo-modes-set-3, todo-multiple-filter-files)
11601 (todo-nondiary-marker-matcher, todo-prefix-overlays)
11602 (todo-read-category, todo-read-date, todo-read-dayname)
11603 (todo-read-file-name, todo-read-time)
11604 (todo-reevaluate-category-completions-files-defcustom)
11605 (todo-reevaluate-default-file-defcustom)
11606 (todo-reevaluate-filelist-defcustoms)
11607 (todo-reevaluate-filter-files-defcustom)
11608 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
11609 (todo-reset-done-separator, todo-reset-done-separator-string)
11610 (todo-reset-done-string, todo-reset-global-current-todo-file)
11611 (todo-reset-highlight-item, todo-reset-nondiary-marker)
11612 (todo-reset-prefix, todo-set-categories)
11613 (todo-set-date-from-calendar, todo-set-show-current-file)
11614 (todo-set-top-priorities, todo-short-file-name)
11615 (todo-show-current-file, todo-sort, todo-time-string-matcher)
11616 (todo-total-item-counts, todo-update-buffer-list)
11617 (todo-update-categories-display, todo-update-categories-sexp)
11618 (todo-update-count, todo-validate-name, todo-y-or-n-p):
11619 New functions.
11620 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
11621 New major modes.
11622 (todo-categories, todo-display, todo-edit, todo-faces)
11623 (todo-filtered): New defgroups.
11624 (todo-archived-only, todo-button, todo-category-string, todo-date)
11625 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
11626 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
11627 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
11628 (todo-add-item-if-new-category, todo-always-add-time-string)
11629 (todo-categories-align, todo-categories-archived-label)
11630 (todo-categories-category-label, todo-categories-diary-label)
11631 (todo-categories-done-label, todo-categories-number-separator)
11632 (todo-categories-todo-label, todo-categories-totals-label)
11633 (todo-category-completions-files, todo-completion-ignore-case)
11634 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
11635 (todo-done-separator-string, todo-done-string)
11636 (todo-files-function, todo-filter-done-items, todo-filter-files)
11637 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
11638 (todo-initial-category, todo-initial-file, todo-item-mark)
11639 (todo-legacy-date-time-regexp, todo-mode-line-function)
11640 (todo-nondiary-marker, todo-number-prefix)
11641 (todo-print-buffer-function, todo-show-current-file)
11642 (todo-show-done-only, todo-show-first, todo-show-with-done)
11643 (todo-skip-archived-categories, todo-top-priorities-overrides)
11644 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
11645 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
11646 New defcustoms.
11647 (todo-category-done, todo-date-pattern, todo-date-string-start)
11648 (todo-diary-items-buffer, todo-done-string-start)
11649 (todo-filtered-items-buffer, todo-item-start)
11650 (todo-month-abbrev-array, todo-month-name-array)
11651 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
11652 (todo-top-priorities-buffer): New defconsts.
11653 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
11654 (todo-categories-with-marks, todo-category-string-face)
11655 (todo-comment-face, todo-comment-string, todo-current-todo-file)
11656 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
11657 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
11658 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
11659 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
11660 (todo-font-lock-keywords, todo-global-current-todo-file)
11661 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
11662 (todo-insertion-commands-args)
11663 (todo-insertion-commands-args-genlist)
11664 (todo-insertion-commands-names, todo-insertion-map)
11665 (todo-key-bindings-t, todo-key-bindings-t+a)
11666 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
11667 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
11668 (todo-nondiary-face, todo-print-buffer, todo-time-face)
11669 (todo-visited): New variables.
11670
cad5d1cb
GM
116712013-06-21 Glenn Morris <rgm@gnu.org>
11672
11673 * play/cookie1.el (cookie-apropos): Add optional display argument.
11674 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
11675 (psychoanalyze-pinhead): Use cookie-doctor.
11676
9e277302
JB
116772013-06-21 Juanma Barranquero <lekktu@gmail.com>
11678
11679 * emacs-lisp/package.el (tar-get-file-descriptor)
11680 (tar--extract): Declare.
11681
c5b0993e
EW
116822013-06-21 Eduard Wiebe <usenet@pusto.de>
11683
11684 Extend flymake's warning predicate to be a function (bug#14217).
11685 * progmodes/flymake.el (flymake-warning-predicate): New.
11686 (flymake-parse-line): Use it.
11687 (flymake-warning-re): Make obsolete alias to
11688 `flymake-warning-predicate'.
11689
a7d2d465
SM
116902013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11691
11692 * emacs-lisp/package.el (package-alist): Include obsolete packages.
11693 (package-obsolete-list): Remove.
11694 (package-activate): Remove min-version argument. Add `force' argument.
11695 Adjust to new package-alist format.
11696 (package-mark-obsolete): Remove.
11697 (package-unpack): Force reload of the package's autoloads.
11698 (package-installed-p): Check builtins if the installed package is not
11699 recent enough.
11700 (package-initialize): Don't reset package-obsolete-list.
11701 Don't specify which package version to activate.
11702 (package-process-define-package, describe-package-1)
11703 (package-menu--generate): Adjust to new package-alist format.
11704
cedf5c9d
JB
117052013-06-21 Juanma Barranquero <lekktu@gmail.com>
11706
11707 * allout-widgets.el (allout-widgets-mode-off)
11708 (allout-widgets-mode-on, allout-widgets-pre-command-business)
11709 (allout-widgets-post-command-business)
11710 (allout-widgets-after-copy-or-kill-function)
11711 (allout-widgets-after-undo-function, allout-test-range-overlaps)
11712 (allout-decorate-item-and-context)
11713 (allout-graphics-modification-handler): Fix typos in docstrings.
11714 (allout-get-or-create-parent-widget): Use `looking-at-p'.
11715
11716 * cmuscheme.el (scheme-start-file): Doc fix.
11717 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
11718 (scheme-input-filter): Use `string-match-p'.
11719
11720 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
11721
11722 * dired-x.el: Use Dired consistently in docstrings.
11723
11724 * dired.el: Use Dired consistently in docstrings.
11725 (dired-readin, dired-mode): Use `setq-local'.
11726 (dired-switches-alist): Make defvar-local.
11727 (dired-buffers-for-dir): Use `zerop'.
11728 (dired-safe-switches-p, dired-switches-escape-p)
11729 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
11730 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
35e951cd 11731 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
cedf5c9d
JB
11732 (dired-goto-next-nontrivial-file): Use `string-match-p'.
11733 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
11734 (dired-toggle-marks, dired-mark-files-containing-regexp)
11735 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
11736 (dired-flag-auto-save-files, dired-flag-backup-files):
11737 Use `looking-at-p'.
11738 (dired-mark-files-regexp, dired-build-subdir-alist):
11739 Use `string-match-p', `looking-at-p'.
11740
11741 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
11742 (direct-print-region-helper): Use `string-match-p'.
11743
aed838b5
LL
117442013-06-21 Leo Liu <sdl.web@gmail.com>
11745
cedf5c9d
JB
11746 * comint.el (comint-redirect-results-list-from-process):
11747 Fix infinite loop.
aed838b5 11748
d80a808f
LMI
117492013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11750
11751 * net/eww.el (eww-update-header-line-format): Quote % characters.
11752
e7a526e3
GM
117532013-06-21 Glenn Morris <rgm@gnu.org>
11754
11755 * play/cookie1.el (cookie): New custom group.
11756 (cookie-file): New option.
11757 (cookie-check-file): New function.
11758 (cookie): Make it interactive. Make start and end messages optional.
11759 Interactively, display the result. Default to cookie-file.
11760 (cookie-insert): Default to cookie-file.
11761 (cookie-snarf): Make start and end messages optional.
11762 Default to cookie-file. Use with-temp-buffer.
11763 (cookie-read): Rename from read-cookie.
11764 Make start and end messages optional. Default to cookie-file.
11765 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 11766 Do not autoload it.
e7a526e3
GM
11767 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
11768 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
11769
62efb35e
LL
117702013-06-21 Leo Liu <sdl.web@gmail.com>
11771
11772 * progmodes/octave.el (octave-mode): Backward compatibility fix.
11773
21e3f963
GM
117742013-06-21 Glenn Morris <rgm@gnu.org>
11775
11776 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
11777
fd846ab4
SM
117782013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11779 Daniel Hackney <dan@haxney.org>
11780
11781 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
11782 Consolidate the single-file vs tarball code.
11783 (package-desc-suffix): New function.
11784 (package-desc-full-name): Don't bother inlining it.
11785 (package-load-descriptor): Return the new package-desc.
11786 (package-mark-obsolete): Remove unused arg `package'.
11787 (package-unpack): Make it work for single files as well.
11788 Make it update package-alist.
11789 (package--make-autoloads-and-stuff): Rename from
11790 package--make-autoloads-and-compile. Don't compile any more.
11791 (package--compile): New function.
11792 (package-generate-description-file): New function, extracted from
11793 package-unpack-single.
11794 (package-unpack-single): Remove.
11795 (package--with-work-buffer): Add indentation and debugging info.
11796 (package-download-single): Remove.
11797 (package-install-from-archive): Rename from package-download-tar, make
11798 it take a pkg-desc, and make it work for single files as well.
11799 (package-download-transaction): Simplify.
11800 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
11801 external tar program.
11802 (package-install-from-buffer): Remove `pkg-desc' argument.
11803 Use package-tar-file-info for tar-mode buffers.
11804 (package-install-file): Simplify accordingly.
11805 (package-archive-base): Change to take a pkg-desc.
11806 * tar-mode.el (tar--check-descriptor): New function, extracted from
11807 tar-get-descriptor.
11808 (tar-get-descriptor): Use it.
11809 (tar-get-file-descriptor): New function.
11810 (tar--extract): New function, extracted from tar-extract.
11811 (tar--extract): Use it.
11812 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
11813 case the summary uses non-ascii. Adjust to new calling convention of
11814 package-tar-file-info.
11815
b7deae5e
LL
118162013-06-21 Leo Liu <sdl.web@gmail.com>
11817
fd846ab4
SM
11818 * comint.el (comint-redirect-results-list-from-process):
11819 Fix random delay. (Bug#14681)
b7deae5e 11820
7a65a0b2
JB
118212013-06-21 Juanma Barranquero <lekktu@gmail.com>
11822
11823 * profiler.el (profiler-format-number): Use log, not log10.
11824
1493c2af
JB
118252013-06-20 Juanma Barranquero <lekktu@gmail.com>
11826
11827 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
11828
aff6371e
SM
118292013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
11830
11831 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
11832 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
11833 yet available.
11834 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
11835 (AUTOGENEL): ... here.
11836 * emacs-lisp/cl-macs.el (cl--sublis): New function.
11837 (cl--defsubst-expand): Use it.
11838
89561f72
PE
118392013-06-20 Paul Eggert <eggert@cs.ucla.edu>
11840
11841 * subr.el (log10): Move here from C code, and declare as obsolete.
11842 All uses of (log10 X) replaced with (log X 10).
11843
47199123
JB
118442013-06-20 Juanma Barranquero <lekktu@gmail.com>
11845
11846 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
11847 Declare with `defvar-local'.
11848 (tabulated-list-use-header-line, tabulated-list-entries)
11849 (tabulated-list-padding, tabulated-list-printer)
11850 (tabulated-list-sort-key): Declare with `defvar-local'.
11851 (tabulated-list-init-header, tabulated-list-print-fake-header):
11852 Use `setq-local'.
11853
4a172eab
MA
118542013-06-20 Michael Albinus <michael.albinus@gmx.de>
11855
47199123
JB
11856 * arc-mode.el (archive-mode): Add `archive-write-file' to
11857 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 11858
5fc0acc0
JB
118592013-06-20 Juanma Barranquero <lekktu@gmail.com>
11860
d5b27848
JB
11861 * cus-edit.el (custom-commands): Fix typos.
11862 (custom-display): Fix tooltip text.
11863 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
11864 Fix typos in docstrings.
11865 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
11866 (custom-unlispify-menu-entry, custom-magic-value-create)
11867 (custom-add-see-also, custom-group-value-create): Use ?\s.
11868 (custom-guess-type, customize-apropos, editable-field)
11869 (custom-face-value-create): Use `string-match-p'.
11870 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
11871
11872 * custom.el (custom-load-symbol): Use `string-match-p'.
11873
a5c581d8
JB
11874 * ansi-color.el: Convert to lexical binding.
11875 (ansi-colors): Fix URL.
11876 (ansi-color-context, ansi-color-context-region): Use defvar-local.
11877 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
11878 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
11879
970ad972
G
118802013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11881
11882 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
11883
11884 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
11885
118862013-06-19 Tom Tromey <tromey@redhat.com>
11887
11888 * net/eww.el (eww-top-url): Remove.
11889 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
11890 (eww-render): Set new variables. Don't set eww-top-url.
11891 (eww-handle-link): Handle "prev", "home", and "contents".
11892 Downcase the rel text.
11893 (eww-top-url): Choose best top URL.
11894
118952013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11896
11897 * net/eww.el: Rewrite to implement form elements "by hand" instead of
11898 relying in widget.el. Using widget.el leads to too many
11899 user interface inconsistencies.
11900 (eww-self-insert): Implement entering commands in text fields.
11901 (eww-process-text-input): New function to make text input field editing
11902 work.
11903 (eww-submit): Rewrite to use the new-style form methods.
11904 (eww-select-display): Display the correct selected item.
11905 (eww-change-select): Implement changing the select value.
11906 (eww-toggle-checkbox): Implement radio/checkboxes.
11907 (eww-update-field): Fix compilation error.
11908 (eww-tag-textarea): Implement <textarea>.
11909
11910 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
11911 we don't shadow mode-specific bindings.
11912
11913 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
11914 nothing to push.
11915
11916 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
11917
4582a01c 119182013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
11919
11920 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
11921
15b263dc
MA
119222013-06-19 Michael Albinus <michael.albinus@gmx.de>
11923
11924 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
11925 not needed.
11926
11927 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
11928
8f5297f7
LMI
119292013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11930
11931 * net/browse-url.el (browse-url-browser-function):
11932 `eww-browse-url' has the right calling signature, `eww' does not.
11933
011c4552
GM
119342013-06-19 Glenn Morris <rgm@gnu.org>
11935
2285bd27
GM
11936 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
11937 Only eval autoloaded macros.
11938 (byte-compile-autoload): Only give the macro warning for macros.
11939
1d653303
GM
11940 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
11941 (ps-underlined-faces): Declare.
11942
bdd779ec
GM
11943 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
11944 (speedbar-add-supported-extension): Declare.
11945
011c4552
GM
11946 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
11947 Don't include a date stamp in the header of the generated file;
11948 it leads to needless differences between output files.
11949
e59dfb0e
MA
119502013-06-19 Michael Albinus <michael.albinus@gmx.de>
11951
c763842b
SM
11952 * net/secrets.el (secrets-struct-secret-content-type):
11953 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 11954 Some servers do not offer introspection.
e59dfb0e 11955
102626e2
SM
119562013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
11957
11958 * electric.el (electric-pair-mode): Improve interaction with
11959 electric-layout-mode.
11960 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
11961 (electric-pair-syntax): Use text-mode-syntax-table in comments
11962 and strings.
11963 (electric-pair--insert): New function.
11964 (electric-pair-post-self-insert-function): Use it and
11965 electric--after-char-pos.
11966
ad528125
LL
119672013-06-19 Leo Liu <sdl.web@gmail.com>
11968
11969 * progmodes/octave.el (octave-help): Fix regexp.
11970
924d6997
G
119712013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
11972
11973 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
11974 (shr-table-horizontal-line): Allow nil as a value, and change the
11975 default.
11976 (shr-insert-table-ruler): Respect the nil value.
11977
119782013-06-18 Tom Tromey <tromey@barimba>
11979
11980 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
11981 New defvars.
11982 (eww-open-file): New defun.
11983 (eww-render): Initialize new variables.
11984 (eww-display-html): Handle "link" and "a".
11985 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
11986 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
11987 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
11988 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
11989 New defuns.
924d6997 11990
d1bbba4f
DG
119912013-06-18 Dmitry Gutov <dgutov@yandex.ru>
11992
11993 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
11994 Distinguish ternary operator tokens from slash symbol and slash
11995 char literal.
11996
14dd22d2
JB
119972013-06-18 Juanma Barranquero <lekktu@gmail.com>
11998
11999 Convert symbol prettification into minor mode and global minor mode.
12000
12001 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
12002 `prog-prettify-symbols', and make a local defvar instead of defcustom.
12003 (prettify-symbols--keywords): Rename from
12004 `prog-prettify-symbols-alist' and make a local defvar.
12005 (prettify-symbols--compose-symbol): Rename from
12006 `prog--prettify-font-lock-compose-symbol'.
12007 (prettify-symbols--make-keywords): Rename from
12008 `prog-prettify-font-lock-symbols-keywords' and simplify.
12009 (prog-prettify-install): Remove.
12010 (prettify-symbols-mode): New minor mode, based on
12011 `prog-prettify-install'.
12012 (turn-on-prettify-symbols-mode): New function.
12013 (global-prettify-symbols-mode): New globalized minor mode.
12014
12015 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12016 * progmodes/cfengine.el (cfengine3-mode):
12017 * progmodes/perl-mode.el (perl-mode): Don't call
12018 `prog-prettify-install'; set `prettify-symbols-alist' instead.
12019
292c880c
JL
120202013-06-18 Juri Linkov <juri@jurta.org>
12021
12022 * files-x.el (modify-file-local-variable-message): New function.
12023 (modify-file-local-variable)
12024 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
12025 and call `modify-file-local-variable-message' when it's non-nil.
12026 (add-file-local-variable, delete-file-local-variable)
12027 (add-file-local-variable-prop-line)
12028 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
12029 and use it. (Bug#9820)
12030
0950aa27
JL
120312013-06-18 Juri Linkov <juri@jurta.org>
12032
12033 * emulation/vi.el (vi-shell-op):
12034 * emulation/vip.el (vip-execute-com, ex-command):
12035 * emulation/viper-cmd.el (viper-exec-bang):
12036 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
12037 the call of `shell-command-on-region'. (Bug#14637)
12038
12039 * simple.el (shell-command-on-region): Doc fix.
12040
8fbcca16
SM
120412013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12042
12043 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
12044 (bug#14633).
12045
dd7426ea
GM
120462013-06-18 Glenn Morris <rgm@gnu.org>
12047
4ba54f7d
GM
12048 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
12049
dd7426ea
GM
12050 * newcomment.el (comment-search-forward, comment-search-backward):
12051 Doc fix. (Bug#14376)
12052
58aa805b
JB
120532013-06-18 Juanma Barranquero <lekktu@gmail.com>
12054
12055 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
12056 (buffer-face-mode-invoke): Doc fix.
12057
9a08a617
MM
120582013-06-18 Matthias Meulien <orontee@gmail.com>
12059
12060 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 12061 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 12062
f2f426ca
GM
120632013-06-18 Glenn Morris <rgm@gnu.org>
12064
9445f99b
GM
12065 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
12066 Replace obsolete function generic-make-keywords with its expansion.
12067
e0df2d14
GM
12068 * progmodes/python.el (ffap-alist): Declare.
12069
f2f426ca
GM
12070 * textmodes/reftex.el (bibtex-mode-map): Declare.
12071
f7f9a720
SM
120722013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12073
12074 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
12075 (package-unpack, package-unpack-single): Return the pkg-dir.
12076 (package-download-transaction): Use it to update package-alist.
12077
57ff04e0
LMI
120782013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12079
12080 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
12081 possible choice.
12082
c048c022
JL
120832013-06-17 Juri Linkov <juri@jurta.org>
12084
12085 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
12086
b5bcaee5
DG
120872013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12088
a020afb9
JB
12089 * emacs-lisp/package.el (package-load-descriptor):
12090 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
12091 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
12092
551e07e5
JB
120932013-06-17 Juanma Barranquero <lekktu@gmail.com>
12094
12095 * startup.el (command-line): Expand package name returned by
12096 `package--description-file' (bug#14639).
12097
d363bffb
DG
120982013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12099
12100 * emacs-lisp/package.el (package-load-descriptor): Do not call
12101 `emacs-lisp-mode', just use its syntax table.
12102
f612933b
JB
121032013-06-17 Juanma Barranquero <lekktu@gmail.com>
12104
12105 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
12106 `font-lock-extra-managed-props' if any prettifying keyword is added.
12107 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
12108 (prog-mode): Use `setq-local'.
12109
db3b7db5
SM
121102013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
12111
12112 * international/characters.el (standard-case-table): Set syntax of ?»
12113 and ?« to punctuation.
12114
f3d674df
JB
121152013-06-16 Juanma Barranquero <lekktu@gmail.com>
12116
12117 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
12118 Save relevant match data before calling `syntax-ppss' (bug#14595).
12119
31489a32
JL
121202013-06-15 Juri Linkov <juri@jurta.org>
12121
12122 * files-x.el (modify-file-local-variable-prop-line): Add local
12123 variables to the end of the existing comment on the first line.
12124 Use `file-auto-mode-skip' to skip interpreter magic line,
12125 and also skip XML declaration.
12126
66bd25ab
SM
121272013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12128
12129 * startup.el (package--builtin-versions): New var.
12130 (package-subdirectory-regexp): Remove.
12131 (package--description-file): Hard code its value instead.
12132
12133 * emacs-lisp/package.el: Don't activate packages older than builtin.
12134 (package-obsolete-list): Rename from package-obsolete-alist, and make
12135 it into a simple list of package-desc.
12136 (package-strip-version): Remove.
12137 (package-built-in-p): Use package--builtin-versions.
12138 (package-mark-obsolete): Simplify.
12139 (package-process-define-package): Mark it obsolete if older than the
12140 builtin version.
12141 (package-handle-response): Use line-end-position.
12142 (package-read-archive-contents, package--download-one-archive):
12143 Simplify.
12144 (package--add-to-archive-contents): Skip if older than the builtin or
12145 installed version.
12146 (package-menu-describe-package): Fix last change.
12147 (package-list-unversioned): New var.
12148 (package-menu--generate): Use it.
12149
12150 * emacs-lisp/autoload.el: Manage package--builtin-versions.
12151 (autoload--insert-text, autoload--insert-cookie-text): New functions.
12152 (autoload-builtin-package-versions): New variable.
12153 (autoload-generate-file-autoloads): Use them.
12154 Remove the list of autoloaded functions/macros from the
12155 (autoload...) comments.
12156
12157 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
12158
9583ec36
EZ
121592013-06-15 Eli Zaretskii <eliz@gnu.org>
12160
12161 * simple.el (line-move-partial): Don't jump to the next screen
12162 line as soon as it becomes visible. Instead, continue enlarging
12163 the vscroll until the portion of a tall screen line that's left on
12164 display is about the height of the frame's default font.
12165 (Bug#14567)
12166
f0100d8a
GM
121672013-06-15 Glenn Morris <rgm@gnu.org>
12168
b86a85ca
GM
12169 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
12170 compilation-error-regexp-alist void, or local while let-bound.
12171
f0100d8a
GM
12172 * progmodes/make-mode.el (makefile-mode-syntax-table):
12173 Treat "=" as punctuation. (Bug#14614)
12174
05e7ce90
JB
121752013-06-15 Juanma Barranquero <lekktu@gmail.com>
12176
12177 * help-fns.el (describe-variable):
12178 Add extra line for permanent-local variables.
12179
12e5e86e
SH
121802013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
12181
12182 * progmodes/scheme.el (scheme-font-lock-keywords-2):
12183 Add export, import, library. (Bug#9164)
12184 (library): Set indent function.
12185
230dcbaf
GM
121862013-06-14 Glenn Morris <rgm@gnu.org>
12187
12188 * term/xterm.el (xterm--query):
12189 Stop after first matching handler. (Bug#14615)
12190
e36b2d20 121912013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
12192
12193 Add support for dired in saveplace.
12194 * dired.el (dired-initial-position-hook): New variable.
12195 (dired-initial-position): Call hook to place cursor position.
12196 * saveplace.el (save-place-to-alist): Add dired position.
12197 (save-place-dired-hook): New function.
12198
0b31660d
SM
121992013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
12200
bf1e6ae8
SM
12201 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
12202 through a symbol rather than letrec.
12203
1b8dff23
SM
12204 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
12205 (package-desc): Add `dir' field.
12206 (package-desc-full-name): New function.
12207 (package-load-descriptor): Combine the two arguments. Don't use `load'.
12208 (package-maybe-load-descriptor): Remove.
12209 (package-load-all-descriptors): Just call package-load-descriptor.
12210 (package--disabled-p): New function.
12211 (package-desc-vers, package-desc-doc): Remove aliases.
12212 (package--dir): Remove function.
12213 (package-activate): Check if a package is disabled.
12214 (package-process-define-package): New function, extracted from
12215 define-package.
12216 (define-package): Turn into a place holder.
12217 (package-unpack-single, package-tar-file-info):
12218 Use package--description-file.
12219 (package-compute-transaction): Use package--disabled-p.
12220 (package-download-transaction): Don't call
12221 package-maybe-load-descriptor since they're all loaded anyway.
12222 (package-install): Change argument to be a pkg-desc.
12223 (package-delete): Use a single pkg-desc argument.
12224 (describe-package-1): Use package-desc-dir instead of package--dir.
12225 Use package-desc property instead of package-symbol.
12226 (package-install-button-action): Adjust accordingly.
12227 (package--push): Rewrite.
12228 (package-menu--print-info): Adjust accordingly. Change the ID format
12229 to be a pkg-desc.
12230 (package-menu-describe-package, package-menu-get-status)
12231 (package-menu--find-upgrades, package-menu-mark-upgrades)
12232 (package-menu-execute, package-menu--name-predicate):
12233 Adjust accordingly.
12234 * startup.el (package--description-file): New function.
12235 (command-line): Use it.
12236 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12237 Use package-desc-version.
12238
0b31660d
SM
12239 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
12240 (byte-compile-preprocess): Use it.
12241 (byte-compile-file-form-defalias): Try a bit harder to use macros we
12242 can't quite recognize.
12243 (byte-compile-add-to-list): Remove.
12244 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
12245 (cconv-closure-convert): Add assertion.
12246
12247 * emacs-lisp/map-ynp.el: Use lexical-binding.
12248 (map-y-or-n-p): Remove unused vars `tail' and `object'.
12249 Factor out some repeated code.
12250
de0503df
SM
122512013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12252
12253 * subr.el (with-eval-after-load): New macro.
12254 (eval-after-load): Allow form to be a function.
12255 take advantage of lexical-binding.
12256 (do-after-load-evaluation): Use dolist and adjust to new format.
12257 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
12258
bc5c8c5a
JL
122592013-06-13 Juri Linkov <juri@jurta.org>
12260
12261 * replace.el (perform-replace): Display "symbol " and other search
12262 modes from `isearch-message-prefix' in the *Help* buffer.
12263
12264 * isearch.el (isearch-query-replace): Add " symbol" and other
12265 possible search modes from `isearch-message-prefix' to the prompt.
12266 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
12267 when reading a regexp to collect.
12268
a22289f7
JL
122692013-06-13 Juri Linkov <juri@jurta.org>
12270
12271 * isearch.el (word-search-regexp): Match whitespace if the search
12272 string begins or ends in whitespace. The LAX arg is applied to
12273 both ends of the search string. Use `regexp-quote' and explicit
12274 \< and \> instead of \b. Use \` and \' instead of ^ and $.
12275 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
12276 boundaries are replaced with symbol boundaries, and characters
12277 between symbols match non-word non-symbol syntax. (Bug#14602)
12278
cb89acab
JL
122792013-06-13 Juri Linkov <juri@jurta.org>
12280
12281 * isearch.el (isearch-del-char): Don't exceed the length of
12282 `isearch-string' by the prefix arg. (Bug#14563)
12283
6e8cfc81
JL
122842013-06-13 Juri Linkov <juri@jurta.org>
12285
12286 * isearch.el (isearch-yank-word, isearch-yank-line)
12287 (isearch-char-by-name, isearch-quote-char)
12288 (isearch-printing-char, isearch-process-search-char):
12289 Add optional count prefix arg. (Bug#14563)
12290
12291 * international/isearch-x.el
12292 (isearch-process-search-multibyte-characters):
12293 Add optional count prefix arg.
12294
c23d55f4
VS
122952013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12296
12297 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
12298 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
12299 lexical-binding.
12300
123012013-06-13 Vitalie Spinu <spinuvit@gmail.com>
12302
12303 * subr.el (set-temporary-overlay-map): Add on-exit argument.
12304
ba947bc4
GM
123052013-06-13 Glenn Morris <rgm@gnu.org>
12306
8baeb37a
GM
12307 * startup.el (tty-handle-args):
12308 Don't just discard "--" and anything after. (Bug#14608)
12309
ba947bc4
GM
12310 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
12311
9abefce4
MA
123122013-06-13 Michael Albinus <michael.albinus@gmx.de>
12313
12314 Implement changes in Secret Service API. Make it backward compatible.
12315 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
12316 (secrets-create-item): Use it. Prefix properties with interface.
12317
5755011f
MH
123182013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
12319
12320 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
12321 (term-emulate-terminal): Respect term-suppress-hard-newline.
12322
1261d2da
S
123232013-06-13 E Sabof <esabof@gmail.com> (tiny change)
12324
12325 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
12326 Only remove a `thumb-file' overlay. (Bug#14548)
12327
868490bb
GJ
123282013-06-12 Grégoire Jadi <daimrod@gmail.com>
12329
12330 * mail/reporter.el (reporter-submit-bug-report):
12331 Handle missing package-name. (Bug#14600)
12332
79d7167f
TH
123332013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12334
12335 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
12336 (reftex-citation-prompt, reftex-default-bibliography)
12337 (reftex-bib-or-thebib, reftex-get-bibfile-list)
12338 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
12339 (reftex-bib-sort-author, reftex-bib-sort-year)
12340 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
12341 (reftex-extract-bib-entries-from-thebibliography)
12342 (reftex-get-bibkey-default, reftex-get-bib-names)
12343 (reftex-parse-bibtex-entry, reftex-get-bib-field)
12344 (reftex-format-bib-entry, reftex-parse-bibitem)
12345 (reftex-format-bibitem, reftex-do-citation)
12346 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
12347 (reftex-restrict-bib-matches, reftex-extract-bib-file)
12348 (reftex-insert-bib-matches, reftex-format-citation)
12349 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
12350 (reftex-create-bibtex-file): Add docstrings, mostly by converting
12351 existing comments into docstrings.
12352
5f9dbd7a
XF
123532013-06-12 Xue Fuqiao <xfq.free@gmail.com>
12354
12355 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
12356
94df41ab
AS
123572013-06-12 Andreas Schwab <schwab@suse.de>
12358
12359 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
12360 for auto-save files.
12361
a7f3fecc
GM
123622013-06-12 Glenn Morris <rgm@gnu.org>
12363
001809f6
GM
12364 * ido.el (ido-delete-ignored-files): Remove.
12365 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
12366 Go back to calling ido-ignore-item-p directly.
a7f3fecc 12367
834b5ded
EL
123682013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
12369
08c73ed2
EL
12370 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
12371
834b5ded
EL
12372 * ido.el (ido-delete-ignored-files): New function,
12373 split from ido-make-file-list-1.
12374 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
12375 (ido-make-file-list-1): Use ido-delete-ignored-files.
12376
daabf15a
LL
123772013-06-12 Leo Liu <sdl.web@gmail.com>
12378
12379 * progmodes/octave.el (inferior-octave-startup)
12380 (inferior-octave-completion-table)
12381 (inferior-octave-track-window-width-change)
12382 (octave-eldoc-function-signatures, octave-help)
12383 (octave-find-definition): Use single quoted strings.
12384 (inferior-octave-startup-args): Change default value.
12385 (inferior-octave-startup): Do not hard code "-i" and
12386 "--no-line-editing".
12387 (inferior-octave-resync-dirs): Add optional arg NOERROR.
12388 (inferior-octave-directory-tracker): Use it.
12389 (octave-goto-function-definition): Robustify.
12390 (octave-help): Support highlighting operators in 'See also'.
12391 (octave-find-definition): Find subfunctions only in Octave mode.
12392
cf4e5178
SM
123932013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12394
12395 * help-fns.el (help-fns--compiler-macro): If the handler function is
12396 named, then put a link to it.
12397 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
12398 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
12399 (cl-typep): Use it.
12400 (cl-eval-when): Simplify debug spec.
12401 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
12402 compiler-macro function instead of setting `compiler-macro-file'.
12403
99c81280 124042013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
12405
12406 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
12407 * vc/vc-hooks.el (vc-stay-local): Doc fix.
12408
f56be016
SM
124092013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12410 Daniel Hackney <dan@haxney.org>
12411
12412 First part of Daniel Hackney's patch to package.el.
12413 * emacs-lisp/package.el: Use defstruct.
12414 (package-desc): New, main struct.
12415 (package--bi-desc, package--ac-desc): New structs, used to describe the
12416 format in external files.
12417 (package-desc-vers): Replace with package-desc-version accessor.
12418 (package-desc-doc): Replace with package-desc-summary accessor.
12419 (package-activate-1): Remove `package' arg since the pkg-vec now
12420 includes the name.
12421 (define-package): Use package-desc-from-define.
12422 (package-unpack-single): Change file-name arg to be a symbol.
12423 (package--add-to-archive-contents): Use package-desc-create and new
12424 accessor functions to package--ac-desc.
12425 (package-buffer-info, package-tar-file-info): Return a package-desc.
12426 (package-install-from-buffer): Remove `type' argument. Change pkg-info
12427 arg to be a package-desc.
12428 (package-install-file): Adjust accordingly. Use \' to match EOS.
12429 (package--from-builtin): New function.
12430 (describe-package-1, package-menu--generate): Use it.
12431 (package--make-autoloads-and-compile): Change name arg to be a symbol.
12432 (package-generate-autoloads): Idem and return the name of the file.
12433 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12434 Change pkg-info arg to be a package-desc.
12435 Use package-make-ac-desc.
12436 (package-upload-file): Use \' to match EOS.
12437 * finder.el (finder-compile-keywords): Use package-make-builtin.
12438
31119d63
SM
124392013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12440
931a2762
SM
12441 * vc/vc.el (vc-deduce-fileset): Change error message.
12442 (vc-read-backend): New function.
12443 (vc-next-action): Use it.
12444
5a3eb0c6
SM
12445 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
12446
e3eb1bb7
SM
12447 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
12448 (prolog-font-lock-keywords): Use regexp-opt instead.
12449 Don't manually highlight strings.
12450 (prolog-mode-variables): Simplify comment-start-skip.
12451 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
12452
31119d63
SM
12453 * emacs-lisp/generic.el (generic--normalise-comments)
12454 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
12455 (generic-mode-set-comments): Use them.
12456 (generic-bracket-support): Use setq-local.
12457 (generic-make-keywords-list): Declare obsolete.
12458
7de135d0
GM
124592013-06-11 Glenn Morris <rgm@gnu.org>
12460
12461 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12462 Prettify after setting font-lock-defaults. (Bug#14574)
12463
fa6bc6fd
JB
124642013-06-11 Juanma Barranquero <lekktu@gmail.com>
12465
12466 * replace.el (query-replace, occur-read-regexp-defaults-function)
12467 (replace-search):
12468 * subr.el (declare-function, number-sequence, local-set-key)
12469 (substitute-key-definition, locate-user-emacs-file)
12470 (with-silent-modifications, split-string, eval-after-load):
12471 Fix typos, remove unneeded backslashes and reflow some docstrings.
12472
cf1f9b9a
SM
124732013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12474
12475 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
12476 default for Elisp files.
12477
56602a4b
GM
124782013-06-11 Glenn Morris <rgm@gnu.org>
12479
12480 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
12481 although define-derived-mode was doing this anyway. (Bug#14583)
12482
30ae0b2c
JB
124832013-06-10 Juanma Barranquero <lekktu@gmail.com>
12484
12485 * allout.el (allout-encryption-plaintext-sanitization-regexps):
12486 Fix make-variable-buffer-local call to refer to the correct variable.
12487
fa472906
AG
124882013-06-10 Aidan Gauland <aidalgol@amuri.net>
12489
12490 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
12491 (eshell-visual-subcommands, eshell-visual-options):
12492 Add summary line to docstrings. Add cross-references.
fa472906 12493
ff4871b9
GM
124942013-06-10 Glenn Morris <rgm@gnu.org>
12495
12496 * epa.el (epa-read-file-name): New function. (Bug#14510)
12497 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
12498
04fcf1b0
AG
124992013-06-09 Aidan Gauland <aidalgol@amuri.net>
12500
12501 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
12502 output redirection to be ignored with visual commands.
12503
88b00caa
AG
125042013-06-09 Aidan Gauland <aidalgol@amuri.net>
12505
12506 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
12507 (eshell-term-initialize): Move long lambda to separate function
12508 eshell-visual-command-p.
27821a89 12509 * eshell/em-dirs.el (eshell-dirs-initialize):
e7b41c4c
JB
12510 * eshell/em-script.el (eshell-script-initialize):
12511 Add missing #' to lambda.
88b00caa 12512
fda74125
LL
125132013-06-08 Leo Liu <sdl.web@gmail.com>
12514
12515 * progmodes/octave.el (octave-add-log-current-defun): New function.
12516 (octave-mode): Set add-log-current-defun-function.
12517 (octave-goto-function-definition): Do not move point if not found.
12518 (octave-find-definition): Enhance to try subfunctions first.
12519
467f3b33
GM
125202013-06-08 Glenn Morris <rgm@gnu.org>
12521
12522 * emacs-lisp/bytecomp.el (byte-compile-char-before)
12523 (byte-compile-backward-char, byte-compile-backward-word):
12524 Improve previous change, to handle non-explicit nil.
12525
544badc3
SM
125262013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12527
12528 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
12529 (smie--opener/closer-at-point): New function.
12530 (smie--matching-block-data): Use it. Don't match from right after an
12531 opener or right before a closer. Obey smie-blink-matching-inners.
12532 Don't signal a mismatch for repeated inners like "switch..case..case".
12533
a175bf33
LL
125342013-06-07 Leo Liu <sdl.web@gmail.com>
12535
12536 * progmodes/octave.el (octave-mode): Set comment-use-global-state
12537 to t. (Bug#14303)
ce8209d4
LL
12538 (octave-function-header-regexp): Fix. (Bug#14570)
12539 (octave-help-mode-finish-hook, octave-help-mode-finish):
12540 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
12541
12542 * newcomment.el (comment-search-backward): Revert last change.
12543 (Bug#14434)
12544
12545 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
12546
a822acff
EZ
125472013-06-07 Eli Zaretskii <eliz@gnu.org>
12548
12549 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
12550 through xargs, to avoid failure due to MS-Windows limitations on
12551 command-line length.
12552
961166f5
GM
125532013-06-06 Glenn Morris <rgm@gnu.org>
12554
d0341459
GM
12555 * font-lock.el (lisp-font-lock-keywords-2):
12556 Treat user-error like error.
12557
961166f5
GM
12558 * emacs-lisp/bytecomp.el (byte-compile-char-before)
12559 (byte-compile-backward-char, byte-compile-backward-word):
12560 Handle explicit nil arguments. (Bug#14565)
12561
80fa505f
AM
125622013-06-05 Alan Mackenzie <acm@muc.de>
12563
12564 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 12565 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 12566 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 12567 (Bug#9706)
80fa505f 12568
fccdc796
SM
125692013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12570
12571 * autorevert.el (auto-revert-notify-handler): Use memq.
12572 Hide assertion failure.
12573
12574 * skeleton.el: Use cl-lib.
12575 (skeleton-further-elements): Use defvar-local.
12576 (skeleton-insert): Use cl-progv.
12577
9bfff84b
TZ
125782013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
12579
12580 * progmodes/prog-mode.el (prog-prettify-symbols)
12581 (prog-prettify-install): Update docstrings.
12582
55577e7c
SM
125832013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12584
12585 * simple.el: Move all the prog-mode code to prog-mode.el.
12586 * progmodes/prog-mode.el: New file.
12587 * loadup.el: Add prog-mode.el.
12588
8fc57765
TZ
125892013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
12590
12591 * simple.el (prog-prettify-symbols): Add version.
12592 (prog-prettify-install): Add convenience function to prettify symbols.
12593
12594 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
12595 (perl--augmented-font-lock-keywords-1)
12596 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
12597 variables and use it.
12598
12599 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
12600 (cfengine3-mode): Remove unneeded variable and use it.
12601
12602 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
12603 (lisp--augmented-font-lock-keywords-1)
12604 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
12605 Remove unneeded variables and use it.
12606
650645d5 126072013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
12608
12609 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 12610 to point when opening the connection. (Bug#14380)
28f5da6d 12611
781b4af6
SM
126122013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12613
12614 * subr.el (load-history-regexp, load-history-filename-element)
12615 (eval-after-load, after-load-functions, do-after-load-evaluation)
12616 (eval-next-after-load, display-delayed-warnings)
12617 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
12618 definition of save-match-data.
12619 (overriding-local-map): Remove accidental obsolescence declaration.
12620
12621 * emacs-lisp/edebug.el (edebug-result): Move before first use.
12622
3ca0d0b4
TZ
126232013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
12624
12625 Generalize symbol prettify support to prog-mode and implement it
12626 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
12627 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
12628 (prog--prettify-font-lock-compose-symbol)
12629 (prog-prettify-font-lock-symbols-keywords): New variables and
12630 functions to support symbol prettification.
12631 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
12632 (lisp--augmented-font-lock-keywords-1)
12633 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
12634 (lisp--prettify-symbols-alist): Implement prettify of lambda.
12635 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
12636 (cfengine3--prettify-symbols-alist, cfengine3-mode):
12637 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
12638 * progmodes/perl-mode.el (perl-prettify-symbols)
12639 (perl--font-lock-compose-symbol)
12640 (perl--font-lock-symbols-keywords): Move to prog-mode.
12641 (perl--prettify-symbols-alist): Prettify -> => :: strings.
12642 (perl-font-lock-keywords-1)
12643 (perl-font-lock-keywords-2): Remove explicit prettify support.
12644 (perl--augmented-font-lock-keywords)
12645 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
12646 (perl--augmented-font-lock-keywords-2, perl-mode):
12647 Implement prettify support.
3ca0d0b4 12648
976cb066
LL
126492013-06-05 Leo Liu <sdl.web@gmail.com>
12650
27821a89 12651 Re-implement SMIE matching block highlight using
976cb066
LL
12652 show-paren-data-function. (Bug#14395)
12653 * emacs-lisp/smie.el (smie-matching-block-highlight)
12654 (smie--highlight-matching-block-overlay)
12655 (smie--highlight-matching-block-lastpos)
12656 (smie-highlight-matching-block)
12657 (smie-highlight-matching-block-mode): Remove.
12658 (smie--matching-block-data-cache): New variable.
12659 (smie--matching-block-data): New function.
12660 (smie-setup): Use smie--matching-block-data for
12661 show-paren-data-function.
12662
12663 * progmodes/octave.el (octave-mode-menu): Fix.
12664 (octave-find-definition): Skip garbage lines.
12665
208d0342
SM
126662013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12667
12668 Fix compilation error with simultaneous dynamic+lexical scoping.
12669 Add warning when a defvar appears after the first let-binding.
12670 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
12671 (byte-compile-close-variables): Initialize it.
12672 (byte-compile--declare-var): New function.
12673 (byte-compile-file-form-defvar)
12674 (byte-compile-file-form-define-abbrev-table)
12675 (byte-compile-file-form-custom-declare-variable): Use it.
12676 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
12677 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
12678 (byte-compile-bind): Handle dynamic bindings that shadow
12679 lexical bindings.
12680 (byte-compile-unbind): Make arg non-optional.
12681 (byte-compile-let): Simplify.
12682 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
12683 (cconv--analyse-function, cconv-analyse-form): Populate it.
12684 Protect byte-compile-bound-variables to limit the scope of defvars.
12685 (cconv-analyse-form): Add missing rule for (defvar <foo>).
12686 Remove unneeded rule for `declare'.
12687
12688 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
12689 so as to avoid depending on cl-adjoin at run-time.
12690 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
12691
12692 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
12693 (macroexp--warn-and-return): Use it.
12694
1ac2891e
GM
126952013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12696
a12bf61e 12697 * subr.el: Convert to lexical binding.
1ac2891e
GM
12698 (overriding-local-map): Make obsolete.
12699 (add-to-list): Doc fix. Add compiler macro.
12700 (read-key): Swap values of local maps.
12701
2587b005
LL
127022013-06-05 Leo Liu <sdl.web@gmail.com>
12703
12704 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
12705
f1da3c88
LL
127062013-06-04 Leo Liu <sdl.web@gmail.com>
12707
12708 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
12709 (compilation-auto-jump): Suppress the "Mark set" message to give
12710 way to exit message.
12711
3caa391f
AM
127122013-06-04 Alan Mackenzie <acm@muc.de>
12713
12714 Remove faulty optimisation from indentation calculation.
12715 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
12716 search limit based on 2000 characters back from indent-point.
12717
068922a2
TH
127182013-06-03 Tassilo Horn <tsdh@gnu.org>
12719
12720 * eshell/em-term.el (cl-lib): Require `cl-lib'.
12721
1f8fdd53
SM
127222013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
12723
bbcc4d97
SM
12724 * emacs-lisp/lisp.el: Use lexical-binding.
12725 (lisp--local-variables-1, lisp--local-variables): New functions.
12726 (lisp--local-variables-completion-table): New var.
208d0342 12727 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 12728
1f8fdd53
SM
12729 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
12730 eagerly (bug#14422).
12731
c9628c79
MA
127322013-06-03 Michael Albinus <michael.albinus@gmx.de>
12733
12734 * autorevert.el (auto-revert-notify-enabled)
12735 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
12736 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
12737 (auto-revert-notify-handler): Handle also gfilenotify.
12738
e7b41c4c 12739 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 12740 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 12741 Remove.
c9628c79 12742
e5e4a942
JL
127432013-06-03 Juri Linkov <juri@jurta.org>
12744
12745 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
12746 `M-s h .'. (Bug#14427)
12747
12748 * hi-lock.el (highlight-symbol-at-point): New alias for the new
12749 command `hi-lock-face-symbol-at-point'.
12750 (hi-lock-face-symbol-at-point): New command.
12751 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
12752 (hi-lock-menu): Add `highlight-symbol-at-point'.
12753 (hi-lock-mode): Doc fix.
12754
12755 * isearch.el (isearch-forward-symbol-at-point): New command.
12756 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
12757 (isearch-highlight-regexp): Add a regexp which matches
12758 words/symbols for word/symbol mode.
12759
12760 * subr.el (find-tag-default-bounds): New function with the body
12761 mostly moved from `find-tag-default'.
12762 (find-tag-default): Move most code to `find-tag-default-bounds',
12763 call it and apply `buffer-substring-no-properties' afterwards.
12764
26b3353a
TH
127652013-06-03 Tassilo Horn <tsdh@gnu.org>
12766
781b4af6
SM
12767 * eshell/em-term.el (eshell-term-initialize):
12768 Use `cl-intersection' rather than `intersection'.
26b3353a 12769
51b60f53
XF
127702013-06-02 Xue Fuqiao <xfq.free@gmail.com>
12771
fe054b63 12772 * vc/log-view.el: Doc fix.
d3ffe17c 12773 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 12774
a0eb10b3 127752013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
12776
12777 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
12778 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
12779 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
12780 (eieio-unbound, eieio-default-superclass)
12781 (eieio--define-field-accessors, method-static, method-before)
12782 (method-primary, method-after, method-num-lists)
12783 (method-generic-before, method-generic-primary)
12784 (method-generic-after, method-num-slots)
12785 (eieio-specialized-key-to-generic-key)
12786 (eieio--check-type, class-v, class-p)
12787 (eieio-class-name, define-obsolete-function-alias)
12788 (eieio-class-parents-fast, eieio-class-children-fast)
12789 (same-class-fast-p, class-constructor, generic-p)
12790 (generic-primary-only-p, generic-primary-only-one-p)
12791 (class-option-assoc, class-option, eieio-object-p)
12792 (class-abstract-p, class-method-invocation-order)
12793 (eieio-defclass-autoload-map, eieio-defclass-autoload)
12794 (eieio-class-un-autoload, eieio-defclass)
12795 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
12796 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
12797 (eieio--defgeneric-init-form, eieio-defgeneric-form)
12798 (eieio-defgeneric-reset-generic-form)
12799 (eieio-defgeneric-form-primary-only)
12800 (eieio-defgeneric-reset-generic-form-primary-only)
12801 (eieio-defgeneric-form-primary-only-one)
12802 (eieio-defgeneric-reset-generic-form-primary-only-one)
12803 (eieio-unbind-method-implementations)
12804 (eieio--defmethod, eieio--typep)
12805 (eieio-perform-slot-validation, eieio-validate-slot-value)
12806 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
12807 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
12808 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
12809 (eieio-slot-name-index, eieio-class-slot-name-index)
12810 (eieio-set-defaults, eieio-initarg-to-attribute)
12811 (eieio-attribute-to-initarg, eieio-c3-candidate)
12812 (eieio-c3-merge-lists, eieio-class-precedence-c3)
12813 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
12814 (eieio-class-precedence-list, eieio-generic-call-methodname)
12815 (eieio-generic-call-arglst, eieio-generic-call-key)
12816 (eieio-generic-call-next-method-list)
12817 (eieio-pre-method-execution-functions, eieio-generic-call)
12818 (eieio-generic-call-primary-only, eieiomt-method-list)
12819 (eieiomt-optimizing-obarray, eieiomt-install)
12820 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
12821 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 12822 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
12823 (defclass): Remove `eval-and-compile' from macro.
12824 (call-next-method, shared-initialize): Instead of using
12825 `scoped-class' variable, use new eieio--scoped-class, and
12826 eieio--with-scoped-class.
12827 (initialize-instance): Rename local variable 'scoped-class' to
12828 'this-class' to remove ambiguitity from old global.
12829
12830 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
12831 eieio.el.
4f405069
JB
12832 (eieio--scoped-class-stack): New variable.
12833 (eieio--scoped-class): New fcn.
890f7890
DE
12834 (eieio--with-scoped-class): New scoping macro.
12835 (eieio-defclass): Use pushnew instead of add-to-list.
12836 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
12837 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
12838 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
12839 `scoped-class' variable, use new eieio--scoped-class, and
12840 eieio--with-scoped-class.
12841
12842 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
12843
d105b0e2
TH
128442013-06-02 Tassilo Horn <tsdh@gnu.org>
12845
12846 * eshell/esh-ext.el (eshell-external-command): Pass args to
12847 `eshell-find-interpreter'.
12848 (eshell-find-interpreter): Add new second parameter ARGS.
12849
12850 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 12851 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
12852
12853 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 12854 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
12855
12856 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
12857 (eshell-visual-options): New defcustom.
12858 (eshell-escape-control-x): Adapt docstring.
12859 (eshell-term-initialize): Test `eshell-visual-subcommands' and
12860 `eshell-visual-options' in addition to `eshell-visual-commands'.
12861 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
12862
f46305c8 128632013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
12864
12865 * progmodes/python.el (python-indent-block-enders): Add break,
12866 continue and raise keywords.
12867
d870df21
GM
128682013-06-01 Glenn Morris <rgm@gnu.org>
12869
9133b82e
GM
12870 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
12871
02c992ec 12872 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
12873 * progmodes/cc-cmds.el (delete-forward-p):
12874 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
12875 * progmodes/cc-engine.el (buffer-syntactic-context):
12876 * progmodes/cc-fonts.el (face-property-instance):
12877 * progmodes/cc-mode.el (set-keymap-parents):
12878 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
12879 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
12880 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
12881 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
12882 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 12883
31e7b090
GM
12884 * progmodes/cc-vars.el (other): Emacs has this widget since
12885 at least 21.1, so don't (re)define it.
12886
d870df21
GM
12887 * eshell/em-cmpl.el (eshell-cmpl-initialize):
12888 Replace the obsolete alias pcomplete-arg-quote-list.
12889
c75c93c7
LL
128902013-06-01 Leo Liu <sdl.web@gmail.com>
12891
12892 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
12893 punctuation syntax.
12894 (inferior-octave-minimal-columns)
12895 (inferior-octave-last-column-width): New variables.
12896 (inferior-octave-track-window-width-change): New function.
12897 (inferior-octave-mode): Adjust column width so that Octave output,
12898 for example from 'ls', can fit into the window nicely.
12899
973d1e12
DG
129002013-05-31 Dmitry Gutov <dgutov@yandex.ru>
12901
12902 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
12903 Highlight expansions inside regexp literals.
12904
0888c286
GM
129052013-05-31 Glenn Morris <rgm@gnu.org>
12906
e26aac1f
GM
12907 * obsolete/sym-comp.el (symbol-complete):
12908 Replace obsolete completion-annotate-function.
12909
0888c286
GM
12910 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
12911
19bb8e62
DG
129122013-05-31 Dmitry Gutov <dgutov@yandex.ru>
12913
781b4af6
SM
12914 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
12915 New function, checks if point is inside a literal that allows
19bb8e62
DG
12916 expression expansion.
12917 (ruby-syntax-propertize-expansion): Use it.
12918 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
12919 around the body.
12920
01dea85f
JL
129212013-05-30 Juri Linkov <juri@jurta.org>
12922
12923 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
12924 to "\M-si".
12925 (isearch-invisible): New variable.
12926 (isearch-forward): Doc fix.
12927 (isearch-mode): Set `isearch-invisible'
12928 to the value of `search-invisible'.
12929 (isearch-toggle-case-fold): Doc fix.
12930 (isearch-toggle-invisible): New command.
12931 (isearch-query-replace): Let-bind `search-invisible'
12932 to the value of `isearch-invisible'.
12933 (isearch-search): Use `isearch-invisible' instead of
12934 `search-invisible'. Let-bind `search-invisible'
12935 to the value of `isearch-invisible'. (Bug#11378)
12936
ab1bdce5
JL
129372013-05-30 Juri Linkov <juri@jurta.org>
12938
12939 * replace.el (perform-replace): Avoid `isearch-range-invisible'
12940 call when `query-flag' is nil and `search-invisible' is non-nil.
12941 (Bug#11746)
12942
d6d236e2
GM
129432013-05-30 Glenn Morris <rgm@gnu.org>
12944
8accd027
GM
12945 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
12946
2a8bed1c
GM
12947 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
12948 (cc-require): Suppress spurious "noruntime" warnings.
12949 (cc-require-when-compile): Use fboundp, for sake of compiler.
12950
d6d236e2
GM
12951 * progmodes/cc-mode.el: Move load of cc-vars before that of
12952 cc-langs (which in turn loads cc-vars), to quieten compiler.
12953
9190b35b
SM
129542013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12955
12956 * paren.el: Simplify the code.
12957 (show-paren-mode): Always start the timer.
12958 (show-paren--idle-timer): Rename from show-paren-idle-timer.
12959 (show-paren--overlay, show-paren--overlay-1): Rename from
12960 show-paren-overlay and show-paren-overlay-1, and initialize to an
12961 overlay rather than to nil.
12962 (show-paren-function): Misc cleanup and simplifications.
12963
4f8d1cf6
SM
129642013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12965
12966 * paren.el (show-paren-data-function): New hook.
12967 (show-paren--default): New function, extracted from show-paren-function.
12968 (show-paren-function): Use show-paren-data-function.
12969
02d844b5
GM
129702013-05-30 Glenn Morris <rgm@gnu.org>
12971
d209d4a9
GM
12972 * ielm.el (ielm-map, ielm-complete-symbol):
12973 Use completion-at-point rather than obsolete functions.
12974 (inferior-emacs-lisp-mode): Doc fix.
12975 Set completion-at-point-functions, rather than
12976 comint-dynamic-complete-functions.
12977
2082faa6
GM
12978 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
12979 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
12980 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
12981
dd8620de
GM
12982 * image.el (image-animated-p): Tweak definition.
12983
ceca95b1
GM
12984 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
12985 (rlogin-process-connection-type): Tweak default. Add set-after.
12986 (rlogin-host): Doc fix.
12987 (rlogin): Tweak prompt.
12988 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
12989
ee9f1acc
GM
12990 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
12991 * progmodes/tcl.el (inferior-tcl-mode-map):
12992 Use completion-at-point rather than obsolete alias.
12993
45ce222e
GM
12994 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
12995
02d844b5
GM
12996 * minibuffer.el (read-file-name-completion-ignore-case):
12997 Move before completion--in-region, for eager macro expansion.
12998
ac44d6c1
JL
129992013-05-29 Juri Linkov <juri@jurta.org>
13000
13001 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
13002 for total count of matching lines. Add `global-matches' for total
13003 count of matches. Rename `matches' to `lines' for count of
13004 matching lines. Add `matches' for count of matches.
13005 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
13006 to `prev-line' for line number of prev match endpt.
13007 Increment `matches' for every match. Print the number of
13008 matching lines in the header.
13009 (occur-context-lines): Rename `lines' to `curr-line'.
13010 Rename `prev-lines' to `prev-line'. (Bug#14017)
13011
3c9c9d38
JL
130122013-05-29 Juri Linkov <juri@jurta.org>
13013
13014 * replace.el (perform-replace): Add `skip-read-only-count',
13015 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
13016 Increment them for corresponding conditions and report the number
13017 of skipped occurrences in the final message. (Bug#11746)
13018 (query-replace, query-replace-regexp, query-replace-regexp-eval)
13019 (replace-string, replace-regexp): Doc fix.
13020
33e249a2
SM
130212013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
13022
8e399682
SM
13023 * emacs-lisp/trace.el (trace--read-args): Provide a default.
13024
33e249a2 13025 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 13026 prog-mode-map (bug#14504).
33e249a2 13027
f236dd84
LL
130282013-05-29 Leo Liu <sdl.web@gmail.com>
13029
13030 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
13031 (octave-help): Small simplification.
13032
13033 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
13034 off the highlight first.
13035
3694d13f
GM
130362013-05-29 Glenn Morris <rgm@gnu.org>
13037
03983bdc
GM
13038 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
13039 Handle idlwave-last-system-routine-info-cons-cell being nil.
13040
bc74a74a
GM
13041 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
13042 (idlwave-write-paths): Simplify via with-temp-buffer.
13043
8b394200
GM
13044 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
13045 * emulation/cua-rect.el: Also load cua-base at run time.
13046
3694d13f
GM
13047 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
13048 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
13049 (cperl-imenu-on-info): Require imenu.
13050
336d7284
AM
130512013-05-28 Alan Mackenzie <acm@muc.de>
13052
13053 Handle "capitalised keywords" correctly.
33e249a2 13054 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 13055
cb29c582
AG
130562013-05-28 Aidan Gauland <aidalgol@amuri.net>
13057
781b4af6 13058 * eshell/em-unix.el: Add -r option to cp.
cb29c582 13059
690e44b2
GM
130602013-05-28 Glenn Morris <rgm@gnu.org>
13061
e658d75c
GM
13062 * vc/vc-arch.el (vc-exec-after): Declare.
13063 (vc-switches): Autoload.
13064 * vc/vc-bzr.el: No need to require vc when compiling.
13065 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
13066 (vc-resynch-buffer, vc-dir-refresh): Declare.
13067 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
13068 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
13069 (vc-resynch-buffer): Declare.
13070 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 13071 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
13072 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
13073 (grep-read-regexp, grep-read-files, grep-expand-template)
13074 (vc-dir-refresh): Declare.
13075 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
13076 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
13077 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
13078 * vc/vc-mtn.el (vc-exec-after): Declare.
13079 (vc-switches): Autoload.
13080 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
13081 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
13082 (vc-file-tree-walk): Declare.
712b9732
GM
13083 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
13084 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
13085 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
13086 * vc/vc-svn.el (vc-exec-after): Declare.
13087 (vc-switches, vc-setup-buffer): Autoload.
13088 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
13089 Autoload.
13090 (vc-resynch-buffer): Declare.
13091
98e87fb3
GM
13092 * obsolete/fast-lock.el (byte-compile-warnings):
13093 Don't warn about obsolete features in this obsolete file.
13094
f5379553
GM
13095 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
13096 Move definition before use.
13097
7a20ef83
GM
13098 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
13099 (dun-unix-verbs): Remove dun-zippy.
13100 (dun-zippy): Remove function.
13101
690e44b2
GM
13102 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
13103
3a52ccf7
JL
131042013-05-27 Juri Linkov <juri@jurta.org>
13105
13106 * replace.el (replace-search): New function with code moved out
13107 from `perform-replace'.
13108 (replace-highlight, replace-dehighlight): Move function definitions
13109 up closer to `replace-search'. (Bug#11746)
13110
d289938a
JL
131112013-05-27 Juri Linkov <juri@jurta.org>
13112
13113 * replace.el (perform-replace): Ignore invisible matches.
13114 In addition to checking `query-replace-skip-read-only', also
13115 filter out matches by calling `run-hook-with-args-until-failure'
13116 on `isearch-filter-predicates', and also check `search-invisible'
13117 for t or call `isearch-range-invisible'.
13118 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
13119
66fc57e3
JL
131202013-05-27 Juri Linkov <juri@jurta.org>
13121
13122 * isearch.el (isearch-filter-predicates): Rename from
13123 `isearch-filter-predicate'. Doc fix. (Bug#11378)
13124 (isearch-message-prefix): Display text from the property
13125 `isearch-message-prefix' of the currently active filters.
13126 (isearch-search): Don't compare `isearch-filter-predicate' with
13127 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
13128 on `isearch-filter-predicates'. Also check `search-invisible' for t
13129 or call `isearch-range-invisible'.
13130 (isearch-filter-visible): Make obsolete.
13131 (isearch-lazy-highlight-search):
13132 Call `run-hook-with-args-until-failure' on
13133 `isearch-filter-predicates' and use `isearch-range-invisible'.
13134
13135 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
13136 `isearch-filter-predicates' instead of `funcall'ing
13137 `isearch-filter-predicate'.
13138 (Info-mode): Set `Info-isearch-filter' to
13139 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
13140
13141 * dired-aux.el (dired-isearch-filter-predicate-orig):
13142 Remove variable.
13143 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
13144 (dired-isearch-filenames-end): Add and remove
13145 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
13146 instead of changing the value of `isearch-filter-predicate'.
13147 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
13148 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
13149 Put property `isearch-message-prefix' to "filename " on
13150 `dired-isearch-filter-filenames'.
13151
13152 * wdired.el (wdired-change-to-wdired-mode):
13153 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
13154 locally instead of changing `isearch-filter-predicate'.
13155 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
13156
f1a60a0f
DG
131572013-05-27 Dmitry Gutov <dgutov@yandex.ru>
13158
13159 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
13160 return the commit hash (Bug#14459). Also set the
13161 `vc-git-detached' property.
13162 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
13163 (vc-git-mode-line-string): Use the same help-echo format whether
13164 in detached mode or not, because we know the actual revision now.
13165 When in detached mode, shorten the revision to 7 chars.
13166
7f17cc40
SM
131672013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13168
13169 * emacs-lisp/easy-mmode.el (define-minor-mode):
13170 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
13171 mode hook and provide a docstring.
13172
25c8401c
AM
131732013-05-27 Alan Mackenzie <acm@muc.de>
13174
13175 Remove spurious syntax-table text properties inserted by C-y.
13176 * progmodes/cc-mode.el (c-after-change): Also clear hard
13177 syntax-table property with value nil.
13178
dde84790
MA
131792013-05-27 Michael Albinus <michael.albinus@gmx.de>
13180
13181 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
13182 when reading the events; the buffer layout shall not be changed.
13183
837fd9af
LL
131842013-05-27 Leo Liu <sdl.web@gmail.com>
13185
13186 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
13187 New variable.
13188 (inferior-octave-directory-tracker): Automatically re-sync
13189 default-directory.
13190 (octave-help): Improve handling of 'See also'.
13191
4fd996b3
SM
131922013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13193
416f1802
SM
13194 * doc-view.el: Minor naming convention tweaks.
13195 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
13196
4fd996b3
SM
13197 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
13198 even if there's no `display' property yet (bug#14435).
13199
a052ef3b
EZ
132002013-05-25 Eli Zaretskii <eliz@gnu.org>
13201
4fd996b3 13202 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
13203
13204 * Makefile.in (custom-deps, finder-data, autoloads)
13205 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
13206 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
13207 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
13208
c9023370
SM
132092013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13210
13211 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
13212 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 13213 Don't burp at EOB.
c9023370 13214
24d699fa
LL
132152013-05-25 Leo Liu <sdl.web@gmail.com>
13216
13217 * comint.el (comint-previous-matching-input): Do not flood the
13218 *Messages* buffer with trivial messages.
13219
17e5c0cc
SM
132202013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13221
13222 * progmodes/flymake.el (flymake-nop): Don't return a string.
13223 (flymake-set-at): Fix typo.
13224
13225 * simple.el (read--expression): New function, extracted from
13226 eval-expression. Set completion-at-point-functions (bug#14465).
13227 (eval-expression, eval-minibuffer): Use it.
13228
5d028165
XF
132292013-05-25 Xue Fuqiao <xfq.free@gmail.com>
13230
13231 * progmodes/flymake.el (flymake-save-buffer-in-file)
13232 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
13233 (flymake-selected-frame, flymake-log, flymake-ins-after)
13234 (flymake-set-at, flymake-get-buildfile-from-cache)
13235 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
13236 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
13237 Refine the doc string.
13238 (flymake-get-file-name-mode-and-masks): Reformat.
13239 (flymake-get-real-file-name-function): Fix a minor bug.
13240
7a1d7ba7
JL
132412013-05-24 Juri Linkov <juri@jurta.org>
13242
13243 * progmodes/grep.el (grep-mode-font-lock-keywords):
13244 Support =linenumber= format used by git-grep for lines with
13245 function names. (Bug#13549)
13246
650cff3d
SM
132472013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13248
13249 * progmodes/octave.el (octave-smie-rules): Return nil rather than
13250 0 after a semi-colon; it works better for smie-auto-fill.
13251 (octave--indent-new-comment-line): New function.
13252 (octave-indent-new-comment-line): Use it (indirectly).
13253 (octave-mode): Don't disable smie-auto-fill. Use add-function to
13254 modify comment-line-break-function.
13255
13256 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
13257 (smie-setup): Use add-function to set it.
13258
9631677d
SS
132592013-05-24 Sam Steingold <sds@gnu.org>
13260
13261 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
13262 argument (before the `interactive' argument).
13263
50105835
SM
132642013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13265
13266 * image-mode.el (image-mode-winprops): Add winprops to
13267 image-mode-winprops-alist before running
13268 image-mode-new-window-functions.
13269 * doc-view.el (doc-view-new-window-function): Don't delay
13270 doc-view-goto-page via timers (bug#14435).
13271
57b9823e
TH
132722013-05-24 Tassilo Horn <tsdh@gnu.org>
13273
13274 * doc-view.el: Integrate with desktop.el. (Bug#14435)
13275 (doc-view-desktop-save-buffer): New function.
13276 (doc-view-restore-desktop-buffer): New function.
50105835
SM
13277 (desktop-buffer-mode-handlers):
13278 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
13279 handler.
13280 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
13281 `desktop-save-buffer' function.
13282
91aafa16
MA
132832013-05-24 Michael Albinus <michael.albinus@gmx.de>
13284
13285 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
13286 (tramp-gvfs-file-name-handler): Raise a user error when
13287 `tramp-gvfs-enabled' is nil.
13288 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
13289 Do not raise a user error when loading package. (Bug#14447)
13290
ec076379
MA
13291 * net/xesam.el: Move to obsolete/.
13292
db785726
GM
132932013-05-24 Glenn Morris <rgm@gnu.org>
13294
af5c7606
GM
13295 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
13296
e5d1916a
GM
13297 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
13298
ded62b08
GM
13299 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
13300 (Info-find-node, Man-getpage-in-background): Declare.
13301
9e614a3f
GM
13302 * mail/unrmail.el (unrmail):
13303 Replace obsolete detect-coding-with-priority.
13304
892f8ca3
GM
13305 * net/socks.el (socks-split-string): Use this rather than split-string.
13306 (socks-nslookup-host): Update for above change.
13307 (dynamic-choice, s5-dynamic-choice-match)
13308 (s5-dynamic-choice-match-inline, s5-widget-value-create):
13309 Comment out unused code.
13310
3c291973
GM
13311 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
13312 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
13313 (gud-tooltip-echo-area): Make obsolete.
13314 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
13315
43cc956b
GM
13316 * progmodes/js.el (js--optimize-arglist): Declare.
13317
dab49a3b
GM
13318 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
13319
36b9d085
GM
13320 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
13321 (ediff-window-C): Declare.
13322
e354ae76
GM
13323 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
13324 Tweak requires to silence compiler.
13325
b8e57bf4
GM
13326 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
13327 (he-search-string, he-tried-table, he-expand-list)
13328 (he-init-string, he-string-member, he-substitute-string)
13329 (he-reset-string): Declare.
13330
db785726
GM
13331 * obsolete/options.el (list-options): Use custom-variable-p,
13332 rather than obsolete alias.
13333
b3531901
SS
133342013-05-23 Sam Steingold <sds@gnu.org>
13335
13336 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 13337 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
13338 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
13339
bdda4c66
SM
133402013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13341
13342 * emacs-lisp/smie.el (smie-indent-forward-token)
13343 (smie-indent-backward-token): Handle string tokens (bug#14381).
13344
c43d45f9
TH
133452013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13346
fe1eb856
RS
13347 * ielm.el (ielm-menu): New menu.
13348 (inferior-emacs-lisp-mode): Set comment-start.
96172128 13349
fe1eb856
RS
133502013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13351
a12bf61e 13352 * textmodes/reftex.el (reftex-ref-style-toggle):
fe1eb856
RS
13353 Fix deactivate action.
13354
a12bf61e 13355 * textmodes/reftex-vars.el (reftex-ref-style-alist):
fe1eb856 13356 Add cleveref macros.
074dd971 13357
9b017563
JB
13358 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
13359 Accept options for bibliography commands.
a12bf61e 13360 * textmodes/reftex-vars.el (reftex-bibliography-commands):
c43d45f9
TH
13361 Add addbibresource. Basic Biblatex support.
13362
7764286e
MA
133632013-05-23 Michael Albinus <michael.albinus@gmx.de>
13364
13365 * net/tramp-gvfs.el (top):
13366 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
13367 when loading package. (Bug#14447)
13368
d361bc10
GM
133692013-05-23 Glenn Morris <rgm@gnu.org>
13370
8fa23984
GM
13371 * progmodes/js.el: No need to load comint when compiling.
13372 (ring-insert, comint-send-string, comint-send-input)
13373 (comint-last-input-end, ido-chop): Declare.
13374
a5c7df1a
GM
13375 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
13376 * vc/ediff-mult.el: Adjust requires.
13377 (ediff-directories-internal, ediff-directory-revisions-internal)
13378 (ediff-patch-file-internal): Declare.
13379 * vc/ediff-ptch.el: Adjust requires.
13380 (ediff-use-last-dir, ediff-buffers-internal): Declare.
13381 (ediff-find-file): Autoload.
13382 * vc/ediff-util.el: No need to load ediff when compiling.
13383 (ediff-regions-internal): Declare.
13384 * vc/ediff-wind.el: Adjust requires.
13385 (ediff-compute-toolbar-width): Define when compiling.
13386 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
13387 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
13388 (dired-get-filename, dired-get-marked-files)
13389 (ediff-last-dir-patch, ediff-patch-default-directory)
13390 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
13391 (ediff-patch-buffer-internal): Declare.
13392
e2aec513
GM
13393 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
13394 (ispell-process, ispell-buffer-local-words, lm-summary)
13395 (lm-section-start, lm-section-end): Declare.
13396 (checkdoc-ispell-init): Simplify.
13397
e68bbd7c
GM
13398 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
13399 (he-string-member, he-reset-string, he-substitute-string): Declare.
13400
7efe0991
GM
13401 * eshell/em-ls.el: Adjust requires.
13402 (eshell-glob-regexp): Declare.
f87b1284
GM
13403 * eshell/em-tramp.el: Adjust requires.
13404 (eshell-parse-command): Autoload.
13405 * eshell/em-xtra.el: Adjust requires.
13406 (eshell-parse-command): Autoload.
13407 * eshell/esh-ext.el: Adjust requires.
13408 (eshell-parse-command, eshell-close-handles): Autoload.
13409 * eshell/esh-io.el: Adjust requires.
13410 (eshell-output-filter): Autoload.
13411 * eshell/esh-util.el: No need to load tramp when compiling.
13412 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
13413 Declare.
13414 (eshell-parse-ange-ls): Require ange-ftp and tramp.
13415 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
13416 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
13417 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
13418 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
13419 * eshell/esh-opt.el, eshell/esh-proc.el:
13420 * eshell/esh-var.el: Adjust requires.
13421 * eshell/eshell.el: Do not require esh-util twice.
13422 (eshell-add-input-to-history): Declare.
13423 (eshell-command): Check history module is active before using it.
13424
d361bc10
GM
13425 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
13426
85d090a9
LL
134272013-05-22 Leo Liu <sdl.web@gmail.com>
13428
13429 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
13430
5d0acd9d
MA
134312013-05-22 Michael Albinus <michael.albinus@gmx.de>
13432
13433 * autorevert.el (auto-revert-notify-add-watch)
13434 (auto-revert-notify-handler): Add `attrib' for the inotify case,
13435 it indicates changes in file modification time.
13436
0cdffd7d
GM
134372013-05-22 Glenn Morris <rgm@gnu.org>
13438
ca5995ec
GM
13439 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
13440 Always delete the autoloaded function from the noruntime and
13441 unresolved functions lists.
13442
6450907e
GM
13443 * allout.el: No need to load epa, epg, overlay when compiling.
13444 (epg-context-set-passphrase-callback, epg-list-keys)
13445 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
13446 (epg-key-user-id-list): Declare.
13447
9c6906f6
GM
13448 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
13449 (viper-set-parsing-style-toggling-macro)
13450 (viper-set-emacs-state-searchstyle-macros):
13451 Use called-interactively-p on Emacs.
13452 (viper-looking-back): Make it an obsolete alias. Update callers.
13453 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
13454 Use looking-back rather than viper-looking-back.
13455 (viper-tmp-insert-at-eob, viper-enlarge-region)
13456 (viper-read-string-with-history, viper-register-to-point)
13457 (viper-append-to-register, viper-change-state-to-vi)
13458 (viper-backward-char-carefully, viper-forward-char-carefully)
13459 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
13460 (viper-change-state-to-emacs): Declare.
13461 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
13462 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
13463 * emulation/viper-mous.el: Do not load viper-cmd.
13464 (viper-backward-char-carefully, viper-forward-char-carefully)
13465 (viper-forward-word, viper-adjust-window): Declare.
13466
5f70c169
GM
13467 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
13468
b1b7f300
GM
13469 * progmodes/idlw-help.el (idlwave-help-fontify):
13470 Use called-interactively-p.
13471
f6ebbb46
GM
13472 * term/w32console.el (w32-get-console-codepage)
13473 (w32-get-console-output-codepage): Declare.
13474
0cdffd7d
GM
13475 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
13476 Remove unnecessary declarations.
13477 (dframe-message): Doc fix.
13478
13479 * info.el (dframe-select-attached-frame, dframe-current-frame):
13480 Declare.
13481
13482 * speedbar.el (speedbar-message): Make it an obsolete alias.
13483 Update all callers.
13484 (speedbar-with-attached-buffer)
13485 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
13486 (speedbar-with-writable): Use backquote.
13487 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
13488 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
13489 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
13490 rather than speedbar- aliases.
13491 * mail/rmail.el: Load dframe rather than speedbar when compiling.
13492 (speedbar-make-specialized-keymap, speedbar-insert-button)
13493 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
13494 (speedbar-do-function-pointer): Declare.
13495 (rmail-speedbar-button, rmail-speedbar-find-file)
13496 (rmail-speedbar-move-message):
13497 Use dframe-with-attached-buffer rather than speedbar- alias.
13498 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
13499 (dframe-message, speedbar-make-specialized-keymap)
13500 (speedbar-add-expansion-list, speedbar-mode-functions-list)
13501 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
13502 (speedbar-insert-button, dframe-select-attached-frame)
13503 (dframe-maybee-jump-to-attached-frame)
13504 (speedbar-change-initial-expansion-list)
13505 (speedbar-previously-used-expansion-list-name): Declare.
13506 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
13507 Use dframe-message, dframe-with-attached-buffer rather than
13508 speedbar- aliases.
13509 (gud-sentinel): Silence compiler.
13510 * progmodes/vhdl-mode.el (speedbar-refresh)
13511 (speedbar-do-function-pointer, speedbar-add-supported-extension)
13512 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
13513 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
13514 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
13515 (speedbar-file-lists, speedbar-make-tag-line)
13516 (speedbar-line-directory, speedbar-goto-this-file)
13517 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
13518 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
13519 (speedbar-make-button, speedbar-reset-scanners)
13520 (speedbar-files-item-info, speedbar-line-text)
13521 (speedbar-find-file-in-frame, speedbar-set-timer)
13522 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
13523 (speedbar-with-writable): Do not (re)define it.
13524 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
13525 rather than speedbar- alias.
13526
ee44b62a
LL
135272013-05-21 Leo Liu <sdl.web@gmail.com>
13528
13529 * progmodes/octave.el (octave-mode-menu): Update and re-organize
13530 menu items.
13531 (octave-mode): Tweak fill-nobreak-predicate.
13532 (inferior-octave-startup): Check process to avoid infinite loop.
13533 (inferior-octave): Pop to buffer first to show abornmal process
13534 exit information.
13535
640f050f
GM
135362013-05-21 Glenn Morris <rgm@gnu.org>
13537
79458038
GM
13538 * printing.el (pr-menu-bar): Define when compiling.
13539
9cc3e83f
LL
135402013-05-21 Leo Liu <sdl.web@gmail.com>
13541
13542 * progmodes/octave.el (octave-auto-fill): Remove.
13543 (octave-indent-new-comment-line): Improve.
13544 (octave-mode): Use auto fill mode through
4f405069 13545 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 13546 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 13547 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
13548 (octave-help): Show parent directory.
13549
f440830d
GM
135502013-05-21 Glenn Morris <rgm@gnu.org>
13551
13552 * files.el (dired-unmark):
13553 * progmodes/gud.el (gdb-input): Update declarations.
13554
13555 * calculator.el (electric, ehelp): No need to load when compiling.
13556 (Electric-command-loop, electric-describe-mode): Declare.
13557
13558 * doc-view.el (doc-view-current-converter-processes): Move before use.
13559
13560 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13561 Move MODE-set-explicitly definition before use.
13562
13563 * international/mule-diag.el (mule-diag):
13564 Don't use obsolete window-system-version.
13565
13566 * mail/feedmail.el (smtpmail): No need to load when compiling.
13567 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
13568
13569 * mail/mail-utils.el (rfc822): No need to load when compiling.
13570 (rfc822-addresses): Autoload it.
13571 (mail-strip-quoted-names): Trivial simplification.
13572
13573 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
13574 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
13575
13576 * net/snmp-mode.el (tempo): Don't duplicate requires.
13577
13578 * progmodes/prolog.el (info): No need to load when compiling.
13579 (comint): Require before shell requires it.
13580 (Info-goto-node): Autoload it.
13581 (Info-follow-nearest-node): Declare.
13582 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
13583
13584 * textmodes/artist.el (picture-mode-exit): Declare.
13585
13586 * textmodes/reftex-parse.el (reftex-parse-from-file):
13587 Trivial rewrite so the compiler can parse it better.
13588
b4da2cbb
LL
135892013-05-20 Leo Liu <sdl.web@gmail.com>
13590
13591 * progmodes/octave.el (octave-help-mode-map)
13592 (octave-help-mode-finish-hook): New variables.
13593 (octave-help-mode, octave-help-mode-finish): New functions.
13594 (octave-help): Use octave-help-mode.
13595
33c0f65b
GM
135962013-05-20 Glenn Morris <rgm@gnu.org>
13597
13598 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
13599
1a0a0a8a
DG
136002013-05-19 Dmitry Gutov <dgutov@yandex.ru>
13601
13602 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
13603 start at point, so that expansion starting right after opening
13604 slash in a regexp is recognized.
13605 (ruby-syntax-before-regexp-re): New defvar, extracted from
13606 ruby-syntax-propertize-function. Since the value of this regexp
13607 is looked up at runtime now, we should be able to turn
13608 `ruby-syntax-methods-before-regexp' into a defcustom later.
13609 (ruby-syntax-propertize-function): Split regexp matching into two
13610 parts, for opening and closing slashes. That allows us to skip
13611 over string interpolations and support multiline regexps.
13612 Don't call `ruby-syntax-propertize-expansions', instead use another rule
13613 for them, which calls `ruby-syntax-propertize-expansion'.
13614 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
13615 call to `ruby-syntax-propertize-function'.
13616 (ruby-syntax-propertize-expansion): Extracted from
13617 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
13618 (ruby-syntax-propertize-percent-literal): Leave point right after
13619 the percent symbol, so that the expression expansion rule can
13620 propertize the contents.
462388b6
DG
13621 (ruby-syntax-propertize-heredoc): Leave point at bol following the
13622 heredoc openers.
13623 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 13624
c1a6c0a4
JL
136252013-05-18 Juri Linkov <juri@jurta.org>
13626
13627 * man.el (Man-default-man-entry): Remove `-' from the end
13628 of the default value. (Bug#14400)
13629
8051fccd
GM
136302013-05-18 Glenn Morris <rgm@gnu.org>
13631
13632 * comint.el (comint-password-prompt-regexp):
13633 Allow "password for XXX" where XXX contains colons (eg https://...).
13634
5e80b74f
LL
136352013-05-18 Leo Liu <sdl.web@gmail.com>
13636
13637 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 13638 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
13639 (octave-source-directories): Don't check process.
13640 (octave-source-directories, octave-find-definition): Doc fix.
13641
521a54c5
GM
136422013-05-18 Glenn Morris <rgm@gnu.org>
13643
86a94b05
GM
13644 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
13645 Remove backspace/delete bindings. (Bug#14392)
13646
521a54c5
GM
13647 * cus-dep.el (custom-make-dependencies): Sort the output.
13648 (custom-versions-load-alist): Convert comment to doc.
13649
42caeb89
LL
136502013-05-17 Leo Liu <sdl.web@gmail.com>
13651
13652 * newcomment.el (comment-search-backward): Stricter in finding
13653 comment start. (Bug#14303)
13654
13655 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
13656 (octave-comment-start-skip): Properly anchored.
13657
e219dd97
LL
136582013-05-17 Leo Liu <sdl.web@gmail.com>
13659
fe1eb856
RS
13660 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
13661 Clean up when turned off. (Bug#14395)
e219dd97
LL
13662 (smie--highlight-matching-block-overlay): No longer buffer-local.
13663 (smie-highlight-matching-block): Adjust.
13664
dc5dcb4b
PE
136652013-05-17 Paul Eggert <eggert@cs.ucla.edu>
13666
13667 Doc string fix for "nanoseconds" (Bug#14406).
13668 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
13669 Fix doc string typo that had "nanoseconds" instead of "microseconds".
13670
1db165f0
JB
136712013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
13672
13673 * calc/calc-units.el (math-extract-units): Preserve powers
13674 of units.
13675
c7a8fcac
LL
136762013-05-17 Leo Liu <sdl.web@gmail.com>
13677
13678 * subr.el (delete-consecutive-dups): New function.
13679 * ido.el (ido-set-matches-1): Use it.
13680 * progmodes/octave.el (inferior-octave-completion-table): Use it.
13681 * ido.el (ido-remove-consecutive-dups): Remove.
13682
f678b18a
SM
136832013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13684
13685 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
13686 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
13687 regexp-opt's `words'.
13688
ebfe68e8
LL
136892013-05-16 Leo Liu <sdl.web@gmail.com>
13690
13691 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
13692 (smie--highlight-matching-block-overlay)
13693 (smie--highlight-matching-block-lastpos)
13694 (smie--highlight-matching-block-timer): New variables.
13695 (smie-highlight-matching-block): New function.
13696 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
13697 (smie-setup): Conditionally enable smie-blink-matching-open.
13698
bc8bc17d
WS
136992013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
13700
13701 Sync with upstream verilog-mode r840.
13702 * progmodes/verilog-mode.el (verilog-mode-version)
13703 (verilog-mode-release-date): Update.
13704 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
13705 (verilog-sig-tieoff): Fix string error on
13706 AUTORESET with colon define, bug594. Reported by Andrew Hou.
13707 (verilog-read-decls): Fix parameters confusing
13708 AUTOINST interfaces, bug565. Reported by Leith Johnson.
13709
df065a0b
EZ
137102013-05-16 Eli Zaretskii <eliz@gnu.org>
13711
13712 * subr.el (reveal-filename): New function.
13713
13714 * loadup.el: Compute Emacs executable versions on MS-Windows,
13715 where executables have the .exe extension. Add a hard link
13716 emacs-XX.YY.ZZ.exe on MS-Windows.
13717
13718 * Makefile.in (XARGS_LIMIT): New variable.
13719 (custom-deps, finder-data, autoloads)
13720 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
13721 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
13722 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
13723 (compile-main): Limit xargs according to $(XARGS_LIMIT).
13724
2d4bf34b
LL
137252013-05-16 Leo Liu <sdl.web@gmail.com>
13726
13727 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
13728 (octave-mode-menu, octave-mode-map): Remove its uses.
13729
6b9c2d85
RZ
137302013-05-16 Reto Zimmermann <reto@gnu.org>
13731
13732 Sync with upstream vhdl mode v3.34.2.
13733 * progmodes/vhdl-mode.el: Use `push' throughout.
13734 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
13735 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
13736 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
13737 (vhdl-actual-generic-name): New option to derive actual generic name.
13738 (vhdl-port-paste-signals): Replace formal by actual generics.
13739 (vhdl-beautify): New name for old group vhdl-align. Update users.
13740 (vhdl-beautify-options): New option.
13741 (vhdl-last-input-event): New compat alias. Use throughout.
13742 (vhdl-goto-line): Replace user level function `goto-line'.
13743 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
13744 vhdl-fix-statement-buffer.
13745 (vhdl-create-mode-menu): Add some entries.
13746 (vhdl-align-region-groups): Respect vhdl-beautify-options.
13747 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
13748 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
13749 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
13750 to force statements on one line.
13751 (vhdl-remove-trailing-spaces-region):
13752 New, split from vhdl-remove-trailing-spaces.
13753 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
13754 Respect vhdl-beautify-options.
13755 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
13756 (vhdl-update-sensitivity-list): Not add with index if exists without.
13757 Not include array index with signal. Ignore keywords in comments.
13758 (vhdl-get-visible-signals): Regexp tweaks.
13759 (vhdl-template-component-inst): Handle empty library.
13760 (vhdl-template-type): Add template for 'enum' type.
13761 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
13762 Use vhdl-replace-string.
13763 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
13764 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
13765 (vhdl-speedbar-initialize): Update for above name change.
13766 (vhdl-compose-wire-components): Fix in handling of constants.
13767 (vhdl-error-regexp-emacs-alist): New variable.
13768 (vhdl-error-regexp-add-emacs): New function;
13769 adds support for new compile.el (Emacs 22+)
13770 (vhdl-generate-makefile-1): Change target order for single lib. units.
13771 Allow use of absolute file names.
13772
9df4ec5e
LL
137732013-05-16 Leo Liu <sdl.web@gmail.com>
13774
13775 * simple.el (prog-indent-sexp): Indent enclosing defun.
13776
f5ba00a6
GM
137772013-05-15 Glenn Morris <rgm@gnu.org>
13778
ed8be7ff
GM
13779 * cus-start.el (show-trailing-whitespace): Move to editing basics.
13780 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
13781 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
13782 (whitespace-highlight): Move to whitespace group.
13783
13784 * comint.el (comint-source):
13785 * pcmpl-linux.el (pcmpl-linux):
13786 * shell.el (shell-faces):
13787 * eshell/esh-opt.el (eshell-opt):
13788 * international/ccl.el (ccl): Remove empty custom groups.
13789
13790 * completion.el (dynamic-completion-mode):
13791 * jit-lock.el (jit-lock-debug-mode):
13792 * minibuffer.el (completion-in-region-mode):
13793 * type-break.el (type-break-mode-line-message-mode)
13794 (type-break-query-mode):
13795 * emulation/tpu-edt.el (tpu-edt-mode):
13796 * progmodes/subword.el (global-subword-mode, global-superword-mode):
13797 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
13798 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
13799
13800 * term/xterm.el (xterm): Change parent group to terminals.
13801
13802 * master.el (master): Remove empty custom group.
13803 (master-mode): Remove unused :group argument.
13804 * textmodes/refill.el (refill): Remove empty custom group.
13805 (refill-mode): Remove unused :group argument.
13806
13807 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
13808
82a7c41b
GM
13809 * cus-dep.el: Provide a feature.
13810 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
13811 Don't mistakenly ignore files whose basenames match a basename
13812 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 13813 Add a fallback method for getting :group.
f5ba00a6 13814
6d65486d
JL
138152013-05-15 Juri Linkov <juri@jurta.org>
13816
da547b32
JL
13817 * isearch.el (isearch-char-by-name): Rename from
13818 `isearch-insert-char-by-name'. Doc fix.
13819 (isearch-forward): Mention `isearch-char-by-name' in
13820 the docstring. (Bug#13348)
13821
6d65486d
JL
13822 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
13823 `exit-minibuffer' instead of
13824 `isearch-nonincremental-exit-minibuffer'.
13825 (isearch-edit-string): Remove mention of
13826 `isearch-nonincremental-exit-minibuffer' from docstring.
13827 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
13828 (isearch-forward-exit-minibuffer)
13829 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
13830
c9990474
SM
138312013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
13832
6e911150
SM
13833 * loadup.el: Just use unversioned DOC.
13834
c9990474
SM
13835 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
13836 literals as extending to EOB.
13837 (nxml-last-fontify-end): Remove unused variable.
13838 (nxml-after-change1): Use with-silent-modifications.
13839 (nxml-extend-after-change-region): Simplify.
13840 (nxml-extend-after-change-region1): Remove function.
13841 (nxml-after-change1): Don't adjust for dependent regions.
13842 (nxml-fontify-matcher): Simplify.
13843 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
13844 (xmltok-add-dependent): Remove function.
13845 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
13846 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
13847 (xmltok-scan-prolog-after-processing-instruction-open): Treat
13848 unclosed <[[, <?, comment, and other literals as extending to EOB.
13849 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
13850 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
13851 Remove functions.
13852 (rng-do-some-validation-1): Don't mark dependent regions.
13853 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
13854 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
13855 (nxml-clear-dependent-regions): Remove functions.
13856 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
13857 (nxml-ensure-scan-up-to-date):
13858 Don't clear&mark dependent regions.
13859
e3772e98
LL
138602013-05-15 Leo Liu <sdl.web@gmail.com>
13861
c9990474
SM
13862 * progmodes/octave.el (octave-goto-function-definition):
13863 Improve and fix callers.
e3772e98 13864
5ac2eb34
SM
138652013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
13866
c46c57b0
SM
13867 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
13868 the setter (bug#14387).
13869
5ac2eb34
SM
13870 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
13871 surrounding group (bug#14402).
13872
180ed218
JL
138732013-05-14 Juri Linkov <juri@jurta.org>
13874
13875 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
13876 (Bug#14390)
13877
0ac0fecb
GM
138782013-05-14 Glenn Morris <rgm@gnu.org>
13879
13880 * progmodes/f90.el (f90-imenu-generic-expression):
13881 Fix typo in 2013-05-08 change. (Bug#14402)
13882
2e78e6a7
JPG
138832013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
13884
5ac2eb34
SM
13885 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
13886 Remove signals for which replies are never received.
2e78e6a7 13887
53267cca
JPG
138882013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
13889
13890 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
13891 (gdb-handler-alist, gdb-handler-number): Remove variables.
13892 (gdb-handler-list): New variable.
13893 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
13894 (gdb-pending-handler-p, gdb-handle-reply)
13895 (gdb-remove-all-pending-triggers): New functions.
13896 (gdb-discard-unordered-replies): New defcustom.
13897 (gdb-handler): New defstruct.
13898 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
13899 instead of gdb-pending-triggers. Update docstring.
13900 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
13901 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
13902 (gdb-var-update-handler, def-gdb-auto-update-trigger)
13903 (def-gdb-auto-update-handler, gdb-get-changed-registers)
13904 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
13905 (gdb-frame-handler): Pending triggers are now automatically managed.
13906 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
13907 Remove argument.
13908 (gdb-input): Automatically handles pending triggers. Update docstring.
13909 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
13910 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
13911 Update comments.
13912 (gdb-done-or-error): Now use gdb-handle-reply.
13913
d04ce803
JPG
139142013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
13915
13916 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
13917 gdb-debug-log.
13918
0114073a
GM
139192013-05-14 Glenn Morris <rgm@gnu.org>
13920
13921 * subr.el (user-emacs-directory-warning): New option.
13922 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
13923
4d25fd7e
LL
139242013-05-14 Leo Liu <sdl.web@gmail.com>
13925
13926 * progmodes/octave.el (octave-font-lock-keywords): Fix error
13927 during redisplay.
13928 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
13929 (octave-font-lock-texinfo-comment): Fix invalid search bound
13930 error: wrong side of point.
4d25fd7e 13931
27c8b6eb
GM
139322013-05-14 Glenn Morris <rgm@gnu.org>
13933
61aaeb01
GM
13934 * progmodes/flymake.el (flymake-xml-program): New option.
13935 (flymake-xml-init): Use it.
13936
5bf90bc5
GM
13937 * term/xterm.el: Provide a feature.
13938
13939 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 13940
f4c7dfd2
GM
139412013-05-13 Glenn Morris <rgm@gnu.org>
13942
13943 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
13944 Add compat aliases as a hack workaround. (Bug#14384)
13945
2aeb3a1d
LL
139462013-05-13 Leo Liu <sdl.web@gmail.com>
13947
b0e069c2
LL
13948 * progmodes/octave.el (octave-indent-comment): Fix indentation for
13949 ###, and %!.
f5a9432f
LL
13950 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
13951 C-M-q.
b0e069c2
LL
13952 (octave-comment-start-skip): Include %!.
13953 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 13954
30ea8374
LL
139552013-05-12 Leo Liu <sdl.web@gmail.com>
13956
13957 * progmodes/octave.el (inferior-octave-startup): Store the value
13958 of __octave_srcdir__ for octave-source-directories.
13959 (inferior-octave-check-process): New function refactored out of
13960 inferior-octave-send-list-and-digest.
13961 (octave-source-directories)
13962 (octave-find-definition-filename-function): New variables.
13963 (octave-source-directories)
13964 (octave-find-definition-default-filename): New functions.
13965 (octave-find-definition): Improve to find functions implemented in C++.
13966
472a3834
GM
139672013-05-12 Glenn Morris <rgm@gnu.org>
13968
13969 * calendar/diary-lib.el (diary-outlook-format-1):
13970 Don't include dayname in the output. (Bug#14349)
13971
3191b52f
GM
139722013-05-11 Glenn Morris <rgm@gnu.org>
13973
0060ac73
GM
13974 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
13975
3191b52f
GM
13976 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
13977 Treat cc-provide like provide.
13978
e065ba74
KR
139792013-05-11 Kevin Ryde <user42@zip.com.au>
13980
13981 * cus-dep.el (custom-make-dependencies):
13982 Use generated-autoload-load-name for the sake of files such
13983 such cedet/semantic/bovine/c.el, where the base file name
13984 is not in load-path. (Bug#5277)
13985
36f84c37
GM
139862013-05-11 Glenn Morris <rgm@gnu.org>
13987
13988 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
13989 Provide features.
13990
c8730c3a
LL
139912013-05-11 Leo Liu <sdl.web@gmail.com>
13992
13993 * progmodes/octave.el (octave-indent-comment): Improve.
13994 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
13995 (octave-eldoc-function-signatures, octave-eldoc-function):
13996 New functions.
c8730c3a
LL
13997 (octave-mode, inferior-octave-mode): Add eldoc support.
13998
212e29f2
RS
139992013-05-11 Richard Stallman <rms@gnu.org>
14000
14001 * epa.el (epa-decrypt-file): Take output file name as argument
14002 and read it using `interactive'.
14003
083fe0d7
LL
140042013-05-11 Leo Liu <sdl.web@gmail.com>
14005
14006 * progmodes/octave.el (octave-beginning-of-line)
14007 (octave-end-of-line): Check before using up-list because it jumps
14008 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
14009 (octave-indent-comment): New function.
14010 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
14011 (octave-begin-keywords, octave-end-keywords)
14012 (octave-reserved-words, octave-smie-bnf-table)
14013 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 14014
8582e4c4
GM
140152013-05-11 Glenn Morris <rgm@gnu.org>
14016
f20def1f
GM
14017 * faces.el (internal-face-x-get-resource):
14018 * frame.el (ns-display-monitor-attributes-list):
d78abe37 14019 * calc/calc-aent.el (math-to-radians-2):
f20def1f 14020 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 14021 Fix declarations.
f20def1f 14022
445f95e2
GM
14023 * calc/calc-menu.el: Make it loadable in isolation.
14024
14025 * net/eudcb-bbdb.el: Make it loadable without bbdb.
14026 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
14027 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
14028 (eudc-bbdb-query-internal): Require 'bbdb.
14029
99fb2756
GM
14030 * lpr.el (lpr-headers-switches):
14031 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
14032
14033 * progmodes/sql.el (sql-login-params): Fix and improve :type.
14034
0da7ad96
GM
14035 * emulation/edt-mapper.el: In batch mode, error rather than hang.
14036
8582e4c4
GM
14037 * term.el (term-set-escape-char): Make it idempotent.
14038
f71c50d0
LL
140392013-05-10 Leo Liu <sdl.web@gmail.com>
14040
5ac2eb34
SM
14041 * progmodes/octave.el (inferior-octave-completion-table):
14042 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
14043 completion due to bug#11906.
14044 (octave-beginning-of-defun): Re-write to be more general.
14045
d5837773
GM
140462013-05-10 Glenn Morris <rgm@gnu.org>
14047
14048 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
14049
027c0f75
SM
140502013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14051
14052 * comint.el (comint-redirect-send-command-to-process): Use :around
14053 rather than :override for comint-redirect-filter.
14054 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
14055 Call it instead of comint-redirect-original-filter-function (which
14056 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
14057
4465bfb4
JD
140582013-05-09 Jan Djärv <jan.h.d@swipnet.se>
14059
14060 * frame.el (display-monitor-attributes-list): Add NS case.
14061 (ns-display-monitor-attributes-list): Declare.
14062
2d809ffa 140632013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
14064
14065 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
14066
e54eeb9b
GM
140672013-05-09 Glenn Morris <rgm@gnu.org>
14068
56cd351d
GM
14069 * international/fontset.el (vertical-centering-font-regexp):
14070 Set standard-value.
14071
d84b6108
GM
14072 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
14073
a931698a
GM
14074 * bookmark.el (bookmark-search-delay):
14075 * cus-start.el (vertical-centering-font-regexp):
14076 * ps-mule.el (ps-mule-font-info-database-default):
14077 * ps-print.el (ps-default-fg, ps-default-bg):
14078 * type-break.el (type-break-good-break-interval):
14079 * whitespace.el (whitespace-indentation-regexp)
14080 (whitespace-space-after-tab-regexp):
14081 * emacs-lisp/testcover.el (testcover-1value-functions)
14082 (testcover-noreturn-functions, testcover-progn-functions)
14083 (testcover-prog1-functions):
14084 * emulation/viper-init.el (viper-emacs-state-cursor-color):
14085 * eshell/em-glob.el (eshell-glob-translate-alist):
14086 * play/tetris.el (tetris-tty-colors):
14087 * progmodes/cpp.el (cpp-face-default-list):
14088 * progmodes/flymake.el (flymake-allowed-file-name-masks):
14089 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
14090 (idlwave-help-browser-generic-args):
14091 * progmodes/make-mode.el (makefile-special-targets-list):
14092 * progmodes/python.el (python-shell-virtualenv-path):
14093 * progmodes/verilog-mode.el (verilog-active-low-regexp)
14094 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
14095 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
14096 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
14097 * textmodes/reftex-vars.el (reftex-format-label-function):
14098 * textmodes/remember.el (remember-diary-file): Fix custom types.
14099
e54eeb9b
GM
14100 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
14101 Add :version.
14102
455851dd
LL
141032013-05-09 Leo Liu <sdl.web@gmail.com>
14104
14105 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 14106 Restore file completion. (Bug#14300)
455851dd
LL
14107 (inferior-octave-startup): Fix incorrect highlighting for the
14108 first prompt.
14109
a9e4425b
SM
141102013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14111
14112 * progmodes/ruby-mode.el: First cut at SMIE support.
14113 (ruby-use-smie): New var.
14114 (ruby-smie-grammar): New constant.
14115 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
14116 (ruby-smie--forward-token, ruby-smie--backward-token)
14117 (ruby-smie-rules): New functions.
14118 (ruby-mode-variables): Setup SMIE if applicable.
14119
060ca408
EZ
141202013-05-08 Eli Zaretskii <eliz@gnu.org>
14121
14122 * simple.el (line-move-visual): Signal beginning/end of buffer
14123 only if vertical-motion moved less than it was requested. Avoids
14124 silly incorrect error messages when there are display strings with
14125 multiple newlines at EOL.
14126
1d5963cc
SM
141272013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14128
14129 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
14130 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
14131 (prolog-char-quote-workaround):
14132 * progmodes/cperl-mode.el (cperl-under-as-char):
14133 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
14134 Mark as obsolete.
14135 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
14136 their declaration.
14137 (vhdl-mode-syntax-table-init): Remove.
14138
c9990474
SM
14139 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
14140 last change.
1d5963cc
SM
14141
14142 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
14143 syntax for "_".
14144 (ld-script-font-lock-keywords):
14145 Change regexps to use things like \_< and \_>.
14146
14147 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
14148 Change all regexps to use things like \_< and \_>.
14149
14150 * progmodes/autoconf.el (autoconf-definition-regexp)
14151 (autoconf-font-lock-keywords, autoconf-current-defun-function):
14152 Handle a _ with symbol syntax.
14153 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
14154
c9990474
SM
14155 * progmodes/ada-mode.el (ada-mode-abbrev-table):
14156 Consolidate declaration.
1d5963cc
SM
14157 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
14158 the declaration.
14159 (ada-create-syntax-table): Remove.
14160 (ada-capitalize-word): Don't mess with the syntax of "_" since it
14161 already has the right syntax nowadays.
14162 (ada-goto-next-word): Don't change the syntax of "_".
14163
14164 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
14165 with-wrapper-hook.
14166
72d3cfca
SS
141672013-05-08 Sam Steingold <sds@gnu.org>
14168
14169 * thingatpt.el (thing-at-point): Accept optional second argument
14170 NO-PROPERTIES to strip the text properties from the return value.
14171 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
14172 to `thing-at-point' instead of stripping the properties ourselves.
14173 Also, when `thing-at-point' fails to find a url, prepend "http://"
14174 to the filename at point on the assumption that the user is
14175 pointing at something like gnu.org/gnu.
14176
5cb15713
JB
141772013-05-08 Juanma Barranquero <lekktu@gmail.com>
14178
14179 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
14180 * faces.el (crm-separator):
14181 Silence byte-compiler.
14182
14183 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
14184 (tool-bar-map): Remove unneeded defvars.
14185
ea78b95b
LL
141862013-05-08 Leo Liu <sdl.web@gmail.com>
14187
14188 Re-work a fix for bug#10994 based on Le Wang's patch.
14189 * ido.el (ido-remove-consecutive-dups): New helper.
14190 (ido-completing-read): Use it.
14191 (ido-chop): Revert fix for bug#10994.
14192
dc7466df
AS
141932013-05-08 Adam Spiers <emacs@adamspiers.org>
14194
14195 * cus-edit.el (custom-save-variables):
14196 Pretty-print long values. (Bug#14187)
14197
9ecf672a
GM
141982013-05-08 Glenn Morris <rgm@gnu.org>
14199
14200 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
14201 (m4-mode-syntax-table): Init in the defvar.
14202 (m4-mode-abbrev-table): Let define-derived-mode define it.
14203
3f555be8
TT
142042013-05-08 Tom Tromey <tromey@redhat.com>
14205
14206 * progmodes/m4-mode.el (m4-mode-syntax-table):
14207 Do not treat "_" as word constituent. (Bug#14167)
14208
7cc8ae06
GM
142092013-05-07 Glenn Morris <rgm@gnu.org>
14210
4f58bc06
GM
14211 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
14212 Remove explicit eshell-isearch-cancel-map.
14213
7cc8ae06
GM
14214 * progmodes/f90.el (f90-smart-end-names): New option.
14215 (f90-smart-end): Doc fix.
14216 (f90-end-block-optional-name): New constant.
14217 (f90-block-match): Respect f90-smart-end-names.
14218
ceb57e59
SM
142192013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14220
14221 * progmodes/octave.el (octave-smie-forward-token): Be more careful
14222 about implicit semi-colons (bug#14218).
14223
4e3f9230
YM
142242013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
14225
14226 * frame.el (display-monitor-attributes-list)
14227 (frame-monitor-attributes): New functions.
14228
203a5572
LL
142292013-05-06 Leo Liu <sdl.web@gmail.com>
14230
14231 * progmodes/octave.el (octave-syntax-propertize-function): Change
14232 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
14233 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 14234 (octave-completion-at-point): Rename from
203a5572
LL
14235 octave-completion-at-point-function.
14236 (inferior-octave-directory-tracker): Robustify.
14237 (octave-text-functions): Remove and fix its uses. No such things
14238 any more.
14239
ee6cff99
SM
142402013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14241
14242 * emacs-lisp/trace.el (trace--display-buffer): New function.
14243 (trace-make-advice): Use it.
14244
32985194
JL
142452013-05-06 Juri Linkov <juri@jurta.org>
14246
14247 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
14248 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
14249 Doc fix.
14250 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
14251 in the help string. (Bug#12985)
14252
a1c700de
KD
142532013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
14254
14255 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
14256
c67c0839
SM
142572013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14258
323885fd
SM
14259 * progmodes/perl-mode.el: Add support for here documents.
14260 (perl-syntax-propertize-function): Match here-doc markers.
14261 (perl-syntax-propertize-special-constructs): Find their end.
14262 (perl-imenu-generic-expression): Use [:alnum:].
14263
c67c0839
SM
14264 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
14265 (advice--add-function): Refresh the advice if already present
14266 (bug#14317).
14267
d491e7a8
IA
142682013-05-06 Ivan Andrus <darthandrus@gmail.com>
14269
14270 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
14271
ddf9925e
GM
142722013-05-06 Glenn Morris <rgm@gnu.org>
14273
7cc3af27
GM
14274 * w32-fns.el (w32-charset-info-alist): Declare.
14275
16e343d6
GM
14276 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
14277 of its defcustom properties.
14278 (eshell-cmpl-initialize): No need to load pcomplete.
14279
7d889a47
GM
14280 * generic-x.el: No need to require comint when compiling.
14281
ddf9925e
GM
14282 * net/eudc-export.el: Make it loadable without bbdb.
14283 (top-level): Use require rather than load-library.
14284 (eudc-create-bbdb-record, eudc-bbdbify-phone)
14285 (eudc-batch-export-records-to-bbdb)
14286 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
14287 Require bbdb.
14288
1e2c18df
SM
142892013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14290
14291 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
14292 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
14293 some tweaks, instead.
14294
02502a5f
LL
142952013-05-05 Leo Liu <sdl.web@gmail.com>
14296
14297 * progmodes/octave.el (octave-font-lock-keywords)
14298 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
14299 (inferior-octave-send-list-and-digest): Improve error message.
14300 (octave-mode, inferior-octave-mode): Use setq-local.
14301 (octave-help): Set info-lookup-mode.
14302
0dc04f42
RS
143032013-05-05 Richard Stallman <rms@gnu.org>
14304
6c54491c
RS
14305 * vc/compare-w.el (compare-windows-whitespace):
14306 Treat no-break space as whitespace.
14307
0dc04f42
RS
14308 * mail/rmailsum.el (rmail-summary-rmail-update):
14309 Detect empty summary and don't change selected message.
14310 (rmail-summary-goto-msg): Likewise.
14311
df8f35df
RS
14312 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
14313 Doc fixes, rename args.
14314
5356e1a3
AM
143152013-05-05 Alan Mackenzie <acm@muc.de>
14316
14317 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
14318
d44014cb
JL
143192013-05-05 Juri Linkov <juri@jurta.org>
14320
14321 * info.el (Info-read-subfile): Use (point-min) instead of (point)
14322 to not add the length of the summary segment to the return value.
14323 (Bug#14125)
14324
c129b51f
LL
143252013-05-05 Leo Liu <sdl.web@gmail.com>
14326
14327 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
14328 (inferior-octave-output-filter): Remove.
14329 (octave-send-region, inferior-octave-startup): Fix callers.
14330 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
14331 (octave-binary-file-extensions): New user variable.
14332 (octave-find-definition): Confirm if opening binary files.
14333 (octave-help-file): Use octave-find-definition to get the binary
14334 confirmation.
14335 (octave-help): Adjust for octave-help-file change.
14336
aa7dab97
SM
143372013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14338
14339 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
14340 Merge the two entries that handle function definitions.
14341 (pascal--syntax-propertize): New const.
14342 (pascal-mode): Use it. Use setq-local.
14343
fd3a9a6b
GM
143442013-05-04 Glenn Morris <rgm@gnu.org>
14345
14346 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
14347 (diary-from-outlook): Respect diary-from-outlook-function.
14348
30c7e542
SM
143492013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14350
14351 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
14352 Move the declaration from C.
14353 (read-minibuffer, eval-minibuffer): Move from C.
14354 (completion-setup-function): Avoid minibuffer-completion-contents.
14355
b54f978b
LL
143562013-05-03 Leo Liu <sdl.web@gmail.com>
14357
14358 * progmodes/octave.el (octave-font-lock-keywords): Do not
14359 dehighlight 'end' in comments or strings.
30c7e542
SM
14360 (octave-completing-read, octave-goto-function-definition):
14361 New helpers.
d4d0f9b3
LL
14362 (octave-help-buffer): New user variable.
14363 (octave-help-file, octave-help-function): New button types.
14364 (octave-help): New command and bind it to C-h ;.
14365 (octave-find-definition): New command and bind it to M-.
d74a1581 14366 (user-error): Alias to error if not defined.
b54f978b 14367
27135018
LL
143682013-05-02 Leo Liu <sdl.web@gmail.com>
14369
14370 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
14371 for \. (bug#14332)
14372 (octave-font-lock-keywords): Include [ and {.
14373
0d634d3a
LL
143742013-05-02 Leo Liu <sdl.web@gmail.com>
14375
14376 * progmodes/octave.el (inferior-octave-startup-file): Change default.
14377 (inferior-octave): Remove calling comint-mode and return the buffer.
14378 (inferior-octave-startup): Cosmetic changes.
14379
b4c8295e
LL
143802013-05-02 Leo Liu <sdl.web@gmail.com>
14381
30c7e542
SM
14382 * progmodes/octave.el (octave-syntax-propertize-function):
14383 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 14384
f12ad6ec
GM
143852013-05-02 Glenn Morris <rgm@gnu.org>
14386
14387 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
14388 * desktop.el (vc-dir-mode): Just autoload it here.
14389
30cac1e0
AM
143902013-05-02 Alan Mackenzie <acm@muc.de>
14391
14392 Eliminate variable c-standard-font-lock-fontify-region-function.
14393 * progmodes/cc-mode.el
14394 (c-standard-font-lock-fontify-region-function): Remove.
14395 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
14396
d8ef28b1
LL
143972013-05-01 Leo Liu <sdl.web@gmail.com>
14398
2640d52e 14399 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 14400 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 14401 variables were removed from Octave in 2007.
d8ef28b1
LL
14402 (inferior-octave-startup): Fix uses.
14403 (comint-line-beginning-position): Remove compatibility code for
14404 emacs 21.
14405
ac63ec89
JL
144062013-05-01 Juri Linkov <juri@jurta.org>
14407
14408 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
14409
9e9be37c
JL
144102013-05-01 Juri Linkov <juri@jurta.org>
14411
14412 * comint.el (comint-previous-matching-input): Don't print message
14413 "History item: %d" when `isearch-mode' is active.
14414 (comint-history-isearch-message): Print message "History item: %d"
14415 when `comint-input-ring-index' is not empty and this function is
14416 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
14417
9b92c13b
LL
144182013-05-01 Leo Liu <sdl.web@gmail.com>
14419
14420 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
14421 definitions. Use completion-at-point to insert keywords.
14422 (octave-abbrev-start): Remove.
14423 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
14424
b12d33d7
LL
144252013-04-30 Leo Liu <sdl.web@gmail.com>
14426
14427 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
14428 change.
14429
3d1c39fa
AM
144302013-04-30 Alan Mackenzie <acm@muc.de>
14431
14432 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
14433 * progmodes/cc-engine.el (c-back-over-member-initializers):
14434 new function.
3d1c39fa
AM
14435 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
14436 (most) member init lists.
14437
5147fc17
RS
144382013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14439
14440 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
14441 variable.
14442
5b78d7fc
LL
144432013-04-30 Leo Liu <sdl.web@gmail.com>
14444
14445 * progmodes/octave.el (octave-variables): Remove. No builtin
14446 variables any more. All converted to functions.
14447 (octave-font-lock-keywords, octave-completion-at-point-function):
14448 Fix uses.
14449 (octave-font-lock-texinfo-comment): New user variable.
14450 (octave-texinfo-font-lock-keywords): New variable for texinfo
14451 comment block.
14452 (octave-function-comment-block): New face.
14453 (octave-font-lock-texinfo-comment): New function.
14454 (octave-mode): Font lock texinfo comment block.
14455
38d8527b
LL
144562013-04-29 Leo Liu <sdl.web@gmail.com>
14457
14458 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
14459 indexing expression.
14460 (octave-continuation-string): Do not use \.
14461 (inferior-octave-complete-impossible): Remove.
14462 (inferior-octave-completion-table)
14463 (inferior-octave-completion-at-point): Remove its uses.
14464 (inferior-octave-startup): completion_matches was introduced to
14465 Octave in 1996 so safe to assume it.
14466 (octave-function-file-comment): Improve to follow how Octave does it.
14467 (octave-update-function-file-comment): Tweak.
14468
2ec12cb0
LL
144692013-04-29 Leo Liu <sdl.web@gmail.com>
14470
14471 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
14472 (inferior-octave-startup): Remove inferior-octave-startup-hook.
14473 (octave-function-file-comment): Fix typo.
14474 (octave-sync-function-file-names): Use read-char-choice.
14475
6eaed048
JB
144762013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
14477
14478 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
14479 to t for the less important warnings.
14480
3ffa2d4f
DH
144812013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
14482
14483 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
14484
685c9501
GM
144852013-04-27 Glenn Morris <rgm@gnu.org>
14486
14487 * vc/log-view.el (log-view-current-entry):
14488 Treat "---" separator lines as part of the following rev. (Bug#14169)
14489
0208ede7
JL
144902013-04-27 Juri Linkov <juri@jurta.org>
14491
14492 * subr.el (read-number): Doc fix about using it by interactive
14493 code letter `n'. (Bug#14254)
14494
5db9dace
JL
144952013-04-27 Juri Linkov <juri@jurta.org>
14496
14497 * desktop.el (desktop-auto-save-timeout): New option.
14498 (desktop-file-checksum): New variable.
14499 (desktop-save): Add optional arg `auto-save' and don't auto-save
14500 if nothing changed.
14501 (desktop-auto-save-timer): New variable.
14502 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
14503 (after-init-hook): Call `desktop-auto-save-set-timer'.
14504 Suggested by Reuben Thomas <rrt@sc3d.org> in
14505 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
14506
b7260dd4
LL
145072013-04-27 Leo Liu <sdl.web@gmail.com>
14508
14509 * progmodes/octave.el (octave-function-file-p)
14510 (octave-skip-comment-forward, octave-function-file-comment)
14511 (octave-update-function-file-comment): New functions.
14512 (octave-mode-map): Bind C-c ; to
14513 octave-update-function-file-comment.
14514 (octave-mode-menu): Add octave-update-function-file-comment.
14515 (octave-mode, inferior-octave-mode): Fix doc-string.
14516 (octave-insert-defun): Conform to Octave's coding convention.
14517 (Bug#14285)
14518
14519 * files.el (basic-save-buffer): Don't let errors in
14520 before-save-hook prevent saving buffer.
14521
c46da669
RW
145222013-04-20 Roland Winkler <winkler@gnu.org>
14523
14524 * faces.el (read-face-name): Use completing-read if arg multiple
14525 is nil.
14526
a81ee1eb
IL
145272013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
14528
14529 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
14530 displayed, move point to after the totals line.
14531 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
14532 for the details.
14533
4fac34ce
SM
145342013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
14535
14536 * emacs-lisp/package.el (package-autoload-ensure-default-file):
14537 Add current dir to the load-path.
14538 (package-generate-autoloads): Don't rely on
14539 autoload-ensure-default-file.
14540
f6bfc063
RT
145412013-04-26 Reuben Thomas <rrt@sc3d.org>
14542
d40ab5cf
BG
14543 * textmodes/remember.el (remember-store-in-files): Document that
14544 the file name format is passed to `format-time-string'.
f6bfc063 14545
e55d3b04
LL
145462013-04-26 Leo Liu <sdl.web@gmail.com>
14547
14548 * progmodes/octave.el (octave-sync-function-file-names): New function.
14549 (octave-mode): Use it in before-save-hook.
14550
e53052d3
SM
145512013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
14552
140ef50c
SM
14553 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
14554 (bug#14274).
14555
e53052d3
SM
14556 * progmodes/octave.el (octave-smie-forward-token): Properly skip
14557 \n and comment, even if it's not an implicit ; (bug#14218).
14558
af80458d 145592013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
14560
14561 * subr.el (read-number): Once more use `read' rather than
14562 `string-to-number', to trap non-numeric input. (Bug#14254)
14563
af80458d 145642013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
14565
14566 * emacs-lisp/syntax.el (syntax-propertize-multiline):
14567 Use `syntax-multiline' text property consistently instead of
8a621d53 14568 `font-lock-multiline'. (Bug#14237)
70203c2e 14569
e6ea1f6c
GM
145702013-04-26 Glenn Morris <rgm@gnu.org>
14571
14572 * emacs-lisp/shadow.el (list-load-path-shadows):
14573 No longer necessary to check for duplicate simple.el, since
14574 2012-07-07 change to init_lread to not include installation lisp
14575 directories in load-path when running uninstalled. (Bug#14270)
14576
070ccca4
LL
145772013-04-26 Leo Liu <sdl.web@gmail.com>
14578
14579 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
14580 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 14581 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
14582 octave-in-string-or-comment-p.
14583 (octave-in-comment-p, octave-in-string-p)
14584 (octave-in-string-or-comment-p): Replace defsubst with defun.
14585
9d1c5fb6
PE
145862013-04-25 Paul Eggert <eggert@cs.ucla.edu>
14587
14588 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
14589
c034abda
BG
145902013-04-25 Bastien Guerry <bzg@gnu.org>
14591
14592 * textmodes/remember.el (remember-data-directory)
14593 (remember-directory-file-name-format): Fix custom types.
14594
584ea277
LL
145952013-04-25 Leo Liu <sdl.web@gmail.com>
14596
e53052d3
SM
14597 * progmodes/octave.el (octave-completion-at-point-function):
14598 Make use of inferior octave process.
584ea277
LL
14599 (octave-initialize-completions): Remove.
14600 (inferior-octave-completion-table): New function.
14601 (inferior-octave-completion-at-point): Use it.
14602 (octave-completion-alist): Remove.
14603
1693b06a
SM
146042013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14605
14606 * progmodes/opascal.el: Use font-lock and syntax-propertize.
14607 (opascal-mode-syntax-table): New var.
14608 (opascal-literal-kind, opascal-is-literal-end)
14609 (opascal-literal-token-at): Rewrite.
14610 (opascal--literal-start-re, opascal-font-lock-keywords)
14611 (opascal--syntax-propertize): New constants.
14612 (opascal-font-lock-defaults): Adjust.
14613 (opascal-mode): Use them. Set comment-<foo> variables as well.
14614 (delphi-comment-face, opascal-comment-face, delphi-string-face)
14615 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
14616 (delphi-other-face, opascal-other-face): Remove face variables.
14617 (opascal-save-state): Remove macro.
14618 (opascal-fontifying-progress-step): Remove constant.
14619 (opascal--ignore-changes): Remove var.
14620 (opascal-set-token-property, opascal-parse-next-literal)
14621 (opascal-is-stable-literal, opascal-complete-literal)
14622 (opascal-is-literal-start, opascal-face-of)
14623 (opascal-parse-region, opascal-parse-region-until-stable)
14624 (opascal-fontify-region, opascal-after-change)
14625 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
14626 (opascal-debug-parse-region, opascal-debug-parse-window)
14627 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
14628 (opascal-debug-fontify-buffer): Remove.
14629 (opascal-debug-mode-map): Adjust accordingly.
14630
be64c05d
LL
146312013-04-25 Leo Liu <sdl.web@gmail.com>
14632
14633 Merge octave-mod.el and octave-inf.el into octave.el with some
14634 cleanups.
14635 * progmodes/octave.el: New file renamed from octave-mod.el.
14636 * progmodes/octave-inf.el: Merged into octave.el.
14637 * progmodes/octave-mod.el: Renamed to octave.el.
14638
d79d37bd
TH
146392013-04-25 Tassilo Horn <tsdh@gnu.org>
14640
14641 * textmodes/reftex-vars.el
14642 (reftex-label-ignored-macros-and-environments): New defcustom.
14643
14644 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
14645
ced3fc5d
SM
146462013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14647
14648 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
14649 (smie-indent-keyword): Improve the check to ensure that the next
14650 comment is really on the same line.
14651 (smie-indent-comment): Don't align with a subsequent closer (or eob).
14652
14653 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
14654 semi-colons if the line is not otherwise empty (bug#14218).
14655
1c141dad
GM
146562013-04-25 Glenn Morris <rgm@gnu.org>
14657
14658 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
14659
5058062a
SM
146602013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
14661
14662 * progmodes/opascal.el (opascal-set-token-property): Rename from
14663 opascal-set-text-properties and only set `token' (bug#14134).
14664 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
14665 (opascal-literal-text-properties): Remove.
14666 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
14667 Adjust callers.
14668
5db9dace 146692013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
14670
14671 * textmodes/remember.el (remember-handler-functions): Add an
14672 option for a new handler `remember-store-in-files'.
14673 (remember-data-directory, remember-directory-file-name-format):
14674 New options.
14675 (remember-store-in-files): New function to store remember notes
14676 as separate files within a directory.
14677
4391916c
MH
146782013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
14679
14680 * progmodes/compile.el (compilation-next-error-function):
14681 Pass "formats" to compilation-find-file (bug#11777).
14682
bb7cdf58
GM
146832013-04-24 Glenn Morris <rgm@gnu.org>
14684
3b8fe752 14685 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
14686 * vc/vc-hg.el (vc-hg-print-log):
14687 * vc/vc-svn.el (vc-svn-print-log):
14688 Fix START-REVISION with LIMIT != 1. (Bug#14168)
14689
bb7cdf58
GM
14690 * vc/vc-bzr.el (vc-bzr-print-log):
14691 * vc/vc-cvs.el (vc-cvs-print-log):
14692 * vc/vc-git.el (vc-git-print-log):
14693 * vc/vc-hg.el (vc-hg-print-log):
14694 * vc/vc-mtn.el (vc-mtn-print-log):
14695 * vc/vc-rcs.el (vc-rcs-print-log):
14696 * vc/vc-sccs.el (vc-sccs-print-log):
14697 * vc/vc-svn.el (vc-svn-print-log):
14698 * vc/vc.el (vc-print-log-internal): Doc fixes.
14699
b46a056e
GM
147002013-04-23 Glenn Morris <rgm@gnu.org>
14701
14702 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
14703 Remove venerable code attempting to avoid substitute-command-keys.
14704
0aecf718
TH
147052013-04-23 Tassilo Horn <tsdh@gnu.org>
14706
4391916c
MH
14707 * textmodes/reftex-vars.el (reftex-label-regexps):
14708 Call `reftex-compile-variables' after changes to this variable.
0aecf718 14709
117f94cf
SM
147102013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
14711
4391916c 14712 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
14713 Use lexical-binding.
14714 (jit-lock-force-redisplay): Use markers, check buffer's continued
14715 existence and beware narrowed buffers.
14716 (jit-lock-fontify-now): Adjust call accordingly.
14717
1d829c64
SM
147182013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
14719
14720 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
14721 to avoid misleading the user.
14722
72d548a9
LL
147232013-04-22 Leo Liu <sdl.web@gmail.com>
14724
14725 * info-look.el: Prefer latex2e.info. (Bug#14240)
14726
d0853629
MA
147272013-04-22 Michael Albinus <michael.albinus@gmx.de>
14728
14729 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
14730
14731 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 14732 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
14733 (tramp-set-completion-function, tramp-parse-putty):
14734 * net/tramp-adb.el (tramp-adb-execute-adb-command):
14735 * net/tramp-gvfs.el (tramp-gvfs-send-command):
14736 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
14737 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
14738 (tramp-call-local-coding-command): Use `tramp-call-process'
14739 instead of `tramp-compat-call-process'.
14740
14741 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
14742 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
35e951cd 14743 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
7764286e 14744 (tramp-find-inline-compress): Improve traces.
d0853629
MA
14745 (tramp-maybe-send-script): Check for Perl binary.
14746 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
14747
38cc0210
DU
147482013-04-22 Daiki Ueno <ueno@gnu.org>
14749
14750 * epg.el (epg-context-pinentry-mode): New function.
14751 (epg-context-set-pinentry-mode): New function.
14752 (epg--start): Pass --pinentry-mode option to gpg command.
14753
cc641ee1
XF
147542013-04-21 Xue Fuqiao <xfq.free@gmail.com>
14755
02d844b5 14756 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 14757 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 14758 `completion-at-point'. (Bug#13774)
5d4e5c31 14759
cc641ee1
XF
14760 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
14761 default key binding for `describe-distribution' has been moved to
14762 `C-h C-o'. (Bug#13970)
14763
1b42ee43
GM
147642013-04-21 Glenn Morris <rgm@gnu.org>
14765
14766 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
14767 Add doc strings.
14768 (vc-print-log): Clarify interactive prompt.
14769
a6d63d97
GM
147702013-04-20 Glenn Morris <rgm@gnu.org>
14771
14772 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
14773 No longer include timestamp etc information.
14774
d7f5c16f
RW
147752013-04-20 Roland Winkler <winkler@gnu.org>
14776
14777 * faces.el (read-face-name): Bug fix, return just one face if arg
14778 multiple is nil. (Bug#14209)
14779
bcd7a0a4
SM
147802013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14781
14782 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
14783 (remove-function): Autoload.
14784
14785 * comint.el (comint-redirect-original-filter-function): Remove.
14786 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
14787 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
14788 (vc-cvs-annotate-command):
bcd7a0a4
SM
14789 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
14790 * progmodes/prolog.el (prolog-consult-compile):
14791 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
14792 Use add/remove-function instead.
14793 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
14794 (gud-tooltip-process-output, gud-tooltip-tips):
14795 Use add/remove-function instead.
14796 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
14797 (scheme-interaction-mode, exit-scheme-interaction-mode):
14798 Use add/remove-function instead.
14799
14800 * vc/vc-dispatcher.el: Use lexical-binding.
14801 (vc--process-sentinel): Rename from vc-process-sentinel.
14802 Change last arg to be the code to run. Don't use vc-previous-sentinel
14803 and vc-sentinel-commands any more.
14804 (vc-exec-after): Allow code to be a function. Use add/remove-function.
14805 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
14806
e36b2d20 148072013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 14808
bcd7a0a4 14809 * progmodes/sh-script.el (sh-imenu-generic-expression):
27821a89 14810 Handle function names with a single character. (Bug#14111)
4d3268ba 14811
27821a89 148122013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
14813
14814 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
14815 for subroutines defined in an eval (bug#14182).
14816
7d688336
TV
148172013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14818
14819 * bookmark.el (bookmark-completing-read): Improve handling of empty
14820 string (bug#14176).
14821
31dcede0
SM
148222013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
14823
14824 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
14825
adc31213
FEG
148262013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
14827
14828 New faster Imenu implementation (bug#14058).
9b017563 14829 * progmodes/python.el (python-imenu-prev-index-position)
adc31213
FEG
14830 (python-imenu-format-item-label-function)
14831 (python-imenu-format-parent-item-label-function)
14832 (python-imenu-format-parent-item-jump-label-function):
14833 New vars.
14834 (python-imenu-format-item-label)
14835 (python-imenu-format-parent-item-label)
14836 (python-imenu-format-parent-item-jump-label)
14837 (python-imenu--put-parent, python-imenu--build-tree)
14838 (python-imenu-create-index, python-imenu-create-flat-index)
14839 (python-util-popn): New functions.
14840 (python-mode): Set imenu-create-index-function to
14841 python-imenu-create-index.
14842
cdca8255
SM
148432013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
14844
14845 * winner.el (winner-active-region): Use region-active-p, activate-mark
14846 and deactivate-mark (bug#14225).
14847
14848 * simple.el (deactivate-mark): Don't inline it.
14849
beb42340
MA
148502013-04-18 Michael Albinus <michael.albinus@gmx.de>
14851
14852 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
14853
fc7f4d7e
TH
148542013-04-18 Tassilo Horn <tsdh@gnu.org>
14855
14856 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
14857 file extensions from the archive-mode entry in order to prefer
14858 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
14859
29f47822
LL
148602013-04-18 Leo Liu <sdl.web@gmail.com>
14861
14862 * bindings.el (help-event-list): Add ?\?.
14863
d36ed1c8
SM
148642013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
14865
14866 * subr.el (with-wrapper-hook): Declare obsolete.
14867 * simple.el (filter-buffer-substring-function): New hook.
14868 (filter-buffer-substring): Use it.
14869 (filter-buffer-substring-functions): Mark obsolete.
14870 * minibuffer.el (completion-in-region-function): New hook.
14871 (completion-in-region): Use it.
14872 (completion-in-region-functions): Mark obsolete.
14873 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
14874 * abbrev.el (abbrev-expand-function): New hook.
14875 (expand-abbrev): Use it.
14876 (abbrev-expand-functions): Mark obsolete.
14877 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
14878 and :filter-return.
14879
04754d36
FEG
148802013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
14881
14882 * progmodes/python.el (python-nav--syntactically): Fix cornercases
14883 and do not care about match data.
14884
dd8791e9
SM
148852013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
14886
14887 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
14888 completion tables when completing error conditions and
14889 `declare' arguments.
14890 (lisp-complete-symbol, field-complete): Mark as obsolete.
14891 (check-parens): Unmatched parens are user errors.
14892 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
14893
ffe54a13
AM
148942013-04-17 Michal Nazarewicz <mina86@mina86.com>
14895
dd8791e9
SM
14896 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
14897 command changed buffer (ie. `flyspell-pre-buffer' is not current
14898 buffer), which prevents making decisions based on invalid value of
14899 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
14900 cause an error when `flyspell-pre-point' was nil after switching
14901 buffers.
14902 (flyspell-post-command-hook): No longer needs to change buffers when
14903 checking pre-word. While at it remove unnecessary progn.
ffe54a13 14904
ec7e39f2
AM
149052013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
14906
14907 * textmodes/ispell.el (ispell-add-per-file-word-list):
14908 Fix `flyspell-correct-word-before-point' error when accepting
14909 words and `coment-padding' is an integer by using
14910 `comment-normalize-vars' (Bug #14214).
14911
083850a6
FEG
149122013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
14913
14914 New defun movement commands.
14915 * progmodes/python.el (python-nav--syntactically)
14916 (python-nav--forward-defun, python-nav-backward-defun)
14917 (python-nav-forward-defun): New functions.
14918
619ed6e1
FEG
149192013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
14920
14921 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
14922 (python-syntax-context): Use named compiler-macro for backwards
14923 compatibility with Emacs 24.x.
14924
7a1beb6c
LL
149252013-04-17 Leo Liu <sdl.web@gmail.com>
14926
14927 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
14928 octave-hide-process-buffer.
14929
2d3fa3e5
SM
149302013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
14931
14932 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
14933 (bug#14216).
14934
7ce5be54
JPG
149352013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
14936
14937 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
14938 Fix adjustment of offset when receiving incomplete responses from GDB
14939 (bug#14129).
14940
351edece
SM
149412013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
14942
14943 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
14944 python-mode-abbrev-table.
14945 (python-skeleton-define): Adjust accordingly.
14946 (python-mode-abbrev-table): New table that inherits from it so that
14947 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
14948
14949 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
14950 (abbrev-symbol): Use it.
14951 (abbrev--before-point): Use it since we already handle inheritance.
14952
613f9481
LL
149532013-04-16 Leo Liu <sdl.web@gmail.com>
14954
14955 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
14956 binding to info-lookup-symbol.
14957
51646b62
JB
149582013-04-16 Juanma Barranquero <lekktu@gmail.com>
14959
14960 * minibuffer.el (completion--twq-all):
14961 * term/ns-win.el (ns-initialize-window-system):
14962 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
14963
efb3f01d
SM
149642013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
14965
36c0a301
SM
14966 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
14967 global bindings.
14968
efb3f01d
SM
14969 * doc-view.el (doc-view-start-process): Handle url-handler directories.
14970
fb549d64
DG
149712013-04-15 Dmitry Gutov <dgutov@yandex.ru>
14972
14973 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
14974 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
14975 to nil.
14976 (ruby-end-of-defun): Remove the unused arg, change the docstring
14977 to reflect that this function is only used as the value of
14978 `end-of-defun-function'.
14979 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
14980 to reflect an earlier change that beginning/end-of-defun functions
14981 jump between methods in a class definition, as well as top-level
14982 functions.
14983
21e8fe2f
SM
149842013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14985
14986 * minibuffer.el (minibuffer-complete): Don't just scroll
14987 a *Completions* that's been iconified.
14988 (minibuffer-force-complete): Make sure repetitions do cycle when going
14989 through completion-in-region -> minibuffer-complete.
14990
20e527d0
AM
149912013-04-15 Alan Mackenzie <acm@muc.de>
14992
14993 Correct the placement of c-cpp-delimiters when there're #s not at
14994 col 0.
14995
14996 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
14997 place a submatch around the #.
21e8fe2f
SM
14998 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
14999 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
15000 on the #, not BOL.
15001
dabefae5
SM
150022013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15003
15004 * emacs-lisp/nadvice.el: Properly test names when adding advice.
15005 (advice--member-p): New arg `name'.
15006 (advice--add-function, advice-member-p): Use it (bug#14202).
15007
85c9ab64
AM
150082013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
15009
15010 Reformulate java imenu-generic-expression.
15011 The old expression contained ill formed regexps.
15012
15013 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
15014 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
15015 (cc-imenu-java-method-arg-regexp): New defconsts.
15016 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 15017 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
15018 handling of spaces in the regexp.
15019
0f821d99
AM
150202013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15021
15022 * textmodes/ispell.el (ispell-command-loop): Remove
15023 flyspell highlight of a word when ispell accepts it (bug #14178).
15024
eb922adf
MA
150252013-04-15 Michael Albinus <michael.albinus@gmx.de>
15026
15027 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
15028 uses code from the previous `ange-ftp-run-real-handler'.
15029 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
15030 only in case that function exist. This is needed for proper
15031 unloading of Tramp.
15032
4d9a0979
TH
150332013-04-15 Tassilo Horn <tsdh@gnu.org>
15034
15035 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
15036
15037 * textmodes/reftex.el (reftex-compile-variables): Use it.
15038
a829b0dc
SM
150392013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15040
91e8293c
SM
15041 * files.el (normal-mode): Only use default major-mode if no other mode
15042 was specified.
15043
830aed4d
SM
15044 * emacs-lisp/trace.el (trace-values): New function.
15045
a829b0dc
SM
15046 * files.el: Allow : in local variables (bug#14089).
15047 (hack-local-variable-regexp): New var.
15048 (hack-local-variables-prop-line, hack-local-variables): Use it.
15049
7ae9f0fb
RW
150502013-04-13 Roland Winkler <winkler@gnu.org>
15051
15052 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
15053 data before it gets modified by bibtex-beginning-of-entry.
15054
6646e848
RW
150552013-04-13 Roland Winkler <winkler@gnu.org>
15056
15057 * textmodes/bibtex.el (bibtex-url): Doc fix.
15058
150592013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
15060
15061 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
15062 does not visit a BibTeX file, exclude it from the list of buffers
15063 returned by bibtex-initialize.
15064
0aa3616e
SB
150652013-04-13 Stephen Berman <stephen.berman@gmx.net>
15066
15067 * window.el (split-window): Remove interactive form, since as a
15068 command this function is a special case of split-window-below.
15069 Correct doc string.
15070
011cddd6
RW
150712013-04-12 Roland Winkler <winkler@gnu.org>
15072
15073 * faces.el (read-face-name): Do not override value of arg default.
15074 Allow single faces and strings as default values. Remove those
15075 elements from return value that are not faces.
15076 (describe-face): Simplify.
15077 (face-at-point): New optional args thing and multiple so that this
15078 function can provide the same functionality previously provided by
15079 read-face-name.
15080 (make-face-bold, make-face-unbold, make-face-italic)
15081 (make-face-unitalic, make-face-bold-italic, invert-face)
15082 (modify-face, read-face-and-attribute): Use face-at-point.
15083
15084 * cus-edit.el (customize-face, customize-face-other-window)
15085 * cus-theme.el (custom-theme-add-face)
15086 * face-remap.el (buffer-face-set)
15087 * facemenu.el (facemenu-set-face): Use face-at-point.
15088
f24e0036
MA
150892013-04-12 Michael Albinus <michael.albinus@gmx.de>
15090
15091 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
15092
da3cda2d
TH
150932013-04-10 Tassilo Horn <tsdh@gnu.org>
15094
15095 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
15096 off leading { and trailing } from field values.
15097
15e54145
SM
150982013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
15099
78ce603d
SM
15100 * emacs-lisp/timer.el (timer--check): New function.
15101 (timer--time, timer-set-function, timer-event-handler): Use it.
15102 (timer-set-idle-time): Simplify.
15103 (timer--activate): CSE.
15104 (timer-event-handler): Give more info in error message.
15105 (internal-timer-start-idle): New function, moved from C.
15106
15e54145
SM
15107 * mpc.el (mpc-proc): Add `restart' argument.
15108 (mpc-proc-cmd): Use it.
15109 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
15110 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
15111 less often.
15112
7144c627
MY
151132013-04-10 Masatake YAMATO <yamato@redhat.com>
15114
15115 * progmodes/sh-script.el: Implement `sh-mode' own
15116 `add-log-current-defun-function' (bug#14112).
15117 (sh-current-defun-name): New function.
15118 (sh-mode): Use the function.
15119
b39792eb
BG
151202013-04-09 Bastien Guerry <bzg@gnu.org>
15121
15122 * simple.el (choose-completion-string): Fix docstring (bug#14163).
15123
8acdeb71
SM
151242013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
15125
6fcdab68
SM
15126 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
15127
8acdeb71
SM
15128 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
15129 timer (bug#14156).
15130
e3e7b504
NF
151312013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
15132
15133 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
15134 declaration.
15135
201bb296
LL
151362013-04-07 Leo Liu <sdl.web@gmail.com>
15137
15138 * pcmpl-x.el: New file.
15139
ebb19708
DA
151402013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
15141
15142 Do not set x-display-name until X connection is established.
15143 This is needed to prevent from weird situation described at
15144 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
15145 * frame.el (make-frame): Set x-display-name after call to
15146 window system initialization function, not before.
15147 * term/x-win.el (x-initialize-window-system): Add optional
15148 display argument and use it.
15149 * term/w32-win.el (w32-initialize-window-system):
15150 * term/ns-win.el (ns-initialize-window-system):
15151 * term/pc-win.el (msdos-initialize-window-system):
15152 Add compatible optional display argument.
15153
33bb237a
EZ
151542013-04-06 Eli Zaretskii <eliz@gnu.org>
15155
15156 * files.el (normal-backup-enable-predicate): On MS-Windows and
15157 MS-DOS compare truenames of temporary-file-directory and of the
15158 file, so that 8+3 aliases (usually found in $TEMP on Windows)
15159 don't fail comparison by compare-strings. Also, compare file
15160 names case-insensitively on MS-Windows and MS-DOS.
15161
134abf1f
SM
151622013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15163
15164 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
15165 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
15166
d695cb94
DG
151672013-04-05 Dmitry Gutov <dgutov@yandex.ru>
15168
e3e7b504
NF
15169 * whitespace.el (whitespace-color-on, whitespace-color-off):
15170 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 15171
f4ad7ea1 151722013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
15173
15174 * ispell.el (ispell-set-spellchecker-params):
15175 Really set `ispell-args' for all equivs.
15176
632556e4
SM
151772013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15178
15179 * ido.el (ido-completions): Use extra elements of ido-decorations
15180 (bug#14143).
15181 (ido-decorations): Update docstring.
15182
2a417372
MA
151832013-04-05 Michael Albinus <michael.albinus@gmx.de>
15184
15185 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
15186 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
15187 nil during initialization, in order not to miss changes since the
15188 file was opened. (Bug#14140)
15189
fc164b0c
LL
151902013-04-05 Leo Liu <sdl.web@gmail.com>
15191
15192 * kmacro.el (kmacro-call-macro): Fix bug#14135.
15193
0ccecc08
JB
151942013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
15195
15196 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
15197
51af1aa2
GM
151982013-04-04 Glenn Morris <rgm@gnu.org>
15199
15200 * electric.el (electric-pair-inhibit-predicate): Add :version.
15201
b208ebc6
SM
152022013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15203
15204 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
15205 when a package is required several times (bug#14082).
15206
f3d3eaf0
RW
152072013-04-04 Roland Winkler <winkler@gnu.org>
15208
15209 * faces.el (read-face-name): Behave as promised by the docstring.
15210 Assume that arg default is a list of faces.
15211 (describe-face): Call read-face-name with list of default faces.
15212
2575da50
TV
152132013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15214
15215 * bookmark.el: Fix deletion of bookmarks (bug#13972).
15216 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
15217 (bookmark-bmenu-execute-deletions): Only skip first line if it's
15218 the header.
15219 (bookmark-exit-hook-internal): Save even if list is empty.
15220
397703b4
YH
152212013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
15222
15223 * emacs-lisp/package.el (package-pinned-packages): New var.
15224 (package--add-to-archive-contents): Obey it (bug#14118).
15225
691e26ae
AM
152262013-04-03 Alan Mackenzie <acm@muc.de>
15227
8a621d53
JB
15228 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
15229 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
15230
15231 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
15232 parameter `not-in-delimiter'. Handle being inside comment opener.
15233 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
15234 character in case we're typing a '*' after a '/'.
15235 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
15236 instead by passing the parameter to c-state-pp-to-literal.
15237
15238 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
15239 for elt. 7 of a parse state.
15240
4b725a70
PE
152412013-04-01 Paul Eggert <eggert@cs.ucla.edu>
15242
15243 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
15244 * international/latin1-disp.el, international/mule-util.el:
15245 * language/cyril-util.el, language/european.el, language/ind-util.el:
15246 * language/lao-util.el, language/thai.el, language/tibet-util.el:
15247 * language/tibetan.el, language/viet-util.el:
15248 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
15249
15c579f0
SM
152502013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
15251
15252 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
15253 (electric-pair-post-self-insert-function): Use it.
15254 (electric-pair-default-inhibit): New function, extracted from
15255 electric-pair-post-self-insert-function.
15256
a77e2924
RW
152572013-03-31 Roland Winkler <winkler@gnu.org>
15258
15259 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
15260
2bd8a4a8
SM
152612013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
15262
15263 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
15264
8d3655be 152652013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
15266
15267 Un-indent after "pass" and "return" statements (Bug#13888)
15268 * progmodes/python.el (python-indent-block-enders): New var.
15269 (python-indent-calculate-indentation): Use it.
15270
8d3655be 152712013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
15272
15273 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
15274 defun. Defining it as defalias could introduce too eager
15275 byte-compiler optimization. (Bug#14030)
15276
8d3655be 152772013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
15278
15279 * iswitchb.el (iswitchb-read-buffer): Fix typo.
15280
0b1619da
LL
152812013-03-30 Leo Liu <sdl.web@gmail.com>
15282
15283 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
15284 (kmacro-execute-from-register): Pass the keyboard macro to
15285 kmacro-call-macro or repeating won't work correctly.
15286
0b938190
TZ
152872013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
15288
15289 * progmodes/subword.el: Back to using `forward-symbol'.
15290
15291 * subr.el (forward-whitespace, forward-symbol)
15292 (forward-same-syntax): Move from thingatpt.el.
15293
35710234
LL
152942013-03-29 Leo Liu <sdl.web@gmail.com>
15295
15296 * kmacro.el (kmacro-to-register): New command.
15297 (kmacro-execute-from-register): New function.
15298 (kmacro-keymap): Bind to 'x'. (Bug#14071)
15299
efc0bb73
SM
153002013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
15301
15302 * mpc.el: Use defvar-local and setq-local.
15303 (mpc--proc-connect): Connection failures are not bugs.
15304 (mpc-mode-map): `follow-link' only applies to the buffer's content.
15305 (mpc-volume-map): Bind to the up-events.
15306
75a2f981
TZ
153072013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
15308
15309 * progmodes/subword.el (superword-mode): Use `forward-sexp'
15310 instead of `forward-symbol'.
15311
17c781d1
SM
153122013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
15313
15314 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
15315 (edebug--recursive-edit): Use it.
15316 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
15317 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
15318
f67bfbcf
LL
153192013-03-28 Leo Liu <sdl.web@gmail.com>
15320
15321 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
15322
b59f639d
EZ
153232013-03-27 Eli Zaretskii <eliz@gnu.org>
15324
15325 * facemenu.el (list-colors-callback): New defvar.
15326 (list-colors-redisplay): New function.
15327 (list-colors-display): Install list-colors-redisplay as the
15328 revert-buffer-function. (Bug#14063)
15329
f557c1b1
SM
153302013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
15331
b1da2957
SM
15332 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
15333 and suffixes don't overlap (bug#14061).
15334
f557c1b1
SM
15335 * case-table.el: Use lexical-binding.
15336 (case-table-get-table): New function.
15337 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
15338
002668e1
TZ
153392013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
15340
15341 * progmodes/subword.el: Add `superword-mode' to do word motion
15342 over symbol_words (parallels and leverages `subword-mode' which
15343 does word motion inside MixedCaseWords).
15344
73572c72
AG
153452013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
15346
78b8f320 15347 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 15348 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 15349
69b2c07e
SM
153502013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15351
15352 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
15353 Change return value to be a sexp. Delay `get-buffer' to after
15354 restoring the desktop (bug#13951).
15355
08bb5ee2
LL
153562013-03-26 Leo Liu <sdl.web@gmail.com>
15357
15358 * register.el: Move semantic tag handling back to
15359 cedet/semantic/senator.el. (Bug#14052)
15360
8d4c974e
SM
153612013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15362
15363 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
15364 into the prompt either (bug#13963).
15365
b234d92c
SM
153662013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
15367
15368 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
15369 part of "(error-foo)".
15370
ddfa3cb4
JL
153712013-03-24 Juri Linkov <juri@jurta.org>
15372
15373 * replace.el (list-matching-lines-prefix-face): New defcustom.
15374 (occur-1): Pass `list-matching-lines-prefix-face' to the function
15375 `occur-engine' if `face-differs-from-default-p' returns t.
15376 (occur-engine): Add `,' inside backquote construct to evaluate
15377 `prefix-face'. Propertize the prefix with the `prefix-face' face.
15378 Pass `prefix-face' to the functions `occur-context-lines' and
15379 `occur-engine-add-prefix'.
15380 (occur-engine-add-prefix, occur-context-lines): Add optional arg
15381 `prefix-face' and propertize the prefix with `prefix-face'.
15382 (Bug#14017)
15383
7b0e2f85
LL
153842013-03-24 Leo Liu <sdl.web@gmail.com>
15385
15386 * nxml/rng-valid.el (rng-validate-while-idle)
15387 (rng-validate-quick-while-idle): Guard against deleted buffer.
15388 (Bug#13999)
15389
15390 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
15391 is the last entry in kill-buffer-hook.
15392
15393 * files.el (kill-buffer-hook): Doc fix.
15394
b3082f49
DG
153952013-03-23 Dmitry Gutov <dgutov@yandex.ru>
15396
b234d92c
SM
15397 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
15398 Make it safe-local.
bde73d27 15399
b3082f49
DG
15400 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
15401
a320a2db
LL
154022013-03-23 Leo Liu <sdl.web@gmail.com>
15403
7e74b0fb
LL
15404 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
15405 Remove.
15406
15407 * nxml/rng-valid.el (rng-validate-mode)
15408 (rng-after-change-function, rng-do-some-validation):
15409 * nxml/rng-maint.el (rng-validate-buffer):
15410 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
15411 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
15412 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
15413 (nxml-extend-after-change-region): Use with-silent-modifications.
15414
a320a2db
LL
15415 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
15416 timer-idle-list.
15417
15418 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
15419 (rng-next-error-1, rng-previous-error-1): Do not let-bind
15420 timer-idle-list. (Bug#13999)
15421
e38e6780
JL
154222013-03-23 Juri Linkov <juri@jurta.org>
15423
15424 * info.el (info-index-match): New face.
15425 (Info-index, Info-apropos-matches): Add a nested subgroup to the
15426 main pattern and add text properties with the new face to matches
15427 in index entries relative to the beginning of the index entry.
15428 (Bug#14015)
15429
e8cc7880
DE
154302013-03-21 Eric Ludlam <zappo@gnu.org>
15431
39c87140 15432 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
e8cc7880
DE
15433 Inhibit read only while inserting objects.
15434
9bb0d822
TZ
154352013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
15436
15437 * progmodes/cfengine.el: Update docs to mention
15438 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
15439 symbol motion. Remove "_" from the word syntax.
15440
aa703640
TZ
154412013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
15442
15443 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
15444 syntax for both `cfengine2-mode' and `cfengine3-mode'.
15445
afff09d0
JL
154462013-03-20 Juri Linkov <juri@jurta.org>
15447
15448 * info.el (Info-next-reference-or-link)
15449 (Info-prev-reference-or-link): New functions.
15450 (Info-next-reference, Info-prev-reference): Use them.
15451 (Info-try-follow-nearest-node): Handle footnote navigation.
15452 (Info-fontify-node): Fontify footnotes. (Bug#13989)
15453
9a1ff164
SM
154542013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
15455
15456 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
15457 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
15458
2667d15d
PE
154592013-03-20 Paul Eggert <eggert@cs.ucla.edu>
15460
15461 Suppress unnecessary non-ASCII chatter during build process.
15462 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
15463 (batch-skkdic-convert): Suppress most of the chatter.
15464 It's not needed so much now that machines are faster,
15465 and its non-ASCII component was confusing; see Dmitry Gutov in
15466 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
15467
438b0579
LL
154682013-03-20 Leo Liu <sdl.web@gmail.com>
15469
15470 * ido.el (ido-chop): Fix bug#10994.
15471
c128ab07
DG
154722013-03-19 Dmitry Gutov <dgutov@yandex.ru>
15473
15474 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
15475 Remove vars.
9a1ff164
SM
15476 (whitespace-color-on, whitespace-color-off):
15477 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 15478
0e6008c5
SM
154792013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
15480
15481 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
15482 remapping in mode-line.
15483 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
15484
627b52b0
DG
154852013-03-19 Dmitry Gutov <dgutov@yandex.ru>
15486
15487 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
15488 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
15489 (whitespace-font-lock-keywords): Change description.
15490 (whitespace-color-on): Don't save `font-lock-keywords' value, save
15491 the constructed keywords instead.
15492 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 15493
50c3a20b
LL
154942013-03-19 Leo Liu <sdl.web@gmail.com>
15495
15496 * progmodes/compile.el (compilation-display-error): New command.
15497 (compilation-mode-map, compilation-minor-mode-map): Bind it to
15498 C-o. (Bug#13992)
15499
2aa2157b
PE
155002013-03-18 Paul Eggert <eggert@cs.ucla.edu>
15501
15502 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
15503
e477dbfa
JD
155042013-03-18 Jan Djärv <jan.h.d@swipnet.se>
15505
15506 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
15507
64ab82d1
MA
155082013-03-18 Michael Albinus <michael.albinus@gmx.de>
15509
15510 * net/tramp-compat.el (tramp-compat-user-error): New defun.
15511
15512 * net/tramp-adb.el (tramp-adb-handle-shell-command):
15513 * net/tramp-gvfs.el (top):
15514 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
15515 (tramp-handle-shell-command): Use it.
15516 (tramp-dissect-file-name): Raise an error when hostname is a
15517 method name, and neither method nor user is specified.
15518
15519 * net/trampver.el: Update release number.
15520
33cef733
LL
155212013-03-18 Leo Liu <sdl.web@gmail.com>
15522
15523 Make sure eldoc can be turned off properly.
15524 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
15525 eldoc-mode.
15526 (eldoc-display-message-p): Revert last change.
15527 (eldoc-display-message-no-interference-p)
15528 (eldoc-print-current-symbol-info): Tweak.
15529
2167b7b2
TH
155302013-03-18 Tassilo Horn <tsdh@gnu.org>
15531
15532 * doc-view.el (doc-view-new-window-function): Check the new window
15533 overlay's display property instead the char property of the
15534 buffer's first char. Use `with-selected-window' instead of
15535 `save-window-excursion' with `select-window'.
15536 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 15537 display property instead the char property of the buffer's first char.
2167b7b2 15538
982efbcd
PE
155392013-03-18 Paul Eggert <eggert@cs.ucla.edu>
15540
15541 Automate the build of ja-dic.el (Bug#13984).
15542 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
15543 from the input, rather than assume that it's been done for us by the
15544 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
15545 the current date into a ja-dic.el comment, as that complicates
15546 regression testing.
15547
2fcc7665
SM
155482013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
15549
15550 * whitespace.el: Fix double evaluation.
15551 (whitespace-space, whitespace-hspace, whitespace-tab)
15552 (whitespace-newline, whitespace-trailing, whitespace-line)
15553 (whitespace-space-before-tab, whitespace-indentation)
15554 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
15555 obsolete defvars.
15556 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
15557 (whitespace-color-on): Use a single font-lock-add-keywords call.
15558 Fix double-evaluation of face variables.
15559
67c0a6e6
MA
155602013-03-17 Michael Albinus <michael.albinus@gmx.de>
15561
2fcc7665
SM
15562 * net/tramp-adb.el (tramp-adb-parse-device-names):
15563 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 15564 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 15565
69489f1d
LL
155662013-03-17 Leo Liu <sdl.web@gmail.com>
15567
15568 Extend eldoc to display info in the mode-line. (Bug#13978)
15569 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
15570 (eldoc-mode-line-string): New variable.
15571 (eldoc-minibuffer-message): New function.
15572 (eldoc-message-function): New variable.
15573 (eldoc-message): Use it.
15574 (eldoc-display-message-p)
2fcc7665
SM
15575 (eldoc-display-message-no-interference-p):
15576 Support eldoc-post-insert-mode.
69489f1d
LL
15577
15578 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
15579 (eval-expression): Run it.
15580
9c44569e
RW
155812013-03-17 Roland Winkler <winkler@gnu.org>
15582
15583 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
15584 strings in the list of return values.
15585
327f1f6f
JB
155862013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
15587
15588 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
15589 radix before checking for HMS forms.
15590
67ed8fcd
LL
155912013-03-16 Leo Liu <sdl.web@gmail.com>
15592
15593 * progmodes/scheme.el: Add indentation and font-locking for λ.
15594 (Bug#13975)
15595
78be8b64 155962013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
15597
15598 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
15599 token before point (bug#13942).
15600
78be8b64 156012013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 15602
95b43468 15603 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 15604
98e775e6
EZ
156052013-03-16 Eli Zaretskii <eliz@gnu.org>
15606
15607 * startup.el (command-line-normalize-file-name): Fix handling of
15608 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
15609 <xfq.free@gmail.com> in
15610 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
15611
2edd6029
MA
156122013-03-15 Michael Albinus <michael.albinus@gmx.de>
15613
15614 Sync with Tramp 2.2.7.
15615
15616 * net/trampver.el: Update release number.
15617
d35f5864
TH
156182013-03-14 Tassilo Horn <tsdh@gnu.org>
15619
e903c210 15620 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
15621 (doc-view-insert-image): Don't modify overlay associated to
15622 non-live windows, and implement horizontal centering of image in
15623 case it's smaller than the window.
15624 (doc-view-new-window-function): Force redisplay of new windows on
15625 doc-view buffers.
d35f5864 15626
1c4a85ed
KF
156272013-03-13 Karl Fogel <kfogel@red-bean.com>
15628
15629 * saveplace.el (save-place-alist-to-file): Don't sort
15630 `save-place-alist', just pretty-print it (bug#13882).
15631
85b66a21
MA
156322013-03-13 Michael Albinus <michael.albinus@gmx.de>
15633
a020afb9
JB
15634 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
15635 Check whether `default-file-name-coding-system' is bound.
15636 It isn't in XEmacs.
85b66a21 15637
175600da
SM
156382013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
15639
e7f7cb1a
SM
15640 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
15641 backquotes for `obsolete' (bug#13929).
15642
175600da
SM
15643 * international/mule.el (find-auto-coding): Include file name in
15644 obsolescence warning (bug#13922).
15645
ca68a22e
TZ
156462013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
15647
15648 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
15649 for CFEngine 3-specific indentation.
15650 (cfengine3-indent-line): Use it. Fix up category regex.
15651 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
15652
940e5099
SM
156532013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15654
15655 * type-break.el (type-break-file-name):
15656 * textmodes/remember.el (remember-data-file):
15657 * strokes.el (strokes-file):
15658 * shadowfile.el (shadow-initialize):
15659 * saveplace.el (save-place-file):
15660 * ps-bdf.el (bdf-cache-file):
15661 * progmodes/idlwave.el (idlwave-config-directory):
15662 * net/quickurl.el (quickurl-url-file):
15663 * international/kkc.el (kkc-init-file-name):
15664 * ido.el (ido-save-directory-list-file):
15665 * emulation/viper.el (viper-custom-file-name):
15666 * emulation/vip.el (vip-startup-file):
15667 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
15668 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
15669
cc725808
PE
156702013-03-12 Paul Eggert <eggert@cs.ucla.edu>
15671
15672 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
15673 * language/thai-word.el: Switch to UTF-8.
15674
a020afb9 15675See ChangeLog.16 for earlier changes.
e3d51b27
MR
15676
15677;; Local Variables:
15678;; coding: utf-8
e3d51b27
MR
15679;; End:
15680
ba318903 15681 Copyright (C) 2011-2014 Free Software Foundation, Inc.
e3d51b27
MR
15682
15683 This file is part of GNU Emacs.
15684
15685 GNU Emacs is free software: you can redistribute it and/or modify
15686 it under the terms of the GNU General Public License as published by
15687 the Free Software Foundation, either version 3 of the License, or
15688 (at your option) any later version.
15689
15690 GNU Emacs is distributed in the hope that it will be useful,
15691 but WITHOUT ANY WARRANTY; without even the implied warranty of
15692 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15693 GNU General Public License for more details.
15694
15695 You should have received a copy of the GNU General Public License
15696 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.